Fixed some bugs.
[llvm/zpu.git] / lib / Target / ZPU / ZPU.h
blob5d0b00cd7f844e2c8c7b4934a3170fc2f8a6101d
1 //===-- ZPU.h - Top-level interface for ZPU representation ----*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file contains the entry points for global functions defined in
11 // the LLVM ZPU back-end.
13 //===----------------------------------------------------------------------===//
15 #ifndef TARGET_ZPU_H
16 #define TARGET_ZPU_H
18 #include "llvm/Target/TargetMachine.h"
20 namespace llvm {
21 class ZPUTargetMachine;
22 class FunctionPass;
23 class MachineCodeEmitter;
24 class formatted_raw_ostream;
26 FunctionPass *createZPUISelDag(ZPUTargetMachine &TM);
27 FunctionPass *createZPUStackSlotPass();
28 extern Target TheZPUTarget;
29 } // end namespace llvm;
31 // Defines symbolic names for ZPU registers. This defines a mapping from
32 // register name to register number.
33 #include "ZPUGenRegisterNames.inc"
35 // Defines symbolic names for the ZPU instructions.
36 #include "ZPUGenInstrNames.inc"
38 #endif