Displaying 2 results from an estimated 2 matches for "tp52776p52804".
2012 Dec 21
2
[LLVMdev] How to print machine code of JIT IR
Hi,
I am using LLVM 3.1, and wants to print the machine code of JIT IR
I try the following method
EngineBuilder builder(&ctx.getModule());
builder.setEngineKind(EngineKind::JIT);
*
TargetMachine * tm = builder.selectTarget();
tm->Options.PrintMachineCode = true;*
engine = builder.create();
and somewhere in my code, I use
runJITonFunction();
Another question is that I am
2012 Dec 21
0
[LLVMdev] How to print machine code of JIT IR
Hi Chia Lun Liu,
On 12/21/12 7:47 AM, ChiaLun wrote:
> I am using LLVM 3.1, and wants to print the machine code of JIT IR
>
> I try the following method
>
> EngineBuilder builder(&ctx.getModule());
> builder.setEngineKind(EngineKind::JIT);
> *
> TargetMachine * tm = builder.selectTarget();
> tm->Options.PrintMachineCode = true;*
> engine =