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

References

lib/Support/Host.cpp
 1317   getX86CpuIDAndInfo(1, &EAX, &EBX, &ECX, &EDX);
 1352   getX86CpuIDAndInfo(0x80000000, &MaxExtLevel, &EBX, &ECX, &EDX);
 1355                      !getX86CpuIDAndInfo(0x80000001, &EAX, &EBX, &ECX, &EDX);
 1371                      !getX86CpuIDAndInfo(0x80000008, &EAX, &EBX, &ECX, &EDX);
 1372   Features["clzero"]   = HasExtLeaf8 && ((EBX >> 0) & 1);
 1373   Features["wbnoinvd"] = HasExtLeaf8 && ((EBX >> 9) & 1);
 1376       MaxLevel >= 7 && !getX86CpuIDAndInfoEx(0x7, 0x0, &EAX, &EBX, &ECX, &EDX);
 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;
 1431       MaxLevel >= 7 && !getX86CpuIDAndInfoEx(0x7, 0x1, &EAX, &EBX, &ECX, &EDX);
 1435                   !getX86CpuIDAndInfoEx(0xd, 0x1, &EAX, &EBX, &ECX, &EDX);
 1443                   !getX86CpuIDAndInfoEx(0x14, 0x0, &EAX, &EBX, &ECX, &EDX);
 1445   Features["ptwrite"] = HasLeaf14 && ((EBX >> 4) & 1);