LLVM  6.0.0svn
Public Member Functions | Static Public Attributes | List of all members
llvm::orc::GenericIndirectStubsInfo< StubSizeVal > Class Template Reference

Provide information about stub blocks generated by the makeIndirectStubsBlock function. More...

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

Collaboration diagram for llvm::orc::GenericIndirectStubsInfo< StubSizeVal >:
Collaboration graph
[legend]

Public Member Functions

 GenericIndirectStubsInfo ()=default
 
 GenericIndirectStubsInfo (unsigned NumStubs, sys::OwningMemoryBlock StubsMem)
 
 GenericIndirectStubsInfo (GenericIndirectStubsInfo &&Other)
 
GenericIndirectStubsInfooperator= (GenericIndirectStubsInfo &&Other)
 
unsigned getNumStubs () const
 Number of stubs in this block. More...
 
void * getStub (unsigned Idx) const
 Get a pointer to the stub at the given index, which must be in the range 0 . More...
 
void ** getPtr (unsigned Idx) const
 Get a pointer to the implementation-pointer at the given index, which must be in the range 0 . More...
 

Static Public Attributes

static const unsigned StubSize = StubSizeVal
 

Detailed Description

template<unsigned StubSizeVal>
class llvm::orc::GenericIndirectStubsInfo< StubSizeVal >

Provide information about stub blocks generated by the makeIndirectStubsBlock function.

Definition at line 76 of file OrcABISupport.h.

Constructor & Destructor Documentation

◆ GenericIndirectStubsInfo() [1/3]

template<unsigned StubSizeVal>
llvm::orc::GenericIndirectStubsInfo< StubSizeVal >::GenericIndirectStubsInfo ( )
default

◆ GenericIndirectStubsInfo() [2/3]

template<unsigned StubSizeVal>
llvm::orc::GenericIndirectStubsInfo< StubSizeVal >::GenericIndirectStubsInfo ( unsigned  NumStubs,
sys::OwningMemoryBlock  StubsMem 
)
inline

Definition at line 81 of file OrcABISupport.h.

◆ GenericIndirectStubsInfo() [3/3]

template<unsigned StubSizeVal>
llvm::orc::GenericIndirectStubsInfo< StubSizeVal >::GenericIndirectStubsInfo ( GenericIndirectStubsInfo< StubSizeVal > &&  Other)
inline

Definition at line 83 of file OrcABISupport.h.

References Other.

Member Function Documentation

◆ getNumStubs()

template<unsigned StubSizeVal>
unsigned llvm::orc::GenericIndirectStubsInfo< StubSizeVal >::getNumStubs ( ) const
inline

Number of stubs in this block.

Definition at line 96 of file OrcABISupport.h.

◆ getPtr()

template<unsigned StubSizeVal>
void** llvm::orc::GenericIndirectStubsInfo< StubSizeVal >::getPtr ( unsigned  Idx) const
inline

Get a pointer to the implementation-pointer at the given index, which must be in the range 0 .

. getNumStubs() - 1.

Definition at line 106 of file OrcABISupport.h.

◆ getStub()

template<unsigned StubSizeVal>
void* llvm::orc::GenericIndirectStubsInfo< StubSizeVal >::getStub ( unsigned  Idx) const
inline

Get a pointer to the stub at the given index, which must be in the range 0 .

. getNumStubs() - 1.

Definition at line 100 of file OrcABISupport.h.

◆ operator=()

template<unsigned StubSizeVal>
GenericIndirectStubsInfo& llvm::orc::GenericIndirectStubsInfo< StubSizeVal >::operator= ( GenericIndirectStubsInfo< StubSizeVal > &&  Other)
inline

Definition at line 88 of file OrcABISupport.h.

References Other.

Member Data Documentation

◆ StubSize

template<unsigned StubSizeVal>
const unsigned llvm::orc::GenericIndirectStubsInfo< StubSizeVal >::StubSize = StubSizeVal
static

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