MLIR 22.0.0git
FuncBufferizableOpInterfaceImpl.cpp File Reference

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

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

Functions

static mlir::Attribute mlir::bufferization::func_ext::getDefaultMemorySpace (const BufferizationOptions &options, TensorLikeType type)
static BufferLikeType mlir::bufferization::func_ext::getBufferizedFunctionArgType (FuncOp funcOp, int64_t index, const BufferizationOptions &options)
 Return the index-th bufferized function argument type.
static FuncOp mlir::bufferization::func_ext::getCalledFunction (CallOpInterface callOp, SymbolTableCollection &symbolTables)
 Return the FuncOp called by callOp.
static FuncOp mlir::bufferization::func_ext::getCalledFunction (CallOpInterface callOp, const AnalysisState &state)
 Return the FuncOp called by callOp.
static const FuncAnalysisStatemlir::bufferization::func_ext::getFuncAnalysisState (const AnalysisState &state)
 Get FuncAnalysisState.
static FuncOpAnalysisState mlir::bufferization::func_ext::getFuncOpAnalysisState (const AnalysisState &state, FuncOp funcOp)
 Return the state (phase) of analysis of the FuncOp.
static std::optional< int64_tmlir::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).