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()
255 std::string ToolChain::getInputFilename(const InputInfo &Input) const { in getInputFilename()
259 bool ToolChain::IsUnwindTablesDefault(const ArgList &Args) const { in IsUnwindTablesDefault()
263 Tool *ToolChain::getClang() const { in getClang()
269 Tool *ToolChain::getFlang() const { in getFlang()
275 Tool *ToolChain::buildAssembler() const { in buildAssembler()
279 Tool *ToolChain::buildLinker() const { in buildLinker()
283 Tool *ToolChain::buildStaticLibTool() const { in buildStaticLibTool()
287 Tool *ToolChain::getAssemble() const { in getAssemble()
293 Tool *ToolChain::getClangAs() const { in getClangAs()
299 Tool *ToolChain::getLink() const { in getLink()
305 Tool *ToolChain::getStaticLibTool() const { in getStaticLibTool()
311 Tool *ToolChain::getIfsMerge() const { in getIfsMerge()
317 Tool *ToolChain::getOffloadBundler() const { in getOffloadBundler()
323 Tool *ToolChain::getOffloadWrapper() const { in getOffloadWrapper()
329 Tool *ToolChain::getTool(Action::ActionClass AC) const { in getTool()
372 static StringRef getArchNameForCompilerRTLib(const ToolChain &TC, in getArchNameForCompilerRTLib()
392 StringRef ToolChain::getOSLibName() const { in getOSLibName()
412 std::string ToolChain::getCompilerRTPath() const { in getCompilerRTPath()
422 std::string ToolChain::getCompilerRTBasename(const ArgList &Args, in getCompilerRTBasename()
429 std::string ToolChain::buildCompilerRTBasename(const llvm::opt::ArgList &Args, in buildCompilerRTBasename()
438 IsITANMSVCWindows || Type == ToolChain::FT_Object ? "" : "lib"; in buildCompilerRTBasename()
441 case ToolChain::FT_Object: in buildCompilerRTBasename()
444 case ToolChain::FT_Static: in buildCompilerRTBasename()
447 case ToolChain::FT_Shared: in buildCompilerRTBasename()
463 std::string ToolChain::getCompilerRT(const ArgList &Args, StringRef Component, in getCompilerRT()
484 const char *ToolChain::getCompilerRTArgString(const llvm::opt::ArgList &Args, in getCompilerRTArgString()
490 std::string ToolChain::getRuntimePath() const { in getRuntimePath()
496 std::string ToolChain::getStdlibPath() const { in getStdlibPath()
502 std::string ToolChain::getArchSpecificLibPath() const { in getArchSpecificLibPath()
509 bool ToolChain::needsProfileRT(const ArgList &Args) { in needsProfileRT()
523 bool ToolChain::needsGCovInstrumentation(const llvm::opt::ArgList &Args) { in needsGCovInstrumentation()
529 Tool *ToolChain::SelectTool(const JobAction &JA) const { in SelectTool()
538 std::string ToolChain::GetFilePath(const char *Name) const { in GetFilePath()
542 std::string ToolChain::GetProgramPath(const char *Name) const { in GetProgramPath()
546 std::string ToolChain::GetLinkerPath(bool *LinkerIsLLD, in GetLinkerPath()
619 std::string ToolChain::GetStaticLibToolPath() const { in GetStaticLibToolPath()
624 types::ID ToolChain::LookupTypeForExtension(StringRef Ext) const { in LookupTypeForExtension()
636 bool ToolChain::HasNativeLLVMSupport() const { in HasNativeLLVMSupport()
640 bool ToolChain::isCrossCompiling() const { in isCrossCompiling()
656 ObjCRuntime ToolChain::getDefaultObjCRuntime(bool isNonFragile) const { in getDefaultObjCRuntime()
662 ToolChain::GetExceptionModel(const llvm::opt::ArgList &Args) const { in GetExceptionModel()
666 bool ToolChain::isThreadModelSupported(const StringRef Model) const { in isThreadModelSupported()
679 std::string ToolChain::ComputeLLVMTriple(const ArgList &Args, in ComputeLLVMTriple()
727 std::string ToolChain::ComputeEffectiveClangTriple(const ArgList &Args, in ComputeEffectiveClangTriple()
732 std::string ToolChain::computeSysRoot() const { in computeSysRoot()
736 void ToolChain::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs()
741 void ToolChain::addClangTargetOptions( in addClangTargetOptions()
745 void ToolChain::addClangWarningOptions(ArgStringList &CC1Args) const {} in addClangWarningOptions()
747 void ToolChain::addProfileRTLibs(const llvm::opt::ArgList &Args, in addProfileRTLibs()
755 ToolChain::RuntimeLibType ToolChain::GetRuntimeLibType( in GetRuntimeLibType()
765 runtimeLibType = ToolChain::RLT_CompilerRT; in GetRuntimeLibType()
767 runtimeLibType = ToolChain::RLT_Libgcc; in GetRuntimeLibType()
781 ToolChain::UnwindLibType ToolChain::GetUnwindLibType( in GetUnwindLibType()
790 unwindLibType = ToolChain::UNW_None; in GetUnwindLibType()
792 ToolChain::RuntimeLibType RtLibType = GetRuntimeLibType(Args); in GetUnwindLibType()
793 if (RtLibType == ToolChain::RLT_CompilerRT) { in GetUnwindLibType()
795 unwindLibType = ToolChain::UNW_CompilerRT; in GetUnwindLibType()
797 unwindLibType = ToolChain::UNW_None; in GetUnwindLibType()
798 } else if (RtLibType == ToolChain::RLT_Libgcc) in GetUnwindLibType()
799 unwindLibType = ToolChain::UNW_Libgcc; in GetUnwindLibType()
803 unwindLibType = ToolChain::UNW_CompilerRT; in GetUnwindLibType()
805 unwindLibType = ToolChain::UNW_Libgcc; in GetUnwindLibType()
817 ToolChain::CXXStdlibType ToolChain::GetCXXStdlibType(const ArgList &Args) const{ in GetCXXStdlibType()
826 cxxStdlibType = ToolChain::CST_Libcxx; in GetCXXStdlibType()
828 cxxStdlibType = ToolChain::CST_Libstdcxx; in GetCXXStdlibType()
843 /*static*/ void ToolChain::addSystemInclude(const ArgList &DriverArgs, in addSystemInclude()
858 /*static*/ void ToolChain::addExternCSystemInclude(const ArgList &DriverArgs, in addExternCSystemInclude()
865 void ToolChain::addExternCSystemIncludeIfExists(const ArgList &DriverArgs, in addExternCSystemIncludeIfExists()
873 /*static*/ void ToolChain::addSystemIncludes(const ArgList &DriverArgs, in addSystemIncludes()
882 std::string ToolChain::detectLibcxxVersion(StringRef IncludePath) const { in detectLibcxxVersion()
905 void ToolChain::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs()
919 void ToolChain::AddClangCXXStdlibIsystemArgs( in AddClangCXXStdlibIsystemArgs()
930 bool ToolChain::ShouldLinkCXXStdlib(const llvm::opt::ArgList &Args) const { in ShouldLinkCXXStdlib()
936 void ToolChain::AddCXXStdlibLibArgs(const ArgList &Args, in AddCXXStdlibLibArgs()
943 case ToolChain::CST_Libcxx: in AddCXXStdlibLibArgs()
947 case ToolChain::CST_Libstdcxx: in AddCXXStdlibLibArgs()
953 void ToolChain::AddFilePathLibArgs(const ArgList &Args, in AddFilePathLibArgs()
960 void ToolChain::AddCCKextLibArgs(const ArgList &Args, in AddCCKextLibArgs()
965 bool ToolChain::isFastMathRuntimeAvailable(const ArgList &Args, in isFastMathRuntimeAvailable()
985 bool ToolChain::addFastMathRuntimeIfAvailable(const ArgList &Args, in addFastMathRuntimeIfAvailable()
996 SanitizerMask ToolChain::getSupportedSanitizers() const { in getSupportedSanitizers()
1021 void ToolChain::AddCudaIncludeArgs(const ArgList &DriverArgs, in AddCudaIncludeArgs()
1024 void ToolChain::AddHIPIncludeArgs(const ArgList &DriverArgs, in AddHIPIncludeArgs()
1028 ToolChain::getHIPDeviceLibs(const ArgList &DriverArgs) const { in getHIPDeviceLibs()
1032 void ToolChain::AddIAMCUIncludeArgs(const ArgList &DriverArgs, in AddIAMCUIncludeArgs()
1049 ToolChain::computeMSVCVersion(const Driver *D, in computeMSVCVersion()
1089 llvm::opt::DerivedArgList *ToolChain::TranslateOpenMPTargetArgs( in TranslateOpenMPTargetArgs()
1159 void ToolChain::TranslateXarchArgs( in TranslateXarchArgs()
1201 llvm::opt::DerivedArgList *ToolChain::TranslateXarchArgs( in TranslateXarchArgs()