Home
last modified time | relevance | path

Searched refs:WrapperFunction (Results 1 – 25 of 25) sorted by relevance

/llvm-project/llvm/unittests/ExecutionEngine/Orc/
H A DWrapperFunctionUtilsTest.cpp78 return WrapperFunction<void()>::handle(ArgData, ArgSize, voidNoop); in voidNoopWrapper()
82 return WrapperFunction<int32_t(int32_t, int32_t)>::handle( in addWrapper()
88 return WrapperFunction<int32_t(SPSExecutorAddr, int32_t)>::handle( in addMethodWrapper()
93 EXPECT_FALSE(!!WrapperFunction<void()>::call(voidNoopWrapper)); in TEST()
98 EXPECT_FALSE(!!WrapperFunction<int32_t(int32_t, int32_t)>::call( in TEST()
106 EXPECT_FALSE(!!WrapperFunction<int32_t(SPSExecutorAddr, int32_t)>::call( in TEST()
120 WrapperFunction<void()>::handleAsync( in voidNoopAsyncWrapper()
132 WrapperFunction<int32_t(int32_t, int32_t)>::handleAsync( in addAsyncWrapper()
142 EXPECT_FALSE(!!WrapperFunction<void()>::call(voidNoopAsyncWrapper)); in TEST()
147 EXPECT_FALSE(!!WrapperFunction<int32_t(int32_t, int32_t)>::call( in TEST()
[all …]
H A DEPCGenericMemoryAccessTest.cpp23 return WrapperFunction<void(SPSSequence<SPSWriteT>)>::handle( in testWriteUInts()
34 return WrapperFunction<void(SPSSequence<SPSMemoryAccessBufferWrite>)>::handle( in testWriteBuffers()
46 return WrapperFunction<void(SPSSequence<SPSMemoryAccessPointerWrite>)>:: in testWritePointers()
H A DEPCGenericJITLinkMemoryManagerTest.cpp83 return WrapperFunction<rt::SPSSimpleExecutorMemoryManagerReserveSignature>:: in testReserve()
91 return WrapperFunction<rt::SPSSimpleExecutorMemoryManagerFinalizeSignature>:: in testFinalize()
99 return WrapperFunction< in testDeallocate()
H A DExecutionSessionWrapperFunctionCallsTest.cpp24 return WrapperFunction<int32_t(int32_t, int32_t)>::handle( in addWrapper()
36 return WrapperFunction<void()>::handle(ArgData, ArgSize, []() {}).release(); in voidWrapper()
H A DSimpleExecutorMemoryManagerTest.cpp25 return WrapperFunction<SPSError(SPSExecutorAddr)>::handle( in incrementWrapper()
H A DSharedMemoryMapperTest.cpp26 return WrapperFunction<SPSError(SPSExecutorAddr)>::handle( in incrementWrapper()
H A DMemoryMapperTest.cpp53 return WrapperFunction<SPSError(SPSExecutorAddr)>::handle( in incrementWrapper()
/llvm-project/compiler-rt/lib/orc/tests/unit/
H A Dwrapper_function_utils_test.cpp79 return WrapperFunction<void()>::handle(ArgData, ArgSize, voidNoop).release();
84 return WrapperFunction<int32_t(int32_t, int32_t)>::handle( in addWrapper()
104 !!WrapperFunction<void()>::call(JITDispatch((void *)&voidNoopWrapper))); in TEST()
109 EXPECT_FALSE(!!WrapperFunction<int32_t(int32_t, int32_t)>::call( in TEST()
125 return WrapperFunction<int32_t(SPSExecutorAddr, int32_t)>::handle( in addMethodWrapper()
133 EXPECT_FALSE(!!WrapperFunction<int32_t(SPSExecutorAddr, int32_t)>::call( in TEST()
141 return WrapperFunction<int8_t(SPSExecutorAddrRange)>::handle( in sumArrayWrapper()
/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DOrcRTBootstrap.cpp27 return WrapperFunction<void(SPSSequence<SPSWriteT>)>::handle( in writeUIntsWrapper()
38 return WrapperFunction<void(SPSSequence<SPSMemoryAccessBufferWrite>)>::handle( in writeBuffersWrapper()
50 return WrapperFunction<void(SPSSequence<SPSMemoryAccessPointerWrite>)>:: in runAsMainWrapper()
62 return WrapperFunction<rt::SPSRunAsMainSignature>::handle( in runAsVoidFunctionWrapper()
73 return WrapperFunction<rt::SPSRunAsVoidFunctionSignature>::handle( in runAsIntFunctionWrapper()
83 return WrapperFunction<rt::SPSRunAsIntFunctionSignature>::handle( in addTo()
H A DJITLoaderVTune.cpp100 return WrapperFunction<SPSError(SPSVTuneMethodBatch)>::handle( in llvm_orc_registerVTuneImpl()
108 return WrapperFunction<void(SPSVTuneUnloadedMethodIDs)>::handle( in llvm_orc_unregisterVTuneImpl()
181 return WrapperFunction<SPSError(SPSVTuneMethodBatch)>::handle( in llvm_orc_test_registerVTuneImpl()
203 return WrapperFunction<SPSError(SPSVTuneMethodBatch)>::handle( in llvm_orc_registerVTuneImpl()
211 return WrapperFunction<void(SPSVTuneUnloadedMethodIDs)>::handle(Data, Size, in llvm_orc_unregisterVTuneImpl()
219 return WrapperFunction<SPSError(SPSVTuneMethodBatch)>::handle( in llvm_orc_test_registerVTuneImpl()
H A DJITLoaderPerf.cpp401 return WrapperFunction<SPSError(SPSPerfJITRecordBatch)>::handle( in llvm_orc_registerJITLoaderPerfImpl()
409 return WrapperFunction<SPSError()>::handle(Data, Size, in llvm_orc_registerJITLoaderPerfStart()
417 return WrapperFunction<SPSError()>::handle(Data, Size, in llvm_orc_registerJITLoaderPerfEnd()
439 return WrapperFunction<SPSError(SPSPerfJITRecordBatch)>::handle(Data, Size, in llvm_orc_registerJITLoaderPerfImpl()
447 return WrapperFunction<SPSError()>::handle(Data, Size, badOS).release(); in llvm_orc_registerJITLoaderPerfStart()
453 return WrapperFunction<SPSError()>::handle(Data, Size, badOS).release(); in llvm_orc_registerJITLoaderPerfEnd()
H A DJITLoaderGDB.cpp80 return WrapperFunction<SPSError(SPSExecutorAddrRange, bool)>::handle( in llvm_orc_registerJITLoaderGDBAllocAction()
96 return WrapperFunction<SPSError(SPSExecutorAddrRange, bool)>::handle( in llvm_orc_registerJITLoaderGDBWrapper()
H A DExecutorSharedMemoryMapperService.cpp327 return shared::WrapperFunction< in reserveWrapper()
338 return shared::WrapperFunction< in initializeWrapper()
349 return shared::WrapperFunction< in deinitializeWrapper()
360 return shared::WrapperFunction< in releaseWrapper()
H A DSimpleExecutorDylibManager.cpp104 WrapperFunction<rt::SPSSimpleExecutorDylibManagerOpenSignature>::handle( in openWrapper()
114 WrapperFunction<rt::SPSSimpleExecutorDylibManagerLookupSignature>::handle( in lookupWrapper()
H A DRegisterEHFrames.cpp168 return WrapperFunction<SPSError(SPSExecutorAddrRange)>::handle( in deregisterEHFrameWrapper()
175 return WrapperFunction<SPSError(SPSExecutorAddrRange)>::handle( in llvm_orc_registerEHFrameSectionWrapper()
H A DSimpleExecutorMemoryManager.cpp230 return shared::WrapperFunction< in reserveWrapper()
241 return shared::WrapperFunction< in finalizeWrapper()
252 return shared::WrapperFunction< in deallocateWrapper()
/llvm-project/compiler-rt/lib/orc/
H A Ddlfcn_wrapper.cpp28 return WrapperFunction<SPSString()>::handle( in __orc_rt_jit_dlerror_wrapper()
36 return WrapperFunction<SPSExecutorAddr(SPSString, int32_t)>::handle( in __orc_rt_jit_dlopen_wrapper()
48 return WrapperFunction<int32_t(SPSExecutorAddr)>::handle( in __orc_rt_jit_dlclose_wrapper()
59 return WrapperFunction<int32_t(SPSExecutorAddr)>::handle(
H A Delfnix_platform.cpp428 if (auto Err = WrapperFunction<SPSExpected<SPSExecutorAddr>( in initializeJITDylib()
477 if (auto Err = WrapperFunction<SPSExpected<SPSELFNixJITDylibDepInfoMap>( in __orc_rt_elfnix_platform_bootstrap()
568 if (auto Err = WrapperFunction<SPSExpected<SPSELFNixJITDylibDepInfoMap>( in __orc_rt_elfnix_atexit()
661 return WrapperFunction<SPSError(SPSExecutorAddr)>::handle(
673 return WrapperFunction<SPSError()>::handle(
684 return WrapperFunction<SPSError(SPSString, SPSExecutorAddr)>::handle(
695 return WrapperFunction<SPSError(SPSExecutorAddr)>::handle(
706 return WrapperFunction<SPSError(SPSExecutorAddr,
719 return WrapperFunction<SPSError(SPSExecutorAddr,
733 return WrapperFunction<SPSErro
[all...]
H A Dwrapper_function_utils.h281 template <typename SPSSignature> class WrapperFunction;
284 class WrapperFunction<SPSRetTagT(SPSTagTs...)> {
338 class WrapperFunction<void(SPSTagTs...)> in makeSerializable()
339 : private WrapperFunction<SPSEmpty(SPSTagTs...)> {
344 return WrapperFunction<SPSEmpty(SPSTagTs...)>::call(
348 using WrapperFunction<SPSEmpty(SPSTagTs...)>::handle;
368 /// return WrapperFunction<SPSMyMethodWrapperSignature>::handle(
282 template <typename SPSSignature> class WrapperFunction; global() variable
H A Dmacho_platform.cpp852 if (auto Err = WrapperFunction<SPSError( in runAtExits()
1083 if (auto Err = WrapperFunction<SPSExpected<SPSMachOJITDylibDepInfoMap>( in registerObjCRegistrationObjects()
1211 if (auto Err = WrapperFunction<SPSExpected<SPSMachOJITDylibDepInfoMap>( in dlopenInitialize()
1348 return WrapperFunction<SPSError()>::handle( in __orc_rt_macho_platform_bootstrap()
1356 return WrapperFunction<SPSError()>::handle( in __orc_rt_macho_platform_shutdown()
1364 return WrapperFunction<SPSError(SPSString, SPSExecutorAddr)>::handle( in __orc_rt_macho_register_jitdylib()
1375 return WrapperFunction<SPSError(SPSExecutorAddr)>::handle( in __orc_rt_macho_deregister_jitdylib()
1387 return WrapperFunction<SPSError(SPSExecutorAddr, in __orc_rt_macho_register_object_platform_sections()
1406 return WrapperFunction<SPSError( in __orc_rt_macho_register_object_symbol_table()
1422 return WrapperFunction<SPSErro in __orc_rt_macho_deregister_object_symbol_table()
[all...]
H A Dcoff_platform.cpp318 if (auto Err = WrapperFunction<SPSExpected<SPSCOFFJITDylibDepInfoMap>( in dlopenFull()
448 if (auto Err = WrapperFunction<SPSExpected<SPSExecutorAddr>( in lookupSymbolInJITDylib()
611 return WrapperFunction<SPSError(SPSString, SPSExecutorAddr)>::handle( in __orc_rt_coff_register_jitdylib()
622 return WrapperFunction<SPSError(SPSExecutorAddr)>::handle( in __orc_rt_coff_deregister_jitdylib()
633 return WrapperFunction<SPSError(SPSExecutorAddr, SPSCOFFObjectSectionsMap, in __orc_rt_coff_register_object_sections()
648 return WrapperFunction<SPSError(SPSExecutorAddr, SPSCOFFObjectSectionsMap)>:: in __orc_rt_coff_deregister_object_sections()
H A Drun_program_wrapper.cpp27 return WrapperFunction<int64_t(SPSString, SPSString, in __orc_rt_run_program_wrapper()
/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DWrapperFunctionUtils.h434 template <typename SPSSignature> class WrapperFunction; variable
437 class WrapperFunction<SPSRetTagT(SPSTagTs...)> {
553 class WrapperFunction<void(SPSTagTs...)>
554 : private WrapperFunction<SPSEmpty(SPSTagTs...)> {
560 return WrapperFunction<SPSEmpty(SPSTagTs...)>::call(Caller, BE, Args...); in call()
568 WrapperFunction<SPSEmpty(SPSTagTs...)>::callAsync( in callAsync()
577 using WrapperFunction<SPSEmpty(SPSTagTs...)>::handle;
578 using WrapperFunction<SPSEmpty(SPSTagTs...)>::handleAsync;
/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DExecutorProcessControl.h345 shared::WrapperFunction<SPSSignature>::callAsync( in callWrapperAsync()
373 return shared::WrapperFunction<SPSSignature>::call( in callWrapper()
H A DCore.h1612 shared::WrapperFunction<SPSSignature>::handleAsync(ArgData, ArgSize, H,