From edd2826f3e287c675f6e696b01eb60bd17f5efc1 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Sat, 31 Mar 2012 12:48:08 +0000 Subject: 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 --- llvm/lib/Analysis/InlineCost.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'llvm/lib/Analysis/InlineCost.cpp') 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() { -} -- cgit v1.2.3