1 //===- MBlazeDisassembler.h - Disassembler for MicroBlaze ------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file is part of the MBlaze Disassembler. It it the header for
11 // MBlazeDisassembler, a subclass of MCDisassembler.
13 //===----------------------------------------------------------------------===//
15 #ifndef MBLAZEDISASSEMBLER_H
16 #define MBLAZEDISASSEMBLER_H
18 #include "llvm/MC/MCDisassembler.h"
20 struct InternalInstruction
;
30 /// MBlazeDisassembler - Disassembler for all MBlaze platforms.
31 class MBlazeDisassembler
: public MCDisassembler
{
33 /// Constructor - Initializes the disassembler.
35 MBlazeDisassembler() :
39 ~MBlazeDisassembler() {
42 /// getInstruction - See MCDisassembler.
43 bool getInstruction(MCInst
&instr
,
45 const MemoryObject
®ion
,
47 raw_ostream
&vStream
) const;
49 /// getEDInfo - See MCDisassembler.
50 EDInstInfo
*getEDInfo() const;