Home
last modified time | relevance | path

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

12345678910>>...27

/external/llvm/test/Transforms/SampleProfile/
Dsyntax.ll1 ; RUN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/syntax.prof 2>&1 | FileCheck -check-…
2 ; RUN: not opt < %s -sample-profile -sample-profile-file=missing.prof 2>&1 | FileCheck -check-prefi…
3 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_fn_header.prof 2>&1 | FileCh…
4 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_sample_line.prof 2>&1 | File…
5 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_line_values.prof 2>&1 | File…
6 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_discriminator_value.prof 2>&…
7 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_samples.prof 2>&1 | FileChec…
8 ; RUN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_mangle.prof 2>&1 >/dev/null
10 ; RUN: opt < %s -passes=sample-profile -sample-profile-file=%S/Inputs/syntax.prof 2>&1 | FileCheck …
11 ; RUN: not opt < %s -passes=sample-profile -sample-profile-file=missing.prof 2>&1 | FileCheck -chec…
[all …]
/external/llvm-project/llvm/test/Transforms/SampleProfile/
Dsyntax.ll1 ; RUN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/syntax.prof 2>&1 | FileCheck -check-…
2 ; RUN: not opt < %s -sample-profile -sample-profile-file=missing.prof 2>&1 | FileCheck -check-prefi…
3 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_fn_header.prof 2>&1 | FileCh…
4 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_sample_line.prof 2>&1 | File…
5 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_line_values.prof 2>&1 | File…
6 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_discriminator_value.prof 2>&…
7 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_samples.prof 2>&1 | FileChec…
8 ; RUN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_mangle.prof 2>&1 >/dev/null
10 ; RUN: opt < %s -passes=sample-profile -sample-profile-file=%S/Inputs/syntax.prof 2>&1 | FileCheck …
11 ; RUN: not opt < %s -passes=sample-profile -sample-profile-file=missing.prof 2>&1 | FileCheck -chec…
[all …]
/external/llvm-project/llvm/test/Transforms/InstCombine/
Dselect_meta.ll9 ; CHECK-NEXT: [[DOTV:%.*]] = select i1 [[TMP2]], i32 20, i32 -20, !prof ![[$MD1:[0-9]+]]
16 select i1 %2, i32 %3, i32 %4, !prof !1
23 ; CHECK-NEXT: [[TRUNC:%.*]] = select i1 %cond, i8 [[TMP1]], i8 42, !prof ![[$MD1]]
26 %sel = select i1 %cond, i32 %x, i32 42, !prof !1
34 ; CHECK-NEXT: [[SEL1_V:%.*]] = select <4 x i1> [[CMP]], <4 x float> %a, <4 x float> %b, !prof ![…
35 ; CHECK-NEXT: [[SEL2_V:%.*]] = select <4 x i1> [[CMP]], <4 x float> %b, <4 x float> %a, !prof ![…
45 %sel1 = select <4 x i1> %cmp, <4 x i32> %bc1, <4 x i32> %bc2, !prof !1
46 %sel2 = select <4 x i1> %cmp, <4 x i32> %bc2, <4 x i32> %bc1, !prof !1
56 ; CHECK-NEXT: [[DOTP:%.*]] = select i1 [[TMP3]], i32 %1, i32 [[TMP4]], !prof ![[$MD1]]
63 select i1 %3, i32 %4, i32 %5, !prof !1
[all …]
Dcanonicalize_branch.ll8 ; CHECK-NEXT: br i1 [[C]], label [[T:%.*]], label [[F:%.*]], !prof !0
15 br i1 %C, label %T, label %F, !prof !0
25 ; CHECK-NEXT: br i1 [[C]], label [[F:%.*]], label [[T:%.*]], !prof !1
32 br i1 %C, label %T, label %F, !prof !1
42 ; CHECK-NEXT: br i1 [[C]], label [[T:%.*]], label [[F:%.*]], !prof !2
49 br i1 %C, label %T, label %F, !prof !2
59 ; CHECK-NEXT: br i1 [[C]], label [[F:%.*]], label [[T:%.*]], !prof !3
66 br i1 %C, label %T, label %F, !prof !3
76 ; CHECK-NEXT: br i1 [[C]], label [[T:%.*]], label [[F:%.*]], !prof !4
83 br i1 %C, label %T, label %F, !prof !4
[all …]
/external/python/cpython3/Lib/test/
Dtest_cprofile.py35 prof = self.profilerclass()
37 self.addCleanup(prof.disable)
39 prof.enable()
40 self.assertIs(sys.getprofile(), prof)
42 prof.disable()
46 prof = self.profilerclass()
48 self.addCleanup(prof.disable)
50 with prof as __enter__return_value:
52 self.assertIs(prof, __enter__return_value)
56 self.assertIs(sys.getprofile(), prof)
/external/llvm-project/compiler-rt/test/profile/Posix/
Dinstrprof-value-prof-shared.test2 …s-per-site=256 -fPIC -shared -o %t.d/t.shared -DSHARED_LIB %S/../Inputs/instrprof-value-prof-real.c
3 …per-site=256 -o %t -rpath %t.d %t.d/t.shared -DCALL_SHARED %S/../Inputs/instrprof-value-prof-real.c
6 …show --all-functions -ic-targets %t.profdata | FileCheck %S/../Inputs/instrprof-value-prof-real.c
7 …ctions -ic-targets %t.profdata | FileCheck %S/../Inputs/instrprof-value-prof-real.c --check-pref…
10 …r-site=256 -fPIC -shared -o %t.d/t.ir.shared -DSHARED_LIB %S/../Inputs/instrprof-value-prof-real.c
11 …e=256 -rpath %t.d -o %t.ir %t.d/t.ir.shared -DCALL_SHARED %S/../Inputs/instrprof-value-prof-real.c
15 …w --all-functions -ic-targets %t.ir.profdata | FileCheck %S/../Inputs/instrprof-value-prof-real.c
17 …ons -ic-targets %t.ir.profdata | FileCheck %S/../Inputs/instrprof-value-prof-real.c --check-pref…
18 // RUN: FileCheck %S/../Inputs/instrprof-value-prof-real.c --check-prefix=IR < %t.ir.proftxt
21 // RUN: rm -fr %t.prof/
[all …]
/external/llvm-project/llvm/test/Transforms/CodeGenPrepare/X86/
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
Dsection.ll13 define void @hot_func1() !prof !15 {
19 define void @hot_func2(i32 %n) !prof !16 {
31 br i1 %cmp, label %for.body, label %for.end, !prof !19
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
[all …]
/external/llvm/test/Transforms/SimplifyCFG/
Dpreserve-branchweights.ll9 br i1 %a, label %Y, label %X, !prof !0
10 ; CHECK: br i1 %or.cond, label %Z, label %Y, !prof !0
14 br i1 %c, label %Z, label %Y, !prof !1
30 br i1 %a, label %Y, label %X, !prof !12
32 ; CHECK-NEXT: br i1 %or.cond, label %Z, label %Y, !prof !1
36 br i1 %c, label %Z, label %Y, !prof !1
50 br i1 %a, label %X, label %Y, !prof !1
51 ; CHECK: br i1 %or.cond, label %Z, label %Y, !prof !2
52 ; CHECK-NOT: !prof
56 br i1 %c, label %Z, label %Y, !prof !2
[all …]
/external/llvm-project/llvm/test/Transforms/Inline/
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 …]
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 …]
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]*]]
/external/llvm-project/llvm/test/CodeGen/X86/
Dpartial-tail-dup.ll15 define void @test1(i32* %p) !prof !1 {
21 br i1 %call, label %p1, label %p2, !prof !2
33 br i1 %cond, label %header, label %latch, !prof !3
37 br i1 %call3, label %header, label %end, !prof !2
63 define void @test2(i32* %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
105 br i1 %call4, label %header, label %latch, !prof !3
[all …]
/external/llvm-project/llvm/test/Transforms/SyntheticCountsPropagation/
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]]
/external/llvm/test/Analysis/BlockFrequencyInfo/
Dirreducible.ll16 br i1 %x, label %exit.1, label %loop.2, !prof !0
20 br i1 %x, label %exit.2, label %loop.1, !prof !1
99 br i1 %x, label %c1, label %c2, !prof !2
104 br i1 %x, label %c2, label %exit, !prof !2
109 br i1 %x, label %c1, label %exit, !prof !2
140 i2 2, label %c2 ], !prof !3
145 i2 2, label %c2 ], !prof !3
150 i2 2, label %c2 ], !prof !3
169 br i1 %x, label %left, label %right, !prof !4
173 br i1 %x, label %right, label %loop.end, !prof !5
[all …]
/external/llvm-project/llvm/test/Analysis/BlockFrequencyInfo/
Dirreducible.ll16 br i1 %x, label %exit.1, label %loop.2, !prof !0
20 br i1 %x, label %exit.2, label %loop.1, !prof !1
99 br i1 %x, label %c1, label %c2, !prof !2
104 br i1 %x, label %c2, label %exit, !prof !2
109 br i1 %x, label %c1, label %exit, !prof !2
140 i2 2, label %c2 ], !prof !3
145 i2 2, label %c2 ], !prof !3
150 i2 2, label %c2 ], !prof !3
169 br i1 %x, label %left, label %right, !prof !4
173 br i1 %x, label %right, label %loop.end, !prof !5
[all …]
/external/toolchain-utils/afdo_tools/bisection/
Dafdo_prof_analysis_test.py83 def run(self, prof, save_run=False): argument
84 if '1' in prof['func_a'] or '3' in prof['func_b']:
101 def run(self, prof, save_run=False): argument
102 if '1' in prof['func_a'] and '3' in prof['func_b']:
127 def run(self, prof, save_run=False): argument
128 if func_in_good in prof:
143 def run(self, prof, save_run=False): argument
144 if func_in_bad in prof:
/external/llvm/test/CodeGen/AArch64/
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 …]
/external/llvm-project/llvm/test/CodeGen/AArch64/
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 …]
/external/llvm/test/Verifier/
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 {
/external/llvm-project/llvm/test/Transforms/SimplifyCFG/
Dwc-widen-block.ll9 ; CHECK-NEXT: br i1 [[EXIPLICIT_GUARD_COND]], label [[GUARDED:%.*]], label [[DEOPT:%.*]], !prof
16 ; CHECK-NEXT: br i1 [[COND_1]], label [[RETURN:%.*]], label [[DEOPT]], !prof !0
23 br i1 %exiplicit_guard_cond, label %guarded, label %deopt, !prof !0
32 br i1 %cond_1, label %return, label %deopt2, !prof !0
50 ; CHECK-NEXT: br i1 [[BRMERGE]], label [[DEOPT:%.*]], label [[RETURN:%.*]], !prof !1
60 br i1 %exiplicit_guard_cond, label %guarded, label %deopt, !prof !0
67 br i1 %cond_1, label %return, label %deopt2, !prof !0
82 ; CHECK-NEXT: br i1 [[EXIPLICIT_GUARD_COND]], label [[GUARDED:%.*]], label [[DEOPT:%.*]], !prof
89 ; CHECK-NEXT: br i1 [[COND_1]], label [[DEOPT]], label [[RETURN:%.*]], !prof !0
96 br i1 %exiplicit_guard_cond, label %guarded, label %deopt, !prof !0
[all …]
Dpreserve-branchweights.ll12 ; CHECK-NEXT: br i1 [[OR_COND]], label [[Z:%.*]], label [[Y:%.*]], !prof !0
21 br i1 %a, label %Y, label %X, !prof !0
25 br i1 %c, label %Z, label %Y, !prof !1
44 ; CHECK-NEXT: br i1 [[OR_COND]], label [[Z:%.*]], label [[Y:%.*]], !prof !1
53 br i1 %a, label %Y, label %X, !prof !12
56 br i1 %c, label %Z, label %Y, !prof !1
72 ; CHECK-NEXT: br i1 [[OR_COND]], label [[Z:%.*]], label [[Y:%.*]], !prof !2
81 br i1 %a, label %X, label %Y, !prof !1
85 br i1 %c, label %Z, label %Y, !prof !2
101 ; CHECK-NEXT: br i1 [[OR_COND]], label [[Z:%.*]], label [[Y:%.*]], !prof !1
[all …]
/external/llvm-project/llvm/test/Verifier/
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 {
/external/compiler-rt/test/profile/
Dinstrprof-value-prof-shared.test2 …ters-per-site=256 -fPIC -shared -o %t.d/t.shared -DSHARED_LIB %S/Inputs/instrprof-value-prof-real.c
3 …rs-per-site=256 -o %t -rpath %t.d %t.d/t.shared -DCALL_SHARED %S/Inputs/instrprof-value-prof-real.c
6 …ta show --all-functions -ic-targets %t.profdata | FileCheck %S/Inputs/instrprof-value-prof-real.c
7 …functions -ic-targets %t.profdata | FileCheck %S/Inputs/instrprof-value-prof-real.c --check-pref…
10 …-per-site=256 -fPIC -shared -o %t.d/t.ir.shared -DSHARED_LIB %S/Inputs/instrprof-value-prof-real.c
11 …site=256 -rpath %t.d -o %t.ir %t.d/t.ir.shared -DCALL_SHARED %S/Inputs/instrprof-value-prof-real.c
14 …show --all-functions -ic-targets %t.ir.profdata | FileCheck %S/Inputs/instrprof-value-prof-real.c
16 …ctions -ic-targets %t.ir.profdata | FileCheck %S/Inputs/instrprof-value-prof-real.c --check-pref…
17 // RUN: FileCheck %S/Inputs/instrprof-value-prof-real.c --check-prefix=IR < %t.ir.proftxt
20 …-site=256 -fPIC -shared -o %t.d/t.ir.dyn.shared -DSHARED_LIB %S/Inputs/instrprof-value-prof-real.c
[all …]
/external/python/cpython2/Lib/
DcProfile.py25 prof = Profile()
29 prof = prof.run(statement)
34 prof.dump_stats(filename)
36 result = prof.print_stats(sort)
45 prof = Profile()
49 prof = prof.runctx(statement, globals, locals)
54 prof.dump_stats(filename)
56 result = prof.print_stats(sort)

12345678910>>...27