/external/swiftshader/third_party/llvm-7.0/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/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/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/ |
D | select_meta.ll | 9 ; 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 …]
|
D | canonicalize_branch.ll | 8 ; 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/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 …]
|
/external/swiftshader/third_party/llvm-7.0/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 …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/CodeGenPrepare/ |
D | section-samplepgo.ll | 9 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
|
D | section.ll | 9 define void @hot_func1() !prof !15 { 15 define void @hot_func2(i32 %n) !prof !16 { 27 br i1 %cmp, label %for.body, label %for.end, !prof !19 43 define void @cold_func1() !prof !16 { 44 call void @hot_func1(), !prof !17 45 call void @hot_func1(), !prof !17 50 define void @cold_func2() !prof !16 { 51 call void @hot_func1(), !prof !17 52 call void @hot_func1(), !prof !18 53 call void @hot_func1(), !prof !18 [all …]
|
/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 …]
|
/external/swiftshader/third_party/llvm-7.0/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 …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/Inline/ |
D | prof-update-sample.ll | 8 ; CHECK: define void @callee(i32 %n) !prof ![[ENTRY_COUNT:[0-9]*]] 9 define void @callee(i32 %n) !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 …]
|
D | prof-update-instr.ll | 8 ; 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/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 …]
|
/external/swiftshader/third_party/llvm-7.0/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 …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SyntheticCountsPropagation/ |
D | initial.ll | 4 ; 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/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 …]
|
/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/swiftshader/third_party/llvm-7.0/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 {
|
/external/python/cpython2/Lib/ |
D | cProfile.py | 25 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)
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LICM/ |
D | loopsink.ll | 25 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 130 br i1 %c7, label %.b1, label %.exit, !prof !3 154 define i32 @t3(i32, i32) #0 !prof !0 { 165 br i1 %c1, label %.b2, label %.b6, !prof !2 169 br i1 %c2, label %.b3, label %.b4, !prof !1 [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/FunctionImport/Inputs/ |
D | hotness_based_import.ll | 9 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 {
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/JumpThreading/ |
D | threading_prof1.ll | 10 ; 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
|
/external/swiftshader/third_party/llvm-7.0/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(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
|
/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
|