MLIR
20.0.0git
|
#include "mlir/Dialect/Bufferization/Transforms/Passes.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/Dialect/MemRef/IR/MemRef.h"
#include "mlir/IR/Operation.h"
#include "mlir/Pass/Pass.h"
#include "mlir/Dialect/Bufferization/Transforms/Passes.h.inc"
Go to the source code of this file.
Namespaces | |
mlir | |
Include the generated interface declarations. | |
mlir::bufferization | |
Macros | |
#define | GEN_PASS_DEF_DROPEQUIVALENTBUFFERRESULTS |
Functions | |
static func::ReturnOp | getAssumedUniqueReturnOp (func::FuncOp funcOp) |
Return the unique ReturnOp that terminates funcOp . More... | |
static func::FuncOp | getCalledFunction (CallOpInterface callOp) |
Return the func::FuncOp called by callOp . More... | |
#define GEN_PASS_DEF_DROPEQUIVALENTBUFFERRESULTS |
Definition at line 39 of file DropEquivalentBufferResults.cpp.
|
static |
Return the unique ReturnOp that terminates funcOp
.
Return nullptr if there is no such unique ReturnOp.
Definition at line 48 of file DropEquivalentBufferResults.cpp.
Referenced by mlir::bufferization::dropEquivalentBufferResults().
|
static |
Return the func::FuncOp called by callOp
.
Definition at line 61 of file DropEquivalentBufferResults.cpp.
References mlir::SymbolTable::lookupNearestSymbolFrom().
Referenced by mlir::bufferization::dropEquivalentBufferResults().