search for: objpointstruct

Displaying 5 results from an estimated 5 matches for "objpointstruct".

2012 Mar 07
2
[LLVMdev] Question about post RA scheduler
I am having trouble trying to enable post RA scheduler for the Mips backend. This is the bit code of the function I am compiling: (gdb) p MF.Fn->dump() define void @PointToHPoint(%struct.HPointStruct* noalias sret %agg.result, %struct.ObjPointStruct* byval %P) nounwind { entry: %res = alloca %struct.HPointStruct, align 8 %x2 = bitcast %struct.ObjPointStruct* %P to double* %0 = load double* %x2, align 8 The third instruction is loading the first floating point double of structure %P which is being passed by value. This is the machine fu...
2012 Mar 07
2
[LLVMdev] Question about post RA scheduler
...ferPointerInfo in SelectionDAG.cpp cannot discover a load or store is accessing a stack object (it can only infer the information if the expression for the pointer is simple, for example add FI + const). An alternative approach might be to make the machinepointerinfo of the stores refer to %struct.ObjPointStruct* byval %P or refer to nothing, but that currently doesn't seem to be possible. On Tue, Mar 6, 2012 at 6:01 PM, Andrew Trick <atrick at apple.com> wrote: > On Mar 6, 2012, at 5:05 PM, Akira Hatanaka <ahatanak at gmail.com> wrote: >> I am having trouble trying to enable post...
2012 Mar 07
0
[LLVMdev] Question about post RA scheduler
...ail.com> wrote: > I am having trouble trying to enable post RA scheduler for the Mips backend. > > This is the bit code of the function I am compiling: > > (gdb) p MF.Fn->dump() > > define void @PointToHPoint(%struct.HPointStruct* noalias sret > %agg.result, %struct.ObjPointStruct* byval %P) nounwind { > entry: > %res = alloca %struct.HPointStruct, align 8 > %x2 = bitcast %struct.ObjPointStruct* %P to double* > %0 = load double* %x2, align 8 > > The third instruction is loading the first floating point double of > structure %P which is being passed b...
2012 Mar 13
0
[LLVMdev] Question about post RA scheduler
...onDAG.cpp cannot discover a load or store > is accessing a stack object (it can only infer the information if the > expression for the pointer is simple, for example add FI + const). > > An alternative approach might be to make the machinepointerinfo of the > stores refer to %struct.ObjPointStruct* byval %P or refer to nothing, > but that currently doesn't seem to be possible. I've thought of several ways we could potentially handle this. All are fairly messy without recognizing the situation during argument lowering. I'm not very familiar with the argument lowering code. But...
2012 Mar 15
2
[LLVMdev] Question about post RA scheduler
...scover a load or store >> is accessing a stack object (it can only infer the information if the >> expression for the pointer is simple, for example add FI + const). >> >> An alternative approach might be to make the machinepointerinfo of the >> stores refer to %struct.ObjPointStruct* byval %P or refer to nothing, >> but that currently doesn't seem to be possible. > > I've thought of several ways we could potentially handle this. All are fairly messy without recognizing the situation during argument lowering. I'm not very familiar with the argument lower...