Lines Matching refs:J
133 GenericLLVMIRPlatformSupport(LLJIT &J, JITDylib &PlatformJD) in GenericLLVMIRPlatformSupport() argument
134 : J(J), InitFunctionPrefix(J.mangle("__orc_init_func.")), in GenericLLVMIRPlatformSupport()
135 DeInitFunctionPrefix(J.mangle("__orc_deinit_func.")) { in GenericLLVMIRPlatformSupport()
140 setInitTransform(J, GlobalCtorDtorScraper(*this, InitFunctionPrefix, in GenericLLVMIRPlatformSupport()
145 StdInterposes[J.mangleAndIntern("__lljit.platform_support_instance")] = { in GenericLLVMIRPlatformSupport()
147 StdInterposes[J.mangleAndIntern("__lljit.cxa_atexit_helper")] = { in GenericLLVMIRPlatformSupport()
152 cantFail(J.addIRModule(PlatformJD, createPlatformRuntimeModule())); in GenericLLVMIRPlatformSupport()
155 ExecutionSession &getExecutionSession() { return J.getExecutionSession(); } in getExecutionSession()
162 PerJDInterposes[J.mangleAndIntern("__lljit.run_atexits_helper")] = { in setupJITDylib()
164 PerJDInterposes[J.mangleAndIntern("__lljit.atexit_helper")] = { in setupJITDylib()
170 M->setDataLayout(J.getDataLayout()); in setupJITDylib()
202 return J.addIRModule(JD, ThreadSafeModule(std::move(M), std::move(Ctx))); in setupJITDylib()
338 auto LLJITRunAtExits = J.mangleAndIntern("__lljit_run_atexits"); in getDeinitializers()
457 M->setDataLayout(J.getDataLayout()); in createPlatformRuntimeModule()
483 LLJIT &J; member in __anonc48a5abb0111::GenericLLVMIRPlatformSupport
611 auto &ES = J.getExecutionSession(); in initialize()
612 auto MainSearchOrder = J.getMainJITDylib().withLinkOrderDo( in initialize()
616 MainSearchOrder, J.mangleAndIntern("__orc_rt_jit_dlopen_wrapper"))) { in initialize()
628 auto &ES = J.getExecutionSession(); in deinitialize()
629 auto MainSearchOrder = J.getMainJITDylib().withLinkOrderDo( in deinitialize()
633 MainSearchOrder, J.mangleAndIntern("__orc_rt_jit_dlclose_wrapper"))) { in deinitialize()
635 auto E = J.getExecutionSession().callSPSWrapper<SPSDLCloseSig>( in deinitialize()
649 LLJIT &J, IRTransformLayer::TransformFunction T) { in setInitTransform() argument
650 J.InitHelperTransformLayer->setTransform(std::move(T)); in setInitTransform()
826 SetupProcessSymbolsJITDylib = [](LLJIT &J) -> Expected<JITDylibSP> { in prepareForConstruction() argument
828 J.getExecutionSession().createBareJITDylib("<Process Symbols>"); in prepareForConstruction()
830 J.getExecutionSession()); in prepareForConstruction()
1086 Error setUpOrcPlatformManually(LLJIT &J) { in setUpOrcPlatformManually() argument
1088 J.setPlatformSupport(std::make_unique<ORCPlatformSupport>(J)); in setUpOrcPlatformManually()
1094 LoadAndLinkDynLibrary(LLJIT &J) : J(J) {} in LoadAndLinkDynLibrary() argument
1100 auto DLLJD = J.loadPlatformDynamicLibrary(DLLNameStr.c_str()); in operator ()()
1108 LLJIT &J; member in llvm::orc::LoadAndLinkDynLibrary
1111 Expected<JITDylibSP> ExecutorNativePlatform::operator()(LLJIT &J) { in operator ()() argument
1112 auto ProcessSymbolsJD = J.getProcessSymbolsJITDylib(); in operator ()()
1118 const Triple &TT = J.getTargetTriple(); in operator ()()
1120 dyn_cast<ObjectLinkingLayer>(&J.getObjLinkingLayer()); in operator ()()
1136 auto &ES = J.getExecutionSession(); in operator ()()
1140 J.setPlatformSupport(std::make_unique<ORCPlatformSupport>(J)); in operator ()()
1152 LoadAndLinkDynLibrary(J), StaticVCRuntime, VCRuntimePath)) in operator ()()
1153 J.getExecutionSession().setPlatform(std::move(*P)); in operator ()()
1166 J.getExecutionSession().setPlatform(std::move(*P)); in operator ()()
1193 Expected<JITDylibSP> setUpGenericLLVMIRPlatform(LLJIT &J) { in setUpGenericLLVMIRPlatform() argument
1196 auto ProcessSymbolsJD = J.getProcessSymbolsJITDylib(); in setUpGenericLLVMIRPlatform()
1202 auto &PlatformJD = J.getExecutionSession().createBareJITDylib("<Platform>"); in setUpGenericLLVMIRPlatform()
1205 J.setPlatformSupport( in setUpGenericLLVMIRPlatform()
1206 std::make_unique<GenericLLVMIRPlatformSupport>(J, PlatformJD)); in setUpGenericLLVMIRPlatform()
1211 Expected<JITDylibSP> setUpInactivePlatform(LLJIT &J) { in setUpInactivePlatform() argument
1214 J.setPlatformSupport(std::make_unique<InactivePlatformSupport>()); in setUpInactivePlatform()