| 1 | //===--- PPCLinux.h - PowerPC ToolChain Implementations ---------*- C++ -*-===// |
| 2 | // |
| 3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 4 | // See https://llvm.org/LICENSE.txt for license information. |
| 5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | |
| 9 | #ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_PPC_LINUX_H |
| 10 | #define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_PPC_LINUX_H |
| 11 | |
| 12 | #include "Linux.h" |
| 13 | |
| 14 | namespace clang { |
| 15 | namespace driver { |
| 16 | namespace toolchains { |
| 17 | |
| 18 | class LLVM_LIBRARY_VISIBILITY PPCLinuxToolChain : public Linux { |
| 19 | public: |
| 20 | PPCLinuxToolChain(const Driver &D, const llvm::Triple &Triple, |
| 21 | const llvm::opt::ArgList &Args); |
| 22 | |
| 23 | void |
| 24 | AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs, |
| 25 | llvm::opt::ArgStringList &CC1Args) const override; |
| 26 | |
| 27 | private: |
| 28 | bool SupportIEEEFloat128(const Driver &D, const llvm::Triple &Triple, |
| 29 | const llvm::opt::ArgList &Args) const; |
| 30 | bool supportIBMLongDouble(const Driver &D, |
| 31 | const llvm::opt::ArgList &Args) const; |
| 32 | }; |
| 33 | |
| 34 | } // end namespace toolchains |
| 35 | } // end namespace driver |
| 36 | } // end namespace clang |
| 37 | |
| 38 | #endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_PPC_LINUX_H |
| 39 | |