/external/llvm/unittests/DebugInfo/DWARF/ |
D | DWARFFormValueTest.cpp | 36 bool isFormClass(uint16_t Form, DWARFFormValue::FormClass FC) { in isFormClass() function 37 return DWARFFormValue(Form).isFormClass(FC); in isFormClass() 41 EXPECT_TRUE(isFormClass(DW_FORM_addr, DWARFFormValue::FC_Address)); in TEST() 42 EXPECT_FALSE(isFormClass(DW_FORM_data8, DWARFFormValue::FC_Address)); in TEST() 43 EXPECT_TRUE(isFormClass(DW_FORM_data8, DWARFFormValue::FC_Constant)); in TEST() 44 EXPECT_TRUE(isFormClass(DW_FORM_data8, DWARFFormValue::FC_SectionOffset)); in TEST() 46 isFormClass(DW_FORM_sec_offset, DWARFFormValue::FC_SectionOffset)); in TEST() 47 EXPECT_TRUE(isFormClass(DW_FORM_GNU_str_index, DWARFFormValue::FC_String)); in TEST() 48 EXPECT_TRUE(isFormClass(DW_FORM_GNU_addr_index, DWARFFormValue::FC_Address)); in TEST() 49 EXPECT_FALSE(isFormClass(DW_FORM_ref_addr, DWARFFormValue::FC_Address)); in TEST() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/ |
D | DWARFFormValue.cpp | 206 bool DWARFFormValue::isFormClass(DWARFFormValue::FormClass FC) const { in isFormClass() function in DWARFFormValue 591 if (!isFormClass(FC_String)) in getAsCString() 635 if (!isFormClass(FC_Address)) in getAsSectionedAddress() 656 if (!isFormClass(FC_Reference)) in getAsRelativeReference() 677 if (!isFormClass(FC_SectionOffset)) in getAsSectionOffset() 683 if ((!isFormClass(FC_Constant) && !isFormClass(FC_Flag)) || in getAsUnsignedConstant() 690 if ((!isFormClass(FC_Constant) && !isFormClass(FC_Flag)) || in getAsSignedConstant() 709 if (!isFormClass(FC_Block) && !isFormClass(FC_Exprloc) && in getAsBlock() 716 if (!isFormClass(FC_String) && Form == DW_FORM_string) in getAsCStringOffset() 722 if (!isFormClass(FC_Reference)) in getAsReferenceUVal()
|
D | DWARFDie.cpp | 77 if (FormValue.isFormClass(DWARFFormValue::FC_Block) || in dumpLocation() 78 FormValue.isFormClass(DWARFFormValue::FC_Exprloc)) { in dumpLocation() 87 if (FormValue.isFormClass(DWARFFormValue::FC_SectionOffset)) { in dumpLocation()
|
D | DWARFAcceleratorTable.cpp | 102 if ((!FormValue.isFormClass(DWARFFormValue::FC_Constant) && in validateForms() 103 !FormValue.isFormClass(DWARFFormValue::FC_Flag)) || in validateForms()
|
D | DWARFVerifier.cpp | 1124 if (!DWARFFormValue(AttrEnc.Form).isFormClass(Iter->Class)) { in verifyNameIndexAttribute()
|
/external/llvm-project/llvm/lib/DebugInfo/DWARF/ |
D | DWARFFormValue.cpp | 206 bool DWARFFormValue::isFormClass(DWARFFormValue::FormClass FC) const { in isFormClass() function in DWARFFormValue 593 if (!isFormClass(FC_String)) in getAsCString() 637 if (!isFormClass(FC_Address)) in getAsSectionedAddress() 658 if (!isFormClass(FC_Reference)) in getAsRelativeReference() 679 if (!isFormClass(FC_SectionOffset)) in getAsSectionOffset() 685 if ((!isFormClass(FC_Constant) && !isFormClass(FC_Flag)) || in getAsUnsignedConstant() 692 if ((!isFormClass(FC_Constant) && !isFormClass(FC_Flag)) || in getAsSignedConstant() 711 if (!isFormClass(FC_Block) && !isFormClass(FC_Exprloc) && in getAsBlock() 718 if (!isFormClass(FC_String) && Form == DW_FORM_string) in getAsCStringOffset() 724 if (!isFormClass(FC_Reference)) in getAsReferenceUVal()
|
D | DWARFDie.cpp | 77 if (FormValue.isFormClass(DWARFFormValue::FC_Block) || in dumpLocation() 78 FormValue.isFormClass(DWARFFormValue::FC_Exprloc)) { in dumpLocation() 87 if (FormValue.isFormClass(DWARFFormValue::FC_SectionOffset)) { in dumpLocation()
|
D | DWARFAcceleratorTable.cpp | 102 if ((!FormValue.isFormClass(DWARFFormValue::FC_Constant) && in validateForms() 103 !FormValue.isFormClass(DWARFFormValue::FC_Flag)) || in validateForms()
|
D | DWARFVerifier.cpp | 1181 if (!DWARFFormValue(AttrEnc.Form).isFormClass(Iter->Class)) { in verifyNameIndexAttribute()
|
/external/llvm/lib/DebugInfo/DWARF/ |
D | DWARFFormValue.cpp | 111 bool DWARFFormValue::isFormClass(DWARFFormValue::FormClass FC) const { in isFormClass() function in DWARFFormValue 506 if (!isFormClass(FC_String)) in getAsCString() 527 if (!isFormClass(FC_Address)) in getAsAddress() 540 if (!isFormClass(FC_Reference)) in getAsReference() 560 if (!isFormClass(FC_SectionOffset)) in getAsSectionOffset() 566 if ((!isFormClass(FC_Constant) && !isFormClass(FC_Flag)) in getAsUnsignedConstant() 573 if ((!isFormClass(FC_Constant) && !isFormClass(FC_Flag)) || in getAsSignedConstant() 591 if (!isFormClass(FC_Block) && !isFormClass(FC_Exprloc)) in getAsBlock()
|
/external/llvm-project/llvm/unittests/DebugInfo/DWARF/ |
D | DWARFFormValueTest.cpp | 23 bool isFormClass(dwarf::Form Form, DWARFFormValue::FormClass FC) { in isFormClass() function 24 return DWARFFormValue(Form).isFormClass(FC); in isFormClass() 28 EXPECT_TRUE(isFormClass(DW_FORM_addr, DWARFFormValue::FC_Address)); in TEST() 29 EXPECT_FALSE(isFormClass(DW_FORM_data8, DWARFFormValue::FC_Address)); in TEST() 30 EXPECT_TRUE(isFormClass(DW_FORM_data8, DWARFFormValue::FC_Constant)); in TEST() 31 EXPECT_TRUE(isFormClass(DW_FORM_data8, DWARFFormValue::FC_SectionOffset)); in TEST() 33 isFormClass(DW_FORM_sec_offset, DWARFFormValue::FC_SectionOffset)); in TEST() 34 EXPECT_TRUE(isFormClass(DW_FORM_GNU_str_index, DWARFFormValue::FC_String)); in TEST() 35 EXPECT_TRUE(isFormClass(DW_FORM_GNU_addr_index, DWARFFormValue::FC_Address)); in TEST() 36 EXPECT_FALSE(isFormClass(DW_FORM_ref_addr, DWARFFormValue::FC_Address)); in TEST() [all …]
|
/external/llvm/include/llvm/DebugInfo/DWARF/ |
D | DWARFFormValue.h | 57 bool isFormClass(FormClass FC) const;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/ |
D | DWARFFormValue.h | 78 bool isFormClass(FormClass FC) const;
|
/external/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
D | DWARFFormValue.h | 80 bool isFormClass(FormClass FC) const;
|
/external/llvm-project/llvm/lib/DWARFLinker/ |
D | DWARFLinker.cpp | 71 assert(RefValue.isFormClass(DWARFFormValue::FC_Reference)); in resolveDIEReference() 677 if (!Val.isFormClass(DWARFFormValue::FC_Reference) || in lookForRefDIEsToKeep() 1073 (Val.isFormClass(DWARFFormValue::FC_Block) || in cloneBlockAttribute() 1074 Val.isFormClass(DWARFFormValue::FC_Exprloc))) { in cloneBlockAttribute() 1338 !DWARFFormValue(AttrSpec.Form).isFormClass(DWARFFormValue::FC_Block); in shouldSkipAttribute() 1972 if (!Ref->isFormClass(DWARFFormValue::FC_Reference)) in hashFullyQualifiedName()
|
/external/llvm/tools/dsymutil/ |
D | DwarfLinker.cpp | 1488 assert(RefValue.isFormClass(DWARFFormValue::FC_Reference)); in resolveDIEReference() 2157 if (HighPcValue.isFormClass(DWARFFormValue::FC_Address)) { in shouldKeepSubprogramDIE() 2160 assert(HighPcValue.isFormClass(DWARFFormValue::FC_Constant)); in shouldKeepSubprogramDIE() 2229 if (!Val.isFormClass(DWARFFormValue::FC_Reference)) { in keepDIEAndDependencies() 2701 !DWARFFormValue(AttrSpec.Form).isFormClass(DWARFFormValue::FC_Block); in shouldSkipAttribute()
|