MLIR
17.0.0git
|
#include "mlir/Dialect/Affine/IR/AffineOps.h"
#include "mlir/Dialect/Arith/IR/Arith.h"
#include "mlir/Dialect/Arith/Utils/Utils.h"
#include "mlir/Dialect/Linalg/IR/Linalg.h"
#include "mlir/Dialect/MemRef/IR/MemRef.h"
#include "mlir/Dialect/SCF/IR/SCF.h"
#include "mlir/Dialect/Tensor/IR/Tensor.h"
#include "mlir/Dialect/Utils/IndexingUtils.h"
#include "mlir/Dialect/Utils/StructuredOpsUtils.h"
#include "mlir/Dialect/Vector/IR/VectorOps.h"
#include "mlir/Dialect/Vector/Transforms/LoweringPatterns.h"
#include "mlir/Dialect/Vector/Utils/VectorUtils.h"
#include "mlir/IR/BuiltinAttributeInterfaces.h"
#include "mlir/IR/BuiltinTypes.h"
#include "mlir/IR/ImplicitLocOpBuilder.h"
#include "mlir/IR/Location.h"
#include "mlir/IR/Matchers.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/IR/TypeUtilities.h"
#include "mlir/Interfaces/VectorInterfaces.h"
#include "mlir/Support/LogicalResult.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "vector-broadcast-lowering" |
Functions | |
static Value | genOperator (Location loc, Value x, Value y, vector::CombiningKind kind, PatternRewriter &rewriter) |
This function constructs the appropriate integer or float operation given the vector combining kind and operands. More... | |
static bool | isValidKind (bool isInt, vector::CombiningKind kind) |
This function checks to see if the vector combining kind is consistent with the integer or float element type. More... | |
#define DEBUG_TYPE "vector-broadcast-lowering" |
Definition at line 36 of file LowerVectorScan.cpp.
|
static |
This function constructs the appropriate integer or float operation given the vector combining kind and operands.
The supported int operations are : add, mul, min (signed/unsigned), max(signed/unsigned), and, or, xor. The supported float operations are : add, mul, min and max.
Definition at line 46 of file LowerVectorScan.cpp.
|
static |
This function checks to see if the vector combining kind is consistent with the integer or float element type.
Definition at line 101 of file LowerVectorScan.cpp.