search for: machinecodeemission

Displaying 3 results from an estimated 3 matches for "machinecodeemission".

2010 May 28
4
[LLVMdev] Combining Branch Statements - Missing Optimization Pass?
...mission but I can't figure out how to easily print out the machine code. Is there an easy way to add a createMachineFunctionPrinterPass pass to the ExecutionEngine's JIT so that it will print out the machine code after all the optimizations have been done and the code has been generated for MachineCodeEmission? Thank you in advance, Curtis define void @main() nounwind { bb.nph: br label %loop loop: ; preds = %bb.nph, %endif15 %lsr.iv = phi i32 [ 1, %bb.nph ], [ %lsr.iv.next, %endif15 ] ; <i32> [#uses=4] %fp = sitofp i32 %lsr.iv to double...
2010 May 28
0
[LLVMdev] Combining Branch Statements - Missing Optimization Pass?
...9;t figure out how to easily print out the machine code. Is there an > easy way to add a createMachineFunctionPrinterPass pass to the > ExecutionEngine's JIT so that it will print out the machine code after all > the optimizations have been done and the code has been generated for > MachineCodeEmission? > Thank you in advance, > Curtis You could always have your code save the module you're JITting off of and then run that module through llc.
2010 May 28
0
[LLVMdev] Combining Branch Statements - Missing Optimization Pass?
...mission but I can't figure out how to easily print out the machine code. Is there an easy way to add a createMachineFunctionPrinterPass pass to the ExecutionEngine's JIT so that it will print out the machine code after all the optimizations have been done and the code has been generated for MachineCodeEmission? > > Thank you in advance, > > Curtis > > > > define void @main() nounwind { > bb.nph: > br label %loop > > loop: ; preds = %bb.nph, %endif15 > %lsr.iv = phi i32 [ 1, %bb.nph ], [ %lsr.iv.next, %endif15 ] ;...