LLVM  16.0.0git
Public Member Functions | Protected Attributes | List of all members
llvm::lto::ThinBackendProc Class Referenceabstract

This class defines the interface to the ThinLTO backend. More...

Collaboration diagram for llvm::lto::ThinBackendProc:
Collaboration graph
[legend]

Public Member Functions

 ThinBackendProc (const Config &Conf, ModuleSummaryIndex &CombinedIndex, const StringMap< 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 ConfigConf
 
ModuleSummaryIndexCombinedIndex
 
const StringMap< GVSummaryMapTy > & ModuleToDefinedGVSummaries
 
lto::IndexWriteCallback OnWrite
 
bool ShouldEmitImportsFiles
 

Detailed Description

This class defines the interface to the ThinLTO backend.

Definition at line 1163 of file LTO.cpp.

Constructor & Destructor Documentation

◆ ThinBackendProc()

llvm::lto::ThinBackendProc::ThinBackendProc ( const Config Conf,
ModuleSummaryIndex CombinedIndex,
const StringMap< GVSummaryMapTy > &  ModuleToDefinedGVSummaries,
lto::IndexWriteCallback  OnWrite,
bool  ShouldEmitImportsFiles 
)
inline

Definition at line 1172 of file LTO.cpp.

◆ ~ThinBackendProc()

virtual llvm::lto::ThinBackendProc::~ThinBackendProc ( )
virtualdefault

Member Function Documentation

◆ emitFiles()

Error llvm::lto::ThinBackendProc::emitFiles ( const FunctionImporter::ImportMapTy ImportList,
llvm::StringRef  ModulePath,
const std::string &  NewModulePath 
)
inline

◆ getThreadCount()

virtual unsigned llvm::lto::ThinBackendProc::getThreadCount ( )
pure virtual

◆ start()

virtual Error llvm::lto::ThinBackendProc::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 
)
pure virtual

◆ wait()

virtual Error llvm::lto::ThinBackendProc::wait ( )
pure virtual

Member Data Documentation

◆ CombinedIndex

ModuleSummaryIndex& llvm::lto::ThinBackendProc::CombinedIndex
protected

Definition at line 1166 of file LTO.cpp.

◆ Conf

const Config& llvm::lto::ThinBackendProc::Conf
protected

Definition at line 1165 of file LTO.cpp.

◆ ModuleToDefinedGVSummaries

const StringMap<GVSummaryMapTy>& llvm::lto::ThinBackendProc::ModuleToDefinedGVSummaries
protected

Definition at line 1167 of file LTO.cpp.

◆ OnWrite

lto::IndexWriteCallback llvm::lto::ThinBackendProc::OnWrite
protected

Definition at line 1168 of file LTO.cpp.

◆ ShouldEmitImportsFiles

bool llvm::lto::ThinBackendProc::ShouldEmitImportsFiles
protected

Definition at line 1169 of file LTO.cpp.


The documentation for this class was generated from the following file: