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 | 45de584b4f82fbfb9cb9c50bc1fc08931b534308 (patch) | |
tree | 95a9f28e801cb76cf82b16693ad51cdaf15c8119 /lib/Transforms/IPO/InlineSimple.cpp | |
parent | f2286b0152f0b942e82d8e809186e5cc0d247131 (diff) | |
download | llvm-45de584b4f82fbfb9cb9c50bc1fc08931b534308.tar.gz llvm-45de584b4f82fbfb9cb9c50bc1fc08931b534308.tar.bz2 llvm-45de584b4f82fbfb9cb9c50bc1fc08931b534308.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153813 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/InlineSimple.cpp')
-rw-r--r-- | lib/Transforms/IPO/InlineSimple.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/Transforms/IPO/InlineSimple.cpp b/lib/Transforms/IPO/InlineSimple.cpp index 7acb445ba3..50038d8116 100644 --- a/lib/Transforms/IPO/InlineSimple.cpp +++ b/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(); - } }; } |