LLVM  7.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::orc::ExecutionSession Class Reference

An ExecutionSession represents a running JIT program. More...

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

Collaboration diagram for llvm::orc::ExecutionSession:
Collaboration graph
[legend]

Public Member Functions

 ExecutionSession (SymbolStringPool &SSP)
 Construct an ExecutionEngine. More...
 
SymbolStringPoolgetSymbolStringPool () const
 Returns the SymbolStringPool for this ExecutionSession. More...
 
VModuleKey allocateVModule ()
 Allocate a module key for a new module to add to the JIT. More...
 
void releaseVModule (VModuleKey Key)
 Return a module key to the ExecutionSession so that it can be re-used. More...
 

Public Attributes

SymbolStringPoolSSP
 
VModuleKey LastKey = 0
 

Detailed Description

An ExecutionSession represents a running JIT program.

Definition at line 310 of file Core.h.

Constructor & Destructor Documentation

◆ ExecutionSession()

llvm::orc::ExecutionSession::ExecutionSession ( SymbolStringPool SSP)

Construct an ExecutionEngine.

SymbolStringPools may be shared between ExecutionSessions.

Definition at line 336 of file Core.cpp.

Member Function Documentation

◆ allocateVModule()

VModuleKey llvm::orc::ExecutionSession::allocateVModule ( )

Allocate a module key for a new module to add to the JIT.

Definition at line 338 of file Core.cpp.

References LastKey.

◆ getSymbolStringPool()

SymbolStringPool& llvm::orc::ExecutionSession::getSymbolStringPool ( ) const
inline

◆ releaseVModule()

void llvm::orc::ExecutionSession::releaseVModule ( VModuleKey  Key)

Return a module key to the ExecutionSession so that it can be re-used.

This should only be done once all resources associated

Definition at line 340 of file Core.cpp.

Member Data Documentation

◆ LastKey

VModuleKey llvm::orc::ExecutionSession::LastKey = 0

Definition at line 330 of file Core.h.

Referenced by allocateVModule().

◆ SSP

SymbolStringPool& llvm::orc::ExecutionSession::SSP

Definition at line 329 of file Core.h.


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