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>
151 template <
class PredicateLibrary>
160 if (P.inMicroMipsMode())
162 if (P.inMips16Mode())
166 template <
class PredicateLibrary>
171 if (P.useSoftFloat())
173 else if (P.isABI_N32() || P.isABI_N64())
175 else if (P.isABI_O32()) {
178 else if (P.isFP64bit())
185 template <
class PredicateLibrary>
197 MCStreamer &
operator<<(MCStreamer &OS, MipsABIFlagsSection &ABIFlagsSection);
void setFpABI(FpABIKind Value, bool IsABI32Bit)
uint8_t getCPR1SizeValue()
void setISALevelAndRevisionFromPredicates(const PredicateLibrary &P)
uint8_t getGPRSizeValue()
void setCPR1SizeFromPredicates(const PredicateLibrary &P)
void setISAExtensionFromPredicates(const PredicateLibrary &P)
uint32_t getISAExtensionValue()
void setGPRSizeFromPredicates(const PredicateLibrary &P)
uint8_t getISALevelValue()
Function Alias Analysis false
uint32_t getASESetValue()
void setFpAbiFromPredicates(const PredicateLibrary &P)
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