2014-05-24 12:50:23 +00:00
|
|
|
//===- AArch64Disassembler.h - Disassembler for AArch64 ---------*- C++ -*-===//
|
2014-03-29 10:18:08 +00:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2014-08-13 16:26:38 +00:00
|
|
|
#ifndef LLVM_LIB_TARGET_AARCH64_DISASSEMBLER_AARCH64DISASSEMBLER_H
|
|
|
|
#define LLVM_LIB_TARGET_AARCH64_DISASSEMBLER_AARCH64DISASSEMBLER_H
|
2014-03-29 10:18:08 +00:00
|
|
|
|
|
|
|
#include "llvm/MC/MCDisassembler.h"
|
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
|
|
|
class MCInst;
|
|
|
|
class MemoryObject;
|
|
|
|
class raw_ostream;
|
|
|
|
|
2014-05-24 12:50:23 +00:00
|
|
|
class AArch64Disassembler : public MCDisassembler {
|
2014-03-29 10:18:08 +00:00
|
|
|
public:
|
2014-05-24 12:50:23 +00:00
|
|
|
AArch64Disassembler(const MCSubtargetInfo &STI, MCContext &Ctx)
|
2014-04-15 04:40:56 +00:00
|
|
|
: MCDisassembler(STI, Ctx) {}
|
2014-03-29 10:18:08 +00:00
|
|
|
|
2014-05-24 12:50:23 +00:00
|
|
|
~AArch64Disassembler() {}
|
2014-03-29 10:18:08 +00:00
|
|
|
|
2014-04-29 07:58:25 +00:00
|
|
|
MCDisassembler::DecodeStatus
|
2014-11-10 18:11:10 +00:00
|
|
|
getInstruction(MCInst &Instr, uint64_t &Size, const MemoryObject &Segion,
|
|
|
|
uint64_t Address, raw_ostream &VStream,
|
|
|
|
raw_ostream &CStream) const override;
|
2014-03-29 10:18:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace llvm
|
|
|
|
|
|
|
|
#endif
|