give MCAsmInfo a 'has little endian' bit. This is unfortunate, but
[oota-llvm.git] / lib / Target / Mips / MipsMCAsmInfo.h
1 //=====-- MipsMCAsmInfo.h - Mips asm properties ---------------*- C++ -*--====//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file contains the declaration of the MipsMCAsmInfo class.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef MIPSTARGETASMINFO_H
15 #define MIPSTARGETASMINFO_H
16
17 #include "llvm/MC/MCAsmInfo.h"
18
19 namespace llvm {
20   class Target;
21   class StringRef;
22   
23   class MipsMCAsmInfo : public MCAsmInfo {
24   public:
25     explicit MipsMCAsmInfo(const Target &T, const StringRef &TT,
26                            bool isLittleEndian);
27   };
28   
29   /// Big Endian MAI.
30   class MipsBEMCAsmInfo : public MipsMCAsmInfo {
31   public:
32     MipsBEMCAsmInfo(const Target &T, const StringRef &TT)
33       : MipsMCAsmInfo(T, TT, false) {}
34   };
35   
36   /// Little Endian MAI.
37   class MipsLEMCAsmInfo : public MipsMCAsmInfo {
38   public:
39     MipsLEMCAsmInfo(const Target &T, const StringRef &TT)
40     : MipsMCAsmInfo(T, TT, true) {}
41   };
42 } // namespace llvm
43
44 #endif