Lines Matching refs:DIE

31 void DwarfCompileUnit::addLabelAddress(DIE &Die, dwarf::Attribute Attribute,  in addLabelAddress()
50 void DwarfCompileUnit::addLocalLabelAddress(DIE &Die, in addLocalLabelAddress()
104 DIE *DwarfCompileUnit::getOrCreateGlobalVariableDIE( in getOrCreateGlobalVariableDIE()
107 if (DIE *Die = getDIE(GV)) in getOrCreateGlobalVariableDIE()
117 DIE *ContextDIE = getOrCreateContextDIE(GVContext); in getOrCreateGlobalVariableDIE()
120 DIE *VariableDIE = &createAndAddDIE(GV->getTag(), *ContextDIE, GV); in getOrCreateGlobalVariableDIE()
127 DIE *VariableSpecDIE = getOrCreateStaticMemberDIE(SDMDecl); in getOrCreateGlobalVariableDIE()
248 DIE::value_iterator
249 DwarfCompileUnit::addSectionLabel(DIE &Die, dwarf::Attribute Attribute, in addSectionLabel()
275 void DwarfCompileUnit::applyStmtList(DIE &D) { in applyStmtList()
279 void DwarfCompileUnit::attachLowHighPC(DIE &D, const MCSymbol *Begin, in attachLowHighPC()
296 DIE &DwarfCompileUnit::updateSubprogramScopeDIE(const DISubprogram *SP) { in updateSubprogramScopeDIE()
297 DIE *SPDie = getOrCreateSubprogramDIE(SP, includeMinimalInlineScopes()); in updateSubprogramScopeDIE()
322 LexicalScope *Scope, SmallVectorImpl<DIE *> &FinalChildren) { in constructScopeDIE()
333 SmallVector<DIE *, 8> Children; in constructScopeDIE()
338 DIE *ScopeDIE; in constructScopeDIE()
383 DIE::value_iterator
384 DwarfCompileUnit::addSectionDelta(DIE &Die, dwarf::Attribute Attribute, in addSectionDelta()
392 void DwarfCompileUnit::addScopeRangeList(DIE &ScopeDIE, in addScopeRangeList()
417 DIE &Die, SmallVector<RangeSpan, 2> Ranges) { in attachRangesOrLowHighPC()
426 DIE &Die, const SmallVectorImpl<InsnRange> &Ranges) { in attachRangesOrLowHighPC()
437 DIE *DwarfCompileUnit::constructInlinedScopeDIE(LexicalScope *Scope) { in constructInlinedScopeDIE()
443 DIE *OriginDIE = DU->getAbstractSPDies()[InlinedSP]; in constructInlinedScopeDIE()
446 auto ScopeDIE = DIE::get(DIEValueAllocator, dwarf::DW_TAG_inlined_subroutine); in constructInlinedScopeDIE()
469 DIE *DwarfCompileUnit::constructLexicalScopeDIE(LexicalScope *Scope) { in constructLexicalScopeDIE()
473 auto ScopeDIE = DIE::get(DIEValueAllocator, dwarf::DW_TAG_lexical_block); in constructLexicalScopeDIE()
483 DIE *DwarfCompileUnit::constructVariableDIE(DbgVariable &DV, bool Abstract) { in constructVariableDIE()
489 DIE *DwarfCompileUnit::constructVariableDIEImpl(const DbgVariable &DV, in constructVariableDIEImpl()
492 auto VariableDie = DIE::get(DIEValueAllocator, DV.getTag()); in constructVariableDIEImpl()
563 DIE *DwarfCompileUnit::constructVariableDIE(DbgVariable &DV, in constructVariableDIE()
565 DIE *&ObjectPointer) { in constructVariableDIE()
572 DIE *DwarfCompileUnit::createScopeChildrenDIE(LexicalScope *Scope, in createScopeChildrenDIE()
573 SmallVectorImpl<DIE *> &Children, in createScopeChildrenDIE()
575 DIE *ObjectPointer = nullptr; in createScopeChildrenDIE()
599 DIE &ScopeDIE = updateSubprogramScopeDIE(Sub); in constructSubprogramScopeDIE()
607 if (DIE *ObjectPointer = createAndAddScopeChildren(Scope, ScopeDIE)) in constructSubprogramScopeDIE()
616 DIE::get(DIEValueAllocator, dwarf::DW_TAG_unspecified_parameters)); in constructSubprogramScopeDIE()
619 DIE *DwarfCompileUnit::createAndAddScopeChildren(LexicalScope *Scope, in createAndAddScopeChildren()
620 DIE &ScopeDIE) { in createAndAddScopeChildren()
622 SmallVector<DIE *, 8> Children; in createAndAddScopeChildren()
623 DIE *ObjectPointer = createScopeChildrenDIE(Scope, Children); in createAndAddScopeChildren()
634 DIE *&AbsDef = DU->getAbstractSPDies()[Scope->getScopeNode()]; in constructAbstractSubprogramScopeDIE()
640 DIE *ContextDIE; in constructAbstractSubprogramScopeDIE()
661 if (DIE *ObjectPointer = createAndAddScopeChildren(Scope, *AbsDef)) in constructAbstractSubprogramScopeDIE()
665 DIE *DwarfCompileUnit::constructImportedEntityDIE( in constructImportedEntityDIE()
667 DIE *IMDie = DIE::get(DIEValueAllocator, (dwarf::Tag)Module->getTag()); in constructImportedEntityDIE()
669 DIE *EntityDie; in constructImportedEntityDIE()
695 DIE *D = getDIE(SP); in finishSubprogramDefinition()
696 if (DIE *AbsSPDIE = DU->getAbstractSPDies().lookup(SP)) { in finishSubprogramDefinition()
723 void DwarfCompileUnit::addGlobalName(StringRef Name, DIE &Die, in addGlobalName()
732 void DwarfCompileUnit::addGlobalType(const DIType *Ty, const DIE &Die, in addGlobalType()
742 void DwarfCompileUnit::addVariableAddress(const DbgVariable &DV, DIE &Die, in addVariableAddress()
753 void DwarfCompileUnit::addAddress(DIE &Die, dwarf::Attribute Attribute, in addAddress()
774 void DwarfCompileUnit::addComplexAddress(const DbgVariable &DV, DIE &Die, in addComplexAddress()
796 void DwarfCompileUnit::addLocationList(DIE &Die, dwarf::Attribute Attribute, in addLocationList()
804 DIE &VariableDie) { in applyVariableAttributes()
821 const DISubprogram *SP, DIE &SPDie) { in applySubprogramAttributesToDefinition()