LLVM API Documentation

llvm::MipsSubtarget Class Reference

#include <MipsSubtarget.h>

Inheritance diagram for llvm::MipsSubtarget:

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

Collaboration graph
[legend]

List of all members.

Public Types

enum  MipsABIEnum {
  O32, O64, N32, N64,
  EABI
}

Public Member Functions

bool isABI_EABI () const
 Only O32 and EABI supported right now.
bool isABI_O32 () const
unsigned getTargetABI () const
 MipsSubtarget (const TargetMachine &TM, const Module &M, const std::string &FS, bool little)
void ParseSubtargetFeatures (const std::string &FS, const std::string &CPU)
bool hasMips2Ops () const
bool isLittle () const
bool isFP64bit () const
bool isGP64bit () const
bool isGP32bit () const
bool isSingleFloat () const
bool isNotSingleFloat () const
bool hasVFPU () const
bool hasABICall () const
bool hasAbsoluteCall () const
bool isLinux () const
unsigned getSSectionThreshold () const
bool hasSEInReg () const
 Features related to the presence of specific instructions.
bool hasCondMov () const
bool hasMulDivAdd () const
bool hasMinMax () const
bool hasSwap () const
bool hasBitCount () const

Protected Types

enum  MipsArchEnum {
  Mips1, Mips2, Mips3, Mips4,
  Mips32, Mips32r2, Mips64, Mips64r2
}

Protected Attributes

MipsArchEnum MipsArchVersion
MipsABIEnum MipsABI
bool IsLittle
bool IsSingleFloat
bool IsFP64bit
bool IsGP64bit
bool HasVFPU
bool HasABICall
bool HasAbsoluteCall
bool IsLinux
unsigned SSectionThreshold
bool HasSEInReg
 Features related to the presence of specific instructions.
bool HasCondMov
bool HasMulDivAdd
bool HasMinMax
bool HasSwap
bool HasBitCount
InstrItineraryData InstrItins


Detailed Description

Definition at line 25 of file MipsSubtarget.h.


Member Enumeration Documentation

Enumerator:
O32 
O64 
N32 
N64 
EABI 

Definition at line 28 of file MipsSubtarget.h.

Enumerator:
Mips1 
Mips2 
Mips3 
Mips4 
Mips32 
Mips32r2 
Mips64 
Mips64r2 

Definition at line 34 of file MipsSubtarget.h.


Constructor & Destructor Documentation

MipsSubtarget::MipsSubtarget ( const TargetMachine TM,
const Module M,
const std::string &  FS,
bool  little 
)


Member Function Documentation

bool llvm::MipsSubtarget::isABI_EABI (  )  const [inline]

Only O32 and EABI supported right now.

Definition at line 101 of file MipsSubtarget.h.

References EABI, and MipsABI.

Referenced by MipsSubtarget().

bool llvm::MipsSubtarget::isABI_O32 (  )  const [inline]

Definition at line 102 of file MipsSubtarget.h.

References MipsABI, and O32.

Referenced by llvm::MipsRegisterInfo::emitPrologue().

unsigned llvm::MipsSubtarget::getTargetABI (  )  const [inline]

Definition at line 103 of file MipsSubtarget.h.

References MipsABI.

void llvm::MipsSubtarget::ParseSubtargetFeatures ( const std::string &  FS,
const std::string &  CPU 
)

ParseSubtargetFeatures - Parses features string setting specified subtarget options. Definition of function is auto generated by tblgen.

Referenced by MipsSubtarget().

bool llvm::MipsSubtarget::hasMips2Ops (  )  const [inline]

Definition at line 114 of file MipsSubtarget.h.

References Mips2, and MipsArchVersion.

bool llvm::MipsSubtarget::isLittle (  )  const [inline]

Definition at line 116 of file MipsSubtarget.h.

References IsLittle.

bool llvm::MipsSubtarget::isFP64bit (  )  const [inline]

Definition at line 117 of file MipsSubtarget.h.

References IsFP64bit.

Referenced by llvm::MipsTargetLowering::MipsTargetLowering().

bool llvm::MipsSubtarget::isGP64bit (  )  const [inline]

Definition at line 118 of file MipsSubtarget.h.

References IsGP64bit.

bool llvm::MipsSubtarget::isGP32bit (  )  const [inline]

Definition at line 119 of file MipsSubtarget.h.

References IsGP64bit.

Referenced by llvm::MipsRegisterInfo::adjustMipsStackFrame().

bool llvm::MipsSubtarget::isSingleFloat (  )  const [inline]

bool llvm::MipsSubtarget::isNotSingleFloat (  )  const [inline]

Definition at line 121 of file MipsSubtarget.h.

References IsSingleFloat.

bool llvm::MipsSubtarget::hasVFPU (  )  const [inline]

Definition at line 122 of file MipsSubtarget.h.

References HasVFPU.

bool llvm::MipsSubtarget::hasABICall (  )  const [inline]

bool llvm::MipsSubtarget::hasAbsoluteCall (  )  const [inline]

Definition at line 124 of file MipsSubtarget.h.

References HasAbsoluteCall.

bool llvm::MipsSubtarget::isLinux (  )  const [inline]

Definition at line 125 of file MipsSubtarget.h.

References IsLinux.

unsigned llvm::MipsSubtarget::getSSectionThreshold (  )  const [inline]

Definition at line 126 of file MipsSubtarget.h.

References SSectionThreshold.

Referenced by llvm::MipsTargetAsmInfo::SectionKindForGlobal().

bool llvm::MipsSubtarget::hasSEInReg (  )  const [inline]

Features related to the presence of specific instructions.

Definition at line 129 of file MipsSubtarget.h.

References HasSEInReg.

Referenced by llvm::MipsTargetLowering::MipsTargetLowering().

bool llvm::MipsSubtarget::hasCondMov (  )  const [inline]

Definition at line 130 of file MipsSubtarget.h.

References HasCondMov.

bool llvm::MipsSubtarget::hasMulDivAdd (  )  const [inline]

Definition at line 131 of file MipsSubtarget.h.

References HasMulDivAdd.

bool llvm::MipsSubtarget::hasMinMax (  )  const [inline]

Definition at line 132 of file MipsSubtarget.h.

References HasMinMax.

bool llvm::MipsSubtarget::hasSwap (  )  const [inline]

Definition at line 133 of file MipsSubtarget.h.

References HasSwap.

Referenced by llvm::MipsTargetLowering::MipsTargetLowering().

bool llvm::MipsSubtarget::hasBitCount (  )  const [inline]

Definition at line 134 of file MipsSubtarget.h.

References HasBitCount.

Referenced by llvm::MipsTargetLowering::MipsTargetLowering().


Member Data Documentation

Definition at line 39 of file MipsSubtarget.h.

Referenced by hasMips2Ops(), and MipsSubtarget().

Definition at line 42 of file MipsSubtarget.h.

Referenced by getTargetABI(), isABI_EABI(), isABI_O32(), and MipsSubtarget().

Definition at line 45 of file MipsSubtarget.h.

Referenced by isLittle().

Definition at line 50 of file MipsSubtarget.h.

Referenced by isNotSingleFloat(), isSingleFloat(), and MipsSubtarget().

Definition at line 53 of file MipsSubtarget.h.

Referenced by isFP64bit().

Definition at line 56 of file MipsSubtarget.h.

Referenced by isGP32bit(), and isGP64bit().

bool llvm::MipsSubtarget::HasVFPU [protected]

Definition at line 59 of file MipsSubtarget.h.

Referenced by hasVFPU(), and MipsSubtarget().

Definition at line 62 of file MipsSubtarget.h.

Referenced by hasABICall(), and MipsSubtarget().

Definition at line 66 of file MipsSubtarget.h.

Referenced by hasAbsoluteCall(), and MipsSubtarget().

bool llvm::MipsSubtarget::IsLinux [protected]

Definition at line 69 of file MipsSubtarget.h.

Referenced by isLinux(), and MipsSubtarget().

Definition at line 73 of file MipsSubtarget.h.

Referenced by getSSectionThreshold(), and MipsSubtarget().

Features related to the presence of specific instructions.

Definition at line 78 of file MipsSubtarget.h.

Referenced by hasSEInReg(), and MipsSubtarget().

Definition at line 81 of file MipsSubtarget.h.

Referenced by hasCondMov(), and MipsSubtarget().

Definition at line 85 of file MipsSubtarget.h.

Referenced by hasMulDivAdd().

Definition at line 88 of file MipsSubtarget.h.

Referenced by hasMinMax().

bool llvm::MipsSubtarget::HasSwap [protected]

Definition at line 91 of file MipsSubtarget.h.

Referenced by hasSwap(), and MipsSubtarget().

Definition at line 94 of file MipsSubtarget.h.

Referenced by hasBitCount(), and MipsSubtarget().

Definition at line 96 of file MipsSubtarget.h.


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



This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.