projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e02b7e
)
Rename DoSparseConditionalConstantProp to DoSCCP
author
Chris Lattner
<sabre@nondot.org>
Sat, 30 Jun 2001 06:37:01 +0000
(06:37 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 30 Jun 2001 06:37:01 +0000
(06:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Transforms/Scalar/ConstantProp.h
patch
|
blob
|
history
diff --git
a/include/llvm/Transforms/Scalar/ConstantProp.h
b/include/llvm/Transforms/Scalar/ConstantProp.h
index bbcd609be05d7c9973960a6489051c1c9f3402b2..999e7ffe4d9da2f679c5d73f46fe3731f92a2f03 100644
(file)
--- 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