| /llvm-project-15.0.7/llvm/test/Transforms/LoopUnroll/ |
| H A D | runtime-loop5.ll | 12 ; UNROLL-16-LABEL: @test( 13 ; UNROLL-16-NEXT: entry: 18 ; UNROLL-16: for.body: 22 ; UNROLL-16: for.body.1: 28 ; UNROLL-16: for.body.2: 34 ; UNROLL-16: for.body.3: 60 ; UNROLL-16: for.end: 64 ; UNROLL-4-LABEL: @test( 65 ; UNROLL-4-NEXT: entry: 76 ; UNROLL-4: for.body: [all …]
|
| H A D | loop-remarks.ll | 1 …unroll -pass-remarks=loop-unroll -unroll-count=16 2>&1 | FileCheck -check-prefix=COMPLETE-UNROLL %s 2 …p-unroll -pass-remarks=loop-unroll -unroll-count=4 2>&1 | FileCheck -check-prefix=PARTIAL-UNROLL %s 3 …ll-count=4 -unroll-runtime=true -unroll-remainder 2>&1 | FileCheck %s --check-prefix=RUNTIME-UNROLL 5 ; COMPLETE-UNROLL: remark: {{.*}}: completely unrolled loop with 16 iterations 6 ; PARTIAL-UNROLL: remark: {{.*}}: unrolled loop by a factor of 4 7 ; RUNTIME-UNROLL: remark: {{.*}}: unrolled loop by a factor of 4 27 ; RUNTIME-UNROLL-NOT: remark: {{.*}}: completely unrolled loop with 3 iterations 28 ; RUNTIME-UNROLL: remark: {{.*}}: unrolled loop by a factor of 4
|
| H A D | loop-remarks-with-hotness.ll | 1 …nroll -pass-remarks-with-hotness -unroll-count=16 2>&1 | FileCheck -check-prefix=COMPLETE-UNROLL %s 2 …-unroll -pass-remarks-with-hotness -unroll-count=4 2>&1 | FileCheck -check-prefix=PARTIAL-UNROLL %s 4 ; COMPLETE-UNROLL: remark: {{.*}}: completely unrolled loop with 16 iterations (hotness: 300) 5 ; PARTIAL-UNROLL: remark: {{.*}}: unrolled loop by a factor of 4 (hotness: 300)
|
| H A D | partial-unroll-const-bounds.ll | 5 …low-remainder -unroll-max-percent-threshold-boost=100 | FileCheck %s --check-prefix=CHECK-NO-UNROLL 15 ; CHECK-NO-UNROLL: for.body: 16 ; CHECK-NO-UNROLL: store 17 ; CHECK-NO-UNROLL-NOT: store
|
| /llvm-project-15.0.7/mlir/test/Dialect/Affine/ |
| H A D | unroll.mlir | 38 } // UNROLL-FULL } 57 } // UNROLL-FULL } 240 } // UNROLL-FULL } 424 } // UNROLL-BY-4: } 440 // UNROLL-BY-4-NEXT: } 460 // UNROLL-BY-4-NEXT: } 510 } // UNROLL-BY-4: } 548 // UNROLL-BY-4-NEXT: } 552 // UNROLL-BY-4-NEXT: } 567 // UNROLL-BY-4-NEXT: } [all …]
|
| /llvm-project-15.0.7/mlir/test/Dialect/SCF/ |
| H A D | loop-unroll.mlir | 43 // UNROLL-BY-2-NEXT: } 46 // UNROLL-BY-2-NEXT: } 47 // UNROLL-BY-2-NEXT: return 80 // UNROLL-BY-3-NEXT: } 83 // UNROLL-BY-3-NEXT: } 180 // UNROLL-BY-2-NEXT: } 218 // UNROLL-BY-3-NEXT: } 221 // UNROLL-BY-3-NEXT: } 254 // UNROLL-BY-3-NEXT: } 309 // UNROLL-BY-3-NEXT: } [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/LoopVectorize/ |
| H A D | if-pred-stores.ll | 10 ; UNROLL-LABEL: @test( 11 ; UNROLL-NEXT: entry: 13 ; UNROLL: vector.body: 41 ; UNROLL: for.body: 47 ; UNROLL: if.then: 51 ; UNROLL: for.inc: 55 ; UNROLL: for.end: 56 ; UNROLL-NEXT: ret i32 0 197 ; UNROLL-NEXT: entry: 460 ; UNROLL-NEXT: entry: [all …]
|
| H A D | first-order-recurrence.ll | 17 ; UNROLL-NO-IC-NEXT: entry: 27 ; UNROLL-NO-IC: vector.ph: 87 ; UNROLL-NO-VF-NEXT: entry: 237 ; UNROLL-NO-IC-NEXT: entry: 319 ; UNROLL-NO-VF-NEXT: entry: 2724 ; UNROLL-NO-IC-NEXT: bb: 2842 ; UNROLL-NO-IC: bb1: 2845 ; UNROLL-NO-IC: bb2: 2856 ; UNROLL-NO-VF-NEXT: bb: 3031 ; UNROLL-NO-IC-NEXT: bb: [all …]
|
| H A D | induction.ll | 143 ; UNROLL: for.end: 399 ; UNROLL-NEXT: entry: 742 ; UNROLL-NEXT: entry: 1034 ; UNROLL-NEXT: entry: 2916 ; UNROLL: loop: 2918 ; UNROLL: exit: 3055 ; UNROLL: loop: 3057 ; UNROLL: exit: 3195 ; UNROLL: loop: 3200 ; UNROLL: exit: [all …]
|
| H A D | if-pred-non-void.ll | 186 ; UNROLL-NO-VF-LABEL: @test( 187 ; UNROLL-NO-VF-NEXT: entry: 311 ; UNROLL-NO-VF: for.body: 327 ; UNROLL-NO-VF: if.then: 333 ; UNROLL-NO-VF: if.end: 480 ; UNROLL-NO-VF-NEXT: entry: 553 ; UNROLL-NO-VF: if.then: 557 ; UNROLL-NO-VF: if.end: 690 ; UNROLL-NO-VF-NEXT: entry: 780 ; UNROLL-NO-VF: if.end: [all …]
|
| H A D | gcc-examples.ll | 28 ;UNROLL: load <4 x i32> 29 ;UNROLL: load <4 x i32> 40 ;UNROLL: ret void 70 ;UNROLL: ret void 116 ;UNROLL: <4 x i32> 117 ;UNROLL: <4 x i32> 118 ;UNROLL: <4 x i32> 119 ;UNROLL: <4 x i32> 120 ;UNROLL: ret void 149 ;UNROLL: ret void [all …]
|
| H A D | miniters.ll | 2 …p-vectorize -force-vector-interleave=2 -force-vector-width=4 -S | FileCheck %s -check-prefix=UNROLL 14 ; UNROLL-LABEL: foo( 15 ; UNROLL: %min.iters.check = icmp ult i64 %N, 8 16 ; UNROLL: br i1 %min.iters.check, label %scalar.ph, label %vector.ph
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/GlobalISel/ |
| H A D | llvm.memcpy.ll | 144 ; UNROLL-LABEL: memcpy_p1i8: 145 ; UNROLL: ; %bb.0: 146 ; UNROLL-NEXT: s_mov_b32 s2, 0 150 ; UNROLL-NEXT: s_waitcnt vmcnt(0) 154 ; UNROLL-NEXT: s_waitcnt vmcnt(0) 158 ; UNROLL-NEXT: s_waitcnt vmcnt(0) 162 ; UNROLL-NEXT: s_waitcnt vmcnt(0) 166 ; UNROLL-NEXT: s_waitcnt vmcnt(0) 170 ; UNROLL-NEXT: s_waitcnt vmcnt(0) 174 ; UNROLL-NEXT: s_waitcnt vmcnt(0) [all …]
|
| H A D | llvm.memmove.ll | 61 ; UNROLL-LABEL: memmove_p1i8: 62 ; UNROLL: ; %bb.0: 63 ; UNROLL-NEXT: s_mov_b32 s2, 0 64 ; UNROLL-NEXT: s_mov_b32 s3, 0xf000 65 ; UNROLL-NEXT: s_mov_b64 s[0:1], 0 66 ; UNROLL-NEXT: buffer_load_ubyte v4, v[2:3], s[0:3], 0 addr64 70 ; UNROLL-NEXT: s_waitcnt vmcnt(3) 72 ; UNROLL-NEXT: s_waitcnt vmcnt(3) 74 ; UNROLL-NEXT: s_waitcnt vmcnt(3) 76 ; UNROLL-NEXT: s_waitcnt vmcnt(3) [all …]
|
| H A D | llvm.memset.ll | 3 …erify-machineinstrs -amdgpu-mem-intrinsic-expand-size=5 %s -o - | FileCheck -check-prefix=UNROLL %s 27 ; UNROLL-LABEL: memset_p1i8: 28 ; UNROLL: ; %bb.0: 29 ; UNROLL-NEXT: s_mov_b32 s2, 0 30 ; UNROLL-NEXT: s_mov_b32 s3, 0xf000 31 ; UNROLL-NEXT: s_mov_b64 s[0:1], 0 32 ; UNROLL-NEXT: buffer_store_byte v2, v[0:1], s[0:3], 0 addr64 33 ; UNROLL-NEXT: buffer_store_byte v2, v[0:1], s[0:3], 0 addr64 offset:1 34 ; UNROLL-NEXT: buffer_store_byte v2, v[0:1], s[0:3], 0 addr64 offset:2 35 ; UNROLL-NEXT: buffer_store_byte v2, v[0:1], s[0:3], 0 addr64 offset:3 [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/LoopUnroll/ARM/ |
| H A D | loop-unrolling.ll | 76 ; CHECK-UNROLL: br 78 ; CHECK-UNROLL: for.body.epil: 79 ; CHECK-UNROLL: for.body.epil.1: 80 ; CHECK-UNROLL: for.body.epil.2: 123 ; CHECK-UNROLL: for.body4.epil: 124 ; CHECK-UNROLL: for.body4.epil.1: 125 ; CHECK-UNROLL: for.body4.epil.2: 131 ; CHECK-UNROLL: br 168 ; CHECK-UNROLL: icmp eq i32 [[IV1]], 1024 169 ; CHECK-UNROLL: br [all …]
|
| /llvm-project-15.0.7/mlir/test/Conversion/VectorToSCF/ |
| H A D | vector-to-scf.mlir | 256 // FULL-UNROLL: } else { 258 // FULL-UNROLL: } 265 // FULL-UNROLL: } else { 267 // FULL-UNROLL: } 274 // FULL-UNROLL: } else { 276 // FULL-UNROLL: } 319 // FULL-UNROLL: scf.if %[[CMP0]] { 322 // FULL-UNROLL: } 325 // FULL-UNROLL: scf.if %[[CMP1]] { 328 // FULL-UNROLL: } [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/LoopVectorize/X86/ |
| H A D | gcc-examples.ll | 18 ;UNROLL-LABEL: @example1( 19 ;UNROLL: load <4 x i32> 20 ;UNROLL: load <4 x i32> 21 ;UNROLL: add nsw <4 x i32> 23 ;UNROLL: store <4 x i32> 24 ;UNROLL: store <4 x i32> 25 ;UNROLL: ret void 54 ;UNROLL: load <4 x i16> 55 ;UNROLL: load <4 x i16> 56 ;UNROLL: store <4 x i32> [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/LoopUnroll/AArch64/ |
| H A D | full-unroll-trip-count-upper-bound.ll | 1 ; RUN: opt -loop-unroll -S -mtriple aarch64 -mcpu=cortex-a57 %s | FileCheck %s -check-prefix=UNROLL 17 ; UNROLL-LABEL: @test 18 ; UNROLL: load i32, i32* 19 ; UNROLL: load i32, i32* 20 ; UNROLL: load i32, i32* 21 ; UNROLL-NOT: load i32, i32*
|
| /llvm-project-15.0.7/llvm/test/Transforms/HardwareLoops/ARM/ |
| H A D | structure.ll | 321 ; CHECK-UNROLL-NOT: dls 323 ; CHECK-UNROLL: le lr, [[LOOP]] 326 ; CHECK-UNROLL: le lr, [[EPIL]] 327 ; CHECK-UNROLL-NEXT: [[EXIT]] 357 ; CHECK-UNROLL-NOT: dls 359 ; CHECK-UNROLL: le lr, [[LOOP]] 362 ; CHECK-UNROLL: le lr, [[EPIL]] 363 ; CHECK-UNROLL: [[EPIL_EXIT]]: 364 ; CHECK-UNROLL: pop 398 ; CHECK-UNROLL-NOT: b [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | sroa-before-unroll.ll | 3 …cn-- -O1 -S -disable-promote-alloca-to-vector < %s | FileCheck %s --check-prefixes=FUNC,FULL-UNROLL 4 …ult<O1>' -S -disable-promote-alloca-to-vector < %s | FileCheck %s --check-prefixes=FUNC,FULL-UNROLL 18 ; FULL-UNROLL: alloca 19 ; FULL-UNROLL-COUNT-256: store i32 {{[0-9]+}}, i32 addrspace(5)* 20 ; FULL-UNROLL-NOT: br
|
| /llvm-project-15.0.7/mlir/test/Transforms/ |
| H A D | scf-loop-unroll.mlir | 2 …rolling="unroll-factor=1" -split-input-file -canonicalize | FileCheck %s --check-prefix UNROLL-BY-1 47 // UNROLL-BY-1-LABEL: scf_loop_unroll_factor_1_promote 56 // UNROLL-BY-1-NEXT: %[[C0:.*]] = arith.constant 0 : index 57 // UNROLL-BY-1-NEXT: %{{.*}} = "test.foo"(%[[C0]]) : (index) -> i32
|
| /llvm-project-15.0.7/llvm/test/Transforms/LoopUnroll/X86/ |
| H A D | call-remark.ll | 1 …p-unroll -pass-remarks-analysis=loop-unroll < %s -S 2>&1 | FileCheck --check-prefixes=ALL,UNROLL %s 8 ; UNROLL: remark: <stdin>:14:1: unrolled loop by a factor of 8 with run-time trip count
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | macro-repeated-side-effects.c | 54 #define UNROLL(A) {A A} macro 56 UNROLL({ i++; }); in fp1()
|
| /llvm-project-15.0.7/mlir/test/Dialect/Vector/ |
| H A D | vector-unroll-options.mlir | 285 // UNROLL-LABEL: vector_contract_batched 286 // UNROLL-COUNT-1: vector.contract 287 // UNROLL-NOT: vector.contract 288 // UNROLL: return
|