1100 lines
70 KiB
LLVM
1100 lines
70 KiB
LLVM
; ModuleID = 'main'
|
|
source_filename = "main"
|
|
|
|
%main.T = type { %"github.com/goplus/llgo/internal/runtime.String" }
|
|
%"github.com/goplus/llgo/internal/runtime.String" = type { ptr, i64 }
|
|
%main.T5 = type { i64 }
|
|
%main.T6 = type { ptr, ptr }
|
|
%"github.com/goplus/llgo/internal/runtime.iface" = type { ptr, ptr }
|
|
%"github.com/goplus/llgo/internal/runtime.eface" = type { ptr, ptr }
|
|
%"github.com/goplus/llgo/internal/abi.StructField" = type { %"github.com/goplus/llgo/internal/runtime.String", ptr, i64, %"github.com/goplus/llgo/internal/runtime.String", i1 }
|
|
%"github.com/goplus/llgo/internal/runtime.Slice" = type { ptr, i64, i64 }
|
|
%"github.com/goplus/llgo/internal/abi.Method" = type { %"github.com/goplus/llgo/internal/runtime.String", ptr, ptr, ptr }
|
|
%"github.com/goplus/llgo/internal/abi.Imethod" = type { %"github.com/goplus/llgo/internal/runtime.String", ptr }
|
|
|
|
@"main.init$guard" = global i1 false, align 1
|
|
@0 = private unnamed_addr constant [6 x i8] c"invoke", align 1
|
|
@1 = private unnamed_addr constant [7 x i8] c"invoke1", align 1
|
|
@2 = private unnamed_addr constant [7 x i8] c"invoke2", align 1
|
|
@3 = private unnamed_addr constant [7 x i8] c"invoke3", align 1
|
|
@4 = private unnamed_addr constant [7 x i8] c"invoke4", align 1
|
|
@5 = private unnamed_addr constant [7 x i8] c"invoke5", align 1
|
|
@6 = private unnamed_addr constant [7 x i8] c"invoke6", align 1
|
|
@__llgo_argc = global i32 0, align 4
|
|
@__llgo_argv = global ptr null, align 8
|
|
@7 = private unnamed_addr constant [5 x i8] c"hello", align 1
|
|
@_llgo_main.T = linkonce global ptr null, align 8
|
|
@8 = private unnamed_addr constant [6 x i8] c"main.T", align 1
|
|
@_llgo_string = linkonce global ptr null, align 8
|
|
@"main.struct$QTufDJA9wEDzuzgkA-ZSrLqW-B6lWN8O25mTSglAoLQ" = linkonce global ptr null, align 8
|
|
@9 = private unnamed_addr constant [1 x i8] c"s", align 1
|
|
@10 = private unnamed_addr constant [4 x i8] c"main", align 1
|
|
@11 = private unnamed_addr constant [6 x i8] c"Invoke", align 1
|
|
@_llgo_int = linkonce global ptr null, align 8
|
|
@"_llgo_func$ETeB8WwW04JEq0ztcm-XPTJtuYvtpkjIsAc0-2NT9zA" = linkonce global ptr null, align 8
|
|
@12 = private unnamed_addr constant [6 x i8] c"Method", align 1
|
|
@"_llgo_func$2_iS07vIlF2_rZqWB5eU0IvP_9HviM4MYZNkXZDvbac" = linkonce global ptr null, align 8
|
|
@13 = private unnamed_addr constant [1 x i8] c"T", align 1
|
|
@"_llgo_iface$uRUteI7wmSy7y7ODhGzk0FdDaxGKMhVSSu6HZEv9aa0" = linkonce global ptr null, align 8
|
|
@"*_llgo_main.T" = linkonce global ptr null, align 8
|
|
@_llgo_main.T1 = linkonce global ptr null, align 8
|
|
@14 = private unnamed_addr constant [7 x i8] c"main.T1", align 1
|
|
@15 = private unnamed_addr constant [2 x i8] c"T1", align 1
|
|
@"*_llgo_main.T1" = linkonce global ptr null, align 8
|
|
@_llgo_main.T2 = linkonce global ptr null, align 8
|
|
@16 = private unnamed_addr constant [7 x i8] c"main.T2", align 1
|
|
@_llgo_float64 = linkonce global ptr null, align 8
|
|
@17 = private unnamed_addr constant [2 x i8] c"T2", align 1
|
|
@"*_llgo_main.T2" = linkonce global ptr null, align 8
|
|
@_llgo_main.T3 = linkonce global ptr null, align 8
|
|
@18 = private unnamed_addr constant [7 x i8] c"main.T3", align 1
|
|
@_llgo_int8 = linkonce global ptr null, align 8
|
|
@19 = private unnamed_addr constant [2 x i8] c"T3", align 1
|
|
@"*_llgo_main.T3" = linkonce global ptr null, align 8
|
|
@_llgo_main.T4 = linkonce global ptr null, align 8
|
|
@20 = private unnamed_addr constant [7 x i8] c"main.T4", align 1
|
|
@"[1]_llgo_int" = linkonce global ptr null, align 8
|
|
@21 = private unnamed_addr constant [2 x i8] c"T4", align 1
|
|
@"*_llgo_main.T4" = linkonce global ptr null, align 8
|
|
@_llgo_main.T5 = linkonce global ptr null, align 8
|
|
@22 = private unnamed_addr constant [7 x i8] c"main.T5", align 1
|
|
@"main.struct$eovYmOhZg4X0zMSsuscSshndnbbAGvB2E3cyG8E7Y4U" = linkonce global ptr null, align 8
|
|
@23 = private unnamed_addr constant [1 x i8] c"n", align 1
|
|
@24 = private unnamed_addr constant [2 x i8] c"T5", align 1
|
|
@"*_llgo_main.T5" = linkonce global ptr null, align 8
|
|
@_llgo_main.T6 = linkonce global ptr null, align 8
|
|
@25 = private unnamed_addr constant [7 x i8] c"main.T6", align 1
|
|
@_llgo_Pointer = linkonce global ptr null, align 8
|
|
@"main.struct$ShRx0rnZQIkym8zpNxljLHWZbDzaCdzDkVBTe78YZMw" = linkonce global ptr null, align 8
|
|
@26 = private unnamed_addr constant [1 x i8] c"f", align 1
|
|
@27 = private unnamed_addr constant [4 x i8] c"data", align 1
|
|
@28 = private unnamed_addr constant [2 x i8] c"T6", align 1
|
|
@"*_llgo_main.T6" = linkonce global ptr null, align 8
|
|
@"_llgo_iface$jwmSdgh1zvY_TDIgLzCkvkbiyrdwl9N806DH0JGcyMI" = linkonce global ptr null, align 8
|
|
@29 = private unnamed_addr constant [5 x i8] c"world", align 1
|
|
@_llgo_main.I = linkonce global ptr null, align 8
|
|
@30 = private unnamed_addr constant [6 x i8] c"main.I", align 1
|
|
@31 = private unnamed_addr constant [21 x i8] c"type assertion failed", align 1
|
|
@_llgo_any = linkonce global ptr null, align 8
|
|
|
|
define i64 @main.T.Invoke(%main.T %0) {
|
|
_llgo_0:
|
|
%1 = alloca %main.T, align 8
|
|
call void @llvm.memset(ptr %1, i8 0, i64 16, i1 false)
|
|
store %main.T %0, ptr %1, align 8
|
|
%2 = getelementptr inbounds %main.T, ptr %1, i32 0, i32 0
|
|
%3 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %2, align 8
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintString"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @0, i64 6 })
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintByte"(i8 32)
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintString"(%"github.com/goplus/llgo/internal/runtime.String" %3)
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintByte"(i8 10)
|
|
ret i64 0
|
|
}
|
|
|
|
define i64 @"main.(*T).Invoke"(ptr %0) {
|
|
_llgo_0:
|
|
%1 = load %main.T, ptr %0, align 8
|
|
%2 = call i64 @main.T.Invoke(%main.T %1)
|
|
ret i64 %2
|
|
}
|
|
|
|
define void @"main.(*T).Method"(ptr %0) {
|
|
_llgo_0:
|
|
ret void
|
|
}
|
|
|
|
define i64 @main.T1.Invoke(i64 %0) {
|
|
_llgo_0:
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintString"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @1, i64 7 })
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintByte"(i8 32)
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintInt"(i64 %0)
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintByte"(i8 10)
|
|
ret i64 1
|
|
}
|
|
|
|
define i64 @"main.(*T1).Invoke"(ptr %0) {
|
|
_llgo_0:
|
|
%1 = load i64, ptr %0, align 4
|
|
%2 = call i64 @main.T1.Invoke(i64 %1)
|
|
ret i64 %2
|
|
}
|
|
|
|
define i64 @main.T2.Invoke(double %0) {
|
|
_llgo_0:
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintString"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @2, i64 7 })
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintByte"(i8 32)
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintFloat"(double %0)
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintByte"(i8 10)
|
|
ret i64 2
|
|
}
|
|
|
|
define i64 @"main.(*T2).Invoke"(ptr %0) {
|
|
_llgo_0:
|
|
%1 = load double, ptr %0, align 8
|
|
%2 = call i64 @main.T2.Invoke(double %1)
|
|
ret i64 %2
|
|
}
|
|
|
|
define i64 @"main.(*T3).Invoke"(ptr %0) {
|
|
_llgo_0:
|
|
%1 = load i8, ptr %0, align 1
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintString"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @3, i64 7 })
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintByte"(i8 32)
|
|
%2 = sext i8 %1 to i64
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintInt"(i64 %2)
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintByte"(i8 10)
|
|
ret i64 3
|
|
}
|
|
|
|
define i64 @main.T4.Invoke([1 x i64] %0) {
|
|
_llgo_0:
|
|
%1 = alloca [1 x i64], align 8
|
|
call void @llvm.memset(ptr %1, i8 0, i64 8, i1 false)
|
|
store [1 x i64] %0, ptr %1, align 4
|
|
%2 = getelementptr inbounds i64, ptr %1, i64 0
|
|
%3 = load i64, ptr %2, align 4
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintString"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @4, i64 7 })
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintByte"(i8 32)
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintInt"(i64 %3)
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintByte"(i8 10)
|
|
ret i64 4
|
|
}
|
|
|
|
define i64 @"main.(*T4).Invoke"(ptr %0) {
|
|
_llgo_0:
|
|
%1 = load [1 x i64], ptr %0, align 4
|
|
%2 = call i64 @main.T4.Invoke([1 x i64] %1)
|
|
ret i64 %2
|
|
}
|
|
|
|
define i64 @main.T5.Invoke(%main.T5 %0) {
|
|
_llgo_0:
|
|
%1 = alloca %main.T5, align 8
|
|
call void @llvm.memset(ptr %1, i8 0, i64 8, i1 false)
|
|
store %main.T5 %0, ptr %1, align 4
|
|
%2 = getelementptr inbounds %main.T5, ptr %1, i32 0, i32 0
|
|
%3 = load i64, ptr %2, align 4
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintString"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @5, i64 7 })
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintByte"(i8 32)
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintInt"(i64 %3)
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintByte"(i8 10)
|
|
ret i64 5
|
|
}
|
|
|
|
define i64 @"main.(*T5).Invoke"(ptr %0) {
|
|
_llgo_0:
|
|
%1 = load %main.T5, ptr %0, align 4
|
|
%2 = call i64 @main.T5.Invoke(%main.T5 %1)
|
|
ret i64 %2
|
|
}
|
|
|
|
define i64 @main.T6.Invoke(%main.T6 %0) {
|
|
_llgo_0:
|
|
%1 = extractvalue %main.T6 %0, 1
|
|
%2 = extractvalue %main.T6 %0, 0
|
|
%3 = call i64 %2(ptr %1)
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintString"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @6, i64 7 })
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintByte"(i8 32)
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintInt"(i64 %3)
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintByte"(i8 10)
|
|
ret i64 6
|
|
}
|
|
|
|
define i64 @"main.(*T6).Invoke"(ptr %0) {
|
|
_llgo_0:
|
|
%1 = load %main.T6, ptr %0, align 8
|
|
%2 = call i64 @main.T6.Invoke(%main.T6 %1)
|
|
ret i64 %2
|
|
}
|
|
|
|
define void @main.init() {
|
|
_llgo_0:
|
|
%0 = load i1, ptr @"main.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
|
|
call void @"main.init$after"()
|
|
br label %_llgo_2
|
|
|
|
_llgo_2: ; preds = %_llgo_1, %_llgo_0
|
|
ret void
|
|
}
|
|
|
|
define void @main.invoke(%"github.com/goplus/llgo/internal/runtime.iface" %0) {
|
|
_llgo_0:
|
|
%1 = call ptr @"github.com/goplus/llgo/internal/runtime.IfacePtrData"(%"github.com/goplus/llgo/internal/runtime.iface" %0)
|
|
%2 = extractvalue %"github.com/goplus/llgo/internal/runtime.iface" %0, 0
|
|
%3 = getelementptr ptr, ptr %2, i64 3
|
|
%4 = load ptr, ptr %3, align 8
|
|
%5 = insertvalue { ptr, ptr } undef, ptr %4, 0
|
|
%6 = insertvalue { ptr, ptr } %5, ptr %1, 1
|
|
%7 = extractvalue { ptr, ptr } %6, 1
|
|
%8 = extractvalue { ptr, ptr } %6, 0
|
|
%9 = call i64 %8(ptr %7)
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintInt"(i64 %9)
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintByte"(i8 10)
|
|
ret void
|
|
}
|
|
|
|
define i32 @main(i32 %0, ptr %1) {
|
|
_llgo_0:
|
|
store i32 %0, ptr @__llgo_argc, align 4
|
|
store ptr %1, ptr @__llgo_argv, align 8
|
|
call void @"github.com/goplus/llgo/internal/runtime.init"()
|
|
call void @main.init()
|
|
%2 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocZ"(i64 16)
|
|
%3 = getelementptr inbounds %main.T, ptr %2, i32 0, i32 0
|
|
store %"github.com/goplus/llgo/internal/runtime.String" { ptr @7, i64 5 }, ptr %3, align 8
|
|
%4 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocZ"(i64 8)
|
|
store i64 100, ptr %4, align 4
|
|
%5 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocZ"(i64 8)
|
|
store double 1.001000e+02, ptr %5, align 8
|
|
%6 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocZ"(i64 1)
|
|
store i8 127, ptr %6, align 1
|
|
%7 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocZ"(i64 8)
|
|
%8 = getelementptr inbounds i64, ptr %7, i64 0
|
|
store i64 200, ptr %8, align 4
|
|
%9 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocZ"(i64 8)
|
|
%10 = getelementptr inbounds %main.T5, ptr %9, i32 0, i32 0
|
|
store i64 300, ptr %10, align 4
|
|
%11 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocZ"(i64 16)
|
|
store %main.T6 { ptr @"__llgo_stub.main.main$1", ptr null }, ptr %11, align 8
|
|
%12 = load %main.T, ptr %2, align 8
|
|
%13 = load ptr, ptr @_llgo_main.T, align 8
|
|
%14 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 16)
|
|
store %main.T %12, ptr %14, align 8
|
|
%15 = load ptr, ptr @"_llgo_func$ETeB8WwW04JEq0ztcm-XPTJtuYvtpkjIsAc0-2NT9zA", align 8
|
|
%16 = load ptr, ptr @"_llgo_iface$uRUteI7wmSy7y7ODhGzk0FdDaxGKMhVSSu6HZEv9aa0", align 8
|
|
%17 = call ptr @"github.com/goplus/llgo/internal/runtime.NewItab"(ptr %16, ptr %13)
|
|
%18 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" undef, ptr %17, 0
|
|
%19 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" %18, ptr %14, 1
|
|
call void @main.invoke(%"github.com/goplus/llgo/internal/runtime.iface" %19)
|
|
%20 = load ptr, ptr @"*_llgo_main.T", align 8
|
|
%21 = load ptr, ptr @"_llgo_iface$uRUteI7wmSy7y7ODhGzk0FdDaxGKMhVSSu6HZEv9aa0", align 8
|
|
%22 = call ptr @"github.com/goplus/llgo/internal/runtime.NewItab"(ptr %21, ptr %20)
|
|
%23 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" undef, ptr %22, 0
|
|
%24 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" %23, ptr %2, 1
|
|
call void @main.invoke(%"github.com/goplus/llgo/internal/runtime.iface" %24)
|
|
%25 = load i64, ptr %4, align 4
|
|
%26 = load ptr, ptr @_llgo_main.T1, align 8
|
|
%27 = inttoptr i64 %25 to ptr
|
|
%28 = load ptr, ptr @"_llgo_iface$uRUteI7wmSy7y7ODhGzk0FdDaxGKMhVSSu6HZEv9aa0", align 8
|
|
%29 = call ptr @"github.com/goplus/llgo/internal/runtime.NewItab"(ptr %28, ptr %26)
|
|
%30 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" undef, ptr %29, 0
|
|
%31 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" %30, ptr %27, 1
|
|
call void @main.invoke(%"github.com/goplus/llgo/internal/runtime.iface" %31)
|
|
%32 = load ptr, ptr @"*_llgo_main.T1", align 8
|
|
%33 = load ptr, ptr @"_llgo_iface$uRUteI7wmSy7y7ODhGzk0FdDaxGKMhVSSu6HZEv9aa0", align 8
|
|
%34 = call ptr @"github.com/goplus/llgo/internal/runtime.NewItab"(ptr %33, ptr %32)
|
|
%35 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" undef, ptr %34, 0
|
|
%36 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" %35, ptr %4, 1
|
|
call void @main.invoke(%"github.com/goplus/llgo/internal/runtime.iface" %36)
|
|
%37 = load double, ptr %5, align 8
|
|
%38 = load ptr, ptr @_llgo_main.T2, align 8
|
|
%39 = bitcast double %37 to i64
|
|
%40 = inttoptr i64 %39 to ptr
|
|
%41 = load ptr, ptr @"_llgo_iface$uRUteI7wmSy7y7ODhGzk0FdDaxGKMhVSSu6HZEv9aa0", align 8
|
|
%42 = call ptr @"github.com/goplus/llgo/internal/runtime.NewItab"(ptr %41, ptr %38)
|
|
%43 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" undef, ptr %42, 0
|
|
%44 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" %43, ptr %40, 1
|
|
call void @main.invoke(%"github.com/goplus/llgo/internal/runtime.iface" %44)
|
|
%45 = load ptr, ptr @"*_llgo_main.T2", align 8
|
|
%46 = load ptr, ptr @"_llgo_iface$uRUteI7wmSy7y7ODhGzk0FdDaxGKMhVSSu6HZEv9aa0", align 8
|
|
%47 = call ptr @"github.com/goplus/llgo/internal/runtime.NewItab"(ptr %46, ptr %45)
|
|
%48 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" undef, ptr %47, 0
|
|
%49 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" %48, ptr %5, 1
|
|
call void @main.invoke(%"github.com/goplus/llgo/internal/runtime.iface" %49)
|
|
%50 = load ptr, ptr @_llgo_main.T3, align 8
|
|
%51 = load ptr, ptr @"*_llgo_main.T3", align 8
|
|
%52 = load ptr, ptr @"_llgo_iface$uRUteI7wmSy7y7ODhGzk0FdDaxGKMhVSSu6HZEv9aa0", align 8
|
|
%53 = call ptr @"github.com/goplus/llgo/internal/runtime.NewItab"(ptr %52, ptr %51)
|
|
%54 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" undef, ptr %53, 0
|
|
%55 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" %54, ptr %6, 1
|
|
call void @main.invoke(%"github.com/goplus/llgo/internal/runtime.iface" %55)
|
|
%56 = load [1 x i64], ptr %7, align 4
|
|
%57 = load ptr, ptr @_llgo_main.T4, align 8
|
|
%58 = extractvalue [1 x i64] %56, 0
|
|
%59 = inttoptr i64 %58 to ptr
|
|
%60 = load ptr, ptr @"_llgo_iface$uRUteI7wmSy7y7ODhGzk0FdDaxGKMhVSSu6HZEv9aa0", align 8
|
|
%61 = call ptr @"github.com/goplus/llgo/internal/runtime.NewItab"(ptr %60, ptr %57)
|
|
%62 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" undef, ptr %61, 0
|
|
%63 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" %62, ptr %59, 1
|
|
call void @main.invoke(%"github.com/goplus/llgo/internal/runtime.iface" %63)
|
|
%64 = load ptr, ptr @"*_llgo_main.T4", align 8
|
|
%65 = load ptr, ptr @"_llgo_iface$uRUteI7wmSy7y7ODhGzk0FdDaxGKMhVSSu6HZEv9aa0", align 8
|
|
%66 = call ptr @"github.com/goplus/llgo/internal/runtime.NewItab"(ptr %65, ptr %64)
|
|
%67 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" undef, ptr %66, 0
|
|
%68 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" %67, ptr %7, 1
|
|
call void @main.invoke(%"github.com/goplus/llgo/internal/runtime.iface" %68)
|
|
%69 = load %main.T5, ptr %9, align 4
|
|
%70 = load ptr, ptr @_llgo_main.T5, align 8
|
|
%71 = extractvalue %main.T5 %69, 0
|
|
%72 = inttoptr i64 %71 to ptr
|
|
%73 = load ptr, ptr @"_llgo_iface$uRUteI7wmSy7y7ODhGzk0FdDaxGKMhVSSu6HZEv9aa0", align 8
|
|
%74 = call ptr @"github.com/goplus/llgo/internal/runtime.NewItab"(ptr %73, ptr %70)
|
|
%75 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" undef, ptr %74, 0
|
|
%76 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" %75, ptr %72, 1
|
|
call void @main.invoke(%"github.com/goplus/llgo/internal/runtime.iface" %76)
|
|
%77 = load ptr, ptr @"*_llgo_main.T5", align 8
|
|
%78 = load ptr, ptr @"_llgo_iface$uRUteI7wmSy7y7ODhGzk0FdDaxGKMhVSSu6HZEv9aa0", align 8
|
|
%79 = call ptr @"github.com/goplus/llgo/internal/runtime.NewItab"(ptr %78, ptr %77)
|
|
%80 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" undef, ptr %79, 0
|
|
%81 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" %80, ptr %9, 1
|
|
call void @main.invoke(%"github.com/goplus/llgo/internal/runtime.iface" %81)
|
|
%82 = load %main.T6, ptr %11, align 8
|
|
%83 = load ptr, ptr @_llgo_main.T6, align 8
|
|
call void @"github.com/goplus/llgo/internal/runtime.SetClosure"(ptr %83)
|
|
%84 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 16)
|
|
store %main.T6 %82, ptr %84, align 8
|
|
%85 = load ptr, ptr @"_llgo_iface$uRUteI7wmSy7y7ODhGzk0FdDaxGKMhVSSu6HZEv9aa0", align 8
|
|
%86 = call ptr @"github.com/goplus/llgo/internal/runtime.NewItab"(ptr %85, ptr %83)
|
|
%87 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" undef, ptr %86, 0
|
|
%88 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" %87, ptr %84, 1
|
|
call void @main.invoke(%"github.com/goplus/llgo/internal/runtime.iface" %88)
|
|
%89 = load ptr, ptr @"*_llgo_main.T6", align 8
|
|
%90 = load ptr, ptr @"_llgo_iface$uRUteI7wmSy7y7ODhGzk0FdDaxGKMhVSSu6HZEv9aa0", align 8
|
|
%91 = call ptr @"github.com/goplus/llgo/internal/runtime.NewItab"(ptr %90, ptr %89)
|
|
%92 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" undef, ptr %91, 0
|
|
%93 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" %92, ptr %11, 1
|
|
call void @main.invoke(%"github.com/goplus/llgo/internal/runtime.iface" %93)
|
|
%94 = call ptr @"github.com/goplus/llgo/internal/runtime.IfaceType"(%"github.com/goplus/llgo/internal/runtime.iface" zeroinitializer)
|
|
%95 = load ptr, ptr @"_llgo_iface$uRUteI7wmSy7y7ODhGzk0FdDaxGKMhVSSu6HZEv9aa0", align 8
|
|
%96 = call ptr @"github.com/goplus/llgo/internal/runtime.NewItab"(ptr %95, ptr %94)
|
|
%97 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" undef, ptr %96, 0
|
|
%98 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" %97, ptr null, 1
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintIface"(%"github.com/goplus/llgo/internal/runtime.iface" %98)
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintByte"(i8 32)
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintIface"(%"github.com/goplus/llgo/internal/runtime.iface" zeroinitializer)
|
|
call void @"github.com/goplus/llgo/internal/runtime.PrintByte"(i8 10)
|
|
%99 = load ptr, ptr @"*_llgo_main.T", align 8
|
|
%100 = load ptr, ptr @"_llgo_func$ETeB8WwW04JEq0ztcm-XPTJtuYvtpkjIsAc0-2NT9zA", align 8
|
|
%101 = load ptr, ptr @"_llgo_func$2_iS07vIlF2_rZqWB5eU0IvP_9HviM4MYZNkXZDvbac", align 8
|
|
%102 = load ptr, ptr @"_llgo_iface$jwmSdgh1zvY_TDIgLzCkvkbiyrdwl9N806DH0JGcyMI", align 8
|
|
%103 = call ptr @"github.com/goplus/llgo/internal/runtime.NewItab"(ptr %102, ptr %99)
|
|
%104 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" undef, ptr %103, 0
|
|
%105 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" %104, ptr %2, 1
|
|
%106 = call ptr @"github.com/goplus/llgo/internal/runtime.IfaceType"(%"github.com/goplus/llgo/internal/runtime.iface" %105)
|
|
%107 = extractvalue %"github.com/goplus/llgo/internal/runtime.iface" %105, 1
|
|
%108 = load ptr, ptr @"_llgo_iface$uRUteI7wmSy7y7ODhGzk0FdDaxGKMhVSSu6HZEv9aa0", align 8
|
|
%109 = call ptr @"github.com/goplus/llgo/internal/runtime.NewItab"(ptr %108, ptr %106)
|
|
%110 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" undef, ptr %109, 0
|
|
%111 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" %110, ptr %107, 1
|
|
call void @main.invoke(%"github.com/goplus/llgo/internal/runtime.iface" %111)
|
|
%112 = alloca %main.T, align 8
|
|
call void @llvm.memset(ptr %112, i8 0, i64 16, i1 false)
|
|
%113 = getelementptr inbounds %main.T, ptr %112, i32 0, i32 0
|
|
store %"github.com/goplus/llgo/internal/runtime.String" { ptr @29, i64 5 }, ptr %113, align 8
|
|
%114 = load %main.T, ptr %112, align 8
|
|
%115 = load ptr, ptr @_llgo_main.T, align 8
|
|
%116 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 16)
|
|
store %main.T %114, ptr %116, align 8
|
|
%117 = insertvalue %"github.com/goplus/llgo/internal/runtime.eface" undef, ptr %115, 0
|
|
%118 = insertvalue %"github.com/goplus/llgo/internal/runtime.eface" %117, ptr %116, 1
|
|
%119 = extractvalue %"github.com/goplus/llgo/internal/runtime.eface" %118, 0
|
|
%120 = load ptr, ptr @_llgo_main.I, align 8
|
|
%121 = call i1 @"github.com/goplus/llgo/internal/runtime.Implements"(ptr %120, ptr %119)
|
|
br i1 %121, label %_llgo_1, label %_llgo_2
|
|
|
|
_llgo_1: ; preds = %_llgo_0
|
|
%122 = extractvalue %"github.com/goplus/llgo/internal/runtime.eface" %118, 1
|
|
%123 = load ptr, ptr @"_llgo_iface$uRUteI7wmSy7y7ODhGzk0FdDaxGKMhVSSu6HZEv9aa0", align 8
|
|
%124 = call ptr @"github.com/goplus/llgo/internal/runtime.NewItab"(ptr %123, ptr %119)
|
|
%125 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" undef, ptr %124, 0
|
|
%126 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" %125, ptr %122, 1
|
|
call void @main.invoke(%"github.com/goplus/llgo/internal/runtime.iface" %126)
|
|
%127 = extractvalue %"github.com/goplus/llgo/internal/runtime.eface" %118, 0
|
|
%128 = load ptr, ptr @_llgo_any, align 8
|
|
%129 = call i1 @"github.com/goplus/llgo/internal/runtime.Implements"(ptr %128, ptr %127)
|
|
br i1 %129, label %_llgo_3, label %_llgo_4
|
|
|
|
_llgo_2: ; preds = %_llgo_0
|
|
%130 = load ptr, ptr @_llgo_string, align 8
|
|
%131 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 16)
|
|
store %"github.com/goplus/llgo/internal/runtime.String" { ptr @31, i64 21 }, ptr %131, align 8
|
|
%132 = insertvalue %"github.com/goplus/llgo/internal/runtime.eface" undef, ptr %130, 0
|
|
%133 = insertvalue %"github.com/goplus/llgo/internal/runtime.eface" %132, ptr %131, 1
|
|
call void @"github.com/goplus/llgo/internal/runtime.Panic"(%"github.com/goplus/llgo/internal/runtime.eface" %133)
|
|
unreachable
|
|
|
|
_llgo_3: ; preds = %_llgo_1
|
|
%134 = extractvalue %"github.com/goplus/llgo/internal/runtime.eface" %118, 1
|
|
%135 = insertvalue %"github.com/goplus/llgo/internal/runtime.eface" undef, ptr %127, 0
|
|
%136 = insertvalue %"github.com/goplus/llgo/internal/runtime.eface" %135, ptr %134, 1
|
|
%137 = extractvalue %"github.com/goplus/llgo/internal/runtime.eface" %136, 0
|
|
%138 = load ptr, ptr @"_llgo_iface$uRUteI7wmSy7y7ODhGzk0FdDaxGKMhVSSu6HZEv9aa0", align 8
|
|
%139 = call i1 @"github.com/goplus/llgo/internal/runtime.Implements"(ptr %138, ptr %137)
|
|
br i1 %139, label %_llgo_5, label %_llgo_6
|
|
|
|
_llgo_4: ; preds = %_llgo_1
|
|
%140 = load ptr, ptr @_llgo_string, align 8
|
|
%141 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 16)
|
|
store %"github.com/goplus/llgo/internal/runtime.String" { ptr @31, i64 21 }, ptr %141, align 8
|
|
%142 = insertvalue %"github.com/goplus/llgo/internal/runtime.eface" undef, ptr %140, 0
|
|
%143 = insertvalue %"github.com/goplus/llgo/internal/runtime.eface" %142, ptr %141, 1
|
|
call void @"github.com/goplus/llgo/internal/runtime.Panic"(%"github.com/goplus/llgo/internal/runtime.eface" %143)
|
|
unreachable
|
|
|
|
_llgo_5: ; preds = %_llgo_3
|
|
%144 = extractvalue %"github.com/goplus/llgo/internal/runtime.eface" %136, 1
|
|
%145 = load ptr, ptr @"_llgo_iface$uRUteI7wmSy7y7ODhGzk0FdDaxGKMhVSSu6HZEv9aa0", align 8
|
|
%146 = call ptr @"github.com/goplus/llgo/internal/runtime.NewItab"(ptr %145, ptr %137)
|
|
%147 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" undef, ptr %146, 0
|
|
%148 = insertvalue %"github.com/goplus/llgo/internal/runtime.iface" %147, ptr %144, 1
|
|
call void @main.invoke(%"github.com/goplus/llgo/internal/runtime.iface" %148)
|
|
ret i32 0
|
|
|
|
_llgo_6: ; preds = %_llgo_3
|
|
%149 = load ptr, ptr @_llgo_string, align 8
|
|
%150 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 16)
|
|
store %"github.com/goplus/llgo/internal/runtime.String" { ptr @31, i64 21 }, ptr %150, align 8
|
|
%151 = insertvalue %"github.com/goplus/llgo/internal/runtime.eface" undef, ptr %149, 0
|
|
%152 = insertvalue %"github.com/goplus/llgo/internal/runtime.eface" %151, ptr %150, 1
|
|
call void @"github.com/goplus/llgo/internal/runtime.Panic"(%"github.com/goplus/llgo/internal/runtime.eface" %152)
|
|
unreachable
|
|
}
|
|
|
|
define i64 @"main.main$1"() {
|
|
_llgo_0:
|
|
ret i64 400
|
|
}
|
|
|
|
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
|
|
declare void @llvm.memset(ptr nocapture writeonly, i8, i64, i1 immarg) #0
|
|
|
|
declare void @"github.com/goplus/llgo/internal/runtime.PrintString"(%"github.com/goplus/llgo/internal/runtime.String")
|
|
|
|
declare void @"github.com/goplus/llgo/internal/runtime.PrintByte"(i8)
|
|
|
|
declare void @"github.com/goplus/llgo/internal/runtime.PrintInt"(i64)
|
|
|
|
declare void @"github.com/goplus/llgo/internal/runtime.PrintFloat"(double)
|
|
|
|
declare ptr @"github.com/goplus/llgo/internal/runtime.IfacePtrData"(%"github.com/goplus/llgo/internal/runtime.iface")
|
|
|
|
declare void @"github.com/goplus/llgo/internal/runtime.init"()
|
|
|
|
declare ptr @"github.com/goplus/llgo/internal/runtime.AllocZ"(i64)
|
|
|
|
define linkonce i64 @"__llgo_stub.main.main$1"(ptr %0) {
|
|
_llgo_0:
|
|
%1 = tail call i64 @"main.main$1"()
|
|
ret i64 %1
|
|
}
|
|
|
|
define void @"main.init$after"() {
|
|
_llgo_0:
|
|
%0 = call ptr @"github.com/goplus/llgo/internal/runtime.NewNamed"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @8, i64 6 }, i64 25, i64 16, i64 1, i64 2)
|
|
%1 = load ptr, ptr @_llgo_main.T, align 8
|
|
%2 = icmp eq ptr %1, null
|
|
br i1 %2, label %_llgo_1, label %_llgo_2
|
|
|
|
_llgo_1: ; preds = %_llgo_0
|
|
store ptr %0, ptr @_llgo_main.T, align 8
|
|
br label %_llgo_2
|
|
|
|
_llgo_2: ; preds = %_llgo_1, %_llgo_0
|
|
%3 = load ptr, ptr @_llgo_string, align 8
|
|
%4 = icmp eq ptr %3, null
|
|
br i1 %4, label %_llgo_3, label %_llgo_4
|
|
|
|
_llgo_3: ; preds = %_llgo_2
|
|
%5 = call ptr @"github.com/goplus/llgo/internal/runtime.Basic"(i64 24)
|
|
store ptr %5, ptr @_llgo_string, align 8
|
|
br label %_llgo_4
|
|
|
|
_llgo_4: ; preds = %_llgo_3, %_llgo_2
|
|
%6 = load ptr, ptr @_llgo_string, align 8
|
|
%7 = call ptr @"github.com/goplus/llgo/internal/runtime.Basic"(i64 24)
|
|
%8 = call %"github.com/goplus/llgo/internal/abi.StructField" @"github.com/goplus/llgo/internal/runtime.StructField"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @9, i64 1 }, ptr %7, i64 0, %"github.com/goplus/llgo/internal/runtime.String" zeroinitializer, i1 false)
|
|
%9 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 56)
|
|
%10 = getelementptr %"github.com/goplus/llgo/internal/abi.StructField", ptr %9, i64 0
|
|
store %"github.com/goplus/llgo/internal/abi.StructField" %8, ptr %10, align 8
|
|
%11 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" undef, ptr %9, 0
|
|
%12 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %11, i64 1, 1
|
|
%13 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %12, i64 1, 2
|
|
%14 = call ptr @"github.com/goplus/llgo/internal/runtime.Struct"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @10, i64 4 }, i64 16, %"github.com/goplus/llgo/internal/runtime.Slice" %13)
|
|
store ptr %14, ptr @"main.struct$QTufDJA9wEDzuzgkA-ZSrLqW-B6lWN8O25mTSglAoLQ", align 8
|
|
%15 = load ptr, ptr @"main.struct$QTufDJA9wEDzuzgkA-ZSrLqW-B6lWN8O25mTSglAoLQ", align 8
|
|
br i1 %2, label %_llgo_5, label %_llgo_6
|
|
|
|
_llgo_5: ; preds = %_llgo_4
|
|
%16 = load ptr, ptr @_llgo_int, align 8
|
|
%17 = icmp eq ptr %16, null
|
|
br i1 %17, label %_llgo_7, label %_llgo_8
|
|
|
|
_llgo_6: ; preds = %_llgo_12, %_llgo_4
|
|
%18 = load ptr, ptr @"_llgo_func$ETeB8WwW04JEq0ztcm-XPTJtuYvtpkjIsAc0-2NT9zA", align 8
|
|
%19 = load ptr, ptr @"_llgo_iface$uRUteI7wmSy7y7ODhGzk0FdDaxGKMhVSSu6HZEv9aa0", align 8
|
|
%20 = icmp eq ptr %19, null
|
|
br i1 %20, label %_llgo_13, label %_llgo_14
|
|
|
|
_llgo_7: ; preds = %_llgo_5
|
|
%21 = call ptr @"github.com/goplus/llgo/internal/runtime.Basic"(i64 34)
|
|
store ptr %21, ptr @_llgo_int, align 8
|
|
br label %_llgo_8
|
|
|
|
_llgo_8: ; preds = %_llgo_7, %_llgo_5
|
|
%22 = load ptr, ptr @_llgo_int, align 8
|
|
%23 = load ptr, ptr @_llgo_int, align 8
|
|
%24 = load ptr, ptr @"_llgo_func$ETeB8WwW04JEq0ztcm-XPTJtuYvtpkjIsAc0-2NT9zA", align 8
|
|
%25 = icmp eq ptr %24, null
|
|
br i1 %25, label %_llgo_9, label %_llgo_10
|
|
|
|
_llgo_9: ; preds = %_llgo_8
|
|
%26 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 0)
|
|
%27 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" undef, ptr %26, 0
|
|
%28 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %27, i64 0, 1
|
|
%29 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %28, i64 0, 2
|
|
%30 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 8)
|
|
%31 = getelementptr ptr, ptr %30, i64 0
|
|
store ptr %23, ptr %31, align 8
|
|
%32 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" undef, ptr %30, 0
|
|
%33 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %32, i64 1, 1
|
|
%34 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %33, i64 1, 2
|
|
%35 = call ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice" %29, %"github.com/goplus/llgo/internal/runtime.Slice" %34, i1 false)
|
|
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %35)
|
|
store ptr %35, ptr @"_llgo_func$ETeB8WwW04JEq0ztcm-XPTJtuYvtpkjIsAc0-2NT9zA", align 8
|
|
br label %_llgo_10
|
|
|
|
_llgo_10: ; preds = %_llgo_9, %_llgo_8
|
|
%36 = load ptr, ptr @"_llgo_func$ETeB8WwW04JEq0ztcm-XPTJtuYvtpkjIsAc0-2NT9zA", align 8
|
|
%37 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" { %"github.com/goplus/llgo/internal/runtime.String" { ptr @11, i64 6 }, ptr undef, ptr undef, ptr undef }, ptr %36, 1
|
|
%38 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" %37, ptr @"main.(*T).Invoke", 2
|
|
%39 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" %38, ptr @"main.(*T).Invoke", 3
|
|
%40 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" { %"github.com/goplus/llgo/internal/runtime.String" { ptr @11, i64 6 }, ptr undef, ptr undef, ptr undef }, ptr %36, 1
|
|
%41 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" %40, ptr @"main.(*T).Invoke", 2
|
|
%42 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" %41, ptr @main.T.Invoke, 3
|
|
%43 = load ptr, ptr @"_llgo_func$2_iS07vIlF2_rZqWB5eU0IvP_9HviM4MYZNkXZDvbac", align 8
|
|
%44 = icmp eq ptr %43, null
|
|
br i1 %44, label %_llgo_11, label %_llgo_12
|
|
|
|
_llgo_11: ; preds = %_llgo_10
|
|
%45 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 0)
|
|
%46 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" undef, ptr %45, 0
|
|
%47 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %46, i64 0, 1
|
|
%48 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %47, i64 0, 2
|
|
%49 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 0)
|
|
%50 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" undef, ptr %49, 0
|
|
%51 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %50, i64 0, 1
|
|
%52 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %51, i64 0, 2
|
|
%53 = call ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice" %48, %"github.com/goplus/llgo/internal/runtime.Slice" %52, i1 false)
|
|
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %53)
|
|
store ptr %53, ptr @"_llgo_func$2_iS07vIlF2_rZqWB5eU0IvP_9HviM4MYZNkXZDvbac", align 8
|
|
br label %_llgo_12
|
|
|
|
_llgo_12: ; preds = %_llgo_11, %_llgo_10
|
|
%54 = load ptr, ptr @"_llgo_func$2_iS07vIlF2_rZqWB5eU0IvP_9HviM4MYZNkXZDvbac", align 8
|
|
%55 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" { %"github.com/goplus/llgo/internal/runtime.String" { ptr @12, i64 6 }, ptr undef, ptr undef, ptr undef }, ptr %54, 1
|
|
%56 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" %55, ptr @"main.(*T).Method", 2
|
|
%57 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" %56, ptr @"main.(*T).Method", 3
|
|
%58 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 40)
|
|
%59 = getelementptr %"github.com/goplus/llgo/internal/abi.Method", ptr %58, i64 0
|
|
store %"github.com/goplus/llgo/internal/abi.Method" %42, ptr %59, align 8
|
|
%60 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" undef, ptr %58, 0
|
|
%61 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %60, i64 1, 1
|
|
%62 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %61, i64 1, 2
|
|
%63 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 80)
|
|
%64 = getelementptr %"github.com/goplus/llgo/internal/abi.Method", ptr %63, i64 0
|
|
store %"github.com/goplus/llgo/internal/abi.Method" %39, ptr %64, align 8
|
|
%65 = getelementptr %"github.com/goplus/llgo/internal/abi.Method", ptr %63, i64 1
|
|
store %"github.com/goplus/llgo/internal/abi.Method" %57, ptr %65, align 8
|
|
%66 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" undef, ptr %63, 0
|
|
%67 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %66, i64 2, 1
|
|
%68 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %67, i64 2, 2
|
|
call void @"github.com/goplus/llgo/internal/runtime.InitNamed"(ptr %0, %"github.com/goplus/llgo/internal/runtime.String" { ptr @10, i64 4 }, %"github.com/goplus/llgo/internal/runtime.String" { ptr @13, i64 1 }, ptr %15, %"github.com/goplus/llgo/internal/runtime.Slice" %62, %"github.com/goplus/llgo/internal/runtime.Slice" %68)
|
|
br label %_llgo_6
|
|
|
|
_llgo_13: ; preds = %_llgo_6
|
|
%69 = insertvalue %"github.com/goplus/llgo/internal/abi.Imethod" { %"github.com/goplus/llgo/internal/runtime.String" { ptr @11, i64 6 }, ptr undef }, ptr %18, 1
|
|
%70 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 24)
|
|
%71 = getelementptr %"github.com/goplus/llgo/internal/abi.Imethod", ptr %70, i64 0
|
|
store %"github.com/goplus/llgo/internal/abi.Imethod" %69, ptr %71, align 8
|
|
%72 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" undef, ptr %70, 0
|
|
%73 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %72, i64 1, 1
|
|
%74 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %73, i64 1, 2
|
|
%75 = call ptr @"github.com/goplus/llgo/internal/runtime.Interface"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @10, i64 4 }, %"github.com/goplus/llgo/internal/runtime.String" zeroinitializer, %"github.com/goplus/llgo/internal/runtime.Slice" %74)
|
|
store ptr %75, ptr @"_llgo_iface$uRUteI7wmSy7y7ODhGzk0FdDaxGKMhVSSu6HZEv9aa0", align 8
|
|
br label %_llgo_14
|
|
|
|
_llgo_14: ; preds = %_llgo_13, %_llgo_6
|
|
%76 = call ptr @"github.com/goplus/llgo/internal/runtime.NewNamed"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @8, i64 6 }, i64 25, i64 16, i64 1, i64 2)
|
|
%77 = load ptr, ptr @"*_llgo_main.T", align 8
|
|
%78 = icmp eq ptr %77, null
|
|
br i1 %78, label %_llgo_15, label %_llgo_16
|
|
|
|
_llgo_15: ; preds = %_llgo_14
|
|
%79 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %76)
|
|
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %79)
|
|
store ptr %79, ptr @"*_llgo_main.T", align 8
|
|
br label %_llgo_16
|
|
|
|
_llgo_16: ; preds = %_llgo_15, %_llgo_14
|
|
%80 = call ptr @"github.com/goplus/llgo/internal/runtime.NewNamed"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @14, i64 7 }, i64 2, i64 8, i64 1, i64 1)
|
|
%81 = load ptr, ptr @_llgo_main.T1, align 8
|
|
%82 = icmp eq ptr %81, null
|
|
br i1 %82, label %_llgo_17, label %_llgo_18
|
|
|
|
_llgo_17: ; preds = %_llgo_16
|
|
store ptr %80, ptr @_llgo_main.T1, align 8
|
|
br label %_llgo_18
|
|
|
|
_llgo_18: ; preds = %_llgo_17, %_llgo_16
|
|
%83 = load ptr, ptr @_llgo_int, align 8
|
|
br i1 %82, label %_llgo_19, label %_llgo_20
|
|
|
|
_llgo_19: ; preds = %_llgo_18
|
|
%84 = load ptr, ptr @"_llgo_func$ETeB8WwW04JEq0ztcm-XPTJtuYvtpkjIsAc0-2NT9zA", align 8
|
|
%85 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" { %"github.com/goplus/llgo/internal/runtime.String" { ptr @11, i64 6 }, ptr undef, ptr undef, ptr undef }, ptr %84, 1
|
|
%86 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" %85, ptr @"main.(*T1).Invoke", 2
|
|
%87 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" %86, ptr @"main.(*T1).Invoke", 3
|
|
%88 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" { %"github.com/goplus/llgo/internal/runtime.String" { ptr @11, i64 6 }, ptr undef, ptr undef, ptr undef }, ptr %84, 1
|
|
%89 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" %88, ptr @"main.(*T1).Invoke", 2
|
|
%90 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" %89, ptr @main.T1.Invoke, 3
|
|
%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" %90, ptr %92, align 8
|
|
%93 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" undef, ptr %91, 0
|
|
%94 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %93, i64 1, 1
|
|
%95 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %94, i64 1, 2
|
|
%96 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 40)
|
|
%97 = getelementptr %"github.com/goplus/llgo/internal/abi.Method", ptr %96, i64 0
|
|
store %"github.com/goplus/llgo/internal/abi.Method" %87, ptr %97, align 8
|
|
%98 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" undef, ptr %96, 0
|
|
%99 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %98, i64 1, 1
|
|
%100 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %99, i64 1, 2
|
|
call void @"github.com/goplus/llgo/internal/runtime.InitNamed"(ptr %80, %"github.com/goplus/llgo/internal/runtime.String" { ptr @10, i64 4 }, %"github.com/goplus/llgo/internal/runtime.String" { ptr @15, i64 2 }, ptr %83, %"github.com/goplus/llgo/internal/runtime.Slice" %95, %"github.com/goplus/llgo/internal/runtime.Slice" %100)
|
|
br label %_llgo_20
|
|
|
|
_llgo_20: ; preds = %_llgo_19, %_llgo_18
|
|
%101 = call ptr @"github.com/goplus/llgo/internal/runtime.NewNamed"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @14, i64 7 }, i64 2, i64 8, i64 1, i64 1)
|
|
%102 = load ptr, ptr @"*_llgo_main.T1", align 8
|
|
%103 = icmp eq ptr %102, null
|
|
br i1 %103, label %_llgo_21, label %_llgo_22
|
|
|
|
_llgo_21: ; preds = %_llgo_20
|
|
%104 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %101)
|
|
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %104)
|
|
store ptr %104, ptr @"*_llgo_main.T1", align 8
|
|
br label %_llgo_22
|
|
|
|
_llgo_22: ; preds = %_llgo_21, %_llgo_20
|
|
%105 = call ptr @"github.com/goplus/llgo/internal/runtime.NewNamed"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @16, i64 7 }, i64 14, i64 8, i64 1, i64 1)
|
|
%106 = load ptr, ptr @_llgo_main.T2, align 8
|
|
%107 = icmp eq ptr %106, null
|
|
br i1 %107, label %_llgo_23, label %_llgo_24
|
|
|
|
_llgo_23: ; preds = %_llgo_22
|
|
store ptr %105, ptr @_llgo_main.T2, align 8
|
|
br label %_llgo_24
|
|
|
|
_llgo_24: ; preds = %_llgo_23, %_llgo_22
|
|
%108 = load ptr, ptr @_llgo_float64, align 8
|
|
%109 = icmp eq ptr %108, null
|
|
br i1 %109, label %_llgo_25, label %_llgo_26
|
|
|
|
_llgo_25: ; preds = %_llgo_24
|
|
%110 = call ptr @"github.com/goplus/llgo/internal/runtime.Basic"(i64 46)
|
|
store ptr %110, ptr @_llgo_float64, align 8
|
|
br label %_llgo_26
|
|
|
|
_llgo_26: ; preds = %_llgo_25, %_llgo_24
|
|
%111 = load ptr, ptr @_llgo_float64, align 8
|
|
br i1 %107, label %_llgo_27, label %_llgo_28
|
|
|
|
_llgo_27: ; preds = %_llgo_26
|
|
%112 = load ptr, ptr @"_llgo_func$ETeB8WwW04JEq0ztcm-XPTJtuYvtpkjIsAc0-2NT9zA", align 8
|
|
%113 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" { %"github.com/goplus/llgo/internal/runtime.String" { ptr @11, i64 6 }, ptr undef, ptr undef, ptr undef }, ptr %112, 1
|
|
%114 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" %113, ptr @"main.(*T2).Invoke", 2
|
|
%115 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" %114, ptr @"main.(*T2).Invoke", 3
|
|
%116 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" { %"github.com/goplus/llgo/internal/runtime.String" { ptr @11, i64 6 }, ptr undef, ptr undef, ptr undef }, ptr %112, 1
|
|
%117 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" %116, ptr @"main.(*T2).Invoke", 2
|
|
%118 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" %117, ptr @main.T2.Invoke, 3
|
|
%119 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 40)
|
|
%120 = getelementptr %"github.com/goplus/llgo/internal/abi.Method", ptr %119, i64 0
|
|
store %"github.com/goplus/llgo/internal/abi.Method" %118, ptr %120, align 8
|
|
%121 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" undef, ptr %119, 0
|
|
%122 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %121, i64 1, 1
|
|
%123 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %122, i64 1, 2
|
|
%124 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 40)
|
|
%125 = getelementptr %"github.com/goplus/llgo/internal/abi.Method", ptr %124, i64 0
|
|
store %"github.com/goplus/llgo/internal/abi.Method" %115, ptr %125, align 8
|
|
%126 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" undef, ptr %124, 0
|
|
%127 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %126, i64 1, 1
|
|
%128 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %127, i64 1, 2
|
|
call void @"github.com/goplus/llgo/internal/runtime.InitNamed"(ptr %105, %"github.com/goplus/llgo/internal/runtime.String" { ptr @10, i64 4 }, %"github.com/goplus/llgo/internal/runtime.String" { ptr @17, i64 2 }, ptr %111, %"github.com/goplus/llgo/internal/runtime.Slice" %123, %"github.com/goplus/llgo/internal/runtime.Slice" %128)
|
|
br label %_llgo_28
|
|
|
|
_llgo_28: ; preds = %_llgo_27, %_llgo_26
|
|
%129 = call ptr @"github.com/goplus/llgo/internal/runtime.NewNamed"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @16, i64 7 }, i64 14, i64 8, i64 1, i64 1)
|
|
%130 = load ptr, ptr @"*_llgo_main.T2", align 8
|
|
%131 = icmp eq ptr %130, null
|
|
br i1 %131, label %_llgo_29, label %_llgo_30
|
|
|
|
_llgo_29: ; preds = %_llgo_28
|
|
%132 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %129)
|
|
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %132)
|
|
store ptr %132, ptr @"*_llgo_main.T2", align 8
|
|
br label %_llgo_30
|
|
|
|
_llgo_30: ; preds = %_llgo_29, %_llgo_28
|
|
%133 = call ptr @"github.com/goplus/llgo/internal/runtime.NewNamed"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @18, i64 7 }, i64 3, i64 1, i64 0, i64 1)
|
|
%134 = load ptr, ptr @_llgo_main.T3, align 8
|
|
%135 = icmp eq ptr %134, null
|
|
br i1 %135, label %_llgo_31, label %_llgo_32
|
|
|
|
_llgo_31: ; preds = %_llgo_30
|
|
store ptr %133, ptr @_llgo_main.T3, align 8
|
|
br label %_llgo_32
|
|
|
|
_llgo_32: ; preds = %_llgo_31, %_llgo_30
|
|
%136 = load ptr, ptr @_llgo_int8, align 8
|
|
%137 = icmp eq ptr %136, null
|
|
br i1 %137, label %_llgo_33, label %_llgo_34
|
|
|
|
_llgo_33: ; preds = %_llgo_32
|
|
%138 = call ptr @"github.com/goplus/llgo/internal/runtime.Basic"(i64 35)
|
|
store ptr %138, ptr @_llgo_int8, align 8
|
|
br label %_llgo_34
|
|
|
|
_llgo_34: ; preds = %_llgo_33, %_llgo_32
|
|
%139 = load ptr, ptr @_llgo_int8, align 8
|
|
br i1 %135, label %_llgo_35, label %_llgo_36
|
|
|
|
_llgo_35: ; preds = %_llgo_34
|
|
%140 = load ptr, ptr @"_llgo_func$ETeB8WwW04JEq0ztcm-XPTJtuYvtpkjIsAc0-2NT9zA", align 8
|
|
%141 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" { %"github.com/goplus/llgo/internal/runtime.String" { ptr @11, i64 6 }, ptr undef, ptr undef, ptr undef }, ptr %140, 1
|
|
%142 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" %141, ptr @"main.(*T3).Invoke", 2
|
|
%143 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" %142, ptr @"main.(*T3).Invoke", 3
|
|
%144 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 40)
|
|
%145 = getelementptr %"github.com/goplus/llgo/internal/abi.Method", ptr %144, i64 0
|
|
store %"github.com/goplus/llgo/internal/abi.Method" %143, ptr %145, align 8
|
|
%146 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" undef, ptr %144, 0
|
|
%147 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %146, i64 1, 1
|
|
%148 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %147, i64 1, 2
|
|
call void @"github.com/goplus/llgo/internal/runtime.InitNamed"(ptr %133, %"github.com/goplus/llgo/internal/runtime.String" { ptr @10, i64 4 }, %"github.com/goplus/llgo/internal/runtime.String" { ptr @19, i64 2 }, ptr %139, { ptr, i64, i64 } zeroinitializer, %"github.com/goplus/llgo/internal/runtime.Slice" %148)
|
|
br label %_llgo_36
|
|
|
|
_llgo_36: ; preds = %_llgo_35, %_llgo_34
|
|
%149 = call ptr @"github.com/goplus/llgo/internal/runtime.NewNamed"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @18, i64 7 }, i64 3, i64 1, i64 0, i64 1)
|
|
%150 = load ptr, ptr @"*_llgo_main.T3", align 8
|
|
%151 = icmp eq ptr %150, null
|
|
br i1 %151, label %_llgo_37, label %_llgo_38
|
|
|
|
_llgo_37: ; preds = %_llgo_36
|
|
%152 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %149)
|
|
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %152)
|
|
store ptr %152, ptr @"*_llgo_main.T3", align 8
|
|
br label %_llgo_38
|
|
|
|
_llgo_38: ; preds = %_llgo_37, %_llgo_36
|
|
%153 = call ptr @"github.com/goplus/llgo/internal/runtime.NewNamed"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @20, i64 7 }, i64 17, i64 8, i64 1, i64 1)
|
|
%154 = load ptr, ptr @_llgo_main.T4, align 8
|
|
%155 = icmp eq ptr %154, null
|
|
br i1 %155, label %_llgo_39, label %_llgo_40
|
|
|
|
_llgo_39: ; preds = %_llgo_38
|
|
store ptr %153, ptr @_llgo_main.T4, align 8
|
|
br label %_llgo_40
|
|
|
|
_llgo_40: ; preds = %_llgo_39, %_llgo_38
|
|
%156 = load ptr, ptr @"[1]_llgo_int", align 8
|
|
%157 = icmp eq ptr %156, null
|
|
br i1 %157, label %_llgo_41, label %_llgo_42
|
|
|
|
_llgo_41: ; preds = %_llgo_40
|
|
%158 = call ptr @"github.com/goplus/llgo/internal/runtime.Basic"(i64 34)
|
|
%159 = call ptr @"github.com/goplus/llgo/internal/runtime.ArrayOf"(i64 1, ptr %158)
|
|
store ptr %159, ptr @"[1]_llgo_int", align 8
|
|
br label %_llgo_42
|
|
|
|
_llgo_42: ; preds = %_llgo_41, %_llgo_40
|
|
%160 = load ptr, ptr @"[1]_llgo_int", align 8
|
|
br i1 %155, label %_llgo_43, label %_llgo_44
|
|
|
|
_llgo_43: ; preds = %_llgo_42
|
|
%161 = load ptr, ptr @"_llgo_func$ETeB8WwW04JEq0ztcm-XPTJtuYvtpkjIsAc0-2NT9zA", align 8
|
|
%162 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" { %"github.com/goplus/llgo/internal/runtime.String" { ptr @11, i64 6 }, ptr undef, ptr undef, ptr undef }, ptr %161, 1
|
|
%163 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" %162, ptr @"main.(*T4).Invoke", 2
|
|
%164 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" %163, ptr @"main.(*T4).Invoke", 3
|
|
%165 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" { %"github.com/goplus/llgo/internal/runtime.String" { ptr @11, i64 6 }, ptr undef, ptr undef, ptr undef }, ptr %161, 1
|
|
%166 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" %165, ptr @"main.(*T4).Invoke", 2
|
|
%167 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" %166, ptr @main.T4.Invoke, 3
|
|
%168 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 40)
|
|
%169 = getelementptr %"github.com/goplus/llgo/internal/abi.Method", ptr %168, i64 0
|
|
store %"github.com/goplus/llgo/internal/abi.Method" %167, ptr %169, align 8
|
|
%170 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" undef, ptr %168, 0
|
|
%171 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %170, i64 1, 1
|
|
%172 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %171, i64 1, 2
|
|
%173 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 40)
|
|
%174 = getelementptr %"github.com/goplus/llgo/internal/abi.Method", ptr %173, i64 0
|
|
store %"github.com/goplus/llgo/internal/abi.Method" %164, ptr %174, align 8
|
|
%175 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" undef, ptr %173, 0
|
|
%176 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %175, i64 1, 1
|
|
%177 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %176, i64 1, 2
|
|
call void @"github.com/goplus/llgo/internal/runtime.InitNamed"(ptr %153, %"github.com/goplus/llgo/internal/runtime.String" { ptr @10, i64 4 }, %"github.com/goplus/llgo/internal/runtime.String" { ptr @21, i64 2 }, ptr %160, %"github.com/goplus/llgo/internal/runtime.Slice" %172, %"github.com/goplus/llgo/internal/runtime.Slice" %177)
|
|
br label %_llgo_44
|
|
|
|
_llgo_44: ; preds = %_llgo_43, %_llgo_42
|
|
%178 = call ptr @"github.com/goplus/llgo/internal/runtime.NewNamed"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @20, i64 7 }, i64 17, i64 8, i64 1, i64 1)
|
|
%179 = load ptr, ptr @"*_llgo_main.T4", align 8
|
|
%180 = icmp eq ptr %179, null
|
|
br i1 %180, label %_llgo_45, label %_llgo_46
|
|
|
|
_llgo_45: ; preds = %_llgo_44
|
|
%181 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %178)
|
|
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %181)
|
|
store ptr %181, ptr @"*_llgo_main.T4", align 8
|
|
br label %_llgo_46
|
|
|
|
_llgo_46: ; preds = %_llgo_45, %_llgo_44
|
|
%182 = call ptr @"github.com/goplus/llgo/internal/runtime.NewNamed"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @22, i64 7 }, i64 25, i64 8, i64 1, i64 1)
|
|
%183 = load ptr, ptr @_llgo_main.T5, align 8
|
|
%184 = icmp eq ptr %183, null
|
|
br i1 %184, label %_llgo_47, label %_llgo_48
|
|
|
|
_llgo_47: ; preds = %_llgo_46
|
|
store ptr %182, ptr @_llgo_main.T5, align 8
|
|
br label %_llgo_48
|
|
|
|
_llgo_48: ; preds = %_llgo_47, %_llgo_46
|
|
%185 = call ptr @"github.com/goplus/llgo/internal/runtime.Basic"(i64 34)
|
|
%186 = call %"github.com/goplus/llgo/internal/abi.StructField" @"github.com/goplus/llgo/internal/runtime.StructField"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @23, i64 1 }, ptr %185, i64 0, %"github.com/goplus/llgo/internal/runtime.String" zeroinitializer, i1 false)
|
|
%187 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 56)
|
|
%188 = getelementptr %"github.com/goplus/llgo/internal/abi.StructField", ptr %187, i64 0
|
|
store %"github.com/goplus/llgo/internal/abi.StructField" %186, ptr %188, align 8
|
|
%189 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" undef, ptr %187, 0
|
|
%190 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %189, i64 1, 1
|
|
%191 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %190, i64 1, 2
|
|
%192 = call ptr @"github.com/goplus/llgo/internal/runtime.Struct"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @10, i64 4 }, i64 8, %"github.com/goplus/llgo/internal/runtime.Slice" %191)
|
|
store ptr %192, ptr @"main.struct$eovYmOhZg4X0zMSsuscSshndnbbAGvB2E3cyG8E7Y4U", align 8
|
|
%193 = load ptr, ptr @"main.struct$eovYmOhZg4X0zMSsuscSshndnbbAGvB2E3cyG8E7Y4U", align 8
|
|
br i1 %184, label %_llgo_49, label %_llgo_50
|
|
|
|
_llgo_49: ; preds = %_llgo_48
|
|
%194 = load ptr, ptr @"_llgo_func$ETeB8WwW04JEq0ztcm-XPTJtuYvtpkjIsAc0-2NT9zA", align 8
|
|
%195 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" { %"github.com/goplus/llgo/internal/runtime.String" { ptr @11, i64 6 }, ptr undef, ptr undef, ptr undef }, ptr %194, 1
|
|
%196 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" %195, ptr @"main.(*T5).Invoke", 2
|
|
%197 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" %196, ptr @"main.(*T5).Invoke", 3
|
|
%198 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" { %"github.com/goplus/llgo/internal/runtime.String" { ptr @11, i64 6 }, ptr undef, ptr undef, ptr undef }, ptr %194, 1
|
|
%199 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" %198, ptr @"main.(*T5).Invoke", 2
|
|
%200 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" %199, ptr @main.T5.Invoke, 3
|
|
%201 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 40)
|
|
%202 = getelementptr %"github.com/goplus/llgo/internal/abi.Method", ptr %201, i64 0
|
|
store %"github.com/goplus/llgo/internal/abi.Method" %200, ptr %202, align 8
|
|
%203 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" undef, ptr %201, 0
|
|
%204 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %203, i64 1, 1
|
|
%205 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %204, i64 1, 2
|
|
%206 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 40)
|
|
%207 = getelementptr %"github.com/goplus/llgo/internal/abi.Method", ptr %206, i64 0
|
|
store %"github.com/goplus/llgo/internal/abi.Method" %197, ptr %207, align 8
|
|
%208 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" undef, ptr %206, 0
|
|
%209 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %208, i64 1, 1
|
|
%210 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %209, i64 1, 2
|
|
call void @"github.com/goplus/llgo/internal/runtime.InitNamed"(ptr %182, %"github.com/goplus/llgo/internal/runtime.String" { ptr @10, i64 4 }, %"github.com/goplus/llgo/internal/runtime.String" { ptr @24, i64 2 }, ptr %193, %"github.com/goplus/llgo/internal/runtime.Slice" %205, %"github.com/goplus/llgo/internal/runtime.Slice" %210)
|
|
br label %_llgo_50
|
|
|
|
_llgo_50: ; preds = %_llgo_49, %_llgo_48
|
|
%211 = call ptr @"github.com/goplus/llgo/internal/runtime.NewNamed"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @22, i64 7 }, i64 25, i64 8, i64 1, i64 1)
|
|
%212 = load ptr, ptr @"*_llgo_main.T5", align 8
|
|
%213 = icmp eq ptr %212, null
|
|
br i1 %213, label %_llgo_51, label %_llgo_52
|
|
|
|
_llgo_51: ; preds = %_llgo_50
|
|
%214 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %211)
|
|
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %214)
|
|
store ptr %214, ptr @"*_llgo_main.T5", align 8
|
|
br label %_llgo_52
|
|
|
|
_llgo_52: ; preds = %_llgo_51, %_llgo_50
|
|
%215 = call ptr @"github.com/goplus/llgo/internal/runtime.NewNamed"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @25, i64 7 }, i64 25, i64 24, i64 1, i64 1)
|
|
%216 = load ptr, ptr @_llgo_main.T6, align 8
|
|
%217 = icmp eq ptr %216, null
|
|
br i1 %217, label %_llgo_53, label %_llgo_54
|
|
|
|
_llgo_53: ; preds = %_llgo_52
|
|
store ptr %215, ptr @_llgo_main.T6, align 8
|
|
br label %_llgo_54
|
|
|
|
_llgo_54: ; preds = %_llgo_53, %_llgo_52
|
|
%218 = load ptr, ptr @"_llgo_func$ETeB8WwW04JEq0ztcm-XPTJtuYvtpkjIsAc0-2NT9zA", align 8
|
|
%219 = load ptr, ptr @_llgo_Pointer, align 8
|
|
%220 = icmp eq ptr %219, null
|
|
br i1 %220, label %_llgo_55, label %_llgo_56
|
|
|
|
_llgo_55: ; preds = %_llgo_54
|
|
%221 = call ptr @"github.com/goplus/llgo/internal/runtime.Basic"(i64 58)
|
|
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %221)
|
|
store ptr %221, ptr @_llgo_Pointer, align 8
|
|
br label %_llgo_56
|
|
|
|
_llgo_56: ; preds = %_llgo_55, %_llgo_54
|
|
%222 = load ptr, ptr @_llgo_Pointer, align 8
|
|
%223 = load ptr, ptr @_llgo_int, align 8
|
|
%224 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 0)
|
|
%225 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" undef, ptr %224, 0
|
|
%226 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %225, i64 0, 1
|
|
%227 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %226, i64 0, 2
|
|
%228 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 8)
|
|
%229 = getelementptr ptr, ptr %228, i64 0
|
|
store ptr %223, ptr %229, align 8
|
|
%230 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" undef, ptr %228, 0
|
|
%231 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %230, i64 1, 1
|
|
%232 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %231, i64 1, 2
|
|
%233 = call ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice" %227, %"github.com/goplus/llgo/internal/runtime.Slice" %232, i1 false)
|
|
%234 = call %"github.com/goplus/llgo/internal/abi.StructField" @"github.com/goplus/llgo/internal/runtime.StructField"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @26, i64 1 }, ptr %233, i64 0, %"github.com/goplus/llgo/internal/runtime.String" zeroinitializer, i1 false)
|
|
%235 = call ptr @"github.com/goplus/llgo/internal/runtime.Basic"(i64 58)
|
|
%236 = call %"github.com/goplus/llgo/internal/abi.StructField" @"github.com/goplus/llgo/internal/runtime.StructField"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @27, i64 4 }, ptr %235, i64 8, %"github.com/goplus/llgo/internal/runtime.String" zeroinitializer, i1 false)
|
|
%237 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 112)
|
|
%238 = getelementptr %"github.com/goplus/llgo/internal/abi.StructField", ptr %237, i64 0
|
|
store %"github.com/goplus/llgo/internal/abi.StructField" %234, ptr %238, align 8
|
|
%239 = getelementptr %"github.com/goplus/llgo/internal/abi.StructField", ptr %237, i64 1
|
|
store %"github.com/goplus/llgo/internal/abi.StructField" %236, ptr %239, align 8
|
|
%240 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" undef, ptr %237, 0
|
|
%241 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %240, i64 2, 1
|
|
%242 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %241, i64 2, 2
|
|
%243 = call ptr @"github.com/goplus/llgo/internal/runtime.Struct"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @10, i64 4 }, i64 16, %"github.com/goplus/llgo/internal/runtime.Slice" %242)
|
|
store ptr %243, ptr @"main.struct$ShRx0rnZQIkym8zpNxljLHWZbDzaCdzDkVBTe78YZMw", align 8
|
|
%244 = load ptr, ptr @"main.struct$ShRx0rnZQIkym8zpNxljLHWZbDzaCdzDkVBTe78YZMw", align 8
|
|
br i1 %217, label %_llgo_57, label %_llgo_58
|
|
|
|
_llgo_57: ; preds = %_llgo_56
|
|
%245 = load ptr, ptr @"_llgo_func$ETeB8WwW04JEq0ztcm-XPTJtuYvtpkjIsAc0-2NT9zA", align 8
|
|
%246 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" { %"github.com/goplus/llgo/internal/runtime.String" { ptr @11, i64 6 }, ptr undef, ptr undef, ptr undef }, ptr %245, 1
|
|
%247 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" %246, ptr @"main.(*T6).Invoke", 2
|
|
%248 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" %247, ptr @"main.(*T6).Invoke", 3
|
|
%249 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" { %"github.com/goplus/llgo/internal/runtime.String" { ptr @11, i64 6 }, ptr undef, ptr undef, ptr undef }, ptr %245, 1
|
|
%250 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" %249, ptr @"main.(*T6).Invoke", 2
|
|
%251 = insertvalue %"github.com/goplus/llgo/internal/abi.Method" %250, ptr @main.T6.Invoke, 3
|
|
%252 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 40)
|
|
%253 = getelementptr %"github.com/goplus/llgo/internal/abi.Method", ptr %252, i64 0
|
|
store %"github.com/goplus/llgo/internal/abi.Method" %251, ptr %253, align 8
|
|
%254 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" undef, ptr %252, 0
|
|
%255 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %254, i64 1, 1
|
|
%256 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %255, i64 1, 2
|
|
%257 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 40)
|
|
%258 = getelementptr %"github.com/goplus/llgo/internal/abi.Method", ptr %257, i64 0
|
|
store %"github.com/goplus/llgo/internal/abi.Method" %248, ptr %258, align 8
|
|
%259 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" undef, ptr %257, 0
|
|
%260 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %259, i64 1, 1
|
|
%261 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %260, i64 1, 2
|
|
call void @"github.com/goplus/llgo/internal/runtime.InitNamed"(ptr %215, %"github.com/goplus/llgo/internal/runtime.String" { ptr @10, i64 4 }, %"github.com/goplus/llgo/internal/runtime.String" { ptr @28, i64 2 }, ptr %244, %"github.com/goplus/llgo/internal/runtime.Slice" %256, %"github.com/goplus/llgo/internal/runtime.Slice" %261)
|
|
br label %_llgo_58
|
|
|
|
_llgo_58: ; preds = %_llgo_57, %_llgo_56
|
|
%262 = call ptr @"github.com/goplus/llgo/internal/runtime.NewNamed"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @25, i64 7 }, i64 25, i64 24, i64 1, i64 1)
|
|
%263 = load ptr, ptr @"*_llgo_main.T6", align 8
|
|
%264 = icmp eq ptr %263, null
|
|
br i1 %264, label %_llgo_59, label %_llgo_60
|
|
|
|
_llgo_59: ; preds = %_llgo_58
|
|
%265 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %262)
|
|
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %265)
|
|
store ptr %265, ptr @"*_llgo_main.T6", align 8
|
|
br label %_llgo_60
|
|
|
|
_llgo_60: ; preds = %_llgo_59, %_llgo_58
|
|
%266 = load ptr, ptr @"_llgo_func$ETeB8WwW04JEq0ztcm-XPTJtuYvtpkjIsAc0-2NT9zA", align 8
|
|
%267 = load ptr, ptr @"_llgo_func$2_iS07vIlF2_rZqWB5eU0IvP_9HviM4MYZNkXZDvbac", align 8
|
|
%268 = load ptr, ptr @"_llgo_iface$jwmSdgh1zvY_TDIgLzCkvkbiyrdwl9N806DH0JGcyMI", align 8
|
|
%269 = icmp eq ptr %268, null
|
|
br i1 %269, label %_llgo_61, label %_llgo_62
|
|
|
|
_llgo_61: ; preds = %_llgo_60
|
|
%270 = insertvalue %"github.com/goplus/llgo/internal/abi.Imethod" { %"github.com/goplus/llgo/internal/runtime.String" { ptr @11, i64 6 }, ptr undef }, ptr %266, 1
|
|
%271 = insertvalue %"github.com/goplus/llgo/internal/abi.Imethod" { %"github.com/goplus/llgo/internal/runtime.String" { ptr @12, i64 6 }, ptr undef }, ptr %267, 1
|
|
%272 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 48)
|
|
%273 = getelementptr %"github.com/goplus/llgo/internal/abi.Imethod", ptr %272, i64 0
|
|
store %"github.com/goplus/llgo/internal/abi.Imethod" %270, ptr %273, align 8
|
|
%274 = getelementptr %"github.com/goplus/llgo/internal/abi.Imethod", ptr %272, i64 1
|
|
store %"github.com/goplus/llgo/internal/abi.Imethod" %271, ptr %274, align 8
|
|
%275 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" undef, ptr %272, 0
|
|
%276 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %275, i64 2, 1
|
|
%277 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %276, i64 2, 2
|
|
%278 = call ptr @"github.com/goplus/llgo/internal/runtime.Interface"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @10, i64 4 }, %"github.com/goplus/llgo/internal/runtime.String" zeroinitializer, %"github.com/goplus/llgo/internal/runtime.Slice" %277)
|
|
store ptr %278, ptr @"_llgo_iface$jwmSdgh1zvY_TDIgLzCkvkbiyrdwl9N806DH0JGcyMI", align 8
|
|
br label %_llgo_62
|
|
|
|
_llgo_62: ; preds = %_llgo_61, %_llgo_60
|
|
%279 = call ptr @"github.com/goplus/llgo/internal/runtime.NewNamedInterface"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @10, i64 4 }, %"github.com/goplus/llgo/internal/runtime.String" { ptr @30, i64 6 })
|
|
%280 = load ptr, ptr @_llgo_main.I, align 8
|
|
%281 = icmp eq ptr %280, null
|
|
br i1 %281, label %_llgo_63, label %_llgo_64
|
|
|
|
_llgo_63: ; preds = %_llgo_62
|
|
store ptr %279, ptr @_llgo_main.I, align 8
|
|
br label %_llgo_64
|
|
|
|
_llgo_64: ; preds = %_llgo_63, %_llgo_62
|
|
%282 = load ptr, ptr @"_llgo_func$ETeB8WwW04JEq0ztcm-XPTJtuYvtpkjIsAc0-2NT9zA", align 8
|
|
br i1 %281, label %_llgo_65, label %_llgo_66
|
|
|
|
_llgo_65: ; preds = %_llgo_64
|
|
%283 = insertvalue %"github.com/goplus/llgo/internal/abi.Imethod" { %"github.com/goplus/llgo/internal/runtime.String" { ptr @11, i64 6 }, ptr undef }, ptr %282, 1
|
|
%284 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 24)
|
|
%285 = getelementptr %"github.com/goplus/llgo/internal/abi.Imethod", ptr %284, i64 0
|
|
store %"github.com/goplus/llgo/internal/abi.Imethod" %283, ptr %285, align 8
|
|
%286 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" undef, ptr %284, 0
|
|
%287 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %286, i64 1, 1
|
|
%288 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %287, i64 1, 2
|
|
call void @"github.com/goplus/llgo/internal/runtime.InitNamedInterface"(ptr %279, %"github.com/goplus/llgo/internal/runtime.Slice" %288)
|
|
br label %_llgo_66
|
|
|
|
_llgo_66: ; preds = %_llgo_65, %_llgo_64
|
|
%289 = load ptr, ptr @_llgo_any, align 8
|
|
%290 = icmp eq ptr %289, null
|
|
br i1 %290, label %_llgo_67, label %_llgo_68
|
|
|
|
_llgo_67: ; preds = %_llgo_66
|
|
%291 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 0)
|
|
%292 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" undef, ptr %291, 0
|
|
%293 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %292, i64 0, 1
|
|
%294 = insertvalue %"github.com/goplus/llgo/internal/runtime.Slice" %293, i64 0, 2
|
|
%295 = call ptr @"github.com/goplus/llgo/internal/runtime.Interface"(%"github.com/goplus/llgo/internal/runtime.String" { ptr @10, i64 4 }, %"github.com/goplus/llgo/internal/runtime.String" zeroinitializer, %"github.com/goplus/llgo/internal/runtime.Slice" %294)
|
|
store ptr %295, ptr @_llgo_any, align 8
|
|
br label %_llgo_68
|
|
|
|
_llgo_68: ; preds = %_llgo_67, %_llgo_66
|
|
ret void
|
|
}
|
|
|
|
declare ptr @"github.com/goplus/llgo/internal/runtime.NewNamed"(%"github.com/goplus/llgo/internal/runtime.String", i64, i64, i64, i64)
|
|
|
|
declare ptr @"github.com/goplus/llgo/internal/runtime.Basic"(i64)
|
|
|
|
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)
|
|
|
|
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 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)
|
|
|
|
declare ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr)
|
|
|
|
declare ptr @"github.com/goplus/llgo/internal/runtime.ArrayOf"(i64, ptr)
|
|
|
|
declare void @"github.com/goplus/llgo/internal/runtime.SetClosure"(ptr)
|
|
|
|
declare ptr @"github.com/goplus/llgo/internal/runtime.IfaceType"(%"github.com/goplus/llgo/internal/runtime.iface")
|
|
|
|
declare void @"github.com/goplus/llgo/internal/runtime.PrintIface"(%"github.com/goplus/llgo/internal/runtime.iface")
|
|
|
|
declare ptr @"github.com/goplus/llgo/internal/runtime.NewNamedInterface"(%"github.com/goplus/llgo/internal/runtime.String", %"github.com/goplus/llgo/internal/runtime.String")
|
|
|
|
declare void @"github.com/goplus/llgo/internal/runtime.InitNamedInterface"(ptr, %"github.com/goplus/llgo/internal/runtime.Slice")
|
|
|
|
declare i1 @"github.com/goplus/llgo/internal/runtime.Implements"(ptr, ptr)
|
|
|
|
declare void @"github.com/goplus/llgo/internal/runtime.Panic"(%"github.com/goplus/llgo/internal/runtime.eface")
|
|
|
|
attributes #0 = { nocallback nofree nounwind willreturn memory(argmem: write) }
|