Lines Matching refs:CurrentIdx
61 unsigned EmitMatcher(const Matcher *N, unsigned Indent, unsigned CurrentIdx,
138 EmitMatcher(const Matcher *N, unsigned Indent, unsigned CurrentIdx, in EmitMatcher() argument
147 unsigned StartIdx = CurrentIdx; in EmitMatcher()
153 ++CurrentIdx; in EmitMatcher()
156 OS << "/*" << CurrentIdx << "*/"; in EmitMatcher()
177 CurrentIdx+VBRSize, FOS); in EmitMatcher()
182 CurrentIdx += EmitVBRValue(ChildSize, OS); in EmitMatcher()
184 OS << "/*->" << CurrentIdx+ChildSize << "*/"; in EmitMatcher()
192 CurrentIdx += ChildSize; in EmitMatcher()
197 OS << "/*" << CurrentIdx << "*/"; in EmitMatcher()
202 return CurrentIdx - StartIdx + 1; in EmitMatcher()
269 unsigned StartIdx = CurrentIdx; in EmitMatcher()
283 ++CurrentIdx; in EmitMatcher()
311 ChildSize = EmitMatcherList(Child, Indent+1, CurrentIdx+VBRSize+IdxSize, in EmitMatcher()
325 CurrentIdx += EmitVBRValue(ChildSize, OS); in EmitMatcher()
333 CurrentIdx += IdxSize; in EmitMatcher()
336 OS << "// ->" << CurrentIdx+ChildSize; in EmitMatcher()
339 CurrentIdx += ChildSize; in EmitMatcher()
349 ++CurrentIdx; in EmitMatcher()
350 return CurrentIdx-StartIdx; in EmitMatcher()
582 EmitMatcherList(const Matcher *N, unsigned Indent, unsigned CurrentIdx, in EmitMatcherList() argument
587 OS << "/*" << CurrentIdx << "*/"; in EmitMatcherList()
588 unsigned MatcherSize = EmitMatcher(N, Indent, CurrentIdx, OS); in EmitMatcherList()
590 CurrentIdx += MatcherSize; in EmitMatcherList()