diff options
Diffstat (limited to 'llvm/lib/CodeGen/LiveRangeEdit.h')
| -rw-r--r-- | llvm/lib/CodeGen/LiveRangeEdit.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/LiveRangeEdit.h b/llvm/lib/CodeGen/LiveRangeEdit.h index 95181305600..6a4ccfdbc47 100644 --- a/llvm/lib/CodeGen/LiveRangeEdit.h +++ b/llvm/lib/CodeGen/LiveRangeEdit.h @@ -128,6 +128,14 @@ public: bool didRematerialize(const VNInfo *ParentVNI) const { return rematted_.count(ParentVNI); } + + /// eliminateDeadDefs - Try to delete machine instructions that are now dead + /// (allDefsAreDead returns true). This may cause live intervals to be trimmed + /// and further dead efs to be eliminated. + void eliminateDeadDefs(SmallVectorImpl<MachineInstr*> &Dead, + LiveIntervals&, + const TargetInstrInfo&); + }; } |

