LLVM
20.0.0git
lib
MC
MCGOFFStreamer.cpp
Go to the documentation of this file.
1
//===- lib/MC/MCGOFFStreamer.cpp - GOFF Object Output ---------------------===//
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 assembles .s files and emits GOFF .o object files.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#include "
llvm/MC/MCGOFFStreamer.h
"
14
#include "
llvm/MC/MCAsmBackend.h
"
15
#include "
llvm/MC/MCAssembler.h
"
16
#include "
llvm/MC/MCCodeEmitter.h
"
17
#include "
llvm/MC/MCContext.h
"
18
#include "
llvm/MC/TargetRegistry.h
"
19
20
using namespace
llvm
;
21
22
MCGOFFStreamer::~MCGOFFStreamer
() {}
23
24
MCStreamer
*
llvm::createGOFFStreamer
(
MCContext
&Context,
25
std::unique_ptr<MCAsmBackend> &&MAB,
26
std::unique_ptr<MCObjectWriter> &&OW,
27
std::unique_ptr<MCCodeEmitter> &&CE) {
28
MCGOFFStreamer
*S =
29
new
MCGOFFStreamer
(Context, std::move(MAB), std::move(OW), std::move(CE));
30
return
S;
31
}
MCAsmBackend.h
MCAssembler.h
MCCodeEmitter.h
MCContext.h
MCGOFFStreamer.h
TargetRegistry.h
llvm::MCContext
Context object for machine code objects.
Definition:
MCContext.h:83
llvm::MCGOFFStreamer
Definition:
MCGOFFStreamer.h:17
llvm::MCGOFFStreamer::~MCGOFFStreamer
~MCGOFFStreamer() override
Definition:
MCGOFFStreamer.cpp:22
llvm::MCStreamer
Streaming machine code generation interface.
Definition:
MCStreamer.h:213
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
llvm::createGOFFStreamer
MCStreamer * createGOFFStreamer(MCContext &Ctx, std::unique_ptr< MCAsmBackend > &&TAB, std::unique_ptr< MCObjectWriter > &&OW, std::unique_ptr< MCCodeEmitter > &&CE)
Definition:
MCGOFFStreamer.cpp:24
Generated on Tue Dec 10 2024 10:29:06 for LLVM by
1.9.6