1 //===--- PPCLinux.h - PowerPC ToolChain Implementations ---------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_PPC_LINUX_H
10 #define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_PPC_LINUX_H
16 namespace toolchains
{
18 class LLVM_LIBRARY_VISIBILITY PPCLinuxToolChain
: public Linux
{
20 PPCLinuxToolChain(const Driver
&D
, const llvm::Triple
&Triple
,
21 const llvm::opt::ArgList
&Args
);
24 AddClangSystemIncludeArgs(const llvm::opt::ArgList
&DriverArgs
,
25 llvm::opt::ArgStringList
&CC1Args
) const override
;
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;
34 } // end namespace toolchains
35 } // end namespace driver
36 } // end namespace clang
38 #endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_PPC_LINUX_H