LLVM  4.0.0
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 <OrcABISupport.h>

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

Public Member Functions

 GenericIndirectStubsInfo ()
 
 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 72 of file OrcABISupport.h.

Constructor & Destructor Documentation

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

Definition at line 76 of file OrcABISupport.h.

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

Definition at line 77 of file OrcABISupport.h.

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

Definition at line 79 of file OrcABISupport.h.

References Other.

Member Function Documentation

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

Number of stubs in this block.

Definition at line 91 of file OrcABISupport.h.

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 101 of file OrcABISupport.h.

References llvm::sys::OwningMemoryBlock::base(), and llvm::orc::GenericIndirectStubsInfo< StubSizeVal >::StubSize.

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 95 of file OrcABISupport.h.

References llvm::sys::OwningMemoryBlock::base(), and llvm::orc::GenericIndirectStubsInfo< StubSizeVal >::StubSize.

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

Definition at line 83 of file OrcABISupport.h.

References Other.

Member Data Documentation

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

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