blob: 5c2a4cce828eba47e8e72525f5f1d82704ef4d2c [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//
5// This file was developed by Bruno Cardoso Lopes and is distributed under the
6// University of Illinois Open Source License. See LICENSE.TXT for details.
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
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