Home
last modified time | relevance | path

Searched refs:NElts (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp360 unsigned NElts = LT.second.isVector() ? in getArithmeticInstrCost() local
370 return get64BitInstrCost() * LT.first * NElts; in getArithmeticInstrCost()
373 NElts = (NElts + 1) / 2; in getArithmeticInstrCost()
376 return getFullRateInstrCost() * LT.first * NElts; in getArithmeticInstrCost()
384 return 2 * getFullRateInstrCost() * LT.first * NElts; in getArithmeticInstrCost()
388 NElts = (NElts + 1) / 2; in getArithmeticInstrCost()
390 return LT.first * NElts * getFullRateInstrCost(); in getArithmeticInstrCost()
395 return (4 * QuarterRateCost + (2 * 2) * FullRateCost) * LT.first * NElts; in getArithmeticInstrCost()
399 NElts = (NElts + 1) / 2; in getArithmeticInstrCost()
402 return QuarterRateCost * NElts * LT.first; in getArithmeticInstrCost()
[all …]
DAMDGPUISelLowering.cpp2767 unsigned NElts = VT.getVectorNumElements(); in LowerSIGN_EXTEND_INREG() local
2769 DAG.ExtractVectorElements(Src, Args, 0, NElts); in LowerSIGN_EXTEND_INREG()
2772 for (unsigned I = 0; I < NElts; ++I) in LowerSIGN_EXTEND_INREG()
3922 unsigned NElts = DestVT.getVectorNumElements(); in PerformDAGCombine() local
3924 if (SrcVT.getVectorNumElements() == NElts) { in PerformDAGCombine()
DR600ISelLowering.cpp1915 unsigned NElts = VT.getVectorNumElements(); in PerformDAGCombine() local
1916 Ops.append(NElts, DAG.getUNDEF(InVal.getValueType())); in PerformDAGCombine()
DSIInstrInfo.cpp2221 int NElts = DstSize / 32; in insertSelect() local
2226 if (NElts % 2) { in insertSelect()
2233 NElts /= 2; in insertSelect()
2243 for (int Idx = 0; Idx != NElts; ++Idx) { in insertSelect()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/Utils/
DX86ShuffleDecode.cpp57 void DecodeMOVHLPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask) { in DecodeMOVHLPSMask() argument
58 for (unsigned i = NElts / 2; i != NElts; ++i) in DecodeMOVHLPSMask()
59 ShuffleMask.push_back(NElts + i); in DecodeMOVHLPSMask()
61 for (unsigned i = NElts / 2; i != NElts; ++i) in DecodeMOVHLPSMask()
66 void DecodeMOVLHPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask) { in DecodeMOVLHPSMask() argument
67 for (unsigned i = 0; i != NElts / 2; ++i) in DecodeMOVLHPSMask()
70 for (unsigned i = 0; i != NElts / 2; ++i) in DecodeMOVLHPSMask()
71 ShuffleMask.push_back(NElts + i); in DecodeMOVLHPSMask()
DX86ShuffleDecode.h39 void DecodeMOVHLPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask);
43 void DecodeMOVLHPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DValueTypes.h375 unsigned NElts = getVectorNumElements(); in isPow2VectorType() local
376 return !(NElts & (NElts - 1)); in isPow2VectorType()
383 unsigned NElts = getVectorNumElements(); in getPow2VectorType() local
384 unsigned Pow2NElts = 1 << Log2_32_Ceil(NElts); in getPow2VectorType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DSTLExtras.h429 auto NElts = End - Start;
430 if (NElts <= 1) return;
431 qsort(&*Start, NElts, sizeof(*Start), get_array_pod_sort_comparator(*Start));
442 auto NElts = End - Start;
443 if (NElts <= 1) return;
444 qsort(&*Start, NElts, sizeof(*Start),
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCVSXSwapRemoval.cpp824 unsigned NElts; in handleSpecialSwappables() local
832 case PPC::VSPLTB: NElts = 16; break; in handleSpecialSwappables()
833 case PPC::VSPLTH: NElts = 8; break; in handleSpecialSwappables()
835 case PPC::XXSPLTW: NElts = 4; break; in handleSpecialSwappables()
844 EltNo = (EltNo + NElts / 2) % NElts; in handleSpecialSwappables()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DMachineValueType.h404 unsigned NElts = getVectorNumElements(); in isPow2VectorType() local
405 return !(NElts & (NElts - 1)); in isPow2VectorType()
414 unsigned NElts = getVectorNumElements(); in getPow2VectorType() local
415 unsigned Pow2NElts = 1 << Log2_32_Ceil(NElts); in getPow2VectorType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DSTLExtras.h1086 auto NElts = End - Start;
1087 if (NElts <= 1) return;
1091 qsort(&*Start, NElts, sizeof(*Start), get_array_pod_sort_comparator(*Start));
1102 auto NElts = End - Start;
1103 if (NElts <= 1) return;
1107 qsort(&*Start, NElts, sizeof(*Start),
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetLoweringBase.cpp1245 unsigned NElts = VT.getVectorNumElements(); in computeRegisterProperties() local
1262 SVT.getVectorNumElements() == NElts && in computeRegisterProperties()
1278 if (isPowerOf2_32(NElts)) { in computeRegisterProperties()
1283 && SVT.getVectorNumElements() > NElts in computeRegisterProperties()
1330 ValueTypeActions.setTypeAction(VT, NElts == 1 ? TypeScalarizeVector in computeRegisterProperties()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp1620 int NElts = Mask.size(); in getVectorShuffle() local
1622 [&](int M) { return M < (NElts * 2) && M >= -1; }) && in getVectorShuffle()
1631 for (int i = 0; i != NElts; ++i) in getVectorShuffle()
1632 if (MaskVec[i] >= NElts) MaskVec[i] -= NElts; in getVectorShuffle()
1648 for (int i = 0; i < NElts; ++i) { in getVectorShuffle()
1649 if (MaskVec[i] < Offset || MaskVec[i] >= (Offset + NElts)) in getVectorShuffle()
1666 BlendSplat(N2BV, NElts); in getVectorShuffle()
1673 for (int i = 0; i != NElts; ++i) { in getVectorShuffle()
1674 if (MaskVec[i] >= NElts) { in getVectorShuffle()
1699 for (int i = 0; i != NElts; ++i) { in getVectorShuffle()
[all …]
DTargetLowering.cpp6991 unsigned NElts = VecVT.getVectorNumElements(); in clampDynamicVectorIndex() local
6992 if (isPowerOf2_32(NElts)) { in clampDynamicVectorIndex()
6994 Log2_32(NElts)); in clampDynamicVectorIndex()
7000 DAG.getConstant(NElts - 1, dl, IdxVT)); in clampDynamicVectorIndex()
DLegalizeDAG.cpp4680 for (unsigned I = 1, NElts = OVT.getVectorNumElements(); I != NElts; ++I) in PromoteNode() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp3155 unsigned NElts; in canReuseExtract() local
3158 NElts = canMapToVector(Vec->getType(), DL); in canReuseExtract()
3159 if (!NElts) in canReuseExtract()
3166 NElts = Vec->getType()->getVectorNumElements(); in canReuseExtract()
3169 if (NElts != VL.size()) in canReuseExtract()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstants.cpp2236 ElementCount NElts = Mask->getType()->getVectorElementCount(); in getShuffleVector() local
2238 Type *ShufTy = VectorType::get(EltTy, NElts); in getShuffleVector()