Home
last modified time | relevance | path

Searched refs:getAsSignedConstant (Results 1 – 9 of 9) sorted by relevance

/external/llvm/unittests/DebugInfo/DWARF/
DDWARFFormValueTest.cpp94 EXPECT_EQ(Sign1.getAsSignedConstant().getValue(), -123); in TEST()
95 EXPECT_EQ(Sign2.getAsSignedConstant().getValue(), -12345); in TEST()
96 EXPECT_EQ(Sign4.getAsSignedConstant().getValue(), -123456789); in TEST()
97 EXPECT_EQ(Sign8.getAsSignedConstant().getValue(), -1); in TEST()
103 EXPECT_EQ(UMax.getAsSignedConstant().getValue(), LLONG_MAX); in TEST()
104 EXPECT_EQ(TooBig.getAsSignedConstant().hasValue(), false); in TEST()
115 EXPECT_EQ(Data1.getAsSignedConstant().getValue(), 120); in TEST()
116 EXPECT_EQ(Data2.getAsSignedConstant().getValue(), 32000); in TEST()
117 EXPECT_EQ(Data4.getAsSignedConstant().getValue(), 2000000000); in TEST()
118 EXPECT_EQ(Data8.getAsSignedConstant().getValue(), 0x1234567812345678LL); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/DWARF/
DDWARFFormValueTest.cpp81 EXPECT_EQ(Sign1.getAsSignedConstant().getValue(), -123); in TEST()
82 EXPECT_EQ(Sign2.getAsSignedConstant().getValue(), -12345); in TEST()
83 EXPECT_EQ(Sign4.getAsSignedConstant().getValue(), -123456789); in TEST()
84 EXPECT_EQ(Sign8.getAsSignedConstant().getValue(), -1); in TEST()
90 EXPECT_EQ(UMax.getAsSignedConstant().getValue(), LLONG_MAX); in TEST()
91 EXPECT_EQ(TooBig.getAsSignedConstant().hasValue(), false); in TEST()
102 EXPECT_EQ(Data1.getAsSignedConstant().getValue(), 120); in TEST()
103 EXPECT_EQ(Data2.getAsSignedConstant().getValue(), 32000); in TEST()
104 EXPECT_EQ(Data4.getAsSignedConstant().getValue(), 2000000000); in TEST()
105 EXPECT_EQ(Data8.getAsSignedConstant().getValue(), 0x1234567812345678LL); in TEST()
[all …]
DDWARFDebugInfoTest.cpp1691 const auto V = FormValue->getAsSignedConstant(); in TEST()
1734 const auto V = FormValue->getAsSignedConstant(); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFFormValue.h101 Optional<int64_t> getAsSignedConstant() const;
216 return V->getAsSignedConstant(); in toSigned()
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFFormValue.h77 Optional<int64_t> getAsSignedConstant() const;
/external/llvm/lib/DebugInfo/DWARF/
DDWARFFormValue.cpp572 Optional<int64_t> DWARFFormValue::getAsSignedConstant() const { in getAsSignedConstant() function in DWARFFormValue
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/
DDWARFFormValue.cpp603 Optional<int64_t> DWARFFormValue::getAsSignedConstant() const { in getAsSignedConstant() function in DWARFFormValue
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DDwarfLinker.cpp1114 else if (auto OptionalValue = Val.getAsSignedConstant()) in cloneScalarAttribute()
1140 Value = *Val.getAsSignedConstant(); in cloneScalarAttribute()
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp2528 Value = *Val.getAsSignedConstant(); in cloneScalarAttribute()