Imported Upstream version 5.18.0.161

Former-commit-id: 4db48158d3a35497b8f118ab21b5f08ac3d86d98
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-10-19 08:34:24 +00:00
parent 37fbf886a3
commit e19d552987
28702 changed files with 3868076 additions and 803 deletions

View File

@@ -0,0 +1,4 @@
@bar = global i32()* @foo
define internal i32 @foo() {
ret i32 7
}

View File

@@ -0,0 +1,5 @@
@bar = global i32()* @foo
define internal i32 @foo() {
ret i32 7
}

View File

@@ -0,0 +1,2 @@
@X = constant [1 x i32] [i32 8]
@Y = external constant [1 x i32]

View File

@@ -0,0 +1,3 @@
%bug_type = type opaque
declare i32 @bug_a(%bug_type*)
declare i32 @bug_b(%bug_type*)

View File

@@ -0,0 +1,13 @@
%bug_type = type { %bug_type* }
%bar = type { i32 }
define i32 @bug_a(%bug_type* %fp) nounwind uwtable {
entry:
%d_stream = getelementptr inbounds %bug_type, %bug_type* %fp, i64 0, i32 0
ret i32 0
}
define i32 @bug_b(%bar* %a) nounwind uwtable {
entry:
ret i32 0
}

View File

@@ -0,0 +1,2 @@
%foo2 = type { [8 x i8] }
declare void @zed(%foo2*)

View File

@@ -0,0 +1,9 @@
%foo = type { [8 x i8] }
%bar = type { [9 x i8] }
@zed = alias void (%foo*), bitcast (void (%bar*)* @xyz to void (%foo*)*)
define void @xyz(%bar* %this) {
entry:
ret void
}

View File

@@ -0,0 +1,7 @@
define void @B() {
call void @A()
ret void
}
declare void @A()

View File

@@ -0,0 +1,3 @@
@zed = global i32 42
@foo = alias i32, i32* @zed
@foo2 = alias i16, bitcast (i32* @zed to i16*)

View File

@@ -0,0 +1,12 @@
@A = global i32 7, align 8
@B = global i32 7, align 4
define void @C() align 8 {
ret void
}
define void @D() align 4 {
ret void
}
@E = common global i32 0, align 8

View File

@@ -0,0 +1 @@
target triple = "x86_64-apple-macosx10.10.0"

View File

@@ -0,0 +1 @@
target triple = "x86_64-apple-macosx10.8.0"

View File

@@ -0,0 +1 @@
target triple = "i386-apple-macosx10.9.0"

View File

@@ -0,0 +1 @@
target triple = "x86_64h-apple-macosx10.9.0"

View File

@@ -0,0 +1,10 @@
@h = global void ()* @f
@h2 = global void ()* @g
define available_externally void @f() {
ret void
}
define available_externally void @g() {
ret void
}

View File

@@ -0,0 +1,2 @@
define i32* @foo(i32 %x) { ret i32* @baz }
@baz = external global i32

View File

@@ -0,0 +1,6 @@
declare i32* @foo(...)
define i32* @bar() {
%ret = call i32* (...) @foo( i32 123 )
ret i32* %ret
}
@baz = global i32 0

View File

@@ -0,0 +1,5 @@
target datalayout = "e-m:w-p:32:32-i64:64-f80:32-n8:16:32-S32"
target triple = "i686-pc-windows-msvc"
$foo = comdat largest
@foo = global i64 43, comdat

View File

@@ -0,0 +1,20 @@
target datalayout = "e-m:w-p:32:32-i64:64-f80:32-n8:16:32-S32"
target triple = "i686-pc-windows-msvc"
$foo = comdat largest
@foo = global i64 43, comdat($foo)
define i32 @bar() comdat($foo) {
ret i32 43
}
$qux = comdat largest
@qux = global i32 13, comdat($qux)
@in_unselected_group = global i32 13, comdat($qux)
define i32 @baz() comdat($qux) {
ret i32 13
}
$any = comdat any
@any = global i64 7, comdat($any)

View File

@@ -0,0 +1,9 @@
$foo = comdat any
@foo = global i8 1, comdat
define void @zed() {
call void @bar()
ret void
}
define void @bar() comdat($foo) {
ret void
}

Some files were not shown because too many files have changed in this diff Show More