LLVM API Documentation
#include <MipsSubtarget.h>
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 std::string &TT, const std::string &FS, bool little) | |
| std::string | ParseSubtargetFeatures (const std::string &FS, const std::string &CPU) |
| bool | isMips1 () const |
| bool | isLittle () const |
| bool | isFP64bit () const |
| bool | isGP64bit () const |
| bool | isGP32bit () const |
| bool | isSingleFloat () const |
| bool | isNotSingleFloat () const |
| bool | hasVFPU () const |
| bool | isLinux () 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 | IsLinux |
| bool | HasSEInReg |
| Features related to the presence of specific instructions. | |
| bool | HasCondMov |
| bool | HasMulDivAdd |
| bool | HasMinMax |
| bool | HasSwap |
| bool | HasBitCount |
| InstrItineraryData | InstrItins |
Definition at line 24 of file MipsSubtarget.h.
enum llvm::MipsSubtarget::MipsArchEnum [protected] |
Definition at line 33 of file MipsSubtarget.h.
| MipsSubtarget::MipsSubtarget | ( | const std::string & | TT, | |
| const std::string & | FS, | |||
| bool | little | |||
| ) |
This constructor initializes the data members to match that of the specified triple.
Definition at line 19 of file MipsSubtarget.cpp.
References EABI, HasBitCount, HasCondMov, HasSEInReg, HasSwap, HasVFPU, IsLinux, IsSingleFloat, Mips1, Mips2, MipsABI, MipsArchVersion, and ParseSubtargetFeatures().
| bool llvm::MipsSubtarget::isABI_EABI | ( | ) | const [inline] |
| bool llvm::MipsSubtarget::isABI_O32 | ( | ) | const [inline] |
Definition at line 90 of file MipsSubtarget.h.
Referenced by llvm::MipsRegisterInfo::emitPrologue(), and llvm::MipsTargetMachine::MipsTargetMachine().
| unsigned llvm::MipsSubtarget::getTargetABI | ( | ) | const [inline] |
| std::string 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::isMips1 | ( | ) | const [inline] |
| bool llvm::MipsSubtarget::isLittle | ( | ) | const [inline] |
| bool llvm::MipsSubtarget::isFP64bit | ( | ) | const [inline] |
Definition at line 105 of file MipsSubtarget.h.
References IsFP64bit.
Referenced by llvm::MipsTargetLowering::MipsTargetLowering().
| bool llvm::MipsSubtarget::isGP64bit | ( | ) | const [inline] |
| bool llvm::MipsSubtarget::isGP32bit | ( | ) | const [inline] |
Definition at line 107 of file MipsSubtarget.h.
References IsGP64bit.
Referenced by llvm::MipsRegisterInfo::adjustMipsStackFrame().
| bool llvm::MipsSubtarget::isSingleFloat | ( | ) | const [inline] |
Definition at line 108 of file MipsSubtarget.h.
References IsSingleFloat.
Referenced by llvm::MipsRegisterInfo::getCalleeSavedRegClasses(), llvm::MipsRegisterInfo::getCalleeSavedRegs(), llvm::MipsRegisterInfo::getReservedRegs(), and llvm::MipsTargetLowering::MipsTargetLowering().
| bool llvm::MipsSubtarget::isNotSingleFloat | ( | ) | const [inline] |
| bool llvm::MipsSubtarget::hasVFPU | ( | ) | const [inline] |
| bool llvm::MipsSubtarget::isLinux | ( | ) | const [inline] |
| bool llvm::MipsSubtarget::hasSEInReg | ( | ) | const [inline] |
Features related to the presence of specific instructions.
Definition at line 114 of file MipsSubtarget.h.
References HasSEInReg.
Referenced by llvm::MipsTargetLowering::MipsTargetLowering().
| bool llvm::MipsSubtarget::hasCondMov | ( | ) | const [inline] |
| bool llvm::MipsSubtarget::hasMulDivAdd | ( | ) | const [inline] |
| bool llvm::MipsSubtarget::hasMinMax | ( | ) | const [inline] |
| bool llvm::MipsSubtarget::hasSwap | ( | ) | const [inline] |
Definition at line 118 of file MipsSubtarget.h.
References HasSwap.
Referenced by llvm::MipsTargetLowering::MipsTargetLowering().
| bool llvm::MipsSubtarget::hasBitCount | ( | ) | const [inline] |
Definition at line 119 of file MipsSubtarget.h.
References HasBitCount.
Referenced by llvm::MipsTargetLowering::MipsTargetLowering().
MipsArchEnum llvm::MipsSubtarget::MipsArchVersion [protected] |
MipsABIEnum llvm::MipsSubtarget::MipsABI [protected] |
Definition at line 41 of file MipsSubtarget.h.
Referenced by getTargetABI(), isABI_EABI(), isABI_O32(), and MipsSubtarget().
bool llvm::MipsSubtarget::IsLittle [protected] |
bool llvm::MipsSubtarget::IsSingleFloat [protected] |
Definition at line 49 of file MipsSubtarget.h.
Referenced by isNotSingleFloat(), isSingleFloat(), and MipsSubtarget().
bool llvm::MipsSubtarget::IsFP64bit [protected] |
bool llvm::MipsSubtarget::IsGP64bit [protected] |
bool llvm::MipsSubtarget::HasVFPU [protected] |
bool llvm::MipsSubtarget::IsLinux [protected] |
bool llvm::MipsSubtarget::HasSEInReg [protected] |
Features related to the presence of specific instructions.
Definition at line 66 of file MipsSubtarget.h.
Referenced by hasSEInReg(), and MipsSubtarget().
bool llvm::MipsSubtarget::HasCondMov [protected] |
bool llvm::MipsSubtarget::HasMulDivAdd [protected] |
bool llvm::MipsSubtarget::HasMinMax [protected] |
bool llvm::MipsSubtarget::HasSwap [protected] |
bool llvm::MipsSubtarget::HasBitCount [protected] |
InstrItineraryData llvm::MipsSubtarget::InstrItins [protected] |
Definition at line 84 of file MipsSubtarget.h.