Displaying 3 results from an estimated 3 matches for "opocod".
Did you mean:
opcod
2009 May 09
2
[LLVMdev] Instruction Conversion
Hi,
Let say i am writing a code inside basic block pass and iterating all the
instructions inside,
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
example).
I will be grateful if some one will tell me how to do so .
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090509/acfd0df2/attachment.html>
2009 May 09
0
[LLVMdev] Instruction Conversion
...esource. You may also want to read the Programmer's Guide
(http://llvm.org/docs/ProgrammersManual.html).
Does this answer your question?
-- John T.
>
> %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 example).
>
> I will be grateful if some one will tell me how to do so .
2009 May 09
0
[LLVMdev] Instruction Conversion
...>
> Let say i am writing a code inside basic block pass and iterating all
> the instructions inside,
> 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 example).
>
> I will be grateful if some one will tell me how to do so .