MachineOperand:
authorChris Lattner <sabre@nondot.org>
Sun, 30 Dec 2007 21:31:53 +0000 (21:31 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 30 Dec 2007 21:31:53 +0000 (21:31 +0000)
commite3087890ac7f2fcf4697f8e09091e9a384311b9c
tree009374dad6c6816e3042d75ece22c57ebd75acb4
parent1c3e1e2ed07597111f0b1b1bb93b8080c96c526b
MachineOperand:
  - Add getParent() accessors.
  - Move SubReg out of the AuxInfo union, to make way for future changes.
  - Remove the getImmedValue/setImmedValue methods.
  - in some MachineOperand::Create* methods, stop initializing fields that are dead.

MachineInstr:
  - Delete one copy of the MachineInstr printing code, now there is only one dump
    format and one copy of the code.
  - Make MachineOperand use the parent field to get info about preg register names if
    no target info is otherwise available.
  - Move def/use/kill/dead flag printing to the machineoperand printer, so they are
    always printed for an operand.

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