LLVM
20.0.0git
lib
Target
PowerPC
MCTargetDesc
PPCXCOFFStreamer.h
Go to the documentation of this file.
1
//===- PPCXCOFFStreamer.h - XCOFF Object Output -----------------*- 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 is a custom MCXCOFFStreamer for PowerPC.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#ifndef LLVM_LIB_TARGET_PPC_MCXCOFFSTREAMER_PPCXCOFFSTREAMER_H
14
#define LLVM_LIB_TARGET_PPC_MCXCOFFSTREAMER_PPCXCOFFSTREAMER_H
15
16
#include "
llvm/MC/MCXCOFFStreamer.h
"
17
18
namespace
llvm
{
19
20
class
PPCXCOFFStreamer
:
public
MCXCOFFStreamer
{
21
public
:
22
PPCXCOFFStreamer
(
MCContext
&Context, std::unique_ptr<MCAsmBackend> MAB,
23
std::unique_ptr<MCObjectWriter> OW,
24
std::unique_ptr<MCCodeEmitter>
Emitter
);
25
26
void
emitInstruction
(
const
MCInst
&Inst,
const
MCSubtargetInfo
&STI)
override
;
27
28
private
:
29
void
emitPrefixedInstruction(
const
MCInst
&Inst,
const
MCSubtargetInfo
&STI);
30
};
31
32
MCXCOFFStreamer
*
createPPCXCOFFStreamer
(
MCContext
&Context,
33
std::unique_ptr<MCAsmBackend> MAB,
34
std::unique_ptr<MCObjectWriter> OW,
35
std::unique_ptr<MCCodeEmitter>
Emitter
);
36
}
// end namespace llvm
37
38
#endif
// LLVM_LIB_TARGET_PPC_MCXCOFFSTREAMER_PPCXCOFFSTREAMER_H
Emitter
dxil DXContainer Global Emitter
Definition:
DXContainerGlobals.cpp:174
MCXCOFFStreamer.h
llvm::MCContext
Context object for machine code objects.
Definition:
MCContext.h:83
llvm::MCInst
Instances of this class represent a single low-level machine instruction.
Definition:
MCInst.h:184
llvm::MCSubtargetInfo
Generic base class for all target subtargets.
Definition:
MCSubtargetInfo.h:76
llvm::MCXCOFFStreamer
Definition:
MCXCOFFStreamer.h:16
llvm::PPCXCOFFStreamer
Definition:
PPCXCOFFStreamer.h:20
llvm::PPCXCOFFStreamer::emitInstruction
void emitInstruction(const MCInst &Inst, const MCSubtargetInfo &STI) override
Emit the given Instruction into the current section.
Definition:
PPCXCOFFStreamer.cpp:58
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
llvm::createPPCXCOFFStreamer
MCXCOFFStreamer * createPPCXCOFFStreamer(MCContext &Context, std::unique_ptr< MCAsmBackend > MAB, std::unique_ptr< MCObjectWriter > OW, std::unique_ptr< MCCodeEmitter > Emitter)
Definition:
PPCXCOFFStreamer.cpp:72
Generated on Tue Nov 12 2024 16:42:26 for LLVM by
1.9.6