Home
last modified time | relevance | path

Searched refs:DIE (Results 1 - 25 of 35) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.h21 #include "llvm/CodeGen/DIE.h"
59 DIE *IndexTyDie;
63 DenseMap<const MDNode *, DIE *> MDNodeToDieMap;
72 /// DW_AT_containing_type attribute. This attribute points to a DIE that
73 /// corresponds to the MDNode mapped with the subprogram DIE.
74 DenseMap<DIE *, const DINode *> ContainingTypeMap;
79 bool applySubprogramDefinitionAttributes(const DISubprogram *SP, DIE &SPDie);
106 virtual void addGlobalName(StringRef Name, const DIE &Die,
110 virtual void addGlobalType(const DIType *Ty, const DIE &Die,
113 /// Returns the DIE ma
[all...]
H A DDwarfCompileUnit.h25 #include "llvm/CodeGen/DIE.h"
50 /// The attribute index of DW_AT_stmt_list in the compile unit DIE, avoiding
52 DIE::value_iterator StmtListValue;
69 StringMap<const DIE *> GlobalNames;
72 StringMap<const DIE *> GlobalTypes;
81 DenseMap<const MDNode *, DIE *> AbstractSPDies;
87 /// Construct a DIE for the given DbgVariable without initializing the
88 /// DbgVariable's DIE reference.
89 DIE *constructVariableDIEImpl(const DbgVariable &DV, bool Abstract);
93 DenseMap<const MDNode *, DIE *>
[all...]
H A DDwarfUnit.cpp50 DwarfCompileUnit &CU, DIELoc &DIE) in DIEDwarfExpression()
51 : DwarfExpression(AP.getDwarfVersion(), CU), AP(AP), OutDIE(DIE) {} in DIEDwarfExpression()
189 /// Check whether the DIE for this MDNode can be shared across CUs.
191 // When the MDNode can be part of the type system, the DIE can be shared in isShareableAcrossCUs()
193 // Combining type units and cross-CU DIE sharing is lower value (since in isShareableAcrossCUs()
194 // cross-CU DIE sharing is used in LTO and removes type redundancy at that in isShareableAcrossCUs()
205 DIE *DwarfUnit::getDIE(const DINode *D) const { in getDIE()
211 void DwarfUnit::insertDIE(const DINode *Desc, DIE *D) { in insertDIE()
219 void DwarfUnit::insertDIE(DIE *D) { in insertDIE()
223 void DwarfUnit::addFlag(DIE
49 DIEDwarfExpression(const AsmPrinter &AP, DwarfCompileUnit &CU, DIELoc &DIE) DIEDwarfExpression() argument
[all...]
H A DDIEHash.h17 #include "llvm/CodeGen/DIE.h"
26 /// attributes onto a DIE.
28 // Collection of all attributes used in hashing a particular DIE.
38 uint64_t computeCUSignature(StringRef DWOName, const DIE &Die);
41 uint64_t computeTypeSignature(const DIE &Die);
43 // Helper routines to process parts of a DIE.
46 void addParentContext(const DIE &Parent);
49 void addAttributes(const DIE &Die);
51 /// Computes the full DWARF4 7.27 hash of the DIE.
52 void computeHash(const DIE
[all...]
H A DDIEHash.cpp20 #include "llvm/CodeGen/DIE.h"
32 static StringRef getDIEStringAttr(const DIE &Die, uint16_t Attr) { in getDIEStringAttr()
80 void DIEHash::addParentContext(const DIE &Parent) { in addParentContext()
86 SmallVector<const DIE *, 1> Parents; in addParentContext()
87 const DIE *Cur = &Parent; in addParentContext()
97 for (SmallVectorImpl<const DIE *>::reverse_iterator I = Parents.rbegin(), in addParentContext()
100 const DIE &Die = **I; in addParentContext()
116 // Collect all of the attributes for a particular DIE in single structure.
117 void DIEHash::collectAttributes(const DIE &Die, DIEAttrs &Attrs) { in collectAttributes()
136 const DIE in hashShallowTypeReference()
[all...]
H A DDwarfCompileUnit.cpp25 #include "llvm/CodeGen/DIE.h"
78 void DwarfCompileUnit::addLabelAddress(DIE &Die, dwarf::Attribute Attribute, in addLabelAddress()
94 void DwarfCompileUnit::addLocalLabelAddress(DIE &Die, in addLocalLabelAddress()
122 DIE *DwarfCompileUnit::getOrCreateGlobalVariableDIE( in getOrCreateGlobalVariableDIE()
125 if (DIE *Die = getDIE(GV)) in getOrCreateGlobalVariableDIE()
133 // Construct the context before querying for the existence of the DIE in in getOrCreateGlobalVariableDIE()
134 // case such construction creates the DIE. in getOrCreateGlobalVariableDIE()
136 DIE *ContextDIE = CB ? getOrCreateCommonBlock(CB, GlobalExprs) in getOrCreateGlobalVariableDIE()
140 DIE *VariableDIE = &createAndAddDIE(GV->getTag(), *ContextDIE, GV); in getOrCreateGlobalVariableDIE()
146 // We need the declaration DIE tha in getOrCreateGlobalVariableDIE()
[all...]
H A DDwarfDebug.h53 class DIE;
72 DIE *TheDIE = nullptr;
89 DIE *getDIE() const { return TheDIE; } in getDIE()
93 void setDIE(DIE &D) { TheDIE = &D; } in setDIE()
304 /// Maps a CU DIE with its corresponding DwarfCompileUnit.
305 DenseMap<const DIE *, DwarfCompileUnit *> CUDieMap;
442 /// Construct a DIE for this abstract scope.
447 DIE &ScopeDIE, const MachineFunction &MF);
451 StringRef Name, const DIE &Die);
495 const StringMap<const DIE *>
[all...]
H A DDwarfFile.h16 #include "llvm/CodeGen/DIE.h"
89 DenseMap<const MDNode *, DIE *> AbstractSPDies;
95 DenseMap<const MDNode *, DIE *> DITypeNodeToDieMap;
112 /// Compute the size and offset of a DIE given an incoming Offset.
113 unsigned computeSizeAndOffset(DIE &Die, unsigned Offset);
119 /// \returns The size of the root DIE.
164 DenseMap<const MDNode *, DIE *> &getAbstractSPDies() { in getAbstractSPDies()
172 void insertDIE(const MDNode *TypeMD, DIE *Die) { in insertDIE()
176 DIE *getDIE(const MDNode *TypeMD) { in getDIE()
H A DDIE.cpp1 //===--- lib/CodeGen/DIE.cpp - DWARF Info Entries -------------------------===//
13 #include "llvm/CodeGen/DIE.h"
146 DIEAbbrev &DIEAbbrevSet::uniqueAbbreviation(DIE &Die) { in uniqueAbbreviation()
179 // DIE Implementation
182 DIE *DIE::getParent() const { in getParent()
183 return Owner.dyn_cast<DIE*>(); in getParent()
186 DIEAbbrev DIE::generateAbbrev() const { in generateAbbrev()
197 unsigned DIE::getDebugSectionOffset() const { in getDebugSectionOffset()
199 assert(Unit && "DIE mus in getDebugSectionOffset()
[all...]
H A DDwarfDebug.cpp35 #include "llvm/CodeGen/DIE.h"
457 const DISubprogram *SP, DIE &Die) {
488 /// Check whether we should create a DIE for the given Scope, return true
489 /// if we don't create a DIE (the corresponding DIE is null).
494 // We don't create a DIE if there is no Range.
502 // We don't create a DIE if we have a single Range and the end label
699 DwarfCompileUnit &CU, DIE &ScopeDIE,
792 DIE &CallSiteDIE =
808 void DwarfDebug::addGnuPubAttributes(DwarfCompileUnit &U, DIE
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
H A DDIE.h1 //===- lib/CodeGen/DIE.h - DWARF Info Entries -------------------*- C++ -*-===//
39 class DIE;
131 /// This class will unique the DIE abbreviations for a llvm::DIE object and
148 /// Generate the abbreviation declaration for a DIE and return a pointer to
154 DIEAbbrev &uniqueAbbreviation(DIE &Die);
161 /// An integer value DIE.
200 /// An expression DIE.
217 /// A label DIE.
234 /// A BaseTypeRef DIE
712 class DIE : IntrusiveBackListNode, public DIEValueList { global() class
733 explicit DIE(dwarf::Tag Tag) : Tag(Tag) {} DIE() function in llvm::DIE
[all...]
H A DAccelTable.h21 #include "llvm/CodeGen/DIE.h"
247 /// Apple Data classes, this class is just a DIE wrapper, and does not know to
254 DWARF5AccelTableData(const DIE &Die) : Die(Die) {} in DWARF5AccelTableData()
260 const DIE &getDie() const { return Die; } in getDie()
265 const DIE &Die;
320 /// with just a DIE reference.
323 AppleAccelTableOffsetData(const DIE &D) : Die(D) {} in AppleAccelTableOffsetData()
336 const DIE &Die;
342 AppleAccelTableTypeData(const DIE &D) : AppleAccelTableOffsetData(D) {} in AppleAccelTableTypeData()
357 /// with a DIE offse
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DWARFLinker/
H A DDWARFLinkerCompileUnit.cpp14 /// Check if the DIE at \p Idx is in the scope of a function.
40 auto DIE = OrigUnit.getDIEAtIndex(Idx++); in markEverythingAsKept() local
45 if (DIE.getTag() != dwarf::DW_TAG_variable && in markEverythingAsKept()
46 DIE.getTag() != dwarf::DW_TAG_constant) in markEverythingAsKept()
50 if (!(Value = DIE.find(dwarf::DW_AT_location))) { in markEverythingAsKept()
51 if ((Value = DIE.find(dwarf::DW_AT_const_value)) && in markEverythingAsKept()
75 void CompileUnit::noteForwardReference(DIE *Die, const CompileUnit *RefUnit, in noteForwardReference()
82 DIE *RefDie; in fixupForwardReferences()
109 void CompileUnit::noteRangeAttribute(const DIE &Die, PatchLocation Attr) { in noteRangeAttribute()
120 void CompileUnit::addNamespaceAccelerator(const DIE *Di
[all...]
H A DDWARFLinkerDeclContext.cpp16 /// Set the last DIE/CU a context was seen in and, possibly invalidate the
44 DeclContext &Context, const DWARFDie &DIE, CompileUnit &U, in getChildDeclContext()
46 unsigned Tag = DIE.getTag(); in getChildDeclContext()
64 !dwarf::toUnsigned(DIE.find(dwarf::DW_AT_external), 0)) in getChildDeclContext()
78 if (dwarf::toUnsigned(DIE.find(dwarf::DW_AT_artificial), 0)) in getChildDeclContext()
83 const char *Name = DIE.getName(DINameKind::LinkageName); in getChildDeclContext()
84 const char *ShortName = DIE.getName(DINameKind::ShortName); in getChildDeclContext()
118 ByteSize = dwarf::toUnsigned(DIE.find(dwarf::DW_AT_byte_size), in getChildDeclContext()
122 dwarf::toUnsigned(DIE.find(dwarf::DW_AT_decl_file), 0)) { in getChildDeclContext()
132 Line = dwarf::toUnsigned(DIE in getChildDeclContext()
43 getChildDeclContext( DeclContext &Context, const DWARFDie &DIE, CompileUnit &U, UniquingStringPool &StringPool, bool InClangModule) getChildDeclContext() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DWARFLinker/
H A DDWARFLinkerCompileUnit.h13 #include "llvm/CodeGen/DIE.h"
30 DIE::value_iterator I;
33 PatchLocation(DIE::value_iterator I) : I(I) {} in PatchLocation()
49 /// instance in the object file to its brand new cloned and generated DIE tree.
52 /// Information gathered about a DIE in the object file.
60 /// Cloned version of that DIE.
61 DIE *Clone;
63 /// The index of this DIE's parent.
66 /// Is the DIE part of the linked output?
69 /// Was this DIE'
[all...]
H A DDWARFLinker.h91 /// Emit DIE containing warnings.
92 virtual void emitPaperTrailWarningsDie(const Triple &Triple, DIE &Die) = 0;
180 /// Recursively emit the DIE tree rooted at \p Die.
181 virtual void emitDIE(DIE &Die) = 0;
/third_party/skia/third_party/externals/microhttpd/src/spdy2http/
H A Dproxy.c137 #define DIE(msg) do{\ macro
378 DIE("no memory"); in new_session_cb()
492 DIE("bug in cleanup"); in cleanup()
566 DIE("no response"); in curl_header_cb()
582 //DIE("no queue"); in curl_header_cb()
604 DIE("error on parsing headers"); in curl_header_cb()
606 DIE("No memory"); in curl_header_cb()
612 DIE("No memory"); in curl_header_cb()
621 DIE("No memory"); in curl_header_cb()
632 DIE("N in curl_header_cb()
[all...]
/third_party/nghttp2/src/
H A Dshrpx_tls.cc937 DIE(); in create_ssl_context()
970 DIE(); in create_ssl_context()
987 DIE(); in create_ssl_context()
994 DIE(); in create_ssl_context()
1003 DIE(); in create_ssl_context()
1017 DIE(); in create_ssl_context()
1030 DIE(); in create_ssl_context()
1041 DIE(); in create_ssl_context()
1047 DIE(); in create_ssl_context()
1054 DIE(); in create_ssl_context()
[all...]
H A Dshrpx.h45 #define DIE() nghttp2_Exit(EXIT_FAILURE) macro
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
H A DDWARFVisitor.h40 virtual void onStartDIE(Unit &CU, Entry &DIE) {} in onStartDIE() argument
41 virtual void onEndDIE(Unit &CU, Entry &DIE) {} in onEndDIE() argument
49 virtual void onStartDIE(const Unit &CU, const Entry &DIE) {} in onStartDIE() argument
50 virtual void onEndDIE(const Unit &CU, const Entry &DIE) {} in onEndDIE() argument
H A DDWARFEmitter.cpp154 const DWARFYAML::Entry &DIE) override {
155 encodeULEB128(DIE.AbbrCode, OS);
326 virtual void onStartDIE(DWARFYAML::Unit &CU, DWARFYAML::Entry &DIE) { in onStartDIE() argument
327 Length += getULEB128Size(DIE.AbbrCode); in onStartDIE()
/third_party/skia/third_party/externals/microhttpd/src/examples/
H A Dmhd2spdy.c96 DIE("Regexp compilation failed"); in run_everything()
102 DIE("spdy_parse_uri failed"); in run_everything()
122 DIE("MHD_start_daemon failed"); in run_everything()
308 DIE("default from getopt"); in main()
H A Dmhd2spdy_http.c110 DIE("setsockopt"); in http_cb_response()
264 DIE("parse_uri failed"); in http_cb_request()
272 DIE("no memory"); in http_cb_request()
305 DIE("no response"); in http_cb_request()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
H A DDWARFVerifier.cpp180 error() << "Compilation unit without DIE.\n"; in verifyUnitContents()
186 error() << "Compilation unit root DIE is not a unit DIE: " in verifyUnitContents()
194 << ") and root DIE (" << dwarf::TagString(Die.getTag()) in verifyUnitContents()
378 // Build RI for this DIE and check that ranges within this DIE do not in verifyDieRanges()
413 error() << "DIE has overlapping address ranges: " << Range << " and " in verifyDieRanges()
435 error() << "DIE address ranges are not contained in its parent's ranges:"; in verifyDieRanges()
466 ReportError("DIE has invalid DW_AT_ranges encoding:"); in verifyDebugInfoAttribute()
476 ReportError("DIE ha in verifyDebugInfoAttribute()
1180 getNames(const DWARFDie &DIE, bool IncludeLinkageName = true) getNames() argument
1231 DWARFDie DIE = DCtx.getDIEForOffset(DIEOffset); verifyNameIndexEntries() local
[all...]
H A DDWARFContext.cpp155 // the CU DIE's DW_AT_str_offsets attribute). The header is located either in dumpDWARFv5StringOffsetsSection()
955 DWARFDie DIE = Worklist.back(); in getDIEsForAddress() local
958 if (!DIE.isValid()) in getDIEsForAddress()
961 if (DIE.getTag() == DW_TAG_lexical_block && in getDIEsForAddress()
962 DIE.addressRangeContainsAddress(Address)) { in getDIEsForAddress()
963 Result.BlockDIE = DIE; in getDIEsForAddress()
967 for (auto Child : DIE) in getDIEsForAddress()
989 const DWARFDie &DIE = InlinedChain[0]; in getFunctionNameAndStartLineForAddress() local
992 if (Kind != FunctionNameKind::None && (Name = DIE.getSubroutineName(Kind))) { in getFunctionNameAndStartLineForAddress()
996 if (auto DeclLineResult = DIE in getFunctionNameAndStartLineForAddress()
[all...]

Completed in 20 milliseconds

12