LLVM API Documentation
00001 //=====-- PIC16TargetAsmInfo.h - PIC16 asm properties ---------*- C++ -*--====// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file is distributed under the University of Illinois Open Source 00006 // License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 // 00010 // This file contains the declaration of the PIC16TargetAsmInfo class. 00011 // 00012 //===----------------------------------------------------------------------===// 00013 00014 #ifndef PIC16TARGETASMINFO_H 00015 #define PIC16TARGETASMINFO_H 00016 00017 #include "llvm/Target/TargetAsmInfo.h" 00018 00019 namespace llvm { 00020 class Target; 00021 class StringRef; 00022 00023 class PIC16TargetAsmInfo : public TargetAsmInfo { 00024 const char *RomData8bitsDirective; 00025 const char *RomData16bitsDirective; 00026 const char *RomData32bitsDirective; 00027 public: 00028 PIC16TargetAsmInfo(const Target &T, const StringRef &TT); 00029 00030 virtual const char *getDataASDirective(unsigned size, unsigned AS) const; 00031 }; 00032 00033 } // namespace llvm 00034 00035 #endif