OLD | NEW |
1 //===--- ToolChain.h - Collections of tools for one platform ----*- C++ -*-===// | 1 //===--- ToolChain.h - Collections of tools for one platform ----*- 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 #ifndef LLVM_CLANG_DRIVER_TOOLCHAIN_H | 10 #ifndef LLVM_CLANG_DRIVER_TOOLCHAIN_H |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 virtual void AddCCKextLibArgs(const llvm::opt::ArgList &Args, | 338 virtual void AddCCKextLibArgs(const llvm::opt::ArgList &Args, |
339 llvm::opt::ArgStringList &CmdArgs) const; | 339 llvm::opt::ArgStringList &CmdArgs) const; |
340 | 340 |
341 /// AddFastMathRuntimeIfAvailable - If a runtime library exists that sets | 341 /// AddFastMathRuntimeIfAvailable - If a runtime library exists that sets |
342 /// global flags for unsafe floating point math, add it and return true. | 342 /// global flags for unsafe floating point math, add it and return true. |
343 /// | 343 /// |
344 /// This checks for presence of the -Ofast, -ffast-math or -funsafe-math flags
. | 344 /// This checks for presence of the -Ofast, -ffast-math or -funsafe-math flags
. |
345 virtual bool | 345 virtual bool |
346 AddFastMathRuntimeIfAvailable(const llvm::opt::ArgList &Args, | 346 AddFastMathRuntimeIfAvailable(const llvm::opt::ArgList &Args, |
347 llvm::opt::ArgStringList &CmdArgs) const; | 347 llvm::opt::ArgStringList &CmdArgs) const; |
| 348 |
| 349 /// isBitcodeOnlyTarget - Whether the toolchain has a coresponding backend |
| 350 /// target. |
| 351 virtual bool isBitcodeOnlyTarget() const { return false; } |
348 }; | 352 }; |
349 | 353 |
350 } // end namespace driver | 354 } // end namespace driver |
351 } // end namespace clang | 355 } // end namespace clang |
352 | 356 |
353 #endif | 357 #endif |
OLD | NEW |