reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/ConstantRange.h
   93   static ConstantRange fromKnownBits(const KnownBits &Known, bool IsSigned);

References

lib/Analysis/ValueTracking.cpp
 4004   ConstantRange CR1 = ConstantRange::fromKnownBits(Known, ForSigned);
 4019   ConstantRange LHSRange = ConstantRange::fromKnownBits(LHSKnown, false);
 4020   ConstantRange RHSRange = ConstantRange::fromKnownBits(RHSKnown, false);
lib/Transforms/Utils/LowerSwitch.cpp
  497         ConstantRange::fromKnownBits(Known, /*IsSigned=*/false);
unittests/IR/ConstantRangeTest.cpp
 2070   EXPECT_EQ(Full, ConstantRange::fromKnownBits(Unknown, /*signed*/false));
 2071   EXPECT_EQ(Full, ConstantRange::fromKnownBits(Unknown, /*signed*/true));
 2080   EXPECT_EQ(Unsigned, ConstantRange::fromKnownBits(Known, /*signed*/false));
 2081   EXPECT_EQ(Signed, ConstantRange::fromKnownBits(Known, /*signed*/true));
 2087   EXPECT_EQ(CR1, ConstantRange::fromKnownBits(Known, /*signed*/false));
 2088   EXPECT_EQ(CR1, ConstantRange::fromKnownBits(Known, /*signed*/true));
 2094   EXPECT_EQ(CR2, ConstantRange::fromKnownBits(Known, /*signed*/false));
 2095   EXPECT_EQ(CR2, ConstantRange::fromKnownBits(Known, /*signed*/true));
 2126       EXPECT_EQ(UnsignedCR, ConstantRange::fromKnownBits(Known, false));
 2127       EXPECT_EQ(SignedCR, ConstantRange::fromKnownBits(Known, true));