Home
last modified time | relevance | path

Searched refs:MaxLeaf (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/TargetParser/
H A DHost.cpp618 VendorSignatures getVendorSignature(unsigned *MaxLeaf) { in getVendorSignature() argument
620 if (MaxLeaf == nullptr) in getVendorSignature()
621 MaxLeaf = &EAX; in getVendorSignature()
623 *MaxLeaf = 0; in getVendorSignature()
625 if (getX86CpuIDAndInfo(0, MaxLeaf, &EBX, &ECX, &EDX) || *MaxLeaf < 1) in getVendorSignature()
1283 static void getAvailableFeatures(unsigned ECX, unsigned EDX, unsigned MaxLeaf, in getAvailableFeatures() argument
1342 MaxLeaf >= 0x7 && !getX86CpuIDAndInfoEx(0x7, 0x0, &EAX, &EBX, &ECX, &EDX); in getAvailableFeatures()
1418 unsigned MaxLeaf = 0; in getHostCPUName() local
1419 const VendorSignatures Vendor = getVendorSignature(&MaxLeaf); in getHostCPUName()
1429 getAvailableFeatures(ECX, EDX, MaxLeaf, Features); in getHostCPUName()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/cpu_model/
H A Dx86.c823 static void getAvailableFeatures(unsigned ECX, unsigned EDX, unsigned MaxLeaf, in getAvailableFeatures() argument
891 MaxLeaf >= 0x7 && !getX86CpuIDAndInfoEx(0x7, 0x0, &EAX, &EBX, &ECX, &EDX); in getAvailableFeatures()
1156 unsigned MaxLeaf = 5; in __cpu_indicator_init() local
1167 if (getX86CpuIDAndInfo(0, &MaxLeaf, &Vendor, &ECX, &EDX) || MaxLeaf < 1) { in __cpu_indicator_init()
1176 getAvailableFeatures(ECX, EDX, MaxLeaf, &Features[0]); in __cpu_indicator_init()
/freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/
H A DHost.h82 LLVM_ABI VendorSignatures getVendorSignature(unsigned *MaxLeaf = nullptr);