search for: readregfromstackslot

Displaying 3 results from an estimated 3 matches for "readregfromstackslot".

Did you mean: loadregfromstackslot
2011 May 17
1
[LLVMdev] TargetRegisterInfo and "infinite" register files
...ry different from what a 'real' target requires, so you should probably try to figure out which passes make sense for a GPU back-end. > For the stack slot approach, what exactly are the semantics of the foldMemoryOperandImpl method? And how does it relate to the storeRegToStackSlot and readRegFromStackSlot methods? Do the storeReg/readReg methods generate the (load/store) spill code and the foldMemoryOperandImpl method combine the generated loads/stores directly into the instructions that reference them? When a register is spilled, the register allocator first tries foldMemoryOperand on all instruc...
2011 May 17
0
[LLVMdev] TargetRegisterInfo and "infinite" register files
...virtual registers in the first place. Unfortunately, there do not seem to be any documentation (or even existing back-ends) using this approach. For the stack slot approach, what exactly are the semantics of the foldMemoryOperandImpl method? And how does it relate to the storeRegToStackSlot and readRegFromStackSlot methods? Do the storeReg/readReg methods generate the (load/store) spill code and the foldMemoryOperandImpl method combine the generated loads/stores directly into the instructions that reference them? > /jakob > > _______________________________________________ > LLVM Developers m...
2011 May 17
3
[LLVMdev] TargetRegisterInfo and "infinite" register files
On May 17, 2011, at 11:32 AM, Andrew Clinton wrote: > On 05/17/2011 12:54 PM, Jakob Stoklund Olesen wrote: >> What you can do instead is: >> >> 1) Just use virtual registers and skip register allocation, or >> >> 2) Allocate to a small register file, implement memory operand folding, and pretend that spill slots are registers. >> >> /jakob >>