-/* Title: PhyRegAlloc.h -*- C++ -*-
- Author: Ruchira Sasanka
- Date: Aug 20, 01
- Purpose: This is the main entry point for register allocation.
-
- Notes:
- =====
-
- * RegisterClasses: Each RegClass accepts a
- MachineRegClass which contains machine specific info about that register
- class. The code in the RegClass is machine independent and they use
- access functions in the MachineRegClass object passed into it to get
- machine specific info.
-
- * Machine dependent work: All parts of the register coloring algorithm
- except coloring of an individual node are machine independent.
-
- Register allocation must be done as:
-
- FunctionLiveVarInfo LVI(*FunctionI ); // compute LV info
- LVI.analyze();
-
- TargetMachine &target = ....
-
-
- PhyRegAlloc PRA(*FunctionI, target, &LVI); // allocate regs
- PRA.allocateRegisters();
-*/
-
-#ifndef PHY_REG_ALLOC_H
-#define PHY_REG_ALLOC_H
-
-#include "llvm/CodeGen/RegClass.h"
-#include "llvm/CodeGen/LiveRangeInfo.h"
-#include <vector>
+//===-- PhyRegAlloc.h - Graph Coloring Register Allocator -------*- c++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This is the main entry point for register allocation.
+//
+// Notes:
+// * RegisterClasses: Each RegClass accepts a
+// TargetRegClass which contains machine specific info about that register
+// class. The code in the RegClass is machine independent and they use
+// access functions in the TargetRegClass object passed into it to get
+// machine specific info.
+//
+// * Machine dependent work: All parts of the register coloring algorithm
+// except coloring of an individual node are machine independent.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef PHYREGALLOC_H
+#define PHYREGALLOC_H
+
+#include "LiveRangeInfo.h"
+#include "llvm/Pass.h"
+#include "llvm/CodeGen/MachineBasicBlock.h"
+#include "llvm/Target/TargetMachine.h"
+#include "../SparcV9RegInfo.h"