1 //===-- Alpha.h - Top-level interface for Alpha representation --*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file contains the entry points for global functions defined in the LLVM
13 //===----------------------------------------------------------------------===//
15 #ifndef TARGET_ALPHA_H
16 #define TARGET_ALPHA_H
18 #include "llvm/Target/TargetMachine.h"
22 class AlphaTargetMachine
;
24 class MachineCodeEmitter
;
25 class ObjectCodeEmitter
;
26 class formatted_raw_ostream
;
28 FunctionPass
*createAlphaISelDag(AlphaTargetMachine
&TM
);
29 FunctionPass
*createAlphaPatternInstructionSelector(TargetMachine
&TM
);
30 FunctionPass
*createAlphaCodeEmitterPass(AlphaTargetMachine
&TM
,
31 MachineCodeEmitter
&MCE
);
32 FunctionPass
*createAlphaJITCodeEmitterPass(AlphaTargetMachine
&TM
,
34 FunctionPass
*createAlphaObjectCodeEmitterPass(AlphaTargetMachine
&TM
,
35 ObjectCodeEmitter
&OCE
);
36 FunctionPass
*createAlphaLLRPPass(AlphaTargetMachine
&tm
);
37 FunctionPass
*createAlphaBranchSelectionPass();
39 extern Target TheAlphaTarget
;
41 } // end namespace llvm;
43 // Defines symbolic names for Alpha registers. This defines a mapping from
44 // register name to register number.
46 #include "AlphaGenRegisterNames.inc"
48 // Defines symbolic names for the Alpha instructions.
50 #include "AlphaGenInstrNames.inc"