| 
    MLIR 22.0.0git
    
   | 
 
This class provides an abstraction over the different types of ranges over Blocks. More...
#include "mlir/IR/BlockSupport.h"
Public Member Functions | |
| BlockRange (ArrayRef< Block * > blocks={}) | |
| BlockRange (SuccessorRange successors) | |
| template<typename Arg, typename = std::enable_if_t<std::is_constructible< ArrayRef<Block *>, Arg>::value>> | |
| BlockRange (Arg &&arg LLVM_LIFETIME_BOUND) | |
| BlockRange (std::initializer_list< Block * > blocks LLVM_LIFETIME_BOUND) | |
This class provides an abstraction over the different types of ranges over Blocks.
In many cases, this prevents the need to explicitly materialize a SmallVector/stdvector. This class should be used in places that are not suitable for a more derived type (e.g. ArrayRef) or a template range parameter.
Definition at line 103 of file BlockSupport.h.
Definition at line 387 of file Block.cpp.
References BlockRange(), and nullptr.
Referenced by BlockRange(), BlockRange(), BlockRange(), and BlockRange().
| BlockRange::BlockRange | ( | SuccessorRange | successors | ) | 
Definition at line 392 of file Block.cpp.
References BlockRange(), and getBase().
      
  | 
  inline | 
Definition at line 113 of file BlockSupport.h.
References BlockRange().
      
  | 
  inline | 
Definition at line 115 of file BlockSupport.h.
References BlockRange().