LLVM  7.0.0
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:
[legend]

Public Member Functions

 ObjectLayer (ExecutionSession &ES)
 
virtual ~ObjectLayer ()
 
ExecutionSession & getExecutionSession ()
 Returns the execution session for this layer. More...
 
virtual Error add (VSO &V, VModuleKey K, std::unique_ptr< MemoryBuffer > O)
 Adds a MaterializationUnit representing the given IR to the given VSO. More...
 
virtual void emit (MaterializationResponsibility R, VModuleKey K, 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 86 of file Layer.h.

Constructor & Destructor Documentation

◆ ObjectLayer()

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

Definition at line 66 of file Layer.cpp.

◆ ~ObjectLayer()

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

Definition at line 68 of file Layer.cpp.

Member Function Documentation

◆ add()

Error llvm::orc::ObjectLayer::add ( VSO &  V,
VModuleKey  K,
std::unique_ptr< MemoryBuffer >  O 
)
virtual

Adds a MaterializationUnit representing the given IR to the given VSO.

Definition at line 70 of file Layer.cpp.

References llvm::orc::VSO::define().

◆ emit()

virtual void llvm::orc::ObjectLayer::emit ( MaterializationResponsibility  R,
VModuleKey  K,
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: