commit | e138b3dd1ff02d826233482831318708a166ed93 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Jan 01 20:36:19 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Jan 01 20:36:19 2008 +0000 |
tree | 9a7f8e2fa9b65ad0426d782bb694626846a17f2d | |
parent | ab477ccde9382b58d3883eeb574ba09469d4cde8 [diff] |
switch the register iterator to act more like hte LLVM value iterator: dereferencing it now returns the machineinstr of the use. To get the operand, use I.getOperand(). Add a new MachineRegisterInfo::replaceRegWith, which is basically like Value::replaceAllUsesWith. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45482 91177308-0d34-0410-b5e6-96231b3b80d8