Home
last modified time | relevance | path

Searched refs:SrcElt (Results 1 – 4 of 4) sorted by relevance

/external/llvm/utils/PerfectShuffle/
DPerfectShuffle.cpp131 unsigned SrcElt = (ShuffleMask >> (4*i)) & 0xF; in getTransformedMask() local
133 if (SrcElt < 4) in getTransformedMask()
134 ResElt = getMaskElt(LHSMask, SrcElt); in getTransformedMask()
135 else if (SrcElt < 8) in getTransformedMask()
136 ResElt = getMaskElt(RHSMask, SrcElt-4); in getTransformedMask()
138 assert(SrcElt == 8 && "Bad src elt!"); in getTransformedMask()
/external/llvm/lib/Target/CellSPU/
DSPUISelLowering.cpp1863 unsigned SrcElt = SVN->getMaskElt(i); in LowerVECTOR_SHUFFLE() local
1866 if (SrcElt >= V2EltIdx0) { in LowerVECTOR_SHUFFLE()
1869 if (EltsFromV2 == 0 && CurrElt == (SrcElt - V2EltIdx0)) in LowerVECTOR_SHUFFLE()
1870 V2EltOffset = (SrcElt - V2EltIdx0) * (EltVT.getSizeInBits()/8); in LowerVECTOR_SHUFFLE()
1874 } else if (CurrElt != SrcElt) { in LowerVECTOR_SHUFFLE()
1882 if (PrevElt > 0 && SrcElt < MaxElts) { in LowerVECTOR_SHUFFLE()
1883 if ((PrevElt == SrcElt - 1) in LowerVECTOR_SHUFFLE()
1884 || (PrevElt == MaxElts - 1 && SrcElt == 0)) { in LowerVECTOR_SHUFFLE()
1885 PrevElt = SrcElt; in LowerVECTOR_SHUFFLE()
1889 } else if (i == 0 || (PrevElt==0 && SrcElt==1)) { in LowerVECTOR_SHUFFLE()
[all …]
/external/llvm/lib/Analysis/
DConstantFolding.cpp123 unsigned SrcElt = 0; in FoldBitCast() local
129 Constant *Src = dyn_cast<ConstantInt>(CV->getOperand(SrcElt++)); in FoldBitCast()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp4279 unsigned SrcElt = PermMask[i] < 0 ? 0 : PermMask[i]; in LowerVECTOR_SHUFFLE() local
4282 ResultMask.push_back(DAG.getConstant(SrcElt*BytesPerElement+j, in LowerVECTOR_SHUFFLE()