Home
last modified time | relevance | path

Searched refs:Driver (Results 1 – 25 of 260) sorted by relevance

1234567891011

/llvm-project/clang-tools-extra/clangd/
H A DSystemIncludeExtractor.cpp42 #include "clang/Driver/Types.h"
82 std::string Driver; member
95 return std::tie(Driver, StandardIncludes, StandardCXXIncludes, Lang, in operator ==()
97 std::tie(RHS.Driver, RHS.StandardIncludes, RHS.StandardCXXIncludes, in operator ==()
103 llvm::SmallString<128> Driver(Cmd.CommandLine.front()); in DriverArgs() local
104 // Driver is a not a single executable name but instead a path (either in DriverArgs()
106 if (llvm::any_of(Driver, in DriverArgs()
108 llvm::sys::fs::make_absolute(Cmd.Directory, Driver); in DriverArgs()
110 this->Driver = Driver in DriverArgs()
220 auto Driver = DriverArgs::getEmpty(); getEmptyKey() local
225 auto Driver = DriverArgs::getEmpty(); getTombstoneKey() local
365 std::string Driver = InputArgs.Driver; extractSystemIncludesAndTarget() local
[all...]
H A DCompileCommands.cpp13 #include "clang/Driver/Driver.h"
14 #include "clang/Driver/Options.h"
127 // SDKROOT overridden in environment, respect it. Driver will set isysroot. in detectSysroot()
140 // - its parent directory is Driver::Dir, used for library discovery
144 static std::string resolveDriver(llvm::StringRef Driver, bool FollowSymlink, in resolveDriver() argument
148 llvm::sys::path::append(Result, llvm::sys::path::filename(Driver)); in resolveDriver()
154 if (!llvm::sys::path::is_absolute(Driver)) { in resolveDriver()
158 if (llvm::any_of(Driver, in resolveDriver()
160 return Driver in resolveDriver()
[all...]
/llvm-project/clang/lib/Driver/ToolChains/
H A DCommonArgs.h13 #include "clang/Driver/Driver.h"
14 #include "clang/Driver/InputInfo.h"
15 #include "clang/Driver/Multilib.h"
16 #include "clang/Driver/Tool.h"
17 #include "clang/Driver/ToolChain.h"
27 void addPathIfExists(const Driver &D, const Twine &Path,
53 void AddRunTimeLibs(const ToolChain &TC, const Driver &D,
65 const InputInfoList *Inputs, const Driver &D,
147 const Driver
[all...]
H A DAIX.cpp12 #include "clang/Driver/Compilation.h"
13 #include "clang/Driver/Options.h"
14 #include "clang/Driver/SanitizerArgs.h"
35 const Driver &D = getToolChain().getDriver(); in ConstructJob()
115 const Driver &D = ToolChain.getDriver(); in ConstructJob()
300 case Driver::OMPRT_OMP: in ConstructJob()
303 case Driver::OMPRT_IOMP5: in ConstructJob()
306 case Driver::OMPRT_GOMP: in ConstructJob()
309 case Driver::OMPRT_Unknown: in ConstructJob()
346 AIX::AIX(const Driver in AIX()
[all...]
H A DCuda.h13 #include "clang/Driver/Action.h"
14 #include "clang/Driver/Multilib.h"
15 #include "clang/Driver/Tool.h"
16 #include "clang/Driver/ToolChain.h"
29 const Driver &D;
43 CudaInstallationDetector(const Driver &D, const llvm::Triple &HostTriple,
123 void getNVPTXTargetFeatures(const Driver &D, const llvm::Triple &Triple,
134 NVPTXToolChain(const Driver &D, const llvm::Triple &Triple,
138 NVPTXToolChain(const Driver &D, const llvm::Triple &Triple,
189 CudaToolChain(const Driver
[all...]
H A DPPCLinux.h20 PPCLinuxToolChain(const Driver &D, const llvm::Triple &Triple,
28 bool SupportIEEEFloat128(const Driver &D, const llvm::Triple &Triple,
30 bool supportIBMLongDouble(const Driver &D,
H A DPPCLinux.cpp46 PPCLinuxToolChain::PPCLinuxToolChain(const Driver &D, in PPCLinuxToolChain()
64 const Driver &D = getDriver(); in AddClangSystemIncludeArgs()
74 const Driver &D, const llvm::opt::ArgList &Args) const { in supportIBMLongDouble()
86 const Driver &D, const llvm::Triple &Triple, in SupportIEEEFloat128()
H A DGnu.h16 #include "clang/Driver/Tool.h"
17 #include "clang/Driver/ToolChain.h"
35 bool findMIPSMultilibs(const Driver &D, const llvm::Triple &TargetTriple,
192 /// Driver, and has logic for fuzzing that where appropriate.
196 const Driver &D;
221 explicit GCCInstallationDetector(const Driver &D) : IsValid(false), D(D) {}
295 Generic_GCC(const Driver &D, const llvm::Triple &Triple,
326 void AddMultilibPaths(const Driver &D, const std::string &SysRoot,
330 void AddMultiarchPaths(const Driver &D, const std::string &SysRoot,
372 Generic_ELF(const Driver
[all...]
/llvm-project/clang/tools/driver/
H A Ddriver.cpp1 //===-- driver.cpp - Clang GCC-Compatible Driver --------------------------===//
10 // for functionality in the Driver clang library.
14 #include "clang/Driver/Driver.h"
19 #include "clang/Driver/Compilation.h"
20 #include "clang/Driver/DriverDiagnostic.h"
21 #include "clang/Driver/Options.h"
22 #include "clang/Driver/ToolChain.h"
137 static bool SetBackdoorDriverOutputsFromEnvVars(Driver &TheDriver) { in SetBackdoorDriverOutputsFromEnvVars()
204 // Driver in ExecuteCC1Tool()
[all...]
H A Dcc1gen_reproducer_main.cpp16 #include "clang/Driver/Compilation.h"
17 #include "clang/Driver/Driver.h"
113 static std::optional<driver::Driver::CompilationDiagnosticReport>
126 Driver TheDriver(ToolContext.Path, llvm::sys::getDefaultTargetTriple(), Diags, in generateReproducerForInvocationArguments()
136 Driver::CompilationDiagnosticReport Report; in generateReproducerForInvocationArguments()
151 const driver::Driver::CompilationDiagnosticReport &Report) { in printReproducerInformation()
191 std::optional<driver::Driver::CompilationDiagnosticReport> Report = in cc1gen_reproducer_main()
/llvm-project/clang/unittests/Basic/
H A DSarifTest.cpp114 const llvm::json::Object *Driver = in TEST_F()
116 ASSERT_THAT(Driver, testing::NotNull()); in TEST_F()
118 ASSERT_TRUE(Driver->getString("name").has_value()); in TEST_F()
119 ASSERT_TRUE(Driver->getString("fullName").has_value()); in TEST_F()
120 ASSERT_TRUE(Driver->getString("language").has_value()); in TEST_F()
122 EXPECT_EQ(*Driver->getString("name"), ShortName); in TEST_F()
123 EXPECT_EQ(*Driver->getString("fullName"), LongName); in TEST_F()
124 EXPECT_EQ(*Driver->getString("language"), "en-US"); in TEST_F()
222 const llvm::json::Object *Driver = in TEST_F()
228 ASSERT_TRUE(Driver in TEST_F()
115 const llvm::json::Object *Driver = TEST_F() local
223 const llvm::json::Object *Driver = TEST_F() local
[all...]
/llvm-project/clang/unittests/Driver/
H A DToolChainTest.cpp1 //===- unittests/Driver/ToolChainTest.cpp --- ToolChain tests -------------===//
13 #include "clang/Driver/ToolChain.h"
19 #include "clang/Driver/Compilation.h"
20 #include "clang/Driver/Driver.h"
87 Driver TheDriver("/bin/clang", "arm-linux-gnueabihf", Diags, in TEST()
110 Driver TheDriver("/bin/clang", "arm-linux-gnueabihf", Diags, in TEST()
143 Driver TheDriver("/home/test/bin/clang", "arm-linux-gnueabi", Diags, in TEST()
204 Driver TheDriver("/bin/clang", "i386-pc-solaris2.11", Diags, in TEST()
228 Driver TheDrive in TEST()
[all...]
/llvm-project/clang/lib/Driver/ToolChains/Arch/
H A DPPC.h12 #include "clang/Driver/Driver.h"
36 FloatABI getPPCFloatABI(const Driver &D, const llvm::opt::ArgList &Args);
39 ReadGOTPtrMode getPPCReadGOTPtrMode(const Driver &D, const llvm::Triple &Triple,
42 void getPPCTargetFeatures(const Driver &D, const llvm::Triple &Triple,
H A DARM.h12 #include "clang/Driver/ToolChain.h"
55 FloatABI getARMFloatABI(const Driver &D, const llvm::Triple &Triple,
57 void setFloatABIInTriple(const Driver &D, const llvm::opt::ArgList &Args,
60 ReadTPMode getReadTPMode(const Driver &D, const llvm::opt::ArgList &Args,
62 void setArchNameInTriple(const Driver &D, const llvm::opt::ArgList &Args,
69 llvm::ARM::FPUKind getARMTargetFeatures(const Driver &D,
H A DSparc.h29 FloatABI getSparcFloatABI(const Driver &D, const llvm::opt::ArgList &Args);
31 std::string getSparcTargetCPU(const Driver &D, const llvm::opt::ArgList &Args,
34 void getSparcTargetFeatures(const Driver &D, const llvm::opt::ArgList &Args,
H A DCSKY.h31 FloatABI getCSKYFloatABI(const Driver &D, const llvm::opt::ArgList &Args);
33 void getCSKYTargetFeatures(const Driver &D, const llvm::Triple &Triple,
38 std::optional<llvm::StringRef> getCSKYArchName(const Driver &D,
H A DMips.h12 #include "clang/Driver/Driver.h"
37 void getMIPSTargetFeatures(const Driver &D, const llvm::Triple &Triple,
41 mips::FloatABI getMipsFloatABI(const Driver &D, const llvm::opt::ArgList &Args,
47 bool isNaN2008(const Driver &D, const llvm::opt::ArgList &Args,
H A DAArch64.cpp11 #include "clang/Driver/Driver.h"
12 #include "clang/Driver/DriverDiagnostic.h"
13 #include "clang/Driver/Options.h"
74 static bool DecodeAArch64Features(const Driver &D, StringRef text, in DecodeAArch64Features()
93 static bool DecodeAArch64Mcpu(const Driver &D, StringRef Mcpu, StringRef &CPU, in DecodeAArch64Mcpu()
116 getAArch64ArchFeaturesFromMarch(const Driver &D, StringRef March, in getAArch64ArchFeaturesFromMarch()
139 const Driver &D, StringRef Mcpu, const ArgList &Args, in getAArch64ArchFeaturesFromMcpu()
157 getAArch64MicroArchFeaturesFromMtune(const Driver &D, StringRef Mtune, in getAArch64MicroArchFeaturesFromMtune()
182 getAArch64MicroArchFeaturesFromMcpu(const Driver in getAArch64MicroArchFeaturesFromMcpu()
[all...]
H A DPPC.cpp11 #include "clang/Driver/Driver.h"
12 #include "clang/Driver/DriverDiagnostic.h"
13 #include "clang/Driver/Options.h"
39 void ppc::getPPCTargetFeatures(const Driver &D, const llvm::Triple &Triple, in normalizeCPUName()
77 ppc::ReadGOTPtrMode ppc::getPPCReadGOTPtrMode(const Driver &D, const llvm::Triple &Triple, in normalizeCPUName()
87 ppc::FloatABI ppc::getPPCFloatABI(const Driver &D, const ArgList &Args) {
/llvm-project/polly/lib/External/isl/interface/
H A Dextract_interface.cc180 static Driver *construct_driver(const char *binary, DiagnosticsEngine &Diags) in construct_driver()
182 return new Driver(binary, llvm::sys::getDefaultTargetTriple(), in construct_driver()
186 static Driver *construct_driver(const char *binary, DiagnosticsEngine &Diags) in construct_driver()
188 return new Driver(binary, llvm::sys::getDefaultTargetTriple(), in construct_driver()
192 static Driver *construct_driver(const char *binary, DiagnosticsEngine &Diags) in construct_driver()
194 return new Driver(binary, llvm::sys::getDefaultTargetTriple(), in construct_driver()
198 static Driver *construct_driver(const char *binary, DiagnosticsEngine &Diags) in construct_driver()
200 return new Driver(binary, llvm::sys::getDefaultTargetTriple(), Diags); in construct_driver()
270 const unique_ptr<Driver> driver(construct_driver(binary, Diags)); in construct_invocation()
/llvm-project/llvm/utils/gn/secondary/clang/lib/Driver/
H A DBUILD.gn1 static_library("Driver") {
8 # Driver doesn't depend on StaticAnalyzer and the other way round, but
9 # as of clang r311958 Driver does depend on StaticAnalyzer/Checkers's
26 "//clang/include/clang/Driver:Options",
36 "Driver.cpp",
/llvm-project/clang/test/Driver/
H A Dhip-version.hip51 // DEFAULT: Found HIP installation: {{.*Driver}}, version 3.5.
60 // SPECIFIED: Found HIP installation: {{.*Driver}}, version 3.7.0
65 // SPECIFIED2: Found HIP installation: {{.*Driver}}, version 3.7.0
70 // SPECIFIED3: Found HIP installation: {{.*Driver}}, version 4.0.21025
75 // SPECIFIED4: Found HIP installation: {{.*Driver}}, version 4.0.0
/llvm-project/lldb/tools/driver/
H A DDriver.cpp1 //===-- Driver.cpp ----------------------------------------------*- C++ -*-===//
9 #include "Driver.h"
91 static Driver *g_driver = nullptr;
93 // In the Driver::MainLoop, we change the terminal settings. This function is in reset_stdin_termios()
102 Driver::Driver() in Driver()
103 : SBBroadcaster("Driver"), m_debugger(SBDebugger::Create(false)) { in Driver()
110 Driver::~Driver() { in ~Driver()
115 void Driver in AddInitialCommand()
100 Driver::Driver() Driver() function in Driver
[all...]
H A DDriver.h1 //===-- Driver.h ------------------------------------------------*- C++ -*-===//
27 class Driver : public lldb::SBBroadcaster {
35 Driver();
37 virtual ~Driver();
/llvm-project/clang/include/clang/Driver/
H A DTypes.h21 class Driver; variable
119 getCompilationPhases(const clang::driver::Driver &Driver,

1234567891011