Lines Matching defs:EE
310 static void addCygMingExtraModule(ExecutionEngine &EE, LLVMContext &Context,
335 EE.addModule(std::move(M));
457 std::unique_ptr<ExecutionEngine> EE(builder.create());
458 if (!EE) {
461 << "error creating EE: " << ErrorMsg << "\n";
463 WithColor::error(errs(), argv[0]) << "unknown error creating EE!\n";
470 EE->setObjectCache(CacheManager.get());
483 EE->addModule(std::move(XMod));
495 EE->addObjectFile(std::move(O));
519 EE->addArchive(std::move(OB));
525 addCygMingExtraModule(*EE, Context, Mod->getTargetTriple());
530 EE->RegisterJITEventListener(
532 EE->RegisterJITEventListener(
535 EE->RegisterJITEventListener(
543 EE->DisableLazyCompilation(NoLazyCompilation);
607 EE->finalizeObject();
609 EE->runStaticConstructorsDestructors(false);
613 (void)EE->getPointerToFunction(EntryFn);
619 Result = EE->runFunctionAsMain(EntryFn, InputArgv, envp);
622 EE->runStaticConstructorsDestructors(true);
633 EE->runFunction(ExitF, Args);
682 JITTargetAddress Entry = EE->getFunctionAddress(EntryFn->getName().str());
683 EE->finalizeObject();
691 // Delete the EE - we need to tear it down *before* we terminate the session
694 EE.reset();