Home
last modified time | relevance | path

Searched refs:ToolChain (Results 1 – 20 of 20) sorted by relevance

/external/clang/lib/Driver/
DToolChain.cpp34 static ToolChain::RTTIMode CalculateRTTIMode(const ArgList &Args, in CalculateRTTIMode()
40 return ToolChain::RM_EnabledExplicitly; in CalculateRTTIMode()
42 return ToolChain::RM_DisabledExplicitly; in CalculateRTTIMode()
47 return ToolChain::RM_EnabledImplicitly; in CalculateRTTIMode()
57 return ToolChain::RM_EnabledImplicitly; in CalculateRTTIMode()
59 return ToolChain::RM_DisabledImplicitly; in CalculateRTTIMode()
62 ToolChain::ToolChain(const Driver &D, const llvm::Triple &T, in ToolChain() function in ToolChain
72 ToolChain::~ToolChain() { in ~ToolChain()
75 const Driver &ToolChain::getDriver() const { in getDriver()
79 bool ToolChain::useIntegratedAs() const { in useIntegratedAs()
[all …]
DTools.h93 Clang(const ToolChain &TC) : Tool("clang", "clang frontend", TC, RF_Full) {} in Clang()
109 ClangAs(const ToolChain &TC) : Tool("clang::as", in ClangAs()
130 GnuTool(const char *Name, const char *ShortName, const ToolChain &TC) in GnuTool()
139 const ToolChain &TC) : GnuTool(Name, ShortName, TC) {} in Common()
156 Preprocess(const ToolChain &TC) : Common("gcc::Preprocess", in Preprocess()
168 Compile(const ToolChain &TC) : Common("gcc::Compile", in Compile()
180 Link(const ToolChain &TC) : Common("gcc::Link", in Link()
196 Assemble(const ToolChain &TC) : GnuTool("hexagon::Assemble", in Assemble()
211 Link(const ToolChain &TC) : GnuTool("hexagon::Link", in Link()
260 Link(const ToolChain &TC) : GnuTool("cloudabi::Link", "linker", TC) {} in Link()
[all …]
DCrossWindowsToolChain.cpp22 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()
DTools.cpp193 static void AddLinkerInputs(const ToolChain &TC, in AddLinkerInputs()
1573 static void AddGoldPlugin(const ToolChain &ToolChain, const ArgList &Args, in AddGoldPlugin() argument
1579 std::string Plugin = ToolChain.getDriver().Dir + "/../lib" CLANG_LIBDIR_SUFFIX "/LLVMgold.so"; in AddGoldPlugin()
1586 std::string CPU = getCPUName(Args, ToolChain.getTriple()); in AddGoldPlugin()
2001 const ToolChain &TC, bool KernelOrKext, in addExceptionArgs()
2046 ToolChain::RTTIMode RTTIMode = TC.getRTTIMode(); in addExceptionArgs()
2050 if (RTTIMode == ToolChain::RM_DisabledExplicitly) { in addExceptionArgs()
2055 } else if (RTTIMode == ToolChain::RM_EnabledImplicitly) in addExceptionArgs()
2058 assert(TC.getRTTIMode() != ToolChain::RM_DisabledImplicitly); in addExceptionArgs()
2071 const ToolChain &TC) { in ShouldDisableAutolink()
[all …]
DToolChains.cpp43 : ToolChain(D, Triple, Args) { in MachO()
227 return ToolChain::getTool(AC); in getTool()
342 if (GetCXXStdlibType(Args) == ToolChain::CST_Libcxx) { in AddLinkSanitizerLibArgs()
353 case ToolChain::RLT_CompilerRT: in AddLinkRuntimeLibArgs()
585 case ToolChain::CST_Libcxx: in AddCXXStdlibLibArgs()
589 case ToolChain::CST_Libstdcxx: { in AddCXXStdlibLibArgs()
927 if (Type == ToolChain::CST_Libcxx) { in TranslateArgs()
2012 : ToolChain(D, Triple, Args), GCCInstallation() { in Generic_GCC()
2032 return ToolChain::getTool(AC); in getTool()
2126 ToolChain::path_list *LibPaths) in GetHexagonLibraryPaths()
[all …]
DSanitizerArgs.cpp119 static uint64_t getToolchainUnsupportedKinds(const ToolChain &TC) { in getToolchainUnsupportedKinds()
191 SanitizerArgs::SanitizerArgs(const ToolChain &TC, in SanitizerArgs()
201 ToolChain::RTTIMode RTTIMode = TC.getRTTIMode(); in SanitizerArgs()
229 (RTTIMode == ToolChain::RM_DisabledImplicitly || in SanitizerArgs()
230 RTTIMode == ToolChain::RM_DisabledExplicitly)) { in SanitizerArgs()
231 if (RTTIMode == ToolChain::RM_DisabledImplicitly) in SanitizerArgs()
265 (RTTIMode == ToolChain::RM_DisabledImplicitly || in SanitizerArgs()
266 RTTIMode == ToolChain::RM_DisabledExplicitly)) { in SanitizerArgs()
DDriver.cpp377 const ToolChain &TC = getToolChain(*Args); in BuildCompilation()
492 const ToolChain &TC = C.getDefaultToolChain(); in generateCompilationDiagnostics()
673 const ToolChain &TC = C.getDefaultToolChain(); in PrintVersion()
738 const ToolChain &TC = C.getDefaultToolChain(); in HandleImmediateArgs()
745 for (ToolChain::path_list::const_iterator it = TC.getProgramPaths().begin(), in HandleImmediateArgs()
756 for (ToolChain::path_list::const_iterator it = TC.getFilePaths().begin(), in HandleImmediateArgs()
876 void Driver::BuildUniversalActions(const ToolChain &TC, in BuildUniversalActions()
1000 void Driver::BuildInputs(const ToolChain &TC, DerivedArgList &Args, in BuildInputs()
1152 void Driver::BuildActions(const ToolChain &TC, DerivedArgList &Args, in BuildActions()
1302 Driver::ConstructPhaseAction(const ToolChain &TC, const ArgList &Args, in ConstructPhaseAction()
[all …]
DCompilation.cpp25 Compilation::Compilation(const Driver &D, const ToolChain &_DefaultToolChain, in Compilation()
36 for (llvm::DenseMap<std::pair<const ToolChain*, const char*>, in ~Compilation()
55 const DerivedArgList &Compilation::getArgsForToolChain(const ToolChain *TC, in getArgsForToolChain()
DToolChains.h31 class LLVM_LIBRARY_VISIBILITY Generic_GCC : public ToolChain {
186 class LLVM_LIBRARY_VISIBILITY MachO : public ToolChain {
287 return ToolChain::RLT_CompilerRT; in GetDefaultRuntimeLibType()
525 return ToolChain::CST_Libcxx; in GetCXXStdlibType()
760 class LLVM_LIBRARY_VISIBILITY TCEToolChain : public ToolChain {
772 class LLVM_LIBRARY_VISIBILITY MSVCToolChain : public ToolChain {
835 class LLVM_LIBRARY_VISIBILITY XCore : public ToolChain {
DTool.cpp14 Tool::Tool(const char *_Name, const char *_ShortName, const ToolChain &TC, in Tool()
DCMakeLists.txt18 ToolChain.cpp
DAndroid.mk24 ToolChain.cpp \
DMSVCToolChain.cpp48 : ToolChain(D, Triple, Args) { in MSVCToolChain()
/external/clang/include/clang/Driver/
DDriver.h48 class ToolChain; variable
184 mutable llvm::StringMap<ToolChain *> ToolChains;
200 void generatePrefixedToolNames(const char *Tool, const ToolChain &TC,
274 void BuildInputs(const ToolChain &TC, llvm::opt::DerivedArgList &Args,
283 void BuildActions(const ToolChain &TC, llvm::opt::DerivedArgList &Args,
292 void BuildUniversalActions(const ToolChain &TC,
339 std::string GetFilePath(const char *Name, const ToolChain &TC) const;
347 std::string GetProgramPath(const char *Name, const ToolChain &TC) const;
360 ConstructPhaseAction(const ToolChain &TC, const llvm::opt::ArgList &Args,
367 const ToolChain *TC,
[all …]
DCompilation.h30 class ToolChain; variable
39 const ToolChain &DefaultToolChain;
56 llvm::DenseMap<std::pair<const ToolChain *, const char *>,
76 Compilation(const Driver &D, const ToolChain &DefaultToolChain,
83 const ToolChain &getDefaultToolChain() const { return DefaultToolChain; } in getDefaultToolChain()
114 const llvm::opt::DerivedArgList &getArgsForToolChain(const ToolChain *TC,
DTool.h29 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()
DSanitizerArgs.h21 class ToolChain; variable
38 SanitizerArgs(const ToolChain &TC, const llvm::opt::ArgList &Args);
DToolChain.h42 class ToolChain {
92 ToolChain(const Driver &D, const llvm::Triple &T,
117 virtual ~ToolChain();
232 return ToolChain::RLT_Libgcc; in GetDefaultRuntimeLibType()
/external/clang/docs/
DDriverInternals.rst226 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/patches/
D0004-Add-Android-build-system.patch919 + ToolChain.cpp \