|
LLVM
10.0.0
|
IR mutating layer. More...
#include "llvm/ExecutionEngine/Orc/IRTransformLayer.h"
Public Member Functions | |
| LLVM_ATTRIBUTE_DEPRECATED (LegacyIRTransformLayer(BaseLayerT &BaseLayer, TransformFtor Transform=TransformFtor()), "ORCv1 layers (layers with the 'Legacy' prefix) are deprecated. Please " "use " "the ORCv2 IRTransformLayer instead") | |
| Construct an LegacyIRTransformLayer with the given BaseLayer. More... | |
| LegacyIRTransformLayer (ORCv1DeprecationAcknowledgement, BaseLayerT &BaseLayer, TransformFtor Transform=TransformFtor()) | |
| Legacy layer constructor with deprecation acknowledgement. More... | |
| Error | addModule (VModuleKey K, std::unique_ptr< Module > M) |
| Apply the transform functor to the module, then add the module to the layer below, along with the memory manager and symbol resolver. More... | |
| Error | removeModule (VModuleKey K) |
| Remove the module associated with the VModuleKey K. 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 module represented by the VModuleKey K. More... | |
| Error | emitAndFinalize (VModuleKey K) |
| Immediately emit and finalize the module represented by the given VModuleKey. More... | |
| TransformFtor & | getTransform () |
| Access the transform functor directly. More... | |
| const TransformFtor & | getTransform () const |
| Access the mumate functor directly. More... | |
IR mutating layer.
This layer applies a user supplied transform to each module that is added, then adds the transformed module to the layer below.
Definition at line 58 of file IRTransformLayer.h.
|
inline |
Legacy layer constructor with deprecation acknowledgement.
Definition at line 70 of file IRTransformLayer.h.
Referenced by llvm::orc::LegacyIRTransformLayer< BaseLayerT, TransformFtor >::getTransform().
|
inline |
Apply the transform functor to the module, then add the module to the layer below, along with the memory manager and symbol resolver.
Definition at line 78 of file IRTransformLayer.h.
|
inline |
Immediately emit and finalize the module represented by the given VModuleKey.
| K | The VModuleKey for the module to emit/finalize. |
Definition at line 109 of file IRTransformLayer.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 89 of file IRTransformLayer.h.
|
inline |
Get the address of the given symbol in the context of the module represented by the VModuleKey K.
This call is forwarded to the base layer's implementation.
| K | The VModuleKey for the module to search in. |
| Name | The name of the symbol to search for. |
| ExportedSymbolsOnly | If true, search only for exported symbols. |
Definition at line 101 of file IRTransformLayer.h.
|
inline |
Access the transform functor directly.
Definition at line 112 of file IRTransformLayer.h.
|
inline |
Access the mumate functor directly.
Definition at line 115 of file IRTransformLayer.h.
References llvm::orc::LegacyIRTransformLayer< BaseLayerT, TransformFtor >::LegacyIRTransformLayer().
| llvm::orc::LegacyIRTransformLayer< BaseLayerT, TransformFtor >::LLVM_ATTRIBUTE_DEPRECATED | ( | LegacyIRTransformLayer< BaseLayerT, TransformFtor >(BaseLayerT &BaseLayer, TransformFtor Transform=TransformFtor()) | , |
| "ORCv1 layers (layers with the 'Legacy' prefix) are deprecated. Please " "use " "the ORCv2 IRTransformLayer instead" | |||
| ) |
Construct an LegacyIRTransformLayer with the given BaseLayer.
|
inline |
Remove the module associated with the VModuleKey K.
Definition at line 83 of file IRTransformLayer.h.
1.8.13