/external/clang/lib/Driver/ |
D | CrossWindowsToolChain.cpp | 52 llvm::opt::ArgStringList &CC1Args) const { in AddClangSystemIncludeArgs() 59 addSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/local/include"); in AddClangSystemIncludeArgs() 63 addSystemInclude(DriverArgs, CC1Args, ResourceDir); in AddClangSystemIncludeArgs() 66 addSystemInclude(DriverArgs, CC1Args, P); in AddClangSystemIncludeArgs() 67 addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include"); in AddClangSystemIncludeArgs() 72 llvm::opt::ArgStringList &CC1Args) const { in AddClangCXXStdlibIncludeArgs() 82 addSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include/c++/v1"); in AddClangCXXStdlibIncludeArgs() 86 addSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include/c++"); in AddClangCXXStdlibIncludeArgs() 87 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs() 89 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs() [all …]
|
D | MinGWToolChain.cpp | 191 ArgStringList &CC1Args) const { in AddClangSystemIncludeArgs() 198 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangSystemIncludeArgs() 207 addSystemInclude(DriverArgs, CC1Args, IncludeDir.c_str()); in AddClangSystemIncludeArgs() 210 addSystemInclude(DriverArgs, CC1Args, in AddClangSystemIncludeArgs() 212 addSystemInclude(DriverArgs, CC1Args, IncludeDir.c_str()); in AddClangSystemIncludeArgs() 214 addSystemInclude(DriverArgs, CC1Args, in AddClangSystemIncludeArgs() 216 addSystemInclude(DriverArgs, CC1Args, Base + "include"); in AddClangSystemIncludeArgs() 220 ArgStringList &CC1Args) const { in AddClangCXXStdlibIncludeArgs() 227 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs() 243 addSystemInclude(DriverArgs, CC1Args, CppIncludeBase); in AddClangCXXStdlibIncludeArgs() [all …]
|
D | ToolChains.h | 246 llvm::opt::ArgStringList &CC1Args) const; 585 void addClangWarningOptions(llvm::opt::ArgStringList &CC1Args) const override; 615 llvm::opt::ArgStringList &CC1Args) const override; 633 llvm::opt::ArgStringList &CC1Args) const override; 655 llvm::opt::ArgStringList &CC1Args) const override; 678 llvm::opt::ArgStringList &CC1Args) const override; 681 llvm::opt::ArgStringList &CC1Args) const override; 707 llvm::opt::ArgStringList &CC1Args) const override; 740 llvm::opt::ArgStringList &CC1Args) const override; 764 llvm::opt::ArgStringList &CC1Args) const override; [all …]
|
D | ToolChain.cpp | 511 ArgStringList &CC1Args) const { in AddClangSystemIncludeArgs() 516 ArgStringList &CC1Args) const { in addClangTargetOptions() 519 void ToolChain::addClangWarningOptions(ArgStringList &CC1Args) const {} in addClangWarningOptions() 582 ArgStringList &CC1Args, in addSystemInclude() argument 584 CC1Args.push_back("-internal-isystem"); in addSystemInclude() 585 CC1Args.push_back(DriverArgs.MakeArgString(Path)); in addSystemInclude() 597 ArgStringList &CC1Args, in addExternCSystemInclude() argument 599 CC1Args.push_back("-internal-externc-isystem"); in addExternCSystemInclude() 600 CC1Args.push_back(DriverArgs.MakeArgString(Path)); in addExternCSystemInclude() 604 ArgStringList &CC1Args, in addExternCSystemIncludeIfExists() argument [all …]
|
D | ToolChains.cpp | 241 void DarwinClang::addClangWarningOptions(ArgStringList &CC1Args) const { in addClangWarningOptions() 246 CC1Args.push_back("-Wdeprecated-objc-isa-usage"); in addClangWarningOptions() 247 CC1Args.push_back("-Werror=deprecated-objc-isa-usage"); in addClangWarningOptions() 252 CC1Args.push_back("-Werror=implicit-function-declaration"); in addClangWarningOptions() 2765 const ArgList &DriverArgs, ArgStringList &CC1Args) const { in addLibStdCXXIncludePaths() 2769 addSystemInclude(DriverArgs, CC1Args, Base + Suffix); in addLibStdCXXIncludePaths() 2776 addSystemInclude(DriverArgs, CC1Args, in addLibStdCXXIncludePaths() 2784 addSystemInclude(DriverArgs, CC1Args, in addLibStdCXXIncludePaths() 2786 addSystemInclude(DriverArgs, CC1Args, in addLibStdCXXIncludePaths() 2790 addSystemInclude(DriverArgs, CC1Args, Base + Suffix + "/backward"); in addLibStdCXXIncludePaths() [all …]
|
/external/llvm-project/clang/lib/Driver/ToolChains/ |
D | HIP.cpp | 246 llvm::opt::ArgStringList &CC1Args, in addClangTargetOptions() argument 248 HostTC.addClangTargetOptions(DriverArgs, CC1Args, DeviceOffloadingKind); in addClangTargetOptions() 258 CC1Args.push_back("-fcuda-is-device"); in addClangTargetOptions() 262 CC1Args.push_back("-fcuda-approx-transcendentals"); in addClangTargetOptions() 266 CC1Args.push_back("-fgpu-rdc"); in addClangTargetOptions() 268 CC1Args.append({"-mllvm", "-amdgpu-internalize-symbols"}); in addClangTargetOptions() 275 CC1Args.push_back(DriverArgs.MakeArgStringRef(ArgStr)); in addClangTargetOptions() 278 CC1Args.push_back("-fcuda-allow-variadic-functions"); in addClangTargetOptions() 284 CC1Args.append({"-fvisibility", "hidden"}); in addClangTargetOptions() 285 CC1Args.push_back("-fapply-global-visibility-to-externs"); in addClangTargetOptions() [all …]
|
D | WebAssembly.cpp | 208 ArgStringList &CC1Args, in addClangTargetOptions() argument 212 CC1Args.push_back("-fno-use-init-array"); in addClangTargetOptions() 237 CC1Args.push_back("-target-feature"); in addClangTargetOptions() 238 CC1Args.push_back("+atomics"); in addClangTargetOptions() 239 CC1Args.push_back("-target-feature"); in addClangTargetOptions() 240 CC1Args.push_back("+bulk-memory"); in addClangTargetOptions() 241 CC1Args.push_back("-target-feature"); in addClangTargetOptions() 242 CC1Args.push_back("+mutable-globals"); in addClangTargetOptions() 243 CC1Args.push_back("-target-feature"); in addClangTargetOptions() 244 CC1Args.push_back("+sign-ext"); in addClangTargetOptions() [all …]
|
D | AMDGPU.cpp | 308 ArgStringList &CC1Args) const { in AddHIPIncludeArgs() 328 CC1Args.push_back("-internal-isystem"); in AddHIPIncludeArgs() 329 CC1Args.push_back(DriverArgs.MakeArgString(P)); in AddHIPIncludeArgs() 340 CC1Args.push_back("-internal-isystem"); in AddHIPIncludeArgs() 341 CC1Args.push_back(DriverArgs.MakeArgString(getIncludePath())); in AddHIPIncludeArgs() 343 CC1Args.append({"-include", "__clang_hip_runtime_wrapper.h"}); in AddHIPIncludeArgs() 524 llvm::opt::ArgStringList &CC1Args, in addClangTargetOptions() argument 530 CC1Args.push_back("-fvisibility"); in addClangTargetOptions() 531 CC1Args.push_back("hidden"); in addClangTargetOptions() 532 CC1Args.push_back("-fapply-global-visibility-to-externs"); in addClangTargetOptions() [all …]
|
D | VEToolchain.cpp | 65 ArgStringList &CC1Args) const { in AddClangSystemIncludeArgs() 76 addSystemInclude(DriverArgs, CC1Args, P); in AddClangSystemIncludeArgs() 85 addSystemIncludes(DriverArgs, CC1Args, DirVec); in AddClangSystemIncludeArgs() 87 addSystemInclude(DriverArgs, CC1Args, in AddClangSystemIncludeArgs() 94 ArgStringList &CC1Args, in addClangTargetOptions() argument 96 CC1Args.push_back("-nostdsysteminc"); in addClangTargetOptions() 100 CC1Args.push_back("-fno-use-init-array"); in addClangTargetOptions() 104 ArgStringList &CC1Args) const { in AddClangCXXStdlibIncludeArgs() 114 addSystemIncludes(DriverArgs, CC1Args, DirVec); in AddClangCXXStdlibIncludeArgs() 118 addSystemInclude(DriverArgs, CC1Args, P); in AddClangCXXStdlibIncludeArgs()
|
D | Hurd.cpp | 136 ArgStringList &CC1Args) const { in AddClangSystemIncludeArgs() 144 addSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/local/include"); in AddClangSystemIncludeArgs() 149 addSystemInclude(DriverArgs, CC1Args, P); in AddClangSystemIncludeArgs() 163 addExternCSystemInclude(DriverArgs, CC1Args, Prefix + Dir); in AddClangSystemIncludeArgs() 171 AddMultilibIncludeArgs(DriverArgs, CC1Args); in AddClangSystemIncludeArgs() 176 addExternCSystemInclude(DriverArgs, CC1Args, Path); in AddClangSystemIncludeArgs() 182 addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/include"); in AddClangSystemIncludeArgs() 184 addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include"); in AddClangSystemIncludeArgs()
|
D | Cuda.cpp | 301 const ArgList &DriverArgs, ArgStringList &CC1Args) const { in AddCudaIncludeArgs() 308 CC1Args.push_back("-internal-isystem"); in AddCudaIncludeArgs() 309 CC1Args.push_back(DriverArgs.MakeArgString(P)); in AddCudaIncludeArgs() 320 CC1Args.push_back("-internal-isystem"); in AddCudaIncludeArgs() 321 CC1Args.push_back(DriverArgs.MakeArgString(getIncludePath())); in AddCudaIncludeArgs() 322 CC1Args.push_back("-include"); in AddCudaIncludeArgs() 323 CC1Args.push_back("__clang_cuda_runtime_wrapper.h"); in AddCudaIncludeArgs() 684 llvm::opt::ArgStringList &CC1Args, in addClangTargetOptions() argument 686 HostTC.addClangTargetOptions(DriverArgs, CC1Args, DeviceOffloadingKind); in addClangTargetOptions() 695 CC1Args.push_back("-fcuda-is-device"); in addClangTargetOptions() [all …]
|
D | Haiku.cpp | 25 llvm::opt::ArgStringList &CC1Args) const { in addLibCxxIncludePaths() 26 addSystemInclude(DriverArgs, CC1Args, in addLibCxxIncludePaths() 31 llvm::opt::ArgStringList &CC1Args) const { in addLibStdCxxIncludePaths() 33 getTriple().str(), "", "", "", DriverArgs, CC1Args); in addLibStdCxxIncludePaths()
|
D | HIP.h | 72 llvm::opt::ArgStringList &CC1Args, 83 void addClangWarningOptions(llvm::opt::ArgStringList &CC1Args) const override; 87 llvm::opt::ArgStringList &CC1Args) const override; 90 llvm::opt::ArgStringList &CC1Args) const override; 92 llvm::opt::ArgStringList &CC1Args) const override; 94 llvm::opt::ArgStringList &CC1Args) const override;
|
D | PS4CPU.cpp | 242 const ArgList &DriverArgs, ArgStringList &CC1Args, in addClangTargetOptions() argument 251 CC1Args.push_back("-fno-use-init-array"); in addClangTargetOptions() 258 CC1Args.push_back("-fvisibility-from-dllstorageclass"); in addClangTargetOptions() 261 DriverArgs.AddLastArg(CC1Args, options::OPT_fvisibility_dllexport_EQ); in addClangTargetOptions() 263 CC1Args.push_back("-fvisibility-dllexport=protected"); in addClangTargetOptions() 266 DriverArgs.AddLastArg(CC1Args, in addClangTargetOptions() 269 CC1Args.push_back("-fvisibility-nodllstorageclass=hidden"); in addClangTargetOptions() 272 DriverArgs.AddLastArg(CC1Args, in addClangTargetOptions() 275 CC1Args.push_back("-fvisibility-externs-dllimport=default"); in addClangTargetOptions() 280 CC1Args, options::OPT_fvisibility_externs_nodllstorageclass_EQ); in addClangTargetOptions() [all …]
|
D | Linux.h | 28 llvm::opt::ArgStringList &CC1Args) const override; 31 llvm::opt::ArgStringList &CC1Args) const override; 33 llvm::opt::ArgStringList &CC1Args) const override; 35 llvm::opt::ArgStringList &CC1Args) const override; 37 llvm::opt::ArgStringList &CC1Args) const override;
|
D | FreeBSD.h | 63 llvm::opt::ArgStringList &CC1Args) const override; 66 llvm::opt::ArgStringList &CC1Args) const override; 70 llvm::opt::ArgStringList &CC1Args) const override; 72 llvm::opt::ArgStringList &CC1Args) const override; 85 llvm::opt::ArgStringList &CC1Args,
|
D | XCore.cpp | 114 ArgStringList &CC1Args) const { in AddClangSystemIncludeArgs() 123 addSystemIncludes(DriverArgs, CC1Args, DirVec); in AddClangSystemIncludeArgs() 128 ArgStringList &CC1Args, in addClangTargetOptions() argument 130 CC1Args.push_back("-nostdsysteminc"); in addClangTargetOptions() 134 const ArgList &DriverArgs, ArgStringList &CC1Args) const { in AddClangCXXStdlibIncludeArgs() 144 addSystemIncludes(DriverArgs, CC1Args, DirVec); in AddClangCXXStdlibIncludeArgs()
|
D | Cuda.h | 51 llvm::opt::ArgStringList &CC1Args) const; 147 llvm::opt::ArgStringList &CC1Args, 168 llvm::opt::ArgStringList &CC1Args) const override; 170 void addClangWarningOptions(llvm::opt::ArgStringList &CC1Args) const override; 174 llvm::opt::ArgStringList &CC1Args) const override; 177 llvm::opt::ArgStringList &CC1Args) const override; 179 llvm::opt::ArgStringList &CC1Args) const override;
|
D | NaCl.cpp | 257 ArgStringList &CC1Args) const { in AddClangSystemIncludeArgs() 265 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangSystemIncludeArgs() 278 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangSystemIncludeArgs() 283 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangSystemIncludeArgs() 298 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangSystemIncludeArgs() 302 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangSystemIncludeArgs() 315 llvm::opt::ArgStringList &CC1Args) const { in addLibCxxIncludePaths() 324 addSystemInclude(DriverArgs, CC1Args, P.str()); in addLibCxxIncludePaths() 328 addSystemInclude(DriverArgs, CC1Args, P.str()); in addLibCxxIncludePaths() 332 addSystemInclude(DriverArgs, CC1Args, P.str()); in addLibCxxIncludePaths() [all …]
|
D | BareMetal.cpp | 109 ArgStringList &CC1Args) const { in AddClangSystemIncludeArgs() 116 addSystemInclude(DriverArgs, CC1Args, Dir.str()); in AddClangSystemIncludeArgs() 123 addSystemInclude(DriverArgs, CC1Args, Dir.str()); in AddClangSystemIncludeArgs() 129 ArgStringList &CC1Args, in addClangTargetOptions() argument 131 CC1Args.push_back("-nostdsysteminc"); in addClangTargetOptions() 135 const ArgList &DriverArgs, ArgStringList &CC1Args) const { in AddClangCXXStdlibIncludeArgs() 149 addSystemInclude(DriverArgs, CC1Args, Dir.str()); in AddClangCXXStdlibIncludeArgs() 173 addSystemInclude(DriverArgs, CC1Args, Dir.str()); in AddClangCXXStdlibIncludeArgs()
|
D | PPCLinux.cpp | 18 ArgStringList &CC1Args) const { in AddClangSystemIncludeArgs() 24 addSystemInclude(DriverArgs, CC1Args, P); in AddClangSystemIncludeArgs() 27 Linux::AddClangSystemIncludeArgs(DriverArgs, CC1Args); in AddClangSystemIncludeArgs()
|
D | MinGW.cpp | 499 ArgStringList &CC1Args) const { in AddCudaIncludeArgs() 500 CudaInstallation.AddCudaIncludeArgs(DriverArgs, CC1Args); in AddCudaIncludeArgs() 504 ArgStringList &CC1Args) const { in AddHIPIncludeArgs() 505 RocmInstallation.AddHIPIncludeArgs(DriverArgs, CC1Args); in AddHIPIncludeArgs() 554 ArgStringList &CC1Args) const { in AddClangSystemIncludeArgs() 561 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangSystemIncludeArgs() 569 addSystemInclude(DriverArgs, CC1Args, in AddClangSystemIncludeArgs() 573 addSystemInclude(DriverArgs, CC1Args, in AddClangSystemIncludeArgs() 575 addSystemInclude(DriverArgs, CC1Args, Base + "include"); in AddClangSystemIncludeArgs() 579 const ArgList &DriverArgs, ArgStringList &CC1Args) const { in AddClangCXXStdlibIncludeArgs() [all …]
|
/external/llvm-project/clang/tools/clang-fuzzer/handle-cxx/ |
D | handle_cxx.cpp | 26 llvm::opt::ArgStringList CC1Args; in HandleCXX() local 27 CC1Args.push_back("-cc1"); in HandleCXX() 29 CC1Args.push_back(A); in HandleCXX() 30 CC1Args.push_back(FileName); in HandleCXX() 40 tooling::newInvocation(&Diagnostics, CC1Args, /*BinaryName=*/nullptr)); in HandleCXX()
|
/external/clang/include/clang/Driver/ |
D | ToolChain.h | 109 llvm::opt::ArgStringList &CC1Args, 112 llvm::opt::ArgStringList &CC1Args, 116 llvm::opt::ArgStringList &CC1Args, 119 llvm::opt::ArgStringList &CC1Args, 368 llvm::opt::ArgStringList &CC1Args) const; 372 llvm::opt::ArgStringList &CC1Args) const; 375 virtual void addClangWarningOptions(llvm::opt::ArgStringList &CC1Args) const; 390 llvm::opt::ArgStringList &CC1Args) const; 419 llvm::opt::ArgStringList &CC1Args) const; 423 llvm::opt::ArgStringList &CC1Args) const;
|
/external/clang/tools/clang-fuzzer/ |
D | ClangFuzzer.cpp | 25 llvm::opt::ArgStringList CC1Args; in LLVMFuzzerTestOneInput() local 26 CC1Args.push_back("-cc1"); in LLVMFuzzerTestOneInput() 27 CC1Args.push_back("./test.cc"); in LLVMFuzzerTestOneInput() 36 tooling::newInvocation(&Diagnostics, CC1Args)); in LLVMFuzzerTestOneInput()
|