Start cleaning up the InlineCost class. This switches to sentinel values
authorChandler Carruth <chandlerc@gmail.com>
Sun, 1 Apr 2012 22:44:09 +0000 (22:44 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 1 Apr 2012 22:44:09 +0000 (22:44 +0000)
commitcaa2c40a57040dc3e1a5e40401cd1e4ede845451
treee73256fbd53a665ccba7ba0304ea29e65e097394
parentb66e943d4cfa4a48ad028898d232754ecd3202c1
Start cleaning up the InlineCost class. This switches to sentinel values
rather than a bitfield, a great suggestion by Chris during code review.

There is still quite a bit of cruft in the interface, but that requires
sorting out some awkward uses of the cost inside the actual inliner.

No functionality changed intended here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153853 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/InlineCost.h