reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Support/Host.cpp
 1319   Features["cx8"]    = (EDX >>  8) & 1;
 1320   Features["cmov"]   = (EDX >> 15) & 1;
 1321   Features["mmx"]    = (EDX >> 23) & 1;
 1322   Features["fxsr"]   = (EDX >> 24) & 1;
 1323   Features["sse"]    = (EDX >> 25) & 1;
 1324   Features["sse2"]   = (EDX >> 26) & 1;
 1326   Features["sse3"]   = (ECX >>  0) & 1;
 1327   Features["pclmul"] = (ECX >>  1) & 1;
 1328   Features["ssse3"]  = (ECX >>  9) & 1;
 1329   Features["cx16"]   = (ECX >> 13) & 1;
 1330   Features["sse4.1"] = (ECX >> 19) & 1;
 1331   Features["sse4.2"] = (ECX >> 20) & 1;
 1332   Features["movbe"]  = (ECX >> 22) & 1;
 1333   Features["popcnt"] = (ECX >> 23) & 1;
 1334   Features["aes"]    = (ECX >> 25) & 1;
 1335   Features["rdrnd"]  = (ECX >> 30) & 1;
 1345   Features["avx"]   = HasAVXSave;
 1346   Features["fma"]   = ((ECX >> 12) & 1) && HasAVXSave;
 1348   Features["xsave"] = ((ECX >> 26) & 1) && HasAVXSave;
 1349   Features["f16c"]  = ((ECX >> 29) & 1) && HasAVXSave;
 1356   Features["sahf"]   = HasExtLeaf1 && ((ECX >>  0) & 1);
 1357   Features["lzcnt"]  = HasExtLeaf1 && ((ECX >>  5) & 1);
 1358   Features["sse4a"]  = HasExtLeaf1 && ((ECX >>  6) & 1);
 1359   Features["prfchw"] = HasExtLeaf1 && ((ECX >>  8) & 1);
 1360   Features["xop"]    = HasExtLeaf1 && ((ECX >> 11) & 1) && HasAVXSave;
 1361   Features["lwp"]    = HasExtLeaf1 && ((ECX >> 15) & 1);
 1362   Features["fma4"]   = HasExtLeaf1 && ((ECX >> 16) & 1) && HasAVXSave;
 1363   Features["tbm"]    = HasExtLeaf1 && ((ECX >> 21) & 1);
 1364   Features["mwaitx"] = HasExtLeaf1 && ((ECX >> 29) & 1);
 1366   Features["64bit"]  = HasExtLeaf1 && ((EDX >> 29) & 1);
 1372   Features["clzero"]   = HasExtLeaf8 && ((EBX >> 0) & 1);
 1373   Features["wbnoinvd"] = HasExtLeaf8 && ((EBX >> 9) & 1);
 1378   Features["fsgsbase"]   = HasLeaf7 && ((EBX >>  0) & 1);
 1379   Features["sgx"]        = HasLeaf7 && ((EBX >>  2) & 1);
 1380   Features["bmi"]        = HasLeaf7 && ((EBX >>  3) & 1);
 1382   Features["avx2"]       = HasLeaf7 && ((EBX >>  5) & 1) && HasAVXSave;
 1383   Features["bmi2"]       = HasLeaf7 && ((EBX >>  8) & 1);
 1384   Features["invpcid"]    = HasLeaf7 && ((EBX >> 10) & 1);
 1385   Features["rtm"]        = HasLeaf7 && ((EBX >> 11) & 1);
 1387   Features["avx512f"]    = HasLeaf7 && ((EBX >> 16) & 1) && HasAVX512Save;
 1388   Features["avx512dq"]   = HasLeaf7 && ((EBX >> 17) & 1) && HasAVX512Save;
 1389   Features["rdseed"]     = HasLeaf7 && ((EBX >> 18) & 1);
 1390   Features["adx"]        = HasLeaf7 && ((EBX >> 19) & 1);
 1391   Features["avx512ifma"] = HasLeaf7 && ((EBX >> 21) & 1) && HasAVX512Save;
 1392   Features["clflushopt"] = HasLeaf7 && ((EBX >> 23) & 1);
 1393   Features["clwb"]       = HasLeaf7 && ((EBX >> 24) & 1);
 1394   Features["avx512pf"]   = HasLeaf7 && ((EBX >> 26) & 1) && HasAVX512Save;
 1395   Features["avx512er"]   = HasLeaf7 && ((EBX >> 27) & 1) && HasAVX512Save;
 1396   Features["avx512cd"]   = HasLeaf7 && ((EBX >> 28) & 1) && HasAVX512Save;
 1397   Features["sha"]        = HasLeaf7 && ((EBX >> 29) & 1);
 1398   Features["avx512bw"]   = HasLeaf7 && ((EBX >> 30) & 1) && HasAVX512Save;
 1399   Features["avx512vl"]   = HasLeaf7 && ((EBX >> 31) & 1) && HasAVX512Save;
 1401   Features["prefetchwt1"]     = HasLeaf7 && ((ECX >>  0) & 1);
 1402   Features["avx512vbmi"]      = HasLeaf7 && ((ECX >>  1) & 1) && HasAVX512Save;
 1403   Features["pku"]             = HasLeaf7 && ((ECX >>  4) & 1);
 1404   Features["waitpkg"]         = HasLeaf7 && ((ECX >>  5) & 1);
 1405   Features["avx512vbmi2"]     = HasLeaf7 && ((ECX >>  6) & 1) && HasAVX512Save;
 1406   Features["shstk"]           = HasLeaf7 && ((ECX >>  7) & 1);
 1407   Features["gfni"]            = HasLeaf7 && ((ECX >>  8) & 1);
 1408   Features["vaes"]            = HasLeaf7 && ((ECX >>  9) & 1) && HasAVXSave;
 1409   Features["vpclmulqdq"]      = HasLeaf7 && ((ECX >> 10) & 1) && HasAVXSave;
 1410   Features["avx512vnni"]      = HasLeaf7 && ((ECX >> 11) & 1) && HasAVX512Save;
 1411   Features["avx512bitalg"]    = HasLeaf7 && ((ECX >> 12) & 1) && HasAVX512Save;
 1412   Features["avx512vpopcntdq"] = HasLeaf7 && ((ECX >> 14) & 1) && HasAVX512Save;
 1413   Features["rdpid"]           = HasLeaf7 && ((ECX >> 22) & 1);
 1414   Features["cldemote"]        = HasLeaf7 && ((ECX >> 25) & 1);
 1415   Features["movdiri"]         = HasLeaf7 && ((ECX >> 27) & 1);
 1416   Features["movdir64b"]       = HasLeaf7 && ((ECX >> 28) & 1);
 1417   Features["enqcmd"]          = HasLeaf7 && ((ECX >> 29) & 1);
 1429   Features["pconfig"] = HasLeaf7 && ((EDX >> 18) & 1);
 1432   Features["avx512bf16"] = HasLeaf7Subleaf1 && ((EAX >> 5) & 1) && HasAVX512Save;
 1438   Features["xsaveopt"] = HasLeafD && ((EAX >> 0) & 1) && HasAVXSave;
 1439   Features["xsavec"]   = HasLeafD && ((EAX >> 1) & 1) && HasAVXSave;
 1440   Features["xsaves"]   = HasLeafD && ((EAX >> 3) & 1) && HasAVXSave;
 1445   Features["ptwrite"] = HasLeaf14 && ((EBX >> 4) & 1);