LLVM 20.0.0git
|
#include "llvm/ExecutionEngine/Orc/ObjectTransformLayer.h"
Public Types | |
using | TransformFunction = std::function< Expected< std::unique_ptr< MemoryBuffer > >(std::unique_ptr< MemoryBuffer >)> |
Public Member Functions | |
ObjectTransformLayer (ExecutionSession &ES, ObjectLayer &BaseLayer, TransformFunction Transform=TransformFunction()) | |
void | emit (std::unique_ptr< MaterializationResponsibility > R, std::unique_ptr< MemoryBuffer > O) override |
void | setTransform (TransformFunction Transform) |
Public Member Functions inherited from llvm::RTTIExtends< ObjectTransformLayer, ObjectLayer > | |
const void * | dynamicClassID () const override |
bool | isA () const |
Check whether this instance is a subclass of QueryT. | |
bool | isA (const void *const ClassID) const override |
Static Public Attributes | |
static char | ID |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::RTTIExtends< ObjectTransformLayer, ObjectLayer > | |
static const void * | classID () |
static bool | classof (const T *R) |
Definition at line 24 of file ObjectTransformLayer.h.
using llvm::orc::ObjectTransformLayer::TransformFunction = std::function<Expected<std::unique_ptr<MemoryBuffer> >( std::unique_ptr<MemoryBuffer>)> |
Definition at line 29 of file ObjectTransformLayer.h.
llvm::orc::ObjectTransformLayer::ObjectTransformLayer | ( | ExecutionSession & | ES, |
ObjectLayer & | BaseLayer, | ||
TransformFunction | Transform = TransformFunction() |
||
) |
Definition at line 19 of file ObjectTransformLayer.cpp.
|
override |
Definition at line 24 of file ObjectTransformLayer.cpp.
References assert(), and llvm::orc::ObjectLayer::emit().
|
inline |
Definition at line 39 of file ObjectTransformLayer.h.
|
static |
Definition at line 27 of file ObjectTransformLayer.h.