LLVM
20.0.0git
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
l
m
o
p
q
r
s
t
u
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
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
#define DEBUG_TYPE "lanai-disassembler"
19
20
namespace
llvm
{
21
22
class
LanaiDisassembler
:
public
MCDisassembler
{
23
public
:
24
LanaiDisassembler
(
const
MCSubtargetInfo
&
STI
,
MCContext
&Ctx);
25
26
~LanaiDisassembler
()
override
=
default
;
27
28
// getInstruction - See MCDisassembler.
29
MCDisassembler::DecodeStatus
30
getInstruction
(
MCInst
&Instr,
uint64_t
&
Size
,
ArrayRef<uint8_t>
Bytes,
31
uint64_t
Address
,
raw_ostream
&CStream)
const override
;
32
};
33
34
}
// end namespace llvm
35
36
#endif
// LLVM_LIB_TARGET_LANAI_DISASSEMBLER_LANAIDISASSEMBLER_H
Size
uint64_t Size
Definition:
ELFObjHandler.cpp:81
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
Definition:
LanaiDisassembler.h:22
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:132
llvm::LanaiDisassembler::~LanaiDisassembler
~LanaiDisassembler() override=default
llvm::MCContext
Context object for machine code objects.
Definition:
MCContext.h:83
llvm::MCDisassembler
Superclass for all disassemblers.
Definition:
MCDisassembler.h:84
llvm::MCDisassembler::STI
const MCSubtargetInfo & STI
Definition:
MCDisassembler.h:200
llvm::MCDisassembler::DecodeStatus
DecodeStatus
Ternary decode status.
Definition:
MCDisassembler.h:108
llvm::MCInst
Instances of this class represent a single low-level machine instruction.
Definition:
MCInst.h:185
llvm::MCSubtargetInfo
Generic base class for all target subtargets.
Definition:
MCSubtargetInfo.h:76
llvm::raw_ostream
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition:
raw_ostream.h:52
uint64_t
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
llvm::CaptureComponents::Address
@ Address
Generated on Sat Mar 29 2025 15:45:01 for LLVM by
1.9.6