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 /// isVirtualTarget - Whether the toolchain has a coresponding backend target. | |
350 virtual bool isVirtualTarget() const { return false; } | |
Derek Schuff
2016/02/02 23:19:11
This should probably have a different name because
Petr Hosek
2016/02/03 22:49:26
Done.
| |
348 }; | 351 }; |
349 | 352 |
350 } // end namespace driver | 353 } // end namespace driver |
351 } // end namespace clang | 354 } // end namespace clang |
352 | 355 |
353 #endif | 356 #endif |
OLD | NEW |