9#ifndef LLVM_LIB_TARGET_MIPS_MCTARGETDESC_MIPSABIFLAGSSECTION_H
10#define LLVM_LIB_TARGET_MIPS_MCTARGETDESC_MIPSABIFLAGSSECTION_H
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>
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>
204MCStreamer &
operator<<(MCStreamer &
OS, MipsABIFlagsSection &ABIFlagsSection);
StringRef - 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)