#include "mlir/IR/Operation.h"
#include <optional>
usingnamespacemlir;
WalkResult AttrTypeWalker::walkImpl(Attribute attr, WalkOrder order) { … }
WalkResult AttrTypeWalker::walkImpl(Type type, WalkOrder order) { … }
template <typename T, typename WalkFns>
WalkResult AttrTypeWalker::walkImpl(T element, WalkFns &walkFns,
WalkOrder order) { … }
template <typename T>
WalkResult AttrTypeWalker::walkSubElements(T interface, WalkOrder order) { … }
template <typename Concrete>
void detail::AttrTypeReplacerBase<Concrete>::addReplacement(
ReplaceFn<Attribute> fn) { … }
template <typename Concrete>
void detail::AttrTypeReplacerBase<Concrete>::addReplacement(
ReplaceFn<Type> fn) { … }
template <typename Concrete>
void detail::AttrTypeReplacerBase<Concrete>::replaceElementsIn(
Operation *op, bool replaceAttrs, bool replaceLocs, bool replaceTypes) { … }
template <typename Concrete>
void detail::AttrTypeReplacerBase<Concrete>::recursivelyReplaceElementsIn(
Operation *op, bool replaceAttrs, bool replaceLocs, bool replaceTypes) { … }
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) { … }
template <typename Concrete>
Attribute detail::AttrTypeReplacerBase<Concrete>::replaceBase(Attribute attr) { … }
template <typename Concrete>
Type detail::AttrTypeReplacerBase<Concrete>::replaceBase(Type type) { … }
template class detail::AttrTypeReplacerBase<AttrTypeReplacer>;
template <typename T>
T AttrTypeReplacer::cachedReplaceImpl(T element) { … }
Attribute AttrTypeReplacer::replace(Attribute attr) { … }
Type AttrTypeReplacer::replace(Type type) { … }
template class detail::AttrTypeReplacerBase<CyclicAttrTypeReplacer>;
CyclicAttrTypeReplacer::CyclicAttrTypeReplacer()
: … { … }
void CyclicAttrTypeReplacer::addCycleBreaker(CycleBreakerFn<Attribute> fn) { … }
void CyclicAttrTypeReplacer::addCycleBreaker(CycleBreakerFn<Type> fn) { … }
template <typename T>
T CyclicAttrTypeReplacer::cachedReplaceImpl(T element) { … }
Attribute CyclicAttrTypeReplacer::replace(Attribute attr) { … }
Type CyclicAttrTypeReplacer::replace(Type type) { … }
std::optional<const void *>
CyclicAttrTypeReplacer::breakCycleImpl(void *element) { … }
void AttrTypeImmediateSubElementWalker::walk(Attribute element) { … }
void AttrTypeImmediateSubElementWalker::walk(Type element) { … }