blob: 8fb9e0c29eb48cddfc023b81725c048923e1ba73 [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 {
20
21 // Forward declaration.
22 class PIC16TargetMachine;
Sanjiv Guptabb4a5c72009-05-06 08:02:01 +000023
Chris Lattnerc4c40a92009-07-28 03:13:23 +000024 class PIC16TargetAsmInfo : public TargetAsmInfo {
Sanjiv Guptadc2943d2009-01-30 04:25:10 +000025 const char *RomData8bitsDirective;
26 const char *RomData16bitsDirective;
27 const char *RomData32bitsDirective;
Chris Lattnerc4c40a92009-07-28 03:13:23 +000028 public:
29 PIC16TargetAsmInfo(const PIC16TargetMachine &TM);
30
31
Chris Lattnerc8859c52009-07-20 17:12:46 +000032 virtual const char *getDataASDirective(unsigned size, unsigned AS) const;
Sanjiv Gupta09bb4202008-05-13 09:02:57 +000033 };
34
35} // namespace llvm
36
37#endif