Lines Matching refs:Feature

130   for (const auto &Feature : FeaturesVec) {  in initFeatureMap()  local
132 if (Feature == "+general-regs-only") { in initFeatureMap()
139 if (Feature.substr(1, 6) == "avx10.") { in initFeatureMap()
140 if (Feature[0] == '+') { in initFeatureMap()
142 if (Feature.substr(Feature.size() - 3, 3) == "512") in initFeatureMap()
144 LastAVX10 = Feature; in initFeatureMap()
145 } else if (HasAVX10 && Feature == "-avx10.1-256") { in initFeatureMap()
148 } else if (HasAVX10_512 && Feature == "-avx10.1-512") { in initFeatureMap()
152 UpdatedAVX10FeaturesVec.push_back(Feature); in initFeatureMap()
154 } else if (!HasAVX512F && Feature.substr(0, 7) == "+avx512") { in initFeatureMap()
156 LastAVX512 = Feature; in initFeatureMap()
157 } else if (HasAVX512F && Feature == "-avx512f") { in initFeatureMap()
159 } else if (HasEVEX512 != FE_TRUE && Feature == "+evex512") { in initFeatureMap()
162 } else if (HasEVEX512 != FE_FALSE && Feature == "-evex512") { in initFeatureMap()
167 UpdatedFeaturesVec.push_back(Feature); in initFeatureMap()
240 for (const auto &Feature : Features) { in handleTargetFeatures() local
241 if (Feature[0] != '+') in handleTargetFeatures()
244 if (Feature == "+aes") { in handleTargetFeatures()
246 } else if (Feature == "+vaes") { in handleTargetFeatures()
248 } else if (Feature == "+pclmul") { in handleTargetFeatures()
250 } else if (Feature == "+vpclmulqdq") { in handleTargetFeatures()
252 } else if (Feature == "+lzcnt") { in handleTargetFeatures()
254 } else if (Feature == "+rdrnd") { in handleTargetFeatures()
256 } else if (Feature == "+fsgsbase") { in handleTargetFeatures()
258 } else if (Feature == "+bmi") { in handleTargetFeatures()
260 } else if (Feature == "+bmi2") { in handleTargetFeatures()
262 } else if (Feature == "+popcnt") { in handleTargetFeatures()
264 } else if (Feature == "+rtm") { in handleTargetFeatures()
266 } else if (Feature == "+prfchw") { in handleTargetFeatures()
268 } else if (Feature == "+rdseed") { in handleTargetFeatures()
270 } else if (Feature == "+adx") { in handleTargetFeatures()
272 } else if (Feature == "+tbm") { in handleTargetFeatures()
274 } else if (Feature == "+lwp") { in handleTargetFeatures()
276 } else if (Feature == "+fma") { in handleTargetFeatures()
278 } else if (Feature == "+f16c") { in handleTargetFeatures()
280 } else if (Feature == "+gfni") { in handleTargetFeatures()
282 } else if (Feature == "+evex512") { in handleTargetFeatures()
284 } else if (Feature == "+avx10.1-256") { in handleTargetFeatures()
286 } else if (Feature == "+avx10.1-512") { in handleTargetFeatures()
288 } else if (Feature == "+avx512cd") { in handleTargetFeatures()
290 } else if (Feature == "+avx512vpopcntdq") { in handleTargetFeatures()
292 } else if (Feature == "+avx512vnni") { in handleTargetFeatures()
294 } else if (Feature == "+avx512bf16") { in handleTargetFeatures()
296 } else if (Feature == "+avx512er") { in handleTargetFeatures()
299 } else if (Feature == "+avx512fp16") { in handleTargetFeatures()
302 } else if (Feature == "+avx512pf") { in handleTargetFeatures()
305 } else if (Feature == "+avx512dq") { in handleTargetFeatures()
307 } else if (Feature == "+avx512bitalg") { in handleTargetFeatures()
309 } else if (Feature == "+avx512bw") { in handleTargetFeatures()
311 } else if (Feature == "+avx512vl") { in handleTargetFeatures()
313 } else if (Feature == "+avx512vbmi") { in handleTargetFeatures()
315 } else if (Feature == "+avx512vbmi2") { in handleTargetFeatures()
317 } else if (Feature == "+avx512ifma") { in handleTargetFeatures()
319 } else if (Feature == "+avx512vp2intersect") { in handleTargetFeatures()
321 } else if (Feature == "+sha") { in handleTargetFeatures()
323 } else if (Feature == "+sha512") { in handleTargetFeatures()
325 } else if (Feature == "+shstk") { in handleTargetFeatures()
327 } else if (Feature == "+sm3") { in handleTargetFeatures()
329 } else if (Feature == "+sm4") { in handleTargetFeatures()
331 } else if (Feature == "+movbe") { in handleTargetFeatures()
333 } else if (Feature == "+sgx") { in handleTargetFeatures()
335 } else if (Feature == "+cx8") { in handleTargetFeatures()
337 } else if (Feature == "+cx16") { in handleTargetFeatures()
339 } else if (Feature == "+fxsr") { in handleTargetFeatures()
341 } else if (Feature == "+xsave") { in handleTargetFeatures()
343 } else if (Feature == "+xsaveopt") { in handleTargetFeatures()
345 } else if (Feature == "+xsavec") { in handleTargetFeatures()
347 } else if (Feature == "+xsaves") { in handleTargetFeatures()
349 } else if (Feature == "+mwaitx") { in handleTargetFeatures()
351 } else if (Feature == "+pku") { in handleTargetFeatures()
353 } else if (Feature == "+clflushopt") { in handleTargetFeatures()
355 } else if (Feature == "+clwb") { in handleTargetFeatures()
357 } else if (Feature == "+wbnoinvd") { in handleTargetFeatures()
359 } else if (Feature == "+prefetchi") { in handleTargetFeatures()
361 } else if (Feature == "+prefetchwt1") { in handleTargetFeatures()
364 } else if (Feature == "+clzero") { in handleTargetFeatures()
366 } else if (Feature == "+cldemote") { in handleTargetFeatures()
368 } else if (Feature == "+rdpid") { in handleTargetFeatures()
370 } else if (Feature == "+rdpru") { in handleTargetFeatures()
372 } else if (Feature == "+kl") { in handleTargetFeatures()
374 } else if (Feature == "+widekl") { in handleTargetFeatures()
376 } else if (Feature == "+retpoline-external-thunk") { in handleTargetFeatures()
378 } else if (Feature == "+sahf") { in handleTargetFeatures()
380 } else if (Feature == "+waitpkg") { in handleTargetFeatures()
382 } else if (Feature == "+movdiri") { in handleTargetFeatures()
384 } else if (Feature == "+movdir64b") { in handleTargetFeatures()
386 } else if (Feature == "+pconfig") { in handleTargetFeatures()
388 } else if (Feature == "+ptwrite") { in handleTargetFeatures()
390 } else if (Feature == "+invpcid") { in handleTargetFeatures()
392 } else if (Feature == "+enqcmd") { in handleTargetFeatures()
394 } else if (Feature == "+hreset") { in handleTargetFeatures()
396 } else if (Feature == "+amx-bf16") { in handleTargetFeatures()
398 } else if (Feature == "+amx-fp16") { in handleTargetFeatures()
400 } else if (Feature == "+amx-int8") { in handleTargetFeatures()
402 } else if (Feature == "+amx-tile") { in handleTargetFeatures()
404 } else if (Feature == "+amx-complex") { in handleTargetFeatures()
406 } else if (Feature == "+cmpccxadd") { in handleTargetFeatures()
408 } else if (Feature == "+raoint") { in handleTargetFeatures()
410 } else if (Feature == "+avxifma") { in handleTargetFeatures()
412 } else if (Feature == "+avxneconvert") { in handleTargetFeatures()
414 } else if (Feature == "+avxvnni") { in handleTargetFeatures()
416 } else if (Feature == "+avxvnniint16") { in handleTargetFeatures()
418 } else if (Feature == "+avxvnniint8") { in handleTargetFeatures()
420 } else if (Feature == "+serialize") { in handleTargetFeatures()
422 } else if (Feature == "+tsxldtrk") { in handleTargetFeatures()
424 } else if (Feature == "+uintr") { in handleTargetFeatures()
426 } else if (Feature == "+usermsr") { in handleTargetFeatures()
428 } else if (Feature == "+crc32") { in handleTargetFeatures()
430 } else if (Feature == "+x87") { in handleTargetFeatures()
432 } else if (Feature == "+fullbf16") { in handleTargetFeatures()
434 } else if (Feature == "+egpr") { in handleTargetFeatures()
436 } else if (Feature == "+push2pop2") { in handleTargetFeatures()
438 } else if (Feature == "+ppx") { in handleTargetFeatures()
440 } else if (Feature == "+ndd") { in handleTargetFeatures()
442 } else if (Feature == "+ccmp") { in handleTargetFeatures()
444 } else if (Feature == "+cf") { in handleTargetFeatures()
448 X86SSEEnum Level = llvm::StringSwitch<X86SSEEnum>(Feature) in handleTargetFeatures()
474 MMX3DNowEnum ThreeDNowLevel = llvm::StringSwitch<MMX3DNowEnum>(Feature) in handleTargetFeatures()
481 XOPEnum XLevel = llvm::StringSwitch<XOPEnum>(Feature) in handleTargetFeatures()
1161 bool X86TargetInfo::hasFeature(StringRef Feature) const { in hasFeature()
1162 return llvm::StringSwitch<bool>(Feature) in hasFeature()