OLD | NEW |
1 //===- subzero/src/IceTranslator.h - ICE to machine code --------*- C++ -*-===// | 1 //===- subzero/src/IceTranslator.h - ICE to machine code --------*- 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 general driver class for translating ICE to | 10 // This file declares the general driver class for translating ICE to |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 // functions. However, emitting the constant pool requires a valid | 71 // functions. However, emitting the constant pool requires a valid |
72 // Cfg object, so we need to defer deleting the last non-empty Cfg | 72 // Cfg object, so we need to defer deleting the last non-empty Cfg |
73 // object to emit the constant pool (via emitConstants). TODO: | 73 // object to emit the constant pool (via emitConstants). TODO: |
74 // Since all constants are globally pooled in the GlobalContext | 74 // Since all constants are globally pooled in the GlobalContext |
75 // object, change all Constant related functions to use | 75 // object, change all Constant related functions to use |
76 // GlobalContext instead of Cfg, and then make emitConstantPool use | 76 // GlobalContext instead of Cfg, and then make emitConstantPool use |
77 // that. | 77 // that. |
78 std::unique_ptr<Cfg> Func; | 78 std::unique_ptr<Cfg> Func; |
79 | 79 |
80 private: | 80 private: |
81 Translator(const Translator &) LLVM_DELETED_FUNCTION; | 81 Translator(const Translator &) = delete; |
82 Translator &operator=(const Translator &) LLVM_DELETED_FUNCTION; | 82 Translator &operator=(const Translator &) = delete; |
83 }; | 83 }; |
84 } | 84 } |
85 | 85 |
86 #endif // SUBZERO_SRC_ICETRANSLATOR_H | 86 #endif // SUBZERO_SRC_ICETRANSLATOR_H |
OLD | NEW |