Searched refs:fromKnownBits (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | ConstantRange.h | 93 static ConstantRange fromKnownBits(const KnownBits &Known, bool IsSigned);
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | ConstantRange.cpp | 59 ConstantRange ConstantRange::fromKnownBits(const KnownBits &Known, in fromKnownBits() function in ConstantRange 1514 fromKnownBits(toKnownBits() & Other.toKnownBits(), false); in binaryAnd() 1526 fromKnownBits(toKnownBits() | Other.toKnownBits(), false); in binaryOr() 1551 ConstantRange CR = fromKnownBits(Known, /*IsSigned*/ false); in binaryXor()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LowerSwitch.cpp | 414 ConstantRange::fromKnownBits(Known, /*IsSigned=*/false); in ProcessSwitchInst()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 3057 return ConstantRange::fromKnownBits(KnownAmt, /*IsSigned=*/false); in getValidShiftAmountRange() 4267 ConstantRange N0Range = ConstantRange::fromKnownBits(N0Known, false); in computeOverflowForUnsignedAdd() 4268 ConstantRange N1Range = ConstantRange::fromKnownBits(N1Known, false); in computeOverflowForUnsignedAdd() 4285 ConstantRange N0Range = ConstantRange::fromKnownBits(N0Known, true); in computeOverflowForSignedSub() 4286 ConstantRange N1Range = ConstantRange::fromKnownBits(N1Known, true); in computeOverflowForSignedSub() 4298 ConstantRange N0Range = ConstantRange::fromKnownBits(N0Known, false); in computeOverflowForUnsignedSub() 4299 ConstantRange N1Range = ConstantRange::fromKnownBits(N1Known, false); in computeOverflowForUnsignedSub() 4311 ConstantRange N0Range = ConstantRange::fromKnownBits(N0Known, false); in computeOverflowForUnsignedMul() 4312 ConstantRange N1Range = ConstantRange::fromKnownBits(N1Known, false); in computeOverflowForUnsignedMul()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | BasicAliasAnalysis.cpp | 1264 ConstantRange::fromKnownBits(Known, /* Signed */ true), in aliasGEP()
|
H A D | LazyValueInfo.cpp | 1203 ConstantRange::fromKnownBits(Known, /*IsSigned*/ false)); in getValueFromICmpCondition()
|
H A D | ValueTracking.cpp | 6962 ConstantRange::fromKnownBits(V.getKnownBits(SQ), ForSigned); in computeConstantRangeIncludingKnownBits() 6980 ConstantRange LHSRange = ConstantRange::fromKnownBits(LHSKnown, false); in computeOverflowForUnsignedMul() 6981 ConstantRange RHSRange = ConstantRange::fromKnownBits(RHSKnown, false); in computeOverflowForUnsignedMul()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | CombinerHelper.cpp | 7340 ConstantRange::fromKnownBits(KB->getKnownBits(LHS), /*IsSigned=*/false); in matchAddOverflow() 7342 ConstantRange::fromKnownBits(KB->getKnownBits(RHS), /*IsSigned=*/false); in matchAddOverflow() 7379 ConstantRange::fromKnownBits(KB->getKnownBits(LHS), /*IsSigned=*/true); in matchAddOverflow() 7381 ConstantRange::fromKnownBits(KB->getKnownBits(RHS), /*IsSigned=*/true); in matchAddOverflow()
|