Home
last modified time | relevance | path

Searched refs:prof (Results 1 – 25 of 552) sorted by relevance

12345678910>>...23

/llvm-project-15.0.7/llvm/test/Transforms/SampleProfile/
H A Dsyntax.ll2 ; RUN: opt < %s -passes=sample-profile -sample-profile-file=%S/Inputs/syntax.prof 2>&1 | FileCheck …
3 ; RUN: not opt < %s -passes=sample-profile -sample-profile-file=missing.prof 2>&1 | FileCheck -chec…
4 ; RUN: not opt < %s -passes=sample-profile -sample-profile-file=%S/Inputs/bad_fn_header.prof 2>&1 |…
8 ; RUN: not opt < %s -passes=sample-profile -sample-profile-file=%S/Inputs/bad_samples.prof 2>&1 | F…
9 ; RUN: opt < %s -passes=sample-profile -sample-profile-file=%S/Inputs/bad_mangle.prof 2>&1 >/dev/nu…
19 ; MISSING-FILE: missing.prof: Could not open profile:
20 ; BAD-FN-HEADER: error: {{.*}}bad_fn_header.prof: Could not open profile: Unrecognized sample profi…
21 ; BAD-SAMPLE-LINE: error: {{.*}}bad_sample_line.prof:3: Expected 'NUM[.NUM]: NUM[ mangled_name:NUM]…
22 ; BAD-LINE-VALUES: error: {{.*}}bad_line_values.prof:2: Expected 'mangled_name:NUM:NUM', found -1: …
23 ; BAD-DISCRIMINATOR-VALUE: error: {{.*}}bad_discriminator_value.prof:2: Expected 'NUM[.NUM]: NUM[ m…
[all …]
H A Dpseudo-probe-profile-metadata-2.ll1 ; RUN: opt < %s -passes=sample-profile -sample-profile-file=%S/Inputs/pseudo-probe-profile.prof -pa…
2 ; RUN: opt < %s -passes=sample-profile -sample-profile-file=%S/Inputs/pseudo-probe-profile.prof -pa…
4 define dso_local i32 @foo(i32 %x, ptr %f) #0 !dbg !4 !prof !10 {
12 br i1 %cmp, label %if.then, label %if.else, !prof !11
16 ; CHECK: call {{.*}}, !dbg ![[#]], !prof ![[#PROF:]]
17 ; OVW: call {{.*}}, !dbg ![[#]], !prof ![[#PROF:]]
18 call void %f(i32 1), !dbg !13, !prof !16
24 ; CHECK: call {{.*}}, !dbg ![[#]], !prof ![[#PROF]]
26 ; OVW-NOT: call {{.*}}, !dbg ![[#]], !prof
27 call void %f(i32 2), !dbg !15, !prof !16
/llvm-project-15.0.7/compiler-rt/test/profile/Posix/
H A Dinstrprof-value-prof-shared.test6 …show --all-functions -ic-targets %t.profdata | FileCheck %S/../Inputs/instrprof-value-prof-real.c
18 // RUN: FileCheck %S/../Inputs/instrprof-value-prof-real.c --check-prefix=IR < %t.ir.proftxt
21 // RUN: rm -fr %t.prof/
22 // RUN: mkdir -p %t.prof/
23prof -O2 -mllvm -disable-vp=false -mllvm -vp-static-alloc=true -mllvm -vp-counters-per-site=256 -f…
24prof -O2 -mllvm -disable-vp=false -mllvm -vp-static-alloc=true -mllvm -vp-counters-per-site=256 -r…
26 // RUN: llvm-profdata merge -o %t.ir.m.profdata -dump-input-file-list %t.prof/ | count 2
27 // RUN: llvm-profdata merge -o %t.ir.m.profdata %t.prof/
31 // RUN: FileCheck %S/../Inputs/instrprof-value-prof-real.c --check-prefix=IR < %t.ir.m.proftxt
42 // RUN: FileCheck %S/../Inputs/instrprof-value-prof-real.c --check-prefix=IR < %t.ir.dyn.proftxt
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dcanonicalize_branch.ll15 br i1 %C, label %T, label %F, !prof !0
32 br i1 %C, label %T, label %F, !prof !1
49 br i1 %C, label %T, label %F, !prof !2
66 br i1 %C, label %T, label %F, !prof !3
83 br i1 %C, label %T, label %F, !prof !4
100 br i1 %C, label %T, label %F, !prof !5
117 br i1 %C, label %T, label %F, !prof !6
134 br i1 %C, label %T, label %F, !prof !7
151 br i1 %C, label %T, label %F, !prof !8
168 br i1 %C, label %T, label %F, !prof !9
[all …]
H A Dselect_meta.ll16 select i1 %2, i32 %3, i32 %4, !prof !1
26 %sel = select i1 %cond, i32 %x, i32 42, !prof !1
63 select i1 %3, i32 %4, i32 %5, !prof !1
99 %3 = select i1 %1, i16 %2, i16 -32768, !prof !1
110 %cond = select i1 %cmp, i32 %sub, i32 %x, !prof !1
140 %cond = select i1 %cmp, i32 %x, i32 %y, !prof !1
153 %cond = select i1 %cmp, i32 75, i32 %x, !prof !1
167 %cond = select i1 %cmp, i32 92, i32 %x, !prof !1
182 %cond = select i1 %cmp, i32 36, i32 %x, !prof !1
197 %sel = select i1 %cmp, i32 %not_x, i32 -1, !prof !1
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/CodeGenPrepare/X86/
H A Dsection-samplepgo.ll9 define void @hot_func() !prof !15 {
15 define void @hot_call_func() !prof !16 {
16 call void @hot_func(), !prof !17
17 call void @hot_func(), !prof !17
23 define void @normal_func() !prof !16 {
24 call void @hot_func(), !prof !17
25 call void @hot_func(), !prof !18
26 call void @hot_func(), !prof !18
32 define void @cold_func() !prof !16 {
33 call void @hot_func(), !prof !18
H A Dsection.ll13 define void @hot_func1() !prof !15 {
19 define void @hot_func2(i32 %n) !prof !16 {
49 define void @cold_func1() !prof !16 {
50 call void @hot_func1(), !prof !17
51 call void @hot_func1(), !prof !17
56 define void @cold_func2() !prof !16 {
57 call void @hot_func1(), !prof !17
58 call void @hot_func1(), !prof !18
59 call void @hot_func1(), !prof !18
64 define void @cold_func3() !prof !16 {
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dpartial-tail-dup.ll15 define void @test1(ptr %p) !prof !1 {
21 br i1 %call, label %p1, label %p2, !prof !2
63 define void @test2(ptr %p) !prof !1 {
69 br i1 %call, label %bb1, label %bb2, !prof !2
73 br i1 %call1, label %p1, label %p2, !prof !4
77 br i1 %call2, label %p3, label %p4, !prof !4
97 br i1 %cond, label %bb3, label %bb4, !prof !4
133 define void @test3(ptr %p) !prof !1 {
139 br i1 %call, label %bb1, label %p3, !prof !2
143 br i1 %call1, label %p1, label %p2, !prof !4
[all …]
H A Dmachine-function-splitter.ll12 br i1 %0, label %2, label %4, !prof !17
31 br i1 %0, label %2, label %4, !prof !17
73 br i1 %0, label %3, label %7, !prof !18
84 br i1 %1, label %8, label %10, !prof !19
107 br i1 %0, label %3, label %7, !prof !21
118 br i1 %1, label %8, label %10, !prof !22
137 br i1 %0, label %2, label %4, !prof !17
170 br i1 %0, label %2, label %4, !prof !17
204 br i1 %0, label %hot, label %cold, !prof !17
209 to label %exit unwind label %lpad2, !prof !21
[all …]
H A Dcode_placement_cold_loop_blocks.ll3 define void @foo() !prof !1 {
20 br i1 %call, label %if.then, label %if.else, !prof !4
33 br i1 %call2, label %header, label %end, !prof !5
40 define void @nested_loop_0(i1 %flag) !prof !1 {
62 br i1 %call, label %if.then, label %if.else, !prof !2
67 br i1 %call3, label %header2, label %header, !prof !3
71 br i1 %flag, label %header2, label %header, !prof !3
78 define void @nested_loop_1() !prof !1 {
98 br i1 %call, label %end, label %if.else, !prof !4
103 br i1 %call2, label %header2, label %header, !prof !5
/llvm-project-15.0.7/llvm/test/Transforms/Inline/
H A Dprof-update-sample-alwaysinline.ll8 ; CHECK: define void @callee(i32 %n) #0 !prof ![[ENTRY_COUNT:[0-9]*]]
9 define void @callee(i32 %n) #0 !prof !15 {
14 ; CHECK: call void @ext1(), !prof ![[COUNT_CALLEE1:[0-9]*]]
15 call void @ext1(), !prof !16
19 ; CHECK: call void @ext(), !prof ![[COUNT_CALLEE:[0-9]*]]
20 call void @ext(), !prof !16
22 ; CHECK: call void %f(), !prof ![[COUNT_IND_CALLEE:[0-9]*]]
23 call void %f(), !prof !18
29 ; CHECK: call void @ext(), !prof ![[COUNT_CALLER:[0-9]*]]
30 ; CHECK: call void %f.i(), !prof ![[COUNT_IND_CALLER:[0-9]*]]
[all …]
H A Dprof-update-sample.ll9 ; CHECK: define void @callee(i32 %n) !prof ![[ENTRY_COUNT:[0-9]*]]
10 define void @callee(i32 %n) !prof !15 {
15 ; CHECK: call void @ext1(), !prof ![[COUNT_CALLEE1:[0-9]*]]
16 call void @ext1(), !prof !16
20 ; CHECK: call void @ext(), !prof ![[COUNT_CALLEE:[0-9]*]]
21 call void @ext(), !prof !16
23 ; CHECK: call void %f(), !prof ![[COUNT_IND_CALLEE:[0-9]*]]
24 call void %f(), !prof !18
30 ; CHECK: call void @ext(), !prof ![[COUNT_CALLER:[0-9]*]]
31 ; CHECK: call void %f.i(), !prof ![[COUNT_IND_CALLER:[0-9]*]]
[all …]
H A Dprof-update-instr.ll8 ; CHECK: define void @callee(i32 %n) !prof ![[ENTRY_COUNT:[0-9]*]]
9 define void @callee(i32 %n) !prof !15 {
11 br i1 %cond, label %cond_true, label %cond_false, !prof !20
15 ; CHECK: call void %f2(), !prof ![[COUNT_IND_CALLEE1:[0-9]*]]
16 call void %f2(), !prof !19
20 ; CHECK: call void %f(), !prof ![[COUNT_IND_CALLEE:[0-9]*]]
21 call void %f(), !prof !18
26 define void @caller() !prof !21 {
27 ; CHECK: call void %f.i(), !prof ![[COUNT_IND_CALLER:[0-9]*]]
/llvm-project-15.0.7/llvm/test/Transforms/SyntheticCountsPropagation/
H A Dinitial.ll4 ; CHECK: !prof ![[COUNT1:[0-9]+]]
10 ; CHECK: !prof ![[COUNT2:[0-9]+]]
16 ; CHECK: !prof ![[COUNT2]]
22 ; CHECK: !prof ![[COUNT3:[0-9]+]]
28 ; CHECK: !prof ![[COUNT3]]
34 ; CHECK: !prof ![[COUNT4:[0-9]+]]
40 ; CHECK: !prof ![[COUNT1]]
53 ; CHECK: !prof ![[COUNT2]]
59 ; CHECK: !prof ![[COUNT4]]
65 ; CHECK: !prof ![[COUNT1]]
/llvm-project-15.0.7/llvm/test/Analysis/BlockFrequencyInfo/
H A Dirreducible.ll15 br i1 %x, label %exit.1, label %loop.2, !prof !0
19 br i1 %x, label %exit.2, label %loop.1, !prof !1
98 br i1 %x, label %c1, label %c2, !prof !2
103 br i1 %x, label %c2, label %exit, !prof !2
108 br i1 %x, label %c1, label %exit, !prof !2
168 br i1 %x, label %left, label %right, !prof !4
180 br i1 %x, label %loop, label %exit, !prof !5
195 br i1 %x, label %a, label %b, !prof !6
235 br i1 %x, label %left, label %right, !prof !9
251 br i1 %x, label %left, label %exit, !prof !10
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Dfast-isel-tbz.ll9 br i1 %2, label %bb1, label %bb2, !prof !0
21 br i1 %2, label %bb1, label %bb2, !prof !0
33 br i1 %2, label %bb1, label %bb2, !prof !0
45 br i1 %2, label %bb1, label %bb2, !prof !0
57 br i1 %2, label %bb1, label %bb2, !prof !0
69 br i1 %2, label %bb1, label %bb2, !prof !0
81 br i1 %2, label %bb1, label %bb2, !prof !0
93 br i1 %2, label %bb1, label %bb2, !prof !0
105 br i1 %2, label %bb1, label %bb2, !prof !0
117 br i1 %2, label %bb1, label %bb2, !prof !0
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/SimplifyCFG/
H A Dwc-widen-block.ll32 br i1 %cond_1, label %return, label %deopt2, !prof !0
67 br i1 %cond_1, label %return, label %deopt2, !prof !0
105 br i1 %cond_1, label %deopt2, label %return, !prof !0
144 br i1 %cond_1, label %return, label %deopt2, !prof !0
185 br i1 %cond_1, label %return, label %deopt2, !prof !0
222 br i1 %cond_1, label %return, label %deopt, !prof !0
258 br i1 %cond_1, label %return, label %deopt2, !prof !0
301 br i1 %cond_1, label %loop, label %deopt2, !prof !0
356 br i1 %cond_2, label %return, label %deopt3, !prof !0
392 br i1 %cond_1, label %return, label %deopt2, !prof !0
[all …]
H A Dpreserve-branchweights.ll26 br i1 %a, label %Y, label %X, !prof !0
30 br i1 %c, label %Z, label %Y, !prof !1
192 ], !prof !3
238 ], !prof !4
254 ], !prof !5
353 ], !prof !7
395 ], !prof !7
432 ], !prof !7
463 ], !prof !8
486 ], !prof !9
[all …]
/llvm-project-15.0.7/llvm/test/Verifier/
H A Dmetadata-function-prof.ll3 ; CHECK: function declaration may not have a !prof attachment
4 declare !prof !0 void @f1()
6 define void @f2() !prof !0 {
10 ; CHECK: function must have a single !prof attachment
11 define void @f3() !prof !0 !prof !0 {
H A Dfunction-metadata-bad.ll3 define i32 @bad1() !prof !0 {
9 ; CHECK-NEXT: expected string with name of the !prof annotation
12 define i32 @bad2() !prof !1 {
17 ; CHECK-NEXT: !prof annotations should have no less than 2 operands
21 define i32 @bad3() !prof !2 {
29 define i32 @bad4() !prof !3 {
/llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/
H A Dchr.ll25 define void @test_chr_1(ptr %i) !prof !14 {
57 br i1 %2, label %bb1, label %bb0, !prof !15
66 br i1 %4, label %bb3, label %bb2, !prof !15
98 define void @test_chr_1_1(ptr %i) !prof !14 {
137 br i1 %2, label %bb1, label %bb0, !prof !15
146 br i1 %4, label %bb2, label %bb3, !prof !15
155 br i1 %6, label %bb5, label %bb4, !prof !15
184 define void @test_chr_2(ptr %i) !prof !14 {
220 br i1 %2, label %bb4, label %bb0, !prof !15
225 br i1 %4, label %bb2, label %bb1, !prof !15
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/FunctionImport/Inputs/
H A Dhotness_based_import.ll9 define void @hot2() #1 !prof !20 {
14 define void @hot3() #1 !prof !20 {
20 define void @cold() #1 !prof !0 {
23 define void @cold2() #1 !prof !0 {
47 define void @calledFromHot() !prof !20 {
52 define void @calledFromHot2() !prof !20 {
57 define void @calledFromNone() !prof !0 {
/llvm-project-15.0.7/llvm/test/Transforms/LICM/
H A Dloopsink.ll25 define i32 @t1(i32, i32) #0 !prof !0 {
36 br i1 %c1, label %.b2, label %.b6, !prof !1
63 br i1 %c7, label %.b1, label %.exit, !prof !3
92 define i32 @t2(i32, i32) #0 !prof !0 {
103 br i1 %c1, label %.b2, label %.b6, !prof !2
107 br i1 %c2, label %.b3, label %.b4, !prof !1
154 define i32 @t3(i32, i32) #0 !prof !0 {
205 define i32 @t4(i32, i32) #0 !prof !0 {
239 define i32 @t5(i32, i32*) #0 !prof !0 {
361 define i32 @t6(i32, i32) #0 !prof !0 {
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dselect-to-branch.mir8 %sel = select i1 %cmp, i32 %a, i32 %b, !prof !14
15 ; CHECK-NEXT: %sel = select i1 %cmp, i32 %a, i32 %b, !prof !14
21 %sel = select i1 %cmp, i32 %a, i32 %b, !prof !15
40 %sel = select i1 %cmp, i32 %a, i32 %b, !prof !16
58 %sel = select i1 %cmp, i32 %a, i32 %b, !prof !17
64 ; CHECK-NEXT: %sel = select i1 %cmp, i32 %a, i32 %b, !prof !17
71 %sel = select i1 %cmp, i32 %a, i32 %b, !prof !15
77 ; CHECK-NEXT: %sel = select i1 %cmp, i32 %a, i32 %b, !prof !15
81 define i32 @weighted_select_pgso(i32 %a, i32 %b) !prof !18 {
83 %sel = select i1 %cmp, i32 %a, i32 %b, !prof !15
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/JumpThreading/
H A Dthreading_prof1.ll10 ; CHECK: br i1 %tmp1,{{.*}} !prof ![[PROF1:[0-9]+]]
16 ; CHECK: br i1 %tmp4, {{.*}} !prof ![[PROF2:[0-9]+]]
20 br i1 %tmp6, label %bb8, label %bb7, !prof !0
36 ; CHECK: br i1 %tmp1,{{.*}} !prof ![[PROF1:[0-9]+]]
45 ; CHECK: br i1 %tmp4, {{.*}} !prof ![[PROF2:[0-9]+]]
49 br i1 %tmp6, label %bb8, label %bb7, !prof !0
65 ; CHECK: br i1 %tmp1,{{.*}} !prof ![[PROF1:[0-9]+]]
77 ; CHECK: br i1 %tmp4, {{.*}} !prof ![[PROF2:[0-9]+]]
81 br i1 %tmp6, label %bb8, label %bb7, !prof !0

12345678910>>...23