LLVM: lib/Target/PowerPC/MCTargetDesc/PPCXCOFFStreamer.cpp Source File (original) (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
27
28using namespace llvm;
29
31 std::unique_ptr MAB,
32 std::unique_ptr OW,
33 std::unique_ptr Emitter)
36
37void PPCXCOFFStreamer::emitPrefixedInstruction(const MCInst &Inst,
39
40
41
42
43
44
46
47
48
49
50
52}
53
58
59
60 if (->isPrefixedInstruction(Inst)) {
62 return;
63 }
64 emitPrefixedInstruction(Inst, STI);
65}
66
69 std::unique_ptr &&MAB,
70 std::unique_ptr &&OW,
71 std::unique_ptr &&Emitter) {
74}
dxil DXContainer Global Emitter
MCCodeEmitter * getEmitterPtr() const
Context object for machine code objects.
Instances of this class represent a single low-level machine instruction.
MCAssembler & getAssembler()
void emitInstruction(const MCInst &Inst, const MCSubtargetInfo &STI) override
Emit the given Instruction into the current section.
void emitCodeAlignment(Align ByteAlignment, const MCSubtargetInfo *STI, unsigned MaxBytesToEmit=0) override
Emit nops until the byte alignment ByteAlignment is reached.
Streaming machine code generation interface.
Generic base class for all target subtargets.
MCXCOFFStreamer(MCContext &Context, std::unique_ptr< MCAsmBackend > MAB, std::unique_ptr< MCObjectWriter > OW, std::unique_ptr< MCCodeEmitter > Emitter)
PPCXCOFFStreamer(MCContext &Context, std::unique_ptr< MCAsmBackend > MAB, std::unique_ptr< MCObjectWriter > OW, std::unique_ptr< MCCodeEmitter > Emitter)
Definition PPCXCOFFStreamer.cpp:30
void emitInstruction(const MCInst &Inst, const MCSubtargetInfo &STI) override
Emit the given Instruction into the current section.
Definition PPCXCOFFStreamer.cpp:54
Triple - Helper class for working with autoconf configuration names.
@ C
The default llvm calling convention, compatible with C.
This is an optimization pass for GlobalISel generic memory operations.
MCStreamer * createPPCXCOFFStreamer(const Triple &, MCContext &, std::unique_ptr< MCAsmBackend > &&MAB, std::unique_ptr< MCObjectWriter > &&OW, std::unique_ptr< MCCodeEmitter > &&Emitter)
Definition PPCXCOFFStreamer.cpp:68
OutputIt move(R &&Range, OutputIt Out)
Provide wrappers to std::move which take ranges instead of having to pass begin/end explicitly.
Implement std::hash so that hash_code can be used in STL containers.
This struct is a compact representation of a valid (non-zero power of two) alignment.