Home
last modified time | relevance | path

Searched refs:WrapperFunctionResult (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/orc/
H A Dwrapper_function_utils.h26 class WrapperFunctionResult {
29 WrapperFunctionResult() { orc_rt_WrapperFunctionResultInit(&R); } in WrapperFunctionResult() function
34 WrapperFunctionResult(orc_rt_WrapperFunctionResult R) : R(R) {} in WrapperFunctionResult() function
36 WrapperFunctionResult(const WrapperFunctionResult &) = delete;
37 WrapperFunctionResult &operator=(const WrapperFunctionResult &) = delete;
39 WrapperFunctionResult(WrapperFunctionResult &&Other) { in WrapperFunctionResult() function
44 WrapperFunctionResult &operator=(WrapperFunctionResult &&Other) {
52 ~WrapperFunctionResult() { orc_rt_DisposeWrapperFunctionResult(&R); } in ~WrapperFunctionResult()
75 static WrapperFunctionResult allocate(size_t Size) { in allocate()
76 WrapperFunctionResult R; in allocate()
[all …]
H A Djit_dispatch.h25 WrapperFunctionResult operator()(const char *ArgData, size_t ArgSize) { in operator()
31 return WrapperFunctionResult::createOutOfBandError( in operator()
35 return WrapperFunctionResult::createOutOfBandError( in operator()
H A Dcoff_platform.cpp600 return WrapperFunctionResult().release(); in __orc_rt_coff_platform_bootstrap()
606 return WrapperFunctionResult().release(); in __orc_rt_coff_platform_shutdown()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DWrapperFunctionUtils.h40 class WrapperFunctionResult {
43 WrapperFunctionResult() { init(R); } in WrapperFunctionResult() function
50 WrapperFunctionResult(CWrapperFunctionResult R) : R(R) { in WrapperFunctionResult() function
55 WrapperFunctionResult(const WrapperFunctionResult &) = delete;
56 WrapperFunctionResult &operator=(const WrapperFunctionResult &) = delete;
58 WrapperFunctionResult(WrapperFunctionResult &&Other) { in WrapperFunctionResult() function
63 WrapperFunctionResult &operator=(WrapperFunctionResult &&Other) {
64 WrapperFunctionResult Tmp(std::move(Other));
69 ~WrapperFunctionResult() { in ~WrapperFunctionResult()
113 static WrapperFunctionResult allocate(size_t Size) { in allocate()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/
H A Dwrapper_function_utils_test.cpp25 WrapperFunctionResult R; in TEST()
34 WrapperFunctionResult R(CR); in TEST()
42 auto R = WrapperFunctionResult::copyFrom(TestString, strlen(TestString) + 1); in TEST()
50 auto R = WrapperFunctionResult::copyFrom(TestString); in TEST()
58 auto R = WrapperFunctionResult::copyFrom(std::string(TestString)); in TEST()
66 auto R = WrapperFunctionResult::createOutOfBandError(TestString); in TEST()
163 WrapperFunctionResult WFR(WFC.run()); in TEST()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DSimpleRemoteEPCServer.cpp133 shared::WrapperFunctionResult::createOutOfBandError("disconnecting")); in handleDisconnect()
217 shared::WrapperFunctionResult::allocate(SPSSerialize::size(EI)); in sendSetupMessage()
230 std::promise<shared::WrapperFunctionResult> *P = nullptr; in handleResult()
242 auto R = shared::WrapperFunctionResult::allocate(ArgBytes.size()); in handleResult()
255 shared::WrapperFunctionResult ResultBytes( in handleCallWrapper()
264 shared::WrapperFunctionResult
268 std::promise<shared::WrapperFunctionResult> ResultP; in doJITDispatch()
273 return shared::WrapperFunctionResult::createOutOfBandError( in doJITDispatch()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DExecutorProcessControl.h53 void operator()(shared::WrapperFunctionResult WFR) { H(std::move(WFR)); } in operator()
58 unique_function<void(shared::WrapperFunctionResult)> H;
88 (shared::WrapperFunctionResult WFR) mutable { in operator()
252 shared::WrapperFunctionResult callWrapper(ExecutorAddr WrapperFnAddr, in callWrapper()
254 std::promise<shared::WrapperFunctionResult> RP; in callWrapper()
258 [&](shared::WrapperFunctionResult R) { in callWrapper()
H A DCore.h1368 using SendResultFunction = unique_function<void(shared::WrapperFunctionResult)>;
1632 shared::WrapperFunctionResult callWrapper(ExecutorAddr WrapperFnAddr, in callWrapper()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DSimpleRemoteEPC.cpp119 H(shared::WrapperFunctionResult::createOutOfBandError("disconnecting")); in callWrapperAsync()
205 shared::WrapperFunctionResult::createOutOfBandError("disconnecting")); in handleDisconnect()
303 shared::WrapperFunctionResult::copyFrom(ArgBytes.data(), ArgBytes.size()); in handleSetup()
317 [&](shared::WrapperFunctionResult SetupMsgBytes) { in setup()
422 shared::WrapperFunctionResult::copyFrom(ArgBytes.data(), ArgBytes.size()); in handleResult()
434 [this, RemoteSeqNo](shared::WrapperFunctionResult WFR) { in handleCallWrapper()
447 auto WFR = WrapperFunctionResult::copyFrom(ArgBytes.data(), ArgBytes.size()); in handleHangup()
H A DSelfExecutorProcessControl.cpp158 std::promise<shared::WrapperFunctionResult> ResultP; in jitDispatchViaWrapperFunctionManager()
164 shared::WrapperFunctionResult Result) mutable { in jitDispatchViaWrapperFunctionManager()
H A DCore.cpp1952 SendResult(shared::WrapperFunctionResult::createOutOfBandError( in runJITDispatchHandler()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/
H A DSimpleRemoteEPCServer.h166 shared::WrapperFunctionResult
178 DenseMap<uint64_t, std::promise<shared::WrapperFunctionResult> *>;