OLD | NEW |
1 //===- subzero/src/IceClFlagsExtra.h - Extra Cl Flags -----------*- C++ -*-===// | 1 //===- subzero/src/IceClFlagsExtra.h - Extra Cl Flags -----------*- 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 |
(...skipping 25 matching lines...) Expand all Loading... |
36 | 36 |
37 bool getBuildOnRead() const { return BuildOnRead; } | 37 bool getBuildOnRead() const { return BuildOnRead; } |
38 void setBuildOnRead(bool NewValue) { BuildOnRead = NewValue; } | 38 void setBuildOnRead(bool NewValue) { BuildOnRead = NewValue; } |
39 | 39 |
40 bool getGenerateBuildAtts() const { return GenerateBuildAtts; } | 40 bool getGenerateBuildAtts() const { return GenerateBuildAtts; } |
41 void setGenerateBuildAtts(bool NewValue) { GenerateBuildAtts = NewValue; } | 41 void setGenerateBuildAtts(bool NewValue) { GenerateBuildAtts = NewValue; } |
42 | 42 |
43 bool getLLVMVerboseErrors() const { return LLVMVerboseErrors; } | 43 bool getLLVMVerboseErrors() const { return LLVMVerboseErrors; } |
44 void setLLVMVerboseErrors(bool NewValue) { LLVMVerboseErrors = NewValue; } | 44 void setLLVMVerboseErrors(bool NewValue) { LLVMVerboseErrors = NewValue; } |
45 | 45 |
| 46 bool getBitcodeAsText() const { return BitcodeAsText; } |
| 47 void setBitcodeAsText(bool NewValue) { BitcodeAsText = NewValue; } |
| 48 |
46 llvm::NaClFileFormat getInputFileFormat() const { return InputFileFormat; } | 49 llvm::NaClFileFormat getInputFileFormat() const { return InputFileFormat; } |
47 void setInputFileFormat(llvm::NaClFileFormat NewValue) { | 50 void setInputFileFormat(llvm::NaClFileFormat NewValue) { |
48 InputFileFormat = NewValue; | 51 InputFileFormat = NewValue; |
49 } | 52 } |
50 | 53 |
51 const IceString &getAppName() const { return AppName; } | 54 const IceString &getAppName() const { return AppName; } |
52 void setAppName(const IceString &NewValue) { AppName = NewValue; } | 55 void setAppName(const IceString &NewValue) { AppName = NewValue; } |
53 | 56 |
54 const IceString &getIRFilename() const { return IRFilename; } | 57 const IceString &getIRFilename() const { return IRFilename; } |
55 void setIRFilename(const IceString &NewValue) { IRFilename = NewValue; } | 58 void setIRFilename(const IceString &NewValue) { IRFilename = NewValue; } |
56 | 59 |
57 const IceString &getLogFilename() const { return LogFilename; } | 60 const IceString &getLogFilename() const { return LogFilename; } |
58 void setLogFilename(const IceString &NewValue) { LogFilename = NewValue; } | 61 void setLogFilename(const IceString &NewValue) { LogFilename = NewValue; } |
59 | 62 |
60 const IceString &getOutputFilename() const { return OutputFilename; } | 63 const IceString &getOutputFilename() const { return OutputFilename; } |
61 void setOutputFilename(const IceString &NewValue) { | 64 void setOutputFilename(const IceString &NewValue) { |
62 OutputFilename = NewValue; | 65 OutputFilename = NewValue; |
63 } | 66 } |
64 | 67 |
65 private: | 68 private: |
66 bool AlwaysExitSuccess = false; | 69 bool AlwaysExitSuccess = false; |
| 70 bool BitcodeAsText = false; |
67 bool BuildOnRead = false; | 71 bool BuildOnRead = false; |
68 bool GenerateBuildAtts = false; | 72 bool GenerateBuildAtts = false; |
69 bool LLVMVerboseErrors = false; | 73 bool LLVMVerboseErrors = false; |
70 | 74 |
71 llvm::NaClFileFormat InputFileFormat = llvm::LLVMFormat; | 75 llvm::NaClFileFormat InputFileFormat = llvm::LLVMFormat; |
72 | 76 |
73 IceString AppName = ""; | 77 IceString AppName = ""; |
74 IceString IRFilename = ""; | 78 IceString IRFilename = ""; |
75 IceString LogFilename = ""; | 79 IceString LogFilename = ""; |
76 IceString OutputFilename = ""; | 80 IceString OutputFilename = ""; |
77 }; | 81 }; |
78 | 82 |
79 } // end of namespace Ice | 83 } // end of namespace Ice |
80 | 84 |
81 #endif // SUBZERO_SRC_ICECLFLAGSEXTRA_H | 85 #endif // SUBZERO_SRC_ICECLFLAGSEXTRA_H |
OLD | NEW |