MLIR  20.0.0git
Classes | Namespaces | Functions
FuncBufferizableOpInterfaceImpl.cpp File Reference
#include "mlir/Dialect/Bufferization/Transforms/FuncBufferizableOpInterfaceImpl.h"
#include "mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h"
#include "mlir/Dialect/Bufferization/IR/Bufferization.h"
#include "mlir/Dialect/Bufferization/IR/UnstructuredControlFlow.h"
#include "mlir/Dialect/Bufferization/Transforms/Bufferize.h"
#include "mlir/Dialect/Bufferization/Transforms/OneShotAnalysis.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/Dialect/MemRef/IR/MemRef.h"
#include "mlir/IR/Dialect.h"
#include "mlir/IR/Operation.h"
#include <optional>

Go to the source code of this file.

Classes

struct  mlir::bufferization::func_ext::CallOpInterface
 
struct  mlir::bufferization::func_ext::ReturnOpInterface
 
struct  mlir::bufferization::func_ext::FuncOpInterface
 

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::bufferization
 
 mlir::bufferization::func_ext
 

Functions

static BaseMemRefType mlir::bufferization::func_ext::getBufferizedFunctionArgType (FuncOp funcOp, int64_t index, const BufferizationOptions &options)
 Return the index-th bufferized function argument type. More...
 
static FuncOp mlir::bufferization::func_ext::getCalledFunction (CallOpInterface callOp)
 Return the FuncOp called by callOp. More...
 
static const FuncAnalysisState & mlir::bufferization::func_ext::getFuncAnalysisState (const AnalysisState &state)
 Get FuncAnalysisState. More...
 
static FuncOpAnalysisState mlir::bufferization::func_ext::getFuncOpAnalysisState (const AnalysisState &state, FuncOp funcOp)
 Return the state (phase) of analysis of the FuncOp. More...
 
static std::optional< int64_t > mlir::bufferization::func_ext::getEquivalentFuncArgIdx (FuncOp funcOp, const FuncAnalysisState &state, int64_t returnValIdx)
 Return the index of the bbArg in the given FuncOp that is equivalent to the specified return value (if any). More...