blob: 305e74d5a3010ee677e16c000c69b76f1c0fbbff [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"
18
19namespace llvm {
20
21 // Forward declaration.
22 class PIC16TargetMachine;
23
24 struct PIC16TargetAsmInfo : public TargetAsmInfo {
25 PIC16TargetAsmInfo(const PIC16TargetMachine &TM);
Sanjiv Gupta3b020fe2009-02-02 16:53:06 +000026 private:
Sanjiv Guptac8d7bc82009-01-30 04:25:10 +000027 const char *RomData8bitsDirective;
28 const char *RomData16bitsDirective;
29 const char *RomData32bitsDirective;
Sanjiv Gupta3b020fe2009-02-02 16:53:06 +000030 const char *getRomDirective(unsigned size) const;
31 virtual const char *getASDirective(unsigned size, unsigned AS) const;
Sanjiv Gupta0e687712008-05-13 09:02:57 +000032 };
33
34} // namespace llvm
35
36#endif