summaryrefslogtreecommitdiff
path: root/test/Bitcode/Inputs
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2016-07-23 20:41:05 +0000
committerDimitry Andric <dim@FreeBSD.org>2016-07-23 20:41:05 +0000
commit01095a5d43bbfde13731688ddcf6048ebb8b7721 (patch)
tree4def12e759965de927d963ac65840d663ef9d1ea /test/Bitcode/Inputs
parentf0f4822ed4b66e3579e92a89f368f8fb860e218e (diff)
Diffstat (limited to 'test/Bitcode/Inputs')
-rw-r--r--test/Bitcode/Inputs/invalid-fixme-streaming-blob.bcbin371 -> 0 bytes
-rw-r--r--test/Bitcode/Inputs/invalid-gep-no-operands.bcbin0 -> 452 bytes
-rw-r--r--test/Bitcode/Inputs/invalid-nonpointer-atomicrmw.bcbin0 -> 452 bytes
-rw-r--r--test/Bitcode/Inputs/invalid-nonpointer-storeatomic.bcbin0 -> 452 bytes
-rw-r--r--test/Bitcode/Inputs/invalid-void-constant.bcbin0 -> 452 bytes
-rw-r--r--test/Bitcode/Inputs/module_hash.ll4
-rw-r--r--test/Bitcode/Inputs/source-filename.bcbin0 -> 792 bytes
-rw-r--r--test/Bitcode/Inputs/thinlto-alias.ll13
-rw-r--r--test/Bitcode/Inputs/thinlto-function-summary-callgraph-pgo.ll11
-rw-r--r--test/Bitcode/Inputs/thinlto-function-summary-callgraph.ll10
10 files changed, 38 insertions, 0 deletions
diff --git a/test/Bitcode/Inputs/invalid-fixme-streaming-blob.bc b/test/Bitcode/Inputs/invalid-fixme-streaming-blob.bc
deleted file mode 100644
index 7e32f8b0774f9..0000000000000
--- a/test/Bitcode/Inputs/invalid-fixme-streaming-blob.bc
+++ /dev/null
Binary files differ
diff --git a/test/Bitcode/Inputs/invalid-gep-no-operands.bc b/test/Bitcode/Inputs/invalid-gep-no-operands.bc
new file mode 100644
index 0000000000000..699c8b5c9a0f6
--- /dev/null
+++ b/test/Bitcode/Inputs/invalid-gep-no-operands.bc
Binary files differ
diff --git a/test/Bitcode/Inputs/invalid-nonpointer-atomicrmw.bc b/test/Bitcode/Inputs/invalid-nonpointer-atomicrmw.bc
new file mode 100644
index 0000000000000..2148fb216d7a0
--- /dev/null
+++ b/test/Bitcode/Inputs/invalid-nonpointer-atomicrmw.bc
Binary files differ
diff --git a/test/Bitcode/Inputs/invalid-nonpointer-storeatomic.bc b/test/Bitcode/Inputs/invalid-nonpointer-storeatomic.bc
new file mode 100644
index 0000000000000..042fea51a5973
--- /dev/null
+++ b/test/Bitcode/Inputs/invalid-nonpointer-storeatomic.bc
Binary files differ
diff --git a/test/Bitcode/Inputs/invalid-void-constant.bc b/test/Bitcode/Inputs/invalid-void-constant.bc
new file mode 100644
index 0000000000000..7ab7b4167e3e2
--- /dev/null
+++ b/test/Bitcode/Inputs/invalid-void-constant.bc
Binary files differ
diff --git a/test/Bitcode/Inputs/module_hash.ll b/test/Bitcode/Inputs/module_hash.ll
new file mode 100644
index 0000000000000..1d422c6e81758
--- /dev/null
+++ b/test/Bitcode/Inputs/module_hash.ll
@@ -0,0 +1,4 @@
+; Needs a function for the combined index to be populated
+define void @bar() {
+ ret void
+}
diff --git a/test/Bitcode/Inputs/source-filename.bc b/test/Bitcode/Inputs/source-filename.bc
new file mode 100644
index 0000000000000..3f327f4bf3c49
--- /dev/null
+++ b/test/Bitcode/Inputs/source-filename.bc
Binary files differ
diff --git a/test/Bitcode/Inputs/thinlto-alias.ll b/test/Bitcode/Inputs/thinlto-alias.ll
new file mode 100644
index 0000000000000..5a628e8a3b970
--- /dev/null
+++ b/test/Bitcode/Inputs/thinlto-alias.ll
@@ -0,0 +1,13 @@
+target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-linux-gnu"
+
+
+
+@analias = alias void (...), bitcast (void ()* @aliasee to void (...)*)
+
+; Function Attrs: nounwind uwtable
+define void @aliasee() #0 {
+entry:
+ ret void
+}
+
diff --git a/test/Bitcode/Inputs/thinlto-function-summary-callgraph-pgo.ll b/test/Bitcode/Inputs/thinlto-function-summary-callgraph-pgo.ll
new file mode 100644
index 0000000000000..f51ea4d500ba8
--- /dev/null
+++ b/test/Bitcode/Inputs/thinlto-function-summary-callgraph-pgo.ll
@@ -0,0 +1,11 @@
+; 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.ll b/test/Bitcode/Inputs/thinlto-function-summary-callgraph.ll
new file mode 100644
index 0000000000000..c6ede3252d882
--- /dev/null
+++ b/test/Bitcode/Inputs/thinlto-function-summary-callgraph.ll
@@ -0,0 +1,10 @@
+; 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 {
+entry:
+ ret void
+}
+