LLVM
22.0.0git
include
llvm
MC
MCDecoderOps.h
Go to the documentation of this file.
1
//===----------------------------------------------------------------------===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
// Disassembler decoder state machine ops.
9
//===----------------------------------------------------------------------===//
10
#ifndef LLVM_MC_MCDECODEROPS_H
11
#define LLVM_MC_MCDECODEROPS_H
12
13
namespace
llvm::MCD
{
14
15
// Disassembler state machine opcodes.
16
enum
DecoderOps
{
17
OPC_Scope
= 1,
// OPC_Scope(uleb128 Size)
18
OPC_SwitchField
,
// OPC_SwitchField(uleb128 Start, uint8_t Len,
19
// [uleb128 Val, uleb128 Size]...)
20
OPC_CheckField
,
// OPC_CheckField(uleb128 Start, uint8_t Len, uleb128 Val)
21
OPC_CheckPredicate
,
// OPC_CheckPredicate(uleb128 PIdx)
22
OPC_Decode
,
// OPC_Decode(uleb128 Opcode, uleb128 DIdx)
23
OPC_SoftFail
,
// OPC_SoftFail(uleb128 PMask, uleb128 NMask)
24
};
25
26
}
// namespace llvm::MCD
27
28
#endif
llvm::MCD
Definition
MCDecoder.h:18
llvm::MCD::DecoderOps
DecoderOps
Definition
MCDecoderOps.h:16
llvm::MCD::OPC_Decode
@ OPC_Decode
Definition
MCDecoderOps.h:22
llvm::MCD::OPC_SwitchField
@ OPC_SwitchField
Definition
MCDecoderOps.h:18
llvm::MCD::OPC_Scope
@ OPC_Scope
Definition
MCDecoderOps.h:17
llvm::MCD::OPC_SoftFail
@ OPC_SoftFail
Definition
MCDecoderOps.h:23
llvm::MCD::OPC_CheckField
@ OPC_CheckField
Definition
MCDecoderOps.h:20
llvm::MCD::OPC_CheckPredicate
@ OPC_CheckPredicate
Definition
MCDecoderOps.h:21
Generated on
for LLVM by
1.14.0