Displaying 4 results from an estimated 4 matches for "6a126d6cd1fa07a4331179597de0c46a".
2010 Apr 17
2
[LLVMdev] Parsing (and compiling) on demand.
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.
Best regards,
Milovanov Victor.
2010 Apr 17
0
[LLVMdev] Parsing (and compiling) on demand.
...R 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().
http://llvm.org/doxygen/classllvm_1_1ExecutionEngine.html#6a126d6cd1fa07a4331179597de0c46a
Nick
2010 Apr 17
2
[LLVMdev] Parsing (and compiling) on demand.
Ok than, but how to insert a call to an undefined function?
> See ExecutionEngine::InstallLazyFunctionCreator().
> http://llvm.org/doxygen/classllvm_1_1ExecutionEngine.html#6a126d6cd1fa07a4331179597de0c46a
>
> Nick
>
2010 Apr 17
0
[LLVMdev] Parsing (and compiling) on demand.
...seems to be the only way to use
this API, so I presume someone else has. The only potential problem I
can forsee is if the JIT isn't actually re-entrant.
Nick
>
>> See ExecutionEngine::InstallLazyFunctionCreator().
>> http://llvm.org/doxygen/classllvm_1_1ExecutionEngine.html#6a126d6cd1fa07a4331179597de0c46a
>>
>> Nick
>>
>