Misha Brukman | 2a8350a | 2005-02-05 02:24:26 +0000 | [diff] [blame] | 1 | //===-- Alpha.h - Top-level interface for Alpha representation --*- C++ -*-===// |
Misha Brukman | 4633f1c | 2005-04-21 23:13:11 +0000 | [diff] [blame] | 2 | // |
Andrew Lenharth | 304d0f3 | 2005-01-22 23:41:55 +0000 | [diff] [blame] | 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
Chris Lattner | 4ee451d | 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. |
Misha Brukman | 4633f1c | 2005-04-21 23:13:11 +0000 | [diff] [blame] | 7 | // |
Andrew Lenharth | 304d0f3 | 2005-01-22 23:41:55 +0000 | [diff] [blame] | 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 | |
Andrew Lenharth | 304d0f3 | 2005-01-22 23:41:55 +0000 | [diff] [blame] | 18 | namespace llvm { |
| 19 | |
Evan Cheng | 55fc280 | 2006-07-25 20:40:54 +0000 | [diff] [blame] | 20 | class AlphaTargetMachine; |
Andrew Lenharth | 304d0f3 | 2005-01-22 23:41:55 +0000 | [diff] [blame] | 21 | class FunctionPass; |
| 22 | class TargetMachine; |
Andrew Lenharth | 0934ae0 | 2005-07-22 20:52:16 +0000 | [diff] [blame] | 23 | class MachineCodeEmitter; |
Owen Anderson | cb37188 | 2008-08-21 00:14:44 +0000 | [diff] [blame] | 24 | class raw_ostream; |
Andrew Lenharth | 304d0f3 | 2005-01-22 23:41:55 +0000 | [diff] [blame] | 25 | |
Dan Gohman | c9f5f3f | 2008-05-14 01:58:56 +0000 | [diff] [blame] | 26 | FunctionPass *createAlphaISelDag(AlphaTargetMachine &TM); |
Owen Anderson | cb37188 | 2008-08-21 00:14:44 +0000 | [diff] [blame] | 27 | FunctionPass *createAlphaCodePrinterPass(raw_ostream &OS, |
Bill Wendling | 57f0db8 | 2009-02-24 08:30:20 +0000 | [diff] [blame] | 28 | TargetMachine &TM, |
Bill Wendling | be8cc2a | 2009-04-29 00:15:41 +0000 | [diff] [blame] | 29 | unsigned OptLevel, bool Verbose); |
Andrew Lenharth | 304d0f3 | 2005-01-22 23:41:55 +0000 | [diff] [blame] | 30 | FunctionPass *createAlphaPatternInstructionSelector(TargetMachine &TM); |
Evan Cheng | 55fc280 | 2006-07-25 20:40:54 +0000 | [diff] [blame] | 31 | FunctionPass *createAlphaCodeEmitterPass(AlphaTargetMachine &TM, |
| 32 | MachineCodeEmitter &MCE); |
Andrew Lenharth | 2ab804c | 2006-09-18 19:44:29 +0000 | [diff] [blame] | 33 | FunctionPass *createAlphaLLRPPass(AlphaTargetMachine &tm); |
Andrew Lenharth | f81173f | 2006-10-31 16:49:55 +0000 | [diff] [blame] | 34 | FunctionPass *createAlphaBranchSelectionPass(); |
Andrew Lenharth | 2ab804c | 2006-09-18 19:44:29 +0000 | [diff] [blame] | 35 | |
Andrew Lenharth | 304d0f3 | 2005-01-22 23:41:55 +0000 | [diff] [blame] | 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 |