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 | // |
| 5 | // This file was developed by the LLVM research group and is distributed under |
| 6 | // the University of Illinois Open Source 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 | |
| 18 | #include <iosfwd> |
| 19 | |
| 20 | namespace llvm { |
| 21 | |
Evan Cheng | 55fc280 | 2006-07-25 20:40:54 +0000 | [diff] [blame] | 22 | class AlphaTargetMachine; |
Andrew Lenharth | 304d0f3 | 2005-01-22 23:41:55 +0000 | [diff] [blame] | 23 | class FunctionPass; |
| 24 | class TargetMachine; |
Andrew Lenharth | 0934ae0 | 2005-07-22 20:52:16 +0000 | [diff] [blame] | 25 | class MachineCodeEmitter; |
Andrew Lenharth | 304d0f3 | 2005-01-22 23:41:55 +0000 | [diff] [blame] | 26 | |
| 27 | FunctionPass *createAlphaSimpleInstructionSelector(TargetMachine &TM); |
Andrew Lenharth | 4907d22 | 2005-10-20 00:28:31 +0000 | [diff] [blame] | 28 | FunctionPass *createAlphaISelDag(TargetMachine &TM); |
Andrew Lenharth | 304d0f3 | 2005-01-22 23:41:55 +0000 | [diff] [blame] | 29 | FunctionPass *createAlphaCodePrinterPass(std::ostream &OS, |
| 30 | TargetMachine &TM); |
| 31 | FunctionPass *createAlphaPatternInstructionSelector(TargetMachine &TM); |
Evan Cheng | 55fc280 | 2006-07-25 20:40:54 +0000 | [diff] [blame] | 32 | FunctionPass *createAlphaCodeEmitterPass(AlphaTargetMachine &TM, |
| 33 | MachineCodeEmitter &MCE); |
Andrew Lenharth | 2ab804c | 2006-09-18 19:44:29 +0000 | [diff] [blame^] | 34 | FunctionPass *createAlphaLLRPPass(AlphaTargetMachine &tm); |
| 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 |