9#ifndef LLVM_LIB_TARGET_MIPS_MCTARGETDESC_MIPSABIFLAGSSECTION_H
10#define LLVM_LIB_TARGET_MIPS_MCTARGETDESC_MIPSABIFLAGSSECTION_H
82 template <
class PredicateLibrary>
84 if (
P.hasNanoMips()) {
87 }
else if (
P.hasMips64()) {
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())
139 else if (
P.isSingleFloat())
145 template <
class PredicateLibrary>
149 else if (
P.hasCnMips())
151 else if (
P.isR5900())
157 template <
class PredicateLibrary>
166 if (
P.inMicroMipsMode())
168 if (
P.inMips16Mode())
180 template <
class PredicateLibrary>
185 if (
P.useSoftFloat())
187 else if (
P.isSingleFloat())
189 else if (
P.isABI_N32() ||
P.isABI_N64())
191 else if (
P.isABI_O32()) {
194 else if (
P.isFP64bit())
201 template <
class PredicateLibrary>
213MCStreamer &
operator<<(MCStreamer &OS, MipsABIFlagsSection &ABIFlagsSection);
Streaming machine code generation interface.
Represent a constant reference to a string, i.e.
LLVM Value Representation.
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
This is an optimization pass for GlobalISel generic memory operations.
raw_ostream & operator<<(raw_ostream &OS, const APFixedPoint &FX)
StringRef getFpABIString(FpABIKind Value)
uint32_t getISAExtensionValue()
uint8_t getCPR2SizeValue()
uint8_t getISALevelValue()
void setFpAbiFromPredicates(const PredicateLibrary &P)
uint32_t getFlags1Value()
uint32_t getFlags2Value()
uint8_t getCPR1SizeValue()
uint8_t getGPRSizeValue()
uint8_t getISARevisionValue()
void setISALevelAndRevisionFromPredicates(const PredicateLibrary &P)
void setCPR1SizeFromPredicates(const PredicateLibrary &P)
void setGPRSizeFromPredicates(const PredicateLibrary &P)
uint32_t getASESetValue()
MipsABIFlagsSection()=default
void setASESetFromPredicates(const PredicateLibrary &P)
Mips::AFL_EXT ISAExtension
void setISAExtensionFromPredicates(const PredicateLibrary &P)
void setAllFromPredicates(const PredicateLibrary &P)
uint16_t getVersionValue()
void setFpABI(FpABIKind Value, bool IsABI32Bit)