Home
last modified time | relevance | path

Searched refs:testFeature (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Support/
H A DHost.cpp664 auto testFeature = [&](unsigned F) { in getIntelProcessorTypeAndSubtype() local
678 if (testFeature(X86::FEATURE_MMX)) { in getIntelProcessorTypeAndSubtype()
779 if (testFeature(X86::FEATURE_AVX512BF16)) { in getIntelProcessorTypeAndSubtype()
900 if (testFeature(X86::FEATURE_SHA)) in getIntelProcessorTypeAndSubtype()
911 if (testFeature(X86::FEATURE_MOVBE)) in getIntelProcessorTypeAndSubtype()
918 if (testFeature(X86::FEATURE_MOVBE)) in getIntelProcessorTypeAndSubtype()
939 if (testFeature(X86::FEATURE_64BIT)) { in getIntelProcessorTypeAndSubtype()
943 if (testFeature(X86::FEATURE_SSE3)) { in getIntelProcessorTypeAndSubtype()
961 auto testFeature = [&](unsigned F) { in getAMDProcessorTypeAndSubtype() local
991 if (testFeature(X86::FEATURE_SSE)) { in getAMDProcessorTypeAndSubtype()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/builtins/
H A Dcpu_model.c302 #define testFeature(F) \ in getIntelProcessorTypeAndSubtype() macro
405 if (testFeature(FEATURE_AVX512BF16)) { in getIntelProcessorTypeAndSubtype()
408 } else if (testFeature(FEATURE_AVX512VNNI)) { in getIntelProcessorTypeAndSubtype()