/aosp_15_r20/external/llvm/lib/Target/X86/Utils/ |
H A D | X86ShuffleDecode.cpp | 50 unsigned NumElts = VT.getVectorNumElements(); in DecodeInsertElementMask() 78 unsigned NumElts = VT.getVectorNumElements(); in DecodeMOVSLDUPMask() 86 unsigned NumElts = VT.getVectorNumElements(); in DecodeMOVSHDUPMask() 96 unsigned NumElts = VT.getVectorNumElements(); in DecodeMOVDDUPMask() 138 unsigned NumElts = VT.getVectorNumElements(); in DecodePALIGNRMask() 158 unsigned NumElts = VT.getVectorNumElements(); in DecodePSHUFMask() 176 unsigned NumElts = VT.getVectorNumElements(); in DecodePSHUFHWMask() 192 unsigned NumElts = VT.getVectorNumElements(); in DecodePSHUFLWMask() 207 unsigned NumElts = VT.getVectorNumElements(); in DecodePSWAPMask() 220 unsigned NumElts = VT.getVectorNumElements(); in DecodeSHUFPMask() [all …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineVectorOps.cpp | 177 unsigned NumSrcElts = SrcTy->getVectorNumElements(); in foldBitcastExtElt() 258 unsigned VWidth = V->getType()->getVectorNumElements(); in findDemandedEltsBySingleUser() 275 unsigned MaskNumElts = UserInstr->getType()->getVectorNumElements(); in findDemandedEltsBySingleUser() 301 unsigned VWidth = V->getType()->getVectorNumElements(); in findDemandedEltsByAllUsers() 414 SVI->getOperand(0)->getType()->getVectorNumElements(); in visitExtractElementInst() 449 unsigned NumElts = V->getType()->getVectorNumElements(); in collectSingleShuffleElements() 491 unsigned NumLHSElts = LHS->getType()->getVectorNumElements(); in collectSingleShuffleElements() 527 unsigned NumInsElts = InsVecType->getVectorNumElements(); in replaceExtractElements() 528 unsigned NumExtElts = ExtVecType->getVectorNumElements(); in replaceExtractElements() 611 unsigned NumElts = V->getType()->getVectorNumElements(); in collectShuffleElements() [all …]
|
/aosp_15_r20/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeVectorTypes.cpp | 490 assert(N->getValueType(0).getVectorNumElements() == 1 && in ScalarizeVecOp_UnaryOp() 800 unsigned LoNumElts = LoVT.getVectorNumElements(); in SplitVecRes_BUILD_VECTOR() 841 DAG.getConstant(IdxVal + LoVT.getVectorNumElements(), dl, in SplitVecRes_EXTRACT_SUBVECTOR() 855 unsigned VecElems = VecVT.getVectorNumElements(); in SplitVecRes_INSERT_SUBVECTOR() 856 unsigned SubElems = SubVec.getValueType().getVectorNumElements(); in SplitVecRes_INSERT_SUBVECTOR() 953 unsigned InNumElements = InLoVT.getVectorNumElements(); in SplitVecRes_ExtVecInRegOp() 957 unsigned OutNumElements = OutLoVT.getVectorNumElements(); in SplitVecRes_ExtVecInRegOp() 987 unsigned LoNumElts = Lo.getValueType().getVectorNumElements(); in SplitVecRes_INSERT_VECTOR_ELT() 1289 unsigned NumElements = SrcVT.getVectorNumElements(); in SplitVecRes_ExtendOp() 1328 unsigned NewElts = NewVT.getVectorNumElements(); in SplitVecRes_VECTOR_SHUFFLE() [all …]
|
H A D | SelectionDAG.cpp | 491 for (unsigned i = 0, e = N->getValueType(0).getVectorNumElements(); in AddNodeIDCustom() 695 assert(N->getNumOperands() == N->getValueType(0).getVectorNumElements() && in VerifySDNode() 1046 assert(VT.getVectorNumElements() < Op.getValueType().getVectorNumElements() && in getAnyExtendVectorInReg() 1057 assert(VT.getVectorNumElements() < Op.getValueType().getVectorNumElements() && in getSignExtendVectorInReg() 1068 assert(VT.getVectorNumElements() < Op.getValueType().getVectorNumElements() && in getZeroExtendVectorInReg() 1150 for (unsigned i = 0; i < ViaVecNumElts / VT.getVectorNumElements(); ++i) { in getConstant() 1169 for (unsigned i = 0; i < VT.getVectorNumElements(); ++i) in getConstant() 1477 assert(VT.getVectorNumElements() == Mask.size() && in getVectorShuffle() 1589 V.getValueType().getVectorNumElements() == VT.getVectorNumElements(); in getVectorShuffle() 2862 Elts.append(OpVT.getVectorNumElements(), DAG.getUNDEF(SVT)); in FoldCONCAT_VECTORS() [all …]
|
H A D | LegalizeVectorOps.cpp | 499 unsigned NumElem = SrcVT.getVectorNumElements(); in ExpandLoad() 504 if (SrcVT.getVectorNumElements() > 1 && !SrcEltVT.isByteSized()) { in ExpandLoad() 660 StVT.getVectorNumElements()); in ExpandStore() 723 unsigned NumElem = VT.getVectorNumElements(); in ExpandSELECT() 792 int NumElements = VT.getVectorNumElements(); in ExpandANY_EXTEND_VECTOR_INREG() 795 int NumSrcElements = SrcVT.getVectorNumElements(); in ExpandANY_EXTEND_VECTOR_INREG() 839 int NumElements = VT.getVectorNumElements(); in ExpandZERO_EXTEND_VECTOR_INREG() 842 int NumSrcElements = SrcVT.getVectorNumElements(); in ExpandZERO_EXTEND_VECTOR_INREG() 865 for (int I = 0, E = VT.getVectorNumElements(); I != E; ++I) in createBSWAPShuffleMask() 1044 unsigned NumElems = VT.getVectorNumElements(); in UnrollVSETCC()
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeVectorTypes.cpp | 278 && Op.getValueType().getVectorNumElements() == 1 in ScalarizeVecRes_BITCAST() 648 assert(N->getValueType(0).getVectorNumElements() == 1 && in ScalarizeVecOp_UnaryOp() 661 assert(N->getValueType(0).getVectorNumElements() == 1 && in ScalarizeVecOp_UnaryOp_StrictFP() 1079 unsigned LoNumElts = LoVT.getVectorNumElements(); in SplitVecRes_BUILD_VECTOR() 1120 DAG.getConstant(IdxVal + LoVT.getVectorNumElements(), dl, in SplitVecRes_EXTRACT_SUBVECTOR() 1133 unsigned VecElems = VecVT.getVectorNumElements(); in SplitVecRes_INSERT_SUBVECTOR() 1134 unsigned SubElems = SubVec.getValueType().getVectorNumElements(); in SplitVecRes_INSERT_SUBVECTOR() 1233 unsigned InNumElements = InLoVT.getVectorNumElements(); in SplitVecRes_ExtVecInRegOp() 1237 unsigned OutNumElements = OutLoVT.getVectorNumElements(); in SplitVecRes_ExtVecInRegOp() 1310 unsigned NE = VT.getVectorNumElements(); in UnrollVectorOp_StrictFP() [all …]
|
H A D | SelectionDAG.cpp | 633 for (unsigned i = 0, e = N->getValueType(0).getVectorNumElements(); in AddNodeIDCustom() 827 assert(N->getNumOperands() == N->getValueType(0).getVectorNumElements() && in VerifySDNode() 1273 for (unsigned i = 0; i < ViaVecNumElts / VT.getVectorNumElements(); ++i) { in getConstant() 1292 for (unsigned i = 0, e = VT.getVectorNumElements(); i != e; ++i) in getConstant() 1609 assert(VT.getVectorNumElements() == Mask.size() && in getVectorShuffle() 1724 V.getValueType().getVectorNumElements() == VT.getVectorNumElements(); in getVectorShuffle() 2168 ? APInt::getAllOnesValue(VT.getVectorNumElements()) in GetDemandedBits() 2258 ? APInt::getAllOnesValue(VT.getVectorNumElements()) in MaskedValueIsZero() 2291 unsigned NumElts = VT.getVectorNumElements(); in isSplatValue() 2334 unsigned NumSrcElts = Src.getValueType().getVectorNumElements(); in isSplatValue() [all …]
|
H A D | LegalizeVectorOps.cpp | 626 assert(NVT.getVectorNumElements() == VT.getVectorNumElements() && in PromoteINT_TO_FP() 665 assert(NVT.getVectorNumElements() == VT.getVectorNumElements() && in PromoteFP_TO_INT() 710 unsigned NumElem = SrcVT.getVectorNumElements(); in ExpandLoad() 714 if (SrcVT.getVectorNumElements() > 1 && !SrcEltVT.isByteSized()) { in ExpandLoad() 1077 int NumElements = VT.getVectorNumElements(); in ExpandANY_EXTEND_VECTOR_INREG() 1080 int NumSrcElements = SrcVT.getVectorNumElements(); in ExpandANY_EXTEND_VECTOR_INREG() 1137 int NumElements = VT.getVectorNumElements(); in ExpandZERO_EXTEND_VECTOR_INREG() 1140 int NumSrcElements = SrcVT.getVectorNumElements(); in ExpandZERO_EXTEND_VECTOR_INREG() 1176 for (int I = 0, E = VT.getVectorNumElements(); I != E; ++I) in createBSWAPShuffleMask() 1485 unsigned NumElems = VT.getVectorNumElements(); in UnrollStrictFPOp() [all …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
H A D | BasicTTIImpl.h | 92 for (int i = 0, e = Ty->getVectorNumElements(); i < e; ++i) { in getBroadcastShuffleOverhead() 111 for (int i = 0, e = Ty->getVectorNumElements(); i < e; ++i) { in getPermuteShuffleOverhead() 125 int NumSubElts = SubTy->getVectorNumElements(); in getExtractSubvectorOverhead() 126 assert((Index + NumSubElts) <= (int)Ty->getVectorNumElements() && in getExtractSubvectorOverhead() 147 int NumSubElts = SubTy->getVectorNumElements(); in getInsertSubvectorOverhead() 148 assert((Index + NumSubElts) <= (int)Ty->getVectorNumElements() && in getInsertSubvectorOverhead() 573 for (int i = 0, e = Ty->getVectorNumElements(); i < e; ++i) { in getScalarizationOverhead() 598 assert((VF == 1 || VF == VecTy->getVectorNumElements()) && in getOperandsScalarizationOverhead() 619 VecTy->getVectorNumElements()); in getScalarizationOverhead() 666 unsigned Num = Ty->getVectorNumElements(); [all …]
|
H A D | ValueTypes.h | 105 MVT VecTy = MVT::getVectorVT(IntTy, getVectorNumElements(), in changeVectorElementTypeToInteger() 275 unsigned getVectorNumElements() const { in getVectorNumElements() function 278 return V.getVectorNumElements(); in getVectorNumElements() 375 unsigned NElts = getVectorNumElements(); in isPow2VectorType() 383 unsigned NElts = getVectorNumElements(); in getPow2VectorType()
|
/aosp_15_r20/external/llvm/lib/Target/X86/ |
H A D | X86ShuffleDecodeConstantPool.cpp | 45 int NumElts = MaskTy->getVectorNumElements(); in DecodePSHUFBMask() 251 int NumElts = MaskTy->getVectorNumElements(); in DecodeVPPERMMask() 304 unsigned NumElements = MaskTy->getVectorNumElements(); in DecodeVPERMVMask() 305 if (NumElements == VT.getVectorNumElements()) { in DecodeVPERMVMask() 328 int NumElements = VT.getVectorNumElements(); in DecodeVPERMVMask() 337 unsigned NumElements = MaskTy->getVectorNumElements(); in DecodeVPERMV3Mask() 338 if (NumElements == VT.getVectorNumElements()) { in DecodeVPERMV3Mask()
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
H A D | X86InterleavedAccess.cpp | 190 SubVecTy->getVectorNumElements(), 0)))); in decompose() 229 VT.getVectorNumElements() / 2); in scaleVectorType() 259 unsigned NumOfElm = VT.getVectorNumElements(); in genShuffleBland() 438 int VF = VT.getVectorNumElements(); in createShuffleStride() 451 int VF = VT.getVectorNumElements() / std::max(VectorSize / 128, 1); in setGroupSize() 475 unsigned NumElts = VT.getVectorNumElements(); in DecodePALIGNRMask() 613 int VF = VT.getVectorNumElements(); in group2Shuffle() 683 unsigned NumOfElm = VT.getVectorNumElements(); in interleave8bitStride3() 731 unsigned NumSubVecElems = ShuffleEltTy->getVectorNumElements() / Factor; in lowerIntoOptimizedSequence() 760 unsigned NumSubVecElems = ShuffleTy->getVectorNumElements() / Factor; in lowerIntoOptimizedSequence() [all …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelLoweringHVX.cpp | 177 MVT BoolW = MVT::getVectorVT(MVT::i1, T.getVectorNumElements()); in initializeHVXLowering() 185 MVT BoolV = MVT::getVectorVT(MVT::i1, T.getVectorNumElements()); in initializeHVXLowering() 222 return MVT::getVectorVT(ElemTy, Tys.first.getVectorNumElements() + in typeJoin() 223 Tys.second.getVectorNumElements()); in typeJoin() 229 unsigned NumElem = VecTy.getVectorNumElements(); in typeSplit() 239 return MVT::getVectorVT(NewElemTy, VecTy.getVectorNumElements()); in typeExtElem() 246 return MVT::getVectorVT(NewElemTy, VecTy.getVectorNumElements()); in typeTruncElem() 344 assert(ResTy.getVectorNumElements() == ByteMask.size()); in getByteShuffle() 448 unsigned ExtLen = ExtTy.getVectorNumElements(); in buildHvxVectorReg() 520 unsigned Scale = HwLen / (PredTy.getVectorNumElements() * BitBytes); in createHvxPrefixPred() [all …]
|
/aosp_15_r20/external/llvm/include/llvm/CodeGen/ |
H A D | ValueTypes.h | 86 MVT VecTy = MVT::getVectorVT(IntTy, getVectorNumElements()); in changeVectorElementTypeToInteger() 248 unsigned getVectorNumElements() const { in getVectorNumElements() function 251 return V.getVectorNumElements(); in getVectorNumElements() 310 return EVT::getVectorVT(Context, EltVT, getVectorNumElements()); in widenIntegerVectorElementType() 315 unsigned NElts = getVectorNumElements(); in isPow2VectorType() 323 unsigned NElts = getVectorNumElements(); in getPow2VectorType()
|
H A D | BasicTTIImpl.h | 51 for (int i = 0, e = Ty->getVectorNumElements(); i < e; ++i) { in getScalarizationOverhead() 74 for (int i = 0, e = Ty->getVectorNumElements(); i < e; ++i) { in getAltShuffleOverhead() 331 unsigned Num = Ty->getVectorNumElements(); 433 Dst->getVectorNumElements() / 2); in getCastInstrCost() 435 Src->getVectorNumElements() / 2); in getCastInstrCost() 443 unsigned Num = Dst->getVectorNumElements(); in getCastInstrCost() 503 unsigned Num = ValTy->getVectorNumElements(); in getCmpSelInstrCost() 718 ScalarCalls = std::max(ScalarCalls, RetTy->getVectorNumElements()); in getIntrinsicInstrCost() 726 ScalarCalls = std::max(ScalarCalls, Ty->getVectorNumElements()); in getIntrinsicInstrCost() 874 unsigned ScalarCalls = RetTy->getVectorNumElements(); in getIntrinsicInstrCost() [all …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelLoweringHVX.cpp | 374 MVT BoolW = MVT::getVectorVT(MVT::i1, T.getVectorNumElements()); in initializeHVXLowering() 385 MVT BoolV = MVT::getVectorVT(MVT::i1, T.getVectorNumElements()); in initializeHVXLowering() 444 unsigned VecLen = VecTy.getVectorNumElements(); in getPreferredHvxVectorAction() 510 return MVT::getVectorVT(ElemTy, Tys.first.getVectorNumElements() + in typeJoin() 511 Tys.second.getVectorNumElements()); in typeJoin() 517 unsigned NumElem = VecTy.getVectorNumElements(); in typeSplit() 527 return MVT::getVectorVT(NewElemTy, VecTy.getVectorNumElements()); in typeExtElem() 534 return MVT::getVectorVT(NewElemTy, VecTy.getVectorNumElements()); in typeTruncElem() 773 assert(ResTy.getVectorNumElements() == ByteMask.size()); in getByteShuffle() 891 unsigned ExtLen = ExtTy.getVectorNumElements(); in buildHvxVectorReg() [all …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetTransformInfo.cpp | 212 DstTy->getVectorNumElements()); in isWideningInstruction() 261 unsigned NumDstEls = DstTyL.first * DstTyL.second.getVectorNumElements(); in isWideningInstruction() 262 unsigned NumSrcEls = SrcTyL.first * SrcTyL.second.getVectorNumElements(); in isWideningInstruction() 473 unsigned Width = LT.second.getVectorNumElements(); in getVectorInstrCost() 669 if (Ty->getVectorNumElements() < ProfitableNumElements) { in getMemoryOpCost() 670 unsigned NumVecElts = Ty->getVectorNumElements(); in getMemoryOpCost() 692 unsigned NumElts = VecTy->getVectorNumElements(); in getInterleavedMemoryOpCost() 713 if (I->getScalarSizeInBits() * I->getVectorNumElements() == 128) in getCostOfKeepingLiveOverCall() 916 return ScalarBits * Ty->getVectorNumElements() >= 128; in useReductionIntrinsic() 919 (ScalarBits * Ty->getVectorNumElements() >= 128); in useReductionIntrinsic()
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/X86/ |
H A D | X86InterleavedAccess.cpp | 236 VT.getVectorNumElements() / 2); in scaleVectorType() 266 unsigned NumOfElm = VT.getVectorNumElements(); in genShuffleBland() 443 int VF = VT.getVectorNumElements(); in createShuffleStride() 456 int VF = VT.getVectorNumElements() / std::max(VectorSize / 128, 1); in setGroupSize() 480 unsigned NumElts = VT.getVectorNumElements(); in DecodePALIGNRMask() 615 int VF = VT.getVectorNumElements(); in group2Shuffle() 683 unsigned NumOfElm = VT.getVectorNumElements(); in interleave8bitStride3()
|
/aosp_15_r20/external/llvm/lib/IR/ |
H A D | AutoUpgrade.cpp | 428 unsigned NumElts = ResultTy->getVectorNumElements() * 8; in UpgradeX86PSLLDQIntrinsics() 462 unsigned NumElts = ResultTy->getVectorNumElements() * 8; in UpgradeX86PSRLDQIntrinsics() 518 Mask = getX86MaskVec(Builder, Mask, Op0->getType()->getVectorNumElements()); in EmitX86Select() 527 unsigned NumElts = Op0->getType()->getVectorNumElements(); in UpgradeX86PALIGNRIntrinsics() 576 unsigned NumElts = Data->getType()->getVectorNumElements(); in UpgradeMaskedStore() 596 unsigned NumElts = Passthru->getType()->getVectorNumElements(); in UpgradeMaskedLoad() 612 unsigned NumElts = Op0->getType()->getVectorNumElements(); in upgradeMaskedCompare() 885 unsigned NumElts = CI->getType()->getVectorNumElements(); in UpgradeIntrinsicCall() 901 unsigned EltNum = VecTy->getVectorNumElements(); in UpgradeIntrinsicCall() 944 unsigned NumElts = CI->getType()->getVectorNumElements(); in UpgradeIntrinsicCall() [all …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeVectorTypes.cpp | 309 && Op.getValueType().getVectorNumElements() == 1 in ScalarizeVecRes_BITCAST() 732 assert(N->getValueType(0).getVectorNumElements() == 1 && in ScalarizeVecOp_UnaryOp() 745 assert(N->getValueType(0).getVectorNumElements() == 1 && in ScalarizeVecOp_UnaryOp_StrictFP() 1349 unsigned LoNumElts = LoVT.getVectorNumElements(); in SplitVecRes_BUILD_VECTOR() 1533 unsigned InNumElements = InLoVT.getVectorNumElements(); in SplitVecRes_ExtVecInRegOp() 1537 unsigned OutNumElements = OutLoVT.getVectorNumElements(); in SplitVecRes_ExtVecInRegOp() 1612 unsigned NE = VT.getVectorNumElements(); in UnrollVectorOp_StrictFP() 2363 unsigned NewElts = NewVT.getVectorNumElements(); in SplitVecRes_VECTOR_SHUFFLE() 3620 for (unsigned i = 0, e = Op.getValueType().getVectorNumElements(); in SplitVecOp_CONCAT_VECTORS() 3820 return DAG.UnrollVectorOp(N, N->getValueType(0).getVectorNumElements()); in SplitVecOp_FCOPYSIGN() [all …]
|
/aosp_15_r20/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineVectorOps.cpp | 34 for (unsigned i = 1, e = V->getType()->getVectorNumElements(); i != e; in cheapToScalarize() 232 SVI->getOperand(0)->getType()->getVectorNumElements(); in visitExtractElementInst() 301 unsigned NumElts = V->getType()->getVectorNumElements(); in collectSingleShuffleElements() 343 unsigned NumLHSElts = LHS->getType()->getVectorNumElements(); in collectSingleShuffleElements() 379 unsigned NumInsElts = InsVecType->getVectorNumElements(); in replaceExtractElements() 380 unsigned NumExtElts = ExtVecType->getVectorNumElements(); in replaceExtractElements() 499 unsigned NumLHSElts = RHS->getType()->getVectorNumElements(); in collectShuffleElements() 510 EI->getOperand(0)->getType()->getVectorNumElements(); in collectShuffleElements() 584 EI->getOperand(0)->getType()->getVectorNumElements(); in visitInsertElementInst() 768 NewOps[0]->getType()->getVectorNumElements()); in buildNew() [all …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
H A D | SystemZTargetTransformInfo.cpp | 345 unsigned WideBits = getScalarSizeInBits(Ty) * Ty->getVectorNumElements(); in getNumVectorRegs() 397 unsigned VF = Ty->getVectorNumElements(); in getArithmeticInstrCost() 567 assert (SrcTy->getVectorNumElements() == DstTy->getVectorNumElements() && in getVectorTruncCost() 583 unsigned VF = SrcTy->getVectorNumElements(); in getVectorTruncCost() 657 unsigned VF = Dst->getVectorNumElements(); in getBoolVecToIntConversionCost() 678 unsigned VF = Src->getVectorNumElements(); in getCastInstrCost() 811 unsigned VF = ValTy->getVectorNumElements(); in getCmpSelInstrCost() 1078 unsigned NumElts = VecTy->getVectorNumElements(); in getInterleavedMemoryOpCost()
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
H A D | MVEGatherScatterLowering.cpp | 168 if (BCTy->getVectorNumElements() == BCSrcTy->getVectorNumElements()) { in lookThroughBitcast() 188 if (!isLegalTypeAndAlignment(Ty->getVectorNumElements(), in lowerGather() 220 if (Ty->getVectorNumElements() != 4) in tryCreateMaskedGatherBase()
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
H A D | AutoUpgrade.cpp | 895 unsigned NumElts = ResultTy->getVectorNumElements() * 8; in UpgradeX86PSLLDQIntrinsics() 929 unsigned NumElts = ResultTy->getVectorNumElements() * 8; in UpgradeX86PSRLDQIntrinsics() 985 Mask = getX86MaskVec(Builder, Mask, Op0->getType()->getVectorNumElements()); in EmitX86Select() 1013 unsigned NumElts = Op0->getType()->getVectorNumElements(); in UpgradeX86ALIGNIntrinsics() 1144 unsigned NumElts = Ty->getVectorNumElements(); in upgradeX86Rotate() 1214 unsigned NumElts = Ty->getVectorNumElements(); in upgradeX86ConcatShift() 1249 unsigned NumElts = Data->getType()->getVectorNumElements(); in UpgradeMaskedStore() 1269 unsigned NumElts = Passthru->getType()->getVectorNumElements(); in UpgradeMaskedLoad() 1333 unsigned NumElts = Vec->getType()->getVectorNumElements(); in ApplyX86MaskOn1BitsVec() 1356 unsigned NumElts = Op0->getType()->getVectorNumElements(); in upgradeMaskedCompare() [all …]
|
H A D | ConstantFold.cpp | 54 if (NumElts != CV->getType()->getVectorNumElements()) in BitCastConstantVector() 574 DestTy->getVectorNumElements() == V->getType()->getVectorNumElements()) { in ConstantFoldCastInstruction() 579 for (unsigned i = 0, e = V->getType()->getVectorNumElements(); i != e; ++i) { in ConstantFoldCastInstruction() 743 for (unsigned i = 0, e = V1->getType()->getVectorNumElements(); i != e;++i){ in ConstantFoldSelectInstruction() 762 if (Result.size() == V1->getType()->getVectorNumElements()) in ConstantFoldSelectInstruction() 800 if (CIdx->uge(Val->getType()->getVectorNumElements())) in ConstantFoldExtractElementInstruction() 842 unsigned NumElts = Val->getType()->getVectorNumElements(); in ConstantFoldInsertElementInstruction() 866 unsigned MaskNumElts = Mask->getType()->getVectorNumElements(); in ConstantFoldShuffleVectorInstruction() 882 unsigned SrcNumElts = V1->getType()->getVectorNumElements(); in ConstantFoldShuffleVectorInstruction() 1951 for (unsigned i = 0, e = C1->getType()->getVectorNumElements(); i != e;++i){ in ConstantFoldCompareInstruction() [all …]
|