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

References

unittests/ADT/APIntTest.cpp
  576   EXPECT_EQ(A2 & N, N);
  577   EXPECT_EQ(A2 & 0, 0);
  578   EXPECT_EQ(A2 & 1, 1);
  579   EXPECT_EQ(A2 & 5, 1);
  580   EXPECT_EQ(A2 & UINT64_MAX, N);
  582   EXPECT_EQ(A2 | N, A2);
  582   EXPECT_EQ(A2 | N, A2);
  583   EXPECT_EQ(A2 | 0, A2);
  583   EXPECT_EQ(A2 | 0, A2);
  584   EXPECT_EQ(A2 | 1, A2);
  584   EXPECT_EQ(A2 | 1, A2);
  585   EXPECT_EQ(A2 | 2, A2 + 2);
  585   EXPECT_EQ(A2 | 2, A2 + 2);
  586   EXPECT_EQ(A2 | UINT64_MAX, A2 - N + UINT64_MAX);
  586   EXPECT_EQ(A2 | UINT64_MAX, A2 - N + UINT64_MAX);
  588   EXPECT_EQ(A2 ^ N, A2 - N);
  588   EXPECT_EQ(A2 ^ N, A2 - N);
  589   EXPECT_EQ(A2 ^ 0, A2);
  589   EXPECT_EQ(A2 ^ 0, A2);
  590   EXPECT_EQ(A2 ^ 1, A2 - 1);
  590   EXPECT_EQ(A2 ^ 1, A2 - 1);
  591   EXPECT_EQ(A2 ^ 7, A2 + 5);
  591   EXPECT_EQ(A2 ^ 7, A2 + 5);
  592   EXPECT_EQ(A2 ^ UINT64_MAX, A2 - N + ~N);
  592   EXPECT_EQ(A2 ^ UINT64_MAX, A2 - N + ~N);