/external/llvm/test/Transforms/SampleProfile/ |
D | syntax.ll | 1 ; 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/test/Transforms/SimplifyCFG/ |
D | preserve-branchweights.ll | 9 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 …]
|
D | preserve-branchweights-switch-create.ll | 13 br i1 %cmp, label %if.then, label %if.else, !prof !0 16 ; CHECK: ], !prof !0 24 br i1 %cmp2, label %if.then7, label %if.else8, !prof !1 51 ], !prof !2 57 ; CHECK: ], !prof !1 73 ], !prof !3 98 ], !prof !4 104 ; CHECK: ], !prof !3 118 ], !prof !5
|
/external/llvm/test/Analysis/BlockFrequencyInfo/ |
D | irreducible.ll | 16 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 …]
|
D | nested_loop_with_branches.ll | 10 br i1 %v0, label %exit, label %outer, !prof !0 17 br i1 %do_inner, label %no_inner, label %inner, !prof !0 23 br i1 %side, label %left, label %right, !prof !0 39 br i1 %stay_inner, label %inner, label %outer, !prof !1 44 br i1 %continue, label %outer, label %exit, !prof !1
|
D | extremely-likely-loop-successor.ll | 17 br i1 %exit.1.cond, label %exit, label %loop.2, !prof !0 22 br i1 %exit.2.cond, label %exit, label %loop.3, !prof !0 27 br i1 %exit.3.cond, label %exit, label %loop.4, !prof !0 32 br i1 %exit.4.cond, label %exit, label %loop, !prof !0
|
D | double_exit.ll | 24 br i1 %cmp, label %inner, label %exit, !prof !2 ; 2:1 37 br i1 %cmp2, label %inner.body, label %outer.inc, !prof !1 ; 4:1 45 br i1 %tobool, label %exit, label %inner.inc, !prof !0 ; 3:1 97 br i1 %cmp, label %middle, label %exit, !prof !3 ; 1:1 110 br i1 %cmp2, label %inner, label %outer.inc, !prof !2 ; 2:1 123 br i1 %cmp5, label %inner.body, label %middle.inc, !prof !1 ; 4:1 131 br i1 %tobool, label %outer.inc, label %inner.inc, !prof !0 ; 3:1
|
/external/llvm/test/CodeGen/AArch64/ |
D | fast-isel-tbz.ll | 9 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 …]
|
D | ragreedy-csr.ll | 42 br i1 %cmp, label %if.end, label %return, !prof !988 59 br i1 %isascii.i.i224, label %cond.true.i.i, label %cond.false.i.i, !prof !181 73 br i1 %tobool1.sink.i.i, label %lor.rhs, label %while.body, !prof !989 81 br i1 %isascii.i.i213225, label %cond.true.i.i217, label %cond.false.i.i219, !prof !181 95 br i1 %tobool1.sink.i.i221, label %while.end, label %while.body, !prof !990 106 br i1 %cmp14, label %if.end17, label %return, !prof !991 113 br i1 %15, label %if.then23, label %if.else88, !prof !992 125 br i1 %cmp26, label %land.lhs.true28, label %while.cond59.preheader, !prof !993 130 ], !prof !994 138 ], !prof !995 [all …]
|
D | analyze-branch.ll | 16 br i1 %tst, label %true, label %false, !prof !0 39 br i1 %tst, label %true, label %false, !prof !1 62 br i1 %tst, label %true, label %false, !prof !0 83 br i1 %tst, label %true, label %false, !prof !1 104 br i1 %tst, label %true, label %false, !prof !0 125 br i1 %tst, label %true, label %false, !prof !1 147 br i1 %tst, label %true, label %false, !prof !0 169 br i1 %tst, label %true, label %false, !prof !1 192 br i1 %tst, label %true, label %false, !prof !0 214 br i1 %tst, label %true, label %false, !prof !1
|
/external/compiler-rt/test/profile/ |
D | instrprof-value-prof-shared.test | 2 …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 …]
|
D | instrprof-value-prof.test | 1 … -vp-static-alloc=true -mllvm -vp-counters-per-site=256 -o %t %S/Inputs/instrprof-value-prof-real.c 4 …ta show --all-functions -ic-targets %t.profdata | FileCheck %S/Inputs/instrprof-value-prof-real.c 7 …-static-alloc=true -mllvm -vp-counters-per-site=256 -o %t.ir %S/Inputs/instrprof-value-prof-real.c 10 …show --all-functions -ic-targets %t.ir.profdata | FileCheck %S/Inputs/instrprof-value-prof-real.c 12 // RUN: FileCheck %S/Inputs/instrprof-value-prof-real.c --check-prefix=IR < %t.ir.proftxt 15 …ic-alloc=false -mllvm -vp-counters-per-site=256 -o %t.ir.dyn %S/Inputs/instrprof-value-prof-real.c 18 … --all-functions -ic-targets %t.ir.dyn.profdata | FileCheck %S/Inputs/instrprof-value-prof-real.c 20 // RUN: FileCheck %S/Inputs/instrprof-value-prof-real.c --check-prefix=IR < %t.ir.dyn.proftxt
|
D | instrprof-value-prof-evict.test | 1 … -vp-static-alloc=true -mllvm -vp-counters-per-site=10 -o %t %S/Inputs/instrprof-value-prof-evict.c 4 …a show --all-functions -ic-targets %t.profdata | FileCheck %S/Inputs/instrprof-value-prof-evict.c 7 …ters-per-site=10 -Xclang -fprofile-instrument=llvm -o %t.ir %S/Inputs/instrprof-value-prof-evict.c 10 …how --all-functions -ic-targets %t.ir.profdata | FileCheck %S/Inputs/instrprof-value-prof-evict.c 13 …-alloc=false -Xclang -fprofile-instrument=llvm -o %t.ir.dyn %S/Inputs/instrprof-value-prof-evict.c 16 …--all-functions -ic-targets %t.ir.dyn.profdata | FileCheck %S/Inputs/instrprof-value-prof-evict.c
|
/external/llvm/test/Verifier/ |
D | metadata-function-prof.ll | 3 ; 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 {
|
D | function-metadata-bad.ll | 3 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 exactly 2 operands 21 define i32 @bad3() !prof !2 { 29 define i32 @bad4() !prof !3 {
|
/external/llvm/test/CodeGen/X86/ |
D | code_placement_cold_loop_blocks.ll | 3 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() !prof !1 { 62 br i1 %call, label %if.then, label %if.else, !prof !2 67 br i1 %call3, label %header2, label %header, !prof !3 72 br i1 %call2, label %header2, label %header, !prof !3 79 define void @nested_loop_1() !prof !1 { 99 br i1 %call, label %end, label %if.else, !prof !4 104 br i1 %call2, label %header2, label %header, !prof !5
|
D | ragreedy-bug.ll | 37 br i1 %cmp, label %if.end, label %return, !prof !988 54 br i1 %isascii.i.i224, label %cond.true.i.i, label %cond.false.i.i, !prof !181 68 br i1 %tobool1.sink.i.i, label %lor.rhs, label %while.body, !prof !989 76 br i1 %isascii.i.i213225, label %cond.true.i.i217, label %cond.false.i.i219, !prof !181 90 br i1 %tobool1.sink.i.i221, label %while.end, label %while.body, !prof !990 101 br i1 %cmp14, label %if.end17, label %return, !prof !991 108 br i1 %15, label %if.then23, label %if.else88, !prof !992 120 br i1 %cmp26, label %land.lhs.true28, label %while.cond59.preheader, !prof !993 125 ], !prof !994 133 ], !prof !995 [all …]
|
D | code_placement_ignore_succ_in_inner_loop.ll | 14 br i1 %call, label %if.then, label %if.else, !prof !1 18 br i1 %call1, label %while.body, label %if.end.1, !prof !1 56 br i1 %call, label %if.then, label %if.else, !prof !1 60 br i1 %call1, label %if.then, label %while.body, !prof !2 64 br i1 %call2, label %while.body, label %if.end, !prof !2 90 br i1 %call, label %if.then, label %if.else, !prof !3 99 br i1 %call1, label %if.end, label %exit, !prof !4 104 br i1 %call2, label %if.cond, label %if.end.2, !prof !2
|
D | mbp-false-cfg-break.ll | 3 define void @test(i1 %cnd) !prof !{!"function_entry_count", i64 1024} { 12 br i1 undef, label %rare.1, label %preheader, !prof !{!"branch_weights", i32 0, i32 1000} 23 br i1 %cnd, label %backedge, label %rare, !prof !{!"branch_weights", i32 1000000, i32 1} 31 br i1 %cmp, label %loop, label %exit, !prof !{!"branch_weights", i32 1000, i32 1}
|
/external/v8/tools/profviz/ |
D | profviz.js | 122 this.prof.style.color = "#bbb"; 130 this.prof.style.color = "#000"; 143 this.prof.value = ""; 151 this.prof.style.display = "none"; 156 this.prof.style.display = "block"; 209 ui.prof.value = args; 210 this.prof.style.color = "";
|
/external/swiftshader/third_party/LLVM/docs/CommandGuide/ |
D | llvm-prof.pod | 5 llvm-prof - print execution profile of LLVM program 9 B<llvm-prof> [I<options>] [I<bitcode file>] [I<llvmprof.out>] 13 The B<llvm-prof> tool reads in an F<llvmprof.out> file (which can 20 then runs B<llvm-prof> to format a report. To get more information about 50 B<llvm-prof> returns 1 if it cannot load the bitcode file or the profile 55 B<llvm-prof> is maintained by the LLVM Team (L<http://llvm.org/>).
|
/external/llvm/test/Transforms/Inline/ |
D | profile-meta.ll | 6 %sel = select i1 %c, i32 %a, i32 %b, !prof !0, !unpredictable !1 15 ; CHECK-NEXT: [[SEL:%.*]] = select i1 %C, i32 %A, i32 %B, !prof !0, !unpredictable !1 22 br i1 %c, label %if, label %else, !unpredictable !1, !prof !2 34 ; CHECK-NEXT: br i1 %C, label %{{.*}}, label %{{.*}}, !prof !2, !unpredictable !1
|
/external/llvm/test/Transforms/LoopUnswitch/ |
D | cold-loop.ll | 4 define i32 @test1(i1 %cond1, i1 %cond2) !prof !1 { 5 br i1 %cond1, label %loop_begin, label %loop_exit, !prof !0 20 define i32 @test2(i32* %var, i1 %cond1, i1 %cond2) !prof !1 { 21 br i1 %cond1, label %loop_begin, label %loop_exit, !prof !0
|
/external/llvm/test/Analysis/ProfileSummary/ |
D | basic.ll | 3 define void @f1() !prof !20 { 9 define void @f2() !prof !21 { 15 define void @f3() !prof !22 {
|
/external/llvm/test/Transforms/LowerGuardIntrinsic/ |
D | basic.ll | 12 ; CHECK: br i1 %c, label %guarded, label %deopt, !prof !0 27 ; CHECK: br i1 %c, label %guarded, label %deopt, !prof !0 42 ; CHECK: br i1 %c, label %guarded, label %deopt, !prof !0 56 ; CHECK: br i1 %c, label %guarded, label %deopt, !prof !0 66 ; CHECK: br i1 %notNull, label %guarded, label %deopt, !prof !0, !make.implicit !1
|