Searched refs:toReference (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/DWARF/ |
D | DWARFDebugInfoTest.cpp | 337 EXPECT_EQ(RefAddr, toReference(DieDG.find(Attr_DW_FORM_ref_addr), 0)); in TestAllForms() 338 EXPECT_EQ(Data1, toReference(DieDG.find(Attr_DW_FORM_ref1), 0)); in TestAllForms() 339 EXPECT_EQ(Data2, toReference(DieDG.find(Attr_DW_FORM_ref2), 0)); in TestAllForms() 340 EXPECT_EQ(Data4, toReference(DieDG.find(Attr_DW_FORM_ref4), 0)); in TestAllForms() 341 EXPECT_EQ(Data8, toReference(DieDG.find(Attr_DW_FORM_ref8), 0)); in TestAllForms() 343 EXPECT_EQ(Data8_2, toReference(DieDG.find(Attr_DW_FORM_ref_sig8), 0)); in TestAllForms() 345 EXPECT_EQ(UData[0], toReference(DieDG.find(Attr_DW_FORM_ref_udata), 0)); in TestAllForms() 373 toReference(DieDG.find(Attr_DW_FORM_GNU_ref_alt), 0)); in TestAllForms() 703 toReference(CU1Ref1DieDG.find(DW_AT_type), -1ULL)); in TestReferences() 710 toReference(CU1Ref2DieDG.find(DW_AT_type), -1ULL)); in TestReferences() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/DWARF/ |
D | DWARFFormValue.h | 192 inline Optional<uint64_t> toReference(const Optional<DWARFFormValue> &V) { in toReference() function 204 inline uint64_t toReference(const Optional<DWARFFormValue> &V, in toReference() function 206 return toReference(V).getValueOr(Default); in toReference()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/ |
D | DWARFDie.cpp | 352 if (auto SpecRef = toReference(find(Attr))) { in getAttributeValueAsReferencedDie()
|