OLD | NEW |
1 //===- subzero/src/IceCompiler.h - Compiler driver --------------*- C++ -*-===// | 1 //===- subzero/src/IceCompiler.h - Compiler driver --------------*- 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 driver for translating bitcode to native code. | 11 /// \brief Declares the driver for translating bitcode to native code. |
12 /// | 12 /// |
13 //===----------------------------------------------------------------------===// | 13 //===----------------------------------------------------------------------===// |
14 | 14 |
15 #ifndef SUBZERO_SRC_ICECOMPILER_H | 15 #ifndef SUBZERO_SRC_ICECOMPILER_H |
16 #define SUBZERO_SRC_ICECOMPILER_H | 16 #define SUBZERO_SRC_ICECOMPILER_H |
17 | 17 |
18 #include "IceDefs.h" | 18 #include "IceDefs.h" |
19 | 19 |
20 namespace llvm { | 20 namespace llvm { |
21 class DataStreamer; | 21 class DataStreamer; |
(...skipping 13 matching lines...) Expand all Loading... |
35 | 35 |
36 /// Run the compiler with the given GlobalContext for compilation state. Upon | 36 /// Run the compiler with the given GlobalContext for compilation state. Upon |
37 /// error, the Context's error status will be set. | 37 /// error, the Context's error status will be set. |
38 void run(const ClFlagsExtra &ExtraFlags, GlobalContext &Ctx, | 38 void run(const ClFlagsExtra &ExtraFlags, GlobalContext &Ctx, |
39 std::unique_ptr<llvm::DataStreamer> &&InputStream); | 39 std::unique_ptr<llvm::DataStreamer> &&InputStream); |
40 }; | 40 }; |
41 | 41 |
42 } // end of namespace Ice | 42 } // end of namespace Ice |
43 | 43 |
44 #endif // SUBZERO_SRC_ICECOMPILER_H | 44 #endif // SUBZERO_SRC_ICECOMPILER_H |
OLD | NEW |