LLVM: llvm::lto::ThinBackendProc Class Reference (original) (raw)

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

#include "[llvm/LTO/LTO.h](LTO%5F8h%5Fsource.html)"

Public Member Functions
ThinBackendProc (const Config &Conf, ModuleSummaryIndex &CombinedIndex, const DenseMap< StringRef, GVSummaryMapTy > &ModuleToDefinedGVSummaries, lto::IndexWriteCallback OnWrite, bool ShouldEmitImportsFiles, ThreadPoolStrategy ThinLTOParallelism)
virtual ~ThinBackendProc ()=default
virtual void setup (unsigned ThinLTONumTasks, unsigned ThinLTOTaskOffset, Triple Triple)
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 ()
unsigned getThreadCount ()
virtual bool isSensitiveToInputOrder ()
LLVM_ABI Error emitFiles (const FunctionImporter::ImportMapTy &ImportList, StringRef ModulePath, const std::string &NewModulePath) const
LLVM_ABI Error emitFiles (const FunctionImporter::ImportMapTy &ImportList, StringRef ModulePath, const std::string &NewModulePath, StringRef SummaryPath, std::optional< std::reference_wrapper< ImportsFilesContainer > > ImportsFiles) const
Protected Attributes
const Config & Conf
ModuleSummaryIndex & CombinedIndex
const DenseMap< StringRef, GVSummaryMapTy > & ModuleToDefinedGVSummaries
IndexWriteCallback OnWrite
bool ShouldEmitImportsFiles
DefaultThreadPool BackendThreadPool
std::optional< Error > Err
std::mutex ErrMu

This class defines the interface to the ThinLTO backend.

Definition at line 204 of file LTO.h.

~ThinBackendProc()

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

emitFiles() [1/2]

emitFiles() [2/2]

getThreadCount()

unsigned llvm::lto::ThinBackendProc::getThreadCount ( ) inline

isSensitiveToInputOrder()

virtual bool llvm::lto::ThinBackendProc::isSensitiveToInputOrder ( ) inlinevirtual

Definition at line 242 of file LTO.h.

setup()

virtual void llvm::lto::ThinBackendProc::setup ( unsigned ThinLTONumTasks, unsigned ThinLTOTaskOffset, Triple Triple ) inlinevirtual

Definition at line 227 of file LTO.h.

start()

wait()

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

BackendThreadPool

CombinedIndex

Conf

Err

std::optional<Error> llvm::lto::ThinBackendProc::Err protected

ErrMu

std::mutex llvm::lto::ThinBackendProc::ErrMu protected

Definition at line 213 of file LTO.h.

ModuleToDefinedGVSummaries

OnWrite

ShouldEmitImportsFiles

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

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