Go to the documentation of this file.
24 X86WinCOFFStreamer(
MCContext &
C, std::unique_ptr<MCAsmBackend> AB,
25 std::unique_ptr<MCCodeEmitter> CE,
26 std::unique_ptr<MCObjectWriter> OW)
29 void emitWinEHHandlerData(
SMLoc Loc)
override;
31 void emitWindowsUnwindTables()
override;
32 void emitCVFPOData(
const MCSymbol *ProcSym,
SMLoc Loc)
override;
33 void finishImpl()
override;
36 void X86WinCOFFStreamer::emitWinEHHandlerData(
SMLoc Loc) {
42 EHStreamer.EmitUnwindInfo(*
this, CurFrame,
true);
46 EHStreamer.EmitUnwindInfo(*
this, Frame,
false);
49 void X86WinCOFFStreamer::emitWindowsUnwindTables() {
50 if (!getNumWinFrameInfos())
55 void X86WinCOFFStreamer::emitCVFPOData(
const MCSymbol *ProcSym,
SMLoc Loc) {
61 void X86WinCOFFStreamer::finishImpl() {
63 emitWindowsUnwindTables();
70 std::unique_ptr<MCAsmBackend> &&AB,
71 std::unique_ptr<MCObjectWriter> &&OW,
72 std::unique_ptr<MCCodeEmitter> &&CE,
74 bool IncrementalLinkerCompatible) {
75 X86WinCOFFStreamer *
S =
77 S->getAssembler().setRelaxAll(RelaxAll);
78 S->getAssembler().setIncrementalLinkerCompatible(IncrementalLinkerCompatible);
This is an optimization pass for GlobalISel generic memory operations.
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
MCStreamer * createX86WinCOFFStreamer(MCContext &C, std::unique_ptr< MCAsmBackend > &&AB, std::unique_ptr< MCObjectWriter > &&OW, std::unique_ptr< MCCodeEmitter > &&CE, bool RelaxAll, bool IncrementalLinkerCompatible)
Construct an X86 Windows COFF machine code streamer which will generate PE/COFF format object files.
Context object for machine code objects.
Emits exception handling directives.
Streaming machine code generation interface.
Represents a location in source code.
(vector float) vec_cmpeq(*A, *B) C
virtual bool emitFPOData(const MCSymbol *ProcSym, SMLoc L={})=0
virtual void emitWinEHHandlerData(SMLoc Loc=SMLoc())
compiles ldr LCPI1_0 ldr ldr mov lsr tst moveq r1 ldr LCPI1_1 and r0 bx lr It would be better to do something like to fold the shift into the conditional move
OutputIt move(R &&Range, OutputIt Out)
Provide wrappers to std::move which take ranges instead of having to pass begin/end explicitly.
@ CE
Windows NT (Windows on ARM)
void finishImpl() override
Streamer specific finalization.
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
X86 target streamer implementing x86-only assembly directives.