Lines Matching refs:CurrentIdx
104 unsigned EmitMatcher(const Matcher *N, const unsigned Indent, unsigned CurrentIdx,
370 EmitMatcher(const Matcher *N, const unsigned Indent, unsigned CurrentIdx, in EmitMatcher() argument
377 unsigned StartIdx = CurrentIdx; in EmitMatcher()
383 ++CurrentIdx; in EmitMatcher()
386 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcher()
395 OS << "/*->" << CurrentIdx + VBRSize + ChildSize << "*/"; in EmitMatcher()
402 CurrentIdx + VBRSize, OS); in EmitMatcher()
405 CurrentIdx += VBRSize + ChildSize; in EmitMatcher()
410 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcher()
415 return CurrentIdx - StartIdx + 1; in EmitMatcher()
507 unsigned StartIdx = CurrentIdx; in EmitMatcher()
521 ++CurrentIdx; in EmitMatcher()
537 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcher()
545 CurrentIdx += EmitVBRValue(ChildSize, OS) + IdxSize; in EmitMatcher()
551 OS << "// ->" << CurrentIdx + ChildSize; in EmitMatcher()
554 ChildSize = EmitMatcherList(Child, Indent+1, CurrentIdx, OS); in EmitMatcher()
557 CurrentIdx += ChildSize; in EmitMatcher()
562 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcher()
569 return CurrentIdx - StartIdx + 1; in EmitMatcher()
867 EmitMatcherList(const Matcher *N, const unsigned Indent, unsigned CurrentIdx, in EmitMatcherList() argument
872 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcherList()
873 unsigned MatcherSize = EmitMatcher(N, Indent, CurrentIdx, OS); in EmitMatcherList()
875 CurrentIdx += MatcherSize; in EmitMatcherList()