Lines Matching refs:CurrentIdx
106 unsigned EmitMatcher(const Matcher *N, const unsigned Indent, unsigned CurrentIdx,
374 EmitMatcher(const Matcher *N, const unsigned Indent, unsigned CurrentIdx, in EmitMatcher() argument
381 unsigned StartIdx = CurrentIdx; in EmitMatcher()
387 ++CurrentIdx; in EmitMatcher()
390 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcher()
399 OS << "/*->" << CurrentIdx + VBRSize + ChildSize << "*/"; in EmitMatcher()
406 CurrentIdx + VBRSize, OS); in EmitMatcher()
409 CurrentIdx += VBRSize + ChildSize; in EmitMatcher()
414 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcher()
419 return CurrentIdx - StartIdx + 1; in EmitMatcher()
511 unsigned StartIdx = CurrentIdx; in EmitMatcher()
525 ++CurrentIdx; in EmitMatcher()
541 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcher()
549 CurrentIdx += EmitVBRValue(ChildSize, OS) + IdxSize; in EmitMatcher()
555 OS << "// ->" << CurrentIdx + ChildSize; in EmitMatcher()
558 ChildSize = EmitMatcherList(Child, Indent+1, CurrentIdx, OS); in EmitMatcher()
561 CurrentIdx += ChildSize; in EmitMatcher()
566 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcher()
573 return CurrentIdx - StartIdx + 1; in EmitMatcher()
871 EmitMatcherList(const Matcher *N, const unsigned Indent, unsigned CurrentIdx, in EmitMatcherList() argument
876 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcherList()
877 unsigned MatcherSize = EmitMatcher(N, Indent, CurrentIdx, OS); in EmitMatcherList()
879 CurrentIdx += MatcherSize; in EmitMatcherList()