blob: d24aa6bd620d074bf2a2eea5360b9d2a51b322df [file] [log] [blame]
Sanjiv Gupta09bb4202008-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 Lattner4b4c52d2009-07-21 17:20:18 +000018
Sanjiv Gupta09bb4202008-05-13 09:02:57 +000019namespace llvm {
Chris Lattnerc4c40a92009-07-28 03:13:23 +000020 class PIC16TargetAsmInfo : public TargetAsmInfo {
Sanjiv Guptadc2943d2009-01-30 04:25:10 +000021 const char *RomData8bitsDirective;
22 const char *RomData16bitsDirective;
23 const char *RomData32bitsDirective;
Chris Lattnerc4c40a92009-07-28 03:13:23 +000024 public:
Chris Lattner055f6862009-08-02 04:41:14 +000025 PIC16TargetAsmInfo();
Chris Lattnerc4c40a92009-07-28 03:13:23 +000026
Chris Lattnerc8859c52009-07-20 17:12:46 +000027 virtual const char *getDataASDirective(unsigned size, unsigned AS) const;
Sanjiv Gupta09bb4202008-05-13 09:02:57 +000028 };
29
30} // namespace llvm
31
32#endif