[CGP] Make several static functions member functions (NFC)
authorTeresa Johnson <tejohnson@google.com>
Sun, 24 Mar 2019 15:18:50 +0000 (15:18 +0000)
committerTeresa Johnson <tejohnson@google.com>
Sun, 24 Mar 2019 15:18:50 +0000 (15:18 +0000)
commit4dc851964c03c37d4c8dc635fc92e34c0ae0eb2f
tree1edcaacf8500fceb454bcc09b7c0e3005e411df6
parent272571718c07625206c4d57138c1cd1c1467f203
[CGP] Make several static functions member functions (NFC)

This is extracted from D59696 as suggested in the review. It is
preparation for making the DominatorTree a member variable.

llvm-svn: 356857
llvm/lib/CodeGen/CodeGenPrepare.cpp