Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/compiler-rt/lib/orc/
H A Dwrapper_function_utils.h27 class WrapperFunctionResult {
37 WrapperFunctionResult(const WrapperFunctionResult &) = delete;
38 WrapperFunctionResult &operator=(const WrapperFunctionResult &) = delete;
40 WrapperFunctionResult(WrapperFunctionResult &&Other) { in WrapperFunctionResult() function
45 WrapperFunctionResult &operator=(WrapperFunctionResult &&Other) {
76 static WrapperFunctionResult allocate(size_t Size) { in allocate()
77 WrapperFunctionResult R; in allocate()
213 static WrapperFunctionResult serialize(RetT Result) { in serialize()
220 static WrapperFunctionResult serialize(Error Err) { in serialize()
435 WrapperFunctionResult run() const { in run()
[all …]
H A Dcoff_platform.cpp601 return WrapperFunctionResult().release(); in __orc_rt_coff_platform_bootstrap()
607 return WrapperFunctionResult().release(); in __orc_rt_coff_platform_shutdown()
H A Delfnix_platform.cpp468 return WrapperFunctionResult().release(); in __orc_rt_elfnix_platform_shutdown()
/openbsd/gnu/llvm/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DWrapperFunctionUtils.h40 class WrapperFunctionResult {
43 WrapperFunctionResult() { init(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) {
69 ~WrapperFunctionResult() { in ~WrapperFunctionResult()
115 WrapperFunctionResult WFR; in allocate()
142 WrapperFunctionResult WFR; in createOutOfBandError()
172 WrapperFunctionResult
[all …]
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DSimpleRemoteEPCServer.cpp133 shared::WrapperFunctionResult::createOutOfBandError("disconnecting")); in handleDisconnect()
213 shared::WrapperFunctionResult::allocate(SPSSerialize::size(EI)); in sendSetupMessage()
226 std::promise<shared::WrapperFunctionResult> *P = nullptr; in handleResult()
238 auto R = shared::WrapperFunctionResult::allocate(ArgBytes.size()); in handleResult()
251 shared::WrapperFunctionResult ResultBytes( in handleCallWrapper()
260 shared::WrapperFunctionResult
264 std::promise<shared::WrapperFunctionResult> ResultP; in doJITDispatch()
269 return shared::WrapperFunctionResult::createOutOfBandError( in doJITDispatch()
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DSimpleRemoteEPC.cpp104 H(shared::WrapperFunctionResult::createOutOfBandError("disconnecting")); in callWrapperAsync()
191 shared::WrapperFunctionResult::createOutOfBandError("disconnecting")); in handleDisconnect()
274 shared::WrapperFunctionResult::copyFrom(ArgBytes.data(), ArgBytes.size()); in handleSetup()
288 [&](shared::WrapperFunctionResult SetupMsgBytes) { in setup()
387 shared::WrapperFunctionResult::copyFrom(ArgBytes.data(), ArgBytes.size()); in handleResult()
399 [this, RemoteSeqNo](shared::WrapperFunctionResult WFR) { in handleCallWrapper()
412 auto WFR = WrapperFunctionResult::copyFrom(ArgBytes.data(), ArgBytes.size()); in handleHangup()
H A DExecutorProcessControl.cpp186 std::promise<shared::WrapperFunctionResult> ResultP; in jitDispatchViaWrapperFunctionManager()
192 shared::WrapperFunctionResult Result) mutable { in jitDispatchViaWrapperFunctionManager()
H A DCore.cpp2231 SendResult(shared::WrapperFunctionResult::createOutOfBandError( in runJITDispatchHandler()
/openbsd/gnu/llvm/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()
307 shared::WrapperFunctionResult callWrapper(ExecutorAddr WrapperFnAddr, in callWrapper()
309 std::promise<shared::WrapperFunctionResult> RP; in callWrapper()
313 [&](shared::WrapperFunctionResult R) { in callWrapper()
H A DCore.h1386 using SendResultFunction = unique_function<void(shared::WrapperFunctionResult)>;
1598 shared::WrapperFunctionResult callWrapper(ExecutorAddr WrapperFnAddr, in callWrapper()
/openbsd/gnu/llvm/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/
H A DSimpleRemoteEPCServer.h151 shared::WrapperFunctionResult
163 DenseMap<uint64_t, std::promise<shared::WrapperFunctionResult> *>;