diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-03-31 12:48:08 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-03-31 12:48:08 +0000 |
commit | edd2826f3e287c675f6e696b01eb60bd17f5efc1 (patch) | |
tree | 31a0d03df1276f141cd40d1e2f1a38d4845a6fc1 /llvm/lib/Analysis/InlineCost.cpp | |
parent | 0539c071eaf0153aa5b2d2bbfd06c58651b55605 (diff) | |
download | bcm5719-llvm-edd2826f3e287c675f6e696b01eb60bd17f5efc1.tar.gz bcm5719-llvm-edd2826f3e287c675f6e696b01eb60bd17f5efc1.zip |
Remove a bunch of empty, dead, and no-op methods from all of these
interfaces. These methods were used in the old inline cost system where
there was a persistent cache that had to be updated, invalidated, and
cleared. We're now doing more direct computations that don't require
this intricate dance. Even if we resume some level of caching, it would
almost certainly have a simpler and more narrow interface than this.
llvm-svn: 153813
Diffstat (limited to 'llvm/lib/Analysis/InlineCost.cpp')
-rw-r--r-- | llvm/lib/Analysis/InlineCost.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/lib/Analysis/InlineCost.cpp b/llvm/lib/Analysis/InlineCost.cpp index bc6c1687fd7..3ad36f16ad9 100644 --- a/llvm/lib/Analysis/InlineCost.cpp +++ b/llvm/lib/Analysis/InlineCost.cpp @@ -1012,13 +1012,3 @@ InlineCost InlineCostAnalyzer::getInlineCost(CallSite CS, int Threshold) { return llvm::InlineCost::get(CA.getCost(), CA.getThreshold()); } - -/// growCachedCostInfo - update the cached cost info for Caller after Callee has -/// been inlined. -void -InlineCostAnalyzer::growCachedCostInfo(Function *Caller, Function *Callee) { -} - -/// clear - empty the cache of inline costs -void InlineCostAnalyzer::clear() { -} |