summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-05-23 21:21:35 +0000
committerChris Lattner <sabre@nondot.org>2004-05-23 21:21:35 +0000
commit8d7ff5e3dd2487cd2d13d8db0601e5e094794571 (patch)
tree66c1b0c01156d845a2aa4529f61d71c505f77910 /llvm/lib
parent254f8f8ad59e68b0b5d7f95f35cc00d9a4bad758 (diff)
downloadbcm5719-llvm-8d7ff5e3dd2487cd2d13d8db0601e5e094794571.tar.gz
bcm5719-llvm-8d7ff5e3dd2487cd2d13d8db0601e5e094794571.zip
Simplify the interface and remove an unneeded #include
llvm-svn: 13692
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Transforms/IPO/Inliner.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/llvm/lib/Transforms/IPO/Inliner.h b/llvm/lib/Transforms/IPO/Inliner.h
index 45d5db726c0..f937be2a536 100644
--- a/llvm/lib/Transforms/IPO/Inliner.h
+++ b/llvm/lib/Transforms/IPO/Inliner.h
@@ -19,11 +19,9 @@
#define DEBUG_TYPE "inline"
#include "llvm/CallGraphSCCPass.h"
-#include <set>
namespace llvm {
-
-class CallSite;
+ class CallSite;
/// Inliner - This class contains all of the helper code which is used to
/// perform the inlining operations that does not depend on the policy.
@@ -51,12 +49,6 @@ struct Inliner : public CallGraphSCCPass {
/// not inlined.
///
virtual int getInlineCost(CallSite CS) = 0;
-
- /// getRecursiveInlineCost - This method can be implemented by subclasses if
- /// it wants to treat calls to functions within the current SCC specially. If
- /// this method is not overloaded, it just chains to getInlineCost().
- ///
- virtual int getRecursiveInlineCost(CallSite CS);
private:
// InlineThreshold - Cache the value here for easy access.
OpenPOWER on IntegriCloud