search for: emitloweredsegalloca

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

2011 Jun 17
3
[LLVMdev] Custom lowering DYNAMIC_STACKALLOC
...: 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 the pointer to the allocated memory to RAX. If the function is called nothing extra needs to be done, since the return value stays at RAX. If the stack pointer was changed, I do a (X86::MOV64rr, X86::RAX).addReg(...
2011 Jun 17
0
[LLVMdev] Custom lowering DYNAMIC_STACKALLOC
...C_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 the pointer to the > allocated memory to RAX. If the function is called nothing extra needs > to be done, since the return value stays at RAX. If the stack pointer > was changed, I do a (X86::MOV64r...
2011 Jul 14
3
[LLVMdev] [PATCH] Segmented Stacks
Hi llvm-dev! I have attached the current state of my GSoC work in patches [1] for review; this currently allows LLVM to correctly handle functions running out of stack space and variable sized stack objects. Firstly, since I think it is better to get things merged in small chunks, I'd like to have some specific feedback on where my work stands in terms of mergeability. Secondly, I had been