/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/ |
D | LTO.cpp | 476 : Backend(Backend), CombinedIndex(/*HaveGVs*/ false) { in ThinLTOState() 601 ThinLTO.CombinedIndex.setPartiallySplitLTOUnits(); in addModule() 624 if (Error Err = BM.readSummary(ThinLTO.CombinedIndex, "", -1ull)) in addModule() 784 if (LivenessFromIndex && !ThinLTO.CombinedIndex.isGUIDLive(GV->getGUID())) in linkRegularLTO() 812 BM.readSummary(ThinLTO.CombinedIndex, BM.getModuleIdentifier(), in addThinLTO() 831 if (auto S = ThinLTO.CombinedIndex.findSummaryInModule( in addThinLTO() 839 if (auto S = ThinLTO.CombinedIndex.findSummaryInModule( in addThinLTO() 863 if (!ThinLTO.CombinedIndex.partiallySplitLTOUnits()) in checkPartiallySplit() 881 for (auto &P : ThinLTO.CombinedIndex) { in checkPartiallySplit() 925 computeDeadSymbolsWithConstProp(ThinLTO.CombinedIndex, GUIDPreservedSymbols, in run() [all …]
|
D | LTOBackend.cpp | 451 ModuleSummaryIndex &CombinedIndex) { in backend() argument 468 /*ExportSummary=*/&CombinedIndex, /*ImportSummary=*/nullptr)) in backend() 503 Module &Mod, const ModuleSummaryIndex &CombinedIndex, in thinBackend() argument 529 renameModuleForThinLTO(Mod, CombinedIndex); in thinBackend() 531 dropDeadSymbols(Mod, DefinedGlobals, CombinedIndex); in thinBackend() 555 FunctionImporter Importer(CombinedIndex, ModuleLoader); in thinBackend() 563 /*ExportSummary=*/nullptr, /*ImportSummary=*/&CombinedIndex)) in thinBackend()
|
D | ThinLTOCodeGenerator.cpp | 567 std::unique_ptr<ModuleSummaryIndex> CombinedIndex = in linkCombinedIndex() local 573 M.readSummary(*CombinedIndex, Mod->getName(), NextModuleId++)) { in linkCombinedIndex() 581 return CombinedIndex; in linkCombinedIndex()
|
/external/llvm-project/llvm/lib/LTO/ |
D | LTO.cpp | 489 : Backend(Backend), CombinedIndex(/*HaveGVs*/ false) { in ThinLTOState() 614 ThinLTO.CombinedIndex.setPartiallySplitLTOUnits(); in addModule() 638 if (Error Err = BM.readSummary(ThinLTO.CombinedIndex, "", -1ull)) in addModule() 799 if (LivenessFromIndex && !ThinLTO.CombinedIndex.isGUIDLive(GV->getGUID())) { in linkRegularLTO() 834 BM.readSummary(ThinLTO.CombinedIndex, BM.getModuleIdentifier(), in addThinLTO() 853 if (auto S = ThinLTO.CombinedIndex.findSummaryInModule( in addThinLTO() 861 if (auto S = ThinLTO.CombinedIndex.findSummaryInModule( in addThinLTO() 901 if (!ThinLTO.CombinedIndex.partiallySplitLTOUnits()) in checkPartiallySplit() 919 for (auto &P : ThinLTO.CombinedIndex) { in checkPartiallySplit() 963 computeDeadSymbolsWithConstProp(ThinLTO.CombinedIndex, GUIDPreservedSymbols, in run() [all …]
|
D | LTOBackend.cpp | 397 const ModuleSummaryIndex &CombinedIndex) { in codegen() argument 431 createImmutableModuleSummaryIndexWrapperPass(&CombinedIndex)); in codegen() 445 const ModuleSummaryIndex &CombinedIndex) { in splitCodeGen() argument 479 CombinedIndex); in splitCodeGen() 521 ModuleSummaryIndex &CombinedIndex) { in backend() argument 530 /*ExportSummary=*/&CombinedIndex, /*ImportSummary=*/nullptr, in backend() 536 codegen(C, TM.get(), AddStream, 0, *Mod, CombinedIndex); in backend() 539 std::move(Mod), CombinedIndex); in backend() 566 Module &Mod, const ModuleSummaryIndex &CombinedIndex, in thinBackend() argument 588 Mod.setPartialSampleProfileRatio(CombinedIndex); in thinBackend() [all …]
|
D | ThinLTOCodeGenerator.cpp | 594 std::unique_ptr<ModuleSummaryIndex> CombinedIndex = in linkCombinedIndex() local 600 M.readSummary(*CombinedIndex, Mod->getName(), NextModuleId++)) { in linkCombinedIndex() 608 return CombinedIndex; in linkCombinedIndex()
|
/external/llvm-project/llvm/include/llvm/LTO/ |
D | LTOBackend.h | 40 std::unique_ptr<Module> M, ModuleSummaryIndex &CombinedIndex); 44 Module &M, const ModuleSummaryIndex &CombinedIndex, 63 const Module &M, const ModuleSummaryIndex &CombinedIndex,
|
D | LTO.h | 225 const Config &C, ModuleSummaryIndex &CombinedIndex, 343 ModuleSummaryIndex CombinedIndex; member
|
/external/llvm/tools/gold/ |
D | gold-plugin.cpp | 868 const ModuleSummaryIndex *CombinedIndex; member in __anonbb06324a0211::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-10.0/llvm/include/llvm/LTO/ |
D | LTOBackend.h | 40 std::unique_ptr<Module> M, ModuleSummaryIndex &CombinedIndex); 44 Module &M, const ModuleSummaryIndex &CombinedIndex,
|
D | LTO.h | 225 const Config &C, ModuleSummaryIndex &CombinedIndex, 339 ModuleSummaryIndex CombinedIndex; member
|
/external/llvm-project/llvm/include/llvm/Bitcode/ |
D | BitcodeReader.h | 119 Error readSummary(ModuleSummaryIndex &CombinedIndex, StringRef ModulePath, 186 ModuleSummaryIndex &CombinedIndex,
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitcode/ |
D | BitcodeReader.h | 114 Error readSummary(ModuleSummaryIndex &CombinedIndex, StringRef ModulePath, 178 ModuleSummaryIndex &CombinedIndex,
|
/external/llvm/lib/LTO/ |
D | ThinLTOCodeGenerator.cpp | 490 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/ |
D | llvm-lto.cpp | 286 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/llvm-project/llvm/tools/llvm-lto/ |
D | llvm-lto.cpp | 446 ModuleSummaryIndex CombinedIndex(/*HaveGVs=*/false); in createCombinedModuleSummaryIndex() local 452 ExitOnErr(readModuleSummaryIndex(*MB, CombinedIndex, NextModuleId++)); in createCombinedModuleSummaryIndex() 459 WriteIndexToFile(CombinedIndex, OS); in createCombinedModuleSummaryIndex() 614 auto CombinedIndex = ThinGenerator.linkCombinedIndex(); in thinLink() local 615 if (!CombinedIndex) in thinLink() 620 WriteIndexToFile(*CombinedIndex, OS); in thinLink()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | BackendUtil.cpp | 1423 DiagnosticsEngine &Diags, ModuleSummaryIndex *CombinedIndex, Module *M, in runThinLTOBackend() argument 1430 CombinedIndex->collectDefinedGVSummariesPerModule(ModuleToDefinedGVSummaries); in runThinLTOBackend() 1440 if (!lto::loadReferencedModules(*M, *CombinedIndex, ImportList, ModuleMap, in runThinLTOBackend() 1516 thinBackend(Conf, -1, AddStream, *M, *CombinedIndex, ImportList, in runThinLTOBackend() 1550 std::unique_ptr<ModuleSummaryIndex> CombinedIndex = std::move(*IndexOrErr); in EmitBackendOutput() local 1554 if (CombinedIndex) { in EmitBackendOutput() 1555 if (!CombinedIndex->skipModuleByDistributedBackend()) { in EmitBackendOutput() 1556 runThinLTOBackend(Diags, CombinedIndex.get(), M, HeaderOpts, CGOpts, in EmitBackendOutput()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 6506 Error BitcodeModule::readSummary(ModuleSummaryIndex &CombinedIndex, in readSummary() argument 6512 ModuleSummaryIndexBitcodeReader R(std::move(Stream), Strtab, CombinedIndex, in readSummary() 6705 ModuleSummaryIndex &CombinedIndex, in readModuleSummaryIndex() argument 6711 return BM->readSummary(CombinedIndex, BM->getModuleIdentifier(), ModuleId); in readModuleSummaryIndex()
|
/external/llvm-project/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 6735 Error BitcodeModule::readSummary(ModuleSummaryIndex &CombinedIndex, in readSummary() argument 6741 ModuleSummaryIndexBitcodeReader R(std::move(Stream), Strtab, CombinedIndex, in readSummary() 6936 ModuleSummaryIndex &CombinedIndex, in readModuleSummaryIndex() argument 6942 return BM->readSummary(CombinedIndex, BM->getModuleIdentifier(), ModuleId); in readModuleSummaryIndex()
|