/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 1610 unsigned NumVecElts = Ty->getVectorNumElements(); in getArithmeticReductionCost() local 1611 unsigned NumReduxLevels = Log2_32(NumVecElts); in getArithmeticReductionCost() 1620 while (NumVecElts > MVTLen) { in getArithmeticReductionCost() 1621 NumVecElts /= 2; in getArithmeticReductionCost() 1622 Type *SubTy = VectorType::get(ScalarTy, NumVecElts); in getArithmeticReductionCost() 1626 NumVecElts, SubTy); in getArithmeticReductionCost() 1661 unsigned NumVecElts = Ty->getVectorNumElements(); in getMinMaxReductionCost() local 1662 unsigned NumReduxLevels = Log2_32(NumVecElts); in getMinMaxReductionCost() 1679 while (NumVecElts > MVTLen) { in getMinMaxReductionCost() 1680 NumVecElts /= 2; in getMinMaxReductionCost() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.cpp | 486 unsigned NumVecElts = Src->getVectorNumElements(); in getMemoryOpCost() local 487 unsigned NumVectorizableInstsToAmortize = NumVecElts * 2; in getMemoryOpCost() 489 return NumVectorizableInstsToAmortize * NumVecElts * 2; in getMemoryOpCost()
|
D | AArch64ISelLowering.cpp | 8704 unsigned NumVecElts = VT.getVectorNumElements(); in replaceSplatVectorStore() local 8705 if (NumVecElts != 4 && NumVecElts != 2) in replaceSplatVectorStore() 8708 unsigned RemainInsertElts = NumVecElts - 1; in replaceSplatVectorStore() 8720 unsigned EltOffset = NumVecElts == 4 ? 4 : 8; in replaceSplatVectorStore() 8734 while (--NumVecElts) { in replaceSplatVectorStore() 8951 int NumVecElts = VTy.getVectorNumElements(); in tryMatchAcrossLaneShuffleForReduction() local 8953 if (NumVecElts != 4) in tryMatchAcrossLaneShuffleForReduction() 8956 if (NumVecElts != 4 && NumVecElts != 8 && NumVecElts != 16) in tryMatchAcrossLaneShuffleForReduction() 8960 int NumExpectedSteps = APInt(8, NumVecElts).logBase2(); in tryMatchAcrossLaneShuffleForReduction() 9001 for (int i = 0; i < NumVecElts; ++i) in tryMatchAcrossLaneShuffleForReduction()
|
/external/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 922 unsigned NumVecElts = Ty->getVectorNumElements(); in getReductionCost() local 923 unsigned NumReduxLevels = Log2_32(NumVecElts); in getReductionCost() 931 ->getShuffleCost(TTI::SK_ExtractSubvector, Ty, NumVecElts / 2, Ty); in getReductionCost()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.cpp | 670 unsigned NumVecElts = Ty->getVectorNumElements(); in getMemoryOpCost() local 671 unsigned NumVectorizableInstsToAmortize = NumVecElts * 2; in getMemoryOpCost() 673 return NumVectorizableInstsToAmortize * NumVecElts * 2; in getMemoryOpCost()
|
D | AArch64ISelLowering.cpp | 11204 SDValue SplatVal, unsigned NumVecElts) { in splitStoreSplat() argument 11230 while (--NumVecElts) { in splitStoreSplat() 11306 int NumVecElts = VT.getVectorNumElements(); in replaceZeroVectorStore() local 11307 if (!(((NumVecElts == 2 || NumVecElts == 3) && in replaceZeroVectorStore() 11309 ((NumVecElts == 2 || NumVecElts == 3 || NumVecElts == 4) && in replaceZeroVectorStore() 11335 for (int I = 0; I < NumVecElts; ++I) { in replaceZeroVectorStore() 11355 return splitStoreSplat(DAG, St, SplatVal, NumVecElts); in replaceZeroVectorStore() 11373 unsigned NumVecElts = VT.getVectorNumElements(); in replaceSplatVectorStore() local 11374 if (NumVecElts != 4 && NumVecElts != 2) in replaceSplatVectorStore() 11385 std::bitset<4> IndexNotInserted((1 << NumVecElts) - 1); in replaceSplatVectorStore() [all …]
|
/external/llvm/lib/IR/ |
D | Constants.cpp | 1913 unsigned NumVecElts = 0; in getGetElementPtr() local 1915 NumVecElts = C->getType()->getVectorNumElements(); in getGetElementPtr() 1918 NumVecElts = Idx->getType()->getVectorNumElements(); in getGetElementPtr() 1920 if (NumVecElts) in getGetElementPtr() 1921 ReqTy = VectorType::get(ReqTy, NumVecElts); in getGetElementPtr() 1932 Idxs[i]->getType()->getVectorNumElements() == NumVecElts) && in getGetElementPtr() 1936 if (NumVecElts && !Idxs[i]->getType()->isVectorTy()) in getGetElementPtr() 1937 Idx = ConstantVector::getSplat(NumVecElts, Idx); in getGetElementPtr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Constants.cpp | 2095 unsigned NumVecElts = 0; in getGetElementPtr() local 2097 NumVecElts = C->getType()->getVectorNumElements(); in getGetElementPtr() 2100 NumVecElts = Idx->getType()->getVectorNumElements(); in getGetElementPtr() 2102 if (NumVecElts) in getGetElementPtr() 2103 ReqTy = VectorType::get(ReqTy, NumVecElts); in getGetElementPtr() 2114 Idxs[i]->getType()->getVectorNumElements() == NumVecElts) && in getGetElementPtr() 2118 if (NumVecElts && !Idxs[i]->getType()->isVectorTy()) in getGetElementPtr() 2119 Idx = ConstantVector::getSplat(NumVecElts, Idx); in getGetElementPtr()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 464 unsigned NumVecElts = VecWidth / DestWidth; in foldVecTruncToExtElt() local 466 VecType = VectorType::get(DestType, NumVecElts); in foldVecTruncToExtElt() 472 Elt = NumVecElts - 1 - Elt; in foldVecTruncToExtElt()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 481 unsigned NumVecElts = VecWidth / DestWidth; in foldVecTruncToExtElt() local 483 VecType = VectorType::get(DestType, NumVecElts); in foldVecTruncToExtElt() 489 Elt = NumVecElts - 1 - Elt; in foldVecTruncToExtElt()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 35979 unsigned NumVecElts = VecVT.getVectorNumElements(); in SimplifyDemandedBitsForTargetNode() local 35981 if (CIdx && CIdx->getAPIntValue().ult(NumVecElts)) { in SimplifyDemandedBitsForTargetNode() 35992 APInt DemandedVecElts = APInt::getOneBitSet(NumVecElts, Idx); in SimplifyDemandedBitsForTargetNode()
|