Lines Matching refs:ES
290 auto &ES = getExecutionSession(); in getInitializers() local
291 auto LookupResult = Platform::lookupInitSymbols(ES, LookupSymbols); in getInitializers()
311 auto &ES = getExecutionSession(); in getDeinitializers() local
318 ES.runSessionLocked([&]() { in getDeinitializers()
343 auto LookupResult = Platform::lookupInitSymbols(ES, LookupSymbols); in getDeinitializers()
557 << " Pre-constructed ExecutionSession: " << (ES ? "Yes" : "No") in prepareForConstruction()
579 if (!ES && !EPC) { in prepareForConstruction()
604 [](ExecutionSession &ES, in prepareForConstruction()
606 auto ObjLinkingLayer = std::make_unique<ObjectLinkingLayer>(ES); in prepareForConstruction()
608 ES, std::make_unique<jitlink::InProcessEHFrameRegistrar>())); in prepareForConstruction()
620 if (auto Err = ES->endSession()) in ~LLJIT()
621 ES->reportError(std::move(Err)); in ~LLJIT()
651 return ES->lookup( in lookupLinkerMangled()
656 LLJIT::createObjectLinkingLayer(LLJITBuilderState &S, ExecutionSession &ES) { in createObjectLinkingLayer() argument
660 return S.CreateObjectLinkingLayer(ES, S.JTMB->getTargetTriple()); in createObjectLinkingLayer()
666 std::make_unique<RTDyldObjectLinkingLayer>(ES, std::move(GetMemMgr)); in createObjectLinkingLayer()
704 assert(!(S.EPC && S.ES) && "EPC and ES should not both be set"); in LLJIT()
707 ES = std::make_unique<ExecutionSession>(std::move(S.EPC)); in LLJIT()
708 } else if (S.ES) in LLJIT()
709 ES = std::move(S.ES); in LLJIT()
712 ES = std::make_unique<ExecutionSession>(std::move(*EPC)); in LLJIT()
719 if (auto MainOrErr = this->ES->createJITDylib("main")) in LLJIT()
735 auto ObjLayer = createObjectLinkingLayer(S, *ES); in LLJIT()
742 std::make_unique<ObjectTransformLayer>(*ES, *ObjLinkingLayer); in LLJIT()
751 *ES, *ObjTransformLayer, std::move(*CompileFunction)); in LLJIT()
752 TransformLayer = std::make_unique<IRTransformLayer>(*ES, *CompileLayer); in LLJIT()
754 std::make_unique<IRTransformLayer>(*ES, *TransformLayer); in LLJIT()
761 ES->setDispatchTask([this](std::unique_ptr<Task> T) { in LLJIT()
845 S.TT, *ES, S.LazyCompileFailureAddr)) in LLLazyJIT()
871 *ES, *InitHelperTransformLayer, *LCTMgr, std::move(ISMBuilder)); in LLLazyJIT()