/external/llvm/lib/Target/X86/Utils/ |
D | X86ShuffleDecode.cpp | 49 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()
|
D | X86ShuffleDecode.h | 34 void DecodeMOVHLPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask); 37 void DecodeMOVLHPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask);
|
/external/llvm/include/llvm/CodeGen/ |
D | ValueTypes.h | 292 unsigned NElts = getVectorNumElements(); in isPow2VectorType() local 293 return !(NElts & (NElts - 1)); in isPow2VectorType() 300 unsigned NElts = getVectorNumElements(); in getPow2VectorType() local 301 unsigned Pow2NElts = 1 << Log2_32_Ceil(NElts); in getPow2VectorType()
|
D | MachineValueType.h | 259 unsigned NElts = getVectorNumElements(); in isPow2VectorType() local 260 return !(NElts & (NElts - 1)); in isPow2VectorType() 269 unsigned NElts = getVectorNumElements(); in getPow2VectorType() local 270 unsigned Pow2NElts = 1 << Log2_32_Ceil(NElts); in getPow2VectorType()
|
/external/llvm/include/llvm/ADT/ |
D | STLExtras.h | 289 auto NElts = End - Start; 290 if (NElts <= 1) return; 291 qsort(&*Start, NElts, sizeof(*Start), get_array_pod_sort_comparator(*Start)); 302 auto NElts = End - Start; 303 if (NElts <= 1) return; 304 qsort(&*Start, NElts, sizeof(*Start),
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonISelLowering.cpp | 1936 unsigned NElts = BVN->getNumOperands(); in isCommonSplatElement() local 1939 for (unsigned i = 1, e = NElts; i != e; ++i) { in isCommonSplatElement() 2020 unsigned NElts = BVN->getNumOperands(); in LowerBUILD_VECTOR() local 2058 for (unsigned i = 0, e = NElts; i != e; ++i) { in LowerBUILD_VECTOR() 2077 unsigned EltSize = Size / NElts; in LowerBUILD_VECTOR() 2082 for (unsigned i = 0, e = NElts; i != e; ++i) { in LowerBUILD_VECTOR() 2085 unsigned OpIdx = NElts - i - 1; in LowerBUILD_VECTOR() 2113 for (unsigned i = 0, e = NElts; i != e; ++i) { in LowerBUILD_VECTOR() 2116 unsigned OpIdx = NElts - i - 1; in LowerBUILD_VECTOR() 2148 unsigned NElts = Op.getNumOperands(); in LowerCONCAT_VECTORS() local [all …]
|
/external/llvm/lib/CodeGen/ |
D | TargetLoweringBase.cpp | 1282 unsigned NElts = VT.getVectorNumElements(); in computeRegisterProperties() local 1294 && SVT.getVectorNumElements() == NElts && isTypeLegal(SVT) in computeRegisterProperties() 1312 && SVT.getVectorNumElements() > NElts && isTypeLegal(SVT)) { in computeRegisterProperties() 1343 ValueTypeActions.setTypeAction(VT, NElts == 1 ? TypeScalarizeVector in computeRegisterProperties()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 1479 unsigned NElts = VT.getVectorNumElements(); in getVectorShuffle() local 1481 for (unsigned i = 0; i != NElts; ++i) { in getVectorShuffle() 1482 assert(Mask[i] < (int)(NElts * 2) && "Index out of range"); in getVectorShuffle() 1489 for (unsigned i = 0; i != NElts; ++i) in getVectorShuffle() 1490 if (MaskVec[i] >= (int)NElts) MaskVec[i] -= NElts; in getVectorShuffle() 1505 for (int i = 0; i < (int)NElts; ++i) { in getVectorShuffle() 1506 if (MaskVec[i] < Offset || MaskVec[i] >= (Offset + (int)NElts)) in getVectorShuffle() 1523 BlendSplat(N2BV, NElts); in getVectorShuffle() 1529 for (unsigned i = 0; i != NElts; ++i) { in getVectorShuffle() 1530 if (MaskVec[i] >= (int)NElts) { in getVectorShuffle() [all …]
|
D | DAGCombiner.cpp | 10879 unsigned NElts = VT.getVectorNumElements(); in visitINSERT_VECTOR_ELT() local 10880 Ops.append(NElts, DAG.getUNDEF(InVal.getValueType())); in visitINSERT_VECTOR_ELT()
|
/external/llvm/lib/Target/R600/ |
D | SIISelLowering.cpp | 1285 unsigned NElts = SrcVT.getVectorNumElements(); in performUCharToFloatCombine() local 1286 if (!SrcVT.isSimple() && NElts != 3) in performUCharToFloatCombine() 1294 EVT FloatVT = EVT::getVectorVT(*DAG.getContext(), MVT::f32, NElts); in performUCharToFloatCombine() 1330 unsigned ComponentsInElt = std::min(4u, NElts - 4 * EltIdx); in performUCharToFloatCombine() 1341 assert(Ops.size() == NElts); in performUCharToFloatCombine()
|
D | AMDGPUISelLowering.cpp | 1554 unsigned NElts = VT.getVectorNumElements(); in LowerDIVREM24() local 1555 IntVT = MVT::getVectorVT(MVT::i32, NElts); in LowerDIVREM24() 1556 FltVT = MVT::getVectorVT(MVT::f32, NElts); in LowerDIVREM24() 2261 unsigned NElts = VT.getVectorNumElements(); in LowerSIGN_EXTEND_INREG() local 2263 DAG.ExtractVectorElements(Src, Args, 0, NElts); in LowerSIGN_EXTEND_INREG() 2266 for (unsigned I = 0; I < NElts; ++I) in LowerSIGN_EXTEND_INREG()
|
D | R600ISelLowering.cpp | 1911 unsigned NElts = VT.getVectorNumElements(); in PerformDAGCombine() local 1912 Ops.append(NElts, DAG.getUNDEF(InVal.getValueType())); in PerformDAGCombine()
|
/external/llvm/lib/IR/ |
D | Constants.cpp | 2148 unsigned NElts = Mask->getType()->getVectorNumElements(); in getShuffleVector() local 2150 Type *ShufTy = VectorType::get(EltTy, NElts); in getShuffleVector()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | SLPVectorizer.cpp | 269 unsigned NElts = Vec->getType()->getVectorNumElements(); in CanReuseExtract() local 271 if (NElts != VL.size()) in CanReuseExtract()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 5534 unsigned NElts = VTy->getNumElements(); in VisitCastExpr() local 5557 SmallVector<APValue, 4> Elts(NElts, Val); in VisitCastExpr() 5575 for (unsigned i = 0; i < NElts; i++) { in VisitCastExpr() 5584 for (unsigned i = 0; i < NElts; i++) { in VisitCastExpr()
|