[LLVMdev] Another way to JIT: "dlopen from memory"

Eugene Toder eltoder at gmail.com
Wed Jul 7 14:00:37 PDT 2010


> Some applications (OpenCL comes to mind) have the bitcode ready to go
> as soon as they start.  The only reason they use the JIT is because
> they want to compile the code to run fast on the available hardware.

If your code never changes and you just want to use target specific
optimizations, can you just statically compile as an installation
step?
I think most applications using JIT (excluding .NET implementations --
which explains popularity of ngen) are at least building the code from
basic bitcode blocks based on some dynamic configuration, if not
generating the whole thing dynamically.

Eugene




More information about the llvm-dev mailing list