Lines Matching defs:J

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