Lines Matching refs:ES

315     auto &ES = getExecutionSession();  in getInitializers()  local
316 auto LookupResult = Platform::lookupInitSymbols(ES, LookupSymbols); in getInitializers()
336 auto &ES = getExecutionSession(); in getDeinitializers() local
343 if (auto Err = ES.runSessionLocked([&]() -> Error { in getDeinitializers()
373 auto LookupResult = Platform::lookupInitSymbols(ES, LookupSymbols); in getDeinitializers()
611 auto &ES = J.getExecutionSession(); in initialize() local
615 if (auto WrapperAddr = ES.lookup( in initialize()
617 return ES.callSPSWrapper<SPSDLOpenSig>(WrapperAddr->getAddress(), in initialize()
628 auto &ES = J.getExecutionSession(); in deinitialize() local
632 if (auto WrapperAddr = ES.lookup( in deinitialize()
673 << " Pre-constructed ExecutionSession: " << (ES ? "Yes" : "No") in prepareForConstruction()
703 if (!ES && !EPC) { in prepareForConstruction()
720 << ES.get() << "\n"; in prepareForConstruction()
759 [](ExecutionSession &ES, in prepareForConstruction()
761 auto ObjLinkingLayer = std::make_unique<ObjectLinkingLayer>(ES); in prepareForConstruction()
762 if (auto EHFrameRegistrar = EPCEHFrameRegistrar::Create(ES)) in prepareForConstruction()
765 ES, std::move(*EHFrameRegistrar))); in prepareForConstruction()
795 if (auto Err = ES->endSession()) in ~LLJIT()
796 ES->reportError(std::move(Err)); in ~LLJIT()
804 auto JD = ES->createJITDylib(std::move(Name)); in createJITDylib()
813 auto G = EPCDynamicLibrarySearchGenerator::Load(*ES, Path); in loadPlatformDynamicLibrary()
817 if (auto *ExistingJD = ES->getJITDylibByName(Path)) in loadPlatformDynamicLibrary()
820 auto &JD = ES->createBareJITDylib(Path); in loadPlatformDynamicLibrary()
874 if (auto Sym = ES->lookup( in lookupLinkerMangled()
883 LLJIT::createObjectLinkingLayer(LLJITBuilderState &S, ExecutionSession &ES) { in createObjectLinkingLayer() argument
887 return S.CreateObjectLinkingLayer(ES, S.JTMB->getTargetTriple()); in createObjectLinkingLayer()
893 std::make_unique<RTDyldObjectLinkingLayer>(ES, std::move(GetMemMgr)); in createObjectLinkingLayer()
936 assert(!(S.EPC && S.ES) && "EPC and ES should not both be set"); in LLJIT()
939 ES = std::make_unique<ExecutionSession>(std::move(S.EPC)); in LLJIT()
940 } else if (S.ES) in LLJIT()
941 ES = std::move(S.ES); in LLJIT()
944 ES = std::make_unique<ExecutionSession>(std::move(*EPC)); in LLJIT()
951 auto ObjLayer = createObjectLinkingLayer(S, *ES); in LLJIT()
958 std::make_unique<ObjectTransformLayer>(*ES, *ObjLinkingLayer); in LLJIT()
967 *ES, *ObjTransformLayer, std::move(*CompileFunction)); in LLJIT()
968 TransformLayer = std::make_unique<IRTransformLayer>(*ES, *CompileLayer); in LLJIT()
970 std::make_unique<IRTransformLayer>(*ES, *TransformLayer); in LLJIT()
977 ES->setDispatchTask([this](std::unique_ptr<Task> T) { in LLJIT()
1103 auto &ES = J.getExecutionSession(); in operator ()() local
1104 auto &PlatformJD = ES.createBareJITDylib("<Platform>"); in operator ()()
1118 ES, *ObjLinkingLayer, PlatformJD, std::move(RuntimeArchiveBuffer), in operator ()()
1131 if (auto P = ELFNixPlatform::Create(ES, *ObjLinkingLayer, PlatformJD, in operator ()()
1144 if (auto P = MachOPlatform::Create(ES, *ObjLinkingLayer, PlatformJD, in operator ()()
1146 ES.setPlatform(std::move(*P)); in operator ()()
1215 S.TT, *ES, S.LazyCompileFailureAddr)) in LLLazyJIT()
1241 *ES, *InitHelperTransformLayer, *LCTMgr, std::move(ISMBuilder)); in LLLazyJIT()