[llvm][NFC] Refactor APIs operating on CallBase
authorMircea Trofin <mtrofin@google.com>
Tue, 28 Apr 2020 17:25:13 +0000 (10:25 -0700)
committerMircea Trofin <mtrofin@google.com>
Tue, 28 Apr 2020 20:23:47 +0000 (13:23 -0700)
commit8a7cf11f92e1fbc35dc754b4113e6697fa425607
treed3c397e98d86d01eb0710150f62f929efb292343
parentf1ecf560bf70d67b6ffdb800c9d33390fd8b249c
[llvm][NFC] Refactor APIs operating on CallBase

Summary:
Refactored the parameter and return type where they are too generally
typed as Instruction.

Reviewers: dblaikie, wmi, craig.topper

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79027
llvm/include/llvm/Analysis/IndirectCallVisitor.h
llvm/include/llvm/Transforms/Instrumentation.h
llvm/lib/Transforms/IPO/SampleProfile.cpp
llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
llvm/lib/Transforms/Instrumentation/ValueProfilePlugins.inc