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.cpp1874 unsigned SrcElt = SVN->getMaskElt(i); in LowerVECTOR_SHUFFLE() local
1877 if (SrcElt >= V2EltIdx0) { in LowerVECTOR_SHUFFLE()
1880 if (EltsFromV2 == 0 && CurrElt == (SrcElt - V2EltIdx0)) in LowerVECTOR_SHUFFLE()
1881 V2EltOffset = (SrcElt - V2EltIdx0) * (EltVT.getSizeInBits()/8); in LowerVECTOR_SHUFFLE()
1885 } else if (CurrElt != SrcElt) { in LowerVECTOR_SHUFFLE()
1893 if (PrevElt > 0 && SrcElt < MaxElts) { in LowerVECTOR_SHUFFLE()
1894 if ((PrevElt == SrcElt - 1) in LowerVECTOR_SHUFFLE()
1895 || (PrevElt == MaxElts - 1 && SrcElt == 0)) { in LowerVECTOR_SHUFFLE()
1896 PrevElt = SrcElt; in LowerVECTOR_SHUFFLE()
1900 } else if (i == 0 || (PrevElt==0 && SrcElt==1)) { in LowerVECTOR_SHUFFLE()
[all …]
/external/llvm/lib/Analysis/
DConstantFolding.cpp164 unsigned SrcElt = 0; in FoldBitCast() local
170 Constant *Src =dyn_cast<ConstantInt>(C->getAggregateElement(SrcElt++)); in FoldBitCast()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp4351 unsigned SrcElt = PermMask[i] < 0 ? 0 : PermMask[i]; in LowerVECTOR_SHUFFLE() local
4354 ResultMask.push_back(DAG.getConstant(SrcElt*BytesPerElement+j, in LowerVECTOR_SHUFFLE()