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

References

unittests/ADT/APIntTest.cpp
  227   EXPECT_EQ(0u, zero.getZExtValue());
  234   EXPECT_EQ(zero, two);
  235   EXPECT_EQ(zero, neg_two);
  240   EXPECT_TRUE(zero.isMaxSignedValue());
  242   EXPECT_FALSE(zero.isMinSignedValue());
  247   EXPECT_EQ(zero, neg_one + one);
  253   EXPECT_EQ(zero, one - one);
  256   EXPECT_EQ(zero, zero & zero);
  256   EXPECT_EQ(zero, zero & zero);
  256   EXPECT_EQ(zero, zero & zero);
  257   EXPECT_EQ(zero, one & zero);
  257   EXPECT_EQ(zero, one & zero);
  258   EXPECT_EQ(zero, zero & one);
  258   EXPECT_EQ(zero, zero & one);
  260   EXPECT_EQ(zero, zero & zero);
  260   EXPECT_EQ(zero, zero & zero);
  260   EXPECT_EQ(zero, zero & zero);
  261   EXPECT_EQ(zero, neg_one & zero);
  261   EXPECT_EQ(zero, neg_one & zero);
  262   EXPECT_EQ(zero, zero & neg_one);
  262   EXPECT_EQ(zero, zero & neg_one);
  266   EXPECT_EQ(zero, zero | zero);
  266   EXPECT_EQ(zero, zero | zero);
  266   EXPECT_EQ(zero, zero | zero);
  267   EXPECT_EQ(one, one | zero);
  268   EXPECT_EQ(one, zero | one);
  270   EXPECT_EQ(zero, zero | zero);
  270   EXPECT_EQ(zero, zero | zero);
  270   EXPECT_EQ(zero, zero | zero);
  271   EXPECT_EQ(neg_one, neg_one | zero);
  272   EXPECT_EQ(neg_one, zero | neg_one);
  276   EXPECT_EQ(zero, zero ^ zero);
  276   EXPECT_EQ(zero, zero ^ zero);
  276   EXPECT_EQ(zero, zero ^ zero);
  277   EXPECT_EQ(one, one ^ zero);
  278   EXPECT_EQ(one, zero ^ one);
  279   EXPECT_EQ(zero, one ^ one);
  280   EXPECT_EQ(zero, zero ^ zero);
  280   EXPECT_EQ(zero, zero ^ zero);
  280   EXPECT_EQ(zero, zero ^ zero);
  281   EXPECT_EQ(neg_one, neg_one ^ zero);
  282   EXPECT_EQ(neg_one, zero ^ neg_one);
  283   EXPECT_EQ(zero, neg_one ^ neg_one);
  286   EXPECT_EQ(zero, one << one);
  287   EXPECT_EQ(one, one << zero);
  288   EXPECT_EQ(zero, one.shl(1));
  290   EXPECT_EQ(zero, one.lshr(1));
  317   EXPECT_EQ(zero, neg_one.srem(one));
  318   EXPECT_EQ(zero, neg_one.urem(one));
  319   EXPECT_EQ(zero, one.srem(neg_one));