Duraid Madina | 9b9d45f | 2005-03-17 18:17:03 +0000 | [diff] [blame] | 1 | //===-- IA64.h - Top-level interface for IA64 representation ------*- C++ -*-===// |
| 2 | // The LLVM Compiler Infrastructure |
| 3 | // |
Chris Lattner | 4ee451d | 2007-12-29 20:36:04 +0000 | [diff] [blame^] | 4 | // This file is distributed under the University of Illinois Open Source |
| 5 | // License. See LICENSE.TXT for details. |
Misha Brukman | 4633f1c | 2005-04-21 23:13:11 +0000 | [diff] [blame] | 6 | // |
Duraid Madina | 9b9d45f | 2005-03-17 18:17:03 +0000 | [diff] [blame] | 7 | //===----------------------------------------------------------------------===// |
| 8 | // |
| 9 | // This file contains the entry points for global functions defined in the IA64 |
| 10 | // target library, as used by the LLVM JIT. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | #ifndef TARGET_IA64_H |
| 15 | #define TARGET_IA64_H |
| 16 | |
| 17 | #include <iosfwd> |
| 18 | |
| 19 | namespace llvm { |
| 20 | |
Evan Cheng | c4c6257 | 2006-03-13 23:20:37 +0000 | [diff] [blame] | 21 | class IA64TargetMachine; |
Duraid Madina | 9b9d45f | 2005-03-17 18:17:03 +0000 | [diff] [blame] | 22 | class FunctionPass; |
Duraid Madina | 9b9d45f | 2005-03-17 18:17:03 +0000 | [diff] [blame] | 23 | |
Duraid Madina | f2db9b8 | 2005-10-28 17:46:35 +0000 | [diff] [blame] | 24 | /// createIA64DAGToDAGInstructionSelector - This pass converts an LLVM |
| 25 | /// function into IA64 machine code in a sane, DAG->DAG transform. |
| 26 | /// |
Evan Cheng | c4c6257 | 2006-03-13 23:20:37 +0000 | [diff] [blame] | 27 | FunctionPass *createIA64DAGToDAGInstructionSelector(IA64TargetMachine &TM); |
Duraid Madina | f2db9b8 | 2005-10-28 17:46:35 +0000 | [diff] [blame] | 28 | |
Duraid Madina | badf0d9 | 2006-01-25 02:23:38 +0000 | [diff] [blame] | 29 | /// createIA64BundlingPass - This pass adds stop bits and bundles |
| 30 | /// instructions. |
Duraid Madina | 9b9d45f | 2005-03-17 18:17:03 +0000 | [diff] [blame] | 31 | /// |
Evan Cheng | c4c6257 | 2006-03-13 23:20:37 +0000 | [diff] [blame] | 32 | FunctionPass *createIA64BundlingPass(IA64TargetMachine &TM); |
Duraid Madina | 9b9d45f | 2005-03-17 18:17:03 +0000 | [diff] [blame] | 33 | |
| 34 | /// createIA64CodePrinterPass - Returns a pass that prints the IA64 |
| 35 | /// assembly code for a MachineFunction to the given output stream, |
| 36 | /// using the given target machine description. This should work |
| 37 | /// regardless of whether the function is in SSA form. |
| 38 | /// |
Evan Cheng | c4c6257 | 2006-03-13 23:20:37 +0000 | [diff] [blame] | 39 | FunctionPass *createIA64CodePrinterPass(std::ostream &o, IA64TargetMachine &tm); |
Duraid Madina | 9b9d45f | 2005-03-17 18:17:03 +0000 | [diff] [blame] | 40 | |
| 41 | } // End llvm namespace |
| 42 | |
| 43 | // Defines symbolic names for IA64 registers. This defines a mapping from |
| 44 | // register name to register number. |
| 45 | // |
| 46 | #include "IA64GenRegisterNames.inc" |
| 47 | |
| 48 | // Defines symbolic names for the IA64 instructions. |
| 49 | // |
| 50 | #include "IA64GenInstrNames.inc" |
| 51 | |
| 52 | #endif |
| 53 | |
| 54 | |