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/InlineSimple.cpp | |
parent | 0539c071eaf0153aa5b2d2bbfd06c58651b55605 (diff) | |
download | llvm-edd2826f3e287c675f6e696b01eb60bd17f5efc1.zip llvm-edd2826f3e287c675f6e696b01eb60bd17f5efc1.tar.gz llvm-edd2826f3e287c675f6e696b01eb60bd17f5efc1.tar.bz2 |
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/InlineSimple.cpp')
-rw-r--r-- | llvm/lib/Transforms/IPO/InlineSimple.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/Transforms/IPO/InlineSimple.cpp b/llvm/lib/Transforms/IPO/InlineSimple.cpp index 7acb445..50038d8 100644 --- a/llvm/lib/Transforms/IPO/InlineSimple.cpp +++ b/llvm/lib/Transforms/IPO/InlineSimple.cpp @@ -42,16 +42,7 @@ namespace { InlineCost getInlineCost(CallSite CS) { 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 doInitialization(CallGraph &CG); - void releaseMemory() { - CA.clear(); - } }; } |