enum IRPosition::Kind
Description
The positions we distinguish in the IR.
Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:433
Enumerators
Name | Value | Comment |
---|---|---|
IRP_INVALID | 0 | An invalid position. |
IRP_FLOAT | 1 | A position that is not associated with a spot suitable for attributes. This could be any value or instruction. |
IRP_RETURNED | 2 | An attribute for the function return value. |
IRP_CALL_SITE_RETURNED | 3 | An attribute for a call site return value. |
IRP_FUNCTION | 4 | An attribute for a function (scope). |
IRP_CALL_SITE | 5 | An attribute for a call site (function scope). |
IRP_ARGUMENT | 6 | An attribute for a function argument. |
IRP_CALL_SITE_ARGUMENT | 7 | An attribute for a call site argument. |