Home
last modified time | relevance | path

Searched refs:Archs (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/llvm/tools/dsymutil/
H A DMachODebugMapParser.cpp28 StringRef BinaryPath, ArrayRef<std::string> Archs, in MachODebugMapParser() argument
31 : BinaryPath(std::string(BinaryPath)), Archs(Archs.begin(), Archs.end()), in MachODebugMapParser()
47 SmallVector<StringRef, 1> Archs; member in __anone08cf6be0111::MachODebugMapParser
349 if (Archs.empty() || is_contained(Archs, "all") || is_contained(Archs, "*")) in shouldLinkArch()
359 return is_contained(Archs, ArchName); in shouldLinkArch()
381 if (shouldLinkArch(Archs, Object->getArchTriple().getArchName())) in dumpStab()
403 if (shouldLinkArch(Archs, Object->getArchTriple().getArchName())) in parse()
628 StringRef InputFile, ArrayRef<std::string> Archs, in parseDebugMap() argument
634 MachODebugMapParser Parser(VFS, InputFile, Archs, PrependPath, in parseDebugMap()
640 StringRef InputFile, ArrayRef<std::string> Archs, in dumpStab() argument
[all …]
H A Ddsymutil.h39 StringRef InputFile, ArrayRef<std::string> Archs,
45 StringRef InputFile, ArrayRef<std::string> Archs,
H A Ddsymutil.cpp110 std::vector<std::string> Archs; member
333 Options.Archs.push_back(Arch->getValue()); in getOptions()
606 for (const auto &Arch : Options.Archs) in dsymutil_main()
618 if (!dumpStab(Options.LinkOpts.VFS, InputFile, Options.Archs, in dsymutil_main()
625 parseDebugMap(Options.LinkOpts.VFS, InputFile, Options.Archs, in dsymutil_main()
/llvm-project-15.0.7/llvm/unittests/Object/
H A DELFObjectFileTest.cpp130 checkFormatAndArch(D, Formats[I], Archs[I]); in TEST()
159 checkFormatAndArch(D, Formats[I], Archs[I]); in TEST()
171 checkFormatAndArch(D, Formats[I], Archs[I]); in TEST()
179 std::array<Triple::ArchType, 4> Archs = {Triple::ppcle, Triple::ppc, in TEST() local
183 checkFormatAndArch(D, Formats[I], Archs[I]); in TEST()
195 checkFormatAndArch(D, Formats[I], Archs[I]); in TEST()
231 checkFormatAndArch(D, Formats[I], Archs[I]); in TEST()
243 checkFormatAndArch(D, Formats[I], Archs[I]); in TEST()
255 checkFormatAndArch(D, Formats[I], Archs[I]); in TEST()
295 std::array<Triple::ArchType, 4> Archs = { in TEST() local
[all …]
/llvm-project-15.0.7/llvm/include/llvm/TextAPI/
H A DArchitectureSet.h41 ArchitectureSet(const std::vector<Architecture> &Archs);
55 bool contains(ArchitectureSet Archs) const { in contains() argument
56 return (ArchSet & Archs.ArchSet) == Archs.ArchSet; in contains()
H A DInterfaceFile.h213 const_filtered_target_range targets(ArchitectureSet Archs) const;
/llvm-project-15.0.7/llvm/lib/TextAPI/
H A DArchitectureSet.cpp19 ArchitectureSet::ArchitectureSet(const std::vector<Architecture> &Archs) in ArchitectureSet() argument
21 for (auto Arch : Archs) { in ArchitectureSet()
H A DInterfaceFile.cpp103 InterfaceFile::targets(ArchitectureSet Archs) const { in targets()
104 std::function<bool(const Target &)> fn = [Archs](const Target &Target_) { in targets()
105 return Archs.has(Target_.Arch); in targets()
H A DTextStubCommon.cpp133 ArchitectureSet &Archs) { in bitset() argument
135 IO.bitSetCase(Archs, #arch, 1U << static_cast<int>(AK_##arch)); in bitset()
/llvm-project-15.0.7/llvm/unittests/TextAPI/
H A DTextStubV1Tests.cpp74 auto Archs = AK_armv7 | AK_armv7s | AK_armv7k | AK_arm64; in TEST() local
77 for (auto &&arch : Archs) in TEST()
79 EXPECT_EQ(Archs, File->getArchitectures()); in TEST()
128 auto Archs = AK_armv7 | AK_armv7s | AK_armv7k | AK_arm64; in TEST() local
131 for (auto &&arch : Archs) in TEST()
133 EXPECT_EQ(Archs, File->getArchitectures()); in TEST()
H A DTextStubV2Tests.cpp75 auto Archs = AK_armv7 | AK_armv7s | AK_armv7k | AK_arm64; in TEST() local
78 for (auto &&arch : Archs) in TEST()
80 EXPECT_EQ(Archs, File->getArchitectures()); in TEST()
147 auto Archs = AK_armv7 | AK_armv7s | AK_armv7k | AK_arm64; in TEST() local
150 for (auto &&arch : Archs) in TEST()
152 EXPECT_EQ(Archs, File->getArchitectures()); in TEST()
H A DTextStubV3Tests.cpp78 auto Archs = AK_armv7 | AK_arm64; in TEST() local
81 for (auto &&arch : Archs) in TEST()
83 EXPECT_EQ(Archs, File->getArchitectures()); in TEST()
168 auto Archs = AK_armv7 | AK_arm64; in TEST() local
171 for (auto &&arch : Archs) in TEST()
173 EXPECT_EQ(Archs, File->getArchitectures()); in TEST()
216 EXPECT_EQ(Archs, Document->getArchitectures()); in TEST()
629 auto Archs = AK_arm64 | AK_arm64e; in TEST() local
633 EXPECT_EQ(Archs, File->getArchitectures()); in TEST()
H A DTextStubV4Tests.cpp87 auto Archs = AK_i386 | AK_x86_64; in TEST() local
96 EXPECT_EQ(Archs, File->getArchitectures()); in TEST()
226 ArchitectureSet Archs = AK_i386 | AK_x86_64; in TEST() local
228 for (auto &&Arch : Archs) in TEST()
243 EXPECT_EQ(Archs, File->getArchitectures()); in TEST()
264 for (auto &&Arch : Archs) in TEST()
273 EXPECT_EQ(Archs, Document->getArchitectures()); in TEST()
/llvm-project-15.0.7/clang/tools/scan-build/libexec/
H A Dccc-analyzer704 my @Archs = keys %ArchsSeen;
706 exit 0 if ($HadArch && scalar(@Archs) == 0);
773 if (scalar @Archs) {
774 foreach my $arch (@Archs) {
/llvm-project-15.0.7/clang/lib/Driver/ToolChains/
H A DMinGW.cpp686 llvm::SmallVector<llvm::StringRef, 3> Archs; in adjustTriple() local
690 Archs.emplace_back("i386"); in adjustTriple()
691 Archs.emplace_back("i586"); in adjustTriple()
692 Archs.emplace_back("i686"); in adjustTriple()
695 Archs.emplace_back("armv7"); in adjustTriple()
697 for (auto A : Archs) { in adjustTriple()
/llvm-project-15.0.7/clang/lib/Driver/
H A DDriver.cpp825 llvm::DenseSet<StringRef> Archs = in CreateOffloadingDeviceToolChains() local
827 for (StringRef Arch : Archs) { in CreateOffloadingDeviceToolChains()
2251 SmallVector<const char *, 4> Archs; in BuildUniversalActions() local
2265 Archs.push_back(A->getValue()); in BuildUniversalActions()
2271 if (!Archs.size()) in BuildUniversalActions()
2291 for (unsigned i = 0, e = Archs.size(); i != e; ++i) in BuildUniversalActions()
4357 llvm::DenseSet<StringRef> Archs; in getOffloadArchs() local
4375 Archs.clear(); in getOffloadArchs()
4388 if (Archs.empty()) { in getOffloadArchs()
4394 Archs.insert(StringRef()); in getOffloadArchs()
[all …]
/llvm-project-15.0.7/compiler-rt/cmake/
H A Dbuiltin-config-ix.cmake93 … /usr/libexec/PlistBuddy -c "Print :SupportedTargets:${os}:Archs" ${sdk_path}/SDKSettings.plist