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

#include "Target/Mips/MipsTargetStreamer.h"

Inheritance diagram for llvm::MipsTargetELFStreamer:
Inheritance graph
Collaboration diagram for llvm::MipsTargetELFStreamer:
Collaboration graph

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 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 ()
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 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)

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

Detailed Description

Definition at line 284 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 

◆ emitDirectiveAbiCalls()

void MipsTargetELFStreamer::emitDirectiveAbiCalls ( )

◆ emitDirectiveCpLoad()

void MipsTargetELFStreamer::emitDirectiveCpLoad ( unsigned  RegNo)

◆ emitDirectiveCpRestore()

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

◆ emitDirectiveCpreturn()

void MipsTargetELFStreamer::emitDirectiveCpreturn ( unsigned  SaveLocation,
bool  SaveLocationIsRegister 

◆ emitDirectiveCpsetup()

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

◆ emitDirectiveEnd()

void MipsTargetELFStreamer::emitDirectiveEnd ( StringRef  Name)

◆ emitDirectiveEnt()

void MipsTargetELFStreamer::emitDirectiveEnt ( const MCSymbol Symbol)

◆ emitDirectiveInsn()

void MipsTargetELFStreamer::emitDirectiveInsn ( )

◆ emitDirectiveNaN2008()

void MipsTargetELFStreamer::emitDirectiveNaN2008 ( )

◆ emitDirectiveNaNLegacy()

void MipsTargetELFStreamer::emitDirectiveNaNLegacy ( )

◆ emitDirectiveOptionPic0()

void MipsTargetELFStreamer::emitDirectiveOptionPic0 ( )

◆ emitDirectiveOptionPic2()

void MipsTargetELFStreamer::emitDirectiveOptionPic2 ( )

◆ emitDirectiveSetMicroMips()

void MipsTargetELFStreamer::emitDirectiveSetMicroMips ( )

◆ emitDirectiveSetMips16()

void MipsTargetELFStreamer::emitDirectiveSetMips16 ( )

◆ emitDirectiveSetNoMicroMips()

void MipsTargetELFStreamer::emitDirectiveSetNoMicroMips ( )

◆ emitDirectiveSetNoReorder()

void MipsTargetELFStreamer::emitDirectiveSetNoReorder ( )

◆ emitFMask()

void MipsTargetELFStreamer::emitFMask ( unsigned  FPUBitmask,
int  FPUTopSavedRegOff 

◆ emitFrame()

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

◆ emitLabel()

void MipsTargetELFStreamer::emitLabel ( MCSymbol Symbol)

◆ emitMask()

void MipsTargetELFStreamer::emitMask ( unsigned  CPUBitmask,
int  CPUTopSavedRegOff 

◆ emitMipsAbiFlags()

void MipsTargetELFStreamer::emitMipsAbiFlags ( )

◆ finish()

void MipsTargetELFStreamer::finish ( )

◆ getStreamer()

MCELFStreamer & MipsTargetELFStreamer::getStreamer ( )

◆ isMicroMipsEnabled()

bool llvm::MipsTargetELFStreamer::isMicroMipsEnabled ( ) const

◆ setPic()

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

◆ setUsesMicroMips()

void MipsTargetELFStreamer::setUsesMicroMips ( )

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