LLVM API Documentation

Public Member Functions | Protected Attributes
llvm::MipsTargetStreamer Class Reference

#include <MipsTargetStreamer.h>

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

List of all members.

Public Member Functions

 MipsTargetStreamer (MCStreamer &S)
virtual void emitDirectiveSetMicroMips ()
virtual void emitDirectiveSetNoMicroMips ()
virtual void emitDirectiveSetMips16 ()
virtual void emitDirectiveSetNoMips16 ()
virtual void emitDirectiveSetReorder ()
virtual void emitDirectiveSetNoReorder ()
virtual void emitDirectiveSetMacro ()
virtual void emitDirectiveSetNoMacro ()
virtual void emitDirectiveSetMsa ()
virtual void emitDirectiveSetNoMsa ()
virtual void emitDirectiveSetAt ()
virtual void emitDirectiveSetNoAt ()
virtual void emitDirectiveEnd (StringRef Name)
virtual void emitDirectiveEnt (const MCSymbol &Symbol)
virtual void emitDirectiveAbiCalls ()
virtual void emitDirectiveNaN2008 ()
virtual void emitDirectiveNaNLegacy ()
virtual void emitDirectiveOptionPic0 ()
virtual void emitDirectiveOptionPic2 ()
virtual void emitFrame (unsigned StackReg, unsigned StackSize, unsigned ReturnReg)
virtual void emitMask (unsigned CPUBitmask, int CPUTopSavedRegOff)
virtual void emitFMask (unsigned FPUBitmask, int FPUTopSavedRegOff)
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 emitDirectiveSetMips32R6 ()
virtual void emitDirectiveSetMips64 ()
virtual void emitDirectiveSetMips64R2 ()
virtual void emitDirectiveSetMips64R6 ()
virtual void emitDirectiveSetDsp ()
virtual void emitDirectiveSetNoDsp ()
virtual void emitDirectiveSetPop ()
virtual void emitDirectiveSetPush ()
virtual void emitDirectiveCpload (unsigned RegNo)
virtual void emitDirectiveCpsetup (unsigned RegNo, int RegOrOffset, const MCSymbol &Sym, bool IsReg)
virtual void emitDirectiveModuleFP (MipsABIFlagsSection::FpABIKind Value, bool Is32BitABI)
void emitDirectiveModuleFP ()
virtual void emitDirectiveModuleOddSPReg (bool Enabled, bool IsO32ABI)
virtual void emitDirectiveSetFp (MipsABIFlagsSection::FpABIKind Value)
virtual void emitMipsAbiFlags ()
void forbidModuleDirective ()
bool isModuleDirectiveAllowed ()
template<class PredicateLibrary >
void updateABIInfo (const PredicateLibrary &P)
MipsABIFlagsSectiongetABIFlagsSection ()

Protected Attributes

MipsABIFlagsSection ABIFlagsSection
bool GPRInfoSet
unsigned GPRBitMask
int GPROffset
bool FPRInfoSet
unsigned FPRBitMask
int FPROffset
bool FrameInfoSet
int FrameOffset
unsigned FrameReg
unsigned ReturnReg

Detailed Description

Definition at line 22 of file MipsTargetStreamer.h.


Constructor & Destructor Documentation

Definition at line 31 of file MipsTargetStreamer.cpp.

References FPRInfoSet, FrameInfoSet, and GPRInfoSet.


Member Function Documentation

Reimplemented in llvm::MipsTargetELFStreamer, and llvm::MipsTargetAsmStreamer.

Definition at line 78 of file MipsTargetStreamer.cpp.

void MipsTargetStreamer::emitDirectiveCpsetup ( unsigned  RegNo,
int  RegOrOffset,
const MCSymbol Sym,
bool  IsReg 
) [virtual]

Reimplemented in llvm::MipsTargetELFStreamer, and llvm::MipsTargetAsmStreamer.

Definition at line 79 of file MipsTargetStreamer.cpp.

void MipsTargetStreamer::emitDirectiveEnt ( const MCSymbol Symbol) [virtual]
virtual void llvm::MipsTargetStreamer::emitDirectiveModuleFP ( MipsABIFlagsSection::FpABIKind  Value,
bool  Is32BitABI 
) [inline, virtual]

Emit a '.module fp=value' directive using the given values. Updates the .MIPS.abiflags section

Reimplemented in llvm::MipsTargetAsmStreamer.

Definition at line 76 of file MipsTargetStreamer.h.

References ABIFlagsSection, and llvm::MipsABIFlagsSection::setFpABI().

Referenced by llvm::MipsAsmPrinter::EmitStartOfAsmFile().

Emit a '.module fp=value' directive using the current values of the .MIPS.abiflags section.

Definition at line 83 of file MipsTargetStreamer.h.

References ABIFlagsSection, llvm::MipsABIFlagsSection::getFpABI(), and llvm::MipsABIFlagsSection::Is32BitABI.

Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveModuleFP().

void MipsTargetStreamer::emitDirectiveModuleOddSPReg ( bool  Enabled,
bool  IsO32ABI 
) [virtual]

Reimplemented in llvm::MipsTargetELFStreamer, and llvm::MipsTargetAsmStreamer.

Definition at line 53 of file MipsTargetStreamer.cpp.

Reimplemented in llvm::MipsTargetAsmStreamer.

Definition at line 59 of file MipsTargetStreamer.cpp.

References forbidModuleDirective().

Reimplemented in llvm::MipsTargetAsmStreamer.

Definition at line 45 of file MipsTargetStreamer.cpp.

References forbidModuleDirective().

Referenced by llvm::MipsAsmPrinter::EmitFunctionBodyEnd().

Reimplemented in llvm::MipsTargetAsmStreamer.

Definition at line 76 of file MipsTargetStreamer.cpp.

References forbidModuleDirective().

Reimplemented in llvm::MipsTargetAsmStreamer.

Definition at line 89 of file MipsTargetStreamer.h.

Reimplemented in llvm::MipsTargetAsmStreamer.

Definition at line 41 of file MipsTargetStreamer.cpp.

References forbidModuleDirective().

Referenced by llvm::MipsAsmPrinter::EmitFunctionBodyEnd().

Reimplemented in llvm::MipsTargetAsmStreamer.

Definition at line 62 of file MipsTargetStreamer.cpp.

Reimplemented in llvm::MipsTargetAsmStreamer.

Definition at line 63 of file MipsTargetStreamer.cpp.

References forbidModuleDirective().

Reimplemented in llvm::MipsTargetAsmStreamer.

Definition at line 64 of file MipsTargetStreamer.cpp.

References forbidModuleDirective().

Reimplemented in llvm::MipsTargetAsmStreamer.

Definition at line 65 of file MipsTargetStreamer.cpp.

References forbidModuleDirective().

Reimplemented in llvm::MipsTargetAsmStreamer.

Definition at line 68 of file MipsTargetStreamer.cpp.

References forbidModuleDirective().

Reimplemented in llvm::MipsTargetAsmStreamer.

Definition at line 69 of file MipsTargetStreamer.cpp.

References forbidModuleDirective().

Reimplemented in llvm::MipsTargetAsmStreamer.

Definition at line 70 of file MipsTargetStreamer.cpp.

References forbidModuleDirective().

Reimplemented in llvm::MipsTargetAsmStreamer.

Definition at line 66 of file MipsTargetStreamer.cpp.

References forbidModuleDirective().

Reimplemented in llvm::MipsTargetAsmStreamer.

Definition at line 67 of file MipsTargetStreamer.cpp.

References forbidModuleDirective().

Reimplemented in llvm::MipsTargetAsmStreamer.

Definition at line 71 of file MipsTargetStreamer.cpp.

References forbidModuleDirective().

Reimplemented in llvm::MipsTargetAsmStreamer.

Definition at line 72 of file MipsTargetStreamer.cpp.

References forbidModuleDirective().

Reimplemented in llvm::MipsTargetAsmStreamer.

Definition at line 73 of file MipsTargetStreamer.cpp.

References forbidModuleDirective().

Reimplemented in llvm::MipsTargetAsmStreamer.

Definition at line 43 of file MipsTargetStreamer.cpp.

References forbidModuleDirective().

Reimplemented in llvm::MipsTargetAsmStreamer.

Definition at line 77 of file MipsTargetStreamer.cpp.

References forbidModuleDirective().

Reimplemented in llvm::MipsTargetAsmStreamer.

Definition at line 44 of file MipsTargetStreamer.cpp.

References forbidModuleDirective().

Reimplemented in llvm::MipsTargetAsmStreamer.

Definition at line 74 of file MipsTargetStreamer.cpp.

Reimplemented in llvm::MipsTargetAsmStreamer.

Definition at line 75 of file MipsTargetStreamer.cpp.

Reimplemented in llvm::MipsTargetAsmStreamer.

Definition at line 39 of file MipsTargetStreamer.cpp.

References forbidModuleDirective().

Referenced by llvm::MipsAsmPrinter::EmitFunctionBodyEnd().

void MipsTargetStreamer::emitFMask ( unsigned  FPUBitmask,
int  FPUTopSavedRegOff 
) [virtual]
void MipsTargetStreamer::emitFrame ( unsigned  StackReg,
unsigned  StackSize,
unsigned  ReturnReg 
) [virtual]
void MipsTargetStreamer::emitMask ( unsigned  CPUBitmask,
int  CPUTopSavedRegOff 
) [virtual]
virtual void llvm::MipsTargetStreamer::emitMipsAbiFlags ( ) [inline, virtual]

Reimplemented in llvm::MipsTargetELFStreamer, and llvm::MipsTargetAsmStreamer.

Definition at line 90 of file MipsTargetStreamer.h.

Definition at line 101 of file MipsTargetStreamer.h.

References ABIFlagsSection.

Definition at line 92 of file MipsTargetStreamer.h.

template<class PredicateLibrary >
void llvm::MipsTargetStreamer::updateABIInfo ( const PredicateLibrary &  P) [inline]

Member Data Documentation


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