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

#include "Target/RISCV/MCTargetDesc/RISCVTargetStreamer.h"

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

Public Member Functions

 RISCVTargetAsmStreamer (MCStreamer &S, formatted_raw_ostream &OS)
 
void emitDirectiveOptionPush () override
 
void emitDirectiveOptionPop () override
 
void emitDirectiveOptionPIC () override
 
void emitDirectiveOptionNoPIC () override
 
void emitDirectiveOptionRVC () override
 
void emitDirectiveOptionNoRVC () override
 
void emitDirectiveOptionRelax () override
 
void emitDirectiveOptionNoRelax () override
 
void emitDirectiveOptionArch (ArrayRef< RISCVOptionArchArg > Args) override
 
void emitDirectiveVariantCC (MCSymbol &Symbol) override
 
- Public Member Functions inherited from llvm::RISCVTargetStreamer
 RISCVTargetStreamer (MCStreamer &S)
 
void finish () override
 
virtual void reset ()
 
virtual void emitDirectiveOptionPush ()
 
virtual void emitDirectiveOptionPop ()
 
virtual void emitDirectiveOptionPIC ()
 
virtual void emitDirectiveOptionNoPIC ()
 
virtual void emitDirectiveOptionRVC ()
 
virtual void emitDirectiveOptionNoRVC ()
 
virtual void emitDirectiveOptionRelax ()
 
virtual void emitDirectiveOptionNoRelax ()
 
virtual void emitDirectiveOptionArch (ArrayRef< RISCVOptionArchArg > Args)
 
virtual void emitDirectiveVariantCC (MCSymbol &Symbol)
 
virtual void emitAttribute (unsigned Attribute, unsigned Value)
 
virtual void finishAttributeSection ()
 
virtual void emitTextAttribute (unsigned Attribute, StringRef String)
 
virtual void emitIntTextAttribute (unsigned Attribute, unsigned IntValue, StringRef StringValue)
 
void emitTargetAttributes (const MCSubtargetInfo &STI, bool EmitStackAlign)
 
void setTargetABI (RISCVABI::ABI ABI)
 
RISCVABI::ABI getTargetABI () const
 
void setFlagsFromFeatures (const MCSubtargetInfo &STI)
 
bool hasRVC () const
 
bool hasTSO () const
 
- 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 69 of file RISCVTargetStreamer.h.

Constructor & Destructor Documentation

◆ RISCVTargetAsmStreamer()

RISCVTargetAsmStreamer::RISCVTargetAsmStreamer ( MCStreamer S,
formatted_raw_ostream OS 
)

Definition at line 97 of file RISCVTargetStreamer.cpp.

Member Function Documentation

◆ emitDirectiveOptionArch()

void RISCVTargetAsmStreamer::emitDirectiveOptionArch ( ArrayRef< RISCVOptionArchArg Args)
overridevirtual

Reimplemented from llvm::RISCVTargetStreamer.

Definition at line 133 of file RISCVTargetStreamer.cpp.

References llvm::Full, llvm::Minus, and llvm::Plus.

◆ emitDirectiveOptionNoPIC()

void RISCVTargetAsmStreamer::emitDirectiveOptionNoPIC ( )
overridevirtual

Reimplemented from llvm::RISCVTargetStreamer.

Definition at line 113 of file RISCVTargetStreamer.cpp.

◆ emitDirectiveOptionNoRelax()

void RISCVTargetAsmStreamer::emitDirectiveOptionNoRelax ( )
overridevirtual

Reimplemented from llvm::RISCVTargetStreamer.

Definition at line 129 of file RISCVTargetStreamer.cpp.

◆ emitDirectiveOptionNoRVC()

void RISCVTargetAsmStreamer::emitDirectiveOptionNoRVC ( )
overridevirtual

Reimplemented from llvm::RISCVTargetStreamer.

Definition at line 121 of file RISCVTargetStreamer.cpp.

◆ emitDirectiveOptionPIC()

void RISCVTargetAsmStreamer::emitDirectiveOptionPIC ( )
overridevirtual

Reimplemented from llvm::RISCVTargetStreamer.

Definition at line 109 of file RISCVTargetStreamer.cpp.

◆ emitDirectiveOptionPop()

void RISCVTargetAsmStreamer::emitDirectiveOptionPop ( )
overridevirtual

Reimplemented from llvm::RISCVTargetStreamer.

Definition at line 105 of file RISCVTargetStreamer.cpp.

◆ emitDirectiveOptionPush()

void RISCVTargetAsmStreamer::emitDirectiveOptionPush ( )
overridevirtual

Reimplemented from llvm::RISCVTargetStreamer.

Definition at line 101 of file RISCVTargetStreamer.cpp.

◆ emitDirectiveOptionRelax()

void RISCVTargetAsmStreamer::emitDirectiveOptionRelax ( )
overridevirtual

Reimplemented from llvm::RISCVTargetStreamer.

Definition at line 125 of file RISCVTargetStreamer.cpp.

◆ emitDirectiveOptionRVC()

void RISCVTargetAsmStreamer::emitDirectiveOptionRVC ( )
overridevirtual

Reimplemented from llvm::RISCVTargetStreamer.

Definition at line 117 of file RISCVTargetStreamer.cpp.

◆ emitDirectiveVariantCC()

void RISCVTargetAsmStreamer::emitDirectiveVariantCC ( MCSymbol Symbol)
overridevirtual

Reimplemented from llvm::RISCVTargetStreamer.

Definition at line 153 of file RISCVTargetStreamer.cpp.


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