MLIR
20.0.0git
|
#include "mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h"
#include "mlir/Dialect/Bufferization/IR/Bufferization.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/Dialect/MemRef/IR/MemRef.h"
#include "mlir/Dialect/Tensor/IR/Tensor.h"
#include "mlir/IR/AsmState.h"
#include "mlir/IR/BuiltinOps.h"
#include "mlir/IR/IRMapping.h"
#include "mlir/IR/Operation.h"
#include "mlir/IR/TypeUtilities.h"
#include "mlir/IR/Value.h"
#include "mlir/Interfaces/ControlFlowInterfaces.h"
#include "llvm/ADT/ScopeExit.h"
#include "llvm/Support/Debug.h"
#include "mlir/Dialect/Bufferization/IR/BufferizableOpInterface.cpp.inc"
Go to the source code of this file.
Namespaces | |
mlir | |
Include the generated interface declarations. | |
mlir::bufferization | |
Macros | |
#define | DEBUG_TYPE "bufferizable-op-interface" |
#define | DBGS() (llvm::dbgs() << '[' << DEBUG_TYPE << "] ") |
#define | LDBG(X) LLVM_DEBUG(DBGS() << (X)) |
Functions | |
static bool | isRepetitiveRegion (Region *region, const BufferizationOptions &options) |
static void | setInsertionPointAfter (OpBuilder &b, Value value) |
static void | ensureToMemrefOpIsValid (Value tensor, Type memrefType) |
#define DBGS | ( | ) | (llvm::dbgs() << '[' << DEBUG_TYPE << "] ") |
Definition at line 39 of file BufferizableOpInterface.cpp.
#define DEBUG_TYPE "bufferizable-op-interface" |
Definition at line 38 of file BufferizableOpInterface.cpp.
#define LDBG | ( | X | ) | LLVM_DEBUG(DBGS() << (X)) |
Definition at line 40 of file BufferizableOpInterface.cpp.
Definition at line 629 of file BufferizableOpInterface.cpp.
References mlir::Value::getType().
Referenced by mlir::bufferization::getBuffer().
|
static |
Definition at line 45 of file BufferizableOpInterface.cpp.
References mlir::Region::getParentOp(), mlir::Region::getRegionNumber(), and options.
Referenced by mlir::bufferization::AnalysisState::getEnclosingRepetitiveRegion(), mlir::bufferization::getNextEnclosingRepetitiveRegion(), and mlir::bufferization::getParallelRegion().
Definition at line 380 of file BufferizableOpInterface.cpp.
References mlir::Value::getDefiningOp(), mlir::OpBuilder::setInsertionPointAfter(), and mlir::OpBuilder::setInsertionPointToStart().
Referenced by mlir::bufferization::getBuffer(), and mlir::OneToNPatternRewriter::replaceOp().