Home
last modified time | relevance | path

Searched refs:LHSWidth (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp215 unsigned LHSWidth = in visitExtractElementInst() local
220 if (SrcIdx < (int)LHSWidth) in visitExtractElementInst()
223 SrcIdx -= LHSWidth; in visitExtractElementInst()
854 unsigned LHSWidth = cast<VectorType>(LHS->getType())->getNumElements(); in visitShuffleVectorInst() local
861 Value *Result = (VWidth == LHSWidth) in visitShuffleVectorInst()
868 for (unsigned i = 0, e = LHSWidth; i != VWidth; ++i) { in visitShuffleVectorInst()
891 if (VWidth == LHSWidth) { in visitShuffleVectorInst()
1072 else if (LHSOp0Width == LHSWidth) { in visitShuffleVectorInst()
1077 if (RHSShuffle && RHSOp0Width == LHSWidth) { in visitShuffleVectorInst()
1096 unsigned newLHSWidth = (newLHS != LHS) ? LHSOp0Width : LHSWidth; in visitShuffleVectorInst()
[all …]
DInstCombineCasts.cpp1271 unsigned LHSWidth = LHSOrig->getType()->getFPMantissaWidth(); in visitFPTrunc() local
1273 unsigned SrcWidth = std::max(LHSWidth, RHSWidth); in visitFPTrunc()
1314 if (OpWidth >= LHSWidth + RHSWidth && DstWidth >= SrcWidth) { in visitFPTrunc()
1350 if (LHSWidth < SrcWidth) in visitFPTrunc()
/external/llvm/lib/Analysis/
DVectorUtils.cpp394 unsigned LHSWidth = SVI->getOperand(0)->getType()->getVectorNumElements(); in findScalarElement() local
398 if (InEl < (int)LHSWidth) in findScalarElement()
400 return findScalarElement(SVI->getOperand(1), InEl - LHSWidth); in findScalarElement()