|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
gen/lib/IR/AttributesCompatFunc.inc 72 .Case("align", Attribute::Alignment)
73 .Case("allocsize", Attribute::AllocSize)
74 .Case("alwaysinline", Attribute::AlwaysInline)
75 .Case("argmemonly", Attribute::ArgMemOnly)
76 .Case("builtin", Attribute::Builtin)
77 .Case("byval", Attribute::ByVal)
78 .Case("cold", Attribute::Cold)
79 .Case("convergent", Attribute::Convergent)
80 .Case("dereferenceable", Attribute::Dereferenceable)
81 .Case("dereferenceable_or_null", Attribute::DereferenceableOrNull)
82 .Case("immarg", Attribute::ImmArg)
83 .Case("inalloca", Attribute::InAlloca)
84 .Case("inreg", Attribute::InReg)
85 .Case("inaccessiblememonly", Attribute::InaccessibleMemOnly)
86 .Case("inaccessiblemem_or_argmemonly", Attribute::InaccessibleMemOrArgMemOnly)
87 .Case("inlinehint", Attribute::InlineHint)
88 .Case("jumptable", Attribute::JumpTable)
89 .Case("minsize", Attribute::MinSize)
90 .Case("naked", Attribute::Naked)
91 .Case("nest", Attribute::Nest)
92 .Case("noalias", Attribute::NoAlias)
93 .Case("nobuiltin", Attribute::NoBuiltin)
94 .Case("nocapture", Attribute::NoCapture)
95 .Case("nocf_check", Attribute::NoCfCheck)
96 .Case("noduplicate", Attribute::NoDuplicate)
97 .Case("nofree", Attribute::NoFree)
98 .Case("noimplicitfloat", Attribute::NoImplicitFloat)
99 .Case("noinline", Attribute::NoInline)
100 .Case("norecurse", Attribute::NoRecurse)
101 .Case("noredzone", Attribute::NoRedZone)
102 .Case("noreturn", Attribute::NoReturn)
103 .Case("nosync", Attribute::NoSync)
104 .Case("nounwind", Attribute::NoUnwind)
105 .Case("nonlazybind", Attribute::NonLazyBind)
106 .Case("nonnull", Attribute::NonNull)
107 .Case("optforfuzzing", Attribute::OptForFuzzing)
108 .Case("optsize", Attribute::OptimizeForSize)
109 .Case("optnone", Attribute::OptimizeNone)
110 .Case("readnone", Attribute::ReadNone)
111 .Case("readonly", Attribute::ReadOnly)
112 .Case("returned", Attribute::Returned)
113 .Case("returns_twice", Attribute::ReturnsTwice)
114 .Case("signext", Attribute::SExt)
115 .Case("safestack", Attribute::SafeStack)
116 .Case("sanitize_address", Attribute::SanitizeAddress)
117 .Case("sanitize_hwaddress", Attribute::SanitizeHWAddress)
118 .Case("sanitize_memtag", Attribute::SanitizeMemTag)
119 .Case("sanitize_memory", Attribute::SanitizeMemory)
120 .Case("sanitize_thread", Attribute::SanitizeThread)
121 .Case("shadowcallstack", Attribute::ShadowCallStack)
122 .Case("speculatable", Attribute::Speculatable)
123 .Case("speculative_load_hardening", Attribute::SpeculativeLoadHardening)
124 .Case("alignstack", Attribute::StackAlignment)
125 .Case("ssp", Attribute::StackProtect)
126 .Case("sspreq", Attribute::StackProtectReq)
127 .Case("sspstrong", Attribute::StackProtectStrong)
128 .Case("strictfp", Attribute::StrictFP)
129 .Case("sret", Attribute::StructRet)
130 .Case("swifterror", Attribute::SwiftError)
131 .Case("swiftself", Attribute::SwiftSelf)
132 .Case("uwtable", Attribute::UWTable)
133 .Case("willreturn", Attribute::WillReturn)
134 .Case("writeonly", Attribute::WriteOnly)
135 .Case("zeroext", Attribute::ZExt)
gen/tools/clang/include/clang/AST/Attrs.inc 331 .Case("IRQ", ARMInterruptAttr::IRQ)
332 .Case("FIQ", ARMInterruptAttr::FIQ)
333 .Case("SWI", ARMInterruptAttr::SWI)
334 .Case("ABORT", ARMInterruptAttr::ABORT)
335 .Case("UNDEF", ARMInterruptAttr::UNDEF)
336 .Case("", ARMInterruptAttr::Generic)
2200 .Case("android", "Android")
2201 .Case("ios", "iOS")
2202 .Case("macos", "macOS")
2203 .Case("tvos", "tvOS")
2204 .Case("watchos", "watchOS")
2205 .Case("ios_app_extension", "iOS (App Extension)")
2206 .Case("macos_app_extension", "macOS (App Extension)")
2207 .Case("tvos_app_extension", "tvOS (App Extension)")
2208 .Case("watchos_app_extension", "watchOS (App Extension)")
2209 .Case("swift", "Swift")
2214 .Case("ios", "iOS")
2215 .Case("macos", "macOS")
2216 .Case("tvos", "tvOS")
2217 .Case("watchos", "watchOS")
2218 .Case("ios_app_extension", "iOSApplicationExtension")
2219 .Case("macos_app_extension", "macOSApplicationExtension")
2220 .Case("tvos_app_extension", "tvOSApplicationExtension")
2221 .Case("watchos_app_extension", "watchOSApplicationExtension")
2226 .Case("iOS", "ios")
2227 .Case("macOS", "macos")
2228 .Case("tvOS", "tvos")
2229 .Case("watchOS", "watchos")
2230 .Case("iOSApplicationExtension", "ios_app_extension")
2231 .Case("macOSApplicationExtension", "macos_app_extension")
2232 .Case("tvOSApplicationExtension", "tvos_app_extension")
2233 .Case("watchOSApplicationExtension", "watchos_app_extension")
2290 .Case("byref", BlocksAttr::ByRef)
3163 .Case("unknown", CallableWhenAttr::Unknown)
3164 .Case("consumed", CallableWhenAttr::Consumed)
3165 .Case("unconsumed", CallableWhenAttr::Unconsumed)
3800 .Case("unknown", ConsumableAttr::Unknown)
3801 .Case("consumed", ConsumableAttr::Consumed)
3802 .Case("unconsumed", ConsumableAttr::Unconsumed)
4382 .Case("error", DiagnoseIfAttr::DT_Error)
4383 .Case("warning", DiagnoseIfAttr::DT_Warning)
4614 .Case("closed", EnumExtensibilityAttr::Closed)
4615 .Case("open", EnumExtensibilityAttr::Open)
6097 .Case("vectorize", LoopHintAttr::Vectorize)
6098 .Case("vectorize_width", LoopHintAttr::VectorizeWidth)
6099 .Case("interleave", LoopHintAttr::Interleave)
6100 .Case("interleave_count", LoopHintAttr::InterleaveCount)
6101 .Case("unroll", LoopHintAttr::Unroll)
6102 .Case("unroll_count", LoopHintAttr::UnrollCount)
6103 .Case("unroll_and_jam", LoopHintAttr::UnrollAndJam)
6104 .Case("unroll_and_jam_count", LoopHintAttr::UnrollAndJamCount)
6105 .Case("pipeline", LoopHintAttr::PipelineDisabled)
6106 .Case("pipeline_initiation_interval", LoopHintAttr::PipelineInitiationInterval)
6107 .Case("distribute", LoopHintAttr::Distribute)
6108 .Case("vectorize_predicate", LoopHintAttr::VectorizePredicate)
6140 .Case("enable", LoopHintAttr::Enable)
6141 .Case("disable", LoopHintAttr::Disable)
6142 .Case("numeric", LoopHintAttr::Numeric)
6143 .Case("assume_safety", LoopHintAttr::AssumeSafety)
6144 .Case("full", LoopHintAttr::Full)
6975 .Case("vector=sw0", MipsInterruptAttr::sw0)
6976 .Case("vector=sw1", MipsInterruptAttr::sw1)
6977 .Case("vector=hw0", MipsInterruptAttr::hw0)
6978 .Case("vector=hw1", MipsInterruptAttr::hw1)
6979 .Case("vector=hw2", MipsInterruptAttr::hw2)
6980 .Case("vector=hw3", MipsInterruptAttr::hw3)
6981 .Case("vector=hw4", MipsInterruptAttr::hw4)
6982 .Case("vector=hw5", MipsInterruptAttr::hw5)
6983 .Case("eic", MipsInterruptAttr::eic)
6984 .Case("", MipsInterruptAttr::eic)
8380 .Case("omp_default_mem_alloc", OMPAllocateDeclAttr::OMPDefaultMemAlloc)
8381 .Case("omp_large_cap_mem_alloc", OMPAllocateDeclAttr::OMPLargeCapMemAlloc)
8382 .Case("omp_const_mem_alloc", OMPAllocateDeclAttr::OMPConstMemAlloc)
8383 .Case("omp_high_bw_mem_alloc", OMPAllocateDeclAttr::OMPHighBWMemAlloc)
8384 .Case("omp_low_lat_mem_alloc", OMPAllocateDeclAttr::OMPLowLatMemAlloc)
8385 .Case("omp_cgroup_mem_alloc", OMPAllocateDeclAttr::OMPCGroupMemAlloc)
8386 .Case("omp_pteam_mem_alloc", OMPAllocateDeclAttr::OMPPTeamMemAlloc)
8387 .Case("omp_thread_mem_alloc", OMPAllocateDeclAttr::OMPThreadMemAlloc)
8388 .Case("", OMPAllocateDeclAttr::OMPUserDefinedMemAlloc)
8616 .Case("", OMPDeclareSimdDeclAttr::BS_Undefined)
8617 .Case("inbranch", OMPDeclareSimdDeclAttr::BS_Inbranch)
8618 .Case("notinbranch", OMPDeclareSimdDeclAttr::BS_Notinbranch)
8797 .Case("to", OMPDeclareTargetDeclAttr::MT_To)
8798 .Case("link", OMPDeclareTargetDeclAttr::MT_Link)
8820 .Case("host", OMPDeclareTargetDeclAttr::DT_Host)
8821 .Case("nohost", OMPDeclareTargetDeclAttr::DT_NoHost)
8822 .Case("any", OMPDeclareTargetDeclAttr::DT_Any)
8987 .Case("", OMPDeclareVariantAttr::CtxSetUnknown)
8988 .Case("implementation", OMPDeclareVariantAttr::CtxSetImplementation)
9010 .Case("", OMPDeclareVariantAttr::ScoreUnknown)
9011 .Case("score", OMPDeclareVariantAttr::ScoreSpecified)
9033 .Case("", OMPDeclareVariantAttr::CtxUnknown)
9034 .Case("vendor", OMPDeclareVariantAttr::CtxVendor)
10056 .Case("none", ObjCMethodFamilyAttr::OMF_None)
10057 .Case("alloc", ObjCMethodFamilyAttr::OMF_alloc)
10058 .Case("copy", ObjCMethodFamilyAttr::OMF_copy)
10059 .Case("init", ObjCMethodFamilyAttr::OMF_init)
10060 .Case("mutableCopy", ObjCMethodFamilyAttr::OMF_mutableCopy)
10061 .Case("new", ObjCMethodFamilyAttr::OMF_new)
11334 .Case("unknown", ParamTypestateAttr::Unknown)
11335 .Case("consumed", ParamTypestateAttr::Consumed)
11336 .Case("unconsumed", ParamTypestateAttr::Unconsumed)
11520 .Case("aapcs", PcsAttr::AAPCS)
11521 .Case("aapcs-vfp", PcsAttr::AAPCS_VFP)
12246 .Case("user", RISCVInterruptAttr::user)
12247 .Case("supervisor", RISCVInterruptAttr::supervisor)
12248 .Case("machine", RISCVInterruptAttr::machine)
12738 .Case("unknown", ReturnTypestateAttr::Unknown)
12739 .Case("consumed", ReturnTypestateAttr::Consumed)
12740 .Case("unconsumed", ReturnTypestateAttr::Unconsumed)
13156 .Case("unknown", SetTypestateAttr::Unknown)
13157 .Case("consumed", SetTypestateAttr::Consumed)
13158 .Case("unconsumed", SetTypestateAttr::Unconsumed)
13858 .Case("consumed", TestTypestateAttr::Consumed)
13859 .Case("unconsumed", TestTypestateAttr::Unconsumed)
14374 .Case("default", TypeVisibilityAttr::Default)
14375 .Case("hidden", TypeVisibilityAttr::Hidden)
14376 .Case("internal", TypeVisibilityAttr::Hidden)
14377 .Case("protected", TypeVisibilityAttr::Protected)
14937 .Case("default", VisibilityAttr::Default)
14938 .Case("hidden", VisibilityAttr::Hidden)
14939 .Case("internal", VisibilityAttr::Hidden)
14940 .Case("protected", VisibilityAttr::Protected)
gen/tools/clang/include/clang/Basic/AttrHasAttributeImpl.inc 13 .Case("aarch64_vector_pcs", 1)
14 .Case("amdgpu_flat_work_group_size", 1)
15 .Case("amdgpu_num_sgpr", 1)
16 .Case("amdgpu_num_vgpr", 1)
17 .Case("amdgpu_waves_per_eu", 1)
18 .Case("interrupt", true && (T.getArch() == llvm::Triple::arm || T.getArch() == llvm::Triple::thumb || T.getArch() == llvm::Triple::armeb || T.getArch() == llvm::Triple::thumbeb) ? 1 : 0)
19 .Case("interrupt", true && (T.getArch() == llvm::Triple::avr) ? 1 : 0)
20 .Case("signal", true && (T.getArch() == llvm::Triple::avr) ? 1 : 0)
21 .Case("abi_tag", 1)
22 .Case("acquire_capability", 1)
23 .Case("acquire_shared_capability", 1)
24 .Case("exclusive_lock_function", 1)
25 .Case("shared_lock_function", 1)
26 .Case("acquire_capability", 1)
27 .Case("acquire_shared_capability", 1)
28 .Case("exclusive_lock_function", 1)
29 .Case("shared_lock_function", 1)
30 .Case("acquire_capability", 1)
31 .Case("acquire_shared_capability", 1)
32 .Case("exclusive_lock_function", 1)
33 .Case("shared_lock_function", 1)
34 .Case("acquire_capability", 1)
35 .Case("acquire_shared_capability", 1)
36 .Case("exclusive_lock_function", 1)
37 .Case("shared_lock_function", 1)
38 .Case("acquired_after", 1)
39 .Case("acquired_before", 1)
40 .Case("address_space", 1)
41 .Case("alias", 1)
42 .Case("align_value", 1)
43 .Case("aligned", 1)
44 .Case("alloc_align", 1)
45 .Case("alloc_size", 1)
46 .Case("always_destroy", 1)
47 .Case("always_inline", 1)
48 .Case("analyzer_noreturn", 1)
49 .Case("annotate", 1)
50 .Case("interrupt", true && (T.getArch() == llvm::Triple::x86 || T.getArch() == llvm::Triple::x86_64) ? 1 : 0)
51 .Case("no_caller_saved_registers", true && (T.getArch() == llvm::Triple::x86 || T.getArch() == llvm::Triple::x86_64) ? 1 : 0)
52 .Case("nocf_check", true && (T.getArch() == llvm::Triple::x86 || T.getArch() == llvm::Triple::x86_64) ? 1 : 0)
53 .Case("objc_arc_weak_reference_unavailable", 1)
54 .Case("argument_with_type_tag", 1)
55 .Case("pointer_with_type_tag", 1)
56 .Case("argument_with_type_tag", 1)
57 .Case("pointer_with_type_tag", 1)
58 .Case("__clang_arm_mve_alias", true && (T.getArch() == llvm::Triple::arm || T.getArch() == llvm::Triple::thumb || T.getArch() == llvm::Triple::armeb || T.getArch() == llvm::Triple::thumbeb) ? 1 : 0)
59 .Case("artificial", 1)
60 .Case("assert_capability", 1)
61 .Case("assert_shared_capability", 1)
62 .Case("assert_capability", 1)
63 .Case("assert_shared_capability", 1)
64 .Case("assert_exclusive_lock", 1)
65 .Case("assert_shared_lock", 1)
66 .Case("assume_aligned", 1)
67 .Case("availability", 1)
68 .Case("blocks", 1)
69 .Case("bounded", 1)
70 .Case("cdecl", 1)
71 .Case("cf_audited_transfer", 1)
72 .Case("cf_consumed", 1)
73 .Case("cfi_canonical_jump_table", 1)
74 .Case("cf_returns_not_retained", 1)
75 .Case("cf_returns_retained", 1)
76 .Case("cf_unknown_transfer", 1)
77 .Case("cpu_dispatch", 1)
78 .Case("cpu_specific", 1)
79 .Case("constant", 1)
80 .Case("cudart_builtin", 1)
81 .Case("device", 1)
82 .Case("device_builtin", 1)
83 .Case("device_builtin_surface_type", 1)
84 .Case("device_builtin_texture_type", 1)
85 .Case("global", 1)
86 .Case("host", 1)
87 .Case("launch_bounds", 1)
88 .Case("shared", 1)
89 .Case("callable_when", 1)
90 .Case("callback", 1)
91 .Case("capability", 1)
92 .Case("shared_capability", 1)
93 .Case("capability", 1)
94 .Case("shared_capability", 1)
95 .Case("carries_dependency", 1)
96 .Case("cleanup", 1)
97 .Case("cold", 1)
98 .Case("common", 1)
99 .Case("const", 1)
100 .Case("__const", 1)
101 .Case("const", 1)
102 .Case("__const", 1)
103 .Case("require_constant_initialization", 1)
104 .Case("constructor", 1)
105 .Case("consumable", 1)
106 .Case("consumable_auto_cast_state", 1)
107 .Case("consumable_set_state_on_read", 1)
108 .Case("convergent", 1)
109 .Case("dllexport", true && (T.getArch() == llvm::Triple::x86 || T.getArch() == llvm::Triple::x86_64 || T.getArch() == llvm::Triple::arm || T.getArch() == llvm::Triple::thumb || T.getArch() == llvm::Triple::aarch64) && (T.getOS() == llvm::Triple::Win32) ? 1 : 0)
110 .Case("dllimport", true && (T.getArch() == llvm::Triple::x86 || T.getArch() == llvm::Triple::x86_64 || T.getArch() == llvm::Triple::arm || T.getArch() == llvm::Triple::thumb || T.getArch() == llvm::Triple::aarch64) && (T.getOS() == llvm::Triple::Win32) ? 1 : 0)
111 .Case("deprecated", 1)
112 .Case("destructor", 1)
113 .Case("diagnose_if", 1)
114 .Case("disable_tail_calls", 1)
115 .Case("enable_if", 1)
116 .Case("enum_extensibility", 1)
117 .Case("exclude_from_explicit_instantiation", 1)
118 .Case("exclusive_trylock_function", 1)
119 .Case("ext_vector_type", 1)
120 .Case("external_source_symbol", 1)
121 .Case("fallthrough", 1)
122 .Case("fastcall", 1)
123 .Case("flag_enum", 1)
124 .Case("flatten", 1)
125 .Case("format", 1)
126 .Case("format_arg", 1)
127 .Case("gnu_inline", 1)
128 .Case("guarded_by", 1)
129 .Case("guarded_var", 1)
130 .Case("hip_pinned_shadow", 1)
131 .Case("hot", 1)
132 .Case("ibaction", 1)
133 .Case("iboutlet", 1)
134 .Case("iboutletcollection", 1)
135 .Case("ifunc", true && (T.getObjectFormat() == llvm::Triple::ELF) ? 1 : 0)
136 .Case("init_priority", 1)
137 .Case("intel_ocl_bicc", 1)
138 .Case("internal_linkage", 1)
139 .Case("lto_visibility_public", 1)
140 .Case("lifetimebound", 1)
141 .Case("lock_returned", 1)
142 .Case("lockable", 1)
143 .Case("locks_excluded", 1)
144 .Case("mig_server_routine", 1)
145 .Case("ms_abi", 1)
146 .Case("interrupt", true && (T.getArch() == llvm::Triple::msp430) ? 1 : 0)
147 .Case("ms_struct", 1)
148 .Case("may_alias", 1)
149 .Case("micromips", true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel) ? 1 : 0)
150 .Case("minsize", 1)
151 .Case("min_vector_width", 1)
152 .Case("mips16", true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel) ? 1 : 0)
153 .Case("interrupt", true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel) ? 1 : 0)
154 .Case("long_call", true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel || T.getArch() == llvm::Triple::mips64 || T.getArch() == llvm::Triple::mips64el) ? 1 : 0)
155 .Case("far", true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel || T.getArch() == llvm::Triple::mips64 || T.getArch() == llvm::Triple::mips64el) ? 1 : 0)
156 .Case("long_call", true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel || T.getArch() == llvm::Triple::mips64 || T.getArch() == llvm::Triple::mips64el) ? 1 : 0)
157 .Case("far", true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel || T.getArch() == llvm::Triple::mips64 || T.getArch() == llvm::Triple::mips64el) ? 1 : 0)
158 .Case("short_call", true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel || T.getArch() == llvm::Triple::mips64 || T.getArch() == llvm::Triple::mips64el) ? 1 : 0)
159 .Case("near", true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel || T.getArch() == llvm::Triple::mips64 || T.getArch() == llvm::Triple::mips64el) ? 1 : 0)
160 .Case("short_call", true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel || T.getArch() == llvm::Triple::mips64 || T.getArch() == llvm::Triple::mips64el) ? 1 : 0)
161 .Case("near", true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel || T.getArch() == llvm::Triple::mips64 || T.getArch() == llvm::Triple::mips64el) ? 1 : 0)
162 .Case("mode", 1)
163 .Case("ns_consumed", 1)
164 .Case("ns_consumes_self", 1)
165 .Case("ns_returns_autoreleased", 1)
166 .Case("ns_returns_not_retained", 1)
167 .Case("ns_returns_retained", 1)
168 .Case("naked", 1)
169 .Case("neon_polyvector_type", 1)
170 .Case("neon_vector_type", 1)
171 .Case("nocommon", 1)
172 .Case("nodebug", 1)
173 .Case("noderef", 1)
174 .Case("no_destroy", 1)
175 .Case("noduplicate", 1)
176 .Case("noescape", 1)
177 .Case("noinline", 1)
178 .Case("no_instrument_function", 1)
179 .Case("nomicromips", true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel) ? 1 : 0)
180 .Case("nomips16", true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel) ? 1 : 0)
181 .Case("noreturn", 1)
182 .Case("no_sanitize", 1)
183 .Case("no_address_safety_analysis", 1)
184 .Case("no_sanitize_address", 1)
185 .Case("no_sanitize_thread", 1)
186 .Case("no_sanitize_memory", 1)
187 .Case("no_address_safety_analysis", 1)
188 .Case("no_sanitize_address", 1)
189 .Case("no_sanitize_thread", 1)
190 .Case("no_sanitize_memory", 1)
191 .Case("no_address_safety_analysis", 1)
192 .Case("no_sanitize_address", 1)
193 .Case("no_sanitize_thread", 1)
194 .Case("no_sanitize_memory", 1)
195 .Case("no_address_safety_analysis", 1)
196 .Case("no_sanitize_address", 1)
197 .Case("no_sanitize_thread", 1)
198 .Case("no_sanitize_memory", 1)
199 .Case("no_speculative_load_hardening", 1)
200 .Case("no_split_stack", 1)
201 .Case("no_stack_protector", 1)
202 .Case("no_thread_safety_analysis", 1)
203 .Case("nothrow", 1)
204 .Case("nonnull", 1)
205 .Case("not_tail_called", 1)
206 .Case("nv_weak", 1)
207 .Case("os_consumed", 1)
208 .Case("os_consumes_this", 1)
209 .Case("os_returns_not_retained", 1)
210 .Case("os_returns_retained", 1)
211 .Case("os_returns_retained_on_non_zero", 1)
212 .Case("os_returns_retained_on_zero", 1)
213 .Case("objc_boxable", 1)
214 .Case("objc_bridge", 1)
215 .Case("objc_bridge_mutable", 1)
216 .Case("objc_bridge_related", 1)
217 .Case("objc_class_stub", 1)
218 .Case("objc_designated_initializer", 1)
219 .Case("objc_exception", 1)
220 .Case("objc_protocol_requires_explicit_implementation", 1)
221 .Case("objc_externally_retained", 1)
222 .Case("objc_gc", 1)
223 .Case("objc_independent_class", 1)
224 .Case("objc_method_family", 1)
225 .Case("NSObject", 1)
226 .Case("objc_nonlazy_class", 1)
227 .Case("objc_ownership", 1)
228 .Case("objc_precise_lifetime", 1)
229 .Case("objc_requires_property_definitions", 1)
230 .Case("objc_requires_super", 1)
231 .Case("objc_returns_inner_pointer", 1)
232 .Case("objc_root_class", 1)
233 .Case("objc_runtime_name", 1)
234 .Case("objc_runtime_visible", 1)
235 .Case("objc_subclassing_restricted", 1)
236 .Case("intel_reqd_sub_group_size", 1)
237 .Case("nosvm", 1)
238 .Case("opencl_unroll_hint", 1)
239 .Case("optnone", 1)
240 .Case("overloadable", 1)
241 .Case("ownership_holds", 1)
242 .Case("ownership_returns", 1)
243 .Case("ownership_takes", 1)
244 .Case("ownership_holds", 1)
245 .Case("ownership_returns", 1)
246 .Case("ownership_takes", 1)
247 .Case("ownership_holds", 1)
248 .Case("ownership_returns", 1)
249 .Case("ownership_takes", 1)
250 .Case("packed", 1)
251 .Case("param_typestate", 1)
252 .Case("pascal", 1)
253 .Case("pass_object_size", 1)
254 .Case("pass_dynamic_object_size", 1)
255 .Case("pass_object_size", 1)
256 .Case("pass_dynamic_object_size", 1)
257 .Case("pcs", 1)
258 .Case("preserve_all", 1)
259 .Case("preserve_most", 1)
260 .Case("pt_guarded_by", 1)
261 .Case("pt_guarded_var", 1)
262 .Case("pure", 1)
263 .Case("interrupt", true && (T.getArch() == llvm::Triple::riscv32 || T.getArch() == llvm::Triple::riscv64) ? 1 : 0)
264 .Case("regcall", 1)
265 .Case("regparm", 1)
266 .Case("reinitializes", 1)
267 .Case("release_capability", 1)
268 .Case("release_shared_capability", 1)
269 .Case("release_generic_capability", 1)
270 .Case("unlock_function", 1)
271 .Case("release_capability", 1)
272 .Case("release_shared_capability", 1)
273 .Case("release_generic_capability", 1)
274 .Case("unlock_function", 1)
275 .Case("release_capability", 1)
276 .Case("release_shared_capability", 1)
277 .Case("release_generic_capability", 1)
278 .Case("unlock_function", 1)
279 .Case("release_capability", 1)
280 .Case("release_shared_capability", 1)
281 .Case("release_generic_capability", 1)
282 .Case("unlock_function", 1)
283 .Case("kernel", 1)
284 .Case("reqd_work_group_size", 1)
285 .Case("requires_capability", 1)
286 .Case("exclusive_locks_required", 1)
287 .Case("requires_shared_capability", 1)
288 .Case("shared_locks_required", 1)
289 .Case("requires_capability", 1)
290 .Case("exclusive_locks_required", 1)
291 .Case("requires_shared_capability", 1)
292 .Case("shared_locks_required", 1)
293 .Case("requires_capability", 1)
294 .Case("exclusive_locks_required", 1)
295 .Case("requires_shared_capability", 1)
296 .Case("shared_locks_required", 1)
297 .Case("requires_capability", 1)
298 .Case("exclusive_locks_required", 1)
299 .Case("requires_shared_capability", 1)
300 .Case("shared_locks_required", 1)
301 .Case("malloc", 1)
302 .Case("return_typestate", 1)
303 .Case("returns_nonnull", 1)
304 .Case("returns_twice", 1)
305 .Case("scoped_lockable", 1)
306 .Case("section", 1)
307 .Case("selectany", 1)
308 .Case("sentinel", 1)
309 .Case("set_typestate", 1)
310 .Case("shared_trylock_function", 1)
311 .Case("speculative_load_hardening", 1)
312 .Case("stdcall", 1)
313 .Case("swiftcall", 1)
314 .Case("swift_context", 1)
315 .Case("swift_error_result", 1)
316 .Case("swift_indirect_result", 1)
317 .Case("sysv_abi", 1)
318 .Case("tls_model", 1)
319 .Case("target", 1)
320 .Case("test_typestate", 1)
321 .Case("thiscall", 1)
322 .Case("transparent_union", 1)
323 .Case("trivial_abi", 1)
324 .Case("try_acquire_capability", 1)
325 .Case("try_acquire_shared_capability", 1)
326 .Case("try_acquire_capability", 1)
327 .Case("try_acquire_shared_capability", 1)
328 .Case("type_tag_for_datatype", 1)
329 .Case("type_visibility", 1)
330 .Case("unavailable", 1)
331 .Case("uninitialized", 1)
332 .Case("unused", 1)
333 .Case("used", 1)
334 .Case("vecreturn", 1)
335 .Case("vec_type_hint", 1)
336 .Case("vectorcall", 1)
337 .Case("vector_size", 1)
338 .Case("visibility", 1)
339 .Case("warn_unused", 1)
340 .Case("warn_unused_result", 1)
341 .Case("weak", 1)
342 .Case("weak_import", 1)
343 .Case("weakref", 1)
344 .Case("import_module", true && (T.getArch() == llvm::Triple::wasm32 || T.getArch() == llvm::Triple::wasm64) ? 1 : 0)
345 .Case("import_name", true && (T.getArch() == llvm::Triple::wasm32 || T.getArch() == llvm::Triple::wasm64) ? 1 : 0)
346 .Case("work_group_size_hint", 1)
347 .Case("force_align_arg_pointer", true && (T.getArch() == llvm::Triple::x86 || T.getArch() == llvm::Triple::x86_64) ? 1 : 0)
348 .Case("xray_always_instrument", 1)
349 .Case("xray_never_instrument", 1)
350 .Case("xray_always_instrument", 1)
351 .Case("xray_never_instrument", 1)
352 .Case("xray_log_args", 1)
356 .Case("align", 1)
357 .Case("cpu_dispatch", 1)
358 .Case("cpu_specific", 1)
359 .Case("__constant__", 1)
360 .Case("__cudart_builtin__", 1)
361 .Case("__device__", 1)
362 .Case("__device_builtin__", 1)
363 .Case("__device_builtin_surface_type__", 1)
364 .Case("__device_builtin_texture_type__", 1)
365 .Case("__global__", 1)
366 .Case("__host__", 1)
367 .Case("__launch_bounds__", 1)
368 .Case("__shared__", 1)
369 .Case("code_seg", 1)
370 .Case("dllexport", true && (T.getArch() == llvm::Triple::x86 || T.getArch() == llvm::Triple::x86_64 || T.getArch() == llvm::Triple::arm || T.getArch() == llvm::Triple::thumb || T.getArch() == llvm::Triple::aarch64) && (T.getOS() == llvm::Triple::Win32) ? 1 : 0)
371 .Case("dllimport", true && (T.getArch() == llvm::Triple::x86 || T.getArch() == llvm::Triple::x86_64 || T.getArch() == llvm::Triple::arm || T.getArch() == llvm::Triple::thumb || T.getArch() == llvm::Triple::aarch64) && (T.getOS() == llvm::Triple::Win32) ? 1 : 0)
372 .Case("deprecated", 1)
373 .Case("empty_bases", true && (T.getArch() == llvm::Triple::x86 || T.getArch() == llvm::Triple::x86_64 || T.getArch() == llvm::Triple::arm || T.getArch() == llvm::Triple::thumb || T.getArch() == llvm::Triple::aarch64) && ( Target.getCXXABI().isMicrosoft() ) ? 1 : 0)
374 .Case("__hip_pinned_shadow__", 1)
375 .Case("layout_version", true && (T.getArch() == llvm::Triple::x86 || T.getArch() == llvm::Triple::x86_64 || T.getArch() == llvm::Triple::arm || T.getArch() == llvm::Triple::thumb || T.getArch() == llvm::Triple::aarch64) && ( Target.getCXXABI().isMicrosoft() ) ? 1 : 0)
376 .Case("allocator", 1)
377 .Case("novtable", true && (T.getArch() == llvm::Triple::x86 || T.getArch() == llvm::Triple::x86_64 || T.getArch() == llvm::Triple::arm || T.getArch() == llvm::Triple::thumb || T.getArch() == llvm::Triple::aarch64) && ( Target.getCXXABI().isMicrosoft() ) ? 1 : 0)
378 .Case("naked", 1)
379 .Case("noalias", 1)
380 .Case("noinline", 1)
381 .Case("noreturn", 1)
382 .Case("nothrow", 1)
383 .Case("restrict", 1)
384 .Case("allocate", 1)
385 .Case("selectany", 1)
386 .Case("thread", 1)
387 .Case("uuid", 1)
388 .Case("property", 1)
392 .Case("uuid", 1)
396 .Case("init_seg", 1)
397 .Case("loop", 1)
398 .Case("unroll", 1)
399 .Case("nounroll", 1)
400 .Case("unroll_and_jam", 1)
401 .Case("nounroll_and_jam", 1)
402 .Case("loop", 1)
403 .Case("unroll", 1)
404 .Case("nounroll", 1)
405 .Case("unroll_and_jam", 1)
406 .Case("nounroll_and_jam", 1)
407 .Case("loop", 1)
408 .Case("unroll", 1)
409 .Case("nounroll", 1)
410 .Case("unroll_and_jam", 1)
411 .Case("nounroll_and_jam", 1)
412 .Case("loop", 1)
413 .Case("unroll", 1)
414 .Case("nounroll", 1)
415 .Case("unroll_and_jam", 1)
416 .Case("nounroll_and_jam", 1)
417 .Case("loop", 1)
418 .Case("unroll", 1)
419 .Case("nounroll", 1)
420 .Case("unroll_and_jam", 1)
421 .Case("nounroll_and_jam", 1)
422 .Case("declare simd", 1)
423 .Case("declare target", 1)
424 .Case("declare variant", 1)
429 .Case("noreturn", LangOpts.CPlusPlus11 ? 200809 : 0)
430 .Case("carries_dependency", LangOpts.CPlusPlus11 ? 200809 : 0)
431 .Case("deprecated", LangOpts.CPlusPlus11 ? 201309 : 0)
432 .Case("deprecated", LangOpts.CPlusPlus11 ? 201309 : 0)
433 .Case("fallthrough", LangOpts.CPlusPlus11 ? 201603 : 0)
434 .Case("fallthrough", LangOpts.CPlusPlus11 ? 201603 : 0)
435 .Case("fallthrough", LangOpts.CPlusPlus11 ? 201603 : 0)
436 .Case("no_unique_address", true && ( Target.getCXXABI().isItaniumFamily() ) && LangOpts.CPlusPlus11 ? 201803 : 0)
437 .Case("maybe_unused", LangOpts.CPlusPlus11 ? 201603 : 0)
438 .Case("unused", LangOpts.CPlusPlus11 ? 201603 : 0)
439 .Case("nodiscard", LangOpts.CPlusPlus11 ? 201907 : 0)
440 .Case("warn_unused_result", LangOpts.CPlusPlus11 ? 201907 : 0)
441 .Case("warn_unused_result", LangOpts.CPlusPlus11 ? 201907 : 0)
445 .Case("aarch64_vector_pcs", LangOpts.CPlusPlus11 ? 1 : 0)
446 .Case("amdgpu_flat_work_group_size", LangOpts.CPlusPlus11 ? 1 : 0)
447 .Case("amdgpu_num_sgpr", LangOpts.CPlusPlus11 ? 1 : 0)
448 .Case("amdgpu_num_vgpr", LangOpts.CPlusPlus11 ? 1 : 0)
449 .Case("amdgpu_waves_per_eu", LangOpts.CPlusPlus11 ? 1 : 0)
450 .Case("acquire_capability", LangOpts.CPlusPlus11 ? 1 : 0)
451 .Case("acquire_shared_capability", LangOpts.CPlusPlus11 ? 1 : 0)
452 .Case("acquire_capability", LangOpts.CPlusPlus11 ? 1 : 0)
453 .Case("acquire_shared_capability", LangOpts.CPlusPlus11 ? 1 : 0)
454 .Case("address_space", LangOpts.CPlusPlus11 ? 1 : 0)
455 .Case("always_destroy", LangOpts.CPlusPlus11 ? 1 : 0)
456 .Case("annotate", LangOpts.CPlusPlus11 ? 1 : 0)
457 .Case("objc_arc_weak_reference_unavailable", LangOpts.CPlusPlus11 ? 1 : 0)
458 .Case("argument_with_type_tag", LangOpts.CPlusPlus11 ? 1 : 0)
459 .Case("pointer_with_type_tag", LangOpts.CPlusPlus11 ? 1 : 0)
460 .Case("argument_with_type_tag", LangOpts.CPlusPlus11 ? 1 : 0)
461 .Case("pointer_with_type_tag", LangOpts.CPlusPlus11 ? 1 : 0)
462 .Case("__clang_arm_mve_alias", true && (T.getArch() == llvm::Triple::arm || T.getArch() == llvm::Triple::thumb || T.getArch() == llvm::Triple::armeb || T.getArch() == llvm::Triple::thumbeb) && LangOpts.CPlusPlus11 ? 1 : 0)
463 .Case("assert_capability", LangOpts.CPlusPlus11 ? 1 : 0)
464 .Case("assert_shared_capability", LangOpts.CPlusPlus11 ? 1 : 0)
465 .Case("assert_capability", LangOpts.CPlusPlus11 ? 1 : 0)
466 .Case("assert_shared_capability", LangOpts.CPlusPlus11 ? 1 : 0)
467 .Case("availability", LangOpts.CPlusPlus11 ? 1 : 0)
468 .Case("blocks", LangOpts.CPlusPlus11 ? 1 : 0)
469 .Case("cf_audited_transfer", LangOpts.CPlusPlus11 ? 1 : 0)
470 .Case("cf_consumed", LangOpts.CPlusPlus11 ? 1 : 0)
471 .Case("cfi_canonical_jump_table", LangOpts.CPlusPlus11 ? 1 : 0)
472 .Case("cf_returns_not_retained", LangOpts.CPlusPlus11 ? 1 : 0)
473 .Case("cf_returns_retained", LangOpts.CPlusPlus11 ? 1 : 0)
474 .Case("cf_unknown_transfer", LangOpts.CPlusPlus11 ? 1 : 0)
475 .Case("cpu_dispatch", LangOpts.CPlusPlus11 ? 1 : 0)
476 .Case("cpu_specific", LangOpts.CPlusPlus11 ? 1 : 0)
477 .Case("callable_when", LangOpts.CPlusPlus11 ? 1 : 0)
478 .Case("callback", LangOpts.CPlusPlus11 ? 1 : 0)
479 .Case("capability", LangOpts.CPlusPlus11 ? 1 : 0)
480 .Case("shared_capability", LangOpts.CPlusPlus11 ? 1 : 0)
481 .Case("capability", LangOpts.CPlusPlus11 ? 1 : 0)
482 .Case("shared_capability", LangOpts.CPlusPlus11 ? 1 : 0)
483 .Case("require_constant_initialization", LangOpts.CPlusPlus11 ? 1 : 0)
484 .Case("consumable", LangOpts.CPlusPlus11 ? 1 : 0)
485 .Case("consumable_auto_cast_state", LangOpts.CPlusPlus11 ? 1 : 0)
486 .Case("consumable_set_state_on_read", LangOpts.CPlusPlus11 ? 1 : 0)
487 .Case("convergent", LangOpts.CPlusPlus11 ? 1 : 0)
488 .Case("disable_tail_calls", LangOpts.CPlusPlus11 ? 1 : 0)
489 .Case("enum_extensibility", LangOpts.CPlusPlus11 ? 1 : 0)
490 .Case("exclude_from_explicit_instantiation", LangOpts.CPlusPlus11 ? 1 : 0)
491 .Case("external_source_symbol", LangOpts.CPlusPlus11 ? 1 : 0)
492 .Case("fallthrough", LangOpts.CPlusPlus11 ? 201603 : 0)
493 .Case("flag_enum", LangOpts.CPlusPlus11 ? 1 : 0)
494 .Case("guarded_var", LangOpts.CPlusPlus11 ? 1 : 0)
495 .Case("ibaction", LangOpts.CPlusPlus11 ? 1 : 0)
496 .Case("iboutlet", LangOpts.CPlusPlus11 ? 1 : 0)
497 .Case("iboutletcollection", LangOpts.CPlusPlus11 ? 1 : 0)
498 .Case("intel_ocl_bicc", LangOpts.CPlusPlus11 ? 1 : 0)
499 .Case("internal_linkage", LangOpts.CPlusPlus11 ? 1 : 0)
500 .Case("lto_visibility_public", LangOpts.CPlusPlus11 ? 1 : 0)
501 .Case("lifetimebound", LangOpts.CPlusPlus11 ? 1 : 0)
502 .Case("mig_server_routine", LangOpts.CPlusPlus11 ? 1 : 0)
503 .Case("minsize", LangOpts.CPlusPlus11 ? 1 : 0)
504 .Case("min_vector_width", LangOpts.CPlusPlus11 ? 1 : 0)
505 .Case("ns_consumed", LangOpts.CPlusPlus11 ? 1 : 0)
506 .Case("ns_consumes_self", LangOpts.CPlusPlus11 ? 1 : 0)
507 .Case("ns_returns_autoreleased", LangOpts.CPlusPlus11 ? 1 : 0)
508 .Case("ns_returns_not_retained", LangOpts.CPlusPlus11 ? 1 : 0)
509 .Case("ns_returns_retained", LangOpts.CPlusPlus11 ? 1 : 0)
510 .Case("neon_polyvector_type", LangOpts.CPlusPlus11 ? 1 : 0)
511 .Case("neon_vector_type", LangOpts.CPlusPlus11 ? 1 : 0)
512 .Case("noderef", LangOpts.CPlusPlus11 ? 1 : 0)
513 .Case("no_destroy", LangOpts.CPlusPlus11 ? 1 : 0)
514 .Case("noduplicate", LangOpts.CPlusPlus11 ? 1 : 0)
515 .Case("noescape", LangOpts.CPlusPlus11 ? 1 : 0)
516 .Case("no_sanitize", LangOpts.CPlusPlus11 ? 1 : 0)
517 .Case("no_sanitize_memory", LangOpts.CPlusPlus11 ? 1 : 0)
518 .Case("no_speculative_load_hardening", LangOpts.CPlusPlus11 ? 1 : 0)
519 .Case("no_stack_protector", LangOpts.CPlusPlus11 ? 1 : 0)
520 .Case("no_thread_safety_analysis", LangOpts.CPlusPlus11 ? 1 : 0)
521 .Case("not_tail_called", LangOpts.CPlusPlus11 ? 1 : 0)
522 .Case("os_consumed", LangOpts.CPlusPlus11 ? 1 : 0)
523 .Case("os_consumes_this", LangOpts.CPlusPlus11 ? 1 : 0)
524 .Case("os_returns_not_retained", LangOpts.CPlusPlus11 ? 1 : 0)
525 .Case("os_returns_retained", LangOpts.CPlusPlus11 ? 1 : 0)
526 .Case("os_returns_retained_on_non_zero", LangOpts.CPlusPlus11 ? 1 : 0)
527 .Case("os_returns_retained_on_zero", LangOpts.CPlusPlus11 ? 1 : 0)
528 .Case("objc_boxable", LangOpts.CPlusPlus11 ? 1 : 0)
529 .Case("objc_bridge", LangOpts.CPlusPlus11 ? 1 : 0)
530 .Case("objc_bridge_mutable", LangOpts.CPlusPlus11 ? 1 : 0)
531 .Case("objc_bridge_related", LangOpts.CPlusPlus11 ? 1 : 0)
532 .Case("objc_class_stub", LangOpts.CPlusPlus11 ? 1 : 0)
533 .Case("objc_designated_initializer", LangOpts.CPlusPlus11 ? 1 : 0)
534 .Case("objc_exception", LangOpts.CPlusPlus11 ? 1 : 0)
535 .Case("objc_protocol_requires_explicit_implementation", LangOpts.CPlusPlus11 ? 1 : 0)
536 .Case("objc_externally_retained", LangOpts.CPlusPlus11 ? 1 : 0)
537 .Case("objc_gc", LangOpts.CPlusPlus11 ? 1 : 0)
538 .Case("objc_independent_class", LangOpts.CPlusPlus11 ? 1 : 0)
539 .Case("objc_method_family", LangOpts.CPlusPlus11 ? 1 : 0)
540 .Case("NSObject", LangOpts.CPlusPlus11 ? 1 : 0)
541 .Case("objc_nonlazy_class", LangOpts.CPlusPlus11 ? 1 : 0)
542 .Case("objc_ownership", LangOpts.CPlusPlus11 ? 1 : 0)
543 .Case("objc_precise_lifetime", LangOpts.CPlusPlus11 ? 1 : 0)
544 .Case("objc_requires_property_definitions", LangOpts.CPlusPlus11 ? 1 : 0)
545 .Case("objc_requires_super", LangOpts.CPlusPlus11 ? 1 : 0)
546 .Case("objc_returns_inner_pointer", LangOpts.CPlusPlus11 ? 1 : 0)
547 .Case("objc_root_class", LangOpts.CPlusPlus11 ? 1 : 0)
548 .Case("objc_runtime_name", LangOpts.CPlusPlus11 ? 1 : 0)
549 .Case("objc_runtime_visible", LangOpts.CPlusPlus11 ? 1 : 0)
550 .Case("objc_subclassing_restricted", LangOpts.CPlusPlus11 ? 1 : 0)
551 .Case("optnone", LangOpts.CPlusPlus11 ? 1 : 0)
552 .Case("overloadable", LangOpts.CPlusPlus11 ? 1 : 0)
553 .Case("ownership_holds", LangOpts.CPlusPlus11 ? 1 : 0)
554 .Case("ownership_returns", LangOpts.CPlusPlus11 ? 1 : 0)
555 .Case("ownership_takes", LangOpts.CPlusPlus11 ? 1 : 0)
556 .Case("ownership_holds", LangOpts.CPlusPlus11 ? 1 : 0)
557 .Case("ownership_returns", LangOpts.CPlusPlus11 ? 1 : 0)
558 .Case("ownership_takes", LangOpts.CPlusPlus11 ? 1 : 0)
559 .Case("ownership_holds", LangOpts.CPlusPlus11 ? 1 : 0)
560 .Case("ownership_returns", LangOpts.CPlusPlus11 ? 1 : 0)
561 .Case("ownership_takes", LangOpts.CPlusPlus11 ? 1 : 0)
562 .Case("param_typestate", LangOpts.CPlusPlus11 ? 1 : 0)
563 .Case("pascal", LangOpts.CPlusPlus11 ? 1 : 0)
564 .Case("pass_object_size", LangOpts.CPlusPlus11 ? 1 : 0)
565 .Case("pass_dynamic_object_size", LangOpts.CPlusPlus11 ? 1 : 0)
566 .Case("pass_object_size", LangOpts.CPlusPlus11 ? 1 : 0)
567 .Case("pass_dynamic_object_size", LangOpts.CPlusPlus11 ? 1 : 0)
568 .Case("preserve_all", LangOpts.CPlusPlus11 ? 1 : 0)
569 .Case("preserve_most", LangOpts.CPlusPlus11 ? 1 : 0)
570 .Case("pt_guarded_var", LangOpts.CPlusPlus11 ? 1 : 0)
571 .Case("reinitializes", LangOpts.CPlusPlus11 ? 1 : 0)
572 .Case("release_capability", LangOpts.CPlusPlus11 ? 1 : 0)
573 .Case("release_shared_capability", LangOpts.CPlusPlus11 ? 1 : 0)
574 .Case("release_generic_capability", LangOpts.CPlusPlus11 ? 1 : 0)
575 .Case("unlock_function", LangOpts.CPlusPlus11 ? 1 : 0)
576 .Case("release_capability", LangOpts.CPlusPlus11 ? 1 : 0)
577 .Case("release_shared_capability", LangOpts.CPlusPlus11 ? 1 : 0)
578 .Case("release_generic_capability", LangOpts.CPlusPlus11 ? 1 : 0)
579 .Case("unlock_function", LangOpts.CPlusPlus11 ? 1 : 0)
580 .Case("release_capability", LangOpts.CPlusPlus11 ? 1 : 0)
581 .Case("release_shared_capability", LangOpts.CPlusPlus11 ? 1 : 0)
582 .Case("release_generic_capability", LangOpts.CPlusPlus11 ? 1 : 0)
583 .Case("unlock_function", LangOpts.CPlusPlus11 ? 1 : 0)
584 .Case("release_capability", LangOpts.CPlusPlus11 ? 1 : 0)
585 .Case("release_shared_capability", LangOpts.CPlusPlus11 ? 1 : 0)
586 .Case("release_generic_capability", LangOpts.CPlusPlus11 ? 1 : 0)
587 .Case("unlock_function", LangOpts.CPlusPlus11 ? 1 : 0)
588 .Case("requires_capability", LangOpts.CPlusPlus11 ? 1 : 0)
589 .Case("exclusive_locks_required", LangOpts.CPlusPlus11 ? 1 : 0)
590 .Case("requires_shared_capability", LangOpts.CPlusPlus11 ? 1 : 0)
591 .Case("shared_locks_required", LangOpts.CPlusPlus11 ? 1 : 0)
592 .Case("requires_capability", LangOpts.CPlusPlus11 ? 1 : 0)
593 .Case("exclusive_locks_required", LangOpts.CPlusPlus11 ? 1 : 0)
594 .Case("requires_shared_capability", LangOpts.CPlusPlus11 ? 1 : 0)
595 .Case("shared_locks_required", LangOpts.CPlusPlus11 ? 1 : 0)
596 .Case("requires_capability", LangOpts.CPlusPlus11 ? 1 : 0)
597 .Case("exclusive_locks_required", LangOpts.CPlusPlus11 ? 1 : 0)
598 .Case("requires_shared_capability", LangOpts.CPlusPlus11 ? 1 : 0)
599 .Case("shared_locks_required", LangOpts.CPlusPlus11 ? 1 : 0)
600 .Case("requires_capability", LangOpts.CPlusPlus11 ? 1 : 0)
601 .Case("exclusive_locks_required", LangOpts.CPlusPlus11 ? 1 : 0)
602 .Case("requires_shared_capability", LangOpts.CPlusPlus11 ? 1 : 0)
603 .Case("shared_locks_required", LangOpts.CPlusPlus11 ? 1 : 0)
604 .Case("return_typestate", LangOpts.CPlusPlus11 ? 1 : 0)
605 .Case("scoped_lockable", LangOpts.CPlusPlus11 ? 1 : 0)
606 .Case("set_typestate", LangOpts.CPlusPlus11 ? 1 : 0)
607 .Case("speculative_load_hardening", LangOpts.CPlusPlus11 ? 1 : 0)
608 .Case("swiftcall", LangOpts.CPlusPlus11 ? 1 : 0)
609 .Case("swift_context", LangOpts.CPlusPlus11 ? 1 : 0)
610 .Case("swift_error_result", LangOpts.CPlusPlus11 ? 1 : 0)
611 .Case("swift_indirect_result", LangOpts.CPlusPlus11 ? 1 : 0)
612 .Case("test_typestate", LangOpts.CPlusPlus11 ? 1 : 0)
613 .Case("trivial_abi", LangOpts.CPlusPlus11 ? 1 : 0)
614 .Case("try_acquire_capability", LangOpts.CPlusPlus11 ? 1 : 0)
615 .Case("try_acquire_shared_capability", LangOpts.CPlusPlus11 ? 1 : 0)
616 .Case("try_acquire_capability", LangOpts.CPlusPlus11 ? 1 : 0)
617 .Case("try_acquire_shared_capability", LangOpts.CPlusPlus11 ? 1 : 0)
618 .Case("type_tag_for_datatype", LangOpts.CPlusPlus11 ? 1 : 0)
619 .Case("type_visibility", LangOpts.CPlusPlus11 ? 1 : 0)
620 .Case("unavailable", LangOpts.CPlusPlus11 ? 1 : 0)
621 .Case("uninitialized", LangOpts.CPlusPlus11 ? 1 : 0)
622 .Case("vecreturn", LangOpts.CPlusPlus11 ? 1 : 0)
623 .Case("vectorcall", LangOpts.CPlusPlus11 ? 1 : 0)
624 .Case("warn_unused_result", LangOpts.CPlusPlus11 ? 201907 : 0)
625 .Case("weak_import", LangOpts.CPlusPlus11 ? 1 : 0)
626 .Case("import_module", true && (T.getArch() == llvm::Triple::wasm32 || T.getArch() == llvm::Triple::wasm64) && LangOpts.CPlusPlus11 ? 1 : 0)
627 .Case("import_name", true && (T.getArch() == llvm::Triple::wasm32 || T.getArch() == llvm::Triple::wasm64) && LangOpts.CPlusPlus11 ? 1 : 0)
628 .Case("xray_always_instrument", LangOpts.CPlusPlus11 ? 1 : 0)
629 .Case("xray_never_instrument", LangOpts.CPlusPlus11 ? 1 : 0)
630 .Case("xray_always_instrument", LangOpts.CPlusPlus11 ? 1 : 0)
631 .Case("xray_never_instrument", LangOpts.CPlusPlus11 ? 1 : 0)
632 .Case("xray_log_args", LangOpts.CPlusPlus11 ? 1 : 0)
636 .Case("interrupt", true && (T.getArch() == llvm::Triple::arm || T.getArch() == llvm::Triple::thumb || T.getArch() == llvm::Triple::armeb || T.getArch() == llvm::Triple::thumbeb) && LangOpts.CPlusPlus11 ? 1 : 0)
637 .Case("interrupt", true && (T.getArch() == llvm::Triple::avr) && LangOpts.CPlusPlus11 ? 1 : 0)
638 .Case("signal", true && (T.getArch() == llvm::Triple::avr) && LangOpts.CPlusPlus11 ? 1 : 0)
639 .Case("abi_tag", LangOpts.CPlusPlus11 ? 1 : 0)
640 .Case("alias", LangOpts.CPlusPlus11 ? 1 : 0)
641 .Case("aligned", LangOpts.CPlusPlus11 ? 1 : 0)
642 .Case("alloc_align", LangOpts.CPlusPlus11 ? 1 : 0)
643 .Case("alloc_size", LangOpts.CPlusPlus11 ? 1 : 0)
644 .Case("always_inline", LangOpts.CPlusPlus11 ? 1 : 0)
645 .Case("interrupt", true && (T.getArch() == llvm::Triple::x86 || T.getArch() == llvm::Triple::x86_64) && LangOpts.CPlusPlus11 ? 1 : 0)
646 .Case("no_caller_saved_registers", true && (T.getArch() == llvm::Triple::x86 || T.getArch() == llvm::Triple::x86_64) && LangOpts.CPlusPlus11 ? 1 : 0)
647 .Case("nocf_check", true && (T.getArch() == llvm::Triple::x86 || T.getArch() == llvm::Triple::x86_64) && LangOpts.CPlusPlus11 ? 1 : 0)
648 .Case("artificial", LangOpts.CPlusPlus11 ? 1 : 0)
649 .Case("assume_aligned", LangOpts.CPlusPlus11 ? 1 : 0)
650 .Case("cdecl", LangOpts.CPlusPlus11 ? 1 : 0)
651 .Case("cleanup", LangOpts.CPlusPlus11 ? 1 : 0)
652 .Case("cold", LangOpts.CPlusPlus11 ? 1 : 0)
653 .Case("common", LangOpts.CPlusPlus11 ? 1 : 0)
654 .Case("const", LangOpts.CPlusPlus11 ? 1 : 0)
655 .Case("__const", LangOpts.CPlusPlus11 ? 1 : 0)
656 .Case("const", LangOpts.CPlusPlus11 ? 1 : 0)
657 .Case("__const", LangOpts.CPlusPlus11 ? 1 : 0)
658 .Case("constructor", LangOpts.CPlusPlus11 ? 1 : 0)
659 .Case("dllexport", true && (T.getArch() == llvm::Triple::x86 || T.getArch() == llvm::Triple::x86_64 || T.getArch() == llvm::Triple::arm || T.getArch() == llvm::Triple::thumb || T.getArch() == llvm::Triple::aarch64) && (T.getOS() == llvm::Triple::Win32) && LangOpts.CPlusPlus11 ? 1 : 0)
660 .Case("dllimport", true && (T.getArch() == llvm::Triple::x86 || T.getArch() == llvm::Triple::x86_64 || T.getArch() == llvm::Triple::arm || T.getArch() == llvm::Triple::thumb || T.getArch() == llvm::Triple::aarch64) && (T.getOS() == llvm::Triple::Win32) && LangOpts.CPlusPlus11 ? 1 : 0)
661 .Case("deprecated", LangOpts.CPlusPlus11 ? 201309 : 0)
662 .Case("destructor", LangOpts.CPlusPlus11 ? 1 : 0)
663 .Case("fallthrough", LangOpts.CPlusPlus11 ? 201603 : 0)
664 .Case("fastcall", LangOpts.CPlusPlus11 ? 1 : 0)
665 .Case("flatten", LangOpts.CPlusPlus11 ? 1 : 0)
666 .Case("format", LangOpts.CPlusPlus11 ? 1 : 0)
667 .Case("format_arg", LangOpts.CPlusPlus11 ? 1 : 0)
668 .Case("gnu_inline", LangOpts.CPlusPlus11 ? 1 : 0)
669 .Case("hot", LangOpts.CPlusPlus11 ? 1 : 0)
670 .Case("ifunc", true && (T.getObjectFormat() == llvm::Triple::ELF) && LangOpts.CPlusPlus11 ? 1 : 0)
671 .Case("init_priority", LangOpts.CPlusPlus11 ? 1 : 0)
672 .Case("ms_abi", LangOpts.CPlusPlus11 ? 1 : 0)
673 .Case("interrupt", true && (T.getArch() == llvm::Triple::msp430) && LangOpts.CPlusPlus11 ? 1 : 0)
674 .Case("ms_struct", LangOpts.CPlusPlus11 ? 1 : 0)
675 .Case("may_alias", LangOpts.CPlusPlus11 ? 1 : 0)
676 .Case("micromips", true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel) && LangOpts.CPlusPlus11 ? 1 : 0)
677 .Case("mips16", true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel) && LangOpts.CPlusPlus11 ? 1 : 0)
678 .Case("interrupt", true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel) && LangOpts.CPlusPlus11 ? 1 : 0)
679 .Case("long_call", true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel || T.getArch() == llvm::Triple::mips64 || T.getArch() == llvm::Triple::mips64el) && LangOpts.CPlusPlus11 ? 1 : 0)
680 .Case("far", true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel || T.getArch() == llvm::Triple::mips64 || T.getArch() == llvm::Triple::mips64el) && LangOpts.CPlusPlus11 ? 1 : 0)
681 .Case("long_call", true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel || T.getArch() == llvm::Triple::mips64 || T.getArch() == llvm::Triple::mips64el) && LangOpts.CPlusPlus11 ? 1 : 0)
682 .Case("far", true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel || T.getArch() == llvm::Triple::mips64 || T.getArch() == llvm::Triple::mips64el) && LangOpts.CPlusPlus11 ? 1 : 0)
683 .Case("short_call", true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel || T.getArch() == llvm::Triple::mips64 || T.getArch() == llvm::Triple::mips64el) && LangOpts.CPlusPlus11 ? 1 : 0)
684 .Case("near", true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel || T.getArch() == llvm::Triple::mips64 || T.getArch() == llvm::Triple::mips64el) && LangOpts.CPlusPlus11 ? 1 : 0)
685 .Case("short_call", true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel || T.getArch() == llvm::Triple::mips64 || T.getArch() == llvm::Triple::mips64el) && LangOpts.CPlusPlus11 ? 1 : 0)
686 .Case("near", true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel || T.getArch() == llvm::Triple::mips64 || T.getArch() == llvm::Triple::mips64el) && LangOpts.CPlusPlus11 ? 1 : 0)
687 .Case("mode", LangOpts.CPlusPlus11 ? 1 : 0)
688 .Case("naked", LangOpts.CPlusPlus11 ? 1 : 0)
689 .Case("nocommon", LangOpts.CPlusPlus11 ? 1 : 0)
690 .Case("nodebug", LangOpts.CPlusPlus11 ? 1 : 0)
691 .Case("noinline", LangOpts.CPlusPlus11 ? 1 : 0)
692 .Case("no_instrument_function", LangOpts.CPlusPlus11 ? 1 : 0)
693 .Case("nomicromips", true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel) && LangOpts.CPlusPlus11 ? 1 : 0)
694 .Case("nomips16", true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel) && LangOpts.CPlusPlus11 ? 1 : 0)
695 .Case("noreturn", LangOpts.CPlusPlus11 ? 1 : 0)
696 .Case("no_address_safety_analysis", LangOpts.CPlusPlus11 ? 1 : 0)
697 .Case("no_sanitize_address", LangOpts.CPlusPlus11 ? 1 : 0)
698 .Case("no_sanitize_thread", LangOpts.CPlusPlus11 ? 1 : 0)
699 .Case("no_address_safety_analysis", LangOpts.CPlusPlus11 ? 1 : 0)
700 .Case("no_sanitize_address", LangOpts.CPlusPlus11 ? 1 : 0)
701 .Case("no_sanitize_thread", LangOpts.CPlusPlus11 ? 1 : 0)
702 .Case("no_address_safety_analysis", LangOpts.CPlusPlus11 ? 1 : 0)
703 .Case("no_sanitize_address", LangOpts.CPlusPlus11 ? 1 : 0)
704 .Case("no_sanitize_thread", LangOpts.CPlusPlus11 ? 1 : 0)
705 .Case("no_split_stack", LangOpts.CPlusPlus11 ? 1 : 0)
706 .Case("nothrow", LangOpts.CPlusPlus11 ? 1 : 0)
707 .Case("nonnull", LangOpts.CPlusPlus11 ? 1 : 0)
708 .Case("packed", LangOpts.CPlusPlus11 ? 1 : 0)
709 .Case("pcs", LangOpts.CPlusPlus11 ? 1 : 0)
710 .Case("pure", LangOpts.CPlusPlus11 ? 1 : 0)
711 .Case("interrupt", true && (T.getArch() == llvm::Triple::riscv32 || T.getArch() == llvm::Triple::riscv64) && LangOpts.CPlusPlus11 ? 1 : 0)
712 .Case("regcall", LangOpts.CPlusPlus11 ? 1 : 0)
713 .Case("regparm", LangOpts.CPlusPlus11 ? 1 : 0)
714 .Case("malloc", LangOpts.CPlusPlus11 ? 1 : 0)
715 .Case("returns_nonnull", LangOpts.CPlusPlus11 ? 1 : 0)
716 .Case("returns_twice", LangOpts.CPlusPlus11 ? 1 : 0)
717 .Case("section", LangOpts.CPlusPlus11 ? 1 : 0)
718 .Case("selectany", LangOpts.CPlusPlus11 ? 1 : 0)
719 .Case("sentinel", LangOpts.CPlusPlus11 ? 1 : 0)
720 .Case("stdcall", LangOpts.CPlusPlus11 ? 1 : 0)
721 .Case("sysv_abi", LangOpts.CPlusPlus11 ? 1 : 0)
722 .Case("tls_model", LangOpts.CPlusPlus11 ? 1 : 0)
723 .Case("target", LangOpts.CPlusPlus11 ? 1 : 0)
724 .Case("thiscall", LangOpts.CPlusPlus11 ? 1 : 0)
725 .Case("transparent_union", LangOpts.CPlusPlus11 ? 1 : 0)
726 .Case("unused", LangOpts.CPlusPlus11 ? 201603 : 0)
727 .Case("used", LangOpts.CPlusPlus11 ? 1 : 0)
728 .Case("vector_size", LangOpts.CPlusPlus11 ? 1 : 0)
729 .Case("visibility", LangOpts.CPlusPlus11 ? 1 : 0)
730 .Case("warn_unused", LangOpts.CPlusPlus11 ? 1 : 0)
731 .Case("warn_unused_result", LangOpts.CPlusPlus11 ? 201907 : 0)
732 .Case("weak", LangOpts.CPlusPlus11 ? 1 : 0)
733 .Case("weakref", LangOpts.CPlusPlus11 ? 1 : 0)
734 .Case("force_align_arg_pointer", true && (T.getArch() == llvm::Triple::x86 || T.getArch() == llvm::Triple::x86_64) && LangOpts.CPlusPlus11 ? 1 : 0)
738 .Case("Owner", LangOpts.CPlusPlus11 ? 1 : 0)
739 .Case("Pointer", LangOpts.CPlusPlus11 ? 1 : 0)
740 .Case("suppress", LangOpts.CPlusPlus11 ? 1 : 0)
747 .Case("deprecated", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
748 .Case("fallthrough", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
749 .Case("maybe_unused", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
750 .Case("nodiscard", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
754 .Case("aarch64_vector_pcs", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
755 .Case("address_space", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
756 .Case("annotate", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
757 .Case("objc_arc_weak_reference_unavailable", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
758 .Case("argument_with_type_tag", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
759 .Case("pointer_with_type_tag", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
760 .Case("argument_with_type_tag", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
761 .Case("pointer_with_type_tag", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
762 .Case("__clang_arm_mve_alias", true && (T.getArch() == llvm::Triple::arm || T.getArch() == llvm::Triple::thumb || T.getArch() == llvm::Triple::armeb || T.getArch() == llvm::Triple::thumbeb) && LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
763 .Case("availability", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
764 .Case("blocks", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
765 .Case("cf_audited_transfer", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
766 .Case("cf_consumed", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
767 .Case("cfi_canonical_jump_table", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
768 .Case("cf_returns_not_retained", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
769 .Case("cf_returns_retained", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
770 .Case("cf_unknown_transfer", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
771 .Case("cpu_dispatch", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
772 .Case("cpu_specific", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
773 .Case("callback", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
774 .Case("convergent", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
775 .Case("disable_tail_calls", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
776 .Case("enum_extensibility", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
777 .Case("exclude_from_explicit_instantiation", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
778 .Case("external_source_symbol", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
779 .Case("flag_enum", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
780 .Case("ibaction", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
781 .Case("iboutlet", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
782 .Case("iboutletcollection", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
783 .Case("internal_linkage", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
784 .Case("lto_visibility_public", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
785 .Case("mig_server_routine", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
786 .Case("minsize", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
787 .Case("min_vector_width", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
788 .Case("ns_consumed", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
789 .Case("ns_consumes_self", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
790 .Case("ns_returns_autoreleased", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
791 .Case("ns_returns_not_retained", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
792 .Case("ns_returns_retained", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
793 .Case("neon_polyvector_type", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
794 .Case("neon_vector_type", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
795 .Case("noderef", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
796 .Case("noduplicate", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
797 .Case("noescape", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
798 .Case("no_sanitize", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
799 .Case("no_sanitize_memory", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
800 .Case("no_speculative_load_hardening", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
801 .Case("no_stack_protector", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
802 .Case("no_thread_safety_analysis", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
803 .Case("not_tail_called", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
804 .Case("os_consumed", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
805 .Case("os_consumes_this", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
806 .Case("os_returns_not_retained", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
807 .Case("os_returns_retained", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
808 .Case("os_returns_retained_on_non_zero", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
809 .Case("os_returns_retained_on_zero", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
810 .Case("objc_boxable", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
811 .Case("objc_bridge", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
812 .Case("objc_bridge_mutable", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
813 .Case("objc_bridge_related", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
814 .Case("objc_class_stub", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
815 .Case("objc_designated_initializer", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
816 .Case("objc_exception", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
817 .Case("objc_protocol_requires_explicit_implementation", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
818 .Case("objc_externally_retained", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
819 .Case("objc_gc", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
820 .Case("objc_independent_class", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
821 .Case("objc_method_family", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
822 .Case("NSObject", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
823 .Case("objc_nonlazy_class", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
824 .Case("objc_ownership", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
825 .Case("objc_precise_lifetime", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
826 .Case("objc_requires_property_definitions", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
827 .Case("objc_requires_super", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
828 .Case("objc_returns_inner_pointer", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
829 .Case("objc_root_class", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
830 .Case("objc_runtime_name", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
831 .Case("objc_runtime_visible", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
832 .Case("objc_subclassing_restricted", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
833 .Case("optnone", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
834 .Case("overloadable", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
835 .Case("ownership_holds", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
836 .Case("ownership_returns", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
837 .Case("ownership_takes", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
838 .Case("ownership_holds", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
839 .Case("ownership_returns", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
840 .Case("ownership_takes", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
841 .Case("ownership_holds", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
842 .Case("ownership_returns", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
843 .Case("ownership_takes", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
844 .Case("pascal", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
845 .Case("pass_object_size", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
846 .Case("pass_dynamic_object_size", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
847 .Case("pass_object_size", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
848 .Case("pass_dynamic_object_size", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
849 .Case("preserve_all", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
850 .Case("preserve_most", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
851 .Case("speculative_load_hardening", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
852 .Case("swiftcall", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
853 .Case("swift_context", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
854 .Case("swift_error_result", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
855 .Case("swift_indirect_result", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
856 .Case("type_tag_for_datatype", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
857 .Case("type_visibility", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
858 .Case("unavailable", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
859 .Case("vectorcall", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
860 .Case("weak_import", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
861 .Case("import_module", true && (T.getArch() == llvm::Triple::wasm32 || T.getArch() == llvm::Triple::wasm64) && LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
862 .Case("import_name", true && (T.getArch() == llvm::Triple::wasm32 || T.getArch() == llvm::Triple::wasm64) && LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
863 .Case("xray_always_instrument", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
864 .Case("xray_never_instrument", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
865 .Case("xray_always_instrument", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
866 .Case("xray_never_instrument", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
867 .Case("xray_log_args", LangOpts.DoubleSquareBracketAttributes ? 1 : 0)
gen/tools/clang/include/clang/Parse/AttrParserStringSwitches.inc 10 .Case("acquire_capability", true)
11 .Case("acquire_shared_capability", true)
12 .Case("exclusive_lock_function", true)
13 .Case("shared_lock_function", true)
14 .Case("acquired_after", true)
15 .Case("acquired_before", true)
16 .Case("assert_capability", true)
17 .Case("assert_shared_capability", true)
18 .Case("assert_exclusive_lock", true)
19 .Case("assert_shared_lock", true)
20 .Case("exclusive_trylock_function", true)
21 .Case("guarded_by", true)
22 .Case("lock_returned", true)
23 .Case("locks_excluded", true)
24 .Case("pt_guarded_by", true)
25 .Case("release_capability", true)
26 .Case("release_shared_capability", true)
27 .Case("release_generic_capability", true)
28 .Case("unlock_function", true)
29 .Case("requires_capability", true)
30 .Case("exclusive_locks_required", true)
31 .Case("requires_shared_capability", true)
32 .Case("shared_locks_required", true)
33 .Case("shared_trylock_function", true)
34 .Case("try_acquire_capability", true)
35 .Case("try_acquire_shared_capability", true)
39 .Case("interrupt", true)
40 .Case("argument_with_type_tag", true)
41 .Case("pointer_with_type_tag", true)
42 .Case("__clang_arm_mve_alias", true)
43 .Case("availability", true)
44 .Case("blocks", true)
45 .Case("callable_when", true)
46 .Case("consumable", true)
47 .Case("enum_extensibility", true)
48 .Case("format", true)
49 .Case("loop", true)
50 .Case("unroll", true)
51 .Case("nounroll", true)
52 .Case("unroll_and_jam", true)
53 .Case("nounroll_and_jam", true)
54 .Case("interrupt", true)
55 .Case("mode", true)
56 .Case("declare simd", true)
57 .Case("declare target", true)
58 .Case("objc_bridge", true)
59 .Case("objc_bridge_mutable", true)
60 .Case("objc_bridge_related", true)
61 .Case("objc_gc", true)
62 .Case("objc_method_family", true)
63 .Case("objc_ownership", true)
64 .Case("ownership_holds", true)
65 .Case("ownership_returns", true)
66 .Case("ownership_takes", true)
67 .Case("param_typestate", true)
68 .Case("pcs", true)
69 .Case("interrupt", true)
70 .Case("return_typestate", true)
71 .Case("set_typestate", true)
72 .Case("test_typestate", true)
73 .Case("type_tag_for_datatype", true)
74 .Case("type_visibility", true)
75 .Case("visibility", true)
79 .Case("cpu_dispatch", true)
80 .Case("cpu_specific", true)
81 .Case("callback", true)
85 .Case("callback", true)
89 .Case("iboutletcollection", true)
90 .Case("Owner", true)
91 .Case("Pointer", true)
92 .Case("vec_type_hint", true)
96 .Case("acquire_capability", 1)
97 .Case("acquire_shared_capability", 1)
98 .Case("exclusive_lock_function", 1)
99 .Case("shared_lock_function", 1)
100 .Case("acquired_after", 1)
101 .Case("acquired_before", 1)
102 .Case("assert_capability", 1)
103 .Case("assert_shared_capability", 1)
104 .Case("assert_exclusive_lock", 1)
105 .Case("assert_shared_lock", 1)
106 .Case("diagnose_if", 1)
107 .Case("exclusive_trylock_function", 1)
108 .Case("guarded_by", 1)
109 .Case("lock_returned", 1)
110 .Case("locks_excluded", 1)
111 .Case("pt_guarded_by", 1)
112 .Case("release_capability", 1)
113 .Case("release_shared_capability", 1)
114 .Case("release_generic_capability", 1)
115 .Case("unlock_function", 1)
116 .Case("requires_capability", 1)
117 .Case("exclusive_locks_required", 1)
118 .Case("requires_shared_capability", 1)
119 .Case("shared_locks_required", 1)
120 .Case("shared_trylock_function", 1)
121 .Case("try_acquire_capability", 1)
122 .Case("try_acquire_shared_capability", 1)
gen/tools/clang/include/clang/Parse/AttrSubMatchRulesParserStringSwitches.inc 10 Case("is_member", attr::SubjectMatchRule_function_is_member).
19 Case("functionType", attr::SubjectMatchRule_hasType_functionType).
26 Case("is_union", attr::SubjectMatchRule_record_not_is_union).
35 Case("is_parameter", attr::SubjectMatchRule_variable_not_is_parameter).
38 Case("is_thread_local", attr::SubjectMatchRule_variable_is_thread_local).
39 Case("is_global", attr::SubjectMatchRule_variable_is_global).
40 Case("is_parameter", attr::SubjectMatchRule_variable_is_parameter).
49 Case("is_instance", attr::SubjectMatchRule_objc_method_is_instance).
55 Case("block", std::make_pair(attr::SubjectMatchRule_block, defaultIsAttributeSubjectMatchSubRuleFor)).
56 Case("enum", std::make_pair(attr::SubjectMatchRule_enum, defaultIsAttributeSubjectMatchSubRuleFor)).
57 Case("enum_constant", std::make_pair(attr::SubjectMatchRule_enum_constant, defaultIsAttributeSubjectMatchSubRuleFor)).
58 Case("field", std::make_pair(attr::SubjectMatchRule_field, defaultIsAttributeSubjectMatchSubRuleFor)).
59 Case("function", std::make_pair(attr::SubjectMatchRule_function, isAttributeSubjectMatchSubRuleFor_function)).
60 Case("namespace", std::make_pair(attr::SubjectMatchRule_namespace, defaultIsAttributeSubjectMatchSubRuleFor)).
61 Case("objc_category", std::make_pair(attr::SubjectMatchRule_objc_category, defaultIsAttributeSubjectMatchSubRuleFor)).
62 Case("objc_implementation", std::make_pair(attr::SubjectMatchRule_objc_implementation, defaultIsAttributeSubjectMatchSubRuleFor)).
63 Case("objc_interface", std::make_pair(attr::SubjectMatchRule_objc_interface, defaultIsAttributeSubjectMatchSubRuleFor)).
64 Case("objc_method", std::make_pair(attr::SubjectMatchRule_objc_method, isAttributeSubjectMatchSubRuleFor_objc_method)).
65 Case("objc_property", std::make_pair(attr::SubjectMatchRule_objc_property, defaultIsAttributeSubjectMatchSubRuleFor)).
66 Case("objc_protocol", std::make_pair(attr::SubjectMatchRule_objc_protocol, defaultIsAttributeSubjectMatchSubRuleFor)).
67 Case("record", std::make_pair(attr::SubjectMatchRule_record, isAttributeSubjectMatchSubRuleFor_record)).
68 Case("hasType", std::make_pair(attr::SubjectMatchRule_hasType_abstract, isAttributeSubjectMatchSubRuleFor_hasType)).
69 Case("type_alias", std::make_pair(attr::SubjectMatchRule_type_alias, defaultIsAttributeSubjectMatchSubRuleFor)).
70 Case("variable", std::make_pair(attr::SubjectMatchRule_variable, isAttributeSubjectMatchSubRuleFor_variable)).
include/llvm/ADT/StringSwitch.h 89 return Case(S0, Value).Case(S1, Value);
89 return Case(S0, Value).Case(S1, Value);
94 return Case(S0, Value).Cases(S1, S2, Value);
99 return Case(S0, Value).Cases(S1, S2, S3, Value);
104 return Case(S0, Value).Cases(S1, S2, S3, S4, Value);
110 return Case(S0, Value).Cases(S1, S2, S3, S4, S5, Value);
116 return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, Value);
122 return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, S7, Value);
129 return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, S7, S8, Value);
136 return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, S7, S8, S9, Value);
include/llvm/MC/MCLinkerOptimizationHint.h 55 MCLOHCaseNameToId(AdrpAdrp)
56 MCLOHCaseNameToId(AdrpLdr)
57 MCLOHCaseNameToId(AdrpAddLdr)
58 MCLOHCaseNameToId(AdrpLdrGotLdr)
59 MCLOHCaseNameToId(AdrpAddStr)
60 MCLOHCaseNameToId(AdrpLdrGotStr)
61 MCLOHCaseNameToId(AdrpAdd)
62 MCLOHCaseNameToId(AdrpLdrGot)
include/llvm/Support/AArch64TargetParser.def 88 AARCH64_CPU_NAME("cortex-a35", ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, false,
90 AARCH64_CPU_NAME("cortex-a53", ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, true,
92 AARCH64_CPU_NAME("cortex-a55", ARMV8_2A, FK_CRYPTO_NEON_FP_ARMV8, false,
94 AARCH64_CPU_NAME("cortex-a57", ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, false,
96 AARCH64_CPU_NAME("cortex-a65", ARMV8_2A, FK_CRYPTO_NEON_FP_ARMV8, false,
99 AARCH64_CPU_NAME("cortex-a65ae", ARMV8_2A, FK_CRYPTO_NEON_FP_ARMV8, false,
102 AARCH64_CPU_NAME("cortex-a72", ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, false,
104 AARCH64_CPU_NAME("cortex-a73", ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, false,
106 AARCH64_CPU_NAME("cortex-a75", ARMV8_2A, FK_CRYPTO_NEON_FP_ARMV8, false,
108 AARCH64_CPU_NAME("cortex-a76", ARMV8_2A, FK_CRYPTO_NEON_FP_ARMV8, false,
111 AARCH64_CPU_NAME("cortex-a76ae", ARMV8_2A, FK_CRYPTO_NEON_FP_ARMV8, false,
114 AARCH64_CPU_NAME("neoverse-e1", ARMV8_2A, FK_CRYPTO_NEON_FP_ARMV8, false,
117 AARCH64_CPU_NAME("neoverse-n1", ARMV8_2A, FK_CRYPTO_NEON_FP_ARMV8, false,
121 AARCH64_CPU_NAME("cyclone", ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, false,
123 AARCH64_CPU_NAME("exynos-m1", ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, false,
125 AARCH64_CPU_NAME("exynos-m2", ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, false,
127 AARCH64_CPU_NAME("exynos-m3", ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, false,
129 AARCH64_CPU_NAME("exynos-m4", ARMV8_2A, FK_CRYPTO_NEON_FP_ARMV8, false,
131 AARCH64_CPU_NAME("exynos-m5", ARMV8_2A, FK_CRYPTO_NEON_FP_ARMV8, false,
133 AARCH64_CPU_NAME("falkor", ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, false,
135 AARCH64_CPU_NAME("saphira", ARMV8_3A, FK_CRYPTO_NEON_FP_ARMV8, false,
137 AARCH64_CPU_NAME("kryo", ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, false,
139 AARCH64_CPU_NAME("thunderx2t99", ARMV8_1A, FK_CRYPTO_NEON_FP_ARMV8, false,
141 AARCH64_CPU_NAME("thunderx", ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, false,
143 AARCH64_CPU_NAME("thunderxt88", ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, false,
145 AARCH64_CPU_NAME("thunderxt81", ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, false,
147 AARCH64_CPU_NAME("thunderxt83", ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, false,
149 AARCH64_CPU_NAME("tsv110", ARMV8_2A, FK_CRYPTO_NEON_FP_ARMV8, false,
154 AARCH64_CPU_NAME("invalid", INVALID, FK_INVALID, true, AArch64::AEK_INVALID)
include/llvm/Support/ARMTargetParser.def 184 ARM_CPU_NAME("arm2", ARMV2, FK_NONE, true, ARM::AEK_NONE)
185 ARM_CPU_NAME("arm3", ARMV2A, FK_NONE, true, ARM::AEK_NONE)
186 ARM_CPU_NAME("arm6", ARMV3, FK_NONE, true, ARM::AEK_NONE)
187 ARM_CPU_NAME("arm7m", ARMV3M, FK_NONE, true, ARM::AEK_NONE)
188 ARM_CPU_NAME("arm8", ARMV4, FK_NONE, false, ARM::AEK_NONE)
189 ARM_CPU_NAME("arm810", ARMV4, FK_NONE, false, ARM::AEK_NONE)
190 ARM_CPU_NAME("strongarm", ARMV4, FK_NONE, true, ARM::AEK_NONE)
191 ARM_CPU_NAME("strongarm110", ARMV4, FK_NONE, false, ARM::AEK_NONE)
192 ARM_CPU_NAME("strongarm1100", ARMV4, FK_NONE, false, ARM::AEK_NONE)
193 ARM_CPU_NAME("strongarm1110", ARMV4, FK_NONE, false, ARM::AEK_NONE)
194 ARM_CPU_NAME("arm7tdmi", ARMV4T, FK_NONE, true, ARM::AEK_NONE)
195 ARM_CPU_NAME("arm7tdmi-s", ARMV4T, FK_NONE, false, ARM::AEK_NONE)
196 ARM_CPU_NAME("arm710t", ARMV4T, FK_NONE, false, ARM::AEK_NONE)
197 ARM_CPU_NAME("arm720t", ARMV4T, FK_NONE, false, ARM::AEK_NONE)
198 ARM_CPU_NAME("arm9", ARMV4T, FK_NONE, false, ARM::AEK_NONE)
199 ARM_CPU_NAME("arm9tdmi", ARMV4T, FK_NONE, false, ARM::AEK_NONE)
200 ARM_CPU_NAME("arm920", ARMV4T, FK_NONE, false, ARM::AEK_NONE)
201 ARM_CPU_NAME("arm920t", ARMV4T, FK_NONE, false, ARM::AEK_NONE)
202 ARM_CPU_NAME("arm922t", ARMV4T, FK_NONE, false, ARM::AEK_NONE)
203 ARM_CPU_NAME("arm9312", ARMV4T, FK_NONE, false, ARM::AEK_NONE)
204 ARM_CPU_NAME("arm940t", ARMV4T, FK_NONE, false, ARM::AEK_NONE)
205 ARM_CPU_NAME("ep9312", ARMV4T, FK_NONE, false, ARM::AEK_NONE)
206 ARM_CPU_NAME("arm10tdmi", ARMV5T, FK_NONE, true, ARM::AEK_NONE)
207 ARM_CPU_NAME("arm1020t", ARMV5T, FK_NONE, false, ARM::AEK_NONE)
208 ARM_CPU_NAME("arm9e", ARMV5TE, FK_NONE, false, ARM::AEK_NONE)
209 ARM_CPU_NAME("arm946e-s", ARMV5TE, FK_NONE, false, ARM::AEK_NONE)
210 ARM_CPU_NAME("arm966e-s", ARMV5TE, FK_NONE, false, ARM::AEK_NONE)
211 ARM_CPU_NAME("arm968e-s", ARMV5TE, FK_NONE, false, ARM::AEK_NONE)
212 ARM_CPU_NAME("arm10e", ARMV5TE, FK_NONE, false, ARM::AEK_NONE)
213 ARM_CPU_NAME("arm1020e", ARMV5TE, FK_NONE, false, ARM::AEK_NONE)
214 ARM_CPU_NAME("arm1022e", ARMV5TE, FK_NONE, true, ARM::AEK_NONE)
215 ARM_CPU_NAME("arm926ej-s", ARMV5TEJ, FK_NONE, true, ARM::AEK_NONE)
216 ARM_CPU_NAME("arm1136j-s", ARMV6, FK_NONE, false, ARM::AEK_NONE)
217 ARM_CPU_NAME("arm1136jf-s", ARMV6, FK_VFPV2, true, ARM::AEK_NONE)
218 ARM_CPU_NAME("arm1136jz-s", ARMV6, FK_NONE, false, ARM::AEK_NONE)
219 ARM_CPU_NAME("mpcore", ARMV6K, FK_VFPV2, true, ARM::AEK_NONE)
220 ARM_CPU_NAME("mpcorenovfp", ARMV6K, FK_NONE, false, ARM::AEK_NONE)
221 ARM_CPU_NAME("arm1176jz-s", ARMV6KZ, FK_NONE, false, ARM::AEK_NONE)
222 ARM_CPU_NAME("arm1176jzf-s", ARMV6KZ, FK_VFPV2, true, ARM::AEK_NONE)
223 ARM_CPU_NAME("arm1156t2-s", ARMV6T2, FK_NONE, true, ARM::AEK_NONE)
224 ARM_CPU_NAME("arm1156t2f-s", ARMV6T2, FK_VFPV2, false, ARM::AEK_NONE)
225 ARM_CPU_NAME("cortex-m0", ARMV6M, FK_NONE, true, ARM::AEK_NONE)
226 ARM_CPU_NAME("cortex-m0plus", ARMV6M, FK_NONE, false, ARM::AEK_NONE)
227 ARM_CPU_NAME("cortex-m1", ARMV6M, FK_NONE, false, ARM::AEK_NONE)
228 ARM_CPU_NAME("sc000", ARMV6M, FK_NONE, false, ARM::AEK_NONE)
229 ARM_CPU_NAME("cortex-a5", ARMV7A, FK_NEON_VFPV4, false,
231 ARM_CPU_NAME("cortex-a7", ARMV7A, FK_NEON_VFPV4, false,
234 ARM_CPU_NAME("cortex-a8", ARMV7A, FK_NEON, false, ARM::AEK_SEC)
235 ARM_CPU_NAME("cortex-a9", ARMV7A, FK_NEON_FP16, false, (ARM::AEK_SEC | ARM::AEK_MP))
236 ARM_CPU_NAME("cortex-a12", ARMV7A, FK_NEON_VFPV4, false,
239 ARM_CPU_NAME("cortex-a15", ARMV7A, FK_NEON_VFPV4, false,
242 ARM_CPU_NAME("cortex-a17", ARMV7A, FK_NEON_VFPV4, false,
245 ARM_CPU_NAME("krait", ARMV7A, FK_NEON_VFPV4, false,
247 ARM_CPU_NAME("cortex-r4", ARMV7R, FK_NONE, true, ARM::AEK_NONE)
248 ARM_CPU_NAME("cortex-r4f", ARMV7R, FK_VFPV3_D16, false, ARM::AEK_NONE)
249 ARM_CPU_NAME("cortex-r5", ARMV7R, FK_VFPV3_D16, false,
251 ARM_CPU_NAME("cortex-r7", ARMV7R, FK_VFPV3_D16_FP16, false,
253 ARM_CPU_NAME("cortex-r8", ARMV7R, FK_VFPV3_D16_FP16, false,
255 ARM_CPU_NAME("cortex-r52", ARMV8R, FK_NEON_FP_ARMV8, true, ARM::AEK_NONE)
256 ARM_CPU_NAME("sc300", ARMV7M, FK_NONE, false, ARM::AEK_NONE)
257 ARM_CPU_NAME("cortex-m3", ARMV7M, FK_NONE, true, ARM::AEK_NONE)
258 ARM_CPU_NAME("cortex-m4", ARMV7EM, FK_FPV4_SP_D16, true, ARM::AEK_NONE)
259 ARM_CPU_NAME("cortex-m7", ARMV7EM, FK_FPV5_D16, false, ARM::AEK_NONE)
260 ARM_CPU_NAME("cortex-m23", ARMV8MBaseline, FK_NONE, false, ARM::AEK_NONE)
261 ARM_CPU_NAME("cortex-m33", ARMV8MMainline, FK_FPV5_SP_D16, false, ARM::AEK_DSP)
262 ARM_CPU_NAME("cortex-m35p", ARMV8MMainline, FK_FPV5_SP_D16, false, ARM::AEK_DSP)
263 ARM_CPU_NAME("cortex-a32", ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, false, ARM::AEK_CRC)
264 ARM_CPU_NAME("cortex-a35", ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, false, ARM::AEK_CRC)
265 ARM_CPU_NAME("cortex-a53", ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, false, ARM::AEK_CRC)
266 ARM_CPU_NAME("cortex-a55", ARMV8_2A, FK_CRYPTO_NEON_FP_ARMV8, false,
268 ARM_CPU_NAME("cortex-a57", ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, false, ARM::AEK_CRC)
269 ARM_CPU_NAME("cortex-a72", ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, false, ARM::AEK_CRC)
270 ARM_CPU_NAME("cortex-a73", ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, false, ARM::AEK_CRC)
271 ARM_CPU_NAME("cortex-a75", ARMV8_2A, FK_CRYPTO_NEON_FP_ARMV8, false,
273 ARM_CPU_NAME("cortex-a76", ARMV8_2A, FK_CRYPTO_NEON_FP_ARMV8, false,
275 ARM_CPU_NAME("cortex-a76ae", ARMV8_2A, FK_CRYPTO_NEON_FP_ARMV8, false,
277 ARM_CPU_NAME("neoverse-n1", ARMV8_2A, FK_CRYPTO_NEON_FP_ARMV8, false,
279 ARM_CPU_NAME("cyclone", ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, false, ARM::AEK_CRC)
280 ARM_CPU_NAME("exynos-m1", ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, false, ARM::AEK_CRC)
281 ARM_CPU_NAME("exynos-m2", ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, false, ARM::AEK_CRC)
282 ARM_CPU_NAME("exynos-m3", ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, false, ARM::AEK_CRC)
283 ARM_CPU_NAME("exynos-m4", ARMV8_2A, FK_CRYPTO_NEON_FP_ARMV8, false,
285 ARM_CPU_NAME("exynos-m5", ARMV8_2A, FK_CRYPTO_NEON_FP_ARMV8, false,
287 ARM_CPU_NAME("kryo", ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, false, ARM::AEK_CRC)
289 ARM_CPU_NAME("iwmmxt", IWMMXT, FK_NONE, true, ARM::AEK_NONE)
290 ARM_CPU_NAME("xscale", XSCALE, FK_NONE, true, ARM::AEK_NONE)
291 ARM_CPU_NAME("swift", ARMV7S, FK_NEON_VFPV4, true,
294 ARM_CPU_NAME("invalid", INVALID, FK_INVALID, true, ARM::AEK_INVALID)
include/llvm/Support/FormatProviders.h 266 .Case("Y", B ? "YES" : "NO")
267 .Case("y", B ? "yes" : "no")
269 .Case("T", B ? "TRUE" : "FALSE")
include/llvm/Support/X86TargetParser.def 18 X86_VENDOR(VENDOR_INTEL, "intel")
19 X86_VENDOR(VENDOR_AMD, "amd")
39 X86_CPU_TYPE_COMPAT ("core2", INTEL_CORE2, "core2")
40 X86_CPU_TYPE_COMPAT ("nehalem", INTEL_COREI7, "corei7")
44 X86_CPU_TYPE_COMPAT ("knl", INTEL_KNL, "knl")
45 X86_CPU_TYPE_COMPAT ("btver1", AMD_BTVER1, "btver1")
46 X86_CPU_TYPE_COMPAT ("btver2", AMD_BTVER2, "btver2")
47 X86_CPU_TYPE_COMPAT ("znver1", AMDFAM17H, "amdfam17h")
48 X86_CPU_TYPE_COMPAT ("knm", INTEL_KNM, "knm")
49 X86_CPU_TYPE_COMPAT ("goldmont", INTEL_GOLDMONT, "goldmont")
50 X86_CPU_TYPE_COMPAT ("goldmont-plus", INTEL_GOLDMONT_PLUS, "goldmont-plus")
51 X86_CPU_TYPE_COMPAT ("tremont", INTEL_TREMONT, "tremont")
86 X86_CPU_SUBTYPE_COMPAT("nehalem", INTEL_COREI7_NEHALEM, "nehalem")
87 X86_CPU_SUBTYPE_COMPAT("westmere", INTEL_COREI7_WESTMERE, "westmere")
88 X86_CPU_SUBTYPE_COMPAT("sandybridge", INTEL_COREI7_SANDYBRIDGE, "sandybridge")
89 X86_CPU_SUBTYPE_COMPAT("amdfam10", AMDFAM10H_BARCELONA, "barcelona")
90 X86_CPU_SUBTYPE_COMPAT("amdfam10", AMDFAM10H_SHANGHAI, "shanghai")
91 X86_CPU_SUBTYPE_COMPAT("amdfam10", AMDFAM10H_ISTANBUL, "istanbul")
92 X86_CPU_SUBTYPE_COMPAT("bdver1", AMDFAM15H_BDVER1, "bdver1")
93 X86_CPU_SUBTYPE_COMPAT("bdver2", AMDFAM15H_BDVER2, "bdver2")
94 X86_CPU_SUBTYPE_COMPAT("bdver3", AMDFAM15H_BDVER3, "bdver3")
95 X86_CPU_SUBTYPE_COMPAT("bdver4", AMDFAM15H_BDVER4, "bdver4")
96 X86_CPU_SUBTYPE_COMPAT("znver1", AMDFAM17H_ZNVER1, "znver1")
97 X86_CPU_SUBTYPE_COMPAT("ivybridge", INTEL_COREI7_IVYBRIDGE, "ivybridge")
98 X86_CPU_SUBTYPE_COMPAT("haswell", INTEL_COREI7_HASWELL, "haswell")
99 X86_CPU_SUBTYPE_COMPAT("broadwell", INTEL_COREI7_BROADWELL, "broadwell")
100 X86_CPU_SUBTYPE_COMPAT("skylake", INTEL_COREI7_SKYLAKE, "skylake")
101 X86_CPU_SUBTYPE_COMPAT("skylake-avx512", INTEL_COREI7_SKYLAKE_AVX512, "skylake-avx512")
102 X86_CPU_SUBTYPE_COMPAT("cannonlake", INTEL_COREI7_CANNONLAKE, "cannonlake")
103 X86_CPU_SUBTYPE_COMPAT("icelake-client", INTEL_COREI7_ICELAKE_CLIENT, "icelake-client")
104 X86_CPU_SUBTYPE_COMPAT("icelake-server", INTEL_COREI7_ICELAKE_SERVER, "icelake-server")
105 X86_CPU_SUBTYPE_COMPAT("znver2", AMDFAM17H_ZNVER2, "znver2")
106 X86_CPU_SUBTYPE_COMPAT("cascadelake", INTEL_COREI7_CASCADELAKE, "cascadelake")
128 X86_FEATURE_COMPAT( 0, FEATURE_CMOV, "cmov")
129 X86_FEATURE_COMPAT( 1, FEATURE_MMX, "mmx")
130 X86_FEATURE_COMPAT( 2, FEATURE_POPCNT, "popcnt")
131 X86_FEATURE_COMPAT( 3, FEATURE_SSE, "sse")
132 X86_FEATURE_COMPAT( 4, FEATURE_SSE2, "sse2")
133 X86_FEATURE_COMPAT( 5, FEATURE_SSE3, "sse3")
134 X86_FEATURE_COMPAT( 6, FEATURE_SSSE3, "ssse3")
135 X86_FEATURE_COMPAT( 7, FEATURE_SSE4_1, "sse4.1")
136 X86_FEATURE_COMPAT( 8, FEATURE_SSE4_2, "sse4.2")
137 X86_FEATURE_COMPAT( 9, FEATURE_AVX, "avx")
138 X86_FEATURE_COMPAT(10, FEATURE_AVX2, "avx2")
139 X86_FEATURE_COMPAT(11, FEATURE_SSE4_A, "sse4a")
140 X86_FEATURE_COMPAT(12, FEATURE_FMA4, "fma4")
141 X86_FEATURE_COMPAT(13, FEATURE_XOP, "xop")
142 X86_FEATURE_COMPAT(14, FEATURE_FMA, "fma")
143 X86_FEATURE_COMPAT(15, FEATURE_AVX512F, "avx512f")
144 X86_FEATURE_COMPAT(16, FEATURE_BMI, "bmi")
145 X86_FEATURE_COMPAT(17, FEATURE_BMI2, "bmi2")
146 X86_FEATURE_COMPAT(18, FEATURE_AES, "aes")
147 X86_FEATURE_COMPAT(19, FEATURE_PCLMUL, "pclmul")
148 X86_FEATURE_COMPAT(20, FEATURE_AVX512VL, "avx512vl")
149 X86_FEATURE_COMPAT(21, FEATURE_AVX512BW, "avx512bw")
150 X86_FEATURE_COMPAT(22, FEATURE_AVX512DQ, "avx512dq")
151 X86_FEATURE_COMPAT(23, FEATURE_AVX512CD, "avx512cd")
152 X86_FEATURE_COMPAT(24, FEATURE_AVX512ER, "avx512er")
153 X86_FEATURE_COMPAT(25, FEATURE_AVX512PF, "avx512pf")
154 X86_FEATURE_COMPAT(26, FEATURE_AVX512VBMI, "avx512vbmi")
155 X86_FEATURE_COMPAT(27, FEATURE_AVX512IFMA, "avx512ifma")
156 X86_FEATURE_COMPAT(28, FEATURE_AVX5124VNNIW, "avx5124vnniw")
157 X86_FEATURE_COMPAT(29, FEATURE_AVX5124FMAPS, "avx5124fmaps")
158 X86_FEATURE_COMPAT(30, FEATURE_AVX512VPOPCNTDQ, "avx512vpopcntdq")
159 X86_FEATURE_COMPAT(31, FEATURE_AVX512VBMI2, "avx512vbmi2")
160 X86_FEATURE_COMPAT(32, FEATURE_GFNI, "gfni")
161 X86_FEATURE_COMPAT(33, FEATURE_VPCLMULQDQ, "vpclmulqdq")
162 X86_FEATURE_COMPAT(34, FEATURE_AVX512VNNI, "avx512vnni")
163 X86_FEATURE_COMPAT(35, FEATURE_AVX512BITALG, "avx512bitalg")
164 X86_FEATURE_COMPAT(36, FEATURE_AVX512BF16, "avx512bf16")
lib/Analysis/EHPersonalities.cpp 27 .Case("__gnat_eh_personality", EHPersonality::GNU_Ada)
28 .Case("__gxx_personality_v0", EHPersonality::GNU_CXX)
29 .Case("__gxx_personality_seh0", EHPersonality::GNU_CXX)
30 .Case("__gxx_personality_sj0", EHPersonality::GNU_CXX_SjLj)
31 .Case("__gcc_personality_v0", EHPersonality::GNU_C)
32 .Case("__gcc_personality_seh0", EHPersonality::GNU_C)
33 .Case("__gcc_personality_sj0", EHPersonality::GNU_C_SjLj)
34 .Case("__objc_personality_v0", EHPersonality::GNU_ObjC)
35 .Case("_except_handler3", EHPersonality::MSVC_X86SEH)
36 .Case("_except_handler4", EHPersonality::MSVC_X86SEH)
37 .Case("__C_specific_handler", EHPersonality::MSVC_Win64SEH)
38 .Case("__CxxFrameHandler3", EHPersonality::MSVC_CXX)
39 .Case("ProcessCLRException", EHPersonality::CoreCLR)
40 .Case("rust_eh_personality", EHPersonality::Rust)
41 .Case("__gxx_wasm_personality_v0", EHPersonality::Wasm_CXX)
lib/Analysis/VFABIDemangling.cpp 30 .Case("n", VFISAKind::AdvancedSIMD)
31 .Case("s", VFISAKind::SVE)
32 .Case("b", VFISAKind::SSE)
33 .Case("c", VFISAKind::AVX)
34 .Case("d", VFISAKind::AVX2)
35 .Case("e", VFISAKind::AVX512)
399 .Case("v", VFParamKind::Vector)
400 .Case("l", VFParamKind::OMP_Linear)
401 .Case("R", VFParamKind::OMP_LinearRef)
402 .Case("L", VFParamKind::OMP_LinearVal)
403 .Case("U", VFParamKind::OMP_LinearUVal)
404 .Case("ls", VFParamKind::OMP_LinearPos)
405 .Case("Ls", VFParamKind::OMP_LinearValPos)
406 .Case("Rs", VFParamKind::OMP_LinearRefPos)
407 .Case("Us", VFParamKind::OMP_LinearUValPos)
408 .Case("u", VFParamKind::OMP_Uniform)
lib/BinaryFormat/AMDGPUMetadataVerifier.cpp 110 .Case("by_value", true)
111 .Case("global_buffer", true)
112 .Case("dynamic_shared_pointer", true)
113 .Case("sampler", true)
114 .Case("image", true)
115 .Case("pipe", true)
116 .Case("queue", true)
117 .Case("hidden_global_offset_x", true)
118 .Case("hidden_global_offset_y", true)
119 .Case("hidden_global_offset_z", true)
120 .Case("hidden_none", true)
121 .Case("hidden_printf_buffer", true)
122 .Case("hidden_default_queue", true)
123 .Case("hidden_completion_action", true)
124 .Case("hidden_multigrid_sync_arg", true)
132 .Case("struct", true)
133 .Case("i8", true)
134 .Case("u8", true)
135 .Case("i16", true)
136 .Case("u16", true)
137 .Case("f16", true)
138 .Case("i32", true)
139 .Case("u32", true)
140 .Case("f32", true)
141 .Case("i64", true)
142 .Case("u64", true)
143 .Case("f64", true)
153 .Case("private", true)
154 .Case("global", true)
155 .Case("constant", true)
156 .Case("local", true)
157 .Case("generic", true)
158 .Case("region", true)
166 .Case("read_only", true)
167 .Case("write_only", true)
168 .Case("read_write", true)
176 .Case("read_only", true)
177 .Case("write_only", true)
178 .Case("read_write", true)
213 .Case("OpenCL C", true)
214 .Case("OpenCL C++", true)
215 .Case("HCC", true)
216 .Case("HIP", true)
217 .Case("OpenMP", true)
218 .Case("Assembler", true)
lib/BinaryFormat/Dwarf.cpp 162 .Case("DW_OP_LLVM_convert", DW_OP_LLVM_convert)
163 .Case("DW_OP_LLVM_fragment", DW_OP_LLVM_fragment)
164 .Case("DW_OP_LLVM_tag_offset", DW_OP_LLVM_tag_offset)
165 .Case("DW_OP_LLVM_entry_value", DW_OP_LLVM_entry_value)
459 .Case("DW_MACINFO_define", DW_MACINFO_define)
460 .Case("DW_MACINFO_undef", DW_MACINFO_undef)
461 .Case("DW_MACINFO_start_file", DW_MACINFO_start_file)
462 .Case("DW_MACINFO_end_file", DW_MACINFO_end_file)
463 .Case("DW_MACINFO_vendor_ext", DW_MACINFO_vendor_ext)
lib/CodeGen/MIRParser/MILexer.cpp 183 .Case("_", MIToken::underscore)
184 .Case("implicit", MIToken::kw_implicit)
185 .Case("implicit-def", MIToken::kw_implicit_define)
186 .Case("def", MIToken::kw_def)
187 .Case("dead", MIToken::kw_dead)
188 .Case("killed", MIToken::kw_killed)
189 .Case("undef", MIToken::kw_undef)
190 .Case("internal", MIToken::kw_internal)
191 .Case("early-clobber", MIToken::kw_early_clobber)
192 .Case("debug-use", MIToken::kw_debug_use)
193 .Case("renamable", MIToken::kw_renamable)
194 .Case("tied-def", MIToken::kw_tied_def)
195 .Case("frame-setup", MIToken::kw_frame_setup)
196 .Case("frame-destroy", MIToken::kw_frame_destroy)
197 .Case("nnan", MIToken::kw_nnan)
198 .Case("ninf", MIToken::kw_ninf)
199 .Case("nsz", MIToken::kw_nsz)
200 .Case("arcp", MIToken::kw_arcp)
201 .Case("contract", MIToken::kw_contract)
202 .Case("afn", MIToken::kw_afn)
203 .Case("reassoc", MIToken::kw_reassoc)
204 .Case("nuw" , MIToken::kw_nuw)
205 .Case("nsw" , MIToken::kw_nsw)
206 .Case("exact" , MIToken::kw_exact)
207 .Case("fpexcept", MIToken::kw_fpexcept)
208 .Case("debug-location", MIToken::kw_debug_location)
209 .Case("same_value", MIToken::kw_cfi_same_value)
210 .Case("offset", MIToken::kw_cfi_offset)
211 .Case("rel_offset", MIToken::kw_cfi_rel_offset)
212 .Case("def_cfa_register", MIToken::kw_cfi_def_cfa_register)
213 .Case("def_cfa_offset", MIToken::kw_cfi_def_cfa_offset)
214 .Case("adjust_cfa_offset", MIToken::kw_cfi_adjust_cfa_offset)
215 .Case("escape", MIToken::kw_cfi_escape)
216 .Case("def_cfa", MIToken::kw_cfi_def_cfa)
217 .Case("remember_state", MIToken::kw_cfi_remember_state)
218 .Case("restore", MIToken::kw_cfi_restore)
219 .Case("restore_state", MIToken::kw_cfi_restore_state)
220 .Case("undefined", MIToken::kw_cfi_undefined)
221 .Case("register", MIToken::kw_cfi_register)
222 .Case("window_save", MIToken::kw_cfi_window_save)
223 .Case("negate_ra_sign_state", MIToken::kw_cfi_aarch64_negate_ra_sign_state)
224 .Case("blockaddress", MIToken::kw_blockaddress)
225 .Case("intrinsic", MIToken::kw_intrinsic)
226 .Case("target-index", MIToken::kw_target_index)
227 .Case("half", MIToken::kw_half)
228 .Case("float", MIToken::kw_float)
229 .Case("double", MIToken::kw_double)
230 .Case("x86_fp80", MIToken::kw_x86_fp80)
231 .Case("fp128", MIToken::kw_fp128)
232 .Case("ppc_fp128", MIToken::kw_ppc_fp128)
233 .Case("target-flags", MIToken::kw_target_flags)
234 .Case("volatile", MIToken::kw_volatile)
235 .Case("non-temporal", MIToken::kw_non_temporal)
236 .Case("dereferenceable", MIToken::kw_dereferenceable)
237 .Case("invariant", MIToken::kw_invariant)
238 .Case("align", MIToken::kw_align)
239 .Case("addrspace", MIToken::kw_addrspace)
240 .Case("stack", MIToken::kw_stack)
241 .Case("got", MIToken::kw_got)
242 .Case("jump-table", MIToken::kw_jump_table)
243 .Case("constant-pool", MIToken::kw_constant_pool)
244 .Case("call-entry", MIToken::kw_call_entry)
245 .Case("liveout", MIToken::kw_liveout)
246 .Case("address-taken", MIToken::kw_address_taken)
247 .Case("landing-pad", MIToken::kw_landing_pad)
248 .Case("liveins", MIToken::kw_liveins)
249 .Case("successors", MIToken::kw_successors)
250 .Case("floatpred", MIToken::kw_floatpred)
251 .Case("intpred", MIToken::kw_intpred)
252 .Case("shufflemask", MIToken::kw_shufflemask)
253 .Case("pre-instr-symbol", MIToken::kw_pre_instr_symbol)
254 .Case("post-instr-symbol", MIToken::kw_post_instr_symbol)
255 .Case("unknown-size", MIToken::kw_unknown_size)
576 .Case("!tbaa", MIToken::md_tbaa)
577 .Case("!alias.scope", MIToken::md_alias_scope)
578 .Case("!noalias", MIToken::md_noalias)
579 .Case("!range", MIToken::md_range)
580 .Case("!DIExpression", MIToken::md_diexpr)
581 .Case("!DILocation", MIToken::md_dilocation)
lib/CodeGen/MIRParser/MIParser.cpp 2247 .Case("false", CmpInst::FCMP_FALSE)
2248 .Case("oeq", CmpInst::FCMP_OEQ)
2249 .Case("ogt", CmpInst::FCMP_OGT)
2250 .Case("oge", CmpInst::FCMP_OGE)
2251 .Case("olt", CmpInst::FCMP_OLT)
2252 .Case("ole", CmpInst::FCMP_OLE)
2253 .Case("one", CmpInst::FCMP_ONE)
2254 .Case("ord", CmpInst::FCMP_ORD)
2255 .Case("uno", CmpInst::FCMP_UNO)
2256 .Case("ueq", CmpInst::FCMP_UEQ)
2257 .Case("ugt", CmpInst::FCMP_UGT)
2258 .Case("uge", CmpInst::FCMP_UGE)
2259 .Case("ult", CmpInst::FCMP_ULT)
2260 .Case("ule", CmpInst::FCMP_ULE)
2261 .Case("une", CmpInst::FCMP_UNE)
2262 .Case("true", CmpInst::FCMP_TRUE)
2268 .Case("eq", CmpInst::ICMP_EQ)
2269 .Case("ne", CmpInst::ICMP_NE)
2270 .Case("sgt", CmpInst::ICMP_SGT)
2271 .Case("sge", CmpInst::ICMP_SGE)
2272 .Case("slt", CmpInst::ICMP_SLT)
2273 .Case("sle", CmpInst::ICMP_SLE)
2274 .Case("ugt", CmpInst::ICMP_UGT)
2275 .Case("uge", CmpInst::ICMP_UGE)
2276 .Case("ult", CmpInst::ICMP_ULT)
2277 .Case("ule", CmpInst::ICMP_ULE)
2816 .Case("unordered", AtomicOrdering::Unordered)
2817 .Case("monotonic", AtomicOrdering::Monotonic)
2818 .Case("acquire", AtomicOrdering::Acquire)
2819 .Case("release", AtomicOrdering::Release)
2820 .Case("acq_rel", AtomicOrdering::AcquireRelease)
2821 .Case("seq_cst", AtomicOrdering::SequentiallyConsistent)
lib/DebugInfo/DWARF/DWARFContext.cpp 1404 .Case("debug_loc", &LocSection)
1405 .Case("debug_loclists", &LoclistsSection)
1406 .Case("debug_line", &LineSection)
1407 .Case("debug_frame", &FrameSection)
1408 .Case("eh_frame", &EHFrameSection)
1409 .Case("debug_str_offsets", &StrOffsetsSection)
1410 .Case("debug_ranges", &RangesSection)
1411 .Case("debug_rnglists", &RnglistsSection)
1412 .Case("debug_loc.dwo", &LocDWOSection)
1413 .Case("debug_line.dwo", &LineDWOSection)
1414 .Case("debug_names", &NamesSection)
1415 .Case("debug_rnglists.dwo", &RnglistsDWOSection)
1416 .Case("debug_str_offsets.dwo", &StrOffsetsDWOSection)
1417 .Case("debug_addr", &AddrSection)
1418 .Case("apple_names", &AppleNamesSection)
1419 .Case("debug_pubnames", &PubnamesSection)
1420 .Case("debug_pubtypes", &PubtypesSection)
1421 .Case("debug_gnu_pubnames", &GnuPubnamesSection)
1422 .Case("debug_gnu_pubtypes", &GnuPubtypesSection)
1423 .Case("apple_types", &AppleTypesSection)
1424 .Case("apple_namespaces", &AppleNamespacesSection)
1425 .Case("apple_namespac", &AppleNamespacesSection)
1426 .Case("apple_objc", &AppleObjCSection)
1449 .Case("debug_abbrev", &AbbrevSection)
1450 .Case("debug_aranges", &ArangesSection)
1451 .Case("debug_str", &StrSection)
1452 .Case("debug_macinfo", &MacinfoSection)
1453 .Case("debug_abbrev.dwo", &AbbrevDWOSection)
1454 .Case("debug_str.dwo", &StrDWOSection)
1455 .Case("debug_cu_index", &CUIndexSection)
1456 .Case("debug_tu_index", &TUIndexSection)
1457 .Case("gdb_index", &GdbIndexSection)
1458 .Case("debug_line_str", &LineStrSection)
lib/DebugInfo/PDB/PDBSymbolCompiland.cpp 97 .Case(".cpp", Lang == PDB_Lang::Cpp)
98 .Case(".cc", Lang == PDB_Lang::Cpp)
99 .Case(".cxx", Lang == PDB_Lang::Cpp)
100 .Case(".c", Lang == PDB_Lang::C)
101 .Case(".asm", Lang == PDB_Lang::Masm)
102 .Case(".swift", Lang == PDB_Lang::Swift)
lib/IR/AutoUpgrade.cpp 743 .Case("clz.i", Intrinsic::ctlz)
744 .Case("popc.i", Intrinsic::ctpop)
lib/IR/DebugInfoMetadata.cpp 493 .Case("CSK_MD5", DIFile::CSK_MD5)
494 .Case("CSK_SHA1", DIFile::CSK_SHA1)
542 .Case("NoDebug", NoDebug)
543 .Case("FullDebug", FullDebug)
544 .Case("LineTablesOnly", LineTablesOnly)
545 .Case("DebugDirectivesOnly", DebugDirectivesOnly)
552 .Case("Default", DebugNameTableKind::Default)
553 .Case("GNU", DebugNameTableKind::GNU)
554 .Case("None", DebugNameTableKind::None)
lib/IR/IntrinsicInst.cpp 120 .Case("round.dynamic", rmDynamic)
121 .Case("round.tonearest", rmToNearest)
122 .Case("round.downward", rmDownward)
123 .Case("round.upward", rmUpward)
124 .Case("round.towardzero", rmTowardZero)
164 .Case("fpexcept.ignore", ebIgnore)
165 .Case("fpexcept.maytrap", ebMayTrap)
166 .Case("fpexcept.strict", ebStrict)
lib/MC/MCExpr.cpp 331 .Case("dtprel", VK_DTPREL)
332 .Case("dtpoff", VK_DTPOFF)
333 .Case("got", VK_GOT)
334 .Case("gotoff", VK_GOTOFF)
335 .Case("gotrel", VK_GOTREL)
336 .Case("gotpcrel", VK_GOTPCREL)
337 .Case("gottpoff", VK_GOTTPOFF)
338 .Case("indntpoff", VK_INDNTPOFF)
339 .Case("ntpoff", VK_NTPOFF)
340 .Case("gotntpoff", VK_GOTNTPOFF)
341 .Case("plt", VK_PLT)
342 .Case("tlscall", VK_TLSCALL)
343 .Case("tlsdesc", VK_TLSDESC)
344 .Case("tlsgd", VK_TLSGD)
345 .Case("tlsld", VK_TLSLD)
346 .Case("tlsldm", VK_TLSLDM)
347 .Case("tpoff", VK_TPOFF)
348 .Case("tprel", VK_TPREL)
349 .Case("tlvp", VK_TLVP)
350 .Case("tlvppage", VK_TLVPPAGE)
351 .Case("tlvppageoff", VK_TLVPPAGEOFF)
352 .Case("page", VK_PAGE)
353 .Case("pageoff", VK_PAGEOFF)
354 .Case("gotpage", VK_GOTPAGE)
355 .Case("gotpageoff", VK_GOTPAGEOFF)
356 .Case("imgrel", VK_COFF_IMGREL32)
357 .Case("secrel32", VK_SECREL)
358 .Case("size", VK_SIZE)
359 .Case("abs8", VK_X86_ABS8)
360 .Case("l", VK_PPC_LO)
361 .Case("h", VK_PPC_HI)
362 .Case("ha", VK_PPC_HA)
363 .Case("high", VK_PPC_HIGH)
364 .Case("higha", VK_PPC_HIGHA)
365 .Case("higher", VK_PPC_HIGHER)
366 .Case("highera", VK_PPC_HIGHERA)
367 .Case("highest", VK_PPC_HIGHEST)
368 .Case("highesta", VK_PPC_HIGHESTA)
369 .Case("got@l", VK_PPC_GOT_LO)
370 .Case("got@h", VK_PPC_GOT_HI)
371 .Case("got@ha", VK_PPC_GOT_HA)
372 .Case("local", VK_PPC_LOCAL)
373 .Case("tocbase", VK_PPC_TOCBASE)
374 .Case("toc", VK_PPC_TOC)
375 .Case("toc@l", VK_PPC_TOC_LO)
376 .Case("toc@h", VK_PPC_TOC_HI)
377 .Case("toc@ha", VK_PPC_TOC_HA)
378 .Case("u", VK_PPC_U)
379 .Case("l", VK_PPC_L)
380 .Case("tls", VK_PPC_TLS)
381 .Case("dtpmod", VK_PPC_DTPMOD)
382 .Case("tprel@l", VK_PPC_TPREL_LO)
383 .Case("tprel@h", VK_PPC_TPREL_HI)
384 .Case("tprel@ha", VK_PPC_TPREL_HA)
385 .Case("tprel@high", VK_PPC_TPREL_HIGH)
386 .Case("tprel@higha", VK_PPC_TPREL_HIGHA)
387 .Case("tprel@higher", VK_PPC_TPREL_HIGHER)
388 .Case("tprel@highera", VK_PPC_TPREL_HIGHERA)
389 .Case("tprel@highest", VK_PPC_TPREL_HIGHEST)
390 .Case("tprel@highesta", VK_PPC_TPREL_HIGHESTA)
391 .Case("dtprel@l", VK_PPC_DTPREL_LO)
392 .Case("dtprel@h", VK_PPC_DTPREL_HI)
393 .Case("dtprel@ha", VK_PPC_DTPREL_HA)
394 .Case("dtprel@high", VK_PPC_DTPREL_HIGH)
395 .Case("dtprel@higha", VK_PPC_DTPREL_HIGHA)
396 .Case("dtprel@higher", VK_PPC_DTPREL_HIGHER)
397 .Case("dtprel@highera", VK_PPC_DTPREL_HIGHERA)
398 .Case("dtprel@highest", VK_PPC_DTPREL_HIGHEST)
399 .Case("dtprel@highesta", VK_PPC_DTPREL_HIGHESTA)
400 .Case("got@tprel", VK_PPC_GOT_TPREL)
401 .Case("got@tprel@l", VK_PPC_GOT_TPREL_LO)
402 .Case("got@tprel@h", VK_PPC_GOT_TPREL_HI)
403 .Case("got@tprel@ha", VK_PPC_GOT_TPREL_HA)
404 .Case("got@dtprel", VK_PPC_GOT_DTPREL)
405 .Case("got@dtprel@l", VK_PPC_GOT_DTPREL_LO)
406 .Case("got@dtprel@h", VK_PPC_GOT_DTPREL_HI)
407 .Case("got@dtprel@ha", VK_PPC_GOT_DTPREL_HA)
408 .Case("got@tlsgd", VK_PPC_GOT_TLSGD)
409 .Case("got@tlsgd@l", VK_PPC_GOT_TLSGD_LO)
410 .Case("got@tlsgd@h", VK_PPC_GOT_TLSGD_HI)
411 .Case("got@tlsgd@ha", VK_PPC_GOT_TLSGD_HA)
412 .Case("got@tlsld", VK_PPC_GOT_TLSLD)
413 .Case("got@tlsld@l", VK_PPC_GOT_TLSLD_LO)
414 .Case("got@tlsld@h", VK_PPC_GOT_TLSLD_HI)
415 .Case("got@tlsld@ha", VK_PPC_GOT_TLSLD_HA)
416 .Case("gdgot", VK_Hexagon_GD_GOT)
417 .Case("gdplt", VK_Hexagon_GD_PLT)
418 .Case("iegot", VK_Hexagon_IE_GOT)
419 .Case("ie", VK_Hexagon_IE)
420 .Case("ldgot", VK_Hexagon_LD_GOT)
421 .Case("ldplt", VK_Hexagon_LD_PLT)
422 .Case("pcrel", VK_Hexagon_PCREL)
423 .Case("none", VK_ARM_NONE)
424 .Case("got_prel", VK_ARM_GOT_PREL)
425 .Case("target1", VK_ARM_TARGET1)
426 .Case("target2", VK_ARM_TARGET2)
427 .Case("prel31", VK_ARM_PREL31)
428 .Case("sbrel", VK_ARM_SBREL)
429 .Case("tlsldo", VK_ARM_TLSLDO)
430 .Case("lo8", VK_AVR_LO8)
431 .Case("hi8", VK_AVR_HI8)
432 .Case("hlo8", VK_AVR_HLO8)
433 .Case("typeindex", VK_WASM_TYPEINDEX)
434 .Case("tbrel", VK_WASM_TBREL)
435 .Case("mbrel", VK_WASM_MBREL)
436 .Case("gotpcrel32@lo", VK_AMDGPU_GOTPCREL32_LO)
437 .Case("gotpcrel32@hi", VK_AMDGPU_GOTPCREL32_HI)
438 .Case("rel32@lo", VK_AMDGPU_REL32_LO)
439 .Case("rel32@hi", VK_AMDGPU_REL32_HI)
440 .Case("rel64", VK_AMDGPU_REL64)
441 .Case("abs32@lo", VK_AMDGPU_ABS32_LO)
442 .Case("abs32@hi", VK_AMDGPU_ABS32_HI)
lib/MC/MCParser/COFFAsmParser.cpp 275 .Case(".weak", MCSA_Weak)
562 .Case("one_only", COFF::IMAGE_COMDAT_SELECT_NODUPLICATES)
563 .Case("discard", COFF::IMAGE_COMDAT_SELECT_ANY)
564 .Case("same_size", COFF::IMAGE_COMDAT_SELECT_SAME_SIZE)
565 .Case("same_contents", COFF::IMAGE_COMDAT_SELECT_EXACT_MATCH)
566 .Case("associative", COFF::IMAGE_COMDAT_SELECT_ASSOCIATIVE)
567 .Case("largest", COFF::IMAGE_COMDAT_SELECT_LARGEST)
568 .Case("newest", COFF::IMAGE_COMDAT_SELECT_NEWEST)
lib/MC/MCParser/DarwinAsmParser.cpp 705 .Case("__textcoal_nt", "__text")
706 .Case("__const_coal", "__const")
707 .Case("__datacoal_nt", "__data")
984 .Case("jt8", MCDR_DataRegionJT8)
985 .Case("jt16", MCDR_DataRegionJT16)
986 .Case("jt32", MCDR_DataRegionJT32)
1168 .Case("macos", MachO::PLATFORM_MACOS)
1169 .Case("ios", MachO::PLATFORM_IOS)
1170 .Case("tvos", MachO::PLATFORM_TVOS)
1171 .Case("watchos", MachO::PLATFORM_WATCHOS)
1172 .Case("macCatalyst", MachO::PLATFORM_MACCATALYST)
lib/MC/MCParser/ELFAsmParser.cpp 171 .Case(".weak", MCSA_Weak)
172 .Case(".local", MCSA_Local)
173 .Case(".hidden", MCSA_Hidden)
174 .Case(".internal", MCSA_Internal)
175 .Case(".protected", MCSA_Protected)
676 .Case("gnu_unique_object", MCSA_ELF_TypeGnuUniqueObject)
lib/MC/MCParser/WasmAsmParser.cpp 222 .Case(".weak", MCSA_Weak)
223 .Case(".local", MCSA_Local)
224 .Case(".hidden", MCSA_Hidden)
225 .Case(".internal", MCSA_Internal)
226 .Case(".protected", MCSA_Protected)
lib/Object/COFFModuleDefinition.cpp 124 .Case("BASE", KwBase)
125 .Case("CONSTANT", KwConstant)
126 .Case("DATA", KwData)
127 .Case("EXPORTS", KwExports)
128 .Case("HEAPSIZE", KwHeapsize)
129 .Case("LIBRARY", KwLibrary)
130 .Case("NAME", KwName)
131 .Case("NONAME", KwNoname)
132 .Case("PRIVATE", KwPrivate)
133 .Case("STACKSIZE", KwStacksize)
134 .Case("VERSION", KwVersion)
lib/Object/COFFObjectFile.cpp 1290 .Case("eh_fram", "eh_frame")
lib/Object/MachOObjectFile.cpp 4658 .Case("debug_str_offs", "debug_str_offsets")
lib/Object/WasmObjectFile.cpp 1567 .Case("dylink", WASM_SEC_ORDER_DYLINK)
1568 .Case("linking", WASM_SEC_ORDER_LINKING)
1570 .Case("name", WASM_SEC_ORDER_NAME)
1571 .Case("producers", WASM_SEC_ORDER_PRODUCERS)
1572 .Case("target_features", WASM_SEC_ORDER_TARGET_FEATURES)
lib/Object/WindowsMachineFlag.cpp 26 .Case("arm", COFF::IMAGE_FILE_MACHINE_ARMNT)
27 .Case("arm64", COFF::IMAGE_FILE_MACHINE_ARM64)
lib/Passes/PassBuilder.cpp 1458 .Case("O0", 0)
1459 .Case("O1", 1)
1460 .Case("O2", 2)
1461 .Case("O3", 3)
1870 .Case("O0", O0)
1871 .Case("O1", O1)
1872 .Case("O2", O2)
1873 .Case("O3", O3)
1874 .Case("Os", Os)
1875 .Case("Oz", Oz);
lib/Remarks/RemarkFormat.cpp 22 .Case("yaml-strtab", Format::YAMLStrTab)
23 .Case("bitstream", Format::Bitstream)
lib/Remarks/YAMLRemarkParser.cpp 275 .Case("!Passed", remarks::Type::Passed)
276 .Case("!Missed", remarks::Type::Missed)
277 .Case("!Analysis", remarks::Type::Analysis)
278 .Case("!AnalysisFPCommute", remarks::Type::AnalysisFPCommute)
279 .Case("!AnalysisAliasing", remarks::Type::AnalysisAliasing)
280 .Case("!Failure", remarks::Type::Failure)
lib/Support/ARMTargetParser.cpp 22 .Case("thumb,arm", "arm,thumb")
137 .Case("v5", "v5t")
138 .Case("v5e", "v5te")
139 .Case("v6j", "v6")
140 .Case("v6hl", "v6k")
144 .Case("v7r", "v7-r")
145 .Case("v7m", "v7-m")
146 .Case("v7em", "v7e-m")
148 .Case("v8.1a", "v8.1-a")
149 .Case("v8.2a", "v8.2-a")
150 .Case("v8.3a", "v8.3-a")
151 .Case("v8.4a", "v8.4-a")
152 .Case("v8.5a", "v8.5-a")
153 .Case("v8r", "v8-r")
154 .Case("v8m.base", "v8-m.base")
155 .Case("v8m.main", "v8-m.main")
156 .Case("v8.1m.main", "v8.1-m.main")
329 .Case("vfp2", "vfpv2")
330 .Case("vfp3", "vfpv3")
331 .Case("vfp4", "vfpv4")
332 .Case("vfp3-d16", "vfpv3-d16")
333 .Case("vfp4-d16", "vfpv4-d16")
336 .Case("fp5-sp-d16", "fpv5-sp-d16")
339 .Case("neon-vfpv3", "neon")
lib/Support/Host.cpp 124 .Case("604e", "604e")
125 .Case("604", "604")
126 .Case("7400", "7400")
127 .Case("7410", "7400")
128 .Case("7447", "7400")
129 .Case("7455", "7450")
130 .Case("G4", "g4")
131 .Case("POWER4", "970")
132 .Case("PPC970FX", "970")
133 .Case("PPC970MP", "970")
134 .Case("G5", "g5")
135 .Case("POWER5", "g5")
136 .Case("A2", "a2")
137 .Case("POWER6", "pwr6")
138 .Case("POWER7", "pwr7")
139 .Case("POWER8", "pwr8")
140 .Case("POWER8E", "pwr8")
141 .Case("POWER8NVL", "pwr8")
142 .Case("POWER9", "pwr9")
179 .Case("0x926", "arm926ej-s")
180 .Case("0xb02", "mpcore")
181 .Case("0xb36", "arm1136j-s")
182 .Case("0xb56", "arm1156t2-s")
183 .Case("0xb76", "arm1176jz-s")
184 .Case("0xc08", "cortex-a8")
185 .Case("0xc09", "cortex-a9")
186 .Case("0xc0f", "cortex-a15")
187 .Case("0xc20", "cortex-m0")
188 .Case("0xc23", "cortex-m3")
189 .Case("0xc24", "cortex-m4")
190 .Case("0xd04", "cortex-a35")
191 .Case("0xd03", "cortex-a53")
192 .Case("0xd07", "cortex-a57")
193 .Case("0xd08", "cortex-a72")
194 .Case("0xd09", "cortex-a73")
195 .Case("0xd0a", "cortex-a75")
196 .Case("0xd0b", "cortex-a76")
204 .Case("0x516", "thunderx2t99")
205 .Case("0x0516", "thunderx2t99")
206 .Case("0xaf", "thunderx2t99")
207 .Case("0x0af", "thunderx2t99")
208 .Case("0xa1", "thunderxt88")
209 .Case("0x0a1", "thunderxt88")
223 .Case("0xd01", "tsv110")
234 .Case("0x06f", "krait") // APQ8064
235 .Case("0x201", "kryo")
236 .Case("0x205", "kryo")
237 .Case("0x211", "kryo")
238 .Case("0x800", "cortex-a73")
239 .Case("0x801", "cortex-a73")
240 .Case("0x802", "cortex-a73")
241 .Case("0x803", "cortex-a73")
242 .Case("0x804", "cortex-a73")
243 .Case("0x805", "cortex-a73")
244 .Case("0xc00", "falkor")
245 .Case("0xc01", "saphira")
lib/Support/SymbolRemappingReader.cpp 51 .Case("name", FK::Name)
52 .Case("type", FK::Type)
53 .Case("encoding", FK::Encoding)
lib/Support/Triple.cpp 266 .Case("aarch64", aarch64)
267 .Case("aarch64_be", aarch64_be)
268 .Case("aarch64_32", aarch64_32)
269 .Case("arc", arc)
270 .Case("arm64", aarch64) // "arm64" is an alias for "aarch64"
271 .Case("arm64_32", aarch64_32)
272 .Case("arm", arm)
273 .Case("armeb", armeb)
274 .Case("avr", avr)
276 .Case("mips", mips)
277 .Case("mipsel", mipsel)
278 .Case("mips64", mips64)
279 .Case("mips64el", mips64el)
280 .Case("msp430", msp430)
281 .Case("ppc64", ppc64)
282 .Case("ppc32", ppc)
283 .Case("ppc", ppc)
284 .Case("ppc64le", ppc64le)
285 .Case("r600", r600)
286 .Case("amdgcn", amdgcn)
287 .Case("riscv32", riscv32)
288 .Case("riscv64", riscv64)
289 .Case("hexagon", hexagon)
290 .Case("sparc", sparc)
291 .Case("sparcel", sparcel)
292 .Case("sparcv9", sparcv9)
293 .Case("systemz", systemz)
294 .Case("tce", tce)
295 .Case("tcele", tcele)
296 .Case("thumb", thumb)
297 .Case("thumbeb", thumbeb)
298 .Case("x86", x86)
299 .Case("x86-64", x86_64)
300 .Case("xcore", xcore)
301 .Case("nvptx", nvptx)
302 .Case("nvptx64", nvptx64)
303 .Case("le32", le32)
304 .Case("le64", le64)
305 .Case("amdil", amdil)
306 .Case("amdil64", amdil64)
307 .Case("hsail", hsail)
308 .Case("hsail64", hsail64)
309 .Case("spir", spir)
310 .Case("spir64", spir64)
311 .Case("kalimba", kalimba)
312 .Case("lanai", lanai)
313 .Case("shave", shave)
314 .Case("wasm32", wasm32)
315 .Case("wasm64", wasm64)
316 .Case("renderscript32", renderscript32)
317 .Case("renderscript64", renderscript64)
395 .Case("xscale", Triple::arm)
396 .Case("xscaleeb", Triple::armeb)
397 .Case("aarch64", Triple::aarch64)
398 .Case("aarch64_be", Triple::aarch64_be)
399 .Case("aarch64_32", Triple::aarch64_32)
400 .Case("arc", Triple::arc)
401 .Case("arm64", Triple::aarch64)
402 .Case("arm64_32", Triple::aarch64_32)
403 .Case("arm", Triple::arm)
404 .Case("armeb", Triple::armeb)
405 .Case("thumb", Triple::thumb)
406 .Case("thumbeb", Triple::thumbeb)
407 .Case("avr", Triple::avr)
408 .Case("msp430", Triple::msp430)
417 .Case("r600", Triple::r600)
418 .Case("amdgcn", Triple::amdgcn)
419 .Case("riscv32", Triple::riscv32)
420 .Case("riscv64", Triple::riscv64)
421 .Case("hexagon", Triple::hexagon)
423 .Case("sparc", Triple::sparc)
424 .Case("sparcel", Triple::sparcel)
426 .Case("tce", Triple::tce)
427 .Case("tcele", Triple::tcele)
428 .Case("xcore", Triple::xcore)
429 .Case("nvptx", Triple::nvptx)
430 .Case("nvptx64", Triple::nvptx64)
431 .Case("le32", Triple::le32)
432 .Case("le64", Triple::le64)
433 .Case("amdil", Triple::amdil)
434 .Case("amdil64", Triple::amdil64)
435 .Case("hsail", Triple::hsail)
436 .Case("hsail64", Triple::hsail64)
437 .Case("spir", Triple::spir)
438 .Case("spir64", Triple::spir64)
440 .Case("lanai", Triple::lanai)
441 .Case("shave", Triple::shave)
442 .Case("wasm32", Triple::wasm32)
443 .Case("wasm64", Triple::wasm64)
444 .Case("renderscript32", Triple::renderscript32)
445 .Case("renderscript64", Triple::renderscript64)
463 .Case("apple", Triple::Apple)
464 .Case("pc", Triple::PC)
465 .Case("scei", Triple::SCEI)
466 .Case("bgp", Triple::BGP)
467 .Case("bgq", Triple::BGQ)
468 .Case("fsl", Triple::Freescale)
469 .Case("ibm", Triple::IBM)
470 .Case("img", Triple::ImaginationTechnologies)
471 .Case("mti", Triple::MipsTechnologies)
472 .Case("nvidia", Triple::NVIDIA)
473 .Case("csr", Triple::CSR)
474 .Case("myriad", Triple::Myriad)
475 .Case("amd", Triple::AMD)
476 .Case("mesa", Triple::Mesa)
477 .Case("suse", Triple::SUSE)
478 .Case("oe", Triple::OpenEmbedded)
lib/TableGen/TGLexer.cpp 337 .Case("int", tgtok::Int)
338 .Case("bit", tgtok::Bit)
339 .Case("bits", tgtok::Bits)
340 .Case("string", tgtok::String)
341 .Case("list", tgtok::List)
342 .Case("code", tgtok::Code)
343 .Case("dag", tgtok::Dag)
344 .Case("class", tgtok::Class)
345 .Case("def", tgtok::Def)
346 .Case("foreach", tgtok::Foreach)
347 .Case("defm", tgtok::Defm)
348 .Case("defset", tgtok::Defset)
349 .Case("multiclass", tgtok::MultiClass)
350 .Case("field", tgtok::Field)
351 .Case("let", tgtok::Let)
352 .Case("in", tgtok::In)
541 .Case("eq", tgtok::XEq)
542 .Case("ne", tgtok::XNe)
543 .Case("le", tgtok::XLe)
544 .Case("lt", tgtok::XLt)
545 .Case("ge", tgtok::XGe)
546 .Case("gt", tgtok::XGt)
547 .Case("if", tgtok::XIf)
548 .Case("cond", tgtok::XCond)
549 .Case("isa", tgtok::XIsA)
550 .Case("head", tgtok::XHead)
551 .Case("tail", tgtok::XTail)
552 .Case("size", tgtok::XSize)
553 .Case("con", tgtok::XConcat)
554 .Case("dag", tgtok::XDag)
555 .Case("add", tgtok::XADD)
556 .Case("mul", tgtok::XMUL)
557 .Case("and", tgtok::XAND)
558 .Case("or", tgtok::XOR)
559 .Case("shl", tgtok::XSHL)
560 .Case("sra", tgtok::XSRA)
561 .Case("srl", tgtok::XSRL)
562 .Case("cast", tgtok::XCast)
563 .Case("empty", tgtok::XEmpty)
564 .Case("subst", tgtok::XSubst)
565 .Case("foldl", tgtok::XFoldl)
566 .Case("foreach", tgtok::XForEach)
567 .Case("listconcat", tgtok::XListConcat)
568 .Case("listsplat", tgtok::XListSplat)
569 .Case("strconcat", tgtok::XStrConcat)
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp 2089 .Case("v0", AArch64::Q0)
2090 .Case("v1", AArch64::Q1)
2091 .Case("v2", AArch64::Q2)
2092 .Case("v3", AArch64::Q3)
2093 .Case("v4", AArch64::Q4)
2094 .Case("v5", AArch64::Q5)
2095 .Case("v6", AArch64::Q6)
2096 .Case("v7", AArch64::Q7)
2097 .Case("v8", AArch64::Q8)
2098 .Case("v9", AArch64::Q9)
2099 .Case("v10", AArch64::Q10)
2100 .Case("v11", AArch64::Q11)
2101 .Case("v12", AArch64::Q12)
2102 .Case("v13", AArch64::Q13)
2103 .Case("v14", AArch64::Q14)
2104 .Case("v15", AArch64::Q15)
2105 .Case("v16", AArch64::Q16)
2106 .Case("v17", AArch64::Q17)
2107 .Case("v18", AArch64::Q18)
2108 .Case("v19", AArch64::Q19)
2109 .Case("v20", AArch64::Q20)
2110 .Case("v21", AArch64::Q21)
2111 .Case("v22", AArch64::Q22)
2112 .Case("v23", AArch64::Q23)
2113 .Case("v24", AArch64::Q24)
2114 .Case("v25", AArch64::Q25)
2115 .Case("v26", AArch64::Q26)
2116 .Case("v27", AArch64::Q27)
2117 .Case("v28", AArch64::Q28)
2118 .Case("v29", AArch64::Q29)
2119 .Case("v30", AArch64::Q30)
2120 .Case("v31", AArch64::Q31)
2136 .Case("", {0, 0})
2137 .Case(".1d", {1, 64})
2138 .Case(".1q", {1, 128})
2140 .Case(".2h", {2, 16})
2141 .Case(".2s", {2, 32})
2142 .Case(".2d", {2, 64})
2145 .Case(".4b", {4, 8})
2146 .Case(".4h", {4, 16})
2147 .Case(".4s", {4, 32})
2148 .Case(".8b", {8, 8})
2149 .Case(".8h", {8, 16})
2150 .Case(".16b", {16, 8})
2154 .Case(".b", {0, 8})
2155 .Case(".h", {0, 16})
2156 .Case(".s", {0, 32})
2157 .Case(".d", {0, 64})
2163 .Case("", {0, 0})
2164 .Case(".b", {0, 8})
2165 .Case(".h", {0, 16})
2166 .Case(".s", {0, 32})
2167 .Case(".d", {0, 64})
2168 .Case(".q", {0, 128})
2187 .Case("z0", AArch64::Z0)
2188 .Case("z1", AArch64::Z1)
2189 .Case("z2", AArch64::Z2)
2190 .Case("z3", AArch64::Z3)
2191 .Case("z4", AArch64::Z4)
2192 .Case("z5", AArch64::Z5)
2193 .Case("z6", AArch64::Z6)
2194 .Case("z7", AArch64::Z7)
2195 .Case("z8", AArch64::Z8)
2196 .Case("z9", AArch64::Z9)
2197 .Case("z10", AArch64::Z10)
2198 .Case("z11", AArch64::Z11)
2199 .Case("z12", AArch64::Z12)
2200 .Case("z13", AArch64::Z13)
2201 .Case("z14", AArch64::Z14)
2202 .Case("z15", AArch64::Z15)
2203 .Case("z16", AArch64::Z16)
2204 .Case("z17", AArch64::Z17)
2205 .Case("z18", AArch64::Z18)
2206 .Case("z19", AArch64::Z19)
2207 .Case("z20", AArch64::Z20)
2208 .Case("z21", AArch64::Z21)
2209 .Case("z22", AArch64::Z22)
2210 .Case("z23", AArch64::Z23)
2211 .Case("z24", AArch64::Z24)
2212 .Case("z25", AArch64::Z25)
2213 .Case("z26", AArch64::Z26)
2214 .Case("z27", AArch64::Z27)
2215 .Case("z28", AArch64::Z28)
2216 .Case("z29", AArch64::Z29)
2217 .Case("z30", AArch64::Z30)
2218 .Case("z31", AArch64::Z31)
2224 .Case("p0", AArch64::P0)
2225 .Case("p1", AArch64::P1)
2226 .Case("p2", AArch64::P2)
2227 .Case("p3", AArch64::P3)
2228 .Case("p4", AArch64::P4)
2229 .Case("p5", AArch64::P5)
2230 .Case("p6", AArch64::P6)
2231 .Case("p7", AArch64::P7)
2232 .Case("p8", AArch64::P8)
2233 .Case("p9", AArch64::P9)
2234 .Case("p10", AArch64::P10)
2235 .Case("p11", AArch64::P11)
2236 .Case("p12", AArch64::P12)
2237 .Case("p13", AArch64::P13)
2238 .Case("p14", AArch64::P14)
2239 .Case("p15", AArch64::P15)
2271 .Case("fp", AArch64::FP)
2272 .Case("lr", AArch64::LR)
2273 .Case("x31", AArch64::XZR)
2274 .Case("w31", AArch64::WZR)
2667 .Case("eq", AArch64CC::EQ)
2668 .Case("ne", AArch64CC::NE)
2669 .Case("cs", AArch64CC::HS)
2670 .Case("hs", AArch64CC::HS)
2671 .Case("cc", AArch64CC::LO)
2672 .Case("lo", AArch64CC::LO)
2673 .Case("mi", AArch64CC::MI)
2674 .Case("pl", AArch64CC::PL)
2675 .Case("vs", AArch64CC::VS)
2676 .Case("vc", AArch64CC::VC)
2677 .Case("hi", AArch64CC::HI)
2678 .Case("ls", AArch64CC::LS)
2679 .Case("ge", AArch64CC::GE)
2680 .Case("lt", AArch64CC::LT)
2681 .Case("gt", AArch64CC::GT)
2682 .Case("le", AArch64CC::LE)
2683 .Case("al", AArch64CC::AL)
2684 .Case("nv", AArch64CC::NV)
2690 .Case("none", AArch64CC::EQ)
2691 .Case("any", AArch64CC::NE)
2692 .Case("nlast", AArch64CC::HS)
2693 .Case("last", AArch64CC::LO)
2694 .Case("first", AArch64CC::MI)
2695 .Case("nfrst", AArch64CC::PL)
2696 .Case("pmore", AArch64CC::HI)
2697 .Case("plast", AArch64CC::LS)
2698 .Case("tcont", AArch64CC::GE)
2699 .Case("tstop", AArch64CC::LT)
2739 .Case("lsl", AArch64_AM::LSL)
2740 .Case("lsr", AArch64_AM::LSR)
2741 .Case("asr", AArch64_AM::ASR)
2742 .Case("ror", AArch64_AM::ROR)
2743 .Case("msl", AArch64_AM::MSL)
2744 .Case("uxtb", AArch64_AM::UXTB)
2745 .Case("uxth", AArch64_AM::UXTH)
2746 .Case("uxtw", AArch64_AM::UXTW)
2747 .Case("uxtx", AArch64_AM::UXTX)
2748 .Case("sxtb", AArch64_AM::SXTB)
2749 .Case("sxth", AArch64_AM::SXTH)
2750 .Case("sxtw", AArch64_AM::SXTW)
2751 .Case("sxtx", AArch64_AM::SXTX)
3238 .Case("lo12", AArch64MCExpr::VK_LO12)
3239 .Case("abs_g3", AArch64MCExpr::VK_ABS_G3)
3240 .Case("abs_g2", AArch64MCExpr::VK_ABS_G2)
3241 .Case("abs_g2_s", AArch64MCExpr::VK_ABS_G2_S)
3242 .Case("abs_g2_nc", AArch64MCExpr::VK_ABS_G2_NC)
3243 .Case("abs_g1", AArch64MCExpr::VK_ABS_G1)
3244 .Case("abs_g1_s", AArch64MCExpr::VK_ABS_G1_S)
3245 .Case("abs_g1_nc", AArch64MCExpr::VK_ABS_G1_NC)
3246 .Case("abs_g0", AArch64MCExpr::VK_ABS_G0)
3247 .Case("abs_g0_s", AArch64MCExpr::VK_ABS_G0_S)
3248 .Case("abs_g0_nc", AArch64MCExpr::VK_ABS_G0_NC)
3249 .Case("prel_g3", AArch64MCExpr::VK_PREL_G3)
3250 .Case("prel_g2", AArch64MCExpr::VK_PREL_G2)
3251 .Case("prel_g2_nc", AArch64MCExpr::VK_PREL_G2_NC)
3252 .Case("prel_g1", AArch64MCExpr::VK_PREL_G1)
3253 .Case("prel_g1_nc", AArch64MCExpr::VK_PREL_G1_NC)
3254 .Case("prel_g0", AArch64MCExpr::VK_PREL_G0)
3255 .Case("prel_g0_nc", AArch64MCExpr::VK_PREL_G0_NC)
3256 .Case("dtprel_g2", AArch64MCExpr::VK_DTPREL_G2)
3257 .Case("dtprel_g1", AArch64MCExpr::VK_DTPREL_G1)
3258 .Case("dtprel_g1_nc", AArch64MCExpr::VK_DTPREL_G1_NC)
3259 .Case("dtprel_g0", AArch64MCExpr::VK_DTPREL_G0)
3260 .Case("dtprel_g0_nc", AArch64MCExpr::VK_DTPREL_G0_NC)
3261 .Case("dtprel_hi12", AArch64MCExpr::VK_DTPREL_HI12)
3262 .Case("dtprel_lo12", AArch64MCExpr::VK_DTPREL_LO12)
3263 .Case("dtprel_lo12_nc", AArch64MCExpr::VK_DTPREL_LO12_NC)
3264 .Case("pg_hi21_nc", AArch64MCExpr::VK_ABS_PAGE_NC)
3265 .Case("tprel_g2", AArch64MCExpr::VK_TPREL_G2)
3266 .Case("tprel_g1", AArch64MCExpr::VK_TPREL_G1)
3267 .Case("tprel_g1_nc", AArch64MCExpr::VK_TPREL_G1_NC)
3268 .Case("tprel_g0", AArch64MCExpr::VK_TPREL_G0)
3269 .Case("tprel_g0_nc", AArch64MCExpr::VK_TPREL_G0_NC)
3270 .Case("tprel_hi12", AArch64MCExpr::VK_TPREL_HI12)
3271 .Case("tprel_lo12", AArch64MCExpr::VK_TPREL_LO12)
3272 .Case("tprel_lo12_nc", AArch64MCExpr::VK_TPREL_LO12_NC)
3273 .Case("tlsdesc_lo12", AArch64MCExpr::VK_TLSDESC_LO12)
3274 .Case("got", AArch64MCExpr::VK_GOT_PAGE)
3275 .Case("got_lo12", AArch64MCExpr::VK_GOT_LO12)
3276 .Case("gottprel", AArch64MCExpr::VK_GOTTPREL_PAGE)
3277 .Case("gottprel_lo12", AArch64MCExpr::VK_GOTTPREL_LO12_NC)
3278 .Case("gottprel_g1", AArch64MCExpr::VK_GOTTPREL_G1)
3279 .Case("gottprel_g0_nc", AArch64MCExpr::VK_GOTTPREL_G0_NC)
3280 .Case("tlsdesc", AArch64MCExpr::VK_TLSDESC_PAGE)
3281 .Case("secrel_lo12", AArch64MCExpr::VK_SECREL_LO12)
3282 .Case("secrel_hi12", AArch64MCExpr::VK_SECREL_HI12)
3746 .Case("beq", "b.eq")
3747 .Case("bne", "b.ne")
3748 .Case("bhs", "b.hs")
3749 .Case("bcs", "b.cs")
3750 .Case("blo", "b.lo")
3751 .Case("bcc", "b.cc")
3752 .Case("bmi", "b.mi")
3753 .Case("bpl", "b.pl")
3754 .Case("bvs", "b.vs")
3755 .Case("bvc", "b.vc")
3756 .Case("bhi", "b.hi")
3757 .Case("bls", "b.ls")
3758 .Case("bge", "b.ge")
3759 .Case("blt", "b.lt")
3760 .Case("bgt", "b.gt")
3761 .Case("ble", "b.le")
3762 .Case("bal", "b.al")
3763 .Case("bnv", "b.nv")
lib/Target/AArch64/Utils/AArch64BaseInfo.h 507 .Case(".8b", AArch64Layout::VL_8B)
508 .Case(".4h", AArch64Layout::VL_4H)
509 .Case(".2s", AArch64Layout::VL_2S)
510 .Case(".1d", AArch64Layout::VL_1D)
511 .Case(".16b", AArch64Layout::VL_16B)
512 .Case(".8h", AArch64Layout::VL_8H)
513 .Case(".4s", AArch64Layout::VL_4S)
514 .Case(".2d", AArch64Layout::VL_2D)
515 .Case(".b", AArch64Layout::VL_B)
516 .Case(".h", AArch64Layout::VL_H)
517 .Case(".s", AArch64Layout::VL_S)
518 .Case(".d", AArch64Layout::VL_D)
lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp 75 .Case("read_only", AccessQualifier::ReadOnly)
76 .Case("write_only", AccessQualifier::WriteOnly)
77 .Case("read_write", AccessQualifier::ReadWrite)
108 .Case("image1d_t", ValueKind::Image)
109 .Case("image1d_array_t", ValueKind::Image)
110 .Case("image1d_buffer_t", ValueKind::Image)
111 .Case("image2d_t", ValueKind::Image)
112 .Case("image2d_array_t", ValueKind::Image)
113 .Case("image2d_array_depth_t", ValueKind::Image)
114 .Case("image2d_array_msaa_t", ValueKind::Image)
115 .Case("image2d_array_msaa_depth_t", ValueKind::Image)
116 .Case("image2d_depth_t", ValueKind::Image)
117 .Case("image2d_msaa_t", ValueKind::Image)
118 .Case("image2d_msaa_depth_t", ValueKind::Image)
119 .Case("image3d_t", ValueKind::Image)
120 .Case("sampler_t", ValueKind::Sampler)
121 .Case("queue_t", ValueKind::Queue)
389 .Case("const", &Arg.mIsConst)
390 .Case("restrict", &Arg.mIsRestrict)
391 .Case("volatile", &Arg.mIsVolatile)
392 .Case("pipe", &Arg.mIsPipe)
518 .Case("read_only", StringRef("read_only"))
519 .Case("write_only", StringRef("write_only"))
520 .Case("read_write", StringRef("read_write"))
550 .Case("image1d_t", "image")
551 .Case("image1d_array_t", "image")
552 .Case("image1d_buffer_t", "image")
553 .Case("image2d_t", "image")
554 .Case("image2d_array_t", "image")
555 .Case("image2d_array_depth_t", "image")
556 .Case("image2d_array_msaa_t", "image")
557 .Case("image2d_array_msaa_depth_t", "image")
558 .Case("image2d_depth_t", "image")
559 .Case("image2d_msaa_t", "image")
560 .Case("image2d_msaa_depth_t", "image")
561 .Case("image3d_t", "image")
562 .Case("sampler_t", "sampler")
563 .Case("queue_t", "queue")
lib/Target/AMDGPU/AMDGPULibFunc.cpp 544 .Case("native", AMDGPULibFunc::NATIVE)
545 .Case("half" , AMDGPULibFunc::HALF)
611 .Case("ocl_image1darray" , AMDGPULibFunc::IMG1DA)
612 .Case("ocl_image1dbuffer", AMDGPULibFunc::IMG1DB)
613 .Case("ocl_image2darray" , AMDGPULibFunc::IMG2DA)
614 .Case("ocl_image1d" , AMDGPULibFunc::IMG1D)
615 .Case("ocl_image2d" , AMDGPULibFunc::IMG2D)
616 .Case("ocl_image3d" , AMDGPULibFunc::IMG3D)
617 .Case("ocl_event" , AMDGPULibFunc::DUMMY)
618 .Case("ocl_sampler" , AMDGPULibFunc::DUMMY)
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp 1940 .Case("exec", AMDGPU::EXEC)
1941 .Case("vcc", AMDGPU::VCC)
1942 .Case("flat_scratch", AMDGPU::FLAT_SCR)
1943 .Case("xnack_mask", AMDGPU::XNACK_MASK)
1944 .Case("shared_base", AMDGPU::SRC_SHARED_BASE)
1945 .Case("src_shared_base", AMDGPU::SRC_SHARED_BASE)
1946 .Case("shared_limit", AMDGPU::SRC_SHARED_LIMIT)
1947 .Case("src_shared_limit", AMDGPU::SRC_SHARED_LIMIT)
1948 .Case("private_base", AMDGPU::SRC_PRIVATE_BASE)
1949 .Case("src_private_base", AMDGPU::SRC_PRIVATE_BASE)
1950 .Case("private_limit", AMDGPU::SRC_PRIVATE_LIMIT)
1951 .Case("src_private_limit", AMDGPU::SRC_PRIVATE_LIMIT)
1952 .Case("pops_exiting_wave_id", AMDGPU::SRC_POPS_EXITING_WAVE_ID)
1953 .Case("src_pops_exiting_wave_id", AMDGPU::SRC_POPS_EXITING_WAVE_ID)
1954 .Case("lds_direct", AMDGPU::LDS_DIRECT)
1955 .Case("src_lds_direct", AMDGPU::LDS_DIRECT)
1956 .Case("m0", AMDGPU::M0)
1957 .Case("vccz", AMDGPU::SRC_VCCZ)
1958 .Case("src_vccz", AMDGPU::SRC_VCCZ)
1959 .Case("execz", AMDGPU::SRC_EXECZ)
1960 .Case("src_execz", AMDGPU::SRC_EXECZ)
1961 .Case("scc", AMDGPU::SRC_SCC)
1962 .Case("src_scc", AMDGPU::SRC_SCC)
1963 .Case("tba", AMDGPU::TBA)
1964 .Case("tma", AMDGPU::TMA)
1965 .Case("flat_scratch_lo", AMDGPU::FLAT_SCR_LO)
1966 .Case("flat_scratch_hi", AMDGPU::FLAT_SCR_HI)
1967 .Case("xnack_mask_lo", AMDGPU::XNACK_MASK_LO)
1968 .Case("xnack_mask_hi", AMDGPU::XNACK_MASK_HI)
1969 .Case("vcc_lo", AMDGPU::VCC_LO)
1970 .Case("vcc_hi", AMDGPU::VCC_HI)
1971 .Case("exec_lo", AMDGPU::EXEC_LO)
1972 .Case("exec_hi", AMDGPU::EXEC_HI)
1973 .Case("tma_lo", AMDGPU::TMA_LO)
1974 .Case("tma_hi", AMDGPU::TMA_HI)
1975 .Case("tba_lo", AMDGPU::TBA_LO)
1976 .Case("tba_hi", AMDGPU::TBA_HI)
1977 .Case("null", AMDGPU::SGPR_NULL)
5140 .Case("p10", 0)
5141 .Case("p20", 1)
5142 .Case("p0", 2)
5165 .Case(".x", 0)
5166 .Case(".y", 1)
5167 .Case(".z", 2)
5168 .Case(".w", 3)
6763 .Case("BYTE_0", SdwaSel::BYTE_0)
6764 .Case("BYTE_1", SdwaSel::BYTE_1)
6765 .Case("BYTE_2", SdwaSel::BYTE_2)
6766 .Case("BYTE_3", SdwaSel::BYTE_3)
6767 .Case("WORD_0", SdwaSel::WORD_0)
6768 .Case("WORD_1", SdwaSel::WORD_1)
6769 .Case("DWORD", SdwaSel::DWORD)
6796 .Case("UNUSED_PAD", DstUnused::UNUSED_PAD)
6797 .Case("UNUSED_SEXT", DstUnused::UNUSED_SEXT)
6798 .Case("UNUSED_PRESERVE", DstUnused::UNUSED_PRESERVE)
lib/Target/AMDGPU/SIISelLowering.cpp 2985 .Case("m0", AMDGPU::M0)
2986 .Case("exec", AMDGPU::EXEC)
2987 .Case("exec_lo", AMDGPU::EXEC_LO)
2988 .Case("exec_hi", AMDGPU::EXEC_HI)
2989 .Case("flat_scratch", AMDGPU::FLAT_SCR)
2990 .Case("flat_scratch_lo", AMDGPU::FLAT_SCR_LO)
2991 .Case("flat_scratch_hi", AMDGPU::FLAT_SCR_HI)
lib/Target/ARM/ARMISelDAGToDAG.cpp 4334 .Case("", 0x2) // no flags means nzcvq for psr registers, and 0x2 is
4336 .Case("g", 0x1)
4337 .Case("nzcvq", 0x2)
4338 .Case("nzcvqg", 0x3)
4464 .Case("fpscr", ARM::VMRS)
4465 .Case("fpexc", ARM::VMRS_FPEXC)
4466 .Case("fpsid", ARM::VMRS_FPSID)
4467 .Case("mvfr0", ARM::VMRS_MVFR0)
4468 .Case("mvfr1", ARM::VMRS_MVFR1)
4469 .Case("mvfr2", ARM::VMRS_MVFR2)
4470 .Case("fpinst", ARM::VMRS_FPINST)
4471 .Case("fpinst2", ARM::VMRS_FPINST2)
4579 .Case("fpscr", ARM::VMSR)
4580 .Case("fpexc", ARM::VMSR_FPEXC)
4581 .Case("fpsid", ARM::VMSR_FPSID)
4582 .Case("fpinst", ARM::VMSR_FPINST)
4583 .Case("fpinst2", ARM::VMSR_FPINST2)
lib/Target/ARM/ARMISelLowering.cpp 5573 .Case("sp", ARM::SP)
lib/Target/ARM/AsmParser/ARMAsmParser.cpp 3900 .Case("r13", ARM::SP)
3901 .Case("r14", ARM::LR)
3902 .Case("r15", ARM::PC)
3903 .Case("ip", ARM::R12)
3905 .Case("a1", ARM::R0)
3906 .Case("a2", ARM::R1)
3907 .Case("a3", ARM::R2)
3908 .Case("a4", ARM::R3)
3909 .Case("v1", ARM::R4)
3910 .Case("v2", ARM::R5)
3911 .Case("v3", ARM::R6)
3912 .Case("v4", ARM::R7)
3913 .Case("v5", ARM::R8)
3914 .Case("v6", ARM::R9)
3915 .Case("v7", ARM::R10)
3916 .Case("v8", ARM::R11)
3917 .Case("sb", ARM::R9)
3918 .Case("sl", ARM::R10)
3919 .Case("fp", ARM::R11)
3957 .Case("asl", ARM_AM::lsl)
3958 .Case("lsl", ARM_AM::lsl)
3959 .Case("lsr", ARM_AM::lsr)
3960 .Case("asr", ARM_AM::asr)
3961 .Case("ror", ARM_AM::ror)
3962 .Case("rrx", ARM_AM::rrx)
4761 .Case("sy", ARM_MB::SY)
4762 .Case("st", ARM_MB::ST)
4763 .Case("ld", ARM_MB::LD)
4764 .Case("sh", ARM_MB::ISH)
4765 .Case("ish", ARM_MB::ISH)
4766 .Case("shst", ARM_MB::ISHST)
4767 .Case("ishst", ARM_MB::ISHST)
4768 .Case("ishld", ARM_MB::ISHLD)
4769 .Case("nsh", ARM_MB::NSH)
4770 .Case("un", ARM_MB::NSH)
4771 .Case("nshst", ARM_MB::NSHST)
4772 .Case("nshld", ARM_MB::NSHLD)
4773 .Case("unst", ARM_MB::NSHST)
4774 .Case("osh", ARM_MB::OSH)
4775 .Case("oshst", ARM_MB::OSHST)
4776 .Case("oshld", ARM_MB::OSHLD)
4907 .Case("a", ARM_PROC::A)
4908 .Case("i", ARM_PROC::I)
4909 .Case("f", ARM_PROC::F)
4974 .Case("nzcvq", 0x8) // same as CPSR_f
4975 .Case("g", 0x4) // same as CPSR_s
4976 .Case("nzcvqg", 0xc) // same as CPSR_fs
4991 .Case("c", 1)
4992 .Case("x", 2)
4993 .Case("s", 4)
4994 .Case("f", 8)
5103 .Case("be", 1)
5104 .Case("le", 0)
6295 .Case("ie", ARM_PROC::IE)
6296 .Case("id", ARM_PROC::ID)
lib/Target/ARM/Utils/ARMBaseInfo.h 88 .Case("t", ARMVCC::Then)
89 .Case("e", ARMVCC::Else)
116 .Case("eq", ARMCC::EQ)
117 .Case("ne", ARMCC::NE)
118 .Case("hs", ARMCC::HS)
119 .Case("cs", ARMCC::HS)
120 .Case("lo", ARMCC::LO)
121 .Case("cc", ARMCC::LO)
122 .Case("mi", ARMCC::MI)
123 .Case("pl", ARMCC::PL)
124 .Case("vs", ARMCC::VS)
125 .Case("vc", ARMCC::VC)
126 .Case("hi", ARMCC::HI)
127 .Case("ls", ARMCC::LS)
128 .Case("ge", ARMCC::GE)
129 .Case("lt", ARMCC::LT)
130 .Case("gt", ARMCC::GT)
131 .Case("le", ARMCC::LE)
132 .Case("al", ARMCC::AL)
lib/Target/AVR/AVRISelLowering.cpp 2015 .Case("r0", AVR::R0).Case("r1", AVR::R1).Case("r2", AVR::R2)
2015 .Case("r0", AVR::R0).Case("r1", AVR::R1).Case("r2", AVR::R2)
2015 .Case("r0", AVR::R0).Case("r1", AVR::R1).Case("r2", AVR::R2)
2016 .Case("r3", AVR::R3).Case("r4", AVR::R4).Case("r5", AVR::R5)
2016 .Case("r3", AVR::R3).Case("r4", AVR::R4).Case("r5", AVR::R5)
2016 .Case("r3", AVR::R3).Case("r4", AVR::R4).Case("r5", AVR::R5)
2017 .Case("r6", AVR::R6).Case("r7", AVR::R7).Case("r8", AVR::R8)
2017 .Case("r6", AVR::R6).Case("r7", AVR::R7).Case("r8", AVR::R8)
2017 .Case("r6", AVR::R6).Case("r7", AVR::R7).Case("r8", AVR::R8)
2018 .Case("r9", AVR::R9).Case("r10", AVR::R10).Case("r11", AVR::R11)
2018 .Case("r9", AVR::R9).Case("r10", AVR::R10).Case("r11", AVR::R11)
2018 .Case("r9", AVR::R9).Case("r10", AVR::R10).Case("r11", AVR::R11)
2019 .Case("r12", AVR::R12).Case("r13", AVR::R13).Case("r14", AVR::R14)
2019 .Case("r12", AVR::R12).Case("r13", AVR::R13).Case("r14", AVR::R14)
2019 .Case("r12", AVR::R12).Case("r13", AVR::R13).Case("r14", AVR::R14)
2020 .Case("r15", AVR::R15).Case("r16", AVR::R16).Case("r17", AVR::R17)
2020 .Case("r15", AVR::R15).Case("r16", AVR::R16).Case("r17", AVR::R17)
2020 .Case("r15", AVR::R15).Case("r16", AVR::R16).Case("r17", AVR::R17)
2021 .Case("r18", AVR::R18).Case("r19", AVR::R19).Case("r20", AVR::R20)
2021 .Case("r18", AVR::R18).Case("r19", AVR::R19).Case("r20", AVR::R20)
2021 .Case("r18", AVR::R18).Case("r19", AVR::R19).Case("r20", AVR::R20)
2022 .Case("r21", AVR::R21).Case("r22", AVR::R22).Case("r23", AVR::R23)
2022 .Case("r21", AVR::R21).Case("r22", AVR::R22).Case("r23", AVR::R23)
2022 .Case("r21", AVR::R21).Case("r22", AVR::R22).Case("r23", AVR::R23)
2023 .Case("r24", AVR::R24).Case("r25", AVR::R25).Case("r26", AVR::R26)
2023 .Case("r24", AVR::R24).Case("r25", AVR::R25).Case("r26", AVR::R26)
2023 .Case("r24", AVR::R24).Case("r25", AVR::R25).Case("r26", AVR::R26)
2024 .Case("r27", AVR::R27).Case("r28", AVR::R28).Case("r29", AVR::R29)
2024 .Case("r27", AVR::R27).Case("r28", AVR::R28).Case("r29", AVR::R29)
2024 .Case("r27", AVR::R27).Case("r28", AVR::R28).Case("r29", AVR::R29)
2025 .Case("r30", AVR::R30).Case("r31", AVR::R31)
2025 .Case("r30", AVR::R30).Case("r31", AVR::R31)
2026 .Case("X", AVR::R27R26).Case("Y", AVR::R29R28).Case("Z", AVR::R31R30)
2026 .Case("X", AVR::R27R26).Case("Y", AVR::R29R28).Case("Z", AVR::R31R30)
2026 .Case("X", AVR::R27R26).Case("Y", AVR::R29R28).Case("Z", AVR::R31R30)
2030 .Case("r0", AVR::R1R0).Case("r2", AVR::R3R2)
2030 .Case("r0", AVR::R1R0).Case("r2", AVR::R3R2)
2031 .Case("r4", AVR::R5R4).Case("r6", AVR::R7R6)
2031 .Case("r4", AVR::R5R4).Case("r6", AVR::R7R6)
2032 .Case("r8", AVR::R9R8).Case("r10", AVR::R11R10)
2032 .Case("r8", AVR::R9R8).Case("r10", AVR::R11R10)
2033 .Case("r12", AVR::R13R12).Case("r14", AVR::R15R14)
2033 .Case("r12", AVR::R13R12).Case("r14", AVR::R15R14)
2034 .Case("r16", AVR::R17R16).Case("r18", AVR::R19R18)
2034 .Case("r16", AVR::R17R16).Case("r18", AVR::R19R18)
2035 .Case("r20", AVR::R21R20).Case("r22", AVR::R23R22)
2035 .Case("r20", AVR::R21R20).Case("r22", AVR::R23R22)
2036 .Case("r24", AVR::R25R24).Case("r26", AVR::R27R26)
2036 .Case("r24", AVR::R25R24).Case("r26", AVR::R27R26)
2037 .Case("r28", AVR::R29R28).Case("r30", AVR::R31R30)
2037 .Case("r28", AVR::R29R28).Case("r30", AVR::R31R30)
2038 .Case("X", AVR::R27R26).Case("Y", AVR::R29R28).Case("Z", AVR::R31R30)
2038 .Case("X", AVR::R27R26).Case("Y", AVR::R29R28).Case("Z", AVR::R31R30)
2038 .Case("X", AVR::R27R26).Case("Y", AVR::R29R28).Case("Z", AVR::R31R30)
lib/Target/BPF/AsmParser/BPFAsmParser.cpp 225 .Case("if", true)
226 .Case("call", true)
227 .Case("goto", true)
228 .Case("*", true)
229 .Case("exit", true)
230 .Case("lock", true)
231 .Case("ld_pseudo", true)
238 .Case("u64", true)
239 .Case("u32", true)
240 .Case("u16", true)
241 .Case("u8", true)
242 .Case("be64", true)
243 .Case("be32", true)
244 .Case("be16", true)
245 .Case("le64", true)
246 .Case("le32", true)
247 .Case("le16", true)
248 .Case("goto", true)
249 .Case("ll", true)
250 .Case("skb", true)
251 .Case("s", true)
lib/Target/Hexagon/HexagonISelLowering.cpp 247 .Case("r19", Hexagon::R19)
lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp 300 .Case("hexagonv60", "+hvxv60")
301 .Case("hexagonv62", "+hvxv62")
302 .Case("hexagonv65", "+hvxv65")
303 .Case("hexagonv66", "+hvxv66"));
lib/Target/Lanai/LanaiAluCode.h 105 .Case("add", ADD)
106 .Case("addc", ADDC)
107 .Case("sub", SUB)
108 .Case("subb", SUBB)
109 .Case("and", AND)
110 .Case("or", OR)
111 .Case("xor", XOR)
112 .Case("sh", SHL)
113 .Case("srl", SRL)
114 .Case("sha", SRA)
lib/Target/Lanai/LanaiISelLowering.cpp 220 .Case("pc", Lanai::PC)
221 .Case("sp", Lanai::SP)
222 .Case("fp", Lanai::FP)
223 .Case("rr1", Lanai::RR1)
224 .Case("r10", Lanai::R10)
225 .Case("rr2", Lanai::RR2)
226 .Case("r11", Lanai::R11)
227 .Case("rca", Lanai::RCA)
lib/Target/Mips/AsmParser/MipsAsmParser.cpp 5814 .Case("zero", 0)
5816 .Case("a0", 4)
5817 .Case("a1", 5)
5818 .Case("a2", 6)
5819 .Case("a3", 7)
5820 .Case("v0", 2)
5821 .Case("v1", 3)
5822 .Case("s0", 16)
5823 .Case("s1", 17)
5824 .Case("s2", 18)
5825 .Case("s3", 19)
5826 .Case("s4", 20)
5827 .Case("s5", 21)
5828 .Case("s6", 22)
5829 .Case("s7", 23)
5830 .Case("k0", 26)
5831 .Case("k1", 27)
5832 .Case("gp", 28)
5833 .Case("sp", 29)
5834 .Case("fp", 30)
5835 .Case("s8", 30)
5836 .Case("ra", 31)
5837 .Case("t0", 8)
5838 .Case("t1", 9)
5839 .Case("t2", 10)
5840 .Case("t3", 11)
5841 .Case("t4", 12)
5842 .Case("t5", 13)
5843 .Case("t6", 14)
5844 .Case("t7", 15)
5845 .Case("t8", 24)
5846 .Case("t9", 25)
5858 .Case("t4", "t0")
5859 .Case("t5", "t1")
5860 .Case("t6", "t2")
5861 .Case("t7", "t3")
5877 .Case("a4", 8)
5878 .Case("a5", 9)
5879 .Case("a6", 10)
5880 .Case("a7", 11)
5881 .Case("kt0", 26)
5882 .Case("kt1", 27)
5892 .Case("hwr_cpunum", 0)
5893 .Case("hwr_synci_step", 1)
5894 .Case("hwr_cc", 2)
5895 .Case("hwr_ccres", 3)
5896 .Case("hwr_ulr", 29)
5957 .Case("msair", 0)
5958 .Case("msacsr", 1)
5959 .Case("msaaccess", 2)
5960 .Case("msasave", 3)
5961 .Case("msamodify", 4)
5962 .Case("msarequest", 5)
5963 .Case("msamap", 6)
5964 .Case("msaunmap", 7)
7139 .Case("mips1", "mips1")
7140 .Case("mips2", "mips2")
7141 .Case("mips3", "mips3")
7142 .Case("mips4", "mips4")
7143 .Case("mips5", "mips5")
7144 .Case("mips32", "mips32")
7145 .Case("mips32r2", "mips32r2")
7146 .Case("mips32r3", "mips32r3")
7147 .Case("mips32r5", "mips32r5")
7148 .Case("mips32r6", "mips32r6")
7149 .Case("mips64", "mips64")
7150 .Case("mips64r2", "mips64r2")
7151 .Case("mips64r3", "mips64r3")
7152 .Case("mips64r5", "mips64r5")
7153 .Case("mips64r6", "mips64r6")
7154 .Case("octeon", "cnmips")
7155 .Case("r4000", "mips3") // This is an implementation of Mips3.
lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp 305 .Case("R_MIPS_NONE", FK_NONE)
306 .Case("R_MIPS_32", FK_Data_4)
307 .Case("R_MIPS_CALL_HI16", (MCFixupKind)Mips::fixup_Mips_CALL_HI16)
308 .Case("R_MIPS_CALL_LO16", (MCFixupKind)Mips::fixup_Mips_CALL_LO16)
309 .Case("R_MIPS_CALL16", (MCFixupKind)Mips::fixup_Mips_CALL16)
310 .Case("R_MIPS_GOT16", (MCFixupKind)Mips::fixup_Mips_GOT)
311 .Case("R_MIPS_GOT_PAGE", (MCFixupKind)Mips::fixup_Mips_GOT_PAGE)
312 .Case("R_MIPS_GOT_OFST", (MCFixupKind)Mips::fixup_Mips_GOT_OFST)
313 .Case("R_MIPS_GOT_DISP", (MCFixupKind)Mips::fixup_Mips_GOT_DISP)
314 .Case("R_MIPS_GOT_HI16", (MCFixupKind)Mips::fixup_Mips_GOT_HI16)
315 .Case("R_MIPS_GOT_LO16", (MCFixupKind)Mips::fixup_Mips_GOT_LO16)
316 .Case("R_MIPS_TLS_GOTTPREL", (MCFixupKind)Mips::fixup_Mips_GOTTPREL)
317 .Case("R_MIPS_TLS_DTPREL_HI16", (MCFixupKind)Mips::fixup_Mips_DTPREL_HI)
318 .Case("R_MIPS_TLS_DTPREL_LO16", (MCFixupKind)Mips::fixup_Mips_DTPREL_LO)
319 .Case("R_MIPS_TLS_GD", (MCFixupKind)Mips::fixup_Mips_TLSGD)
320 .Case("R_MIPS_TLS_LDM", (MCFixupKind)Mips::fixup_Mips_TLSLDM)
321 .Case("R_MIPS_TLS_TPREL_HI16", (MCFixupKind)Mips::fixup_Mips_TPREL_HI)
322 .Case("R_MIPS_TLS_TPREL_LO16", (MCFixupKind)Mips::fixup_Mips_TPREL_LO)
323 .Case("R_MICROMIPS_CALL16", (MCFixupKind)Mips::fixup_MICROMIPS_CALL16)
324 .Case("R_MICROMIPS_GOT_DISP", (MCFixupKind)Mips::fixup_MICROMIPS_GOT_DISP)
325 .Case("R_MICROMIPS_GOT_PAGE", (MCFixupKind)Mips::fixup_MICROMIPS_GOT_PAGE)
326 .Case("R_MICROMIPS_GOT_OFST", (MCFixupKind)Mips::fixup_MICROMIPS_GOT_OFST)
327 .Case("R_MICROMIPS_GOT16", (MCFixupKind)Mips::fixup_MICROMIPS_GOT16)
328 .Case("R_MICROMIPS_TLS_GOTTPREL",
330 .Case("R_MICROMIPS_TLS_DTPREL_HI16",
332 .Case("R_MICROMIPS_TLS_DTPREL_LO16",
334 .Case("R_MICROMIPS_TLS_GD", (MCFixupKind)Mips::fixup_MICROMIPS_TLS_GD)
335 .Case("R_MICROMIPS_TLS_LDM", (MCFixupKind)Mips::fixup_MICROMIPS_TLS_LDM)
336 .Case("R_MICROMIPS_TLS_TPREL_HI16",
338 .Case("R_MICROMIPS_TLS_TPREL_LO16",
340 .Case("R_MIPS_JALR", (MCFixupKind)Mips::fixup_Mips_JALR)
341 .Case("R_MICROMIPS_JALR", (MCFixupKind)Mips::fixup_MICROMIPS_JALR)
lib/Target/Mips/MipsISelLowering.cpp 3904 .Case("$msair", Mips::MSAIR)
3905 .Case("$msacsr", Mips::MSACSR)
3906 .Case("$msaaccess", Mips::MSAAccess)
3907 .Case("$msasave", Mips::MSASave)
3908 .Case("$msamodify", Mips::MSAModify)
3909 .Case("$msarequest", Mips::MSARequest)
3910 .Case("$msamap", Mips::MSAMap)
3911 .Case("$msaunmap", Mips::MSAUnmap)
4575 .Case("$28", Mips::GP_64)
4581 .Case("$28", Mips::GP)
lib/Target/Mips/MipsSEFrameLowering.cpp 646 .Case("sw0", 1)
647 .Case("sw1", 2)
648 .Case("hw0", 3)
649 .Case("hw1", 4)
650 .Case("hw2", 5)
651 .Case("hw3", 6)
652 .Case("hw4", 7)
653 .Case("hw5", 8)
lib/Target/PowerPC/PPCISelLowering.cpp14581 .Case("r1", is64Bit ? PPC::X1 : PPC::R1)
14582 .Case("r2", (IsDarwinABI || isPPC64) ? Register() : PPC::R2)
14583 .Case("r13", (!isPPC64 && IsDarwinABI) ? Register() :
lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.cpp 186 .Case("lo", VK_RISCV_LO)
187 .Case("hi", VK_RISCV_HI)
188 .Case("pcrel_lo", VK_RISCV_PCREL_LO)
189 .Case("pcrel_hi", VK_RISCV_PCREL_HI)
190 .Case("got_pcrel_hi", VK_RISCV_GOT_HI)
191 .Case("tprel_lo", VK_RISCV_TPREL_LO)
192 .Case("tprel_hi", VK_RISCV_TPREL_HI)
193 .Case("tprel_add", VK_RISCV_TPREL_ADD)
194 .Case("tls_ie_pcrel_hi", VK_RISCV_TLS_GOT_HI)
195 .Case("tls_gd_pcrel_hi", VK_RISCV_TLS_GD_HI)
lib/Target/RISCV/RISCVISelLowering.cpp 2580 .Case("{zero}", RISCV::X0)
2581 .Case("{ra}", RISCV::X1)
2582 .Case("{sp}", RISCV::X2)
2583 .Case("{gp}", RISCV::X3)
2584 .Case("{tp}", RISCV::X4)
2585 .Case("{t0}", RISCV::X5)
2586 .Case("{t1}", RISCV::X6)
2587 .Case("{t2}", RISCV::X7)
2589 .Case("{s1}", RISCV::X9)
2590 .Case("{a0}", RISCV::X10)
2591 .Case("{a1}", RISCV::X11)
2592 .Case("{a2}", RISCV::X12)
2593 .Case("{a3}", RISCV::X13)
2594 .Case("{a4}", RISCV::X14)
2595 .Case("{a5}", RISCV::X15)
2596 .Case("{a6}", RISCV::X16)
2597 .Case("{a7}", RISCV::X17)
2598 .Case("{s2}", RISCV::X18)
2599 .Case("{s3}", RISCV::X19)
2600 .Case("{s4}", RISCV::X20)
2601 .Case("{s5}", RISCV::X21)
2602 .Case("{s6}", RISCV::X22)
2603 .Case("{s7}", RISCV::X23)
2604 .Case("{s8}", RISCV::X24)
2605 .Case("{s9}", RISCV::X25)
2606 .Case("{s10}", RISCV::X26)
2607 .Case("{s11}", RISCV::X27)
2608 .Case("{t3}", RISCV::X28)
2609 .Case("{t4}", RISCV::X29)
2610 .Case("{t5}", RISCV::X30)
2611 .Case("{t6}", RISCV::X31)
lib/Target/RISCV/Utils/RISCVBaseInfo.cpp 16 .Case("ilp32", ABI_ILP32)
17 .Case("ilp32f", ABI_ILP32F)
18 .Case("ilp32d", ABI_ILP32D)
19 .Case("ilp32e", ABI_ILP32E)
20 .Case("lp64", ABI_LP64)
21 .Case("lp64f", ABI_LP64F)
22 .Case("lp64d", ABI_LP64D)
lib/Target/RISCV/Utils/RISCVBaseInfo.h 125 .Case("rne", RISCVFPRndMode::RNE)
126 .Case("rtz", RISCVFPRndMode::RTZ)
127 .Case("rdn", RISCVFPRndMode::RDN)
128 .Case("rup", RISCVFPRndMode::RUP)
129 .Case("rmm", RISCVFPRndMode::RMM)
130 .Case("dyn", RISCVFPRndMode::DYN)
lib/Target/Sparc/AsmParser/SparcAsmParser.cpp 773 .Case("LoadLoad", 0x1)
774 .Case("StoreLoad", 0x2)
775 .Case("LoadStore", 0x4)
776 .Case("StoreStore", 0x8)
777 .Case("Lookaside", 0x10)
778 .Case("MemIssue", 0x20)
779 .Case("Sync", 0x40)
lib/Target/Sparc/MCTargetDesc/SparcMCExpr.cpp 89 .Case("lo", VK_Sparc_LO)
90 .Case("hi", VK_Sparc_HI)
91 .Case("h44", VK_Sparc_H44)
92 .Case("m44", VK_Sparc_M44)
93 .Case("l44", VK_Sparc_L44)
94 .Case("hh", VK_Sparc_HH)
95 .Case("hm", VK_Sparc_HM)
96 .Case("pc22", VK_Sparc_PC22)
97 .Case("pc10", VK_Sparc_PC10)
98 .Case("got22", VK_Sparc_GOT22)
99 .Case("got10", VK_Sparc_GOT10)
100 .Case("got13", VK_Sparc_GOT13)
101 .Case("r_disp32", VK_Sparc_R_DISP32)
102 .Case("tgd_hi22", VK_Sparc_TLS_GD_HI22)
103 .Case("tgd_lo10", VK_Sparc_TLS_GD_LO10)
104 .Case("tgd_add", VK_Sparc_TLS_GD_ADD)
105 .Case("tgd_call", VK_Sparc_TLS_GD_CALL)
106 .Case("tldm_hi22", VK_Sparc_TLS_LDM_HI22)
107 .Case("tldm_lo10", VK_Sparc_TLS_LDM_LO10)
108 .Case("tldm_add", VK_Sparc_TLS_LDM_ADD)
109 .Case("tldm_call", VK_Sparc_TLS_LDM_CALL)
110 .Case("tldo_hix22", VK_Sparc_TLS_LDO_HIX22)
111 .Case("tldo_lox10", VK_Sparc_TLS_LDO_LOX10)
112 .Case("tldo_add", VK_Sparc_TLS_LDO_ADD)
113 .Case("tie_hi22", VK_Sparc_TLS_IE_HI22)
114 .Case("tie_lo10", VK_Sparc_TLS_IE_LO10)
115 .Case("tie_ld", VK_Sparc_TLS_IE_LD)
116 .Case("tie_ldx", VK_Sparc_TLS_IE_LDX)
117 .Case("tie_add", VK_Sparc_TLS_IE_ADD)
118 .Case("tle_hix22", VK_Sparc_TLS_LE_HIX22)
119 .Case("tle_lox10", VK_Sparc_TLS_LE_LOX10)
lib/Target/Sparc/SparcISelLowering.cpp 1022 .Case("i0", SP::I0).Case("i1", SP::I1).Case("i2", SP::I2).Case("i3", SP::I3)
1022 .Case("i0", SP::I0).Case("i1", SP::I1).Case("i2", SP::I2).Case("i3", SP::I3)
1022 .Case("i0", SP::I0).Case("i1", SP::I1).Case("i2", SP::I2).Case("i3", SP::I3)
1022 .Case("i0", SP::I0).Case("i1", SP::I1).Case("i2", SP::I2).Case("i3", SP::I3)
1023 .Case("i4", SP::I4).Case("i5", SP::I5).Case("i6", SP::I6).Case("i7", SP::I7)
1023 .Case("i4", SP::I4).Case("i5", SP::I5).Case("i6", SP::I6).Case("i7", SP::I7)
1023 .Case("i4", SP::I4).Case("i5", SP::I5).Case("i6", SP::I6).Case("i7", SP::I7)
1023 .Case("i4", SP::I4).Case("i5", SP::I5).Case("i6", SP::I6).Case("i7", SP::I7)
1024 .Case("o0", SP::O0).Case("o1", SP::O1).Case("o2", SP::O2).Case("o3", SP::O3)
1024 .Case("o0", SP::O0).Case("o1", SP::O1).Case("o2", SP::O2).Case("o3", SP::O3)
1024 .Case("o0", SP::O0).Case("o1", SP::O1).Case("o2", SP::O2).Case("o3", SP::O3)
1024 .Case("o0", SP::O0).Case("o1", SP::O1).Case("o2", SP::O2).Case("o3", SP::O3)
1025 .Case("o4", SP::O4).Case("o5", SP::O5).Case("o6", SP::O6).Case("o7", SP::O7)
1025 .Case("o4", SP::O4).Case("o5", SP::O5).Case("o6", SP::O6).Case("o7", SP::O7)
1025 .Case("o4", SP::O4).Case("o5", SP::O5).Case("o6", SP::O6).Case("o7", SP::O7)
1025 .Case("o4", SP::O4).Case("o5", SP::O5).Case("o6", SP::O6).Case("o7", SP::O7)
1026 .Case("l0", SP::L0).Case("l1", SP::L1).Case("l2", SP::L2).Case("l3", SP::L3)
1026 .Case("l0", SP::L0).Case("l1", SP::L1).Case("l2", SP::L2).Case("l3", SP::L3)
1026 .Case("l0", SP::L0).Case("l1", SP::L1).Case("l2", SP::L2).Case("l3", SP::L3)
1026 .Case("l0", SP::L0).Case("l1", SP::L1).Case("l2", SP::L2).Case("l3", SP::L3)
1027 .Case("l4", SP::L4).Case("l5", SP::L5).Case("l6", SP::L6).Case("l7", SP::L7)
1027 .Case("l4", SP::L4).Case("l5", SP::L5).Case("l6", SP::L6).Case("l7", SP::L7)
1027 .Case("l4", SP::L4).Case("l5", SP::L5).Case("l6", SP::L6).Case("l7", SP::L7)
1027 .Case("l4", SP::L4).Case("l5", SP::L5).Case("l6", SP::L6).Case("l7", SP::L7)
1028 .Case("g0", SP::G0).Case("g1", SP::G1).Case("g2", SP::G2).Case("g3", SP::G3)
1028 .Case("g0", SP::G0).Case("g1", SP::G1).Case("g2", SP::G2).Case("g3", SP::G3)
1028 .Case("g0", SP::G0).Case("g1", SP::G1).Case("g2", SP::G2).Case("g3", SP::G3)
1028 .Case("g0", SP::G0).Case("g1", SP::G1).Case("g2", SP::G2).Case("g3", SP::G3)
1029 .Case("g4", SP::G4).Case("g5", SP::G5).Case("g6", SP::G6).Case("g7", SP::G7)
1029 .Case("g4", SP::G4).Case("g5", SP::G5).Case("g6", SP::G6).Case("g7", SP::G7)
1029 .Case("g4", SP::G4).Case("g5", SP::G5).Case("g6", SP::G6).Case("g7", SP::G7)
1029 .Case("g4", SP::G4).Case("g5", SP::G5).Case("g6", SP::G6).Case("g7", SP::G7)
lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp 319 .Case("i32", WebAssembly::BlockType::I32)
320 .Case("i64", WebAssembly::BlockType::I64)
321 .Case("f32", WebAssembly::BlockType::F32)
322 .Case("f64", WebAssembly::BlockType::F64)
323 .Case("v128", WebAssembly::BlockType::V128)
324 .Case("exnref", WebAssembly::BlockType::Exnref)
325 .Case("void", WebAssembly::BlockType::Void)
lib/Target/X86/AsmParser/X86AsmParser.cpp 1679 .Case("rn", X86::STATIC_ROUNDING::TO_NEAREST_INT)
1680 .Case("rd", X86::STATIC_ROUNDING::TO_NEG_INF)
1681 .Case("ru", X86::STATIC_ROUNDING::TO_POS_INF)
1682 .Case("rz", X86::STATIC_ROUNDING::TO_ZERO)
2024 .Case("o", X86::COND_O) // Overflow
2025 .Case("no", X86::COND_NO) // No Overflow
2032 .Case("s", X86::COND_S) // Sign
2033 .Case("ns", X86::COND_NS) // No Sign
2083 .Case("to2", "{1to2}")
2084 .Case("to4", "{1to4}")
2085 .Case("to8", "{1to8}")
2086 .Case("to16", "{1to16}")
2427 .Case("eq", 0x00)
2428 .Case("eq_oq", 0x00)
2429 .Case("lt", 0x01)
2430 .Case("lt_os", 0x01)
2431 .Case("le", 0x02)
2432 .Case("le_os", 0x02)
2433 .Case("unord", 0x03)
2434 .Case("unord_q", 0x03)
2435 .Case("neq", 0x04)
2436 .Case("neq_uq", 0x04)
2437 .Case("nlt", 0x05)
2438 .Case("nlt_us", 0x05)
2439 .Case("nle", 0x06)
2440 .Case("nle_us", 0x06)
2441 .Case("ord", 0x07)
2442 .Case("ord_q", 0x07)
2444 .Case("eq_uq", 0x08)
2445 .Case("nge", 0x09)
2446 .Case("nge_us", 0x09)
2447 .Case("ngt", 0x0A)
2448 .Case("ngt_us", 0x0A)
2449 .Case("false", 0x0B)
2450 .Case("false_oq", 0x0B)
2451 .Case("neq_oq", 0x0C)
2452 .Case("ge", 0x0D)
2453 .Case("ge_os", 0x0D)
2454 .Case("gt", 0x0E)
2455 .Case("gt_os", 0x0E)
2456 .Case("true", 0x0F)
2457 .Case("true_uq", 0x0F)
2458 .Case("eq_os", 0x10)
2459 .Case("lt_oq", 0x11)
2460 .Case("le_oq", 0x12)
2461 .Case("unord_s", 0x13)
2462 .Case("neq_us", 0x14)
2463 .Case("nlt_uq", 0x15)
2464 .Case("nle_uq", 0x16)
2465 .Case("ord_s", 0x17)
2466 .Case("eq_us", 0x18)
2467 .Case("nge_uq", 0x19)
2468 .Case("ngt_uq", 0x1A)
2469 .Case("false_os", 0x1B)
2470 .Case("neq_os", 0x1C)
2471 .Case("ge_oq", 0x1D)
2472 .Case("gt_oq", 0x1E)
2473 .Case("true_us", 0x1F)
2498 .Case("eq", 0x0) // Only allowed on unsigned. Checked below.
2499 .Case("lt", 0x1)
2500 .Case("le", 0x2)
2502 .Case("neq", 0x4)
2503 .Case("nlt", 0x5)
2504 .Case("nle", 0x6)
2527 .Case("lt", 0x0)
2528 .Case("le", 0x1)
2529 .Case("gt", 0x2)
2530 .Case("ge", 0x3)
2531 .Case("eq", 0x4)
2532 .Case("neq", 0x5)
2533 .Case("false", 0x6)
2534 .Case("true", 0x7)
2684 .Case("fsub", "fsubp")
2685 .Case("fdiv", "fdivp")
2686 .Case("fsubr", "fsubrp")
2687 .Case("fdivr", "fdivrp");
3063 .Case("finit", "fninit")
3064 .Case("fsave", "fnsave")
3065 .Case("fstcw", "fnstcw")
3066 .Case("fstcww", "fnstcw")
3067 .Case("fstenv", "fnstenv")
3068 .Case("fstsw", "fnstsw")
3069 .Case("fstsww", "fnstsw")
3070 .Case("fclex", "fnclex")
lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp 448 .Case("dir32", FK_Data_4)
449 .Case("secrel32", FK_SecRel_4)
450 .Case("secidx", FK_SecRel_2)
866 .Case("x86_64h", MachO::CPU_SUBTYPE_X86_64_H)
lib/Target/X86/X86ISelLowering.cpp24257 .Case("esp", X86::ESP)
24258 .Case("rsp", X86::RSP)
24259 .Case("ebp", X86::EBP)
24260 .Case("rbp", X86::RBP)
45320 .Case("{@cca}", X86::COND_A)
45321 .Case("{@ccae}", X86::COND_AE)
45322 .Case("{@ccb}", X86::COND_B)
45323 .Case("{@ccbe}", X86::COND_BE)
45324 .Case("{@ccc}", X86::COND_B)
45325 .Case("{@cce}", X86::COND_E)
45326 .Case("{@ccz}", X86::COND_E)
45327 .Case("{@ccg}", X86::COND_G)
45328 .Case("{@ccge}", X86::COND_GE)
45329 .Case("{@ccl}", X86::COND_L)
45330 .Case("{@ccle}", X86::COND_LE)
45331 .Case("{@ccna}", X86::COND_BE)
45332 .Case("{@ccnae}", X86::COND_B)
45333 .Case("{@ccnb}", X86::COND_AE)
45334 .Case("{@ccnbe}", X86::COND_A)
45335 .Case("{@ccnc}", X86::COND_AE)
45336 .Case("{@ccne}", X86::COND_NE)
45337 .Case("{@ccnz}", X86::COND_NE)
45338 .Case("{@ccng}", X86::COND_LE)
45339 .Case("{@ccnge}", X86::COND_L)
45340 .Case("{@ccnl}", X86::COND_GE)
45341 .Case("{@ccnle}", X86::COND_G)
45342 .Case("{@ccno}", X86::COND_NO)
45343 .Case("{@ccnp}", X86::COND_P)
45344 .Case("{@ccns}", X86::COND_NS)
45345 .Case("{@cco}", X86::COND_O)
45346 .Case("{@ccp}", X86::COND_P)
45347 .Case("{@ccs}", X86::COND_S)
lib/TextAPI/ELF/TBEHandler.cpp 59 .Case("x86_64", ELF::EM_X86_64)
60 .Case("AArch64", ELF::EM_AARCH64)
61 .Case("Unknown", ELF::EM_NONE)
lib/TextAPI/MachO/Target.cpp 27 .Case("macos", PlatformKind::macOS)
28 .Case("ios", PlatformKind::iOS)
29 .Case("tvos", PlatformKind::tvOS)
30 .Case("watchos", PlatformKind::watchOS)
31 .Case("bridgeos", PlatformKind::bridgeOS)
32 .Case("maccatalyst", PlatformKind::macCatalyst)
33 .Case("ios-simulator", PlatformKind::iOSSimulator)
34 .Case("tvos-simulator", PlatformKind::tvOSSimulator)
35 .Case("watchos-simulator", PlatformKind::watchOSSimulator)
lib/TextAPI/MachO/TextStubCommon.cpp 96 .Case("unknown", PlatformKind::unknown)
97 .Case("macosx", PlatformKind::macOS)
98 .Case("ios", PlatformKind::iOS)
99 .Case("watchos", PlatformKind::watchOS)
100 .Case("tvos", PlatformKind::tvOS)
101 .Case("bridgeos", PlatformKind::bridgeOS)
102 .Case("iosmac", PlatformKind::macCatalyst)
187 .Case("1.0", 1)
188 .Case("1.1", 2)
189 .Case("2.0", 3)
190 .Case("3.0", 4)
lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp 70 .Case("i386", IMAGE_FILE_MACHINE_I386)
71 .Case("i386:x86-64", IMAGE_FILE_MACHINE_AMD64)
72 .Case("arm", IMAGE_FILE_MACHINE_ARMNT)
73 .Case("arm64", IMAGE_FILE_MACHINE_ARM64)
lib/Transforms/IPO/ForceFunctionAttrs.cpp 29 .Case("alwaysinline", Attribute::AlwaysInline)
30 .Case("builtin", Attribute::Builtin)
31 .Case("cold", Attribute::Cold)
32 .Case("convergent", Attribute::Convergent)
33 .Case("inlinehint", Attribute::InlineHint)
34 .Case("jumptable", Attribute::JumpTable)
35 .Case("minsize", Attribute::MinSize)
36 .Case("naked", Attribute::Naked)
37 .Case("nobuiltin", Attribute::NoBuiltin)
38 .Case("noduplicate", Attribute::NoDuplicate)
39 .Case("noimplicitfloat", Attribute::NoImplicitFloat)
40 .Case("noinline", Attribute::NoInline)
41 .Case("nonlazybind", Attribute::NonLazyBind)
42 .Case("noredzone", Attribute::NoRedZone)
43 .Case("noreturn", Attribute::NoReturn)
44 .Case("nocf_check", Attribute::NoCfCheck)
45 .Case("norecurse", Attribute::NoRecurse)
46 .Case("nounwind", Attribute::NoUnwind)
47 .Case("optforfuzzing", Attribute::OptForFuzzing)
48 .Case("optnone", Attribute::OptimizeNone)
49 .Case("optsize", Attribute::OptimizeForSize)
50 .Case("readnone", Attribute::ReadNone)
51 .Case("readonly", Attribute::ReadOnly)
52 .Case("argmemonly", Attribute::ArgMemOnly)
53 .Case("returns_twice", Attribute::ReturnsTwice)
54 .Case("safestack", Attribute::SafeStack)
55 .Case("shadowcallstack", Attribute::ShadowCallStack)
56 .Case("sanitize_address", Attribute::SanitizeAddress)
57 .Case("sanitize_hwaddress", Attribute::SanitizeHWAddress)
58 .Case("sanitize_memory", Attribute::SanitizeMemory)
59 .Case("sanitize_thread", Attribute::SanitizeThread)
60 .Case("sanitize_memtag", Attribute::SanitizeMemTag)
61 .Case("speculative_load_hardening", Attribute::SpeculativeLoadHardening)
62 .Case("ssp", Attribute::StackProtect)
63 .Case("sspreq", Attribute::StackProtectReq)
64 .Case("sspstrong", Attribute::StackProtectStrong)
65 .Case("strictfp", Attribute::StrictFP)
66 .Case("uwtable", Attribute::UWTable)
tools/clang/include/clang/Basic/Features.def 39 FEATURE(address_sanitizer,
42 FEATURE(leak_sanitizer,
44 FEATURE(hwaddress_sanitizer,
47 FEATURE(memtag_sanitizer, LangOpts.Sanitize.has(SanitizerKind::MemTag))
48 FEATURE(xray_instrument, LangOpts.XRayInstrument)
49 FEATURE(undefined_behavior_sanitizer,
51 FEATURE(assume_nonnull, true)
52 FEATURE(attribute_analyzer_noreturn, true)
53 FEATURE(attribute_availability, true)
54 FEATURE(attribute_availability_with_message, true)
55 FEATURE(attribute_availability_app_extension, true)
56 FEATURE(attribute_availability_with_version_underscores, true)
57 FEATURE(attribute_availability_tvos, true)
58 FEATURE(attribute_availability_watchos, true)
59 FEATURE(attribute_availability_with_strict, true)
60 FEATURE(attribute_availability_with_replacement, true)
61 FEATURE(attribute_availability_in_templates, true)
62 FEATURE(attribute_availability_swift, true)
63 FEATURE(attribute_cf_returns_not_retained, true)
64 FEATURE(attribute_cf_returns_retained, true)
65 FEATURE(attribute_cf_returns_on_parameters, true)
66 FEATURE(attribute_deprecated_with_message, true)
67 FEATURE(attribute_deprecated_with_replacement, true)
68 FEATURE(attribute_ext_vector_type, true)
69 FEATURE(attribute_ns_returns_not_retained, true)
70 FEATURE(attribute_ns_returns_retained, true)
71 FEATURE(attribute_ns_consumes_self, true)
72 FEATURE(attribute_ns_consumed, true)
73 FEATURE(attribute_cf_consumed, true)
74 FEATURE(attribute_objc_ivar_unused, true)
75 FEATURE(attribute_objc_method_family, true)
76 FEATURE(attribute_overloadable, true)
77 FEATURE(attribute_unavailable_with_message, true)
78 FEATURE(attribute_unused_on_fields, true)
79 FEATURE(attribute_diagnose_if_objc, true)
80 FEATURE(blocks, LangOpts.Blocks)
81 FEATURE(c_thread_safety_attributes, true)
82 FEATURE(cxx_exceptions, LangOpts.CXXExceptions)
83 FEATURE(cxx_rtti, LangOpts.RTTI &&LangOpts.RTTIData)
84 FEATURE(enumerator_attributes, true)
85 FEATURE(nullability, true)
86 FEATURE(nullability_on_arrays, true)
87 FEATURE(memory_sanitizer,
90 FEATURE(thread_sanitizer, LangOpts.Sanitize.has(SanitizerKind::Thread))
91 FEATURE(dataflow_sanitizer, LangOpts.Sanitize.has(SanitizerKind::DataFlow))
92 FEATURE(scudo, LangOpts.Sanitize.hasOneOf(SanitizerKind::Scudo))
94 FEATURE(objc_arr, LangOpts.ObjCAutoRefCount) // FIXME: REMOVE?
95 FEATURE(objc_arc, LangOpts.ObjCAutoRefCount)
96 FEATURE(objc_arc_fields, true)
97 FEATURE(objc_arc_weak, LangOpts.ObjCWeak)
98 FEATURE(objc_default_synthesize_properties, LangOpts.ObjC)
99 FEATURE(objc_fixed_enum, LangOpts.ObjC)
100 FEATURE(objc_instancetype, LangOpts.ObjC)
101 FEATURE(objc_kindof, LangOpts.ObjC)
102 FEATURE(objc_modules, LangOpts.ObjC && LangOpts.Modules)
103 FEATURE(objc_nonfragile_abi, LangOpts.ObjCRuntime.isNonFragile())
104 FEATURE(objc_property_explicit_atomic, true)
105 FEATURE(objc_protocol_qualifier_mangling, true)
106 FEATURE(objc_weak_class, LangOpts.ObjCRuntime.hasWeakClassImport())
107 FEATURE(ownership_holds, true)
108 FEATURE(ownership_returns, true)
109 FEATURE(ownership_takes, true)
110 FEATURE(objc_bool, true)
111 FEATURE(objc_subscripting, LangOpts.ObjCRuntime.isNonFragile())
112 FEATURE(objc_array_literals, LangOpts.ObjC)
113 FEATURE(objc_dictionary_literals, LangOpts.ObjC)
114 FEATURE(objc_boxed_expressions, LangOpts.ObjC)
115 FEATURE(objc_boxed_nsvalue_expressions, LangOpts.ObjC)
116 FEATURE(arc_cf_code_audited, true)
117 FEATURE(objc_bridge_id, true)
118 FEATURE(objc_bridge_id_on_typedefs, true)
119 FEATURE(objc_generics, LangOpts.ObjC)
120 FEATURE(objc_generics_variance, LangOpts.ObjC)
121 FEATURE(objc_class_property, LangOpts.ObjC)
122 FEATURE(objc_c_static_assert, LangOpts.C11)
123 FEATURE(objc_cxx_static_assert, LangOpts.CPlusPlus11)
124 EXTENSION(objc_c_static_assert, true)
126 FEATURE(c_alignas, LangOpts.C11)
127 FEATURE(c_alignof, LangOpts.C11)
128 FEATURE(c_atomic, LangOpts.C11)
129 FEATURE(c_generic_selections, LangOpts.C11)
130 FEATURE(c_static_assert, LangOpts.C11)
131 FEATURE(c_thread_local, LangOpts.C11 &&PP.getTargetInfo().isTLSSupported())
133 FEATURE(cxx_access_control_sfinae, LangOpts.CPlusPlus11)
134 FEATURE(cxx_alias_templates, LangOpts.CPlusPlus11)
135 FEATURE(cxx_alignas, LangOpts.CPlusPlus11)
136 FEATURE(cxx_alignof, LangOpts.CPlusPlus11)
137 FEATURE(cxx_atomic, LangOpts.CPlusPlus11)
138 FEATURE(cxx_attributes, LangOpts.CPlusPlus11)
139 FEATURE(cxx_auto_type, LangOpts.CPlusPlus11)
140 FEATURE(cxx_constexpr, LangOpts.CPlusPlus11)
141 FEATURE(cxx_constexpr_string_builtins, LangOpts.CPlusPlus11)
142 FEATURE(cxx_decltype, LangOpts.CPlusPlus11)
143 FEATURE(cxx_decltype_incomplete_return_types, LangOpts.CPlusPlus11)
144 FEATURE(cxx_default_function_template_args, LangOpts.CPlusPlus11)
145 FEATURE(cxx_defaulted_functions, LangOpts.CPlusPlus11)
146 FEATURE(cxx_delegating_constructors, LangOpts.CPlusPlus11)
147 FEATURE(cxx_deleted_functions, LangOpts.CPlusPlus11)
148 FEATURE(cxx_explicit_conversions, LangOpts.CPlusPlus11)
149 FEATURE(cxx_generalized_initializers, LangOpts.CPlusPlus11)
150 FEATURE(cxx_implicit_moves, LangOpts.CPlusPlus11)
151 FEATURE(cxx_inheriting_constructors, LangOpts.CPlusPlus11)
152 FEATURE(cxx_inline_namespaces, LangOpts.CPlusPlus11)
153 FEATURE(cxx_lambdas, LangOpts.CPlusPlus11)
154 FEATURE(cxx_local_type_template_args, LangOpts.CPlusPlus11)
155 FEATURE(cxx_nonstatic_member_init, LangOpts.CPlusPlus11)
156 FEATURE(cxx_noexcept, LangOpts.CPlusPlus11)
157 FEATURE(cxx_nullptr, LangOpts.CPlusPlus11)
158 FEATURE(cxx_override_control, LangOpts.CPlusPlus11)
159 FEATURE(cxx_range_for, LangOpts.CPlusPlus11)
160 FEATURE(cxx_raw_string_literals, LangOpts.CPlusPlus11)
161 FEATURE(cxx_reference_qualified_functions, LangOpts.CPlusPlus11)
162 FEATURE(cxx_rvalue_references, LangOpts.CPlusPlus11)
163 FEATURE(cxx_strong_enums, LangOpts.CPlusPlus11)
164 FEATURE(cxx_static_assert, LangOpts.CPlusPlus11)
165 FEATURE(cxx_thread_local,
167 FEATURE(cxx_trailing_return, LangOpts.CPlusPlus11)
168 FEATURE(cxx_unicode_literals, LangOpts.CPlusPlus11)
169 FEATURE(cxx_unrestricted_unions, LangOpts.CPlusPlus11)
170 FEATURE(cxx_user_literals, LangOpts.CPlusPlus11)
171 FEATURE(cxx_variadic_templates, LangOpts.CPlusPlus11)
173 FEATURE(cxx_aggregate_nsdmi, LangOpts.CPlusPlus14)
174 FEATURE(cxx_binary_literals, LangOpts.CPlusPlus14)
175 FEATURE(cxx_contextual_conversions, LangOpts.CPlusPlus14)
176 FEATURE(cxx_decltype_auto, LangOpts.CPlusPlus14)
177 FEATURE(cxx_generic_lambdas, LangOpts.CPlusPlus14)
178 FEATURE(cxx_init_captures, LangOpts.CPlusPlus14)
179 FEATURE(cxx_relaxed_constexpr, LangOpts.CPlusPlus14)
180 FEATURE(cxx_return_type_deduction, LangOpts.CPlusPlus14)
181 FEATURE(cxx_variable_templates, LangOpts.CPlusPlus14)
193 FEATURE(has_nothrow_assign, LangOpts.CPlusPlus)
194 FEATURE(has_nothrow_copy, LangOpts.CPlusPlus)
195 FEATURE(has_nothrow_constructor, LangOpts.CPlusPlus)
196 FEATURE(has_trivial_assign, LangOpts.CPlusPlus)
197 FEATURE(has_trivial_copy, LangOpts.CPlusPlus)
198 FEATURE(has_trivial_constructor, LangOpts.CPlusPlus)
199 FEATURE(has_trivial_destructor, LangOpts.CPlusPlus)
200 FEATURE(has_virtual_destructor, LangOpts.CPlusPlus)
201 FEATURE(is_abstract, LangOpts.CPlusPlus)
202 FEATURE(is_base_of, LangOpts.CPlusPlus)
203 FEATURE(is_class, LangOpts.CPlusPlus)
204 FEATURE(is_constructible, LangOpts.CPlusPlus)
205 FEATURE(is_convertible_to, LangOpts.CPlusPlus)
206 FEATURE(is_empty, LangOpts.CPlusPlus)
207 FEATURE(is_enum, LangOpts.CPlusPlus)
208 FEATURE(is_final, LangOpts.CPlusPlus)
209 FEATURE(is_literal, LangOpts.CPlusPlus)
210 FEATURE(is_standard_layout, LangOpts.CPlusPlus)
211 FEATURE(is_pod, LangOpts.CPlusPlus)
212 FEATURE(is_polymorphic, LangOpts.CPlusPlus)
213 FEATURE(is_sealed, LangOpts.CPlusPlus &&LangOpts.MicrosoftExt)
214 FEATURE(is_trivial, LangOpts.CPlusPlus)
215 FEATURE(is_trivially_assignable, LangOpts.CPlusPlus)
216 FEATURE(is_trivially_constructible, LangOpts.CPlusPlus)
217 FEATURE(is_trivially_copyable, LangOpts.CPlusPlus)
218 FEATURE(is_union, LangOpts.CPlusPlus)
219 FEATURE(modules, LangOpts.Modules)
220 FEATURE(safe_stack, LangOpts.Sanitize.has(SanitizerKind::SafeStack))
221 FEATURE(shadow_call_stack,
223 FEATURE(tls, PP.getTargetInfo().isTLSSupported())
224 FEATURE(underlying_type, LangOpts.CPlusPlus)
227 EXTENSION(c_alignas, true)
228 EXTENSION(c_alignof, true)
229 EXTENSION(c_atomic, true)
230 EXTENSION(c_generic_selections, true)
231 EXTENSION(c_static_assert, true)
232 EXTENSION(c_thread_local, PP.getTargetInfo().isTLSSupported())
234 EXTENSION(cxx_atomic, LangOpts.CPlusPlus)
235 EXTENSION(cxx_deleted_functions, LangOpts.CPlusPlus)
236 EXTENSION(cxx_explicit_conversions, LangOpts.CPlusPlus)
237 EXTENSION(cxx_inline_namespaces, LangOpts.CPlusPlus)
238 EXTENSION(cxx_local_type_template_args, LangOpts.CPlusPlus)
239 EXTENSION(cxx_nonstatic_member_init, LangOpts.CPlusPlus)
240 EXTENSION(cxx_override_control, LangOpts.CPlusPlus)
241 EXTENSION(cxx_range_for, LangOpts.CPlusPlus)
242 EXTENSION(cxx_reference_qualified_functions, LangOpts.CPlusPlus)
243 EXTENSION(cxx_rvalue_references, LangOpts.CPlusPlus)
244 EXTENSION(cxx_variadic_templates, LangOpts.CPlusPlus)
245 EXTENSION(cxx_fixed_enum, true)
247 EXTENSION(cxx_binary_literals, true)
248 EXTENSION(cxx_init_captures, LangOpts.CPlusPlus11)
249 EXTENSION(cxx_variable_templates, LangOpts.CPlusPlus)
251 EXTENSION(overloadable_unmarked, true)
252 EXTENSION(pragma_clang_attribute_namespaces, true)
253 EXTENSION(pragma_clang_attribute_external_declaration, true)
254 EXTENSION(gnu_asm, LangOpts.GNUAsm)
tools/clang/include/clang/Basic/LangStandards.def 41 LANGSTANDARD_ALIAS(c89, "c90")
42 LANGSTANDARD_ALIAS(c89, "iso9899:1990")
51 LANGSTANDARD_ALIAS(gnu89, "gnu90")
57 LANGSTANDARD_ALIAS(c99, "iso9899:1999")
58 LANGSTANDARD_ALIAS_DEPR(c99, "c9x")
59 LANGSTANDARD_ALIAS_DEPR(c99, "iso9899:199x")
64 LANGSTANDARD_ALIAS_DEPR(gnu99, "gnu9x")
70 LANGSTANDARD_ALIAS(c11, "iso9899:2011")
71 LANGSTANDARD_ALIAS_DEPR(c11, "c1x")
72 LANGSTANDARD_ALIAS_DEPR(c11, "iso9899:201x")
77 LANGSTANDARD_ALIAS_DEPR(gnu11, "gnu1x")
83 LANGSTANDARD_ALIAS(c17, "iso9899:2017")
84 LANGSTANDARD_ALIAS(c17, "c18")
85 LANGSTANDARD_ALIAS(c17, "iso9899:2018")
89 LANGSTANDARD_ALIAS(gnu17, "gnu18")
103 LANGSTANDARD_ALIAS(cxx98, "c++03")
108 LANGSTANDARD_ALIAS(gnucxx98, "gnu++03")
113 LANGSTANDARD_ALIAS_DEPR(cxx11, "c++0x")
118 LANGSTANDARD_ALIAS_DEPR(gnucxx11, "gnu++0x")
123 LANGSTANDARD_ALIAS_DEPR(cxx14, "c++1y")
129 LANGSTANDARD_ALIAS_DEPR(gnucxx14, "gnu++1y")
135 LANGSTANDARD_ALIAS_DEPR(cxx17, "c++1z")
141 LANGSTANDARD_ALIAS_DEPR(gnucxx17, "gnu++1z")
157 LANGSTANDARD_ALIAS_DEPR(opencl10, "cl")
173 LANGSTANDARD_ALIAS_DEPR(opencl10, "CL")
174 LANGSTANDARD_ALIAS_DEPR(opencl11, "CL1.1")
175 LANGSTANDARD_ALIAS_DEPR(opencl12, "CL1.2")
176 LANGSTANDARD_ALIAS_DEPR(opencl20, "CL2.0")
177 LANGSTANDARD_ALIAS_DEPR(openclcpp, "CLC++")
tools/clang/include/clang/Basic/MSP430Target.def 21 MSP430_MCU("msp430c111")
22 MSP430_MCU("msp430c1111")
23 MSP430_MCU("msp430c112")
24 MSP430_MCU("msp430c1121")
25 MSP430_MCU("msp430c1331")
26 MSP430_MCU("msp430c1351")
27 MSP430_MCU("msp430e112")
28 MSP430_MCU("msp430f110")
29 MSP430_MCU("msp430f1101")
30 MSP430_MCU("msp430f1101a")
31 MSP430_MCU("msp430f1111")
32 MSP430_MCU("msp430f1111a")
33 MSP430_MCU("msp430f112")
34 MSP430_MCU("msp430f1121")
35 MSP430_MCU("msp430f1121a")
36 MSP430_MCU("msp430f1122")
37 MSP430_MCU("msp430f1132")
38 MSP430_MCU("msp430f122")
39 MSP430_MCU("msp430f1222")
40 MSP430_MCU("msp430f123")
41 MSP430_MCU("msp430f1232")
42 MSP430_MCU("msp430f133")
43 MSP430_MCU("msp430f135")
44 MSP430_MCU("msp430f155")
45 MSP430_MCU("msp430f156")
46 MSP430_MCU("msp430f157")
47 MSP430_MCU("msp430p112")
48 MSP430_MCU("msp430f2001")
49 MSP430_MCU("msp430f2011")
50 MSP430_MCU("msp430f2002")
51 MSP430_MCU("msp430f2012")
52 MSP430_MCU("msp430f2003")
53 MSP430_MCU("msp430f2013")
54 MSP430_MCU("msp430f2101")
55 MSP430_MCU("msp430f2111")
56 MSP430_MCU("msp430f2121")
57 MSP430_MCU("msp430f2131")
58 MSP430_MCU("msp430f2112")
59 MSP430_MCU("msp430f2122")
60 MSP430_MCU("msp430f2132")
61 MSP430_MCU("msp430f2232")
62 MSP430_MCU("msp430f2252")
63 MSP430_MCU("msp430f2272")
64 MSP430_MCU("msp430f2234")
65 MSP430_MCU("msp430f2254")
66 MSP430_MCU("msp430f2274")
67 MSP430_MCU("msp430g2211")
68 MSP430_MCU("msp430g2201")
69 MSP430_MCU("msp430g2111")
70 MSP430_MCU("msp430g2101")
71 MSP430_MCU("msp430g2001")
72 MSP430_MCU("msp430g2231")
73 MSP430_MCU("msp430g2221")
74 MSP430_MCU("msp430g2131")
75 MSP430_MCU("msp430g2121")
76 MSP430_MCU("msp430g2102")
77 MSP430_MCU("msp430g2202")
78 MSP430_MCU("msp430g2302")
79 MSP430_MCU("msp430g2402")
80 MSP430_MCU("msp430g2132")
81 MSP430_MCU("msp430g2232")
82 MSP430_MCU("msp430g2332")
83 MSP430_MCU("msp430g2432")
84 MSP430_MCU("msp430g2112")
85 MSP430_MCU("msp430g2212")
86 MSP430_MCU("msp430g2312")
87 MSP430_MCU("msp430g2412")
88 MSP430_MCU("msp430g2152")
89 MSP430_MCU("msp430g2252")
90 MSP430_MCU("msp430g2352")
91 MSP430_MCU("msp430g2452")
92 MSP430_MCU("msp430g2113")
93 MSP430_MCU("msp430g2213")
94 MSP430_MCU("msp430g2313")
95 MSP430_MCU("msp430g2413")
96 MSP430_MCU("msp430g2513")
97 MSP430_MCU("msp430g2153")
98 MSP430_MCU("msp430g2253")
99 MSP430_MCU("msp430g2353")
100 MSP430_MCU("msp430g2453")
101 MSP430_MCU("msp430g2553")
102 MSP430_MCU("msp430g2203")
103 MSP430_MCU("msp430g2303")
104 MSP430_MCU("msp430g2403")
105 MSP430_MCU("msp430g2233")
106 MSP430_MCU("msp430g2333")
107 MSP430_MCU("msp430g2433")
108 MSP430_MCU("msp430g2533")
109 MSP430_MCU("msp430tch5e")
110 MSP430_MCU("msp430g2444")
111 MSP430_MCU("msp430g2544")
112 MSP430_MCU("msp430g2744")
113 MSP430_MCU("msp430g2755")
114 MSP430_MCU("msp430g2855")
115 MSP430_MCU("msp430g2955")
116 MSP430_MCU("msp430g2230")
117 MSP430_MCU("msp430g2210")
118 MSP430_MCU("msp430c311s")
119 MSP430_MCU("msp430c312")
120 MSP430_MCU("msp430c313")
121 MSP430_MCU("msp430c314")
122 MSP430_MCU("msp430c315")
123 MSP430_MCU("msp430c323")
124 MSP430_MCU("msp430c325")
125 MSP430_MCU("msp430c412")
126 MSP430_MCU("msp430c413")
127 MSP430_MCU("msp430e313")
128 MSP430_MCU("msp430e315")
129 MSP430_MCU("msp430e325")
130 MSP430_MCU("msp430p313")
131 MSP430_MCU("msp430p315")
132 MSP430_MCU("msp430p315s")
133 MSP430_MCU("msp430p325")
134 MSP430_MCU("msp430f412")
135 MSP430_MCU("msp430f413")
136 MSP430_MCU("msp430f415")
137 MSP430_MCU("msp430f417")
138 MSP430_MCU("msp430f4132")
139 MSP430_MCU("msp430f4152")
140 MSP430_MCU("msp430f435")
141 MSP430_MCU("msp430f436")
142 MSP430_MCU("msp430f437")
143 MSP430_MCU("msp430f4351")
144 MSP430_MCU("msp430f4361")
145 MSP430_MCU("msp430f4371")
146 MSP430_MCU("msp430fe423")
147 MSP430_MCU("msp430fe425")
148 MSP430_MCU("msp430fe427")
149 MSP430_MCU("msp430fe423a")
150 MSP430_MCU("msp430fe425a")
151 MSP430_MCU("msp430fe427a")
152 MSP430_MCU("msp430fe4232")
153 MSP430_MCU("msp430fe4242")
154 MSP430_MCU("msp430fe4252")
155 MSP430_MCU("msp430fe4272")
156 MSP430_MCU("msp430f4250")
157 MSP430_MCU("msp430f4260")
158 MSP430_MCU("msp430f4270")
159 MSP430_MCU("msp430fg4250")
160 MSP430_MCU("msp430fg4260")
161 MSP430_MCU("msp430fg4270")
162 MSP430_MCU("msp430fw423")
163 MSP430_MCU("msp430fw425")
164 MSP430_MCU("msp430fw427")
165 MSP430_MCU("msp430fw428")
166 MSP430_MCU("msp430fw429")
167 MSP430_MCU("msp430fg437")
168 MSP430_MCU("msp430fg438")
169 MSP430_MCU("msp430fg439")
170 MSP430_MCU("msp430f438")
171 MSP430_MCU("msp430f439")
172 MSP430_MCU("msp430f477")
173 MSP430_MCU("msp430f478")
174 MSP430_MCU("msp430f479")
175 MSP430_MCU("msp430fg477")
176 MSP430_MCU("msp430fg478")
177 MSP430_MCU("msp430fg479")
180 MSP430_MCU_FEAT("msp430f147", "16bit")
181 MSP430_MCU_FEAT("msp430f148", "16bit")
182 MSP430_MCU_FEAT("msp430f149", "16bit")
183 MSP430_MCU_FEAT("msp430f1471", "16bit")
184 MSP430_MCU_FEAT("msp430f1481", "16bit")
185 MSP430_MCU_FEAT("msp430f1491", "16bit")
186 MSP430_MCU_FEAT("msp430f167", "16bit")
187 MSP430_MCU_FEAT("msp430f168", "16bit")
188 MSP430_MCU_FEAT("msp430f169", "16bit")
189 MSP430_MCU_FEAT("msp430f1610", "16bit")
190 MSP430_MCU_FEAT("msp430f1611", "16bit")
191 MSP430_MCU_FEAT("msp430f1612", "16bit")
192 MSP430_MCU_FEAT("msp430c336", "16bit")
193 MSP430_MCU_FEAT("msp430c337", "16bit")
194 MSP430_MCU_FEAT("msp430e337", "16bit")
195 MSP430_MCU_FEAT("msp430p337", "16bit")
196 MSP430_MCU_FEAT("msp430f423", "16bit")
197 MSP430_MCU_FEAT("msp430f425", "16bit")
198 MSP430_MCU_FEAT("msp430f427", "16bit")
199 MSP430_MCU_FEAT("msp430f423a", "16bit")
200 MSP430_MCU_FEAT("msp430f425a", "16bit")
201 MSP430_MCU_FEAT("msp430f427a", "16bit")
202 MSP430_MCU_FEAT("msp430f4481", "16bit")
203 MSP430_MCU_FEAT("msp430f4491", "16bit")
204 MSP430_MCU_FEAT("msp430f447", "16bit")
205 MSP430_MCU_FEAT("msp430f448", "16bit")
206 MSP430_MCU_FEAT("msp430f449", "16bit")
207 MSP430_MCU_FEAT("msp430f2330", "16bit")
208 MSP430_MCU_FEAT("msp430f2350", "16bit")
209 MSP430_MCU_FEAT("msp430f2370", "16bit")
210 MSP430_MCU_FEAT("msp430f233", "16bit")
211 MSP430_MCU_FEAT("msp430f235", "16bit")
212 MSP430_MCU_FEAT("msp430f247", "16bit")
213 MSP430_MCU_FEAT("msp430f248", "16bit")
214 MSP430_MCU_FEAT("msp430f249", "16bit")
215 MSP430_MCU_FEAT("msp430f2410", "16bit")
216 MSP430_MCU_FEAT("msp430f2471", "16bit")
217 MSP430_MCU_FEAT("msp430f2481", "16bit")
218 MSP430_MCU_FEAT("msp430f2491", "16bit")
219 MSP430_MCU_FEAT("msp430i2020", "16bit")
220 MSP430_MCU_FEAT("msp430i2021", "16bit")
221 MSP430_MCU_FEAT("msp430i2030", "16bit")
222 MSP430_MCU_FEAT("msp430i2031", "16bit")
223 MSP430_MCU_FEAT("msp430i2040", "16bit")
224 MSP430_MCU_FEAT("msp430i2041", "16bit")
225 MSP430_MCU_FEAT("msp430afe221", "16bit")
226 MSP430_MCU_FEAT("msp430afe231", "16bit")
227 MSP430_MCU_FEAT("msp430afe251", "16bit")
228 MSP430_MCU_FEAT("msp430afe222", "16bit")
229 MSP430_MCU_FEAT("msp430afe232", "16bit")
230 MSP430_MCU_FEAT("msp430afe252", "16bit")
231 MSP430_MCU_FEAT("msp430afe223", "16bit")
232 MSP430_MCU_FEAT("msp430afe233", "16bit")
233 MSP430_MCU_FEAT("msp430afe253", "16bit")
236 MSP430_MCU_FEAT("msp430f4783", "32bit")
237 MSP430_MCU_FEAT("msp430f4793", "32bit")
238 MSP430_MCU_FEAT("msp430f4784", "32bit")
239 MSP430_MCU_FEAT("msp430f4794", "32bit")
242 MSP430_MCU("msp430")
243 MSP430_MCU("msp430i2xxgeneric")
tools/clang/include/clang/Basic/TokenKinds.def 478 ALIAS("__is_literal_type", __is_literal, KEYCXX)
553 ALIAS("global", __global , KEYOPENCLC | KEYOPENCLCXX)
554 ALIAS("local", __local , KEYOPENCLC | KEYOPENCLCXX)
555 ALIAS("constant", __constant , KEYOPENCLC | KEYOPENCLCXX)
556 ALIAS("private", __private , KEYOPENCLC)
557 ALIAS("generic", __generic , KEYOPENCLC | KEYOPENCLCXX)
560 ALIAS("kernel", __kernel , KEYOPENCLC | KEYOPENCLCXX)
565 ALIAS("read_only", __read_only , KEYOPENCLC | KEYOPENCLCXX)
566 ALIAS("write_only", __write_only , KEYOPENCLC | KEYOPENCLCXX)
567 ALIAS("read_write", __read_write , KEYOPENCLC | KEYOPENCLCXX)
588 ALIAS("__fp16", half , KEYALL)
606 ALIAS("__alignof__" , __alignof , KEYALL)
607 ALIAS("__asm" , asm , KEYALL)
608 ALIAS("__asm__" , asm , KEYALL)
609 ALIAS("__attribute__", __attribute, KEYALL)
610 ALIAS("__complex" , _Complex , KEYALL)
611 ALIAS("__complex__" , _Complex , KEYALL)
612 ALIAS("__const" , const , KEYALL)
613 ALIAS("__const__" , const , KEYALL)
614 ALIAS("__decltype" , decltype , KEYCXX)
615 ALIAS("__imag__" , __imag , KEYALL)
616 ALIAS("__inline" , inline , KEYALL)
617 ALIAS("__inline__" , inline , KEYALL)
618 ALIAS("__nullptr" , nullptr , KEYCXX)
619 ALIAS("__real__" , __real , KEYALL)
620 ALIAS("__restrict" , restrict , KEYALL)
621 ALIAS("__restrict__" , restrict , KEYALL)
622 ALIAS("__signed" , signed , KEYALL)
623 ALIAS("__signed__" , signed , KEYALL)
624 ALIAS("__typeof" , typeof , KEYALL)
625 ALIAS("__typeof__" , typeof , KEYALL)
626 ALIAS("__volatile" , volatile , KEYALL)
627 ALIAS("__volatile__" , volatile , KEYALL)
651 ALIAS("__int8" , char , KEYMS)
652 ALIAS("_int8" , char , KEYMS)
653 ALIAS("__int16" , short , KEYMS)
654 ALIAS("_int16" , short , KEYMS)
655 ALIAS("__int32" , int , KEYMS)
656 ALIAS("_int32" , int , KEYMS)
657 ALIAS("_int64" , __int64 , KEYMS)
658 ALIAS("__wchar_t" , wchar_t , KEYMS)
659 ALIAS("_asm" , asm , KEYMS)
660 ALIAS("_alignof" , __alignof , KEYMS)
661 ALIAS("__builtin_alignof", __alignof , KEYMS)
662 ALIAS("_cdecl" , __cdecl , KEYMS | KEYBORLAND)
663 ALIAS("_fastcall" , __fastcall , KEYMS | KEYBORLAND)
664 ALIAS("_stdcall" , __stdcall , KEYMS | KEYBORLAND)
665 ALIAS("_thiscall" , __thiscall , KEYMS)
666 ALIAS("_vectorcall" , __vectorcall, KEYMS)
667 ALIAS("_uuidof" , __uuidof , KEYMS | KEYBORLAND)
668 ALIAS("_inline" , inline , KEYMS)
669 ALIAS("_declspec" , __declspec , KEYMS)
672 ALIAS("_pascal" , __pascal , KEYBORLAND)
676 ALIAS("__char16_t" , char16_t , KEYCXX)
677 ALIAS("__char32_t" , char32_t , KEYCXX)
tools/clang/include/clang/Basic/X86Target.def 72 PROC_ALIAS(Pentium3, "pentium3m")
86 PROC_ALIAS(Pentium4, "pentium4m")
108 PROC_ALIAS(Bonnell, "atom")
111 PROC_ALIAS(Silvermont, "slm")
122 PROC_ALIAS(Nehalem, "corei7")
131 PROC_ALIAS(SandyBridge, "corei7-avx")
136 PROC_ALIAS(IvyBridge, "core-avx-i")
141 PROC_ALIAS(Haswell, "core-avx2")
154 PROC_ALIAS(SkylakeServer, "skx")
204 PROC_ALIAS(Athlon, "athlon-tbird")
207 PROC_ALIAS(AthlonXP, "athlon-mp")
208 PROC_ALIAS(AthlonXP, "athlon-4")
215 PROC_ALIAS(K8, "athlon64")
216 PROC_ALIAS(K8, "athlon-fx")
217 PROC_ALIAS(K8, "opteron")
220 PROC_ALIAS(K8SSE3, "athlon64-sse3")
221 PROC_ALIAS(K8SSE3, "opteron-sse3")
224 PROC_ALIAS(AMDFAM10, "barcelona")
308 CPU_SPECIFIC("generic", 'A', "")
309 CPU_SPECIFIC("pentium", 'B', "")
310 CPU_SPECIFIC("pentium_pro", 'C', "+cmov")
311 CPU_SPECIFIC("pentium_mmx", 'D', "+mmx")
312 CPU_SPECIFIC("pentium_ii", 'E', "+cmov,+mmx")
313 CPU_SPECIFIC("pentium_iii", 'H', "+cmov,+mmx,+sse")
314 CPU_SPECIFIC_ALIAS("pentium_iii_no_xmm_regs", "pentium_iii")
315 CPU_SPECIFIC("pentium_4", 'J', "+cmov,+mmx,+sse,+sse2")
316 CPU_SPECIFIC("pentium_m", 'K', "+cmov,+mmx,+sse,+sse2")
317 CPU_SPECIFIC("pentium_4_sse3", 'L', "+cmov,+mmx,+sse,+sse2,+sse3")
318 CPU_SPECIFIC("core_2_duo_ssse3", 'M', "+cmov,+mmx,+sse,+sse2,+sse3,+ssse3")
319 CPU_SPECIFIC("core_2_duo_sse4_1", 'N', "+cmov,+mmx,+sse,+sse2,+sse3,+ssse3,+sse4.1")
320 CPU_SPECIFIC("atom", 'O', "+cmov,+mmx,+sse,+sse2,+sse3,+ssse3,+movbe")
321 CPU_SPECIFIC("atom_sse4_2", 'c', "+cmov,+mmx,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+popcnt")
322 CPU_SPECIFIC("core_i7_sse4_2", 'P', "+cmov,+mmx,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+popcnt")
323 CPU_SPECIFIC("core_aes_pclmulqdq", 'Q', "+cmov,+mmx,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+popcnt")
324 CPU_SPECIFIC("atom_sse4_2_movbe", 'd', "+cmov,+mmx,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+movbe,+popcnt")
325 CPU_SPECIFIC("goldmont", 'i', "+cmov,+mmx,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+movbe,+popcnt")
326 CPU_SPECIFIC("sandybridge", 'R', "+cmov,+mmx,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+popcnt,+avx")
327 CPU_SPECIFIC_ALIAS("core_2nd_gen_avx", "sandybridge")
328 CPU_SPECIFIC("ivybridge", 'S', "+cmov,+mmx,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+popcnt,+f16c,+avx")
329 CPU_SPECIFIC_ALIAS("core_3rd_gen_avx", "ivybridge")
330 CPU_SPECIFIC("haswell", 'V', "+cmov,+mmx,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+movbe,+popcnt,+f16c,+avx,+fma,+bmi,+lzcnt,+avx2")
331 CPU_SPECIFIC_ALIAS("core_4th_gen_avx", "haswell")
332 CPU_SPECIFIC("core_4th_gen_avx_tsx", 'W', "+cmov,+mmx,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+movbe,+popcnt,+f16c,+avx,+fma,+bmi,+lzcnt,+avx2")
333 CPU_SPECIFIC("broadwell", 'X', "+cmov,+mmx,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+movbe,+popcnt,+f16c,+avx,+fma,+bmi,+lzcnt,+avx2,+adx")
334 CPU_SPECIFIC_ALIAS("core_5th_gen_avx", "broadwell")
335 CPU_SPECIFIC("core_5th_gen_avx_tsx", 'Y', "+cmov,+mmx,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+movbe,+popcnt,+f16c,+avx,+fma,+bmi,+lzcnt,+avx2,+adx")
336 CPU_SPECIFIC("knl", 'Z', "+cmov,+mmx,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+movbe,+popcnt,+f16c,+avx,+fma,+bmi,+lzcnt,+avx2,+avx512f,+adx,+avx512er,+avx512pf,+avx512cd")
337 CPU_SPECIFIC_ALIAS("mic_avx512", "knl")
338 CPU_SPECIFIC("skylake", 'b', "+cmov,+mmx,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+movbe,+popcnt,+f16c,+avx,+fma,+bmi,+lzcnt,+avx2,+adx,+mpx")
339 CPU_SPECIFIC( "skylake_avx512", 'a', "+cmov,+mmx,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+movbe,+popcnt,+f16c,+avx,+fma,+bmi,+lzcnt,+avx2,+avx512dq,+avx512f,+adx,+avx512cd,+avx512bw,+avx512vl,+clwb")
340 CPU_SPECIFIC("cannonlake", 'e', "+cmov,+mmx,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+movbe,+popcnt,+f16c,+avx,+fma,+bmi,+lzcnt,+avx2,+avx512dq,+avx512f,+adx,+avx512ifma,+avx512cd,+avx512bw,+avx512vl,+avx512vbmi")
341 CPU_SPECIFIC("knm", 'j', "+cmov,+mmx,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+movbe,+popcnt,+f16c,+avx,+fma,+bmi,+lzcnt,+avx2,+avx512f,+adx,+avx512er,+avx512pf,+avx512cd,+avx5124fmaps,+avx5124vnniw,+avx512vpopcntdq")
tools/clang/include/clang/Sema/ScopeInfo.h 453 .Case("co_return", 0)
454 .Case("co_await", 1)
455 .Case("co_yield", 2);
tools/clang/include/clang/StaticAnalyzer/Core/Analyses.def 42 ANALYSIS_PURGE(PurgeStmt, "statement", "Purge symbols, bindings, and constraints before every statement")
43 ANALYSIS_PURGE(PurgeBlock, "block", "Purge symbols, bindings, and constraints before every basic block")
44 ANALYSIS_PURGE(PurgeNone, "none", "Do not purge symbols, bindings, or constraints")
50 ANALYSIS_INLINING_MODE(All, "all", "Analyze all functions as top level")
51 ANALYSIS_INLINING_MODE(NoRedundancy, "noredundancy", "Do not analyze a function which has been previously inlined")
tools/clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h 409 .Case("shallow", UMK_Shallow)
410 .Case("deep", UMK_Deep)
tools/clang/lib/ARCMigrate/ObjCMT.cpp 707 .Case("int8_t", "uint8_t")
708 .Case("int16_t", "uint16_t")
709 .Case("int32_t", "uint32_t")
710 .Case("NSInteger", "NSUInteger")
711 .Case("int64_t", "uint64_t")
tools/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp 334 .Case("dispatch_retain", true)
335 .Case("dispatch_release", true)
336 .Case("xpc_retain", true)
337 .Case("xpc_release", true)
tools/clang/lib/AST/CommentLexer.cpp 60 .Case("amp", "&")
61 .Case("lt", "<")
62 .Case("gt", ">")
63 .Case("quot", "\"")
64 .Case("apos", "\'")
tools/clang/lib/AST/CommentSema.cpp 221 .Case("[in]", ParamCommandComment::In)
222 .Case("[out]", ParamCommandComment::Out)
1127 .Case("b", InlineCommandComment::RenderBold)
tools/clang/lib/AST/NSAPI.cpp 513 .Case("int8_t", "int8_t")
514 .Case("int16_t", "int16_t")
515 .Case("int32_t", "int32_t")
516 .Case("NSInteger", "NSInteger")
517 .Case("int64_t", "int64_t")
518 .Case("uint8_t", "uint8_t")
519 .Case("uint16_t", "uint16_t")
520 .Case("uint32_t", "uint32_t")
521 .Case("NSUInteger", "NSUInteger")
522 .Case("uint64_t", "uint64_t")
tools/clang/lib/Analysis/BodyFarm.cpp 690 .Case("dispatch_sync", create_dispatch_sync)
691 .Case("dispatch_once", create_dispatch_once)
tools/clang/lib/Basic/Cuda.cpp 36 .Case("7.0", CudaVersion::CUDA_70)
37 .Case("7.5", CudaVersion::CUDA_75)
38 .Case("8.0", CudaVersion::CUDA_80)
39 .Case("9.0", CudaVersion::CUDA_90)
40 .Case("9.1", CudaVersion::CUDA_91)
41 .Case("9.2", CudaVersion::CUDA_92)
42 .Case("10.0", CudaVersion::CUDA_100)
43 .Case("10.1", CudaVersion::CUDA_101);
128 .Case("sm_20", CudaArch::SM_20)
129 .Case("sm_21", CudaArch::SM_21)
130 .Case("sm_30", CudaArch::SM_30)
131 .Case("sm_32", CudaArch::SM_32)
132 .Case("sm_35", CudaArch::SM_35)
133 .Case("sm_37", CudaArch::SM_37)
134 .Case("sm_50", CudaArch::SM_50)
135 .Case("sm_52", CudaArch::SM_52)
136 .Case("sm_53", CudaArch::SM_53)
137 .Case("sm_60", CudaArch::SM_60)
138 .Case("sm_61", CudaArch::SM_61)
139 .Case("sm_62", CudaArch::SM_62)
140 .Case("sm_70", CudaArch::SM_70)
141 .Case("sm_72", CudaArch::SM_72)
142 .Case("sm_75", CudaArch::SM_75)
143 .Case("gfx600", CudaArch::GFX600)
144 .Case("gfx601", CudaArch::GFX601)
145 .Case("gfx700", CudaArch::GFX700)
146 .Case("gfx701", CudaArch::GFX701)
147 .Case("gfx702", CudaArch::GFX702)
148 .Case("gfx703", CudaArch::GFX703)
149 .Case("gfx704", CudaArch::GFX704)
150 .Case("gfx801", CudaArch::GFX801)
151 .Case("gfx802", CudaArch::GFX802)
152 .Case("gfx803", CudaArch::GFX803)
153 .Case("gfx810", CudaArch::GFX810)
154 .Case("gfx900", CudaArch::GFX900)
155 .Case("gfx902", CudaArch::GFX902)
156 .Case("gfx904", CudaArch::GFX904)
157 .Case("gfx906", CudaArch::GFX906)
158 .Case("gfx908", CudaArch::GFX908)
159 .Case("gfx909", CudaArch::GFX909)
160 .Case("gfx1010", CudaArch::GFX1010)
161 .Case("gfx1011", CudaArch::GFX1011)
162 .Case("gfx1012", CudaArch::GFX1012)
206 .Case("compute_20", CudaVirtualArch::COMPUTE_20)
207 .Case("compute_30", CudaVirtualArch::COMPUTE_30)
208 .Case("compute_32", CudaVirtualArch::COMPUTE_32)
209 .Case("compute_35", CudaVirtualArch::COMPUTE_35)
210 .Case("compute_37", CudaVirtualArch::COMPUTE_37)
211 .Case("compute_50", CudaVirtualArch::COMPUTE_50)
212 .Case("compute_52", CudaVirtualArch::COMPUTE_52)
213 .Case("compute_53", CudaVirtualArch::COMPUTE_53)
214 .Case("compute_60", CudaVirtualArch::COMPUTE_60)
215 .Case("compute_61", CudaVirtualArch::COMPUTE_61)
216 .Case("compute_62", CudaVirtualArch::COMPUTE_62)
217 .Case("compute_70", CudaVirtualArch::COMPUTE_70)
218 .Case("compute_72", CudaVirtualArch::COMPUTE_72)
219 .Case("compute_75", CudaVirtualArch::COMPUTE_75)
220 .Case("compute_amdgcn", CudaVirtualArch::COMPUTE_AMDGCN)
tools/clang/lib/Basic/Module.cpp 109 .Case("altivec", LangOpts.AltiVec)
110 .Case("blocks", LangOpts.Blocks)
111 .Case("coroutines", LangOpts.Coroutines)
112 .Case("cplusplus", LangOpts.CPlusPlus)
113 .Case("cplusplus11", LangOpts.CPlusPlus11)
114 .Case("cplusplus14", LangOpts.CPlusPlus14)
115 .Case("cplusplus17", LangOpts.CPlusPlus17)
116 .Case("c99", LangOpts.C99)
117 .Case("c11", LangOpts.C11)
118 .Case("c17", LangOpts.C17)
119 .Case("freestanding", LangOpts.Freestanding)
120 .Case("gnuinlineasm", LangOpts.GNUAsm)
121 .Case("objc", LangOpts.ObjC)
122 .Case("objc_arc", LangOpts.ObjCAutoRefCount)
123 .Case("opencl", LangOpts.OpenCL)
124 .Case("tls", Target.isTLSSupported())
125 .Case("zvector", LangOpts.ZVector)
tools/clang/lib/Basic/OpenMPKinds.cpp 57 .Case("uniform", OMPC_uniform)
58 .Case("device_type", OMPC_device_type)
59 .Case("match", OMPC_match)
tools/clang/lib/Basic/Targets/ARM.cpp 528 .Case("arm", true)
529 .Case("aarch32", true)
530 .Case("softfloat", SoftFloat)
531 .Case("thumb", isThumb())
532 .Case("neon", (FPU & NeonFPU) && !SoftFloat)
533 .Case("vfp", FPU && !SoftFloat)
534 .Case("hwdiv", HWDiv & HWDivThumb)
535 .Case("hwdiv-arm", HWDiv & HWDivARM)
536 .Case("mve", hasMVE())
tools/clang/lib/Basic/Targets/Hexagon.cpp 134 .Case("hexagon", true)
135 .Case("hvx", HasHVX)
136 .Case("hvx-length64b", HasHVX64B)
137 .Case("hvx-length128b", HasHVX128B)
138 .Case("long-calls", UseLongCalls)
tools/clang/lib/Basic/Targets/Lanai.cpp 40 return llvm::StringSwitch<bool>(Name).Case("v11", true).Default(false);
48 CPU = llvm::StringSwitch<CPUKind>(Name).Case("v11", CK_V11).Default(CK_NONE);
54 return llvm::StringSwitch<bool>(Feature).Case("lanai", true).Default(false);
tools/clang/lib/Basic/Targets/Mips.cpp 33 .Case("mips3", true)
34 .Case("mips4", true)
35 .Case("mips5", true)
36 .Case("mips64", true)
37 .Case("mips64r2", true)
38 .Case("mips64r3", true)
39 .Case("mips64r5", true)
40 .Case("mips64r6", true)
41 .Case("octeon", true)
208 .Case("mips", true)
209 .Case("fp64", FPMode == FP64)
220 .Case("o32", 32)
221 .Case("n32", 64)
222 .Case("n64", 64)
tools/clang/lib/Basic/Targets/NVPTX.cpp 47 .Case("+ptx64", 64)
48 .Case("+ptx63", 63)
49 .Case("+ptx61", 61)
50 .Case("+ptx60", 60)
51 .Case("+ptx50", 50)
52 .Case("+ptx43", 43)
53 .Case("+ptx42", 42)
54 .Case("+ptx41", 41)
55 .Case("+ptx40", 40)
56 .Case("+ptx32", 32)
tools/clang/lib/Basic/Targets/PPC.cpp 260 .Case("7400", true)
261 .Case("g4", true)
262 .Case("7450", true)
263 .Case("g4+", true)
264 .Case("970", true)
265 .Case("g5", true)
266 .Case("pwr6", true)
267 .Case("pwr7", true)
268 .Case("pwr8", true)
269 .Case("pwr9", true)
270 .Case("ppc64", true)
271 .Case("ppc64le", true)
277 .Case("ppc64le", true)
278 .Case("pwr9", true)
279 .Case("pwr8", true)
282 .Case("ppc64le", true)
283 .Case("pwr9", true)
284 .Case("pwr8", true)
287 .Case("ppc64le", true)
288 .Case("pwr9", true)
289 .Case("pwr8", true)
290 .Case("pwr7", true)
293 .Case("ppc64le", true)
294 .Case("pwr9", true)
295 .Case("pwr8", true)
296 .Case("pwr7", true)
299 .Case("ppc64le", true)
300 .Case("pwr9", true)
301 .Case("pwr8", true)
304 .Case("ppc64le", true)
305 .Case("pwr9", true)
306 .Case("pwr8", true)
307 .Case("pwr7", true)
310 .Case("ppc64le", true)
311 .Case("pwr9", true)
312 .Case("pwr8", true)
330 .Case("powerpc", true)
331 .Case("altivec", HasAltivec)
332 .Case("vsx", HasVSX)
333 .Case("power8-vector", HasP8Vector)
334 .Case("crypto", HasP8Crypto)
335 .Case("direct-move", HasDirectMove)
336 .Case("qpx", HasQPX)
337 .Case("htm", HasHTM)
338 .Case("bpermd", HasBPERMD)
339 .Case("extdiv", HasExtDiv)
340 .Case("float128", HasFloat128)
341 .Case("power9-vector", HasP9Vector)
342 .Case("spe", HasSPE)
352 .Case("vsx", true)
353 .Case("direct-move", true)
354 .Case("power8-vector", true)
355 .Case("power9-vector", true)
356 .Case("float128", true)
tools/clang/lib/Basic/Targets/PPC.h 101 .Case("440", ArchDefineName)
102 .Case("450", ArchDefineName | ArchDefine440)
103 .Case("601", ArchDefineName)
104 .Case("602", ArchDefineName | ArchDefinePpcgr)
105 .Case("603", ArchDefineName | ArchDefinePpcgr)
106 .Case("603e", ArchDefineName | ArchDefine603 | ArchDefinePpcgr)
107 .Case("603ev", ArchDefineName | ArchDefine603 | ArchDefinePpcgr)
108 .Case("604", ArchDefineName | ArchDefinePpcgr)
109 .Case("604e", ArchDefineName | ArchDefine604 | ArchDefinePpcgr)
110 .Case("620", ArchDefineName | ArchDefinePpcgr)
111 .Case("630", ArchDefineName | ArchDefinePpcgr)
112 .Case("7400", ArchDefineName | ArchDefinePpcgr)
113 .Case("7450", ArchDefineName | ArchDefinePpcgr)
114 .Case("750", ArchDefineName | ArchDefinePpcgr)
115 .Case("970", ArchDefineName | ArchDefinePwr4 | ArchDefinePpcgr |
117 .Case("a2", ArchDefineA2)
118 .Case("a2q", ArchDefineName | ArchDefineA2 | ArchDefineA2q)
tools/clang/lib/Basic/Targets/RISCV.cpp 134 .Case("riscv", true)
135 .Case("riscv32", !Is64Bit)
136 .Case("riscv64", Is64Bit)
137 .Case("m", HasM)
138 .Case("a", HasA)
139 .Case("f", HasF)
140 .Case("d", HasD)
141 .Case("c", HasC)
tools/clang/lib/Basic/Targets/Sparc.cpp 56 .Case("softfloat", SoftFloat)
57 .Case("sparc", true)
tools/clang/lib/Basic/Targets/SystemZ.cpp 116 .Case("systemz", true)
117 .Case("arch8", ISARevision >= 8)
118 .Case("arch9", ISARevision >= 9)
119 .Case("arch10", ISARevision >= 10)
120 .Case("arch11", ISARevision >= 11)
121 .Case("arch12", ISARevision >= 12)
122 .Case("arch13", ISARevision >= 13)
123 .Case("htm", HasTransactionalExecution)
124 .Case("vx", HasVector)
tools/clang/lib/Basic/Targets/WebAssembly.cpp 38 .Case("simd128", SIMDLevel >= SIMD128)
39 .Case("unimplemented-simd128", SIMDLevel >= UnimplementedSIMD128)
40 .Case("nontrapping-fptoint", HasNontrappingFPToInt)
41 .Case("sign-ext", HasSignExt)
42 .Case("exception-handling", HasExceptionHandling)
43 .Case("bulk-memory", HasBulkMemory)
44 .Case("atomics", HasAtomics)
45 .Case("mutable-globals", HasMutableGlobals)
46 .Case("multivalue", HasMultivalue)
47 .Case("tail-call", HasTailCall)
tools/clang/lib/Basic/Targets/X86.cpp 858 .Case("+avx512f", AVX512F)
859 .Case("+avx2", AVX2)
860 .Case("+avx", AVX)
861 .Case("+sse4.2", SSE42)
862 .Case("+sse4.1", SSE41)
863 .Case("+ssse3", SSSE3)
864 .Case("+sse3", SSE3)
865 .Case("+sse2", SSE2)
866 .Case("+sse", SSE1)
871 .Case("+3dnowa", AMD3DNowAthlon)
872 .Case("+3dnow", AMD3DNow)
873 .Case("+mmx", MMX)
878 .Case("+xop", XOP)
879 .Case("+fma4", FMA4)
880 .Case("+sse4a", SSE4A)
1333 .Case("3dnow", true)
1334 .Case("3dnowa", true)
1335 .Case("adx", true)
1336 .Case("aes", true)
1337 .Case("avx", true)
1338 .Case("avx2", true)
1339 .Case("avx512f", true)
1340 .Case("avx512cd", true)
1341 .Case("avx512vpopcntdq", true)
1342 .Case("avx512vnni", true)
1343 .Case("avx512bf16", true)
1344 .Case("avx512er", true)
1345 .Case("avx512pf", true)
1346 .Case("avx512dq", true)
1347 .Case("avx512bitalg", true)
1348 .Case("avx512bw", true)
1349 .Case("avx512vl", true)
1350 .Case("avx512vbmi", true)
1351 .Case("avx512vbmi2", true)
1352 .Case("avx512ifma", true)
1353 .Case("avx512vp2intersect", true)
1354 .Case("bmi", true)
1355 .Case("bmi2", true)
1356 .Case("cldemote", true)
1357 .Case("clflushopt", true)
1358 .Case("clwb", true)
1359 .Case("clzero", true)
1360 .Case("cx16", true)
1361 .Case("enqcmd", true)
1362 .Case("f16c", true)
1363 .Case("fma", true)
1364 .Case("fma4", true)
1365 .Case("fsgsbase", true)
1366 .Case("fxsr", true)
1367 .Case("gfni", true)
1368 .Case("invpcid", true)
1369 .Case("lwp", true)
1370 .Case("lzcnt", true)
1371 .Case("mmx", true)
1372 .Case("movbe", true)
1373 .Case("movdiri", true)
1374 .Case("movdir64b", true)
1375 .Case("mwaitx", true)
1376 .Case("pclmul", true)
1377 .Case("pconfig", true)
1378 .Case("pku", true)
1379 .Case("popcnt", true)
1380 .Case("prefetchwt1", true)
1381 .Case("prfchw", true)
1382 .Case("ptwrite", true)
1383 .Case("rdpid", true)
1384 .Case("rdrnd", true)
1385 .Case("rdseed", true)
1386 .Case("rtm", true)
1387 .Case("sahf", true)
1388 .Case("sgx", true)
1389 .Case("sha", true)
1390 .Case("shstk", true)
1391 .Case("sse", true)
1392 .Case("sse2", true)
1393 .Case("sse3", true)
1394 .Case("ssse3", true)
1395 .Case("sse4", true)
1396 .Case("sse4.1", true)
1397 .Case("sse4.2", true)
1398 .Case("sse4a", true)
1399 .Case("tbm", true)
1400 .Case("vaes", true)
1401 .Case("vpclmulqdq", true)
1402 .Case("wbnoinvd", true)
1403 .Case("waitpkg", true)
1404 .Case("x87", true)
1405 .Case("xop", true)
1406 .Case("xsave", true)
1407 .Case("xsavec", true)
1408 .Case("xsaves", true)
1409 .Case("xsaveopt", true)
1415 .Case("adx", HasADX)
1416 .Case("aes", HasAES)
1417 .Case("avx", SSELevel >= AVX)
1418 .Case("avx2", SSELevel >= AVX2)
1419 .Case("avx512f", SSELevel >= AVX512F)
1420 .Case("avx512cd", HasAVX512CD)
1421 .Case("avx512vpopcntdq", HasAVX512VPOPCNTDQ)
1422 .Case("avx512vnni", HasAVX512VNNI)
1423 .Case("avx512bf16", HasAVX512BF16)
1424 .Case("avx512er", HasAVX512ER)
1425 .Case("avx512pf", HasAVX512PF)
1426 .Case("avx512dq", HasAVX512DQ)
1427 .Case("avx512bitalg", HasAVX512BITALG)
1428 .Case("avx512bw", HasAVX512BW)
1429 .Case("avx512vl", HasAVX512VL)
1430 .Case("avx512vbmi", HasAVX512VBMI)
1431 .Case("avx512vbmi2", HasAVX512VBMI2)
1432 .Case("avx512ifma", HasAVX512IFMA)
1433 .Case("avx512vp2intersect", HasAVX512VP2INTERSECT)
1434 .Case("bmi", HasBMI)
1435 .Case("bmi2", HasBMI2)
1436 .Case("cldemote", HasCLDEMOTE)
1437 .Case("clflushopt", HasCLFLUSHOPT)
1438 .Case("clwb", HasCLWB)
1439 .Case("clzero", HasCLZERO)
1440 .Case("cx8", HasCX8)
1441 .Case("cx16", HasCX16)
1442 .Case("enqcmd", HasENQCMD)
1443 .Case("f16c", HasF16C)
1444 .Case("fma", HasFMA)
1445 .Case("fma4", XOPLevel >= FMA4)
1446 .Case("fsgsbase", HasFSGSBASE)
1447 .Case("fxsr", HasFXSR)
1448 .Case("gfni", HasGFNI)
1449 .Case("invpcid", HasINVPCID)
1450 .Case("lwp", HasLWP)
1451 .Case("lzcnt", HasLZCNT)
1452 .Case("mm3dnow", MMX3DNowLevel >= AMD3DNow)
1453 .Case("mm3dnowa", MMX3DNowLevel >= AMD3DNowAthlon)
1454 .Case("mmx", MMX3DNowLevel >= MMX)
1455 .Case("movbe", HasMOVBE)
1456 .Case("movdiri", HasMOVDIRI)
1457 .Case("movdir64b", HasMOVDIR64B)
1458 .Case("mwaitx", HasMWAITX)
1459 .Case("pclmul", HasPCLMUL)
1460 .Case("pconfig", HasPCONFIG)
1461 .Case("pku", HasPKU)
1462 .Case("popcnt", HasPOPCNT)
1463 .Case("prefetchwt1", HasPREFETCHWT1)
1464 .Case("prfchw", HasPRFCHW)
1465 .Case("ptwrite", HasPTWRITE)
1466 .Case("rdpid", HasRDPID)
1467 .Case("rdrnd", HasRDRND)
1468 .Case("rdseed", HasRDSEED)
1469 .Case("retpoline-external-thunk", HasRetpolineExternalThunk)
1470 .Case("rtm", HasRTM)
1471 .Case("sahf", HasLAHFSAHF)
1472 .Case("sgx", HasSGX)
1473 .Case("sha", HasSHA)
1474 .Case("shstk", HasSHSTK)
1475 .Case("sse", SSELevel >= SSE1)
1476 .Case("sse2", SSELevel >= SSE2)
1477 .Case("sse3", SSELevel >= SSE3)
1478 .Case("ssse3", SSELevel >= SSSE3)
1479 .Case("sse4.1", SSELevel >= SSE41)
1480 .Case("sse4.2", SSELevel >= SSE42)
1481 .Case("sse4a", XOPLevel >= SSE4A)
1482 .Case("tbm", HasTBM)
1483 .Case("vaes", HasVAES)
1484 .Case("vpclmulqdq", HasVPCLMULQDQ)
1485 .Case("wbnoinvd", HasWBNOINVD)
1486 .Case("waitpkg", HasWAITPKG)
1487 .Case("x86", true)
1488 .Case("x86_32", getTriple().getArch() == llvm::Triple::x86)
1489 .Case("x86_64", getTriple().getArch() == llvm::Triple::x86_64)
1490 .Case("xop", XOPLevel >= XOP)
1491 .Case("xsave", HasXSAVE)
1492 .Case("xsavec", HasXSAVEC)
1493 .Case("xsaves", HasXSAVES)
1494 .Case("xsaveopt", HasXSAVEOPT)
1604 .Case("@cca", 4)
1605 .Case("@ccae", 5)
1606 .Case("@ccb", 4)
1607 .Case("@ccbe", 5)
1608 .Case("@ccc", 4)
1609 .Case("@cce", 4)
1610 .Case("@ccz", 4)
1611 .Case("@ccg", 4)
1612 .Case("@ccge", 5)
1613 .Case("@ccl", 4)
1614 .Case("@ccle", 5)
1615 .Case("@ccna", 5)
1616 .Case("@ccnae", 6)
1617 .Case("@ccnb", 5)
1618 .Case("@ccnbe", 6)
1619 .Case("@ccnc", 5)
1620 .Case("@ccne", 5)
1621 .Case("@ccnz", 5)
1622 .Case("@ccng", 5)
1623 .Case("@ccnge", 6)
1624 .Case("@ccnl", 5)
1625 .Case("@ccnle", 6)
1626 .Case("@ccno", 5)
1627 .Case("@ccnp", 5)
1628 .Case("@ccns", 5)
1629 .Case("@cco", 4)
1630 .Case("@ccp", 4)
1631 .Case("@ccs", 4)
tools/clang/lib/Basic/XRayInstr.cpp 20 .Case("all", XRayInstrKind::All)
21 .Case("custom", XRayInstrKind::Custom)
22 .Case("function", XRayInstrKind::Function)
23 .Case("typed", XRayInstrKind::Typed)
24 .Case("none", XRayInstrKind::None)
tools/clang/lib/CodeGen/BackendUtil.cpp 397 .Case("tiny", llvm::CodeModel::Tiny)
398 .Case("small", llvm::CodeModel::Small)
399 .Case("kernel", llvm::CodeModel::Kernel)
400 .Case("medium", llvm::CodeModel::Medium)
401 .Case("large", llvm::CodeModel::Large)
402 .Case("default", ~1u)
428 .Case("posix", llvm::ThreadModel::POSIX)
429 .Case("single", llvm::ThreadModel::Single);
437 .Case("soft", llvm::FloatABI::Soft)
438 .Case("softfp", llvm::FloatABI::Soft)
439 .Case("hard", llvm::FloatABI::Hard)
tools/clang/lib/CodeGen/CodeGenModule.cpp 594 .Case("tiny", llvm::CodeModel::Tiny)
595 .Case("small", llvm::CodeModel::Small)
596 .Case("kernel", llvm::CodeModel::Kernel)
597 .Case("medium", llvm::CodeModel::Medium)
598 .Case("large", llvm::CodeModel::Large)
900 .Case("global-dynamic", llvm::GlobalVariable::GeneralDynamicTLSModel)
901 .Case("local-dynamic", llvm::GlobalVariable::LocalDynamicTLSModel)
902 .Case("initial-exec", llvm::GlobalVariable::InitialExecTLSModel)
903 .Case("local-exec", llvm::GlobalVariable::LocalExecTLSModel);
tools/clang/lib/Driver/Distro.cpp 31 .Case("hardy", Distro::UbuntuHardy)
32 .Case("intrepid", Distro::UbuntuIntrepid)
33 .Case("jaunty", Distro::UbuntuJaunty)
34 .Case("karmic", Distro::UbuntuKarmic)
35 .Case("lucid", Distro::UbuntuLucid)
36 .Case("maverick", Distro::UbuntuMaverick)
37 .Case("natty", Distro::UbuntuNatty)
38 .Case("oneiric", Distro::UbuntuOneiric)
39 .Case("precise", Distro::UbuntuPrecise)
40 .Case("quantal", Distro::UbuntuQuantal)
41 .Case("raring", Distro::UbuntuRaring)
42 .Case("saucy", Distro::UbuntuSaucy)
43 .Case("trusty", Distro::UbuntuTrusty)
44 .Case("utopic", Distro::UbuntuUtopic)
45 .Case("vivid", Distro::UbuntuVivid)
46 .Case("wily", Distro::UbuntuWily)
47 .Case("xenial", Distro::UbuntuXenial)
48 .Case("yakkety", Distro::UbuntuYakkety)
49 .Case("zesty", Distro::UbuntuZesty)
50 .Case("artful", Distro::UbuntuArtful)
51 .Case("bionic", Distro::UbuntuBionic)
52 .Case("cosmic", Distro::UbuntuCosmic)
53 .Case("disco", Distro::UbuntuDisco)
54 .Case("eoan", Distro::UbuntuEoan)
104 .Case("squeeze/sid", Distro::DebianSqueeze)
105 .Case("wheezy/sid", Distro::DebianWheezy)
106 .Case("jessie/sid", Distro::DebianJessie)
107 .Case("stretch/sid", Distro::DebianStretch)
108 .Case("buster/sid", Distro::DebianBuster)
109 .Case("bullseye/sid", Distro::DebianBullseye)
tools/clang/lib/Driver/Driver.cpp 177 .Case("gcc", GCCMode)
178 .Case("g++", GXXMode)
179 .Case("cpp", CPPMode)
180 .Case("cl", CLMode)
561 .Case("full", LTOK_Full)
562 .Case("thin", LTOK_Thin)
581 .Case("libomp", OMPRT_OMP)
582 .Case("libgomp", OMPRT_GOMP)
583 .Case("libiomp5", OMPRT_IOMP5)
1075 .Case("cwd", SaveTempsCwd)
1076 .Case("obj", SaveTempsObj)
1086 .Case("off", EmbedNone)
1087 .Case("all", EmbedBitcode)
1088 .Case("bitcode", EmbedBitcode)
1089 .Case("marker", EmbedMarker)
tools/clang/lib/Driver/Job.cpp 81 .Case("-MMD", true)
tools/clang/lib/Driver/SanitizerArgs.cpp 1099 .Case("func", CoverageFunc)
1100 .Case("bb", CoverageBB)
1101 .Case("edge", CoverageEdge)
1102 .Case("indirect-calls", CoverageIndirCall)
1103 .Case("trace-bb", CoverageTraceBB)
1104 .Case("trace-cmp", CoverageTraceCmp)
1105 .Case("trace-div", CoverageTraceDiv)
1106 .Case("trace-gep", CoverageTraceGep)
1107 .Case("8bit-counters", Coverage8bitCounters)
1108 .Case("trace-pc", CoverageTracePC)
1109 .Case("trace-pc-guard", CoverageTracePCGuard)
1110 .Case("no-prune", CoverageNoPrune)
1111 .Case("inline-8bit-counters", CoverageInline8bitCounters)
1112 .Case("pc-table", CoveragePCTable)
1113 .Case("stack-depth", CoverageStackDepth)
tools/clang/lib/Driver/ToolChains/AVR.cpp 34 .Case("atmega328", Optional<StringRef>("avr5"))
35 .Case("atmega328p", Optional<StringRef>("avr5"))
tools/clang/lib/Driver/ToolChains/Arch/ARM.cpp 144 .Case("cp15", ReadTPMode::Cp15)
145 .Case("soft", ReadTPMode::Soft)
174 .Case("soft", FloatABI::Soft)
175 .Case("softfp", FloatABI::SoftFP)
176 .Case("hard", FloatABI::Hard)
tools/clang/lib/Driver/ToolChains/Arch/Mips.cpp 68 .Case("32", "o32")
69 .Case("64", "n64")
96 .Case("mips1", "o32")
97 .Case("mips2", "o32")
98 .Case("mips3", "n64")
99 .Case("mips4", "n64")
100 .Case("mips5", "n64")
101 .Case("mips32", "o32")
102 .Case("mips32r2", "o32")
103 .Case("mips32r3", "o32")
104 .Case("mips32r5", "o32")
105 .Case("mips32r6", "o32")
106 .Case("mips64", "n64")
107 .Case("mips64r2", "n64")
108 .Case("mips64r3", "n64")
109 .Case("mips64r5", "n64")
110 .Case("mips64r6", "n64")
111 .Case("octeon", "n64")
112 .Case("p5600", "o32")
124 .Case("o32", DefMips32CPU)
137 .Case("o32", "")
138 .Case("n32", "32")
139 .Case("n64", "64");
145 .Case("o32", "32")
146 .Case("n64", "64")
164 .Case("soft", mips::FloatABI::Soft)
165 .Case("hard", mips::FloatABI::Hard)
408 .Case("mips1", Legacy)
409 .Case("mips2", Legacy)
410 .Case("mips3", Legacy)
411 .Case("mips4", Legacy)
412 .Case("mips5", Legacy)
413 .Case("mips32", Legacy)
414 .Case("mips32r2", Legacy | Std2008)
415 .Case("mips32r3", Legacy | Std2008)
416 .Case("mips32r5", Legacy | Std2008)
417 .Case("mips32r6", Std2008)
418 .Case("mips64", Legacy)
419 .Case("mips64r2", Legacy | Std2008)
420 .Case("mips64r3", Legacy | Std2008)
421 .Case("mips64r5", Legacy | Std2008)
422 .Case("mips64r6", Std2008)
429 .Case("mips32r6", true)
430 .Case("mips64r6", true)
447 .Case("2008", true)
448 .Case("legacy", false)
465 .Case("mips32r6", true)
509 .Case("mips32r2", true)
510 .Case("mips32r3", true)
511 .Case("mips32r5", true)
512 .Case("mips32r6", true)
513 .Case("mips64r2", true)
514 .Case("mips64r3", true)
515 .Case("mips64r5", true)
516 .Case("mips64r6", true)
517 .Case("octeon", true)
518 .Case("p5600", true)
tools/clang/lib/Driver/ToolChains/Arch/PPC.cpp 37 .Case("common", "generic")
38 .Case("440", "440")
39 .Case("440fp", "440")
40 .Case("450", "450")
41 .Case("601", "601")
42 .Case("602", "602")
43 .Case("603", "603")
44 .Case("603e", "603e")
45 .Case("603ev", "603ev")
46 .Case("604", "604")
47 .Case("604e", "604e")
48 .Case("620", "620")
49 .Case("630", "pwr3")
50 .Case("G3", "g3")
51 .Case("7400", "7400")
52 .Case("G4", "g4")
53 .Case("7450", "7450")
54 .Case("G4+", "g4+")
55 .Case("750", "750")
56 .Case("970", "970")
57 .Case("G5", "g5")
58 .Case("a2", "a2")
59 .Case("a2q", "a2q")
60 .Case("e500mc", "e500mc")
61 .Case("e5500", "e5500")
62 .Case("power3", "pwr3")
63 .Case("power4", "pwr4")
64 .Case("power5", "pwr5")
65 .Case("power5x", "pwr5x")
66 .Case("power6", "pwr6")
67 .Case("power6x", "pwr6x")
68 .Case("power7", "pwr7")
69 .Case("power8", "pwr8")
70 .Case("power9", "pwr9")
71 .Case("pwr3", "pwr3")
72 .Case("pwr4", "pwr4")
73 .Case("pwr5", "pwr5")
74 .Case("pwr5x", "pwr5x")
75 .Case("pwr6", "pwr6")
76 .Case("pwr6x", "pwr6x")
77 .Case("pwr7", "pwr7")
78 .Case("pwr8", "pwr8")
79 .Case("pwr9", "pwr9")
80 .Case("powerpc", "ppc")
81 .Case("powerpc64", "ppc64")
82 .Case("powerpc64le", "ppc64le")
91 .Case("pwr7", "-mpower7")
92 .Case("power7", "-mpower7")
93 .Case("pwr8", "-mpower8")
94 .Case("power8", "-mpower8")
95 .Case("ppc64le", "-mpower8")
96 .Case("pwr9", "-mpower9")
97 .Case("power9", "-mpower9")
137 .Case("soft", ppc::FloatABI::Soft)
138 .Case("hard", ppc::FloatABI::Hard)
tools/clang/lib/Driver/ToolChains/Arch/Sparc.cpp 25 .Case("niagara", "-Av9b")
26 .Case("niagara2", "-Av9b")
27 .Case("niagara3", "-Av9d")
28 .Case("niagara4", "-Av9d")
32 .Case("v8", "-Av8")
33 .Case("supersparc", "-Av8")
34 .Case("sparclite", "-Asparclite")
35 .Case("f934", "-Asparclite")
36 .Case("hypersparc", "-Av8")
37 .Case("sparclite86x", "-Asparclite")
38 .Case("sparclet", "-Asparclet")
39 .Case("tsc701", "-Asparclet")
40 .Case("v9", "-Av8plus")
41 .Case("ultrasparc", "-Av8plus")
42 .Case("ultrasparc3", "-Av8plus")
43 .Case("niagara", "-Av8plusb")
44 .Case("niagara2", "-Av8plusb")
45 .Case("niagara3", "-Av8plusd")
46 .Case("niagara4", "-Av8plusd")
47 .Case("ma2100", "-Aleon")
48 .Case("ma2150", "-Aleon")
49 .Case("ma2155", "-Aleon")
50 .Case("ma2450", "-Aleon")
51 .Case("ma2455", "-Aleon")
52 .Case("ma2x5x", "-Aleon")
53 .Case("ma2080", "-Aleon")
54 .Case("ma2085", "-Aleon")
55 .Case("ma2480", "-Aleon")
56 .Case("ma2485", "-Aleon")
57 .Case("ma2x8x", "-Aleon")
58 .Case("myriad2", "-Aleon")
59 .Case("myriad2.1", "-Aleon")
60 .Case("myriad2.2", "-Aleon")
61 .Case("myriad2.3", "-Aleon")
62 .Case("leon2", "-Av8")
63 .Case("at697e", "-Av8")
64 .Case("at697f", "-Av8")
65 .Case("leon3", "-Aleon")
66 .Case("ut699", "-Av8")
67 .Case("gr712rc", "-Aleon")
68 .Case("leon4", "-Aleon")
69 .Case("gr740", "-Aleon")
86 .Case("soft", sparc::FloatABI::Soft)
87 .Case("hard", sparc::FloatABI::Hard)
tools/clang/lib/Driver/ToolChains/Arch/X86.cpp 45 .Case("IA32", "i386")
46 .Case("SSE", "pentium3")
47 .Case("SSE2", "pentium4")
52 .Case("AVX", "sandybridge")
53 .Case("AVX2", "haswell")
54 .Case("AVX512F", "knl")
55 .Case("AVX512", "skylake-avx512")
tools/clang/lib/Driver/ToolChains/Clang.cpp 868 .Case("-gdwarf-2", 2)
869 .Case("-gdwarf-3", 3)
870 .Case("-gdwarf-4", 4)
871 .Case("-gdwarf-5", 5)
2112 .Case("-mips1", "+mips1")
2113 .Case("-mips2", "+mips2")
2114 .Case("-mips3", "+mips3")
2115 .Case("-mips4", "+mips4")
2116 .Case("-mips5", "+mips5")
2117 .Case("-mips32", "+mips32")
2118 .Case("-mips32r2", "+mips32r2")
2119 .Case("-mips32r3", "+mips32r3")
2120 .Case("-mips32r5", "+mips32r5")
2121 .Case("-mips32r6", "+mips32r6")
2122 .Case("-mips64", "+mips64")
2123 .Case("-mips64r2", "+mips64r2")
2124 .Case("-mips64r3", "+mips64r3")
2125 .Case("-mips64r5", "+mips64r5")
2126 .Case("-mips64r6", "+mips64r6")
4830 .Case("c++14", "-std=c++14")
4831 .Case("c++17", "-std=c++17")
4832 .Case("c++latest", "-std=c++2a")
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp 215 .Case("rv740", "rv770")
216 .Case("palm", "cedar")
218 .Case("hemlock", "cypress")
219 .Case("aruba", "cayman")
tools/clang/lib/Driver/ToolChains/Cuda.cpp 377 .Case("1", "1")
378 .Case("2", "2")
379 .Case("3", "3")
380 .Case("s", "2")
381 .Case("z", "2")
tools/clang/lib/Driver/ToolChains/Darwin.cpp 50 .Case("ppc64", llvm::Triple::ppc64)
59 .Case("arm64", llvm::Triple::aarch64)
60 .Case("r600", llvm::Triple::r600)
61 .Case("amdgcn", llvm::Triple::amdgcn)
62 .Case("nvptx", llvm::Triple::nvptx)
63 .Case("nvptx64", llvm::Triple::nvptx64)
64 .Case("amdil", llvm::Triple::amdil)
65 .Case("spir", llvm::Triple::spir)
191 .Case("1", true)
795 .Case("armv6k", "armv6")
796 .Case("armv6m", "armv6m")
797 .Case("armv5tej", "armv5")
798 .Case("xscale", "xscale")
799 .Case("armv4t", "armv4t")
800 .Case("armv7", "armv7")
tools/clang/lib/Driver/ToolChains/HIP.cpp 106 .Case("1", "1")
107 .Case("2", "2")
108 .Case("3", "3")
109 .Case("s", "2")
110 .Case("z", "2")
tools/clang/lib/Driver/ToolChains/Hexagon.cpp 31 .Case("v60", "64b")
32 .Case("v62", "64b")
33 .Case("v65", "64b")
34 .Case("v66", "128b")
tools/clang/lib/Driver/ToolChains/MSP430.cpp 50 .Case("16bit", "-lmul_16")
51 .Case("32bit", "-lmul_32")
52 .Case("f5series", "-lmul_f5")
tools/clang/lib/Driver/Types.cpp 221 .Case("c", TY_C)
222 .Case("C", TY_CXX)
223 .Case("F", TY_Fortran)
224 .Case("f", TY_PP_Fortran)
225 .Case("h", TY_CHeader)
226 .Case("H", TY_CXXHeader)
227 .Case("i", TY_PP_C)
228 .Case("m", TY_ObjC)
229 .Case("M", TY_ObjCXX)
230 .Case("o", TY_Object)
231 .Case("S", TY_Asm)
232 .Case("s", TY_PP_Asm)
233 .Case("bc", TY_LLVM_BC)
234 .Case("cc", TY_CXX)
235 .Case("CC", TY_CXX)
236 .Case("cl", TY_CL)
237 .Case("cp", TY_CXX)
238 .Case("cu", TY_CUDA)
239 .Case("hh", TY_CXXHeader)
240 .Case("ii", TY_PP_CXX)
241 .Case("ll", TY_LLVM_IR)
242 .Case("mi", TY_PP_ObjC)
243 .Case("mm", TY_ObjCXX)
244 .Case("rs", TY_RenderScript)
245 .Case("adb", TY_Ada)
246 .Case("ads", TY_Ada)
247 .Case("asm", TY_PP_Asm)
248 .Case("ast", TY_AST)
249 .Case("ccm", TY_CXXModule)
250 .Case("cpp", TY_CXX)
251 .Case("CPP", TY_CXX)
252 .Case("c++", TY_CXX)
253 .Case("C++", TY_CXX)
254 .Case("cui", TY_PP_CUDA)
255 .Case("cxx", TY_CXX)
256 .Case("CXX", TY_CXX)
257 .Case("F90", TY_Fortran)
258 .Case("f90", TY_PP_Fortran)
259 .Case("F95", TY_Fortran)
260 .Case("f95", TY_PP_Fortran)
261 .Case("for", TY_PP_Fortran)
262 .Case("FOR", TY_PP_Fortran)
263 .Case("fpp", TY_Fortran)
264 .Case("FPP", TY_Fortran)
265 .Case("gch", TY_PCH)
266 .Case("hip", TY_HIP)
267 .Case("hpp", TY_CXXHeader)
268 .Case("iim", TY_PP_CXXModule)
269 .Case("lib", TY_Object)
270 .Case("mii", TY_PP_ObjCXX)
271 .Case("obj", TY_Object)
272 .Case("ifs", TY_IFS)
273 .Case("pch", TY_PCH)
274 .Case("pcm", TY_ModuleFile)
275 .Case("c++m", TY_CXXModule)
276 .Case("cppm", TY_CXXModule)
277 .Case("cxxm", TY_CXXModule)
tools/clang/lib/Frontend/CompilerInvocation.cpp 303 .Case("true", true)
304 .Case("false", false)
415 .Case("true", true)
416 .Case("false", false)
540 .Case("static", llvm::Reloc::Static)
541 .Case("pic", llvm::Reloc::PIC_)
542 .Case("ropi", llvm::Reloc::ROPI)
543 .Case("rwpi", llvm::Reloc::RWPI)
544 .Case("ropi-rwpi", llvm::Reloc::ROPI_RWPI)
545 .Case("dynamic-no-pic", llvm::Reloc::DynamicNoPIC)
578 .Case("note", DiagnosticLevelMask::Note)
579 .Case("remark", DiagnosticLevelMask::Remark)
580 .Case("warning", DiagnosticLevelMask::Warning)
581 .Case("error", DiagnosticLevelMask::Error)
632 .Case("none", CodeGenOptions::ProfileNone)
633 .Case("clang", CodeGenOptions::ProfileClangInstr)
634 .Case("llvm", CodeGenOptions::ProfileIRInstr)
635 .Case("csllvm", CodeGenOptions::ProfileCSIRInstr)
732 .Case("line-tables-only", codegenoptions::DebugLineTablesOnly)
733 .Case("line-directives-only", codegenoptions::DebugDirectivesOnly)
734 .Case("limited", codegenoptions::LimitedDebugInfo)
735 .Case("standalone", codegenoptions::FullDebugInfo)
745 .Case("gdb", unsigned(llvm::DebuggerKind::GDB))
746 .Case("lldb", unsigned(llvm::DebuggerKind::LLDB))
747 .Case("sce", unsigned(llvm::DebuggerKind::SCE))
991 .Case("obj", FrontendOpts.OutputFile)
1039 .Case("off", CodeGenOptions::Embed_Off)
1040 .Case("all", CodeGenOptions::Embed_All)
1041 .Case("bitcode", CodeGenOptions::Embed_Bitcode)
1042 .Case("marker", CodeGenOptions::Embed_Marker)
1126 .Case("none", llvm::DebugCompressionType::None)
1127 .Case("zlib", llvm::DebugCompressionType::Z)
1128 .Case("zlib-gnu", llvm::DebugCompressionType::GNU)
1222 .Case("legacy", CodeGenOptions::Legacy)
1223 .Case("non-legacy", CodeGenOptions::NonLegacy)
1224 .Case("mixed", CodeGenOptions::Mixed)
1249 .Case("global-dynamic", CodeGenOptions::GeneralDynamicTLSModel)
1250 .Case("local-dynamic", CodeGenOptions::LocalDynamicTLSModel)
1251 .Case("initial-exec", CodeGenOptions::InitialExecTLSModel)
1252 .Case("local-exec", CodeGenOptions::LocalExecTLSModel)
1964 .Case("c", Language::C)
1965 .Case("cl", Language::OpenCL)
1966 .Case("cuda", Language::CUDA)
1967 .Case("hip", Language::HIP)
1968 .Case("c++", Language::CXX)
1969 .Case("objective-c", Language::ObjC)
1970 .Case("objective-c++", Language::ObjCXX)
1971 .Case("renderscript", Language::RenderScript)
1978 .Case("objc", Language::ObjC)
1979 .Case("objc++", Language::ObjCXX)
1985 .Case("cpp-output", InputKind(Language::C).getPreprocessed())
1986 .Case("assembler-with-cpp", Language::Asm)
1989 .Case("ir", Language::LLVM_IR)
2633 .Case("swift-4.2", LangOptions::CoreFoundationABI::Swift4_2)
2634 .Case("swift-4.1", LangOptions::CoreFoundationABI::Swift4_1)
2708 .Case("none", LaxKind::None)
2709 .Case("integer", LaxKind::Integer)
2710 .Case("all", LaxKind::All)
2789 .Case("char", 1)
2790 .Case("short", 2)
2791 .Case("int", 4)
2903 .Case("target", LangOptions::ASMM_Target)
2904 .Case("no", LangOptions::ASMM_Off)
2905 .Case("yes", LangOptions::ASMM_On)
2927 .Case("single",
2929 .Case("multiple",
2931 .Case("virtual",
2945 .Case("cdecl", LangOptions::DCC_CDecl)
2946 .Case("fastcall", LangOptions::DCC_FastCall)
2947 .Case("stdcall", LangOptions::DCC_StdCall)
2948 .Case("vectorcall", LangOptions::DCC_VectorCall)
2949 .Case("regcall", LangOptions::DCC_RegCall)
3348 .Case("libc++", ARCXX_libcxx)
3349 .Case("libstdc++", ARCXX_libstdcxx)
3350 .Case("none", ARCXX_nolib)
3392 .Case("default", llvm::EABI::Default)
3393 .Case("4", llvm::EABI::EABI4)
3394 .Case("5", llvm::EABI::EABI5)
3395 .Case("gnu", llvm::EABI::GNU)
tools/clang/lib/Frontend/DependencyFile.cpp 157 .Case("<built-in>", true)
158 .Case("<stdin>", true)
tools/clang/lib/Frontend/FrontendOptions.cpp 18 .Case("c", Language::C)
20 .Case("i", InputKind(Language::C).getPreprocessed())
21 .Case("ii", InputKind(Language::CXX).getPreprocessed())
22 .Case("cui", InputKind(Language::CUDA).getPreprocessed())
23 .Case("m", Language::ObjC)
24 .Case("mi", InputKind(Language::ObjC).getPreprocessed())
26 .Case("mii", InputKind(Language::ObjCXX).getPreprocessed())
29 .Case("cppm", Language::CXX)
30 .Case("iim", InputKind(Language::CXX).getPreprocessed())
31 .Case("cl", Language::OpenCL)
32 .Case("cu", Language::CUDA)
tools/clang/lib/Lex/DependencyDirectivesSourceMinimizer.cpp 379 .Case("warning", true)
380 .Case("error", true)
837 .Case("include", pp_include)
838 .Case("__include_macros", pp___include_macros)
839 .Case("define", pp_define)
840 .Case("undef", pp_undef)
841 .Case("import", pp_import)
842 .Case("include_next", pp_include_next)
843 .Case("if", pp_if)
844 .Case("ifdef", pp_ifdef)
845 .Case("ifndef", pp_ifndef)
846 .Case("elif", pp_elif)
847 .Case("else", pp_else)
848 .Case("endif", pp_endif)
849 .Case("pragma", pp_pragma_import)
tools/clang/lib/Lex/Lexer.cpp 664 .Case("include", PDK_Skipped)
665 .Case("__include_macros", PDK_Skipped)
666 .Case("define", PDK_Skipped)
667 .Case("undef", PDK_Skipped)
668 .Case("line", PDK_Skipped)
669 .Case("error", PDK_Skipped)
670 .Case("pragma", PDK_Skipped)
671 .Case("import", PDK_Skipped)
672 .Case("include_next", PDK_Skipped)
673 .Case("warning", PDK_Skipped)
674 .Case("ident", PDK_Skipped)
675 .Case("sccs", PDK_Skipped)
676 .Case("assert", PDK_Skipped)
677 .Case("unassert", PDK_Skipped)
678 .Case("if", PDK_Skipped)
679 .Case("ifdef", PDK_Skipped)
680 .Case("ifndef", PDK_Skipped)
681 .Case("elif", PDK_Skipped)
682 .Case("else", PDK_Skipped)
683 .Case("endif", PDK_Skipped)
tools/clang/lib/Lex/ModuleMap.cpp 376 .Case("float.h", true)
377 .Case("iso646.h", true)
378 .Case("limits.h", true)
379 .Case("stdalign.h", true)
380 .Case("stdarg.h", true)
381 .Case("stdatomic.h", true)
382 .Case("stdbool.h", true)
383 .Case("stddef.h", true)
384 .Case("stdint.h", true)
385 .Case("tgmath.h", true)
386 .Case("unwind.h", true)
1495 .Case("config_macros", MMToken::ConfigMacros)
1496 .Case("conflict", MMToken::Conflict)
1497 .Case("exclude", MMToken::ExcludeKeyword)
1498 .Case("explicit", MMToken::ExplicitKeyword)
1499 .Case("export", MMToken::ExportKeyword)
1500 .Case("export_as", MMToken::ExportAsKeyword)
1501 .Case("extern", MMToken::ExternKeyword)
1502 .Case("framework", MMToken::FrameworkKeyword)
1503 .Case("header", MMToken::HeaderKeyword)
1504 .Case("link", MMToken::LinkKeyword)
1505 .Case("module", MMToken::ModuleKeyword)
1506 .Case("private", MMToken::PrivateKeyword)
1507 .Case("requires", MMToken::RequiresKeyword)
1508 .Case("textual", MMToken::TextualKeyword)
1509 .Case("umbrella", MMToken::UmbrellaKeyword)
1510 .Case("use", MMToken::UseKeyword)
2311 .Case("size", Size)
2312 .Case("mtime", ModTime)
2872 .Case("exhaustive", AT_exhaustive)
2873 .Case("extern_c", AT_extern_c)
2874 .Case("no_undeclared_includes", AT_no_undeclared_includes)
2875 .Case("system", AT_system)
tools/clang/lib/Lex/PPDirectives.cpp 210 .Case("cwctype", true)
tools/clang/lib/Lex/PPMacroExpansion.cpp 1635 .Case("__array_rank", true)
1636 .Case("__array_extent", true)
1637 .Case("__reference_binds_to_temporary", true)
1638 .Case("__underlying_type", true)
1643 .Case("__make_integer_seq", LangOpts.CPlusPlus)
1644 .Case("__type_pack_element", LangOpts.CPlusPlus)
1648 .Case("__is_target_arch", true)
1649 .Case("__is_target_vendor", true)
1650 .Case("__is_target_os", true)
1651 .Case("__is_target_environment", true)
tools/clang/lib/Lex/Pragma.cpp 1193 .Case("ignored", diag::Severity::Ignored)
1194 .Case("warning", diag::Severity::Warning)
1195 .Case("error", diag::Severity::Error)
1196 .Case("fatal", diag::Severity::Fatal)
tools/clang/lib/Parse/ParseOpenMP.cpp 76 .Case("cancellation", OMPD_cancellation)
77 .Case("data", OMPD_data)
78 .Case("declare", OMPD_declare)
79 .Case("end", OMPD_end)
80 .Case("enter", OMPD_enter)
81 .Case("exit", OMPD_exit)
82 .Case("point", OMPD_point)
83 .Case("reduction", OMPD_reduction)
84 .Case("update", OMPD_update)
85 .Case("mapper", OMPD_mapper)
86 .Case("variant", OMPD_variant)
tools/clang/lib/Parse/ParsePragma.cpp 758 .Case("data_seg", &Parser::HandlePragmaMSSegment)
759 .Case("bss_seg", &Parser::HandlePragmaMSSegment)
760 .Case("const_seg", &Parser::HandlePragmaMSSegment)
761 .Case("code_seg", &Parser::HandlePragmaMSSegment)
762 .Case("section", &Parser::HandlePragmaMSSection)
763 .Case("init_seg", &Parser::HandlePragmaMSInitSeg);
816 .Case("read", ASTContext::PSF_Read)
817 .Case("write", ASTContext::PSF_Write)
818 .Case("execute", ASTContext::PSF_Execute)
819 .Case("shared", ASTContext::PSF_Invalid)
820 .Case("nopage", ASTContext::PSF_Invalid)
821 .Case("nocache", ASTContext::PSF_Invalid)
822 .Case("discard", ASTContext::PSF_Invalid)
823 .Case("remove", ASTContext::PSF_Invalid)
955 .Case("compiler", "\".CRT$XCC\"")
956 .Case("lib", "\".CRT$XCL\"")
957 .Case("user", "\".CRT$XCU\"")
1012 .Case("loop", ClangLoopStr)
1013 .Case("unroll_and_jam", Str)
1014 .Case("unroll", Str)
1067 .Case("vectorize", true)
1068 .Case("interleave", true)
1069 .Case("vectorize_predicate", true)
1095 .Case("disable", true)
1096 .Case("enable", !OptionPipelineDisabled)
1097 .Case("full", OptionUnroll || OptionUnrollAndJam)
1098 .Case("assume_safety", AssumeSafetyArg)
2555 .Case("linker", PCK_Linker)
2556 .Case("lib", PCK_Lib)
2557 .Case("compiler", PCK_Compiler)
2558 .Case("exestr", PCK_ExeStr)
2559 .Case("user", PCK_User)
2681 .Case("contract", TokFPAnnotValue::Contract)
2707 .Case("on", TokFPAnnotValue::On)
2708 .Case("off", TokFPAnnotValue::Off)
2709 .Case("fast", TokFPAnnotValue::Fast)
2883 .Case("vectorize", true)
2884 .Case("interleave", true)
2885 .Case("unroll", true)
2886 .Case("distribute", true)
2887 .Case("vectorize_predicate", true)
2888 .Case("vectorize_width", true)
2889 .Case("interleave_count", true)
2890 .Case("unroll_count", true)
2891 .Case("pipeline", true)
2892 .Case("pipeline_initiation_interval", true)
tools/clang/lib/Sema/SemaAttr.cpp 519 .Case("data_seg", &DataSegStack)
520 .Case("bss_seg", &BSSSegStack)
521 .Case("const_seg", &ConstSegStack)
522 .Case("code_seg", &CodeSegStack);
tools/clang/lib/Sema/SemaChecking.cpp 7103 .Case("scanf", FST_Scanf)
7106 .Case("strftime", FST_Strftime)
7107 .Case("strfmon", FST_Strfmon)
7109 .Case("freebsd_kprintf", FST_FreeBSDKPrintf)
7110 .Case("os_trace", FST_OSLog)
7111 .Case("os_log", FST_OSLog)
8219 .Case("CFIndex", Context.getNSIntegerType())
8220 .Case("NSInteger", Context.getNSIntegerType())
8221 .Case("NSUInteger", Context.getNSUIntegerType())
8222 .Case("SInt32", Context.IntTy)
8223 .Case("UInt32", Context.UnsignedIntTy)
tools/clang/lib/Sema/SemaCodeComplete.cpp 6456 .Case("retain", IFace)
6457 .Case("strong", IFace)
6458 .Case("autorelease", IFace)
6459 .Case("copy", IFace)
6460 .Case("copyWithZone", IFace)
6461 .Case("mutableCopy", IFace)
6462 .Case("mutableCopyWithZone", IFace)
6463 .Case("awakeFromCoder", IFace)
6464 .Case("replacementObjectFromCoder", IFace)
6465 .Case("class", IFace)
6466 .Case("classForCoder", IFace)
6467 .Case("superclass", Super)
6471 .Case("new", IFace)
6472 .Case("alloc", IFace)
6473 .Case("allocWithZone", IFace)
6474 .Case("class", IFace)
6475 .Case("superclass", Super)
tools/clang/lib/Sema/SemaDeclAttr.cpp 3149 .Case("NSString", NSStringFormat)
3150 .Case("CFString", CFStringFormat)
3151 .Case("strftime", StrftimeFormat)
3156 .Case("kprintf", SupportedFormat) // OpenBSD.
3157 .Case("freebsd_kprintf", SupportedFormat) // FreeBSD.
3158 .Case("os_trace", SupportedFormat)
3159 .Case("os_log", SupportedFormat)
6188 .Case("no_address_safety_analysis", "address")
6189 .Case("no_sanitize_address", "address")
6190 .Case("no_sanitize_thread", "thread")
6191 .Case("no_sanitize_memory", "memory");
tools/clang/lib/Sema/SemaExceptionSpec.cpp 70 .Case("array", true)
71 .Case("pair", IsInStd)
72 .Case("priority_queue", IsInStd)
73 .Case("stack", IsInStd)
74 .Case("queue", IsInStd)
tools/clang/lib/Sema/SemaInit.cpp 6774 .Case("data", true)
tools/clang/lib/Sema/SemaStmtAttr.cpp 129 .Case("vectorize", LoopHintAttr::Vectorize)
130 .Case("vectorize_width", LoopHintAttr::VectorizeWidth)
131 .Case("interleave", LoopHintAttr::Interleave)
132 .Case("vectorize_predicate", LoopHintAttr::VectorizePredicate)
133 .Case("interleave_count", LoopHintAttr::InterleaveCount)
134 .Case("unroll", LoopHintAttr::Unroll)
135 .Case("unroll_count", LoopHintAttr::UnrollCount)
136 .Case("pipeline", LoopHintAttr::PipelineDisabled)
137 .Case("pipeline_initiation_interval",
139 .Case("distribute", LoopHintAttr::Distribute)
tools/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp 144 .Case("bcmp", &WalkAST::checkCall_bcmp)
145 .Case("bcopy", &WalkAST::checkCall_bcopy)
146 .Case("bzero", &WalkAST::checkCall_bzero)
147 .Case("gets", &WalkAST::checkCall_gets)
148 .Case("getpw", &WalkAST::checkCall_getpw)
149 .Case("mktemp", &WalkAST::checkCall_mktemp)
150 .Case("mkstemp", &WalkAST::checkCall_mkstemp)
151 .Case("mkdtemp", &WalkAST::checkCall_mkstemp)
152 .Case("mkstemps", &WalkAST::checkCall_mkstemp)
163 .Case("drand48", &WalkAST::checkCall_rand)
164 .Case("erand48", &WalkAST::checkCall_rand)
165 .Case("jrand48", &WalkAST::checkCall_rand)
166 .Case("lrand48", &WalkAST::checkCall_rand)
167 .Case("mrand48", &WalkAST::checkCall_rand)
168 .Case("nrand48", &WalkAST::checkCall_rand)
169 .Case("lcong48", &WalkAST::checkCall_rand)
170 .Case("rand", &WalkAST::checkCall_rand)
171 .Case("rand_r", &WalkAST::checkCall_rand)
172 .Case("random", &WalkAST::checkCall_random)
173 .Case("vfork", &WalkAST::checkCall_vfork)
581 .Case("mktemp", std::make_pair(0,-1))
582 .Case("mkstemp", std::make_pair(0,-1))
583 .Case("mkdtemp", std::make_pair(0,-1))
584 .Case("mkstemps", std::make_pair(0,1))
tools/clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp 76 .Case("clang_analyzer_eval", &ExprInspectionChecker::analyzerEval)
77 .Case("clang_analyzer_checkInlined",
79 .Case("clang_analyzer_crash", &ExprInspectionChecker::analyzerCrash)
80 .Case("clang_analyzer_warnIfReached",
82 .Case("clang_analyzer_warnOnDeadSymbol",
86 .Case("clang_analyzer_getExtent", &ExprInspectionChecker::analyzerGetExtent)
87 .Case("clang_analyzer_printState",
89 .Case("clang_analyzer_numTimesReached",
91 .Case("clang_analyzer_hashDump", &ExprInspectionChecker::analyzerHashDump)
92 .Case("clang_analyzer_denote", &ExprInspectionChecker::analyzerDenote)
93 .Case("clang_analyzer_express", &ExprInspectionChecker::analyzerExpress)
tools/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp 351 .Case("fdopen", TaintPropagationRule({}, {ReturnValueIndex}))
352 .Case("fopen", TaintPropagationRule({}, {ReturnValueIndex}))
353 .Case("freopen", TaintPropagationRule({}, {ReturnValueIndex}))
354 .Case("getch", TaintPropagationRule({}, {ReturnValueIndex}))
355 .Case("getchar", TaintPropagationRule({}, {ReturnValueIndex}))
356 .Case("getchar_unlocked",
358 .Case("getenv", TaintPropagationRule({}, {ReturnValueIndex}))
359 .Case("gets", TaintPropagationRule({}, {0, ReturnValueIndex}))
360 .Case("scanf", TaintPropagationRule({}, {}, VariadicType::Dst, 1))
361 .Case("socket",
365 .Case("wgetch", TaintPropagationRule({}, {ReturnValueIndex}))
367 .Case("atoi", TaintPropagationRule({0}, {ReturnValueIndex}))
368 .Case("atol", TaintPropagationRule({0}, {ReturnValueIndex}))
369 .Case("atoll", TaintPropagationRule({0}, {ReturnValueIndex}))
370 .Case("fgetc", TaintPropagationRule({0}, {ReturnValueIndex}))
371 .Case("fgetln", TaintPropagationRule({0}, {ReturnValueIndex}))
372 .Case("fgets", TaintPropagationRule({2}, {0, ReturnValueIndex}))
373 .Case("fscanf", TaintPropagationRule({0}, {}, VariadicType::Dst, 2))
374 .Case("getc", TaintPropagationRule({0}, {ReturnValueIndex}))
375 .Case("getc_unlocked", TaintPropagationRule({0}, {ReturnValueIndex}))
376 .Case("getdelim", TaintPropagationRule({3}, {0}))
377 .Case("getline", TaintPropagationRule({2}, {0}))
378 .Case("getw", TaintPropagationRule({0}, {ReturnValueIndex}))
379 .Case("pread",
381 .Case("read", TaintPropagationRule({0, 2}, {1, ReturnValueIndex}))
382 .Case("strchr", TaintPropagationRule({0}, {ReturnValueIndex}))
383 .Case("strrchr", TaintPropagationRule({0}, {ReturnValueIndex}))
384 .Case("tolower", TaintPropagationRule({0}, {ReturnValueIndex}))
385 .Case("toupper", TaintPropagationRule({0}, {ReturnValueIndex}))
767 .Case("system", 0)
768 .Case("popen", 0)
769 .Case("execl", 0)
770 .Case("execle", 0)
771 .Case("execlp", 0)
772 .Case("execv", 0)
773 .Case("execvp", 0)
774 .Case("execvP", 0)
775 .Case("execve", 0)
776 .Case("dlopen", 0)
tools/clang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp 193 .Case("KnownsOnly", AK_KnownsOnly)
194 .Case("KnownsAndLocals", AK_KnownsAndLocals)
195 .Case("All", AK_All)
tools/clang/lib/StaticAnalyzer/Checkers/NoReturnFunctionChecker.cpp 58 .Case("exit", true)
59 .Case("panic", true)
60 .Case("error", true)
61 .Case("Assert", true)
64 .Case("ziperr", true)
65 .Case("assfail", true)
66 .Case("db_error", true)
67 .Case("__assert", true)
68 .Case("__assert2", true)
71 .Case("_wassert", true)
72 .Case("__assert_rtn", true)
73 .Case("__assert_fail", true)
74 .Case("dtrace_assfail", true)
75 .Case("yy_fatal_error", true)
76 .Case("_XCAssertionFailureHandler", true)
77 .Case("_DTAssertionFailureHandler", true)
78 .Case("_TSAssertionFailureHandler", true)
tools/clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp 69 .Case("dfs", ExplorationStrategyKind::DFS)
70 .Case("bfs", ExplorationStrategyKind::BFS)
71 .Case("unexplored_first",
73 .Case("unexplored_first_queue",
75 .Case("unexplored_first_location_queue",
77 .Case("bfs_block_dfs_contents",
86 .Case("none", IPAK_None)
87 .Case("basic-inlining", IPAK_BasicInlining)
88 .Case("inlining", IPAK_Inlining)
89 .Case("dynamic", IPAK_DynamicDispatch)
90 .Case("dynamic-bifurcate", IPAK_DynamicDispatchBifurcate)
106 .Case("constructors", CIMK_Constructors)
107 .Case("destructors", CIMK_Destructors)
108 .Case("methods", CIMK_MemberFunctions)
109 .Case("none", CIMK_None)
157 .Case("true", true)
158 .Case("false", false)
tools/clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp 879 .Case("host", true)
880 .Case("openmp", true)
881 .Case("hip", true)
tools/clang/tools/driver/cc1as_main.cpp 231 .Case("none", llvm::DebugCompressionType::None)
232 .Case("zlib", llvm::DebugCompressionType::Z)
233 .Case("zlib-gnu", llvm::DebugCompressionType::GNU)
267 .Case("asm", FT_Asm)
268 .Case("null", FT_Null)
269 .Case("obj", FT_Obj)
301 .Case("all", 1)
302 .Case("bitcode", 1)
303 .Case("marker", 1)
tools/clang/tools/extra/clang-query/QueryParser.cpp 77 Switch.Case(CaseStr, Value);
tools/clang/tools/extra/clang-tidy/cert/StrToNumCheck.cpp 54 .Case("atoll", ConversionKind::ToLongInt)
55 .Case("atof", ConversionKind::ToDouble)
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertCheck.cpp 462 .Case("safe", Confidence::CL_Safe)
463 .Case("risky", Confidence::CL_Risky)
467 .Case("camelBack", VariableNamer::NS_CamelBack)
468 .Case("lower_case", VariableNamer::NS_LowerCase)
469 .Case("UPPER_CASE", VariableNamer::NS_UpperCase)
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.cpp 170 .Case("aNy_CasE", CT_AnyCase)
171 .Case("lower_case", CT_LowerCase)
172 .Case("UPPER_CASE", CT_UpperCase)
173 .Case("camelBack", CT_CamelBack)
174 .Case("CamelCase", CT_CamelCase)
175 .Case("Camel_Snake_Case", CT_CamelSnakeCase)
176 .Case("camel_Snake_Back", CT_CamelSnakeBack)
tools/clang/tools/extra/clangd/Protocol.cpp 1049 .Case("utf-8", OffsetEncoding::UTF8)
1050 .Case("utf-16", OffsetEncoding::UTF16)
1051 .Case("utf-32", OffsetEncoding::UTF32)
tools/clang/tools/libclang/CIndex.cpp 7605 .Case("readonly", true)
7606 .Case("assign", true)
7607 .Case("unsafe_unretained", true)
7608 .Case("readwrite", true)
7609 .Case("retain", true)
7610 .Case("copy", true)
7611 .Case("nonatomic", true)
7612 .Case("atomic", true)
7613 .Case("getter", true)
7614 .Case("setter", true)
7615 .Case("strong", true)
7616 .Case("weak", true)
7617 .Case("class", true)
7628 .Case("in", true)
7629 .Case("out", true)
7630 .Case("inout", true)
7631 .Case("oneway", true)
7632 .Case("bycopy", true)
7633 .Case("byref", true)
tools/clang/unittests/Driver/MultilibTest.cpp 209 .Case("", hasFlag(*I, "-sof"))
210 .Case("/sof", hasFlag(*I, "+sof"))
211 .Case("/el", hasFlag(*I, "-sof"))
212 .Case("/sof/el", hasFlag(*I, "+sof"))
216 .Case("", hasFlag(*I, "-EL"))
217 .Case("/sof", hasFlag(*I, "-EL"))
218 .Case("/el", hasFlag(*I, "+EL"))
219 .Case("/sof/el", hasFlag(*I, "+EL"))
tools/clang/utils/TableGen/ClangAttrEmitter.cpp 105 .Case("TypeSourceInfo *", "Record.getTypeSourceInfo()")
106 .Case("Expr *", "Record.readExpr()")
107 .Case("IdentifierInfo *", "Record.getIdentifierInfo()")
108 .Case("StringRef", "Record.readString()")
109 .Case("ParamIdx", "ParamIdx::deserialize(Record.readInt())")
116 .Case("StringRef", "std::string")
124 .Case("TypeSourceInfo *", "AddTypeSourceInfo(" + std::string(name) + ");\n")
125 .Case("Expr *", "AddStmt(" + std::string(name) + ");\n")
126 .Case("IdentifierInfo *", "AddIdentifierRef(" + std::string(name) + ");\n")
127 .Case("StringRef", "AddString(" + std::string(name) + ");\n")
128 .Case("ParamIdx", "push_back(" + std::string(name) + ".serialize());\n")
2144 .Case("IdentifierArgument", true)
2145 .Case("EnumArgument", true)
2146 .Case("VariadicEnumArgument", true)
2154 .Case("VariadicIdentifierArgument", true)
2155 .Case("VariadicParamOrParamIdxArgument", true)
2202 .Case("VariadicParamOrParamIdxArgument", true)
3915 .Case("GNU", SpellingKind::GNU)
3916 .Case("CXX11", SpellingKind::CXX11)
3917 .Case("C2x", SpellingKind::C2x)
3918 .Case("Declspec", SpellingKind::Declspec)
3919 .Case("Microsoft", SpellingKind::Microsoft)
3920 .Case("Keyword", SpellingKind::Keyword)
3921 .Case("Pragma", SpellingKind::Pragma);
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp 1033 .Case("select", MT_Select)
1034 .Case("sub", MT_Sub)
1035 .Case("diff", MT_Diff)
1036 .Case("plural", MT_Plural)
1037 .Case("s", MT_S)
1038 .Case("ordinal", MT_Ordinal)
1039 .Case("q", MT_Q)
1040 .Case("objcclass", MT_ObjCClass)
1041 .Case("objcinstance", MT_ObjCInstance)
1042 .Case("", MT_Placeholder)
tools/clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp 369 .Case("RO", "OCLAQ_ReadOnly")
370 .Case("WO", "OCLAQ_WriteOnly")
371 .Case("RW", "OCLAQ_ReadWrite")
515 .Case("RO", " case OCLAQ_ReadOnly:\n")
516 .Case("WO", " case OCLAQ_WriteOnly:\n")
517 .Case("RW", " case OCLAQ_ReadWrite:\n")
tools/clang/utils/TableGen/ClangOptionDocEmitter.cpp 146 .Case("KIND_COMMAJOINED", {"", ","})
159 .Case("KIND_JOINED_AND_SEPARATE", 2)
160 .Case("KIND_MULTIARG", Option->getValueAsInt("NumArgs"))
tools/clang/utils/TableGen/MveEmitter.cpp 236 .Case("s", ScalarTypeKind::SignedInt)
237 .Case("u", ScalarTypeKind::UnsignedInt)
238 .Case("f", ScalarTypeKind::Float);
tools/lld/COFF/Driver.cpp 675 .Case("cv", static_cast<unsigned>(DebugType::CV))
676 .Case("pdata", static_cast<unsigned>(DebugType::PData))
677 .Case("fixup", static_cast<unsigned>(DebugType::Fixup))
tools/lld/COFF/DriverUtils.cpp 119 .Case("boot_application", IMAGE_SUBSYSTEM_WINDOWS_BOOT_APPLICATION)
120 .Case("console", IMAGE_SUBSYSTEM_WINDOWS_CUI)
121 .Case("default", IMAGE_SUBSYSTEM_UNKNOWN)
122 .Case("efi_application", IMAGE_SUBSYSTEM_EFI_APPLICATION)
123 .Case("efi_boot_service_driver", IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER)
124 .Case("efi_rom", IMAGE_SUBSYSTEM_EFI_ROM)
125 .Case("efi_runtime_driver", IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER)
126 .Case("native", IMAGE_SUBSYSTEM_NATIVE)
127 .Case("posix", IMAGE_SUBSYSTEM_POSIX_CUI)
128 .Case("windows", IMAGE_SUBSYSTEM_WINDOWS_GUI)
tools/lld/ELF/DWARF.cpp 35 .Case(".debug_addr", &addrSection)
36 .Case(".debug_gnu_pubnames", &gnuPubnamesSection)
37 .Case(".debug_gnu_pubtypes", &gnuPubtypesSection)
38 .Case(".debug_info", &infoSection)
39 .Case(".debug_ranges", &rangesSection)
40 .Case(".debug_rnglists", &rnglistsSection)
41 .Case(".debug_str_offsets", &strOffsetsSection)
42 .Case(".debug_line", &lineSection)
tools/lld/ELF/Driver.cpp 134 .Case("elf32_x86_64", {ELF32LEKind, EM_X86_64})
137 .Case("elf32lriscv", {ELF32LEKind, EM_RISCV})
139 .Case("elf64btsmip", {ELF64BEKind, EM_MIPS})
140 .Case("elf64ltsmip", {ELF64LEKind, EM_MIPS})
141 .Case("elf64lriscv", {ELF64LEKind, EM_RISCV})
142 .Case("elf64ppc", {ELF64BEKind, EM_PPC64})
143 .Case("elf64lppc", {ELF64LEKind, EM_PPC64})
145 .Case("elf_i386", {ELF32LEKind, EM_386})
146 .Case("elf_iamcu", {ELF32LEKind, EM_IAMCU})
tools/lld/ELF/ScriptParser.cpp 385 .Case("elf32-i386", {ELF32LEKind, EM_386})
386 .Case("elf32-iamcu", {ELF32LEKind, EM_IAMCU})
387 .Case("elf32-littlearm", {ELF32LEKind, EM_ARM})
388 .Case("elf32-x86-64", {ELF32LEKind, EM_X86_64})
389 .Case("elf64-aarch64", {ELF64LEKind, EM_AARCH64})
390 .Case("elf64-littleaarch64", {ELF64LEKind, EM_AARCH64})
391 .Case("elf32-powerpc", {ELF32BEKind, EM_PPC})
392 .Case("elf64-powerpc", {ELF64BEKind, EM_PPC64})
393 .Case("elf64-powerpcle", {ELF64LEKind, EM_PPC64})
394 .Case("elf64-x86-64", {ELF64LEKind, EM_X86_64})
396 .Case("elf32-ntradbigmips", {ELF32BEKind, EM_MIPS})
397 .Case("elf32-tradlittlemips", {ELF32LEKind, EM_MIPS})
398 .Case("elf32-ntradlittlemips", {ELF32LEKind, EM_MIPS})
399 .Case("elf64-tradbigmips", {ELF64BEKind, EM_MIPS})
400 .Case("elf64-tradlittlemips", {ELF64LEKind, EM_MIPS})
401 .Case("elf32-littleriscv", {ELF32LEKind, EM_RISCV})
402 .Case("elf64-littleriscv", {ELF64LEKind, EM_RISCV})
588 .Case("&", 4)
589 .Case("|", 3)
590 .Case("&&", 2)
591 .Case("||", 1)
1089 .Case("BYTE", 1)
1090 .Case("SHORT", 2)
1091 .Case("LONG", 4)
1092 .Case("QUAD", 8)
1319 .Case("PT_NULL", PT_NULL)
1320 .Case("PT_LOAD", PT_LOAD)
1321 .Case("PT_DYNAMIC", PT_DYNAMIC)
1322 .Case("PT_INTERP", PT_INTERP)
1323 .Case("PT_NOTE", PT_NOTE)
1324 .Case("PT_SHLIB", PT_SHLIB)
1325 .Case("PT_PHDR", PT_PHDR)
1326 .Case("PT_TLS", PT_TLS)
1327 .Case("PT_GNU_EH_FRAME", PT_GNU_EH_FRAME)
1328 .Case("PT_GNU_STACK", PT_GNU_STACK)
1329 .Case("PT_GNU_RELRO", PT_GNU_RELRO)
1330 .Case("PT_OPENBSD_RANDOMIZE", PT_OPENBSD_RANDOMIZE)
1331 .Case("PT_OPENBSD_WXNEEDED", PT_OPENBSD_WXNEEDED)
1332 .Case("PT_OPENBSD_BOOTDATA", PT_OPENBSD_BOOTDATA)
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp 484 .Case("__PAGEZERO", 1)
485 .Case("__TEXT", 2)
486 .Case("__DATA", 3)
497 .Case("__text", 1)
498 .Case("__stubs", 2)
499 .Case("__stub_helper", 3)
500 .Case("__const", 4)
501 .Case("__cstring", 5)
502 .Case("__unwind_info", 98)
503 .Case("__eh_frame", 99)
tools/lldb/source/Host/common/HostInfoBase.cpp 104 .Case(LLDB_ARCH_DEFAULT, eArchKindDefault)
105 .Case(LLDB_ARCH_DEFAULT_32BIT, eArchKind32)
106 .Case(LLDB_ARCH_DEFAULT_64BIT, eArchKind64)
tools/lldb/source/Plugins/InstrumentationRuntime/ASan/ASanRuntime.cpp 198 .Case("heap-use-after-free", "Use of deallocated memory")
199 .Case("heap-buffer-overflow", "Heap buffer overflow")
200 .Case("stack-buffer-underflow", "Stack buffer underflow")
201 .Case("initialization-order-fiasco", "Initialization order problem")
202 .Case("stack-buffer-overflow", "Stack buffer overflow")
203 .Case("stack-use-after-return", "Use of stack memory after return")
204 .Case("use-after-poison", "Use of poisoned memory")
205 .Case("container-overflow", "Container overflow")
206 .Case("stack-use-after-scope", "Use of out-of-scope stack memory")
207 .Case("global-buffer-overflow", "Global buffer overflow")
208 .Case("unknown-crash", "Invalid memory access")
209 .Case("stack-overflow", "Stack space exhausted")
210 .Case("null-deref", "Dereference of null pointer")
211 .Case("wild-jump", "Jump to non-executable address")
212 .Case("wild-addr-write", "Write through wild pointer")
213 .Case("wild-addr-read", "Read from wild pointer")
214 .Case("wild-addr", "Access through wild pointer")
215 .Case("signal", "Deadly signal")
216 .Case("double-free", "Deallocation of freed memory")
217 .Case("new-delete-type-mismatch",
219 .Case("bad-free", "Deallocation of non-allocated memory")
220 .Case("alloc-dealloc-mismatch",
222 .Case("bad-malloc_usable_size", "Invalid argument to malloc_usable_size")
223 .Case("bad-__sanitizer_get_allocated_size",
225 .Case("param-overlap",
227 .Case("negative-size-param", "Negative size used when accessing memory")
228 .Case("bad-__sanitizer_annotate_contiguous_container",
230 .Case("odr-violation", "Symbol defined in multiple translation units")
231 .Case(
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp 3005 .Case("exportVarCount", eExportVar)
3007 .Case("exportForEachCount", eExportForEach)
3010 .Case("exportReduceCount", eExportReduce)
3013 .Case("pragmaCount", ePragma)
3014 .Case("objectSlotCount", eObjectSlot)
3015 .Case("versionInfo", eVersionInfo)
4128 .Case("accumulator", RSReduceBreakpointResolver::eKernelTypeAccum)
4129 .Case("initializer", RSReduceBreakpointResolver::eKernelTypeInit)
4130 .Case("outconverter", RSReduceBreakpointResolver::eKernelTypeOutC)
4131 .Case("combiner", RSReduceBreakpointResolver::eKernelTypeComb)
4132 .Case("all", RSReduceBreakpointResolver::eKernelTypeAll)
tools/lldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.cpp 39 .Case("MODULE", Token::Module)
40 .Case("INFO", Token::Info)
41 .Case("CODE_ID", Token::CodeID)
42 .Case("FILE", Token::File)
43 .Case("FUNC", Token::Func)
44 .Case("PUBLIC", Token::Public)
45 .Case("STACK", Token::Stack)
46 .Case("CFI", Token::CFI)
47 .Case("INIT", Token::Init)
48 .Case("WIN", Token::Win)
56 .Case("Linux", Triple::Linux)
57 .Case("mac", Triple::MacOSX)
58 .Case("windows", Triple::Win32)
66 .Case("arm", Triple::arm)
68 .Case("mips", Triple::mips)
69 .Case("ppc", Triple::ppc)
70 .Case("ppc64", Triple::ppc64)
71 .Case("s390", Triple::systemz)
72 .Case("sparc", Triple::sparc)
73 .Case("sparcv9", Triple::sparcv9)
74 .Case("x86", Triple::x86)
75 .Case("x86_64", Triple::x86_64)
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp 1565 .Case("abbrev", eSectionTypeDWARFDebugAbbrev)
1566 .Case("abbrev.dwo", eSectionTypeDWARFDebugAbbrevDwo)
1567 .Case("addr", eSectionTypeDWARFDebugAddr)
1568 .Case("aranges", eSectionTypeDWARFDebugAranges)
1569 .Case("cu_index", eSectionTypeDWARFDebugCuIndex)
1570 .Case("frame", eSectionTypeDWARFDebugFrame)
1571 .Case("info", eSectionTypeDWARFDebugInfo)
1572 .Case("info.dwo", eSectionTypeDWARFDebugInfoDwo)
1577 .Case("macinfo", eSectionTypeDWARFDebugMacInfo)
1579 .Case("names", eSectionTypeDWARFDebugNames)
1580 .Case("pubnames", eSectionTypeDWARFDebugPubNames)
1581 .Case("pubtypes", eSectionTypeDWARFDebugPubTypes)
1582 .Case("ranges", eSectionTypeDWARFDebugRanges)
1583 .Case("rnglists", eSectionTypeDWARFDebugRngLists)
1584 .Case("str", eSectionTypeDWARFDebugStr)
1585 .Case("str.dwo", eSectionTypeDWARFDebugStrDwo)
1586 .Case("str_offsets", eSectionTypeDWARFDebugStrOffsets)
1587 .Case("str_offsets.dwo", eSectionTypeDWARFDebugStrOffsetsDwo)
1588 .Case("types", eSectionTypeDWARFDebugTypes)
1589 .Case("types.dwo", eSectionTypeDWARFDebugTypesDwo)
1593 .Case(".ARM.exidx", eSectionTypeARMexidx)
1594 .Case(".ARM.extab", eSectionTypeARMextab)
1597 .Case(".eh_frame", eSectionTypeEHFrame)
1598 .Case(".gnu_debugaltlink", eSectionTypeDWARFGNUDebugAltLink)
1599 .Case(".gosymtab", eSectionTypeGoSymtab)
1600 .Case(".text", eSectionTypeCode)
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp 1192 .Case("little", eByteOrderLittle)
1193 .Case("big", eByteOrderBig)
1194 .Case("pdp", eByteOrderPDP)
1215 .Case("before", eLazyBoolNo)
1216 .Case("after", eLazyBoolYes)
2056 .Case("little", eByteOrderLittle)
2057 .Case("big", eByteOrderBig)
2058 .Case("pdp", eByteOrderPDP)
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp 354 .Case("equals", NameMatch::Equals)
355 .Case("starts_with", NameMatch::StartsWith)
356 .Case("ends_with", NameMatch::EndsWith)
357 .Case("contains", NameMatch::Contains)
358 .Case("regex", NameMatch::RegularExpression)
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp 552 .Case("binary", eFormatBinary)
553 .Case("decimal", eFormatDecimal)
554 .Case("hex", eFormatHex)
555 .Case("float", eFormatFloat)
556 .Case("vector-sint8", eFormatVectorOfSInt8)
557 .Case("vector-uint8", eFormatVectorOfUInt8)
558 .Case("vector-sint16", eFormatVectorOfSInt16)
559 .Case("vector-uint16", eFormatVectorOfUInt16)
560 .Case("vector-sint32", eFormatVectorOfSInt32)
561 .Case("vector-uint32", eFormatVectorOfUInt32)
562 .Case("vector-float32", eFormatVectorOfFloat32)
563 .Case("vector-uint64", eFormatVectorOfUInt64)
564 .Case("vector-uint128", eFormatVectorOfUInt128)
2268 .Case("serial", eQueueKindSerial)
2269 .Case("concurrent", eQueueKindConcurrent)
tools/lldb/source/Symbol/ClangASTContext.cpp 351 .Case("+", clang::OO_Plus)
352 .Case("+=", clang::OO_PlusEqual)
353 .Case("++", clang::OO_PlusPlus)
354 .Case("-", clang::OO_Minus)
355 .Case("-=", clang::OO_MinusEqual)
356 .Case("--", clang::OO_MinusMinus)
357 .Case("->", clang::OO_Arrow)
358 .Case("->*", clang::OO_ArrowStar)
359 .Case("*", clang::OO_Star)
360 .Case("*=", clang::OO_StarEqual)
361 .Case("/", clang::OO_Slash)
362 .Case("/=", clang::OO_SlashEqual)
363 .Case("%", clang::OO_Percent)
364 .Case("%=", clang::OO_PercentEqual)
365 .Case("^", clang::OO_Caret)
366 .Case("^=", clang::OO_CaretEqual)
367 .Case("&", clang::OO_Amp)
368 .Case("&=", clang::OO_AmpEqual)
369 .Case("&&", clang::OO_AmpAmp)
370 .Case("|", clang::OO_Pipe)
371 .Case("|=", clang::OO_PipeEqual)
372 .Case("||", clang::OO_PipePipe)
373 .Case("~", clang::OO_Tilde)
374 .Case("!", clang::OO_Exclaim)
375 .Case("!=", clang::OO_ExclaimEqual)
376 .Case("=", clang::OO_Equal)
377 .Case("==", clang::OO_EqualEqual)
378 .Case("<", clang::OO_Less)
379 .Case("<<", clang::OO_LessLess)
380 .Case("<<=", clang::OO_LessLessEqual)
381 .Case("<=", clang::OO_LessEqual)
382 .Case(">", clang::OO_Greater)
383 .Case(">>", clang::OO_GreaterGreater)
384 .Case(">>=", clang::OO_GreaterGreaterEqual)
385 .Case(">=", clang::OO_GreaterEqual)
386 .Case("()", clang::OO_Call)
387 .Case("[]", clang::OO_Subscript)
388 .Case(",", clang::OO_Comma)
410 .Case("new", clang::OO_New)
411 .Case("new[]", clang::OO_Array_New)
412 .Case("delete", clang::OO_Delete)
413 .Case("delete[]", clang::OO_Array_Delete)
tools/lldb/source/Utility/Args.cpp 418 .Case("uint", eEncodingUint)
419 .Case("sint", eEncodingSint)
420 .Case("ieee754", eEncodingIEEE754)
421 .Case("vector", eEncodingVector)
429 .Case("pc", LLDB_REGNUM_GENERIC_PC)
430 .Case("sp", LLDB_REGNUM_GENERIC_SP)
431 .Case("fp", LLDB_REGNUM_GENERIC_FP)
433 .Case("flags", LLDB_REGNUM_GENERIC_FLAGS)
434 .Case("arg1", LLDB_REGNUM_GENERIC_ARG1)
435 .Case("arg2", LLDB_REGNUM_GENERIC_ARG2)
436 .Case("arg3", LLDB_REGNUM_GENERIC_ARG3)
437 .Case("arg4", LLDB_REGNUM_GENERIC_ARG4)
438 .Case("arg5", LLDB_REGNUM_GENERIC_ARG5)
439 .Case("arg6", LLDB_REGNUM_GENERIC_ARG6)
440 .Case("arg7", LLDB_REGNUM_GENERIC_ARG7)
441 .Case("arg8", LLDB_REGNUM_GENERIC_ARG8)
tools/lldb/tools/lldb-test/lldb-test.cpp 251 .Case("TranslationUnit", CompilerContextKind::TranslationUnit)
252 .Case("Module", CompilerContextKind::Module)
253 .Case("Namespace", CompilerContextKind::Namespace)
254 .Case("Class", CompilerContextKind::Class)
255 .Case("Struct", CompilerContextKind::Struct)
256 .Case("Union", CompilerContextKind::Union)
257 .Case("Function", CompilerContextKind::Function)
258 .Case("Variable", CompilerContextKind::Variable)
259 .Case("Enum", CompilerContextKind::Enum)
260 .Case("Typedef", CompilerContextKind::Typedef)
261 .Case("AnyModule", CompilerContextKind::AnyModule)
262 .Case("AnyType", CompilerContextKind::AnyType)
tools/lldb/unittests/Expression/DWARFExpressionTest.cpp 79 .Case("debug_info", lldb::eSectionTypeDWARFDebugInfo)
80 .Case("debug_abbrev", lldb::eSectionTypeDWARFDebugAbbrev);
tools/lldb/unittests/tools/lldb-server/tests/MessageObjects.cpp 180 .Case("binary", eFormatBinary)
181 .Case("decimal", eFormatDecimal)
182 .Case("hex", eFormatHex)
183 .Case("float", eFormatFloat)
184 .Case("vector-sint8", eFormatVectorOfSInt8)
185 .Case("vector-uint8", eFormatVectorOfUInt8)
186 .Case("vector-sint16", eFormatVectorOfSInt16)
187 .Case("vector-uint16", eFormatVectorOfUInt16)
188 .Case("vector-sint32", eFormatVectorOfSInt32)
189 .Case("vector-uint32", eFormatVectorOfUInt32)
190 .Case("vector-float32", eFormatVectorOfFloat32)
191 .Case("vector-uint64", eFormatVectorOfUInt64)
192 .Case("vector-uint128", eFormatVectorOfUInt128)
tools/llvm-ar/llvm-ar.cpp 1019 .Case("addlib", MRICommand::AddLib)
1020 .Case("addmod", MRICommand::AddMod)
1021 .Case("create", MRICommand::Create)
1022 .Case("createthin", MRICommand::CreateThin)
1023 .Case("delete", MRICommand::Delete)
1024 .Case("save", MRICommand::Save)
1025 .Case("end", MRICommand::End)
1126 .Case("default", Default)
1127 .Case("gnu", GNU)
1128 .Case("darwin", DARWIN)
1129 .Case("bsd", BSD)
tools/llvm-cov/llvm-cov.cpp 70 .Case("convert-for-testing", convertForTestingMain)
71 .Case("export", exportMain)
72 .Case("gcov", gcovMain)
73 .Case("report", reportMain)
74 .Case("show", showMain)
tools/llvm-ifs/llvm-ifs.cpp 300 .Case("x86_64", "EM_X86_64")
301 .Case("i386", "EM_386")
302 .Case("i686", "EM_386")
303 .Case("aarch64", "EM_AARCH64")
304 .Case("amdgcn", "EM_AMDGPU")
305 .Case("r600", "EM_AMDGPU")
306 .Case("arm", "EM_ARM")
307 .Case("thumb", "EM_ARM")
308 .Case("avr", "EM_AVR")
309 .Case("mips", "EM_MIPS")
310 .Case("mipsel", "EM_MIPS")
311 .Case("mips64", "EM_MIPS")
312 .Case("mips64el", "EM_MIPS")
313 .Case("msp430", "EM_MSP430")
314 .Case("ppc", "EM_PPC")
315 .Case("ppc64", "EM_PPC64")
316 .Case("ppc64le", "EM_PPC64")
317 .Case("x86", T.isOSIAMCU() ? "EM_IAMCU" : "EM_386")
318 .Case("x86_64", "EM_X86_64")
tools/llvm-objcopy/CopyConfig.cpp 445 .Case("binary", FileFormat::Binary)
446 .Case("ihex", FileFormat::IHex)
454 .Case("binary", FileFormat::Binary)
455 .Case("ihex", FileFormat::IHex)
478 .Case("zlib-gnu", DebugCompressionType::GNU)
479 .Case("zlib", DebugCompressionType::Z)
tools/llvm-objcopy/ELF/ELFConfig.cpp 107 .Case("default", ELF::STV_DEFAULT)
108 .Case("hidden", ELF::STV_HIDDEN)
109 .Case("internal", ELF::STV_INTERNAL)
110 .Case("protected", ELF::STV_PROTECTED)
unittests/ADT/StringSwitchTest.cpp 17 .Case("0", 0)
18 .Case("1", 1)
19 .Case("2", 2)
20 .Case("3", 3)
21 .Case("4", 4)
22 .Case("5", 5)
23 .Case("6", 6)
24 .Case("7", 7)
25 .Case("8", 8)
26 .Case("9", 9)
27 .Case("A", 10)
28 .Case("B", 11)
29 .Case("C", 12)
30 .Case("D", 13)
31 .Case("E", 14)
32 .Case("F", 15)
46 .Case("0", 0)
47 .Case("1", 1)
48 .Case("2", 2)
49 .Case("3", 3)
50 .Case("4", 4)
51 .Case("5", 5)
52 .Case("6", 6)
53 .Case("7", 7)
54 .Case("8", 8)
55 .Case("9", 9)
unittests/Support/YAMLIOTest.cpp 2882 .Case("!double", Scalar::SK_Double)
2883 .Case("!bool", Scalar::SK_Bool)