Home | History | Annotate | Download | only in Support

Lines Matching refs:Lines

628   SmallVector<StringRef, 32> Lines;
629 Str.split(Lines, "\n");
633 for (unsigned I = 0, E = Lines.size(); I != E; ++I)
634 if (Lines[I].startswith("CPU implementer"))
635 Implementer = Lines[I].substr(15).ltrim("\t :");
639 for (unsigned I = 0, E = Lines.size(); I != E; ++I)
640 if (Lines[I].startswith("CPU part"))
644 return StringSwitch<const char *>(Lines[I].substr(8).ltrim("\t :"))
660 for (unsigned I = 0, E = Lines.size(); I != E; ++I)
661 if (Lines[I].startswith("CPU part"))
665 return StringSwitch<const char *>(Lines[I].substr(8).ltrim("\t :"))
683 SmallVector<StringRef, 32> Lines;
684 Str.split(Lines, "\n");
685 for (unsigned I = 0, E = Lines.size(); I != E; ++I) {
686 if (Lines[I].startswith("processor ")) {
687 size_t Pos = Lines[I].find("machine = ");
691 if (!Lines[I].drop_front(Pos).getAsInteger(10, Id)) {
803 SmallVector<StringRef, 32> Lines;
804 Str.split(Lines, "\n");
809 for (unsigned I = 0, E = Lines.size(); I != E; ++I)
810 if (Lines[I].startswith("Features")) {
811 Lines[I].split(CPUFeatures, " ");