|
MLIR 22.0.0git
|
#include "mlir/IR/MLIRContext.h"#include "mlir/IR/Visitors.h"#include "mlir/Support/CyclicReplacerCache.h"#include "llvm/ADT/ArrayRef.h"#include "llvm/ADT/DenseMap.h"#include <optional>Go to the source code of this file.
Namespaces | |
| namespace | mlir |
| Include the generated interface declarations. | |
| namespace | mlir::detail |
| AttrTypeReplacer. | |
Typedefs | |
| using | mlir::AttrSubElementReplacements = AttrTypeSubElementReplacements<Attribute> |
| using | mlir::TypeSubElementReplacements = AttrTypeSubElementReplacements<Type> |
| template<typename T> | |
| using | mlir::detail::has_default_sub_element_handler_t = decltype(T::DefaultHandlerTag) |
| template<typename T, typename... Ts> | |
| using | mlir::detail::has_get_method = decltype(T::get(std::declval<Ts>()...)) |
| template<typename T, typename... Ts> | |
| using | mlir::detail::has_get_as_key = decltype(std::declval<T>().getAsKey()) |
Functions | |
| template<typename T> | |
| void | mlir::detail::walkImmediateSubElementsImpl (T derived, function_ref< void(Attribute)> walkAttrsFn, function_ref< void(Type)> walkTypesFn) |
| This function provides the underlying implementation for the SubElementInterface walk method, using the key type of the derived attribute/type to interact with the individual parameters. | |
| template<typename T, typename... Ts> | |
| auto | mlir::detail::constructSubElementReplacement (MLIRContext *ctx, Ts &&...params) |
| This function invokes the proper get method for a type T with the given values. | |
| template<typename T> | |
| auto | mlir::detail::replaceImmediateSubElementsImpl (T derived, ArrayRef< Attribute > &replAttrs, ArrayRef< Type > &replTypes) |
| This function provides the underlying implementation for the SubElementInterface replace method, using the key type of the derived attribute/type to interact with the individual parameters. | |
Variables | |
| template<typename... Ts> | |
| constexpr bool | mlir::has_sub_attr_or_type_v |