MLIR  17.0.0git
Macros | Functions
VectorTransferOpTransforms.cpp File Reference
#include "mlir/Dialect/Affine/IR/AffineOps.h"
#include "mlir/Dialect/Arith/IR/Arith.h"
#include "mlir/Dialect/MemRef/IR/MemRef.h"
#include "mlir/Dialect/Tensor/IR/Tensor.h"
#include "mlir/Dialect/Vector/IR/VectorOps.h"
#include "mlir/Dialect/Vector/Transforms/LoweringPatterns.h"
#include "mlir/Dialect/Vector/Transforms/VectorTransforms.h"
#include "mlir/Dialect/Vector/Utils/VectorUtils.h"
#include "mlir/IR/BuiltinOps.h"
#include "mlir/IR/Dominance.h"
#include "mlir/Interfaces/SideEffectInterfaces.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Debug.h"
+ Include dependency graph for VectorTransferOpTransforms.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "vector-transfer-opt"
 
#define DBGS()   (llvm::dbgs() << '[' << DEBUG_TYPE << "] ")
 

Functions

static OperationfindAncestorOpInRegion (Region *region, Operation *op)
 Return the ancestor op in the region or nullptr if the region is not an ancestor of the op. More...
 

Macro Definition Documentation

◆ DBGS

#define DBGS ( )    (llvm::dbgs() << '[' << DEBUG_TYPE << "] ")

Definition at line 31 of file VectorTransferOpTransforms.cpp.

◆ DEBUG_TYPE

#define DEBUG_TYPE   "vector-transfer-opt"

Definition at line 29 of file VectorTransferOpTransforms.cpp.

Function Documentation

◆ findAncestorOpInRegion()

static Operation* findAncestorOpInRegion ( Region region,
Operation op 
)
static

Return the ancestor op in the region or nullptr if the region is not an ancestor of the op.

Definition at line 37 of file VectorTransferOpTransforms.cpp.

References mlir::Operation::getParentOp(), and mlir::Operation::getParentRegion().