LLVM 20.0.0git
|
#include "Target/Mips/MCTargetDesc/MipsABIFlagsSection.h"
Public Types | |
enum class | FpABIKind { ANY , XX , S32 , S64 , SOFT } |
Public Attributes | |
uint16_t | Version = 0 |
uint8_t | ISALevel = 0 |
uint8_t | ISARevision = 0 |
Mips::AFL_REG | GPRSize = Mips::AFL_REG_NONE |
Mips::AFL_REG | CPR1Size = Mips::AFL_REG_NONE |
Mips::AFL_REG | CPR2Size = Mips::AFL_REG_NONE |
Mips::AFL_EXT | ISAExtension = Mips::AFL_EXT_NONE |
uint32_t | ASESet = 0 |
bool | OddSPReg = false |
bool | Is32BitABI = false |
Protected Attributes | |
FpABIKind | FpABI = FpABIKind::ANY |
Definition at line 21 of file MipsABIFlagsSection.h.
|
strong |
Enumerator | |
---|---|
ANY | |
XX | |
S32 | |
S64 | |
SOFT |
Definition at line 23 of file MipsABIFlagsSection.h.
|
default |
|
inline |
Definition at line 61 of file MipsABIFlagsSection.h.
References ASESet.
Referenced by llvm::operator<<().
uint8_t MipsABIFlagsSection::getCPR1SizeValue | ( | ) |
Definition at line 50 of file MipsABIFlagsSection.cpp.
References llvm::Mips::AFL_REG_32, CPR1Size, FpABI, and XX.
Referenced by llvm::operator<<().
|
inline |
Definition at line 58 of file MipsABIFlagsSection.h.
References CPR2Size.
Referenced by llvm::operator<<().
|
inline |
Definition at line 63 of file MipsABIFlagsSection.h.
References llvm::Mips::AFL_FLAGS1_ODDSPREG, and OddSPReg.
Referenced by llvm::operator<<().
|
inline |
Definition at line 72 of file MipsABIFlagsSection.h.
Referenced by llvm::operator<<().
|
inline |
Definition at line 74 of file MipsABIFlagsSection.h.
References FpABI.
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveModuleFP().
Definition at line 37 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 17 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 56 of file MipsABIFlagsSection.h.
References GPRSize.
Referenced by llvm::operator<<().
|
inline |
Definition at line 60 of file MipsABIFlagsSection.h.
References ISAExtension.
Referenced by llvm::operator<<().
|
inline |
Definition at line 54 of file MipsABIFlagsSection.h.
References ISALevel.
Referenced by llvm::operator<<().
|
inline |
Definition at line 55 of file MipsABIFlagsSection.h.
References ISARevision.
Referenced by llvm::operator<<().
|
inline |
Definition at line 53 of file MipsABIFlagsSection.h.
References Version.
Referenced by llvm::operator<<().
|
inline |
Definition at line 193 of file MipsABIFlagsSection.h.
References OddSPReg, P, setASESetFromPredicates(), setCPR1SizeFromPredicates(), setFpAbiFromPredicates(), setGPRSizeFromPredicates(), setISAExtensionFromPredicates(), and setISALevelAndRevisionFromPredicates().
Referenced by llvm::MipsTargetStreamer::updateABIInfo().
|
inline |
Definition at line 151 of file MipsABIFlagsSection.h.
References llvm::Mips::AFL_ASE_CRC, llvm::Mips::AFL_ASE_DSP, llvm::Mips::AFL_ASE_DSPR2, llvm::Mips::AFL_ASE_GINV, llvm::Mips::AFL_ASE_MICROMIPS, llvm::Mips::AFL_ASE_MIPS16, llvm::Mips::AFL_ASE_MSA, llvm::Mips::AFL_ASE_MT, llvm::Mips::AFL_ASE_VIRT, ASESet, and P.
Referenced by setAllFromPredicates().
|
inline |
Definition at line 131 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, CPR1Size, and P.
Referenced by setAllFromPredicates().
Definition at line 75 of file MipsABIFlagsSection.h.
References FpABI, and Is32BitABI.
|
inline |
Definition at line 174 of file MipsABIFlagsSection.h.
References ANY, FpABI, Is32BitABI, P, S32, S64, SOFT, and XX.
Referenced by setAllFromPredicates().
|
inline |
Definition at line 126 of file MipsABIFlagsSection.h.
References llvm::Mips::AFL_REG_32, llvm::Mips::AFL_REG_64, GPRSize, and P.
Referenced by setAllFromPredicates().
|
inline |
Definition at line 141 of file MipsABIFlagsSection.h.
References llvm::Mips::AFL_EXT_NONE, llvm::Mips::AFL_EXT_OCTEON, llvm::Mips::AFL_EXT_OCTEONP, ISAExtension, and P.
Referenced by setAllFromPredicates().
|
inline |
Definition at line 83 of file MipsABIFlagsSection.h.
References ISALevel, ISARevision, llvm_unreachable, and P.
Referenced by setAllFromPredicates().
uint32_t llvm::MipsABIFlagsSection::ASESet = 0 |
Definition at line 40 of file MipsABIFlagsSection.h.
Referenced by getASESetValue(), and setASESetFromPredicates().
Mips::AFL_REG llvm::MipsABIFlagsSection::CPR1Size = Mips::AFL_REG_NONE |
Definition at line 34 of file MipsABIFlagsSection.h.
Referenced by getCPR1SizeValue(), and setCPR1SizeFromPredicates().
Mips::AFL_REG llvm::MipsABIFlagsSection::CPR2Size = Mips::AFL_REG_NONE |
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 = Mips::AFL_REG_NONE |
Definition at line 32 of file MipsABIFlagsSection.h.
Referenced by getGPRSizeValue(), and setGPRSizeFromPredicates().
bool llvm::MipsABIFlagsSection::Is32BitABI = false |
Definition at line 44 of file MipsABIFlagsSection.h.
Referenced by llvm::MipsTargetStreamer::emitDirectiveModuleOddSPReg(), getFpABIValue(), setFpABI(), and setFpAbiFromPredicates().
Mips::AFL_EXT llvm::MipsABIFlagsSection::ISAExtension = Mips::AFL_EXT_NONE |
Definition at line 38 of file MipsABIFlagsSection.h.
Referenced by getISAExtensionValue(), and setISAExtensionFromPredicates().
uint8_t llvm::MipsABIFlagsSection::ISALevel = 0 |
Definition at line 28 of file MipsABIFlagsSection.h.
Referenced by getISALevelValue(), and setISALevelAndRevisionFromPredicates().
uint8_t llvm::MipsABIFlagsSection::ISARevision = 0 |
Definition at line 30 of file MipsABIFlagsSection.h.
Referenced by getISARevisionValue(), and setISALevelAndRevisionFromPredicates().
bool llvm::MipsABIFlagsSection::OddSPReg = false |
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 = 0 |
Definition at line 26 of file MipsABIFlagsSection.h.
Referenced by getVersionValue().