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

References

unittests/IR/ConstantRangeTest.cpp
  390   EXPECT_TRUE(LHS.intersectWith(RHS) == LHS);
  390   EXPECT_TRUE(LHS.intersectWith(RHS) == LHS);
  393   LHS = ConstantRange(APInt(32, -2147483646), APInt(32, 3));
  395   EXPECT_EQ(LHS.intersectWith(RHS), ConstantRange(APInt(32, 2)));
  398   LHS = ConstantRange(APInt(32, 2), APInt(32, 0));
  400   EXPECT_EQ(LHS.intersectWith(RHS), ConstantRange(APInt(32, 2), APInt(32, 0)));
  403   LHS = ConstantRange(APInt(32, 2), APInt(32, 0));
  405   EXPECT_EQ(LHS.intersectWith(RHS), ConstantRange(APInt(32, 4), APInt(32, 0)));
  408   LHS = ConstantRange(APInt(32, 4), APInt(32, 2));
  410   EXPECT_EQ(LHS.intersectWith(RHS), ConstantRange(APInt(32, 5), APInt(32, 1)));
  413   LHS = ConstantRange(APInt(32, 2), APInt(32, 0));
  415   EXPECT_EQ(LHS.intersectWith(RHS), ConstantRange(APInt(32, 7), APInt(32, 4)));
  418   LHS = ConstantRange(APInt(32, 4), APInt(32, 2));
  420   EXPECT_EQ(LHS.intersectWith(RHS), ConstantRange(APInt(32, 4), APInt(32, 2)));
  423   LHS = ConstantRange(APInt(32, 15), APInt(32, 0));
  425   EXPECT_EQ(LHS.intersectWith(RHS), ConstantRange(APInt(32, 15), APInt(32, 0)));