Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp413 unsigned LHSWidth = in visitExtractElementInst() local
418 if (SrcIdx < (int)LHSWidth) in visitExtractElementInst()
421 SrcIdx -= LHSWidth; in visitExtractElementInst()
1910 unsigned LHSWidth = LHS->getType()->getVectorNumElements(); in visitShuffleVectorInst() local
1922 Elts.push_back(ConstantInt::get(Int32Ty, Mask[i] % LHSWidth)); in visitShuffleVectorInst()
2135 else if (LHSOp0Width == LHSWidth) { in visitShuffleVectorInst()
2140 if (RHSShuffle && RHSOp0Width == LHSWidth) { in visitShuffleVectorInst()
2159 unsigned newLHSWidth = (newLHS != LHS) ? LHSOp0Width : LHSWidth; in visitShuffleVectorInst()
2170 } else if (Mask[i] < (int)LHSWidth) { in visitShuffleVectorInst()
2193 eltMask = RHSMask[Mask[i]-LHSWidth]; in visitShuffleVectorInst()
[all …]
DInstCombineCasts.cpp1542 unsigned LHSWidth = LHSMinType->getFPMantissaWidth(); in visitFPTrunc() local
1544 unsigned SrcWidth = std::max(LHSWidth, RHSWidth); in visitFPTrunc()
1582 if (OpWidth >= LHSWidth + RHSWidth && DstWidth >= SrcWidth) { in visitFPTrunc()
1609 if (LHSWidth == SrcWidth) { in visitFPTrunc()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DVectorUtils.cpp289 unsigned LHSWidth = SVI->getOperand(0)->getType()->getVectorNumElements(); in findScalarElement() local
293 if (InEl < (int)LHSWidth) in findScalarElement()
295 return findScalarElement(SVI->getOperand(1), InEl - LHSWidth); in findScalarElement()