search for: seg_alloca

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

2011 Jun 17
3
[LLVMdev] Custom lowering DYNAMIC_STACKALLOC
...onventional way (bumping the RSP); otherwise calling into a function that allocates the memory from the heap [1]. The stack pointer is not modified in the second case. I am trying to implement this by: a. Custom lowering DYNAMIC_ALLOCA in case segmented stacks are enabled. b. Creating a X86ISD::SEG_ALLOCA node in LowerDYNAMIC_STACKALLOC if segmented stacks are enabled. (Right now all LowerDYNAMIC_STACKALLOC on x86 does is check for Windows and lower the call to X86ISD::WIN_ALLOCA). c. Having EmitLoweredSegAlloca do the checks, (calling the external function if needed) and, in both the cases, write...
2011 Jun 17
0
[LLVMdev] Custom lowering DYNAMIC_STACKALLOC
...P); otherwise calling into a function that allocates the memory > from the heap [1]. The stack pointer is not modified in the second case. > > I am trying to implement this by: > > a. Custom lowering DYNAMIC_ALLOCA in case segmented stacks are enabled. > > b. Creating a X86ISD::SEG_ALLOCA node in LowerDYNAMIC_STACKALLOC if > segmented stacks are enabled. (Right now all LowerDYNAMIC_STACKALLOC on > x86 does is check for Windows and lower the call to X86ISD::WIN_ALLOCA). > > c. Having EmitLoweredSegAlloca do the checks, (calling the external > function if needed) and, i...
2011 Jun 18
1
[LLVMdev] Custom lowering DYNAMIC_STACKALLOC
Hi! > Is SEG_ALLOCA marked as writing to RAX? It has RAX in its Defs list. > Is this code in github? It has been a long time since I looked at > selection dags, but I could take a look. It is up at https://github.com/sanjoy/llvm/tree/segmented-stacks > btw, have you got -view-isel-dags (and the other view...