Displaying 2 results from an estimated 2 matches for "mov_fi".
Did you mean:
mod_fn
2010 Jan 17
2
[LLVMdev] Frame index arithmetic
...ven without any optimisations enabled) often requires the pattern:
i32 = FrameIndex <n>
For normal memory, I was using the following instruction to match this pattern:
// Get the address in memory corresponding to the given frame index, saving the address
// in a register.
def MOV_FI : PseudoInstr<(outs GPR:$dst), (ins frameIndex:$addr),
"// $dst := frame index $addr",
[(set GPR:$dst, frameIndex:$addr)]>;
Which is later replaced by a MOV (output register = stack pointer + constant offset) in eliminateFra...
2010 Jan 18
0
[LLVMdev] Frame index arithmetic
...ften requires the pattern:
>
> i32 = FrameIndex <n>
>
> For normal memory, I was using the following instruction to match this pattern:
>
> // Get the address in memory corresponding to the given frame index, saving the address
> // in a register.
> def MOV_FI : PseudoInstr<(outs GPR:$dst), (ins frameIndex:$addr),
> "// $dst := frame index $addr",
> [(set GPR:$dst, frameIndex:$addr)]>;
>
> Which is later replaced by a MOV (output register = stack pointer + constant off...