LLVM 24.0.0git
llvm::orc::SimpleMemoryMapBindings Struct Reference

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

Detailed Description

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.

Member Typedef Documentation

◆ DeinitializeProxy

Deinitialize the allocations with the given keys (running their deallocation actions) without releasing their memory.

Definition at line 54 of file SimpleMemoryMap.h.

◆ InitializeProxy

Initial value:

Apply a finalize request; returns a key for the initialized allocation.

Definition at line 49 of file SimpleMemoryMap.h.

◆ ReleaseProxy

Release the reservations with the given base addresses.

Definition at line 57 of file SimpleMemoryMap.h.

◆ ReserveProxy

Reserve an address range of the given size; returns its base.

Definition at line 46 of file SimpleMemoryMap.h.

Member Data Documentation

◆ Deinitialize

DeinitializeProxy llvm::orc::SimpleMemoryMapBindings::Deinitialize

Definition at line 62 of file SimpleMemoryMap.h.

◆ Initialize

InitializeProxy llvm::orc::SimpleMemoryMapBindings::Initialize

Definition at line 61 of file SimpleMemoryMap.h.

◆ Instance

ExecutorAddr llvm::orc::SimpleMemoryMapBindings::Instance

Definition at line 59 of file SimpleMemoryMap.h.

◆ Release

ReleaseProxy llvm::orc::SimpleMemoryMapBindings::Release

Definition at line 63 of file SimpleMemoryMap.h.

◆ Reserve

ReserveProxy llvm::orc::SimpleMemoryMapBindings::Reserve

Definition at line 60 of file SimpleMemoryMap.h.


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