|
LLVM
10.0.0
|
Lazy-emitting IR layer. More...
#include "llvm/ExecutionEngine/Orc/LazyEmittingLayer.h"
Public Member Functions | |
| LLVM_ATTRIBUTE_DEPRECATED (LazyEmittingLayer(BaseLayerT &BaseLayer), "ORCv1 layers (including LazyEmittingLayer) are deprecated. Please use " "ORCv2, where lazy emission is the default") | |
| Construct a lazy emitting layer. More... | |
| LazyEmittingLayer (ORCv1DeprecationAcknowledgement, BaseLayerT &BaseLayer) | |
| Construct a lazy emitting layer. More... | |
| Error | addModule (VModuleKey K, std::unique_ptr< Module > M) |
| Add the given module to the lazy emitting layer. More... | |
| Error | removeModule (VModuleKey K) |
| Remove the module represented by the given handle. More... | |
| JITSymbol | findSymbol (const std::string &Name, bool ExportedSymbolsOnly) |
| Search for the given named symbol. More... | |
| JITSymbol | findSymbolIn (VModuleKey K, const std::string &Name, bool ExportedSymbolsOnly) |
| Get the address of the given symbol in the context of the of compiled modules represented by the key K. More... | |
| Error | emitAndFinalize (VModuleKey K) |
| Immediately emit and finalize the module represented by the given key. More... | |
Lazy-emitting IR layer.
This layer accepts LLVM IR Modules (via addModule) but does not immediately emit them the layer below. Instead, emission to the base layer is deferred until the first time the client requests the address (via JITSymbol::getAddress) for a symbol contained in this layer.
Definition at line 41 of file LazyEmittingLayer.h.
|
inline |
Construct a lazy emitting layer.
Definition at line 201 of file LazyEmittingLayer.h.
Referenced by llvm::orc::LazyEmittingLayer< CompileLayerT >::emitAndFinalize().
|
inline |
Add the given module to the lazy emitting layer.
Definition at line 205 of file LazyEmittingLayer.h.
|
inline |
Immediately emit and finalize the module represented by the given key.
Definition at line 254 of file LazyEmittingLayer.h.
|
inline |
Search for the given named symbol.
| Name | The name of the symbol to search for. |
| ExportedSymbolsOnly | If true, search only for exported symbols. |
Definition at line 228 of file LazyEmittingLayer.h.
|
inline |
Get the address of the given symbol in the context of the of compiled modules represented by the key K.
Definition at line 246 of file LazyEmittingLayer.h.
| llvm::orc::LazyEmittingLayer< BaseLayerT >::LLVM_ATTRIBUTE_DEPRECATED | ( | LazyEmittingLayer< BaseLayerT >(BaseLayerT &BaseLayer) | , |
| "ORCv1 layers (including LazyEmittingLayer< BaseLayerT >) are deprecated. Please use " " | ORCv2, | ||
| where lazy emission is the default" | |||
| ) |
Construct a lazy emitting layer.
|
inline |
Remove the module represented by the given handle.
This method will free the memory associated with the given module, both in this layer, and the base layer.
Definition at line 216 of file LazyEmittingLayer.h.
1.8.13