Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/lib/builtins/
H A Dcpu_model.c601 static void getAvailableFeatures(unsigned ECX, unsigned EDX, unsigned MaxLeaf, in getAvailableFeatures() argument
654 MaxLeaf >= 0x7 && !getX86CpuIDAndInfoEx(0x7, 0x0, &EAX, &EBX, &ECX, &EDX); in getAvailableFeatures()
702 MaxLeaf >= 0x7 && !getX86CpuIDAndInfoEx(0x7, 0x1, &EAX, &EBX, &ECX, &EDX); in getAvailableFeatures()
748 unsigned MaxLeaf = 5; in __cpu_indicator_init() local
758 getX86CpuIDAndInfo(0, &MaxLeaf, &Vendor, &ECX, &EDX) || MaxLeaf < 1) { in __cpu_indicator_init()
767 getAvailableFeatures(ECX, EDX, MaxLeaf, &Features[0]); in __cpu_indicator_init()
/llvm-project-15.0.7/llvm/lib/Support/
H A DHost.cpp559 VendorSignatures getVendorSignature(unsigned *MaxLeaf) { in getVendorSignature() argument
561 if (MaxLeaf == nullptr) in getVendorSignature()
562 MaxLeaf = &EAX; in getVendorSignature()
564 *MaxLeaf = 0; in getVendorSignature()
569 if (getX86CpuIDAndInfo(0, MaxLeaf, &EBX, &ECX, &EDX) || *MaxLeaf < 1) in getVendorSignature()
1078 static void getAvailableFeatures(unsigned ECX, unsigned EDX, unsigned MaxLeaf, in getAvailableFeatures() argument
1191 MaxLeaf >= 7 && !getX86CpuIDAndInfoEx(0x7, 0x1, &EAX, &EBX, &ECX, &EDX); in getAvailableFeatures()
1212 unsigned MaxLeaf = 0; in getHostCPUName() local
1213 const VendorSignatures Vendor = getVendorSignature(&MaxLeaf); in getHostCPUName()
1223 getAvailableFeatures(ECX, EDX, MaxLeaf, Features); in getHostCPUName()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DHost.h82 VendorSignatures getVendorSignature(unsigned *MaxLeaf = nullptr);