Lines Matching defs:ES
43 std::unique_ptr<ExecutionSession> ES;
63 KaleidoscopeJIT(std::unique_ptr<ExecutionSession> ES,
66 : ES(std::move(ES)), EPCIU(std::move(EPCIU)), DL(std::move(DL)),
67 Mangle(*this->ES, this->DL),
68 ObjectLayer(*this->ES,
70 CompileLayer(*this->ES, ObjectLayer,
72 OptimizeLayer(*this->ES, CompileLayer, optimizeModule),
73 IPLayer(*this->ES, OptimizeLayer),
74 CODLayer(*this->ES, IPLayer, this->EPCIU->getLazyCallThroughManager(),
76 MainJD(this->ES->createBareJITDylib("<main>")) {
83 if (auto Err = ES->endSession())
84 ES->reportError(std::move(Err));
86 ES->reportError(std::move(Err));
94 auto ES = std::make_unique<ExecutionSession>(std::move(*EPC));
96 auto EPCIU = EPCIndirectionUtils::Create(*ES);
101 *ES, ExecutorAddr::fromPtr(&handleLazyCallThroughError));
107 ES->getExecutorProcessControl().getTargetTriple());
113 return std::make_unique<KaleidoscopeJIT>(std::move(ES), std::move(*EPCIU),
129 return ES->lookup({&MainJD}, Mangle(Name.str()));