LLVM 24.0.0git
SharedMemoryMapperSPSCI.h
Go to the documentation of this file.
1//===- SharedMemoryMapperSPSCI.h - SPS CI for shared-mem mapping *- 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// SPS controller-interface descriptors for the executor's shared-memory mapper
10// service. See CallSPSCI.h for a description of the descriptor scheme.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_EXECUTIONENGINE_ORC_SHARED_SPSCI_SHAREDMEMORYMAPPERSPSCI_H
15#define LLVM_EXECUTIONENGINE_ORC_SHARED_SPSCI_SHAREDMEMORYMAPPERSPSCI_H
16
20
21#include <cstdint>
22
23namespace llvm::orc::rt::sps_ci {
24
25inline constexpr char SharedMemoryMapperInstanceName[] =
26 "__llvm_orc_ExecutorSharedMemoryMapperService_Instance";
27
29 static constexpr char Name[] =
30 "__llvm_orc_ExecutorSharedMemoryMapperService_Reserve";
34};
35
37 static constexpr char Name[] =
38 "__llvm_orc_ExecutorSharedMemoryMapperService_Initialize";
42};
43
45 static constexpr char Name[] =
46 "__llvm_orc_ExecutorSharedMemoryMapperService_Deinitialize";
47 using SPSSig = shared::SPSError(shared::SPSExecutorAddr,
49};
50
52 static constexpr char Name[] =
53 "__llvm_orc_ExecutorSharedMemoryMapperService_Release";
54 using SPSSig = shared::SPSError(shared::SPSExecutorAddr,
56};
57
58} // namespace llvm::orc::rt::sps_ci
59
60#endif // LLVM_EXECUTIONENGINE_ORC_SHARED_SPSCI_SHAREDMEMORYMAPPERSPSCI_H
unsigned uint64_t
SPS tag type for expecteds, which are either a T or a string representing an error.
constexpr char SharedMemoryMapperInstanceName[]
SPSTuple< SPSSequence< SPSSharedMemorySegFinalizeRequest >, SPSSequence< SPSAllocActionCallPair > > SPSSharedMemoryFinalizeRequest
shared::SPSError(shared::SPSExecutorAddr, shared::SPSSequence< shared::SPSExecutorAddr >) SPSSig
shared::SPSExpected< shared::SPSExecutorAddr >( shared::SPSExecutorAddr, shared::SPSExecutorAddr, shared::SPSSharedMemoryFinalizeRequest) SPSSig
shared::SPSError(shared::SPSExecutorAddr, shared::SPSSequence< shared::SPSExecutorAddr >) SPSSig
shared::SPSExpected< shared::SPSTuple< shared::SPSExecutorAddr, shared::SPSString > >( shared::SPSExecutorAddr, uint64_t) SPSSig