LLVM 20.0.0git
|
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) | |
LiveRange * | getRegUnitLI (unsigned Unit) |
void | updateAllRanges (MachineInstr *MI) |
Update all live ranges touched by MI, assuming a move from OldIdx to NewIdx. | |
Toolkit used by handleMove to trim or extend live intervals.
Definition at line 1011 of file LiveIntervals.cpp.
|
inline |
Definition at line 1022 of file LiveIntervals.cpp.
Definition at line 1032 of file LiveIntervals.cpp.
References llvm::LiveIntervals::getCachedRegUnit(), llvm::LiveIntervals::getRegUnit(), and MRI.
Referenced by llvm::LiveIntervals::HMEditor::updateAllRanges().
|
inline |
Update all live ranges touched by MI, assuming a move from OldIdx to NewIdx.
Definition at line 1040 of file LiveIntervals.cpp.
References llvm::LiveRange::clear(), llvm::LiveIntervals::constructMainRangeFromSubranges(), llvm::LiveRange::covers(), llvm::dbgs(), llvm::LiveIntervals::getInterval(), llvm::LaneBitmask::getNone(), llvm::LiveIntervals::HMEditor::getRegUnitLI(), llvm::LiveInterval::hasSubRanges(), LLVM_DEBUG, MI, MRI, llvm::LiveInterval::subranges(), SubReg, and TRI.
Referenced by llvm::LiveIntervals::handleMove(), and llvm::LiveIntervals::handleMoveIntoNewBundle().