ssa: fix setDirectIface

This commit is contained in:
visualfc
2024-07-08 20:19:25 +08:00
parent ccf915e798
commit 73b42f924d
15 changed files with 103 additions and 0 deletions

View File

@@ -864,6 +864,7 @@ _llgo_17: ; preds = %_llgo_16
%174 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %170, align 8
%175 = call ptr @"github.com/goplus/llgo/internal/runtime.Struct"(%"github.com/goplus/llgo/internal/runtime.String" %164, i64 208, %"github.com/goplus/llgo/internal/runtime.Slice" %174)
%176 = call ptr @"github.com/goplus/llgo/internal/runtime.MapOf"(ptr %116, ptr %117, ptr %175, i64 4)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %176)
store ptr %176, ptr @"map[_llgo_int]_llgo_string", align 8
br label %_llgo_18
@@ -907,6 +908,8 @@ declare ptr @"github.com/goplus/llgo/internal/runtime.MapOf"(ptr, ptr, ptr, i64)
declare ptr @"github.com/goplus/llgo/internal/runtime.ArrayOf"(i64, ptr)
declare void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr)
declare ptr @"github.com/goplus/llgo/internal/runtime.MakeMap"(ptr, i64)
declare void @"github.com/goplus/llgo/internal/runtime.init"()

View File

@@ -178,6 +178,7 @@ _llgo_3: ; preds = %_llgo_2
store i64 1, ptr %45, align 4
%46 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %42, align 8
%47 = call ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice" %39, %"github.com/goplus/llgo/internal/runtime.Slice" %46, i1 false)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %47)
store ptr %47, ptr @"_llgo_func$zNDVRsWTIpUPKouNUS805RGX--IV9qVK8B31IZbg5to", align 8
br label %_llgo_4
@@ -218,6 +219,7 @@ _llgo_4: ; preds = %_llgo_3, %_llgo_2
%69 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %66, align 8
call void @"github.com/goplus/llgo/internal/runtime.InitNamed"(ptr %0, %"github.com/goplus/llgo/internal/runtime.String" %65, %"github.com/goplus/llgo/internal/runtime.String" %69, ptr %23, { ptr, i64, i64 } zeroinitializer, %"github.com/goplus/llgo/internal/runtime.Slice" %61)
%70 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %0)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %70)
store ptr %70, ptr @"*_llgo_main.errorString", align 8
%71 = load ptr, ptr @"_llgo_func$zNDVRsWTIpUPKouNUS805RGX--IV9qVK8B31IZbg5to", align 8
%72 = load ptr, ptr @"_llgo_iface$Fh8eUJ-Gw4e6TYuajcFIOSCuqSPKAt5nS4ow7xeGXEU", align 8
@@ -282,6 +284,8 @@ declare void @"github.com/goplus/llgo/internal/runtime.InitNamed"(ptr, %"github.
declare ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice", %"github.com/goplus/llgo/internal/runtime.Slice", i1)
declare void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr)
declare ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr)
declare ptr @"github.com/goplus/llgo/internal/runtime.Interface"(%"github.com/goplus/llgo/internal/runtime.String", %"github.com/goplus/llgo/internal/runtime.String", %"github.com/goplus/llgo/internal/runtime.Slice")

View File

@@ -820,6 +820,7 @@ _llgo_5: ; preds = %_llgo_4
store i64 0, ptr %32, align 4
%33 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %29, align 8
%34 = call ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice" %27, %"github.com/goplus/llgo/internal/runtime.Slice" %33, i1 false)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %34)
store ptr %34, ptr @"_llgo_func$2_iS07vIlF2_rZqWB5eU0IvP_9HviM4MYZNkXZDvbac", align 8
br label %_llgo_6
@@ -1271,6 +1272,8 @@ declare ptr @"github.com/goplus/llgo/internal/runtime.IfaceType"(%"github.com/go
declare ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice", %"github.com/goplus/llgo/internal/runtime.Slice", i1)
declare void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr)
declare ptr @"github.com/goplus/llgo/internal/runtime.NewItab"(ptr, ptr)
declare ptr @"github.com/goplus/llgo/internal/runtime.NewNamed"(i64, i64, i64)

View File

@@ -691,6 +691,7 @@ _llgo_5: ; preds = %_llgo_4
store i64 1, ptr %40, align 4
%41 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %37, align 8
%42 = call ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice" %34, %"github.com/goplus/llgo/internal/runtime.Slice" %41, i1 false)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %42)
store ptr %42, ptr @"_llgo_func$ETeB8WwW04JEq0ztcm-XPTJtuYvtpkjIsAc0-2NT9zA", align 8
br label %_llgo_6
@@ -765,6 +766,7 @@ _llgo_9: ; preds = %_llgo_8
store i64 1, ptr %81, align 4
%82 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %78, align 8
%83 = call ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice" %75, %"github.com/goplus/llgo/internal/runtime.Slice" %82, i1 false)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %83)
store ptr %83, ptr @"_llgo_func$zNDVRsWTIpUPKouNUS805RGX--IV9qVK8B31IZbg5to", align 8
br label %_llgo_10
@@ -960,6 +962,8 @@ declare ptr @"github.com/goplus/llgo/internal/runtime.Basic"(i64)
declare ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice", %"github.com/goplus/llgo/internal/runtime.Slice", i1)
declare void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr)
declare ptr @"github.com/goplus/llgo/internal/runtime.Interface"(%"github.com/goplus/llgo/internal/runtime.String", %"github.com/goplus/llgo/internal/runtime.String", %"github.com/goplus/llgo/internal/runtime.Slice")
declare ptr @"github.com/goplus/llgo/internal/runtime.NewItab"(ptr, ptr)

View File

@@ -256,6 +256,7 @@ _llgo_0:
_llgo_1: ; preds = %_llgo_0
%2 = call ptr @"github.com/goplus/llgo/internal/runtime.NewNamed"(i64 25, i64 2, i64 2)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %2)
store ptr %2, ptr @_llgo_main.Game1, align 8
br label %_llgo_2
@@ -298,6 +299,7 @@ _llgo_3: ; preds = %_llgo_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
br label %_llgo_4
@@ -341,6 +343,7 @@ _llgo_7: ; preds = %_llgo_5
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
br label %_llgo_8
@@ -430,6 +433,7 @@ _llgo_8: ; preds = %_llgo_7, %_llgo_5
_llgo_9: ; preds = %_llgo_6
%101 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %2)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %101)
store ptr %101, ptr @"*_llgo_main.Game1", align 8
br label %_llgo_10
@@ -529,6 +533,7 @@ _llgo_16: ; preds = %_llgo_15, %_llgo_14
_llgo_17: ; preds = %_llgo_16
%151 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %104)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %151)
store ptr %151, ptr @"*_llgo_main.Game2", align 8
br label %_llgo_18
@@ -652,6 +657,8 @@ _llgo_20: ; preds = %_llgo_19, %_llgo_18
declare ptr @"github.com/goplus/llgo/internal/runtime.NewNamed"(i64, i64, i64)
declare void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr)
declare ptr @"github.com/goplus/llgo/internal/runtime.Struct"(%"github.com/goplus/llgo/internal/runtime.String", i64, %"github.com/goplus/llgo/internal/runtime.Slice")
declare %"github.com/goplus/llgo/internal/abi.StructField" @"github.com/goplus/llgo/internal/runtime.StructField"(%"github.com/goplus/llgo/internal/runtime.String", ptr, i64, %"github.com/goplus/llgo/internal/runtime.String", i1)

View File

@@ -741,6 +741,7 @@ _llgo_7: ; preds = %_llgo_6
store i64 1, ptr %50, align 4
%51 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %47, align 8
%52 = call ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice" %44, %"github.com/goplus/llgo/internal/runtime.Slice" %51, i1 false)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %52)
store ptr %52, ptr @"_llgo_func$ETeB8WwW04JEq0ztcm-XPTJtuYvtpkjIsAc0-2NT9zA", align 8
br label %_llgo_8
@@ -796,6 +797,7 @@ _llgo_9: ; preds = %_llgo_8
store i64 0, ptr %82, align 4
%83 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %79, align 8
%84 = call ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice" %77, %"github.com/goplus/llgo/internal/runtime.Slice" %83, i1 false)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %84)
store ptr %84, ptr @"_llgo_func$2_iS07vIlF2_rZqWB5eU0IvP_9HviM4MYZNkXZDvbac", align 8
br label %_llgo_10
@@ -897,6 +899,7 @@ _llgo_12: ; preds = %_llgo_11, %_llgo_4
_llgo_13: ; preds = %_llgo_12
%141 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %2)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %141)
store ptr %141, ptr @"*_llgo_main.T", align 8
br label %_llgo_14
@@ -986,6 +989,7 @@ _llgo_18: ; preds = %_llgo_17, %_llgo_16
_llgo_19: ; preds = %_llgo_18
%187 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %144)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %187)
store ptr %187, ptr @"*_llgo_main.T1", align 8
br label %_llgo_20
@@ -1085,6 +1089,7 @@ _llgo_26: ; preds = %_llgo_25, %_llgo_24
_llgo_27: ; preds = %_llgo_26
%236 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %190)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %236)
store ptr %236, ptr @"*_llgo_main.T2", align 8
br label %_llgo_28
@@ -1163,6 +1168,7 @@ _llgo_34: ; preds = %_llgo_33, %_llgo_32
_llgo_35: ; preds = %_llgo_34
%272 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %239)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %272)
store ptr %272, ptr @"*_llgo_main.T3", align 8
br label %_llgo_36
@@ -1264,6 +1270,7 @@ _llgo_42: ; preds = %_llgo_41, %_llgo_40
_llgo_43: ; preds = %_llgo_42
%323 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %275)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %323)
store ptr %323, ptr @"*_llgo_main.T4", align 8
br label %_llgo_44
@@ -1386,6 +1393,7 @@ _llgo_48: ; preds = %_llgo_47, %_llgo_46
_llgo_49: ; preds = %_llgo_48
%391 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %326)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %391)
store ptr %391, ptr @"*_llgo_main.T5", align 8
br label %_llgo_50
@@ -1406,6 +1414,7 @@ _llgo_52: ; preds = %_llgo_51, %_llgo_50
_llgo_53: ; preds = %_llgo_52
%397 = call ptr @"github.com/goplus/llgo/internal/runtime.Basic"(i64 58)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %397)
store ptr %397, ptr @_llgo_Pointer, align 8
br label %_llgo_54
@@ -1558,6 +1567,7 @@ _llgo_56: ; preds = %_llgo_55, %_llgo_54
_llgo_57: ; preds = %_llgo_56
%489 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %394)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %489)
store ptr %489, ptr @"*_llgo_main.T6", align 8
br label %_llgo_58
@@ -1727,6 +1737,8 @@ declare void @"github.com/goplus/llgo/internal/runtime.InitNamed"(ptr, %"github.
declare ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice", %"github.com/goplus/llgo/internal/runtime.Slice", i1)
declare void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr)
declare ptr @"github.com/goplus/llgo/internal/runtime.Interface"(%"github.com/goplus/llgo/internal/runtime.String", %"github.com/goplus/llgo/internal/runtime.String", %"github.com/goplus/llgo/internal/runtime.Slice")
declare ptr @"github.com/goplus/llgo/internal/runtime.NewItab"(ptr, ptr)

View File

@@ -1170,6 +1170,7 @@ _llgo_7: ; preds = %_llgo_6
store i64 1, ptr %26, align 4
%27 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %23, align 8
%28 = call ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice" %20, %"github.com/goplus/llgo/internal/runtime.Slice" %27, i1 false)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %28)
store ptr %28, ptr @"_llgo_func$zNDVRsWTIpUPKouNUS805RGX--IV9qVK8B31IZbg5to", align 8
br label %_llgo_8
@@ -1251,6 +1252,7 @@ _llgo_11: ; preds = %_llgo_10
store i64 2, ptr %72, align 4
%73 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %69, align 8
%74 = call ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice" %65, %"github.com/goplus/llgo/internal/runtime.Slice" %73, i1 false)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %74)
store ptr %74, ptr @"_llgo_func$06yPPin-fnDnxFKkLLcJ1GEUhIobjPimde7T_Id_hmY", align 8
br label %_llgo_12
@@ -1344,6 +1346,7 @@ _llgo_17: ; preds = %_llgo_16
store i64 2, ptr %123, align 4
%124 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %120, align 8
%125 = call ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice" %116, %"github.com/goplus/llgo/internal/runtime.Slice" %124, i1 false)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %125)
store ptr %125, ptr @"_llgo_func$MrYxYl10p_I07B55pBsGw9la9zbzU2vGDPLWrT714Uk", align 8
br label %_llgo_18
@@ -1553,6 +1556,7 @@ _llgo_25: ; preds = %_llgo_24
store i64 1, ptr %248, align 4
%249 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %245, align 8
%250 = call ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice" %242, %"github.com/goplus/llgo/internal/runtime.Slice" %249, i1 false)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %250)
store ptr %250, ptr @"_llgo_func$8rsrSd_r3UHd_2DiYTyaOKR7BYkei4zw5ysG35KF38w", align 8
br label %_llgo_26
@@ -1865,6 +1869,7 @@ _llgo_29: ; preds = %_llgo_28
store i64 2, ptr %439, align 4
%440 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %436, align 8
%441 = call ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice" %432, %"github.com/goplus/llgo/internal/runtime.Slice" %440, i1 false)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %441)
store ptr %441, ptr @"_llgo_func$thH5FBpdXzJNnCpSfiLU5ItTntFU6LWp0RJhDm2XJjw", align 8
br label %_llgo_30
@@ -2062,6 +2067,7 @@ _llgo_35: ; preds = %_llgo_34
store i64 1, ptr %560, align 4
%561 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %557, align 8
%562 = call ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice" %554, %"github.com/goplus/llgo/internal/runtime.Slice" %561, i1 false)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %562)
store ptr %562, ptr @"_llgo_func$ETeB8WwW04JEq0ztcm-XPTJtuYvtpkjIsAc0-2NT9zA", align 8
br label %_llgo_36
@@ -2136,6 +2142,7 @@ _llgo_37: ; preds = %_llgo_36
store i64 2, ptr %605, align 4
%606 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %602, align 8
%607 = call ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice" %598, %"github.com/goplus/llgo/internal/runtime.Slice" %606, i1 false)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %607)
store ptr %607, ptr @"_llgo_func$TY5Etv7VBKM_-2um1BDEeQEE2lP06Pt6G54EuKiNC3c", align 8
br label %_llgo_38
@@ -2197,6 +2204,7 @@ _llgo_41: ; preds = %_llgo_40
store i64 2, ptr %638, align 4
%639 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %635, align 8
%640 = call ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice" %631, %"github.com/goplus/llgo/internal/runtime.Slice" %639, i1 false)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %640)
store ptr %640, ptr @"_llgo_func$6bvVpCcGPUc3z_EmsQTHB0AVT1hP5-NNLVRgm43teCM", align 8
br label %_llgo_42
@@ -2261,6 +2269,7 @@ _llgo_45: ; preds = %_llgo_44
store i64 3, ptr %673, align 4
%674 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %670, align 8
%675 = call ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice" %665, %"github.com/goplus/llgo/internal/runtime.Slice" %674, i1 false)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %675)
store ptr %675, ptr @"_llgo_func$CB0CO6hV_feSzhi4pz1P4omza2fKNK930wvOR1T33fU", align 8
br label %_llgo_46
@@ -2318,6 +2327,7 @@ _llgo_47: ; preds = %_llgo_46
store i64 2, ptr %707, align 4
%708 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %704, align 8
%709 = call ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice" %700, %"github.com/goplus/llgo/internal/runtime.Slice" %708, i1 false)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %709)
store ptr %709, ptr @"_llgo_func$HE7H49xPa1uXmrkMDpqB3RCRGf3qzhLGrxKCEXOYjms", align 8
br label %_llgo_48
@@ -2366,6 +2376,7 @@ _llgo_49: ; preds = %_llgo_48
store i64 1, ptr %735, align 4
%736 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %732, align 8
%737 = call ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice" %729, %"github.com/goplus/llgo/internal/runtime.Slice" %736, i1 false)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %737)
store ptr %737, ptr @"_llgo_func$Eoig9xhJM5GShHH5aNPxTZZXp1IZxprRl4zPuv2hkug", align 8
br label %_llgo_50
@@ -2475,6 +2486,7 @@ _llgo_50: ; preds = %_llgo_49, %_llgo_48
%801 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %798, align 8
call void @"github.com/goplus/llgo/internal/runtime.InitNamed"(ptr %496, %"github.com/goplus/llgo/internal/runtime.String" %797, %"github.com/goplus/llgo/internal/runtime.String" %801, ptr %541, { ptr, i64, i64 } zeroinitializer, %"github.com/goplus/llgo/internal/runtime.Slice" %793)
%802 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %496)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %802)
store ptr %802, ptr @"*_llgo_main.stringReader", align 8
%803 = load ptr, ptr @"_llgo_func$06yPPin-fnDnxFKkLLcJ1GEUhIobjPimde7T_Id_hmY", align 8
%804 = load ptr, ptr @"_llgo_iface$OFO8Us9n8ajWCabGedeuoJ-Za2zAMk4Jh0FunAcUCFE", align 8
@@ -2600,6 +2612,7 @@ _llgo_52: ; preds = %_llgo_51, %_llgo_50
%879 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %876, align 8
call void @"github.com/goplus/llgo/internal/runtime.InitNamed"(ptr %830, %"github.com/goplus/llgo/internal/runtime.String" %875, %"github.com/goplus/llgo/internal/runtime.String" %879, ptr %853, { ptr, i64, i64 } zeroinitializer, %"github.com/goplus/llgo/internal/runtime.Slice" %871)
%880 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %830)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %880)
store ptr %880, ptr @"*_llgo_main.errorString", align 8
%881 = load ptr, ptr @"_llgo_func$zNDVRsWTIpUPKouNUS805RGX--IV9qVK8B31IZbg5to", align 8
%882 = load ptr, ptr @"_llgo_iface$Fh8eUJ-Gw4e6TYuajcFIOSCuqSPKAt5nS4ow7xeGXEU", align 8
@@ -2658,6 +2671,8 @@ declare ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/
declare ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64)
declare void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr)
declare ptr @"github.com/goplus/llgo/internal/runtime.Interface"(%"github.com/goplus/llgo/internal/runtime.String", %"github.com/goplus/llgo/internal/runtime.String", %"github.com/goplus/llgo/internal/runtime.Slice")
declare i1 @"github.com/goplus/llgo/internal/runtime.Implements"(ptr, ptr)

View File

@@ -335,6 +335,7 @@ _llgo_6: ; preds = %_llgo_5, %_llgo_3
_llgo_7: ; preds = %_llgo_6
%91 = call ptr @"github.com/goplus/llgo/internal/runtime.Basic"(i64 40)
%92 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %91)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %92)
store ptr %92, ptr @"*_llgo_byte", align 8
br label %_llgo_8
@@ -366,6 +367,7 @@ _llgo_9: ; preds = %_llgo_8
store i64 1, ptr %107, align 4
%108 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %104, align 8
%109 = call ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice" %101, %"github.com/goplus/llgo/internal/runtime.Slice" %108, i1 false)
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %109)
store ptr %109, ptr @"_llgo_func$NfGSLZ1QiKRoFkKeqYSXE5hUU5bpeteSJKrbMNUzYRE", align 8
br label %_llgo_10
@@ -443,6 +445,8 @@ declare ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64)
declare void @"github.com/goplus/llgo/internal/runtime.InitNamed"(ptr, %"github.com/goplus/llgo/internal/runtime.String", %"github.com/goplus/llgo/internal/runtime.String", ptr, %"github.com/goplus/llgo/internal/runtime.Slice", %"github.com/goplus/llgo/internal/runtime.Slice")
declare void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr)
declare ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice", %"github.com/goplus/llgo/internal/runtime.Slice", i1)
declare ptr @"github.com/goplus/llgo/cl/internal/foo.(*Foo).Pb"(ptr)