Skip to content
  • Dan Gohman's avatar
    Take the next steps in making SDUse more consistent with LLVM Use, and · 8e4ac9b7
    Dan Gohman authored
    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.
    
    llvm-svn: 62995
    8e4ac9b7
Loading