Home
last modified time | relevance | path

Searched refs:fromKnownBits (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantRange.h93 static ConstantRange fromKnownBits(const KnownBits &Known, bool IsSigned);
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp59 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 DLowerSwitch.cpp414 ConstantRange::fromKnownBits(Known, /*IsSigned=*/false); in ProcessSwitchInst()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp3057 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 DBasicAliasAnalysis.cpp1264 ConstantRange::fromKnownBits(Known, /* Signed */ true), in aliasGEP()
H A DLazyValueInfo.cpp1203 ConstantRange::fromKnownBits(Known, /*IsSigned*/ false)); in getValueFromICmpCondition()
H A DValueTracking.cpp6962 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 DCombinerHelper.cpp7340 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()