Home
last modified time | relevance | path

Searched refs:fusion (Results 1 – 25 of 73) sorted by relevance

123

/llvm-project-15.0.7/mlir/test/Transforms/
H A Dloop-fusion-dependence-check.mlir1 // RUN: mlir-opt -allow-unregistered-dialect %s -test-loop-fusion -test-loop-fusion-dependence-chec…
20 …// expected-remark@-1 {{block-level dependence preventing fusion of loop nest 0 into loop nest 2 a…
29 …// expected-remark@-1 {{block-level dependence preventing fusion of loop nest 2 into loop nest 0 a…
52 // Should fuse: no fusion preventing remarks should be emitted for this test.
85 // Should fuse: no fusion preventing remarks should be emitted for this test.
110 …// expected-remark@-1 {{block-level dependence preventing fusion of loop nest 0 into loop nest 1 a…
119 …// expected-remark@-1 {{block-level dependence preventing fusion of loop nest 1 into loop nest 0 a…
135 …// expected-remark@-1 {{block-level dependence preventing fusion of loop nest 0 into loop nest 1 a…
144 …// expected-remark@-1 {{block-level dependence preventing fusion of loop nest 1 into loop nest 0 a…
161 …// expected-remark@-1 {{block-level dependence preventing fusion of loop nest 0 into loop nest 1 a…
[all …]
H A Dloop-fusion-4.mlir1 // RUN: mlir-opt -allow-unregistered-dialect %s -affine-loop-fusion="mode=producer" -split-input-fi…
2 // RUN: mlir-opt -allow-unregistered-dialect %s -affine-loop-fusion="fusion-maximal mode=sibling" -…
4 // Part I of fusion tests in mlir/test/Transforms/loop-fusion.mlir.
5 // Part II of fusion tests in mlir/test/Transforms/loop-fusion-2.mlir
6 // Part III of fusion tests in mlir/test/Transforms/loop-fusion-3.mlir
8 // Expects fusion of producer into consumer at depth 4 and subsequent removal of
46 // Expects fusion of producer into consumer at depth 2 and subsequent removal of
74 // Expects fusion of producer into consumer at depth 1 and source loop to not
91 // Check if the fusion did take place as well as that the source loop was
92 // not removed. To check if fusion took place, the read instruction from the
[all …]
H A Dloop-fusion-3.mlir2 // RUN: mlir-opt -allow-unregistered-dialect %s -affine-loop-fusion="fusion-maximal" -split-input-f…
4 // Part I of fusion tests in mlir/test/Transforms/loop-fusion.mlir.
5 // Part II of fusion tests in mlir/test/Transforms/loop-fusion-2.mlir
6 // Part IV of fusion tests in mlir/test/Transforms/loop-fusion-4.mlir
93 // Sibling loop fusion should not fuse any of these loops due to
408 // the producer-consumer fusion.
438 // Producer loop '%i0' should be removed after fusion since fusion is maximal.
440 // producer is removed after fusion.
472 // and the fused loop shouldn't be removed since fusion is not maximal.
888 // Test checks the loop structure is preserved after sibling fusion.
[all …]
H A Dloop-fusion.mlir3 // Part II of fusion tests in mlir/test/Transforms/loop-fusion=2.mlir.
4 // Part III of fusion tests in mlir/test/Transforms/loop-fusion-3.mlir
5 // Part IV of fusion tests in mlir/test/Transforms/loop-fusion-4.mlir
8 // *) Add nested fusion test cases when non-constant loop bound support is
179 // Note that fusion creates a private memref '%2' for the fused loop nest.
323 // TODO: When the fusion pass is run to a fixed-point, it should
465 // Top-level IfOp should prevent fusion.
494 // IfOp in ForOp should prevent fusion.
529 // IfOp in ForOp should not prevent fusion if it does not in between the
1234 // This tests that the loop nest '%i0' should not be removed after fusion
[all …]
H A Dloop-fusion-2.mlir1 // RUN: mlir-opt -allow-unregistered-dialect %s -affine-loop-fusion -split-input-file | FileCheck %s
2 // RUN: mlir-opt -allow-unregistered-dialect %s -affine-loop-fusion="fusion-maximal" -split-input-f…
4 // Part I of fusion tests in mlir/test/Transforms/loop-fusion.mlir.
5 // Part III of fusion tests in mlir/test/Transforms/loop-fusion-3.mlir
6 // Part IV of fusion tests in mlir/test/Transforms/loop-fusion-4.mlir
97 // On the first visit to '%i2', the fusion algorithm can not fuse loop nest
637 // the loads) is computed and used in the fusion cost calculation, index
894 // Add further tests in mlir/test/Transforms/loop-fusion-4.mlir
H A Dloop-fusion-transformation.mlir1 // RUN: mlir-opt %s -allow-unregistered-dialect -test-loop-fusion -test-loop-fusion-transformation …
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Affine/
H A DPasses.td46 def AffineLoopFusion : Pass<"affine-loop-fusion", "func::FuncOp"> {
50 combines two fusion strategies: producer-consumer fusion and sibling fusion.
63 Example 1: Producer-consumer fusion.
107 Example 2: Sibling fusion.
158 Option<"fastMemorySpace", "fusion-fast-mem-space", "unsigned",
160 "Faster memory space number to promote fusion buffers to">,
164 Option<"maximalFusion", "fusion-maximal", "bool", /*default=*/"false",
165 "Enables maximal loop fusion">,
167 "mlir::FusionMode::Greedy", "fusion mode to attempt",
171 "\"producer\", \"Perform only producer-consumer fusion\"), "
[all …]
/llvm-project-15.0.7/llvm/test/Analysis/MemoryDependenceAnalysis/
H A DInvariantLoad.ll145 ; CHECK: fusion.loop_header.dim.1.preheader:
159 br label %fusion.loop_header.dim.1.preheader
161 fusion.loop_header.dim.1.preheader: ; preds = %fusion.loop_header.dim.1.preheader, %e…
162 …%fusion.invar_address.dim.0.03 = phi i64 [ 0, %entry ], [ %invar.inc3, %fusion.loop_header.dim.1.p…
163 …unds [2 x [1 x [4 x float]]], [2 x [1 x [4 x float]]]* null, i64 0, i64 %fusion.invar_address.dim.…
166 …unds [2 x [1 x [4 x float]]], [2 x [1 x [4 x float]]]* null, i64 0, i64 %fusion.invar_address.dim.…
169 %invar.inc3 = add nuw nsw i64 %fusion.invar_address.dim.0.03, 1
170 br label %fusion.loop_header.dim.1.preheader
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Dmacro-fusion-last.mir1 # RUN: llc -o - %s -mtriple=aarch64-- -mattr=+arith-bcc-fusion -run-pass postmisched | FileCheck %s…
2 # RUN: llc -o - %s -mtriple=aarch64-- -mattr=-arith-bcc-fusion -run-pass postmisched | FileCheck %s…
20 ; move the SUBSXri in between them. However doing so breaks macro fusion.
H A Dmisched-fusion.ll1 …wn -aarch64-enable-cond-br-tune=false -mcpu=cortex-a57 -mattr=+arith-bcc-fusion | FileCheck %s --c…
2 …wn -aarch64-enable-cond-br-tune=false -mcpu=cortex-a57 -mattr=+arith-cbz-fusion | FileCheck %s --c…
34 ; except for the fusion opportunity the sub/add should be equal so the
H A Dmacro-fusion.ll4 ; Verify that, the macro-fusion creates the necessary dependencies between SUs and
/llvm-project-15.0.7/llvm/test/Transforms/LoopFusion/
H A Dcannot_fuse.ll1 ; RUN: opt -S -loop-simplify -loop-fusion -debug-only=loop-fusion -disable-output < %s 2>&1 | FileC…
88 ; CHECK: Attempting fusion on Candidate Set:
150 ; CHECK: Attempting fusion on Candidate Set:
205 ; and prevents fusion.
213 ; CHECK: Attempting fusion on Candidate Set:
216 ; CHECK: Memory dependencies do not allow fusion!
267 ; CHECK: Attempting fusion on Candidate Set:
270 ; CHECK: Memory dependencies do not allow fusion!
321 ; CHECK: Attempting fusion on Candidate Set:
324 ; CHECK: Memory dependencies do not allow fusion!
[all …]
H A Dpr48060.ll2 ; RUN: opt -S -loop-fusion < %s | FileCheck %s
3 ; RUN: opt -S -loop-fusion -pass-remarks-output=%t < %s
34 ; REMARKS-NEXT: Pass: loop-fusion
H A Ddiagnostics_analysis.ll1 ; RUN: opt -S -loop-fusion -pass-remarks-analysis=loop-fusion -disable-output < %s 2>&1 | FileCheck…
6 ; CHECK: remark: diagnostics_analysis.c:6:3: [test]: Loop is not a candidate for fusion: Loop conta…
7 ; CHECK: remark: diagnostics_analysis.c:10:3: [test]: Loop is not a candidate for fusion: Loop has …
H A Dloop_nest.ll1 ; RUN: opt -S -loop-fusion < %s | FileCheck %s
40 ; TODO: The current version of loop fusion does not allow the inner loops to be
42 ; limitations that can be addressed in future improvements to fusion.
H A Dguarded_unsafeblock_peel.ll1 ; RUN: opt -S -loop-fusion -loop-fusion-peel-max-count=3 < %s | FileCheck %s
H A Dguarded_peel.ll1 ; RUN: opt -S -loop-fusion -loop-fusion-peel-max-count=3 < %s | FileCheck %s
H A Dnonadjacent_peel.ll1 ; RUN: opt -S -loop-fusion -loop-fusion-peel-max-count=3 < %s | FileCheck %s
H A Dpeel.ll1 ; RUN: opt -S -loop-fusion -loop-fusion-peel-max-count=3 < %s | FileCheck %s
/llvm-project-15.0.7/llvm/test/CodeGen/NVPTX/
H A Dfp-contract.ll9 ;; If fusion is allowed, we try to form fma.rn at the PTX level, and emit
11 ;; is free to fuse with a multiply if it is able. If fusion is not allowed,
13 ;; for all adds to prevent ptxas from fusion the ops.
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPC.td177 def FeatureFusion : SubtargetFeature<"fusion", "HasFusion", "true",
181 "Power8 Addi-Load fusion",
185 "Power8 Addis-Load fusion",
196 "Target supports Add with Logical Operations fusion",
200 "Target supports Logical with Add Operations fusion",
204 "Target supports Logical Operations fusion",
208 "Target supports SHA3 assist fusion",
212 "Target supports Comparison Operations fusion",
216 "Target supports Wide-Immediate fusion",
220 "Target supports move to SPR with branch fusion",
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/SLPVectorizer/NVPTX/
H A Dv2f16.ll5 define void @fusion(i8* noalias nocapture align 256 dereferenceable(19267584) %arg, i8* noalias noc…
6 ; CHECK-LABEL: @fusion(
23 ; NOVECTOR-LABEL: @fusion(
/llvm-project-15.0.7/mlir/test/Dialect/Linalg/
H A Dreshape_control_fusion.mlir1 // RUN: mlir-opt -test-linalg-elementwise-fusion-patterns=control-fusion-by-expansion %s -split-inp…
H A Dfuse-with-reshape-by-collapsing.mlir1 // RUN: mlir-opt %s -test-linalg-elementwise-fusion-patterns=fuse-with-reshape-by-collapsing -split…
2 // RUN: mlir-opt %s -test-linalg-elementwise-fusion-patterns=fuse-with-reshape-by-collapsing-contro…
4 // Static problem sizes. Checks all aspects of fusion by collapsing. Rest of the
252 // Test no fusion because the folded dimensions are not all preserved.
278 // Test no fusion because the folded dimensions are not all preserved.
305 // Test no fusion because the iterator types of folded dims are not preserved.
332 // Test control of fusion using control function
333 // Test no fusion because the folded dimensions are not all preserved.
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DBuiltinLocationAttributes.td113 fused-location ::= `fused` fusion-metadata? `[` location (location `,`)* `]`
114 fusion-metadata ::= `<` attribute-value `>`
119 fusion. There are many places within a compiler in which several constructs

123