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/Transforms/IPO/InlineAlways.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/Transforms/IPO/InlineAlways.cpp')
-rw-r--r-- | llvm/lib/Transforms/IPO/InlineAlways.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/Transforms/IPO/InlineAlways.cpp b/llvm/lib/Transforms/IPO/InlineAlways.cpp index ef7e45235e3..4e666fb5456 100644 --- a/llvm/lib/Transforms/IPO/InlineAlways.cpp +++ b/llvm/lib/Transforms/IPO/InlineAlways.cpp @@ -61,19 +61,10 @@ namespace { // indirectbr. return CA.getInlineCost(CS, getInlineThreshold(CS)); } - void resetCachedCostInfo(Function *Caller) { - CA.resetCachedCostInfo(Caller); - } - void growCachedCostInfo(Function* Caller, Function* Callee) { - CA.growCachedCostInfo(Caller, Callee); - } virtual bool doFinalization(CallGraph &CG) { return removeDeadFunctions(CG, /*AlwaysInlineOnly=*/true); } virtual bool doInitialization(CallGraph &CG); - void releaseMemory() { - CA.clear(); - } }; } |