summaryrefslogtreecommitdiff
path: root/test/Transforms/SampleProfile/Inputs
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/SampleProfile/Inputs')
-rw-r--r--test/Transforms/SampleProfile/Inputs/fnptr.binprofbin105 -> 221 bytes
-rw-r--r--test/Transforms/SampleProfile/Inputs/inline-act.prof3
-rw-r--r--test/Transforms/SampleProfile/Inputs/inline-combine.prof2
-rw-r--r--test/Transforms/SampleProfile/Inputs/propagate.prof29
-rw-r--r--test/Transforms/SampleProfile/Inputs/summary.prof4
5 files changed, 26 insertions, 12 deletions
diff --git a/test/Transforms/SampleProfile/Inputs/fnptr.binprof b/test/Transforms/SampleProfile/Inputs/fnptr.binprof
index a074f53db945..420fd8f86d00 100644
--- a/test/Transforms/SampleProfile/Inputs/fnptr.binprof
+++ b/test/Transforms/SampleProfile/Inputs/fnptr.binprof
Binary files differ
diff --git a/test/Transforms/SampleProfile/Inputs/inline-act.prof b/test/Transforms/SampleProfile/Inputs/inline-act.prof
new file mode 100644
index 000000000000..655739f37888
--- /dev/null
+++ b/test/Transforms/SampleProfile/Inputs/inline-act.prof
@@ -0,0 +1,3 @@
+_Z3bari:100:0
+ 1: _Z3fooi:100
+ 2: 100
diff --git a/test/Transforms/SampleProfile/Inputs/inline-combine.prof b/test/Transforms/SampleProfile/Inputs/inline-combine.prof
new file mode 100644
index 000000000000..8d1c0b8103ce
--- /dev/null
+++ b/test/Transforms/SampleProfile/Inputs/inline-combine.prof
@@ -0,0 +1,2 @@
+foo:1000:1000
+ 1: bar:1000
diff --git a/test/Transforms/SampleProfile/Inputs/propagate.prof b/test/Transforms/SampleProfile/Inputs/propagate.prof
index ee9c6d62dfd1..f298752d03cb 100644
--- a/test/Transforms/SampleProfile/Inputs/propagate.prof
+++ b/test/Transforms/SampleProfile/Inputs/propagate.prof
@@ -1,17 +1,22 @@
-_Z3fooiil:58139:0
+_Z3fooiil:33168:0
0: 0
1: 0
2: 0
- 4: 1
- 5: 10
- 6: 2
- 7: 5
- 8: 3
- 9: 0
- 10: 0
- 11: 6339
- 12: 16191
- 13: 8141
- 16: 1
+ 4: 0
+ 4.1: 302
+ 4.2: 315
+ 5: 302
+ 6: 200
+ 7: 308
+ 8: 227
+ 9: 227
+ 10: 227
+ 11: 83
+ 11.1: 7553
+ 11.2: 7479
+ 12: 7479
+ 13: 7479
+ 16: 305
18: 0
19: 0
+ 65533: 308
diff --git a/test/Transforms/SampleProfile/Inputs/summary.prof b/test/Transforms/SampleProfile/Inputs/summary.prof
new file mode 100644
index 000000000000..49a5b57d5e64
--- /dev/null
+++ b/test/Transforms/SampleProfile/Inputs/summary.prof
@@ -0,0 +1,4 @@
+bar:100:3
+ 1: 100
+foo:200:1
+ 1: 200