More cleanups for MachineOperand:

- Eliminate the static "print" method for operands, moving it
    into MachineOperand::print.
  - Change various set* methods for register flags to take a bool
    for the value to set it to.  Remove unset* methods.
  - Group methods more logically by operand flavor in MachineOperand.h


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45461 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2007-12-30 21:56:09 +00:00
parent e3087890ac
commit f73823000e
11 changed files with 242 additions and 227 deletions

View File

@@ -21,7 +21,6 @@
namespace llvm {
class TargetInstrDescriptor;
class TargetMachine;
template <typename T> struct ilist_traits;
template <typename T> struct ilist;