Added a variant of InlineCostAnalyzer::getInlineCost() that takes the called function...
authorDavid Chisnall <csdavec@swan.ac.uk>
Sat, 1 May 2010 15:47:41 +0000 (15:47 +0000)
committerDavid Chisnall <csdavec@swan.ac.uk>
Sat, 1 May 2010 15:47:41 +0000 (15:47 +0000)
commit752e2590585227f6f10e80978f587915d9adb2ad
tree687b45384f18dd362b77e95db254d555f17fb8aa
parent17458a786e4d3eeff9c66fc0ec284b763df53642
Added a variant of InlineCostAnalyzer::getInlineCost() that takes the called function as an explicit argument, for use when inlining function pointers.

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