Fix loadv2i32 to be loadv4i32, though it isn't actually used anywhere yet.
[oota-llvm.git] / lib / Target / TargetSchedule.td
index 89c00cdc702f874cb8b21a624bb0465990a954fe..8ac537f977a1266555833f545566170b0e1f9f42 100644 (file)
@@ -28,8 +28,8 @@ class FuncUnit;
 // need to complete the stage.  Units represent the choice of functional units
 // that can be used to complete the stage.  Eg. IntUnit1, IntUnit2.
 //
-class InstrStage<int latency, list<FuncUnit> units> {
-  int Latency          = latency;     // length of stage in machine cycles
+class InstrStage<int cycles, list<FuncUnit> units> {
+  int Cycles          = cycles;       // length of stage in machine cycles
   list<FuncUnit> Units = units;       // choice of functional units
 }
 
@@ -47,6 +47,7 @@ class InstrStage<int latency, list<FuncUnit> units> {
 // instruction information.
 //
 class InstrItinClass;
+def NoItinerary : InstrItinClass;
 
 //===----------------------------------------------------------------------===//
 // Instruction itinerary data - These values provide a runtime map of an 
@@ -64,3 +65,8 @@ class InstrItinData<InstrItinClass Class, list<InstrStage> stages> {
 class ProcessorItineraries<list<InstrItinData> iid> {
   list<InstrItinData> IID = iid;
 }
+
+// NoItineraries - A marker that can be used by processors without schedule
+// info.
+def NoItineraries : ProcessorItineraries<[]>;
+