mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-11 09:20:57 +00:00
Add an MRI::verifyUseLists() function.
This checks the sanity of the register use lists in the MI intermediate representation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179895 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -157,6 +157,12 @@ public:
|
||||
// Strictly for use by MachineInstr.cpp.
|
||||
void moveOperands(MachineOperand *Dst, MachineOperand *Src, unsigned NumOps);
|
||||
|
||||
/// Verify the sanity of the use list for Reg.
|
||||
void verifyUseList(unsigned Reg) const;
|
||||
|
||||
/// Verify the use list of all registers.
|
||||
void verifyUseLists() const;
|
||||
|
||||
/// reg_begin/reg_end - Provide iteration support to walk over all definitions
|
||||
/// and uses of a register within the MachineFunction that corresponds to this
|
||||
/// MachineRegisterInfo object.
|
||||
|
||||
Reference in New Issue
Block a user