Lines Matching refs:ChildSize
319 const unsigned ChildSize = SizeMatcherList(SM->getChild(i), OS); in SizeMatcher() local
320 assert(ChildSize != 0 && "Matcher cannot have child of size 0"); in SizeMatcher()
321 SM->getChild(i)->setSize(ChildSize); in SizeMatcher()
322 Size += GetVBRSize(ChildSize) + ChildSize; // Count VBR and child size. in SizeMatcher()
347 const unsigned ChildSize = SizeMatcherList(Child, OS); in SizeMatcher() local
348 assert(ChildSize != 0 && "Matcher cannot have child of size 0"); in SizeMatcher()
349 Child->setSize(ChildSize); in SizeMatcher()
350 Size += GetVBRSize(ChildSize) + ChildSize; // Count VBR and child size. in SizeMatcher()
445 unsigned ChildSize = SM->getChild(i)->getSize(); in EmitMatcher() local
446 unsigned VBRSize = EmitVBRValue(ChildSize, OS); in EmitMatcher()
448 OS << "/*->" << CurrentIdx + VBRSize + ChildSize << "*/"; in EmitMatcher()
454 ChildSize = EmitMatcherList(SM->getChild(i), Indent+1, in EmitMatcher()
456 assert(ChildSize == SM->getChild(i)->getSize() && in EmitMatcher()
458 CurrentIdx += VBRSize + ChildSize; in EmitMatcher()
620 unsigned ChildSize = Child->getSize(); in EmitMatcher() local
621 CurrentIdx += EmitVBRValue(ChildSize, OS) + IdxSize; in EmitMatcher()
627 OS << "// ->" << CurrentIdx + ChildSize; in EmitMatcher()
630 ChildSize = EmitMatcherList(Child, Indent+1, CurrentIdx, OS); in EmitMatcher()
631 assert(ChildSize == Child->getSize() && in EmitMatcher()
633 CurrentIdx += ChildSize; in EmitMatcher()