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

References

unittests/IR/ConstantsTest.cpp
   29   EXPECT_EQ(NegOne, ConstantInt::getSigned(Int1, -1));
   38   EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, One));
   42   EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, NegOne));
   42   EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, NegOne));
   46   EXPECT_EQ(Zero, ConstantExpr::getSub(NegOne, One));
   50   EXPECT_EQ(Zero, ConstantExpr::getSub(One, NegOne));
   74   EXPECT_EQ(One, ConstantExpr::getMul(NegOne, One));
   78   EXPECT_EQ(One, ConstantExpr::getSDiv(NegOne, One));
   82   EXPECT_EQ(One, ConstantExpr::getSDiv(One, NegOne));
   86   EXPECT_EQ(One, ConstantExpr::getUDiv(NegOne, One));
   90   EXPECT_EQ(One, ConstantExpr::getUDiv(One, NegOne));
   94   EXPECT_EQ(Zero, ConstantExpr::getSRem(NegOne, One));
   98   EXPECT_EQ(Zero, ConstantExpr::getURem(NegOne, One));
  102   EXPECT_EQ(Zero, ConstantExpr::getSRem(One, NegOne));