Displaying 2 results from an estimated 2 matches for "pseudoinstr".
Did you mean:
pseudoinst
2010 Jan 17
2
[LLVMdev] Frame index arithmetic
...ut 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 eliminateFrameIndex().
Ho...
2010 Jan 18
0
[LLVMdev] Frame index arithmetic
...ires 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 elimin...