diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2013-01-05 04:38:12 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2013-01-05 04:38:12 +0000 |
commit | fe445cd6468822b84e322f7cf4839b4c7ee832d5 (patch) | |
tree | f4c8c8551454367d442394f2ec2190329975f008 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | c4048062e5ddfae5bbc1b1146da5a7469709450a (diff) | |
download | bcm5719-llvm-fe445cd6468822b84e322f7cf4839b4c7ee832d5.tar.gz bcm5719-llvm-fe445cd6468822b84e322f7cf4839b4c7ee832d5.zip |
Add MachineRegisterInfo::moveOperands().
This function works like memmove() for MachineOperands, except it also
updates any use-def chains containing the moved operands.
The use-def chains are updated without affecting the order of operands
in the list. That isn't possible when using the
removeRegOperandFromUseList() and addRegOperandToUseList() functions.
Callers to follow soon.
llvm-svn: 171597
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions