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

References

unittests/IR/ConstantRangeTest.cpp
  508             Variant2 = ConstantRange(Lower2, Upper1 + 1);
  515           Variant2 = ConstantRange(Lower3, Upper2 + 1);
  519         if (Variant1.isSizeStrictlySmallerThan(Variant2))
  521         else if (Variant2.isSizeStrictlySmallerThan(Variant1))
  522           EXPECT_EQ(Variant2, SmallestCR);
  524           EXPECT_TRUE(Variant1 == SmallestCR || Variant2 == SmallestCR);
  528         bool Variant2Full = Variant2.isFullSet() || Variant2.isWrappedSet();
  528         bool Variant2Full = Variant2.isFullSet() || Variant2.isWrappedSet();
  532           EXPECT_EQ(Variant2, UnsignedCR);
  533         else if (Variant1.isSizeStrictlySmallerThan(Variant2))
  535         else if (Variant2.isSizeStrictlySmallerThan(Variant1))
  536           EXPECT_EQ(Variant2, UnsignedCR);
  538           EXPECT_TRUE(Variant1 == UnsignedCR || Variant2 == UnsignedCR);
  542         Variant2Full = Variant2.isFullSet() || Variant2.isSignWrappedSet();
  542         Variant2Full = Variant2.isFullSet() || Variant2.isSignWrappedSet();
  546           EXPECT_EQ(Variant2, SignedCR);
  547         else if (Variant1.isSizeStrictlySmallerThan(Variant2))
  549         else if (Variant2.isSizeStrictlySmallerThan(Variant1))
  550           EXPECT_EQ(Variant2, SignedCR);
  552           EXPECT_TRUE(Variant1 == SignedCR || Variant2 == SignedCR);