]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.h
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / llvm / lib / Target / PowerPC / MCTargetDesc / PPCMCAsmInfo.h
1 //===-- PPCMCAsmInfo.h - PPC 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 MCAsmInfoDarwin class.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef PPCTARGETASMINFO_H
15 #define PPCTARGETASMINFO_H
16
17 #include "llvm/MC/MCAsmInfoDarwin.h"
18 #include "llvm/MC/MCAsmInfoELF.h"
19
20 namespace llvm {
21 class Triple;
22
23   class PPCMCAsmInfoDarwin : public MCAsmInfoDarwin {
24     virtual void anchor();
25   public:
26     /// This version of the constructor is here to maintain ABI compatibility
27     /// with LLVM 3.4.0.
28     explicit PPCMCAsmInfoDarwin(bool is64Bit);
29     explicit PPCMCAsmInfoDarwin(bool is64Bit, const Triple&);
30   };
31
32   class PPCLinuxMCAsmInfo : public MCAsmInfoELF {
33     virtual void anchor();
34   public:
35     explicit PPCLinuxMCAsmInfo(bool is64Bit);
36   };
37
38 } // namespace llvm
39
40 #endif