[LLVMdev] Instruction Conversion
varonrotem at gmail.com
Sat May 9 11:34:46 PDT 2009
Let say i am writing a code inside basic block pass and iterating all the
and i encountered in this instruction :
%3 = add i32 %1, 2
I want to convert this instruction to something like this:
add R1, 2, R3
I know the opocode, but i what i need is, the operands %1 and 2 (in this
I will be grateful if some one will tell me how to do so .
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev