MLIR  15.0.0git
Functions
Bufferize.cpp File Reference
#include "PassDetail.h"
#include "mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h"
#include "mlir/Dialect/Bufferization/IR/Bufferization.h"
#include "mlir/Dialect/Bufferization/Transforms/Bufferize.h"
#include "mlir/Dialect/Bufferization/Transforms/OneShotAnalysis.h"
#include "mlir/Dialect/Bufferization/Transforms/OneShotModuleBufferize.h"
#include "mlir/Dialect/Bufferization/Transforms/Passes.h"
#include "mlir/Dialect/Bufferization/Transforms/TensorCopyInsertion.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/Dialect/MemRef/IR/MemRef.h"
#include "mlir/IR/Operation.h"
#include "mlir/Pass/PassManager.h"
#include "mlir/Transforms/GreedyPatternRewriteDriver.h"
#include "mlir/Transforms/Passes.h"
+ Include dependency graph for Bufferize.cpp:

Go to the source code of this file.

Functions

static Value materializeToTensor (OpBuilder &builder, TensorType type, ValueRange inputs, Location loc)
 
static bool isaTensor (Type t)
 
static bool hasTensorSemantics (Operation *op)
 Return true if the given op has a tensor result or a tensor operand. More...
 

Function Documentation

◆ hasTensorSemantics()

static bool hasTensorSemantics ( Operation op)
static

◆ isaTensor()

static bool isaTensor ( Type  t)
static

Definition at line 279 of file Bufferize.cpp.

References mlir::Type::isa().

Referenced by hasTensorSemantics().

◆ materializeToTensor()

static Value materializeToTensor ( OpBuilder builder,
TensorType  type,
ValueRange  inputs,
Location  loc 
)
static