LLVM: llvm::lto::ThinBackend Struct Reference (original) (raw)
This type defines the behavior following the thin-link phase during ThinLTO. More...
#include "[llvm/LTO/LTO.h](LTO%5F8h%5Fsource.html)"
| 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 |
Detailed Description
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.
Definition at line 274 of file LTO.h.
Constructor & Destructor Documentation
◆ ThinBackend() [2/2]
| llvm::lto::ThinBackend::ThinBackend ( ) | default |
|---|
Member Function Documentation
◆ getParallelism()
◆ isValid()
| bool llvm::lto::ThinBackend::isValid ( ) const | inline |
|---|
◆ operator()()
The documentation for this struct was generated from the following file:
- include/llvm/LTO/LTO.h