Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:44:12

0001 //===------------ llvm/MC/MCDecoderOps.h - Decoder driver -------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 // Disassembler decoder state machine driver.
0009 //===----------------------------------------------------------------------===//
0010 #ifndef LLVM_MC_MCDECODEROPS_H
0011 #define LLVM_MC_MCDECODEROPS_H
0012 
0013 namespace llvm {
0014 
0015 namespace MCD {
0016 // Disassembler state machine opcodes.
0017 enum DecoderOps {
0018   OPC_ExtractField = 1, // OPC_ExtractField(uleb128 Start, uint8_t Len)
0019   OPC_FilterValue,      // OPC_FilterValue(uleb128 Val, uint16_t NumToSkip)
0020   OPC_CheckField,       // OPC_CheckField(uleb128 Start, uint8_t Len,
0021                         //                uleb128 Val, uint16_t NumToSkip)
0022   OPC_CheckPredicate,   // OPC_CheckPredicate(uleb128 PIdx, uint16_t NumToSkip)
0023   OPC_Decode,           // OPC_Decode(uleb128 Opcode, uleb128 DIdx)
0024   OPC_TryDecode,        // OPC_TryDecode(uleb128 Opcode, uleb128 DIdx,
0025                         //               uint16_t NumToSkip)
0026   OPC_SoftFail,         // OPC_SoftFail(uleb128 PMask, uleb128 NMask)
0027   OPC_Fail              // OPC_Fail()
0028 };
0029 
0030 } // namespace MCD
0031 } // namespace llvm
0032 
0033 #endif