Home
last modified time | relevance | path

Searched refs:CopyOp (Results 1 – 20 of 20) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Conversion/BufferizationToMemRef/
H A DBufferizationToMemRef.cpp72 rewriter.create<memref::CopyOp>(loc, op.getInput(), alloc); in matchAndRewrite()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Linalg/Transforms/
H A DTransforms.h309 LogicalResult vectorizeCopy(RewriterBase &builder, memref::CopyOp copyOp);
971 struct CopyVectorizationPattern : public OpRewritePattern<memref::CopyOp> {
972 using OpRewritePattern<memref::CopyOp>::OpRewritePattern;
974 LogicalResult matchAndRewrite(memref::CopyOp copyOp,
/llvm-project-15.0.7/mlir/lib/Dialect/MemRef/Transforms/
H A DMultiBuffer.cpp23 auto copyOp = dyn_cast<memref::CopyOp>(op); in overrideBuffer()
/llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/Transforms/
H A DBufferResultsToOutParams.cpp106 builder.create<memref::CopyOp>(op.getLoc(), std::get<0>(t), in updateReturnOps()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DVectorization.cpp623 memref::CopyOp copyOp) { in vectorizeCopy()
1165 memref::CopyOp copyOp; in matchAndRewrite()
1167 if (auto newCopyOp = dyn_cast<memref::CopyOp>(u.getOwner())) { in matchAndRewrite()
1245 memref::CopyOp copyOp; in matchAndRewrite()
1247 if (auto newCopyOp = dyn_cast<memref::CopyOp>(u.getOwner())) { in matchAndRewrite()
H A DPromotion.cpp187 b.create<memref::CopyOp>(loc, src, dst); in LinalgOpInstancePromotionOptions()
H A DTransforms.cpp630 memref::CopyOp copyOp, PatternRewriter &rewriter) const { in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/MemRef/IR/
H A DMemRefOps.cpp647 struct FoldCopyOfCast : public OpRewritePattern<CopyOp> {
648 using OpRewritePattern<CopyOp>::OpRewritePattern;
650 LogicalResult matchAndRewrite(CopyOp copyOp, in matchAndRewrite()
691 struct FoldSelfCopy : public OpRewritePattern<CopyOp> {
692 using OpRewritePattern<CopyOp>::OpRewritePattern;
694 LogicalResult matchAndRewrite(CopyOp copyOp, in matchAndRewrite()
705 void CopyOp::getCanonicalizationPatterns(RewritePatternSet &results, in getCanonicalizationPatterns()
710 LogicalResult CopyOp::fold(ArrayRef<Attribute> cstOperands, in fold()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorTransferSplitRewritePatterns.cpp273 b.create<memref::CopyOp>(loc, copyArgs.first, copyArgs.second); in createFullPartialLinalgCopy()
406 b.create<memref::CopyOp>(loc, copyArgs.first, copyArgs.second); in createFullPartialLinalgCopy()
/llvm-project-15.0.7/mlir/lib/Conversion/MemRefToLLVM/
H A DMemRefToLLVM.cpp867 struct MemRefCopyOpLowering : public ConvertOpToLLVMPattern<memref::CopyOp> {
868 using ConvertOpToLLVMPattern<memref::CopyOp>::ConvertOpToLLVMPattern;
871 lowerToMemCopyIntrinsic(memref::CopyOp op, OpAdaptor adaptor, in lowerToMemCopyIntrinsic()
912 lowerToMemCopyFunctionCall(memref::CopyOp op, OpAdaptor adaptor, in lowerToMemCopyFunctionCall()
970 matchAndRewrite(memref::CopyOp op, OpAdaptor adaptor, in matchAndRewrite()
/llvm-project-15.0.7/mlir/test/Dialect/Bufferization/Transforms/
H A Dbuffer-deallocation.mlir223 // exit block after CopyOp since %1 is an alias for %0 and %arg1. Furthermore,
257 // exit block after CopyOp since %1 is an alias for %0 and %arg1.
285 // %7 should happen after CopyOp.
544 // inserted after CopyOp.
589 // deallocating. It should dealloc %y after CopyOp.
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp2751 Value *CopyOp, *ConvertOp; in handleVectorConvertIntrinsic() local
2759 CopyOp = I.getArgOperand(0); in handleVectorConvertIntrinsic()
2764 CopyOp = nullptr; in handleVectorConvertIntrinsic()
2795 if (CopyOp) { in handleVectorConvertIntrinsic()
2796 assert(CopyOp->getType() == I.getType()); in handleVectorConvertIntrinsic()
2797 assert(CopyOp->getType()->isVectorTy()); in handleVectorConvertIntrinsic()
2798 Value *ResultShadow = getShadow(CopyOp); in handleVectorConvertIntrinsic()
2806 setOrigin(&I, getOrigin(CopyOp)); in handleVectorConvertIntrinsic()
/llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/IR/
H A DBufferizationOps.cpp81 b.create<memref::CopyOp>(loc, value, copy); in castOrReallocMemRefValue()
H A DBufferizableOpInterface.cpp682 b.create<memref::CopyOp>(loc, from, to); in createMemCpy()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineInstr.cpp192 MachineOperand CopyOp(Op); in addOperand() local
193 return addOperand(MF, CopyOp); in addOperand()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/MemRef/IR/
H A DMemRefOps.td383 // CopyOp
386 def CopyOp : MemRef_Op<"copy",
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclCXX.cpp14407 static void diagnoseDeprecatedCopyOperation(Sema &S, CXXMethodDecl *CopyOp) { in diagnoseDeprecatedCopyOperation() argument
14408 assert(CopyOp->isImplicit()); in diagnoseDeprecatedCopyOperation()
14410 CXXRecordDecl *RD = CopyOp->getParent(); in diagnoseDeprecatedCopyOperation()
14417 } else if (!isa<CXXConstructorDecl>(CopyOp) && in diagnoseDeprecatedCopyOperation()
14428 } else if (isa<CXXConstructorDecl>(CopyOp) && in diagnoseDeprecatedCopyOperation()
14444 bool IsCopyAssignment = !isa<CXXConstructorDecl>(CopyOp); in diagnoseDeprecatedCopyOperation()
H A DSemaOpenMP.cpp18685 Expr *TaskgroupDescriptor, Expr *CopyOp, Expr *CopyArrayTemp, in push()
18694 InscanCopyOps.push_back(CopyOp); in push()
18698 assert(CopyOp == nullptr && CopyArrayTemp == nullptr && in push()
/llvm-project-15.0.7/mlir/test/lib/Dialect/Test/
H A DTestOps.td2472 def CopyOp : TEST_Op<"copy", [CopyOpInterface]> {
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Linalg/IR/
H A DLinalgNamedStructuredOps.yaml6 cpp_class_name: CopyOp