Home | History | Annotate | Download | only in TableGen

Lines Matching refs:CharNo

39 /// same length and whose characters leading up to CharNo are the same, emit
40 /// code to verify that CharNo and later are the same.
45 unsigned CharNo, unsigned IndentCount) const {
51 if (CharNo == Matches[0]->first.size()) {
73 MatchesByLetter[Matches[i]->first[CharNo]].push_back(Matches[i]);
80 unsigned NumChars = FirstNonCommonLetter-CharNo;
86 OS << Indent << "if (" << StrVariableName << "[" << CharNo << "] != '"
87 << Matches[0]->first[CharNo] << "')\n";
92 OS << Indent << "if (memcmp(" << StrVariableName << ".data()+" << CharNo
93 << ", \"" << Matches[0]->first.substr(CharNo, NumChars) << "\", "
103 OS << Indent << "switch (" << StrVariableName << "[" << CharNo << "]) {\n";
113 if (EmitStringMatcherForChar(LI->second, CharNo+1, IndentCount+1))