/freebsd/contrib/llvm-project/llvm/lib/LTO/ |
H A D | LTO.cpp | 599 : Backend(Backend), CombinedIndex(/*HaveGVs*/ false) { in ThinLTOState() 741 ThinLTO.CombinedIndex.setPartiallySplitLTOUnits(); in addModule() 778 if (Error Err = BM.readSummary(ThinLTO.CombinedIndex, "")) in addModule() 976 if (LivenessFromIndex && !ThinLTO.CombinedIndex.isGUIDLive(GV->getGUID())) { in linkRegularLTO() 1027 BM.readSummary(ThinLTO.CombinedIndex, BM.getModuleIdentifier(), in addThinLTO() 1051 if (auto S = ThinLTO.CombinedIndex.findSummaryInModule( in addThinLTO() 1059 if (auto S = ThinLTO.CombinedIndex.findSummaryInModule( in addThinLTO() 1099 if (!ThinLTO.CombinedIndex.partiallySplitLTOUnits()) in checkPartiallySplit() 1122 for (auto &P : ThinLTO.CombinedIndex) { in checkPartiallySplit() 1169 computeDeadSymbolsWithConstProp(ThinLTO.CombinedIndex, GUIDPreservedSymbols, in run() [all …]
|
H A D | LTOBackend.cpp | 370 const ModuleSummaryIndex &CombinedIndex) { in codegen() argument 413 createImmutableModuleSummaryIndexWrapperPass(&CombinedIndex)); in codegen() 429 const ModuleSummaryIndex &CombinedIndex) { in splitCodeGen() argument 461 CombinedIndex); in splitCodeGen() 508 ModuleSummaryIndex &CombinedIndex) { in backend() argument 518 /*ExportSummary=*/&CombinedIndex, /*ImportSummary=*/nullptr, in backend() 524 codegen(C, TM.get(), AddStream, 0, Mod, CombinedIndex); in backend() 527 CombinedIndex); in backend() 554 Module &Mod, const ModuleSummaryIndex &CombinedIndex, in thinBackend() argument 576 Mod.setPartialSampleProfileRatio(CombinedIndex); in thinBackend() [all …]
|
H A D | LTOCodeGenerator.cpp | 629 ModuleSummaryIndex CombinedIndex(false); in optimize() local 632 /*ExportSummary=*/&CombinedIndex, /*ImportSummary=*/nullptr, in optimize() 654 ModuleSummaryIndex CombinedIndex(false); in compileOptimized() local 658 CombinedIndex); in compileOptimized()
|
H A D | ThinLTOCodeGenerator.cpp | 611 std::unique_ptr<ModuleSummaryIndex> CombinedIndex = in linkCombinedIndex() local 615 if (Error Err = M.readSummary(*CombinedIndex, Mod->getName())) { in linkCombinedIndex() 623 return CombinedIndex; in linkCombinedIndex()
|
/freebsd/contrib/llvm-project/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 | 200 const Config &C, ModuleSummaryIndex &CombinedIndex, 343 ModuleSummaryIndex CombinedIndex; member
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-lto/ |
H A D | llvm-lto.cpp | 491 ModuleSummaryIndex CombinedIndex(/*HaveGVs=*/false); in createCombinedModuleSummaryIndex() local 496 ExitOnErr(readModuleSummaryIndex(*MB, CombinedIndex)); in createCombinedModuleSummaryIndex() 501 updateIndirectCalls(CombinedIndex); in createCombinedModuleSummaryIndex() 507 writeIndexToFile(CombinedIndex, OS); in createCombinedModuleSummaryIndex() 662 auto CombinedIndex = ThinGenerator.linkCombinedIndex(); in thinLink() local 663 if (!CombinedIndex) in thinLink() 668 writeIndexToFile(*CombinedIndex, OS); in thinLink()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | BackendUtil.cpp | 1189 DiagnosticsEngine &Diags, ModuleSummaryIndex *CombinedIndex, in runThinLTOBackend() argument 1197 CombinedIndex->collectDefinedGVSummariesPerModule(ModuleToDefinedGVSummaries); in runThinLTOBackend() 1205 if (!lto::initImportList(*M, *CombinedIndex, ImportList)) in runThinLTOBackend() 1284 thinBackend(Conf, -1, AddStream, *M, *CombinedIndex, ImportList, in runThinLTOBackend() 1307 std::unique_ptr<ModuleSummaryIndex> CombinedIndex; in EmitBackendOutput() local 1311 .moveInto(CombinedIndex)) { in EmitBackendOutput() 1321 if (CombinedIndex) { in EmitBackendOutput() 1322 if (!CombinedIndex->skipModuleByDistributedBackend()) { in EmitBackendOutput() 1323 runThinLTOBackend(Diags, CombinedIndex.get(), M, HeaderOpts, CGOpts, in EmitBackendOutput()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Bitcode/ |
H A D | BitcodeReader.h | 158 /// into CombinedIndex. 160 readSummary(ModuleSummaryIndex &CombinedIndex, StringRef ModulePath, 225 /// Parse the specified bitcode buffer and merge the index into CombinedIndex. 227 ModuleSummaryIndex &CombinedIndex);
|
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 8391 ModuleSummaryIndex &CombinedIndex, StringRef ModulePath, in readSummary() argument 8397 ModuleSummaryIndexBitcodeReader R(std::move(Stream), Strtab, CombinedIndex, in readSummary() 8604 ModuleSummaryIndex &CombinedIndex) { in readModuleSummaryIndex() argument 8609 return BM->readSummary(CombinedIndex, BM->getModuleIdentifier()); in readModuleSummaryIndex()
|