LLVM  8.0.1
Public Member Functions | List of all members
llvm::MipsTargetELFStreamer Class Reference

#include "Target/Mips/MipsTargetStreamer.h"

Inheritance diagram for llvm::MipsTargetELFStreamer:
Inheritance graph
[legend]
Collaboration diagram for llvm::MipsTargetELFStreamer:
Collaboration graph
[legend]

Public Member Functions

bool isMicroMipsEnabled () const
 
MCELFStreamergetStreamer ()
 
 MipsTargetELFStreamer (MCStreamer &S, const MCSubtargetInfo &STI)
 
void setPic (bool Value) override
 
void emitLabel (MCSymbol *Symbol) override
 
void emitAssignment (MCSymbol *Symbol, const MCExpr *Value) override
 
void finish () override
 
void emitDirectiveSetMicroMips () override
 
void emitDirectiveSetNoMicroMips () override
 
void setUsesMicroMips () override
 
void emitDirectiveSetMips16 () override
 
void emitDirectiveSetNoReorder () override
 
void emitDirectiveEnd (StringRef Name) override
 
void emitDirectiveEnt (const MCSymbol &Symbol) override
 
void emitDirectiveAbiCalls () override
 
void emitDirectiveNaN2008 () override
 
void emitDirectiveNaNLegacy () override
 
void emitDirectiveOptionPic0 () override
 
void emitDirectiveOptionPic2 () override
 
void emitDirectiveInsn () override
 
void emitFrame (unsigned StackReg, unsigned StackSize, unsigned ReturnReg) override
 
void emitMask (unsigned CPUBitmask, int CPUTopSavedRegOff) override
 
void emitFMask (unsigned FPUBitmask, int FPUTopSavedRegOff) override
 
void emitDirectiveCpLoad (unsigned RegNo) override
 
bool emitDirectiveCpRestore (int Offset, function_ref< unsigned()> GetATReg, SMLoc IDLoc, const MCSubtargetInfo *STI) override
 
void emitDirectiveCpsetup (unsigned RegNo, int RegOrOffset, const MCSymbol &Sym, bool IsReg) override
 
void emitDirectiveCpreturn (unsigned SaveLocation, bool SaveLocationIsRegister) override
 
void emitMipsAbiFlags ()
 
- Public Member Functions inherited from llvm::MipsTargetStreamer
 MipsTargetStreamer (MCStreamer &S)
 
virtual void emitDirectiveSetNoMips16 ()
 
virtual void emitDirectiveSetReorder ()
 
virtual void emitDirectiveSetMacro ()
 
virtual void emitDirectiveSetNoMacro ()
 
virtual void emitDirectiveSetMsa ()
 
virtual void emitDirectiveSetNoMsa ()
 
virtual void emitDirectiveSetMt ()
 
virtual void emitDirectiveSetNoMt ()
 
virtual void emitDirectiveSetCRC ()
 
virtual void emitDirectiveSetNoCRC ()
 
virtual void emitDirectiveSetVirt ()
 
virtual void emitDirectiveSetNoVirt ()
 
virtual void emitDirectiveSetGINV ()
 
virtual void emitDirectiveSetNoGINV ()
 
virtual void emitDirectiveSetAt ()
 
virtual void emitDirectiveSetAtWithArg (unsigned RegNo)
 
virtual void emitDirectiveSetNoAt ()
 
virtual void emitDirectiveSetArch (StringRef Arch)
 
virtual void emitDirectiveSetMips0 ()
 
virtual void emitDirectiveSetMips1 ()
 
virtual void emitDirectiveSetMips2 ()
 
virtual void emitDirectiveSetMips3 ()
 
virtual void emitDirectiveSetMips4 ()
 
virtual void emitDirectiveSetMips5 ()
 
virtual void emitDirectiveSetMips32 ()
 
virtual void emitDirectiveSetMips32R2 ()
 
virtual void emitDirectiveSetMips32R3 ()
 
virtual void emitDirectiveSetMips32R5 ()
 
virtual void emitDirectiveSetMips32R6 ()
 
virtual void emitDirectiveSetMips64 ()
 
virtual void emitDirectiveSetMips64R2 ()
 
virtual void emitDirectiveSetMips64R3 ()
 
virtual void emitDirectiveSetMips64R5 ()
 
virtual void emitDirectiveSetMips64R6 ()
 
virtual void emitDirectiveSetDsp ()
 
virtual void emitDirectiveSetDspr2 ()
 
virtual void emitDirectiveSetNoDsp ()
 
virtual void emitDirectiveSetPop ()
 
virtual void emitDirectiveSetPush ()
 
virtual void emitDirectiveSetSoftFloat ()
 
virtual void emitDirectiveSetHardFloat ()
 
virtual void emitDirectiveModuleFP ()
 
virtual void emitDirectiveModuleOddSPReg ()
 
virtual void emitDirectiveModuleSoftFloat ()
 
virtual void emitDirectiveModuleHardFloat ()
 
virtual void emitDirectiveModuleMT ()
 
virtual void emitDirectiveSetFp (MipsABIFlagsSection::FpABIKind Value)
 
virtual void emitDirectiveSetOddSPReg ()
 
virtual void emitDirectiveSetNoOddSPReg ()
 
virtual void emitDirectiveModuleCRC ()
 
virtual void emitDirectiveModuleNoCRC ()
 
virtual void emitDirectiveModuleVirt ()
 
virtual void emitDirectiveModuleNoVirt ()
 
virtual void emitDirectiveModuleGINV ()
 
virtual void emitDirectiveModuleNoGINV ()
 
void emitR (unsigned Opcode, unsigned Reg0, SMLoc IDLoc, const MCSubtargetInfo *STI)
 
void emitII (unsigned Opcode, int16_t Imm1, int16_t Imm2, SMLoc IDLoc, const MCSubtargetInfo *STI)
 
void emitRX (unsigned Opcode, unsigned Reg0, MCOperand Op1, SMLoc IDLoc, const MCSubtargetInfo *STI)
 
void emitRI (unsigned Opcode, unsigned Reg0, int32_t Imm, SMLoc IDLoc, const MCSubtargetInfo *STI)
 
void emitRR (unsigned Opcode, unsigned Reg0, unsigned Reg1, SMLoc IDLoc, const MCSubtargetInfo *STI)
 
void emitRRX (unsigned Opcode, unsigned Reg0, unsigned Reg1, MCOperand Op2, SMLoc IDLoc, const MCSubtargetInfo *STI)
 
void emitRRR (unsigned Opcode, unsigned Reg0, unsigned Reg1, unsigned Reg2, SMLoc IDLoc, const MCSubtargetInfo *STI)
 
void emitRRI (unsigned Opcode, unsigned Reg0, unsigned Reg1, int16_t Imm, SMLoc IDLoc, const MCSubtargetInfo *STI)
 
void emitRRIII (unsigned Opcode, unsigned Reg0, unsigned Reg1, int16_t Imm0, int16_t Imm1, int16_t Imm2, SMLoc IDLoc, const MCSubtargetInfo *STI)
 
void emitAddu (unsigned DstReg, unsigned SrcReg, unsigned TrgReg, bool Is64Bit, const MCSubtargetInfo *STI)
 
void emitDSLL (unsigned DstReg, unsigned SrcReg, int16_t ShiftAmount, SMLoc IDLoc, const MCSubtargetInfo *STI)
 
void emitEmptyDelaySlot (bool hasShortDelaySlot, SMLoc IDLoc, const MCSubtargetInfo *STI)
 
void emitNop (SMLoc IDLoc, const MCSubtargetInfo *STI)
 
void emitStoreWithImmOffset (unsigned Opcode, unsigned SrcReg, unsigned BaseReg, int64_t Offset, function_ref< unsigned()> GetATReg, SMLoc IDLoc, const MCSubtargetInfo *STI)
 Emit a store instruction with an offset. More...
 
void emitStoreWithSymOffset (unsigned Opcode, unsigned SrcReg, unsigned BaseReg, MCOperand &HiOperand, MCOperand &LoOperand, unsigned ATReg, SMLoc IDLoc, const MCSubtargetInfo *STI)
 Emit a store instruction with an symbol offset. More...
 
void emitLoadWithImmOffset (unsigned Opcode, unsigned DstReg, unsigned BaseReg, int64_t Offset, unsigned TmpReg, SMLoc IDLoc, const MCSubtargetInfo *STI)
 Emit a load instruction with an immediate offset. More...
 
void emitLoadWithSymOffset (unsigned Opcode, unsigned DstReg, unsigned BaseReg, MCOperand &HiOperand, MCOperand &LoOperand, unsigned ATReg, SMLoc IDLoc, const MCSubtargetInfo *STI)
 Emit a load instruction with an symbol offset. More...
 
void emitGPRestore (int Offset, SMLoc IDLoc, const MCSubtargetInfo *STI)
 Emit the $gp restore operation for .cprestore. More...
 
void forbidModuleDirective ()
 
void reallowModuleDirective ()
 
bool isModuleDirectiveAllowed ()
 
template<class PredicateLibrary >
void updateABIInfo (const PredicateLibrary &P)
 
MipsABIFlagsSectiongetABIFlagsSection ()
 
const MipsABIInfogetABI () const
 
- Public Member Functions inherited from llvm::MCTargetStreamer
 MCTargetStreamer (MCStreamer &S)
 
virtual ~MCTargetStreamer ()
 
MCStreamergetStreamer ()
 
virtual void prettyPrintAsm (MCInstPrinter &InstPrinter, raw_ostream &OS, const MCInst &Inst, const MCSubtargetInfo &STI)
 
virtual void emitDwarfFileDirective (StringRef Directive)
 
virtual void changeSection (const MCSection *CurSection, MCSection *Section, const MCExpr *SubSection, raw_ostream &OS)
 Update streamer for a new active section. More...
 
virtual void emitValue (const MCExpr *Value)
 
virtual void emitRawBytes (StringRef Data)
 Emit the bytes in Data into the output. More...
 

Additional Inherited Members

- Protected Attributes inherited from llvm::MipsTargetStreamer
llvm::Optional< MipsABIInfoABI
 
MipsABIFlagsSection ABIFlagsSection
 
bool GPRInfoSet
 
unsigned GPRBitMask
 
int GPROffset
 
bool FPRInfoSet
 
unsigned FPRBitMask
 
int FPROffset
 
bool FrameInfoSet
 
int FrameOffset
 
unsigned FrameReg
 
unsigned ReturnReg
 
- Protected Attributes inherited from llvm::MCTargetStreamer
MCStreamerStreamer
 

Detailed Description

Definition at line 311 of file MipsTargetStreamer.h.

Constructor & Destructor Documentation

◆ MipsTargetELFStreamer()

MipsTargetELFStreamer::MipsTargetELFStreamer ( MCStreamer S,
const MCSubtargetInfo STI 
)

Member Function Documentation

◆ emitAssignment()

void MipsTargetELFStreamer::emitAssignment ( MCSymbol Symbol,
const MCExpr Value 
)
overridevirtual

◆ emitDirectiveAbiCalls()

void MipsTargetELFStreamer::emitDirectiveAbiCalls ( )
overridevirtual

◆ emitDirectiveCpLoad()

void MipsTargetELFStreamer::emitDirectiveCpLoad ( unsigned  RegNo)
overridevirtual

◆ emitDirectiveCpRestore()

bool MipsTargetELFStreamer::emitDirectiveCpRestore ( int  Offset,
function_ref< unsigned()>  GetATReg,
SMLoc  IDLoc,
const MCSubtargetInfo STI 
)
overridevirtual

◆ emitDirectiveCpreturn()

void MipsTargetELFStreamer::emitDirectiveCpreturn ( unsigned  SaveLocation,
bool  SaveLocationIsRegister 
)
overridevirtual

◆ emitDirectiveCpsetup()

void MipsTargetELFStreamer::emitDirectiveCpsetup ( unsigned  RegNo,
int  RegOrOffset,
const MCSymbol Sym,
bool  IsReg 
)
overridevirtual

◆ emitDirectiveEnd()

void MipsTargetELFStreamer::emitDirectiveEnd ( StringRef  Name)
overridevirtual

◆ emitDirectiveEnt()

void MipsTargetELFStreamer::emitDirectiveEnt ( const MCSymbol Symbol)
overridevirtual

◆ emitDirectiveInsn()

void MipsTargetELFStreamer::emitDirectiveInsn ( )
overridevirtual

◆ emitDirectiveNaN2008()

void MipsTargetELFStreamer::emitDirectiveNaN2008 ( )
overridevirtual

◆ emitDirectiveNaNLegacy()

void MipsTargetELFStreamer::emitDirectiveNaNLegacy ( )
overridevirtual

◆ emitDirectiveOptionPic0()

void MipsTargetELFStreamer::emitDirectiveOptionPic0 ( )
overridevirtual

◆ emitDirectiveOptionPic2()

void MipsTargetELFStreamer::emitDirectiveOptionPic2 ( )
overridevirtual

◆ emitDirectiveSetMicroMips()

void MipsTargetELFStreamer::emitDirectiveSetMicroMips ( )
overridevirtual

◆ emitDirectiveSetMips16()

void MipsTargetELFStreamer::emitDirectiveSetMips16 ( )
overridevirtual

◆ emitDirectiveSetNoMicroMips()

void MipsTargetELFStreamer::emitDirectiveSetNoMicroMips ( )
overridevirtual

◆ emitDirectiveSetNoReorder()

void MipsTargetELFStreamer::emitDirectiveSetNoReorder ( )
overridevirtual

◆ emitFMask()

void MipsTargetELFStreamer::emitFMask ( unsigned  FPUBitmask,
int  FPUTopSavedRegOff 
)
overridevirtual

◆ emitFrame()

void MipsTargetELFStreamer::emitFrame ( unsigned  StackReg,
unsigned  StackSize,
unsigned  ReturnReg 
)
overridevirtual

◆ emitLabel()

void MipsTargetELFStreamer::emitLabel ( MCSymbol Symbol)
overridevirtual

◆ emitMask()

void MipsTargetELFStreamer::emitMask ( unsigned  CPUBitmask,
int  CPUTopSavedRegOff 
)
overridevirtual

◆ emitMipsAbiFlags()

void MipsTargetELFStreamer::emitMipsAbiFlags ( )

◆ finish()

void MipsTargetELFStreamer::finish ( )
overridevirtual

◆ getStreamer()

MCELFStreamer & MipsTargetELFStreamer::getStreamer ( )

◆ isMicroMipsEnabled()

bool llvm::MipsTargetELFStreamer::isMicroMipsEnabled ( ) const
inline

◆ setPic()

void llvm::MipsTargetELFStreamer::setPic ( bool  Value)
inlineoverridevirtual

◆ setUsesMicroMips()

void MipsTargetELFStreamer::setUsesMicroMips ( )
overridevirtual

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