LLVM 24.0.0git
SharedMemoryMapSPS.h
Go to the documentation of this file.
1//===- SharedMemoryMapSPS.h - SPS shared-memory map bindings ----*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// Binds SharedMemoryMapBindings to the ORC runtime's SPS controller interface.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_EXECUTIONENGINE_ORC_SHAREDMEMORYMAPSPS_H
14#define LLVM_EXECUTIONENGINE_ORC_SHAREDMEMORYMAPSPS_H
15
21
22namespace llvm::orc::sps {
23
24/// A ProxySpec per operation, built from the operation's controller-interface
25/// descriptor in Shared/SPSCI/SharedMemoryMapperSPSCI.h, which supplies the
26/// wrapper name and wire signature. The specs are public so that clients can
27/// resolve the operations under non-default names, using
28/// recordProxy<Spec>(&P, Name) with lookupAndApply.
37
38/// Build bindings over the SPS controller interface, resolving the operations
39/// in the given JITDylib under the specs' default names.
42
43/// As above, resolving the operations in ES's bootstrap JITDylib.
46
47} // namespace llvm::orc::sps
48
49#endif // LLVM_EXECUTIONENGINE_ORC_SHAREDMEMORYMAPSPS_H
#define LLVM_ABI
Definition Compiler.h:211
Tagged union holding either a T or a Error.
Definition Error.h:485
An ExecutionSession represents a running JIT program.
Definition Core.h:1104
Represents a JIT'd dynamic library.
Definition Core.h:675
Dispatches proxies for the call described by CI, which must provide:
LLVM_ABI Expected< SharedMemoryMapBindings > createSharedMemoryMapBindings(JITDylib &JD)
Build bindings over the SPS controller interface, resolving the operations in the given JITDylib unde...
ProxySpec< rt::sps_ci::SharedMemoryMapperRelease > SharedMemoryMapReleaseProxySpec
ProxySpec< rt::sps_ci::SharedMemoryMapperInitialize > SharedMemoryMapInitializeProxySpec
ProxySpec< rt::sps_ci::SharedMemoryMapperReserve > SharedMemoryMapReserveProxySpec
A ProxySpec per operation, built from the operation's controller-interface descriptor in Shared/SPSCI...
ProxySpec< rt::sps_ci::SharedMemoryMapperDeinitialize > SharedMemoryMapDeinitializeProxySpec