OLD | NEW |
---|---|
1 //===- subzero/src/IceLiveness.h - Liveness analysis ------------*- C++ -*-===// | 1 //===- subzero/src/IceLiveness.h - Liveness analysis ------------*- C++ -*-===// |
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 declares the Liveness and LivenessNode classes, which are used for | 11 /// \brief Declares the Liveness and LivenessNode classes, which are |
Jim Stichnoth
2015/12/01 18:41:16
Reflow to 80-col.
rkotlerimgtec
2015/12/02 01:32:48
Done.
| |
12 /// liveness analysis. The node-specific information tracked for each Variable | 12 /// used for liveness analysis. |
13 /// includes whether it is live on entry, whether it is live on exit, the | 13 /// |
14 /// instruction number that starts its live range, and the instruction number | 14 /// The node-specific information tracked for each Variable includes whether it |
15 /// that ends its live range. At the Cfg level, the actual live intervals are | 15 /// is live on entry, whether it is live on exit, the instruction number that |
16 /// recorded. | 16 /// starts its live range, and the instruction number that ends its live range. |
17 /// At the Cfg level, the actual live intervals are recorded. | |
17 /// | 18 /// |
18 //===----------------------------------------------------------------------===// | 19 //===----------------------------------------------------------------------===// |
19 | 20 |
20 #ifndef SUBZERO_SRC_ICELIVENESS_H | 21 #ifndef SUBZERO_SRC_ICELIVENESS_H |
21 #define SUBZERO_SRC_ICELIVENESS_H | 22 #define SUBZERO_SRC_ICELIVENESS_H |
22 | 23 |
23 #include "IceCfgNode.h" | 24 #include "IceCfgNode.h" |
24 #include "IceDefs.h" | 25 #include "IceDefs.h" |
25 #include "IceTypes.h" | 26 #include "IceTypes.h" |
26 | 27 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
115 /// variables. | 116 /// variables. |
116 CfgVector<Variable *> LiveToVarMap; | 117 CfgVector<Variable *> LiveToVarMap; |
117 /// RangeMask[Variable::Number] indicates whether we want to track that | 118 /// RangeMask[Variable::Number] indicates whether we want to track that |
118 /// Variable's live range. | 119 /// Variable's live range. |
119 llvm::BitVector RangeMask; | 120 llvm::BitVector RangeMask; |
120 }; | 121 }; |
121 | 122 |
122 } // end of namespace Ice | 123 } // end of namespace Ice |
123 | 124 |
124 #endif // SUBZERO_SRC_ICELIVENESS_H | 125 #endif // SUBZERO_SRC_ICELIVENESS_H |
OLD | NEW |