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

12

/external/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.h17 #include "DIE.h"
76 DIE UnitDie;
89 DIE *IndexTyDie;
93 DenseMap<const MDNode *, DIE *> MDNodeToDieMap;
100 StringMap<const DIE *> GlobalNames;
103 StringMap<const DIE *> GlobalTypes;
112 /// need DW_AT_containing_type attribute. This attribute points to a DIE that
113 /// corresponds to the MDNode mapped with the subprogram DIE.
114 DenseMap<DIE *, const MDNode *> ContainingTypeMap;
209 DIE
[all...]
H A DDIEHash.h17 #include "DIE.h"
27 /// attributes onto a DIE.
36 // Collection of all attributes used in hashing a particular DIE.
95 uint64_t computeDIEODRSignature(const DIE &Die);
98 uint64_t computeCUSignature(const DIE &Die);
101 uint64_t computeTypeSignature(const DIE &Die);
103 // Helper routines to process parts of a DIE.
106 void addParentContext(const DIE &Die);
109 void addAttributes(const DIE &Die);
111 /// \brief Computes the full DWARF4 7.27 hash of the DIE
[all...]
H A DDwarfDebug.h19 #include "DIE.h"
73 DIE *TheDIE; // Variable DIE.
93 void setDIE(DIE &D) { TheDIE = &D; }
94 DIE *getDIE() const { return TheDIE; }
174 // Maps a CU DIE with its corresponding DwarfCompileUnit.
175 DenseMap<const DIE *, DwarfCompileUnit *> CUDieMap;
180 DenseMap<const MDNode *, DIE *> MDTypeNodeToDieMap;
198 DenseMap<const MDNode *, DIE *> AbstractSPDies;
215 SmallPtrSet<DIE *,
[all...]
H A DDwarfUnit.cpp80 DIEEntry *DwarfUnit::createDIEEntry(DIE &Entry) {
129 /// Check whether the DIE for this MDNode can be shared across CUs.
131 // When the MDNode can be part of the type system, the DIE can be shared
133 // Combining type units and cross-CU DIE sharing is lower value (since
134 // cross-CU DIE sharing is used in LTO and removes type redundancy at that
145 /// when the DIE for this MDNode can be shared across CUs. The mappings
147 DIE *DwarfUnit::getDIE(DIDescriptor D) const {
153 /// insertDIE - Insert DIE into the map. We delegate the request to DwarfDebug
154 /// when the DIE for this MDNode can be shared across CUs. The mappings
156 void DwarfUnit::insertDIE(DIDescriptor Desc, DIE *
[all...]
H A DDIEHash.cpp16 #include "DIE.h"
33 static StringRef getDIEStringAttr(const DIE &Die, uint16_t Attr) {
88 void DIEHash::addParentContext(const DIE &Parent) {
94 SmallVector<const DIE *, 1> Parents;
95 const DIE *Cur = &Parent;
105 for (SmallVectorImpl<const DIE *>::reverse_iterator I = Parents.rbegin(),
108 const DIE &Die = **I;
124 // Collect all of the attributes for a particular DIE in single structure.
125 void DIEHash::collectAttributes(const DIE &Die, DIEAttrs &Attrs) {
196 const DIE
[all...]
H A DDIE.h1 //===--- lib/CodeGen/DIE.h - DWARF Info Entries -----------------*- C++ -*-===//
107 /// DIE - A structured debug information entry. Has an abbreviation which
111 class DIE { class in namespace:llvm
127 // This can't be a vector<DIE> because pointer validity is requirent for the
129 // It can't be a list<DIE> because some clients need pointer validity before
133 std::vector<std::unique_ptr<DIE>> Children;
135 DIE *Parent;
142 DIE() function in class:llvm::DIE
147 explicit DIE(dwarf::Tag Tag) function in class:llvm::DIE
158 const std::vector<std::unique_ptr<DIE>>
[all...]
H A DDwarfFile.h30 class DIE;
56 /// \brief Compute the size and offset of a DIE given an incoming Offset.
57 unsigned computeSizeAndOffset(DIE &Die, unsigned Offset);
H A DAndroid.mk10 DIE.cpp \
H A DDwarfDebug.cpp16 #include "DIE.h"
275 void DwarfDebug::addSubprogramNames(DISubprogram SP, DIE &Die) {
311 // Find DIE for the given subprogram and attach appropriate DW_AT_low_pc
314 DIE &DwarfDebug::updateSubprogramScopeDIE(DwarfCompileUnit &SPCU,
316 DIE *SPDie = SPCU.getOrCreateSubprogramDIE(SP);
331 /// Check whether we should create a DIE for the given Scope, return true
332 /// if we don't create a DIE (the corresponding DIE is null).
337 // We don't create a DIE if there is no Range.
345 // We don't create a DIE i
[all...]
H A DDwarfAccelTable.h17 #include "DIE.h"
168 const DIE *Die; // Offsets
171 HashDataContents(const DIE *D, char Flags) : Die(D), Flags(Flags) {}
248 void AddName(StringRef Name, MCSymbol *StrSym, const DIE *Die,
H A DDwarfFile.cpp53 DIE &Die = TheU->getUnitDie();
70 // Compute the size and offset for each DIE.
76 // DIE within each compile unit. All offsets are CU relative.
85 // all of the CU DIE.
90 // Compute the size and offset of a DIE. The offset is relative to start of the
91 // CU. It returns the offset after laying out the DIE.
92 unsigned DwarfFile::computeSizeAndOffset(DIE &Die, unsigned Offset) {
96 // Get the abbreviation for this DIE.
99 // Set DIE offset
108 // Size the DIE attribut
[all...]
H A DDIE.cpp1 //===--- lib/CodeGen/DIE.cpp - DWARF Info Entries -------------------------===//
14 #include "DIE.h"
107 /// Climb up the parent chain to get the unit DIE to which this DIE
109 const DIE *DIE::getUnit() const {
110 const DIE *Cu = getUnitOrNull();
115 /// Climb up the parent chain to get the unit DIE this DIE belongs
116 /// to. Return NULL if DIE i
[all...]
H A DDwarfAccelTable.cpp15 #include "DIE.h"
32 void DwarfAccelTable::AddName(StringRef Name, MCSymbol *StrSym, const DIE *die,
191 // Emit the DIE offset
/external/llvm/unittests/CodeGen/
H A DDIEHashTest.cpp10 #include "../lib/CodeGen/AsmPrinter/DIE.h"
23 DIE Die(dwarf::DW_TAG_base_type);
32 DIE Unnamed(dwarf::DW_TAG_structure_type);
41 // The exact same hash GCC produces for this DIE.
47 DIE Foo(dwarf::DW_TAG_structure_type);
55 // The exact same hash GCC produces for this DIE.
61 DIE CU(dwarf::DW_TAG_compile_unit);
63 auto Space = make_unique<DIE>(dwarf::DW_TAG_namespace);
71 auto Foo = make_unique<DIE>(dwarf::DW_TAG_structure_type);
76 DIE
[all...]
/external/clang/test/Parser/
H A Dcxx-decl.cpp165 struct DIE { struct
169 void test (DIE die, DIE *Die, DIE INT, DIE *FLOAT) {
170 DIE.foo(); // expected-error {{cannot use dot operator on a type}}
173 DIE->foo(); // expected-error {{cannot use arrow operator on a type}}
/external/llvm/lib/DebugInfo/
H A DDWARFUnit.cpp134 for (auto &DIE : DieArray) {
136 SiblingChain->setSibling(&DIE);
139 DIE.getAbbreviationDeclarationPtr()) {
140 // Normal DIE.
142 ParentChain.push_back(&DIE);
145 SiblingChain = &DIE;
163 // Set the offset to that of the first DIE and calculate the start of the
167 DWARFDebugInfoEntryMinimal DIE; local
171 while (DIEOffset < NextCUOffset && DIE.extractFast(this, &DIEOffset)) {
174 Dies.push_back(DIE);
[all...]
H A DDWARFDebugInfoEntry.cpp43 // Dump all data in the DIE for the attributes.
301 // Try to get name from specification DIE.
311 // Try to get name from abstract origin DIE.
340 for (const DWARFDebugInfoEntryMinimal *DIE = this; DIE; ) {
341 // Append current DIE to inlined chain only if it has correct tag
343 if (DIE->isSubroutineDIE()) {
344 InlinedChain.DIEs.push_back(*DIE);
347 const DWARFDebugInfoEntryMinimal *Child = DIE->getFirstChild();
355 DIE
[all...]
/external/libvorbis/
H A Dautogen.sh14 DIE=0
22 DIE=1
103 DIE=1
106 if test "$DIE" -eq 1; then
/external/kernel-headers/original/uapi/linux/
H A Datmmpc.h105 #define DIE 207 /* tell the daemon to exit() */ macro
/external/replicaisland/src/com/replica/replicaisland/
H A DHotSpotSystem.java42 public static final int DIE = 9; field in class:HotSpotSystem.HotSpotType
H A DLifetimeComponent.java108 parentObject.getPosition().y + 10.0f) == HotSpotSystem.HotSpotType.DIE) {
H A DAnimationComponent.java293 parentObject.getPosition().y + 10.0f) == HotSpotSystem.HotSpotType.DIE) {
/external/clang/lib/Sema/
H A DSemaInit.cpp295 InitListExpr *IList, DesignatedInitExpr *DIE,
469 Expr *DIE = CXXDefaultInitExpr::Create(SemaRef.Context, Loc, Field); local
471 ILE->setInit(Init, DIE);
473 ILE->updateInit(SemaRef.Context, Init, DIE);
1399 if (DesignatedInitExpr *DIE = dyn_cast<DesignatedInitExpr>(Init)) {
1408 if (CheckDesignatedInitializer(Entity, IList, DIE, 0,
1576 if (DesignatedInitExpr *DIE = dyn_cast<DesignatedInitExpr>(Init)) {
1585 if (CheckDesignatedInitializer(Entity, IList, DIE, 0,
1701 DesignatedInitExpr *DIE,
1712 DIE
1700 ExpandAnonymousFieldDesignator(Sema &SemaRef, DesignatedInitExpr *DIE, unsigned DesigIdx, IndirectFieldDecl *IndirectField) argument
1746 CloneDesignatedInitExpr(Sema &SemaRef, DesignatedInitExpr *DIE) argument
1814 CheckDesignatedInitializer(const InitializedEntity &Entity, InitListExpr *IList, DesignatedInitExpr *DIE, unsigned DesigIdx, QualType &CurrentObjectType, RecordDecl::field_iterator *NextField, llvm::APSInt *NextElementIndex, unsigned &Index, InitListExpr *StructuredList, unsigned &StructuredIndex, bool FinishSubobjectInit, bool TopLevelObject) argument
2561 DesignatedInitExpr *DIE local
[all...]
/external/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFCompileUnit.h77 DIE() function in class:DWARFCompileUnit
88 // The average bytes per DIE entry has been seen to be
93 // the main compile unit DIE. The compile unit DIE is always
95 // the first compile unit child DIE and should reserve
H A DDWARFCompileUnit.cpp143 // Save at least the compile unit DIE
169 // Set the offset to that of the first DIE and calculate the start of the
175 // Keep a flat array of the DIE for binary lookup by DIE offset
224 // This will only happen if a DIE says is has children
227 // we need a way to let the DIE know that it actually doesn't
240 // Only push the DIE if it isn't a NULL DIE
247 // NULL DIE.
261 // Normal DIE
[all...]

Completed in 324 milliseconds

12