test: regenerate test files with gentests
This commit is contained in:
@@ -1,36 +1,34 @@
|
||||
; ModuleID = 'main'
|
||||
source_filename = "main"
|
||||
; ModuleID = 'github.com/goplus/llgo/compiler/cl/_testgo/struczero'
|
||||
source_filename = "github.com/goplus/llgo/compiler/cl/_testgo/struczero"
|
||||
|
||||
%"github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo" = type { ptr, float }
|
||||
%"github.com/goplus/llgo/runtime/internal/runtime.eface" = type { ptr, ptr }
|
||||
%main.bar = type { ptr, float }
|
||||
%"github.com/goplus/llgo/compiler/cl/_testgo/struczero.bar" = type { ptr, float }
|
||||
%"github.com/goplus/llgo/runtime/internal/runtime.String" = type { ptr, i64 }
|
||||
%"github.com/goplus/llgo/runtime/abi.StructField" = type { %"github.com/goplus/llgo/runtime/internal/runtime.String", ptr, i64, %"github.com/goplus/llgo/runtime/internal/runtime.String", i1 }
|
||||
%"github.com/goplus/llgo/runtime/internal/runtime.Slice" = type { ptr, i64, i64 }
|
||||
%"github.com/goplus/llgo/runtime/abi.Method" = type { %"github.com/goplus/llgo/runtime/internal/runtime.String", ptr, ptr, ptr }
|
||||
|
||||
@"main.init$guard" = global i1 false, align 1
|
||||
@"github.com/goplus/llgo/compiler/cl/_testgo/struczero.init$guard" = global i1 false, align 1
|
||||
@"_llgo_github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo" = linkonce global ptr null, align 8
|
||||
@0 = private unnamed_addr constant [48 x i8] c"github.com/goplus/llgo/compiler/cl/_testdata/foo", align 1
|
||||
@1 = private unnamed_addr constant [3 x i8] c"Foo", align 1
|
||||
@_llgo_byte = linkonce global ptr null, align 8
|
||||
@"*_llgo_byte" = linkonce global ptr null, align 8
|
||||
@_llgo_float32 = linkonce global ptr null, align 8
|
||||
@"main.struct$qQwZyFy_4JRalRxVVsVD8R09X5t58tWjTrtJPtHbEjs" = linkonce global ptr null, align 8
|
||||
@"github.com/goplus/llgo/compiler/cl/_testgo/struczero.struct$qQwZyFy_4JRalRxVVsVD8R09X5t58tWjTrtJPtHbEjs" = linkonce global ptr null, align 8
|
||||
@2 = private unnamed_addr constant [2 x i8] c"pb", align 1
|
||||
@3 = private unnamed_addr constant [1 x i8] c"F", align 1
|
||||
@4 = private unnamed_addr constant [4 x i8] c"main", align 1
|
||||
@4 = private unnamed_addr constant [52 x i8] c"github.com/goplus/llgo/compiler/cl/_testgo/struczero", align 1
|
||||
@5 = private unnamed_addr constant [2 x i8] c"Pb", align 1
|
||||
@"_llgo_func$NfGSLZ1QiKRoFkKeqYSXE5hUU5bpeteSJKrbMNUzYRE" = linkonce global ptr null, align 8
|
||||
@_llgo_main.bar = linkonce global ptr null, align 8
|
||||
@"_llgo_github.com/goplus/llgo/compiler/cl/_testgo/struczero.bar" = linkonce global ptr null, align 8
|
||||
@6 = private unnamed_addr constant [3 x i8] c"bar", align 1
|
||||
@"main.struct$Ci43nzKYkRLddRL_N4mkykxLXfJlqJGS5n04LKThPNo" = linkonce global ptr null, align 8
|
||||
@"github.com/goplus/llgo/compiler/cl/_testgo/struczero.struct$Ci43nzKYkRLddRL_N4mkykxLXfJlqJGS5n04LKThPNo" = linkonce global ptr null, align 8
|
||||
@7 = private unnamed_addr constant [1 x i8] c"f", align 1
|
||||
@__llgo_argc = global i32 0, align 4
|
||||
@__llgo_argv = global ptr null, align 8
|
||||
@8 = private unnamed_addr constant [6 x i8] c"notOk:", align 1
|
||||
|
||||
define { %"github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo", i1 } @main.Bar(%"github.com/goplus/llgo/runtime/internal/runtime.eface" %0) {
|
||||
define { %"github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo", i1 } @"github.com/goplus/llgo/compiler/cl/_testgo/struczero.Bar"(%"github.com/goplus/llgo/runtime/internal/runtime.eface" %0) {
|
||||
_llgo_0:
|
||||
%1 = extractvalue %"github.com/goplus/llgo/runtime/internal/runtime.eface" %0, 0
|
||||
%2 = load ptr, ptr @"_llgo_github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo", align 8
|
||||
@@ -56,99 +54,95 @@ _llgo_3: ; preds = %_llgo_2, %_llgo_1
|
||||
ret { %"github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo", i1 } %12
|
||||
}
|
||||
|
||||
define { %main.bar, i1 } @main.Foo(%"github.com/goplus/llgo/runtime/internal/runtime.eface" %0) {
|
||||
define { %"github.com/goplus/llgo/compiler/cl/_testgo/struczero.bar", i1 } @"github.com/goplus/llgo/compiler/cl/_testgo/struczero.Foo"(%"github.com/goplus/llgo/runtime/internal/runtime.eface" %0) {
|
||||
_llgo_0:
|
||||
%1 = extractvalue %"github.com/goplus/llgo/runtime/internal/runtime.eface" %0, 0
|
||||
%2 = load ptr, ptr @_llgo_main.bar, align 8
|
||||
%2 = load ptr, ptr @"_llgo_github.com/goplus/llgo/compiler/cl/_testgo/struczero.bar", align 8
|
||||
%3 = icmp eq ptr %1, %2
|
||||
br i1 %3, label %_llgo_1, label %_llgo_2
|
||||
|
||||
_llgo_1: ; preds = %_llgo_0
|
||||
%4 = extractvalue %"github.com/goplus/llgo/runtime/internal/runtime.eface" %0, 1
|
||||
%5 = load %main.bar, ptr %4, align 8
|
||||
%6 = insertvalue { %main.bar, i1 } undef, %main.bar %5, 0
|
||||
%7 = insertvalue { %main.bar, i1 } %6, i1 true, 1
|
||||
%5 = load %"github.com/goplus/llgo/compiler/cl/_testgo/struczero.bar", ptr %4, align 8
|
||||
%6 = insertvalue { %"github.com/goplus/llgo/compiler/cl/_testgo/struczero.bar", i1 } undef, %"github.com/goplus/llgo/compiler/cl/_testgo/struczero.bar" %5, 0
|
||||
%7 = insertvalue { %"github.com/goplus/llgo/compiler/cl/_testgo/struczero.bar", i1 } %6, i1 true, 1
|
||||
br label %_llgo_3
|
||||
|
||||
_llgo_2: ; preds = %_llgo_0
|
||||
br label %_llgo_3
|
||||
|
||||
_llgo_3: ; preds = %_llgo_2, %_llgo_1
|
||||
%8 = phi { %main.bar, i1 } [ %7, %_llgo_1 ], [ zeroinitializer, %_llgo_2 ]
|
||||
%9 = extractvalue { %main.bar, i1 } %8, 0
|
||||
%10 = extractvalue { %main.bar, i1 } %8, 1
|
||||
%11 = insertvalue { %main.bar, i1 } undef, %main.bar %9, 0
|
||||
%12 = insertvalue { %main.bar, i1 } %11, i1 %10, 1
|
||||
ret { %main.bar, i1 } %12
|
||||
%8 = phi { %"github.com/goplus/llgo/compiler/cl/_testgo/struczero.bar", i1 } [ %7, %_llgo_1 ], [ zeroinitializer, %_llgo_2 ]
|
||||
%9 = extractvalue { %"github.com/goplus/llgo/compiler/cl/_testgo/struczero.bar", i1 } %8, 0
|
||||
%10 = extractvalue { %"github.com/goplus/llgo/compiler/cl/_testgo/struczero.bar", i1 } %8, 1
|
||||
%11 = insertvalue { %"github.com/goplus/llgo/compiler/cl/_testgo/struczero.bar", i1 } undef, %"github.com/goplus/llgo/compiler/cl/_testgo/struczero.bar" %9, 0
|
||||
%12 = insertvalue { %"github.com/goplus/llgo/compiler/cl/_testgo/struczero.bar", i1 } %11, i1 %10, 1
|
||||
ret { %"github.com/goplus/llgo/compiler/cl/_testgo/struczero.bar", i1 } %12
|
||||
}
|
||||
|
||||
define void @main.init() {
|
||||
define void @"github.com/goplus/llgo/compiler/cl/_testgo/struczero.init"() {
|
||||
_llgo_0:
|
||||
%0 = load i1, ptr @"main.init$guard", align 1
|
||||
%0 = load i1, ptr @"github.com/goplus/llgo/compiler/cl/_testgo/struczero.init$guard", align 1
|
||||
br i1 %0, label %_llgo_2, label %_llgo_1
|
||||
|
||||
_llgo_1: ; preds = %_llgo_0
|
||||
store i1 true, ptr @"main.init$guard", align 1
|
||||
store i1 true, ptr @"github.com/goplus/llgo/compiler/cl/_testgo/struczero.init$guard", align 1
|
||||
call void @"github.com/goplus/llgo/compiler/cl/_testdata/foo.init"()
|
||||
call void @"main.init$after"()
|
||||
call void @"github.com/goplus/llgo/compiler/cl/_testgo/struczero.init$after"()
|
||||
br label %_llgo_2
|
||||
|
||||
_llgo_2: ; preds = %_llgo_1, %_llgo_0
|
||||
ret void
|
||||
}
|
||||
|
||||
define i32 @main(i32 %0, ptr %1) {
|
||||
define void @"github.com/goplus/llgo/compiler/cl/_testgo/struczero.main"() {
|
||||
_llgo_0:
|
||||
store i32 %0, ptr @__llgo_argc, align 4
|
||||
store ptr %1, ptr @__llgo_argv, align 8
|
||||
call void @"github.com/goplus/llgo/runtime/internal/runtime.init"()
|
||||
call void @main.init()
|
||||
%2 = alloca %main.bar, align 8
|
||||
call void @llvm.memset(ptr %2, i8 0, i64 16, i1 false)
|
||||
%3 = call { %main.bar, i1 } @main.Foo(%"github.com/goplus/llgo/runtime/internal/runtime.eface" zeroinitializer)
|
||||
%4 = extractvalue { %main.bar, i1 } %3, 0
|
||||
store %main.bar %4, ptr %2, align 8
|
||||
%5 = extractvalue { %main.bar, i1 } %3, 1
|
||||
%6 = getelementptr inbounds %main.bar, ptr %2, i32 0, i32 0
|
||||
%7 = load ptr, ptr %6, align 8
|
||||
%8 = getelementptr inbounds %main.bar, ptr %2, i32 0, i32 1
|
||||
%9 = load float, ptr %8, align 4
|
||||
%10 = xor i1 %5, true
|
||||
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintPointer"(ptr %7)
|
||||
%0 = alloca %"github.com/goplus/llgo/compiler/cl/_testgo/struczero.bar", align 8
|
||||
call void @llvm.memset(ptr %0, i8 0, i64 16, i1 false)
|
||||
%1 = call { %"github.com/goplus/llgo/compiler/cl/_testgo/struczero.bar", i1 } @"github.com/goplus/llgo/compiler/cl/_testgo/struczero.Foo"(%"github.com/goplus/llgo/runtime/internal/runtime.eface" zeroinitializer)
|
||||
%2 = extractvalue { %"github.com/goplus/llgo/compiler/cl/_testgo/struczero.bar", i1 } %1, 0
|
||||
store %"github.com/goplus/llgo/compiler/cl/_testgo/struczero.bar" %2, ptr %0, align 8
|
||||
%3 = extractvalue { %"github.com/goplus/llgo/compiler/cl/_testgo/struczero.bar", i1 } %1, 1
|
||||
%4 = getelementptr inbounds %"github.com/goplus/llgo/compiler/cl/_testgo/struczero.bar", ptr %0, i32 0, i32 0
|
||||
%5 = load ptr, ptr %4, align 8
|
||||
%6 = getelementptr inbounds %"github.com/goplus/llgo/compiler/cl/_testgo/struczero.bar", ptr %0, i32 0, i32 1
|
||||
%7 = load float, ptr %6, align 4
|
||||
%8 = xor i1 %3, true
|
||||
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintPointer"(ptr %5)
|
||||
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintByte"(i8 32)
|
||||
%11 = fpext float %9 to double
|
||||
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintFloat"(double %11)
|
||||
%9 = fpext float %7 to double
|
||||
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintFloat"(double %9)
|
||||
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintByte"(i8 32)
|
||||
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintString"(%"github.com/goplus/llgo/runtime/internal/runtime.String" { ptr @8, i64 6 })
|
||||
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintByte"(i8 32)
|
||||
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintBool"(i1 %10)
|
||||
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintBool"(i1 %8)
|
||||
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintByte"(i8 10)
|
||||
%12 = alloca %"github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo", align 8
|
||||
call void @llvm.memset(ptr %12, i8 0, i64 16, i1 false)
|
||||
%13 = load ptr, ptr @"_llgo_github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo", align 8
|
||||
%14 = call ptr @"github.com/goplus/llgo/runtime/internal/runtime.AllocU"(i64 16)
|
||||
store %"github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo" zeroinitializer, ptr %14, align 8
|
||||
%15 = insertvalue %"github.com/goplus/llgo/runtime/internal/runtime.eface" undef, ptr %13, 0
|
||||
%16 = insertvalue %"github.com/goplus/llgo/runtime/internal/runtime.eface" %15, ptr %14, 1
|
||||
%17 = call { %"github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo", i1 } @main.Bar(%"github.com/goplus/llgo/runtime/internal/runtime.eface" %16)
|
||||
%18 = extractvalue { %"github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo", i1 } %17, 0
|
||||
store %"github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo" %18, ptr %12, align 8
|
||||
%19 = extractvalue { %"github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo", i1 } %17, 1
|
||||
%20 = load %"github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo", ptr %12, align 8
|
||||
%21 = call ptr @"github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo.Pb"(%"github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo" %20)
|
||||
%22 = getelementptr inbounds %"github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo", ptr %12, i32 0, i32 1
|
||||
%23 = load float, ptr %22, align 4
|
||||
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintPointer"(ptr %21)
|
||||
%10 = alloca %"github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo", align 8
|
||||
call void @llvm.memset(ptr %10, i8 0, i64 16, i1 false)
|
||||
%11 = load ptr, ptr @"_llgo_github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo", align 8
|
||||
%12 = call ptr @"github.com/goplus/llgo/runtime/internal/runtime.AllocU"(i64 16)
|
||||
store %"github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo" zeroinitializer, ptr %12, align 8
|
||||
%13 = insertvalue %"github.com/goplus/llgo/runtime/internal/runtime.eface" undef, ptr %11, 0
|
||||
%14 = insertvalue %"github.com/goplus/llgo/runtime/internal/runtime.eface" %13, ptr %12, 1
|
||||
%15 = call { %"github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo", i1 } @"github.com/goplus/llgo/compiler/cl/_testgo/struczero.Bar"(%"github.com/goplus/llgo/runtime/internal/runtime.eface" %14)
|
||||
%16 = extractvalue { %"github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo", i1 } %15, 0
|
||||
store %"github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo" %16, ptr %10, align 8
|
||||
%17 = extractvalue { %"github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo", i1 } %15, 1
|
||||
%18 = load %"github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo", ptr %10, align 8
|
||||
%19 = call ptr @"github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo.Pb"(%"github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo" %18)
|
||||
%20 = getelementptr inbounds %"github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo", ptr %10, i32 0, i32 1
|
||||
%21 = load float, ptr %20, align 4
|
||||
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintPointer"(ptr %19)
|
||||
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintByte"(i8 32)
|
||||
%24 = fpext float %23 to double
|
||||
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintFloat"(double %24)
|
||||
%22 = fpext float %21 to double
|
||||
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintFloat"(double %22)
|
||||
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintByte"(i8 32)
|
||||
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintBool"(i1 %19)
|
||||
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintBool"(i1 %17)
|
||||
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintByte"(i8 10)
|
||||
ret i32 0
|
||||
ret void
|
||||
}
|
||||
|
||||
define void @"main.init$after"() {
|
||||
define void @"github.com/goplus/llgo/compiler/cl/_testgo/struczero.init$after"() {
|
||||
_llgo_0:
|
||||
%0 = call ptr @"github.com/goplus/llgo/runtime/internal/runtime.NewNamed"(%"github.com/goplus/llgo/runtime/internal/runtime.String" { ptr @0, i64 48 }, %"github.com/goplus/llgo/runtime/internal/runtime.String" { ptr @1, i64 3 }, i64 25, i64 16, i64 1, i64 1)
|
||||
%1 = load ptr, ptr @"_llgo_github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo", align 8
|
||||
@@ -208,9 +202,9 @@ _llgo_8: ; preds = %_llgo_7, %_llgo_6
|
||||
%24 = insertvalue %"github.com/goplus/llgo/runtime/internal/runtime.Slice" undef, ptr %21, 0
|
||||
%25 = insertvalue %"github.com/goplus/llgo/runtime/internal/runtime.Slice" %24, i64 2, 1
|
||||
%26 = insertvalue %"github.com/goplus/llgo/runtime/internal/runtime.Slice" %25, i64 2, 2
|
||||
%27 = call ptr @"github.com/goplus/llgo/runtime/internal/runtime.Struct"(%"github.com/goplus/llgo/runtime/internal/runtime.String" { ptr @4, i64 4 }, i64 16, %"github.com/goplus/llgo/runtime/internal/runtime.Slice" %26)
|
||||
store ptr %27, ptr @"main.struct$qQwZyFy_4JRalRxVVsVD8R09X5t58tWjTrtJPtHbEjs", align 8
|
||||
%28 = load ptr, ptr @"main.struct$qQwZyFy_4JRalRxVVsVD8R09X5t58tWjTrtJPtHbEjs", align 8
|
||||
%27 = call ptr @"github.com/goplus/llgo/runtime/internal/runtime.Struct"(%"github.com/goplus/llgo/runtime/internal/runtime.String" { ptr @4, i64 52 }, i64 16, %"github.com/goplus/llgo/runtime/internal/runtime.Slice" %26)
|
||||
store ptr %27, ptr @"github.com/goplus/llgo/compiler/cl/_testgo/struczero.struct$qQwZyFy_4JRalRxVVsVD8R09X5t58tWjTrtJPtHbEjs", align 8
|
||||
%28 = load ptr, ptr @"github.com/goplus/llgo/compiler/cl/_testgo/struczero.struct$qQwZyFy_4JRalRxVVsVD8R09X5t58tWjTrtJPtHbEjs", align 8
|
||||
br i1 %2, label %_llgo_9, label %_llgo_10
|
||||
|
||||
_llgo_9: ; preds = %_llgo_8
|
||||
@@ -221,8 +215,8 @@ _llgo_9: ; preds = %_llgo_8
|
||||
br i1 %32, label %_llgo_11, label %_llgo_12
|
||||
|
||||
_llgo_10: ; preds = %_llgo_12, %_llgo_8
|
||||
%33 = call ptr @"github.com/goplus/llgo/runtime/internal/runtime.NewNamed"(%"github.com/goplus/llgo/runtime/internal/runtime.String" { ptr @4, i64 4 }, %"github.com/goplus/llgo/runtime/internal/runtime.String" { ptr @6, i64 3 }, i64 25, i64 16, i64 0, i64 0)
|
||||
store ptr %33, ptr @_llgo_main.bar, align 8
|
||||
%33 = call ptr @"github.com/goplus/llgo/runtime/internal/runtime.NewNamed"(%"github.com/goplus/llgo/runtime/internal/runtime.String" { ptr @4, i64 52 }, %"github.com/goplus/llgo/runtime/internal/runtime.String" { ptr @6, i64 3 }, i64 25, i64 16, i64 0, i64 0)
|
||||
store ptr %33, ptr @"_llgo_github.com/goplus/llgo/compiler/cl/_testgo/struczero.bar", align 8
|
||||
%34 = load ptr, ptr @"*_llgo_byte", align 8
|
||||
%35 = call ptr @"github.com/goplus/llgo/runtime/internal/runtime.Basic"(i64 40)
|
||||
%36 = call ptr @"github.com/goplus/llgo/runtime/internal/runtime.PointerTo"(ptr %35)
|
||||
@@ -237,9 +231,9 @@ _llgo_10: ; preds = %_llgo_12, %_llgo_8
|
||||
%43 = insertvalue %"github.com/goplus/llgo/runtime/internal/runtime.Slice" undef, ptr %40, 0
|
||||
%44 = insertvalue %"github.com/goplus/llgo/runtime/internal/runtime.Slice" %43, i64 2, 1
|
||||
%45 = insertvalue %"github.com/goplus/llgo/runtime/internal/runtime.Slice" %44, i64 2, 2
|
||||
%46 = call ptr @"github.com/goplus/llgo/runtime/internal/runtime.Struct"(%"github.com/goplus/llgo/runtime/internal/runtime.String" { ptr @4, i64 4 }, i64 16, %"github.com/goplus/llgo/runtime/internal/runtime.Slice" %45)
|
||||
store ptr %46, ptr @"main.struct$Ci43nzKYkRLddRL_N4mkykxLXfJlqJGS5n04LKThPNo", align 8
|
||||
%47 = load ptr, ptr @"main.struct$Ci43nzKYkRLddRL_N4mkykxLXfJlqJGS5n04LKThPNo", align 8
|
||||
%46 = call ptr @"github.com/goplus/llgo/runtime/internal/runtime.Struct"(%"github.com/goplus/llgo/runtime/internal/runtime.String" { ptr @4, i64 52 }, i64 16, %"github.com/goplus/llgo/runtime/internal/runtime.Slice" %45)
|
||||
store ptr %46, ptr @"github.com/goplus/llgo/compiler/cl/_testgo/struczero.struct$Ci43nzKYkRLddRL_N4mkykxLXfJlqJGS5n04LKThPNo", align 8
|
||||
%47 = load ptr, ptr @"github.com/goplus/llgo/compiler/cl/_testgo/struczero.struct$Ci43nzKYkRLddRL_N4mkykxLXfJlqJGS5n04LKThPNo", align 8
|
||||
call void @"github.com/goplus/llgo/runtime/internal/runtime.InitNamed"(ptr %33, ptr %47, { ptr, i64, i64 } zeroinitializer, { ptr, i64, i64 } zeroinitializer)
|
||||
ret void
|
||||
|
||||
@@ -307,8 +301,6 @@ declare ptr @"github.com/goplus/llgo/compiler/cl/_testdata/foo.Foo.Pb"(%"github.
|
||||
|
||||
declare void @"github.com/goplus/llgo/compiler/cl/_testdata/foo.init"()
|
||||
|
||||
declare void @"github.com/goplus/llgo/runtime/internal/runtime.init"()
|
||||
|
||||
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
|
||||
declare void @llvm.memset(ptr nocapture writeonly, i8, i64, i1 immarg) #0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user