Delete the allocate*TargetMachine functions. Move options to a header file
[oota-llvm.git] / include / llvm / Target / TargetSchedInfo.h
index 343c097ef33f33a53999351449d8d5159aa12b57..7357c17cfb4d6625feedffcd951716f160bab706 100644 (file)
@@ -68,7 +68,7 @@ struct CPUResource {
   int maxNumUsers;   // MAXINT if no restriction
   
   CPUResource(const std::string& resourceName, int maxUsers);
-
+  static CPUResource* getCPUResource(resourceId_t id);
 private:
   static resourceId_t nextId;
 };
@@ -302,8 +302,7 @@ protected:
                           conflictLists;   // indexed by [opcode]
 
 
-  friend class ModuloSchedGraph;
-  friend class ModuloScheduling;
+  friend class ModuloSchedulingPass;
   
 };