Lines Matching refs:ToolChain

60 static ToolChain::RTTIMode CalculateRTTIMode(const ArgList &Args,  in CalculateRTTIMode()
66 return ToolChain::RM_Enabled; in CalculateRTTIMode()
68 return ToolChain::RM_Disabled; in CalculateRTTIMode()
73 return NoRTTI ? ToolChain::RM_Disabled : ToolChain::RM_Enabled; in CalculateRTTIMode()
76 ToolChain::ToolChain(const Driver &D, const llvm::Triple &T, in ToolChain() function in ToolChain
93 ToolChain::executeToolChainProgram(StringRef Executable) const { in executeToolChainProgram()
119 void ToolChain::setTripleEnvironment(llvm::Triple::EnvironmentType Env) { in setTripleEnvironment()
125 ToolChain::~ToolChain() = default;
127 llvm::vfs::FileSystem &ToolChain::getVFS() const { in getVFS()
131 bool ToolChain::useIntegratedAs() const { in useIntegratedAs()
137 bool ToolChain::useIntegratedBackend() const { in useIntegratedBackend()
165 bool ToolChain::useRelaxRelocations() const { in useRelaxRelocations()
169 bool ToolChain::defaultToIEEELongDouble() const { in defaultToIEEELongDouble()
174 ToolChain::getSanitizerArgs(const llvm::opt::ArgList &JobArgs) const { in getSanitizerArgs()
180 const XRayArgs& ToolChain::getXRayArgs() const { in getXRayArgs()
272 ToolChain::getTargetAndModeFromProgramName(StringRef PN) { in getTargetAndModeFromProgramName()
296 StringRef ToolChain::getDefaultUniversalArchName() const { in getDefaultUniversalArchName()
321 std::string ToolChain::getInputFilename(const InputInfo &Input) const { in getInputFilename()
325 ToolChain::UnwindTableLevel
326 ToolChain::getDefaultUnwindTableLevel(const ArgList &Args) const { in getDefaultUnwindTableLevel()
330 Tool *ToolChain::getClang() const { in getClang()
336 Tool *ToolChain::getFlang() const { in getFlang()
342 Tool *ToolChain::buildAssembler() const { in buildAssembler()
346 Tool *ToolChain::buildLinker() const { in buildLinker()
350 Tool *ToolChain::buildStaticLibTool() const { in buildStaticLibTool()
354 Tool *ToolChain::getAssemble() const { in getAssemble()
360 Tool *ToolChain::getClangAs() const { in getClangAs()
366 Tool *ToolChain::getLink() const { in getLink()
372 Tool *ToolChain::getStaticLibTool() const { in getStaticLibTool()
378 Tool *ToolChain::getIfsMerge() const { in getIfsMerge()
384 Tool *ToolChain::getOffloadBundler() const { in getOffloadBundler()
390 Tool *ToolChain::getOffloadPackager() const { in getOffloadPackager()
396 Tool *ToolChain::getLinkerWrapper() const { in getLinkerWrapper()
402 Tool *ToolChain::getTool(Action::ActionClass AC) const { in getTool()
447 static StringRef getArchNameForCompilerRTLib(const ToolChain &TC, in getArchNameForCompilerRTLib()
470 StringRef ToolChain::getOSLibName() const { in getOSLibName()
490 std::string ToolChain::getCompilerRTPath() const { in getCompilerRTPath()
503 std::string ToolChain::getCompilerRTBasename(const ArgList &Args, in getCompilerRTBasename()
510 std::string ToolChain::buildCompilerRTBasename(const llvm::opt::ArgList &Args, in buildCompilerRTBasename()
519 IsITANMSVCWindows || Type == ToolChain::FT_Object ? "" : "lib"; in buildCompilerRTBasename()
522 case ToolChain::FT_Object: in buildCompilerRTBasename()
525 case ToolChain::FT_Static: in buildCompilerRTBasename()
528 case ToolChain::FT_Shared: in buildCompilerRTBasename()
544 std::string ToolChain::getCompilerRT(const ArgList &Args, StringRef Component, in getCompilerRT()
565 const char *ToolChain::getCompilerRTArgString(const llvm::opt::ArgList &Args, in getCompilerRTArgString()
571 ToolChain::path_list ToolChain::getRuntimePaths() const { in getRuntimePaths()
593 ToolChain::path_list ToolChain::getStdlibPaths() const { in getStdlibPaths()
602 std::string ToolChain::getArchSpecificLibPath() const { in getArchSpecificLibPath()
609 bool ToolChain::needsProfileRT(const ArgList &Args) { in needsProfileRT()
623 bool ToolChain::needsGCovInstrumentation(const llvm::opt::ArgList &Args) { in needsGCovInstrumentation()
629 Tool *ToolChain::SelectTool(const JobAction &JA) const { in SelectTool()
638 std::string ToolChain::GetFilePath(const char *Name) const { in GetFilePath()
642 std::string ToolChain::GetProgramPath(const char *Name) const { in GetProgramPath()
646 std::string ToolChain::GetLinkerPath(bool *LinkerIsLLD) const { in GetLinkerPath()
718 std::string ToolChain::GetStaticLibToolPath() const { in GetStaticLibToolPath()
725 types::ID ToolChain::LookupTypeForExtension(StringRef Ext) const { in LookupTypeForExtension()
737 bool ToolChain::HasNativeLLVMSupport() const { in HasNativeLLVMSupport()
741 bool ToolChain::isCrossCompiling() const { in isCrossCompiling()
757 ObjCRuntime ToolChain::getDefaultObjCRuntime(bool isNonFragile) const { in getDefaultObjCRuntime()
763 ToolChain::GetExceptionModel(const llvm::opt::ArgList &Args) const { in GetExceptionModel()
767 bool ToolChain::isThreadModelSupported(const StringRef Model) const { in isThreadModelSupported()
780 std::string ToolChain::ComputeLLVMTriple(const ArgList &Args, in ComputeLLVMTriple()
828 std::string ToolChain::ComputeEffectiveClangTriple(const ArgList &Args, in ComputeEffectiveClangTriple()
833 std::string ToolChain::computeSysRoot() const { in computeSysRoot()
837 void ToolChain::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs()
842 void ToolChain::addClangTargetOptions( in addClangTargetOptions()
846 void ToolChain::addClangCC1ASTargetOptions(const ArgList &Args, in addClangCC1ASTargetOptions()
849 void ToolChain::addClangWarningOptions(ArgStringList &CC1Args) const {} in addClangWarningOptions()
851 void ToolChain::addProfileRTLibs(const llvm::opt::ArgList &Args, in addProfileRTLibs()
859 ToolChain::RuntimeLibType ToolChain::GetRuntimeLibType( in GetRuntimeLibType()
869 runtimeLibType = ToolChain::RLT_CompilerRT; in GetRuntimeLibType()
871 runtimeLibType = ToolChain::RLT_Libgcc; in GetRuntimeLibType()
885 ToolChain::UnwindLibType ToolChain::GetUnwindLibType( in GetUnwindLibType()
894 unwindLibType = ToolChain::UNW_None; in GetUnwindLibType()
896 ToolChain::RuntimeLibType RtLibType = GetRuntimeLibType(Args); in GetUnwindLibType()
897 if (RtLibType == ToolChain::RLT_CompilerRT) { in GetUnwindLibType()
899 unwindLibType = ToolChain::UNW_CompilerRT; in GetUnwindLibType()
901 unwindLibType = ToolChain::UNW_None; in GetUnwindLibType()
902 } else if (RtLibType == ToolChain::RLT_Libgcc) in GetUnwindLibType()
903 unwindLibType = ToolChain::UNW_Libgcc; in GetUnwindLibType()
907 unwindLibType = ToolChain::UNW_CompilerRT; in GetUnwindLibType()
909 unwindLibType = ToolChain::UNW_Libgcc; in GetUnwindLibType()
921 ToolChain::CXXStdlibType ToolChain::GetCXXStdlibType(const ArgList &Args) const{ in GetCXXStdlibType()
930 cxxStdlibType = ToolChain::CST_Libcxx; in GetCXXStdlibType()
932 cxxStdlibType = ToolChain::CST_Libstdcxx; in GetCXXStdlibType()
947 /*static*/ void ToolChain::addSystemInclude(const ArgList &DriverArgs, in addSystemInclude()
962 /*static*/ void ToolChain::addExternCSystemInclude(const ArgList &DriverArgs, in addExternCSystemInclude()
969 void ToolChain::addExternCSystemIncludeIfExists(const ArgList &DriverArgs, in addExternCSystemIncludeIfExists()
977 /*static*/ void ToolChain::addSystemIncludes(const ArgList &DriverArgs, in addSystemIncludes()
986 /*static*/ std::string ToolChain::concat(StringRef Path, const Twine &A, in concat()
994 std::string ToolChain::detectLibcxxVersion(StringRef IncludePath) const { in detectLibcxxVersion()
1017 void ToolChain::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs()
1031 void ToolChain::AddClangCXXStdlibIsystemArgs( in AddClangCXXStdlibIsystemArgs()
1049 bool ToolChain::ShouldLinkCXXStdlib(const llvm::opt::ArgList &Args) const { in ShouldLinkCXXStdlib()
1055 void ToolChain::AddCXXStdlibLibArgs(const ArgList &Args, in AddCXXStdlibLibArgs()
1062 case ToolChain::CST_Libcxx: in AddCXXStdlibLibArgs()
1068 case ToolChain::CST_Libstdcxx: in AddCXXStdlibLibArgs()
1074 void ToolChain::AddFilePathLibArgs(const ArgList &Args, in AddFilePathLibArgs()
1081 void ToolChain::AddCCKextLibArgs(const ArgList &Args, in AddCCKextLibArgs()
1086 bool ToolChain::isFastMathRuntimeAvailable(const ArgList &Args, in isFastMathRuntimeAvailable()
1106 bool ToolChain::addFastMathRuntimeIfAvailable(const ArgList &Args, in addFastMathRuntimeIfAvailable()
1118 ToolChain::getSystemGPUArchs(const llvm::opt::ArgList &Args) const { in getSystemGPUArchs()
1122 SanitizerMask ToolChain::getSupportedSanitizers() const { in getSupportedSanitizers()
1147 void ToolChain::AddCudaIncludeArgs(const ArgList &DriverArgs, in AddCudaIncludeArgs()
1150 void ToolChain::AddHIPIncludeArgs(const ArgList &DriverArgs, in AddHIPIncludeArgs()
1153 llvm::SmallVector<ToolChain::BitCodeLibraryInfo, 12>
1154 ToolChain::getDeviceLibs(const ArgList &DriverArgs) const { in getDeviceLibs()
1158 void ToolChain::AddIAMCUIncludeArgs(const ArgList &DriverArgs, in AddIAMCUIncludeArgs()
1175 ToolChain::computeMSVCVersion(const Driver *D, in computeMSVCVersion()
1215 llvm::opt::DerivedArgList *ToolChain::TranslateOpenMPTargetArgs( in TranslateOpenMPTargetArgs()
1287 void ToolChain::TranslateXarchArgs( in TranslateXarchArgs()
1329 llvm::opt::DerivedArgList *ToolChain::TranslateXarchArgs( in TranslateXarchArgs()