Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 1 | //===-- IA64.h - Top-level interface for IA64 representation ------*- C++ -*-===// |
| 2 | // The LLVM Compiler Infrastructure |
| 3 | // |
Chris Lattner | 081ce94 | 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. |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 6 | // |
| 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 | |
Bill Wendling | 5ed22ac | 2009-04-29 23:29:43 +0000 | [diff] [blame] | 17 | #include "llvm/Target/TargetMachine.h" |
| 18 | |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 19 | namespace llvm { |
| 20 | |
| 21 | class IA64TargetMachine; |
| 22 | class FunctionPass; |
David Greene | 302008d | 2009-07-14 20:18:05 +0000 | [diff] [blame] | 23 | class formatted_raw_ostream; |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 24 | |
| 25 | /// createIA64DAGToDAGInstructionSelector - This pass converts an LLVM |
| 26 | /// function into IA64 machine code in a sane, DAG->DAG transform. |
| 27 | /// |
| 28 | FunctionPass *createIA64DAGToDAGInstructionSelector(IA64TargetMachine &TM); |
| 29 | |
| 30 | /// createIA64BundlingPass - This pass adds stop bits and bundles |
| 31 | /// instructions. |
| 32 | /// |
| 33 | FunctionPass *createIA64BundlingPass(IA64TargetMachine &TM); |
| 34 | |
| 35 | /// createIA64CodePrinterPass - Returns a pass that prints the IA64 |
| 36 | /// assembly code for a MachineFunction to the given output stream, |
| 37 | /// using the given target machine description. This should work |
| 38 | /// regardless of whether the function is in SSA form. |
| 39 | /// |
David Greene | 302008d | 2009-07-14 20:18:05 +0000 | [diff] [blame] | 40 | FunctionPass *createIA64CodePrinterPass(formatted_raw_ostream &o, |
Daniel Dunbar | fe5939f | 2009-07-15 20:24:03 +0000 | [diff] [blame] | 41 | TargetMachine &tm, |
Bill Wendling | 5ed22ac | 2009-04-29 23:29:43 +0000 | [diff] [blame] | 42 | bool verbose); |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 43 | |
Daniel Dunbar | 0b0441e | 2009-07-18 23:03:22 +0000 | [diff] [blame] | 44 | extern Target TheIA64Target; |
| 45 | |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 46 | } // End llvm namespace |
| 47 | |
| 48 | // Defines symbolic names for IA64 registers. This defines a mapping from |
| 49 | // register name to register number. |
| 50 | // |
| 51 | #include "IA64GenRegisterNames.inc" |
| 52 | |
| 53 | // Defines symbolic names for the IA64 instructions. |
| 54 | // |
| 55 | #include "IA64GenInstrNames.inc" |
| 56 | |
| 57 | #endif |
| 58 | |
| 59 | |