Home
last modified time | relevance | path

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

/external/clang/lib/Driver/
DToolChain.cpp40 static ToolChain::RTTIMode CalculateRTTIMode(const ArgList &Args, in CalculateRTTIMode()
46 return ToolChain::RM_EnabledExplicitly; in CalculateRTTIMode()
48 return ToolChain::RM_DisabledExplicitly; in CalculateRTTIMode()
53 return ToolChain::RM_EnabledImplicitly; in CalculateRTTIMode()
63 return ToolChain::RM_EnabledImplicitly; in CalculateRTTIMode()
65 return ToolChain::RM_DisabledImplicitly; in CalculateRTTIMode()
68 ToolChain::ToolChain(const Driver &D, const llvm::Triple &T, in ToolChain() function in ToolChain
78 ToolChain::~ToolChain() { in ~ToolChain()
81 vfs::FileSystem &ToolChain::getVFS() const { return getDriver().getVFS(); } in getVFS()
83 bool ToolChain::useIntegratedAs() const { in useIntegratedAs()
[all …]
DTools.h41 SmallString<128> getCompilerRT(const ToolChain &TC,
61 const ToolChain *AuxToolChain) const;
109 Clang(const ToolChain &TC) : Tool("clang", "clang frontend", TC, RF_Full) {} in Clang()
125 ClangAs(const ToolChain &TC) in ClangAs()
145 GnuTool(const char *Name, const char *ShortName, const ToolChain &TC) in GnuTool()
153 Common(const char *Name, const char *ShortName, const ToolChain &TC) in Common()
173 Preprocessor(const ToolChain &TC) in Preprocessor()
185 Compiler(const ToolChain &TC) : Common("gcc::Compiler", "gcc frontend", TC) {} in Compiler()
196 Linker(const ToolChain &TC) : Common("gcc::Linker", "linker (via gcc)", TC) {} in Linker()
212 Assembler(const ToolChain &TC) in Assembler()
[all …]
DCrossWindowsToolChain.cpp22 if (GetCXXStdlibType(Args) == ToolChain::CST_Libstdcxx) { in CrossWindowsToolChain()
81 case ToolChain::CST_Libcxx: in AddClangCXXStdlibIncludeArgs()
85 case ToolChain::CST_Libstdcxx: in AddClangCXXStdlibIncludeArgs()
98 case ToolChain::CST_Libcxx: in AddCXXStdlibLibArgs()
101 case ToolChain::CST_Libstdcxx: in AddCXXStdlibLibArgs()
113 SanitizerMask Res = ToolChain::getSupportedSanitizers(); in getSupportedSanitizers()
DTools.cpp235 static void AddLinkerInputs(const ToolChain &TC, const InputInfoList &Inputs, in AddLinkerInputs()
304 const ToolChain *AuxToolChain) const { in AddPreprocessingOptions()
745 arm::FloatABI arm::getARMFloatABI(const ToolChain &TC, const ArgList &Args) { in getARMFloatABI()
847 static void getARMTargetFeatures(const ToolChain &TC, in getARMTargetFeatures()
1981 static void AddGoldPlugin(const ToolChain &ToolChain, const ArgList &Args, in AddGoldPlugin() argument
1988 ToolChain.getDriver().Dir + "/../lib" CLANG_LIBDIR_SUFFIX "/LLVMgold.so"; in AddGoldPlugin()
1995 std::string CPU = getCPUName(Args, ToolChain.getTriple()); in AddGoldPlugin()
2538 static void getTargetFeatures(const ToolChain &TC, const llvm::Triple &Triple, in getTargetFeatures()
2638 const ToolChain &TC, bool KernelOrKext, in addExceptionArgs()
2684 ToolChain::RTTIMode RTTIMode = TC.getRTTIMode(); in addExceptionArgs()
[all …]
DMinGWToolChain.cpp66 : ToolChain(D, Triple, Args) { in MinGW()
112 return ToolChain::getTool(AC); in getTool()
204 if (GetRuntimeLibType(DriverArgs) == ToolChain::RLT_Libgcc) { in AddClangSystemIncludeArgs()
226 case ToolChain::CST_Libcxx: in AddClangCXXStdlibIncludeArgs()
232 case ToolChain::CST_Libstdcxx: in AddClangCXXStdlibIncludeArgs()
DToolChains.cpp46 : ToolChain(D, Triple, Args) { in MachO()
69 ToolChain::CXXStdlibType Darwin::GetDefaultCXXStdlibType() const { in GetDefaultCXXStdlibType()
74 return ToolChain::CST_Libcxx; in GetDefaultCXXStdlibType()
76 return ToolChain::CST_Libstdcxx; in GetDefaultCXXStdlibType()
227 return ToolChain::getTool(AC); in getTool()
407 case ToolChain::RLT_CompilerRT: in AddLinkRuntimeLibArgs()
734 case ToolChain::CST_Libcxx: in AddCXXStdlibLibArgs()
738 case ToolChain::CST_Libstdcxx: in AddCXXStdlibLibArgs()
1066 GetCXXStdlibType(Args) == ToolChain::CST_Libcxx) in TranslateArgs()
1072 if (Type == ToolChain::CST_Libcxx) { in TranslateArgs()
[all …]
DCompilation.cpp25 Compilation::Compilation(const Driver &D, const ToolChain &_DefaultToolChain, in Compilation()
40 for (llvm::DenseMap<std::pair<const ToolChain*, const char*>, in ~Compilation()
55 const DerivedArgList &Compilation::getArgsForToolChain(const ToolChain *TC, in getArgsForToolChain()
DSanitizerArgs.cpp184 SanitizerArgs::SanitizerArgs(const ToolChain &TC, in SanitizerArgs()
198 ToolChain::RTTIMode RTTIMode = TC.getRTTIMode(); in SanitizerArgs()
237 (RTTIMode == ToolChain::RM_DisabledImplicitly || in SanitizerArgs()
238 RTTIMode == ToolChain::RM_DisabledExplicitly)) { in SanitizerArgs()
239 if (RTTIMode == ToolChain::RM_DisabledImplicitly) in SanitizerArgs()
277 (RTTIMode == ToolChain::RM_DisabledImplicitly || in SanitizerArgs()
278 RTTIMode == ToolChain::RM_DisabledExplicitly)) { in SanitizerArgs()
591 static void addIncludeLinkerOption(const ToolChain &TC, in addIncludeLinkerOption()
605 void SanitizerArgs::addArgs(const ToolChain &TC, const llvm::opt::ArgList &Args, in addArgs()
DToolChains.h33 class LLVM_LIBRARY_VISIBILITY Generic_GCC : public ToolChain {
255 class LLVM_LIBRARY_VISIBILITY MachO : public ToolChain {
351 return ToolChain::RLT_CompilerRT; in GetDefaultRuntimeLibType()
629 return ToolChain::CST_Libcxx; in GetCXXStdlibType()
664 class LLVM_LIBRARY_VISIBILITY MinGW : public ToolChain {
957 ToolChain::path_list &LibPaths) const;
1016 class LLVM_LIBRARY_VISIBILITY TCEToolChain : public ToolChain {
1028 class LLVM_LIBRARY_VISIBILITY MSVCToolChain : public ToolChain {
1110 class LLVM_LIBRARY_VISIBILITY XCoreToolChain : public ToolChain {
1165 class LLVM_LIBRARY_VISIBILITY WebAssembly final : public ToolChain {
DTool.cpp14 Tool::Tool(const char *_Name, const char *_ShortName, const ToolChain &TC, in Tool()
DCMakeLists.txt24 ToolChain.cpp
DDriver.cpp436 const ToolChain &TC = getToolChain( in CreateOffloadingDeviceToolChains()
565 const ToolChain &TC = getToolChain( in BuildCompilation()
696 const ToolChain &TC = C.getDefaultToolChain(); in generateCompilationDiagnostics()
870 const ToolChain &TC = C.getDefaultToolChain(); in PrintVersion()
938 const ToolChain &TC = C.getDefaultToolChain(); in HandleImmediateArgs()
1080 void Driver::BuildUniversalActions(Compilation &C, const ToolChain &TC, in BuildUniversalActions()
1208 void Driver::BuildInputs(const ToolChain &TC, DerivedArgList &Args, in BuildInputs()
1888 bool EmbedBitcode, const ToolChain *TC, in selectToolForJob()
1977 Compilation &C, const Action *A, const ToolChain *TC, const char *BoundArch, in BuildJobsForAction()
2002 Compilation &C, const Action *A, const ToolChain *TC, const char *BoundArch, in BuildJobsForActionNoCache()
[all …]
DMSVCToolChain.cpp50 : ToolChain(D, Triple, Args) { in MSVCToolChain()
670 ToolChain::ComputeEffectiveClangTriple(Args, InputType); in ComputeEffectiveClangTriple()
693 SanitizerMask Res = ToolChain::getSupportedSanitizers(); in getSupportedSanitizers()
/external/clang/include/clang/Driver/
DCompilation.h31 class ToolChain; variable
40 const ToolChain &DefaultToolChain;
50 std::multimap<Action::OffloadKind, const ToolChain *>
73 llvm::DenseMap<std::pair<const ToolChain *, const char *>,
93 Compilation(const Driver &D, const ToolChain &DefaultToolChain,
100 const ToolChain &getDefaultToolChain() const { return DefaultToolChain; } in getDefaultToolChain()
101 const ToolChain *getOffloadingHostToolChain() const { in getOffloadingHostToolChain()
113 const ToolChain *>::const_iterator
127 const ToolChain *getSingleOffloadToolChain() const { in getSingleOffloadToolChain()
137 void addOffloadDeviceToolChain(const ToolChain *DeviceToolChain, in addOffloadDeviceToolChain()
[all …]
DDriver.h54 class ToolChain; variable
209 mutable llvm::StringMap<ToolChain *> ToolChains;
225 void generatePrefixedToolNames(const char *Tool, const ToolChain &TC,
309 void BuildInputs(const ToolChain &TC, llvm::opt::DerivedArgList &Args,
326 void BuildUniversalActions(Compilation &C, const ToolChain &TC,
371 std::string GetFilePath(const char *Name, const ToolChain &TC) const;
379 std::string GetProgramPath(const char *Name, const ToolChain &TC) const;
398 const ToolChain *TC, const char *BoundArch,
453 const ToolChain &getToolChain(const llvm::opt::ArgList &Args,
466 Compilation &C, const Action *A, 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.h22 class ToolChain; variable
44 SanitizerArgs(const ToolChain &TC, const llvm::opt::ArgList &Args);
69 void addArgs(const ToolChain &TC, const llvm::opt::ArgList &Args,
DToolChain.h48 class ToolChain {
99 ToolChain(const Driver &D, const llvm::Triple &T,
124 virtual ~ToolChain();
257 return ToolChain::RLT_Libgcc; in GetDefaultRuntimeLibType()
261 return ToolChain::CST_Libstdcxx; in GetDefaultCXXStdlibType()
/external/pffft/
Dbench_all.sh20 echo "" >ToolChain.cmake
25 echo "SET(CMAKE_C_COMPILER ${GCCPATH})" >>ToolChain.cmake
31 echo "SET(CMAKE_CXX_COMPILER ${GPPPATH})" >>ToolChain.cmake
41 cmake -DCMAKE_TOOLCHAIN_FILE=ToolChain.cmake -DUSE_BENCH_FFTW=${FFTW} -DUSE_SIMD=ON ${CMAKEOPT} ../
/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/tools/driver/
Ddriver.cpp330 ToolChain::getTargetAndModeFromProgramName(ProgName); in main()
/external/clang/lib/Tooling/
DTooling.cpp188 clang::driver::ToolChain::getTargetAndModeFromProgramName(InvokedAs); in addTargetAndModeForProgramName()