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 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 |
Definition at line 25 of file MipsSubtarget.h.
enum llvm::MipsSubtarget::MipsArchEnum [protected] |
Definition at line 34 of file MipsSubtarget.h.
| MipsSubtarget::MipsSubtarget | ( | const TargetMachine & | TM, | |
| const Module & | M, | |||
| const std::string & | FS, | |||
| bool | little | |||
| ) |
This constructor initializes the data members to match that of the specified module.
Definition at line 32 of file MipsSubtarget.cpp.
References AbsoluteCall, EABI, llvm::TargetMachine::getRelocationModel(), llvm::Module::getTargetTriple(), HasABICall, HasAbsoluteCall, HasBitCount, HasCondMov, HasSEInReg, HasSwap, HasVFPU, isABI_EABI(), IsLinux, IsSingleFloat, Mips2, MipsABI, MipsArchVersion, NotABICall, ParseSubtargetFeatures(), SSectionThreshold, SSThreshold, and llvm::Reloc::Static.
| bool llvm::MipsSubtarget::isABI_EABI | ( | ) | const [inline] |
Only O32 and EABI supported right now.
Definition at line 101 of file MipsSubtarget.h.
Referenced by MipsSubtarget().
| bool llvm::MipsSubtarget::isABI_O32 | ( | ) | const [inline] |
Definition at line 102 of file MipsSubtarget.h.
Referenced by llvm::MipsRegisterInfo::emitPrologue().
| unsigned llvm::MipsSubtarget::getTargetABI | ( | ) | const [inline] |
| 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] |
| bool llvm::MipsSubtarget::isLittle | ( | ) | const [inline] |
| 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] |
| 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] |
Definition at line 120 of file MipsSubtarget.h.
References IsSingleFloat.
Referenced by llvm::MipsRegisterInfo::getCalleeSavedRegClasses(), llvm::MipsRegisterInfo::getCalleeSavedRegs(), and llvm::MipsTargetLowering::MipsTargetLowering().
| bool llvm::MipsSubtarget::isNotSingleFloat | ( | ) | const [inline] |
| bool llvm::MipsSubtarget::hasVFPU | ( | ) | const [inline] |
| bool llvm::MipsSubtarget::hasABICall | ( | ) | const [inline] |
Definition at line 123 of file MipsSubtarget.h.
References HasABICall.
Referenced by llvm::MipsTargetAsmInfo::MipsTargetAsmInfo(), llvm::MipsTargetMachine::MipsTargetMachine(), and llvm::MipsTargetAsmInfo::SectionKindForGlobal().
| bool llvm::MipsSubtarget::hasAbsoluteCall | ( | ) | const [inline] |
| bool llvm::MipsSubtarget::isLinux | ( | ) | const [inline] |
| 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] |
| bool llvm::MipsSubtarget::hasMulDivAdd | ( | ) | const [inline] |
| bool llvm::MipsSubtarget::hasMinMax | ( | ) | const [inline] |
| 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().
MipsArchEnum llvm::MipsSubtarget::MipsArchVersion [protected] |
MipsABIEnum llvm::MipsSubtarget::MipsABI [protected] |
Definition at line 42 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 50 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::HasABICall [protected] |
bool llvm::MipsSubtarget::HasAbsoluteCall [protected] |
Definition at line 66 of file MipsSubtarget.h.
Referenced by hasAbsoluteCall(), and MipsSubtarget().
bool llvm::MipsSubtarget::IsLinux [protected] |
unsigned llvm::MipsSubtarget::SSectionThreshold [protected] |
Definition at line 73 of file MipsSubtarget.h.
Referenced by getSSectionThreshold(), and MipsSubtarget().
bool llvm::MipsSubtarget::HasSEInReg [protected] |
Features related to the presence of specific instructions.
Definition at line 78 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 96 of file MipsSubtarget.h.
This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.