Lines Matching refs:SubRegion
377 void RegionBase<Tr>::addSubRegion(RegionT *SubRegion, bool moveChildren) { in addSubRegion() argument
378 assert(!SubRegion->parent && "SubRegion already has a parent!"); in addSubRegion()
380 return R.get() == SubRegion; in addSubRegion()
384 SubRegion->parent = static_cast<RegionT *>(this); in addSubRegion()
385 children.push_back(std::unique_ptr<RegionT>(SubRegion)); in addSubRegion()
390 assert(SubRegion->children.empty() && in addSubRegion()
397 if (SubRegion->contains(BB)) in addSubRegion()
398 RI->setRegionFor(BB, SubRegion); in addSubRegion()
404 if (SubRegion->contains(I->get()) && I->get() != SubRegion) { in addSubRegion()
405 (*I)->parent = SubRegion; in addSubRegion()
406 SubRegion->children.push_back(std::move(*I)); in addSubRegion()