blob: 23c5ebced63da207488da9ab9a40601f0e9e47ce [file] [log] [blame]
Sanjiv Gupta0e687712008-05-13 09:02:57 +00001//=====-- 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 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 Lattnerf0144122009-07-28 03:13:23 +000023 class PIC16TargetAsmInfo : public TargetAsmInfo {
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 Lattnera7ac47c2009-08-12 07:22:17 +000028 PIC16TargetAsmInfo(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