aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-09-07 16:29:40 +0000
committerChris Lattner <sabre@nondot.org>2001-09-07 16:29:40 +0000
commit9152a47906a987264e0c377b116468b33db1d518 (patch)
tree5cef43d0ce379c03afab7a347d623f994dd38d82
parent539a4bf4b587e7aa334888bfb1145f1c7adf63f3 (diff)
Eliminate DoConstantPoolMerging. ConstantPools no longer exist
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@437 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Transforms/Scalar/ConstantProp.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/llvm/Transforms/Scalar/ConstantProp.h b/include/llvm/Transforms/Scalar/ConstantProp.h
index 999e7ffe4d..7d86ac3250 100644
--- a/include/llvm/Transforms/Scalar/ConstantProp.h
+++ b/include/llvm/Transforms/Scalar/ConstantProp.h
@@ -10,7 +10,6 @@
#include "llvm/Module.h"
class Method;
class TerminatorInst;
-class ConstantPool;
namespace opt {
@@ -31,21 +30,6 @@ bool ConstantFoldTerminator(TerminatorInst *T);
//===----------------------------------------------------------------------===//
-// Constant Pool Merging Pass
-//
-// This function merges all constants in the specified constant pool that have
-// identical types and values. This is useful for passes that generate lots of
-// constants as a side effect of running.
-//
-bool DoConstantPoolMerging(ConstantPool &CP);
-bool DoConstantPoolMerging(Method *M);
-
-static inline bool DoConstantPoolMerging(Module *M) {
- return M->reduceApply(DoConstantPoolMerging) |
- DoConstantPoolMerging(M->getConstantPool());
-}
-
-//===----------------------------------------------------------------------===//
// Sparse Conditional Constant Propogation Pass
//