summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-09-07 21:02:50 +0000
committerChris Lattner <sabre@nondot.org>2001-09-07 21:02:50 +0000
commitaa271e6c35b376d5ebbc0f96e95bc4469adc27c2 (patch)
tree94e7821c7768eb49c4330e1f439f2c34ba710b5f
parent02e8c974dd6625b54a0687db038ee105fc7ba022 (diff)
downloadbcm5719-llvm-aa271e6c35b376d5ebbc0f96e95bc4469adc27c2.tar.gz
bcm5719-llvm-aa271e6c35b376d5ebbc0f96e95bc4469adc27c2.zip
Remove ReversePostOrderTraversal declaration
llvm-svn: 481
-rw-r--r--llvm/include/llvm/CFGdecls.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/llvm/include/llvm/CFGdecls.h b/llvm/include/llvm/CFGdecls.h
index b59a1d25367..fa6d08f526a 100644
--- a/llvm/include/llvm/CFGdecls.h
+++ b/llvm/include/llvm/CFGdecls.h
@@ -138,36 +138,6 @@ inline po_const_iterator po_begin(const BasicBlock *BB);
inline po_iterator po_end ( BasicBlock *BB);
inline po_const_iterator po_end (const BasicBlock *BB);
-
-//===--------------------------------------------------------------------===//
-// Reverse Post Order CFG iterator code
-//===--------------------------------------------------------------------===//
-//
-// This is used to visit basic blocks in a method in reverse post order. This
-// class is awkward to use because I don't know a good incremental algorithm to
-// computer RPO from a graph. Because of this, the construction of the
-// ReversePostOrderTraversal object is expensive (it must walk the entire graph
-// with a postorder iterator to build the data structures). The moral of this
-// story is: Don't create more ReversePostOrderTraversal classes than neccesary.
-//
-// This class should be used like this:
-// {
-// cfg::ReversePostOrderTraversal RPOT(MethodPtr); // Expensive to create
-// for (cfg::rpo_iterator I = RPOT.begin(); I != RPOT.end(); ++I) {
-// ...
-// }
-// for (cfg::rpo_iterator I = RPOT.begin(); I != RPOT.end(); ++I) {
-// ...
-// }
-// }
-//
-
-//typedef reverse_iterator<vector<BasicBlock*>::const_iterator>
-// rpo_const_iterator;
-typedef reverse_iterator<vector<BasicBlock*>::iterator> rpo_iterator;
-
-class ReversePostOrderTraversal;
-
} // End namespace cfg
#endif
OpenPOWER on IntegriCloud