Home
last modified time | relevance | path

Searched refs:getForm (Results 1 – 20 of 20) sorted by relevance

/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDIE.cpp79 if (!dwarf::isValidFormForVersion(AttrData.getForm(), in Emit()
81 LLVM_DEBUG(dbgs() << "Invalid form " << format("0x%x", AttrData.getForm()) in Emit()
87 AP->emitULEB128(AttrData.getForm(), in Emit()
88 dwarf::FormEncodingString(AttrData.getForm()).data()); in Emit()
91 if (AttrData.getForm() == dwarf::DW_FORM_implicit_const) in Emit()
112 << dwarf::FormEncodingString(D.getForm()); in print()
114 if (D.getForm() == dwarf::DW_FORM_implicit_const) in print()
177 if (V.getForm() == dwarf::DW_FORM_implicit_const) in generateAbbrev()
181 Abbrev.AddAttribute(V.getAttribute(), V.getForm()); in generateAbbrev()
229 O << " " << dwarf::FormEncodingString(V.getForm()) << " "; in printValues()
[all …]
H A DAsmPrinterDwarf.cpp281 assert(V.getForm() && "Too many attributes for DIE (check abbreviation)"); in emitDwarfDIE()
H A DDIEHash.cpp271 switch (Value.getForm()) { in hashAttribute()
/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDebugLineSectionEmitter.h137 Section.emitString(Include.getForm(), *IncludeStr); in emitLineTablePrologueV2IncludeAndFileTable()
152 Section.emitString(File.Name.getForm(), *FileNameStr); in emitLineTablePrologueV2IncludeAndFileTable()
180 encodeULEB128(P.IncludeDirectories[0].getForm(), Section.OS); in emitLineTablePrologueV5IncludeAndFileTable()
193 Section.emitString(Include.getForm(), *IncludeStr); in emitLineTablePrologueV5IncludeAndFileTable()
206 FileNameForm = P.FileNames[0].Name.getForm(); in emitLineTablePrologueV5IncludeAndFileTable()
207 LLVMSourceForm = P.FileNames[0].Source.getForm(); in emitLineTablePrologueV5IncludeAndFileTable()
H A DDWARFLinkerUnit.cpp78 encodeULEB128(AttrData.getForm(), AbbrevSection.OS); in emitDwarfAbbrevEntry()
81 if (AttrData.getForm() == dwarf::DW_FORM_implicit_const) in emitDwarfAbbrevEntry()
/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDie.cpp79 if (FormValue.getForm() == DW_FORM_loclistx) { in dumpLocationList()
120 dwarf::Form Form = AttrValue.Value.getForm(); in dumpAttribute()
213 if (FormValue.getForm() == DW_FORM_rnglistx) in dumpAttribute()
396 if (Value->getForm() == DW_FORM_rnglistx) in addressRangeContainsAddress()
435 if (Location->getForm() == DW_FORM_loclistx) { in getLocations()
453 dwarf::FormEncodingString(Location->getForm()).data()); in getName()
H A DDWARFAcceleratorTable.cpp116 FormValue.getForm() == dwarf::DW_FORM_sdata) in validateForms()
163 switch (Value->getForm()) { in extractOffset()
699 if (ParentEntryOff->getForm() == dwarf::Form::DW_FORM_flag_present) in getParentDIEEntry()
H A DDWARFVerifier.cpp840 const auto Form = AttrValue.Value.getForm(); in verifyDebugInfoForm()
/llvm-project/bolt/lib/Core/
H A DDebugNames.cpp123 if (!(doesFormBelongToClass(LocAttrInfo.getForm(), DWARFFormValue::FC_Exprloc, in shouldIncludeVariable()
125 doesFormBelongToClass(LocAttrInfo.getForm(), DWARFFormValue::FC_Block, in shouldIncludeVariable()
134 if (doesFormBelongToClass(LocAttrInfo.getForm(), DWARFFormValue::FC_Exprloc, in shouldIncludeVariable()
245 if ((!ValName || ValName.getForm() == dwarf::DW_FORM_string) && in addAccelTableEntry()
252 if (ValName.getForm() != dwarf::DW_FORM_strp) in addAccelTableEntry()
333 if (Value.getForm() == dwarf::DW_FORM_ref_addr) { in addAccelTableEntry()
/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVDWARFReader.cpp268 switch (FormValue.getForm()) { in processOneAttribute()
330 if (FormValue.getForm() == dwarf::DW_FORM_sdata) { in processOneAttribute()
461 if (FormValue.getForm() == dwarf::DW_FORM_rnglistx) in processOneAttribute()
1024 if (FormValue.getForm() == dwarf::DW_FORM_loclistx) { in processLocationList()
1104 if (FormValue.getForm() == dwarf::DW_FORM_ref_addr) { in updateReference()
/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFStreamer.cpp909 MS->emitULEB128IntValue(P.IncludeDirectories[0].getForm()); in emitLineTablePrologueV5IncludeAndFileTable()
931 auto StrForm = P.FileNames[0].Name.getForm(); in emitLineTablePrologueV5IncludeAndFileTable()
977 switch (String.getForm()) { in emitLineTableString()
987 String.getForm() == dwarf::DW_FORM_strp in emitLineTableString()
1319 V = DIEValue(V.getAttribute(), V.getForm(), DIEInteger(OutOffset)); in emitMacroTableImpl()
1323 V = DIEValue(V.getAttribute(), V.getForm(), DIEInteger(OutOffset)); in emitMacroTableImpl()
H A DDWARFLinker.cpp2057 V = DIEValue(V.getAttribute(), V.getForm(), Offset); in insertLineSequence()
2119 V = DIEValue(V.getAttribute(), V.getForm(), Offset); in generateLineTableForUnit()
/llvm-project/clang/include/clang/Basic/
H A DAttributeCommonInfo.h181 Form getForm() const { in getLoc()
175 Form getForm() const { getForm() function
/llvm-project/llvm/include/llvm/DWARFLinker/Classic/
H A DDWARFLinkerCompileUnit.h49 *I = DIEValue(Old.getAttribute(), Old.getForm(), DIEInteger(New)); in set()
/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFFormValue.h80 dwarf::Form getForm() const { return Form; } in getForm() function
/llvm-project/llvm/include/llvm/CodeGen/
H A DDIE.h68 dwarf::Form getForm() const { return Form; } in getForm() function
496 dwarf::Form getForm() const { return Form; } in getForm() function
/llvm-project/llvm/tools/obj2yaml/
H A Ddwarf2yaml.cpp261 auto Form = FormValue->getForm(); in dumpDebugInfo()
/llvm-project/llvm/unittests/DebugInfo/DWARF/
H A DDWARFDebugLineTest.cpp181 ASSERT_EQ(Prologue.IncludeDirectories[0].getForm(), DW_FORM_string); in checkDefaultPrologue()
184 ASSERT_EQ(Prologue.FileNames[0].Name.getForm(), DW_FORM_string); in checkDefaultPrologue()
H A DDWARFDebugInfoTest.cpp1991 EXPECT_EQ(FormValue->getForm(), dwarf::DW_FORM_implicit_const);
/llvm-project/clang/lib/AST/
H A DASTImporter.cpp9294 FromAttr->getParsedKind(), FromAttr->getForm()); in Import()