Home
last modified time | relevance | path

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

/bionic/tools/versioner/src/
DArch.h28 enum class Arch : size_t { enum
35 std::string to_string(const Arch& arch);
36 std::optional<Arch> arch_from_string(const std::string& name);
47 ArchMap(std::initializer_list<std::pair<Arch, T>> initializer) { in ArchMap() argument
53 T& operator[](Arch arch) {
57 const T& operator[](Arch arch) const {
71 return ArchMapIterator<T>(*this, Arch::arm); in begin()
75 return ArchMapIterator<T>(*this, Arch(size_t(Arch::x86_64) + 1)); in end()
79 std::array<T, size_t(Arch::x86_64) + 1> data_ = {};
85 Arch arch_ = Arch::arm;
[all …]
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::x86: in to_string()
34 case Arch::x86_64: in to_string()
41 static const std::unordered_map<std::string, Arch> arch_name_map{
42 {"arm", Arch::arm},
43 {"arm64", Arch::arm64},
44 {"x86", Arch::x86},
45 {"x86_64", Arch::x86_64},
[all …]
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::x86 } }, in generateGuardCondition()
144 { "defined(__LP64__)", { Arch::arm64, Arch::x86_64 } }, in generateGuardCondition()
146 std::map<Arch, std::string> individual_archs = { in generateGuardCondition()
147 { Arch::arm, "defined(__arm__)" }, in generateGuardCondition()
148 { Arch::arm64, "defined(__aarch64__)" }, in generateGuardCondition()
149 { Arch::x86, "defined(__i386__)" }, in generateGuardCondition()
150 { Arch::x86_64, "defined(__x86_64__)" }, in generateGuardCondition()
[all …]
Dversioner.h36 static const std::unordered_map<std::string, std::set<Arch>> ignored_headers = {
42 { "time64.h", { Arch::arm64, Arch::x86_64 } },
DDeclarationDatabase.cpp166 { "introduced_in_arm", { &arch_availability[Arch::arm].introduced } }, in VisitDeclaratorDecl()
167 { "introduced_in_x86", { &arch_availability[Arch::x86].introduced } }, in VisitDeclaratorDecl()
169 { &arch_availability[Arch::arm].introduced, in VisitDeclaratorDecl()
170 &arch_availability[Arch::x86].introduced } }, in VisitDeclaratorDecl()
172 { &arch_availability[Arch::arm64].introduced, in VisitDeclaratorDecl()
173 &arch_availability[Arch::x86_64].introduced } }, in VisitDeclaratorDecl()
283 for (Arch arch : supported_archs) { in merge()
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()
357 std::map<Arch, std::set<CompilationType>> arch_types; in checkVersions()
497 std::set<Arch> selected_architectures; in main()
519 std::optional<Arch> arch = arch_from_string(optarg); in main()
DDriver.h36 const std::unordered_map<Arch, CompilationRequirements>& reqs);
DAndroid.bp8 "Arch.cpp",
DCompilationType.h27 Arch arch;
DSymbolFileParser.cpp217 std::optional<Arch> arch = arch_from_string(tag); in isInArch()
DDriver.cpp207 const std::unordered_map<Arch, CompilationRequirements>& reqs) { in initializeTargetCC1FlagCache() argument