LLVM  17.0.0git
Classes | Namespaces
VPlanVerifier.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  llvm::VPlanVerifier
 Struct with utility functions that can be used to check the consistency and invariants of a VPlan, including the components of its H-CFG. More...


 This is an optimization pass for GlobalISel generic memory operations.

Detailed Description

This file declares the class VPlanVerifier, which contains utility functions to check the consistency of a VPlan. This includes the following kinds of invariants:

  1. Region/Block invariants:
    • Region's entry/exit block must have no predecessors/successors, respectively.
    • Block's parent must be the region immediately containing the block.
    • Linked blocks must have a bi-directional link (successor/predecessor).
    • All predecessors/successors of a block must belong to the same region.
    • Blocks must have no duplicated successor/predecessor.

Definition in file VPlanVerifier.h.