[AMDGPU] Check for immediate SrcC in mfma in AsmParser
[llvm-core.git] / lib / Target / Lanai / Disassembler / LanaiDisassembler.h
blobae821df303d85ca450060b40d2db2f8792f9f5f3
1 //===- LanaiDisassembler.cpp - Disassembler for Lanai -----------*- C++ -*-===//
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 //
9 // This file is part of the Lanai Disassembler.
11 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_LIB_TARGET_LANAI_DISASSEMBLER_LANAIDISASSEMBLER_H
14 #define LLVM_LIB_TARGET_LANAI_DISASSEMBLER_LANAIDISASSEMBLER_H
16 #define DEBUG_TYPE "lanai-disassembler"
18 #include "llvm/MC/MCDisassembler/MCDisassembler.h"
20 namespace llvm {
22 class LanaiDisassembler : public MCDisassembler {
23 public:
24 LanaiDisassembler(const MCSubtargetInfo &STI, MCContext &Ctx);
26 ~LanaiDisassembler() override = default;
28 // getInstruction - See MCDisassembler.
29 MCDisassembler::DecodeStatus
30 getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes,
31 uint64_t Address, raw_ostream &VStream,
32 raw_ostream &CStream) const override;
35 } // end namespace llvm
37 #endif // LLVM_LIB_TARGET_LANAI_DISASSEMBLER_LANAIDISASSEMBLER_H