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 00021 // Forward declaration. 00022 class PIC16TargetMachine; 00023 00024 struct PIC16TargetAsmInfo : public TargetAsmInfo { 00025 PIC16TargetAsmInfo(const PIC16TargetMachine &TM); 00026 private: 00027 const char *RomData8bitsDirective; 00028 const char *RomData16bitsDirective; 00029 const char *RomData32bitsDirective; 00030 const char *getRomDirective(unsigned size) const; 00031 virtual const char *getASDirective(unsigned size, unsigned AS) const; 00032 }; 00033 00034 } // namespace llvm 00035 00036 #endif