| 1 | * look at using clang |
| 2 | * modifying our ops and modify clang to compile our ops to LLVM IR snipits |
| 3 | * then build a translator that reads our bytecode and generates LLVM IR using the LLVM IR op snipits generated in the step above. |
| 4 | * then integrate the generated LLVM IR into a new LLVMJIT runloop |
| 5 | * I would copy the slow run loop and then modify it to use LLVM IR, using the current jit runloop as a reference. |
| 6 | * that is a really rough outline but it gives you the large pieces. |
| 7 | |
| 8 | {{{ |
| 9 | see docs/jit.pod for old jit info |
| 10 | seesrc/jit/i386/emit.h |
| 11 | }}} |