Home
last modified time | relevance | path

Searched refs:AllocTensorOp (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/IR/
H A DBufferizationOps.cpp152 LogicalResult AllocTensorOp::bufferize(RewriterBase &rewriter, in bufferize()
223 bool AllocTensorOp::isMemoryWrite(OpResult opResult, in isMemoryWrite()
229 bool AllocTensorOp::bufferizesToMemoryRead(OpOperand &opOperand, in bufferizesToMemoryRead()
236 bool AllocTensorOp::bufferizesToMemoryWrite(OpOperand &opOperand, in bufferizesToMemoryWrite()
244 AllocTensorOp::getAliasingOpResult(OpOperand &opOperand, in getAliasingOpResult()
250 LogicalResult AllocTensorOp::verify() { in verify()
298 using OpRewritePattern<AllocTensorOp>::OpRewritePattern;
300 LogicalResult matchAndRewrite(AllocTensorOp op, in matchAndRewrite()
322 auto newOp = rewriter.create<AllocTensorOp>( in matchAndRewrite()
352 LogicalResult AllocTensorOp::reifyResultShapes( in reifyResultShapes()
[all …]
H A DBufferizableOpInterface.cpp106 auto allocTensorOp = b.create<AllocTensorOp>(loc, tensorType, dynamicSizes, in allocateTensorForShapedValue()
497 if (!tensor.getDefiningOp<AllocTensorOp>()) in isTensorYielded()
/llvm-project-15.0.7/mlir/python/mlir/dialects/
H A D_bufferization_ops_ext.py15 class AllocTensorOp: class
/llvm-project-15.0.7/mlir/lib/Dialect/SparseTensor/Transforms/
H A DSparseTensorPasses.cpp128 target.addDynamicallyLegalOp<bufferization::AllocTensorOp>( in runOnOperation()
129 [&](bufferization::AllocTensorOp op) { in runOnOperation()
H A DSparseTensorRewriting.cpp49 val.getDefiningOp<AllocTensorOp>(); in isEmptyInit()
H A DSparseTensorConversion.cpp621 : public OpConversionPattern<bufferization::AllocTensorOp> {
625 matchAndRewrite(bufferization::AllocTensorOp op, OpAdaptor adaptor, in matchAndRewrite()
H A DSparsification.cpp314 val.getDefiningOp<bufferization::AllocTensorOp>(); in isMaterializing()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DInitTensorToAllocTensor.cpp26 rewriter.replaceOpWithNewOp<bufferization::AllocTensorOp>(op, op.getType(), in matchAndRewrite()
H A DSplitReduction.cpp177 initOrAllocTensor = b.create<bufferization::AllocTensorOp>( in splitReduction()
344 b.create<bufferization::AllocTensorOp>(loc, newT, dims); in splitReductionByScaling()
/llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/Transforms/
H A DAllocTensorElimination.cpp139 !maybeAllocTensor.front().getDefiningOp<AllocTensorOp>()) in eliminateAllocTensors()
/llvm-project-15.0.7/mlir/test/Dialect/Bufferization/Transforms/
H A Done-shot-bufferize-alloc-tensor-elimination.mlir20 // insert_slice. AllocTensorOp replaces the alloc_tensor with an out-of-place
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Bufferization/IR/
H A DBufferizationOps.td23 // AllocTensorOp
/llvm-project-15.0.7/mlir/test/Dialect/Linalg/
H A Done-shot-bufferize.mlir342 // AllocTensorOp elimination would produce SSA violations for the example below.
/llvm-project-15.0.7/mlir/test/Integration/Dialect/SparseTensor/taco/tools/
H A Dmlir_pytaco.py910 return bufferization.AllocTensorOp(mlir_type, [], None, None)