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

Chris Lattner lattner at cs.uiuc.edu
Sat Jan 15 17:26:43 PST 2005



Changes in directory llvm/include/llvm/Target:

TargetSchedInfo.h updated: 1.32 -> 1.33
---
Log message:

Improve compatiblity with HPUX on Itanium, patch by Duraid Madina


---
Diffs of the changes:  (+7 -7)

Index: llvm/include/llvm/Target/TargetSchedInfo.h
diff -u llvm/include/llvm/Target/TargetSchedInfo.h:1.32 llvm/include/llvm/Target/TargetSchedInfo.h:1.33
--- llvm/include/llvm/Target/TargetSchedInfo.h:1.32	Wed Oct 27 11:14:51 2004
+++ llvm/include/llvm/Target/TargetSchedInfo.h	Sat Jan 15 19:26:31 2005
@@ -22,9 +22,9 @@
 
 namespace llvm {
 
-typedef long long cycles_t; 
-static const cycles_t HUGE_LATENCY = ~((long long) 1 << (sizeof(cycles_t)-2));
-static const cycles_t INVALID_LATENCY = -HUGE_LATENCY; 
+typedef long long CycleCount_t; 
+static const CycleCount_t HUGE_LATENCY = ~((long long) 1 << (sizeof(CycleCount_t)-2));
+static const CycleCount_t INVALID_LATENCY = -HUGE_LATENCY; 
 
 //---------------------------------------------------------------------------
 // class MachineResource 
@@ -78,7 +78,7 @@
   unsigned      maxNumIssue;
   bool	        isSingleIssue;
   bool	        breaksGroup;
-  cycles_t      numBubbles;
+  CycleCount_t      numBubbles;
   
   // Feasible slots to use for instructions in this class.
   // The size of vector S[] is `numSlots'.
@@ -109,7 +109,7 @@
   MachineOpCode	opCode;
   bool		isSingleIssue;
   bool		breaksGroup;
-  cycles_t	numBubbles;
+  CycleCount_t	numBubbles;
 };
 
 
@@ -119,13 +119,13 @@
   // Issue restrictions for this instruction
   bool		isSingleIssue;
   bool		breaksGroup;
-  cycles_t	numBubbles;
+  CycleCount_t	numBubbles;
   
   // Feasible slots to use for this instruction.
   std::vector<bool> feasibleSlots;
   
   // Resource usages for this instruction, with one resource vector per cycle.
-  cycles_t	numCycles;
+  CycleCount_t	numCycles;
   std::vector<std::vector<resourceId_t> > resourcesByCycle;
   
 private:






More information about the llvm-commits mailing list