Home | History | Annotate | Download | only in Support

Lines Matching refs:Lines

636   SmallVector<StringRef, 32> Lines;
637 Str.split(Lines, "\n");
641 for (unsigned I = 0, E = Lines.size(); I != E; ++I)
642 if (Lines[I].startswith("CPU implementer"))
643 Implementer = Lines[I].substr(15).ltrim("\t :");
647 for (unsigned I = 0, E = Lines.size(); I != E; ++I)
648 if (Lines[I].startswith("CPU part"))
652 return StringSwitch<const char *>(Lines[I].substr(8).ltrim("\t :"))
668 for (unsigned I = 0, E = Lines.size(); I != E; ++I)
669 if (Lines[I].startswith("CPU part"))
673 return StringSwitch<const char *>(Lines[I].substr(8).ltrim("\t :"))
691 SmallVector<StringRef, 32> Lines;
692 Str.split(Lines, "\n");
696 for (unsigned I = 0, E = Lines.size(); I != E; ++I)
697 if (Lines[I].startswith("features")) {
698 size_t Pos = Lines[I].find(":");
700 Lines[I].drop_front(Pos + 1).split(CPUFeatures, ' ');
715 for (unsigned I = 0, E = Lines.size(); I != E; ++I) {
716 if (Lines[I].startswith("processor ")) {
717 size_t Pos = Lines[I].find("machine = ");
721 if (!Lines[I].drop_front(Pos).getAsInteger(10, Id)) {
848 SmallVector<StringRef, 32> Lines;
849 Str.split(Lines, "\n");
854 for (unsigned I = 0, E = Lines.size(); I != E; ++I)
855 if (Lines[I].startswith("Features")) {
856 Lines[I].split(CPUFeatures, ' ');