Enum OpCode
- Namespace
- Ubiquity.NET.Llvm.Instructions
- Assembly
- Ubiquity.NET.Llvm.dll
LLVM Instruction opcodes
public enum OpCode
Fields
AShr = 22Arithmetic Shift Right instruction
Add = 8Add instruction
AddrSpaceCast = 60addressspacecast .. to instruction
Alloca = 26xxx instruction
And = 23Bitwise And instruction
AtomicCmpXchg = 56CmpXchg instruction
AtomicRMW = 57atomicrmw instruction
BitCast = 41bitcast .. to instruction
Branch = 2Branch instruction
Call = 45call instruction
CallBr = 67callbr instruction
CatchPad = 63catchpad instruction
CatchRet = 62catchret instruction
CatchSwitch = 65catchswitch instruction
CleanupPad = 64cleanuppad instruction
CleanupRet = 61cleanupret instruction
ExtractElement = 50extractelement instruction
ExtractValue = 53extractvalue instruction
FAdd = 9FAdd instruction
FCmp = 43fcmp instruction
FDiv = 16FDiv instruction
FMul = 13FMul instruction
FPExt = 38fpext .. to instruction
FPToSI = 34fptosi .. to instruction
FPToUI = 33fptoui .. to instruction
FPTrunc = 37fptrunc .. to instruction
FRem = 19FRem instruction
FSub = 11FSub instruction
Fence = 55Fence instruction
Freeze = 68Freeze instruction
GetElementPtr = 29getelementptr instruction
ICmp = 42icmp instruction
IndirectBranch = 4Indirect branch instruction
InsertElement = 51insert instruction
InsertValue = 54insertvalue instruction
IntToPtr = 40inttoptr .. to instruction
Invalid = 0Invalid or unknown instruction
Invoke = 5Invoke instruction
LShr = 21Logical Shift Right instruction
LandingPad = 59landingpad instruction
Load = 27Load instruction
Mul = 12Mul instruction
Or = 24Bitwise Or instruction
Phi = 44phi instruction
PtrToInt = 39ptrtoint .. to instruction
Resume = 58resume instruction
Return = 1Return instruction
SDiv = 15SDiv instruction
SIToFP = 36sitofp .. to instruction
SRem = 18SRem instruction
Select = 46select instruction
Shl = 20Shift Left instruction
ShuffleVector = 52shufflevector instruction
SignExtend = 32sext .. to instruction
Store = 28Store instruction
Sub = 10Sub instruction
Switch = 3Switch instruction
Trunc = 30trunc .. to instruction
UDiv = 14UDiv instruction
UIToFP = 35uitofp .. to instruction
URem = 17URem instruction
Unreachable = 7Unreachable instruction
UserOp1 = 47Custom user operator1 instruction
UserOp2 = 48Custom user operator2 instruction
VaArg = 49va_arg instruction
Xor = 25Bitwise Xor instruction
ZeroExtend = 31zext .. to instruction
Remarks
These are based on the "C" API and therefore more stable as changes in the underlying instruction ids are remapped in the C API layer