Refactor code. Remove duplicated functions that basically do the same thing as
authorEvan Cheng <evan.cheng@apple.com>
Wed, 5 Mar 2008 00:59:57 +0000 (00:59 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 5 Mar 2008 00:59:57 +0000 (00:59 +0000)
commit6130f66eaae89f8878590796977678afa8448926
tree9e0d41836f9fcae91af847f9483fcc3cb0ca780c
parent4d519457d1ee72d14d62a5823b03449dc0e3df6e
Refactor code. Remove duplicated functions that basically do the same thing as
findRegisterUseOperandIdx, findRegisterDefOperandIndx. Fix some naming inconsistencies.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47927 91177308-0d34-0410-b5e6-96231b3b80d8
16 files changed:
include/llvm/CodeGen/LiveVariables.h
include/llvm/CodeGen/MachineInstr.h
include/llvm/CodeGen/RegisterScavenging.h
lib/CodeGen/LiveIntervalAnalysis.cpp
lib/CodeGen/LiveVariables.cpp
lib/CodeGen/MachineInstr.cpp
lib/CodeGen/PHIElimination.cpp
lib/CodeGen/RegAllocLocal.cpp
lib/CodeGen/RegisterScavenging.cpp
lib/CodeGen/SimpleRegisterCoalescing.cpp
lib/CodeGen/SimpleRegisterCoalescing.h
lib/CodeGen/StrongPHIElimination.cpp
lib/CodeGen/TwoAddressInstructionPass.cpp
lib/CodeGen/VirtRegMap.cpp
lib/Target/ARM/ARMInstrInfo.cpp
lib/Target/X86/X86FloatingPoint.cpp