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()
1863 unsigned SrcElt = SVN->getMaskElt(i); in LowerVECTOR_SHUFFLE() local1866 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 …]
123 unsigned SrcElt = 0; in FoldBitCast() local129 Constant *Src = dyn_cast<ConstantInt>(CV->getOperand(SrcElt++)); in FoldBitCast()
4279 unsigned SrcElt = PermMask[i] < 0 ? 0 : PermMask[i]; in LowerVECTOR_SHUFFLE() local4282 ResultMask.push_back(DAG.getConstant(SrcElt*BytesPerElement+j, in LowerVECTOR_SHUFFLE()