Add method MachineInstr::substituteValue() which substitutes
authorVikram S. Adve <vadve@cs.uiuc.edu>
Wed, 14 Aug 2002 16:54:11 +0000 (16:54 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Wed, 14 Aug 2002 16:54:11 +0000 (16:54 +0000)
commita7710518dacb30dabf0c2f057b546dc7bcf37071
tree842b3742da82e6e364f4cd3f927d89be10e57359
parente2a78e31862c2b6142491db5a67065756d6870be
Add method MachineInstr::substituteValue() which substitutes
one Value with another one in all operands and implicit references
of the machine instruction.

Also add method MachineOperand::getVRegValueOrNull().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3307 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineInstr.h