3285c4f631c3592c01bc71d3f533fbc44073f826
[oota-llvm.git] / lib / Target / Blackfin / Blackfin.h
1 //=== Blackfin.h - Top-level interface for Blackfin backend -----*- 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 the LLVM
11 // Blackfin back-end.
12 //
13 //===----------------------------------------------------------------------===//
14
15 #ifndef TARGET_BLACKFIN_H
16 #define TARGET_BLACKFIN_H
17
18 #include "llvm/Target/TargetMachine.h"
19
20 namespace llvm {
21
22   class FunctionPass;
23   class BlackfinTargetMachine;
24
25   FunctionPass *createBlackfinISelDag(BlackfinTargetMachine &TM,
26                                       CodeGenOpt::Level OptLevel);
27   extern Target TheBlackfinTarget;
28
29 } // end namespace llvm
30
31 // Defines symbolic names for Blackfin registers.  This defines a mapping from
32 // register name to register number.
33 #define GET_REGINFO_ENUM
34 #include "BlackfinGenRegisterInfo.inc"
35
36 // Defines symbolic names for the Blackfin instructions.
37 #include "BlackfinGenInstrNames.inc"
38
39 #endif