2009-08-22 22:48:53 +02:00
|
|
|
//=====-- PIC16MCAsmInfo.h - PIC16 asm properties -------------*- C++ -*--====//
|
2008-05-13 11:02:57 +02:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
2009-08-22 22:48:53 +02:00
|
|
|
// This file contains the declaration of the PIC16MCAsmInfo class.
|
2008-05-13 11:02:57 +02:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef PIC16TARGETASMINFO_H
|
|
|
|
#define PIC16TARGETASMINFO_H
|
|
|
|
|
2009-08-22 22:48:53 +02:00
|
|
|
#include "llvm/MC/MCAsmInfo.h"
|
2009-07-21 19:20:18 +02:00
|
|
|
|
2008-05-13 11:02:57 +02:00
|
|
|
namespace llvm {
|
2009-08-12 09:22:17 +02:00
|
|
|
class Target;
|
|
|
|
class StringRef;
|
|
|
|
|
2009-08-22 22:48:53 +02:00
|
|
|
class PIC16MCAsmInfo : public MCAsmInfo {
|
2009-01-30 05:25:10 +01:00
|
|
|
const char *RomData8bitsDirective;
|
|
|
|
const char *RomData16bitsDirective;
|
|
|
|
const char *RomData32bitsDirective;
|
2009-07-28 05:13:23 +02:00
|
|
|
public:
|
2009-08-22 22:48:53 +02:00
|
|
|
PIC16MCAsmInfo(const Target &T, const StringRef &TT);
|
2009-07-24 20:34:27 +02:00
|
|
|
|
2009-07-28 05:13:23 +02:00
|
|
|
virtual const char *getDataASDirective(unsigned size, unsigned AS) const;
|
2008-05-13 11:02:57 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace llvm
|
|
|
|
|
|
|
|
#endif
|