LLVM
24.0.0git
include
llvm
ExecutionEngine
Orc
InstanceSymbolGeneratorSPS.h
Go to the documentation of this file.
1
//===- InstanceSymbolGeneratorSPS.h - SPS instance symbols ------*- 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 InstanceSymbolGenerator to the ORC runtime's SPS controller interface:
10
// a ProxySpec for the lookup operation, plus a factory that constructs a
11
// generator from the lookup function's address.
12
//
13
// The spec is built from the lookup operation's controller-interface
14
// descriptor in Shared/SPSCI/SessionSPSCI.h, which supplies the wrapper name
15
// and wire signature.
16
//
17
//===----------------------------------------------------------------------===//
18
19
#ifndef LLVM_EXECUTIONENGINE_ORC_INSTANCESYMBOLGENERATORSPS_H
20
#define LLVM_EXECUTIONENGINE_ORC_INSTANCESYMBOLGENERATORSPS_H
21
22
#include "
llvm/ExecutionEngine/Orc/InstanceSymbolGenerator.h
"
23
#include "
llvm/ExecutionEngine/Orc/SPSProxySpec.h
"
24
#include "
llvm/ExecutionEngine/Orc/Shared/SPSCI/SessionSPSCI.h
"
25
#include "
llvm/Support/Compiler.h
"
26
27
#include <memory>
28
29
namespace
llvm::orc::sps
{
30
31
using
SessionLookupInstanceSymbolsProxySpec
=
32
ProxySpec<rt::sps_ci::SessionLookupInstanceSymbols>
;
33
34
/// Create an InstanceSymbolGenerator that calls the ORC runtime's SPS
35
/// instance-symbol lookup function at the given address.
36
LLVM_ABI
std::unique_ptr<InstanceSymbolGenerator>
37
createInstanceSymbolGenerator
(
ExecutorAddr
LookupFnAddr);
38
39
}
// namespace llvm::orc::sps
40
41
#endif
// LLVM_EXECUTIONENGINE_ORC_INSTANCESYMBOLGENERATORSPS_H
Compiler.h
LLVM_ABI
#define LLVM_ABI
Definition
Compiler.h:211
InstanceSymbolGenerator.h
SPSProxySpec.h
SessionSPSCI.h
llvm::orc::ExecutorAddr
Represents an address in the executor process.
Definition
ExecutorAddress.h:34
llvm::orc::sps::ProxySpec
Dispatches proxies for the call described by CI, which must provide:
Definition
SPSProxySpec.h:37
llvm::orc::sps
Definition
CallProxiesSPS.h:22
llvm::orc::sps::createInstanceSymbolGenerator
LLVM_ABI std::unique_ptr< InstanceSymbolGenerator > createInstanceSymbolGenerator(ExecutorAddr LookupFnAddr)
Create an InstanceSymbolGenerator that calls the ORC runtime's SPS instance-symbol lookup function at...
Definition
InstanceSymbolGeneratorSPS.cpp:14
llvm::orc::sps::SessionLookupInstanceSymbolsProxySpec
ProxySpec< rt::sps_ci::SessionLookupInstanceSymbols > SessionLookupInstanceSymbolsProxySpec
Definition
InstanceSymbolGeneratorSPS.h:31
Generated on
for LLVM by
1.14.0