Lines Matching defs:CombinedIndex
601 : Backend(std::move(BackendParam)), CombinedIndex(/*HaveGVs*/ false) {
762 ThinLTO.CombinedIndex.setPartiallySplitLTOUnits();
799 if (Error Err = BM.readSummary(ThinLTO.CombinedIndex, ""))
997 if (LivenessFromIndex && !ThinLTO.CombinedIndex.isGUIDLive(GV->getGUID())) {
1048 BM.readSummary(ThinLTO.CombinedIndex, BM.getModuleIdentifier(),
1072 if (auto S = ThinLTO.CombinedIndex.findSummaryInModule(
1080 if (auto S = ThinLTO.CombinedIndex.findSummaryInModule(
1120 if (!ThinLTO.CombinedIndex.partiallySplitLTOUnits())
1143 for (auto &P : ThinLTO.CombinedIndex) {
1190 computeDeadSymbolsWithConstProp(ThinLTO.CombinedIndex, GUIDPreservedSymbols,
1205 ThinLTO.CombinedIndex.setWithSupportsHotColdNew();
1304 updateMemProfAttributes(*RegularLTO.CombinedModule, ThinLTO.CombinedIndex);
1375 *RegularLTO.CombinedModule, ThinLTO.CombinedIndex))
1406 writeIndexToFile(CombinedIndex, OS, &ModuleToSummariesForIndex,
1430 const Config &Conf, ModuleSummaryIndex &CombinedIndex,
1435 : ThinBackendProc(Conf, CombinedIndex, ModuleToDefinedGVSummaries,
1439 for (auto &Name : CombinedIndex.cfiFunctionDefs())
1442 for (auto &Name : CombinedIndex.cfiFunctionDecls())
1449 ModuleSummaryIndex &CombinedIndex,
1461 return thinBackend(Conf, Task, AddStream, **MOrErr, CombinedIndex,
1473 if (!Cache.isValid() || !CombinedIndex.modulePaths().count(ModuleID) ||
1474 all_of(CombinedIndex.getModuleHash(ModuleID),
1482 Conf, CombinedIndex, ModuleID, ImportList, ExportList, ResolvedODR,
1505 [=](BitcodeModule BM, ModuleSummaryIndex &CombinedIndex,
1516 AddStream, Cache, Task, BM, CombinedIndex, ImportList, ExportList,
1528 BM, std::ref(CombinedIndex), std::ref(ImportList), std::ref(ExportList),
1548 const Config &Conf, ModuleSummaryIndex &CombinedIndex,
1553 : InProcessThinBackend(Conf, CombinedIndex, ThinLTOParallelism,
1562 BitcodeModule BM, ModuleSummaryIndex &CombinedIndex,
1575 return thinBackend(Conf, Task, CGAddStream, **MOrErr, CombinedIndex,
1591 if (!CGCache.isValid() || !CombinedIndex.modulePaths().count(ModuleID) ||
1592 all_of(CombinedIndex.getModuleHash(ModuleID),
1600 Conf, CombinedIndex, ModuleID, ImportList, ExportList, ResolvedODR,
1642 const Config &Conf, ModuleSummaryIndex &CombinedIndex,
1648 : InProcessThinBackend(Conf, CombinedIndex, ThinLTOParallelism,
1658 ModuleSummaryIndex &CombinedIndex,
1669 return thinBackend(Conf, Task, AddStream, *LoadedModule, CombinedIndex,
1675 if (!Cache.isValid() || !CombinedIndex.modulePaths().count(ModuleID) ||
1676 all_of(CombinedIndex.getModuleHash(ModuleID),
1685 Conf, CombinedIndex, ModuleID, ImportList, ExportList, ResolvedODR,
1710 [=](const Config &Conf, ModuleSummaryIndex &CombinedIndex,
1714 Conf, CombinedIndex, Parallelism, ModuleToDefinedGVSummaries,
1762 const Config &Conf, ModuleSummaryIndex &CombinedIndex,
1768 : ThinBackendProc(Conf, CombinedIndex, ModuleToDefinedGVSummaries,
1831 [=](const Config &Conf, ModuleSummaryIndex &CombinedIndex,
1835 Conf, CombinedIndex, Parallelism, ModuleToDefinedGVSummaries,
1845 ThinLTO.CombinedIndex.releaseTemporaryMemory();
1860 !Conf.CombinedIndexHook(ThinLTO.CombinedIndex, GUIDPreservedSymbols))
1867 ThinLTO.CombinedIndex.collectDefinedGVSummariesPerModule(
1886 ThinLTO.CombinedIndex.dumpSCCs(outs());
1896 ThinLTO.CombinedIndex.setWithWholeProgramVisibility();
1912 getVisibleToRegularObjVtableGUIDs(ThinLTO.CombinedIndex,
1920 ThinLTO.CombinedIndex, WholeProgramVisibilityEnabledInLTO,
1927 runWholeProgramDevirtOnIndex(ThinLTO.CombinedIndex, ExportedGUIDs,
1935 ContextDisambiguation.run(ThinLTO.CombinedIndex, isPrevailing);
1951 if (ThinLTO.CombinedIndex.isGUIDLive(GUID))
1962 ComputeCrossModuleImport(ThinLTO.CombinedIndex, ModuleToDefinedGVSummaries,
1967 for (auto &Def : ThinLTO.CombinedIndex.cfiFunctionDefs())
1970 for (auto &Decl : ThinLTO.CombinedIndex.cfiFunctionDecls())
1982 updateIndexWPDForExports(ThinLTO.CombinedIndex, isExported,
1985 thinLTOInternalizeAndPromoteInIndex(ThinLTO.CombinedIndex, isExported,
1993 thinLTOResolvePrevailingInIndex(Conf, ThinLTO.CombinedIndex, isPrevailing,
1996 thinLTOPropagateFunctionAttrs(ThinLTO.CombinedIndex, isPrevailing);
1998 generateParamAccessSummary(ThinLTO.CombinedIndex);
2047 ThinLTO.Backend(Conf, ThinLTO.CombinedIndex, ModuleToDefinedGVSummaries,
2070 Conf, ThinLTO.CombinedIndex, Parallelism, ModuleToDefinedGVSummaries,
2086 Conf, ThinLTO.CombinedIndex, Parallelism, ModuleToDefinedGVSummaries,