15 #ifndef MLIR_IR_REGIONGRAPHTRAITS_H 16 #define MLIR_IR_REGIONGRAPHTRAITS_H 19 #include "llvm/ADT/GraphTraits.h" 42 return inverseGraph.Graph;
static NodeRef getEntryNode(GraphType fn)
Include the generated interface declarations.
This class contains a list of basic blocks and a link to the parent operation it is attached to...
pointer_iterator< mlir::Region::iterator > nodes_iterator
static nodes_iterator nodes_begin(GraphType fn)
static nodes_iterator nodes_end(GraphType fn)
The OpAsmOpInterface, see OpAsmInterface.td for more details.
Block represents an ordered list of Operations.
static ChildIteratorType child_end(NodeRef node)
static NodeRef getEntryNode(Inverse< NodeRef > inverseGraph)
static NodeRef getEntryNode(GraphType fn)
static ChildIteratorType child_begin(NodeRef node)
SuccessorRange::iterator succ_iterator
PredecessorIterator pred_iterator
static NodeRef getEntryNode(NodeRef bb)
static nodes_iterator nodes_begin(GraphType fn)
Inverse< mlir::Region * > GraphType
static nodes_iterator nodes_end(GraphType fn)
static ChildIteratorType child_begin(NodeRef node)
mlir::Block::succ_iterator ChildIteratorType
Implement a predecessor iterator for blocks.
static ChildIteratorType child_end(NodeRef node)
succ_iterator succ_begin()
pointer_iterator< mlir::Region::iterator > nodes_iterator
pred_iterator pred_begin()