Lines Matching refs:CU
192 for (auto *CU : M.debug_compile_units()) in processModule() local
193 processCompileUnit(CU); in processModule()
205 void DebugInfoFinder::processCompileUnit(DICompileUnit *CU) { in processCompileUnit() argument
206 if (!addCompileUnit(CU)) in processCompileUnit()
208 for (auto *DIG : CU->getGlobalVariables()) { in processCompileUnit()
215 for (auto *ET : CU->getEnumTypes()) in processCompileUnit()
217 for (auto *RT : CU->getRetainedTypes()) in processCompileUnit()
222 for (auto *Import : CU->getImportedEntities()) { in processCompileUnit()
290 if (auto *CU = dyn_cast<DICompileUnit>(Scope)) { in processScope() local
291 addCompileUnit(CU); in processScope()
351 bool DebugInfoFinder::addCompileUnit(DICompileUnit *CU) { in addCompileUnit() argument
352 if (!CU) in addCompileUnit()
354 if (!NodesSeen.insert(CU).second) in addCompileUnit()
357 CUs.push_back(CU); in addCompileUnit()
707 DICompileUnit *getReplacementCU(DICompileUnit *CU) { in getReplacementCU() argument
709 if (CU->getDWOId()) in getReplacementCU()
712 auto *File = cast_or_null<DIFile>(map(CU->getFile())); in getReplacementCU()
718 CU->getContext(), CU->getSourceLanguage(), File, CU->getProducer(), in getReplacementCU()
719 CU->isOptimized(), CU->getFlags(), CU->getRuntimeVersion(), in getReplacementCU()
720 CU->getSplitDebugFilename(), DICompileUnit::LineTablesOnly, EnumTypes, in getReplacementCU()
721 RetainedTypes, GlobalVariables, ImportedEntities, CU->getMacros(), in getReplacementCU()
722 CU->getDWOId(), CU->getSplitDebugInlining(), in getReplacementCU()
723 CU->getDebugInfoForProfiling(), CU->getNameTableKind(), in getReplacementCU()
724 CU->getRangesBaseAddress(), CU->getSysRoot(), CU->getSDK()); in getReplacementCU()
762 if (auto *CU = dyn_cast<DICompileUnit>(N)) in remap() local
763 return getReplacementCU(CU); in remap()