Home
last modified time | relevance | path

Searched refs:prefetch (Results 1 – 25 of 131) sorted by relevance

123456

/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Darm64-prefetch.ll12 call void @llvm.prefetch(i8* %tmp, i32 0, i32 0, i32 1)
14 call void @llvm.prefetch(i8* %tmp, i32 0, i32 1, i32 1)
16 call void @llvm.prefetch(i8* %tmp, i32 0, i32 2, i32 1)
18 call void @llvm.prefetch(i8* %tmp, i32 0, i32 3, i32 1)
21 call void @llvm.prefetch(i8* %tmp, i32 0, i32 0, i32 0)
23 call void @llvm.prefetch(i8* %tmp, i32 0, i32 1, i32 0)
25 call void @llvm.prefetch(i8* %tmp, i32 0, i32 2, i32 0)
27 call void @llvm.prefetch(i8* %tmp, i32 0, i32 3, i32 0)
30 call void @llvm.prefetch(i8* %tmp, i32 1, i32 0, i32 1)
32 call void @llvm.prefetch(i8* %tmp, i32 1, i32 1, i32 1)
[all …]
/llvm-project-15.0.7/llvm/test/MC/RISCV/
H A Drv32zicbop-valid.s12 # CHECK-ASM-AND-OBJ: prefetch.i -2048(t0)
14 prefetch.i -2048(t0)
15 # CHECK-ASM-AND-OBJ: prefetch.i 2016(t0)
17 prefetch.i 2016(t0)
19 # CHECK-ASM-AND-OBJ: prefetch.r -2048(t1)
21 prefetch.r -0x800(t1)
22 # CHECK-ASM-AND-OBJ: prefetch.r 2016(t1)
24 prefetch.r 0x7e0(t1)
28 prefetch.w -2048(t2)
29 # CHECK-ASM-AND-OBJ: prefetch.w 2016(t2)
[all …]
H A Drv32zicbop-invalid.s5 prefetch.i a0, 32 # CHECK: :[[@LINE]]:12: error: immediate must be a multiple of 32 bytes in the ra…
6 prefetch.r 32, a0 # CHECK: :[[@LINE]]:16: error: invalid operand for instruction
7 prefetch.w a0(32) # CHECK: :[[@LINE]]:14: error: unexpected token
10 prefetch.i -2080(a0) # CHECK: :[[@LINE]]:12: error: immediate must be a multiple of 32 bytes in the…
11 prefetch.r 2048(a0) # CHECK: :[[@LINE]]:12: error: immediate must be a multiple of 32 bytes in the …
12 prefetch.w 2050(a0) # CHECK: :[[@LINE]]:12: error: immediate must be a multiple of 32 bytes in the …
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dprefetch.ll20 ; 3dnow prefetch instruction will only get used if you have no other prefetch instructions enabled
67 ; 3DNOW-NEXT: prefetch (%eax)
68 ; 3DNOW-NEXT: prefetch (%eax)
69 ; 3DNOW-NEXT: prefetch (%eax)
70 ; 3DNOW-NEXT: prefetch (%eax)
77 tail call void @llvm.prefetch( ptr %ptr, i32 0, i32 1, i32 1 )
78 tail call void @llvm.prefetch( ptr %ptr, i32 0, i32 2, i32 1 )
79 tail call void @llvm.prefetch( ptr %ptr, i32 0, i32 3, i32 1 )
80 tail call void @llvm.prefetch( ptr %ptr, i32 0, i32 0, i32 1 )
81 tail call void @llvm.prefetch( ptr %ptr, i32 1, i32 1, i32 1 )
[all …]
H A Dinsert-prefetch-invalid-instr.ll1 ; RUN: llc < %s -x86-discriminate-memops -prefetch-hints-file=%S/insert-prefetch-invalid-instr.afdo…
2 ; ModuleID = 'prefetch.cc'
3 source_filename = "prefetch.cc"
10 tail call void @llvm.prefetch(ptr inttoptr (i64 291 to ptr), i32 0, i32 0, i32 1), !dbg !9
16 declare void @llvm.prefetch(ptr nocapture readonly, i32, i32, i32) #1
30 !1 = !DIFile(filename: "prefetch.cc", directory: "/tmp")
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Dprefetch.ll23 tail call void @llvm.prefetch( i8* %ptr, i32 1, i32 3, i32 1 )
69 declare void @llvm.prefetch(i8*, i32, i32, i32) nounwind
98 call void @llvm.prefetch(i8* %0, i32 0, i32 3, i32 1)
99 call void @llvm.prefetch(i8* %1, i32 0, i32 3, i32 1)
100 call void @llvm.prefetch(i8* %2, i32 0, i32 3, i32 1)
120 call void @llvm.prefetch(i8* %0, i32 1, i32 3, i32 1)
121 call void @llvm.prefetch(i8* %1, i32 1, i32 3, i32 1)
122 call void @llvm.prefetch(i8* %2, i32 1, i32 3, i32 1)
142 call void @llvm.prefetch(i8* %0, i32 0, i32 3, i32 0)
143 call void @llvm.prefetch(i8* %1, i32 0, i32 3, i32 0)
[all …]
/llvm-project-15.0.7/llvm/test/MC/X86/
H A DPREFETCH-64.s5 prefetch 485498096 label
9 prefetch 64(%rdx) label
13 prefetch 64(%rdx,%rax,4) label
17 prefetch -64(%rdx,%rax,4) label
21 prefetch 64(%rdx,%rax) label
49 prefetch (%rdx) label
H A DPREFETCH-32.s5 prefetch -485498096(%edx,%eax,4) label
9 prefetch 485498096(%edx,%eax,4) label
13 prefetch 485498096(%edx) label
17 prefetch 485498096 label
21 prefetch 64(%edx,%eax) label
25 prefetch (%edx) label
/llvm-project-15.0.7/llvm/test/Transforms/LoopDataPrefetch/AArch64/
H A Dlarge-stride.ll1 ; RUN: opt -mcpu=cyclone -mtriple=arm64-apple-ios -loop-data-prefetch -max-prefetch-iters-ahead=100…
2 ; RUN: opt -mcpu=cyclone -mtriple=arm64-apple-ios -loop-data-prefetch -S < %s | FileCheck %s --chec…
3 ; RUN: opt -mcpu=generic -mtriple=arm64-apple-ios -loop-data-prefetch -S < %s | FileCheck %s --chec…
4 ; RUN: opt -mcpu=cyclone -mtriple=arm64-apple-ios -passes=loop-data-prefetch -max-prefetch-iters-ah…
5 ; RUN: opt -mcpu=cyclone -mtriple=arm64-apple-ios -passes=loop-data-prefetch -S < %s | FileCheck %s…
6 ; RUN: opt -mcpu=generic -mtriple=arm64-apple-ios -passes=loop-data-prefetch -S < %s | FileCheck %s…
19 ; ALL-NOT: call void @llvm.prefetch
42 ; LARGE_PREFETCH: call void @llvm.prefetch
43 ; NO_LARGE_PREFETCH-NOT: call void @llvm.prefetch
H A Dkryo-large-stride.ll1 ; RUN: opt -mcpu=kryo -mtriple=aarch64-gnu-linux -loop-data-prefetch -max-prefetch-iters-ahead=1000…
2 ; RUN: opt -mcpu=kryo -mtriple=aarch64-gnu-linux -loop-data-prefetch -S < %s | FileCheck %s --check…
3 ; RUN: opt -mcpu=kryo -mtriple=aarch64-gnu-linux -passes=loop-data-prefetch -max-prefetch-iters-ahe…
4 ; RUN: opt -mcpu=kryo -mtriple=aarch64-gnu-linux -passes=loop-data-prefetch -S < %s | FileCheck %s …
17 ; ALL-NOT: call void @llvm.prefetch
40 ; LARGE_PREFETCH: call void @llvm.prefetch
41 ; NO_LARGE_PREFETCH-NOT: call void @llvm.prefetch
H A Dpr56681.ll2 ; RUN: opt --loop-data-prefetch --prefetch-distance=3000 -debug-only=loop-data-prefetch -S < %s 2>&…
6 ; CHECK: Please set both PrefetchDistance and CacheLineSize for loop data prefetch
H A Dopt-remark.ll1 ; RUN: opt -mcpu=cyclone -mtriple=arm64-apple-ios -loop-data-prefetch \
2 ; RUN: -pass-remarks=loop-data-prefetch -S -max-prefetch-iters-ahead=100 \
4 ; RUN: opt -mcpu=cyclone -mtriple=arm64-apple-ios -passes=loop-data-prefetch \
5 ; RUN: -pass-remarks=loop-data-prefetch -S -max-prefetch-iters-ahead=100 \
H A Dopt-remark-with-hotness.ll1 ; RUN: opt -mcpu=cyclone -mtriple=arm64-apple-ios -loop-data-prefetch \
2 ; RUN: -pass-remarks=loop-data-prefetch -S -max-prefetch-iters-ahead=100 \
5 ; RUN: opt -mcpu=cyclone -mtriple=arm64-apple-ios -passes=loop-data-prefetch \
6 ; RUN: -pass-remarks=loop-data-prefetch -S -max-prefetch-iters-ahead=100 \
/llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/
H A Dprefetch-02.ll1 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z14 -prefetch-distance=100 \
2 ; RUN: -stop-after=loop-data-prefetch | FileCheck %s -check-prefix=FAR-PREFETCH
3 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z14 -prefetch-distance=20 \
4 ; RUN: -stop-after=loop-data-prefetch | FileCheck %s -check-prefix=NEAR-PREFETCH
7 ; the loop is smaller than the estimated "iterations ahead" of the prefetch.
10 ; FAR-PREFETCH-NOT: call void @llvm.prefetch
13 ; NEAR-PREFETCH: call void @llvm.prefetch
H A Dprefetch-01.ll5 declare void @llvm.prefetch(i8*, i32, i32, i32)
14 call void @llvm.prefetch(i8 *%ptr, i32 0, i32 0, i32 0)
23 call void @llvm.prefetch(i8 *%ptr, i32 1, i32 0, i32 0)
32 call void @llvm.prefetch(i8 *%ptr, i32 0, i32 0, i32 1)
41 call void @llvm.prefetch(i8 *%ptr, i32 1, i32 0, i32 1)
52 call void @llvm.prefetch(i8 *%ptr, i32 1, i32 0, i32 1)
63 call void @llvm.prefetch(i8 *%ptr, i32 1, i32 0, i32 1)
75 call void @llvm.prefetch(i8 *%ptr, i32 1, i32 0, i32 1)
85 call void @llvm.prefetch(i8 *%ptr, i32 1, i32 0, i32 1)
H A Dprefetch-04.ll1 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z14 -prefetch-distance=20 \
2 ; RUN: -loop-prefetch-writes -stop-after=loop-data-prefetch | FileCheck %s
5 ; write prefetch.
8 ; CHECK: call void @llvm.prefetch.p0i8(i8* %scevgep{{.*}}, i32 1, i32 3, i32 1
9 ; CHECK-not: call void @llvm.prefetch
H A Dprefetch-03.ll1 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z14 -prefetch-distance=50 \
2 ; RUN: -loop-prefetch-writes -stop-after=loop-data-prefetch | FileCheck %s
7 ; prefetch in %for.body.
10 ; CHECK: call void @llvm.prefetch.p0i8(i8* {{.*}}, i32 0
11 ; CHECK: call void @llvm.prefetch.p0i8(i8* {{.*}}, i32 1
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dprefetch-load.ll5 ; Check that we instcombine the load across the prefetch.
11 ; CHECK: llvm.prefetch
24 call void @llvm.prefetch(i8* %3, i32 0, i32 0, i32 1)
30 declare void @llvm.prefetch(i8* nocapture readonly, i32, i32, i32)
33 ; We've explicitly removed the function attrs from llvm.prefetch so we get the defaults.
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dppc64-prefetch.ll7 call void @llvm.prefetch(i8* %a, i32 0, i32 3, i32 1)
14 declare void @llvm.prefetch(i8*, i32, i32, i32)
18 call void @llvm.prefetch(i8* %a, i32 1, i32 3, i32 1)
27 call void @llvm.prefetch(i8* %a, i32 0, i32 3, i32 0)
H A Dppc64-icbt-pwr8.ll2 ; Copied from the ppc64-prefetch.ll test
5 declare void @llvm.prefetch(i8*, i32, i32, i32)
9 call void @llvm.prefetch(i8* %a, i32 0, i32 3, i32 0)
H A Dppc64-icbt-pwr7.ll2 ; Based on the ppc64-prefetch.ll test
5 declare void @llvm.prefetch(i8*, i32, i32, i32)
9 call void @llvm.prefetch(i8* %a, i32 0, i32 3, i32 0)
/llvm-project-15.0.7/llvm/test/CodeGen/Hexagon/
H A Dbuiltin-prefetch.ll13 call void @llvm.prefetch(i8* %0, i32 0, i32 3, i32 1)
19 call void @llvm.hexagon.prefetch(i8* %5)
25 declare void @llvm.prefetch(i8* nocapture, i32, i32, i32) #1
26 declare void @llvm.hexagon.prefetch(i8* nocapture) #1
/llvm-project-15.0.7/llvm/test/Assembler/
H A Dauto_upgrade_intrinsics.ll189 declare void @llvm.prefetch(i8*, i32, i32, i32)
190 define void @test.prefetch(i8* %ptr) {
191 ; CHECK-LABEL: @test.prefetch(
193 call void @llvm.prefetch(i8* %ptr, i32 0, i32 3, i32 2)
197 declare void @llvm.prefetch.p0i8(i8*, i32, i32, i32)
198 define void @test.prefetch.2(i8* %ptr) {
199 ; CHECK-LABEL: @test.prefetch.2(
201 call void @llvm.prefetch(i8* %ptr, i32 0, i32 3, i32 2)
205 declare void @llvm.prefetch.unnamed(%0**, i32, i32, i32)
206 define void @test.prefetch.unnamed(%0** %ptr) {
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/Mips/
H A Dmipslopat.ll11 call void @llvm.prefetch(i8* %0, i32 0, i32 0, i32 1)
14 call void @llvm.prefetch(i8* %1, i32 0, i32 0, i32 1)
18 declare void @llvm.prefetch(i8* nocapture, i32, i32, i32) nounwind
/llvm-project-15.0.7/llvm/test/tools/llvm-mca/X86/Barcelona/
H A Dresources-prefetchw.s4 prefetch (%rax) label
16 # CHECK-NEXT: 1 5 0.50 * * prefetch (%rax)
35 # CHECK-NEXT: - - - - - - 0.50 0.50 prefetch (%rax)

123456