aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-06-30 06:37:01 +0000
committerChris Lattner <sabre@nondot.org>2001-06-30 06:37:01 +0000
commitd8d8c836e75fc14bc9a143232d2e9ea64df8dc16 (patch)
tree639b0679ea3133cc2b2345d23ba5d4ce2a309052 /include
parent7e02b7e600ce8b719b34e2df7a7e44310229564d (diff)
downloadexternal_llvm-d8d8c836e75fc14bc9a143232d2e9ea64df8dc16.zip
external_llvm-d8d8c836e75fc14bc9a143232d2e9ea64df8dc16.tar.gz
external_llvm-d8d8c836e75fc14bc9a143232d2e9ea64df8dc16.tar.bz2
Rename DoSparseConditionalConstantProp to DoSCCP
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Transforms/Scalar/ConstantProp.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/include/llvm/Transforms/Scalar/ConstantProp.h b/include/llvm/Transforms/Scalar/ConstantProp.h
index bbcd609..999e7ff 100644
--- a/include/llvm/Transforms/Scalar/ConstantProp.h
+++ b/include/llvm/Transforms/Scalar/ConstantProp.h
@@ -49,15 +49,9 @@ static inline bool DoConstantPoolMerging(Module *M) {
// Sparse Conditional Constant Propogation Pass
//
-bool DoSparseConditionalConstantProp(Method *M);
-
-static inline bool DoSparseConditionalConstantProp(Module *M) {
- return M->reduceApply(DoSparseConditionalConstantProp);
-}
-
-// Define a shorter version of the name...
-template <class Unit> bool DoSCCP(Unit *M) {
- return DoSparseConditionalConstantProp(M);
+bool DoSCCP(Method *M);
+static inline bool DoSCCP(Module *M) {
+ return M->reduceApply(DoSCCP);
}
} // End Namespace opt