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 __anon60c052310111::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()
777 SetupProcessSymbolsJITDylib = [](LLJIT &J) -> Expected<JITDylibSP> { in prepareForConstruction() argument
779 J.getExecutionSession().createBareJITDylib("<Process Symbols>"); in prepareForConstruction()
781 J.getExecutionSession()); in prepareForConstruction()
1053 Error setUpOrcPlatformManually(LLJIT &J) { in setUpOrcPlatformManually() argument
1055 J.setPlatformSupport(std::make_unique<ORCPlatformSupport>(J)); in setUpOrcPlatformManually()
1061 LoadAndLinkDynLibrary(LLJIT &J) : J(J) {} in LoadAndLinkDynLibrary() argument
1067 auto DLLJD = J.loadPlatformDynamicLibrary(DLLNameStr.c_str()); in operator ()()
1075 LLJIT &J; member in llvm::orc::LoadAndLinkDynLibrary
1078 Expected<JITDylibSP> ExecutorNativePlatform::operator()(LLJIT &J) { in operator ()() argument
1079 auto ProcessSymbolsJD = J.getProcessSymbolsJITDylib(); in operator ()()
1085 const Triple &TT = J.getTargetTriple(); in operator ()()
1087 dyn_cast<ObjectLinkingLayer>(&J.getObjLinkingLayer()); in operator ()()
1103 auto &ES = J.getExecutionSession(); in operator ()()
1107 J.setPlatformSupport(std::make_unique<ORCPlatformSupport>(J)); in operator ()()
1119 LoadAndLinkDynLibrary(J), StaticVCRuntime, VCRuntimePath)) in operator ()()
1120 J.getExecutionSession().setPlatform(std::move(*P)); in operator ()()
1133 J.getExecutionSession().setPlatform(std::move(*P)); in operator ()()
1160 Expected<JITDylibSP> setUpGenericLLVMIRPlatform(LLJIT &J) { in setUpGenericLLVMIRPlatform() argument
1163 auto ProcessSymbolsJD = J.getProcessSymbolsJITDylib(); in setUpGenericLLVMIRPlatform()
1169 auto &PlatformJD = J.getExecutionSession().createBareJITDylib("<Platform>"); in setUpGenericLLVMIRPlatform()
1172 J.setPlatformSupport( in setUpGenericLLVMIRPlatform()
1173 std::make_unique<GenericLLVMIRPlatformSupport>(J, PlatformJD)); in setUpGenericLLVMIRPlatform()
1178 Expected<JITDylibSP> setUpInactivePlatform(LLJIT &J) { in setUpInactivePlatform() argument
1181 J.setPlatformSupport(std::make_unique<InactivePlatformSupport>()); in setUpInactivePlatform()