/llvm-project/clang/lib/Driver/ToolChains/ |
H A D | CommonArgs.h | 20 #include "llvm/Option/ArgList.h" 31 const llvm::opt::ArgList &Args, 35 const llvm::opt::ArgList &Args, 38 void claimNoWarnArgs(const llvm::opt::ArgList &Args); 40 bool addSanitizerRuntimes(const ToolChain &TC, const llvm::opt::ArgList &Args, 44 const llvm::opt::ArgList &Args, 47 bool addXRayRuntime(const ToolChain &TC, const llvm::opt::ArgList &Args, 50 void linkXRayRuntimeDeps(const ToolChain &TC, const llvm::opt::ArgList &Args, 55 const llvm::opt::ArgList &Args); 60 const llvm::opt::ArgList [all...] |
H A D | Clang.h | 34 static const char *getBaseInputName(const llvm::opt::ArgList &Args, 36 static const char *getBaseInputStem(const llvm::opt::ArgList &Args, 38 static const char *getDependencyFileName(const llvm::opt::ArgList &Args, 43 const Driver &D, const llvm::opt::ArgList &Args, 49 const llvm::opt::ArgList &Args, bool KernelOrKext, 52 void AddAArch64TargetArgs(const llvm::opt::ArgList &Args, 55 const llvm::opt::ArgList &Args, 58 void AddARM64TargetArgs(const llvm::opt::ArgList &Args, 60 void AddLoongArchTargetArgs(const llvm::opt::ArgList &Args, 62 void AddMIPSTargetArgs(const llvm::opt::ArgList &Args, [all …]
|
H A D | Darwin.h | 34 const llvm::opt::ArgList &Args); 40 void AddMachOArch(const llvm::opt::ArgList &Args, 61 const llvm::opt::ArgList &TCArgs, 67 void AddLinkArgs(Compilation &C, const llvm::opt::ArgList &Args, 80 const llvm::opt::ArgList &TCArgs, 94 const llvm::opt::ArgList &TCArgs, 106 const llvm::opt::ArgList &TCArgs, 120 const llvm::opt::ArgList &TCArgs, 133 const llvm::opt::ArgList &TCArgs, 158 const llvm::opt::ArgList [all...] |
H A D | Hexagon.h | 34 const llvm::opt::ArgList &TCArgs, 49 const llvm::opt::ArgList &TCArgs, 54 const llvm::opt::ArgList &Args, 68 unsigned getOptimizationLevel(const llvm::opt::ArgList &DriverArgs) const; 72 const llvm::opt::ArgList &Args); 75 void addClangTargetOptions(const llvm::opt::ArgList &DriverArgs, 79 AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs, 82 const llvm::opt::ArgList &DriverArgs, 85 void addLibCxxIncludePaths(const llvm::opt::ArgList &DriverArgs, 92 CXXStdlibType GetCXXStdlibType(const llvm::opt::ArgList &Args) const override; [all …]
|
H A D | Cuda.h | 44 const llvm::opt::ArgList &Args); 46 void AddCudaIncludeArgs(const llvm::opt::ArgList &DriverArgs, 92 const llvm::opt::ArgList &TCArgs, 106 const llvm::opt::ArgList &TCArgs, 119 const llvm::opt::ArgList &TCArgs, 124 const llvm::opt::ArgList &Args, 135 const llvm::Triple &HostTriple, const llvm::opt::ArgList &Args, 139 const llvm::opt::ArgList &Args); 146 addClangTargetOptions(const llvm::opt::ArgList &DriverArgs, 155 bool isPIEDefault(const llvm::opt::ArgList in isPICDefault() [all...] |
H A D | HIPAMD.h | 32 const llvm::opt::ArgList &TCArgs, 38 const llvm::opt::ArgList &Args) const; 42 const llvm::opt::ArgList &Args) const; 46 const llvm::opt::ArgList &Args) const; 57 const ToolChain &HostTC, const llvm::opt::ArgList &Args); 67 addClangTargetOptions(const llvm::opt::ArgList &DriverArgs, 71 CXXStdlibType GetCXXStdlibType(const llvm::opt::ArgList &Args) const override; 73 AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs, 76 const llvm::opt::ArgList &Args, 78 void AddIAMCUIncludeArgs(const llvm::opt::ArgList &DriverArgs, [all …]
|
H A D | MSVC.h | 37 const llvm::opt::ArgList &TCArgs, 49 const llvm::opt::ArgList &Args); 56 getDefaultUnwindTableLevel(const llvm::opt::ArgList &Args) const override; 58 bool isPIEDefault(const llvm::opt::ArgList &Args) const override; 89 AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs, 92 const llvm::opt::ArgList &DriverArgs, 95 void AddCudaIncludeArgs(const llvm::opt::ArgList &DriverArgs, 98 void AddHIPIncludeArgs(const llvm::opt::ArgList &DriverArgs, 101 void AddHIPRuntimeLibArgs(const llvm::opt::ArgList &Args, 104 void addSYCLIncludeArgs(const llvm::opt::ArgList [all...] |
H A D | HIPSPV.h | 31 const llvm::opt::ArgList &TCArgs, 38 const llvm::opt::ArgList &Args) const; 49 const ToolChain &HostTC, const llvm::opt::ArgList &Args); 56 addClangTargetOptions(const llvm::opt::ArgList &DriverArgs, 60 CXXStdlibType GetCXXStdlibType(const llvm::opt::ArgList &Args) const override; 62 AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs, 65 const llvm::opt::ArgList &Args, 67 void AddIAMCUIncludeArgs(const llvm::opt::ArgList &DriverArgs, 69 void AddHIPIncludeArgs(const llvm::opt::ArgList &DriverArgs, 72 getDeviceLibs(const llvm::opt::ArgList &Args) const override; [all …]
|
H A D | Fuchsia.h | 31 const llvm::opt::ArgList &TCArgs, 44 const llvm::opt::ArgList &TCArgs, 55 const llvm::opt::ArgList &Args); 66 getDefaultUnwindTableLevel(const llvm::opt::ArgList &Args) const override { in getDefaultUnwindTableLevel() 70 bool isPIEDefault(const llvm::opt::ArgList &Args) const override { in isPIEDefault() 83 std::string ComputeEffectiveClangTriple(const llvm::opt::ArgList &Args, 90 GetRuntimeLibType(const llvm::opt::ArgList &Args) const override; 91 CXXStdlibType GetCXXStdlibType(const llvm::opt::ArgList &Args) const override; 94 const llvm::opt::ArgList &Args) const override { in IsAArch64OutlineAtomicsDefault() 99 addClangTargetOptions(const llvm::opt::ArgList &DriverArgs, [all …]
|
H A D | Linux.h | 22 const llvm::opt::ArgList &Args); 31 AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs, 34 const llvm::opt::ArgList &DriverArgs, 36 void AddCudaIncludeArgs(const llvm::opt::ArgList &DriverArgs, 38 void AddHIPIncludeArgs(const llvm::opt::ArgList &DriverArgs, 40 void AddHIPRuntimeLibArgs(const llvm::opt::ArgList &Args, 42 void AddIAMCUIncludeArgs(const llvm::opt::ArgList &DriverArgs, 44 void addSYCLIncludeArgs(const llvm::opt::ArgList &DriverArgs, 50 IsAArch64OutlineAtomicsDefault(const llvm::opt::ArgList &Args) const override; 51 bool isPIEDefault(const llvm::opt::ArgList [all...] |
H A D | MinGW.h | 34 const llvm::opt::ArgList &TCArgs, 47 const llvm::opt::ArgList &TCArgs, 51 void AddLibGCC(const llvm::opt::ArgList &Args, 62 const llvm::opt::ArgList &Args); 65 const llvm::opt::ArgList &Args); 70 getDefaultUnwindTableLevel(const llvm::opt::ArgList &Args) const override; 72 bool isPIEDefault(const llvm::opt::ArgList &Args) const override; 78 const llvm::opt::ArgList &Args) const override; 81 AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs, 84 addClangTargetOptions(const llvm::opt::ArgList &DriverArgs, [all …]
|
H A D | PS4CPU.h | 24 void addProfileRTArgs(const ToolChain &TC, const llvm::opt::ArgList &Args, 27 void addSanitizerArgs(const ToolChain &TC, const llvm::opt::ArgList &Args, 38 const llvm::opt::ArgList &TCArgs, 53 const llvm::opt::ArgList &TCArgs, 68 const llvm::opt::ArgList &TCArgs, 81 const llvm::opt::ArgList &Args, StringRef Platform, 85 AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs, in GetDefaultStackProtectorLevel() 88 void addLibCxxIncludePaths(const llvm::opt::ArgList &DriverArgs, in getDefaultDebuggerTuning() 92 addLibStdCxxIncludePaths(const llvm::opt::ArgList &DriverArgs, 112 const llvm::opt::ArgList [all...] |
H A D | AMDGPU.h | 36 const llvm::opt::ArgList &TCArgs, 41 const llvm::opt::ArgList &Args, 62 const llvm::opt::ArgList &Args); 68 bool isPIEDefault(const llvm::opt::ArgList &Args) const override { in isPIEDefault() 78 void addClangTargetOptions(const llvm::opt::ArgList &DriverArgs, 87 const llvm::opt::ArgList &DriverArgs, const JobAction &JA, 90 static bool isWave64(const llvm::opt::ArgList &DriverArgs, 102 const llvm::opt::ArgList &DriverArgs, 109 getSystemGPUArchs(const llvm::opt::ArgList &Args) const override; 113 virtual void checkTargetID(const llvm::opt::ArgList [all...] |
H A D | OHOS.h | 23 const llvm::opt::ArgList &Args); 37 bool isPIEDefault(const llvm::opt::ArgList &Args) const override { return true; } in isPIEDefault() 39 UnwindLibType GetUnwindLibType(const llvm::opt::ArgList &Args) const override; 43 GetRuntimeLibType(const llvm::opt::ArgList &Args) const override; 45 GetCXXStdlibType(const llvm::opt::ArgList &Args) const override; 48 AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs, 51 AddClangCXXStdlibIncludeArgs(const llvm::opt::ArgList &DriverArgs, 53 void AddCXXStdlibLibArgs(const llvm::opt::ArgList &Args, 57 std::string getDynamicLinker(const llvm::opt::ArgList &Args) const override; 60 getCompilerRT(const llvm::opt::ArgList &Args, StringRef Component, [all …]
|
H A D | WebAssembly.h | 26 std::string getLinkerPath(const llvm::opt::ArgList &Args) const; 29 const llvm::opt::ArgList &TCArgs, 41 const llvm::opt::ArgList &Args); 48 bool isPIEDefault(const llvm::opt::ArgList &Args) const override; 55 addClangTargetOptions(const llvm::opt::ArgList &DriverArgs, 59 CXXStdlibType GetCXXStdlibType(const llvm::opt::ArgList &Args) const override; 61 AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs, 64 const llvm::opt::ArgList &DriverArgs, 66 void AddCXXStdlibLibArgs(const llvm::opt::ArgList &Args, 82 void addLibCxxIncludePaths(const llvm::opt::ArgList &DriverArgs, [all …]
|
H A D | AIX.h | 30 const llvm::opt::ArgList &TCArgs, 43 const llvm::opt::ArgList &TCArgs, 60 const llvm::opt::ArgList &Args); 66 bool isPIEDefault(const llvm::opt::ArgList &Args) const override { in isPIEDefault() 73 AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs, 77 const llvm::opt::ArgList &DriverArgs, 80 void AddCXXStdlibLibArgs(const llvm::opt::ArgList &Args, 84 const llvm::opt::ArgList &Args, llvm::opt::ArgStringList &CC1Args, 87 void addProfileRTLibs(const llvm::opt::ArgList &Args, 106 llvm::StringRef GetHeaderSysroot(const llvm::opt::ArgList &DriverArgs) const; [all …]
|
H A D | Flang.h | 16 #include "llvm/Option/ArgList.h" 32 void addFortranDialectOptions(const llvm::opt::ArgList &Args, 40 void addPreprocessingOptions(const llvm::opt::ArgList &Args, 48 void addPicOptions(const llvm::opt::ArgList &Args, 56 void addTargetOptions(const llvm::opt::ArgList &Args, 63 void AddAArch64TargetArgs(const llvm::opt::ArgList &Args, 70 void AddAMDGPUTargetArgs(const llvm::opt::ArgList &Args, 77 void AddLoongArch64TargetArgs(const llvm::opt::ArgList &Args, 84 void AddRISCVTargetArgs(const llvm::opt::ArgList &Args, 91 void AddX86_64TargetArgs(const llvm::opt::ArgList [all...] |
H A D | MSP430.h | 31 const llvm::opt::ArgList &Args); 33 AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs, 35 void addClangTargetOptions(const llvm::opt::ArgList &DriverArgs, 40 bool isPIEDefault(const llvm::opt::ArgList &Args) const override { in isPIEDefault() 46 GetUnwindLibType(const llvm::opt::ArgList &Args) const override { in GetUnwindLibType() 69 const llvm::opt::ArgList &TCArgs, 73 void AddStartFiles(bool UseExceptions, const llvm::opt::ArgList &Args, 75 void AddDefaultLibs(const llvm::opt::ArgList &Args, 77 void AddEndFiles(bool UseExceptions, const llvm::opt::ArgList &Args, 81 void getMSP430TargetFeatures(const Driver &D, const llvm::opt::ArgList &Args,
|
H A D | Gnu.h | 36 StringRef Path, const llvm::opt::ArgList &Args, 51 const llvm::opt::ArgList &TCArgs, 64 const llvm::opt::ArgList &TCArgs, 78 const llvm::opt::ArgList &TCArgs, 96 const llvm::opt::ArgList &TCArgs, 222 void init(const llvm::Triple &TargetTriple, const llvm::opt::ArgList &Args); 266 const llvm::opt::ArgList &Args, 271 const llvm::opt::ArgList &Args, 278 const llvm::opt::ArgList &Args, 283 const llvm::opt::ArgList [all...] |
H A D | FreeBSD.h | 31 const llvm::opt::ArgList &TCArgs, 44 const llvm::opt::ArgList &TCArgs, 55 const llvm::opt::ArgList &Args); 62 AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs, 72 void addLibCxxIncludePaths(const llvm::opt::ArgList &DriverArgs, 74 void AddCXXStdlibLibArgs(const llvm::opt::ArgList &Args, 76 void AddCudaIncludeArgs(const llvm::opt::ArgList &DriverArgs, 78 void AddHIPIncludeArgs(const llvm::opt::ArgList &DriverArgs, 82 getDefaultUnwindTableLevel(const llvm::opt::ArgList &Args) const override; 83 bool isPIEDefault(const llvm::opt::ArgList &Args) const override;
|
H A D | BareMetal.h | 25 const llvm::opt::ArgList &Args); 31 const llvm::opt::ArgList &Args); 43 bool isPIEDefault(const llvm::opt::ArgList &Args) const override { in isPIEDefault() 61 AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs, 64 addClangTargetOptions(const llvm::opt::ArgList &DriverArgs, 68 const llvm::opt::ArgList &DriverArgs, 74 getMultilibMacroDefinesStr(llvm::opt::ArgList &Args) const override; 101 const llvm::opt::ArgList &TCArgs, 112 const llvm::opt::ArgList &TCArgs,
|
H A D | NetBSD.h | 30 const llvm::opt::ArgList &TCArgs, 43 const llvm::opt::ArgList &TCArgs, 54 const llvm::opt::ArgList &Args); 62 AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs, 65 const llvm::opt::ArgList &DriverArgs, 68 const llvm::opt::ArgList &DriverArgs, 72 getDefaultUnwindTableLevel(const llvm::opt::ArgList &Args) const override { in getDefaultUnwindTableLevel() 77 const llvm::opt::ArgList &Args) const override; 81 void addClangTargetOptions(const llvm::opt::ArgList &DriverArgs,
|
/llvm-project/llvm/lib/Option/ |
H A D | ArgList.cpp | 1 //===- ArgList.cpp - Argument List Management -----------------------------===// 16 #include "llvm/Option/ArgList.h" 32 void ArgList::append(Arg *A) { in append() 45 void ArgList::eraseArg(OptSpecifier Id) { in eraseArg() 56 ArgList::OptRange 57 ArgList::getRange(std::initializer_list<OptSpecifier> Ids) const { in getRange() 72 bool ArgList::hasFlag(OptSpecifier Pos, OptSpecifier Neg, bool Default) const { in hasFlag() 78 bool ArgList::hasFlagNoClaim(OptSpecifier Pos, OptSpecifier Neg, in hasFlagNoClaim() 85 bool ArgList::hasFlag(OptSpecifier Pos, OptSpecifier PosAlias, OptSpecifier Neg, in hasFlag() 92 StringRef ArgList [all...] |
/llvm-project/clang/include/clang/Driver/ |
H A D | ToolChain.h | 40 class ArgList; variable 142 const llvm::opt::ArgList &Args; 204 const llvm::opt::ArgList &Args); 217 virtual std::string buildCompilerRTBasename(const llvm::opt::ArgList &Args, 229 static void addSystemInclude(const llvm::opt::ArgList &DriverArgs, 232 static void addExternCSystemInclude(const llvm::opt::ArgList &DriverArgs, 236 addExternCSystemIncludeIfExists(const llvm::opt::ArgList &DriverArgs, 239 static void addSystemIncludes(const llvm::opt::ArgList &DriverArgs, 316 Multilib::flags_list getMultilibFlags(const llvm::opt::ArgList &) const; 318 SanitizerArgs getSanitizerArgs(const llvm::opt::ArgList [all...] |
/llvm-project/clang/lib/Driver/ToolChains/Arch/ |
H A D | ARM.h | 14 #include "llvm/Option/ArgList.h" 35 void appendBE8LinkFlag(const llvm::opt::ArgList &Args, 54 FloatABI getARMFloatABI(const ToolChain &TC, const llvm::opt::ArgList &Args); 56 const llvm::opt::ArgList &Args); 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, 66 void getARMArchCPUFromArgs(const llvm::opt::ArgList &Args, 71 const llvm::opt::ArgList &Args, 77 bool isARMBigEndian(const llvm::Triple &Triple, const llvm::opt::ArgList [all...] |