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

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

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

Public Member Functions

 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 34 of file RISCVTargetStreamer.h.

Constructor & Destructor Documentation

◆ RISCVTargetStreamer()

RISCVTargetStreamer::RISCVTargetStreamer ( MCStreamer S)

Definition at line 31 of file RISCVTargetStreamer.cpp.

Member Function Documentation

◆ emitAttribute()

void RISCVTargetStreamer::emitAttribute ( unsigned  Attribute,
unsigned  Value 
)
virtual

Definition at line 47 of file RISCVTargetStreamer.cpp.

Referenced by emitTargetAttributes().

◆ emitDirectiveOptionArch()

void RISCVTargetStreamer::emitDirectiveOptionArch ( ArrayRef< RISCVOptionArchArg Args)
virtual

Reimplemented in llvm::RISCVTargetAsmStreamer.

Definition at line 44 of file RISCVTargetStreamer.cpp.

◆ emitDirectiveOptionNoPIC()

void RISCVTargetStreamer::emitDirectiveOptionNoPIC ( )
virtual

Reimplemented in llvm::RISCVTargetELFStreamer, and llvm::RISCVTargetAsmStreamer.

Definition at line 39 of file RISCVTargetStreamer.cpp.

◆ emitDirectiveOptionNoRelax()

void RISCVTargetStreamer::emitDirectiveOptionNoRelax ( )
virtual

Reimplemented in llvm::RISCVTargetELFStreamer, and llvm::RISCVTargetAsmStreamer.

Definition at line 43 of file RISCVTargetStreamer.cpp.

◆ emitDirectiveOptionNoRVC()

void RISCVTargetStreamer::emitDirectiveOptionNoRVC ( )
virtual

Reimplemented in llvm::RISCVTargetELFStreamer, and llvm::RISCVTargetAsmStreamer.

Definition at line 41 of file RISCVTargetStreamer.cpp.

◆ emitDirectiveOptionPIC()

void RISCVTargetStreamer::emitDirectiveOptionPIC ( )
virtual

Reimplemented in llvm::RISCVTargetELFStreamer, and llvm::RISCVTargetAsmStreamer.

Definition at line 38 of file RISCVTargetStreamer.cpp.

◆ emitDirectiveOptionPop()

void RISCVTargetStreamer::emitDirectiveOptionPop ( )
virtual

Reimplemented in llvm::RISCVTargetELFStreamer, and llvm::RISCVTargetAsmStreamer.

Definition at line 37 of file RISCVTargetStreamer.cpp.

◆ emitDirectiveOptionPush()

void RISCVTargetStreamer::emitDirectiveOptionPush ( )
virtual

Reimplemented in llvm::RISCVTargetELFStreamer, and llvm::RISCVTargetAsmStreamer.

Definition at line 36 of file RISCVTargetStreamer.cpp.

◆ emitDirectiveOptionRelax()

void RISCVTargetStreamer::emitDirectiveOptionRelax ( )
virtual

Reimplemented in llvm::RISCVTargetELFStreamer, and llvm::RISCVTargetAsmStreamer.

Definition at line 42 of file RISCVTargetStreamer.cpp.

◆ emitDirectiveOptionRVC()

void RISCVTargetStreamer::emitDirectiveOptionRVC ( )
virtual

Reimplemented in llvm::RISCVTargetELFStreamer, and llvm::RISCVTargetAsmStreamer.

Definition at line 40 of file RISCVTargetStreamer.cpp.

◆ emitDirectiveVariantCC()

void RISCVTargetStreamer::emitDirectiveVariantCC ( MCSymbol Symbol)
virtual

Reimplemented in llvm::RISCVTargetELFStreamer, and llvm::RISCVTargetAsmStreamer.

Definition at line 46 of file RISCVTargetStreamer.cpp.

◆ emitIntTextAttribute()

void RISCVTargetStreamer::emitIntTextAttribute ( unsigned  Attribute,
unsigned  IntValue,
StringRef  StringValue 
)
virtual

Definition at line 51 of file RISCVTargetStreamer.cpp.

◆ emitTargetAttributes()

void RISCVTargetStreamer::emitTargetAttributes ( const MCSubtargetInfo STI,
bool  EmitStackAlign 
)

◆ emitTextAttribute()

void RISCVTargetStreamer::emitTextAttribute ( unsigned  Attribute,
StringRef  String 
)
virtual

Definition at line 49 of file RISCVTargetStreamer.cpp.

Referenced by emitTargetAttributes().

◆ finish()

void RISCVTargetStreamer::finish ( )
overridevirtual

Reimplemented from llvm::MCTargetStreamer.

Definition at line 33 of file RISCVTargetStreamer.cpp.

References finishAttributeSection().

Referenced by llvm::RISCVTargetELFStreamer::finish().

◆ finishAttributeSection()

void RISCVTargetStreamer::finishAttributeSection ( )
virtual

Definition at line 48 of file RISCVTargetStreamer.cpp.

Referenced by finish().

◆ getTargetABI()

RISCVABI::ABI llvm::RISCVTargetStreamer::getTargetABI ( ) const
inline

Definition at line 62 of file RISCVTargetStreamer.h.

Referenced by llvm::RISCVTargetELFStreamer::finish().

◆ hasRVC()

bool llvm::RISCVTargetStreamer::hasRVC ( ) const
inline

Definition at line 64 of file RISCVTargetStreamer.h.

References HasRVC.

Referenced by llvm::RISCVTargetELFStreamer::finish().

◆ hasTSO()

bool llvm::RISCVTargetStreamer::hasTSO ( ) const
inline

Definition at line 65 of file RISCVTargetStreamer.h.

Referenced by llvm::RISCVTargetELFStreamer::finish().

◆ reset()

void RISCVTargetStreamer::reset ( )
virtual

Definition at line 34 of file RISCVTargetStreamer.cpp.

◆ setFlagsFromFeatures()

void RISCVTargetStreamer::setFlagsFromFeatures ( const MCSubtargetInfo STI)

◆ setTargetABI()

void RISCVTargetStreamer::setTargetABI ( RISCVABI::ABI  ABI)

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