[CallSite removal] Move the legacy PM, call graph, and some inliner
authorChandler Carruth <chandlerc@gmail.com>
Fri, 19 Apr 2019 05:59:42 +0000 (05:59 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 19 Apr 2019 05:59:42 +0000 (05:59 +0000)
commitce3f75df1fffdb8bcef66ff82e83fa895e00260e
treec18d789929358501b909110e07e9a0df414b6717
parent82216048e6bcdf2e37b356e45954ac8cdceaab50
[CallSite removal]  Move the legacy PM, call graph, and some inliner
code to `CallBase`.

This patch focuses on the legacy PM, call graph, and some of inliner and legacy
passes interacting with those APIs from `CallSite` to the new `CallBase` class.
No interesting changes.

Differential Revision: https://reviews.llvm.org/D60412

llvm-svn: 358739
llvm/include/llvm/Analysis/CallGraph.h
llvm/lib/Analysis/CallGraph.cpp
llvm/lib/Analysis/CallGraphSCCPass.cpp
llvm/lib/Transforms/Coroutines/Coroutines.cpp
llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
llvm/lib/Transforms/IPO/Inliner.cpp
llvm/lib/Transforms/IPO/PruneEH.cpp
llvm/lib/Transforms/Utils/InlineFunction.cpp