Home
last modified time | relevance | path

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

/external/llvm/lib/Target/X86/Utils/
DX86ShuffleDecode.cpp47 void DecodeMOVHLPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask) { in DecodeMOVHLPSMask() argument
48 for (unsigned i = NElts/2; i != NElts; ++i) in DecodeMOVHLPSMask()
49 ShuffleMask.push_back(NElts+i); in DecodeMOVHLPSMask()
51 for (unsigned i = NElts/2; i != NElts; ++i) in DecodeMOVHLPSMask()
56 void DecodeMOVLHPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask) { in DecodeMOVLHPSMask() argument
57 for (unsigned i = 0; i != NElts/2; ++i) in DecodeMOVLHPSMask()
60 for (unsigned i = 0; i != NElts/2; ++i) in DecodeMOVLHPSMask()
61 ShuffleMask.push_back(NElts+i); in DecodeMOVLHPSMask()
DX86ShuffleDecode.h33 void DecodeMOVHLPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask);
36 void DecodeMOVLHPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask);
/external/llvm/include/llvm/CodeGen/
DValueTypes.h211 unsigned NElts = getVectorNumElements(); in isPow2VectorType() local
212 return !(NElts & (NElts - 1)); in isPow2VectorType()
221 unsigned NElts = getVectorNumElements(); in getPow2VectorType() local
222 unsigned Pow2NElts = 1 << Log2_32_Ceil(NElts); in getPow2VectorType()
683 unsigned NElts = getVectorNumElements(); in isPow2VectorType() local
684 return !(NElts & (NElts - 1)); in isPow2VectorType()
691 unsigned NElts = getVectorNumElements(); in getPow2VectorType() local
692 unsigned Pow2NElts = 1 << Log2_32_Ceil(NElts); in getPow2VectorType()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp1305 int NElts = M.size(); in commuteShuffle() local
1306 for (int i = 0; i != NElts; ++i) { in commuteShuffle()
1307 if (M[i] >= NElts) in commuteShuffle()
1308 M[i] -= NElts; in commuteShuffle()
1310 M[i] += NElts; in commuteShuffle()
1328 unsigned NElts = VT.getVectorNumElements(); in getVectorShuffle() local
1330 for (unsigned i = 0; i != NElts; ++i) { in getVectorShuffle()
1331 assert(Mask[i] < (int)(NElts * 2) && "Index out of range"); in getVectorShuffle()
1338 for (unsigned i = 0; i != NElts; ++i) in getVectorShuffle()
1339 if (MaskVec[i] >= (int)NElts) MaskVec[i] -= NElts; in getVectorShuffle()
[all …]
DTargetLowering.cpp822 unsigned NElts = VT.getVectorNumElements(); in computeRegisterProperties() local
823 if (NElts != 1) { in computeRegisterProperties()
832 && SVT.getVectorNumElements() == NElts && in computeRegisterProperties()
849 SVT.getVectorNumElements() > NElts && in computeRegisterProperties()
DDAGCombiner.cpp7680 unsigned NElts = VT.getVectorNumElements(); in visitINSERT_VECTOR_ELT() local
7681 Ops.append(NElts, DAG.getUNDEF(InVal.getValueType())); in visitINSERT_VECTOR_ELT()
/external/llvm/lib/VMCore/
DConstants.cpp1861 unsigned NElts = Mask->getType()->getVectorNumElements(); in getShuffleVector() local
1863 Type *ShufTy = VectorType::get(EltTy, NElts); in getShuffleVector()
/external/clang/lib/AST/
DExprConstant.cpp3600 unsigned NElts = VTy->getNumElements(); in VisitCastExpr() local
3623 SmallVector<APValue, 4> Elts(NElts, Val); in VisitCastExpr()
3642 for (unsigned i = 0; i < NElts; i++) { in VisitCastExpr()
3651 for (unsigned i = 0; i < NElts; i++) { in VisitCastExpr()