Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 1 | //===-- Alpha.h - Top-level interface for Alpha representation --*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
Chris Lattner | 081ce94 | 2007-12-29 20:36:04 +0000 | [diff] [blame] | 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 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 | |
Bill Wendling | 5ed22ac | 2009-04-29 23:29:43 +0000 | [diff] [blame] | 18 | #include "llvm/Target/TargetMachine.h" |
| 19 | |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 20 | namespace llvm { |
| 21 | |
| 22 | class AlphaTargetMachine; |
| 23 | class FunctionPass; |
David Greene | 302008d | 2009-07-14 20:18:05 +0000 | [diff] [blame] | 24 | class formatted_raw_ostream; |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 25 | |
Dan Gohman | b41dfba | 2008-05-14 01:58:56 +0000 | [diff] [blame] | 26 | FunctionPass *createAlphaISelDag(AlphaTargetMachine &TM); |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 27 | FunctionPass *createAlphaPatternInstructionSelector(TargetMachine &TM); |
Bruno Cardoso Lopes | 1ea31ff | 2009-05-30 20:51:52 +0000 | [diff] [blame] | 28 | FunctionPass *createAlphaJITCodeEmitterPass(AlphaTargetMachine &TM, |
Bruno Cardoso Lopes | aabb9a5 | 2009-07-06 05:09:34 +0000 | [diff] [blame] | 29 | JITCodeEmitter &JCE); |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 30 | FunctionPass *createAlphaLLRPPass(AlphaTargetMachine &tm); |
| 31 | FunctionPass *createAlphaBranchSelectionPass(); |
| 32 | |
Daniel Dunbar | 0b0441e | 2009-07-18 23:03:22 +0000 | [diff] [blame] | 33 | extern Target TheAlphaTarget; |
| 34 | |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 35 | } // end namespace llvm; |
| 36 | |
| 37 | // Defines symbolic names for Alpha registers. This defines a mapping from |
| 38 | // register name to register number. |
| 39 | // |
| 40 | #include "AlphaGenRegisterNames.inc" |
| 41 | |
| 42 | // Defines symbolic names for the Alpha instructions. |
| 43 | // |
| 44 | #include "AlphaGenInstrNames.inc" |
| 45 | |
| 46 | #endif |