Displaying 1 result from an estimated 1 matches for "addressofreturnaddress".
Did you mean:
_addressofreturnaddress
2019 Jan 15
7
[RFC] Introducing an explicit calling convention
...imental.retwr(...)' (standing for return with registers)
intrinsic is introduced. By giving each parameter to retwr a hwreg
attribute, it allows the 'explicit' function to return to its caller
with a defined register state.
Only parameters passed in registers are considered as the
llvm.addressofreturnaddress intrinsic can be used to calculate the
location of values on the callers stack.
Example
=======
The following is a function which exchanges the values of rcx and rdx
without clobbering rax and rbx.
define explicitcc void @example(i64 hwreg(metadata !1) %a,
i64 hwr...