Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DHost.cpp965 const char *CPUInfoEnd = buffer + CPUInfoSize; in getHostCPUName() local
974 while (CIP < CPUInfoEnd && CPUStart == 0) { in getHostCPUName()
975 if (CIP < CPUInfoEnd && *CIP == '\n') in getHostCPUName()
978 if (CIP < CPUInfoEnd && *CIP == 'c') { in getHostCPUName()
980 if (CIP < CPUInfoEnd && *CIP == 'p') { in getHostCPUName()
982 if (CIP < CPUInfoEnd && *CIP == 'u') { in getHostCPUName()
984 while (CIP < CPUInfoEnd && (*CIP == ' ' || *CIP == '\t')) in getHostCPUName()
987 if (CIP < CPUInfoEnd && *CIP == ':') { in getHostCPUName()
989 while (CIP < CPUInfoEnd && (*CIP == ' ' || *CIP == '\t')) in getHostCPUName()
992 if (CIP < CPUInfoEnd) { in getHostCPUName()
[all …]
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DHost.cpp1007 const char *CPUInfoEnd = buffer + CPUInfoSize; in getHostCPUName() local
1016 while (CIP < CPUInfoEnd && CPUStart == 0) { in getHostCPUName()
1017 if (CIP < CPUInfoEnd && *CIP == '\n') in getHostCPUName()
1020 if (CIP < CPUInfoEnd && *CIP == 'c') { in getHostCPUName()
1022 if (CIP < CPUInfoEnd && *CIP == 'p') { in getHostCPUName()
1024 if (CIP < CPUInfoEnd && *CIP == 'u') { in getHostCPUName()
1026 while (CIP < CPUInfoEnd && (*CIP == ' ' || *CIP == '\t')) in getHostCPUName()
1029 if (CIP < CPUInfoEnd && *CIP == ':') { in getHostCPUName()
1031 while (CIP < CPUInfoEnd && (*CIP == ' ' || *CIP == '\t')) in getHostCPUName()
1034 if (CIP < CPUInfoEnd) { in getHostCPUName()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DHost.cpp77 StringRef::const_iterator CPUInfoEnd = ProcCpuinfoContent.end(); in getHostCPUNameForPowerPC() local
86 while (CIP < CPUInfoEnd && CPUStart == 0) { in getHostCPUNameForPowerPC()
87 if (CIP < CPUInfoEnd && *CIP == '\n') in getHostCPUNameForPowerPC()
90 if (CIP < CPUInfoEnd && *CIP == 'c') { in getHostCPUNameForPowerPC()
92 if (CIP < CPUInfoEnd && *CIP == 'p') { in getHostCPUNameForPowerPC()
94 if (CIP < CPUInfoEnd && *CIP == 'u') { in getHostCPUNameForPowerPC()
96 while (CIP < CPUInfoEnd && (*CIP == ' ' || *CIP == '\t')) in getHostCPUNameForPowerPC()
99 if (CIP < CPUInfoEnd && *CIP == ':') { in getHostCPUNameForPowerPC()
101 while (CIP < CPUInfoEnd && (*CIP == ' ' || *CIP == '\t')) in getHostCPUNameForPowerPC()
104 if (CIP < CPUInfoEnd) { in getHostCPUNameForPowerPC()
[all …]