Home
last modified time | relevance | path

Searched refs:OpenModule (Results 1 – 4 of 4) sorted by relevance

/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp430 MCJITHelper(LLVMContext &C) : Context(C), OpenModule(NULL) {} in MCJITHelper()
444 Module *OpenModule; member in MCJITHelper
481 if (OpenModule) in ~MCJITHelper()
482 delete OpenModule; in ~MCJITHelper()
497 if (*it == OpenModule) in getFunction()
500 assert(OpenModule != NULL); in getFunction()
504 Function *PF = OpenModule->getFunction(FnName); in getFunction()
513 FnName, OpenModule); in getFunction()
522 if (OpenModule) in getModuleForNewFunction()
523 return OpenModule; in getModuleForNewFunction()
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp652 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()
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy.cpp654 MCJITHelper(LLVMContext& C) : Context(C), OpenModule(NULL) {} in MCJITHelper()
669 Module *OpenModule; member in MCJITHelper
737 if (*it == OpenModule) in getFunction()
740 assert(OpenModule != NULL); in getFunction()
744 Function *PF = OpenModule->getFunction(FnName); in getFunction()
755 OpenModule); in getFunction()
764 if (OpenModule) in getModuleForNewFunction()
765 return OpenModule; in getModuleForNewFunction()
771 OpenModule = M; in getModuleForNewFunction()
801 OpenModule = NULL; in closeCurrentModule()
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy.cpp741 MCJITHelper(LLVMContext& C) : Context(C), OpenModule(NULL) {} in MCJITHelper()
757 Module *OpenModule; member in MCJITHelper
826 if (*it == OpenModule) in getFunction()
829 assert(OpenModule != NULL); in getFunction()
833 Function *PF = OpenModule->getFunction(FnName); in getFunction()
844 OpenModule); in getFunction()
853 if (OpenModule) in getModuleForNewFunction()
854 return OpenModule; in getModuleForNewFunction()
860 OpenModule = M; in getModuleForNewFunction()
890 OpenModule = NULL; in closeCurrentModule()
[all …]