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.h27 class WrapperFunctionResult {
29 /// Create a default WrapperFunctionResult.
30 WrapperFunctionResult() { orc_rt_CWrapperFunctionResultInit(&R); } in WrapperFunctionResult() function
32 /// Create a WrapperFunctionResult from a CWrapperFunctionResult. This
35 WrapperFunctionResult(orc_rt_CWrapperFunctionResult R) : R(R) {} in WrapperFunctionResult() function
37 WrapperFunctionResult(const WrapperFunctionResult &) = delete;
38 WrapperFunctionResult &operator=(const WrapperFunctionResult &) = delete;
40 WrapperFunctionResult(WrapperFunctionResul function
[all...]
H A Dcoff_platform.cpp600 return WrapperFunctionResult().release(); in __orc_rt_coff_platform_bootstrap()
606 return WrapperFunctionResult().release(); in __orc_rt_coff_platform_shutdown()
H A Delfnix_platform.cpp487 return WrapperFunctionResult().release(); in __orc_rt_elfnix_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.cpp23 WrapperFunctionResult R; in TEST()
32 WrapperFunctionResult R(CR); in TEST()
40 auto R = WrapperFunctionResult::copyFrom(TestString, strlen(TestString) + 1); in TEST()
48 auto R = WrapperFunctionResult::copyFrom(TestString); in TEST()
56 auto R = WrapperFunctionResult::copyFrom(std::string(TestString)); in TEST()
64 auto R = WrapperFunctionResult::createOutOfBandError(TestString); in TEST()
159 WrapperFunctionResult WFR(WFC.run()); in TEST()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DSimpleRemoteEPCServer.cpp134 shared::WrapperFunctionResult::createOutOfBandError("disconnecting")); in handleDisconnect()
219 shared::WrapperFunctionResult::allocate(SPSSerialize::size(EI)); in sendSetupMessage()
232 std::promise<shared::WrapperFunctionResult> *P = nullptr; in handleResult()
244 auto R = shared::WrapperFunctionResult::allocate(ArgBytes.size()); in handleCallWrapper()
257 shared::WrapperFunctionResult ResultBytes( in handleCallWrapper()
266 shared::WrapperFunctionResult in doJITDispatch()
270 std::promise<shared::WrapperFunctionResult> ResultP; in doJITDispatch()
275 return shared::WrapperFunctionResult::createOutOfBandError( in doJITDispatch()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DSimpleRemoteEPC.cpp121 H(shared::WrapperFunctionResult::createOutOfBandError("disconnecting")); in callWrapperAsync()
207 shared::WrapperFunctionResult::createOutOfBandError("disconnecting")); in handleDisconnect()
289 shared::WrapperFunctionResult::copyFrom(ArgBytes.data(), ArgBytes.size()); in handleSetup()
303 [&](shared::WrapperFunctionResult SetupMsgBytes) { in setup()
408 shared::WrapperFunctionResult::copyFrom(ArgBytes.data(), ArgBytes.size()); in handleResult()
420 [this, RemoteSeqNo](shared::WrapperFunctionResult WFR) { in handleCallWrapper()
433 auto WFR = WrapperFunctionResult::copyFrom(ArgBytes.data(), ArgBytes.size()); in handleHangup()
H A DExecutorProcessControl.cpp206 std::promise<shared::WrapperFunctionResult> ResultP; in jitDispatchViaWrapperFunctionManager()
212 shared::WrapperFunctionResult Result) mutable { in jitDispatchViaWrapperFunctionManager()
H A DCore.cpp1957 SendResult(shared::WrapperFunctionResult::createOutOfBandError( in runJITDispatchHandler()
/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()
363 shared::WrapperFunctionResult callWrapper(ExecutorAddr WrapperFnAddr, in callWrapper()
365 std::promise<shared::WrapperFunctionResult> RP; in callWrapper()
369 [&](shared::WrapperFunctionResult R) { in callWrapper()
H A DCore.h1444 using SendResultFunction = unique_function<void(shared::WrapperFunctionResult)>;
1665 shared::WrapperFunctionResult callWrapper(ExecutorAddr WrapperFnAddr, in callWrapper()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/
H A DSimpleRemoteEPCServer.h165 shared::WrapperFunctionResult
177 DenseMap<uint64_t, std::promise<shared::WrapperFunctionResult> *>;