Home
last modified time | relevance | path

Searched refs:getVectorNumElements (Results 1 – 25 of 65) sorted by relevance

123

/minix3/external/bsd/llvm/dist/llvm/lib/Target/X86/Utils/
H A DX86ShuffleDecode.cpp67 unsigned NumElts = VT.getVectorNumElements(); in DecodeMOVSLDUPMask()
75 unsigned NumElts = VT.getVectorNumElements(); in DecodeMOVSHDUPMask()
113 unsigned NumElts = VT.getVectorNumElements(); in DecodePALIGNRMask()
133 unsigned NumElts = VT.getVectorNumElements(); in DecodePSHUFMask()
150 unsigned NumElts = VT.getVectorNumElements(); in DecodePSHUFHWMask()
166 unsigned NumElts = VT.getVectorNumElements(); in DecodePSHUFLWMask()
184 unsigned NumElts = VT.getVectorNumElements(); in DecodeSHUFPMask()
206 unsigned NumElts = VT.getVectorNumElements(); in DecodeUNPCKHMask()
226 unsigned NumElts = VT.getVectorNumElements(); in DecodeUNPCKLMask()
247 unsigned HalfSize = VT.getVectorNumElements()/2; in DecodeVPERM2X128Mask()
[all …]
/minix3/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/
H A DValueTypes.h87 MVT VecTy = MVT::getVectorVT(IntTy, getVectorNumElements()); in changeVectorElementTypeToInteger()
226 unsigned getVectorNumElements() const { in getVectorNumElements() function
229 return V.getVectorNumElements(); in getVectorNumElements()
288 return EVT::getVectorVT(Context, EltVT, getVectorNumElements()); in widenIntegerVectorElementType()
293 unsigned NElts = getVectorNumElements(); in isPow2VectorType()
301 unsigned NElts = getVectorNumElements(); in getPow2VectorType()
H A DMachineValueType.h254 unsigned NElts = getVectorNumElements(); in isPow2VectorType()
264 unsigned NElts = getVectorNumElements(); in getPow2VectorType()
323 unsigned getVectorNumElements() const { in getVectorNumElements() function
/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp480 assert(N->getValueType(0).getVectorNumElements() == 1 && in ScalarizeVecOp_UnaryOp()
772 unsigned LoNumElts = LoVT.getVectorNumElements(); in SplitVecRes_BUILD_VECTOR()
813 DAG.getConstant(IdxVal + LoVT.getVectorNumElements(), in SplitVecRes_EXTRACT_SUBVECTOR()
888 unsigned LoNumElts = Lo.getValueType().getVectorNumElements(); in SplitVecRes_INSERT_VECTOR_ELT()
1121 unsigned NumElements = SrcVT.getVectorNumElements(); in SplitVecRes_ExtendOp()
1160 unsigned NewElts = NewVT.getVectorNumElements(); in SplitVecRes_VECTOR_SHUFFLE()
1382 InVT.getVectorNumElements()); in SplitVecOp_UnaryOp()
1414 uint64_t LoElts = Lo.getValueType().getVectorNumElements(); in SplitVecOp_EXTRACT_SUBVECTOR()
1418 assert(IdxVal + SubVT.getVectorNumElements() <= LoElts && in SplitVecOp_EXTRACT_SUBVECTOR()
1434 assert(IdxVal < VecVT.getVectorNumElements() && "Invalid vector index!"); in SplitVecOp_EXTRACT_VECTOR_ELT()
[all …]
H A DLegalizeVectorOps.cpp483 unsigned NumElem = SrcVT.getVectorNumElements(); in ExpandLoad()
488 if (SrcVT.getVectorNumElements() > 1 && !SrcEltVT.isByteSized()) { in ExpandLoad()
631 unsigned NumElem = StVT.getVectorNumElements(); in ExpandStore()
710 unsigned NumElem = VT.getVectorNumElements(); in ExpandSELECT()
778 int NumElements = VT.getVectorNumElements(); in ExpandANY_EXTEND_VECTOR_INREG()
781 int NumSrcElements = SrcVT.getVectorNumElements(); in ExpandANY_EXTEND_VECTOR_INREG()
825 int NumElements = VT.getVectorNumElements(); in ExpandZERO_EXTEND_VECTOR_INREG()
828 int NumSrcElements = SrcVT.getVectorNumElements(); in ExpandZERO_EXTEND_VECTOR_INREG()
858 for (int I = 0, E = VT.getVectorNumElements(); I != E; ++I) in ExpandBSWAP()
973 unsigned NumElems = VT.getVectorNumElements(); in UnrollVSETCC()
H A DLegalizeTypesGeneric.cpp83 assert(!(InVT.getVectorNumElements() & 1) && "Unsupported BITCAST"); in ExpandRes_BITCAST()
208 unsigned OldElts = OldVec.getValueType().getVectorNumElements(); in ExpandRes_EXTRACT_VECTOR_ELT()
354 NumElts = N->getValueType(0).getVectorNumElements(); in ExpandOp_BITCAST()
373 unsigned NumElts = VecVT.getVectorNumElements(); in ExpandOp_BUILD_VECTOR()
413 unsigned NumElts = VecVT.getVectorNumElements(); in ExpandOp_INSERT_VECTOR_ELT()
451 unsigned NumElts = VT.getVectorNumElements(); in ExpandOp_SCALAR_TO_VECTOR()
H A DSelectionDAG.cpp534 for (unsigned i = 0, e = N->getValueType(0).getVectorNumElements(); in AddNodeIDCustom()
737 assert(N->getNumOperands() == N->getValueType(0).getVectorNumElements() && in VerifySDNode()
1025 assert(VT.getVectorNumElements() < Op.getValueType().getVectorNumElements() && in getAnyExtendVectorInReg()
1035 assert(VT.getVectorNumElements() < Op.getValueType().getVectorNumElements() && in getSignExtendVectorInReg()
1045 assert(VT.getVectorNumElements() < Op.getValueType().getVectorNumElements() && in getZeroExtendVectorInReg()
1126 for (unsigned i = 0; i < ViaVecNumElts / VT.getVectorNumElements(); ++i) { in getConstant()
1145 for (unsigned i = 0; i < VT.getVectorNumElements(); ++i) in getConstant()
1176 Ops.assign(VT.getVectorNumElements(), Result); in getConstant()
1218 Ops.assign(VT.getVectorNumElements(), Result); in getConstantFP()
1469 unsigned NElts = VT.getVectorNumElements(); in getVectorShuffle()
[all …]
H A DLegalizeTypes.cpp838 2*Lo.getValueType().getVectorNumElements() == in SetSplitVector()
839 Op.getValueType().getVectorNumElements() && in SetSplitVector()
882 unsigned NumElts = Op.getValueType().getVectorNumElements(); in BitConvertVectorToIntegerVector()
/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/
H A DBasicTargetTransformInfo.cpp269 for (int i = 0, e = Ty->getVectorNumElements(); i < e; ++i) { in getScalarizationOverhead()
325 unsigned Num = Ty->getVectorNumElements(); in getArithmeticInstrCost()
346 for (int i = 0, e = Ty->getVectorNumElements(); i < e; ++i) { in getAltShuffleOverhead()
431 unsigned Num = Dst->getVectorNumElements(); in getCastInstrCost()
480 unsigned Num = ValTy->getVectorNumElements(); in getCmpSelInstrCost()
546 ScalarCalls = std::max(ScalarCalls, RetTy->getVectorNumElements()); in getIntrinsicInstrCost()
551 ScalarCalls = std::max(ScalarCalls, RetTy->getVectorNumElements()); in getIntrinsicInstrCost()
616 unsigned Num = RetTy->getVectorNumElements(); in getIntrinsicInstrCost()
638 unsigned NumVecElts = Ty->getVectorNumElements(); in getReductionCost()
H A DTargetLoweringBase.cpp903 unsigned NumElts = VT.getVectorNumElements(); in getVectorTypeBreakdownMVT()
1144 unsigned NElts = VT.getVectorNumElements(); in computeRegisterProperties()
1156 && SVT.getVectorNumElements() == NElts && isTypeLegal(SVT) in computeRegisterProperties()
1174 && SVT.getVectorNumElements() > NElts && isTypeLegal(SVT)) { in computeRegisterProperties()
1254 unsigned NumElts = VT.getVectorNumElements(); in getVectorTypeBreakdown()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp31 for (unsigned i = 1, e = V->getType()->getVectorNumElements(); i != e; in CheapToScalarize()
92 unsigned LHSWidth = SVI->getOperand(0)->getType()->getVectorNumElements(); in FindScalarElement()
265 SVI->getOperand(0)->getType()->getVectorNumElements(); in visitExtractElementInst()
333 unsigned NumElts = V->getType()->getVectorNumElements(); in CollectSingleShuffleElements()
375 unsigned NumLHSElts = LHS->getType()->getVectorNumElements(); in CollectSingleShuffleElements()
458 unsigned NumLHSElts = RHS->getType()->getVectorNumElements(); in CollectShuffleElements()
469 EI->getOperand(0)->getType()->getVectorNumElements(); in CollectShuffleElements()
543 EI->getOperand(0)->getType()->getVectorNumElements(); in visitInsertElementInst()
727 NewOps[0]->getType()->getVectorNumElements()); in BuildNew()
803 bool NeedsRebuild = (Mask.size() != I->getType()->getVectorNumElements()); in EvaluateInDifferentElementOrder()
/minix3/external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/
H A Dvector-type.ll2 ; Type::getVectorNumElements without checking first if the type was a vector.
/minix3/external/bsd/llvm/dist/llvm/lib/Analysis/
H A DCostModel.cpp146 SmallVector<int, 32> Mask(SI->getType()->getVectorNumElements(), -1); in matchPairwiseShuffleMask()
259 unsigned NumVecElems = VecTy->getVectorNumElements(); in matchPairwiseReduction()
323 unsigned NumVecElems = VecTy->getVectorNumElements(); in matchVectorSplittingReduction()
491 unsigned NumVecElems = VecTypOp0->getVectorNumElements(); in getInstructionCost()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp399 unsigned Width = LT.second.getVectorNumElements(); in getVectorInstrCost()
522 Src->getVectorNumElements() < 8) { in getMemoryOpCost()
525 unsigned NumVecElts = Src->getVectorNumElements(); in getMemoryOpCost()
539 if (I->getScalarSizeInBits() * I->getVectorNumElements() == 128) in getCostOfKeepingLiveOverCall()
H A DAArch64ISelLowering.cpp1556 VT.getVectorNumElements()); in LowerVectorFP_TO_INT()
1601 InVT.getVectorNumElements()); in LowerVectorINT_TO_FP()
1757 unsigned NumElts = VT.getVectorNumElements(); in skipExtensionForVectorMULL()
3386 for (unsigned i = 0; i < VecVT.getVectorNumElements(); ++i) in LowerFCOPYSIGN()
4459 unsigned NarrowSize = VT.getVectorNumElements(); in WidenVector()
4479 unsigned WideSize = VT.getVectorNumElements(); in NarrowVector()
4494 unsigned NumElts = VT.getVectorNumElements(); in ReconstructShuffle()
4640 SmallVector<int, 8> Mask(ShuffleVT.getVectorNumElements(), -1); in ReconstructShuffle()
4642 for (unsigned i = 0; i < VT.getVectorNumElements(); ++i) { in ReconstructShuffle()
4684 unsigned NumElts = VT.getVectorNumElements(); in isSingletonEXTMask()
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/IR/
H A DConstantFold.cpp55 if (NumElts != CV->getType()->getVectorNumElements()) in BitCastConstantVector()
557 DestTy->getVectorNumElements() == V->getType()->getVectorNumElements()) { in ConstantFoldCastInstruction()
562 for (unsigned i = 0, e = V->getType()->getVectorNumElements(); i != e; ++i) { in ConstantFoldCastInstruction()
724 for (unsigned i = 0, e = V1->getType()->getVectorNumElements(); i != e;++i){ in ConstantFoldSelectInstruction()
743 if (Result.size() == V1->getType()->getVectorNumElements()) in ConstantFoldSelectInstruction()
782 if (Index >= Val->getType()->getVectorNumElements()) in ConstantFoldExtractElementInstruction()
798 for (unsigned i = 0, e = Val->getType()->getVectorNumElements(); i != e; ++i){ in ConstantFoldInsertElementInstruction()
815 unsigned MaskNumElts = Mask->getType()->getVectorNumElements(); in ConstantFoldShuffleVectorInstruction()
825 unsigned SrcNumElts = V1->getType()->getVectorNumElements(); in ConstantFoldShuffleVectorInstruction()
878 NumElts = Agg->getType()->getVectorNumElements(); in ConstantFoldInsertValueInstruction()
[all …]
H A DValueTypes.cpp25 return getVectorVT(Context, IntTy, getVectorNumElements()); in changeExtendedVectorElementTypeToInteger()
110 return "v" + utostr(getVectorNumElements()) + in getEVTString()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp101 VT.getVectorNumElements()/Factor); in ExtractSubVector()
1012 if (!isPowerOf2_32(VT.getVectorNumElements())) in resetOperationActions()
1727 VT.getVectorNumElements() != 1 && in getPreferredVectorAction()
1738 const unsigned NumElts = VT.getVectorNumElements(); in getSetCCResultType()
3906 return (Index == 0 || Index == ResVT.getVectorNumElements()); in isExtractSubvectorCheap()
3951 unsigned NumElems = VT.getVectorNumElements(); in isPSHUFDMask()
4024 unsigned NumElts = VT.getVectorNumElements(); in isAlignrMask()
4133 unsigned NumElems = VT.getVectorNumElements(); in isSHUFPMask()
4194 unsigned NumElems = VT.getVectorNumElements(); in isMOVHLPSMask()
4213 unsigned NumElems = VT.getVectorNumElements(); in isMOVHLPS_v_undef_Mask()
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/Target/R600/
H A DSITypeRewriter.cpp117 Arg->getType()->getVectorNumElements() == 1 && in visitCallInst()
H A DSIISelLowering.cpp363 if (VT.getVectorNumElements() != 1 && VT.getScalarType().bitsLE(MVT::i16)) in getPreferredVectorAction()
454 unsigned NumElements = ParamType->getVectorNumElements(); in LowerFormalArguments()
572 unsigned NumElements = ParamType->getVectorNumElements(); in LowerFormalArguments()
583 NumElements = Arg.VT.getVectorNumElements() - NumElements; in LowerFormalArguments()
645 return EVT::getVectorVT(Ctx, MVT::i1, VT.getVectorNumElements()); in getSetCCResultType()
982 unsigned NumElements = Op.getValueType().getVectorNumElements(); in LowerLOAD()
1200 if (VT.isVector() && VT.getVectorNumElements() > 4) in LowerSTORE()
1209 if (VT.isVector() && VT.getVectorNumElements() >= 8) in LowerSTORE()
1280 unsigned NElts = SrcVT.getVectorNumElements(); in performUCharToFloatCombine()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.h154 return EVT::getVectorVT(C, MVT::i1, VT.getVectorNumElements()); in getSetCCResultType()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DBBVectorize.cpp1951 if (VTy->getVectorNumElements() == 2) { in findBestDAGFor()
2031 Ty1->isVectorTy() ? Ty1->getVectorNumElements() : 1, Ty2)); in findBestDAGFor()
2109 if (VTy->getVectorNumElements() == 2) in findBestDAGFor()
2133 if (Ty2->getVectorNumElements() > Ty1->getVectorNumElements()) in findBestDAGFor()
2321 unsigned NumElem1 = J->getType()->getVectorNumElements(); in fillNewShuffleMask()
2348 unsigned NumElemI = ArgTypeI->getVectorNumElements(); in getReplacementShuffleMask()
2353 unsigned NumElem = VArgType->getVectorNumElements(); in getReplacementShuffleMask()
2357 unsigned NumInElemI = OpTypeI->getVectorNumElements(); in getReplacementShuffleMask()
2359 unsigned NumInElemJ = OpTypeJ->getVectorNumElements(); in getReplacementShuffleMask()
2505 ->getVectorNumElements(); in getReplacementInput()
[all …]
/minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DType.h363 unsigned getVectorNumElements() const;
/minix3/external/bsd/llvm/dist/llvm/include/llvm/Target/
H A DTargetLowering.h195 if (VT.getVectorNumElements() == 1) in getPreferredVectorAction()
1804 SVT.getVectorNumElements()/2)); in getTypeConversion()
1830 unsigned NumElts = VT.getVectorNumElements(); in getTypeConversion()
1913 EVT NVT = EVT::getVectorVT(Context, EltVT, VT.getVectorNumElements() / 2); in getTypeConversion()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp426 for (int i = 0, e = Src->getVectorNumElements(); i < e; ++i) in getMemoryOpCost()

123