aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Mips/MipsMCAsmInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/Mips/MipsMCAsmInfo.h')
-rw-r--r--lib/Target/Mips/MipsMCAsmInfo.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/lib/Target/Mips/MipsMCAsmInfo.h b/lib/Target/Mips/MipsMCAsmInfo.h
index 33a4b5e..62ef463 100644
--- a/lib/Target/Mips/MipsMCAsmInfo.h
+++ b/lib/Target/Mips/MipsMCAsmInfo.h
@@ -22,9 +22,23 @@ namespace llvm {
class MipsMCAsmInfo : public MCAsmInfo {
public:
- explicit MipsMCAsmInfo(const Target &T, const StringRef &TT);
+ explicit MipsMCAsmInfo(const Target &T, const StringRef &TT,
+ bool isLittleEndian);
+ };
+
+ /// Big Endian MAI.
+ class MipsBEMCAsmInfo : public MipsMCAsmInfo {
+ public:
+ MipsBEMCAsmInfo(const Target &T, const StringRef &TT)
+ : MipsMCAsmInfo(T, TT, false) {}
+ };
+
+ /// Little Endian MAI.
+ class MipsLEMCAsmInfo : public MipsMCAsmInfo {
+ public:
+ MipsLEMCAsmInfo(const Target &T, const StringRef &TT)
+ : MipsMCAsmInfo(T, TT, true) {}
};
-
} // namespace llvm
#endif