[CallSite removal] Port `IndirectCallSiteVisitor` to use `CallBase` and
authorChandler Carruth <chandlerc@gmail.com>
Mon, 7 Jan 2019 07:15:51 +0000 (07:15 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 7 Jan 2019 07:15:51 +0000 (07:15 +0000)
commit57578aaf96129bb2afbb75bc2523aa47fc1aa993
tree52c5203b56697b5290e26cc32950652052700477
parentfee1a04d04808301373ff82a67aef764a585c684
[CallSite removal] Port `IndirectCallSiteVisitor` to use `CallBase` and
update client code.

Also rename it to use the more generic term `call` instead of something
that could be confused with a praticular type.

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

llvm-svn: 350508
llvm/include/llvm/Analysis/IndirectCallSiteVisitor.h [deleted file]
llvm/include/llvm/Analysis/IndirectCallVisitor.h [new file with mode: 0644]
llvm/include/llvm/IR/InstrTypes.h
llvm/lib/Analysis/IndirectCallPromotionAnalysis.cpp
llvm/lib/IR/Instructions.cpp
llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp