Lines Matching refs:ToolChain
64 static ToolChain::RTTIMode CalculateRTTIMode(const ArgList &Args, in CalculateRTTIMode()
70 return ToolChain::RM_Enabled; in CalculateRTTIMode()
72 return ToolChain::RM_Disabled; in CalculateRTTIMode()
77 return NoRTTI ? ToolChain::RM_Disabled : ToolChain::RM_Enabled; in CalculateRTTIMode()
80 ToolChain::ToolChain(const Driver &D, const llvm::Triple &T, in ToolChain() function in ToolChain
98 ToolChain::executeToolChainProgram(StringRef Executable) const { in executeToolChainProgram()
124 void ToolChain::setTripleEnvironment(llvm::Triple::EnvironmentType Env) { in setTripleEnvironment()
130 ToolChain::~ToolChain() = default;
132 llvm::vfs::FileSystem &ToolChain::getVFS() const { in getVFS()
136 bool ToolChain::useIntegratedAs() const { in useIntegratedAs()
142 bool ToolChain::useIntegratedBackend() const { in useIntegratedBackend()
170 bool ToolChain::useRelaxRelocations() const { in useRelaxRelocations()
174 bool ToolChain::defaultToIEEELongDouble() const { in defaultToIEEELongDouble()
244 ToolChain::getMultilibFlags(const llvm::opt::ArgList &Args) const { in getMultilibFlags()
274 ToolChain::getSanitizerArgs(const llvm::opt::ArgList &JobArgs) const { in getSanitizerArgs()
280 const XRayArgs& ToolChain::getXRayArgs() const { in getXRayArgs()
372 ToolChain::getTargetAndModeFromProgramName(StringRef PN) { in getTargetAndModeFromProgramName()
396 StringRef ToolChain::getDefaultUniversalArchName() const { in getDefaultUniversalArchName()
421 std::string ToolChain::getInputFilename(const InputInfo &Input) const { in getInputFilename()
425 ToolChain::UnwindTableLevel
426 ToolChain::getDefaultUnwindTableLevel(const ArgList &Args) const { in getDefaultUnwindTableLevel()
430 unsigned ToolChain::GetDefaultDwarfVersion() const { in GetDefaultDwarfVersion()
436 Tool *ToolChain::getClang() const { in getClang()
442 Tool *ToolChain::getFlang() const { in getFlang()
448 Tool *ToolChain::buildAssembler() const { in buildAssembler()
452 Tool *ToolChain::buildLinker() const { in buildLinker()
456 Tool *ToolChain::buildStaticLibTool() const { in buildStaticLibTool()
460 Tool *ToolChain::getAssemble() const { in getAssemble()
466 Tool *ToolChain::getClangAs() const { in getClangAs()
472 Tool *ToolChain::getLink() const { in getLink()
478 Tool *ToolChain::getStaticLibTool() const { in getStaticLibTool()
484 Tool *ToolChain::getIfsMerge() const { in getIfsMerge()
490 Tool *ToolChain::getOffloadBundler() const { in getOffloadBundler()
496 Tool *ToolChain::getOffloadPackager() const { in getOffloadPackager()
502 Tool *ToolChain::getLinkerWrapper() const { in getLinkerWrapper()
508 Tool *ToolChain::getTool(Action::ActionClass AC) const { in getTool()
554 static StringRef getArchNameForCompilerRTLib(const ToolChain &TC, in getArchNameForCompilerRTLib()
577 StringRef ToolChain::getOSLibName() const { in getOSLibName()
597 std::string ToolChain::getCompilerRTPath() const { in getCompilerRTPath()
612 std::string ToolChain::getCompilerRTBasename(const ArgList &Args, in getCompilerRTBasename()
619 std::string ToolChain::buildCompilerRTBasename(const llvm::opt::ArgList &Args, in buildCompilerRTBasename()
628 IsITANMSVCWindows || Type == ToolChain::FT_Object ? "" : "lib"; in buildCompilerRTBasename()
631 case ToolChain::FT_Object: in buildCompilerRTBasename()
634 case ToolChain::FT_Static: in buildCompilerRTBasename()
637 case ToolChain::FT_Shared: in buildCompilerRTBasename()
653 std::string ToolChain::getCompilerRT(const ArgList &Args, StringRef Component, in getCompilerRT()
674 const char *ToolChain::getCompilerRTArgString(const llvm::opt::ArgList &Args, in getCompilerRTArgString()
684 ToolChain::getFallbackAndroidTargetPath(StringRef BaseDir) const { in getFallbackAndroidTargetPath()
725 ToolChain::getTargetSubDirPath(StringRef BaseDir) const { in getTargetSubDirPath()
766 std::optional<std::string> ToolChain::getRuntimePath() const { in getRuntimePath()
772 std::optional<std::string> ToolChain::getStdlibPath() const { in getStdlibPath()
778 ToolChain::path_list ToolChain::getArchSpecificLibPaths() const { in getArchSpecificLibPaths()
794 bool ToolChain::needsProfileRT(const ArgList &Args) { in needsProfileRT()
808 bool ToolChain::needsGCovInstrumentation(const llvm::opt::ArgList &Args) { in needsGCovInstrumentation()
814 Tool *ToolChain::SelectTool(const JobAction &JA) const { in SelectTool()
824 std::string ToolChain::GetFilePath(const char *Name) const { in GetFilePath()
828 std::string ToolChain::GetProgramPath(const char *Name) const { in GetProgramPath()
832 std::string ToolChain::GetLinkerPath(bool *LinkerIsLLD) const { in GetLinkerPath()
904 std::string ToolChain::GetStaticLibToolPath() const { in GetStaticLibToolPath()
911 types::ID ToolChain::LookupTypeForExtension(StringRef Ext) const { in LookupTypeForExtension()
923 bool ToolChain::HasNativeLLVMSupport() const { in HasNativeLLVMSupport()
927 bool ToolChain::isCrossCompiling() const { in isCrossCompiling()
943 ObjCRuntime ToolChain::getDefaultObjCRuntime(bool isNonFragile) const { in getDefaultObjCRuntime()
949 ToolChain::GetExceptionModel(const llvm::opt::ArgList &Args) const { in GetExceptionModel()
953 bool ToolChain::isThreadModelSupported(const StringRef Model) const { in isThreadModelSupported()
966 std::string ToolChain::ComputeLLVMTriple(const ArgList &Args, in ComputeLLVMTriple()
1014 std::string ToolChain::ComputeEffectiveClangTriple(const ArgList &Args, in ComputeEffectiveClangTriple()
1019 std::string ToolChain::computeSysRoot() const { in computeSysRoot()
1023 void ToolChain::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs()
1028 void ToolChain::addClangTargetOptions( in addClangTargetOptions()
1032 void ToolChain::addClangCC1ASTargetOptions(const ArgList &Args, in addClangCC1ASTargetOptions()
1035 void ToolChain::addClangWarningOptions(ArgStringList &CC1Args) const {} in addClangWarningOptions()
1037 void ToolChain::addProfileRTLibs(const llvm::opt::ArgList &Args, in addProfileRTLibs()
1045 ToolChain::RuntimeLibType ToolChain::GetRuntimeLibType( in GetRuntimeLibType()
1055 runtimeLibType = ToolChain::RLT_CompilerRT; in GetRuntimeLibType()
1057 runtimeLibType = ToolChain::RLT_Libgcc; in GetRuntimeLibType()
1071 ToolChain::UnwindLibType ToolChain::GetUnwindLibType( in GetUnwindLibType()
1080 unwindLibType = ToolChain::UNW_None; in GetUnwindLibType()
1082 ToolChain::RuntimeLibType RtLibType = GetRuntimeLibType(Args); in GetUnwindLibType()
1083 if (RtLibType == ToolChain::RLT_CompilerRT) { in GetUnwindLibType()
1085 unwindLibType = ToolChain::UNW_CompilerRT; in GetUnwindLibType()
1087 unwindLibType = ToolChain::UNW_None; in GetUnwindLibType()
1088 } else if (RtLibType == ToolChain::RLT_Libgcc) in GetUnwindLibType()
1089 unwindLibType = ToolChain::UNW_Libgcc; in GetUnwindLibType()
1093 unwindLibType = ToolChain::UNW_CompilerRT; in GetUnwindLibType()
1095 unwindLibType = ToolChain::UNW_Libgcc; in GetUnwindLibType()
1107 ToolChain::CXXStdlibType ToolChain::GetCXXStdlibType(const ArgList &Args) const{ in GetCXXStdlibType()
1116 cxxStdlibType = ToolChain::CST_Libcxx; in GetCXXStdlibType()
1118 cxxStdlibType = ToolChain::CST_Libstdcxx; in GetCXXStdlibType()
1133 /*static*/ void ToolChain::addSystemInclude(const ArgList &DriverArgs, in addSystemInclude()
1148 /*static*/ void ToolChain::addExternCSystemInclude(const ArgList &DriverArgs, in addExternCSystemInclude()
1155 void ToolChain::addExternCSystemIncludeIfExists(const ArgList &DriverArgs, in addExternCSystemIncludeIfExists()
1163 /*static*/ void ToolChain::addSystemIncludes(const ArgList &DriverArgs, in addSystemIncludes()
1172 /*static*/ std::string ToolChain::concat(StringRef Path, const Twine &A, in concat()
1180 std::string ToolChain::detectLibcxxVersion(StringRef IncludePath) const { in detectLibcxxVersion()
1203 void ToolChain::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs()
1217 void ToolChain::AddClangCXXStdlibIsystemArgs( in AddClangCXXStdlibIsystemArgs()
1235 bool ToolChain::ShouldLinkCXXStdlib(const llvm::opt::ArgList &Args) const { in ShouldLinkCXXStdlib()
1241 void ToolChain::AddCXXStdlibLibArgs(const ArgList &Args, in AddCXXStdlibLibArgs()
1248 case ToolChain::CST_Libcxx: in AddCXXStdlibLibArgs()
1254 case ToolChain::CST_Libstdcxx: in AddCXXStdlibLibArgs()
1260 void ToolChain::AddFilePathLibArgs(const ArgList &Args, in AddFilePathLibArgs()
1267 void ToolChain::AddCCKextLibArgs(const ArgList &Args, in AddCCKextLibArgs()
1272 bool ToolChain::isFastMathRuntimeAvailable(const ArgList &Args, in isFastMathRuntimeAvailable()
1292 bool ToolChain::addFastMathRuntimeIfAvailable(const ArgList &Args, in addFastMathRuntimeIfAvailable()
1304 ToolChain::getSystemGPUArchs(const llvm::opt::ArgList &Args) const { in getSystemGPUArchs()
1308 SanitizerMask ToolChain::getSupportedSanitizers() const { in getSupportedSanitizers()
1333 void ToolChain::AddCudaIncludeArgs(const ArgList &DriverArgs, in AddCudaIncludeArgs()
1336 void ToolChain::AddHIPIncludeArgs(const ArgList &DriverArgs, in AddHIPIncludeArgs()
1339 llvm::SmallVector<ToolChain::BitCodeLibraryInfo, 12>
1340 ToolChain::getDeviceLibs(const ArgList &DriverArgs) const { in getDeviceLibs()
1344 void ToolChain::AddIAMCUIncludeArgs(const ArgList &DriverArgs, in AddIAMCUIncludeArgs()
1361 ToolChain::computeMSVCVersion(const Driver *D, in computeMSVCVersion()
1401 llvm::opt::DerivedArgList *ToolChain::TranslateOpenMPTargetArgs( in TranslateOpenMPTargetArgs()
1476 void ToolChain::TranslateXarchArgs( in TranslateXarchArgs()
1518 llvm::opt::DerivedArgList *ToolChain::TranslateXarchArgs( in TranslateXarchArgs()