diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-03-31 11:31:24 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-03-31 11:31:24 +0000 |
commit | 7384530c7cb1e0f747afa0a076dc7a9c13106518 (patch) | |
tree | 4c515e71b9a66f86e13c675dbb2a5fa30b13e1f2 /lib/Analysis/CodeMetrics.cpp | |
parent | 7baa27d3b331c9388bc81995c819c289a3c6fe7e (diff) |
Add support to the InstVisitor for visiting a generic callsite. The
visitor will now visit a CallInst and an InvokeInst with
instruction-specific visitors, then visit a generic CallSite visitor,
then delegate back to the Instruction visitor and the TerminatorInst
visitors depending on whether a call or an invoke originally. This will
be used in the soon-to-land inline cost rewrite.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153811 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CodeMetrics.cpp')
0 files changed, 0 insertions, 0 deletions