aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Mips/MipsMCAsmInfo.h
blob: 62ef463c0f3cdfd6fc2e9dab70317c20f5db9d42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//=====-- MipsMCAsmInfo.h - Mips asm properties ---------------*- C++ -*--====//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file contains the declaration of the MipsMCAsmInfo class.
//
//===----------------------------------------------------------------------===//

#ifndef MIPSTARGETASMINFO_H
#define MIPSTARGETASMINFO_H

#include "llvm/MC/MCAsmInfo.h"

namespace llvm {
  class Target;
  class StringRef;
  
  class MipsMCAsmInfo : public MCAsmInfo {
  public:
    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