Searched refs:NumVecElts (Results 1 – 10 of 10) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 1271 unsigned NumVecElts = Ty->getVectorNumElements(); in getArithmeticReductionCost() local 1272 unsigned NumReduxLevels = Log2_32(NumVecElts); in getArithmeticReductionCost() 1281 while (NumVecElts > MVTLen) { in getArithmeticReductionCost() 1282 NumVecElts /= 2; in getArithmeticReductionCost() 1286 NumVecElts, Ty); in getArithmeticReductionCost() 1288 Ty = VectorType::get(ScalarTy, NumVecElts); in getArithmeticReductionCost() 1297 NumVecElts, Ty); in getArithmeticReductionCost() 1310 unsigned NumVecElts = Ty->getVectorNumElements(); in getMinMaxReductionCost() local 1311 unsigned NumReduxLevels = Log2_32(NumVecElts); in getMinMaxReductionCost() 1328 while (NumVecElts > MVTLen) { 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-7.0/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.cpp | 648 unsigned NumVecElts = Ty->getVectorNumElements(); in getMemoryOpCost() local 649 unsigned NumVectorizableInstsToAmortize = NumVecElts * 2; in getMemoryOpCost() 651 return NumVectorizableInstsToAmortize * NumVecElts * 2; in getMemoryOpCost()
|
D | AArch64ISelLowering.cpp | 9851 SDValue SplatVal, unsigned NumVecElts) { in splitStoreSplat() argument 9876 while (--NumVecElts) { in splitStoreSplat() 9910 int NumVecElts = VT.getVectorNumElements(); in replaceZeroVectorStore() local 9911 if (!(((NumVecElts == 2 || NumVecElts == 3) && in replaceZeroVectorStore() 9913 ((NumVecElts == 2 || NumVecElts == 3 || NumVecElts == 4) && in replaceZeroVectorStore() 9934 for (int I = 0; I < NumVecElts; ++I) { in replaceZeroVectorStore() 9954 return splitStoreSplat(DAG, St, SplatVal, NumVecElts); in replaceZeroVectorStore() 9972 unsigned NumVecElts = VT.getVectorNumElements(); in replaceSplatVectorStore() local 9973 if (NumVecElts != 4 && NumVecElts != 2) in replaceSplatVectorStore() 9979 std::bitset<4> IndexNotInserted((1 << NumVecElts) - 1); in replaceSplatVectorStore() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Constants.cpp | 1963 unsigned NumVecElts = 0; in getGetElementPtr() local 1965 NumVecElts = C->getType()->getVectorNumElements(); in getGetElementPtr() 1968 NumVecElts = Idx->getType()->getVectorNumElements(); in getGetElementPtr() 1970 if (NumVecElts) in getGetElementPtr() 1971 ReqTy = VectorType::get(ReqTy, NumVecElts); in getGetElementPtr() 1982 Idxs[i]->getType()->getVectorNumElements() == NumVecElts) && in getGetElementPtr() 1986 if (NumVecElts && !Idxs[i]->getType()->isVectorTy()) in getGetElementPtr() 1987 Idx = ConstantVector::getSplat(NumVecElts, Idx); in getGetElementPtr()
|
/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/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-7.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()
|