Accelerate isel dispatch for tables that start with a top-level
[oota-llvm.git] / include / llvm / CodeGen / SelectionDAGISel.h
index fa3b08feec7ffeac9fc38cdfa311c74c86cf49d6..6ed9f49f06477635410319dee269967f3369cc64 100644 (file)
@@ -245,6 +245,10 @@ private:
   /// one preferred by the target.
   ///
   ScheduleDAGSDNodes *CreateScheduler();
+  
+  /// OpcodeOffset - This is a cache used to dispatch efficiently into isel
+  /// state machines that start with a OPC_SwitchOpcode node.
+  std::vector<unsigned> OpcodeOffset;
 };
 
 }