OLD | NEW |
1 //===- subzero/src/IceCfg.h - Control flow graph ----------------*- C++ -*-===// | 1 //===- subzero/src/IceCfg.h - Control flow graph ----------------*- 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 // This file declares the Cfg class, which represents the control flow | 10 // This file declares the Cfg class, which represents the control flow |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 std::unique_ptr<VariablesMetadata> VMetadata; | 177 std::unique_ptr<VariablesMetadata> VMetadata; |
178 std::unique_ptr<Assembler> TargetAssembler; | 178 std::unique_ptr<Assembler> TargetAssembler; |
179 | 179 |
180 // CurrentNode is maintained during dumping/emitting just for | 180 // CurrentNode is maintained during dumping/emitting just for |
181 // validating Variable::DefNode. Normally, a traversal over | 181 // validating Variable::DefNode. Normally, a traversal over |
182 // CfgNodes maintains this, but before global operations like | 182 // CfgNodes maintains this, but before global operations like |
183 // register allocation, resetCurrentNode() should be called to avoid | 183 // register allocation, resetCurrentNode() should be called to avoid |
184 // spurious validation failures. | 184 // spurious validation failures. |
185 const CfgNode *CurrentNode; | 185 const CfgNode *CurrentNode; |
186 | 186 |
187 Cfg(const Cfg &) LLVM_DELETED_FUNCTION; | 187 Cfg(const Cfg &) = delete; |
188 Cfg &operator=(const Cfg &) LLVM_DELETED_FUNCTION; | 188 Cfg &operator=(const Cfg &) = delete; |
189 }; | 189 }; |
190 | 190 |
191 } // end of namespace Ice | 191 } // end of namespace Ice |
192 | 192 |
193 #endif // SUBZERO_SRC_ICECFG_H | 193 #endif // SUBZERO_SRC_ICECFG_H |
OLD | NEW |