| OLD | NEW | 
|---|
| 1 //===- subzero/src/IceBuildDefs.h - Translator build defines ----*- C++ -*-===// | 1 //===- subzero/src/IceBuildDefs.h - Translator build defines ----*- 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 70  if you don't build that variant, you don't even know if the code would | 70  if you don't build that variant, you don't even know if the code would | 
| 71  compile unless you build with that variant. | 71  compile unless you build with that variant. | 
| 72 | 72 | 
| 73   **/ | 73   **/ | 
| 74 | 74 | 
| 75 namespace BuildDefs { | 75 namespace BuildDefs { | 
| 76 | 76 | 
| 77 // The ALLOW_* etc. symbols must be #defined to zero or non-zero. | 77 // The ALLOW_* etc. symbols must be #defined to zero or non-zero. | 
| 78 /// Return true if ALLOW_DUMP is defined as a non-zero value | 78 /// Return true if ALLOW_DUMP is defined as a non-zero value | 
| 79 constexpr bool dump() { return ALLOW_DUMP; } | 79 constexpr bool dump() { return ALLOW_DUMP; } | 
|  | 80 /// Return true if ALLOW_TIMERS is defined as a non-zero value | 
|  | 81 constexpr bool timers() { return ALLOW_TIMERS; } | 
| 80 /// Return true if ALLOW_LLVM_CL is defined as a non-zero value | 82 /// Return true if ALLOW_LLVM_CL is defined as a non-zero value | 
| 81 // TODO(stichnot): this ALLOW_LLVM_CL is a TBD option which will | 83 // TODO(stichnot): this ALLOW_LLVM_CL is a TBD option which will | 
| 82 // allow for replacement of llvm:cl command line processor with a | 84 // allow for replacement of llvm:cl command line processor with a | 
| 83 // smaller footprint version for Subzero. | 85 // smaller footprint version for Subzero. | 
| 84 constexpr bool llvmCl() { return ALLOW_LLVM_CL; } | 86 constexpr bool llvmCl() { return ALLOW_LLVM_CL; } | 
| 85 /// Return true if ALLOW_LLVM_IR is defined as a non-zero value | 87 /// Return true if ALLOW_LLVM_IR is defined as a non-zero value | 
| 86 constexpr bool llvmIr() { return ALLOW_LLVM_IR; } | 88 constexpr bool llvmIr() { return ALLOW_LLVM_IR; } | 
| 87 /// Return true if ALLOW_LLVM_IR_AS_INPUT is defined as a non-zero value | 89 /// Return true if ALLOW_LLVM_IR_AS_INPUT is defined as a non-zero value | 
| 88 constexpr bool llvmIrAsInput() { return ALLOW_LLVM_IR_AS_INPUT; } | 90 constexpr bool llvmIrAsInput() { return ALLOW_LLVM_IR_AS_INPUT; } | 
| 89 /// Return true if ALLOW_MINIMAL_BUILD is defined as a non-zero value | 91 /// Return true if ALLOW_MINIMAL_BUILD is defined as a non-zero value | 
| (...skipping 23 matching lines...) Expand all  Loading... | 
| 113   return true; | 115   return true; | 
| 114 #else  // !ALLOW_EXTRA_VALIDATION | 116 #else  // !ALLOW_EXTRA_VALIDATION | 
| 115   return false; | 117   return false; | 
| 116 #endif // !ALLOW_EXTRA_VALIDATION | 118 #endif // !ALLOW_EXTRA_VALIDATION | 
| 117 } | 119 } | 
| 118 | 120 | 
| 119 } // end of namespace BuildDefs | 121 } // end of namespace BuildDefs | 
| 120 } // end of namespace Ice | 122 } // end of namespace Ice | 
| 121 | 123 | 
| 122 #endif // SUBZERO_SRC_ICEBUILDDEFS_H | 124 #endif // SUBZERO_SRC_ICEBUILDDEFS_H | 
| OLD | NEW | 
|---|