Sanjiv Gupta | 0e68771 | 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" |
Chris Lattner | a46cb52 | 2009-07-21 17:20:18 +0000 | [diff] [blame] | 18 | |
Sanjiv Gupta | 0e68771 | 2008-05-13 09:02:57 +0000 | [diff] [blame] | 19 | namespace llvm { |
Chris Lattner | a7ac47c | 2009-08-12 07:22:17 +0000 | [diff] [blame^] | 20 | class Target; |
| 21 | class StringRef; |
| 22 | |
Chris Lattner | f014412 | 2009-07-28 03:13:23 +0000 | [diff] [blame] | 23 | class PIC16TargetAsmInfo : public TargetAsmInfo { |
Sanjiv Gupta | c8d7bc8 | 2009-01-30 04:25:10 +0000 | [diff] [blame] | 24 | const char *RomData8bitsDirective; |
| 25 | const char *RomData16bitsDirective; |
| 26 | const char *RomData32bitsDirective; |
Chris Lattner | f014412 | 2009-07-28 03:13:23 +0000 | [diff] [blame] | 27 | public: |
Chris Lattner | a7ac47c | 2009-08-12 07:22:17 +0000 | [diff] [blame^] | 28 | PIC16TargetAsmInfo(const Target &T, const StringRef &TT); |
Chris Lattner | f014412 | 2009-07-28 03:13:23 +0000 | [diff] [blame] | 29 | |
Chris Lattner | 83757c7 | 2009-07-20 17:12:46 +0000 | [diff] [blame] | 30 | virtual const char *getDataASDirective(unsigned size, unsigned AS) const; |
Sanjiv Gupta | 0e68771 | 2008-05-13 09:02:57 +0000 | [diff] [blame] | 31 | }; |
| 32 | |
| 33 | } // namespace llvm |
| 34 | |
| 35 | #endif |