sun::codegen::abi::SignatureLowering
struct · Source (opens in a new tab)
struct sun::codegen::abi::SignatureLoweringThe lowered result and parameter representations for a C function.
Public Functions
isTrivial
public · function · Source (opens in a new tab)
bool sun::codegen::abi::SignatureLowering::isTrivial() constTrue when nothing needed rewriting, so the naive signature is already correct and callers can take their existing fast path.
A required extension counts as rewriting: the call site must carry the attribute.
usesSret
public · function · Source (opens in a new tab)
bool sun::codegen::abi::SignatureLowering::usesSret() constTrue when the return value travels through a caller-allocated buffer passed as a prepended pointer argument.
Public Fields
params
public · variable · Source (opens in a new tab)
std::vector<ArgLowering> sun::codegen::abi::SignatureLowering::paramsNo documentation comment.
Related: ArgLowering
ret
public · variable · Source (opens in a new tab)
ArgLowering sun::codegen::abi::SignatureLowering::retNo documentation comment.
Related: ArgLowering