LLVM 20.0.0git
|
This type defines the behavior following the thin-link phase during ThinLTO. More...
#include "llvm/LTO/LTO.h"
Public Member Functions | |
ThinBackend (ThinBackendFunction Func, ThreadPoolStrategy Parallelism) | |
ThinBackend ()=default | |
std::unique_ptr< ThinBackendProc > | operator() (const Config &Conf, ModuleSummaryIndex &CombinedIndex, const DenseMap< StringRef, GVSummaryMapTy > &ModuleToDefinedGVSummaries, AddStreamFn AddStream, FileCache Cache) |
ThreadPoolStrategy | getParallelism () const |
bool | isValid () const |
This type defines the behavior following the thin-link phase during ThinLTO.
It encapsulates a backend function and a strategy for thread pool parallelism. Clients should use one of the provided create*ThinBackend() functions to instantiate a ThinBackend. Parallelism defines the thread pool strategy to be used for processing.
|
inline |
|
default |
|
inline |
|
inline |
Definition at line 277 of file LTO.h.
Referenced by operator()().
|
inline |