Home
last modified time | relevance | path

Searched refs:CombinedIndex (Results 1 – 10 of 10) sorted by relevance

/openbsd/src/gnu/llvm/llvm/lib/LTO/
DLTO.cpp520 : Backend(Backend), CombinedIndex(/*HaveGVs*/ false) { in ThinLTOState()
666 ThinLTO.CombinedIndex.setPartiallySplitLTOUnits(); in addModule()
690 if (Error Err = BM.readSummary(ThinLTO.CombinedIndex, "", -1ull)) in addModule()
878 if (LivenessFromIndex && !ThinLTO.CombinedIndex.isGUIDLive(GV->getGUID())) { in linkRegularLTO()
929 BM.readSummary(ThinLTO.CombinedIndex, BM.getModuleIdentifier(), in addThinLTO()
952 if (auto S = ThinLTO.CombinedIndex.findSummaryInModule( in addThinLTO()
960 if (auto S = ThinLTO.CombinedIndex.findSummaryInModule( in addThinLTO()
1000 if (!ThinLTO.CombinedIndex.partiallySplitLTOUnits()) in checkPartiallySplit()
1018 for (auto &P : ThinLTO.CombinedIndex) { in checkPartiallySplit()
1065 computeDeadSymbolsWithConstProp(ThinLTO.CombinedIndex, GUIDPreservedSymbols, in run()
[all …]
DLTOBackend.cpp363 const ModuleSummaryIndex &CombinedIndex) { in codegen() argument
406 createImmutableModuleSummaryIndexWrapperPass(&CombinedIndex)); in codegen()
422 const ModuleSummaryIndex &CombinedIndex) { in splitCodeGen() argument
456 CombinedIndex); in splitCodeGen()
497 ModuleSummaryIndex &CombinedIndex) { in backend() argument
506 /*ExportSummary=*/&CombinedIndex, /*ImportSummary=*/nullptr, in backend()
512 codegen(C, TM.get(), AddStream, 0, Mod, CombinedIndex); in backend()
515 CombinedIndex); in backend()
542 Module &Mod, const ModuleSummaryIndex &CombinedIndex, in thinBackend() argument
564 Mod.setPartialSampleProfileRatio(CombinedIndex); in thinBackend()
[all …]
DLTOCodeGenerator.cpp636 ModuleSummaryIndex CombinedIndex(false); in optimize() local
639 /*ExportSummary=*/&CombinedIndex, /*ImportSummary=*/nullptr, in optimize()
661 ModuleSummaryIndex CombinedIndex(false); in compileOptimized() local
665 CombinedIndex); in compileOptimized()
DThinLTOCodeGenerator.cpp632 std::unique_ptr<ModuleSummaryIndex> CombinedIndex = in linkCombinedIndex() local
638 M.readSummary(*CombinedIndex, Mod->getName(), NextModuleId++)) { in linkCombinedIndex()
646 return CombinedIndex; in linkCombinedIndex()
/openbsd/src/gnu/llvm/llvm/include/llvm/LTO/
DLTOBackend.h46 ModuleSummaryIndex &CombinedIndex);
55 Module &M, const ModuleSummaryIndex &CombinedIndex,
73 bool initImportList(const Module &M, const ModuleSummaryIndex &CombinedIndex,
DLTO.h194 const Config &C, ModuleSummaryIndex &CombinedIndex,
321 ModuleSummaryIndex CombinedIndex; member
/openbsd/src/gnu/llvm/clang/lib/CodeGen/
DBackendUtil.cpp1116 DiagnosticsEngine &Diags, ModuleSummaryIndex *CombinedIndex, Module *M, in runThinLTOBackend() argument
1123 CombinedIndex->collectDefinedGVSummariesPerModule(ModuleToDefinedGVSummaries); in runThinLTOBackend()
1131 if (!lto::initImportList(*M, *CombinedIndex, ImportList)) in runThinLTOBackend()
1209 thinBackend(Conf, -1, AddStream, *M, *CombinedIndex, ImportList, in runThinLTOBackend()
1234 std::unique_ptr<ModuleSummaryIndex> CombinedIndex; in EmitBackendOutput() local
1238 .moveInto(CombinedIndex)) { in EmitBackendOutput()
1248 if (CombinedIndex) { in EmitBackendOutput()
1249 if (!CombinedIndex->skipModuleByDistributedBackend()) { in EmitBackendOutput()
1250 runThinLTOBackend(Diags, CombinedIndex.get(), M, HeaderOpts, CGOpts, in EmitBackendOutput()
/openbsd/src/gnu/llvm/llvm/include/llvm/Bitcode/
DBitcodeReader.h159 readSummary(ModuleSummaryIndex &CombinedIndex, StringRef ModulePath,
227 ModuleSummaryIndex &CombinedIndex,
/openbsd/src/gnu/llvm/llvm/tools/llvm-lto/
Dllvm-lto.cpp483 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()
/openbsd/src/gnu/llvm/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp7993 ModuleSummaryIndex &CombinedIndex, StringRef ModulePath, uint64_t ModuleId, in readSummary() argument
7999 ModuleSummaryIndexBitcodeReader R(std::move(Stream), Strtab, CombinedIndex, in readSummary()
8193 ModuleSummaryIndex &CombinedIndex, in readModuleSummaryIndex() argument
8199 return BM->readSummary(CombinedIndex, BM->getModuleIdentifier(), ModuleId); in readModuleSummaryIndex()