LLVM  12.0.0git
Public Member Functions | List of all members
llvm::orc::ObjectLayer Class Referenceabstract

Interface for Layers that accept object files. More...

#include "llvm/ExecutionEngine/Orc/Layer.h"

Inheritance diagram for llvm::orc::ObjectLayer:
Inheritance graph
[legend]

Public Member Functions

 ObjectLayer (ExecutionSession &ES)
 
virtual ~ObjectLayer ()
 
ExecutionSessiongetExecutionSession ()
 Returns the execution session for this layer. More...
 
virtual Error add (ResourceTrackerSP RT, std::unique_ptr< MemoryBuffer > O)
 Adds a MaterializationUnit representing the given IR to the given JITDylib. More...
 
Error add (JITDylib &JD, std::unique_ptr< MemoryBuffer > O)
 
virtual void emit (std::unique_ptr< MaterializationResponsibility > R, std::unique_ptr< MemoryBuffer > O)=0
 Emit should materialize the given IR. More...
 

Detailed Description

Interface for Layers that accept object files.

Definition at line 132 of file Layer.h.

Constructor & Destructor Documentation

◆ ObjectLayer()

llvm::orc::ObjectLayer::ObjectLayer ( ExecutionSession ES)

Definition at line 158 of file Layer.cpp.

◆ ~ObjectLayer()

llvm::orc::ObjectLayer::~ObjectLayer ( )
virtual

Definition at line 160 of file Layer.cpp.

Member Function Documentation

◆ add() [1/2]

Error llvm::orc::ObjectLayer::add ( ResourceTrackerSP  RT,
std::unique_ptr< MemoryBuffer O 
)
virtual

◆ add() [2/2]

Error llvm::orc::ObjectLayer::add ( JITDylib JD,
std::unique_ptr< MemoryBuffer O 
)
inline

◆ emit()

virtual void llvm::orc::ObjectLayer::emit ( std::unique_ptr< MaterializationResponsibility R,
std::unique_ptr< MemoryBuffer O 
)
pure virtual

◆ getExecutionSession()

ExecutionSession& llvm::orc::ObjectLayer::getExecutionSession ( )
inline

The documentation for this class was generated from the following files: