| /llvm-project-15.0.7/llvm/lib/LTO/ |
| H A D | LTO.cpp | 964 if (!ThinLTO.CombinedIndex.partiallySplitLTOUnits()) in checkPartiallySplit() 982 for (auto &P : ThinLTO.CombinedIndex) { in checkPartiallySplit() 1164 ModuleSummaryIndex &CombinedIndex; member in lto::ThinBackendProc 1173 : Conf(Conf), CombinedIndex(CombinedIndex), in ThinBackendProc() 1246 ModuleSummaryIndex &CombinedIndex, in runThinLTOBackendThread() argument 1270 all_of(CombinedIndex.getModuleHash(ModuleID), in runThinLTOBackendThread() 1474 computeSyntheticCounts(ThinLTO.CombinedIndex); in runThinLTO() 1483 ThinLTO.CombinedIndex.dumpSCCs(outs()); in runThinLTO() 1491 updateVCallVisibilityInIndex(ThinLTO.CombinedIndex, in runThinLTO() 1519 if (ThinLTO.CombinedIndex.isGUIDLive(GUID)) in runThinLTO() [all …]
|
| H A D | LTOBackend.cpp | 362 const ModuleSummaryIndex &CombinedIndex) { in codegen() argument 454 CombinedIndex); in splitCodeGen() 495 ModuleSummaryIndex &CombinedIndex) { in backend() argument 510 codegen(C, TM.get(), AddStream, 0, Mod, CombinedIndex); in backend() 513 CombinedIndex); in backend() 562 Mod.setPartialSampleProfileRatio(CombinedIndex); in thinBackend() 567 codegen(Conf, TM.get(), AddStream, Task, Mod, CombinedIndex); in thinBackend() 582 codegen(Conf, TM, AddStream, Task, Mod, CombinedIndex); in thinBackend() 597 dropDeadSymbols(Mod, DefinedGlobals, CombinedIndex); in thinBackend() 645 FunctionImporter Importer(CombinedIndex, ModuleLoader, in thinBackend() [all …]
|
| H A D | LTOCodeGenerator.cpp | 554 ModuleSummaryIndex CombinedIndex(false); in optimize() local 557 /*ExportSummary=*/&CombinedIndex, /*ImportSummary=*/nullptr, in optimize() 579 ModuleSummaryIndex CombinedIndex(false); in compileOptimized() local 583 CombinedIndex); in compileOptimized()
|
| H A D | ThinLTOCodeGenerator.cpp | 632 std::unique_ptr<ModuleSummaryIndex> CombinedIndex = in linkCombinedIndex() local 638 M.readSummary(*CombinedIndex, Mod->getName(), NextModuleId++)) { in linkCombinedIndex() 646 return CombinedIndex; in linkCombinedIndex()
|
| /llvm-project-15.0.7/llvm/include/llvm/LTO/ |
| H A D | LTOBackend.h | 46 ModuleSummaryIndex &CombinedIndex); 55 Module &M, const ModuleSummaryIndex &CombinedIndex, 73 bool initImportList(const Module &M, const ModuleSummaryIndex &CombinedIndex,
|
| H A D | LTO.h | 194 const Config &C, ModuleSummaryIndex &CombinedIndex, 321 ModuleSummaryIndex CombinedIndex; member
|
| /llvm-project-15.0.7/llvm/include/llvm/Bitcode/ |
| H A D | BitcodeReader.h | 120 Error readSummary(ModuleSummaryIndex &CombinedIndex, StringRef ModulePath, 187 ModuleSummaryIndex &CombinedIndex,
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | BackendUtil.cpp | 1044 DiagnosticsEngine &Diags, ModuleSummaryIndex *CombinedIndex, Module *M, in runThinLTOBackend() argument 1051 CombinedIndex->collectDefinedGVSummariesPerModule(ModuleToDefinedGVSummaries); in runThinLTOBackend() 1059 if (!lto::initImportList(*M, *CombinedIndex, ImportList)) in runThinLTOBackend() 1134 thinBackend(Conf, -1, AddStream, *M, *CombinedIndex, ImportList, in runThinLTOBackend() 1159 std::unique_ptr<ModuleSummaryIndex> CombinedIndex; in EmitBackendOutput() local 1163 .moveInto(CombinedIndex)) { in EmitBackendOutput() 1173 if (CombinedIndex) { in EmitBackendOutput() 1174 if (!CombinedIndex->skipModuleByDistributedBackend()) { in EmitBackendOutput() 1175 runThinLTOBackend(Diags, CombinedIndex.get(), M, HeaderOpts, CGOpts, in EmitBackendOutput()
|
| /llvm-project-15.0.7/llvm/tools/llvm-lto/ |
| H A D | llvm-lto.cpp | 483 ModuleSummaryIndex CombinedIndex(/*HaveGVs=*/false); in createCombinedModuleSummaryIndex() local 489 ExitOnErr(readModuleSummaryIndex(*MB, CombinedIndex, NextModuleId++)); in createCombinedModuleSummaryIndex() 494 updateIndirectCalls(CombinedIndex); in createCombinedModuleSummaryIndex() 500 writeIndexToFile(CombinedIndex, OS); in createCombinedModuleSummaryIndex() 656 auto CombinedIndex = ThinGenerator.linkCombinedIndex(); in thinLink() local 657 if (!CombinedIndex) in thinLink() 662 writeIndexToFile(*CombinedIndex, OS); in thinLink()
|
| /llvm-project-15.0.7/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 7729 Error BitcodeModule::readSummary(ModuleSummaryIndex &CombinedIndex, in readSummary() argument 7735 ModuleSummaryIndexBitcodeReader R(std::move(Stream), Strtab, CombinedIndex, in readSummary() 7928 ModuleSummaryIndex &CombinedIndex, in readModuleSummaryIndex() argument 7934 return BM->readSummary(CombinedIndex, BM->getModuleIdentifier(), ModuleId); in readModuleSummaryIndex()
|