Lines Matching refs:Feature

122   for (const auto &Feature : FeaturesVec) {  in initFeatureMap()  local
124 if (Feature == "+general-regs-only") { in initFeatureMap()
131 UpdatedFeaturesVec.push_back(Feature); in initFeatureMap()
189 for (const auto &Feature : Features) { in handleTargetFeatures() local
190 if (Feature[0] != '+') in handleTargetFeatures()
193 if (Feature == "+aes") { in handleTargetFeatures()
195 } else if (Feature == "+vaes") { in handleTargetFeatures()
197 } else if (Feature == "+pclmul") { in handleTargetFeatures()
199 } else if (Feature == "+vpclmulqdq") { in handleTargetFeatures()
201 } else if (Feature == "+lzcnt") { in handleTargetFeatures()
203 } else if (Feature == "+rdrnd") { in handleTargetFeatures()
205 } else if (Feature == "+fsgsbase") { in handleTargetFeatures()
207 } else if (Feature == "+bmi") { in handleTargetFeatures()
209 } else if (Feature == "+bmi2") { in handleTargetFeatures()
211 } else if (Feature == "+popcnt") { in handleTargetFeatures()
213 } else if (Feature == "+rtm") { in handleTargetFeatures()
215 } else if (Feature == "+prfchw") { in handleTargetFeatures()
217 } else if (Feature == "+rdseed") { in handleTargetFeatures()
219 } else if (Feature == "+adx") { in handleTargetFeatures()
221 } else if (Feature == "+tbm") { in handleTargetFeatures()
223 } else if (Feature == "+lwp") { in handleTargetFeatures()
225 } else if (Feature == "+fma") { in handleTargetFeatures()
227 } else if (Feature == "+f16c") { in handleTargetFeatures()
229 } else if (Feature == "+gfni") { in handleTargetFeatures()
231 } else if (Feature == "+avx512cd") { in handleTargetFeatures()
233 } else if (Feature == "+avx512vpopcntdq") { in handleTargetFeatures()
235 } else if (Feature == "+avx512vnni") { in handleTargetFeatures()
237 } else if (Feature == "+avx512bf16") { in handleTargetFeatures()
239 } else if (Feature == "+avx512er") { in handleTargetFeatures()
241 } else if (Feature == "+avx512fp16") { in handleTargetFeatures()
244 } else if (Feature == "+avx512pf") { in handleTargetFeatures()
246 } else if (Feature == "+avx512dq") { in handleTargetFeatures()
248 } else if (Feature == "+avx512bitalg") { in handleTargetFeatures()
250 } else if (Feature == "+avx512bw") { in handleTargetFeatures()
252 } else if (Feature == "+avx512vl") { in handleTargetFeatures()
254 } else if (Feature == "+avx512vbmi") { in handleTargetFeatures()
256 } else if (Feature == "+avx512vbmi2") { in handleTargetFeatures()
258 } else if (Feature == "+avx512ifma") { in handleTargetFeatures()
260 } else if (Feature == "+avx512vp2intersect") { in handleTargetFeatures()
262 } else if (Feature == "+sha") { in handleTargetFeatures()
264 } else if (Feature == "+shstk") { in handleTargetFeatures()
266 } else if (Feature == "+movbe") { in handleTargetFeatures()
268 } else if (Feature == "+sgx") { in handleTargetFeatures()
270 } else if (Feature == "+cx8") { in handleTargetFeatures()
272 } else if (Feature == "+cx16") { in handleTargetFeatures()
274 } else if (Feature == "+fxsr") { in handleTargetFeatures()
276 } else if (Feature == "+xsave") { in handleTargetFeatures()
278 } else if (Feature == "+xsaveopt") { in handleTargetFeatures()
280 } else if (Feature == "+xsavec") { in handleTargetFeatures()
282 } else if (Feature == "+xsaves") { in handleTargetFeatures()
284 } else if (Feature == "+mwaitx") { in handleTargetFeatures()
286 } else if (Feature == "+pku") { in handleTargetFeatures()
288 } else if (Feature == "+clflushopt") { in handleTargetFeatures()
290 } else if (Feature == "+clwb") { in handleTargetFeatures()
292 } else if (Feature == "+wbnoinvd") { in handleTargetFeatures()
294 } else if (Feature == "+prefetchi") { in handleTargetFeatures()
296 } else if (Feature == "+prefetchwt1") { in handleTargetFeatures()
298 } else if (Feature == "+clzero") { in handleTargetFeatures()
300 } else if (Feature == "+cldemote") { in handleTargetFeatures()
302 } else if (Feature == "+rdpid") { in handleTargetFeatures()
304 } else if (Feature == "+rdpru") { in handleTargetFeatures()
306 } else if (Feature == "+kl") { in handleTargetFeatures()
308 } else if (Feature == "+widekl") { in handleTargetFeatures()
310 } else if (Feature == "+retpoline-external-thunk") { in handleTargetFeatures()
312 } else if (Feature == "+sahf") { in handleTargetFeatures()
314 } else if (Feature == "+waitpkg") { in handleTargetFeatures()
316 } else if (Feature == "+movdiri") { in handleTargetFeatures()
318 } else if (Feature == "+movdir64b") { in handleTargetFeatures()
320 } else if (Feature == "+pconfig") { in handleTargetFeatures()
322 } else if (Feature == "+ptwrite") { in handleTargetFeatures()
324 } else if (Feature == "+invpcid") { in handleTargetFeatures()
326 } else if (Feature == "+save-args") { in handleTargetFeatures()
328 } else if (Feature == "+enqcmd") { in handleTargetFeatures()
330 } else if (Feature == "+hreset") { in handleTargetFeatures()
332 } else if (Feature == "+amx-bf16") { in handleTargetFeatures()
334 } else if (Feature == "+amx-fp16") { in handleTargetFeatures()
336 } else if (Feature == "+amx-int8") { in handleTargetFeatures()
338 } else if (Feature == "+amx-tile") { in handleTargetFeatures()
340 } else if (Feature == "+cmpccxadd") { in handleTargetFeatures()
342 } else if (Feature == "+raoint") { in handleTargetFeatures()
344 } else if (Feature == "+avxifma") { in handleTargetFeatures()
346 } else if (Feature == "+avxneconvert") { in handleTargetFeatures()
348 } else if (Feature == "+avxvnni") { in handleTargetFeatures()
350 } else if (Feature == "+avxvnniint8") { in handleTargetFeatures()
352 } else if (Feature == "+serialize") { in handleTargetFeatures()
354 } else if (Feature == "+tsxldtrk") { in handleTargetFeatures()
356 } else if (Feature == "+uintr") { in handleTargetFeatures()
358 } else if (Feature == "+crc32") { in handleTargetFeatures()
360 } else if (Feature == "+x87") { in handleTargetFeatures()
364 X86SSEEnum Level = llvm::StringSwitch<X86SSEEnum>(Feature) in handleTargetFeatures()
381 MMX3DNowEnum ThreeDNowLevel = llvm::StringSwitch<MMX3DNowEnum>(Feature) in handleTargetFeatures()
388 XOPEnum XLevel = llvm::StringSwitch<XOPEnum>(Feature) in handleTargetFeatures()
1016 bool X86TargetInfo::hasFeature(StringRef Feature) const { in hasFeature()
1017 return llvm::StringSwitch<bool>(Feature) in hasFeature()