Searched refs:SrcElt (Results 1 – 4 of 4) sorted by relevance
131 unsigned SrcElt = (ShuffleMask >> (4*i)) & 0xF; in getTransformedMask() local133 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()
1874 unsigned SrcElt = SVN->getMaskElt(i); in LowerVECTOR_SHUFFLE() local1877 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 …]
164 unsigned SrcElt = 0; in FoldBitCast() local170 Constant *Src =dyn_cast<ConstantInt>(C->getAggregateElement(SrcElt++)); in FoldBitCast()
4351 unsigned SrcElt = PermMask[i] < 0 ? 0 : PermMask[i]; in LowerVECTOR_SHUFFLE() local4354 ResultMask.push_back(DAG.getConstant(SrcElt*BytesPerElement+j, in LowerVECTOR_SHUFFLE()