Displaying 2 results from an estimated 2 matches for "loadobjectfile".
2014 May 23
2
[LLVMdev] Selectively Jitting using MCJIT
...uch of anything.
I am trying to lazily apply certain optimisation passes on select
functions when jitting a large program. It is undesirable to me to
load the entire program as IR code and then generate code in memory
for it (time concerns). It seems that there is a function in MCJIT
"loadObjectFile" that would suit my purposes, allowing me to
statically compile the program and then load it into the jit.
My question is then what would be a good way to callback into the jit
for applying the optimisation passes before calling one of the
function? My current idea is to make the functi...
2014 May 23
4
[LLVMdev] Selectively Jitting using MCJIT
...ily apply certain optimisation passes on select
>> functions when jitting a large program. It is undesirable to me to
>> load the entire program as IR code and then generate code in memory
>> for it (time concerns). It seems that there is a function in MCJIT
>> "loadObjectFile" that would suit my purposes, allowing me to
>> statically compile the program and then load it into the jit.
>>
>
> As far as I know, ObjectFile is either COFF, ELF or MachO format,
> statically compiled. But the pass manager for applying optimisation
> passes wo...