aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/InlineCost.h
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-03-31 12:48:08 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-03-31 12:48:08 +0000
commit45de584b4f82fbfb9cb9c50bc1fc08931b534308 (patch)
tree95a9f28e801cb76cf82b16693ad51cdaf15c8119 /include/llvm/Analysis/InlineCost.h
parentf2286b0152f0b942e82d8e809186e5cc0d247131 (diff)
downloadexternal_llvm-45de584b4f82fbfb9cb9c50bc1fc08931b534308.zip
external_llvm-45de584b4f82fbfb9cb9c50bc1fc08931b534308.tar.gz
external_llvm-45de584b4f82fbfb9cb9c50bc1fc08931b534308.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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153813 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/InlineCost.h')
-rw-r--r--include/llvm/Analysis/InlineCost.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/llvm/Analysis/InlineCost.h b/include/llvm/Analysis/InlineCost.h
index c523890..3416205 100644
--- a/include/llvm/Analysis/InlineCost.h
+++ b/include/llvm/Analysis/InlineCost.h
@@ -122,18 +122,6 @@ namespace llvm {
/// bound the computation necessary to determine whether the cost is
/// sufficiently low to warrant inlining.
InlineCost getInlineCost(CallSite CS, int Threshold);
-
- /// resetCachedFunctionInfo - erase any cached cost info for this function.
- void resetCachedCostInfo(Function* Caller) {
- }
-
- /// growCachedCostInfo - update the cached cost info for Caller after Callee
- /// has been inlined. If Callee is NULL it means a dead call has been
- /// eliminated.
- void growCachedCostInfo(Function* Caller, Function* Callee);
-
- /// clear - empty the cache of inline costs
- void clear();
};
/// callIsSmall - If a call is likely to lower to a single target instruction,