summaryrefslogtreecommitdiff
path: root/lib/Target/PIC16/PIC16MCAsmInfo.h
blob: e84db8532a1510c7ce224cc4dd5b2088bfe80a2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//=====-- PIC16MCAsmInfo.h - PIC16 asm properties -------------*- C++ -*--====//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source 
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file contains the declaration of the PIC16MCAsmInfo class.
//
//===----------------------------------------------------------------------===//

#ifndef PIC16TARGETASMINFO_H
#define PIC16TARGETASMINFO_H

#include "llvm/MC/MCAsmInfo.h"

namespace llvm {
  class Target;
  class StringRef;

  class PIC16MCAsmInfo : public MCAsmInfo {
    const char *RomData8bitsDirective;
    const char *RomData16bitsDirective;
    const char *RomData32bitsDirective;
  public:    
    PIC16MCAsmInfo(const Target &T, const StringRef &TT);
    
    virtual const char *getDataASDirective(unsigned size, unsigned AS) const;
  };

} // namespace llvm

#endif