Home
last modified time | relevance | path

Searched full:toolchain (Results 1 – 25 of 278) sorted by relevance

12345678910>>...12

/freebsd-src/sys/contrib/openzfs/config/
H A Dtoolchain-simd.m42 dnl # Checks if host toolchain supports SIMD instructions
38 AC_MSG_CHECKING([whether host toolchain supports SSE])
46 AC_DEFINE([HAVE_SSE], 1, [Define if host toolchain supports SSE])
57 AC_MSG_CHECKING([whether host toolchain supports SSE2])
65 AC_DEFINE([HAVE_SSE2], 1, [Define if host toolchain supports SSE2])
76 AC_MSG_CHECKING([whether host toolchain supports SSE3])
85 AC_DEFINE([HAVE_SSE3], 1, [Define if host toolchain supports SSE3])
96 AC_MSG_CHECKING([whether host toolchain supports SSSE3])
104 AC_DEFINE([HAVE_SSSE3], 1, [Define if host toolchain supports SSSE3])
115 AC_MSG_CHECKING([whether host toolchain supports SSE4.1])
[all …]
/freebsd-src/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DRISCVToolchain.cpp1 //===--- RISCVToolchain.cpp - RISC-V ToolChain Implementations --*- C++ -*-===//
28 ToolChain::path_list &Paths) { in addMultilibsFilePaths()
35 // through gcc-toolchain argument or in the same prefix where clang
36 // is installed. This helps decide whether to instantiate this toolchain
37 // or Baremetal toolchain.
49 /// RISC-V Toolchain
58 // Add toolchain/multilib specific file paths. in RISCVToolChain()
62 ToolChain::path_list &PPaths = getProgramPaths(); in RISCVToolChain()
79 ToolChain::RuntimeLibType RISCVToolChain::GetDefaultRuntimeLibType() const { in GetDefaultRuntimeLibType()
81 ToolChain in GetDefaultRuntimeLibType()
152 const ToolChain &ToolChain = getToolChain(); ConstructJob() local
[all...]
H A DCSKYToolChain.cpp1 //===--- CSKYToolchain.cpp - CSKY ToolChain Implementations ---*- C++ -*-===//
28 ToolChain::path_list &Paths) { in addMultilibsFilePaths()
34 /// CSKY Toolchain
43 // Add toolchain/multilib specific file paths. in CSKYToolChain()
48 ToolChain::path_list &PPaths = getProgramPaths(); in CSKYToolChain()
67 ToolChain::RuntimeLibType CSKYToolChain::GetDefaultRuntimeLibType() const { in GetDefaultRuntimeLibType()
68 return GCCInstallation.isValid() ? ToolChain::RLT_Libgcc in GetDefaultRuntimeLibType()
69 : ToolChain::RLT_CompilerRT; in GetDefaultRuntimeLibType()
72 ToolChain::UnwindLibType
74 return ToolChain::UNW_None; in GetUnwindLibType()
[all …]
H A DCommonArgs.h17 #include "clang/Driver/ToolChain.h"
28 ToolChain::path_list &Paths);
30 void AddLinkerInputs(const ToolChain &TC, const InputInfoList &Inputs,
34 void addLinkerCompressDebugSectionsOption(const ToolChain &TC,
40 bool addSanitizerRuntimes(const ToolChain &TC, const llvm::opt::ArgList &Args,
43 void linkSanitizerRuntimeDeps(const ToolChain &TC,
47 bool addXRayRuntime(const ToolChain &TC, const llvm::opt::ArgList &Args,
50 void linkXRayRuntimeDeps(const ToolChain &TC, const llvm::opt::ArgList &Args,
53 void AddRunTimeLibs(const ToolChain &TC, const Driver &D,
73 void SplitDebugInfo(const ToolChain
[all...]
H A DOpenBSD.cpp1 //===--- OpenBSD.cpp - OpenBSD ToolChain Implementations --------*- C++ -*-===//
33 const auto &ToolChain = static_cast<const OpenBSD &>(getToolChain()); in ConstructJob() local
34 const Driver &D = ToolChain.getDriver(); in ConstructJob()
35 const llvm::Triple &Triple = ToolChain.getTriple(); in ConstructJob()
40 switch (ToolChain.getArch()) { in ConstructJob()
64 AddAssemblerKPIC(ToolChain, Args, CmdArgs); in ConstructJob()
85 AddAssemblerKPIC(ToolChain, Args, CmdArgs); in ConstructJob()
101 const char *Exec = Args.MakeArgString(ToolChain.GetProgramPath("as")); in ConstructJob()
112 const auto &ToolChain = static_cast<const OpenBSD &>(getToolChain()); in ConstructJob() local
113 const Driver &D = ToolChain in ConstructJob()
[all...]
H A DSolaris.cpp1 //===--- Solaris.cpp - Solaris ToolChain Implementations --------*- C++ -*-===//
19 #include "clang/Driver/ToolChain.h"
40 bool solaris::isLinkerGnuLd(const ToolChain &TC, const ArgList &Args) { in isLinkerGnuLd()
47 static bool getPIE(const ArgList &Args, const ToolChain &TC) { in getPIE()
58 const ToolChain &ToolChain = getToolChain(); in getLinkerPath() local
73 ToolChain.getDriver().Diag(diag::err_drv_invalid_linker_name) in getLinkerPath()
79 return ToolChain.getDefaultLinker(); in getLinkerPath()
87 const auto &ToolChain = static_cast<const Solaris &>(getToolChain()); in ConstructJob() local
88 const Driver &D = ToolChain in ConstructJob()
[all...]
H A DNetBSD.cpp1 //===--- NetBSD.cpp - NetBSD ToolChain Implementations ----------*- C++ -*-===//
33 const auto &ToolChain = static_cast<const NetBSD &>(getToolChain()); in ConstructJob() local
34 const Driver &D = ToolChain.getDriver(); in ConstructJob()
35 const llvm::Triple &Triple = ToolChain.getTriple(); in ConstructJob()
42 switch (ToolChain.getArch()) { in ConstructJob()
76 AddAssemblerKPIC(ToolChain, Args, CmdArgs); in ConstructJob()
84 AddAssemblerKPIC(ToolChain, Args, CmdArgs); in ConstructJob()
92 AddAssemblerKPIC(ToolChain, Args, CmdArgs); in ConstructJob()
108 const char *Exec = Args.MakeArgString((ToolChain.GetProgramPath("as"))); in ConstructJob()
119 const auto &ToolChain in ConstructJob() local
[all...]
H A DFreeBSD.cpp1 //===--- FreeBSD.cpp - FreeBSD ToolChain Implementations --------*- C++ -*-===//
33 const auto &ToolChain = static_cast<const FreeBSD &>(getToolChain()); in ConstructJob() local
35 const llvm::Triple &Triple = ToolChain.getTriple(); in ConstructJob()
42 switch (ToolChain.getArch()) { in ConstructJob()
77 AddAssemblerKPIC(ToolChain, Args, CmdArgs); in ConstructJob()
84 arm::FloatABI ABI = arm::getARMFloatABI(ToolChain, Args); in ConstructJob()
97 AddAssemblerKPIC(ToolChain, Args, CmdArgs); in ConstructJob()
123 const char *Exec = Args.MakeArgString(ToolChain.GetProgramPath("as")); in ConstructJob()
134 const auto &ToolChain = static_cast<const FreeBSD &>(getToolChain()); in ConstructJob() local
135 const Driver &D = ToolChain in ConstructJob()
[all...]
H A DDragonFly.cpp1 //===--- DragonFly.cpp - DragonFly ToolChain Implementations ----*- C++ -*-===//
28 const auto &ToolChain = static_cast<const DragonFly &>(getToolChain()); in ConstructJob() local
35 if (ToolChain.getArch() == llvm::Triple::x86) in ConstructJob()
46 const char *Exec = Args.MakeArgString(ToolChain.GetProgramPath("as")); in ConstructJob()
57 const auto &ToolChain = static_cast<const DragonFly &>(getToolChain()); in ConstructJob() local
58 const Driver &D = ToolChain.getDriver(); in ConstructJob()
59 const llvm::Triple::ArchType Arch = ToolChain.getArch(); in ConstructJob()
119 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crt1))); in ConstructJob()
120 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crti.o"))); in ConstructJob()
121 CmdArgs.push_back(Args.MakeArgString(ToolChain in ConstructJob()
[all...]
H A DMSP430.cpp108 /// MSP430 Toolchain
184 const ToolChain &ToolChain = getToolChain(); in AddStartFiles() local
186 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crt0.o"))); in AddStartFiles()
188 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crtbegin))); in AddStartFiles()
193 const ToolChain &ToolChain = getToolChain(); in AddDefaultLibs() local
194 const Driver &D = ToolChain.getDriver(); in AddDefaultLibs()
199 AddRunTimeLibs(ToolChain, D, CmdArgs, Args); in AddDefaultLibs()
215 AddRunTimeLibs(ToolChain, D, CmdArgs, Args); in AddDefaultLibs()
220 const ToolChain &ToolChain = getToolChain(); in AddEndFiles() local
221 const Driver &D = ToolChain.getDriver(); in AddEndFiles()
[all …]
H A DWebAssembly.cpp1 //===--- WebAssembly.cpp - WebAssembly ToolChain Implementation -*- C++ -*-===//
39 const ToolChain &ToolChain = getToolChain(); in getLinkerPath() local
51 return ToolChain.GetProgramPath("wasm-ld"); in getLinkerPath()
56 ToolChain.getDriver().Diag(diag::err_drv_invalid_linker_name) in getLinkerPath()
61 return ToolChain.GetProgramPath(ToolChain.getDefaultLinker()); in getLinkerPath()
70 const ToolChain &ToolChain = getToolChain(); in ConstructJob() local
75 if (ToolChain in ConstructJob()
[all...]
H A DNaCl.cpp1 //===--- NaCl.cpp - Native Client ToolChain Implementations -----*- C++ -*-===//
34 const auto &ToolChain = static_cast<const NaClToolChain &>(getToolChain()); in ConstructJob() local
35 InputInfo NaClMacros(types::TY_PP_Asm, ToolChain.GetNaClArmMacrosPath(), in ConstructJob()
54 const auto &ToolChain = static_cast<const NaClToolChain &>(getToolChain()); in ConstructJob() local
55 const Driver &D = ToolChain.getDriver(); in ConstructJob()
56 const llvm::Triple::ArchType Arch = ToolChain.getArch(); in ConstructJob()
96 D.Diag(diag::err_target_unsupported_arch) << ToolChain.getArchName() in ConstructJob()
108 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crt1.o"))); in ConstructJob()
109 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crti.o"))); in ConstructJob()
118 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crtbegin))); in ConstructJob()
[all …]
H A DFuchsia.cpp1 //===--- Fuchsia.cpp - Fuchsia ToolChain Implementations --------*- C++ -*-===//
37 const auto &ToolChain = static_cast<const Fuchsia &>(getToolChain()); in ConstructJob() local
38 const Driver &D = ToolChain.getDriver(); in ConstructJob()
40 const llvm::Triple &Triple = ToolChain.getEffectiveTriple(); in ConstructJob()
61 const char *Exec = Args.MakeArgString(ToolChain.GetLinkerPath()); in ConstructJob()
92 if (ToolChain.getArch() == llvm::Triple::aarch64) { in ConstructJob()
107 const SanitizerArgs &SanArgs = ToolChain.getSanitizerArgs(Args); in ConstructJob()
134 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("Scrt1.o"))); in ConstructJob()
140 ToolChain.AddFilePathLibArgs(Args, CmdArgs); in ConstructJob()
152 addLTOOptions(ToolChain, Arg in ConstructJob()
[all...]
H A DAIX.cpp1 //===--- AIX.cpp - AIX ToolChain Implementations ----------------*- C++ -*-===//
114 const AIX &ToolChain = static_cast<const AIX &>(getToolChain()); in ConstructJob()
115 const Driver &D = ToolChain.getDriver(); in ConstructJob()
118 const bool IsArch32Bit = ToolChain.getTriple().isArch32Bit(); in ConstructJob()
119 const bool IsArch64Bit = ToolChain.getTriple().isArch64Bit(); in ConstructJob()
176 ToolChain.getDriver().Diag(diag::err_drv_unsupported_option_argument) in ConstructJob()
221 Args.MakeArgString(ToolChain.GetFilePath(getCrt0Basename()))); in ConstructJob()
224 ToolChain.GetFilePath(IsArch32Bit ? "crti.o" : "crti_64.o"))); in ConstructJob()
234 AddLinkerInputs(ToolChain, Inputs, Args, CmdArgs, JA); in ConstructJob()
246 addLTOOptions(ToolChain, Arg in ConstructJob()
112 const AIX &ToolChain = static_cast<const AIX &>(getToolChain()); ConstructJob() local
[all...]
H A DHaiku.cpp1 //===--- Haiku.cpp - Haiku ToolChain Implementations ------------*- C++ -*-===//
26 const auto &ToolChain = static_cast<const Haiku &>(getToolChain()); in ConstructJob() local
27 const Driver &D = ToolChain.getDriver(); in ConstructJob()
28 const llvm::Triple &Triple = ToolChain.getTriple(); in ConstructJob()
78 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crti.o"))); in ConstructJob()
79 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtbeginS.o"))); in ConstructJob()
81 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("start_dyn.o"))); in ConstructJob()
82 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("init_term_dyn.o"))); in ConstructJob()
87 ToolChain.AddFilePathLibArgs(Args, CmdArgs); in ConstructJob()
99 addLTOOptions(ToolChain, Arg in ConstructJob()
[all...]
H A DZOS.cpp1 //===--- ZOS.cpp - z/OS ToolChain Implementations ---------------*- C++ -*-===//
27 : ToolChain(D, Triple, Args) {} in ZOS()
112 const ZOS &ToolChain = static_cast<const ZOS &>(getToolChain()); in ConstructJob()
168 ToolChain.AddFilePathLibArgs(Args, CmdArgs); in ConstructJob()
171 AddLinkerInputs(ToolChain, Inputs, Args, CmdArgs, JA); in ConstructJob()
204 if (ToolChain.ShouldLinkCXXStdlib(Args)) { in ConstructJob()
205 ToolChain.AddCXXStdlibLibArgs(Args, CmdArgs); in ConstructJob()
210 AddRunTimeLibs(ToolChain, ToolChain.getDriver(), CmdArgs, Args);
212 const char *Exec = Args.MakeArgString(ToolChain in GetDefaultRuntimeLibType()
106 const ZOS &ToolChain = static_cast<const ZOS &>(getToolChain()); ConstructJob() local
[all...]
H A DOHOS.cpp1 //===--- OHOS.cpp - OHOS ToolChain Implementations --------*- C++ -*-===//
61 const ToolChain &TC, in findOHOSMultilibs()
130 /// OHOS Toolchain
174 ToolChain::RuntimeLibType OHOS::GetRuntimeLibType( in GetRuntimeLibType()
183 return ToolChain::RLT_CompilerRT; in GetRuntimeLibType()
186 ToolChain::CXXStdlibType
195 return ToolChain::CST_Libcxx; in GetCXXStdlibType()
243 case ToolChain::CST_Libcxx: { in AddClangCXXStdlibIncludeArgs()
262 case ToolChain::CST_Libcxx: in AddCXXStdlibLibArgs()
268 case ToolChain in AddCXXStdlibLibArgs()
[all...]
H A DMipsLinux.cpp1 //===-- MipsLinux.cpp - Mips ToolChain Implementations ----------*- C++ -*-===//
24 /// Mips Toolchain
81 ToolChain::CXXStdlibType
91 return ToolChain::CST_Libcxx; in GetCXXStdlibType()
110 assert((GetCXXStdlibType(Args) == ToolChain::CST_Libcxx) && in AddCXXStdlibLibArgs()
111 "Only -lc++ (aka libxx) is supported in this toolchain."); in AddCXXStdlibLibArgs()
128 case ToolChain::FT_Object: in getCompilerRT()
131 case ToolChain::FT_Static: in getCompilerRT()
134 case ToolChain::FT_Shared: in getCompilerRT()
H A DPS4CPU.h1 //===--- PS4CPU.h - PS4CPU ToolChain Implementations ------------*- C++ -*-===//
15 #include "clang/Driver/ToolChain.h"
24 void addProfileRTArgs(const ToolChain &TC, const llvm::opt::ArgList &Args,
27 void addSanitizerArgs(const ToolChain &TC, const llvm::opt::ArgList &Args,
32 Assembler(const ToolChain &TC) : Tool("PScpu::Assembler", "assembler", TC) {} in Assembler()
46 Linker(const ToolChain &TC) : Tool("PS4cpu::Linker", "linker", TC) {} in hasIntegratedCPP()
61 Linker(const ToolChain &TC) : Tool("PS5cpu::Linker", "linker", TC) {}
77 // Common Toolchain base class for PS4 and PS5. in IsMathErrnoDefault()
136 // PS4-specific Toolchain class. in qualifyPSCmdName()
144 // PS4 toolchain use
[all...]
H A DOpenBSD.h1 //===--- OpenBSD.h - OpenBSD ToolChain Implementations ----------*- C++ -*-===//
15 #include "clang/Driver/ToolChain.h"
25 Assembler(const ToolChain &TC) in Assembler()
38 Linker(const ToolChain &TC) : Tool("openbsd::Linker", "linker", TC) {} in Linker()
67 return ToolChain::RLT_CompilerRT; in GetDefaultRuntimeLibType()
70 return ToolChain::CST_Libcxx; in GetDefaultCXXStdlibType()
83 FileType Type = ToolChain::FT_Static) const override;
H A DFuchsia.h1 //===--- Fuchsia.h - Fuchsia ToolChain Implementations ----------*- C++ -*-===//
15 #include "clang/Driver/ToolChain.h"
23 StaticLibTool(const ToolChain &TC) in StaticLibTool()
37 Linker(const ToolChain &TC) : Tool("fuchsia::Linker", "ld.lld", TC) {} in Linker()
52 class LLVM_LIBRARY_VISIBILITY Fuchsia : public ToolChain {
60 return ToolChain::RLT_CompilerRT; in GetDefaultRuntimeLibType()
63 return ToolChain::CST_Libcxx; in GetDefaultCXXStdlibType()
H A DBareMetal.h1 //===--- BareMetal.h - Bare Metal Tool and ToolChain ------------*- C++-*-===//
13 #include "clang/Driver/ToolChain.h"
22 class LLVM_LIBRARY_VISIBILITY BareMetal : public ToolChain {
52 return ToolChain::RLT_CompilerRT; in GetDefaultRuntimeLibType()
55 return ToolChain::CST_Libcxx; in GetDefaultCXXStdlibType()
90 StaticLibTool(const ToolChain &TC) in StaticLibTool()
104 Linker(const ToolChain &TC) : Tool("baremetal::Linker", "ld.lld", TC) {} in Linker()
/freebsd-src/contrib/llvm-project/clang/lib/Driver/
H A DToolChain.cpp1 //===- ToolChain.cpp - Collections of tools for one platform --------------===//
9 #include "clang/Driver/ToolChain.h"
64 static ToolChain::RTTIMode CalculateRTTIMode(const ArgList &Args, in CalculateRTTIMode()
70 return ToolChain::RM_Enabled; in CalculateRTTIMode()
72 return ToolChain::RM_Disabled; in CalculateRTTIMode()
77 return NoRTTI ? ToolChain::RM_Disabled : ToolChain::RM_Enabled; in CalculateRTTIMode()
80 static ToolChain::ExceptionsMode CalculateExceptionsMode(const ArgList &Args) { in ToolChain() function in ToolChain
83 return ToolChain::EM_Enabled; in ToolChain()
85 return ToolChain in ToolChain()
[all...]
/freebsd-src/contrib/llvm-project/clang/include/clang/Driver/
H A DToolChain.h1 //===- ToolChain.h - Collections of tools for one platform ------*- C++ -*-===//
91 /// ToolChain - Access to tools for a single platform.
92 class ToolChain {
151 /// The list of toolchain specific path prefixes to search for libraries.
154 /// The list of toolchain specific path prefixes to search for files.
157 /// The list of toolchain specific path prefixes to search for programs.
187 /// Set the toolchain's effective clang triple.
203 ToolChain(const Driver &D, const llvm::Triple &T,
249 virtual ~ToolChain();
257 /// Get the toolchain'
[all...]
H A DAction.h33 class ToolChain; variable
131 /// The Offloading toolchain associated with this device action.
132 const ToolChain *OffloadingToolChain = nullptr;
191 const ToolChain *OToolChain);
212 const ToolChain *getOffloadingToolChain() const { in getOffloadingToolChain()
273 /// toolchain, and offload kind to each action.
276 using ToolChainList = SmallVector<const ToolChain *, 3>;
299 /// Add an action along with the associated toolchain, bound arch, and
301 void add(Action &A, const ToolChain &TC, const char *BoundArch,
304 /// Add an action along with the associated toolchain, bound arch, and
[all …]

12345678910>>...12