| OLD | NEW |
| 1 //===-- llvm/Target/TargetOptions.h - Target Options ------------*- C++ -*-===// | 1 //===-- llvm/Target/TargetOptions.h - Target Options ------------*- C++ -*-===// |
| 2 // | 2 // |
| 3 // The LLVM Compiler Infrastructure | 3 // The LLVM Compiler Infrastructure |
| 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 defines command line option flags that are shared across various | 10 // This file defines command line option flags that are shared across various |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 // Possible float ABI settings. Used with FloatABIType in TargetOptions.h. | 25 // Possible float ABI settings. Used with FloatABIType in TargetOptions.h. |
| 26 namespace FloatABI { | 26 namespace FloatABI { |
| 27 enum ABIType { | 27 enum ABIType { |
| 28 Default, // Target-specific (either soft or hard depending on triple,etc). | 28 Default, // Target-specific (either soft or hard depending on triple,etc). |
| 29 Soft, // Soft float. | 29 Soft, // Soft float. |
| 30 Hard // Hard float. | 30 Hard // Hard float. |
| 31 }; | 31 }; |
| 32 } | 32 } |
| 33 | 33 |
| 34 // @LOCALMOD-BEGIN |
| 35 /// TLSUseCall - This flag enables the use of a function call to get the |
| 36 /// thread pointer for TLS accesses, instead of using inline code. |
| 37 extern bool TLSUseCall; |
| 38 // @LOCALMOD-END |
| 39 |
| 34 namespace FPOpFusion { | 40 namespace FPOpFusion { |
| 35 enum FPOpFusionMode { | 41 enum FPOpFusionMode { |
| 36 Fast, // Enable fusion of FP ops wherever it's profitable. | 42 Fast, // Enable fusion of FP ops wherever it's profitable. |
| 37 Standard, // Only allow fusion of 'blessed' ops (currently just fmuladd). | 43 Standard, // Only allow fusion of 'blessed' ops (currently just fmuladd). |
| 38 Strict // Never fuse FP-ops. | 44 Strict // Never fuse FP-ops. |
| 39 }; | 45 }; |
| 40 } | 46 } |
| 41 | 47 |
| 42 namespace JumpTable { | 48 namespace JumpTable { |
| 43 enum JumpTableType { | 49 enum JumpTableType { |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 } | 299 } |
| 294 | 300 |
| 295 inline bool operator!=(const TargetOptions &LHS, | 301 inline bool operator!=(const TargetOptions &LHS, |
| 296 const TargetOptions &RHS) { | 302 const TargetOptions &RHS) { |
| 297 return !(LHS == RHS); | 303 return !(LHS == RHS); |
| 298 } | 304 } |
| 299 | 305 |
| 300 } // End llvm namespace | 306 } // End llvm namespace |
| 301 | 307 |
| 302 #endif | 308 #endif |
| OLD | NEW |