Home
last modified time | relevance | path

Searched refs:deallocation (Results 1 – 25 of 100) sorted by relevance

1234

/llvm-project/mlir/test/Dialect/Bufferization/Transforms/OwnershipBasedBufferDeallocation/
H A Ddealloc-subviews.mlir1 // RUN: mlir-opt -verify-diagnostics -ownership-based-buffer-deallocation \
2 // RUN: --buffer-deallocation-simplification -split-input-file %s | FileCheck %s
3 // RUN: mlir-opt -verify-diagnostics -ownership-based-buffer-deallocation=private-function-dynamic-…
5 // RUN: mlir-opt %s -buffer-deallocation-pipeline --split-input-file > /dev/null
H A Ddealloc-function-boundaries.mlir1 …llow-unregistered-dialect -verify-diagnostics -ownership-based-buffer-deallocation=private-functio…
2 // RUN: --buffer-deallocation-simplification -split-input-file %s | FileCheck %s
3 …llow-unregistered-dialect -verify-diagnostics -ownership-based-buffer-deallocation=private-functio…
4 // RUN: --buffer-deallocation-simplification -split-input-file %s | FileCheck %s --check-prefix=CH…
6 // RUN: mlir-opt %s -buffer-deallocation-pipeline --split-input-file > /dev/null
7 // RUN: mlir-opt %s -buffer-deallocation-pipeline=private-function-dynamic-ownership --split-input-…
86 // Test Case: buffer deallocation escaping
H A Ddealloc-callop-interface.mlir1 // RUN: mlir-opt -verify-diagnostics -ownership-based-buffer-deallocation=private-function-dynamic-…
2 // RUN: -buffer-deallocation-simplification -split-input-file %s | FileCheck %s
3 // RUN: mlir-opt -verify-diagnostics -ownership-based-buffer-deallocation=private-function-dynamic-…
4 // RUN: --buffer-deallocation-simplification -split-input-file %s | FileCheck %s --check-prefix=C…
6 // RUN: mlir-opt %s -buffer-deallocation-pipeline --split-input-file > /dev/null
7 // RUN: mlir-opt %s -buffer-deallocation-pipeline=private-function-dynamic-ownership --split-input-…
29 // COM: deallocation ABI, however, the local alias analysis is not powerful
H A Ddealloc-existing-deallocs.mlir1 …-opt -verify-diagnostics -expand-realloc=emit-deallocs=false -ownership-based-buffer-deallocation \
2 // RUN: --buffer-deallocation-simplification -split-input-file %s | FileCheck %s
4 // RUN: mlir-opt %s -buffer-deallocation-pipeline --split-input-file > /dev/null
H A Ddealloc-other.mlir1 // RUN: mlir-opt -verify-diagnostics -ownership-based-buffer-deallocation \
2 // RUN: --buffer-deallocation-simplification -canonicalize -split-input-file %s | FileCheck %s
44 // Buffer deallocation should not emit any error here as the operation does not
H A Dmisc-other.mlir1 // RUN: mlir-opt -verify-diagnostics -ownership-based-buffer-deallocation -split-input-file %s
3 // Test Case: ownership-based-buffer-deallocation should not fail
H A Ddealloc-memoryeffect-interface.mlir1 // RUN: mlir-opt -verify-diagnostics -ownership-based-buffer-deallocation \
2 // RUN: --buffer-deallocation-simplification -split-input-file %s | FileCheck %s
3 // RUN: mlir-opt -verify-diagnostics -ownership-based-buffer-deallocation=private-function-dynamic-…
5 // RUN: mlir-opt %s -buffer-deallocation-pipeline --split-input-file > /dev/null
141 // Only buffers that are under "manual deallocation" are allowed to be
H A Ddealloc-helper-function.mlir1 // RUN: mlir-opt %s -buffer-deallocation-pipeline | FileCheck %s
2 // RUN: mlir-opt %s --pass-pipeline="builtin.module(buffer-deallocation-pipeline)" | FileCheck %s
H A Dinvalid-buffer-deallocation.mlir1 // RUN: mlir-opt -verify-diagnostics -ownership-based-buffer-deallocation -split-input-file %s
90 // expected-error @below {{No deallocation operations must be present when running this pass!}}
H A Ddealloc-branchop-interface.mlir1 // RUN: mlir-opt -verify-diagnostics -ownership-based-buffer-deallocation \
2 // RUN: -buffer-deallocation-simplification -split-input-file %s | FileCheck %s
3 // RUN: mlir-opt -verify-diagnostics -ownership-based-buffer-deallocation=private-function-dynamic-ownership=true -split-input-file %s > /dev/null
5 // RUN: mlir-opt %s -buffer-deallocation-pipeline --split-input-file > /dev/null
14 // passed to bb3. In the latter block, there should be a deallocation.
15 // Since bb1 does not contain an adequate alloc, the deallocation has to be
57 // appropriate shape dimensions. The copy buffer deallocation will be applied
341 // could do an unconditional deallocation on ALLOC0 and move it before the
440 // could do an unconditional deallocation on ALLOC0 and move it before the
H A Ddealloc-region-branchop-interface.mlir1 …UN: mlir-opt -allow-unregistered-dialect -verify-diagnostics -ownership-based-buffer-deallocation \
2 // RUN: --buffer-deallocation-simplification -split-input-file %s | FileCheck %s
3 …llow-unregistered-dialect -verify-diagnostics -ownership-based-buffer-deallocation=private-functio…
5 // RUN: mlir-opt %s -buffer-deallocation-pipeline --split-input-file --verify-diagnostics > /dev/nu…
100 // Buffer deallocation places a copy for both %1 and %3, since they are
516 // deallocation because the operation's region does not deal with any MemRef
535 // not allowed during buffer deallocation.
651 // Expected result: deallocation should happen after affine.if op.
680 // Expected result: deallocation should happen after affine.if op.
/llvm-project/mlir/include/mlir/Dialect/Bufferization/IR/
H A DBufferizationBase.td28 deallocation](/docs/OwnershipBasedBufferDeallocation/).
65 /// deallocation side effect. It indicates that the op is under a "manual
66 /// deallocation" scheme. In the case of an allocation op, the returned
68 /// ownership of "false". Furthermore, only deallocation ops that are
69 /// guaranteed to deallocate a buffer under "manual deallocation" are
71 /// attribute are rejected by the ownership-based buffer deallocation pass.)
H A DAllocationOpInterface.td10 // buffer deallocation pass.
27 construct associated deallocation and clone operations that are compatible
34 Builds a deallocation operation using the provided builder and the
38 deallocation operation, this method can return ::std::nullopt.
H A DBufferDeallocationOpInterface.td26 This method takes the current deallocation state and transformation
27 options and updates the deallocation state as necessary for the
33 deallocation pass. On success, either the current operation or one of
35 should continue the processing. On failure, the deallocation pass
/llvm-project/mlir/test/Pass/
H A Dpipeline-invalid.mlir2 // RUN: --pass-pipeline='any(buffer-deallocation)' --verify-diagnostics \
5 // Note: "buffer-deallocation" is a function pass. Any other function pass could
/llvm-project/mlir/test/mlir-cpu-runner/
H A Dsimple.mlir
/llvm-project/mlir/docs/
H A DOwnershipBasedBufferDeallocation.md8 `-ownership-based-buffer-deallocation` pass. This pass supersedes the now
9 deprecated `-buffer-deallocation` pass, which does not work well with
17 run together with the ownership-based buffer deallocation pass. The recommended
27 ownership-based-buffer-deallocation
31 buffer-deallocation-simplification
40 The entire deallocation pipeline (excluding `-one-shot-bufferize`) is exposed
41 as `-buffer-deallocation-pipeline`.
43 The ownership-based buffer deallocation pass processes operations implementing
50 (`--buffer-deallocation-simplification`) and the regular canonicalizer
52 `-ownership-based-buffer-deallocation` pass directly using
[all …]
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/misc/
H A Dnew-delete-overloads.rst18 … to CERT C++ Coding Standard rule `DCL54-CPP. Overload allocation and deallocation functions as a …
19 …t.org/confluence/display/cplusplus/DCL54-CPP.+Overload+allocation+and+deallocation+functions+as+a+…
/llvm-project/mlir/test/Dialect/SCF/
H A Dbuffer-deallocation.mlir1 // RUN: mlir-opt -verify-diagnostics -ownership-based-buffer-deallocation \
2 // RUN: -buffer-deallocation-simplification -split-input-file %s | FileCheck %s
/llvm-project/llvm/docs/
H A DScudoHardenedAllocator.rst52 - the Quarantine: offers a way to delay the deallocation operations, preventing
83 necessary for reallocation or sized-deallocation operations;
116 reclaiming. While Secondary mapped allocations can be unmapped on deallocation,
121 be zero filled on subsequent accesses). This is done in the deallocation path,
143 Your linked binary should now make use of the Scudo allocation and deallocation
217 | | | the actual deallocation of chunks. Lower value…
258 | | | deallocation stack traces for MTE fault …
347 - ``"allocation type mismatch"``: when the optional deallocation type mismatch
348 check is enabled, a deallocation function called on a chunk has to match the
/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dflags.inc15 "deallocation of chunks. Lower value may reduce memory usage but "
28 "Terminate on a type mismatch in allocation-deallocation functions, "
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/objc/
H A Ddealloc-in-category.rst12 override the class's implementation and unexpected deallocation behavior
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/
H A Dcplusplus.InnerPointer.rst8 Check for inner pointers of C++ containers used after re/deallocation.
/llvm-project/mlir/test/Dialect/GPU/
H A Dbufferization-buffer-deallocation.mlir1 // RUN: mlir-opt %s -buffer-deallocation-pipeline --allow-unregistered-dialect | FileCheck %s
/llvm-project/mlir/lib/Dialect/Bufferization/Transforms/
H A DBufferDeallocation.cpp673 BufferDeallocation deallocation(op); in deallocateBuffers() local
677 if (failed(deallocation.prepare())) in deallocateBuffers()
681 if (failed(deallocation.deallocate())) in deallocateBuffers()

1234