Cast
public enum Cast : CaseIterable
CastOperation
enumerates the subset of opcodes that are cast operations.
-
The
trunc
instruction.Declaration
Swift
case trunc
-
The
zext
instruction.Declaration
Swift
case zext
-
The
sext
instruction.Declaration
Swift
case sext
-
The
fpToUI
instruction.Declaration
Swift
case fpToUI
-
The
fpToSI
instruction.Declaration
Swift
case fpToSI
-
The
uiToFP
instruction.Declaration
Swift
case uiToFP
-
The
siToFP
instruction.Declaration
Swift
case siToFP
-
The
fpTrunc
instruction.Declaration
Swift
case fpTrunc
-
The
fpext
instruction.Declaration
Swift
case fpext
-
The
ptrToInt
instruction.Declaration
Swift
case ptrToInt
-
The
intToPtr
instruction.Declaration
Swift
case intToPtr
-
The
bitCast
instruction.Declaration
Swift
case bitCast
-
The
addrSpaceCast
instruction.Declaration
Swift
case addrSpaceCast
-
Retrieves the corresponding
LLVMOpcode
.Declaration
Swift
public var llvm: LLVMOpcode { get }
-
Retrieves the corresponding opcode for this cast operation.
Declaration
Swift
public var opCode: OpCode { get }