Displaying 4 results from an estimated 4 matches for "someblk".
Did you mean:
aoeblk
2017 Apr 17
9
[RFC] Adding CPS call support
...urn through our own stack pointer, and then pass that stack pointer to the
callee when we jump to it. It is here when we run into a problem in LLVM.
Consider the following CPS call to @bar and how it will return:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
define void @foo (i8** %sp, ...) {
someBlk:
; ...
; finish stack frame by writing return address
%retAddr = blockaddress(@foo, %retpt)
store i8* %retAddr, i8** %sp
; jump to @bar
tail call void @bar(i8** %sp, ...)
retpt: ; <- how can @bar "call" %retpt?
%sp2 = ???
%val = ???
; ...
}
define v...
2017 Apr 17
2
[RFC] Adding CPS call support
...n pass that stack pointer to the
>> callee when we jump to it. It is here when we run into a problem in LLVM.
>> Consider the following CPS call to @bar and how it will return:
>> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
>> define void @foo (i8** %sp, ...) {
>> someBlk:
>> ; ...
>> ; finish stack frame by writing return address
>> %retAddr = blockaddress(@foo, %retpt)
>> store i8* %retAddr, i8** %sp
>> ; jump to @bar
>> tail call void @bar(i8** %sp, ...)
>> retpt: ; <- how can @bar "call" %ret...
2017 Apr 19
3
[RFC] Adding CPS call support
...he
>> callee when we jump to it. It is here when we run into a problem in LLVM.
>>
>> Consider the following CPS call to @bar and how it will return:
>>
>> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
>>
>> define void @foo (i8** %sp, ...) {
>> someBlk:
>> ; ...
>> ; finish stack frame by writing return address
>> %retAddr = blockaddress(@foo, %retpt)
>> store i8* %retAddr, i8** %sp
>> ; jump to @bar
>> tail call void @bar(i8** %sp, ...)
>>
>> retpt: ; <- how can @bar &quo...
2017 Apr 17
2
[RFC] Adding CPS call support
...he
>> callee when we jump to it. It is here when we run into a problem in LLVM.
>>
>> Consider the following CPS call to @bar and how it will return:
>>
>> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
>>
>> define void @foo (i8** %sp, ...) {
>> someBlk:
>> ; ...
>> ; finish stack frame by writing return address
>> %retAddr = blockaddress(@foo, %retpt)
>> store i8* %retAddr, i8** %sp
>> ; jump to @bar
>> tail call void @bar(i8** %sp, ...)
>>
>> retpt: ; <- how can @bar &quo...