search for: selectframeindex

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

2010 Jan 18
0
[LLVMdev] Frame index arithmetic
On Jan 17, 2010, at 2:56 AM, Mark Muir wrote: > I've developed a working back-end for a custom architecture, based on LLVM 2.6. I'm now trying to cover more of the unique features of this architecture. > > To make use of one such feature, I'm trying something cunning/crazy with the stack - implementing it in a type of memory that can only be addressed via immediates. >
2010 Jan 19
2
[LLVMdev] Frame index arithmetic
...9;t working like what you expected. > Thanks for the reply. Unfortunately, this doesn't seem to be the problem. I have the following definition for the frameIndex: def frameIndex : Operand<i32>, ComplexPattern<i32 /*valueType*/, 1 /*numOperands*/, "SelectFrameIndex" /*selectFunction*/, [frameindex] /*rootNodes*/> { let PrintMethod = "printFrameIndexOperand"; let MIOperandInfo = (ops GPR); } And the following selection code: bool MyDAGToDAGISel:: SelectFrameIndex(SDValue Op, SDValue N, SDValue& Address...
2010 Jan 17
2
[LLVMdev] Frame index arithmetic
I've developed a working back-end for a custom architecture, based on LLVM 2.6. I'm now trying to cover more of the unique features of this architecture. To make use of one such feature, I'm trying something cunning/crazy with the stack - implementing it in a type of memory that can only be addressed via immediates. I've got this mostly working. However, I came across a problem