summaryrefslogtreecommitdiff
path: root/test/Bitcode/Inputs
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-01-02 19:17:04 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-01-02 19:17:04 +0000
commitb915e9e0fc85ba6f398b3fab0db6a81a8913af94 (patch)
tree98b8f811c7aff2547cab8642daf372d6c59502fb /test/Bitcode/Inputs
parent6421cca32f69ac849537a3cff78c352195e99f1b (diff)
Notes
Diffstat (limited to 'test/Bitcode/Inputs')
-rw-r--r--test/Bitcode/Inputs/invalid-array-operand-encoding.bcbin579 -> 580 bytes
-rw-r--r--test/Bitcode/Inputs/invalid-code-len-width.bcbin173 -> 176 bytes
-rw-r--r--test/Bitcode/Inputs/invalid-empty.bc0
-rw-r--r--test/Bitcode/Inputs/invalid-extractval-array-idx.bcbin450 -> 452 bytes
-rw-r--r--test/Bitcode/Inputs/invalid-function-comdat-id.bcbin489 -> 492 bytes
-rw-r--r--test/Bitcode/Inputs/invalid-fwdref-type-mismatch-2.bcbin617 -> 620 bytes
-rw-r--r--test/Bitcode/Inputs/invalid-metadata-not-followed-named-node.bcbin878 -> 880 bytes
-rw-r--r--test/Bitcode/Inputs/invalid-name-with-0-byte.bcbin1265 -> 1268 bytes
-rw-r--r--test/Bitcode/Inputs/invalid-unexpected-eof.bc2
-rw-r--r--test/Bitcode/Inputs/multi-module.ll3
-rw-r--r--test/Bitcode/Inputs/thinlto-function-summary-callgraph-combined.1.bcbin0 -> 360 bytes
-rw-r--r--test/Bitcode/Inputs/thinlto-function-summary-callgraph-pgo-combined.1.bcbin0 -> 368 bytes
-rw-r--r--test/Bitcode/Inputs/thinlto-function-summary-callgraph-pgo.1.bcbin0 -> 1060 bytes
-rw-r--r--test/Bitcode/Inputs/thinlto-function-summary-callgraph-pgo.ll11
-rw-r--r--test/Bitcode/Inputs/thinlto-function-summary-callgraph-profile-summary.ll27
-rw-r--r--test/Bitcode/Inputs/thinlto-function-summary-callgraph.1.bcbin0 -> 968 bytes
16 files changed, 31 insertions, 12 deletions
diff --git a/test/Bitcode/Inputs/invalid-array-operand-encoding.bc b/test/Bitcode/Inputs/invalid-array-operand-encoding.bc
index f7ec2eb700a3..2256fce555d4 100644
--- a/test/Bitcode/Inputs/invalid-array-operand-encoding.bc
+++ b/test/Bitcode/Inputs/invalid-array-operand-encoding.bc
Binary files differ
diff --git a/test/Bitcode/Inputs/invalid-code-len-width.bc b/test/Bitcode/Inputs/invalid-code-len-width.bc
index c8e8c4f66538..c8c3c104f84c 100644
--- a/test/Bitcode/Inputs/invalid-code-len-width.bc
+++ b/test/Bitcode/Inputs/invalid-code-len-width.bc
Binary files differ
diff --git a/test/Bitcode/Inputs/invalid-empty.bc b/test/Bitcode/Inputs/invalid-empty.bc
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/test/Bitcode/Inputs/invalid-empty.bc
diff --git a/test/Bitcode/Inputs/invalid-extractval-array-idx.bc b/test/Bitcode/Inputs/invalid-extractval-array-idx.bc
index 7465df361c05..7234e0d6daab 100644
--- a/test/Bitcode/Inputs/invalid-extractval-array-idx.bc
+++ b/test/Bitcode/Inputs/invalid-extractval-array-idx.bc
Binary files differ
diff --git a/test/Bitcode/Inputs/invalid-function-comdat-id.bc b/test/Bitcode/Inputs/invalid-function-comdat-id.bc
index d0ad8234bc86..11e024120d20 100644
--- a/test/Bitcode/Inputs/invalid-function-comdat-id.bc
+++ b/test/Bitcode/Inputs/invalid-function-comdat-id.bc
Binary files differ
diff --git a/test/Bitcode/Inputs/invalid-fwdref-type-mismatch-2.bc b/test/Bitcode/Inputs/invalid-fwdref-type-mismatch-2.bc
index 8e38340eedea..41011f76ce8c 100644
--- a/test/Bitcode/Inputs/invalid-fwdref-type-mismatch-2.bc
+++ b/test/Bitcode/Inputs/invalid-fwdref-type-mismatch-2.bc
Binary files differ
diff --git a/test/Bitcode/Inputs/invalid-metadata-not-followed-named-node.bc b/test/Bitcode/Inputs/invalid-metadata-not-followed-named-node.bc
index 42a2c3e65fec..dbd8933fd2f2 100644
--- a/test/Bitcode/Inputs/invalid-metadata-not-followed-named-node.bc
+++ b/test/Bitcode/Inputs/invalid-metadata-not-followed-named-node.bc
Binary files differ
diff --git a/test/Bitcode/Inputs/invalid-name-with-0-byte.bc b/test/Bitcode/Inputs/invalid-name-with-0-byte.bc
index 9c6a9158eee7..c38e363c24ba 100644
--- a/test/Bitcode/Inputs/invalid-name-with-0-byte.bc
+++ b/test/Bitcode/Inputs/invalid-name-with-0-byte.bc
Binary files differ
diff --git a/test/Bitcode/Inputs/invalid-unexpected-eof.bc b/test/Bitcode/Inputs/invalid-unexpected-eof.bc
index a487393d0668..02a22e44082f 100644
--- a/test/Bitcode/Inputs/invalid-unexpected-eof.bc
+++ b/test/Bitcode/Inputs/invalid-unexpected-eof.bc
@@ -1 +1 @@
-BCÀÞ! 000000 00000000000000 \ No newline at end of file
+BCÀÞ! 000000 000000000000000 \ No newline at end of file
diff --git a/test/Bitcode/Inputs/multi-module.ll b/test/Bitcode/Inputs/multi-module.ll
new file mode 100644
index 000000000000..e4e9b82be644
--- /dev/null
+++ b/test/Bitcode/Inputs/multi-module.ll
@@ -0,0 +1,3 @@
+define void @f2() {
+ ret void
+}
diff --git a/test/Bitcode/Inputs/thinlto-function-summary-callgraph-combined.1.bc b/test/Bitcode/Inputs/thinlto-function-summary-callgraph-combined.1.bc
new file mode 100644
index 000000000000..e6a134020054
--- /dev/null
+++ b/test/Bitcode/Inputs/thinlto-function-summary-callgraph-combined.1.bc
Binary files differ
diff --git a/test/Bitcode/Inputs/thinlto-function-summary-callgraph-pgo-combined.1.bc b/test/Bitcode/Inputs/thinlto-function-summary-callgraph-pgo-combined.1.bc
new file mode 100644
index 000000000000..11b9037e568c
--- /dev/null
+++ b/test/Bitcode/Inputs/thinlto-function-summary-callgraph-pgo-combined.1.bc
Binary files differ
diff --git a/test/Bitcode/Inputs/thinlto-function-summary-callgraph-pgo.1.bc b/test/Bitcode/Inputs/thinlto-function-summary-callgraph-pgo.1.bc
new file mode 100644
index 000000000000..cb3380efcb8e
--- /dev/null
+++ b/test/Bitcode/Inputs/thinlto-function-summary-callgraph-pgo.1.bc
Binary files differ
diff --git a/test/Bitcode/Inputs/thinlto-function-summary-callgraph-pgo.ll b/test/Bitcode/Inputs/thinlto-function-summary-callgraph-pgo.ll
deleted file mode 100644
index f51ea4d500ba..000000000000
--- a/test/Bitcode/Inputs/thinlto-function-summary-callgraph-pgo.ll
+++ /dev/null
@@ -1,11 +0,0 @@
-; ModuleID = 'thinlto-function-summary-callgraph2.ll'
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-target triple = "x86_64-unknown-linux-gnu"
-
-; Function Attrs: nounwind uwtable
-define void @func() #0 !prof !2 {
-entry:
- ret void
-}
-
-!2 = !{!"function_entry_count", i64 1}
diff --git a/test/Bitcode/Inputs/thinlto-function-summary-callgraph-profile-summary.ll b/test/Bitcode/Inputs/thinlto-function-summary-callgraph-profile-summary.ll
new file mode 100644
index 000000000000..f7d2ca839b96
--- /dev/null
+++ b/test/Bitcode/Inputs/thinlto-function-summary-callgraph-profile-summary.ll
@@ -0,0 +1,27 @@
+; ModuleID = 'thinlto-function-summary-callgraph-profile-summary2.ll'
+target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-linux-gnu"
+
+
+define void @hot1() #1 {
+ ret void
+}
+define void @hot2() #1 {
+ ret void
+}
+define void @hot3() #1 {
+ ret void
+}
+define void @cold() #1 {
+ ret void
+}
+define void @none1() #1 {
+ ret void
+}
+define void @none2() #1 {
+ ret void
+}
+define void @none3() #1 {
+ ret void
+}
+
diff --git a/test/Bitcode/Inputs/thinlto-function-summary-callgraph.1.bc b/test/Bitcode/Inputs/thinlto-function-summary-callgraph.1.bc
new file mode 100644
index 000000000000..d42da69fcffb
--- /dev/null
+++ b/test/Bitcode/Inputs/thinlto-function-summary-callgraph.1.bc
Binary files differ