Files
llgo/compiler/cl/_testrt/complex/out.ll

59 lines
3.8 KiB
LLVM
Raw Normal View History

; ModuleID = 'github.com/goplus/llgo/compiler/cl/_testrt/complex'
source_filename = "github.com/goplus/llgo/compiler/cl/_testrt/complex"
2024-06-20 15:52:56 +08:00
@"github.com/goplus/llgo/compiler/cl/_testrt/complex.init$guard" = global i1 false, align 1
2024-06-20 15:52:56 +08:00
define void @"github.com/goplus/llgo/compiler/cl/_testrt/complex.init"() {
2024-06-20 15:52:56 +08:00
_llgo_0:
%0 = load i1, ptr @"github.com/goplus/llgo/compiler/cl/_testrt/complex.init$guard", align 1
2024-06-20 15:52:56 +08:00
br i1 %0, label %_llgo_2, label %_llgo_1
_llgo_1: ; preds = %_llgo_0
store i1 true, ptr @"github.com/goplus/llgo/compiler/cl/_testrt/complex.init$guard", align 1
2024-06-20 15:52:56 +08:00
br label %_llgo_2
_llgo_2: ; preds = %_llgo_1, %_llgo_0
ret void
}
define void @"github.com/goplus/llgo/compiler/cl/_testrt/complex.main"() {
2024-06-20 15:52:56 +08:00
_llgo_0:
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintFloat"(double 1.000000e+00)
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintByte"(i8 32)
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintFloat"(double 2.000000e+00)
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintByte"(i8 10)
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintComplex"({ double, double } { double -1.000000e+00, double -2.000000e+00 })
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintByte"(i8 10)
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintComplex"({ double, double } { double 4.000000e+00, double 6.000000e+00 })
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintByte"(i8 10)
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintComplex"({ double, double } { double -2.000000e+00, double -2.000000e+00 })
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintByte"(i8 10)
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintComplex"({ double, double } { double -5.000000e+00, double 1.000000e+01 })
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintByte"(i8 10)
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintComplex"({ double, double } { double 4.400000e-01, double -8.000000e-02 })
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintByte"(i8 10)
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintComplex"({ double, double } { double 0x7FF0000000000000, double 0x7FF0000000000000 })
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintByte"(i8 10)
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintComplex"({ double, double } { double 0x7FF8000000000000, double 0x7FF8000000000000 })
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintByte"(i8 10)
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintBool"(i1 true)
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintByte"(i8 32)
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintBool"(i1 false)
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintByte"(i8 10)
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintBool"(i1 false)
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintByte"(i8 32)
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintBool"(i1 true)
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintByte"(i8 10)
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintBool"(i1 true)
call void @"github.com/goplus/llgo/runtime/internal/runtime.PrintByte"(i8 10)
ret void
2024-06-20 15:52:56 +08:00
}
declare void @"github.com/goplus/llgo/runtime/internal/runtime.PrintFloat"(double)
2024-06-20 15:52:56 +08:00
declare void @"github.com/goplus/llgo/runtime/internal/runtime.PrintByte"(i8)
2024-06-20 15:52:56 +08:00
declare void @"github.com/goplus/llgo/runtime/internal/runtime.PrintComplex"({ double, double })
2024-06-20 20:43:22 +08:00
declare void @"github.com/goplus/llgo/runtime/internal/runtime.PrintBool"(i1)