Duraid Madina | 9b9d45f | 2005-03-17 18:17:03 +0000 | [diff] [blame] | 1 | //===-- IA64MachineFunctionInfo.h - IA64-specific information ---*- C++ -*-===// |
| 2 | //===-- for MachineFunction ---*- C++ -*-===// |
Misha Brukman | 4633f1c | 2005-04-21 23:13:11 +0000 | [diff] [blame^] | 3 | // |
Duraid Madina | 9b9d45f | 2005-03-17 18:17:03 +0000 | [diff] [blame] | 4 | // The LLVM Compiler Infrastructure |
Misha Brukman | 4633f1c | 2005-04-21 23:13:11 +0000 | [diff] [blame^] | 5 | // |
Duraid Madina | 9b9d45f | 2005-03-17 18:17:03 +0000 | [diff] [blame] | 6 | //===----------------------------------------------------------------------===// |
Misha Brukman | 4633f1c | 2005-04-21 23:13:11 +0000 | [diff] [blame^] | 7 | // |
Duraid Madina | 9b9d45f | 2005-03-17 18:17:03 +0000 | [diff] [blame] | 8 | // This file declares IA64-specific per-machine-function information. |
| 9 | // |
| 10 | //===----------------------------------------------------------------------===// |
| 11 | |
| 12 | #ifndef IA64MACHINEFUNCTIONINFO_H |
| 13 | #define IA64MACHINEFUNCTIONINFO_H |
| 14 | |
| 15 | #include "llvm/CodeGen/MachineFunction.h" |
| 16 | //#include "IA64JITInfo.h" |
| 17 | |
| 18 | namespace llvm { |
| 19 | |
| 20 | class IA64FunctionInfo : public MachineFunctionInfo { |
Misha Brukman | 4633f1c | 2005-04-21 23:13:11 +0000 | [diff] [blame^] | 21 | |
Duraid Madina | 9b9d45f | 2005-03-17 18:17:03 +0000 | [diff] [blame] | 22 | public: |
| 23 | unsigned outRegsUsed; // how many 'out' registers are used |
| 24 | // by this machinefunction? (used to compute the appropriate |
| 25 | // entry in the 'alloc' instruction at the top of the |
| 26 | // machinefunction) |
| 27 | IA64FunctionInfo(MachineFunction& MF) { outRegsUsed=0; }; |
| 28 | |
| 29 | }; |
| 30 | |
| 31 | } // End llvm namespace |
| 32 | |
| 33 | #endif |
| 34 | |