Lines Matching defs:Region
44 /// \p Region. Checks in this function are generic for VPBlockBases. They are
46 bool verifyBlocksInRegion(const VPRegionBlock *Region);
48 /// Verify the CFG invariants of VPRegionBlock \p Region and its nested
50 bool verifyRegion(const VPRegionBlock *Region);
52 /// Verify the CFG invariants of VPRegionBlock \p Region and its nested
54 bool verifyRegionRec(const VPRegionBlock *Region);
250 bool VPlanVerifier::verifyBlocksInRegion(const VPRegionBlock *Region) {
251 for (const VPBlockBase *VPB : vp_depth_first_shallow(Region->getEntry())) {
253 if (VPB->getParent() != Region) {
264 bool VPlanVerifier::verifyRegion(const VPRegionBlock *Region) {
265 const VPBlockBase *Entry = Region->getEntry();
266 const VPBlockBase *Exiting = Region->getExiting();
278 return verifyBlocksInRegion(Region);
281 bool VPlanVerifier::verifyRegionRec(const VPRegionBlock *Region) {
283 return verifyRegion(Region) &&
284 all_of(vp_depth_first_shallow(Region->getEntry()),
301 errs() << "VPlan Top Region should have no parent.\n";