Inline check that's used only once.
[oota-llvm.git] / lib / CodeGen / LiveRangeEdit.h
index 0e03137c8622004906a56b0348385c84e23b4e56..04eced6d79b7d59bc659285422a08327e75dd42b 100644 (file)
@@ -125,6 +125,11 @@ public:
   bool anyRematerializable(LiveIntervals&, const TargetInstrInfo&,
                            AliasAnalysis*);
 
+  /// checkRematerializable - Manually add VNI to the list of rematerializable
+  /// values if DefMI may be rematerializable.
+  void checkRematerializable(VNInfo *VNI, const MachineInstr *DefMI,
+                             const TargetInstrInfo&, AliasAnalysis*);
+
   /// Remat - Information needed to rematerialize at a specific location.
   struct Remat {
     VNInfo *ParentVNI;      // parent_'s value at the remat location.