Lines Matching refs:ChildSize
266 const unsigned ChildSize = SizeMatcherList(SM->getChild(i), OS); in SizeMatcher() local
267 assert(ChildSize != 0 && "Matcher cannot have child of size 0"); in SizeMatcher()
268 SM->getChild(i)->setSize(ChildSize); in SizeMatcher()
269 Size += GetVBRSize(ChildSize) + ChildSize; // Count VBR and child size. in SizeMatcher()
294 const unsigned ChildSize = SizeMatcherList(Child, OS); in SizeMatcher() local
295 assert(ChildSize != 0 && "Matcher cannot have child of size 0"); in SizeMatcher()
296 Child->setSize(ChildSize); in SizeMatcher()
297 Size += GetVBRSize(ChildSize) + ChildSize; // Count VBR and child size. in SizeMatcher()
392 unsigned ChildSize = SM->getChild(i)->getSize(); in EmitMatcher() local
393 unsigned VBRSize = EmitVBRValue(ChildSize, OS); in EmitMatcher()
395 OS << "/*->" << CurrentIdx + VBRSize + ChildSize << "*/"; in EmitMatcher()
401 ChildSize = EmitMatcherList(SM->getChild(i), Indent+1, in EmitMatcher()
403 assert(ChildSize == SM->getChild(i)->getSize() && in EmitMatcher()
405 CurrentIdx += VBRSize + ChildSize; in EmitMatcher()
544 unsigned ChildSize = Child->getSize(); in EmitMatcher() local
545 CurrentIdx += EmitVBRValue(ChildSize, OS) + IdxSize; in EmitMatcher()
551 OS << "// ->" << CurrentIdx + ChildSize; in EmitMatcher()
554 ChildSize = EmitMatcherList(Child, Indent+1, CurrentIdx, OS); in EmitMatcher()
555 assert(ChildSize == Child->getSize() && in EmitMatcher()
557 CurrentIdx += ChildSize; in EmitMatcher()