/external/clang/lib/Driver/ |
D | ToolChain.cpp | 39 static ToolChain::RTTIMode CalculateRTTIMode(const ArgList &Args, in CalculateRTTIMode() 45 return ToolChain::RM_EnabledExplicitly; in CalculateRTTIMode() 47 return ToolChain::RM_DisabledExplicitly; in CalculateRTTIMode() 52 return ToolChain::RM_EnabledImplicitly; in CalculateRTTIMode() 62 return ToolChain::RM_EnabledImplicitly; in CalculateRTTIMode() 64 return ToolChain::RM_DisabledImplicitly; in CalculateRTTIMode() 67 ToolChain::ToolChain(const Driver &D, const llvm::Triple &T, in ToolChain() function in ToolChain 77 ToolChain::~ToolChain() { in ~ToolChain() 80 vfs::FileSystem &ToolChain::getVFS() const { return getDriver().getVFS(); } in getVFS() 82 bool ToolChain::useIntegratedAs() const { in useIntegratedAs() [all …]
|
D | Tools.h | 41 SmallString<128> getCompilerRT(const ToolChain &TC, 61 const ToolChain *AuxToolChain) const; 105 Clang(const ToolChain &TC) : Tool("clang", "clang frontend", TC, RF_Full) {} in Clang() 121 ClangAs(const ToolChain &TC) in ClangAs() 141 GnuTool(const char *Name, const char *ShortName, const ToolChain &TC) in GnuTool() 149 Common(const char *Name, const char *ShortName, const ToolChain &TC) in Common() 165 Preprocessor(const ToolChain &TC) in Preprocessor() 177 Compiler(const ToolChain &TC) : Common("gcc::Compiler", "gcc frontend", TC) {} in Compiler() 188 Linker(const ToolChain &TC) : Common("gcc::Linker", "linker (via gcc)", TC) {} in Linker() 204 Assembler(const ToolChain &TC) in Assembler() [all …]
|
D | CrossWindowsToolChain.cpp | 22 if (GetCXXStdlibType(Args) == ToolChain::CST_Libstdcxx) { in CrossWindowsToolChain() 79 case ToolChain::CST_Libcxx: in AddClangCXXStdlibIncludeArgs() 83 case ToolChain::CST_Libstdcxx: in AddClangCXXStdlibIncludeArgs() 96 case ToolChain::CST_Libcxx: in AddCXXStdlibLibArgs() 99 case ToolChain::CST_Libstdcxx: in AddCXXStdlibLibArgs() 111 SanitizerMask Res = ToolChain::getSupportedSanitizers(); in getSupportedSanitizers()
|
D | Tools.cpp | 209 static void AddLinkerInputs(const ToolChain &TC, const InputInfoList &Inputs, in AddLinkerInputs() 278 const ToolChain *AuxToolChain) const { in AddPreprocessingOptions() 641 arm::FloatABI arm::getARMFloatABI(const ToolChain &TC, const ArgList &Args) { in getARMFloatABI() 735 static void getARMTargetFeatures(const ToolChain &TC, in getARMTargetFeatures() 1781 static void AddGoldPlugin(const ToolChain &ToolChain, const ArgList &Args, in AddGoldPlugin() argument 1788 ToolChain.getDriver().Dir + "/../lib" CLANG_LIBDIR_SUFFIX "/LLVMgold.so"; in AddGoldPlugin() 1795 std::string CPU = getCPUName(Args, ToolChain.getTriple()); in AddGoldPlugin() 2287 static void getTargetFeatures(const ToolChain &TC, const llvm::Triple &Triple, in getTargetFeatures() 2378 const ToolChain &TC, bool KernelOrKext, in addExceptionArgs() 2426 ToolChain::RTTIMode RTTIMode = TC.getRTTIMode(); in addExceptionArgs() [all …]
|
D | MinGWToolChain.cpp | 66 : ToolChain(D, Triple, Args) { in MinGW() 106 return ToolChain::getTool(AC); in getTool() 198 if (GetRuntimeLibType(DriverArgs) == ToolChain::RLT_Libgcc) { in AddClangSystemIncludeArgs() 220 case ToolChain::CST_Libcxx: in AddClangCXXStdlibIncludeArgs() 226 case ToolChain::CST_Libstdcxx: in AddClangCXXStdlibIncludeArgs()
|
D | ToolChains.cpp | 45 : ToolChain(D, Triple, Args) { in MachO() 216 return ToolChain::getTool(AC); in getTool() 375 if (GetCXXStdlibType(Args) == ToolChain::CST_Libcxx) { in AddLinkSanitizerLibArgs() 386 case ToolChain::RLT_CompilerRT: in AddLinkRuntimeLibArgs() 696 case ToolChain::CST_Libcxx: in AddCXXStdlibLibArgs() 700 case ToolChain::CST_Libstdcxx: in AddCXXStdlibLibArgs() 1038 if (Type == ToolChain::CST_Libcxx) { in TranslateArgs() 1215 SanitizerMask Res = ToolChain::getSupportedSanitizers(); in getSupportedSanitizers() 2316 : ToolChain(D, Triple, Args), GCCInstallation(D), CudaInstallation(D) { in Generic_GCC() 2335 return ToolChain::getTool(AC); in getTool() [all …]
|
D | Compilation.cpp | 25 Compilation::Compilation(const Driver &D, const ToolChain &_DefaultToolChain, in Compilation() 37 for (llvm::DenseMap<std::pair<const ToolChain*, const char*>, in ~Compilation() 56 const DerivedArgList &Compilation::getArgsForToolChain(const ToolChain *TC, in getArgsForToolChain()
|
D | SanitizerArgs.cpp | 199 SanitizerArgs::SanitizerArgs(const ToolChain &TC, in SanitizerArgs() 214 ToolChain::RTTIMode RTTIMode = TC.getRTTIMode(); in SanitizerArgs() 253 (RTTIMode == ToolChain::RM_DisabledImplicitly || in SanitizerArgs() 254 RTTIMode == ToolChain::RM_DisabledExplicitly)) { in SanitizerArgs() 255 if (RTTIMode == ToolChain::RM_DisabledImplicitly) in SanitizerArgs() 290 (RTTIMode == ToolChain::RM_DisabledImplicitly || in SanitizerArgs() 291 RTTIMode == ToolChain::RM_DisabledExplicitly)) { in SanitizerArgs() 568 void SanitizerArgs::addArgs(const ToolChain &TC, const llvm::opt::ArgList &Args, in addArgs()
|
D | ToolChains.h | 31 class LLVM_LIBRARY_VISIBILITY Generic_GCC : public ToolChain { 237 class LLVM_LIBRARY_VISIBILITY MachO : public ToolChain { 333 return ToolChain::RLT_CompilerRT; in GetDefaultRuntimeLibType() 604 return ToolChain::CST_Libcxx; in GetCXXStdlibType() 636 class LLVM_LIBRARY_VISIBILITY MinGW : public ToolChain { 888 ToolChain::path_list &LibPaths) const; 946 class LLVM_LIBRARY_VISIBILITY TCEToolChain : public ToolChain { 958 class LLVM_LIBRARY_VISIBILITY MSVCToolChain : public ToolChain { 1039 class LLVM_LIBRARY_VISIBILITY XCoreToolChain : public ToolChain { 1094 class LLVM_LIBRARY_VISIBILITY WebAssembly final : public ToolChain {
|
D | Tool.cpp | 14 Tool::Tool(const char *_Name, const char *_ShortName, const ToolChain &TC, in Tool()
|
D | CMakeLists.txt | 19 ToolChain.cpp
|
D | Driver.cpp | 489 const ToolChain &TC = in BuildCompilation() 622 const ToolChain &TC = C.getDefaultToolChain(); in generateCompilationDiagnostics() 796 const ToolChain &TC = C.getDefaultToolChain(); in PrintVersion() 864 const ToolChain &TC = C.getDefaultToolChain(); in HandleImmediateArgs() 1004 void Driver::BuildUniversalActions(Compilation &C, const ToolChain &TC, in BuildUniversalActions() 1126 void Driver::BuildInputs(const ToolChain &TC, DerivedArgList &Args, in BuildInputs() 1375 void Driver::BuildActions(Compilation &C, const ToolChain &TC, in BuildActions() 1542 Driver::ConstructPhaseAction(const ToolChain &TC, const ArgList &Args, in ConstructPhaseAction() 1722 const ToolChain *TC, const JobAction *JA, in selectToolForJob() 1799 const ToolChain *TC, const char *BoundArch, in BuildJobsForAction() [all …]
|
D | Android.mk | 25 ToolChain.cpp \
|
D | MSVCToolChain.cpp | 49 : ToolChain(D, Triple, Args) { in MSVCToolChain() 609 ToolChain::ComputeEffectiveClangTriple(Args, InputType); in ComputeEffectiveClangTriple() 632 SanitizerMask Res = ToolChain::getSupportedSanitizers(); in getSupportedSanitizers()
|
/external/clang/include/clang/Driver/ |
D | Compilation.h | 30 class ToolChain; variable 39 const ToolChain &DefaultToolChain; 41 const ToolChain *CudaHostToolChain; 42 const ToolChain *CudaDeviceToolChain; 59 llvm::DenseMap<std::pair<const ToolChain *, const char *>, 79 Compilation(const Driver &D, const ToolChain &DefaultToolChain, 86 const ToolChain &getDefaultToolChain() const { return DefaultToolChain; } in getDefaultToolChain() 87 const ToolChain *getCudaHostToolChain() const { return CudaHostToolChain; } in getCudaHostToolChain() 88 const ToolChain *getCudaDeviceToolChain() const { in getCudaDeviceToolChain() 92 void setCudaHostToolChain(const ToolChain *HostToolChain) { in setCudaHostToolChain() [all …]
|
D | Driver.h | 53 class ToolChain; variable 202 mutable llvm::StringMap<ToolChain *> ToolChains; 218 void generatePrefixedToolNames(const char *Tool, const ToolChain &TC, 294 void BuildInputs(const ToolChain &TC, llvm::opt::DerivedArgList &Args, 304 void BuildActions(Compilation &C, const ToolChain &TC, 313 void BuildUniversalActions(Compilation &C, const ToolChain &TC, 358 std::string GetFilePath(const char *Name, const ToolChain &TC) const; 366 std::string GetProgramPath(const char *Name, const ToolChain &TC) const; 379 ConstructPhaseAction(const ToolChain &TC, const llvm::opt::ArgList &Args, 386 const ToolChain *TC, [all …]
|
D | Tool.h | 29 class ToolChain; variable 60 const ToolChain &TheToolChain; 72 Tool(const char *Name, const char *ShortName, const ToolChain &TC, 84 const ToolChain &getToolChain() const { return TheToolChain; } in getToolChain()
|
D | SanitizerArgs.h | 22 class ToolChain; variable 42 SanitizerArgs(const ToolChain &TC, const llvm::opt::ArgList &Args); 63 void addArgs(const ToolChain &TC, const llvm::opt::ArgList &Args,
|
D | ToolChain.h | 47 class ToolChain { 98 ToolChain(const Driver &D, const llvm::Triple &T, 123 virtual ~ToolChain(); 256 return ToolChain::RLT_Libgcc; in GetDefaultRuntimeLibType()
|
/external/clang/docs/ |
D | DriverInternals.rst | 226 ToolChain is responsible for selecting the tool to perform a 238 The driver interacts with a ToolChain to perform the Tool bindings. 239 Each ToolChain contains information about all the tools needed for 317 ToolChain Argument Translation 395 inside a single ToolChain.
|
/external/clang/tools/driver/ |
D | driver.cpp | 329 ToolChain::getTargetAndModeFromProgramName(ProgName); in main()
|
/external/clang/lib/Tooling/ |
D | Tooling.cpp | 182 clang::driver::ToolChain::getTargetAndModeFromProgramName(InvokedAs); in addTargetAndModeForProgramName()
|