Lines Matching refs:CU

149   for (auto *CU : M.debug_compile_units())  in processModule()  local
150 processCompileUnit(CU); in processModule()
162 void DebugInfoFinder::processCompileUnit(DICompileUnit *CU) { in processCompileUnit() argument
163 if (!addCompileUnit(CU)) in processCompileUnit()
165 for (auto DIG : CU->getGlobalVariables()) { in processCompileUnit()
172 for (auto *ET : CU->getEnumTypes()) in processCompileUnit()
174 for (auto *RT : CU->getRetainedTypes()) in processCompileUnit()
179 for (auto *Import : CU->getImportedEntities()) { in processCompileUnit()
239 if (auto *CU = dyn_cast<DICompileUnit>(Scope)) { in processScope() local
240 addCompileUnit(CU); in processScope()
308 bool DebugInfoFinder::addCompileUnit(DICompileUnit *CU) { in addCompileUnit() argument
309 if (!CU) in addCompileUnit()
311 if (!NodesSeen.insert(CU).second) in addCompileUnit()
314 CUs.push_back(CU); in addCompileUnit()
597 DICompileUnit *getReplacementCU(DICompileUnit *CU) { in getReplacementCU() argument
599 if (CU->getDWOId()) in getReplacementCU()
602 auto *File = cast_or_null<DIFile>(map(CU->getFile())); in getReplacementCU()
608 CU->getContext(), CU->getSourceLanguage(), File, CU->getProducer(), in getReplacementCU()
609 CU->isOptimized(), CU->getFlags(), CU->getRuntimeVersion(), in getReplacementCU()
610 CU->getSplitDebugFilename(), DICompileUnit::LineTablesOnly, EnumTypes, in getReplacementCU()
611 RetainedTypes, GlobalVariables, ImportedEntities, CU->getMacros(), in getReplacementCU()
612 CU->getDWOId(), CU->getSplitDebugInlining(), in getReplacementCU()
613 CU->getDebugInfoForProfiling(), CU->getNameTableKind(), in getReplacementCU()
614 CU->getRangesBaseAddress(), CU->getSysRoot(), CU->getSDK()); in getReplacementCU()
652 if (auto *CU = dyn_cast<DICompileUnit>(N)) in remap() local
653 return getReplacementCU(CU); in remap()