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

References

unittests/ADT/APIntTest.cpp
  225   EXPECT_EQ(-1, neg_one.getSExtValue());
  226   EXPECT_EQ(1u, neg_one.getZExtValue());
  236   EXPECT_EQ(one, neg_one);
  247   EXPECT_EQ(zero, neg_one + one);
  248   EXPECT_EQ(neg_two, neg_one + neg_one);
  248   EXPECT_EQ(neg_two, neg_one + neg_one);
  251   EXPECT_EQ(neg_two, neg_one - one);
  252   EXPECT_EQ(two, one - neg_one);
  261   EXPECT_EQ(zero, neg_one & zero);
  262   EXPECT_EQ(zero, zero & neg_one);
  263   EXPECT_EQ(neg_one, neg_one & neg_one);
  263   EXPECT_EQ(neg_one, neg_one & neg_one);
  263   EXPECT_EQ(neg_one, neg_one & neg_one);
  271   EXPECT_EQ(neg_one, neg_one | zero);
  271   EXPECT_EQ(neg_one, neg_one | zero);
  272   EXPECT_EQ(neg_one, zero | neg_one);
  272   EXPECT_EQ(neg_one, zero | neg_one);
  273   EXPECT_EQ(neg_one, neg_one | neg_one);
  273   EXPECT_EQ(neg_one, neg_one | neg_one);
  273   EXPECT_EQ(neg_one, neg_one | neg_one);
  281   EXPECT_EQ(neg_one, neg_one ^ zero);
  281   EXPECT_EQ(neg_one, neg_one ^ zero);
  282   EXPECT_EQ(neg_one, zero ^ neg_one);
  282   EXPECT_EQ(neg_one, zero ^ neg_one);
  283   EXPECT_EQ(zero, neg_one ^ neg_one);
  283   EXPECT_EQ(zero, neg_one ^ neg_one);
  300   EXPECT_EQ(neg_one, neg_one * one);
  300   EXPECT_EQ(neg_one, neg_one * one);
  301   EXPECT_EQ(neg_one, one * neg_one);
  301   EXPECT_EQ(neg_one, one * neg_one);
  302   EXPECT_EQ(one, neg_one * neg_one);
  302   EXPECT_EQ(one, neg_one * neg_one);
  306   EXPECT_EQ(neg_one, one.sdiv(neg_one));
  306   EXPECT_EQ(neg_one, one.sdiv(neg_one));
  307   EXPECT_EQ(neg_one, neg_one.sdiv(one));
  307   EXPECT_EQ(neg_one, neg_one.sdiv(one));
  308   EXPECT_EQ(one, neg_one.sdiv(neg_one));
  308   EXPECT_EQ(one, neg_one.sdiv(neg_one));
  311   EXPECT_EQ(neg_one, one.udiv(neg_one));
  311   EXPECT_EQ(neg_one, one.udiv(neg_one));
  312   EXPECT_EQ(neg_one, neg_one.udiv(one));
  312   EXPECT_EQ(neg_one, neg_one.udiv(one));
  313   EXPECT_EQ(one, neg_one.udiv(neg_one));
  313   EXPECT_EQ(one, neg_one.udiv(neg_one));
  317   EXPECT_EQ(zero, neg_one.srem(one));
  318   EXPECT_EQ(zero, neg_one.urem(one));
  319   EXPECT_EQ(zero, one.srem(neg_one));