llvm.org GIT mirror llvm / 1b0a63f
*** empty log message *** git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3185 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 18 years ago
4 changed file(s) with 12 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
2626 }
2727
2828
29 void Interval::print(ostream &o) const {
29 void Interval::print(std::ostream &o) const {
3030 o << "-------------------------------------------------------------\n"
3131 << "Interval Contents:\n";
3232
2525 RootInterval = 0;
2626 }
2727
28 void IntervalPartition::print(ostream &O) const {
28 void IntervalPartition::print(std::ostream &O) const {
2929 std::copy(begin(), end(),
3030 std::ostream_iterator(O, "\n"));
3131 }
150150 AU.addRequired(UnifyFunctionExitNodes::ID);
151151 }
152152
153 static ostream &operator<<(ostream &o, const set &BBs) {
153 static std::ostream &operator<<(std::ostream &o, const set &BBs) {
154154 for (set::const_iterator I = BBs.begin(), E = BBs.end();
155155 I != E; ++I) {
156156 o << " ";
215215 }
216216 }
217217
218 void ImmediateDominatorsBase::print(ostream &o) const {
218 void ImmediateDominatorsBase::print(std::ostream &o) const {
219219 for (const_iterator I = begin(), E = end(); I != E; ++I)
220220 o << "=============================--------------------------------\n"
221221 << "\nImmediate Dominator For Basic Block\n" << *I->first
338338 }
339339 }
340340
341 static ostream &operator<<(ostream &o, const DominatorTreeBase::Node *Node) {
341 static std::ostream &operator<<(std::ostream &o,
342 const DominatorTreeBase::Node *Node) {
342343 return o << Node->getNode()
343344 << "\n------------------------------------------\n";
344345 }
345346
346 static void PrintDomTree(const DominatorTreeBase::Node *N, ostream &o,
347 static void PrintDomTree(const DominatorTreeBase::Node *N, std::ostream &o,
347348 unsigned Lev) {
348349 o << "Level #" << Lev << ": " << N;
349350 for (DominatorTreeBase::Node::const_iterator I = N->begin(), E = N->end();
150150 AU.addRequired(UnifyFunctionExitNodes::ID);
151151 }
152152
153 static ostream &operator<<(ostream &o, const set &BBs) {
153 static std::ostream &operator<<(std::ostream &o, const set &BBs) {
154154 for (set::const_iterator I = BBs.begin(), E = BBs.end();
155155 I != E; ++I) {
156156 o << " ";
215215 }
216216 }
217217
218 void ImmediateDominatorsBase::print(ostream &o) const {
218 void ImmediateDominatorsBase::print(std::ostream &o) const {
219219 for (const_iterator I = begin(), E = end(); I != E; ++I)
220220 o << "=============================--------------------------------\n"
221221 << "\nImmediate Dominator For Basic Block\n" << *I->first
338338 }
339339 }
340340
341 static ostream &operator<<(ostream &o, const DominatorTreeBase::Node *Node) {
341 static std::ostream &operator<<(std::ostream &o,
342 const DominatorTreeBase::Node *Node) {
342343 return o << Node->getNode()
343344 << "\n------------------------------------------\n";
344345 }
345346
346 static void PrintDomTree(const DominatorTreeBase::Node *N, ostream &o,
347 static void PrintDomTree(const DominatorTreeBase::Node *N, std::ostream &o,
347348 unsigned Lev) {
348349 o << "Level #" << Lev << ": " << N;
349350 for (DominatorTreeBase::Node::const_iterator I = N->begin(), E = N->end();