MLIR
20.0.0git
|
This class is used by AttrTypeSubElementHandler instances to process sub element replacements. More...
#include "mlir/IR/AttrTypeSubElements.h"
Public Member Functions | |
AttrTypeSubElementReplacements (ArrayRef< T > repls) | |
ArrayRef< T > | take_front (unsigned n) |
Take the first N replacements as an ArrayRef, dropping them from this replacement list. More... | |
This class is used by AttrTypeSubElementHandler instances to process sub element replacements.
Definition at line 357 of file AttrTypeSubElements.h.
|
inline |
Definition at line 359 of file AttrTypeSubElements.h.
|
inline |
Take the first N replacements as an ArrayRef, dropping them from this replacement list.
Definition at line 363 of file AttrTypeSubElements.h.
Referenced by mlir::AttrTypeSubElementHandler< ArrayRef< T >, std::enable_if_t< has_sub_attr_or_type_v< T > > >::replace(), mlir::AttrTypeSubElementHandler< LLVM::detail::LLVMStructTypeStorage::Key >::replace(), mlir::AttrTypeSubElementHandler< Location >::replace(), mlir::AttrTypeSubElementHandler< NamedAttribute >::replace(), mlir::AttrTypeSubElementHandler< T, std::enable_if_t< std::is_base_of_v< Attribute, T >||std::is_base_of_v< Type, T > > >::replace(), and mlir::AttrTypeSubElementHandler< TypeRange >::replace().