/external/llvm/lib/Target/X86/Utils/ |
D | X86ShuffleDecode.cpp | 67 unsigned NumElts = VT.getVectorNumElements(); in DecodeMOVSLDUPMask() 75 unsigned NumElts = VT.getVectorNumElements(); in DecodeMOVSHDUPMask() 85 unsigned NumElts = VT.getVectorNumElements(); in DecodeMOVDDUPMask() 127 unsigned NumElts = VT.getVectorNumElements(); in DecodePALIGNRMask() 147 unsigned NumElts = VT.getVectorNumElements(); in DecodePSHUFMask() 164 unsigned NumElts = VT.getVectorNumElements(); in DecodePSHUFHWMask() 180 unsigned NumElts = VT.getVectorNumElements(); in DecodePSHUFLWMask() 198 unsigned NumElts = VT.getVectorNumElements(); in DecodeSHUFPMask() 220 unsigned NumElts = VT.getVectorNumElements(); in DecodeUNPCKHMask() 240 unsigned NumElts = VT.getVectorNumElements(); in DecodeUNPCKLMask() [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | ValueTypes.h | 86 MVT VecTy = MVT::getVectorVT(IntTy, getVectorNumElements()); in changeVectorElementTypeToInteger() 225 unsigned getVectorNumElements() const { in getVectorNumElements() function 228 return V.getVectorNumElements(); in getVectorNumElements() 287 return EVT::getVectorVT(Context, EltVT, getVectorNumElements()); in widenIntegerVectorElementType() 292 unsigned NElts = getVectorNumElements(); in isPow2VectorType() 300 unsigned NElts = getVectorNumElements(); in getPow2VectorType()
|
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() 326 unsigned Num = Ty->getVectorNumElements(); 418 unsigned Num = Dst->getVectorNumElements(); in getCastInstrCost() 469 unsigned Num = ValTy->getVectorNumElements(); in getCmpSelInstrCost() 536 ScalarCalls = std::max(ScalarCalls, RetTy->getVectorNumElements()); in getIntrinsicInstrCost() 544 ScalarCalls = std::max(ScalarCalls, Ty->getVectorNumElements()); in getIntrinsicInstrCost() 666 unsigned ScalarCalls = RetTy->getVectorNumElements(); in getIntrinsicInstrCost() 679 ScalarCalls = std::max(ScalarCalls, Tys[i]->getVectorNumElements()); in getIntrinsicInstrCost() 714 unsigned NumVecElts = Ty->getVectorNumElements(); in getReductionCost()
|
D | MachineValueType.h | 259 unsigned NElts = getVectorNumElements(); in isPow2VectorType() 269 unsigned NElts = getVectorNumElements(); in getPow2VectorType() 328 unsigned getVectorNumElements() const { in getVectorNumElements() function
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorTypes.cpp | 480 assert(N->getValueType(0).getVectorNumElements() == 1 && in ScalarizeVecOp_UnaryOp() 773 unsigned LoNumElts = LoVT.getVectorNumElements(); in SplitVecRes_BUILD_VECTOR() 814 DAG.getConstant(IdxVal + LoVT.getVectorNumElements(), in SplitVecRes_EXTRACT_SUBVECTOR() 889 unsigned LoNumElts = Lo.getValueType().getVectorNumElements(); in SplitVecRes_INSERT_VECTOR_ELT() 1122 unsigned NumElements = SrcVT.getVectorNumElements(); in SplitVecRes_ExtendOp() 1161 unsigned NewElts = NewVT.getVectorNumElements(); in SplitVecRes_VECTOR_SHUFFLE() 1395 InVT.getVectorNumElements()); in SplitVecOp_UnaryOp() 1427 uint64_t LoElts = Lo.getValueType().getVectorNumElements(); in SplitVecOp_EXTRACT_SUBVECTOR() 1431 assert(IdxVal + SubVT.getVectorNumElements() <= LoElts && in SplitVecOp_EXTRACT_SUBVECTOR() 1447 assert(IdxVal < VecVT.getVectorNumElements() && "Invalid vector index!"); in SplitVecOp_EXTRACT_VECTOR_ELT() [all …]
|
D | LegalizeVectorOps.cpp | 487 unsigned NumElem = SrcVT.getVectorNumElements(); in ExpandLoad() 492 if (SrcVT.getVectorNumElements() > 1 && !SrcEltVT.isByteSized()) { in ExpandLoad() 637 unsigned NumElem = StVT.getVectorNumElements(); in ExpandStore() 717 unsigned NumElem = VT.getVectorNumElements(); in ExpandSELECT() 785 int NumElements = VT.getVectorNumElements(); in ExpandANY_EXTEND_VECTOR_INREG() 788 int NumSrcElements = SrcVT.getVectorNumElements(); in ExpandANY_EXTEND_VECTOR_INREG() 832 int NumElements = VT.getVectorNumElements(); in ExpandZERO_EXTEND_VECTOR_INREG() 835 int NumSrcElements = SrcVT.getVectorNumElements(); in ExpandZERO_EXTEND_VECTOR_INREG() 865 for (int I = 0, E = VT.getVectorNumElements(); I != E; ++I) in ExpandBSWAP() 980 unsigned NumElems = VT.getVectorNumElements(); in UnrollVSETCC()
|
D | LegalizeTypesGeneric.cpp | 86 assert(!(InVT.getVectorNumElements() & 1) && "Unsupported BITCAST"); in ExpandRes_BITCAST() 211 unsigned OldElts = OldVec.getValueType().getVectorNumElements(); in ExpandRes_EXTRACT_VECTOR_ELT() 357 NumElts = N->getValueType(0).getVectorNumElements(); in ExpandOp_BITCAST() 376 unsigned NumElts = VecVT.getVectorNumElements(); in ExpandOp_BUILD_VECTOR() 416 unsigned NumElts = VecVT.getVectorNumElements(); in ExpandOp_INSERT_VECTOR_ELT() 454 unsigned NumElts = VT.getVectorNumElements(); in ExpandOp_SCALAR_TO_VECTOR()
|
D | SelectionDAG.cpp | 550 for (unsigned i = 0, e = N->getValueType(0).getVectorNumElements(); in AddNodeIDCustom() 753 assert(N->getNumOperands() == N->getValueType(0).getVectorNumElements() && in VerifySDNode() 1041 assert(VT.getVectorNumElements() < Op.getValueType().getVectorNumElements() && in getAnyExtendVectorInReg() 1051 assert(VT.getVectorNumElements() < Op.getValueType().getVectorNumElements() && in getSignExtendVectorInReg() 1061 assert(VT.getVectorNumElements() < Op.getValueType().getVectorNumElements() && in getZeroExtendVectorInReg() 1142 for (unsigned i = 0; i < ViaVecNumElts / VT.getVectorNumElements(); ++i) { in getConstant() 1161 for (unsigned i = 0; i < VT.getVectorNumElements(); ++i) in getConstant() 1192 Ops.assign(VT.getVectorNumElements(), Result); in getConstant() 1234 Ops.assign(VT.getVectorNumElements(), Result); in getConstantFP() 1479 unsigned NElts = VT.getVectorNumElements(); in getVectorShuffle() [all …]
|
D | LegalizeTypes.cpp | 857 2*Lo.getValueType().getVectorNumElements() == in SetSplitVector() 858 Op.getValueType().getVectorNumElements() && in SetSplitVector() 901 unsigned NumElts = Op.getValueType().getVectorNumElements(); in BitConvertVectorToIntegerVector()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 32 for (unsigned i = 1, e = V->getType()->getVectorNumElements(); i != e; in CheapToScalarize() 93 unsigned LHSWidth = SVI->getOperand(0)->getType()->getVectorNumElements(); in FindScalarElement() 266 SVI->getOperand(0)->getType()->getVectorNumElements(); in visitExtractElementInst() 334 unsigned NumElts = V->getType()->getVectorNumElements(); in CollectSingleShuffleElements() 376 unsigned NumLHSElts = LHS->getType()->getVectorNumElements(); in CollectSingleShuffleElements() 459 unsigned NumLHSElts = RHS->getType()->getVectorNumElements(); in CollectShuffleElements() 470 EI->getOperand(0)->getType()->getVectorNumElements(); in CollectShuffleElements() 544 EI->getOperand(0)->getType()->getVectorNumElements(); in visitInsertElementInst() 728 NewOps[0]->getType()->getVectorNumElements()); in BuildNew() 805 bool NeedsRebuild = (Mask.size() != I->getType()->getVectorNumElements()); in EvaluateInDifferentElementOrder()
|
/external/llvm/lib/Analysis/ |
D | CostModel.cpp | 147 SmallVector<int, 32> Mask(SI->getType()->getVectorNumElements(), -1); in matchPairwiseShuffleMask() 260 unsigned NumVecElems = VecTy->getVectorNumElements(); in matchPairwiseReduction() 324 unsigned NumVecElems = VecTy->getVectorNumElements(); in matchVectorSplittingReduction() 492 unsigned NumVecElems = VecTypOp0->getVectorNumElements(); in getInstructionCost()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.cpp | 275 unsigned Width = LT.second.getVectorNumElements(); in getVectorInstrCost() 398 Src->getVectorNumElements() < 8) { in getMemoryOpCost() 401 unsigned NumVecElts = Src->getVectorNumElements(); in getMemoryOpCost() 415 if (I->getScalarSizeInBits() * I->getVectorNumElements() == 128) in getCostOfKeepingLiveOverCall()
|
D | AArch64ISelLowering.cpp | 1582 VT.getVectorNumElements()); in LowerVectorFP_TO_INT() 1632 InVT.getVectorNumElements()); in LowerVectorINT_TO_FP() 1797 unsigned NumElts = VT.getVectorNumElements(); in skipExtensionForVectorMULL() 4497 unsigned NarrowSize = VT.getVectorNumElements(); in WidenVector() 4517 unsigned WideSize = VT.getVectorNumElements(); in NarrowVector() 4532 unsigned NumElts = VT.getVectorNumElements(); in ReconstructShuffle() 4678 SmallVector<int, 8> Mask(ShuffleVT.getVectorNumElements(), -1); in ReconstructShuffle() 4680 for (unsigned i = 0; i < VT.getVectorNumElements(); ++i) { in ReconstructShuffle() 4722 unsigned NumElts = VT.getVectorNumElements(); in isSingletonEXTMask() 4759 unsigned NumElts = VT.getVectorNumElements(); in isEXTMask() [all …]
|
/external/llvm/test/Transforms/InstCombine/ |
D | vector-type.ll | 2 ; Type::getVectorNumElements without checking first if the type was a vector.
|
/external/llvm/lib/Target/X86/ |
D | X86TargetTransformInfo.cpp | 744 unsigned Width = LT.second.getVectorNumElements(); in getVectorInstrCost() 760 for (int i = 0, e = Ty->getVectorNumElements(); i < e; ++i) { in getScalarizationOverhead() 775 unsigned NumElem = VTy->getVectorNumElements(); in getMemoryOpCost() 823 unsigned NumElem = SrcVTy->getVectorNumElements(); in getMaskedMemoryOpCost() 850 LT.second.getVectorNumElements() == NumElem) in getMaskedMemoryOpCost() 855 else if (LT.second.getVectorNumElements() > NumElem) { in getMaskedMemoryOpCost() 857 LT.second.getVectorNumElements()); in getMaskedMemoryOpCost()
|
D | X86ISelLowering.cpp | 852 if (!isPowerOf2_32(VT.getVectorNumElements())) in X86TargetLowering() 1590 VT.getVectorNumElements() != 1 && in getPreferredVectorAction() 1601 const unsigned NumElts = VT.getVectorNumElements(); in getSetCCResultType() 3778 return (Index == 0 || Index == ResVT.getVectorNumElements()); in isExtractSubvectorCheap() 3977 assert((Subtarget->hasBWI() || VT.getVectorNumElements() <= 16) in getZeroVector() 3979 assert((Subtarget->hasVLX() || VT.getVectorNumElements() >= 8) in getZeroVector() 3982 SmallVector<SDValue, 64> Ops(VT.getVectorNumElements(), Cst); in getZeroVector() 3999 VT.getVectorNumElements()/Factor); in ExtractSubVector() 4176 unsigned NumElems = VT.getVectorNumElements(); in getMOVL() 4187 unsigned NumElems = VT.getVectorNumElements(); in getUnpackl() [all …]
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 55 if (NumElts != CV->getType()->getVectorNumElements()) in BitCastConstantVector() 569 DestTy->getVectorNumElements() == V->getType()->getVectorNumElements()) { in ConstantFoldCastInstruction() 574 for (unsigned i = 0, e = V->getType()->getVectorNumElements(); i != e; ++i) { in ConstantFoldCastInstruction() 736 for (unsigned i = 0, e = V1->getType()->getVectorNumElements(); i != e;++i){ in ConstantFoldSelectInstruction() 755 if (Result.size() == V1->getType()->getVectorNumElements()) in ConstantFoldSelectInstruction() 794 if (Index >= Val->getType()->getVectorNumElements()) in ConstantFoldExtractElementInstruction() 810 for (unsigned i = 0, e = Val->getType()->getVectorNumElements(); i != e; ++i){ in ConstantFoldInsertElementInstruction() 827 unsigned MaskNumElts = Mask->getType()->getVectorNumElements(); in ConstantFoldShuffleVectorInstruction() 837 unsigned SrcNumElts = V1->getType()->getVectorNumElements(); in ConstantFoldShuffleVectorInstruction() 890 NumElts = Agg->getType()->getVectorNumElements(); in ConstantFoldInsertValueInstruction() [all …]
|
D | ValueTypes.cpp | 25 return getVectorVT(Context, IntTy, getVectorNumElements()); in changeExtendedVectorElementTypeToInteger() 110 return "v" + utostr(getVectorNumElements()) + in getEVTString()
|
/external/llvm/lib/CodeGen/ |
D | TargetLoweringBase.cpp | 914 SVT.getVectorNumElements() / 2)); in getTypeConversion() 941 unsigned NumElts = VT.getVectorNumElements(); in getTypeConversion() 1027 EVT NVT = EVT::getVectorVT(Context, EltVT, VT.getVectorNumElements() / 2); in getTypeConversion() 1036 unsigned NumElts = VT.getVectorNumElements(); in getVectorTypeBreakdownMVT() 1282 unsigned NElts = VT.getVectorNumElements(); in computeRegisterProperties() 1294 && SVT.getVectorNumElements() == NElts && isTypeLegal(SVT) in computeRegisterProperties() 1312 && SVT.getVectorNumElements() > NElts && isTypeLegal(SVT)) { in computeRegisterProperties() 1392 unsigned NumElts = VT.getVectorNumElements(); in getVectorTypeBreakdown()
|
/external/llvm/lib/Target/R600/ |
D | SIISelLowering.cpp | 358 if (VT.getVectorNumElements() != 1 && VT.getScalarType().bitsLE(MVT::i16)) in getPreferredVectorAction() 444 unsigned NumElements = ParamType->getVectorNumElements(); in LowerFormalArguments() 562 unsigned NumElements = ParamType->getVectorNumElements(); in LowerFormalArguments() 573 NumElements = Arg.VT.getVectorNumElements() - NumElements; in LowerFormalArguments() 634 return EVT::getVectorVT(Ctx, MVT::i1, VT.getVectorNumElements()); in getSetCCResultType() 987 unsigned NumElements = Op.getValueType().getVectorNumElements(); in LowerLOAD() 1205 if (VT.isVector() && VT.getVectorNumElements() > 4) in LowerSTORE() 1214 if (VT.isVector() && VT.getVectorNumElements() >= 8) in LowerSTORE() 1285 unsigned NElts = SrcVT.getVectorNumElements(); in performUCharToFloatCombine()
|
D | SITypeRewriter.cpp | 116 Arg->getType()->getVectorNumElements() == 1 && in visitCallInst()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | BBVectorize.cpp | 1947 if (VTy->getVectorNumElements() == 2) { in findBestDAGFor() 2027 Ty1->isVectorTy() ? Ty1->getVectorNumElements() : 1, Ty2)); in findBestDAGFor() 2105 if (VTy->getVectorNumElements() == 2) in findBestDAGFor() 2129 if (Ty2->getVectorNumElements() > Ty1->getVectorNumElements()) in findBestDAGFor() 2317 unsigned NumElem1 = J->getType()->getVectorNumElements(); in fillNewShuffleMask() 2344 unsigned NumElemI = ArgTypeI->getVectorNumElements(); in getReplacementShuffleMask() 2349 unsigned NumElem = VArgType->getVectorNumElements(); in getReplacementShuffleMask() 2353 unsigned NumInElemI = OpTypeI->getVectorNumElements(); in getReplacementShuffleMask() 2355 unsigned NumInElemJ = OpTypeJ->getVectorNumElements(); in getReplacementShuffleMask() 2501 ->getVectorNumElements(); in getReplacementInput() [all …]
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | AMDILISelLowering.cpp | 433 EVT IVT = genIntType(32, DVT.isVector() ? DVT.getVectorNumElements() : 1); in LowerSIGN_EXTEND_INREG() 500 } else if (OVT.getVectorNumElements() == 2) { in LowerSDIV24() 503 } else if (OVT.getVectorNumElements() == 4) { in LowerSDIV24()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonISelLowering.h | 198 return EVT::getVectorVT(C, MVT::i1, VT.getVectorNumElements()); in getSetCCResultType()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCTargetTransformInfo.cpp | 344 for (int i = 0, e = Src->getVectorNumElements(); i < e; ++i) in getMemoryOpCost()
|