|
LLVM
3.7.0
|
#include <MipsABIFlagsSection.h>
Public Types | |
| enum | FpABIKind { FpABIKind::ANY, FpABIKind::XX, FpABIKind::S32, FpABIKind::S64, FpABIKind::SOFT } |
Public Member Functions | |
| MipsABIFlagsSection () | |
| uint16_t | getVersionValue () |
| uint8_t | getISALevelValue () |
| uint8_t | getISARevisionValue () |
| uint8_t | getGPRSizeValue () |
| uint8_t | getCPR1SizeValue () |
| uint8_t | getCPR2SizeValue () |
| uint8_t | getFpABIValue () |
| uint32_t | getISAExtensionSetValue () |
| uint32_t | getASESetValue () |
| uint32_t | getFlags1Value () |
| uint32_t | getFlags2Value () |
| FpABIKind | getFpABI () |
| void | setFpABI (FpABIKind Value, bool IsABI32Bit) |
| StringRef | getFpABIString (FpABIKind Value) |
| template<class PredicateLibrary > | |
| void | setISALevelAndRevisionFromPredicates (const PredicateLibrary &P) |
| template<class PredicateLibrary > | |
| void | setGPRSizeFromPredicates (const PredicateLibrary &P) |
| template<class PredicateLibrary > | |
| void | setCPR1SizeFromPredicates (const PredicateLibrary &P) |
| template<class PredicateLibrary > | |
| void | setASESetFromPredicates (const PredicateLibrary &P) |
| template<class PredicateLibrary > | |
| void | setFpAbiFromPredicates (const PredicateLibrary &P) |
| template<class PredicateLibrary > | |
| void | setAllFromPredicates (const PredicateLibrary &P) |
Public Attributes | |
| uint16_t | Version |
| uint8_t | ISALevel |
| uint8_t | ISARevision |
| Mips::AFL_REG | GPRSize |
| Mips::AFL_REG | CPR1Size |
| Mips::AFL_REG | CPR2Size |
| uint32_t | ISAExtensionSet |
| uint32_t | ASESet |
| bool | OddSPReg |
| bool | Is32BitABI |
Protected Attributes | |
| FpABIKind | FpABI |
Definition at line 21 of file MipsABIFlagsSection.h.
|
strong |
| Enumerator | |
|---|---|
| ANY | |
| XX | |
| S32 | |
| S64 | |
| SOFT | |
Definition at line 23 of file MipsABIFlagsSection.h.
|
inline |
Definition at line 51 of file MipsABIFlagsSection.h.
|
inline |
Definition at line 65 of file MipsABIFlagsSection.h.
References ASESet.
Referenced by llvm::operator<<().
| uint8_t MipsABIFlagsSection::getCPR1SizeValue | ( | ) |
Definition at line 47 of file MipsABIFlagsSection.cpp.
References llvm::Mips::AFL_REG_32, CPR1Size, FpABI, and XX.
Referenced by llvm::operator<<().
|
inline |
Definition at line 62 of file MipsABIFlagsSection.h.
References CPR2Size.
Referenced by llvm::operator<<().
|
inline |
Definition at line 67 of file MipsABIFlagsSection.h.
References llvm::Mips::AFL_FLAGS1_ODDSPREG, and OddSPReg.
Referenced by llvm::operator<<().
|
inline |
Definition at line 76 of file MipsABIFlagsSection.h.
Referenced by llvm::operator<<().
|
inline |
Definition at line 78 of file MipsABIFlagsSection.h.
References FpABI.
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveModuleFP().
Definition at line 34 of file MipsABIFlagsSection.cpp.
References llvm_unreachable, S32, S64, and XX.
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveModuleFP(), and llvm::MipsTargetAsmStreamer::emitDirectiveSetFp().
| uint8_t MipsABIFlagsSection::getFpABIValue | ( | ) |
Definition at line 14 of file MipsABIFlagsSection.cpp.
References ANY, FpABI, Is32BitABI, llvm_unreachable, OddSPReg, S32, S64, SOFT, llvm::Mips::Val_GNU_MIPS_ABI_FP_64, llvm::Mips::Val_GNU_MIPS_ABI_FP_64A, llvm::Mips::Val_GNU_MIPS_ABI_FP_ANY, llvm::Mips::Val_GNU_MIPS_ABI_FP_DOUBLE, llvm::Mips::Val_GNU_MIPS_ABI_FP_SOFT, llvm::Mips::Val_GNU_MIPS_ABI_FP_XX, and XX.
Referenced by llvm::operator<<().
|
inline |
Definition at line 60 of file MipsABIFlagsSection.h.
References GPRSize.
Referenced by llvm::operator<<().
|
inline |
Definition at line 64 of file MipsABIFlagsSection.h.
References ISAExtensionSet.
Referenced by llvm::operator<<().
|
inline |
Definition at line 58 of file MipsABIFlagsSection.h.
References ISALevel.
Referenced by llvm::operator<<().
|
inline |
Definition at line 59 of file MipsABIFlagsSection.h.
References ISARevision.
Referenced by llvm::operator<<().
|
inline |
Definition at line 57 of file MipsABIFlagsSection.h.
References Version.
Referenced by llvm::operator<<().
|
inline |
Definition at line 178 of file MipsABIFlagsSection.h.
References OddSPReg, setASESetFromPredicates(), setCPR1SizeFromPredicates(), setFpAbiFromPredicates(), setGPRSizeFromPredicates(), and setISALevelAndRevisionFromPredicates().
Referenced by llvm::MipsTargetStreamer::updateABIInfo().
|
inline |
Definition at line 144 of file MipsABIFlagsSection.h.
References llvm::Mips::AFL_ASE_DSP, llvm::Mips::AFL_ASE_DSPR2, llvm::Mips::AFL_ASE_MICROMIPS, llvm::Mips::AFL_ASE_MIPS16, llvm::Mips::AFL_ASE_MSA, and ASESet.
Referenced by setAllFromPredicates().
|
inline |
Definition at line 134 of file MipsABIFlagsSection.h.
References llvm::Mips::AFL_REG_128, llvm::Mips::AFL_REG_32, llvm::Mips::AFL_REG_64, llvm::Mips::AFL_REG_NONE, and CPR1Size.
Referenced by setAllFromPredicates().
Definition at line 79 of file MipsABIFlagsSection.h.
References FpABI, and Is32BitABI.
|
inline |
Definition at line 159 of file MipsABIFlagsSection.h.
References ANY, FpABI, Is32BitABI, S32, S64, SOFT, and XX.
Referenced by setAllFromPredicates().
|
inline |
Definition at line 129 of file MipsABIFlagsSection.h.
References llvm::Mips::AFL_REG_32, llvm::Mips::AFL_REG_64, and GPRSize.
Referenced by setAllFromPredicates().
|
inline |
Definition at line 86 of file MipsABIFlagsSection.h.
References ISALevel, ISARevision, and llvm_unreachable.
Referenced by setAllFromPredicates().
| uint32_t llvm::MipsABIFlagsSection::ASESet |
Definition at line 40 of file MipsABIFlagsSection.h.
Referenced by getASESetValue(), and setASESetFromPredicates().
| Mips::AFL_REG llvm::MipsABIFlagsSection::CPR1Size |
Definition at line 34 of file MipsABIFlagsSection.h.
Referenced by getCPR1SizeValue(), and setCPR1SizeFromPredicates().
| Mips::AFL_REG llvm::MipsABIFlagsSection::CPR2Size |
Definition at line 36 of file MipsABIFlagsSection.h.
Referenced by getCPR2SizeValue().
|
protected |
Definition at line 48 of file MipsABIFlagsSection.h.
Referenced by getCPR1SizeValue(), getFpABI(), getFpABIValue(), setFpABI(), and setFpAbiFromPredicates().
| Mips::AFL_REG llvm::MipsABIFlagsSection::GPRSize |
Definition at line 32 of file MipsABIFlagsSection.h.
Referenced by getGPRSizeValue(), and setGPRSizeFromPredicates().
| bool llvm::MipsABIFlagsSection::Is32BitABI |
Definition at line 44 of file MipsABIFlagsSection.h.
Referenced by llvm::MipsTargetStreamer::emitDirectiveModuleOddSPReg(), getFpABIValue(), setFpABI(), and setFpAbiFromPredicates().
| uint32_t llvm::MipsABIFlagsSection::ISAExtensionSet |
Definition at line 38 of file MipsABIFlagsSection.h.
Referenced by getISAExtensionSetValue().
| uint8_t llvm::MipsABIFlagsSection::ISALevel |
Definition at line 28 of file MipsABIFlagsSection.h.
Referenced by getISALevelValue(), and setISALevelAndRevisionFromPredicates().
| uint8_t llvm::MipsABIFlagsSection::ISARevision |
Definition at line 30 of file MipsABIFlagsSection.h.
Referenced by getISARevisionValue(), and setISALevelAndRevisionFromPredicates().
| bool llvm::MipsABIFlagsSection::OddSPReg |
Definition at line 42 of file MipsABIFlagsSection.h.
Referenced by llvm::MipsTargetStreamer::emitDirectiveModuleOddSPReg(), llvm::MipsTargetAsmStreamer::emitDirectiveModuleOddSPReg(), getFlags1Value(), getFpABIValue(), and setAllFromPredicates().
| uint16_t llvm::MipsABIFlagsSection::Version |
Definition at line 26 of file MipsABIFlagsSection.h.
Referenced by getVersionValue().
1.8.6