Unbreak build: 'DarwinTargetAsmInfo' was already taken as PPC TAI flavour.
[oota-llvm.git] / lib / Target / PowerPC / PPCTargetAsmInfo.h
1 //=====-- PPCTargetAsmInfo.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 DarwinTargetAsmInfo class.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef PPCTARGETASMINFO_H
15 #define PPCTARGETASMINFO_H
16
17 #include "llvm/Target/TargetAsmInfo.h"
18
19 namespace llvm {
20
21   // Forward declaration.
22   class PPCTargetMachine;
23   
24   struct PPCTargetAsmInfo : public TargetAsmInfo {
25     explicit PPCTargetAsmInfo(const PPCTargetMachine &TM);
26   };
27
28   struct PPCDarwinTargetAsmInfo : public PPCTargetAsmInfo {
29     explicit PPCDarwinTargetAsmInfo(const PPCTargetMachine &TM);
30     virtual unsigned PreferredEHDataFormat(DwarfEncoding::Target Reason,
31                                            bool Global) const;
32   };
33
34   struct PPCLinuxTargetAsmInfo : public PPCTargetAsmInfo {
35     explicit PPCLinuxTargetAsmInfo(const PPCTargetMachine &TM);
36     virtual unsigned PreferredEHDataFormat(DwarfEncoding::Target Reason,
37                                            bool Global) const;
38   };
39
40 } // namespace llvm
41
42 #endif