Lines Matching refs:DIE
83 void DwarfCompileUnit::addLabelAddress(DIE &Die, dwarf::Attribute Attribute, in addLabelAddress()
123 void DwarfCompileUnit::addLocalLabelAddress(DIE &Die, in addLocalLabelAddress()
152 DIE *DwarfCompileUnit::getOrCreateGlobalVariableDIE( in getOrCreateGlobalVariableDIE()
155 if (DIE *Die = getDIE(GV)) in getOrCreateGlobalVariableDIE()
164 DIE *ContextDIE = CB ? getOrCreateCommonBlock(CB, GlobalExprs) in getOrCreateGlobalVariableDIE()
168 DIE *VariableDIE = &createAndAddDIE(GV->getTag(), *ContextDIE, GV); in getOrCreateGlobalVariableDIE()
175 DIE *VariableSpecDIE = getOrCreateStaticMemberDIE(SDMDecl); in getOrCreateGlobalVariableDIE()
219 DIE *VariableDIE, const DIGlobalVariable *GV, ArrayRef<GlobalExpr> GlobalExprs) { in addLocationAttribute()
397 DIE *DwarfCompileUnit::getOrCreateCommonBlock( in getOrCreateCommonBlock()
400 if (DIE *NDie = getDIE(CB)) in getOrCreateCommonBlock()
402 DIE *ContextDIE = getOrCreateContextDIE(CB->getScope()); in getOrCreateCommonBlock()
403 DIE &NDie = createAndAddDIE(dwarf::DW_TAG_common_block, *ContextDIE, CB); in getOrCreateCommonBlock()
458 void DwarfCompileUnit::applyStmtList(DIE &D) { in applyStmtList()
464 void DwarfCompileUnit::attachLowHighPC(DIE &D, const MCSymbol *Begin, in attachLowHighPC()
514 DIE &DwarfCompileUnit::updateSubprogramScopeDIE(const DISubprogram *SP) { in updateSubprogramScopeDIE()
515 DIE *SPDie = getOrCreateSubprogramDIE(SP, includeMinimalInlineScopes()); in updateSubprogramScopeDIE()
588 DIE &ParentScopeDIE) { in constructScopeDIE()
601 DIE *ScopeDIE = constructInlinedScopeDIE(Scope, ParentScopeDIE); in constructScopeDIE()
612 DIE *ScopeDIE = constructLexicalScopeDIE(Scope); in constructScopeDIE()
619 void DwarfCompileUnit::addScopeRangeList(DIE &ScopeDIE, in addScopeRangeList()
653 DIE &Die, SmallVector<RangeSpan, 2> Ranges) { in attachRangesOrLowHighPC()
668 DIE &Die, const SmallVectorImpl<InsnRange> &Ranges) { in attachRangesOrLowHighPC()
701 DIE *DwarfCompileUnit::constructInlinedScopeDIE(LexicalScope *Scope, in constructInlinedScopeDIE()
702 DIE &ParentScopeDIE) { in constructInlinedScopeDIE()
708 DIE *OriginDIE = getAbstractScopeDIEs()[InlinedSP]; in constructInlinedScopeDIE()
711 auto ScopeDIE = DIE::get(DIEValueAllocator, dwarf::DW_TAG_inlined_subroutine); in constructInlinedScopeDIE()
738 DIE *DwarfCompileUnit::constructLexicalScopeDIE(LexicalScope *Scope) { in constructLexicalScopeDIE()
743 auto ScopeDIE = DIE::get(DIEValueAllocator, dwarf::DW_TAG_lexical_block); in constructLexicalScopeDIE()
761 DIE *DwarfCompileUnit::constructVariableDIE(DbgVariable &DV, bool Abstract) { in constructVariableDIE()
762 auto *VariableDie = DIE::get(DIEValueAllocator, DV.getTag()); in constructVariableDIE()
779 const Loc::Single &Single, const DbgVariable &DV, DIE &VariableDie) { in applyConcreteDbgVariableAttributes()
878 const Loc::Multi &Multi, const DbgVariable &DV, DIE &VariableDie) { in applyConcreteDbgVariableAttributes()
889 DIE &VariableDie) { in applyConcreteDbgVariableAttributes()
949 DIE &VariableDie) { in applyConcreteDbgVariableAttributes()
965 const std::monostate &, const DbgVariable &DV, DIE &VariableDie) {} in applyConcreteDbgVariableAttributes()
967 DIE *DwarfCompileUnit::constructVariableDIE(DbgVariable &DV, in constructVariableDIE()
969 DIE *&ObjectPointer) { in constructVariableDIE()
976 DIE *DwarfCompileUnit::constructLabelDIE(DbgLabel &DL, in constructLabelDIE()
978 auto LabelDie = DIE::get(DIEValueAllocator, DL.getTag()); in constructLabelDIE()
1091 DIE &DwarfCompileUnit::constructSubprogramScopeDIE(const DISubprogram *Sub, in constructSubprogramScopeDIE()
1093 DIE &ScopeDIE = updateSubprogramScopeDIE(Sub); in constructSubprogramScopeDIE()
1101 if (DIE *ObjectPointer = createAndAddScopeChildren(Scope, ScopeDIE)) in constructSubprogramScopeDIE()
1114 DIE::get(DIEValueAllocator, dwarf::DW_TAG_unspecified_parameters)); in constructSubprogramScopeDIE()
1119 DIE *DwarfCompileUnit::createAndAddScopeChildren(LexicalScope *Scope, in createAndAddScopeChildren()
1120 DIE &ScopeDIE) { in createAndAddScopeChildren()
1121 DIE *ObjectPointer = nullptr; in createAndAddScopeChildren()
1173 DIE *ContextDIE; in constructAbstractSubprogramScopeDIE()
1195 DIE &AbsDef = ContextCU->createAndAddDIE(dwarf::DW_TAG_subprogram, in constructAbstractSubprogramScopeDIE()
1206 if (DIE *ObjectPointer = ContextCU->createAndAddScopeChildren(Scope, AbsDef)) in constructAbstractSubprogramScopeDIE()
1261 DIE &DwarfCompileUnit::constructCallSiteEntryDIE(DIE &ScopeDIE, in constructCallSiteEntryDIE()
1268 DIE &CallSiteDIE = createAndAddDIE(getDwarf5OrGNUTag(dwarf::DW_TAG_call_site), in constructCallSiteEntryDIE()
1276 DIE *CalleeDIE = getOrCreateSubprogramDIE(CalleeSP); in constructCallSiteEntryDIE()
1324 DIE &CallSiteDIE, SmallVector<DbgCallSiteParam, 4> &Params) { in constructCallSiteParmEntryDIEs()
1328 DIE::get(DIEValueAllocator, in constructCallSiteParmEntryDIEs()
1347 DIE *DwarfCompileUnit::constructImportedEntityDIE( in constructImportedEntityDIE()
1349 DIE *IMDie = DIE::get(DIEValueAllocator, (dwarf::Tag)Module->getTag()); in constructImportedEntityDIE()
1351 DIE *EntityDie; in constructImportedEntityDIE()
1401 DIE *DwarfCompileUnit::getOrCreateImportedEntityDIE( in getOrCreateImportedEntityDIE()
1405 if (DIE *Die = getDIE(IE)) in getOrCreateImportedEntityDIE()
1408 DIE *ContextDIE = getOrCreateContextDIE(IE->getScope()); in getOrCreateImportedEntityDIE()
1411 DIE *IMDie = constructImportedEntityDIE(IE); in getOrCreateImportedEntityDIE()
1417 DIE *D = getDIE(SP); in finishSubprogramDefinition()
1418 if (DIE *AbsSPDIE = getAbstractScopeDIEs().lookup(SP)) { in finishSubprogramDefinition()
1521 void DwarfCompileUnit::addGlobalName(StringRef Name, const DIE &Die, in addGlobalName()
1542 void DwarfCompileUnit::addGlobalTypeImpl(const DIType *Ty, const DIE &Die, in addGlobalTypeImpl()
1562 void DwarfCompileUnit::addVariableAddress(const DbgVariable &DV, DIE &Die, in addVariableAddress()
1572 void DwarfCompileUnit::addAddress(DIE &Die, dwarf::Attribute Attribute, in addAddress()
1597 void DwarfCompileUnit::addComplexAddress(const DIExpression *DIExpr, DIE &Die, in addComplexAddress()
1624 void DwarfCompileUnit::addLocationList(DIE &Die, dwarf::Attribute Attribute, in addLocationList()
1633 DIE &VariableDie) { in applyCommonDbgVariableAttributes()
1652 DIE &LabelDie) { in applyLabelAttributes()
1667 const DISubprogram *SP, DIE &SPDie) { in applySubprogramAttributesToDefinition()
1678 void DwarfCompileUnit::finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) { in finishNonUnitTypeDIE()
1707 DIE &Die = getUnitDie().addChildFront( in createBaseTypeDIEs()
1708 DIE::get(DIEValueAllocator, dwarf::DW_TAG_base_type)); in createBaseTypeDIEs()
1722 DIE *DwarfCompileUnit::getLexicalBlockDIE(const DILexicalBlock *LB) { in getLexicalBlockDIE()
1733 DIE *DwarfCompileUnit::getOrCreateContextDIE(const DIScope *Context) { in getOrCreateContextDIE()