| OLD | NEW |
| 1 //===- subzero/src/IceCfg.cpp - Control flow graph implementation ---------===// | 1 //===- subzero/src/IceCfg.cpp - Control flow graph implementation ---------===// |
| 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 |
| (...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 758 } | 758 } |
| 759 resetCurrentNode(); | 759 resetCurrentNode(); |
| 760 if (isVerbose(IceV_Liveness)) { | 760 if (isVerbose(IceV_Liveness)) { |
| 761 // Print summary info about variables | 761 // Print summary info about variables |
| 762 for (Variable *Var : Variables) { | 762 for (Variable *Var : Variables) { |
| 763 Str << "// multiblock="; | 763 Str << "// multiblock="; |
| 764 if (getVMetadata()->isTracked(Var)) | 764 if (getVMetadata()->isTracked(Var)) |
| 765 Str << getVMetadata()->isMultiBlock(Var); | 765 Str << getVMetadata()->isMultiBlock(Var); |
| 766 else | 766 else |
| 767 Str << "?"; | 767 Str << "?"; |
| 768 Str << " weight=" << Var->getWeight() << " "; | 768 Str << " weight=" << Var->getWeight(this) << " "; |
| 769 Var->dump(this); | 769 Var->dump(this); |
| 770 Str << " LIVE=" << Var->getLiveRange() << "\n"; | 770 Str << " LIVE=" << Var->getLiveRange() << "\n"; |
| 771 } | 771 } |
| 772 } | 772 } |
| 773 // Print each basic block | 773 // Print each basic block |
| 774 for (CfgNode *Node : Nodes) | 774 for (CfgNode *Node : Nodes) |
| 775 Node->dump(this); | 775 Node->dump(this); |
| 776 if (isVerbose(IceV_Instructions)) | 776 if (isVerbose(IceV_Instructions)) |
| 777 Str << "}\n"; | 777 Str << "}\n"; |
| 778 } | 778 } |
| 779 | 779 |
| 780 } // end of namespace Ice | 780 } // end of namespace Ice |
| OLD | NEW |