OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Int8Ty
(Results
1 - 14
of
14
) sorted by null
/external/llvm/unittests/VMCore/
ConstantsTest.cpp
100
IntegerType*
Int8Ty
= Type::getInt8Ty(getGlobalContext());
101
EXPECT_EQ(100, ConstantInt::get(
Int8Ty
, 100, false)->getSExtValue());
102
EXPECT_EQ(100, ConstantInt::get(
Int8Ty
, 100, true)->getSExtValue());
103
EXPECT_EQ(100, ConstantInt::getSigned(
Int8Ty
, 100)->getSExtValue());
104
EXPECT_EQ(-50, ConstantInt::get(
Int8Ty
, 206)->getSExtValue());
105
EXPECT_EQ(-50, ConstantInt::getSigned(
Int8Ty
, -50)->getSExtValue());
106
EXPECT_EQ(206U, ConstantInt::getSigned(
Int8Ty
, -50)->getZExtValue());
109
EXPECT_EQ(0x3b, ConstantInt::get(
Int8Ty
, 0x13b)->getSExtValue());