Apply ‐mregparm‐style register parameter attributes to a function.

Synopsis

Declared in <llvm/Transforms/Utils/BuildLibCalls.h>

void
markRegisterParameterAttributes(Function* F);

Description

Handle ‐mregparm for the given function. Note that this function is a rough approximation that only works for simple function signatures; it does not apply other relevant attributes for function signatures, including sign/zero‐extension for arguments and return values.

Parameters

Name

Description

F

Function whose register‐parameter attributes may be set.

Created with MrDocs