LLVM 20.0.0git
|
#include "Target/Xtensa/MCTargetDesc/XtensaTargetStreamer.h"
Public Member Functions | |
XtensaTargetELFStreamer (MCStreamer &S) | |
MCELFStreamer & | getStreamer () |
void | emitLiteral (MCSymbol *LblSym, const MCExpr *Value, bool SwitchLiteralSection, SMLoc L) override |
void | emitLiteralPosition () override |
void | startLiteralSection (MCSection *Section) override |
Public Member Functions inherited from llvm::XtensaTargetStreamer | |
XtensaTargetStreamer (MCStreamer &S) | |
virtual void | emitLiteral (MCSymbol *LblSym, const MCExpr *Value, bool SwitchLiteralSection, SMLoc L=SMLoc())=0 |
virtual void | emitLiteralPosition ()=0 |
virtual void | startLiteralSection (MCSection *BaseSection)=0 |
Public Member Functions inherited from llvm::MCTargetStreamer | |
MCTargetStreamer (MCStreamer &S) | |
virtual | ~MCTargetStreamer () |
MCStreamer & | getStreamer () |
virtual void | emitLabel (MCSymbol *Symbol) |
virtual void | emitAssignment (MCSymbol *Symbol, const MCExpr *Value) |
virtual void | prettyPrintAsm (MCInstPrinter &InstPrinter, uint64_t Address, const MCInst &Inst, const MCSubtargetInfo &STI, raw_ostream &OS) |
virtual void | emitDwarfFileDirective (StringRef Directive) |
virtual void | changeSection (const MCSection *CurSection, MCSection *Section, uint32_t SubSection, raw_ostream &OS) |
Update streamer for a new active section. | |
virtual void | emitValue (const MCExpr *Value) |
virtual void | emitRawBytes (StringRef Data) |
Emit the bytes in Data into the output. | |
virtual void | emitConstantPools () |
virtual void | finish () |
Additional Inherited Members | |
Protected Attributes inherited from llvm::MCTargetStreamer | |
MCStreamer & | Streamer |
Definition at line 47 of file XtensaTargetStreamer.h.
XtensaTargetELFStreamer::XtensaTargetELFStreamer | ( | MCStreamer & | S | ) |
Definition at line 80 of file XtensaTargetStreamer.cpp.
|
overridevirtual |
Implements llvm::XtensaTargetStreamer.
Definition at line 83 of file XtensaTargetStreamer.cpp.
References llvm::MCStreamer::emitLabel(), llvm::MCStreamer::emitValue(), llvm::MCStreamer::getContext(), llvm::MCStreamer::getCurrentSectionOnly(), llvm::MCContext::getELFSection(), getLiteralSectionName(), getStreamer(), llvm::MCStreamer::popSection(), llvm::MCStreamer::pushSection(), llvm::ELF::SHF_ALLOC, llvm::ELF::SHF_EXECINSTR, llvm::ELF::SHT_PROGBITS, and llvm::MCStreamer::switchSection().
|
inlineoverridevirtual |
Implements llvm::XtensaTargetStreamer.
Definition at line 53 of file XtensaTargetStreamer.h.
MCELFStreamer & XtensaTargetELFStreamer::getStreamer | ( | ) |
Definition at line 117 of file XtensaTargetStreamer.cpp.
References llvm::MCTargetStreamer::Streamer.
Referenced by emitLiteral(), and startLiteralSection().
|
overridevirtual |
Implements llvm::XtensaTargetStreamer.
Definition at line 106 of file XtensaTargetStreamer.cpp.
References llvm::MCStreamer::getContext(), llvm::MCContext::getELFSection(), getLiteralSectionName(), llvm::MCSection::getName(), getStreamer(), llvm::MCSection::setAlignment(), llvm::ELF::SHF_ALLOC, llvm::ELF::SHF_EXECINSTR, and llvm::ELF::SHT_PROGBITS.