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

/freebsd-9.3-release/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.h17 #include "DIE.h"
47 const OwningPtr<DIE> CUDie;
57 DIE *IndexTyDie;
61 DenseMap<const MDNode *, DIE *> MDNodeToDieMap;
69 StringMap<DIE *> GlobalNames;
73 StringMap<DIE *> GlobalTypes;
77 StringMap<std::vector<DIE *> > AccelNames;
78 StringMap<std::vector<DIE *> > AccelObjC;
79 StringMap<std::vector<DIE *> > AccelNamespace;
80 StringMap<std::vector<std::pair<DIE *, unsigne
[all...]
H A DDIEHash.h14 #include "DIE.h"
23 /// attributes onto a DIE.
31 // Collection of all attributes used in hashing a particular DIE.
88 uint64_t computeDIEODRSignature(const DIE &Die);
91 uint64_t computeCUSignature(const DIE &Die);
94 uint64_t computeTypeSignature(const DIE &Die);
96 // Helper routines to process parts of a DIE.
99 void addParentContext(const DIE &Die);
102 void addAttributes(const DIE &Die);
104 /// \brief Computes the full DWARF4 7.27 hash of the DIE
[all...]
H A DDwarfDebug.h17 #include "DIE.h"
41 class DIE;
122 /// labels are referenced is used to find debug_loc offset for a given DIE.
148 DIE *TheDIE; // Variable DIE.
162 void setDIE(DIE *D) { TheDIE = D; }
163 DIE *getDIE() const { return TheDIE; }
258 /// \brief Compute the size and offset of a DIE given an incoming Offset.
259 unsigned computeSizeAndOffset(DIE *Die, unsigned Offset);
332 // Maps a CU DIE wit
[all...]
H A DDIE.h1 //===--- lib/CodeGen/DIE.h - DWARF Info Entries -----------------*- C++ -*-===//
105 /// DIE - A structured debug information entry. Has an abbreviation which
109 class DIE { class in namespace:llvm
125 std::vector<DIE *> Children;
127 DIE *Parent;
134 explicit DIE(unsigned Tag) function in class:llvm::DIE
137 virtual ~DIE();
146 const std::vector<DIE *> &getChildren() const { return Children; }
148 DIE *getParent() const { return Parent; }
149 /// Climb up the parent chain to get the compile unit DIE thi
[all...]
H A DDIEHash.cpp18 #include "DIE.h"
32 static StringRef getDIEStringAttr(const DIE &Die, uint16_t Attr) {
87 void DIEHash::addParentContext(const DIE &Parent) {
93 SmallVector<const DIE *, 1> Parents;
94 const DIE *Cur = &Parent;
102 for (SmallVectorImpl<const DIE *>::reverse_iterator I = Parents.rbegin(),
105 const DIE &Die = **I;
121 // Collect all of the attributes for a particular DIE in single structure.
122 void DIEHash::collectAttributes(const DIE &Die, DIEAttrs &Attrs) {
193 const DIE
[all...]
H A DDwarfCompileUnit.cpp36 CompileUnit::CompileUnit(unsigned UID, DIE *D, DICompileUnit Node,
52 DIEEntry *CompileUnit::createDIEEntry(DIE *Entry) {
101 /// Check whether the DIE for this MDNode can be shared across CUs.
103 // When the MDNode can be part of the type system, the DIE can be
111 /// when the DIE for this MDNode can be shared across CUs. The mappings
113 DIE *CompileUnit::getDIE(DIDescriptor D) const {
119 /// insertDIE - Insert DIE into the map. We delegate the request to DwarfDebug
120 /// when the DIE for this MDNode can be shared across CUs. The mappings
122 void CompileUnit::insertDIE(DIDescriptor Desc, DIE *D) {
131 void CompileUnit::addFlag(DIE *Di
[all...]
H A DDIE.cpp1 //===--- lib/CodeGen/DIE.cpp - DWARF Info Entries -------------------------===//
14 #include "DIE.h"
107 // DIE Implementation
110 DIE::~DIE() {
115 /// Climb up the parent chain to get the compile unit DIE to which this DIE
117 const DIE *DIE::getCompileUnit() const {
118 const DIE *C
[all...]
H A DDwarfAccelTable.h17 #include "DIE.h"
65 class DIE;
168 DIE *Die; // Offsets
171 HashDataContents(DIE *D, char Flags) : Die(D), Flags(Flags) {}
244 void AddName(StringRef, DIE *, char = 0);
H A DDwarfDebug.cpp16 #include "DIE.h"
338 DIE* Die) {
373 // Find DIE for the given subprogram and attach appropriate DW_AT_low_pc
376 DIE *DwarfDebug::updateSubprogramScopeDIE(CompileUnit *SPCU, DISubprogram SP) {
377 DIE *SPDie = SPCU->getDIE(SP);
379 assert(SPDie && "Unable to find subprogram DIE!");
381 // If we're updating an abstract DIE, then we will be adding the children and
383 // concrete DIE twice.
384 if (DIE *AbsSPDIE = AbstractSPDies.lookup(SP)) {
385 // Pick up abstract subprogram DIE
[all...]
H A DDwarfAccelTable.cpp15 #include "DIE.h"
34 void DwarfAccelTable::AddName(StringRef Name, DIE *die, char Flags) {
192 // Emit the DIE offset
/freebsd-9.3-release/lib/clang/libllvmasmprinter/
H A DMakefile12 DIE.cpp \
/freebsd-9.3-release/contrib/llvm/lib/DebugInfo/
H A DDWARFDebugInfoEntry.cpp42 // Dump all data in the DIE for the attributes.
281 // Try to get name from specification DIE.
291 // Try to get name from abstract origin DIE.
320 for (const DWARFDebugInfoEntryMinimal *DIE = this; DIE; ) {
321 // Append current DIE to inlined chain only if it has correct tag
323 if (DIE->isSubroutineDIE()) {
324 InlinedChain.DIEs.push_back(*DIE);
327 const DWARFDebugInfoEntryMinimal *Child = DIE->getFirstChild();
335 DIE
[all...]
H A DDWARFUnit.cpp143 // Normal DIE
149 // NULL DIE that terminates a sibling chain
167 // Set the offset to that of the first DIE and calculate the start of the
171 DWARFDebugInfoEntryMinimal DIE; local
175 while (Offset < NextCUOffset && DIE.extractFast(this, &Offset)) {
178 Dies.push_back(DIE);
181 // The average bytes per DIE entry has been seen to be
183 // our DIE entries accordingly.
187 Dies.push_back(DIE);
191 DIE
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaInit.cpp295 InitListExpr *IList, DesignatedInitExpr *DIE,
362 Expr *DIE = CXXDefaultInitExpr::Create(SemaRef.Context, local
365 ILE->setInit(Init, DIE);
367 ILE->updateInit(SemaRef.Context, Init, DIE);
1286 if (DesignatedInitExpr *DIE = dyn_cast<DesignatedInitExpr>(Init)) {
1295 if (CheckDesignatedInitializer(Entity, IList, DIE, 0,
1461 if (DesignatedInitExpr *DIE = dyn_cast<DesignatedInitExpr>(Init)) {
1470 if (CheckDesignatedInitializer(Entity, IList, DIE, 0,
1585 DesignatedInitExpr *DIE,
1596 DIE
1584 ExpandAnonymousFieldDesignator(Sema &SemaRef, DesignatedInitExpr *DIE, unsigned DesigIdx, IndirectFieldDecl *IndirectField) argument
1630 CloneDesignatedInitExpr(Sema &SemaRef, DesignatedInitExpr *DIE) argument
1698 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
2446 DesignatedInitExpr *DIE local
[all...]
H A DSemaDeclCXX.cpp3406 Expr *DIE = CXXDefaultInitExpr::Create(SemaRef.Context, local
3412 SourceLocation(), DIE,
3417 SourceLocation(), DIE,
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprAgg.cpp164 void VisitCXXDefaultInitExpr(CXXDefaultInitExpr *DIE) { argument
166 Visit(DIE->getExpr());
H A DCGExprComplex.cpp190 ComplexPairTy VisitCXXDefaultInitExpr(CXXDefaultInitExpr *DIE) { argument
192 return Visit(DIE->getExpr());
H A DCGExprConstant.cpp710 llvm::Constant *VisitCXXDefaultInitExpr(CXXDefaultInitExpr *DIE) { argument
713 return Visit(DIE->getExpr());
H A DCGExprScalar.cpp350 Value *VisitCXXDefaultInitExpr(CXXDefaultInitExpr *DIE) { argument
352 return Visit(DIE->getExpr());
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/
H A DExpr.cpp3781 DesignatedInitExpr *DIE = const_cast<DesignatedInitExpr*>(this); local
3783 return DIE->getDesignator(0)->getSourceRange();
3784 return SourceRange(DIE->getDesignator(0)->getLocStart(),
3785 DIE->getDesignator(size()-1)->getLocEnd());

Completed in 334 milliseconds