LLVM
20.0.0git
lib
Target
LoongArch
MCTargetDesc
LoongArchELFStreamer.h
Go to the documentation of this file.
1
//==-- LoongArchELFStreamer.h - LoongArch ELF 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_LIB_TARGET_LOONGARCH_MCTARGETDESC_LOONGARCHELFSTREAMER_H
10
#define LLVM_LIB_TARGET_LOONGARCH_MCTARGETDESC_LOONGARCHELFSTREAMER_H
11
12
#include "
LoongArchTargetStreamer.h
"
13
#include "
llvm/MC/MCELFStreamer.h
"
14
15
namespace
llvm
{
16
17
class
LoongArchTargetELFStreamer
:
public
LoongArchTargetStreamer
{
18
public
:
19
MCELFStreamer
&
getStreamer
();
20
LoongArchTargetELFStreamer
(
MCStreamer
&S,
const
MCSubtargetInfo
&STI);
21
22
void
emitDirectiveOptionPush
()
override
;
23
void
emitDirectiveOptionPop
()
override
;
24
void
emitDirectiveOptionRelax
()
override
;
25
void
emitDirectiveOptionNoRelax
()
override
;
26
27
void
finish
()
override
;
28
};
29
30
MCELFStreamer
*
createLoongArchELFStreamer
(
MCContext
&
C
,
31
std::unique_ptr<MCAsmBackend> MAB,
32
std::unique_ptr<MCObjectWriter> MOW,
33
std::unique_ptr<MCCodeEmitter> MCE);
34
}
// end namespace llvm
35
#endif
LoongArchTargetStreamer.h
MCELFStreamer.h
llvm::LoongArchTargetELFStreamer
Definition:
LoongArchELFStreamer.h:17
llvm::LoongArchTargetELFStreamer::getStreamer
MCELFStreamer & getStreamer()
Definition:
LoongArchELFStreamer.cpp:34
llvm::LoongArchTargetELFStreamer::finish
void finish() override
Definition:
LoongArchELFStreamer.cpp:43
llvm::LoongArchTargetELFStreamer::emitDirectiveOptionPop
void emitDirectiveOptionPop() override
Definition:
LoongArchELFStreamer.cpp:39
llvm::LoongArchTargetELFStreamer::emitDirectiveOptionPush
void emitDirectiveOptionPush() override
Definition:
LoongArchELFStreamer.cpp:38
llvm::LoongArchTargetELFStreamer::emitDirectiveOptionNoRelax
void emitDirectiveOptionNoRelax() override
Definition:
LoongArchELFStreamer.cpp:41
llvm::LoongArchTargetELFStreamer::emitDirectiveOptionRelax
void emitDirectiveOptionRelax() override
Definition:
LoongArchELFStreamer.cpp:40
llvm::LoongArchTargetStreamer
Definition:
LoongArchTargetStreamer.h:18
llvm::MCContext
Context object for machine code objects.
Definition:
MCContext.h:83
llvm::MCELFStreamer
Definition:
MCELFStreamer.h:32
llvm::MCStreamer
Streaming machine code generation interface.
Definition:
MCStreamer.h:213
llvm::MCSubtargetInfo
Generic base class for all target subtargets.
Definition:
MCSubtargetInfo.h:76
llvm::CallingConv::C
@ C
The default llvm calling convention, compatible with C.
Definition:
CallingConv.h:34
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
llvm::createLoongArchELFStreamer
MCELFStreamer * createLoongArchELFStreamer(MCContext &C, std::unique_ptr< MCAsmBackend > MAB, std::unique_ptr< MCObjectWriter > MOW, std::unique_ptr< MCCodeEmitter > MCE)
Definition:
LoongArchELFStreamer.cpp:88
Generated on Sun Dec 22 2024 01:31:26 for LLVM by
1.9.6