Lines Matching refs:TheCU

1106 void DwarfDebug::constructAndAddImportedEntityDIE(DwarfCompileUnit &TheCU,  in constructAndAddImportedEntityDIE()  argument
1110 if (DIE *D = TheCU.getOrCreateContextDIE(N->getScope())) in constructAndAddImportedEntityDIE()
1111 D->addChild(TheCU.constructImportedEntityDIE(N)); in constructAndAddImportedEntityDIE()
1280 auto &TheCU = *P.second; in finalizeModuleInfo() local
1281 if (TheCU.getCUNode()->isDebugDirectivesOnly()) in finalizeModuleInfo()
1285 TheCU.constructContainingTypeDIEs(); in finalizeModuleInfo()
1290 auto *SkCU = TheCU.getSkeleton(); in finalizeModuleInfo()
1292 bool HasSplitUnit = SkCU && !TheCU.getUnitDie().children().empty(); in finalizeModuleInfo()
1298 finishUnitAttributes(TheCU.getCUNode(), TheCU); in finalizeModuleInfo()
1299 TheCU.addString(TheCU.getUnitDie(), attrDWOName, in finalizeModuleInfo()
1305 DIEHash(Asm, &TheCU).computeCUSignature(DWOName, TheCU.getUnitDie()); in finalizeModuleInfo()
1307 TheCU.setDWOId(ID); in finalizeModuleInfo()
1310 TheCU.addUInt(TheCU.getUnitDie(), dwarf::DW_AT_GNU_dwo_id, in finalizeModuleInfo()
1331 DwarfCompileUnit &U = SkCU ? *SkCU : TheCU; in finalizeModuleInfo()
1333 if (unsigned NumRanges = TheCU.getRanges().size()) { in finalizeModuleInfo()
1341 U.setBaseAddress(TheCU.getRanges().front().Begin); in finalizeModuleInfo()
1342 U.attachRangesOrLowHighPC(U.getUnitDie(), TheCU.takeRanges()); in finalizeModuleInfo()
1368 TheCU.addSectionDelta( in finalizeModuleInfo()
1369 TheCU.getUnitDie(), dwarf::DW_AT_macros, U.getMacroLabelBegin(), in finalizeModuleInfo()
1380 TheCU.addSectionDelta( in finalizeModuleInfo()
1381 TheCU.getUnitDie(), dwarf::DW_AT_macro_info, in finalizeModuleInfo()
1510 DwarfCompileUnit &TheCU, DenseSet<InlinedEntity> &Processed) { in collectVariableInfoFromMFTable() argument
1530 ensureAbstractEntityIsCreatedIfScoped(TheCU, Var.first, Scope->getScopeNode()); in collectVariableInfoFromMFTable()
1807 DbgEntity *DwarfDebug::createConcreteEntity(DwarfCompileUnit &TheCU, in createConcreteEntity() argument
1812 ensureAbstractEntityIsCreatedIfScoped(TheCU, Node, Scope.getScopeNode()); in createConcreteEntity()
1830 void DwarfDebug::collectEntityInfo(DwarfCompileUnit &TheCU, in collectEntityInfo() argument
1834 collectVariableInfoFromMFTable(TheCU, Processed); in collectEntityInfo()
1860 DbgVariable *RegVar = cast<DbgVariable>(createConcreteEntity(TheCU, in collectEntityInfo()
1886 DebugLocStream::ListBuilder List(DebugLocs, TheCU, *Asm, *RegVar, *MInsn); in collectEntityInfo()
1908 Entry.finalize(*Asm, List, BT, TheCU); in collectEntityInfo()
1938 createConcreteEntity(TheCU, *Scope, Label, IL.second, Sym); in collectEntityInfo()
1953 createConcreteEntity(TheCU, *Scope, DN, nullptr); in collectEntityInfo()
2206 DwarfCompileUnit &TheCU = *CUMap.lookup(SP->getUnit()); in endFunctionImpl() local
2207 if (TheCU.getCUNode()->isDebugDirectivesOnly()) { in endFunctionImpl()
2214 collectEntityInfo(TheCU, SP, Processed); in endFunctionImpl()
2219 TheCU.addRange({R.second.BeginLabel, R.second.EndLabel}); in endFunctionImpl()
2224 if (!TheCU.getCUNode()->getDebugInfoForProfiling() && in endFunctionImpl()
2225 TheCU.getCUNode()->getEmissionKind() == DICompileUnit::LineTablesOnly && in endFunctionImpl()
2252 ensureAbstractEntityIsCreated(TheCU, DN, Scope); in endFunctionImpl()
2256 constructAbstractSubprogramScopeDIE(TheCU, AScope); in endFunctionImpl()
2260 DIE &ScopeDIE = TheCU.constructSubprogramScopeDIE(SP, FnScope); in endFunctionImpl()
2261 if (auto *SkelCU = TheCU.getSkeleton()) in endFunctionImpl()
2263 TheCU.getCUNode()->getSplitDebugInlining()) in endFunctionImpl()
2267 constructCallSiteEntryDIEs(*SP, TheCU, ScopeDIE, *MF); in endFunctionImpl()
2653 DwarfCompileUnit &TheCU) { in finalize() argument
2659 DebugLocDwarfExpression DwarfExpr(AP.getDwarfVersion(), Streamer, TheCU); in finalize()
3239 auto &TheCU = *P.second; in emitDebugMacinfoImpl() local
3240 auto *SkCU = TheCU.getSkeleton(); in emitDebugMacinfoImpl()
3241 DwarfCompileUnit &U = SkCU ? *SkCU : TheCU; in emitDebugMacinfoImpl()