Home
last modified time | relevance | path

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

/external/llvm/lib/Target/X86/Utils/
DX86ShuffleDecode.cpp49 void DecodeMOVHLPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask) { in DecodeMOVHLPSMask() argument
50 for (unsigned i = NElts / 2; i != NElts; ++i) in DecodeMOVHLPSMask()
51 ShuffleMask.push_back(NElts + i); in DecodeMOVHLPSMask()
53 for (unsigned i = NElts / 2; i != NElts; ++i) in DecodeMOVHLPSMask()
58 void DecodeMOVLHPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask) { in DecodeMOVLHPSMask() argument
59 for (unsigned i = 0; i != NElts / 2; ++i) in DecodeMOVLHPSMask()
62 for (unsigned i = 0; i != NElts / 2; ++i) in DecodeMOVLHPSMask()
63 ShuffleMask.push_back(NElts + i); in DecodeMOVLHPSMask()
DX86ShuffleDecode.h34 void DecodeMOVHLPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask);
37 void DecodeMOVLHPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask);
/external/llvm/include/llvm/CodeGen/
DValueTypes.h310 unsigned NElts = getVectorNumElements(); in isPow2VectorType() local
311 return !(NElts & (NElts - 1)); in isPow2VectorType()
318 unsigned NElts = getVectorNumElements(); in getPow2VectorType() local
319 unsigned Pow2NElts = 1 << Log2_32_Ceil(NElts); in getPow2VectorType()
DMachineValueType.h285 unsigned NElts = getVectorNumElements(); in isPow2VectorType() local
286 return !(NElts & (NElts - 1)); in isPow2VectorType()
295 unsigned NElts = getVectorNumElements(); in getPow2VectorType() local
296 unsigned Pow2NElts = 1 << Log2_32_Ceil(NElts); in getPow2VectorType()
/external/llvm/include/llvm/ADT/
DSTLExtras.h325 auto NElts = End - Start;
326 if (NElts <= 1) return;
327 qsort(&*Start, NElts, sizeof(*Start), get_array_pod_sort_comparator(*Start));
338 auto NElts = End - Start;
339 if (NElts <= 1) return;
340 qsort(&*Start, NElts, sizeof(*Start),
/external/llvm/lib/Target/PowerPC/
DPPCVSXSwapRemoval.cpp798 unsigned NElts; in handleSpecialSwappables() local
806 case PPC::VSPLTB: NElts = 16; break; in handleSpecialSwappables()
807 case PPC::VSPLTH: NElts = 8; break; in handleSpecialSwappables()
808 case PPC::VSPLTW: NElts = 4; break; in handleSpecialSwappables()
812 EltNo = (EltNo + NElts / 2) % NElts; in handleSpecialSwappables()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp2138 unsigned NElts = BVN->getNumOperands(); in isCommonSplatElement() local
2141 for (unsigned i = 1, e = NElts; i != e; ++i) { in isCommonSplatElement()
2221 unsigned NElts = BVN->getNumOperands(); in LowerBUILD_VECTOR() local
2259 for (unsigned i = 0, e = NElts; i != e; ++i) { in LowerBUILD_VECTOR()
2278 unsigned EltSize = Size / NElts; in LowerBUILD_VECTOR()
2283 for (unsigned i = 0, e = NElts; i != e; ++i) { in LowerBUILD_VECTOR()
2286 unsigned OpIdx = NElts - i - 1; in LowerBUILD_VECTOR()
2314 for (unsigned i = 0, e = NElts; i != e; ++i) { in LowerBUILD_VECTOR()
2317 unsigned OpIdx = NElts - i - 1; in LowerBUILD_VECTOR()
2350 unsigned NElts = Op.getNumOperands(); in LowerCONCAT_VECTORS() local
[all …]
/external/llvm/lib/CodeGen/
DTargetLoweringBase.cpp1278 unsigned NElts = VT.getVectorNumElements(); in computeRegisterProperties() local
1290 && SVT.getVectorNumElements() == NElts && isTypeLegal(SVT) in computeRegisterProperties()
1308 && SVT.getVectorNumElements() > NElts && isTypeLegal(SVT)) { in computeRegisterProperties()
1339 ValueTypeActions.setTypeAction(VT, NElts == 1 ? TypeScalarizeVector in computeRegisterProperties()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp1507 unsigned NElts = VT.getVectorNumElements(); in getVectorShuffle() local
1509 for (unsigned i = 0; i != NElts; ++i) { in getVectorShuffle()
1510 assert(Mask[i] < (int)(NElts * 2) && "Index out of range"); in getVectorShuffle()
1517 for (unsigned i = 0; i != NElts; ++i) in getVectorShuffle()
1518 if (MaskVec[i] >= (int)NElts) MaskVec[i] -= NElts; in getVectorShuffle()
1533 for (int i = 0; i < (int)NElts; ++i) { in getVectorShuffle()
1534 if (MaskVec[i] < Offset || MaskVec[i] >= (Offset + (int)NElts)) in getVectorShuffle()
1551 BlendSplat(N2BV, NElts); in getVectorShuffle()
1557 for (unsigned i = 0; i != NElts; ++i) { in getVectorShuffle()
1558 if (MaskVec[i] >= (int)NElts) { in getVectorShuffle()
[all …]
DLegalizeDAG.cpp4603 for (unsigned I = 1, NElts = OVT.getVectorNumElements(); I != NElts; ++I) in PromoteNode() local
DDAGCombiner.cpp12055 unsigned NElts = VT.getVectorNumElements(); in visitINSERT_VECTOR_ELT() local
12056 Ops.append(NElts, DAG.getUNDEF(InVal.getValueType())); in visitINSERT_VECTOR_ELT()
/external/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp1660 unsigned NElts = SrcVT.getVectorNumElements(); in performUCharToFloatCombine() local
1661 if (!SrcVT.isSimple() && NElts != 3) in performUCharToFloatCombine()
1669 EVT FloatVT = EVT::getVectorVT(*DAG.getContext(), MVT::f32, NElts); in performUCharToFloatCombine()
1705 unsigned ComponentsInElt = std::min(4u, NElts - 4 * EltIdx); in performUCharToFloatCombine()
1716 assert(Ops.size() == NElts); in performUCharToFloatCombine()
DAMDGPUISelLowering.cpp1558 unsigned NElts = VT.getVectorNumElements(); in LowerDIVREM24() local
1559 IntVT = MVT::getVectorVT(MVT::i32, NElts); in LowerDIVREM24()
1560 FltVT = MVT::getVectorVT(MVT::f32, NElts); in LowerDIVREM24()
2283 unsigned NElts = VT.getVectorNumElements(); in LowerSIGN_EXTEND_INREG() local
2285 DAG.ExtractVectorElements(Src, Args, 0, NElts); in LowerSIGN_EXTEND_INREG()
2288 for (unsigned I = 0; I < NElts; ++I) in LowerSIGN_EXTEND_INREG()
DR600ISelLowering.cpp1911 unsigned NElts = VT.getVectorNumElements(); in PerformDAGCombine() local
1912 Ops.append(NElts, DAG.getUNDEF(InVal.getValueType())); in PerformDAGCombine()
/external/llvm/lib/IR/
DConstants.cpp2111 unsigned NElts = Mask->getType()->getVectorNumElements(); in getShuffleVector() local
2113 Type *ShufTy = VectorType::get(EltTy, NElts); in getShuffleVector()
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp288 unsigned NElts = Vec->getType()->getVectorNumElements(); in CanReuseExtract() local
290 if (NElts != VL.size()) in CanReuseExtract()
/external/clang/lib/AST/
DExprConstant.cpp5660 unsigned NElts = VTy->getNumElements(); in VisitCastExpr() local
5683 SmallVector<APValue, 4> Elts(NElts, Val); in VisitCastExpr()
5701 for (unsigned i = 0; i < NElts; i++) { in VisitCastExpr()
5710 for (unsigned i = 0; i < NElts; i++) { in VisitCastExpr()