LLVM
22.0.0git
lib
Target
Lanai
Disassembler
LanaiDisassembler.h
Go to the documentation of this file.
1
//===- LanaiDisassembler.cpp - Disassembler for Lanai -----------*- 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
// This file is part of the Lanai Disassembler.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#ifndef LLVM_LIB_TARGET_LANAI_DISASSEMBLER_LANAIDISASSEMBLER_H
14
#define LLVM_LIB_TARGET_LANAI_DISASSEMBLER_LANAIDISASSEMBLER_H
15
16
#include "
llvm/MC/MCDisassembler/MCDisassembler.h
"
17
18
namespace
llvm
{
19
20
class
LanaiDisassembler
:
public
MCDisassembler
{
21
public
:
22
LanaiDisassembler
(
const
MCSubtargetInfo
&
STI
,
MCContext
&Ctx);
23
24
~LanaiDisassembler
()
override
=
default
;
25
26
// getInstruction - See MCDisassembler.
27
MCDisassembler::DecodeStatus
28
getInstruction
(
MCInst
&Instr,
uint64_t
&
Size
,
ArrayRef<uint8_t>
Bytes,
29
uint64_t
Address
,
raw_ostream
&CStream)
const override
;
30
};
31
32
}
// end namespace llvm
33
34
#endif
// LLVM_LIB_TARGET_LANAI_DISASSEMBLER_LANAIDISASSEMBLER_H
InlinePriorityMode::Size
@ Size
Definition
InlineOrder.cpp:25
MCDisassembler.h
llvm::ArrayRef
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
Definition
ArrayRef.h:41
llvm::LanaiDisassembler::LanaiDisassembler
LanaiDisassembler(const MCSubtargetInfo &STI, MCContext &Ctx)
Definition
LanaiDisassembler.cpp:48
llvm::LanaiDisassembler::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
LanaiDisassembler.cpp:205
llvm::LanaiDisassembler::~LanaiDisassembler
~LanaiDisassembler() override=default
llvm::MCContext
Context object for machine code objects.
Definition
MCContext.h:83
llvm::MCDisassembler::MCDisassembler
MCDisassembler(const MCSubtargetInfo &STI, MCContext &Ctx)
Definition
MCDisassembler.h:115
llvm::MCDisassembler::STI
const MCSubtargetInfo & STI
Definition
MCDisassembler.h:213
llvm::MCDisassembler::DecodeStatus
DecodeStatus
Ternary decode status.
Definition
MCDisassembler.h:109
llvm::MCInst
Instances of this class represent a single low-level machine instruction.
Definition
MCInst.h:188
llvm::MCSubtargetInfo
Generic base class for all target subtargets.
Definition
MCSubtargetInfo.h:77
llvm::raw_ostream
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition
raw_ostream.h:53
uint64_t
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition
AddressRanges.h:18
llvm::CaptureComponents::Address
@ Address
Definition
ModRef.h:308
Generated on
for LLVM by
1.14.0