LLVM API Documentation
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) |
Definition at line 724 of file LiveIntervalAnalysis.cpp.
llvm::LiveIntervals::HMEditor::HMEditor | ( | LiveIntervals & | LIS, |
const MachineRegisterInfo & | MRI, | ||
const TargetRegisterInfo & | TRI, | ||
SlotIndex | OldIdx, | ||
SlotIndex | NewIdx, | ||
bool | UpdateFlags | ||
) | [inline] |
Definition at line 735 of file LiveIntervalAnalysis.cpp.
LiveRange* llvm::LiveIntervals::HMEditor::getRegUnitLI | ( | unsigned | Unit | ) | [inline] |
Definition at line 745 of file LiveIntervalAnalysis.cpp.
Referenced by llvm::LiveIntervals::HMEditor::updateAllRanges().
void llvm::LiveIntervals::HMEditor::updateAllRanges | ( | MachineInstr * | MI | ) | [inline] |
Update all live ranges touched by MI, assuming a move from OldIdx to NewIdx.
Definition at line 753 of file LiveIntervalAnalysis.cpp.
References llvm::dbgs(), DEBUG, llvm::LiveIntervals::HMEditor::getRegUnitLI(), llvm::MachineOperandIteratorBase::isValid(), llvm::MCRegisterInfo::DiffListIterator::isValid(), and llvm::TargetRegisterInfo::isVirtualRegister().
Referenced by llvm::LiveIntervals::handleMove(), and llvm::LiveIntervals::handleMoveIntoBundle().