class ExecutorAddr
Declaration
class ExecutorAddr { /* full declaration omitted */ };
Description
Represents an address in the executor process.
Declared at: llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h:30
Member Variables
- private uint64_t Addr = 0
Method Overview
- public ExecutorAddr()
- public constexpr ExecutorAddr(uint64_t Addr)
- public template <typename T>static llvm::orc::ExecutorAddr fromPtr(T * Value)
- public uint64_t getValue() const
- public bool isNull() const
- public bool operator bool() const
- public void setValue(uint64_t Addr)
- public template <typename T>std::enable_if_t<std::is_pointer<T>::value, T> toPtr() const
- public template <typename T>std::enable_if_t<std::is_function<T>::value, T *> toPtr() const
Methods
¶ExecutorAddr()
ExecutorAddr()
Declared at: llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h:32
¶constexpr ExecutorAddr(uint64_t Addr)
constexpr ExecutorAddr(uint64_t Addr)
Description
Create an ExecutorAddr from the given value.
Declared at: llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h:35
Parameters
- uint64_t Addr
¶template <typename T>
static llvm::orc::ExecutorAddr fromPtr(T* Value)
template <typename T>
static llvm::orc::ExecutorAddr fromPtr(T* Value)
Description
Create an ExecutorAddr from the given pointer. Warning: This should only be used when JITing in-process.
Declared at: llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h:39
Templates
- T
Parameters
- T* Value
¶uint64_t getValue() const
uint64_t getValue() const
Declared at: llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h:62
¶bool isNull() const
bool isNull() const
Declared at: llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h:64
¶bool operator bool() const
bool operator bool() const
Declared at: llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h:66
¶void setValue(uint64_t Addr)
void setValue(uint64_t Addr)
Declared at: llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h:63
Parameters
- uint64_t Addr
¶template <typename T>
std::enable_if_t<std::is_pointer<T>::value, T>
toPtr() const
template <typename T>
std::enable_if_t<std::is_pointer<T>::value, T>
toPtr() const
Description
Cast this ExecutorAddr to a pointer of the given type. Warning: This should only be used when JITing in-process.
Declared at: llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h:47
Templates
- T
¶template <typename T>
std::enable_if_t<std::is_function<T>::value, T*>
toPtr() const
template <typename T>
std::enable_if_t<std::is_function<T>::value, T*>
toPtr() const
Description
Cast this ExecutorAddr to a pointer of the given function type. Warning: This should only be used when JITing in-process.
Declared at: llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h:56
Templates
- T