Lines Matching refs:CurrentIdx
187 unsigned EmitMatcher(const Matcher *N, const unsigned Indent, unsigned CurrentIdx,
423 EmitMatcher(const Matcher *N, const unsigned Indent, unsigned CurrentIdx, in EmitMatcher() argument
430 unsigned StartIdx = CurrentIdx; in EmitMatcher()
436 ++CurrentIdx; in EmitMatcher()
439 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcher()
448 OS << "/*->" << CurrentIdx + VBRSize + ChildSize << "*/"; in EmitMatcher()
455 CurrentIdx + VBRSize, OS); in EmitMatcher()
458 CurrentIdx += VBRSize + ChildSize; in EmitMatcher()
463 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcher()
468 return CurrentIdx - StartIdx + 1; in EmitMatcher()
583 unsigned StartIdx = CurrentIdx; in EmitMatcher()
597 ++CurrentIdx; in EmitMatcher()
613 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcher()
621 CurrentIdx += EmitVBRValue(ChildSize, OS) + IdxSize; in EmitMatcher()
627 OS << "// ->" << CurrentIdx + ChildSize; in EmitMatcher()
630 ChildSize = EmitMatcherList(Child, Indent+1, CurrentIdx, OS); in EmitMatcher()
633 CurrentIdx += ChildSize; in EmitMatcher()
638 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcher()
645 return CurrentIdx - StartIdx + 1; in EmitMatcher()
1040 EmitMatcherList(const Matcher *N, const unsigned Indent, unsigned CurrentIdx, in EmitMatcherList() argument
1045 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcherList()
1046 unsigned MatcherSize = EmitMatcher(N, Indent, CurrentIdx, OS); in EmitMatcherList()
1048 CurrentIdx += MatcherSize; in EmitMatcherList()