Take the next steps in making SDUse more consistent with LLVM Use, and
authorDan Gohman <gohman@apple.com>
Mon, 26 Jan 2009 04:35:06 +0000 (04:35 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 26 Jan 2009 04:35:06 +0000 (04:35 +0000)
commite7852d014432a06c783de3c350eb96e686f10f92
tree5a9acc1ca968f323231d23139a2687c984988243
parent19c10e658a3bcf6e01e2a83ffe9b8dd75adcb182
Take the next steps in making SDUse more consistent with LLVM Use, and
tidy up SDUse and related code.
 - Replace the operator= member functions with a set method, like
   LLVM Use has, and variants setInitial and setNode, which take
   care up updating use lists, like LLVM Use's does. This simplifies
   code that calls these functions.
 - getSDValue() is renamed to get(), as in LLVM Use, though most
   places can either use the implicit conversion to SDValue or the
   convenience functions instead.
 - Fix some more node vs. value terminology issues.

Also, eliminate the one remaining use of SDOperandPtr, and
SDOperandPtr itself.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62995 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAGNodes.h
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/Target/X86/X86ISelLowering.cpp