Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp231 unsigned LHSWidth = in visitExtractElementInst() local
236 if (SrcIdx < (int)LHSWidth) in visitExtractElementInst()
239 SrcIdx -= LHSWidth; in visitExtractElementInst()
943 unsigned LHSWidth = cast<VectorType>(LHS->getType())->getNumElements(); in visitShuffleVectorInst() local
950 Value *Result = (VWidth == LHSWidth) in visitShuffleVectorInst()
957 for (unsigned i = 0, e = LHSWidth; i != VWidth; ++i) { in visitShuffleVectorInst()
980 if (VWidth == LHSWidth) { in visitShuffleVectorInst()
1161 else if (LHSOp0Width == LHSWidth) { in visitShuffleVectorInst()
1166 if (RHSShuffle && RHSOp0Width == LHSWidth) { in visitShuffleVectorInst()
1185 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp257 unsigned LHSWidth = in visitExtractElementInst() local
262 if (SrcIdx < (int)LHSWidth) in visitExtractElementInst()
265 SrcIdx -= LHSWidth; in visitExtractElementInst()
1377 unsigned LHSWidth = LHS->getType()->getVectorNumElements(); in visitShuffleVectorInst() local
1384 Value *Result = (VWidth == LHSWidth) in visitShuffleVectorInst()
1391 for (unsigned i = 0, e = LHSWidth; i != VWidth; ++i) { in visitShuffleVectorInst()
1414 if (VWidth == LHSWidth) { in visitShuffleVectorInst()
1595 else if (LHSOp0Width == LHSWidth) { in visitShuffleVectorInst()
1600 if (RHSShuffle && RHSOp0Width == LHSWidth) { in visitShuffleVectorInst()
1619 unsigned newLHSWidth = (newLHS != LHS) ? LHSOp0Width : LHSWidth; in visitShuffleVectorInst()
[all …]
DInstCombineCasts.cpp1511 unsigned LHSWidth = LHSMinType->getFPMantissaWidth(); in visitFPTrunc() local
1513 unsigned SrcWidth = std::max(LHSWidth, RHSWidth); in visitFPTrunc()
1551 if (OpWidth >= LHSWidth + RHSWidth && DstWidth >= SrcWidth) { in visitFPTrunc()
1578 if (LHSWidth == SrcWidth) { in visitFPTrunc()
/external/llvm/lib/Analysis/
DVectorUtils.cpp261 unsigned LHSWidth = SVI->getOperand(0)->getType()->getVectorNumElements(); in findScalarElement() local
265 if (InEl < (int)LHSWidth) in findScalarElement()
267 return findScalarElement(SVI->getOperand(1), InEl - LHSWidth); in findScalarElement()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DVectorUtils.cpp263 unsigned LHSWidth = SVI->getOperand(0)->getType()->getVectorNumElements(); in findScalarElement() local
267 if (InEl < (int)LHSWidth) in findScalarElement()
269 return findScalarElement(SVI->getOperand(1), InEl - LHSWidth); in findScalarElement()