|
LLVM 24.0.0git
|
The resolved controller-side handle to an executor-side memory manager: the address of the manager instance, which is passed as the first argument to each call, plus the proxies for its operations. More...
#include "llvm/ExecutionEngine/Orc/SimpleMemoryMap.h"
Public Types | |
| using | ReserveProxy = Proxy<Expected<ExecutorAddr>(ExecutorAddr, uint64_t)> |
| Reserve an address range of the given size; returns its base. | |
| using | InitializeProxy |
| Apply a finalize request; returns a key for the initialized allocation. | |
| using | DeinitializeProxy = Proxy<Error(ExecutorAddr, ArrayRef<ExecutorAddr>)> |
| Deinitialize the allocations with the given keys (running their deallocation actions) without releasing their memory. | |
| using | ReleaseProxy = Proxy<Error(ExecutorAddr, ArrayRef<ExecutorAddr>)> |
| Release the reservations with the given base addresses. | |
Public Attributes | |
| ExecutorAddr | Instance |
| ReserveProxy | Reserve |
| InitializeProxy | Initialize |
| DeinitializeProxy | Deinitialize |
| ReleaseProxy | Release |
The resolved controller-side handle to an executor-side memory manager: the address of the manager instance, which is passed as the first argument to each call, plus the proxies for its operations.
These are protocol-agnostic: sps::createSimpleMemoryMapBindings populates them over the runtime's SPS controller interface, but a client targeting a different protocol – or a different executor-side implementation of these operations – can build its own and pass them to the utility that will use them.
Definition at line 44 of file SimpleMemoryMap.h.
| using llvm::orc::SimpleMemoryMapBindings::DeinitializeProxy = Proxy<Error(ExecutorAddr, ArrayRef<ExecutorAddr>)> |
Deinitialize the allocations with the given keys (running their deallocation actions) without releasing their memory.
Definition at line 54 of file SimpleMemoryMap.h.
Apply a finalize request; returns a key for the initialized allocation.
Definition at line 49 of file SimpleMemoryMap.h.
| using llvm::orc::SimpleMemoryMapBindings::ReleaseProxy = Proxy<Error(ExecutorAddr, ArrayRef<ExecutorAddr>)> |
Release the reservations with the given base addresses.
Definition at line 57 of file SimpleMemoryMap.h.
| using llvm::orc::SimpleMemoryMapBindings::ReserveProxy = Proxy<Expected<ExecutorAddr>(ExecutorAddr, uint64_t)> |
Reserve an address range of the given size; returns its base.
Definition at line 46 of file SimpleMemoryMap.h.
| DeinitializeProxy llvm::orc::SimpleMemoryMapBindings::Deinitialize |
Definition at line 62 of file SimpleMemoryMap.h.
| InitializeProxy llvm::orc::SimpleMemoryMapBindings::Initialize |
Definition at line 61 of file SimpleMemoryMap.h.
| ExecutorAddr llvm::orc::SimpleMemoryMapBindings::Instance |
Definition at line 59 of file SimpleMemoryMap.h.
| ReleaseProxy llvm::orc::SimpleMemoryMapBindings::Release |
Definition at line 63 of file SimpleMemoryMap.h.
| ReserveProxy llvm::orc::SimpleMemoryMapBindings::Reserve |
Definition at line 60 of file SimpleMemoryMap.h.