Lines Matching refs:ES

318     auto &ES = getExecutionSession();  in getInitializers()  local
319 auto LookupResult = Platform::lookupInitSymbols(ES, LookupSymbols); in getInitializers()
339 auto &ES = getExecutionSession(); in getDeinitializers() local
346 if (auto Err = ES.runSessionLocked([&]() -> Error { in getDeinitializers()
376 auto LookupResult = Platform::lookupInitSymbols(ES, LookupSymbols); in getDeinitializers()
628 << " Pre-constructed ExecutionSession: " << (ES ? "Yes" : "No") in prepareForConstruction()
650 if (!ES && !EPC) { in prepareForConstruction()
676 [](ExecutionSession &ES, in prepareForConstruction()
678 auto ObjLinkingLayer = std::make_unique<ObjectLinkingLayer>(ES); in prepareForConstruction()
680 ES, std::make_unique<jitlink::InProcessEHFrameRegistrar>())); in prepareForConstruction()
692 if (auto Err = ES->endSession()) in ~LLJIT()
693 ES->reportError(std::move(Err)); in ~LLJIT()
723 if (auto Sym = ES->lookup( in lookupLinkerMangled()
732 LLJIT::createObjectLinkingLayer(LLJITBuilderState &S, ExecutionSession &ES) { in createObjectLinkingLayer() argument
736 return S.CreateObjectLinkingLayer(ES, S.JTMB->getTargetTriple()); in createObjectLinkingLayer()
742 std::make_unique<RTDyldObjectLinkingLayer>(ES, std::move(GetMemMgr)); in createObjectLinkingLayer()
780 assert(!(S.EPC && S.ES) && "EPC and ES should not both be set"); in LLJIT()
783 ES = std::make_unique<ExecutionSession>(std::move(S.EPC)); in LLJIT()
784 } else if (S.ES) in LLJIT()
785 ES = std::move(S.ES); in LLJIT()
788 ES = std::make_unique<ExecutionSession>(std::move(*EPC)); in LLJIT()
795 if (auto MainOrErr = this->ES->createJITDylib("main")) in LLJIT()
811 auto ObjLayer = createObjectLinkingLayer(S, *ES); in LLJIT()
818 std::make_unique<ObjectTransformLayer>(*ES, *ObjLinkingLayer); in LLJIT()
827 *ES, *ObjTransformLayer, std::move(*CompileFunction)); in LLJIT()
828 TransformLayer = std::make_unique<IRTransformLayer>(*ES, *CompileLayer); in LLJIT()
830 std::make_unique<IRTransformLayer>(*ES, *TransformLayer); in LLJIT()
837 ES->setDispatchTask([this](std::unique_ptr<Task> T) { in LLJIT()
921 S.TT, *ES, S.LazyCompileFailureAddr.getValue())) in LLLazyJIT()
947 *ES, *InitHelperTransformLayer, *LCTMgr, std::move(ISMBuilder)); in LLLazyJIT()