10 #ifndef LLVM_LIB_TARGET_MIPS_MCTARGETDESC_MIPSABIFLAGSSECTION_H 11 #define LLVM_LIB_TARGET_MIPS_MCTARGETDESC_MIPSABIFLAGSSECTION_H 78 Is32BitABI = IsABI32Bit;
83 template <
class PredicateLibrary>
89 else if (P.hasMips64r5())
91 else if (P.hasMips64r3())
93 else if (P.hasMips64r2())
97 }
else if (P.hasMips32()) {
101 else if (P.hasMips32r5())
103 else if (P.hasMips32r3())
105 else if (P.hasMips32r2())
113 else if (P.hasMips4())
115 else if (P.hasMips3())
117 else if (P.hasMips2())
119 else if (P.hasMips1())
126 template <
class PredicateLibrary>
131 template <
class PredicateLibrary>
133 if (P.useSoftFloat())
141 template <
class PredicateLibrary>
149 template <
class PredicateLibrary>
158 if (P.inMicroMipsMode())
160 if (P.inMips16Mode())
172 template <
class PredicateLibrary>
174 Is32BitABI = P.isABI_O32();
177 if (P.useSoftFloat())
179 else if (P.isABI_N32() || P.isABI_N64())
181 else if (P.isABI_O32()) {
184 else if (P.isFP64bit())
191 template <
class PredicateLibrary>
199 OddSPReg = P.useOddSPReg();
207 #endif // LLVM_LIB_TARGET_MIPS_MCTARGETDESC_MIPSABIFLAGSSECTION_H
void setFpABI(FpABIKind Value, bool IsABI32Bit)
uint8_t getCPR1SizeValue()
This class represents lattice values for constants.
void setISALevelAndRevisionFromPredicates(const PredicateLibrary &P)
uint8_t getGPRSizeValue()
void setCPR1SizeFromPredicates(const PredicateLibrary &P)
MipsABIFlagsSection()=default
void setISAExtensionFromPredicates(const PredicateLibrary &P)
uint32_t getISAExtensionValue()
void setGPRSizeFromPredicates(const PredicateLibrary &P)
uint8_t getISALevelValue()
uint32_t getASESetValue()
void setFpAbiFromPredicates(const PredicateLibrary &P)
Streaming machine code generation interface.
StringRef getFpABIString(FpABIKind Value)
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
void setAllFromPredicates(const PredicateLibrary &P)
uint32_t getFlags1Value()
uint16_t getVersionValue()
void setASESetFromPredicates(const PredicateLibrary &P)
uint8_t getISARevisionValue()
raw_ostream & operator<<(raw_ostream &OS, const APInt &I)
uint8_t getCPR2SizeValue()
LLVM Value Representation.
StringRef - Represent a constant reference to a string, i.e.
uint32_t getFlags2Value()
Mips::AFL_EXT ISAExtension