Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/
DLTO.cpp404 : Backend(Backend), CombinedIndex(/*HaveGVs*/ false) { in ThinLTOState()
543 if (Error Err = BM.readSummary(ThinLTO.CombinedIndex, "", -1ull)) in addModule()
698 if (LivenessFromIndex && !ThinLTO.CombinedIndex.isGUIDLive(GV->getGUID())) in linkRegularLTO()
726 BM.readSummary(ThinLTO.CombinedIndex, BM.getModuleIdentifier(), in addThinLTO()
745 if (auto S = ThinLTO.CombinedIndex.findSummaryInModule( in addThinLTO()
753 if (auto S = ThinLTO.CombinedIndex.findSummaryInModule( in addThinLTO()
801 computeDeadSymbols(ThinLTO.CombinedIndex, GUIDPreservedSymbols, isPrevailing); in run()
889 std::move(RegularLTO.CombinedModule), ThinLTO.CombinedIndex); in runRegularLTO()
896 ModuleSummaryIndex &CombinedIndex; member in lto::ThinBackendProc
900 ThinBackendProc(Config &Conf, ModuleSummaryIndex &CombinedIndex, in ThinBackendProc() argument
[all …]
DLTOBackend.cpp406 ModuleSummaryIndex &CombinedIndex) { in backend() argument
422 /*ExportSummary=*/&CombinedIndex, /*ImportSummary=*/nullptr)) in backend()
457 Module &Mod, const ModuleSummaryIndex &CombinedIndex, in thinBackend() argument
482 renameModuleForThinLTO(Mod, CombinedIndex); in thinBackend()
484 dropDeadSymbols(Mod, DefinedGlobals, CombinedIndex); in thinBackend()
508 FunctionImporter Importer(CombinedIndex, ModuleLoader); in thinBackend()
516 /*ExportSummary=*/nullptr, /*ImportSummary=*/&CombinedIndex)) in thinBackend()
DThinLTOCodeGenerator.cpp609 std::unique_ptr<ModuleSummaryIndex> CombinedIndex = in linkCombinedIndex() local
614 *CombinedIndex, NextModuleId++)) { in linkCombinedIndex()
622 return CombinedIndex; in linkCombinedIndex()
/external/llvm/tools/gold/
Dgold-plugin.cpp868 const ModuleSummaryIndex *CombinedIndex; member in __anon1f3f5eac0211::CodeGen
890 : M(std::move(M)), OS(nullptr), TaskID(-1), CombinedIndex(nullptr), in CodeGen()
896 const ModuleSummaryIndex *CombinedIndex, std::string Filename, in CodeGen() argument
900 : M(std::move(M)), OS(OS), TaskID(TaskID), CombinedIndex(CombinedIndex), in CodeGen()
903 assert(options::thinlto == !!CombinedIndex && in CodeGen()
990 if (CombinedIndex) { in runLTOPasses()
1007 FunctionImporter Importer(*CombinedIndex, Loader); in runLTOPasses()
1182 const ModuleSummaryIndex &CombinedIndex, in thinLTOBackendTask() argument
1199 if (renameModuleForThinLTO(*NewModule, CombinedIndex)) in thinLTOBackendTask()
1202 CodeGen codeGen(std::move(NewModule), OS, TaskID, &CombinedIndex, Name, in thinLTOBackendTask()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/LTO/
DLTOBackend.h41 std::unique_ptr<Module> M, ModuleSummaryIndex &CombinedIndex);
45 const ModuleSummaryIndex &CombinedIndex,
DLTO.h195 Config &C, ModuleSummaryIndex &CombinedIndex,
305 ModuleSummaryIndex CombinedIndex; member
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Bitcode/
DBitcodeReader.h114 Error readSummary(ModuleSummaryIndex &CombinedIndex, StringRef ModulePath,
178 ModuleSummaryIndex &CombinedIndex,
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-lto/
Dllvm-lto.cpp377 ModuleSummaryIndex CombinedIndex(/*HaveGVs=*/false); in createCombinedModuleSummaryIndex() local
383 ExitOnErr(readModuleSummaryIndex(*MB, CombinedIndex, NextModuleId++)); in createCombinedModuleSummaryIndex()
390 WriteIndexToFile(CombinedIndex, OS); in createCombinedModuleSummaryIndex()
535 auto CombinedIndex = ThinGenerator.linkCombinedIndex(); in thinLink() local
536 if (!CombinedIndex) in thinLink()
541 WriteIndexToFile(*CombinedIndex, OS); in thinLink()
/external/llvm/lib/LTO/
DThinLTOCodeGenerator.cpp490 std::unique_ptr<ModuleSummaryIndex> CombinedIndex; in linkCombinedIndex() local
503 if (CombinedIndex) { in linkCombinedIndex()
504 CombinedIndex->mergeFrom(std::move(Index), ++NextModuleId); in linkCombinedIndex()
506 CombinedIndex = std::move(Index); in linkCombinedIndex()
509 return CombinedIndex; in linkCombinedIndex()
/external/llvm/tools/llvm-lto/
Dllvm-lto.cpp286 ModuleSummaryIndex CombinedIndex; in createCombinedModuleSummaryIndex() local
298 CombinedIndex.mergeFrom(std::move(Index), ++NextModuleId); in createCombinedModuleSummaryIndex()
305 WriteIndexToFile(CombinedIndex, OS); in createCombinedModuleSummaryIndex()
448 auto CombinedIndex = ThinGenerator.linkCombinedIndex(); in thinLink() local
452 WriteIndexToFile(*CombinedIndex, OS); in thinLink()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp5789 Error BitcodeModule::readSummary(ModuleSummaryIndex &CombinedIndex, in readSummary() argument
5794 ModuleSummaryIndexBitcodeReader R(std::move(Stream), Strtab, CombinedIndex, in readSummary()
5922 ModuleSummaryIndex &CombinedIndex, in readModuleSummaryIndex() argument
5928 return BM->readSummary(CombinedIndex, BM->getModuleIdentifier(), ModuleId); in readModuleSummaryIndex()