Searched refs:getAsSignedConstant (Results 1 – 4 of 4) sorted by relevance
/external/llvm/unittests/DebugInfo/DWARF/ |
D | DWARFFormValueTest.cpp | 93 EXPECT_EQ(Sign1.getAsSignedConstant().getValue(), -123); in TEST() 94 EXPECT_EQ(Sign2.getAsSignedConstant().getValue(), -12345); in TEST() 95 EXPECT_EQ(Sign4.getAsSignedConstant().getValue(), -123456789); in TEST() 96 EXPECT_EQ(Sign8.getAsSignedConstant().getValue(), -1); in TEST() 102 EXPECT_EQ(UMax.getAsSignedConstant().getValue(), LLONG_MAX); in TEST() 103 EXPECT_EQ(TooBig.getAsSignedConstant().hasValue(), false); in TEST() 114 EXPECT_EQ(Data1.getAsSignedConstant().getValue(), 120); in TEST() 115 EXPECT_EQ(Data2.getAsSignedConstant().getValue(), 32000); in TEST() 116 EXPECT_EQ(Data4.getAsSignedConstant().getValue(), 2000000000); in TEST() 117 EXPECT_EQ(Data8.getAsSignedConstant().getValue(), 0x1234567812345678LL); in TEST() [all …]
|
/external/llvm/include/llvm/DebugInfo/DWARF/ |
D | DWARFFormValue.h | 77 Optional<int64_t> getAsSignedConstant() const;
|
/external/llvm/lib/DebugInfo/DWARF/ |
D | DWARFFormValue.cpp | 572 Optional<int64_t> DWARFFormValue::getAsSignedConstant() const { in getAsSignedConstant() function in DWARFFormValue
|
/external/llvm/tools/dsymutil/ |
D | DwarfLinker.cpp | 2471 Value = *Val.getAsSignedConstant(); in cloneScalarAttribute()
|