Pull the implementation of the code metrics out of the inline cost
authorChandler Carruth <chandlerc@gmail.com>
Fri, 16 Mar 2012 05:51:52 +0000 (05:51 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 16 Mar 2012 05:51:52 +0000 (05:51 +0000)
commit9b081d9691f4509af58919db5760235ca319c9da
treebf97dad818f44845ef13d8b59347f24aaebf94b2
parentd3a7486ef351697450cfe87b6cce82a3eb906874
Pull the implementation of the code metrics out of the inline cost
analysis implementation. The header was already separated. Also cleanup
all the comments in the header to follow a nice modern doxygen form.

There is still plenty of cruft here, but some of that will fall out in
subsequent refactorings and this was an easy step in the right
direction. No functionality changed here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152898 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/CodeMetrics.h
lib/Analysis/CMakeLists.txt
lib/Analysis/CodeMetrics.cpp [new file with mode: 0644]
lib/Analysis/InlineCost.cpp