[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / tools / llvm-cov / branch-noShowBranch.test
blob25a98d59481aa15182fa1eac17bf6ed541caa7b5
2 // RUN: llvm-profdata merge %S/Inputs/branch-c-general.proftext -o %t.profdata
3 // RUN: llvm-cov show %S/Inputs/branch-c-general.o32l -instr-profile %t.profdata -path-equivalence=/tmp,%S/Inputs | FileCheck %s
4 // RUN: llvm-cov report %S/Inputs/branch-c-general.o32l --show-branch-summary=false -instr-profile %t.profdata -show-functions -path-equivalence=/tmp,%S/Inputs %S/Inputs/branch-c-general.c | FileCheck %s -check-prefix=REPORT
6 // CHECK-NOT: | Branch
8 // REPORT: Name                        Regions    Miss   Cover     Lines    Miss   Cover
9 // REPORT-NOT: Name                        Regions    Miss   Cover     Lines    Miss   Cover  Branches    Miss   Cover
10 // REPORT: ---
11 // REPORT-NOT: simple_loops                      8       0 100.00%         9       0 100.00%         6       0 100.00%
12 // REPORT-NOT: conditionals                     24       0 100.00%        15       0 100.00%        16       2  87.50%
13 // REPORT-NOT: early_exits                      20       4  80.00%        25       2  92.00%        16       6  62.50%
14 // REPORT-NOT: jumps                            39      12  69.23%        48       2  95.83%        26       9  65.38%
15 // REPORT-NOT: switches                         28       5  82.14%        38       4  89.47%        30       9  70.00%
16 // REPORT-NOT: big_switch                       25       1  96.00%        32       0 100.00%        30       6  80.00%
17 // REPORT-NOT: boolean_operators                16       0 100.00%        13       0 100.00%        22       2  90.91%
18 // REPORT-NOT: boolop_loops                     19       0 100.00%        14       0 100.00%        16       2  87.50%
19 // REPORT-NOT: conditional_operator              4       2  50.00%         8       0 100.00%         4       2  50.00%
20 // REPORT-NOT: do_fallthrough                    9       0 100.00%        12       0 100.00%         6       0 100.00%
21 // REPORT-NOT: main                              1       0 100.00%        16       0 100.00%         0       0   0.00%
22 // REPORT-NOT: c-general.c:static_func           4       0 100.00%         4       0 100.00%         2       0 100.00%
23 // REPORT: TOTAL                           197      24  87.82%       234       8  96.58%
24 // REPORT-NOT: TOTAL                           197      24  87.82%       234       13  94.44%       174      38  78.16%