2005-03-18 02:17:03 +08:00
|
|
|
//===-- IA64MachineFunctionInfo.h - IA64-specific information ---*- C++ -*-===//
|
|
|
|
//===-- for MachineFunction ---*- C++ -*-===//
|
2005-04-22 07:13:11 +08:00
|
|
|
//
|
2005-03-18 02:17:03 +08:00
|
|
|
// The LLVM Compiler Infrastructure
|
2005-04-22 07:13:11 +08:00
|
|
|
//
|
2005-03-18 02:17:03 +08:00
|
|
|
//===----------------------------------------------------------------------===//
|
2005-04-22 07:13:11 +08:00
|
|
|
//
|
2005-03-18 02:17:03 +08:00
|
|
|
// This file declares IA64-specific per-machine-function information.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef IA64MACHINEFUNCTIONINFO_H
|
|
|
|
#define IA64MACHINEFUNCTIONINFO_H
|
|
|
|
|
|
|
|
#include "llvm/CodeGen/MachineFunction.h"
|
|
|
|
//#include "IA64JITInfo.h"
|
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
|
|
|
class IA64FunctionInfo : public MachineFunctionInfo {
|
2005-04-22 07:13:11 +08:00
|
|
|
|
2005-03-18 02:17:03 +08:00
|
|
|
public:
|
|
|
|
unsigned outRegsUsed; // how many 'out' registers are used
|
|
|
|
// by this machinefunction? (used to compute the appropriate
|
|
|
|
// entry in the 'alloc' instruction at the top of the
|
|
|
|
// machinefunction)
|
2009-06-06 07:05:51 +08:00
|
|
|
explicit IA64FunctionInfo(MachineFunction& MF) { outRegsUsed=0; };
|
2005-03-18 02:17:03 +08:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
} // End llvm namespace
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|