| OLD | NEW |
| 1 //===- subzero/src/IceLoopAnalyzer.cpp - Loop Analysis --------------------===// | 1 //===- subzero/src/IceLoopAnalyzer.cpp - Loop Analysis --------------------===// |
| 2 // | 2 // |
| 3 // The Subzero Code Generator | 3 // The Subzero Code Generator |
| 4 // | 4 // |
| 5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
| 7 // | 7 // |
| 8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
| 9 /// | 9 /// |
| 10 /// \file | 10 /// \file |
| 11 /// This file implements the loop analysis on the CFG. | 11 /// \brief Implements the loop analysis on the CFG. |
| 12 /// | 12 /// |
| 13 //===----------------------------------------------------------------------===// | 13 //===----------------------------------------------------------------------===// |
| 14 #include "IceLoopAnalyzer.h" | 14 #include "IceLoopAnalyzer.h" |
| 15 | 15 |
| 16 #include "IceCfg.h" | 16 #include "IceCfg.h" |
| 17 #include "IceCfgNode.h" | 17 #include "IceCfgNode.h" |
| 18 | 18 |
| 19 namespace Ice { | 19 namespace Ice { |
| 20 | 20 |
| 21 void LoopAnalyzer::LoopNode::reset() { | 21 void LoopAnalyzer::LoopNode::reset() { |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 ++NumDeletedNodes; | 143 ++NumDeletedNodes; |
| 144 LoopStack.erase(It.base() - 1, LoopStack.end()); | 144 LoopStack.erase(It.base() - 1, LoopStack.end()); |
| 145 break; | 145 break; |
| 146 } | 146 } |
| 147 } | 147 } |
| 148 | 148 |
| 149 return nullptr; | 149 return nullptr; |
| 150 } | 150 } |
| 151 | 151 |
| 152 } // end of namespace Ice | 152 } // end of namespace Ice |
| OLD | NEW |