LLVM 24.0.0git
CallProxiesSPS.h
Go to the documentation of this file.
1//===----- CallProxiesSPS.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 for the CallProxies: each is built from a
10// controller-interface descriptor in Shared/SPSCI/CallSPSCI.h, which supplies
11// the wrapper name and wire signature.
12//
13//===----------------------------------------------------------------------===//
14
15#ifndef LLVM_EXECUTIONENGINE_ORC_CALLPROXIESSPS_H
16#define LLVM_EXECUTIONENGINE_ORC_CALLPROXIESSPS_H
17
21
22namespace llvm::orc::sps {
23
24/// SPS proxy for CallMainProxy: runs a main-like function
25/// (int(int argc, char *argv[])) in the executor.
27
28/// SPS proxy for CallVoidVoidProxy: runs a void() function in the executor.
29/// WARNING: This Proxy is experimental and may be removed.
31
32/// SPS proxy for CallInt32VoidProxy: runs an int32_t() function in the
33/// executor.
34/// WARNING: This Proxy is experimental and may be removed.
36
37/// SPS proxy for CallInt32Int32Proxy: runs an int32_t(int32_t) function in
38/// the executor.
39/// WARNING: This Proxy is experimental and may be removed.
41
42} // namespace llvm::orc::sps
43
44#endif // LLVM_EXECUTIONENGINE_ORC_CALLPROXIESSPS_H
Dispatches proxies for the call described by CI, which must provide:
ProxySpec< rt::sps_ci::CallVoidVoid > CallVoidVoidProxySpec
SPS proxy for CallVoidVoidProxy: runs a void() function in the executor.
ProxySpec< rt::sps_ci::CallInt32Int32 > CallInt32Int32ProxySpec
SPS proxy for CallInt32Int32Proxy: runs an int32_t(int32_t) function in the executor.
ProxySpec< rt::sps_ci::CallInt32Void > CallInt32VoidProxySpec
SPS proxy for CallInt32VoidProxy: runs an int32_t() function in the executor.
ProxySpec< rt::sps_ci::CallMain > CallMainProxySpec
SPS proxy for CallMainProxy: runs a main-like function (int(int argc, char *argv[])) in the executor.