Jim Laskey | 8e8de8f | 2006-09-07 22:05:02 +0000 | [diff] [blame] | 1 | //=====-- PPCTargetAsmInfo.h - PPC asm properties -------------*- C++ -*--====// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file was developed by James M. Laskey and is distributed under the |
| 6 | // University of Illinois Open Source 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; |
Jim Laskey | bf11182 | 2006-12-21 20:26:09 +0000 | [diff] [blame] | 23 | |
| 24 | struct PPCTargetAsmInfo : public TargetAsmInfo { |
| 25 | PPCTargetAsmInfo(const PPCTargetMachine &TM); |
| 26 | }; |
Jim Laskey | 8e8de8f | 2006-09-07 22:05:02 +0000 | [diff] [blame] | 27 | |
Jim Laskey | bf11182 | 2006-12-21 20:26:09 +0000 | [diff] [blame] | 28 | struct DarwinTargetAsmInfo : public PPCTargetAsmInfo { |
Jim Laskey | 8e8de8f | 2006-09-07 22:05:02 +0000 | [diff] [blame] | 29 | DarwinTargetAsmInfo(const PPCTargetMachine &TM); |
| 30 | }; |
| 31 | |
Jim Laskey | bf11182 | 2006-12-21 20:26:09 +0000 | [diff] [blame] | 32 | struct LinuxTargetAsmInfo : public PPCTargetAsmInfo { |
| 33 | LinuxTargetAsmInfo(const PPCTargetMachine &TM); |
| 34 | }; |
| 35 | |
Jim Laskey | 8e8de8f | 2006-09-07 22:05:02 +0000 | [diff] [blame] | 36 | } // namespace llvm |
| 37 | |
| 38 | #endif |