Home
last modified time | relevance | path

Searched refs:fromPtr (Results 1 – 24 of 24) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DOrcRTBootstrap.cpp81 M[rt::MemoryWriteUInt8sWrapperName] = ExecutorAddr::fromPtr( in addTo()
84 M[rt::MemoryWriteUInt16sWrapperName] = ExecutorAddr::fromPtr( in addTo()
87 M[rt::MemoryWriteUInt32sWrapperName] = ExecutorAddr::fromPtr( in addTo()
90 M[rt::MemoryWriteUInt64sWrapperName] = ExecutorAddr::fromPtr( in addTo()
94 ExecutorAddr::fromPtr(&writeBuffersWrapper); in addTo()
96 ExecutorAddr::fromPtr(&llvm_orc_registerEHFrameSectionWrapper); in addTo()
98 ExecutorAddr::fromPtr(&llvm_orc_deregisterEHFrameSectionWrapper); in addTo()
99 M[rt::RunAsMainWrapperName] = ExecutorAddr::fromPtr(&runAsMainWrapper); in addTo()
101 ExecutorAddr::fromPtr(&runAsVoidFunctionWrapper); in addTo()
103 ExecutorAddr::fromPtr(&runAsIntFunctionWrapper); in addTo()
H A DSimpleExecutorDylibManager.cpp38 auto H = ExecutorAddr::fromPtr(DL.getOSSpecificHandle()); in open()
74 Result.push_back({ExecutorAddr::fromPtr(Addr), JITSymbolFlags::Exported}); in lookup()
95 M[rt::SimpleExecutorDylibManagerInstanceName] = ExecutorAddr::fromPtr(this); in addBootstrapSymbols()
97 ExecutorAddr::fromPtr(&openWrapper); in addBootstrapSymbols()
99 ExecutorAddr::fromPtr(&lookupWrapper); in addBootstrapSymbols()
H A DExecutorSharedMemoryMapperService.cpp132 return std::make_pair(ExecutorAddr::fromPtr(Addr), in reserve()
306 ReservationAddrs.push_back(ExecutorAddr::fromPtr(R.getFirst())); in shutdown()
314 ExecutorAddr::fromPtr(this); in addBootstrapSymbols()
316 ExecutorAddr::fromPtr(&reserveWrapper); in addBootstrapSymbols()
318 ExecutorAddr::fromPtr(&initializeWrapper); in addBootstrapSymbols()
320 ExecutorAddr::fromPtr(&deinitializeWrapper); in addBootstrapSymbols()
322 ExecutorAddr::fromPtr(&releaseWrapper); in addBootstrapSymbols()
H A DSimpleExecutorMemoryManager.cpp33 return ExecutorAddr::fromPtr(MB.base()); in allocate()
202 M[rt::SimpleExecutorMemoryManagerInstanceName] = ExecutorAddr::fromPtr(this); in addBootstrapSymbols()
204 ExecutorAddr::fromPtr(&reserveWrapper); in addBootstrapSymbols()
206 ExecutorAddr::fromPtr(&finalizeWrapper); in addBootstrapSymbols()
208 ExecutorAddr::fromPtr(&deallocateWrapper); in addBootstrapSymbols()
H A DSimpleRemoteEPCServer.cpp209 EI.BootstrapSymbols[ExecutorSessionObjectName] = ExecutorAddr::fromPtr(this); in sendSetupMessage()
210 EI.BootstrapSymbols[DispatchFnName] = ExecutorAddr::fromPtr(jitDispatchEntry); in sendSetupMessage()
212 ExecutorAddr::fromPtr(&llvm_orc_registerEHFrameSectionWrapper); in sendSetupMessage()
214 ExecutorAddr::fromPtr(&llvm_orc_deregisterEHFrameSectionWrapper); in sendSetupMessage()
284 ExecutorAddr::fromPtr(FnTag), {ArgData, ArgSize}))
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DExecutorProcessControl.cpp44 this->JDI = {ExecutorAddr::fromPtr(jitDispatchViaWrapperFunctionManager), in SelfExecutorProcessControl()
45 ExecutorAddr::fromPtr(this)}; in SelfExecutorProcessControl()
50 ExecutorAddr::fromPtr(&llvm_orc_registerEHFrameSectionWrapper); in SelfExecutorProcessControl()
52 ExecutorAddr::fromPtr(&llvm_orc_deregisterEHFrameSectionWrapper); in SelfExecutorProcessControl()
84 return ExecutorAddr::fromPtr(Dylib.getOSSpecificHandle()); in loadDylib()
109 {ExecutorAddr::fromPtr(Addr), JITSymbolFlags::Exported}); in lookupSymbolsAsync()
215 ExecutorAddr::fromPtr(FnTag), {Data, Size}); in jitDispatchViaWrapperFunctionManager()
H A DSpeculation.cpp44 ExecutorSymbolDef ThisPtr(ExecutorAddr::fromPtr(this), in addSpeculationRuntime()
47 ExecutorAddr::fromPtr(&speculateForEntryPoint), JITSymbolFlags::Exported); in addSpeculationRuntime()
H A DExecutionUtils.cpp190 ExecutorAddr::fromPtr(&DSOHandleOverride), JITSymbolFlags::Exported}; in enable()
192 ExecutorAddr::fromPtr(&CXAAtExitOverride), JITSymbolFlags::Exported}; in enable()
263 NewSymbols[Name] = {ExecutorAddr::fromPtr(P), JITSymbolFlags::Exported}; in tryToGenerate()
H A DLLJIT.cpp146 ExecutorAddr::fromPtr(this), JITSymbolFlags::Exported}; in GenericLLVMIRPlatformSupport()
148 ExecutorAddr::fromPtr(registerCxaAtExitHelper), JITSymbolFlags()}; in GenericLLVMIRPlatformSupport()
163 ExecutorAddr::fromPtr(runAtExitsHelper), JITSymbolFlags()}; in setupJITDylib()
165 ExecutorAddr::fromPtr(registerAtExitHelper), JITSymbolFlags()}; in setupJITDylib()
179 ConstantInt::get(Int64Ty, ExecutorAddr::fromPtr(&JD).getValue())); in setupJITDylib()
H A DEPCIndirectionUtils.cpp421 .writeResolverBlock(ExecutorAddr::fromPtr(&reentry), in setUpInProcessLCTMReentryViaEPCIU()
422 ExecutorAddr::fromPtr(&LCTM)) in setUpInProcessLCTMReentryViaEPCIU()
H A DMemoryMapper.cpp59 ExecutorAddrRange(ExecutorAddr::fromPtr(MB.base()), MB.allocatedSize())); in reserve()
185 ReservationAddrs.push_back(ExecutorAddr::fromPtr(R.getFirst())); in ~InProcessMemoryMapper()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DIndirectionUtils.h127 TrampolinePool->ResolveLanding(ExecutorAddr::fromPtr(TrampolineId), in reenter()
150 ExecutorAddr::fromPtr(ResolverBlock.base()), in LocalTrampolinePool()
151 ExecutorAddr::fromPtr(&reenter), in LocalTrampolinePool()
152 ExecutorAddr::fromPtr(this)); in LocalTrampolinePool()
180 TrampolineMem, ExecutorAddr::fromPtr(TrampolineMem), in grow()
181 ExecutorAddr::fromPtr(ResolverBlock.base()), NumTrampolines); in grow()
185 ExecutorAddr::fromPtr(TrampolineMem + (I * ORCABI::TrampolineSize))); in grow()
337 ExecutorAddr::fromPtr(StubsBlockMem) + ISAS.StubBytes; in create()
340 ExecutorAddr::fromPtr(StubsBlockMem), in create()
403 auto StubAddr = ExecutorAddr::fromPtr(StubPt in findStub()
[all...]
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/
H A Dwrapper_function_utils_test.cpp131 (void *)&addMethodWrapper, Result, ExecutorAddr::fromPtr(&AddObj), 2)); in TEST()
155 ExecutorAddr::fromPtr(sumArrayWrapper), in TEST()
156 ExecutorAddrRange(ExecutorAddr::fromPtr(A), in TEST()
168 ExecutorAddr::fromPtr(voidNoopWrapper), ExecutorAddrRange())); in TEST()
177 ExecutorAddr::fromPtr(addWrapper), 2, 4)); in TEST()
H A Dexecutor_address_test.cpp49 auto XAddr = ExecutorAddr::fromPtr(&X); in TEST()
60 auto FAddr = ExecutorAddr::fromPtr(F); in TEST()
76 ExecutorAddr::fromPtr(TaggedPtr, ExecutorAddr::Untag(8, TagOffset)); in TEST()
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/
H A Dcoff_platform.cpp320 ExecutorAddr::fromPtr(JDS.Header))) in dlopenFull()
351 auto I = DepInfo.find(ExecutorAddr::fromPtr(JDS.Header)); in dlopenInitialize()
450 ExecutorAddr::fromPtr(header), in lookupSymbolInJITDylib()
729 ExecutorAddr::fromPtr(Header), (void (*)(void))Func)) {
738 ExecutorAddr::fromPtr(Header), (void (*)(void))Func)) {
H A Ddlfcn_wrapper.cpp38 return ExecutorAddr::fromPtr( in __orc_rt_jit_dlopen_wrapper()
H A Dexecutor_address.h76 static ExecutorAddr fromPtr(T *Ptr, UnwrapFn &&Unwrap = UnwrapFn()) {
H A Dmacho_platform.cpp917 ExecutorAddr::fromPtr(JDS.Header), Symbols)) { in dlopenImpl()
1143 DepInfo, ExecutorAddr::fromPtr(JDS.Header))) in __orc_rt_macho_platform_bootstrap()
1181 auto I = DepInfo.find(ExecutorAddr::fromPtr(JDS.Header)); in __orc_rt_macho_register_object_platform_sections()
H A Delfnix_platform.cpp357 ExecutorAddr::fromPtr(DSOHandle), in lookupSymbolInJITDylib()
/freebsd/contrib/llvm-project/llvm/tools/lli/
H A DExecutionUtils.h
H A Dlli.cpp975 orc::ExecutorAddr::fromPtr(exitOnLazyCallThroughFailure)); in runOrcJIT()
1093 {orc::ExecutorAddr::fromPtr(mingw_noop_main), in runOrcJIT()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.cpp398 auto NextStandardSegAddr = orc::ExecutorAddr::fromPtr(StandardSegsMem.base()); in allocate()
399 auto NextFinalizeSegAddr = orc::ExecutorAddr::fromPtr(FinalizeSegsMem.base()); in allocate()
490 return FinalizedAlloc(orc::ExecutorAddr::fromPtr(FA)); in createFinalizedAlloc()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DExecutorAddress.h80 static ExecutorAddr fromPtr(T *Ptr, UnwrapFn &&Unwrap = UnwrapFn()) {
/freebsd/contrib/expat/lib/
H A Dxmlparse.c3008 const char *fromPtr = tag->rawName; in doContent() local
3014 = XmlConvert(enc, &fromPtr, rawNameEnd, (ICHAR **)&toPtr, in doContent()
3017 if ((fromPtr >= rawNameEnd) in doContent()