Lines Matching refs:Lines
600 SmallVector<StringRef, 32> Lines; in getHostCPUName() local
601 Str.split(Lines, "\n"); in getHostCPUName()
605 for (unsigned I = 0, E = Lines.size(); I != E; ++I) in getHostCPUName()
606 if (Lines[I].startswith("CPU implementer")) in getHostCPUName()
607 Implementer = Lines[I].substr(15).ltrim("\t :"); in getHostCPUName()
611 for (unsigned I = 0, E = Lines.size(); I != E; ++I) in getHostCPUName()
612 if (Lines[I].startswith("CPU part")) in getHostCPUName()
616 return StringSwitch<const char *>(Lines[I].substr(8).ltrim("\t :")) in getHostCPUName()
632 for (unsigned I = 0, E = Lines.size(); I != E; ++I) in getHostCPUName()
633 if (Lines[I].startswith("CPU part")) in getHostCPUName()
637 return StringSwitch<const char *>(Lines[I].substr(8).ltrim("\t :")) in getHostCPUName()
664 SmallVector<StringRef, 32> Lines; in getHostCPUName() local
665 Str.split(Lines, "\n"); in getHostCPUName()
666 for (unsigned I = 0, E = Lines.size(); I != E; ++I) { in getHostCPUName()
667 if (Lines[I].startswith("processor ")) { in getHostCPUName()
668 size_t Pos = Lines[I].find("machine = "); in getHostCPUName()
672 if (!Lines[I].drop_front(Pos).getAsInteger(10, Id)) { in getHostCPUName()
708 SmallVector<StringRef, 32> Lines; in getHostCPUFeatures() local
709 Str.split(Lines, "\n"); in getHostCPUFeatures()
714 for (unsigned I = 0, E = Lines.size(); I != E; ++I) in getHostCPUFeatures()
715 if (Lines[I].startswith("Features")) { in getHostCPUFeatures()
716 Lines[I].split(CPUFeatures, " "); in getHostCPUFeatures()