LLVM 22.0.0git
|
This class defines the interface to the ThinLTO backend. More...
#include "llvm/LTO/LTO.h"
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 |
|
inline |
Definition at line 221 of file LTO.h.
References BackendThreadPool, CombinedIndex, Conf, ModuleToDefinedGVSummaries, OnWrite, and ShouldEmitImportsFiles.
|
virtualdefault |
Error ThinBackendProc::emitFiles | ( | const FunctionImporter::ImportMapTy & | ImportList, |
llvm::StringRef | ModulePath, | ||
const std::string & | NewModulePath ) const |
Error ThinBackendProc::emitFiles | ( | const FunctionImporter::ImportMapTy & | ImportList, |
llvm::StringRef | ModulePath, | ||
const std::string & | NewModulePath, | ||
StringRef | SummaryPath, | ||
std::optional< std::reference_wrapper< ImportsFilesContainer > > | ImportsFiles ) const |
Definition at line 1449 of file LTO.cpp.
References CombinedIndex, llvm::createFileError(), llvm::EmitImportsFiles(), llvm::gatherImportedSummariesForModule(), ModuleToDefinedGVSummaries, llvm::sys::fs::OF_None, llvm::processImportsFiles(), ShouldEmitImportsFiles, llvm::Error::success(), and llvm::writeIndexToFile().
|
inline |
Definition at line 246 of file LTO.h.
References BackendThreadPool.
|
inlinevirtual |
|
pure virtual |
|
inlinevirtual |
Definition at line 240 of file LTO.h.
References BackendThreadPool, Err, and llvm::Error::success().
|
protected |
Definition at line 216 of file LTO.h.
Referenced by getThreadCount(), ThinBackendProc(), and wait().
|
protected |
Definition at line 212 of file LTO.h.
Referenced by emitFiles(), and ThinBackendProc().
Definition at line 211 of file LTO.h.
Referenced by ThinBackendProc().
|
protected |
|
protected |
Definition at line 213 of file LTO.h.
Referenced by emitFiles(), and ThinBackendProc().
|
protected |
Definition at line 214 of file LTO.h.
Referenced by ThinBackendProc().
|
protected |
Definition at line 215 of file LTO.h.
Referenced by emitFiles(), and ThinBackendProc().