summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-03-28 22:49:49 +0000
committerChris Lattner <sabre@nondot.org>2002-03-28 22:49:49 +0000
commitcd8846ff846df435bf6e157ed1bd70c61027bb79 (patch)
tree04f61bc0bb6ce9b152a8f0bfea1b9ee2558e23f4 /llvm/lib
parent8d4894e3fa1dcfb3cb22bdf04d3f8e208ca4b811 (diff)
downloadbcm5719-llvm-cd8846ff846df435bf6e157ed1bd70c61027bb79.tar.gz
bcm5719-llvm-cd8846ff846df435bf6e157ed1bd70c61027bb79.zip
Remove the reduceApply functions they are obsolete things from the days before
we had a reasonable pass system llvm-svn: 2022
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/VMCore/Module.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/llvm/lib/VMCore/Module.cpp b/llvm/lib/VMCore/Module.cpp
index 06c25d366c5..144c6f35578 100644
--- a/llvm/lib/VMCore/Module.cpp
+++ b/llvm/lib/VMCore/Module.cpp
@@ -71,22 +71,6 @@ void Module::dropAllReferences() {
}
}
-// reduceApply - Apply the specified function to all of the methods in this
-// module. The result values are or'd together and the result is returned.
-//
-bool Module::reduceApply(bool (*Func)(GlobalVariable*)) {
- return reduce_apply_bool(gbegin(), gend(), Func);
-}
-bool Module::reduceApply(bool (*Func)(const GlobalVariable*)) const {
- return reduce_apply_bool(gbegin(), gend(), Func);
-}
-bool Module::reduceApply(bool (*Func)(Function*)) {
- return reduce_apply_bool(begin(), end(), Func);
-}
-bool Module::reduceApply(bool (*Func)(const Function*)) const {
- return reduce_apply_bool(begin(), end(), Func);
-}
-
// Accessor for the underlying GlobalValRefMap...
ConstantPointerRef *Module::getConstantPointerRef(GlobalValue *V){
// Create ref map lazily on demand...
OpenPOWER on IntegriCloud