Displaying 2 results from an estimated 2 matches for "dynamic_alloca".
2011 Jun 17
3
[LLVMdev] Custom lowering DYNAMIC_STACKALLOC
...enough space to hold the
alloca'ed block of memory. If yes, going the conventional 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,...
2011 Jun 17
0
[LLVMdev] Custom lowering DYNAMIC_STACKALLOC
...loca'ed block of memory. If yes, going the conventional 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 EmitLowe...