0818e25b33a20934284199ffc0ffe55aaf2288e4
[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 #include "llvm/Target/TargetMachine.h"
19
20 namespace llvm {
21
22   class AlphaTargetMachine;
23   class FunctionPass;
24   class MachineCodeEmitter;
25   class raw_ostream;
26
27   FunctionPass *createAlphaISelDag(AlphaTargetMachine &TM);
28   FunctionPass *createAlphaCodePrinterPass(raw_ostream &OS,
29                                            TargetMachine &TM,
30                                            bool Verbose);
31   FunctionPass *createAlphaPatternInstructionSelector(TargetMachine &TM);
32   FunctionPass *createAlphaCodeEmitterPass(AlphaTargetMachine &TM,
33                                            MachineCodeEmitter &MCE);
34   FunctionPass *createAlphaJITCodeEmitterPass(AlphaTargetMachine &TM,
35                                            JITCodeEmitter &JCE);
36   FunctionPass *createAlphaLLRPPass(AlphaTargetMachine &tm);
37   FunctionPass *createAlphaBranchSelectionPass();
38
39 } // end namespace llvm;
40
41 // Defines symbolic names for Alpha registers.  This defines a mapping from
42 // register name to register number.
43 //
44 #include "AlphaGenRegisterNames.inc"
45
46 // Defines symbolic names for the Alpha instructions.
47 //
48 #include "AlphaGenInstrNames.inc"
49
50 #endif