Lines Matching defs:Region
49 /// \p Region. Checks in this function are generic for VPBlockBases. They are
51 bool verifyBlocksInRegion(const VPRegionBlock *Region);
53 /// Verify the CFG invariants of VPRegionBlock \p Region and its nested
55 bool verifyRegion(const VPRegionBlock *Region);
57 /// Verify the CFG invariants of VPRegionBlock \p Region and its nested
59 bool verifyRegionRec(const VPRegionBlock *Region);
326 bool VPlanVerifier::verifyBlocksInRegion(const VPRegionBlock *Region) {
327 for (const VPBlockBase *VPB : vp_depth_first_shallow(Region->getEntry())) {
329 if (VPB->getParent() != Region) {
340 bool VPlanVerifier::verifyRegion(const VPRegionBlock *Region) {
341 const VPBlockBase *Entry = Region->getEntry();
342 const VPBlockBase *Exiting = Region->getExiting();
354 return verifyBlocksInRegion(Region);
357 bool VPlanVerifier::verifyRegionRec(const VPRegionBlock *Region) {
359 return verifyRegion(Region) &&
360 all_of(vp_depth_first_shallow(Region->getEntry()),
377 errs() << "VPlan Top Region should have no parent.\n";