Misha Brukman | 2a8350a | 2005-02-05 02:24:26 +0000 | [diff] [blame] | 1 | //===-- Alpha.h - Top-level interface for Alpha representation --*- C++ -*-===// |
Andrew Lenharth | 304d0f3 | 2005-01-22 23:41:55 +0000 | [diff] [blame] | 2 | // |
| 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. |
| 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 <iosfwd> |
| 19 | |
| 20 | namespace llvm { |
| 21 | |
| 22 | class FunctionPass; |
| 23 | class TargetMachine; |
| 24 | |
| 25 | FunctionPass *createAlphaSimpleInstructionSelector(TargetMachine &TM); |
| 26 | FunctionPass *createAlphaCodePrinterPass(std::ostream &OS, |
| 27 | TargetMachine &TM); |
| 28 | FunctionPass *createAlphaPatternInstructionSelector(TargetMachine &TM); |
| 29 | |
| 30 | } // end namespace llvm; |
| 31 | |
| 32 | // Defines symbolic names for Alpha registers. This defines a mapping from |
| 33 | // register name to register number. |
| 34 | // |
| 35 | #include "AlphaGenRegisterNames.inc" |
| 36 | |
| 37 | // Defines symbolic names for the Alpha instructions. |
| 38 | // |
| 39 | #include "AlphaGenInstrNames.inc" |
| 40 | |
| 41 | #endif |