MLIR
20.0.0git
|
This class provides an abstraction over the various different ranges of value types. More...
#include "mlir/IR/TypeRange.h"
Public Member Functions | |
TypeRange (ArrayRef< Type > types=std::nullopt) | |
TypeRange (OperandRange values) | |
TypeRange (ResultRange values) | |
TypeRange (ValueRange values) | |
template<typename ValueRangeT > | |
TypeRange (ValueTypeRange< ValueRangeT > values) | |
template<typename Arg , typename = std::enable_if_t<std::is_constructible< ArrayRef<Type>, Arg>::value>> | |
TypeRange (Arg &&arg) | |
TypeRange (std::initializer_list< Type > types) | |
This class provides an abstraction over the various different ranges of value types.
In many cases, this prevents the need to explicitly materialize a SmallVector/std::vector. 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 32 of file TypeRange.h.
Definition at line 17 of file TypeRange.cpp.
|
explicit |
Definition at line 22 of file TypeRange.cpp.
|
explicit |
Definition at line 24 of file TypeRange.cpp.
|
explicit |
Definition at line 26 of file TypeRange.cpp.
|
inline |
Definition at line 44 of file TypeRange.h.
|
inline |
Definition at line 49 of file TypeRange.h.
|
inline |
Definition at line 50 of file TypeRange.h.