Searched refs:SrcElt (Results 1 – 8 of 8) 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()
1868 unsigned SrcElt = SVN->getMaskElt(i); in LowerVECTOR_SHUFFLE() local1871 if (SrcElt >= V2EltIdx0) { in LowerVECTOR_SHUFFLE()1874 if (EltsFromV2 == 0 && CurrElt == (SrcElt - V2EltIdx0)) in LowerVECTOR_SHUFFLE()1875 V2EltOffset = (SrcElt - V2EltIdx0) * (EltVT.getSizeInBits()/8); in LowerVECTOR_SHUFFLE()1879 } else if (CurrElt != SrcElt) { in LowerVECTOR_SHUFFLE()1887 if (PrevElt > 0 && SrcElt < MaxElts) { in LowerVECTOR_SHUFFLE()1888 if ((PrevElt == SrcElt - 1) in LowerVECTOR_SHUFFLE()1889 || (PrevElt == MaxElts - 1 && SrcElt == 0)) { in LowerVECTOR_SHUFFLE()1890 PrevElt = SrcElt; in LowerVECTOR_SHUFFLE()1894 } else if (i == 0 || (PrevElt==0 && SrcElt==1)) { in LowerVECTOR_SHUFFLE()[all …]
128 unsigned SrcElt = 0; in FoldBitCast() local134 Constant *Src = dyn_cast<ConstantInt>(CV->getOperand(SrcElt++)); in FoldBitCast()
177 unsigned SrcElt = 0; in FoldBitCast() local183 Constant *Src = dyn_cast<ConstantInt>(C->getAggregateElement(SrcElt++)); in FoldBitCast()
1558 unsigned SrcElt = 0; in executeBitCastInst() local1567 Tmp = TempSrc.AggregateVal[SrcElt++].IntVal; in executeBitCastInst()
4303 unsigned SrcElt = PermMask[i] < 0 ? 0 : PermMask[i]; in LowerVECTOR_SHUFFLE() local4306 ResultMask.push_back(DAG.getConstant(SrcElt*BytesPerElement+j, in LowerVECTOR_SHUFFLE()
7633 unsigned SrcElt = PermMask[i] < 0 ? 0 : PermMask[i]; in LowerVECTOR_SHUFFLE() local7637 ResultMask.push_back(DAG.getConstant(31 - (SrcElt*BytesPerElement + j), in LowerVECTOR_SHUFFLE()7640 ResultMask.push_back(DAG.getConstant(SrcElt*BytesPerElement + j, dl, in LowerVECTOR_SHUFFLE()