Lines Matching refs:Lines
486 SmallVector<StringRef, 32> Lines; in getHostCPUName() local
487 Str.split(Lines, "\n"); in getHostCPUName()
491 for (unsigned I = 0, E = Lines.size(); I != E; ++I) in getHostCPUName()
492 if (Lines[I].startswith("CPU implementer")) in getHostCPUName()
493 Implementer = Lines[I].substr(15).ltrim("\t :"); in getHostCPUName()
497 for (unsigned I = 0, E = Lines.size(); I != E; ++I) in getHostCPUName()
498 if (Lines[I].startswith("CPU part")) in getHostCPUName()
502 return StringSwitch<const char *>(Lines[I].substr(8).ltrim("\t :")) in getHostCPUName()
541 SmallVector<StringRef, 32> Lines; in getHostCPUFeatures() local
542 Str.split(Lines, "\n"); in getHostCPUFeatures()
546 for (unsigned I = 0, E = Lines.size(); I != E; ++I) in getHostCPUFeatures()
547 if (Lines[I].startswith("CPU implementer")) in getHostCPUFeatures()
548 Implementer = Lines[I].substr(15).ltrim("\t :"); in getHostCPUFeatures()
554 for (unsigned I = 0, E = Lines.size(); I != E; ++I) in getHostCPUFeatures()
555 if (Lines[I].startswith("Features")) { in getHostCPUFeatures()
556 Lines[I].split(CPUFeatures, " "); in getHostCPUFeatures()