LLVM  8.0.1
AArch64Disassembler.h
Go to the documentation of this file.
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 
13 #ifndef LLVM_LIB_TARGET_AARCH64_DISASSEMBLER_AARCH64DISASSEMBLER_H
14 #define LLVM_LIB_TARGET_AARCH64_DISASSEMBLER_AARCH64DISASSEMBLER_H
15 
17 
18 namespace llvm {
19 
21 public:
23  : MCDisassembler(STI, Ctx) {}
24 
25  ~AArch64Disassembler() override = default;
26 
28  getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes,
29  uint64_t Address, raw_ostream &VStream,
30  raw_ostream &CStream) const override;
31 };
32 
33 } // end namespace llvm
34 
35 #endif // LLVM_LIB_TARGET_AARCH64_DISASSEMBLER_AARCH64DISASSEMBLER_H
This class represents lattice values for constants.
Definition: AllocatorList.h:24
DecodeStatus
Ternary decode status.
Superclass for all disassemblers.
Context object for machine code objects.
Definition: MCContext.h:63
const MCSubtargetInfo & STI
Instances of this class represent a single low-level machine instruction.
Definition: MCInst.h:161
MCDisassembler::DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef< uint8_t > Bytes, uint64_t Address, raw_ostream &VStream, raw_ostream &CStream) const override
Returns the disassembly of a single instruction.
AArch64Disassembler(const MCSubtargetInfo &STI, MCContext &Ctx)
~AArch64Disassembler() override=default
Generic base class for all target subtargets.
uint32_t Size
Definition: Profile.cpp:47
This class implements an extremely fast bulk output stream that can only output to a stream...
Definition: raw_ostream.h:46