Lines Matching refs:OpenModule
652 MCJITHelper(LLVMContext& C) : Context(C), OpenModule(NULL) {} in MCJITHelper()
666 Module *OpenModule; member in MCJITHelper
711 if (OpenModule) in ~MCJITHelper()
712 delete OpenModule; in ~MCJITHelper()
727 if (*it == OpenModule) in getFunction()
730 assert(OpenModule != NULL); in getFunction()
734 Function *PF = OpenModule->getFunction(FnName); in getFunction()
745 OpenModule); in getFunction()
754 if (OpenModule) in getModuleForNewFunction()
755 return OpenModule; in getModuleForNewFunction()
761 OpenModule = M; in getModuleForNewFunction()
777 if (OpenModule) { in getPointerToFunction()
779 ExecutionEngine *NewEngine = EngineBuilder(OpenModule) in getPointerToFunction()
789 FunctionPassManager *FPM = new FunctionPassManager(OpenModule); in getPointerToFunction()
810 Module::iterator end = OpenModule->end(); in getPointerToFunction()
811 for (it = OpenModule->begin(); it != end; ++it) { in getPointerToFunction()
819 OpenModule = NULL; in getPointerToFunction()