LLVM 20.0.0git
|
This class defines the interface to the ThinLTO backend. More...
Public Member Functions | |
ThinBackendProc (const Config &Conf, ModuleSummaryIndex &CombinedIndex, const DenseMap< StringRef, GVSummaryMapTy > &ModuleToDefinedGVSummaries, lto::IndexWriteCallback OnWrite, bool ShouldEmitImportsFiles) | |
virtual | ~ThinBackendProc ()=default |
virtual Error | start (unsigned Task, BitcodeModule BM, const FunctionImporter::ImportMapTy &ImportList, const FunctionImporter::ExportSetTy &ExportList, const std::map< GlobalValue::GUID, GlobalValue::LinkageTypes > &ResolvedODR, MapVector< StringRef, BitcodeModule > &ModuleMap)=0 |
virtual Error | wait ()=0 |
virtual unsigned | getThreadCount ()=0 |
Error | emitFiles (const FunctionImporter::ImportMapTy &ImportList, llvm::StringRef ModulePath, const std::string &NewModulePath) |
Protected Attributes | |
const Config & | Conf |
ModuleSummaryIndex & | CombinedIndex |
const DenseMap< StringRef, GVSummaryMapTy > & | ModuleToDefinedGVSummaries |
lto::IndexWriteCallback | OnWrite |
bool | ShouldEmitImportsFiles |
|
inline |
|
virtualdefault |
|
inline |
Definition at line 1398 of file LTO.cpp.
References llvm::EmitImportsFiles(), llvm::errorCodeToError(), llvm::gatherImportedSummariesForModule(), OS, llvm::Error::success(), and llvm::writeIndexToFile().
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
protected |
|
protected |
|
protected |
|
protected |