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