blob: e83dbfd960f6145bbbfe7d2700a4f4adb1b1d8be [file] [log] [blame]
Sanjiv Gupta0e687712008-05-13 09:02:57 +00001//===-- PIC16.h - Top-level interface for PIC16 representation --*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
Sanjiv Gupta2d4e7f72008-05-14 06:50:01 +00005// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
Sanjiv Gupta0e687712008-05-13 09:02:57 +00007//
8//===----------------------------------------------------------------------===//
9//
10// This file contains the entry points for global functions defined in
11// the LLVM PIC16 back-end.
12//
13//===----------------------------------------------------------------------===//
14
15#ifndef TARGET_PIC16_H
16#define TARGET_PIC16_H
17
18#include <iosfwd>
19
20namespace llvm {
21 class PIC16TargetMachine;
22 class FunctionPassManager;
23 class FunctionPass;
24 class MachineCodeEmitter;
25
26 FunctionPass *createPIC16ISelDag(PIC16TargetMachine &TM);
27 FunctionPass *createPIC16CodePrinterPass(std::ostream &OS,
28 PIC16TargetMachine &TM);
29} // end namespace llvm;
30
31// Defines symbolic names for PIC16 registers. This defines a mapping from
32// register name to register number.
33#include "PIC16GenRegisterNames.inc"
34
35// Defines symbolic names for the PIC16 instructions.
36#include "PIC16GenInstrNames.inc"
37
38#endif