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-05-24 12:50:23 +00:00
|
|
|
#ifndef AArch64DISASSEMBLER_H
|
|
|
|
#define 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
|
|
|
|
|
|
|
/// getInstruction - See MCDisassembler.
|
2014-04-29 07:58:25 +00:00
|
|
|
MCDisassembler::DecodeStatus
|
|
|
|
getInstruction(MCInst &instr, uint64_t &size, const MemoryObject ®ion,
|
|
|
|
uint64_t address, raw_ostream &vStream,
|
|
|
|
raw_ostream &cStream) const override;
|
2014-03-29 10:18:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace llvm
|
|
|
|
|
|
|
|
#endif
|