9 #ifndef LLVM_LIB_TARGET_MIPS_MCTARGETDESC_MIPSABIFLAGSSECTION_H 10 #define LLVM_LIB_TARGET_MIPS_MCTARGETDESC_MIPSABIFLAGSSECTION_H 77 Is32BitABI = IsABI32Bit;
82 template <
class PredicateLibrary>
88 else if (P.hasMips64r5())
90 else if (P.hasMips64r3())
92 else if (P.hasMips64r2())
96 }
else if (P.hasMips32()) {
100 else if (P.hasMips32r5())
102 else if (P.hasMips32r3())
104 else if (P.hasMips32r2())
112 else if (P.hasMips4())
114 else if (P.hasMips3())
116 else if (P.hasMips2())
118 else if (P.hasMips1())
125 template <
class PredicateLibrary>
130 template <
class PredicateLibrary>
132 if (P.useSoftFloat())
140 template <
class PredicateLibrary>
144 else if (P.hasCnMips())
150 template <
class PredicateLibrary>
159 if (P.inMicroMipsMode())
161 if (P.inMips16Mode())
173 template <
class PredicateLibrary>
175 Is32BitABI = P.isABI_O32();
178 if (P.useSoftFloat())
180 else if (P.isABI_N32() || P.isABI_N64())
182 else if (P.isABI_O32()) {
185 else if (P.isFP64bit())
192 template <
class PredicateLibrary>
200 OddSPReg = P.useOddSPReg();
208 #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