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

References

unittests/IR/ConstantsTest.cpp
  108   EXPECT_EQ(100, ConstantInt::get(Int8Ty, 100, false)->getSExtValue());
  109   EXPECT_EQ(100, ConstantInt::get(Int8Ty, 100, true)->getSExtValue());
  110   EXPECT_EQ(100, ConstantInt::getSigned(Int8Ty, 100)->getSExtValue());
  111   EXPECT_EQ(-50, ConstantInt::get(Int8Ty, 206)->getSExtValue());
  112   EXPECT_EQ(-50, ConstantInt::getSigned(Int8Ty, -50)->getSExtValue());
  113   EXPECT_EQ(206U, ConstantInt::getSigned(Int8Ty, -50)->getZExtValue());
  116   EXPECT_EQ(0x3b, ConstantInt::get(Int8Ty, 0x13b)->getSExtValue());