Displaying 4 results from an estimated 4 matches for "a_ctor".
2013 Jul 25
4
[LLVMdev] Proposing a new 'alloca' parameter attribute to implement the Microsoft C++ ABI
...s, the allocas can be considered live until the
stack
restore.
Example
-------
A single call to foo, assuming it is stdcall, would be lowered something
like:
%res = alloca %struct.A
%base = llvm.stacksave()
%arg1 = alloca %struct.A, stackbase %base
%arg2 = alloca %struct.A, stackbase %base
call @A_ctor(%arg1)
call @A_ctor(%arg2)
call x86_stdcallcc @foo(%res sret, %arg1 alloca, %arg2 alloca),
stackrestore %base
If control does not flow through a call or invoke with a stackrestore field,
then manual calls to llvm.stackrestore must be emitted before another call
or
invoke can use an 'alloca'...
2013 Jul 29
0
[LLVMdev] Proposing a new 'alloca' parameter attribute to implement the Microsoft C++ ABI
...; restore.
>
> Example
> -------
>
> A single call to foo, assuming it is stdcall, would be lowered something like:
>
> %res = alloca %struct.A
> %base = llvm.stacksave()
> %arg1 = alloca %struct.A, stackbase %base
> %arg2 = alloca %struct.A, stackbase %base
> call @A_ctor(%arg1)
> call @A_ctor(%arg2)
> call x86_stdcallcc @foo(%res sret, %arg1 alloca, %arg2 alloca), stackrestore %base
>
> If control does not flow through a call or invoke with a stackrestore field,
> then manual calls to llvm.stackrestore must be emitted before another call or
> invo...
2013 Oct 22
1
[LLVMdev] Starting implementation of 'inalloca' parameter attribute for MS C++ ABI pass-by-value
...tore.
>
> Example
> -------
>
> A single call to foo, assuming it is stdcall, would be lowered something
> like:
>
> %res = alloca %struct.A
> %base = llvm.stacksave()
> %arg1 = alloca %struct.A, stackbase %base
> %arg2 = alloca %struct.A, stackbase %base
> call @A_ctor(%arg1)
> call @A_ctor(%arg2)
> call x86_stdcallcc @foo(%res sret, %arg1 alloca, %arg2 alloca),
> stackrestore %base
>
> If control does not flow through a call or invoke with a stackrestore
> field,
> then manual calls to llvm.stackrestore must be emitted before another call
&g...
2013 Jul 30
0
[LLVMdev] Proposing a new 'alloca' parameter attribute to implement the Microsoft C++ ABI
...tore.
>
> Example
> -------
>
> A single call to foo, assuming it is stdcall, would be lowered something
> like:
>
> %res = alloca %struct.A
> %base = llvm.stacksave()
> %arg1 = alloca %struct.A, stackbase %base
> %arg2 = alloca %struct.A, stackbase %base
> call @A_ctor(%arg1)
> call @A_ctor(%arg2)
> call x86_stdcallcc @foo(%res sret, %arg1 alloca, %arg2 alloca), stackrestore
> %base
>
> If control does not flow through a call or invoke with a stackrestore field,
> then manual calls to llvm.stackrestore must be emitted before another call
> or...