mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Keep enums stable. Append EH stuff to the end.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136263 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b6854ad2b1
commit
c94eefb258
@ -126,69 +126,72 @@ typedef enum {
|
||||
LLVMIndirectBr = 4,
|
||||
LLVMInvoke = 5,
|
||||
LLVMUnwind = 6,
|
||||
LLVMResume = 7,
|
||||
LLVMUnreachable = 8,
|
||||
LLVMUnreachable = 7,
|
||||
|
||||
/* Standard Binary Operators */
|
||||
LLVMAdd = 9,
|
||||
LLVMFAdd = 10,
|
||||
LLVMSub = 11,
|
||||
LLVMFSub = 12,
|
||||
LLVMMul = 13,
|
||||
LLVMFMul = 14,
|
||||
LLVMUDiv = 15,
|
||||
LLVMSDiv = 16,
|
||||
LLVMFDiv = 17,
|
||||
LLVMURem = 18,
|
||||
LLVMSRem = 19,
|
||||
LLVMFRem = 20,
|
||||
LLVMAdd = 8,
|
||||
LLVMFAdd = 9,
|
||||
LLVMSub = 10,
|
||||
LLVMFSub = 11,
|
||||
LLVMMul = 12,
|
||||
LLVMFMul = 13,
|
||||
LLVMUDiv = 14,
|
||||
LLVMSDiv = 15,
|
||||
LLVMFDiv = 16,
|
||||
LLVMURem = 17,
|
||||
LLVMSRem = 18,
|
||||
LLVMFRem = 19,
|
||||
|
||||
/* Logical Operators */
|
||||
LLVMShl = 21,
|
||||
LLVMLShr = 22,
|
||||
LLVMAShr = 23,
|
||||
LLVMAnd = 24,
|
||||
LLVMOr = 25,
|
||||
LLVMXor = 26,
|
||||
LLVMShl = 20,
|
||||
LLVMLShr = 21,
|
||||
LLVMAShr = 22,
|
||||
LLVMAnd = 23,
|
||||
LLVMOr = 24,
|
||||
LLVMXor = 25,
|
||||
|
||||
/* Memory Operators */
|
||||
LLVMAlloca = 27,
|
||||
LLVMLoad = 28,
|
||||
LLVMStore = 29,
|
||||
LLVMGetElementPtr = 30,
|
||||
LLVMAlloca = 26,
|
||||
LLVMLoad = 27,
|
||||
LLVMStore = 28,
|
||||
LLVMGetElementPtr = 29,
|
||||
|
||||
/* Cast Operators */
|
||||
LLVMTrunc = 31,
|
||||
LLVMZExt = 32,
|
||||
LLVMSExt = 33,
|
||||
LLVMFPToUI = 34,
|
||||
LLVMFPToSI = 35,
|
||||
LLVMUIToFP = 36,
|
||||
LLVMSIToFP = 37,
|
||||
LLVMFPTrunc = 38,
|
||||
LLVMFPExt = 39,
|
||||
LLVMPtrToInt = 40,
|
||||
LLVMIntToPtr = 41,
|
||||
LLVMBitCast = 42,
|
||||
LLVMTrunc = 30,
|
||||
LLVMZExt = 31,
|
||||
LLVMSExt = 32,
|
||||
LLVMFPToUI = 33,
|
||||
LLVMFPToSI = 34,
|
||||
LLVMUIToFP = 35,
|
||||
LLVMSIToFP = 36,
|
||||
LLVMFPTrunc = 37,
|
||||
LLVMFPExt = 38,
|
||||
LLVMPtrToInt = 39,
|
||||
LLVMIntToPtr = 40,
|
||||
LLVMBitCast = 41,
|
||||
|
||||
/* Other Operators */
|
||||
LLVMICmp = 43,
|
||||
LLVMFCmp = 44,
|
||||
LLVMPHI = 45,
|
||||
LLVMCall = 46,
|
||||
LLVMSelect = 47,
|
||||
LLVMICmp = 42,
|
||||
LLVMFCmp = 43,
|
||||
LLVMPHI = 44,
|
||||
LLVMCall = 45,
|
||||
LLVMSelect = 46,
|
||||
/* UserOp1 */
|
||||
/* UserOp2 */
|
||||
LLVMVAArg = 50,
|
||||
LLVMExtractElement = 51,
|
||||
LLVMInsertElement = 52,
|
||||
LLVMShuffleVector = 53,
|
||||
LLVMExtractValue = 54,
|
||||
LLVMInsertValue = 55,
|
||||
LLVMLandingPad = 56,
|
||||
LLVMVAArg = 49,
|
||||
LLVMExtractElement = 50,
|
||||
LLVMInsertElement = 51,
|
||||
LLVMShuffleVector = 52,
|
||||
LLVMExtractValue = 53,
|
||||
LLVMInsertValue = 54,
|
||||
|
||||
/* Atomic operators */
|
||||
LLVMFence = 57
|
||||
LLVMFence = 55,
|
||||
|
||||
/* Exception Handling Operators */
|
||||
LLVMLandingPad = 56,
|
||||
LLVMResume = 57
|
||||
|
||||
} LLVMOpcode;
|
||||
|
||||
typedef enum {
|
||||
|
Loading…
Reference in New Issue
Block a user