LLVM
15.0.0git
lib
Target
AVR
MCTargetDesc
AVRELFStreamer.h
Go to the documentation of this file.
1
//===----- AVRELFStreamer.h - AVR Target Streamer --------------*- 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
#ifndef LLVM_AVR_ELF_STREAMER_H
10
#define LLVM_AVR_ELF_STREAMER_H
11
12
#include "
AVRTargetStreamer.h
"
13
14
namespace
llvm
{
15
16
/// A target streamer for an AVR ELF object file.
17
class
AVRELFStreamer
:
public
AVRTargetStreamer
{
18
public
:
19
AVRELFStreamer
(
MCStreamer
&
S
,
const
MCSubtargetInfo
&STI);
20
21
MCELFStreamer
&
getStreamer
() {
22
return
static_cast<
MCELFStreamer
&
>
(
Streamer
);
23
}
24
};
25
26
}
// end namespace llvm
27
28
#endif
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:17
llvm::AVRELFStreamer::getStreamer
MCELFStreamer & getStreamer()
Definition:
AVRELFStreamer.h:21
llvm::MCStreamer
Streaming machine code generation interface.
Definition:
MCStreamer.h:212
llvm::MCELFStreamer
Definition:
MCELFStreamer.h:31
llvm::AVRELFStreamer
A target streamer for an AVR ELF object file.
Definition:
AVRELFStreamer.h:17
llvm::AVRELFStreamer::AVRELFStreamer
AVRELFStreamer(MCStreamer &S, const MCSubtargetInfo &STI)
Definition:
AVRELFStreamer.cpp:57
llvm::MCTargetStreamer::Streamer
MCStreamer & Streamer
Definition:
MCStreamer.h:95
S
add sub stmia L5 ldr r0 bl L_printf $stub Instead of a and a wouldn t it be better to do three moves *Return an aggregate type is even return S
Definition:
README.txt:210
AVRTargetStreamer.h
llvm::AVRTargetStreamer
A generic AVR target output stream.
Definition:
AVRTargetStreamer.h:18
llvm::MCSubtargetInfo
Generic base class for all target subtargets.
Definition:
MCSubtargetInfo.h:76
Generated on Thu Jun 23 2022 18:36:22 for LLVM by
1.8.17