Overhaul my earlier submission due to feedback. It's a large patch, but most of
[oota-llvm.git] / lib / Target / Alpha / Alpha.h
1 //===-- Alpha.h - Top-level interface for Alpha 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 the LLVM
11 // Alpha back-end.
12 //
13 //===----------------------------------------------------------------------===//
14
15 #ifndef TARGET_ALPHA_H
16 #define TARGET_ALPHA_H
17
18 namespace llvm {
19
20   class AlphaTargetMachine;
21   class FunctionPass;
22   class TargetMachine;
23   class MachineCodeEmitter;
24   class raw_ostream;
25
26   FunctionPass *createAlphaISelDag(AlphaTargetMachine &TM);
27   FunctionPass *createAlphaCodePrinterPass(raw_ostream &OS,
28                                            TargetMachine &TM,
29                                            bool Fast);
30   FunctionPass *createAlphaPatternInstructionSelector(TargetMachine &TM);
31   FunctionPass *createAlphaCodeEmitterPass(AlphaTargetMachine &TM,
32                                            MachineCodeEmitter &MCE);
33   FunctionPass *createAlphaLLRPPass(AlphaTargetMachine &tm);
34   FunctionPass *createAlphaBranchSelectionPass();
35
36 } // end namespace llvm;
37
38 // Defines symbolic names for Alpha registers.  This defines a mapping from
39 // register name to register number.
40 //
41 #include "AlphaGenRegisterNames.inc"
42
43 // Defines symbolic names for the Alpha instructions.
44 //
45 #include "AlphaGenInstrNames.inc"
46
47 #endif