Home
last modified time | relevance | path

Searched refs:ArchStr (Results 1 – 7 of 7) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DHIPUtility.cpp66 auto ArchStr = llvm::StringRef(A->getOffloadingArch()); in constructHIPFatbinCommand() local
68 "," + OffloadKind + "-" + normalizeForBundler(TT, !ArchStr.empty()); in constructHIPFatbinCommand()
69 if (!ArchStr.empty()) in constructHIPFatbinCommand()
70 BundlerTargetArg += "-" + ArchStr.str(); in constructHIPFatbinCommand()
H A DCuda.cpp509 const StringRef ArchStr = A->getValue(); in shouldIncludePTX() local
510 if (ArchStr == "all" || ArchStr == gpu_arch) { in shouldIncludePTX()
H A DClang.cpp8585 auto ArchStr = StringRef(TCArgs.getArgString(ArgIndex)); in ConstructJob() local
8586 auto Arch = ArchStr.starts_with_insensitive("-march="); in ConstructJob()
8588 GPUArchName = ArchStr.substr(7); in ConstructJob()
8683 StringRef ArchStr = StringRef(TCArgs.getArgString(ArgIndex)); in ConstructJobMultipleOutputs() local
8684 auto Arch = ArchStr.starts_with_insensitive("-march="); in ConstructJobMultipleOutputs()
8686 GPUArchName = ArchStr.substr(7); in ConstructJobMultipleOutputs()
/freebsd-14.2/contrib/llvm-project/clang/lib/Driver/
H A DDriver.cpp3173 ArchStr == "all") { in initialize()
3189 ArchStr = getCanonicalOffloadArch(ArchStr); in initialize()
3190 if (ArchStr.empty()) { in initialize()
3412 if (!ArchStr) { in getCanonicalOffloadArch()
4378 << "CUDA" << ArchStr; in getCanonicalArchString()
4383 << "HIP" << ArchStr; in getCanonicalArchString()
4405 return ArchStr; in getCanonicalArchString()
4478 if (ArchStr.empty()) in getOffloadArchs()
4480 Archs.insert(ArchStr); in getOffloadArchs()
4490 if (ArchStr.empty()) in getOffloadArchs()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/TargetParser/
H A DTriple.cpp965 Triple::Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr) in Triple() argument
966 : Data((ArchStr + Twine('-') + VendorStr + Twine('-') + OSStr).str()), in Triple()
967 Arch(parseArch(ArchStr.str())), in Triple()
968 SubArch(parseSubArch(ArchStr.str())), in Triple()
980 Triple::Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr, in Triple() argument
982 : Data((ArchStr + Twine('-') + VendorStr + Twine('-') + OSStr + Twine('-') + in Triple()
984 Arch(parseArch(ArchStr.str())), in Triple()
985 SubArch(parseSubArch(ArchStr.str())), in Triple()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DSymbolize.cpp609 std::string ArchStr = ModuleName.substr(ColonPos + 1); in getOrCreateModuleInfo() local
610 if (Triple(ArchStr).getArch() != Triple::UnknownArch) { in getOrCreateModuleInfo()
612 ArchName = ArchStr; in getOrCreateModuleInfo()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/TargetParser/
H A DTriple.h327 Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr);
328 Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr,