summaryrefslogtreecommitdiff
path: root/lib/Analysis/CodeMetrics.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-03-31 11:31:24 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-03-31 11:31:24 +0000
commit7384530c7cb1e0f747afa0a076dc7a9c13106518 (patch)
tree4c515e71b9a66f86e13c675dbb2a5fa30b13e1f2 /lib/Analysis/CodeMetrics.cpp
parent7baa27d3b331c9388bc81995c819c289a3c6fe7e (diff)
downloadllvm-7384530c7cb1e0f747afa0a076dc7a9c13106518.tar.gz
llvm-7384530c7cb1e0f747afa0a076dc7a9c13106518.tar.bz2
llvm-7384530c7cb1e0f747afa0a076dc7a9c13106518.tar.xz
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