MachineCombiner Pass for selecting faster instruction
[oota-llvm.git] / include / llvm / CodeGen / TargetSchedule.h
index 690b70fad89b5b42992f5a84ec3976b7b9db27b8..51f79ae4e7486f05d1fa4ef32378ce1b234b901d 100644 (file)
@@ -167,6 +167,7 @@ public:
   /// if converter after moving it to TargetSchedModel).
   unsigned computeInstrLatency(const MachineInstr *MI,
                                bool UseDefaultDefLatency = true) const;
+  unsigned computeInstrLatency(unsigned Opcode) const;
 
   /// \brief Output dependency latency of a pair of defs of the same register.
   ///