Lines Matching refs:DIE

68 void DwarfCompileUnit::addLabelAddress(DIE &Die, dwarf::Attribute Attribute,  in addLabelAddress()
108 void DwarfCompileUnit::addLocalLabelAddress(DIE &Die, in addLocalLabelAddress()
137 DIE *DwarfCompileUnit::getOrCreateGlobalVariableDIE( in getOrCreateGlobalVariableDIE()
140 if (DIE *Die = getDIE(GV)) in getOrCreateGlobalVariableDIE()
149 DIE *ContextDIE = CB ? getOrCreateCommonBlock(CB, GlobalExprs) in getOrCreateGlobalVariableDIE()
153 DIE *VariableDIE = &createAndAddDIE(GV->getTag(), *ContextDIE, GV); in getOrCreateGlobalVariableDIE()
160 DIE *VariableSpecDIE = getOrCreateStaticMemberDIE(SDMDecl); in getOrCreateGlobalVariableDIE()
204 DIE *VariableDIE, const DIGlobalVariable *GV, ArrayRef<GlobalExpr> GlobalExprs) { in addLocationAttribute()
382 DIE *DwarfCompileUnit::getOrCreateCommonBlock( in getOrCreateCommonBlock()
385 if (DIE *NDie = getDIE(CB)) in getOrCreateCommonBlock()
387 DIE *ContextDIE = getOrCreateContextDIE(CB->getScope()); in getOrCreateCommonBlock()
388 DIE &NDie = createAndAddDIE(dwarf::DW_TAG_common_block, *ContextDIE, CB); in getOrCreateCommonBlock()
443 void DwarfCompileUnit::applyStmtList(DIE &D) { in applyStmtList()
449 void DwarfCompileUnit::attachLowHighPC(DIE &D, const MCSymbol *Begin, in attachLowHighPC()
499 DIE &DwarfCompileUnit::updateSubprogramScopeDIE(const DISubprogram *SP) { in updateSubprogramScopeDIE()
500 DIE *SPDie = getOrCreateSubprogramDIE(SP, includeMinimalInlineScopes()); in updateSubprogramScopeDIE()
573 DIE &ParentScopeDIE) { in constructScopeDIE()
586 DIE *ScopeDIE = constructInlinedScopeDIE(Scope, ParentScopeDIE); in constructScopeDIE()
597 DIE *ScopeDIE = constructLexicalScopeDIE(Scope); in constructScopeDIE()
604 void DwarfCompileUnit::addScopeRangeList(DIE &ScopeDIE, in addScopeRangeList()
638 DIE &Die, SmallVector<RangeSpan, 2> Ranges) { in attachRangesOrLowHighPC()
653 DIE &Die, const SmallVectorImpl<InsnRange> &Ranges) { in attachRangesOrLowHighPC()
686 DIE *DwarfCompileUnit::constructInlinedScopeDIE(LexicalScope *Scope, in constructInlinedScopeDIE()
687 DIE &ParentScopeDIE) { in constructInlinedScopeDIE()
693 DIE *OriginDIE = getAbstractScopeDIEs()[InlinedSP]; in constructInlinedScopeDIE()
696 auto ScopeDIE = DIE::get(DIEValueAllocator, dwarf::DW_TAG_inlined_subroutine); in constructInlinedScopeDIE()
723 DIE *DwarfCompileUnit::constructLexicalScopeDIE(LexicalScope *Scope) { in constructLexicalScopeDIE()
728 auto ScopeDIE = DIE::get(DIEValueAllocator, dwarf::DW_TAG_lexical_block); in constructLexicalScopeDIE()
746 DIE *DwarfCompileUnit::constructVariableDIE(DbgVariable &DV, bool Abstract) { in constructVariableDIE()
747 auto *VariableDie = DIE::get(DIEValueAllocator, DV.getTag()); in constructVariableDIE()
764 const Loc::Single &Single, const DbgVariable &DV, DIE &VariableDie) { in applyConcreteDbgVariableAttributes()
863 const Loc::Multi &Multi, const DbgVariable &DV, DIE &VariableDie) { in applyConcreteDbgVariableAttributes()
874 DIE &VariableDie) { in applyConcreteDbgVariableAttributes()
934 DIE &VariableDie) { in applyConcreteDbgVariableAttributes()
950 const std::monostate &, const DbgVariable &DV, DIE &VariableDie) {} in applyConcreteDbgVariableAttributes()
952 DIE *DwarfCompileUnit::constructVariableDIE(DbgVariable &DV, in constructVariableDIE()
954 DIE *&ObjectPointer) { in constructVariableDIE()
961 DIE *DwarfCompileUnit::constructLabelDIE(DbgLabel &DL, in constructLabelDIE()
963 auto LabelDie = DIE::get(DIEValueAllocator, DL.getTag()); in constructLabelDIE()
1076 DIE &DwarfCompileUnit::constructSubprogramScopeDIE(const DISubprogram *Sub, in constructSubprogramScopeDIE()
1078 DIE &ScopeDIE = updateSubprogramScopeDIE(Sub); in constructSubprogramScopeDIE()
1086 if (DIE *ObjectPointer = createAndAddScopeChildren(Scope, ScopeDIE)) in constructSubprogramScopeDIE()
1099 DIE::get(DIEValueAllocator, dwarf::DW_TAG_unspecified_parameters)); in constructSubprogramScopeDIE()
1104 DIE *DwarfCompileUnit::createAndAddScopeChildren(LexicalScope *Scope, in createAndAddScopeChildren()
1105 DIE &ScopeDIE) { in createAndAddScopeChildren()
1106 DIE *ObjectPointer = nullptr; in createAndAddScopeChildren()
1158 DIE *ContextDIE; in constructAbstractSubprogramScopeDIE()
1180 DIE &AbsDef = ContextCU->createAndAddDIE(dwarf::DW_TAG_subprogram, in constructAbstractSubprogramScopeDIE()
1191 if (DIE *ObjectPointer = ContextCU->createAndAddScopeChildren(Scope, AbsDef)) in constructAbstractSubprogramScopeDIE()
1246 DIE &DwarfCompileUnit::constructCallSiteEntryDIE(DIE &ScopeDIE, in constructCallSiteEntryDIE()
1253 DIE &CallSiteDIE = createAndAddDIE(getDwarf5OrGNUTag(dwarf::DW_TAG_call_site), in constructCallSiteEntryDIE()
1261 DIE *CalleeDIE = getOrCreateSubprogramDIE(CalleeSP); in constructCallSiteEntryDIE()
1303 DIE &CallSiteDIE, SmallVector<DbgCallSiteParam, 4> &Params) { in constructCallSiteParmEntryDIEs()
1307 DIE::get(DIEValueAllocator, in constructCallSiteParmEntryDIEs()
1326 DIE *DwarfCompileUnit::constructImportedEntityDIE( in constructImportedEntityDIE()
1328 DIE *IMDie = DIE::get(DIEValueAllocator, (dwarf::Tag)Module->getTag()); in constructImportedEntityDIE()
1330 DIE *EntityDie; in constructImportedEntityDIE()
1380 DIE *DwarfCompileUnit::getOrCreateImportedEntityDIE( in getOrCreateImportedEntityDIE()
1384 if (DIE *Die = getDIE(IE)) in getOrCreateImportedEntityDIE()
1387 DIE *ContextDIE = getOrCreateContextDIE(IE->getScope()); in getOrCreateImportedEntityDIE()
1390 DIE *IMDie = constructImportedEntityDIE(IE); in getOrCreateImportedEntityDIE()
1396 DIE *D = getDIE(SP); in finishSubprogramDefinition()
1397 if (DIE *AbsSPDIE = getAbstractScopeDIEs().lookup(SP)) { in finishSubprogramDefinition()
1500 void DwarfCompileUnit::addGlobalName(StringRef Name, const DIE &Die, in addGlobalName()
1521 void DwarfCompileUnit::addGlobalType(const DIType *Ty, const DIE &Die, in addGlobalType()
1541 void DwarfCompileUnit::addVariableAddress(const DbgVariable &DV, DIE &Die, in addVariableAddress()
1551 void DwarfCompileUnit::addAddress(DIE &Die, dwarf::Attribute Attribute, in addAddress()
1576 void DwarfCompileUnit::addComplexAddress(const DIExpression *DIExpr, DIE &Die, in addComplexAddress()
1603 void DwarfCompileUnit::addLocationList(DIE &Die, dwarf::Attribute Attribute, in addLocationList()
1612 DIE &VariableDie) { in applyCommonDbgVariableAttributes()
1631 DIE &LabelDie) { in applyLabelAttributes()
1646 const DISubprogram *SP, DIE &SPDie) { in applySubprogramAttributesToDefinition()
1657 void DwarfCompileUnit::finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) { in finishNonUnitTypeDIE()
1686 DIE &Die = getUnitDie().addChildFront( in createBaseTypeDIEs()
1687 DIE::get(DIEValueAllocator, dwarf::DW_TAG_base_type)); in createBaseTypeDIEs()
1701 DIE *DwarfCompileUnit::getLexicalBlockDIE(const DILexicalBlock *LB) { in getLexicalBlockDIE()
1712 DIE *DwarfCompileUnit::getOrCreateContextDIE(const DIScope *Context) { in getOrCreateContextDIE()