LLVM
10.0.0
lib
Target
AArch64
Disassembler
AArch64Disassembler.h
Go to the documentation of this file.
1
//===- AArch64Disassembler.h - Disassembler for AArch64 ---------*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
//
9
//
10
//===----------------------------------------------------------------------===//
11
12
#ifndef LLVM_LIB_TARGET_AARCH64_DISASSEMBLER_AARCH64DISASSEMBLER_H
13
#define LLVM_LIB_TARGET_AARCH64_DISASSEMBLER_AARCH64DISASSEMBLER_H
14
15
#include "
llvm/MC/MCDisassembler/MCDisassembler.h
"
16
17
namespace
llvm
{
18
19
class
AArch64Disassembler
:
public
MCDisassembler
{
20
public
:
21
AArch64Disassembler
(
const
MCSubtargetInfo
&
STI
,
MCContext
&Ctx)
22
:
MCDisassembler
(STI, Ctx) {}
23
24
~AArch64Disassembler
()
override
=
default
;
25
26
MCDisassembler::DecodeStatus
27
getInstruction
(
MCInst
&Instr, uint64_t &
Size
,
ArrayRef<uint8_t>
Bytes,
28
uint64_t
Address
,
raw_ostream
&CStream)
const override
;
29
};
30
31
}
// end namespace llvm
32
33
#endif // LLVM_LIB_TARGET_AARCH64_DISASSEMBLER_AARCH64DISASSEMBLER_H
llvm
This class represents lattice values for constants.
Definition:
AllocatorList.h:23
llvm::MCDisassembler::DecodeStatus
DecodeStatus
Ternary decode status.
Definition:
MCDisassembler.h:51
llvm::MCDisassembler
Superclass for all disassemblers.
Definition:
MCDisassembler.h:27
llvm::MCContext
Context object for machine code objects.
Definition:
MCContext.h:65
llvm::MCDisassembler::STI
const MCSubtargetInfo & STI
Definition:
MCDisassembler.h:101
llvm::ArrayRef< uint8_t >
llvm::MCInst
Instances of this class represent a single low-level machine instruction.
Definition:
MCInst.h:158
MCDisassembler.h
llvm::HighlightColor::Address
llvm::AArch64Disassembler::getInstruction
MCDisassembler::DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef< uint8_t > Bytes, uint64_t Address, raw_ostream &CStream) const override
Returns the disassembly of a single instruction.
Definition:
AArch64Disassembler.cpp:251
llvm::AArch64Disassembler::AArch64Disassembler
AArch64Disassembler(const MCSubtargetInfo &STI, MCContext &Ctx)
Definition:
AArch64Disassembler.h:21
llvm::AArch64Disassembler::~AArch64Disassembler
~AArch64Disassembler() override=default
llvm::MCSubtargetInfo
Generic base class for all target subtargets.
Definition:
MCSubtargetInfo.h:74
Size
uint32_t Size
Definition:
Profile.cpp:46
llvm::raw_ostream
This class implements an extremely fast bulk output stream that can only output to a stream...
Definition:
raw_ostream.h:46
llvm::AArch64Disassembler
Definition:
AArch64Disassembler.h:19
Generated on Tue Mar 24 2020 13:11:27 for LLVM by
1.8.13