Lines Matching refs:ES

188 MachOPlatform::Create(ExecutionSession &ES, ObjectLinkingLayer &ObjLinkingLayer,  in Create()  argument
192 auto &EPC = ES.getExecutorProcessControl(); in Create()
202 RuntimeAliases = standardPlatformAliases(ES); in Create()
210 {{ES.intern("___orc_rt_jit_dispatch"), in Create()
213 {ES.intern("___orc_rt_jit_dispatch_ctx"), in Create()
227 new MachOPlatform(ES, ObjLinkingLayer, PlatformJD, in Create()
239 return ES.lookup({&JD}, MachOHeaderStartSymbol).takeError(); in setupJITDylib()
275 static void addAliases(ExecutionSession &ES, SymbolAliasMap &Aliases, in addAliases() argument
278 auto AliasName = ES.intern(KV.first); in addAliases()
280 Aliases[std::move(AliasName)] = {ES.intern(KV.second), in addAliases()
285 SymbolAliasMap MachOPlatform::standardPlatformAliases(ExecutionSession &ES) { in standardPlatformAliases() argument
287 addAliases(ES, Aliases, requiredCXXAliases()); in standardPlatformAliases()
288 addAliases(ES, Aliases, standardRuntimeUtilityAliases()); in standardPlatformAliases()
335 ExecutionSession &ES, ObjectLinkingLayer &ObjLinkingLayer, in MachOPlatform() argument
338 : ES(ES), ObjLinkingLayer(ObjLinkingLayer), in MachOPlatform()
339 MachOHeaderStartSymbol(ES.intern("___dso_handle")) { in MachOPlatform()
348 ES, LookupKind::Static, makeJITDylibSearchOrder(&PlatformJD), in MachOPlatform()
349 {{ES.intern("___orc_rt_macho_register_ehframe_section"), in MachOPlatform()
351 {ES.intern("___orc_rt_macho_deregister_ehframe_section"), in MachOPlatform()
388 WFs[ES.intern("___orc_rt_macho_push_initializers_tag")] = in associateRuntimeSupportFunctions()
389 ES.wrapAsyncWithSPS<PushInitializersSPSSig>( in associateRuntimeSupportFunctions()
394 WFs[ES.intern("___orc_rt_macho_symbol_lookup_tag")] = in associateRuntimeSupportFunctions()
395 ES.wrapAsyncWithSPS<LookupSymbolSPSSig>(this, in associateRuntimeSupportFunctions()
398 return ES.registerJITDispatchHandlers(PlatformJD, std::move(WFs)); in associateRuntimeSupportFunctions()
407 ES.runSessionLocked([&]() { in pushInitializersLoop()
489 ES, std::move(NewInitSymbols)); in pushInitializersLoop()
568 ES.lookup( in rt_lookupSymbol()
570 SymbolLookupSet(ES.intern(MangledName)), SymbolState::Ready, in rt_lookupSymbol()
576 ES, LookupKind::Static, makeJITDylibSearchOrder(&PlatformJD), in bootstrapMachORuntime()
577 {{ES.intern("___orc_rt_macho_platform_bootstrap"), in bootstrapMachORuntime()
579 {ES.intern("___orc_rt_macho_platform_shutdown"), in bootstrapMachORuntime()
581 {ES.intern("___orc_rt_macho_register_jitdylib"), in bootstrapMachORuntime()
583 {ES.intern("___orc_rt_macho_deregister_jitdylib"), in bootstrapMachORuntime()
585 {ES.intern("___orc_rt_macho_register_object_platform_sections"), in bootstrapMachORuntime()
587 {ES.intern("___orc_rt_macho_deregister_object_platform_sections"), in bootstrapMachORuntime()
589 {ES.intern("___orc_rt_macho_create_pthread_key"), in bootstrapMachORuntime()
593 return ES.callSPSWrapper<void()>(orc_rt_macho_platform_bootstrap); in bootstrapMachORuntime()
604 if (auto Err = ES.callSPSWrapper<SPSExpected<uint64_t>(void)>( in createPThreadKey()