Rafael Espindola | 7bc59bc | 2006-05-14 22:18:28 +0000 | [diff] [blame] | 1 | //===-- ARM.h - Top-level interface for ARM representation---- --*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file was developed by the "Instituto Nokia de Tecnologia" and |
| 6 | // is distributed under the University of Illinois Open Source |
| 7 | // License. See LICENSE.TXT for details. |
| 8 | // |
| 9 | //===----------------------------------------------------------------------===// |
| 10 | // |
| 11 | // This file contains the entry points for global functions defined in the LLVM |
| 12 | // ARM back-end. |
| 13 | // |
| 14 | //===----------------------------------------------------------------------===// |
| 15 | |
| 16 | #ifndef TARGET_ARM_H |
| 17 | #define TARGET_ARM_H |
| 18 | |
| 19 | #include <iosfwd> |
| 20 | #include <cassert> |
| 21 | |
| 22 | namespace llvm { |
| 23 | class FunctionPass; |
| 24 | class TargetMachine; |
| 25 | |
| 26 | FunctionPass *createARMISelDag(TargetMachine &TM); |
| 27 | FunctionPass *createARMCodePrinterPass(std::ostream &OS, TargetMachine &TM); |
| 28 | } // end namespace llvm; |
| 29 | |
| 30 | // Defines symbolic names for ARM registers. This defines a mapping from |
| 31 | // register name to register number. |
| 32 | // |
| 33 | #include "ARMGenRegisterNames.inc" |
| 34 | |
| 35 | // Defines symbolic names for the ARM instructions. |
| 36 | // |
| 37 | #include "ARMGenInstrNames.inc" |
| 38 | |
| 39 | |
| 40 | #endif |