Sanjiv Gupta | 09bb420 | 2008-05-13 09:02:57 +0000 | [diff] [blame] | 1 | //=====-- PIC16TargetAsmInfo.h - PIC16 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 PIC16TargetAsmInfo class. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | #ifndef PIC16TARGETASMINFO_H |
| 15 | #define PIC16TARGETASMINFO_H |
| 16 | |
| 17 | #include "llvm/Target/TargetAsmInfo.h" |
| 18 | |
| 19 | namespace llvm { |
| 20 | |
| 21 | // Forward declaration. |
| 22 | class PIC16TargetMachine; |
| 23 | |
| 24 | struct PIC16TargetAsmInfo : public TargetAsmInfo { |
| 25 | PIC16TargetAsmInfo(const PIC16TargetMachine &TM); |
Sanjiv Gupta | dc2943d | 2009-01-30 04:25:10 +0000 | [diff] [blame^] | 26 | const char *RomData8bitsDirective; |
| 27 | const char *RomData16bitsDirective; |
| 28 | const char *RomData32bitsDirective; |
Sanjiv Gupta | 085ae4f | 2008-11-19 11:00:54 +0000 | [diff] [blame] | 29 | public : |
Sanjiv Gupta | dc2943d | 2009-01-30 04:25:10 +0000 | [diff] [blame^] | 30 | virtual const char *getData8bitsDirective(unsigned AddrSpace = 0) const; |
| 31 | virtual const char *getData16bitsDirective(unsigned AddrSpace = 0) const; |
| 32 | virtual const char *getData32bitsDirective(unsigned AddrSpace = 0) const; |
Sanjiv Gupta | 09bb420 | 2008-05-13 09:02:57 +0000 | [diff] [blame] | 33 | }; |
| 34 | |
| 35 | } // namespace llvm |
| 36 | |
| 37 | #endif |