1 //=====-- PIC16TargetAsmInfo.h - PIC16 asm properties ---------*- C++ -*--====//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file contains the declaration of the PIC16TargetAsmInfo class.
12 //===----------------------------------------------------------------------===//
14 #ifndef PIC16TARGETASMINFO_H
15 #define PIC16TARGETASMINFO_H
17 #include "llvm/Target/TargetAsmInfo.h"
21 // Forward declaration.
22 class PIC16TargetMachine
;
24 struct PIC16TargetAsmInfo
: public TargetAsmInfo
{
25 PIC16TargetAsmInfo(const PIC16TargetMachine
&TM
);
27 const char *RomData8bitsDirective
;
28 const char *RomData16bitsDirective
;
29 const char *RomData32bitsDirective
;
30 const char *getRomDirective(unsigned size
) const;
31 virtual const char *getASDirective(unsigned size
, unsigned AS
) const;