Home
last modified time | relevance | path

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

/external/llvm/lib/Target/X86/Utils/
DX86ShuffleDecode.cpp47 void DecodeMOVHLPSMask(unsigned NElts, in DecodeMOVHLPSMask() argument
49 for (unsigned i = NElts/2; i != NElts; ++i) in DecodeMOVHLPSMask()
50 ShuffleMask.push_back(NElts+i); in DecodeMOVHLPSMask()
52 for (unsigned i = NElts/2; i != NElts; ++i) in DecodeMOVHLPSMask()
57 void DecodeMOVLHPSMask(unsigned NElts, 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()
66 void DecodePSHUFMask(unsigned NElts, unsigned Imm, in DecodePSHUFMask() argument
68 for (unsigned i = 0; i != NElts; ++i) { in DecodePSHUFMask()
[all …]
DX86ShuffleDecode.h33 void DecodeMOVHLPSMask(unsigned NElts,
37 void DecodeMOVLHPSMask(unsigned NElts,
40 void DecodePSHUFMask(unsigned NElts, unsigned Imm,
49 void DecodePUNPCKLBWMask(unsigned NElts,
52 void DecodePUNPCKLWDMask(unsigned NElts,
55 void DecodePUNPCKLDQMask(unsigned NElts,
58 void DecodePUNPCKLQDQMask(unsigned NElts,
64 void DecodePUNPCKHMask(unsigned NElts,
67 void DecodeSHUFPSMask(unsigned NElts, unsigned Imm,
70 void DecodeUNPCKHPMask(unsigned NElts,
[all …]
/external/llvm/include/llvm/CodeGen/
DValueTypes.h165 unsigned NElts = getVectorNumElements(); in isPow2VectorType() local
166 return !(NElts & (NElts - 1)); in isPow2VectorType()
175 unsigned NElts = getVectorNumElements(); in getPow2VectorType() local
176 unsigned Pow2NElts = 1 << Log2_32_Ceil(NElts); in getPow2VectorType()
624 unsigned NElts = getVectorNumElements(); in isPow2VectorType() local
625 return !(NElts & (NElts - 1)); in isPow2VectorType()
632 unsigned NElts = getVectorNumElements(); in getPow2VectorType() local
633 unsigned Pow2NElts = 1 << Log2_32_Ceil(NElts); in getPow2VectorType()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp59 unsigned NElts = SVI->getType()->getNumElements(); in getShuffleMask() local
61 return std::vector<int>(NElts, 0); in getShuffleMask()
63 return std::vector<int>(NElts, -1); in getShuffleMask()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp1212 int NElts = M.size(); in commuteShuffle() local
1213 for (int i = 0; i != NElts; ++i) { in commuteShuffle()
1214 if (M[i] >= NElts) in commuteShuffle()
1215 M[i] -= NElts; in commuteShuffle()
1217 M[i] += NElts; in commuteShuffle()
1235 unsigned NElts = VT.getVectorNumElements(); in getVectorShuffle() local
1237 for (unsigned i = 0; i != NElts; ++i) { in getVectorShuffle()
1238 assert(Mask[i] < (int)(NElts * 2) && "Index out of range"); in getVectorShuffle()
1245 for (unsigned i = 0; i != NElts; ++i) in getVectorShuffle()
1246 if (MaskVec[i] >= (int)NElts) MaskVec[i] -= NElts; in getVectorShuffle()
[all …]
DTargetLowering.cpp834 unsigned NElts = VT.getVectorNumElements(); in computeRegisterProperties() local
835 if (NElts != 1) { in computeRegisterProperties()
847 && SVT.getVectorNumElements() == NElts && in computeRegisterProperties()
864 SVT.getVectorNumElements() > NElts && in computeRegisterProperties()
DDAGCombiner.cpp6806 unsigned NElts = VT.getVectorNumElements(); in visitINSERT_VECTOR_ELT() local
6807 SmallVector<SDValue, 8> Ops(NElts, DAG.getUNDEF(EltVT)); in visitINSERT_VECTOR_ELT()
/external/clang/lib/AST/
DExprConstant.cpp791 unsigned NElts = VTy->getNumElements(); in VisitCastExpr() local
815 llvm::SmallVector<APValue, 4> Elts(NElts, Result); in VisitCastExpr()
833 for (unsigned i = 0; i != NElts; ++i) { in VisitCastExpr()
/external/llvm/lib/VMCore/
DConstants.cpp1718 unsigned NElts = cast<VectorType>(Mask->getType())->getNumElements(); in getShuffleVector() local
1720 Type *ShufTy = VectorType::get(EltTy, NElts); in getShuffleVector()