blob: e84db8532a1510c7ce224cc4dd5b2088bfe80a2c [file] [log] [blame]
Chris Lattner621c44d2009-08-22 20:48:53 +00001//=====-- PIC16MCAsmInfo.h - PIC16 asm properties -------------*- C++ -*--====//
Sanjiv Gupta09bb4202008-05-13 09:02:57 +00002//
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//
Chris Lattner621c44d2009-08-22 20:48:53 +000010// This file contains the declaration of the PIC16MCAsmInfo class.
Sanjiv Gupta09bb4202008-05-13 09:02:57 +000011//
12//===----------------------------------------------------------------------===//
13
14#ifndef PIC16TARGETASMINFO_H
15#define PIC16TARGETASMINFO_H
16
Chris Lattner621c44d2009-08-22 20:48:53 +000017#include "llvm/MC/MCAsmInfo.h"
Chris Lattner4b4c52d2009-07-21 17:20:18 +000018
Sanjiv Gupta09bb4202008-05-13 09:02:57 +000019namespace llvm {
Chris Lattnerd88f9fd2009-08-12 07:22:17 +000020 class Target;
21 class StringRef;
22
Chris Lattner621c44d2009-08-22 20:48:53 +000023 class PIC16MCAsmInfo : public MCAsmInfo {
Sanjiv Guptadc2943d2009-01-30 04:25:10 +000024 const char *RomData8bitsDirective;
25 const char *RomData16bitsDirective;
26 const char *RomData32bitsDirective;
Chris Lattnerc4c40a92009-07-28 03:13:23 +000027 public:
Chris Lattner621c44d2009-08-22 20:48:53 +000028 PIC16MCAsmInfo(const Target &T, const StringRef &TT);
Chris Lattnerc4c40a92009-07-28 03:13:23 +000029
Chris Lattnerc8859c52009-07-20 17:12:46 +000030 virtual const char *getDataASDirective(unsigned size, unsigned AS) const;
Sanjiv Gupta09bb4202008-05-13 09:02:57 +000031 };
32
33} // namespace llvm
34
35#endif