Home
last modified time | relevance | path

Searched refs:SrcNumElts (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp3130 unsigned SrcNumElts = SrcVT.getVectorNumElements(); in visitShuffleVector() local
3132 if (SrcNumElts == MaskNumElts) { in visitShuffleVector()
3139 if (SrcNumElts < MaskNumElts && MaskNumElts % SrcNumElts == 0) { in visitShuffleVector()
3143 if (SrcNumElts*2 == MaskNumElts) { in visitShuffleVector()
3145 if (isSequentialInRange(Mask, 0, SrcNumElts, 0) && in visitShuffleVector()
3146 isSequentialInRange(Mask, SrcNumElts, SrcNumElts, SrcNumElts)) { in visitShuffleVector()
3153 if (isSequentialInRange(Mask, 0, SrcNumElts, SrcNumElts) && in visitShuffleVector()
3154 isSequentialInRange(Mask, SrcNumElts, SrcNumElts, 0)) { in visitShuffleVector()
3163 unsigned NumConcat = MaskNumElts / SrcNumElts; in visitShuffleVector()
3182 if (Idx >= (int)SrcNumElts) in visitShuffleVector()
[all …]
/external/llvm/lib/IR/
DConstantFold.cpp837 unsigned SrcNumElts = V1->getType()->getVectorNumElements(); in ConstantFoldShuffleVectorInstruction() local
848 if (unsigned(Elt) >= SrcNumElts*2) in ConstantFoldShuffleVectorInstruction()
850 else if (unsigned(Elt) >= SrcNumElts) { in ConstantFoldShuffleVectorInstruction()
854 ConstantInt::get(Ty, Elt - SrcNumElts)); in ConstantFoldShuffleVectorInstruction()