Move getAnalysisUsage method from header to .cpp file. Add a normal file
[oota-llvm.git] / lib / Target / SparcV9 / RegAlloc / PhyRegAlloc.cpp
index 0c64846e5cbea968ca42c1957f02313a1ca78c39..92cf3765168e9f139549fb6d3113e2959208b5f6 100644 (file)
@@ -43,6 +43,12 @@ FunctionPass *getRegisterAllocator(TargetMachine &T) {
   return new PhyRegAlloc (T);
 }
 
+void PhyRegAlloc::getAnalysisUsage(AnalysisUsage &AU) const {
+  AU.addRequired<LoopInfo> ();
+  AU.addRequired<FunctionLiveVarInfo> ();
+}
+
+
 
 //----------------------------------------------------------------------------
 // This method initially creates interference graphs (one in each reg class)