Lines Matching refs:Feature

121   for (const auto &Feature : FeaturesVec) {  in initFeatureMap()  local
123 if (Feature == "+general-regs-only") { in initFeatureMap()
130 UpdatedFeaturesVec.push_back(Feature); in initFeatureMap()
188 for (const auto &Feature : Features) { in handleTargetFeatures() local
189 if (Feature[0] != '+') in handleTargetFeatures()
192 if (Feature == "+aes") { in handleTargetFeatures()
194 } else if (Feature == "+vaes") { in handleTargetFeatures()
196 } else if (Feature == "+pclmul") { in handleTargetFeatures()
198 } else if (Feature == "+vpclmulqdq") { in handleTargetFeatures()
200 } else if (Feature == "+lzcnt") { in handleTargetFeatures()
202 } else if (Feature == "+rdrnd") { in handleTargetFeatures()
204 } else if (Feature == "+fsgsbase") { in handleTargetFeatures()
206 } else if (Feature == "+bmi") { in handleTargetFeatures()
208 } else if (Feature == "+bmi2") { in handleTargetFeatures()
210 } else if (Feature == "+popcnt") { in handleTargetFeatures()
212 } else if (Feature == "+rtm") { in handleTargetFeatures()
214 } else if (Feature == "+prfchw") { in handleTargetFeatures()
216 } else if (Feature == "+rdseed") { in handleTargetFeatures()
218 } else if (Feature == "+adx") { in handleTargetFeatures()
220 } else if (Feature == "+tbm") { in handleTargetFeatures()
222 } else if (Feature == "+lwp") { in handleTargetFeatures()
224 } else if (Feature == "+fma") { in handleTargetFeatures()
226 } else if (Feature == "+f16c") { in handleTargetFeatures()
228 } else if (Feature == "+gfni") { in handleTargetFeatures()
230 } else if (Feature == "+avx512cd") { in handleTargetFeatures()
232 } else if (Feature == "+avx512vpopcntdq") { in handleTargetFeatures()
234 } else if (Feature == "+avx512vnni") { in handleTargetFeatures()
236 } else if (Feature == "+avx512bf16") { in handleTargetFeatures()
238 } else if (Feature == "+avx512er") { in handleTargetFeatures()
240 } else if (Feature == "+avx512fp16") { in handleTargetFeatures()
242 } else if (Feature == "+avx512pf") { in handleTargetFeatures()
244 } else if (Feature == "+avx512dq") { in handleTargetFeatures()
246 } else if (Feature == "+avx512bitalg") { in handleTargetFeatures()
248 } else if (Feature == "+avx512bw") { in handleTargetFeatures()
250 } else if (Feature == "+avx512vl") { in handleTargetFeatures()
252 } else if (Feature == "+avx512vbmi") { in handleTargetFeatures()
254 } else if (Feature == "+avx512vbmi2") { in handleTargetFeatures()
256 } else if (Feature == "+avx512ifma") { in handleTargetFeatures()
258 } else if (Feature == "+avx512vp2intersect") { in handleTargetFeatures()
260 } else if (Feature == "+sha") { in handleTargetFeatures()
262 } else if (Feature == "+shstk") { in handleTargetFeatures()
264 } else if (Feature == "+movbe") { in handleTargetFeatures()
266 } else if (Feature == "+sgx") { in handleTargetFeatures()
268 } else if (Feature == "+cx8") { in handleTargetFeatures()
270 } else if (Feature == "+cx16") { in handleTargetFeatures()
272 } else if (Feature == "+fxsr") { in handleTargetFeatures()
274 } else if (Feature == "+xsave") { in handleTargetFeatures()
276 } else if (Feature == "+xsaveopt") { in handleTargetFeatures()
278 } else if (Feature == "+xsavec") { in handleTargetFeatures()
280 } else if (Feature == "+xsaves") { in handleTargetFeatures()
282 } else if (Feature == "+mwaitx") { in handleTargetFeatures()
284 } else if (Feature == "+pku") { in handleTargetFeatures()
286 } else if (Feature == "+clflushopt") { in handleTargetFeatures()
288 } else if (Feature == "+clwb") { in handleTargetFeatures()
290 } else if (Feature == "+wbnoinvd") { in handleTargetFeatures()
292 } else if (Feature == "+prefetchwt1") { in handleTargetFeatures()
294 } else if (Feature == "+clzero") { in handleTargetFeatures()
296 } else if (Feature == "+cldemote") { in handleTargetFeatures()
298 } else if (Feature == "+rdpid") { in handleTargetFeatures()
300 } else if (Feature == "+rdpru") { in handleTargetFeatures()
302 } else if (Feature == "+kl") { in handleTargetFeatures()
304 } else if (Feature == "+widekl") { in handleTargetFeatures()
306 } else if (Feature == "+retpoline-external-thunk") { in handleTargetFeatures()
308 } else if (Feature == "+sahf") { in handleTargetFeatures()
310 } else if (Feature == "+waitpkg") { in handleTargetFeatures()
312 } else if (Feature == "+movdiri") { in handleTargetFeatures()
314 } else if (Feature == "+movdir64b") { in handleTargetFeatures()
316 } else if (Feature == "+pconfig") { in handleTargetFeatures()
318 } else if (Feature == "+ptwrite") { in handleTargetFeatures()
320 } else if (Feature == "+invpcid") { in handleTargetFeatures()
322 } else if (Feature == "+enqcmd") { in handleTargetFeatures()
324 } else if (Feature == "+hreset") { in handleTargetFeatures()
326 } else if (Feature == "+amx-bf16") { in handleTargetFeatures()
328 } else if (Feature == "+amx-int8") { in handleTargetFeatures()
330 } else if (Feature == "+amx-tile") { in handleTargetFeatures()
332 } else if (Feature == "+avxvnni") { in handleTargetFeatures()
334 } else if (Feature == "+serialize") { in handleTargetFeatures()
336 } else if (Feature == "+tsxldtrk") { in handleTargetFeatures()
338 } else if (Feature == "+uintr") { in handleTargetFeatures()
340 } else if (Feature == "+crc32") { in handleTargetFeatures()
342 } else if (Feature == "+x87") { in handleTargetFeatures()
346 X86SSEEnum Level = llvm::StringSwitch<X86SSEEnum>(Feature) in handleTargetFeatures()
363 MMX3DNowEnum ThreeDNowLevel = llvm::StringSwitch<MMX3DNowEnum>(Feature) in handleTargetFeatures()
370 XOPEnum XLevel = llvm::StringSwitch<XOPEnum>(Feature) in handleTargetFeatures()
968 bool X86TargetInfo::hasFeature(StringRef Feature) const { in hasFeature()
969 return llvm::StringSwitch<bool>(Feature) in hasFeature()