LLVM  14.0.0git
Public Member Functions | Static Public Member Functions | Friends | List of all members
llvm::orc::ExecutorAddr Class Reference

Represents an address in the executor process. More...

#include "llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h"

Public Member Functions

 ExecutorAddr ()=default
 
 ExecutorAddr (uint64_t Addr)
 Create an ExecutorAddr from the given value. More...
 
template<typename T >
T toPtr () const
 Cast this ExecutorAddr to a pointer of the given type. More...
 
uint64_t getValue () const
 
void setValue (uint64_t Addr)
 
bool isNull () const
 
 operator bool () const
 
ExecutorAddroperator++ ()
 
ExecutorAddroperator-- ()
 
ExecutorAddr operator++ (int)
 
ExecutorAddr operator-- (int)
 
ExecutorAddroperator+= (const ExecutorAddrDiff Delta)
 
ExecutorAddroperator-= (const ExecutorAddrDiff Delta)
 

Static Public Member Functions

template<typename T >
static ExecutorAddr fromPtr (T *Value)
 Create an ExecutorAddr from the given pointer. More...
 

Friends

bool operator== (const ExecutorAddr &LHS, const ExecutorAddr &RHS)
 
bool operator!= (const ExecutorAddr &LHS, const ExecutorAddr &RHS)
 
bool operator< (const ExecutorAddr &LHS, const ExecutorAddr &RHS)
 
bool operator<= (const ExecutorAddr &LHS, const ExecutorAddr &RHS)
 
bool operator> (const ExecutorAddr &LHS, const ExecutorAddr &RHS)
 
bool operator>= (const ExecutorAddr &LHS, const ExecutorAddr &RHS)
 

Detailed Description

Represents an address in the executor process.

Definition at line 37 of file ExecutorAddress.h.

Constructor & Destructor Documentation

◆ ExecutorAddr() [1/2]

llvm::orc::ExecutorAddr::ExecutorAddr ( )
default

Referenced by fromPtr(), operator++(), and operator--().

◆ ExecutorAddr() [2/2]

llvm::orc::ExecutorAddr::ExecutorAddr ( uint64_t  Addr)
inlineexplicit

Create an ExecutorAddr from the given value.

Definition at line 42 of file ExecutorAddress.h.

References Addr.

Member Function Documentation

◆ fromPtr()

template<typename T >
static ExecutorAddr llvm::orc::ExecutorAddr::fromPtr ( T Value)
inlinestatic

◆ getValue()

uint64_t llvm::orc::ExecutorAddr::getValue ( ) const
inline

◆ isNull()

bool llvm::orc::ExecutorAddr::isNull ( ) const
inline

Definition at line 62 of file ExecutorAddress.h.

◆ operator bool()

llvm::orc::ExecutorAddr::operator bool ( ) const
inlineexplicit

Definition at line 64 of file ExecutorAddress.h.

◆ operator++() [1/2]

ExecutorAddr& llvm::orc::ExecutorAddr::operator++ ( )
inline

Definition at line 90 of file ExecutorAddress.h.

◆ operator++() [2/2]

ExecutorAddr llvm::orc::ExecutorAddr::operator++ ( int  )
inline

Definition at line 98 of file ExecutorAddress.h.

References ExecutorAddr().

◆ operator+=()

ExecutorAddr& llvm::orc::ExecutorAddr::operator+= ( const ExecutorAddrDiff  Delta)
inline

Definition at line 101 of file ExecutorAddress.h.

References llvm::orc::ExecutorAddrDiff::getValue().

◆ operator--() [1/2]

ExecutorAddr& llvm::orc::ExecutorAddr::operator-- ( )
inline

Definition at line 94 of file ExecutorAddress.h.

◆ operator--() [2/2]

ExecutorAddr llvm::orc::ExecutorAddr::operator-- ( int  )
inline

Definition at line 99 of file ExecutorAddress.h.

References ExecutorAddr().

◆ operator-=()

ExecutorAddr& llvm::orc::ExecutorAddr::operator-= ( const ExecutorAddrDiff  Delta)
inline

Definition at line 106 of file ExecutorAddress.h.

References llvm::orc::ExecutorAddrDiff::getValue().

◆ setValue()

void llvm::orc::ExecutorAddr::setValue ( uint64_t  Addr)
inline

Definition at line 61 of file ExecutorAddress.h.

References Addr.

◆ toPtr()

template<typename T >
T llvm::orc::ExecutorAddr::toPtr ( ) const
inline

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const ExecutorAddr LHS,
const ExecutorAddr RHS 
)
friend

Definition at line 70 of file ExecutorAddress.h.

◆ operator<

bool operator< ( const ExecutorAddr LHS,
const ExecutorAddr RHS 
)
friend

Definition at line 74 of file ExecutorAddress.h.

◆ operator<=

bool operator<= ( const ExecutorAddr LHS,
const ExecutorAddr RHS 
)
friend

Definition at line 78 of file ExecutorAddress.h.

◆ operator==

bool operator== ( const ExecutorAddr LHS,
const ExecutorAddr RHS 
)
friend

Definition at line 66 of file ExecutorAddress.h.

◆ operator>

bool operator> ( const ExecutorAddr LHS,
const ExecutorAddr RHS 
)
friend

Definition at line 82 of file ExecutorAddress.h.

◆ operator>=

bool operator>= ( const ExecutorAddr LHS,
const ExecutorAddr RHS 
)
friend

Definition at line 86 of file ExecutorAddress.h.


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