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.cpp606 VendorSignatures getVendorSignature(unsigned *MaxLeaf) { in getVendorSignature() argument
608 if (MaxLeaf == nullptr) in getVendorSignature()
609 MaxLeaf = &EAX; in getVendorSignature()
611 *MaxLeaf = 0; in getVendorSignature()
616 if (getX86CpuIDAndInfo(0, MaxLeaf, &EBX, &ECX, &EDX) || *MaxLeaf < 1) in getVendorSignature()
1244 static void getAvailableFeatures(unsigned ECX, unsigned EDX, unsigned MaxLeaf, in getAvailableFeatures() argument
1303 MaxLeaf >= 0x7 && !getX86CpuIDAndInfoEx(0x7, 0x0, &EAX, &EBX, &ECX, &EDX); in getAvailableFeatures()
1379 unsigned MaxLeaf = 0; in getHostCPUName() local
1380 const VendorSignatures Vendor = getVendorSignature(&MaxLeaf); in getHostCPUName()
1390 getAvailableFeatures(ECX, EDX, MaxLeaf, Features); in getHostCPUName()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/cpu_model/
H A Dx86.c835 static void getAvailableFeatures(unsigned ECX, unsigned EDX, unsigned MaxLeaf, in getAvailableFeatures() argument
903 MaxLeaf >= 0x7 && !getX86CpuIDAndInfoEx(0x7, 0x0, &EAX, &EBX, &ECX, &EDX); in getAvailableFeatures()
1156 unsigned MaxLeaf = 5; in __cpu_indicator_init() local
1168 getX86CpuIDAndInfo(0, &MaxLeaf, &Vendor, &ECX, &EDX) || MaxLeaf < 1) { in __cpu_indicator_init()
1177 getAvailableFeatures(ECX, EDX, MaxLeaf, &Features[0]); in __cpu_indicator_init()
/freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/
H A DHost.h81 VendorSignatures getVendorSignature(unsigned *MaxLeaf = nullptr);