| LEFT | RIGHT |
| 1 //===-- TargetMachine.cpp - General Target Information ---------------------==// | 1 //===-- TargetMachine.cpp - General Target Information ---------------------==// |
| 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 describes the general parts of a Target machine. | 10 // This file describes the general parts of a Target machine. |
| 11 // | 11 // |
| 12 //===----------------------------------------------------------------------===// | 12 //===----------------------------------------------------------------------===// |
| 13 | 13 |
| 14 #include "llvm/Target/TargetAsmInfo.h" | 14 #include "llvm/MC/MCAsmInfo.h" |
| 15 #include "llvm/Target/TargetMachine.h" | 15 #include "llvm/Target/TargetMachine.h" |
| 16 #include "llvm/Target/TargetOptions.h" | 16 #include "llvm/Target/TargetOptions.h" |
| 17 #include "llvm/Support/CommandLine.h" | 17 #include "llvm/Support/CommandLine.h" |
| 18 using namespace llvm; | 18 using namespace llvm; |
| 19 | 19 |
| 20 //--------------------------------------------------------------------------- | 20 //--------------------------------------------------------------------------- |
| 21 // Command-line options that tend to be useful on more than one back-end. | 21 // Command-line options that tend to be useful on more than one back-end. |
| 22 // | 22 // |
| 23 | 23 |
| 24 namespace llvm { | 24 namespace llvm { |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 /// the code generator is not allowed to assume that FP arithmetic arguments | 249 /// the code generator is not allowed to assume that FP arithmetic arguments |
| 250 /// and results are never NaNs or +-Infs. | 250 /// and results are never NaNs or +-Infs. |
| 251 bool FiniteOnlyFPMath() { return UnsafeFPMath || FiniteOnlyFPMathOption; } | 251 bool FiniteOnlyFPMath() { return UnsafeFPMath || FiniteOnlyFPMathOption; } |
| 252 | 252 |
| 253 /// HonorSignDependentRoundingFPMath - Return true if the codegen must assume | 253 /// HonorSignDependentRoundingFPMath - Return true if the codegen must assume |
| 254 /// that the rounding mode of the FPU can change from its default. | 254 /// that the rounding mode of the FPU can change from its default. |
| 255 bool HonorSignDependentRoundingFPMath() { | 255 bool HonorSignDependentRoundingFPMath() { |
| 256 return !UnsafeFPMath && HonorSignDependentRoundingFPMathOption; | 256 return !UnsafeFPMath && HonorSignDependentRoundingFPMathOption; |
| 257 } | 257 } |
| 258 } | 258 } |
| LEFT | RIGHT |