Home
last modified time | relevance | path

Searched refs:Arch (Results 1 – 11 of 11) sorted by relevance

/bionic/tools/versioner/src/
DArch.cpp23 std::string to_string(const Arch& arch) { in to_string()
25 case Arch::arm: in to_string()
28 case Arch::arm64: in to_string()
31 case Arch::mips: in to_string()
34 case Arch::mips64: in to_string()
37 case Arch::x86: in to_string()
40 case Arch::x86_64: in to_string()
47 static const std::unordered_map<std::string, Arch> arch_name_map{
48 {"arm", Arch::arm},
49 {"arm64", Arch::arm64},
[all …]
DArch.h28 enum class Arch : size_t { enum
37 std::string to_string(const Arch& arch);
38 std::optional<Arch> arch_from_string(const std::string& name);
49 ArchMap(std::initializer_list<std::pair<Arch, T>> initializer) { in ArchMap() argument
55 T& operator[](Arch arch) {
59 const T& operator[](Arch arch) const {
73 return ArchMapIterator<T>(*this, Arch::arm); in begin()
77 return ArchMapIterator<T>(*this, Arch(size_t(Arch::x86_64) + 1)); in end()
81 std::array<T, size_t(Arch::x86_64) + 1> data_ = {};
87 Arch arch_ = Arch::arm;
[all …]
Dversioner.h36 static const std::unordered_map<std::string, std::set<Arch>> header_blacklist = {
41 { "time64.h", { Arch::arm64, Arch::mips64, Arch::x86_64 } },
DPreprocessor.cpp80 for (Arch arch : supported_archs) { in calculateRequiredGuard()
100 for (Arch arch : supported_archs) { in calculateRequiredGuard()
141 static const std::vector<std::pair<std::string, std::set<Arch>>> arch_sets = { in generateGuardCondition()
143 { "!defined(__LP64__)", { Arch::arm, Arch::mips, Arch::x86 } }, in generateGuardCondition()
144 { "defined(__LP64__)", { Arch::arm64, Arch::mips64, Arch::x86_64 } }, in generateGuardCondition()
145 { "defined(__mips__)", { Arch::mips, Arch::mips64 } }, in generateGuardCondition()
147 std::map<Arch, std::string> individual_archs = { in generateGuardCondition()
148 { Arch::arm, "defined(__arm__)" }, in generateGuardCondition()
149 { Arch::arm64, "defined(__aarch64__)" }, in generateGuardCondition()
150 { Arch::mips, "defined(__mips__) && !defined(__LP64__)" }, in generateGuardCondition()
[all …]
DDeclarationDatabase.cpp163 { "introduced_in_arm", { &arch_availability[Arch::arm].introduced } }, in VisitDeclaratorDecl()
164 { "introduced_in_mips", { &arch_availability[Arch::mips].introduced } }, in VisitDeclaratorDecl()
165 { "introduced_in_x86", { &arch_availability[Arch::x86].introduced } }, in VisitDeclaratorDecl()
167 { &arch_availability[Arch::arm].introduced, in VisitDeclaratorDecl()
168 &arch_availability[Arch::mips].introduced, in VisitDeclaratorDecl()
169 &arch_availability[Arch::x86].introduced } }, in VisitDeclaratorDecl()
171 { &arch_availability[Arch::arm64].introduced, in VisitDeclaratorDecl()
172 &arch_availability[Arch::mips64].introduced, in VisitDeclaratorDecl()
173 &arch_availability[Arch::x86_64].introduced } }, in VisitDeclaratorDecl()
281 for (Arch arch : supported_archs) { in merge()
DDriver.h36 const std::unordered_map<Arch, CompilationRequirements>& reqs);
DAndroid.bp8 "Arch.cpp",
DCompilationType.h27 Arch arch;
Dversioner.cpp98 static CompilationRequirements collectRequirements(const Arch& arch, in collectRequirements()
162 static std::set<CompilationType> generateCompilationTypes(const std::set<Arch> selected_architectur… in generateCompilationTypes()
197 std::unordered_map<Arch, CompilationRequirements> requirements; in compileHeaders()
355 std::map<Arch, std::set<CompilationType>> arch_types; in checkVersions()
495 std::set<Arch> selected_architectures; in main()
517 std::optional<Arch> arch = arch_from_string(optarg); in main()
DSymbolFileParser.cpp217 std::optional<Arch> arch = arch_from_string(tag); in isInArch()
DDriver.cpp213 const std::unordered_map<Arch, CompilationRequirements>& reqs) { in initializeTargetCC1FlagCache() argument