search for: staticallocamap

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

2009 Sep 16
0
[LLVMdev] struct returns
...rn (Actually, SelectionDAGLowering::LowerCallTo calls TargetLowering::LowerCallTo, which calls TargetLowering::LowerCall, for historical reasons.) Basically, the task here is to interpose code which will recognize when an automatic sret is needed, set up a static alloca to hold the value (see the StaticAllocaMap), and adjust the argument list and return code accordingly. For recognizing when an sret is needed, it'll be necessary to know what the target supports. This is described in the targets' *CallingConv.td files. Currently the consumer of this information is the CallingConvLowering code in i...
2009 Sep 16
2
[LLVMdev] struct returns
> I recently made a major reorganization of the calling-convention > lowering code which cleared away one of the major obstacles to > doing this within codegen. > > Dan So what was the obstacle, and how was it cleared? And how do you see the large struct return working in codegen? Anything you care to tell me would be welcome. I will be starting on this today or tomorrow.
2009 Sep 20
2
[LLVMdev] struct returns
...wering::LowerCallTo calls > TargetLowering::LowerCallTo, which calls TargetLowering::LowerCall, > for historical reasons.) > > Basically, the task here is to interpose code which will recognize > when an automatic sret is needed, set up a static alloca to hold the > value (see the StaticAllocaMap), and adjust the argument list and > return code accordingly. > > For recognizing when an sret is needed, it'll be necessary to know > what the target supports. This is described in the targets' > *CallingConv.td files. Currently the consumer of this information > is the C...