internal/lib/reflect: type.Field FieldByIndex FieldByName
This commit is contained in:
@@ -14,26 +14,29 @@ source_filename = "main"
|
||||
@__llgo_argc = global i32 0, align 4
|
||||
@__llgo_argv = global ptr null, align 8
|
||||
@_llgo_main.Game1 = linkonce global ptr null, align 8
|
||||
@0 = private unnamed_addr constant [10 x i8] c"main.Game1", align 1
|
||||
@"_llgo_struct$cJmCzeVn0orHWafCrTGAnbbAF46F2A4Fms4bJBm8ITI" = linkonce global ptr null, align 8
|
||||
@0 = private unnamed_addr constant [4 x i8] c"Game", align 1
|
||||
@1 = private unnamed_addr constant [4 x i8] c"main", align 1
|
||||
@2 = private unnamed_addr constant [4 x i8] c"Load", align 1
|
||||
@1 = private unnamed_addr constant [43 x i8] c"github.com/goplus/llgo/cl/internal/foo.Game", align 1
|
||||
@2 = private unnamed_addr constant [4 x i8] c"Game", align 1
|
||||
@3 = private unnamed_addr constant [4 x i8] c"main", align 1
|
||||
@4 = private unnamed_addr constant [4 x i8] c"Load", align 1
|
||||
@"_llgo_func$2_iS07vIlF2_rZqWB5eU0IvP_9HviM4MYZNkXZDvbac" = linkonce global ptr null, align 8
|
||||
@3 = private unnamed_addr constant [8 x i8] c"initGame", align 1
|
||||
@4 = private unnamed_addr constant [47 x i8] c"github.com/goplus/llgo/cl/internal/foo.initGame", align 1
|
||||
@5 = private unnamed_addr constant [5 x i8] c"Game1", align 1
|
||||
@5 = private unnamed_addr constant [8 x i8] c"initGame", align 1
|
||||
@6 = private unnamed_addr constant [47 x i8] c"github.com/goplus/llgo/cl/internal/foo.initGame", align 1
|
||||
@7 = private unnamed_addr constant [5 x i8] c"Game1", align 1
|
||||
@"*_llgo_main.Game1" = linkonce global ptr null, align 8
|
||||
@_llgo_main.Game2 = linkonce global ptr null, align 8
|
||||
@8 = private unnamed_addr constant [10 x i8] c"main.Game2", align 1
|
||||
@"_llgo_struct$n1H8J_3prDN3firMwPxBLVTkE5hJ9Di-AqNvaC9jczw" = linkonce global ptr null, align 8
|
||||
@6 = private unnamed_addr constant [13 x i8] c"main.initGame", align 1
|
||||
@7 = private unnamed_addr constant [5 x i8] c"Game2", align 1
|
||||
@9 = private unnamed_addr constant [13 x i8] c"main.initGame", align 1
|
||||
@10 = private unnamed_addr constant [5 x i8] c"Game2", align 1
|
||||
@"*_llgo_main.Game2" = linkonce global ptr null, align 8
|
||||
@"_llgo_github.com/goplus/llgo/cl/internal/foo.Gamer" = linkonce global ptr null, align 8
|
||||
@8 = private unnamed_addr constant [38 x i8] c"github.com/goplus/llgo/cl/internal/foo", align 1
|
||||
@9 = private unnamed_addr constant [44 x i8] c"github.com/goplus/llgo/cl/internal/foo.Gamer", align 1
|
||||
@11 = private unnamed_addr constant [38 x i8] c"github.com/goplus/llgo/cl/internal/foo", align 1
|
||||
@12 = private unnamed_addr constant [44 x i8] c"github.com/goplus/llgo/cl/internal/foo.Gamer", align 1
|
||||
@"main.iface$sO8a1LvuUsjXwiwaC6sR9-L4DiYgiOnZi7iosyShJXg" = linkonce global ptr null, align 8
|
||||
@10 = private unnamed_addr constant [2 x i8] c"OK", align 1
|
||||
@11 = private unnamed_addr constant [4 x i8] c"FAIL", align 1
|
||||
@13 = private unnamed_addr constant [2 x i8] c"OK", align 1
|
||||
@14 = private unnamed_addr constant [4 x i8] c"FAIL", align 1
|
||||
|
||||
define void @main.Game1.Load(%main.Game1 %0) {
|
||||
_llgo_0:
|
||||
@@ -178,7 +181,7 @@ _llgo_5: ; preds = %_llgo_4, %_llgo_3
|
||||
%49 = extractvalue { %"github.com/goplus/llgo/internal/runtime.iface", i1 } %47, 1
|
||||
%50 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%51 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %50, i32 0, i32 0
|
||||
store ptr @10, ptr %51, align 8
|
||||
store ptr @13, ptr %51, align 8
|
||||
%52 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %50, i32 0, i32 1
|
||||
store i64 2, ptr %52, align 4
|
||||
%53 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %50, align 8
|
||||
@@ -223,7 +226,7 @@ _llgo_8: ; preds = %_llgo_7, %_llgo_6
|
||||
%71 = extractvalue { %"github.com/goplus/llgo/internal/runtime.iface", i1 } %69, 1
|
||||
%72 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%73 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %72, i32 0, i32 0
|
||||
store ptr @11, ptr %73, align 8
|
||||
store ptr @14, ptr %73, align 8
|
||||
%74 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %72, i32 0, i32 1
|
||||
store i64 4, ptr %74, align 4
|
||||
%75 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %72, align 8
|
||||
@@ -251,412 +254,444 @@ declare ptr @"github.com/goplus/llgo/internal/runtime.AllocZ"(i64)
|
||||
|
||||
define void @"main.init$after"() {
|
||||
_llgo_0:
|
||||
%0 = call ptr @"github.com/goplus/llgo/internal/runtime.NewNamed"(i64 25, i64 8, i64 2, i64 2)
|
||||
%1 = load ptr, ptr @_llgo_main.Game1, align 8
|
||||
%2 = icmp eq ptr %1, null
|
||||
br i1 %2, label %_llgo_1, label %_llgo_2
|
||||
%0 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%1 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %0, i32 0, i32 0
|
||||
store ptr @0, ptr %1, align 8
|
||||
%2 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %0, i32 0, i32 1
|
||||
store i64 10, ptr %2, align 4
|
||||
%3 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %0, align 8
|
||||
%4 = call ptr @"github.com/goplus/llgo/internal/runtime.NewNamed"(%"github.com/goplus/llgo/internal/runtime.String" %3, i64 25, i64 8, i64 2, i64 2)
|
||||
%5 = load ptr, ptr @_llgo_main.Game1, align 8
|
||||
%6 = icmp eq ptr %5, null
|
||||
br i1 %6, label %_llgo_1, label %_llgo_2
|
||||
|
||||
_llgo_1: ; preds = %_llgo_0
|
||||
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %0)
|
||||
store ptr %0, ptr @_llgo_main.Game1, align 8
|
||||
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %4)
|
||||
store ptr %4, ptr @_llgo_main.Game1, align 8
|
||||
br label %_llgo_2
|
||||
|
||||
_llgo_2: ; preds = %_llgo_1, %_llgo_0
|
||||
%3 = call ptr @"github.com/goplus/llgo/internal/runtime.NewNamed"(i64 25, i64 0, i64 0, i64 2)
|
||||
%4 = load ptr, ptr @"_llgo_struct$cJmCzeVn0orHWafCrTGAnbbAF46F2A4Fms4bJBm8ITI", align 8
|
||||
%5 = icmp eq ptr %4, null
|
||||
br i1 %5, label %_llgo_3, label %_llgo_4
|
||||
%7 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%8 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %7, i32 0, i32 0
|
||||
store ptr @1, ptr %8, align 8
|
||||
%9 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %7, i32 0, i32 1
|
||||
store i64 43, ptr %9, align 4
|
||||
%10 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %7, align 8
|
||||
%11 = call ptr @"github.com/goplus/llgo/internal/runtime.NewNamed"(%"github.com/goplus/llgo/internal/runtime.String" %10, i64 25, i64 0, i64 0, i64 2)
|
||||
%12 = load ptr, ptr @"_llgo_struct$cJmCzeVn0orHWafCrTGAnbbAF46F2A4Fms4bJBm8ITI", align 8
|
||||
%13 = icmp eq ptr %12, null
|
||||
br i1 %13, label %_llgo_3, label %_llgo_4
|
||||
|
||||
_llgo_3: ; preds = %_llgo_2
|
||||
%6 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%7 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %6, i32 0, i32 0
|
||||
store ptr @0, ptr %7, align 8
|
||||
%8 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %6, i32 0, i32 1
|
||||
store i64 4, ptr %8, align 4
|
||||
%9 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %6, align 8
|
||||
%10 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%11 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %10, i32 0, i32 0
|
||||
store ptr null, ptr %11, align 8
|
||||
%12 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %10, i32 0, i32 1
|
||||
store i64 0, ptr %12, align 4
|
||||
%13 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %10, align 8
|
||||
%14 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %3)
|
||||
%15 = call %"github.com/goplus/llgo/internal/abi.StructField" @"github.com/goplus/llgo/internal/runtime.StructField"(%"github.com/goplus/llgo/internal/runtime.String" %9, ptr %14, i64 0, %"github.com/goplus/llgo/internal/runtime.String" %13, i1 true)
|
||||
%16 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%17 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %16, i32 0, i32 0
|
||||
store ptr @1, ptr %17, align 8
|
||||
%18 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %16, i32 0, i32 1
|
||||
store i64 4, ptr %18, align 4
|
||||
%19 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %16, align 8
|
||||
%20 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 56)
|
||||
%21 = getelementptr %"github.com/goplus/llgo/internal/abi.StructField", ptr %20, i64 0
|
||||
store %"github.com/goplus/llgo/internal/abi.StructField" %15, ptr %21, align 8
|
||||
%22 = alloca %"github.com/goplus/llgo/internal/runtime.Slice", align 8
|
||||
%23 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %22, i32 0, i32 0
|
||||
store ptr %20, ptr %23, align 8
|
||||
%24 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %22, i32 0, i32 1
|
||||
store i64 1, ptr %24, align 4
|
||||
%25 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %22, i32 0, i32 2
|
||||
store i64 1, ptr %25, align 4
|
||||
%26 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %22, align 8
|
||||
%27 = call ptr @"github.com/goplus/llgo/internal/runtime.Struct"(%"github.com/goplus/llgo/internal/runtime.String" %19, i64 8, %"github.com/goplus/llgo/internal/runtime.Slice" %26)
|
||||
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %27)
|
||||
store ptr %27, ptr @"_llgo_struct$cJmCzeVn0orHWafCrTGAnbbAF46F2A4Fms4bJBm8ITI", align 8
|
||||
%14 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%15 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %14, i32 0, i32 0
|
||||
store ptr @2, ptr %15, align 8
|
||||
%16 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %14, i32 0, i32 1
|
||||
store i64 4, ptr %16, align 4
|
||||
%17 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %14, align 8
|
||||
%18 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%19 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %18, i32 0, i32 0
|
||||
store ptr null, ptr %19, align 8
|
||||
%20 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %18, i32 0, i32 1
|
||||
store i64 0, ptr %20, align 4
|
||||
%21 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %18, align 8
|
||||
%22 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %11)
|
||||
%23 = call %"github.com/goplus/llgo/internal/abi.StructField" @"github.com/goplus/llgo/internal/runtime.StructField"(%"github.com/goplus/llgo/internal/runtime.String" %17, ptr %22, i64 0, %"github.com/goplus/llgo/internal/runtime.String" %21, i1 true)
|
||||
%24 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%25 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %24, i32 0, i32 0
|
||||
store ptr @3, ptr %25, align 8
|
||||
%26 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %24, i32 0, i32 1
|
||||
store i64 4, ptr %26, align 4
|
||||
%27 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %24, align 8
|
||||
%28 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 56)
|
||||
%29 = getelementptr %"github.com/goplus/llgo/internal/abi.StructField", ptr %28, i64 0
|
||||
store %"github.com/goplus/llgo/internal/abi.StructField" %23, ptr %29, align 8
|
||||
%30 = alloca %"github.com/goplus/llgo/internal/runtime.Slice", align 8
|
||||
%31 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %30, i32 0, i32 0
|
||||
store ptr %28, ptr %31, align 8
|
||||
%32 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %30, i32 0, i32 1
|
||||
store i64 1, ptr %32, align 4
|
||||
%33 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %30, i32 0, i32 2
|
||||
store i64 1, ptr %33, align 4
|
||||
%34 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %30, align 8
|
||||
%35 = call ptr @"github.com/goplus/llgo/internal/runtime.Struct"(%"github.com/goplus/llgo/internal/runtime.String" %27, i64 8, %"github.com/goplus/llgo/internal/runtime.Slice" %34)
|
||||
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %35)
|
||||
store ptr %35, ptr @"_llgo_struct$cJmCzeVn0orHWafCrTGAnbbAF46F2A4Fms4bJBm8ITI", align 8
|
||||
br label %_llgo_4
|
||||
|
||||
_llgo_4: ; preds = %_llgo_3, %_llgo_2
|
||||
%28 = load ptr, ptr @"_llgo_struct$cJmCzeVn0orHWafCrTGAnbbAF46F2A4Fms4bJBm8ITI", align 8
|
||||
br i1 %2, label %_llgo_5, label %_llgo_6
|
||||
%36 = load ptr, ptr @"_llgo_struct$cJmCzeVn0orHWafCrTGAnbbAF46F2A4Fms4bJBm8ITI", align 8
|
||||
br i1 %6, label %_llgo_5, label %_llgo_6
|
||||
|
||||
_llgo_5: ; preds = %_llgo_4
|
||||
%29 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%30 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %29, i32 0, i32 0
|
||||
store ptr @2, ptr %30, align 8
|
||||
%31 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %29, i32 0, i32 1
|
||||
store i64 4, ptr %31, align 4
|
||||
%32 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %29, align 8
|
||||
%33 = load ptr, ptr @"_llgo_func$2_iS07vIlF2_rZqWB5eU0IvP_9HviM4MYZNkXZDvbac", align 8
|
||||
%34 = icmp eq ptr %33, null
|
||||
br i1 %34, label %_llgo_7, label %_llgo_8
|
||||
%37 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%38 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %37, i32 0, i32 0
|
||||
store ptr @4, ptr %38, align 8
|
||||
%39 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %37, i32 0, i32 1
|
||||
store i64 4, ptr %39, align 4
|
||||
%40 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %37, align 8
|
||||
%41 = load ptr, ptr @"_llgo_func$2_iS07vIlF2_rZqWB5eU0IvP_9HviM4MYZNkXZDvbac", align 8
|
||||
%42 = icmp eq ptr %41, null
|
||||
br i1 %42, label %_llgo_7, label %_llgo_8
|
||||
|
||||
_llgo_6: ; preds = %_llgo_8, %_llgo_4
|
||||
%35 = load ptr, ptr @"*_llgo_main.Game1", align 8
|
||||
%36 = icmp eq ptr %35, null
|
||||
br i1 %36, label %_llgo_9, label %_llgo_10
|
||||
%43 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%44 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %43, i32 0, i32 0
|
||||
store ptr @0, ptr %44, align 8
|
||||
%45 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %43, i32 0, i32 1
|
||||
store i64 10, ptr %45, align 4
|
||||
%46 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %43, align 8
|
||||
%47 = call ptr @"github.com/goplus/llgo/internal/runtime.NewNamed"(%"github.com/goplus/llgo/internal/runtime.String" %46, i64 25, i64 8, i64 2, i64 2)
|
||||
%48 = load ptr, ptr @"*_llgo_main.Game1", align 8
|
||||
%49 = icmp eq ptr %48, null
|
||||
br i1 %49, label %_llgo_9, label %_llgo_10
|
||||
|
||||
_llgo_7: ; preds = %_llgo_5
|
||||
%37 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 0)
|
||||
%38 = alloca %"github.com/goplus/llgo/internal/runtime.Slice", align 8
|
||||
%39 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %38, i32 0, i32 0
|
||||
store ptr %37, ptr %39, align 8
|
||||
%40 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %38, i32 0, i32 1
|
||||
store i64 0, ptr %40, align 4
|
||||
%41 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %38, i32 0, i32 2
|
||||
store i64 0, ptr %41, align 4
|
||||
%42 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %38, align 8
|
||||
%43 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 0)
|
||||
%44 = alloca %"github.com/goplus/llgo/internal/runtime.Slice", align 8
|
||||
%45 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %44, i32 0, i32 0
|
||||
store ptr %43, ptr %45, align 8
|
||||
%46 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %44, i32 0, i32 1
|
||||
store i64 0, ptr %46, align 4
|
||||
%47 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %44, i32 0, i32 2
|
||||
store i64 0, ptr %47, align 4
|
||||
%48 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %44, align 8
|
||||
%49 = call ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice" %42, %"github.com/goplus/llgo/internal/runtime.Slice" %48, i1 false)
|
||||
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %49)
|
||||
store ptr %49, ptr @"_llgo_func$2_iS07vIlF2_rZqWB5eU0IvP_9HviM4MYZNkXZDvbac", align 8
|
||||
%50 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 0)
|
||||
%51 = alloca %"github.com/goplus/llgo/internal/runtime.Slice", align 8
|
||||
%52 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %51, i32 0, i32 0
|
||||
store ptr %50, ptr %52, align 8
|
||||
%53 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %51, i32 0, i32 1
|
||||
store i64 0, ptr %53, align 4
|
||||
%54 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %51, i32 0, i32 2
|
||||
store i64 0, ptr %54, align 4
|
||||
%55 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %51, align 8
|
||||
%56 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 0)
|
||||
%57 = alloca %"github.com/goplus/llgo/internal/runtime.Slice", align 8
|
||||
%58 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %57, i32 0, i32 0
|
||||
store ptr %56, ptr %58, align 8
|
||||
%59 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %57, i32 0, i32 1
|
||||
store i64 0, ptr %59, align 4
|
||||
%60 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %57, i32 0, i32 2
|
||||
store i64 0, ptr %60, align 4
|
||||
%61 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %57, align 8
|
||||
%62 = call ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice" %55, %"github.com/goplus/llgo/internal/runtime.Slice" %61, i1 false)
|
||||
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %62)
|
||||
store ptr %62, ptr @"_llgo_func$2_iS07vIlF2_rZqWB5eU0IvP_9HviM4MYZNkXZDvbac", align 8
|
||||
br label %_llgo_8
|
||||
|
||||
_llgo_8: ; preds = %_llgo_7, %_llgo_5
|
||||
%50 = load ptr, ptr @"_llgo_func$2_iS07vIlF2_rZqWB5eU0IvP_9HviM4MYZNkXZDvbac", align 8
|
||||
%51 = alloca %"github.com/goplus/llgo/internal/abi.Method", align 8
|
||||
%52 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %51, i32 0, i32 0
|
||||
store %"github.com/goplus/llgo/internal/runtime.String" %32, ptr %52, align 8
|
||||
%53 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %51, i32 0, i32 1
|
||||
store ptr %50, ptr %53, align 8
|
||||
%54 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %51, i32 0, i32 2
|
||||
store ptr @"main.(*Game1).Load", ptr %54, align 8
|
||||
%55 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %51, i32 0, i32 3
|
||||
store ptr @"main.(*Game1).Load", ptr %55, align 8
|
||||
%56 = load %"github.com/goplus/llgo/internal/abi.Method", ptr %51, align 8
|
||||
%57 = alloca %"github.com/goplus/llgo/internal/abi.Method", align 8
|
||||
%58 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %57, i32 0, i32 0
|
||||
store %"github.com/goplus/llgo/internal/runtime.String" %32, ptr %58, align 8
|
||||
%59 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %57, i32 0, i32 1
|
||||
store ptr %50, ptr %59, align 8
|
||||
%60 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %57, i32 0, i32 2
|
||||
store ptr @"main.(*Game1).Load", ptr %60, align 8
|
||||
%61 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %57, i32 0, i32 3
|
||||
store ptr @main.Game1.Load, ptr %61, align 8
|
||||
%62 = load %"github.com/goplus/llgo/internal/abi.Method", ptr %57, align 8
|
||||
%63 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%64 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %63, i32 0, i32 0
|
||||
store ptr @3, ptr %64, align 8
|
||||
%65 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %63, i32 0, i32 1
|
||||
store i64 8, ptr %65, align 4
|
||||
%66 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %63, align 8
|
||||
%67 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%68 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %67, i32 0, i32 0
|
||||
store ptr @4, ptr %68, align 8
|
||||
%69 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %67, i32 0, i32 1
|
||||
store i64 47, ptr %69, align 4
|
||||
%70 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %67, align 8
|
||||
%71 = load ptr, ptr @"_llgo_func$2_iS07vIlF2_rZqWB5eU0IvP_9HviM4MYZNkXZDvbac", align 8
|
||||
%72 = alloca %"github.com/goplus/llgo/internal/abi.Method", align 8
|
||||
%73 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %72, i32 0, i32 0
|
||||
store %"github.com/goplus/llgo/internal/runtime.String" %70, ptr %73, align 8
|
||||
%74 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %72, i32 0, i32 1
|
||||
store ptr %71, ptr %74, align 8
|
||||
%75 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %72, i32 0, i32 2
|
||||
store ptr @"github.com/goplus/llgo/cl/internal/foo.(*Game).initGame", ptr %75, align 8
|
||||
%76 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %72, i32 0, i32 3
|
||||
store ptr @"github.com/goplus/llgo/cl/internal/foo.(*Game).initGame", ptr %76, align 8
|
||||
%77 = load %"github.com/goplus/llgo/internal/abi.Method", ptr %72, align 8
|
||||
%78 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 40)
|
||||
%79 = getelementptr %"github.com/goplus/llgo/internal/abi.Method", ptr %78, i64 0
|
||||
store %"github.com/goplus/llgo/internal/abi.Method" %62, ptr %79, align 8
|
||||
%80 = alloca %"github.com/goplus/llgo/internal/runtime.Slice", align 8
|
||||
%81 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %80, i32 0, i32 0
|
||||
store ptr %78, ptr %81, align 8
|
||||
%82 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %80, i32 0, i32 1
|
||||
store i64 1, ptr %82, align 4
|
||||
%83 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %80, i32 0, i32 2
|
||||
store i64 1, ptr %83, align 4
|
||||
%84 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %80, align 8
|
||||
%85 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 80)
|
||||
%86 = getelementptr %"github.com/goplus/llgo/internal/abi.Method", ptr %85, i64 0
|
||||
store %"github.com/goplus/llgo/internal/abi.Method" %56, ptr %86, align 8
|
||||
%87 = getelementptr %"github.com/goplus/llgo/internal/abi.Method", ptr %85, i64 1
|
||||
store %"github.com/goplus/llgo/internal/abi.Method" %77, ptr %87, align 8
|
||||
%88 = alloca %"github.com/goplus/llgo/internal/runtime.Slice", align 8
|
||||
%89 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %88, i32 0, i32 0
|
||||
store ptr %85, ptr %89, align 8
|
||||
%90 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %88, i32 0, i32 1
|
||||
store i64 2, ptr %90, align 4
|
||||
%91 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %88, i32 0, i32 2
|
||||
store i64 2, ptr %91, align 4
|
||||
%92 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %88, align 8
|
||||
%93 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%94 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %93, i32 0, i32 0
|
||||
store ptr @1, ptr %94, align 8
|
||||
%95 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %93, i32 0, i32 1
|
||||
store i64 4, ptr %95, align 4
|
||||
%96 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %93, align 8
|
||||
%97 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%98 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %97, i32 0, i32 0
|
||||
store ptr @5, ptr %98, align 8
|
||||
%99 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %97, i32 0, i32 1
|
||||
store i64 5, ptr %99, align 4
|
||||
%100 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %97, align 8
|
||||
call void @"github.com/goplus/llgo/internal/runtime.InitNamed"(ptr %0, %"github.com/goplus/llgo/internal/runtime.String" %96, %"github.com/goplus/llgo/internal/runtime.String" %100, ptr %28, %"github.com/goplus/llgo/internal/runtime.Slice" %84, %"github.com/goplus/llgo/internal/runtime.Slice" %92)
|
||||
%63 = load ptr, ptr @"_llgo_func$2_iS07vIlF2_rZqWB5eU0IvP_9HviM4MYZNkXZDvbac", align 8
|
||||
%64 = alloca %"github.com/goplus/llgo/internal/abi.Method", align 8
|
||||
%65 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %64, i32 0, i32 0
|
||||
store %"github.com/goplus/llgo/internal/runtime.String" %40, ptr %65, align 8
|
||||
%66 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %64, i32 0, i32 1
|
||||
store ptr %63, ptr %66, align 8
|
||||
%67 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %64, i32 0, i32 2
|
||||
store ptr @"main.(*Game1).Load", ptr %67, align 8
|
||||
%68 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %64, i32 0, i32 3
|
||||
store ptr @"main.(*Game1).Load", ptr %68, align 8
|
||||
%69 = load %"github.com/goplus/llgo/internal/abi.Method", ptr %64, align 8
|
||||
%70 = alloca %"github.com/goplus/llgo/internal/abi.Method", align 8
|
||||
%71 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %70, i32 0, i32 0
|
||||
store %"github.com/goplus/llgo/internal/runtime.String" %40, ptr %71, align 8
|
||||
%72 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %70, i32 0, i32 1
|
||||
store ptr %63, ptr %72, align 8
|
||||
%73 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %70, i32 0, i32 2
|
||||
store ptr @"main.(*Game1).Load", ptr %73, align 8
|
||||
%74 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %70, i32 0, i32 3
|
||||
store ptr @main.Game1.Load, ptr %74, align 8
|
||||
%75 = load %"github.com/goplus/llgo/internal/abi.Method", ptr %70, align 8
|
||||
%76 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%77 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %76, i32 0, i32 0
|
||||
store ptr @5, ptr %77, align 8
|
||||
%78 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %76, i32 0, i32 1
|
||||
store i64 8, ptr %78, align 4
|
||||
%79 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %76, align 8
|
||||
%80 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%81 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %80, i32 0, i32 0
|
||||
store ptr @6, ptr %81, align 8
|
||||
%82 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %80, i32 0, i32 1
|
||||
store i64 47, ptr %82, align 4
|
||||
%83 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %80, align 8
|
||||
%84 = load ptr, ptr @"_llgo_func$2_iS07vIlF2_rZqWB5eU0IvP_9HviM4MYZNkXZDvbac", align 8
|
||||
%85 = alloca %"github.com/goplus/llgo/internal/abi.Method", align 8
|
||||
%86 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %85, i32 0, i32 0
|
||||
store %"github.com/goplus/llgo/internal/runtime.String" %83, ptr %86, align 8
|
||||
%87 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %85, i32 0, i32 1
|
||||
store ptr %84, ptr %87, align 8
|
||||
%88 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %85, i32 0, i32 2
|
||||
store ptr @"github.com/goplus/llgo/cl/internal/foo.(*Game).initGame", ptr %88, align 8
|
||||
%89 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %85, i32 0, i32 3
|
||||
store ptr @"github.com/goplus/llgo/cl/internal/foo.(*Game).initGame", ptr %89, align 8
|
||||
%90 = load %"github.com/goplus/llgo/internal/abi.Method", ptr %85, align 8
|
||||
%91 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 40)
|
||||
%92 = getelementptr %"github.com/goplus/llgo/internal/abi.Method", ptr %91, i64 0
|
||||
store %"github.com/goplus/llgo/internal/abi.Method" %75, ptr %92, align 8
|
||||
%93 = alloca %"github.com/goplus/llgo/internal/runtime.Slice", align 8
|
||||
%94 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %93, i32 0, i32 0
|
||||
store ptr %91, ptr %94, align 8
|
||||
%95 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %93, i32 0, i32 1
|
||||
store i64 1, ptr %95, align 4
|
||||
%96 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %93, i32 0, i32 2
|
||||
store i64 1, ptr %96, align 4
|
||||
%97 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %93, align 8
|
||||
%98 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 80)
|
||||
%99 = getelementptr %"github.com/goplus/llgo/internal/abi.Method", ptr %98, i64 0
|
||||
store %"github.com/goplus/llgo/internal/abi.Method" %69, ptr %99, align 8
|
||||
%100 = getelementptr %"github.com/goplus/llgo/internal/abi.Method", ptr %98, i64 1
|
||||
store %"github.com/goplus/llgo/internal/abi.Method" %90, ptr %100, align 8
|
||||
%101 = alloca %"github.com/goplus/llgo/internal/runtime.Slice", align 8
|
||||
%102 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %101, i32 0, i32 0
|
||||
store ptr %98, ptr %102, align 8
|
||||
%103 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %101, i32 0, i32 1
|
||||
store i64 2, ptr %103, align 4
|
||||
%104 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %101, i32 0, i32 2
|
||||
store i64 2, ptr %104, align 4
|
||||
%105 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %101, align 8
|
||||
%106 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%107 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %106, i32 0, i32 0
|
||||
store ptr @3, ptr %107, align 8
|
||||
%108 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %106, i32 0, i32 1
|
||||
store i64 4, ptr %108, align 4
|
||||
%109 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %106, align 8
|
||||
%110 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%111 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %110, i32 0, i32 0
|
||||
store ptr @7, ptr %111, align 8
|
||||
%112 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %110, i32 0, i32 1
|
||||
store i64 5, ptr %112, align 4
|
||||
%113 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %110, align 8
|
||||
call void @"github.com/goplus/llgo/internal/runtime.InitNamed"(ptr %4, %"github.com/goplus/llgo/internal/runtime.String" %109, %"github.com/goplus/llgo/internal/runtime.String" %113, ptr %36, %"github.com/goplus/llgo/internal/runtime.Slice" %97, %"github.com/goplus/llgo/internal/runtime.Slice" %105)
|
||||
br label %_llgo_6
|
||||
|
||||
_llgo_9: ; preds = %_llgo_6
|
||||
%101 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %0)
|
||||
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %101)
|
||||
store ptr %101, ptr @"*_llgo_main.Game1", align 8
|
||||
%114 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %47)
|
||||
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %114)
|
||||
store ptr %114, ptr @"*_llgo_main.Game1", align 8
|
||||
br label %_llgo_10
|
||||
|
||||
_llgo_10: ; preds = %_llgo_9, %_llgo_6
|
||||
%102 = call ptr @"github.com/goplus/llgo/internal/runtime.NewNamed"(i64 25, i64 0, i64 0, i64 1)
|
||||
%103 = load ptr, ptr @_llgo_main.Game2, align 8
|
||||
%104 = icmp eq ptr %103, null
|
||||
br i1 %104, label %_llgo_11, label %_llgo_12
|
||||
%115 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%116 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %115, i32 0, i32 0
|
||||
store ptr @8, ptr %116, align 8
|
||||
%117 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %115, i32 0, i32 1
|
||||
store i64 10, ptr %117, align 4
|
||||
%118 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %115, align 8
|
||||
%119 = call ptr @"github.com/goplus/llgo/internal/runtime.NewNamed"(%"github.com/goplus/llgo/internal/runtime.String" %118, i64 25, i64 0, i64 0, i64 1)
|
||||
%120 = load ptr, ptr @_llgo_main.Game2, align 8
|
||||
%121 = icmp eq ptr %120, null
|
||||
br i1 %121, label %_llgo_11, label %_llgo_12
|
||||
|
||||
_llgo_11: ; preds = %_llgo_10
|
||||
store ptr %102, ptr @_llgo_main.Game2, align 8
|
||||
store ptr %119, ptr @_llgo_main.Game2, align 8
|
||||
br label %_llgo_12
|
||||
|
||||
_llgo_12: ; preds = %_llgo_11, %_llgo_10
|
||||
%105 = load ptr, ptr @"_llgo_struct$n1H8J_3prDN3firMwPxBLVTkE5hJ9Di-AqNvaC9jczw", align 8
|
||||
%106 = icmp eq ptr %105, null
|
||||
br i1 %106, label %_llgo_13, label %_llgo_14
|
||||
%122 = load ptr, ptr @"_llgo_struct$n1H8J_3prDN3firMwPxBLVTkE5hJ9Di-AqNvaC9jczw", align 8
|
||||
%123 = icmp eq ptr %122, null
|
||||
br i1 %123, label %_llgo_13, label %_llgo_14
|
||||
|
||||
_llgo_13: ; preds = %_llgo_12
|
||||
%107 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%108 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %107, i32 0, i32 0
|
||||
store ptr @1, ptr %108, align 8
|
||||
%109 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %107, i32 0, i32 1
|
||||
store i64 4, ptr %109, align 4
|
||||
%110 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %107, align 8
|
||||
%111 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 0)
|
||||
%112 = alloca %"github.com/goplus/llgo/internal/runtime.Slice", align 8
|
||||
%113 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %112, i32 0, i32 0
|
||||
store ptr %111, ptr %113, align 8
|
||||
%114 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %112, i32 0, i32 1
|
||||
store i64 0, ptr %114, align 4
|
||||
%115 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %112, i32 0, i32 2
|
||||
store i64 0, ptr %115, align 4
|
||||
%116 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %112, align 8
|
||||
%117 = call ptr @"github.com/goplus/llgo/internal/runtime.Struct"(%"github.com/goplus/llgo/internal/runtime.String" %110, i64 0, %"github.com/goplus/llgo/internal/runtime.Slice" %116)
|
||||
store ptr %117, ptr @"_llgo_struct$n1H8J_3prDN3firMwPxBLVTkE5hJ9Di-AqNvaC9jczw", align 8
|
||||
%124 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%125 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %124, i32 0, i32 0
|
||||
store ptr @3, ptr %125, align 8
|
||||
%126 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %124, i32 0, i32 1
|
||||
store i64 4, ptr %126, align 4
|
||||
%127 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %124, align 8
|
||||
%128 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 0)
|
||||
%129 = alloca %"github.com/goplus/llgo/internal/runtime.Slice", align 8
|
||||
%130 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %129, i32 0, i32 0
|
||||
store ptr %128, ptr %130, align 8
|
||||
%131 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %129, i32 0, i32 1
|
||||
store i64 0, ptr %131, align 4
|
||||
%132 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %129, i32 0, i32 2
|
||||
store i64 0, ptr %132, align 4
|
||||
%133 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %129, align 8
|
||||
%134 = call ptr @"github.com/goplus/llgo/internal/runtime.Struct"(%"github.com/goplus/llgo/internal/runtime.String" %127, i64 0, %"github.com/goplus/llgo/internal/runtime.Slice" %133)
|
||||
store ptr %134, ptr @"_llgo_struct$n1H8J_3prDN3firMwPxBLVTkE5hJ9Di-AqNvaC9jczw", align 8
|
||||
br label %_llgo_14
|
||||
|
||||
_llgo_14: ; preds = %_llgo_13, %_llgo_12
|
||||
%118 = load ptr, ptr @"_llgo_struct$n1H8J_3prDN3firMwPxBLVTkE5hJ9Di-AqNvaC9jczw", align 8
|
||||
br i1 %104, label %_llgo_15, label %_llgo_16
|
||||
%135 = load ptr, ptr @"_llgo_struct$n1H8J_3prDN3firMwPxBLVTkE5hJ9Di-AqNvaC9jczw", align 8
|
||||
br i1 %121, label %_llgo_15, label %_llgo_16
|
||||
|
||||
_llgo_15: ; preds = %_llgo_14
|
||||
%119 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%120 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %119, i32 0, i32 0
|
||||
store ptr @3, ptr %120, align 8
|
||||
%121 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %119, i32 0, i32 1
|
||||
store i64 8, ptr %121, align 4
|
||||
%122 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %119, align 8
|
||||
%123 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%124 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %123, i32 0, i32 0
|
||||
store ptr @6, ptr %124, align 8
|
||||
%125 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %123, i32 0, i32 1
|
||||
store i64 13, ptr %125, align 4
|
||||
%126 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %123, align 8
|
||||
%127 = load ptr, ptr @"_llgo_func$2_iS07vIlF2_rZqWB5eU0IvP_9HviM4MYZNkXZDvbac", align 8
|
||||
%128 = alloca %"github.com/goplus/llgo/internal/abi.Method", align 8
|
||||
%129 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %128, i32 0, i32 0
|
||||
store %"github.com/goplus/llgo/internal/runtime.String" %126, ptr %129, align 8
|
||||
%130 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %128, i32 0, i32 1
|
||||
store ptr %127, ptr %130, align 8
|
||||
%131 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %128, i32 0, i32 2
|
||||
store ptr @"main.(*Game2).initGame", ptr %131, align 8
|
||||
%132 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %128, i32 0, i32 3
|
||||
store ptr @"main.(*Game2).initGame", ptr %132, align 8
|
||||
%133 = load %"github.com/goplus/llgo/internal/abi.Method", ptr %128, align 8
|
||||
%134 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 40)
|
||||
%135 = getelementptr %"github.com/goplus/llgo/internal/abi.Method", ptr %134, i64 0
|
||||
store %"github.com/goplus/llgo/internal/abi.Method" %133, ptr %135, align 8
|
||||
%136 = alloca %"github.com/goplus/llgo/internal/runtime.Slice", align 8
|
||||
%137 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %136, i32 0, i32 0
|
||||
store ptr %134, ptr %137, align 8
|
||||
%138 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %136, i32 0, i32 1
|
||||
store i64 1, ptr %138, align 4
|
||||
%139 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %136, i32 0, i32 2
|
||||
store i64 1, ptr %139, align 4
|
||||
%140 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %136, align 8
|
||||
%141 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%142 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %141, i32 0, i32 0
|
||||
store ptr @1, ptr %142, align 8
|
||||
%143 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %141, i32 0, i32 1
|
||||
store i64 4, ptr %143, align 4
|
||||
%144 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %141, align 8
|
||||
%145 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%146 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %145, i32 0, i32 0
|
||||
store ptr @7, ptr %146, align 8
|
||||
%147 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %145, i32 0, i32 1
|
||||
store i64 5, ptr %147, align 4
|
||||
%148 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %145, align 8
|
||||
call void @"github.com/goplus/llgo/internal/runtime.InitNamed"(ptr %102, %"github.com/goplus/llgo/internal/runtime.String" %144, %"github.com/goplus/llgo/internal/runtime.String" %148, ptr %118, { ptr, i64, i64 } zeroinitializer, %"github.com/goplus/llgo/internal/runtime.Slice" %140)
|
||||
%136 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%137 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %136, i32 0, i32 0
|
||||
store ptr @5, ptr %137, align 8
|
||||
%138 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %136, i32 0, i32 1
|
||||
store i64 8, ptr %138, align 4
|
||||
%139 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %136, align 8
|
||||
%140 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%141 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %140, i32 0, i32 0
|
||||
store ptr @9, ptr %141, align 8
|
||||
%142 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %140, i32 0, i32 1
|
||||
store i64 13, ptr %142, align 4
|
||||
%143 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %140, align 8
|
||||
%144 = load ptr, ptr @"_llgo_func$2_iS07vIlF2_rZqWB5eU0IvP_9HviM4MYZNkXZDvbac", align 8
|
||||
%145 = alloca %"github.com/goplus/llgo/internal/abi.Method", align 8
|
||||
%146 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %145, i32 0, i32 0
|
||||
store %"github.com/goplus/llgo/internal/runtime.String" %143, ptr %146, align 8
|
||||
%147 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %145, i32 0, i32 1
|
||||
store ptr %144, ptr %147, align 8
|
||||
%148 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %145, i32 0, i32 2
|
||||
store ptr @"main.(*Game2).initGame", ptr %148, align 8
|
||||
%149 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %145, i32 0, i32 3
|
||||
store ptr @"main.(*Game2).initGame", ptr %149, align 8
|
||||
%150 = load %"github.com/goplus/llgo/internal/abi.Method", ptr %145, align 8
|
||||
%151 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 40)
|
||||
%152 = getelementptr %"github.com/goplus/llgo/internal/abi.Method", ptr %151, i64 0
|
||||
store %"github.com/goplus/llgo/internal/abi.Method" %150, ptr %152, align 8
|
||||
%153 = alloca %"github.com/goplus/llgo/internal/runtime.Slice", align 8
|
||||
%154 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %153, i32 0, i32 0
|
||||
store ptr %151, ptr %154, align 8
|
||||
%155 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %153, i32 0, i32 1
|
||||
store i64 1, ptr %155, align 4
|
||||
%156 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %153, i32 0, i32 2
|
||||
store i64 1, ptr %156, align 4
|
||||
%157 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %153, align 8
|
||||
%158 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%159 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %158, i32 0, i32 0
|
||||
store ptr @3, ptr %159, align 8
|
||||
%160 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %158, i32 0, i32 1
|
||||
store i64 4, ptr %160, align 4
|
||||
%161 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %158, align 8
|
||||
%162 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%163 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %162, i32 0, i32 0
|
||||
store ptr @10, ptr %163, align 8
|
||||
%164 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %162, i32 0, i32 1
|
||||
store i64 5, ptr %164, align 4
|
||||
%165 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %162, align 8
|
||||
call void @"github.com/goplus/llgo/internal/runtime.InitNamed"(ptr %119, %"github.com/goplus/llgo/internal/runtime.String" %161, %"github.com/goplus/llgo/internal/runtime.String" %165, ptr %135, { ptr, i64, i64 } zeroinitializer, %"github.com/goplus/llgo/internal/runtime.Slice" %157)
|
||||
br label %_llgo_16
|
||||
|
||||
_llgo_16: ; preds = %_llgo_15, %_llgo_14
|
||||
%149 = load ptr, ptr @"*_llgo_main.Game2", align 8
|
||||
%150 = icmp eq ptr %149, null
|
||||
br i1 %150, label %_llgo_17, label %_llgo_18
|
||||
%166 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%167 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %166, i32 0, i32 0
|
||||
store ptr @8, ptr %167, align 8
|
||||
%168 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %166, i32 0, i32 1
|
||||
store i64 10, ptr %168, align 4
|
||||
%169 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %166, align 8
|
||||
%170 = call ptr @"github.com/goplus/llgo/internal/runtime.NewNamed"(%"github.com/goplus/llgo/internal/runtime.String" %169, i64 25, i64 0, i64 0, i64 1)
|
||||
%171 = load ptr, ptr @"*_llgo_main.Game2", align 8
|
||||
%172 = icmp eq ptr %171, null
|
||||
br i1 %172, label %_llgo_17, label %_llgo_18
|
||||
|
||||
_llgo_17: ; preds = %_llgo_16
|
||||
%151 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %102)
|
||||
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %151)
|
||||
store ptr %151, ptr @"*_llgo_main.Game2", align 8
|
||||
%173 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %170)
|
||||
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %173)
|
||||
store ptr %173, ptr @"*_llgo_main.Game2", align 8
|
||||
br label %_llgo_18
|
||||
|
||||
_llgo_18: ; preds = %_llgo_17, %_llgo_16
|
||||
%152 = load ptr, ptr @"_llgo_func$2_iS07vIlF2_rZqWB5eU0IvP_9HviM4MYZNkXZDvbac", align 8
|
||||
%153 = load ptr, ptr @"_llgo_func$2_iS07vIlF2_rZqWB5eU0IvP_9HviM4MYZNkXZDvbac", align 8
|
||||
%154 = load ptr, ptr @"_llgo_github.com/goplus/llgo/cl/internal/foo.Gamer", align 8
|
||||
%155 = icmp eq ptr %154, null
|
||||
br i1 %155, label %_llgo_19, label %_llgo_20
|
||||
%174 = load ptr, ptr @"_llgo_func$2_iS07vIlF2_rZqWB5eU0IvP_9HviM4MYZNkXZDvbac", align 8
|
||||
%175 = load ptr, ptr @"_llgo_func$2_iS07vIlF2_rZqWB5eU0IvP_9HviM4MYZNkXZDvbac", align 8
|
||||
%176 = load ptr, ptr @"_llgo_github.com/goplus/llgo/cl/internal/foo.Gamer", align 8
|
||||
%177 = icmp eq ptr %176, null
|
||||
br i1 %177, label %_llgo_19, label %_llgo_20
|
||||
|
||||
_llgo_19: ; preds = %_llgo_18
|
||||
%156 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%157 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %156, i32 0, i32 0
|
||||
store ptr @2, ptr %157, align 8
|
||||
%158 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %156, i32 0, i32 1
|
||||
store i64 4, ptr %158, align 4
|
||||
%159 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %156, align 8
|
||||
%160 = alloca %"github.com/goplus/llgo/internal/abi.Imethod", align 8
|
||||
%161 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Imethod", ptr %160, i32 0, i32 0
|
||||
store %"github.com/goplus/llgo/internal/runtime.String" %159, ptr %161, align 8
|
||||
%162 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Imethod", ptr %160, i32 0, i32 1
|
||||
store ptr %152, ptr %162, align 8
|
||||
%163 = load %"github.com/goplus/llgo/internal/abi.Imethod", ptr %160, align 8
|
||||
%164 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%165 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %164, i32 0, i32 0
|
||||
store ptr @4, ptr %165, align 8
|
||||
%166 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %164, i32 0, i32 1
|
||||
store i64 47, ptr %166, align 4
|
||||
%167 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %164, align 8
|
||||
%168 = alloca %"github.com/goplus/llgo/internal/abi.Imethod", align 8
|
||||
%169 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Imethod", ptr %168, i32 0, i32 0
|
||||
store %"github.com/goplus/llgo/internal/runtime.String" %167, ptr %169, align 8
|
||||
%170 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Imethod", ptr %168, i32 0, i32 1
|
||||
store ptr %153, ptr %170, align 8
|
||||
%171 = load %"github.com/goplus/llgo/internal/abi.Imethod", ptr %168, align 8
|
||||
%172 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 48)
|
||||
%173 = getelementptr %"github.com/goplus/llgo/internal/abi.Imethod", ptr %172, i64 0
|
||||
store %"github.com/goplus/llgo/internal/abi.Imethod" %163, ptr %173, align 8
|
||||
%174 = getelementptr %"github.com/goplus/llgo/internal/abi.Imethod", ptr %172, i64 1
|
||||
store %"github.com/goplus/llgo/internal/abi.Imethod" %171, ptr %174, align 8
|
||||
%175 = alloca %"github.com/goplus/llgo/internal/runtime.Slice", align 8
|
||||
%176 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %175, i32 0, i32 0
|
||||
store ptr %172, ptr %176, align 8
|
||||
%177 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %175, i32 0, i32 1
|
||||
store i64 2, ptr %177, align 4
|
||||
%178 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %175, i32 0, i32 2
|
||||
store i64 2, ptr %178, align 4
|
||||
%179 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %175, align 8
|
||||
%180 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%181 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %180, i32 0, i32 0
|
||||
store ptr @8, ptr %181, align 8
|
||||
%182 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %180, i32 0, i32 1
|
||||
store i64 38, ptr %182, align 4
|
||||
%183 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %180, align 8
|
||||
%184 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%185 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %184, i32 0, i32 0
|
||||
store ptr @9, ptr %185, align 8
|
||||
%186 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %184, i32 0, i32 1
|
||||
store i64 44, ptr %186, align 4
|
||||
%187 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %184, align 8
|
||||
%188 = call ptr @"github.com/goplus/llgo/internal/runtime.Interface"(%"github.com/goplus/llgo/internal/runtime.String" %183, %"github.com/goplus/llgo/internal/runtime.String" %187, %"github.com/goplus/llgo/internal/runtime.Slice" %179)
|
||||
store ptr %188, ptr @"_llgo_github.com/goplus/llgo/cl/internal/foo.Gamer", align 8
|
||||
%178 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%179 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %178, i32 0, i32 0
|
||||
store ptr @4, ptr %179, align 8
|
||||
%180 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %178, i32 0, i32 1
|
||||
store i64 4, ptr %180, align 4
|
||||
%181 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %178, align 8
|
||||
%182 = alloca %"github.com/goplus/llgo/internal/abi.Imethod", align 8
|
||||
%183 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Imethod", ptr %182, i32 0, i32 0
|
||||
store %"github.com/goplus/llgo/internal/runtime.String" %181, ptr %183, align 8
|
||||
%184 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Imethod", ptr %182, i32 0, i32 1
|
||||
store ptr %174, ptr %184, align 8
|
||||
%185 = load %"github.com/goplus/llgo/internal/abi.Imethod", ptr %182, align 8
|
||||
%186 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%187 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %186, i32 0, i32 0
|
||||
store ptr @6, ptr %187, align 8
|
||||
%188 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %186, i32 0, i32 1
|
||||
store i64 47, ptr %188, align 4
|
||||
%189 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %186, align 8
|
||||
%190 = alloca %"github.com/goplus/llgo/internal/abi.Imethod", align 8
|
||||
%191 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Imethod", ptr %190, i32 0, i32 0
|
||||
store %"github.com/goplus/llgo/internal/runtime.String" %189, ptr %191, align 8
|
||||
%192 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Imethod", ptr %190, i32 0, i32 1
|
||||
store ptr %175, ptr %192, align 8
|
||||
%193 = load %"github.com/goplus/llgo/internal/abi.Imethod", ptr %190, align 8
|
||||
%194 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 48)
|
||||
%195 = getelementptr %"github.com/goplus/llgo/internal/abi.Imethod", ptr %194, i64 0
|
||||
store %"github.com/goplus/llgo/internal/abi.Imethod" %185, ptr %195, align 8
|
||||
%196 = getelementptr %"github.com/goplus/llgo/internal/abi.Imethod", ptr %194, i64 1
|
||||
store %"github.com/goplus/llgo/internal/abi.Imethod" %193, ptr %196, align 8
|
||||
%197 = alloca %"github.com/goplus/llgo/internal/runtime.Slice", align 8
|
||||
%198 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %197, i32 0, i32 0
|
||||
store ptr %194, ptr %198, align 8
|
||||
%199 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %197, i32 0, i32 1
|
||||
store i64 2, ptr %199, align 4
|
||||
%200 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %197, i32 0, i32 2
|
||||
store i64 2, ptr %200, align 4
|
||||
%201 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %197, align 8
|
||||
%202 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%203 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %202, i32 0, i32 0
|
||||
store ptr @11, ptr %203, align 8
|
||||
%204 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %202, i32 0, i32 1
|
||||
store i64 38, ptr %204, align 4
|
||||
%205 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %202, align 8
|
||||
%206 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%207 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %206, i32 0, i32 0
|
||||
store ptr @12, ptr %207, align 8
|
||||
%208 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %206, i32 0, i32 1
|
||||
store i64 44, ptr %208, align 4
|
||||
%209 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %206, align 8
|
||||
%210 = call ptr @"github.com/goplus/llgo/internal/runtime.Interface"(%"github.com/goplus/llgo/internal/runtime.String" %205, %"github.com/goplus/llgo/internal/runtime.String" %209, %"github.com/goplus/llgo/internal/runtime.Slice" %201)
|
||||
store ptr %210, ptr @"_llgo_github.com/goplus/llgo/cl/internal/foo.Gamer", align 8
|
||||
br label %_llgo_20
|
||||
|
||||
_llgo_20: ; preds = %_llgo_19, %_llgo_18
|
||||
%189 = load ptr, ptr @"_llgo_func$2_iS07vIlF2_rZqWB5eU0IvP_9HviM4MYZNkXZDvbac", align 8
|
||||
%190 = load ptr, ptr @"_llgo_func$2_iS07vIlF2_rZqWB5eU0IvP_9HviM4MYZNkXZDvbac", align 8
|
||||
%191 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%192 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %191, i32 0, i32 0
|
||||
store ptr @2, ptr %192, align 8
|
||||
%193 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %191, i32 0, i32 1
|
||||
store i64 4, ptr %193, align 4
|
||||
%194 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %191, align 8
|
||||
%195 = alloca %"github.com/goplus/llgo/internal/abi.Imethod", align 8
|
||||
%196 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Imethod", ptr %195, i32 0, i32 0
|
||||
store %"github.com/goplus/llgo/internal/runtime.String" %194, ptr %196, align 8
|
||||
%197 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Imethod", ptr %195, i32 0, i32 1
|
||||
store ptr %189, ptr %197, align 8
|
||||
%198 = load %"github.com/goplus/llgo/internal/abi.Imethod", ptr %195, align 8
|
||||
%199 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%200 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %199, i32 0, i32 0
|
||||
store ptr @4, ptr %200, align 8
|
||||
%201 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %199, i32 0, i32 1
|
||||
store i64 47, ptr %201, align 4
|
||||
%202 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %199, align 8
|
||||
%203 = alloca %"github.com/goplus/llgo/internal/abi.Imethod", align 8
|
||||
%204 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Imethod", ptr %203, i32 0, i32 0
|
||||
store %"github.com/goplus/llgo/internal/runtime.String" %202, ptr %204, align 8
|
||||
%205 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Imethod", ptr %203, i32 0, i32 1
|
||||
store ptr %190, ptr %205, align 8
|
||||
%206 = load %"github.com/goplus/llgo/internal/abi.Imethod", ptr %203, align 8
|
||||
%207 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 48)
|
||||
%208 = getelementptr %"github.com/goplus/llgo/internal/abi.Imethod", ptr %207, i64 0
|
||||
store %"github.com/goplus/llgo/internal/abi.Imethod" %198, ptr %208, align 8
|
||||
%209 = getelementptr %"github.com/goplus/llgo/internal/abi.Imethod", ptr %207, i64 1
|
||||
store %"github.com/goplus/llgo/internal/abi.Imethod" %206, ptr %209, align 8
|
||||
%210 = alloca %"github.com/goplus/llgo/internal/runtime.Slice", align 8
|
||||
%211 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %210, i32 0, i32 0
|
||||
store ptr %207, ptr %211, align 8
|
||||
%212 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %210, i32 0, i32 1
|
||||
store i64 2, ptr %212, align 4
|
||||
%213 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %210, i32 0, i32 2
|
||||
store i64 2, ptr %213, align 4
|
||||
%214 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %210, align 8
|
||||
%215 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%216 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %215, i32 0, i32 0
|
||||
store ptr @1, ptr %216, align 8
|
||||
%217 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %215, i32 0, i32 1
|
||||
store i64 4, ptr %217, align 4
|
||||
%218 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %215, align 8
|
||||
%219 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%220 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %219, i32 0, i32 0
|
||||
store ptr null, ptr %220, align 8
|
||||
%221 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %219, i32 0, i32 1
|
||||
store i64 0, ptr %221, align 4
|
||||
%222 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %219, align 8
|
||||
%223 = call ptr @"github.com/goplus/llgo/internal/runtime.Interface"(%"github.com/goplus/llgo/internal/runtime.String" %218, %"github.com/goplus/llgo/internal/runtime.String" %222, %"github.com/goplus/llgo/internal/runtime.Slice" %214)
|
||||
store ptr %223, ptr @"main.iface$sO8a1LvuUsjXwiwaC6sR9-L4DiYgiOnZi7iosyShJXg", align 8
|
||||
%211 = load ptr, ptr @"_llgo_func$2_iS07vIlF2_rZqWB5eU0IvP_9HviM4MYZNkXZDvbac", align 8
|
||||
%212 = load ptr, ptr @"_llgo_func$2_iS07vIlF2_rZqWB5eU0IvP_9HviM4MYZNkXZDvbac", align 8
|
||||
%213 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%214 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %213, i32 0, i32 0
|
||||
store ptr @4, ptr %214, align 8
|
||||
%215 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %213, i32 0, i32 1
|
||||
store i64 4, ptr %215, align 4
|
||||
%216 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %213, align 8
|
||||
%217 = alloca %"github.com/goplus/llgo/internal/abi.Imethod", align 8
|
||||
%218 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Imethod", ptr %217, i32 0, i32 0
|
||||
store %"github.com/goplus/llgo/internal/runtime.String" %216, ptr %218, align 8
|
||||
%219 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Imethod", ptr %217, i32 0, i32 1
|
||||
store ptr %211, ptr %219, align 8
|
||||
%220 = load %"github.com/goplus/llgo/internal/abi.Imethod", ptr %217, align 8
|
||||
%221 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%222 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %221, i32 0, i32 0
|
||||
store ptr @6, ptr %222, align 8
|
||||
%223 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %221, i32 0, i32 1
|
||||
store i64 47, ptr %223, align 4
|
||||
%224 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %221, align 8
|
||||
%225 = alloca %"github.com/goplus/llgo/internal/abi.Imethod", align 8
|
||||
%226 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Imethod", ptr %225, i32 0, i32 0
|
||||
store %"github.com/goplus/llgo/internal/runtime.String" %224, ptr %226, align 8
|
||||
%227 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Imethod", ptr %225, i32 0, i32 1
|
||||
store ptr %212, ptr %227, align 8
|
||||
%228 = load %"github.com/goplus/llgo/internal/abi.Imethod", ptr %225, align 8
|
||||
%229 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 48)
|
||||
%230 = getelementptr %"github.com/goplus/llgo/internal/abi.Imethod", ptr %229, i64 0
|
||||
store %"github.com/goplus/llgo/internal/abi.Imethod" %220, ptr %230, align 8
|
||||
%231 = getelementptr %"github.com/goplus/llgo/internal/abi.Imethod", ptr %229, i64 1
|
||||
store %"github.com/goplus/llgo/internal/abi.Imethod" %228, ptr %231, align 8
|
||||
%232 = alloca %"github.com/goplus/llgo/internal/runtime.Slice", align 8
|
||||
%233 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %232, i32 0, i32 0
|
||||
store ptr %229, ptr %233, align 8
|
||||
%234 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %232, i32 0, i32 1
|
||||
store i64 2, ptr %234, align 4
|
||||
%235 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %232, i32 0, i32 2
|
||||
store i64 2, ptr %235, align 4
|
||||
%236 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %232, align 8
|
||||
%237 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%238 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %237, i32 0, i32 0
|
||||
store ptr @3, ptr %238, align 8
|
||||
%239 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %237, i32 0, i32 1
|
||||
store i64 4, ptr %239, align 4
|
||||
%240 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %237, align 8
|
||||
%241 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%242 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %241, i32 0, i32 0
|
||||
store ptr null, ptr %242, align 8
|
||||
%243 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %241, i32 0, i32 1
|
||||
store i64 0, ptr %243, align 4
|
||||
%244 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %241, align 8
|
||||
%245 = call ptr @"github.com/goplus/llgo/internal/runtime.Interface"(%"github.com/goplus/llgo/internal/runtime.String" %240, %"github.com/goplus/llgo/internal/runtime.String" %244, %"github.com/goplus/llgo/internal/runtime.Slice" %236)
|
||||
store ptr %245, ptr @"main.iface$sO8a1LvuUsjXwiwaC6sR9-L4DiYgiOnZi7iosyShJXg", align 8
|
||||
ret void
|
||||
}
|
||||
|
||||
declare ptr @"github.com/goplus/llgo/internal/runtime.NewNamed"(i64, i64, i64, i64)
|
||||
declare ptr @"github.com/goplus/llgo/internal/runtime.NewNamed"(%"github.com/goplus/llgo/internal/runtime.String", i64, i64, i64, i64)
|
||||
|
||||
declare void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user