10 #ifndef LLVM_LIB_TARGET_MIPS_MCTARGETDESC_MIPSABIFLAGSSECTION_H
11 #define LLVM_LIB_TARGET_MIPS_MCTARGETDESC_MIPSABIFLAGSSECTION_H
85 template <
class PredicateLibrary>
91 else if (P.hasMips64r5())
93 else if (P.hasMips64r3())
95 else if (P.hasMips64r2())
99 }
else if (P.hasMips32()) {
103 else if (P.hasMips32r5())
105 else if (P.hasMips32r3())
107 else if (P.hasMips32r2())
115 else if (P.hasMips4())
117 else if (P.hasMips3())
119 else if (P.hasMips2())
121 else if (P.hasMips1())
128 template <
class PredicateLibrary>
133 template <
class PredicateLibrary>
135 if (P.useSoftFloat())
143 template <
class PredicateLibrary>
152 if (P.inMicroMipsMode())
154 if (P.inMips16Mode())
158 template <
class PredicateLibrary>
163 if (P.useSoftFloat())
165 else if (P.isABI_N32() || P.isABI_N64())
167 else if (P.isABI_O32()) {
170 else if (P.isFP64bit())
177 template <
class PredicateLibrary>
188 MCStreamer &
operator<<(MCStreamer &OS, MipsABIFlagsSection &ABIFlagsSection);
void setFpABI(FpABIKind Value, bool IsABI32Bit)
uint8_t getCPR1SizeValue()
uint32_t getISAExtensionSetValue()
void setISALevelAndRevisionFromPredicates(const PredicateLibrary &P)
uint8_t getGPRSizeValue()
void setCPR1SizeFromPredicates(const PredicateLibrary &P)
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
void setGPRSizeFromPredicates(const PredicateLibrary &P)
uint8_t getISALevelValue()
uint32_t getASESetValue()
void setFpAbiFromPredicates(const PredicateLibrary &P)
StringRef getFpABIString(FpABIKind Value)
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()