Lines Matching refs:TheCU

1090 void DwarfDebug::constructAndAddImportedEntityDIE(DwarfCompileUnit &TheCU,  in constructAndAddImportedEntityDIE()  argument
1094 if (DIE *D = TheCU.getOrCreateContextDIE(N->getScope())) in constructAndAddImportedEntityDIE()
1095 D->addChild(TheCU.constructImportedEntityDIE(N)); in constructAndAddImportedEntityDIE()
1265 auto &TheCU = *P.second; in finalizeModuleInfo() local
1266 if (TheCU.getCUNode()->isDebugDirectivesOnly()) in finalizeModuleInfo()
1270 TheCU.constructContainingTypeDIEs(); in finalizeModuleInfo()
1275 auto *SkCU = TheCU.getSkeleton(); in finalizeModuleInfo()
1277 bool HasSplitUnit = SkCU && !TheCU.getUnitDie().children().empty(); in finalizeModuleInfo()
1283 finishUnitAttributes(TheCU.getCUNode(), TheCU); in finalizeModuleInfo()
1284 TheCU.addString(TheCU.getUnitDie(), attrDWOName, in finalizeModuleInfo()
1290 DIEHash(Asm, &TheCU).computeCUSignature(DWOName, TheCU.getUnitDie()); in finalizeModuleInfo()
1292 TheCU.setDWOId(ID); in finalizeModuleInfo()
1295 TheCU.addUInt(TheCU.getUnitDie(), dwarf::DW_AT_GNU_dwo_id, in finalizeModuleInfo()
1316 DwarfCompileUnit &U = SkCU ? *SkCU : TheCU; in finalizeModuleInfo()
1318 if (unsigned NumRanges = TheCU.getRanges().size()) { in finalizeModuleInfo()
1326 U.setBaseAddress(TheCU.getRanges().front().Begin); in finalizeModuleInfo()
1327 U.attachRangesOrLowHighPC(U.getUnitDie(), TheCU.takeRanges()); in finalizeModuleInfo()
1353 TheCU.addSectionDelta( in finalizeModuleInfo()
1354 TheCU.getUnitDie(), dwarf::DW_AT_macros, U.getMacroLabelBegin(), in finalizeModuleInfo()
1365 TheCU.addSectionDelta( in finalizeModuleInfo()
1366 TheCU.getUnitDie(), dwarf::DW_AT_macro_info, in finalizeModuleInfo()
1491 DwarfCompileUnit &TheCU, DenseSet<InlinedEntity> &Processed) { in collectVariableInfoFromMFTable() argument
1511 ensureAbstractEntityIsCreatedIfScoped(TheCU, Var.first, Scope->getScopeNode()); in collectVariableInfoFromMFTable()
1726 DbgEntity *DwarfDebug::createConcreteEntity(DwarfCompileUnit &TheCU, in createConcreteEntity() argument
1731 ensureAbstractEntityIsCreatedIfScoped(TheCU, Node, Scope.getScopeNode()); in createConcreteEntity()
1749 void DwarfDebug::collectEntityInfo(DwarfCompileUnit &TheCU, in collectEntityInfo() argument
1753 collectVariableInfoFromMFTable(TheCU, Processed); in collectEntityInfo()
1776 DbgVariable *RegVar = cast<DbgVariable>(createConcreteEntity(TheCU, in collectEntityInfo()
1802 DebugLocStream::ListBuilder List(DebugLocs, TheCU, *Asm, *RegVar, *MInsn); in collectEntityInfo()
1824 Entry.finalize(*Asm, List, BT, TheCU); in collectEntityInfo()
1854 createConcreteEntity(TheCU, *Scope, Label, IL.second, Sym); in collectEntityInfo()
1869 createConcreteEntity(TheCU, *Scope, DN, nullptr); in collectEntityInfo()
2094 DwarfCompileUnit &TheCU = *CUMap.lookup(SP->getUnit()); in endFunctionImpl() local
2095 if (TheCU.getCUNode()->isDebugDirectivesOnly()) { in endFunctionImpl()
2102 collectEntityInfo(TheCU, SP, Processed); in endFunctionImpl()
2107 TheCU.addRange({R.second.BeginLabel, R.second.EndLabel}); in endFunctionImpl()
2112 if (!TheCU.getCUNode()->getDebugInfoForProfiling() && in endFunctionImpl()
2113 TheCU.getCUNode()->getEmissionKind() == DICompileUnit::LineTablesOnly && in endFunctionImpl()
2140 ensureAbstractEntityIsCreated(TheCU, DN, Scope); in endFunctionImpl()
2144 constructAbstractSubprogramScopeDIE(TheCU, AScope); in endFunctionImpl()
2148 DIE &ScopeDIE = TheCU.constructSubprogramScopeDIE(SP, FnScope); in endFunctionImpl()
2149 if (auto *SkelCU = TheCU.getSkeleton()) in endFunctionImpl()
2151 TheCU.getCUNode()->getSplitDebugInlining()) in endFunctionImpl()
2155 constructCallSiteEntryDIEs(*SP, TheCU, ScopeDIE, *MF); in endFunctionImpl()
2504 DwarfCompileUnit &TheCU) { in finalize() argument
2510 DebugLocDwarfExpression DwarfExpr(AP.getDwarfVersion(), Streamer, TheCU); in finalize()
3083 auto &TheCU = *P.second; in emitDebugMacinfoImpl() local
3084 auto *SkCU = TheCU.getSkeleton(); in emitDebugMacinfoImpl()
3085 DwarfCompileUnit &U = SkCU ? *SkCU : TheCU; in emitDebugMacinfoImpl()