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

123

/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.h17 #include "DIE.h"
41 const OwningPtr<DIE> CUDie;
49 DIE *IndexTyDie;
53 DenseMap<const MDNode *, DIE *> MDNodeToDieMap;
61 StringMap<DIE*> Globals;
65 StringMap<DIE*> GlobalTypes;
71 /// need DW_AT_containing_type attribute. This attribute points to a DIE that
72 /// corresponds to the MDNode mapped with the subprogram DIE.
73 DenseMap<DIE *, const MDNode *> ContainingTypeMap;
76 CompileUnit(unsigned I, DIE *
[all...]
H A DDwarfCompileUnit.cpp33 CompileUnit::CompileUnit(unsigned I, DIE *D, AsmPrinter *A, DwarfDebug *DW)
46 DIEEntry *CompileUnit::createDIEEntry(DIE *Entry) {
53 void CompileUnit::addUInt(DIE *Die, unsigned Attribute,
63 void CompileUnit::addSInt(DIE *Die, unsigned Attribute,
72 void CompileUnit::addString(DIE *Die, unsigned Attribute, unsigned Form,
80 void CompileUnit::addLabel(DIE *Die, unsigned Attribute, unsigned Form,
88 void CompileUnit::addDelta(DIE *Die, unsigned Attribute, unsigned Form,
94 /// addDIEEntry - Add a DIE attribute data and value.
96 void CompileUnit::addDIEEntry(DIE *Die, unsigned Attribute, unsigned Form,
97 DIE *Entr
[all...]
H A DDwarfDebug.h21 #include "DIE.h"
40 class DIE;
103 /// labels are referenced is used to find debug_loc offset for a given DIE.
126 DIE *TheDIE; // Variable DIE.
139 void setDIE(DIE *D) { TheDIE = D; }
140 DIE *getDIE() const { return TheDIE; }
231 DenseMap<const MDNode *, DIE *> AbstractSPDies;
244 SmallPtrSet<DIE *, 4> InlinedSubprogramDIEs;
248 typedef std::pair<const MCSymbol *, DIE *> InlineInfoLabel
[all...]
H A DDIE.h1 //===--- lib/CodeGen/DIE.h - DWARF Info Entries -----------------*- C++ -*-===//
110 /// DIE - A structured debug information entry. Has an abbreviation which
114 class DIE { class in namespace:llvm
130 std::vector<DIE *> Children;
132 DIE *Parent;
141 explicit DIE(unsigned Tag) function in class:llvm::DIE
144 virtual ~DIE();
152 const std::vector<DIE *> &getChildren() const { return Children; }
154 DIE *getParent() const { return Parent; }
159 /// addValue - Add a value and attributes to a DIE
[all...]
/external/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.h22 #include "llvm/CodeGen/DIE.h"
77 DIE &UnitDie;
87 DIE *IndexTyDie;
91 DenseMap<const MDNode *, DIE *> MDNodeToDieMap;
100 /// DW_AT_containing_type attribute. This attribute points to a DIE that
101 /// corresponds to the MDNode mapped with the subprogram DIE.
102 DenseMap<DIE *, const DINode *> ContainingTypeMap;
110 bool applySubprogramDefinitionAttributes(const DISubprogram *SP, DIE &SPDie);
126 DIE &getUnitDie() { return UnitDie; }
141 virtual void addGlobalName(StringRef Name, DIE
[all...]
H A DDwarfCompileUnit.h25 class DIE;
38 /// The attribute index of DW_AT_stmt_list in the compile unit DIE, avoiding
40 DIE::value_iterator StmtListValue;
58 StringMap<const DIE *> GlobalNames;
61 StringMap<const DIE *> GlobalTypes;
74 /// \brief Construct a DIE for the given DbgVariable without initializing the
75 /// DbgVariable's DIE reference.
76 DIE *constructVariableDIEImpl(const DbgVariable &DV, bool Abstract);
96 /// Apply the DW_AT_stmt_list from this compile unit to the specified DIE.
97 void applyStmtList(DIE
[all...]
H A DDIEHash.h18 #include "llvm/CodeGen/DIE.h"
27 /// attributes onto a DIE.
29 // Collection of all attributes used in hashing a particular DIE.
88 uint64_t computeCUSignature(const DIE &Die);
91 uint64_t computeTypeSignature(const DIE &Die);
93 // Helper routines to process parts of a DIE.
96 void addParentContext(const DIE &Die);
99 void addAttributes(const DIE &Die);
101 /// \brief Computes the full DWARF4 7.27 hash of the DIE.
102 void computeHash(const DIE
[all...]
H A DDwarfFile.h31 class DIE;
58 DenseMap<const MDNode *, DIE *> AbstractSPDies;
63 DenseMap<const MDNode *, DIE *> DITypeNodeToDieMap;
74 /// \brief Compute the size and offset of a DIE given an incoming Offset.
75 unsigned computeSizeAndOffset(DIE &Die, unsigned Offset);
81 /// \returns The size of the root DIE.
88 DIEAbbrev &assignAbbrevNumber(DIE &Die);
116 DenseMap<const MDNode *, DIE *> &getAbstractSPDies() {
120 void insertDIE(const MDNode *TypeMD, DIE *Die) {
123 DIE *getDI
[all...]
H A DDwarfCompileUnit.cpp31 void DwarfCompileUnit::addLabelAddress(DIE &Die, dwarf::Attribute Attribute,
50 void DwarfCompileUnit::addLocalLabelAddress(DIE &Die,
103 /// getOrCreateGlobalVariableDIE - get or create global variable DIE.
104 DIE *DwarfCompileUnit::getOrCreateGlobalVariableDIE(
107 if (DIE *Die = getDIE(GV))
115 // Construct the context before querying for the existence of the DIE in
116 // case such construction creates the DIE.
117 DIE *ContextDIE = getOrCreateContextDIE(GVContext);
120 DIE *VariableDIE = &createAndAddDIE(GV->getTag(), *ContextDIE, GV);
126 // We need the declaration DIE tha
[all...]
H A DDwarfUnit.cpp48 DIELoc &DIE)
50 DIE(DIE) {}
53 DU.addUInt(DIE, dwarf::DW_FORM_data1, Op);
56 DU.addSInt(DIE, dwarf::DW_FORM_sdata, Value);
59 DU.addUInt(DIE, dwarf::DW_FORM_udata, Value);
68 : CUNode(Node), UnitDie(*DIE::get(DIEValueAllocator, UnitTag)), Asm(A),
156 /// Check whether the DIE for this MDNode can be shared across CUs.
158 // When the MDNode can be part of the type system, the DIE can be shared
160 // Combining type units and cross-CU DIE sharin
47 DIEDwarfExpression(const AsmPrinter &AP, DwarfUnit &DU, DIELoc &DIE) argument
[all...]
H A DDIEHash.cpp20 #include "llvm/CodeGen/DIE.h"
33 static StringRef getDIEStringAttr(const DIE &Die, uint16_t Attr) {
81 void DIEHash::addParentContext(const DIE &Parent) {
87 SmallVector<const DIE *, 1> Parents;
88 const DIE *Cur = &Parent;
98 for (SmallVectorImpl<const DIE *>::reverse_iterator I = Parents.rbegin(),
101 const DIE &Die = **I;
117 // Collect all of the attributes for a particular DIE in single structure.
118 void DIEHash::collectAttributes(const DIE &Die, DIEAttrs &Attrs) {
185 const DIE
[all...]
H A DDwarfDebug.h27 #include "llvm/CodeGen/DIE.h"
67 DIE *TheDIE = nullptr; /// Variable DIE.
116 void setDIE(DIE &D) { TheDIE = &D; }
117 DIE *getDIE() const { return TheDIE; }
200 /// Maps a CU DIE with its corresponding DwarfCompileUnit.
201 DenseMap<const DIE *, DwarfCompileUnit *> CUDieMap;
326 /// Construct a DIE for this abstract scope.
374 const StringMap<const DIE *> &(DwarfCompileUnit::*Accessor)() const);
400 void initSkeletonUnit(const DwarfUnit &U, DIE
[all...]
H A DDwarfExpression.h29 /// independently of whether they are emitted into a DIE or into a .debug_loc
140 DIELoc &DIE; member in class:llvm::DIEDwarfExpression
143 DIEDwarfExpression(const AsmPrinter &AP, DwarfUnit &DU, DIELoc &DIE);
/external/libxml2/
H A Dautogen.sh9 DIE=0
16 DIE=1
24 DIE=1
29 DIE=1
35 if test "$DIE" -eq 1; then
/external/llvm/unittests/CodeGen/
H A DDIEHashTest.cpp10 #include "llvm/CodeGen/DIE.h"
41 DIE &Die = *DIE::get(Alloc, dwarf::DW_TAG_base_type);
50 DIE &Unnamed = *DIE::get(Alloc, dwarf::DW_TAG_structure_type);
59 // The exact same hash GCC produces for this DIE.
65 DIE &Foo = *DIE::get(Alloc, dwarf::DW_TAG_structure_type);
73 // The exact same hash GCC produces for this DIE.
79 DIE
[all...]
/external/clang/test/Parser/
H A Dcxx-decl.cpp174 struct DIE { struct
178 void test (DIE die, DIE *Die, DIE INT, DIE *FLOAT) {
179 DIE.foo(); // expected-error {{cannot use dot operator on a type}}
182 DIE->foo(); // expected-error {{cannot use arrow operator on a type}}
/external/elfutils/tests/
H A Drun-readelf-aranges.sh154 [0] start: 0x080482f0, length: 52, CU DIE offset: 11
155 [1] start: 0x08048330, length: 11, CU DIE offset: 321
156 [2] start: 0x08048340, length: 11, CU DIE offset: 476
157 [3] start: 0x08048440, length: 18, CU DIE offset: 321
158 [4] start: 0x08048460, length: 92, CU DIE offset: 476
/external/llvm/include/llvm/CodeGen/
H A DDIE.h1 //===--- lib/CodeGen/DIE.h - DWARF Info Entries -----------------*- C++ -*-===//
107 /// DIEInteger - An integer value DIE.
147 /// DIEExpr - An expression DIE.
166 /// DIELabel - A label DIE.
185 /// DIEDelta - A simple label difference DIE.
222 class DIE;
224 DIE *Entry;
229 explicit DIEEntry(DIE &E) : Entry(&E) {}
231 DIE &getEntry() const { return *Entry; }
325 destruct<DIE##
591 class DIE : IntrusiveBackListNode, public DIEValueList { class in namespace:llvm
614 explicit DIE(dwarf::Tag Tag) : Offset(0), Size(0), Tag(Tag) {} function in class:llvm::DIE
[all...]
/external/llvm/lib/DebugInfo/DWARF/
H A DDWARFUnit.cpp165 for (auto &DIE : DieArray) {
167 SiblingChain->setSibling(&DIE);
170 DIE.getAbbreviationDeclarationPtr()) {
171 // Normal DIE.
173 ParentChain.push_back(&DIE);
176 SiblingChain = &DIE;
194 // Set the offset to that of the first DIE and calculate the start of the
198 DWARFDebugInfoEntryMinimal DIE; local
202 while (DIEOffset < NextCUOffset && DIE.extractFast(this, &DIEOffset)) {
205 Dies.push_back(DIE);
[all...]
H A DDWARFDebugInfoEntry.cpp25 // Small helper to extract a DIE pointed by a reference
26 // attribute. It looks up the Unit containing the DIE and calls
27 // DIE.extractFast with the right unit. Returns new unit on success,
29 static const DWARFUnit *findUnitAndExtractFast(DWARFDebugInfoEntryMinimal &DIE, argument
33 return (Unit && DIE.extractFast(Unit, Offset)) ? Unit : nullptr;
58 // Dump all data in the DIE for the attributes.
168 DWARFDebugInfoEntryMinimal DIE;
169 if (const DWARFUnit *RefU = findUnitAndExtractFast(DIE, u, &RefOffset))
170 if (const char *Name = DIE.getName(RefU, DINameKind::LinkageName))
400 // Try to get name from specification DIE
[all...]
/external/libvorbis/
H A Dautogen.sh14 DIE=0
22 DIE=1
103 DIE=1
106 if test "$DIE" -eq 1; then
/external/libmicrohttpd/src/spdy2http/
H A Dproxy.c137 #define DIE(msg) do{\ macro
378 DIE("no memory");
492 DIE("bug in cleanup");
566 DIE("no response");
582 //DIE("no queue");
604 DIE("error on parsing headers");
606 DIE("No memory");
612 DIE("No memory");
621 DIE("No memory");
632 DIE("N
[all...]
/external/libmicrohttpd/src/examples/
H A Dmhd2spdy.c96 DIE("Regexp compilation failed");
102 DIE("spdy_parse_uri failed");
122 DIE("MHD_start_daemon failed");
308 DIE("default from getopt");
/external/vboot_reference/futility/
H A Dfutility.h82 #ifndef DIE
83 #define DIE do { \ macro
/external/llvm/tools/dsymutil/
H A DDwarfLinker.cpp19 #include "llvm/CodeGen/DIE.h"
58 DIE::value_iterator I;
61 PatchLocation(DIE::value_iterator I) : I(I) {}
83 /// need to determine the context of each DIE in an linked object file
166 /// Get the child of \a Context described by \a DIE in \a Unit. The
176 const DWARFDebugInfoEntryMinimal *DIE, CompileUnit &Unit,
184 /// and linked DIE tree.
187 /// \brief Information gathered about a DIE in the object file.
191 DIE *Clone; ///< Cloned version of that DIE
1484 resolveDIEReference( const DwarfLinker &Linker, MutableArrayRef<CompileUnit> Units, const DWARFFormValue &RefValue, const DWARFUnit &Unit, const DWARFDebugInfoEntryMinimal &DIE, CompileUnit *&RefCU) argument
1543 getChildDeclContext( DeclContext &Context, const DWARFDebugInfoEntryMinimal *DIE, CompileUnit &U, NonRelocatableStringpool &StringPool, bool InClangModule) argument
1762 analyzeContextInfo(const DWARFDebugInfoEntryMinimal *DIE, unsigned ParentIdx, CompileUnit &CU, DeclContext *CurrentDeclContext, NonRelocatableStringpool &StringPool, DeclContextTree &Contexts, bool InImportedModule = false) argument
2078 shouldKeepVariableDIE(RelocationManager &RelocMgr, const DWARFDebugInfoEntryMinimal &DIE, CompileUnit &Unit, CompileUnit::DIEInfo &MyInfo, unsigned Flags) argument
2119 shouldKeepSubprogramDIE( RelocationManager &RelocMgr, const DWARFDebugInfoEntryMinimal &DIE, CompileUnit &Unit, CompileUnit::DIEInfo &MyInfo, unsigned Flags) argument
2172 shouldKeepDIE(RelocationManager &RelocMgr, const DWARFDebugInfoEntryMinimal &DIE, CompileUnit &Unit, CompileUnit::DIEInfo &MyInfo, unsigned Flags) argument
[all...]

Completed in 1955 milliseconds

123