LLVM 22.0.0git
llvm::LiveIntervals::HMEditor Class Reference

Toolkit used by handleMove to trim or extend live intervals. More...

Public Member Functions

 HMEditor (LiveIntervals &LIS, const MachineRegisterInfo &MRI, const TargetRegisterInfo &TRI, SlotIndex OldIdx, SlotIndex NewIdx, bool UpdateFlags)
LiveRangegetRegUnitLI (unsigned Unit)
void updateAllRanges (MachineInstr *MI)
 Update all live ranges touched by MI, assuming a move from OldIdx to NewIdx.

Detailed Description

Toolkit used by handleMove to trim or extend live intervals.

Definition at line 1025 of file LiveIntervals.cpp.

Constructor & Destructor Documentation

◆ HMEditor()

llvm::LiveIntervals::HMEditor::HMEditor ( LiveIntervals & LIS,
const MachineRegisterInfo & MRI,
const TargetRegisterInfo & TRI,
SlotIndex OldIdx,
SlotIndex NewIdx,
bool UpdateFlags )
inline

Definition at line 1036 of file LiveIntervals.cpp.

Member Function Documentation

◆ getRegUnitLI()

LiveRange * llvm::LiveIntervals::HMEditor::getRegUnitLI ( unsigned Unit)
inline

Definition at line 1046 of file LiveIntervals.cpp.

Referenced by updateAllRanges().

◆ updateAllRanges()

void llvm::LiveIntervals::HMEditor::updateAllRanges ( MachineInstr * MI)
inline

The documentation for this class was generated from the following file: