Lines Matching refs:DIE
67 void DwarfCompileUnit::addLabelAddress(DIE &Die, dwarf::Attribute Attribute, in addLabelAddress()
107 void DwarfCompileUnit::addLocalLabelAddress(DIE &Die, in addLocalLabelAddress()
136 DIE *DwarfCompileUnit::getOrCreateGlobalVariableDIE( in getOrCreateGlobalVariableDIE()
139 if (DIE *Die = getDIE(GV)) in getOrCreateGlobalVariableDIE()
148 DIE *ContextDIE = CB ? getOrCreateCommonBlock(CB, GlobalExprs) in getOrCreateGlobalVariableDIE()
152 DIE *VariableDIE = &createAndAddDIE(GV->getTag(), *ContextDIE, GV); in getOrCreateGlobalVariableDIE()
159 DIE *VariableSpecDIE = getOrCreateStaticMemberDIE(SDMDecl); in getOrCreateGlobalVariableDIE()
203 DIE *VariableDIE, const DIGlobalVariable *GV, ArrayRef<GlobalExpr> GlobalExprs) { in addLocationAttribute()
362 DIE *DwarfCompileUnit::getOrCreateCommonBlock( in getOrCreateCommonBlock()
365 if (DIE *NDie = getDIE(CB)) in getOrCreateCommonBlock()
367 DIE *ContextDIE = getOrCreateContextDIE(CB->getScope()); in getOrCreateCommonBlock()
368 DIE &NDie = createAndAddDIE(dwarf::DW_TAG_common_block, *ContextDIE, CB); in getOrCreateCommonBlock()
423 void DwarfCompileUnit::applyStmtList(DIE &D) { in applyStmtList()
429 void DwarfCompileUnit::attachLowHighPC(DIE &D, const MCSymbol *Begin, in attachLowHighPC()
446 DIE &DwarfCompileUnit::updateSubprogramScopeDIE(const DISubprogram *SP) { in updateSubprogramScopeDIE()
447 DIE *SPDie = getOrCreateSubprogramDIE(SP, includeMinimalInlineScopes()); in updateSubprogramScopeDIE()
537 DIE &ParentScopeDIE) { in constructScopeDIE()
550 DIE *ScopeDIE = constructInlinedScopeDIE(Scope); in constructScopeDIE()
564 DIE *ScopeDIE = constructLexicalScopeDIE(Scope); in constructScopeDIE()
571 void DwarfCompileUnit::addScopeRangeList(DIE &ScopeDIE, in addScopeRangeList()
605 DIE &Die, SmallVector<RangeSpan, 2> Ranges) { in attachRangesOrLowHighPC()
620 DIE &Die, const SmallVectorImpl<InsnRange> &Ranges) { in attachRangesOrLowHighPC()
655 DIE *DwarfCompileUnit::constructInlinedScopeDIE(LexicalScope *Scope) { in constructInlinedScopeDIE()
661 DIE *OriginDIE = getAbstractSPDies()[InlinedSP]; in constructInlinedScopeDIE()
664 auto ScopeDIE = DIE::get(DIEValueAllocator, dwarf::DW_TAG_inlined_subroutine); in constructInlinedScopeDIE()
689 DIE *DwarfCompileUnit::constructLexicalScopeDIE(LexicalScope *Scope) { in constructLexicalScopeDIE()
693 auto ScopeDIE = DIE::get(DIEValueAllocator, dwarf::DW_TAG_lexical_block); in constructLexicalScopeDIE()
703 DIE *DwarfCompileUnit::constructVariableDIE(DbgVariable &DV, bool Abstract) { in constructVariableDIE()
709 DIE *DwarfCompileUnit::constructLabelDIE(DbgLabel &DL, in constructLabelDIE()
711 auto LabelDie = DIE::get(DIEValueAllocator, DL.getTag()); in constructLabelDIE()
721 DIE *DwarfCompileUnit::constructVariableDIEImpl(const DbgVariable &DV, in constructVariableDIEImpl()
724 auto VariableDie = DIE::get(DIEValueAllocator, DV.getTag()); in constructVariableDIEImpl()
906 DIE *DwarfCompileUnit::constructVariableDIE(DbgVariable &DV, in constructVariableDIE()
908 DIE *&ObjectPointer) { in constructVariableDIE()
1018 DIE &DwarfCompileUnit::constructSubprogramScopeDIE(const DISubprogram *Sub, in constructSubprogramScopeDIE()
1020 DIE &ScopeDIE = updateSubprogramScopeDIE(Sub); in constructSubprogramScopeDIE()
1028 if (DIE *ObjectPointer = createAndAddScopeChildren(Scope, ScopeDIE)) in constructSubprogramScopeDIE()
1041 DIE::get(DIEValueAllocator, dwarf::DW_TAG_unspecified_parameters)); in constructSubprogramScopeDIE()
1046 DIE *DwarfCompileUnit::createAndAddScopeChildren(LexicalScope *Scope, in createAndAddScopeChildren()
1047 DIE &ScopeDIE) { in createAndAddScopeChildren()
1048 DIE *ObjectPointer = nullptr; in createAndAddScopeChildren()
1096 DIE *&AbsDef = getAbstractSPDies()[Scope->getScopeNode()]; in constructAbstractSubprogramScopeDIE()
1102 DIE *ContextDIE; in constructAbstractSubprogramScopeDIE()
1130 if (DIE *ObjectPointer = ContextCU->createAndAddScopeChildren(Scope, *AbsDef)) in constructAbstractSubprogramScopeDIE()
1185 DIE &DwarfCompileUnit::constructCallSiteEntryDIE(DIE &ScopeDIE, in constructCallSiteEntryDIE()
1192 DIE &CallSiteDIE = createAndAddDIE(getDwarf5OrGNUTag(dwarf::DW_TAG_call_site), in constructCallSiteEntryDIE()
1200 DIE *CalleeDIE = getOrCreateSubprogramDIE(CalleeSP); in constructCallSiteEntryDIE()
1242 DIE &CallSiteDIE, SmallVector<DbgCallSiteParam, 4> &Params) { in constructCallSiteParmEntryDIEs()
1246 DIE::get(DIEValueAllocator, in constructCallSiteParmEntryDIEs()
1265 DIE *DwarfCompileUnit::constructImportedEntityDIE( in constructImportedEntityDIE()
1267 DIE *IMDie = DIE::get(DIEValueAllocator, (dwarf::Tag)Module->getTag()); in constructImportedEntityDIE()
1269 DIE *EntityDie; in constructImportedEntityDIE()
1304 DIE *D = getDIE(SP); in finishSubprogramDefinition()
1305 if (DIE *AbsSPDIE = getAbstractSPDies().lookup(SP)) { in finishSubprogramDefinition()
1397 void DwarfCompileUnit::addGlobalName(StringRef Name, const DIE &Die, in addGlobalName()
1418 void DwarfCompileUnit::addGlobalType(const DIType *Ty, const DIE &Die, in addGlobalType()
1438 void DwarfCompileUnit::addVariableAddress(const DbgVariable &DV, DIE &Die, in addVariableAddress()
1447 void DwarfCompileUnit::addAddress(DIE &Die, dwarf::Attribute Attribute, in addAddress()
1472 void DwarfCompileUnit::addComplexAddress(const DbgVariable &DV, DIE &Die, in addComplexAddress()
1500 void DwarfCompileUnit::addLocationList(DIE &Die, dwarf::Attribute Attribute, in addLocationList()
1509 DIE &VariableDie) { in applyVariableAttributes()
1528 DIE &LabelDie) { in applyLabelAttributes()
1543 const DISubprogram *SP, DIE &SPDie) { in applySubprogramAttributesToDefinition()
1554 void DwarfCompileUnit::finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) { in finishNonUnitTypeDIE()
1583 DIE &Die = getUnitDie().addChildFront( in createBaseTypeDIEs()
1584 DIE::get(DIEValueAllocator, dwarf::DW_TAG_base_type)); in createBaseTypeDIEs()