|
MLIR
22.0.0git
|
This class represents a point being branched from in the methods of the RegionBranchOpInterface.
More...
#include "mlir/Interfaces/ControlFlowInterfaces.h"
Public Member Functions | |
| RegionBranchPoint (RegionBranchTerminatorOpInterface predecessor) | |
Creates a RegionBranchPoint that branches from the given terminator. More... | |
| RegionBranchPoint (std::nullptr_t)=delete | |
Explicitly stops users from constructing with nullptr. More... | |
| bool | isParent () const |
| Returns true if branching from the parent op. More... | |
| Operation * | getTerminatorPredecessorOrNull () const |
| Returns the terminator if branching from a region. More... | |
Static Public Member Functions | |
| static constexpr RegionBranchPoint | parent () |
Returns an instance of RegionBranchPoint representing the parent operation. More... | |
Friends | |
| bool | operator== (RegionBranchPoint lhs, RegionBranchPoint rhs) |
| Returns true if the two branch points are equal. More... | |
This class represents a point being branched from in the methods of the RegionBranchOpInterface.
One can branch from one of two kinds of places:
RegionBranchOpInterface implementation)Definition at line 237 of file ControlFlowInterfaces.h.
|
inline |
Creates a RegionBranchPoint that branches from the given terminator.
Definition at line 373 of file ControlFlowInterfaces.h.
|
delete |
Explicitly stops users from constructing with nullptr.
|
inline |
Returns the terminator if branching from a region.
A null pointer otherwise.
Definition at line 254 of file ControlFlowInterfaces.h.
Referenced by mlir::operator<<(), and printRegionEdgeName().
|
inline |
Returns true if branching from the parent op.
Definition at line 250 of file ControlFlowInterfaces.h.
Referenced by mlir::operator<<().
|
inlinestaticconstexpr |
Returns an instance of RegionBranchPoint representing the parent operation.
Definition at line 241 of file ControlFlowInterfaces.h.
Referenced by mlir::dataflow::AbstractDenseBackwardDataFlowAnalysis::processOperation(), and mlir::detail::verifyTypesAlongControlFlowEdges().
|
friend |
Returns true if the two branch points are equal.
Definition at line 257 of file ControlFlowInterfaces.h.