blob: f35acd573158a01574ec2f05da9841de53705033 [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
Sanjiv Guptab1b5ffd2008-11-19 11:00:54 +000015#ifndef LLVM_TARGET_PIC16_H
16#define LLVM_TARGET_PIC16_H
Sanjiv Gupta0e687712008-05-13 09:02:57 +000017
18#include <iosfwd>
19
20namespace llvm {
21 class PIC16TargetMachine;
Sanjiv Gupta0e687712008-05-13 09:02:57 +000022 class FunctionPass;
23 class MachineCodeEmitter;
Owen Andersoncb371882008-08-21 00:14:44 +000024 class raw_ostream;
Sanjiv Gupta0e687712008-05-13 09:02:57 +000025
26 FunctionPass *createPIC16ISelDag(PIC16TargetMachine &TM);
Owen Andersoncb371882008-08-21 00:14:44 +000027 FunctionPass *createPIC16CodePrinterPass(raw_ostream &OS,
Sanjiv Gupta0e687712008-05-13 09:02:57 +000028 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