MLIR
20.0.0git
|
#include "mlir/Dialect/Bufferization/Transforms/BufferViewFlowAnalysis.h"
#include "mlir/Dialect/Bufferization/IR/BufferViewFlowOpInterface.h"
#include "mlir/Interfaces/CallInterfaces.h"
#include "mlir/Interfaces/ControlFlowInterfaces.h"
#include "mlir/Interfaces/FunctionInterfaces.h"
#include "mlir/Interfaces/ViewLikeInterface.h"
#include "llvm/ADT/SetOperations.h"
#include "llvm/ADT/SetVector.h"
Go to the source code of this file.
Functions | |
static BufferViewFlowAnalysis::ValueSetT | resolveValues (const BufferViewFlowAnalysis::ValueMapT &map, Value value) |
static bool | hasAllocateSideEffect (Value v) |
Return "true" if the given value is the result of a memory allocation. More... | |
static bool | isFunctionArgument (Value v) |
Return "true" if the given value is a function block argument. More... | |
static Value | getViewBase (Value value) |
Given a memref value, return the "base" value by skipping over all ViewLikeOpInterface ops (if any) in the reverse use-def chain. More... | |
Given a memref value, return the "base" value by skipping over all ViewLikeOpInterface ops (if any) in the reverse use-def chain.
Definition at line 234 of file BufferViewFlowAnalysis.cpp.
References mlir::Value::getDefiningOp().
Referenced by mlir::BufferOriginAnalysis::isSameAllocation().
|
static |
Return "true" if the given value is the result of a memory allocation.
Definition at line 213 of file BufferViewFlowAnalysis.cpp.
References mlir::Value::getDefiningOp().
Referenced by mlir::BufferOriginAnalysis::isSameAllocation().
|
static |
Return "true" if the given value is a function block argument.
Definition at line 221 of file BufferViewFlowAnalysis.cpp.
References mlir::Block::getParentOp().
Referenced by mlir::BufferOriginAnalysis::isSameAllocation().
|
static |
Definition at line 30 of file BufferViewFlowAnalysis.cpp.
Referenced by mlir::BufferViewFlowAnalysis::resolve(), and mlir::BufferViewFlowAnalysis::resolveReverse().