MLIR  20.0.0git
Macros | Functions
VectorTransforms.cpp File Reference
#include "mlir/Dialect/Vector/Transforms/VectorTransforms.h"
#include <cassert>
#include <cstdint>
#include <functional>
#include <optional>
#include <type_traits>
#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/VectorRewritePatterns.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 "llvm/ADT/DenseSet.h"
#include "llvm/ADT/MapVector.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/raw_ostream.h"
#include "mlir/Dialect/Vector/Transforms/VectorTransformsEnums.cpp.inc"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "vector-to-vector"
 

Functions

template<typename IntType >
static SmallVector< IntType > extractVector (ArrayAttr arrayAttr)
 
static std::optional< int64_t > getResultIndex (AffineMap map, int64_t index)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "vector-to-vector"

Definition at line 50 of file VectorTransforms.cpp.

Function Documentation

◆ extractVector()

template<typename IntType >
static SmallVector<IntType> extractVector ( ArrayAttr  arrayAttr)
static

Definition at line 56 of file VectorTransforms.cpp.

◆ getResultIndex()

static std::optional<int64_t> getResultIndex ( AffineMap  map,
int64_t  index 
)
static