Tim Northover | 3b0846e | 2014-05-24 12:50:23 +0000 | [diff] [blame] | 1 | //===- AArch64Disassembler.h - Disassembler for AArch64 ---------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // |
| 11 | //===----------------------------------------------------------------------===// |
| 12 | |
Benjamin Kramer | a7c40ef | 2014-08-13 16:26:38 +0000 | [diff] [blame] | 13 | #ifndef LLVM_LIB_TARGET_AARCH64_DISASSEMBLER_AARCH64DISASSEMBLER_H |
| 14 | #define LLVM_LIB_TARGET_AARCH64_DISASSEMBLER_AARCH64DISASSEMBLER_H |
Tim Northover | 3b0846e | 2014-05-24 12:50:23 +0000 | [diff] [blame] | 15 | |
| 16 | #include "llvm/MC/MCDisassembler.h" |
| 17 | |
| 18 | namespace llvm { |
| 19 | |
| 20 | class MCInst; |
| 21 | class MemoryObject; |
| 22 | class raw_ostream; |
| 23 | |
| 24 | class AArch64Disassembler : public MCDisassembler { |
| 25 | public: |
| 26 | AArch64Disassembler(const MCSubtargetInfo &STI, MCContext &Ctx) |
| 27 | : MCDisassembler(STI, Ctx) {} |
| 28 | |
| 29 | ~AArch64Disassembler() {} |
| 30 | |
Tim Northover | 3b0846e | 2014-05-24 12:50:23 +0000 | [diff] [blame] | 31 | MCDisassembler::DecodeStatus |
Rafael Espindola | 4aa6bea | 2014-11-10 18:11:10 +0000 | [diff] [blame^] | 32 | getInstruction(MCInst &Instr, uint64_t &Size, const MemoryObject &Segion, |
| 33 | uint64_t Address, raw_ostream &VStream, |
| 34 | raw_ostream &CStream) const override; |
Tim Northover | 3b0846e | 2014-05-24 12:50:23 +0000 | [diff] [blame] | 35 | }; |
| 36 | |
| 37 | } // namespace llvm |
| 38 | |
| 39 | #endif |