Lines Matching refs:ToolChain
59 static ToolChain::RTTIMode CalculateRTTIMode(const ArgList &Args, in CalculateRTTIMode()
65 return ToolChain::RM_Enabled; in CalculateRTTIMode()
67 return ToolChain::RM_Disabled; in CalculateRTTIMode()
71 return (Triple.isPS4CPU()) ? ToolChain::RM_Disabled : ToolChain::RM_Enabled; in CalculateRTTIMode()
74 ToolChain::ToolChain(const Driver &D, const llvm::Triple &T, in ToolChain() function in ToolChain
91 void ToolChain::setTripleEnvironment(llvm::Triple::EnvironmentType Env) { in setTripleEnvironment()
97 ToolChain::~ToolChain() = default;
99 llvm::vfs::FileSystem &ToolChain::getVFS() const { in getVFS()
103 bool ToolChain::useIntegratedAs() const { in useIntegratedAs()
109 bool ToolChain::useRelaxRelocations() const { in useRelaxRelocations()
113 bool ToolChain::isNoExecStackDefault() const { in isNoExecStackDefault()
117 const SanitizerArgs& ToolChain::getSanitizerArgs() const { in getSanitizerArgs()
123 const XRayArgs& ToolChain::getXRayArgs() const { in getXRayArgs()
206 ToolChain::getTargetAndModeFromProgramName(StringRef PN) { in getTargetAndModeFromProgramName()
230 StringRef ToolChain::getDefaultUniversalArchName() const { in getDefaultUniversalArchName()
253 std::string ToolChain::getInputFilename(const InputInfo &Input) const { in getInputFilename()
257 bool ToolChain::IsUnwindTablesDefault(const ArgList &Args) const { in IsUnwindTablesDefault()
261 Tool *ToolChain::getClang() const { in getClang()
267 Tool *ToolChain::getFlang() const { in getFlang()
273 Tool *ToolChain::buildAssembler() const { in buildAssembler()
277 Tool *ToolChain::buildLinker() const { in buildLinker()
281 Tool *ToolChain::buildStaticLibTool() const { in buildStaticLibTool()
285 Tool *ToolChain::getAssemble() const { in getAssemble()
291 Tool *ToolChain::getClangAs() const { in getClangAs()
297 Tool *ToolChain::getLink() const { in getLink()
303 Tool *ToolChain::getStaticLibTool() const { in getStaticLibTool()
309 Tool *ToolChain::getIfsMerge() const { in getIfsMerge()
315 Tool *ToolChain::getOffloadBundler() const { in getOffloadBundler()
321 Tool *ToolChain::getOffloadWrapper() const { in getOffloadWrapper()
327 Tool *ToolChain::getTool(Action::ActionClass AC) const { in getTool()
370 static StringRef getArchNameForCompilerRTLib(const ToolChain &TC, in getArchNameForCompilerRTLib()
387 StringRef ToolChain::getOSLibName() const { in getOSLibName()
404 std::string ToolChain::getCompilerRTPath() const { in getCompilerRTPath()
414 std::string ToolChain::getCompilerRTBasename(const ArgList &Args, in getCompilerRTBasename()
422 IsITANMSVCWindows || Type == ToolChain::FT_Object ? "" : "lib"; in getCompilerRTBasename()
425 case ToolChain::FT_Object: in getCompilerRTBasename()
428 case ToolChain::FT_Static: in getCompilerRTBasename()
431 case ToolChain::FT_Shared: in getCompilerRTBasename()
447 std::string ToolChain::getCompilerRT(const ArgList &Args, StringRef Component, in getCompilerRT()
467 const char *ToolChain::getCompilerRTArgString(const llvm::opt::ArgList &Args, in getCompilerRTArgString()
474 Optional<std::string> ToolChain::getRuntimePath() const { in getRuntimePath()
492 Optional<std::string> ToolChain::getCXXStdlibPath() const { in getCXXStdlibPath()
510 std::string ToolChain::getArchSpecificLibPath() const { in getArchSpecificLibPath()
517 bool ToolChain::needsProfileRT(const ArgList &Args) { in needsProfileRT()
531 bool ToolChain::needsGCovInstrumentation(const llvm::opt::ArgList &Args) { in needsGCovInstrumentation()
537 Tool *ToolChain::SelectTool(const JobAction &JA) const { in SelectTool()
546 std::string ToolChain::GetFilePath(const char *Name) const { in GetFilePath()
550 std::string ToolChain::GetProgramPath(const char *Name) const { in GetProgramPath()
554 std::string ToolChain::GetLinkerPath(bool *LinkerIsLLD, in GetLinkerPath()
627 std::string ToolChain::GetStaticLibToolPath() const { in GetStaticLibToolPath()
632 types::ID ToolChain::LookupTypeForExtension(StringRef Ext) const { in LookupTypeForExtension()
644 bool ToolChain::HasNativeLLVMSupport() const { in HasNativeLLVMSupport()
648 bool ToolChain::isCrossCompiling() const { in isCrossCompiling()
664 ObjCRuntime ToolChain::getDefaultObjCRuntime(bool isNonFragile) const { in getDefaultObjCRuntime()
670 ToolChain::GetExceptionModel(const llvm::opt::ArgList &Args) const { in GetExceptionModel()
674 bool ToolChain::isThreadModelSupported(const StringRef Model) const { in isThreadModelSupported()
687 std::string ToolChain::ComputeLLVMTriple(const ArgList &Args, in ComputeLLVMTriple()
844 std::string ToolChain::ComputeEffectiveClangTriple(const ArgList &Args, in ComputeEffectiveClangTriple()
849 std::string ToolChain::computeSysRoot() const { in computeSysRoot()
853 void ToolChain::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs()
858 void ToolChain::addClangTargetOptions( in addClangTargetOptions()
862 void ToolChain::addClangWarningOptions(ArgStringList &CC1Args) const {} in addClangWarningOptions()
864 void ToolChain::addProfileRTLibs(const llvm::opt::ArgList &Args, in addProfileRTLibs()
872 ToolChain::RuntimeLibType ToolChain::GetRuntimeLibType( in GetRuntimeLibType()
879 return ToolChain::RLT_CompilerRT; in GetRuntimeLibType()
881 return ToolChain::RLT_Libgcc; in GetRuntimeLibType()
891 ToolChain::UnwindLibType ToolChain::GetUnwindLibType( in GetUnwindLibType()
897 return ToolChain::UNW_None; in GetUnwindLibType()
899 ToolChain::RuntimeLibType RtLibType = GetRuntimeLibType(Args); in GetUnwindLibType()
900 if (RtLibType == ToolChain::RLT_CompilerRT) in GetUnwindLibType()
901 return ToolChain::UNW_None; in GetUnwindLibType()
902 else if (RtLibType == ToolChain::RLT_Libgcc) in GetUnwindLibType()
903 return ToolChain::UNW_Libgcc; in GetUnwindLibType()
907 return ToolChain::UNW_CompilerRT; in GetUnwindLibType()
909 return ToolChain::UNW_Libgcc; in GetUnwindLibType()
918 ToolChain::CXXStdlibType ToolChain::GetCXXStdlibType(const ArgList &Args) const{ in GetCXXStdlibType()
924 return ToolChain::CST_Libcxx; in GetCXXStdlibType()
926 return ToolChain::CST_Libstdcxx; in GetCXXStdlibType()
937 /*static*/ void ToolChain::addSystemInclude(const ArgList &DriverArgs, in addSystemInclude()
952 /*static*/ void ToolChain::addExternCSystemInclude(const ArgList &DriverArgs, in addExternCSystemInclude()
959 void ToolChain::addExternCSystemIncludeIfExists(const ArgList &DriverArgs, in addExternCSystemIncludeIfExists()
967 /*static*/ void ToolChain::addSystemIncludes(const ArgList &DriverArgs, in addSystemIncludes()
976 void ToolChain::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs()
990 void ToolChain::AddClangCXXStdlibIsystemArgs( in AddClangCXXStdlibIsystemArgs()
1000 bool ToolChain::ShouldLinkCXXStdlib(const llvm::opt::ArgList &Args) const { in ShouldLinkCXXStdlib()
1006 void ToolChain::AddCXXStdlibLibArgs(const ArgList &Args, in AddCXXStdlibLibArgs()
1013 case ToolChain::CST_Libcxx: in AddCXXStdlibLibArgs()
1017 case ToolChain::CST_Libstdcxx: in AddCXXStdlibLibArgs()
1023 void ToolChain::AddFilePathLibArgs(const ArgList &Args, in AddFilePathLibArgs()
1030 void ToolChain::AddCCKextLibArgs(const ArgList &Args, in AddCCKextLibArgs()
1035 bool ToolChain::isFastMathRuntimeAvailable(const ArgList &Args, in isFastMathRuntimeAvailable()
1055 bool ToolChain::addFastMathRuntimeIfAvailable(const ArgList &Args, in addFastMathRuntimeIfAvailable()
1066 SanitizerMask ToolChain::getSupportedSanitizers() const { in getSupportedSanitizers()
1091 void ToolChain::AddCudaIncludeArgs(const ArgList &DriverArgs, in AddCudaIncludeArgs()
1094 void ToolChain::AddHIPIncludeArgs(const ArgList &DriverArgs, in AddHIPIncludeArgs()
1097 void ToolChain::AddIAMCUIncludeArgs(const ArgList &DriverArgs, in AddIAMCUIncludeArgs()
1114 ToolChain::computeMSVCVersion(const Driver *D, in computeMSVCVersion()
1154 llvm::opt::DerivedArgList *ToolChain::TranslateOpenMPTargetArgs( in TranslateOpenMPTargetArgs()
1224 void ToolChain::TranslateXarchArgs( in TranslateXarchArgs()
1266 llvm::opt::DerivedArgList *ToolChain::TranslateXarchArgs( in TranslateXarchArgs()