|
MLIR 22.0.0git
|
#include "mlir/Dialect/UB/IR/UBOps.h"#include "mlir/Dialect/Vector/IR/VectorOps.h"#include "mlir/Dialect/Vector/Transforms/VectorRewritePatterns.h"#include "mlir/IR/Attributes.h"#include "mlir/IR/BuiltinAttributes.h"#include "mlir/IR/Operation.h"#include "mlir/IR/PatternMatch.h"#include "mlir/IR/TypeUtilities.h"#include "mlir/Transforms/DialectConversion.h"#include "llvm/ADT/ArrayRef.h"#include <cstdint>#include <numeric>#include <optional>Go to the source code of this file.
Functions | |
| static FailureOr< Attribute > | linearizeConstAttr (Location loc, ConversionPatternRewriter &rewriter, VectorType resType, Attribute value) |
| static bool | isLinearizable (Operation *op) |
| This method defines the set of operations that are linearizable, and hence that are considered illegal for the conversion target. | |
This method defines the set of operations that are linearizable, and hence that are considered illegal for the conversion target.
Definition at line 868 of file VectorLinearize.cpp.
References mlir::Operation::getDialect(), mlir::Dialect::getNamespace(), and mlir::Operation::hasTrait().
|
static |
Definition at line 30 of file VectorLinearize.cpp.