My Project
Public Member Functions | List of all members
mlir::SuccessorRange Class Referencefinal

This class implements the successor iterators for Block. More...

#include <BlockSupport.h>

Inheritance diagram for mlir::SuccessorRange:
Inheritance graph
[legend]
Collaboration diagram for mlir::SuccessorRange:
Collaboration graph
[legend]

Public Member Functions

 SuccessorRange (Block *block)
 
 SuccessorRange (Operation *term)
 
- Public Member Functions inherited from mlir::detail::indexed_accessor_range_base< SuccessorRange, BlockOperand *, Block *, Block *, Block *>
 indexed_accessor_range_base (iterator begin, iterator end)
 
 indexed_accessor_range_base (const iterator_range< iterator > &range)
 
 indexed_accessor_range_base (BlockOperand * base, ptrdiff_t count)
 
iterator begin () const
 
iterator end () const
 
Blockoperator[] (unsigned index) const
 
size_t size () const
 Return the size of this range. More...
 
bool empty () const
 Return if the range is empty. More...
 
SuccessorRange slice (size_t n, size_t m) const
 Drop the first N elements, and keep M elements. More...
 
SuccessorRange drop_front (size_t n=1) const
 Drop the first n elements. More...
 
SuccessorRange drop_back (size_t n=1) const
 Drop the last n elements. More...
 
SuccessorRange take_front (size_t n=1) const
 Take the first n elements. More...
 
 operator SmallVector< SVT, N > () const
 

Additional Inherited Members

- Public Types inherited from mlir::detail::indexed_accessor_range_base< SuccessorRange, BlockOperand *, Block *, Block *, Block *>
using RangeBaseT = indexed_accessor_range_base< SuccessorRange, BlockOperand *, Block *, Block *, Block * >
 
- Protected Member Functions inherited from mlir::detail::indexed_accessor_range_base< SuccessorRange, BlockOperand *, Block *, Block *, Block *>
 indexed_accessor_range_base (const indexed_accessor_range_base &)=default
 
 indexed_accessor_range_base (indexed_accessor_range_base &&)=default
 
indexed_accessor_range_baseoperator= (const indexed_accessor_range_base &)=default
 
- Protected Attributes inherited from mlir::detail::indexed_accessor_range_base< SuccessorRange, BlockOperand *, Block *, Block *, Block *>
BlockOperandbase
 The base that owns the provided range of values. More...
 
ptrdiff_t count
 The size from the owning range. More...
 

Detailed Description

This class implements the successor iterators for Block.

Constructor & Destructor Documentation

◆ SuccessorRange() [1/2]

SuccessorRange::SuccessorRange ( Block block)

◆ SuccessorRange() [2/2]

SuccessorRange::SuccessorRange ( Operation term)

The documentation for this class was generated from the following files: