Sanjiv Gupta | 0e68771 | 2008-05-13 09:02:57 +0000 | [diff] [blame] | 1 | //===-- PIC16.h - Top-level interface for PIC16 representation --*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
Sanjiv Gupta | 2d4e7f7 | 2008-05-14 06:50:01 +0000 | [diff] [blame^] | 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
Sanjiv Gupta | 0e68771 | 2008-05-13 09:02:57 +0000 | [diff] [blame] | 7 | // |
| 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 | |
| 20 | namespace 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 |