Home
last modified time | relevance | path

Searched refs:NumVecElts (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h1610 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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp670 unsigned NumVecElts = Ty->getVectorNumElements(); in getMemoryOpCost() local
671 unsigned NumVectorizableInstsToAmortize = NumVecElts * 2; in getMemoryOpCost()
673 return NumVectorizableInstsToAmortize * NumVecElts * 2; in getMemoryOpCost()
DAArch64ISelLowering.cpp11204 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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstants.cpp2095 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp481 unsigned NumVecElts = VecWidth / DestWidth; in foldVecTruncToExtElt() local
483 VecType = VectorType::get(DestType, NumVecElts); in foldVecTruncToExtElt()
489 Elt = NumVecElts - 1 - Elt; in foldVecTruncToExtElt()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp35976 unsigned NumVecElts = VecVT.getVectorNumElements(); in SimplifyDemandedBitsForTargetNode() local
35978 if (CIdx && CIdx->getAPIntValue().ult(NumVecElts)) { in SimplifyDemandedBitsForTargetNode()
35989 APInt DemandedVecElts = APInt::getOneBitSet(NumVecElts, Idx); in SimplifyDemandedBitsForTargetNode()