aboutsummaryrefslogtreecommitdiff
path: root/llvm/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
commit056b460917b1a257475df45f42acdcc1561b817d (patch)
tree4ac46a030790898872412b882114ff92d955931e /llvm/lib/Analysis/CodeMetrics.cpp
parent62152e7389799baeac7353abc0ff6d95d7e63672 (diff)
downloadllvm-056b460917b1a257475df45f42acdcc1561b817d.zip
llvm-056b460917b1a257475df45f42acdcc1561b817d.tar.gz
llvm-056b460917b1a257475df45f42acdcc1561b817d.tar.bz2
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. llvm-svn: 153811
Diffstat (limited to 'llvm/lib/Analysis/CodeMetrics.cpp')
0 files changed, 0 insertions, 0 deletions