Home
last modified time | relevance | path

Searched refs:Arch (Results 1 – 10 of 10) 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 Arch arch_from_string(const std::string& name) { in arch_from_string()
49 return Arch::arm; in arch_from_string()
51 return Arch::arm64; in arch_from_string()
[all …]
DArch.h26 enum class Arch : size_t { enum
35 std::string to_string(const Arch& arch);
36 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 …]
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.cpp161 { "introduced_in_arm", { &arch_availability[Arch::arm].introduced } }, in VisitDecl()
162 { "introduced_in_mips", { &arch_availability[Arch::mips].introduced } }, in VisitDecl()
163 { "introduced_in_x86", { &arch_availability[Arch::x86].introduced } }, in VisitDecl()
165 { &arch_availability[Arch::arm].introduced, in VisitDecl()
166 &arch_availability[Arch::mips].introduced, in VisitDecl()
167 &arch_availability[Arch::x86].introduced } }, in VisitDecl()
169 { &arch_availability[Arch::arm64].introduced, in VisitDecl()
170 &arch_availability[Arch::mips64].introduced, in VisitDecl()
171 &arch_availability[Arch::x86_64].introduced } }, in VisitDecl()
229 for (Arch arch : supported_archs) { in merge()
DDriver.h36 const std::unordered_map<Arch, CompilationRequirements>& reqs);
DAndroid.bp6 "Arch.cpp",
DCompilationType.h27 Arch arch;
Dversioner.cpp81 static CompilationRequirements collectRequirements(const Arch& arch, const std::string& header_dir, in collectRequirements()
139 static std::set<CompilationType> generateCompilationTypes(const std::set<Arch> selected_architectur… in generateCompilationTypes()
173 std::unordered_map<Arch, CompilationRequirements> requirements; in compileHeaders()
315 std::map<Arch, std::set<CompilationType>> arch_types; in checkVersions()
459 std::set<Arch> selected_architectures; in main()
485 Arch arch = arch_from_string(optarg); in main()
DDriver.cpp196 const std::unordered_map<Arch, CompilationRequirements>& reqs) { in initializeTargetCC1FlagCache() argument