Searched defs:NElts (Results 1 - 23 of 23) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Target/X86/Utils/
H A DX86ShuffleDecode.cpp47 void DecodeMOVHLPSMask(unsigned NElts, argument
49 for (unsigned i = NElts/2; i != NElts; ++i)
50 ShuffleMask.push_back(NElts+i);
52 for (unsigned i = NElts/2; i != NElts; ++i)
57 void DecodeMOVLHPSMask(unsigned NElts, argument
59 for (unsigned i = 0; i != NElts/2; ++i)
62 for (unsigned i = 0; i != NElts/2; ++i)
63 ShuffleMask.push_back(NElts
66 DecodePSHUFMask(unsigned NElts, unsigned Imm, SmallVectorImpl<unsigned> &ShuffleMask) argument
98 DecodePUNPCKLBWMask(unsigned NElts, SmallVectorImpl<unsigned> &ShuffleMask) argument
103 DecodePUNPCKLWDMask(unsigned NElts, SmallVectorImpl<unsigned> &ShuffleMask) argument
108 DecodePUNPCKLDQMask(unsigned NElts, SmallVectorImpl<unsigned> &ShuffleMask) argument
113 DecodePUNPCKLQDQMask(unsigned NElts, SmallVectorImpl<unsigned> &ShuffleMask) argument
123 DecodePUNPCKHMask(unsigned NElts, SmallVectorImpl<unsigned> &ShuffleMask) argument
131 DecodeSHUFPSMask(unsigned NElts, unsigned Imm, SmallVectorImpl<unsigned> &ShuffleMask) argument
145 DecodeUNPCKHPMask(unsigned NElts, SmallVectorImpl<unsigned> &ShuffleMask) argument
153 DecodeUNPCKLPSMask(unsigned NElts, SmallVectorImpl<unsigned> &ShuffleMask) argument
158 DecodeUNPCKLPDMask(unsigned NElts, SmallVectorImpl<unsigned> &ShuffleMask) argument
[all...]
/external/llvm/include/llvm/CodeGen/
H A DMachineValueType.h292 unsigned NElts = getVectorNumElements(); local
293 return !(NElts & (NElts - 1));
302 unsigned NElts = getVectorNumElements(); local
303 unsigned Pow2NElts = 1 << Log2_32_Ceil(NElts);
H A DValueTypes.h315 unsigned NElts = getVectorNumElements(); local
316 return !(NElts & (NElts - 1));
323 unsigned NElts = getVectorNumElements(); local
324 unsigned Pow2NElts = 1 << Log2_32_Ceil(NElts);
/external/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.cpp127 unsigned NElts = LT.second.isVector() ? local
137 return get64BitInstrCost() * LT.first * NElts;
140 return getFullRateInstrCost() * LT.first * NElts;
149 return 2 * getFullRateInstrCost() * LT.first * NElts;
152 return LT.first * NElts * getFullRateInstrCost();
158 return (4 * QuarterRateCost + (2 * 2) * FullRateCost) * LT.first * NElts;
162 return QuarterRateCost * NElts * LT.first;
168 return LT.first * NElts * get64BitInstrCost();
171 return LT.first * NElts * getFullRateInstrCost();
185 return LT.first * Cost * NElts;
[all...]
H A DR600ISelLowering.cpp2025 unsigned NElts = VT.getVectorNumElements(); local
2026 Ops.append(NElts, DAG.getUNDEF(InVal.getValueType()));
H A DAMDGPUISelLowering.cpp2103 unsigned NElts = VT.getVectorNumElements(); local
2105 DAG.ExtractVectorElements(Src, Args, 0, NElts);
2108 for (unsigned I = 0; I < NElts; ++I)
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp59 unsigned NElts = SVI->getType()->getNumElements(); local
61 return std::vector<int>(NElts, 0);
63 return std::vector<int>(NElts, -1);
/external/llvm/lib/Target/PowerPC/
H A DPPCVSXSwapRemoval.cpp818 unsigned NElts; local
826 case PPC::VSPLTB: NElts = 16; break;
827 case PPC::VSPLTH: NElts = 8; break;
829 case PPC::XXSPLTW: NElts = 4; break;
838 EltNo = (EltNo + NElts / 2) % NElts;
/external/llvm/lib/Target/X86/Utils/
H A DX86ShuffleDecode.cpp60 void DecodeMOVHLPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask) { argument
61 for (unsigned i = NElts / 2; i != NElts; ++i)
62 ShuffleMask.push_back(NElts + i);
64 for (unsigned i = NElts / 2; i != NElts; ++i)
69 void DecodeMOVLHPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask) { argument
70 for (unsigned i = 0; i != NElts / 2; ++i)
73 for (unsigned i = 0; i != NElts / 2; ++i)
74 ShuffleMask.push_back(NElts
[all...]
/external/llvm/include/llvm/ADT/
H A DSTLExtras.h329 auto NElts = End - Start; local
330 if (NElts <= 1) return;
331 qsort(&*Start, NElts, sizeof(*Start), get_array_pod_sort_comparator(*Start));
342 auto NElts = End - Start; local
343 if (NElts <= 1) return;
344 qsort(&*Start, NElts, sizeof(*Start),
/external/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp1394 unsigned NElts = VT.getVectorNumElements(); local
1406 SVT.getVectorNumElements() == NElts && isTypeLegal(SVT)) {
1423 && SVT.getVectorNumElements() > NElts && isTypeLegal(SVT)) {
1454 ValueTypeActions.setTypeAction(VT, NElts == 1 ? TypeScalarizeVector
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
H A DValueTypes.h165 unsigned NElts = getVectorNumElements(); local
166 return !(NElts & (NElts - 1));
175 unsigned NElts = getVectorNumElements(); local
176 unsigned Pow2NElts = 1 << Log2_32_Ceil(NElts);
639 unsigned NElts = getVectorNumElements(); local
640 return !(NElts & (NElts - 1));
647 unsigned NElts = getVectorNumElements(); local
648 unsigned Pow2NElts = 1 << Log2_32_Ceil(NElts);
[all...]
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A DSTLExtras.h546 auto NElts = End - Start; local
547 if (NElts <= 1) return;
548 qsort(&*Start, NElts, sizeof(*Start), get_array_pod_sort_comparator(*Start));
559 auto NElts = End - Start; local
560 if (NElts <= 1) return;
561 qsort(&*Start, NElts, sizeof(*Start),
/external/swiftshader/third_party/LLVM/lib/VMCore/
H A DConstants.cpp1719 unsigned NElts = cast<VectorType>(Mask->getType())->getNumElements(); local
1721 Type *ShufTy = VectorType::get(EltTy, NElts);
/external/llvm/lib/IR/
H A DConstants.cpp2050 unsigned NElts = Mask->getType()->getVectorNumElements(); local
2052 Type *ShufTy = VectorType::get(EltTy, NElts);
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp836 unsigned NElts = VT.getVectorNumElements(); local
837 if (NElts != 1) {
849 && SVT.getVectorNumElements() == NElts &&
866 SVT.getVectorNumElements() > NElts &&
H A DDAGCombiner.cpp6800 unsigned NElts = VT.getVectorNumElements(); local
6801 Ops.append(NElts, DAG.getUNDEF(InVal.getValueType()));
H A DSelectionDAG.cpp1235 int NElts = M.size(); local
1236 for (int i = 0; i != NElts; ++i) {
1237 if (M[i] >= NElts)
1238 M[i] -= NElts;
1240 M[i] += NElts;
1258 unsigned NElts = VT.getVectorNumElements(); local
1260 for (unsigned i = 0; i != NElts; ++i) {
1261 assert(Mask[i] < (int)(NElts * 2) && "Index out of range");
1268 for (unsigned i = 0; i != NElts; ++i)
1269 if (MaskVec[i] >= (int)NElts) MaskVe
[all...]
/external/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp2325 unsigned NElts = BVN->getNumOperands(); local
2328 for (unsigned i = 1, e = NElts; i != e; ++i) {
2408 unsigned NElts = BVN->getNumOperands(); local
2446 for (unsigned i = 0, e = NElts; i != e; ++i) {
2465 unsigned EltSize = Size / NElts;
2470 for (unsigned i = 0, e = NElts; i != e; ++i) {
2473 unsigned OpIdx = NElts - i - 1;
2501 for (unsigned i = 0, e = NElts; i != e; ++i) {
2504 unsigned OpIdx = NElts - i - 1;
2537 unsigned NElts local
[all...]
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp1488 int NElts = Mask.size(); local
1489 assert(all_of(Mask, [&](int M) { return M < (NElts * 2); }) &&
1498 for (int i = 0; i != NElts; ++i)
1499 if (MaskVec[i] >= NElts) MaskVec[i] -= NElts;
1514 for (int i = 0; i < NElts; ++i) {
1515 if (MaskVec[i] < Offset || MaskVec[i] >= (Offset + NElts))
1532 BlendSplat(N2BV, NElts);
1538 for (int i = 0; i != NElts; ++i) {
1539 if (MaskVec[i] >= NElts) {
[all...]
H A DDAGCombiner.cpp12233 unsigned NElts = VT.getVectorNumElements(); local
12234 Ops.append(NElts, DAG.getUNDEF(InVal.getValueType()));
/external/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp1496 unsigned NElts; local
1499 NElts = canMapToVector(Vec->getType(), DL);
1500 if (!NElts)
1507 NElts = Vec->getType()->getVectorNumElements();
1510 if (NElts != VL.size())
/external/clang/lib/AST/
H A DExprConstant.cpp5870 unsigned NElts = VTy->getNumElements(); local
5893 SmallVector<APValue, 4> Elts(NElts, Val);
5911 for (unsigned i = 0; i < NElts; i++) {
5920 for (unsigned i = 0; i < NElts; i++) {

Completed in 320 milliseconds