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

References

lib/Analysis/ValueTracking.cpp
 2521           if ((Known.Zero | 1).isAllOnesValue())
 2545           if ((Known.Zero | 1).isAllOnesValue())
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 9673   return (Known.Zero | 1).isAllOnesValue();
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 3687         if ((Known.Zero | 1).isAllOnesValue())
 3710         if ((Known.Zero | 1).isAllOnesValue())
lib/Transforms/InstCombine/InstCombineCasts.cpp
  748       APInt MaskC = APInt(SrcTy->getScalarSizeInBits(), 1).shl(*C) | 1;
unittests/ADT/APIntTest.cpp
  554   EXPECT_EQ(A1 | E1, E1);
  555   EXPECT_EQ(A1 | 0, E1);
  556   EXPECT_EQ(A1 | 1, E1);
  557   EXPECT_EQ(A1 | 2, E1 | 2);
  558   EXPECT_EQ(A1 | UINT64_MAX, UINT64_MAX);
  582   EXPECT_EQ(A2 | N, A2);
  583   EXPECT_EQ(A2 | 0, A2);
  584   EXPECT_EQ(A2 | 1, A2);
  585   EXPECT_EQ(A2 | 2, A2 + 2);
  586   EXPECT_EQ(A2 | UINT64_MAX, A2 - N + UINT64_MAX);
  833     APInt OrLK = Ten | 0xc;
  840     APInt OrRK = getRValue("A", RawDataL) | 0xc;