Home
last modified time | relevance | path

Searched refs:RHSWidth (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DMisplacedWideningCastCheck.cpp60 unsigned RHSWidth = getMaxCalculationWidth(Context, Bop->getRHS()); in getMaxCalculationWidth() local
62 return LHSWidth + RHSWidth; in getMaxCalculationWidth()
64 return std::max(LHSWidth, RHSWidth) + 1; in getMaxCalculationWidth()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1272 unsigned RHSWidth = RHSOrig->getType()->getFPMantissaWidth(); in visitFPTrunc() local
1273 unsigned SrcWidth = std::max(LHSWidth, RHSWidth); in visitFPTrunc()
1314 if (OpWidth >= LHSWidth + RHSWidth && DstWidth >= SrcWidth) { in visitFPTrunc()
1352 else if (RHSWidth <= SrcWidth) in visitFPTrunc()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1675 unsigned RHSWidth = RHSMinType->getFPMantissaWidth(); in visitFPTrunc() local
1676 unsigned SrcWidth = std::max(LHSWidth, RHSWidth); in visitFPTrunc()
1714 if (OpWidth >= LHSWidth + RHSWidth && DstWidth >= SrcWidth) { in visitFPTrunc()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1543 unsigned RHSWidth = RHSMinType->getFPMantissaWidth(); in visitFPTrunc() local
1544 unsigned SrcWidth = std::max(LHSWidth, RHSWidth); in visitFPTrunc()
1582 if (OpWidth >= LHSWidth + RHSWidth && DstWidth >= SrcWidth) { in visitFPTrunc()