enum IRPosition::Kind

Description

The positions we distinguish in the IR. The values are chosen such that the KindOrArgNo member has a value >= 1 if it is an argument or call site argument while a value < 1 indicates the respective kind of that value.

Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:153

Enumerators

NameValueComment
IRP_INVALID-6An invalid position.
IRP_FLOAT-5A position that is not associated with a spot suitable for attributes. This could be any value or instruction.
IRP_RETURNED-4An attribute for the function return value.
IRP_CALL_SITE_RETURNED-3An attribute for a call site return value.
IRP_FUNCTION-2An attribute for a function (scope).
IRP_CALL_SITE-1An attribute for a call site (function scope).
IRP_ARGUMENT0An attribute for a function argument.
IRP_CALL_SITE_ARGUMENT1An attribute for a call site argument.