enum IRPosition::Kind

Description

The positions we distinguish in the IR.

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

Enumerators

NameValueComment
IRP_INVALID0An invalid position.
IRP_FLOAT1A position that is not associated with a spot suitable for attributes. This could be any value or instruction.
IRP_RETURNED2An attribute for the function return value.
IRP_CALL_SITE_RETURNED3An attribute for a call site return value.
IRP_FUNCTION4An attribute for a function (scope).
IRP_CALL_SITE5An attribute for a call site (function scope).
IRP_ARGUMENT6An attribute for a function argument.
IRP_CALL_SITE_ARGUMENT7An attribute for a call site argument.