Lines Matching refs:ES
116 ExecutionSession &ES, ObjectLinkingLayer &ObjLinkingLayer, in Create() argument
121 if (!supportedTarget(ES.getTargetTriple())) in Create()
123 ES.getTargetTriple().str(), in Create()
126 auto &EPC = ES.getExecutorProcessControl(); in Create()
130 auto StandardRuntimeAliases = standardPlatformAliases(ES, PlatformJD); in Create()
142 absoluteSymbols({{ES.intern("__orc_rt_jit_dispatch"), in Create()
145 {ES.intern("__orc_rt_jit_dispatch_ctx"), in Create()
153 ES, ObjLinkingLayer, PlatformJD, std::move(OrcRuntime), Err)); in Create()
160 ELFNixPlatform::Create(ExecutionSession &ES, in Create() argument
171 return Create(ES, ObjLinkingLayer, PlatformJD, in Create()
205 static void addAliases(ExecutionSession &ES, SymbolAliasMap &Aliases, in addAliases() argument
208 auto AliasName = ES.intern(KV.first); in addAliases()
210 Aliases[std::move(AliasName)] = {ES.intern(KV.second), in addAliases()
216 ELFNixPlatform::standardPlatformAliases(ExecutionSession &ES, in standardPlatformAliases() argument
219 addAliases(ES, Aliases, requiredCXXAliases()); in standardPlatformAliases()
220 addAliases(ES, Aliases, standardRuntimeUtilityAliases()); in standardPlatformAliases()
262 ExecutionSession &ES, ObjectLinkingLayer &ObjLinkingLayer, in ELFNixPlatform() argument
265 : ES(ES), ObjLinkingLayer(ObjLinkingLayer), in ELFNixPlatform()
266 DSOHandleSymbol(ES.intern("__dso_handle")) { in ELFNixPlatform()
303 WFs[ES.intern("__orc_rt_elfnix_get_initializers_tag")] = in associateRuntimeSupportFunctions()
304 ES.wrapAsyncWithSPS<GetInitializersSPSSig>( in associateRuntimeSupportFunctions()
309 WFs[ES.intern("__orc_rt_elfnix_get_deinitializers_tag")] = in associateRuntimeSupportFunctions()
310 ES.wrapAsyncWithSPS<GetDeinitializersSPSSig>( in associateRuntimeSupportFunctions()
315 WFs[ES.intern("__orc_rt_elfnix_symbol_lookup_tag")] = in associateRuntimeSupportFunctions()
316 ES.wrapAsyncWithSPS<LookupSymbolSPSSig>(this, in associateRuntimeSupportFunctions()
319 return ES.registerJITDispatchHandlers(PlatformJD, std::move(WFs)); in associateRuntimeSupportFunctions()
354 ES.runSessionLocked([&]() { in getInitializersLookupPhase()
380 ES, std::move(NewInitSymbols)); in getInitializersLookupPhase()
389 JITDylib *JD = ES.getJITDylibByName(JDName); in rt_getInitializers()
470 ES.lookup( in rt_lookupSymbol()
472 SymbolLookupSet(ES.intern(SymbolName)), SymbolState::Ready, in rt_lookupSymbol()
489 auto Name = ES.intern(KV.first); in bootstrapELFNixRuntime()
494 auto RuntimeSymbolAddrs = ES.lookup( in bootstrapELFNixRuntime()
505 auto PJDDSOHandle = ES.lookup( in bootstrapELFNixRuntime()
510 if (auto Err = ES.callSPSWrapper<void(uint64_t)>( in bootstrapELFNixRuntime()
547 if (auto Err = ES.lookup(SearchOrder, DSOHandleSymbol).takeError()) in registerInitInfo()
577 if (auto Err = ES.callSPSWrapper<shared::SPSError( in registerPerObjectSections()
592 if (auto Err = ES.callSPSWrapper<SPSExpected<uint64_t>(void)>( in createPThreadKey()