[llvm-commits] CVS: llvm/include/llvm/Target/TargetSchedInfo.h

Tanya Brethour tbrethou at cs.uiuc.edu
Sat May 8 11:14:04 PDT 2004


Changes in directory llvm/include/llvm/Target:

TargetSchedInfo.h updated: 1.26 -> 1.27

---
Log message:

Changed CPUResource to allow access to max num users for a resource.
Also added ModuloScheduling as a friend.


---
Diffs of the changes:  (+2 -3)

Index: llvm/include/llvm/Target/TargetSchedInfo.h
diff -u llvm/include/llvm/Target/TargetSchedInfo.h:1.26 llvm/include/llvm/Target/TargetSchedInfo.h:1.27
--- llvm/include/llvm/Target/TargetSchedInfo.h:1.26	Fri Apr 30 15:48:37 2004
+++ llvm/include/llvm/Target/TargetSchedInfo.h	Sat May  8 11:13:26 2004
@@ -68,7 +68,7 @@
   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 @@
 			   conflictLists;   // indexed by [opcode]
 
 
-  friend class ModuloSchedGraph;
-  friend class ModuloScheduling;
+  friend class ModuloSchedulingPass;
   
 };
 





More information about the llvm-commits mailing list