- /// - if @p dead != nullptr then dead operands are marked as such and
- /// completely dead machine instructions are added to the @p dead vector.
- /// - CanSeparate is set to true if the interval may have been separated
- /// into multiple connected components.
- void computeDeadValues(LiveRange &Segments, LiveRange &LR,
- bool *CanSeparate = nullptr, unsigned Reg = 0,
- SmallVectorImpl<MachineInstr*> *dead = nullptr);
+ /// - Dead operands are marked as such.
+ /// - Completely dead machine instructions are added to the @p dead vector
+ /// if it is not nullptr.
+ /// Returns true if any PHI value numbers have been removed which may
+ /// have separated the interval into multiple connected components.
+ bool computeDeadValues(LiveInterval &LI,
+ SmallVectorImpl<MachineInstr*> *dead);