OLD | NEW |
1 //===- subzero/src/IceConverter.h - Converts LLVM to ICE --------*- C++ -*-===// | 1 //===- subzero/src/IceConverter.h - Converts LLVM to ICE --------*- 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 LLVM to ICE converter. | 10 // This file declares the LLVM to ICE converter. |
(...skipping 16 matching lines...) Expand all Loading... |
27 Converter(llvm::Module *Mod, GlobalContext *Ctx, const Ice::ClFlags &Flags) | 27 Converter(llvm::Module *Mod, GlobalContext *Ctx, const Ice::ClFlags &Flags) |
28 : Translator(Ctx, Flags), Mod(Mod) {} | 28 : Translator(Ctx, Flags), Mod(Mod) {} |
29 /// Converts the LLVM Module to ICE. Sets exit status to false if successful, | 29 /// Converts the LLVM Module to ICE. Sets exit status to false if successful, |
30 /// true otherwise. | 30 /// true otherwise. |
31 void convertToIce(); | 31 void convertToIce(); |
32 | 32 |
33 private: | 33 private: |
34 llvm::Module *Mod; | 34 llvm::Module *Mod; |
35 // Converts functions to ICE, and then machine code. | 35 // Converts functions to ICE, and then machine code. |
36 void convertFunctions(); | 36 void convertFunctions(); |
37 Converter(const Converter &) LLVM_DELETED_FUNCTION; | 37 Converter(const Converter &) = delete; |
38 Converter &operator=(const Converter &) LLVM_DELETED_FUNCTION; | 38 Converter &operator=(const Converter &) = delete; |
39 }; | 39 }; |
40 } | 40 } |
41 | 41 |
42 #endif // SUBZERO_SRC_ICECONVERTER_H | 42 #endif // SUBZERO_SRC_ICECONVERTER_H |
OLD | NEW |