Move instrIsFeasible from InstrScheduling.h

llvm-svn: 1674
diff --git a/llvm/lib/CodeGen/InstrSched/SchedPriorities.h b/llvm/lib/CodeGen/InstrSched/SchedPriorities.h
index 7cbd0d1..78b685d 100644
--- a/llvm/lib/CodeGen/InstrSched/SchedPriorities.h
+++ b/llvm/lib/CodeGen/InstrSched/SchedPriorities.h
@@ -32,7 +32,9 @@
 class MachineInstr;
 class SchedulingManager;
 
+//---------------------------------------------------------------------------
 // Debug option levels for instruction scheduling
+
 enum SchedDebugLevel_t {
   Sched_NoDebugInfo,
   Sched_PrintMachineCode, 
@@ -42,6 +44,19 @@
 
 extern cl::Enum<SchedDebugLevel_t> SchedDebugLevel;
 
+//---------------------------------------------------------------------------
+// Function: instrIsFeasible
+// 
+// Purpose:
+//   Used by the priority analysis to filter out instructions
+//   that are not feasible to issue in the current cycle.
+//   Should only be used during schedule construction..
+//---------------------------------------------------------------------------
+
+bool instrIsFeasible(const SchedulingManager &S, MachineOpCode opCode);
+
+
+
 struct NodeDelayPair {
   const SchedGraphNode* node;
   cycles_t delay;