LLVM 20.0.0git
Public Member Functions | List of all members
llvm::SparcTargetAsmStreamer Class Reference

#include "Target/Sparc/MCTargetDesc/SparcTargetStreamer.h"

Inheritance diagram for llvm::SparcTargetAsmStreamer:
Inheritance graph
[legend]

Public Member Functions

 SparcTargetAsmStreamer (MCStreamer &S, formatted_raw_ostream &OS)
 
void emitSparcRegisterIgnore (unsigned reg) override
 Emit ".register <reg>, #ignore".
 
void emitSparcRegisterScratch (unsigned reg) override
 Emit ".register <reg>, #scratch".
 
- Public Member Functions inherited from llvm::SparcTargetStreamer
 SparcTargetStreamer (MCStreamer &S)
 
virtual void emitSparcRegisterIgnore (unsigned reg)
 Emit ".register <reg>, #ignore".
 
virtual void emitSparcRegisterScratch (unsigned reg)
 Emit ".register <reg>, #scratch".
 
- Public Member Functions inherited from llvm::MCTargetStreamer
 MCTargetStreamer (MCStreamer &S)
 
virtual ~MCTargetStreamer ()
 
MCStreamergetStreamer ()
 
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
MCStreamerStreamer
 

Detailed Description

Definition at line 31 of file SparcTargetStreamer.h.

Constructor & Destructor Documentation

◆ SparcTargetAsmStreamer()

SparcTargetAsmStreamer::SparcTargetAsmStreamer ( MCStreamer S,
formatted_raw_ostream OS 
)

Definition at line 38 of file SparcTargetStreamer.cpp.

Member Function Documentation

◆ emitSparcRegisterIgnore()

void SparcTargetAsmStreamer::emitSparcRegisterIgnore ( unsigned  reg)
overridevirtual

Emit ".register <reg>, #ignore".

Reimplemented from llvm::SparcTargetStreamer.

Definition at line 42 of file SparcTargetStreamer.cpp.

References llvm::SparcInstPrinter::getRegisterName(), and llvm::StringRef::lower().

◆ emitSparcRegisterScratch()

void SparcTargetAsmStreamer::emitSparcRegisterScratch ( unsigned  reg)
overridevirtual

Emit ".register <reg>, #scratch".

Reimplemented from llvm::SparcTargetStreamer.

Definition at line 48 of file SparcTargetStreamer.cpp.

References llvm::SparcInstPrinter::getRegisterName(), and llvm::StringRef::lower().


The documentation for this class was generated from the following files: