Lines Matching refs:CU

196   for (auto *CU : M.debug_compile_units())  in processModule()  local
197 processCompileUnit(CU); in processModule()
209 void DebugInfoFinder::processCompileUnit(DICompileUnit *CU) { in processCompileUnit() argument
210 if (!addCompileUnit(CU)) in processCompileUnit()
212 for (auto *DIG : CU->getGlobalVariables()) { in processCompileUnit()
219 for (auto *ET : CU->getEnumTypes()) in processCompileUnit()
221 for (auto *RT : CU->getRetainedTypes()) in processCompileUnit()
226 for (auto *Import : CU->getImportedEntities()) { in processCompileUnit()
295 if (auto *CU = dyn_cast<DICompileUnit>(Scope)) { in processScope() local
296 addCompileUnit(CU); in processScope()
356 bool DebugInfoFinder::addCompileUnit(DICompileUnit *CU) { in addCompileUnit() argument
357 if (!CU) in addCompileUnit()
359 if (!NodesSeen.insert(CU).second) in addCompileUnit()
362 CUs.push_back(CU); in addCompileUnit()
712 DICompileUnit *getReplacementCU(DICompileUnit *CU) { in getReplacementCU() argument
714 if (CU->getDWOId()) in getReplacementCU()
717 auto *File = cast_or_null<DIFile>(map(CU->getFile())); in getReplacementCU()
723 CU->getContext(), CU->getSourceLanguage(), File, CU->getProducer(), in getReplacementCU()
724 CU->isOptimized(), CU->getFlags(), CU->getRuntimeVersion(), in getReplacementCU()
725 CU->getSplitDebugFilename(), DICompileUnit::LineTablesOnly, EnumTypes, in getReplacementCU()
726 RetainedTypes, GlobalVariables, ImportedEntities, CU->getMacros(), in getReplacementCU()
727 CU->getDWOId(), CU->getSplitDebugInlining(), in getReplacementCU()
728 CU->getDebugInfoForProfiling(), CU->getNameTableKind(), in getReplacementCU()
729 CU->getRangesBaseAddress(), CU->getSysRoot(), CU->getSDK()); in getReplacementCU()
767 if (auto *CU = dyn_cast<DICompileUnit>(N)) in remap() local
768 return getReplacementCU(CU); in remap()