[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / tools / llvm-cov / style.test
blob735050e1de30c1f4b1a454a86fbdea4a0748f499
1 RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateInstantiations.profdata -path-equivalence=/tmp,%S %S/showTemplateInstantiations.cpp -format html -o %t.dir
3 RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateInstantiations.profdata -path-equivalence=/tmp,%S -name=_Z4funcIbEiT_ %S/showTemplateInstantiations.cpp -format html -o %t.filtered.dir
5 RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateInstantiations.profdata -path-equivalence=/tmp,%S %S/showTemplateInstantiations.cpp -format html | FileCheck %s -check-prefix=NODIR
7 RUN: FileCheck %s -input-file=%t.dir/style.css -check-prefix=STYLE
8 RUN: FileCheck %s -input-file=%t.dir/index.html -check-prefix=TOPLEVEL
9 RUN: FileCheck %s -input-file=%t.dir/coverage/tmp/showTemplateInstantiations.cpp.html -check-prefix=FILEVIEW
11 RUN: FileCheck %s -input-file=%t.filtered.dir/style.css -check-prefix=STYLE
12 RUN: FileCheck %s -input-file=%t.filtered.dir/index.html -check-prefix=TOPLEVEL
13 RUN: FileCheck %s -input-file=%t.filtered.dir/coverage/tmp/showTemplateInstantiations.cpp.html -check-prefix=FILEVIEW
15 STYLE-DAG: .red
16 STYLE-DAG: .cyan
17 STYLE-DAG: .source-name-title
18 STYLE-DAG: .centered
19 STYLE-DAG: .expansion-view
20 STYLE-DAG: .line-number
21 STYLE-DAG: .light-row
22 STYLE-DAG: .light-row-bold
23 STYLE-DAG: .column-entry
24 STYLE-DAG: .column-entry-bold
25 STYLE-DAG: .column-entry-yellow
26 STYLE-DAG: .column-entry-yellow:hover
27 STYLE-DAG: .column-entry-red
28 STYLE-DAG: .column-entry-red:hover
29 STYLE-DAG: .column-entry-green
30 STYLE-DAG: .column-entry-green:hover
31 STYLE-DAG: .covered-line
32 STYLE-DAG: .uncovered-line
33 STYLE-DAG: .tooltip
34 STYLE-DAG: .tooltip span.tooltip-content
35 STYLE-DAG: th, td
36 STYLE-DAG: td:first-child
37 STYLE-DAG: td:last-child
38 STYLE-DAG: tr:hover
40 TOPLEVEL-NOT: <style>
41 TOPLEVEL: <head>
42 TOPLEVEL: <link rel='stylesheet' type='text/css' href='style.css'>
43 TOPLEVEL: </head>
45 FILEVIEW-NOT: <style>
46 FILEVIEW: <head>
47 FILEVIEW: <link rel='stylesheet' type='text/css' href='..{{.*}}..{{.*}}style.css'>
48 FILEVIEW: </head>
50 NODIR: <head>
51 NODIR: <style>
52 NODIR: </style>
53 NODIR: </head>