IRValueKind
public enum IRValueKind
Enumerates the kinds of values present in LLVM IR.
-
The value is an argument.
Declaration
Swift
case argument
-
The value is a basic block.
Declaration
Swift
case basicBlock
-
The value is a memory use.
Declaration
Swift
case memoryUse
-
The value is a memory definition.
Declaration
Swift
case memoryDef
-
The value is a memory phi node.
Declaration
Swift
case memoryPhi
-
The value is a function.
Declaration
Swift
case function
-
The value is a global alias.
Declaration
Swift
case globalAlias
-
The value is an ifunc.
Declaration
Swift
case globalIFunc
-
The value is a variable.
Declaration
Swift
case globalVariable
-
The value is a block address.
Declaration
Swift
case blockAddress
-
The value is a constant expression.
Declaration
Swift
case constantExpression
-
The value is a constant array.
Declaration
Swift
case constantArray
-
The value is a constant struct.
Declaration
Swift
case constantStruct
-
The value is a constant vector.
Declaration
Swift
case constantVector
-
The value is undef.
Declaration
Swift
case `undef`
-
The value is a constant aggregate zero.
Declaration
Swift
case constantAggregateZero
-
The value is a constant data array.
Declaration
Swift
case constantDataArray
-
The value is a constant data vector.
Declaration
Swift
case constantDataVector
-
The value is a constant int value.
Declaration
Swift
case constantInt
-
The value is a constant floating pointer value.
Declaration
Swift
case constantFloat
-
The value is a constant pointer to null.
Note that this pointer is a zero bit-value pointer. Its semantics are dependent upon the address space.
Declaration
Swift
case constantPointerNull
-
The value is a constant none-token value.
Declaration
Swift
case constantTokenNone
-
The value is a metadata-as-value node.
Declaration
Swift
case metadataAsValue
-
The value is inline assembly.
Declaration
Swift
case inlineASM
-
The value is an instruction.
Declaration
Swift
case instruction