Move MOTy::UseType enum into MachineOperand. This eliminates the
authorAlkis Evlogimenos <alkis@evlogimenos.com>
Sun, 22 Feb 2004 19:23:26 +0000 (19:23 +0000)
committerAlkis Evlogimenos <alkis@evlogimenos.com>
Sun, 22 Feb 2004 19:23:26 +0000 (19:23 +0000)
commit890f92328d5478e050d2eba8f4de24737a04a812
tree83155fc9aced86f98cd3b751fae09861ac49aa27
parent688c8252d216659360325b25a7441861bbf9552d
Move MOTy::UseType enum into MachineOperand. This eliminates the
switch statements in the constructors and simplifies the
implementation of the getUseType() member function. You will have to
specify defs using MachineOperand::Def instead of MOTy::Def though
(similarly for Use and UseAndDef).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11715 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/llvm/CodeGen/MachineInstr.h
include/llvm/CodeGen/MachineInstrBuilder.h
lib/Target/SparcV9/SparcV9CodeEmitter.cpp
lib/Target/SparcV9/SparcV9InstrSelection.cpp
lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp
lib/Target/SparcV9/SparcV9RegInfo.cpp
lib/Target/X86/InstSelectSimple.cpp
lib/Target/X86/PeepholeOptimizer.cpp
lib/Target/X86/X86ISelSimple.cpp
lib/Target/X86/X86InstrInfo.cpp
lib/Target/X86/X86PeepholeOpt.cpp
lib/Target/X86/X86RegisterInfo.cpp