MLIR
20.0.0git
|
Go to the source code of this file.
Functions | |
template<typename T , typename Replacer > | |
static void | updateSubElementImpl (T element, Replacer &replacer, SmallVectorImpl< T > &newElements, FailureOr< bool > &changed) |
template<typename T , typename Replacer > | |
static T | replaceSubElements (T interface, Replacer &replacer) |
template<typename T , typename ReplaceFns , typename Replacer > | |
static T | replaceElementImpl (T element, ReplaceFns &replaceFns, Replacer &replacer) |
Shared implementation of replacing a given attribute or type element. More... | |
|
static |
Shared implementation of replacing a given attribute or type element.
Definition at line 193 of file AttrTypeSubElements.cpp.
References mlir::WalkResult::advance(), replaceSubElements(), mlir::WalkResult::wasInterrupted(), and mlir::WalkResult::wasSkipped().
Referenced by mlir::detail::AttrTypeReplacerBase< Concrete >::replaceBase().
|
static |
Definition at line 169 of file AttrTypeSubElements.cpp.
References updateSubElementImpl().
Referenced by replaceElementImpl().
|
static |
Definition at line 145 of file AttrTypeSubElements.cpp.
Referenced by replaceSubElements().