2014-05-24 14:50:23 +02:00
|
|
|
//===- AArch64Disassembler.h - Disassembler for AArch64 ---------*- C++ -*-===//
|
2014-03-29 11:18:08 +01:00
|
|
|
//
|
2019-01-19 09:50:56 +01:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2014-03-29 11:18:08 +01:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2014-08-13 18:26:38 +02:00
|
|
|
#ifndef LLVM_LIB_TARGET_AARCH64_DISASSEMBLER_AARCH64DISASSEMBLER_H
|
|
|
|
#define LLVM_LIB_TARGET_AARCH64_DISASSEMBLER_AARCH64DISASSEMBLER_H
|
2014-03-29 11:18:08 +01:00
|
|
|
|
2016-01-26 17:44:37 +01:00
|
|
|
#include "llvm/MC/MCDisassembler/MCDisassembler.h"
|
2014-03-29 11:18:08 +01:00
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
2014-05-24 14:50:23 +02:00
|
|
|
class AArch64Disassembler : public MCDisassembler {
|
2014-03-29 11:18:08 +01:00
|
|
|
public:
|
2014-05-24 14:50:23 +02:00
|
|
|
AArch64Disassembler(const MCSubtargetInfo &STI, MCContext &Ctx)
|
2014-04-15 06:40:56 +02:00
|
|
|
: MCDisassembler(STI, Ctx) {}
|
2014-03-29 11:18:08 +01:00
|
|
|
|
2017-01-06 01:30:53 +01:00
|
|
|
~AArch64Disassembler() override = default;
|
2014-03-29 11:18:08 +01:00
|
|
|
|
2014-04-29 09:58:25 +02:00
|
|
|
MCDisassembler::DecodeStatus
|
2014-11-12 03:04:27 +01:00
|
|
|
getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes,
|
2014-11-10 19:11:10 +01:00
|
|
|
uint64_t Address, raw_ostream &VStream,
|
|
|
|
raw_ostream &CStream) const override;
|
2014-03-29 11:18:08 +01:00
|
|
|
};
|
|
|
|
|
2017-01-06 01:30:53 +01:00
|
|
|
} // end namespace llvm
|
2014-03-29 11:18:08 +01:00
|
|
|
|
2017-01-06 01:30:53 +01:00
|
|
|
#endif // LLVM_LIB_TARGET_AARCH64_DISASSEMBLER_AARCH64DISASSEMBLER_H
|