Lines Matching refs:CurrentIdx
187 unsigned CurrentIdx, raw_ostream &OS);
421 unsigned CurrentIdx, in EmitMatcher() argument
428 unsigned StartIdx = CurrentIdx; in EmitMatcher()
434 ++CurrentIdx; in EmitMatcher()
437 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcher()
446 OS << "/*->" << CurrentIdx + VBRSize + ChildSize << "*/"; in EmitMatcher()
453 CurrentIdx + VBRSize, OS); in EmitMatcher()
456 CurrentIdx += VBRSize + ChildSize; in EmitMatcher()
461 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcher()
466 return CurrentIdx - StartIdx + 1; in EmitMatcher()
577 unsigned StartIdx = CurrentIdx; in EmitMatcher()
591 ++CurrentIdx; in EmitMatcher()
607 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcher()
615 CurrentIdx += EmitVBRValue(ChildSize, OS) + IdxSize; in EmitMatcher()
621 OS << "// ->" << CurrentIdx + ChildSize; in EmitMatcher()
624 ChildSize = EmitMatcherList(Child, Indent + 1, CurrentIdx, OS); in EmitMatcher()
627 CurrentIdx += ChildSize; in EmitMatcher()
632 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcher()
639 return CurrentIdx - StartIdx + 1; in EmitMatcher()
1039 unsigned CurrentIdx, in EmitMatcherList() argument
1044 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcherList()
1045 unsigned MatcherSize = EmitMatcher(N, Indent, CurrentIdx, OS); in EmitMatcherList()
1047 CurrentIdx += MatcherSize; in EmitMatcherList()