OpCode
public enum OpCode : CaseIterable
Enumerates the opcodes of instructions available in the LLVM IR language.
-
The opcode for the
retinstruction.Declaration
Swift
case ret -
The opcode for the
brinstruction.Declaration
Swift
case br -
The opcode for the
switchinstruction.Declaration
Swift
case `switch` -
The opcode for the
indirectBrinstruction.Declaration
Swift
case indirectBr -
The opcode for the
invokeinstruction.Declaration
Swift
case invoke -
The opcode for the
unreachableinstruction.Declaration
Swift
case unreachable
-
The opcode for the
addinstruction.Declaration
Swift
case add -
The opcode for the
faddinstruction.Declaration
Swift
case fadd -
The opcode for the
subinstruction.Declaration
Swift
case sub -
The opcode for the
fsubinstruction.Declaration
Swift
case fsub -
The opcode for the
mulinstruction.Declaration
Swift
case mul -
The opcode for the
fmulinstruction.Declaration
Swift
case fmul -
The opcode for the
udivinstruction.Declaration
Swift
case udiv -
The opcode for the
sdivinstruction.Declaration
Swift
case sdiv -
The opcode for the
fdivinstruction.Declaration
Swift
case fdiv -
The opcode for the
ureminstruction.Declaration
Swift
case urem -
The opcode for the
sreminstruction.Declaration
Swift
case srem -
The opcode for the
freminstruction.Declaration
Swift
case frem
-
The opcode for the
shlinstruction.Declaration
Swift
case shl -
The opcode for the
lshrinstruction.Declaration
Swift
case lshr -
The opcode for the
ashrinstruction.Declaration
Swift
case ashr -
The opcode for the
andinstruction.Declaration
Swift
case and -
The opcode for the
orinstruction.Declaration
Swift
case or -
The opcode for the
xorinstruction.Declaration
Swift
case xor
-
The opcode for the
allocainstruction.Declaration
Swift
case alloca -
The opcode for the
loadinstruction.Declaration
Swift
case load -
The opcode for the
storeinstruction.Declaration
Swift
case store -
The opcode for the
getElementPtrinstruction.Declaration
Swift
case getElementPtr
-
The opcode for the
truncinstruction.Declaration
Swift
case trunc -
The opcode for the
zextinstruction.Declaration
Swift
case zext -
The opcode for the
sextinstruction.Declaration
Swift
case sext -
The opcode for the
fpToUIinstruction.Declaration
Swift
case fpToUI -
The opcode for the
fpToSIinstruction.Declaration
Swift
case fpToSI -
The opcode for the
uiToFPinstruction.Declaration
Swift
case uiToFP -
The opcode for the
siToFPinstruction.Declaration
Swift
case siToFP -
The opcode for the
fpTruncinstruction.Declaration
Swift
case fpTrunc -
The opcode for the
fpExtinstruction.Declaration
Swift
case fpExt -
The opcode for the
ptrToIntinstruction.Declaration
Swift
case ptrToInt -
The opcode for the
intToPtrinstruction.Declaration
Swift
case intToPtr -
The opcode for the
bitCastinstruction.Declaration
Swift
case bitCast -
The opcode for the
addrSpaceCastinstruction.Declaration
Swift
case addrSpaceCast
-
The opcode for the
icmpinstruction.Declaration
Swift
case icmp -
The opcode for the
fcmpinstruction.Declaration
Swift
case fcmp -
The opcode for the
PHIinstruction.Declaration
Swift
case phi -
The opcode for the
callinstruction.Declaration
Swift
case call -
The opcode for the
selectinstruction.Declaration
Swift
case select -
The opcode for the
userOp1instruction.Declaration
Swift
case userOp1 -
The opcode for the
userOp2instruction.Declaration
Swift
case userOp2 -
The opcode for the
vaArginstruction.Declaration
Swift
case vaArg -
The opcode for the
extractElementinstruction.Declaration
Swift
case extractElement -
The opcode for the
insertElementinstruction.Declaration
Swift
case insertElement -
The opcode for the
shuffleVectorinstruction.Declaration
Swift
case shuffleVector -
The opcode for the
extractValueinstruction.Declaration
Swift
case extractValue -
The opcode for the
insertValueinstruction.Declaration
Swift
case insertValue
-
The opcode for the
fenceinstruction.Declaration
Swift
case fence -
The opcode for the
atomicCmpXchginstruction.Declaration
Swift
case atomicCmpXchg -
The opcode for the
atomicRMWinstruction.Declaration
Swift
case atomicRMW
-
The opcode for the
resumeinstruction.Declaration
Swift
case resume -
The opcode for the
landingPadinstruction.Declaration
Swift
case landingPad -
The opcode for the
cleanupRetinstruction.Declaration
Swift
case cleanupRet -
The opcode for the
catchRetinstruction.Declaration
Swift
case catchRet -
The opcode for the
catchPadinstruction.Declaration
Swift
case catchPad -
The opcode for the
cleanupPadinstruction.Declaration
Swift
case cleanupPad -
The opcode for the
catchSwitchinstruction.Declaration
Swift
case catchSwitch -
See moreBinaryOperationenumerates the subset of opcodes that are binary operations.Declaration
Swift
public enum Binary : CaseIterable -
See moreCastOperationenumerates the subset of opcodes that are cast operations.Declaration
Swift
public enum Cast : CaseIterable
OpCode Enumeration Reference