Displaying 3 results from an estimated 3 matches for "reg_to_inst".
2009 May 28
0
[LLVMdev] mov instruction in LLVM IR
Hi,
A way to handle moves is to have an array mapping virtual regs to the llvm
instructions
which compute them. Then a
dr <- sr
move can be handled by doing
reg_to_inst [dr] = reg_to_inst [sr].
And whenever sr is used as an input to an operation, use reg_to_inst [sr]
instead.
Zoltan
On Fri, May 29, 2009 at 1:23 AM, Vinod Grover <vgrover528 at gmail.com> wrote:
> The input language is at assembly level, and the location akin to a...
2009 May 28
6
[LLVMdev] mov instruction in LLVM IR
The input language is at assembly level, and the location akin to a %temp (
a virtual register if you will) and contains moves from one virtual to
another. Though these are not like memory but I could represent them as
local variables and do loads and stores; so I dont know how to represent it
in C except as local variables.
On Thu, May 28, 2009 at 4:06 PM, Mike Stump <mrs at apple.com>
2009 May 28
1
[LLVMdev] mov instruction in LLVM IR
...dundancy.
On Thu, May 28, 2009 at 7:35 PM, Zoltan Varga <vargaz at gmail.com> wrote:
> Hi,
>
> A way to handle moves is to have an array mapping virtual regs to the
> llvm instructions
> which compute them. Then a
> dr <- sr
> move can be handled by doing
> reg_to_inst [dr] = reg_to_inst [sr].
>
> And whenever sr is used as an input to an operation, use reg_to_inst [sr]
> instead.
>
> Zoltan
>
>
> On Fri, May 29, 2009 at 1:23 AM, Vinod Grover <vgrover528 at gmail.com>wrote:
>
>> The input language is a...