Lines Matching refs:SubRegion
330 void Region::addSubRegion(Region *SubRegion, bool moveChildren) { in addSubRegion() argument
331 assert(SubRegion->parent == 0 && "SubRegion already has a parent!"); in addSubRegion()
332 assert(std::find(begin(), end(), SubRegion) == children.end() in addSubRegion()
335 SubRegion->parent = this; in addSubRegion()
336 children.push_back(SubRegion); in addSubRegion()
341 assert(SubRegion->children.size() == 0 in addSubRegion()
348 if (SubRegion->contains(BB)) in addSubRegion()
349 RI->setRegionFor(BB, SubRegion); in addSubRegion()
354 if (SubRegion->contains(*I) && *I != SubRegion) { in addSubRegion()
355 SubRegion->children.push_back(*I); in addSubRegion()
356 (*I)->parent = SubRegion; in addSubRegion()