[LLVMdev] Parsing (and compiling) on demand.

Nick Lewycky nicholas at mxc.ca
Sat Apr 17 00:08:02 PDT 2010

lost wrote:
> Hi!
> I'm trying to develop JIT compiler using LLVM as its backend. I know
> LLVM itself supports JIT-compiling, but I need to generate IR first.
> I don't want to generate IR before function is actually needed. How
> can I achieve this?
> If it matters, I have prototypes for all functions I'm going to use.

See ExecutionEngine::InstallLazyFunctionCreator(). 


More information about the llvm-dev mailing list