Lines Matching refs:CU

1199                          const DebugMapObject &DMO, CompileUnit &CU,
1234 const DebugMapObject &DMO, CompileUnit &CU,
1467 auto CU = in getUnitForOffset() local
1472 return CU != Units.end() ? &*CU : nullptr; in getUnitForOffset()
1756 unsigned ParentIdx, CompileUnit &CU, in analyzeContextInfo() argument
1761 unsigned MyIdx = CU.getOrigUnit().getDIEIndex(DIE); in analyzeContextInfo()
1762 CompileUnit::DIEInfo &Info = CU.getInfo(MyIdx); in analyzeContextInfo()
1777 DIE->getAttributeValueAsString(&CU.getOrigUnit(), dwarf::DW_AT_name, in analyzeContextInfo()
1778 "") != CU.getClangModuleName()) { in analyzeContextInfo()
1783 bool InClangModule = CU.isClangModule() || InImportedModule; in analyzeContextInfo()
1784 if (CU.hasODR() || InClangModule) { in analyzeContextInfo()
1787 *CurrentDeclContext, DIE, CU, StringPool, InClangModule); in analyzeContextInfo()
1799 Info.Prune &= analyzeContextInfo(Child, MyIdx, CU, CurrentDeclContext, in analyzeContextInfo()
1807 &CU.getOrigUnit(), dwarf::DW_AT_declaration, 0); in analyzeContextInfo()
2149 CompileUnit &CU, bool UseODR) { in keepDIEAndDependencies() argument
2150 const DWARFUnit &Unit = CU.getOrigUnit(); in keepDIEAndDependencies()
2155 while (!CU.getInfo(AncestorIdx).Keep) { in keepDIEAndDependencies()
2157 lookForDIEsToKeep(RelocMgr, *Unit.getDIEAtIndex(AncestorIdx), DMO, CU, in keepDIEAndDependencies()
2159 AncestorIdx = CU.getInfo(AncestorIdx).ParentIdx; in keepDIEAndDependencies()
2223 const DebugMapObject &DMO, CompileUnit &CU, in lookForDIEsToKeep() argument
2225 unsigned Idx = CU.getOrigUnit().getDIEIndex(&Die); in lookForDIEsToKeep()
2226 CompileUnit::DIEInfo &MyInfo = CU.getInfo(Idx); in lookForDIEsToKeep()
2240 Flags = shouldKeepDIE(RelocMgr, Die, CU, MyInfo, Flags); in lookForDIEsToKeep()
2244 bool UseOdr = (Flags & TF_DependencyWalk) ? (Flags & TF_ODR) : CU.hasODR(); in lookForDIEsToKeep()
2245 keepDIEAndDependencies(RelocMgr, Die, MyInfo, DMO, CU, UseOdr); in lookForDIEsToKeep()
2261 lookForDIEsToKeep(RelocMgr, *Child, DMO, CU, Flags); in lookForDIEsToKeep()
3250 for (const auto &CU : DwarfContext.compile_units()) { in loadClangModule() local
3251 auto *CUDie = CU->getUnitDIE(false); in loadClangModule()
3253 if (!registerModuleReference(*CUDie, *CU, ModuleMap, Indent)) { in loadClangModule()
3259 if (getDwoId(*CUDie, *CU) != DwoId) in loadClangModule()
3265 Unit = llvm::make_unique<CompileUnit>(*CU, UnitID++, !Options.NoODR, in loadClangModule()
3356 for (const auto &CU : DwarfContext.compile_units()) { in link() local
3357 auto *CUDie = CU->getUnitDIE(false); in link()
3360 CUDie->dump(outs(), CU.get(), 0); in link()
3363 if (!registerModuleReference(*CUDie, *CU, ModuleMap)) in link()
3364 Units.emplace_back(*CU, UnitID++, !Options.NoODR, ""); in link()