LLVM 24.0.0git
CallProxySpecs.h
Go to the documentation of this file.
1//===----- CallProxySpecs.h - SPS specs for CallProxies ---------*- 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 ProxySpecs (signatures, controller-interface names, and dispatch) for the
10// CallProxies.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_EXECUTIONENGINE_ORC_RTBRIDGE_SPS_CALLPROXYSPECS_H
15#define LLVM_EXECUTIONENGINE_ORC_RTBRIDGE_SPS_CALLPROXYSPECS_H
16
19
20#include <cstdint>
21
23
26inline constexpr char CallMainCIName[] = "orc_rt_ci_sps_call_main";
27/// SPS proxy for rt::CallMainProxy: runs a main-like function
28/// (int(int argc, char *argv[])) in the executor.
31
33inline constexpr char CallVoidVoidCIName[] = "orc_rt_ci_sps_call_void_void";
34/// SPS proxy for rt::CallVoidVoidProxy: runs a void() function in the executor.
35/// WARNING: This Proxy is experimental and may be removed.
38
40inline constexpr char CallInt32VoidCIName[] = "orc_rt_ci_sps_call_int32_void";
41/// SPS proxy for rt::CallInt32VoidProxy: runs an int32_t() function in the
42/// executor.
43/// WARNING: This Proxy is experimental and may be removed.
46
48inline constexpr char CallInt32Int32CIName[] = "orc_rt_ci_sps_call_int32_int32";
49/// SPS proxy for rt::CallInt32Int32Proxy: runs an int32_t(int32_t) function in
50/// the executor.
51/// WARNING: This Proxy is experimental and may be removed.
55
56} // namespace llvm::orc::rt::sps
57
58#endif // LLVM_EXECUTIONENGINE_ORC_RTBRIDGE_SPS_CALLPROXYSPECS_H
ProxySpec< rt::CallInt32VoidProxy, CallInt32VoidSPSSig, CallInt32VoidCIName > CallInt32VoidProxySpec
SPS proxy for rt::CallInt32VoidProxy: runs an int32_t() function in the executor.
ProxySpec< rt::CallVoidVoidProxy, CallVoidVoidSPSSig, CallVoidVoidCIName > CallVoidVoidProxySpec
SPS proxy for rt::CallVoidVoidProxy: runs a void() function in the executor.
void(shared::SPSExecutorAddr) CallVoidVoidSPSSig
int32_t(shared::SPSExecutorAddr, int32_t) CallInt32Int32SPSSig
ProxySpec< rt::CallMainProxy, CallMainSPSSig, CallMainCIName > CallMainProxySpec
SPS proxy for rt::CallMainProxy: runs a main-like function (int(int argc, char *argv[])) in the execu...
constexpr char CallInt32VoidCIName[]
constexpr char CallMainCIName[]
constexpr char CallInt32Int32CIName[]
constexpr char CallVoidVoidCIName[]
int64_t(shared::SPSExecutorAddr, shared::SPSSequence< shared::SPSString >) CallMainSPSSig
int32_t(shared::SPSExecutorAddr) CallInt32VoidSPSSig
ProxySpec< rt::CallInt32Int32Proxy, CallInt32Int32SPSSig, CallInt32Int32CIName > CallInt32Int32ProxySpec
SPS proxy for rt::CallInt32Int32Proxy: runs an int32_t(int32_t) function in the executor.
Proxy< int32_t(ExecutorAddr, int32_t)> CallInt32Int32Proxy
Runtime-agnostic interface for running an int32_t(int32_t) function in the executor.
Definition CallProxies.h:53