llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmp5ln5gl4b.c'
source_filename = "/tmp/tmp5ln5gl4b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"the element value(-999 to stop): \00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"\09Array Bounds Reached.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @create(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @length(ptr noundef %5)
store i32 %6, ptr %3, align 4
br label %7
7: ; preds = %27, %1
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 10
br i1 %9, label %10, label %16
10: ; preds = %7
%11 = call i32 @getValue(ptr noundef @.str)
store i32 %11, ptr %4, align 4
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %4, align 4
%15 = call i32 @insertElement(ptr noundef %12, i32 noundef %13, i32 noundef %14)
br label %18
16: ; preds = %7
%17 = call i32 @printf(ptr noundef @.str.1)
br label %18
18: ; preds = %16, %10
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
br label %21
21: ; preds = %18
%22 = load i32, ptr %4, align 4
%23 = icmp ne i32 %22, -999
br i1 %23, label %24, label %27
24: ; preds = %21
%25 = load i32, ptr %3, align 4
%26 = icmp sle i32 %25, 10
br label %27
27: ; preds = %24, %21
%28 = phi i1 [ false, %21 ], [ %26, %24 ]
br i1 %28, label %7, label %29, !llvm.loop !6
29: ; preds = %27
ret void
}
declare i32 @length(ptr noundef) #1
declare i32 @getValue(ptr noundef) #1
declare i32 @insertElement(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5ln5gl4b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"the element value(-999 to stop): \00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"\09Array Bounds Reached.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @create(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @length(ptr noundef %5)
store i32 %6, ptr %3, align 4
br label %7
7: ; preds = %27, %1
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 10
br i1 %9, label %10, label %16
10: ; preds = %7
%11 = call i32 @getValue(ptr noundef @.str)
store i32 %11, ptr %4, align 4
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %4, align 4
%15 = call i32 @insertElement(ptr noundef %12, i32 noundef %13, i32 noundef %14)
br label %18
16: ; preds = %7
%17 = call i32 @printf(ptr noundef @.str.1)
br label %18
18: ; preds = %16, %10
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
br label %21
21: ; preds = %18
%22 = load i32, ptr %4, align 4
%23 = icmp ne i32 %22, -999
br i1 %23, label %24, label %27
24: ; preds = %21
%25 = load i32, ptr %3, align 4
%26 = icmp sle i32 %25, 10
br label %27
27: ; preds = %24, %21
%28 = phi i1 [ false, %21 ], [ %26, %24 ]
br i1 %28, label %7, label %29, !llvm.loop !6
29: ; preds = %27
ret void
}
declare i32 @length(ptr noundef) #1
declare i32 @getValue(ptr noundef) #1
declare i32 @insertElement(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp3g23u998.c'
source_filename = "/tmp/tmp3g23u998.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3g23u998.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg3o4nyb3.c'
source_filename = "/tmp/tmpg3o4nyb3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mktime(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @timegm(ptr noundef %6)
store i32 %7, ptr %3, align 4
%8 = call i32 (...) @__maplocaltime()
%9 = load i32, ptr %3, align 4
%10 = call i32 @__tzfile_map(i32 noundef %9, ptr noundef %4, i32 noundef 0)
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %3, align 4
ret i32 %11
}
declare i32 @timegm(ptr noundef) #1
declare i32 @__maplocaltime(...) #1
declare i32 @__tzfile_map(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg3o4nyb3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mktime(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @timegm(ptr noundef %6)
store i32 %7, ptr %3, align 4
%8 = call i32 (...) @__maplocaltime()
%9 = load i32, ptr %3, align 4
%10 = call i32 @__tzfile_map(i32 noundef %9, ptr noundef %4, i32 noundef 0)
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %3, align 4
ret i32 %11
}
declare i32 @timegm(ptr noundef) #1
declare i32 @__maplocaltime(...) #1
declare i32 @__tzfile_map(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0m6vnq3z.c'
source_filename = "/tmp/tmp0m6vnq3z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_resource_type(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strncpy(ptr noundef %5, ptr noundef %6, i32 noundef 4)
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 4
store i8 0, ptr %9, align 1
ret void
}
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0m6vnq3z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_resource_type(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strncpy(ptr noundef %5, ptr noundef %6, i32 noundef 4)
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 4
store i8 0, ptr %9, align 1
ret void
}
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd7cu20bc.c'
source_filename = "/tmp/tmpd7cu20bc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @slti(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%6 = load i64, ptr %4, align 8
%7 = load i64, ptr %5, align 8
%8 = icmp slt i64 %6, %7
br i1 %8, label %9, label %10
9: ; preds = %2
store i64 1, ptr %3, align 8
br label %11
10: ; preds = %2
store i64 0, ptr %3, align 8
br label %11
11: ; preds = %10, %9
%12 = load i64, ptr %3, align 8
ret i64 %12
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd7cu20bc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @slti(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%6 = load i64, ptr %4, align 8
%7 = load i64, ptr %5, align 8
%8 = icmp slt i64 %6, %7
br i1 %8, label %9, label %10
9: ; preds = %2
store i64 1, ptr %3, align 8
br label %11
10: ; preds = %2
store i64 0, ptr %3, align 8
br label %11
11: ; preds = %10, %9
%12 = load i64, ptr %3, align 8
ret i64 %12
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpootjkv3j.c'
source_filename = "/tmp/tmpootjkv3j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @outInt(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %9
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = load i32, ptr %6, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
br label %9
9: ; preds = %5, %1
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpootjkv3j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @outInt(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %9
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = load i32, ptr %6, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
br label %9
9: ; preds = %5, %1
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgfank62f.c'
source_filename = "/tmp/tmpgfank62f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"PI nin degeri: %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
store i32 0, ptr %1, align 4
store double 3.141500e+00, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, double noundef %3)
ret i32 0
}
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgfank62f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"PI nin degeri: %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
store i32 0, ptr %1, align 4
store double 3.141500e+00, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, double noundef %3)
ret i32 0
}
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgllgllic.c'
source_filename = "/tmp/tmpgllgllic.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [49 x i8] c"Abort: new measurement blocked by existing %s %s\00", align 1
@S_IFDIR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"directory\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"file\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @epk_archive_verify(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.stat, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
br label %12
10: ; preds = %1
%11 = call ptr (...) @epk_archive_get_name()
br label %12
12: ; preds = %10, %8
%13 = phi ptr [ %9, %8 ], [ %11, %10 ]
store ptr %13, ptr %4, align 8
%14 = load ptr, ptr %4, align 8
%15 = call i64 @stat(ptr noundef %14, ptr noundef %3)
%16 = icmp eq i64 %15, 0
%17 = zext i1 %16 to i32
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %30
20: ; preds = %12
%21 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%22 = load i32, ptr %21, align 4
%23 = load i32, ptr @S_IFDIR, align 4
%24 = and i32 %22, %23
%25 = icmp ne i32 %24, 0
%26 = zext i1 %25 to i64
%27 = select i1 %25, ptr @.str.1, ptr @.str.2
%28 = load ptr, ptr %4, align 8
%29 = call i32 @elg_warning(ptr noundef @.str, ptr noundef %27, ptr noundef %28)
br label %30
30: ; preds = %20, %12
%31 = load i32, ptr %5, align 4
%32 = icmp ne i32 %31, 0
%33 = xor i1 %32, true
%34 = zext i1 %33 to i32
ret i32 %34
}
declare ptr @epk_archive_get_name(...) #1
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i32 @elg_warning(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgllgllic.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [49 x i8] c"Abort: new measurement blocked by existing %s %s\00", align 1
@S_IFDIR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"directory\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"file\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @epk_archive_verify(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.stat, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
br label %12
10: ; preds = %1
%11 = call ptr (...) @epk_archive_get_name()
br label %12
12: ; preds = %10, %8
%13 = phi ptr [ %9, %8 ], [ %11, %10 ]
store ptr %13, ptr %4, align 8
%14 = load ptr, ptr %4, align 8
%15 = call i64 @stat(ptr noundef %14, ptr noundef %3)
%16 = icmp eq i64 %15, 0
%17 = zext i1 %16 to i32
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %30
20: ; preds = %12
%21 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%22 = load i32, ptr %21, align 4
%23 = load i32, ptr @S_IFDIR, align 4
%24 = and i32 %22, %23
%25 = icmp ne i32 %24, 0
%26 = zext i1 %25 to i64
%27 = select i1 %25, ptr @.str.1, ptr @.str.2
%28 = load ptr, ptr %4, align 8
%29 = call i32 @elg_warning(ptr noundef @.str, ptr noundef %27, ptr noundef %28)
br label %30
30: ; preds = %20, %12
%31 = load i32, ptr %5, align 4
%32 = icmp ne i32 %31, 0
%33 = xor i1 %32, true
%34 = zext i1 %33 to i32
ret i32 %34
}
declare ptr @epk_archive_get_name(...) #1
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i32 @elg_warning(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpud1ipmpo.c'
source_filename = "/tmp/tmpud1ipmpo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.ifaddrs = type { ptr, ptr, ptr }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [21 x i8] c"listnets: getifaddrs\00", align 1
@AF_INET = dso_local global i32 0, align 4
@AF_INET6 = dso_local global i32 0, align 4
@NI_NUMERICHOST = dso_local global i32 0, align 4
@EAI_SYSTEM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [22 x i8] c"listnets: getnameinfo\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [27 x i8] c"listnets: getnameinfo: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"%s %s %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"ipv4\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"ipv6\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [1025 x i8], align 16
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i64 @getifaddrs(ptr noundef %2)
%8 = icmp slt i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %0
%10 = call i32 @perror(ptr noundef @.str)
store i32 1, ptr %1, align 4
br label %81
11: ; preds = %0
%12 = load ptr, ptr %2, align 8
store ptr %12, ptr %3, align 8
br label %13
13: ; preds = %74, %11
%14 = load ptr, ptr %3, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %78
16: ; preds = %13
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds %struct.ifaddrs, ptr %17, i32 0, i32 1
%19 = load ptr, ptr %18, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %22, label %21
21: ; preds = %16
br label %74
22: ; preds = %16
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds %struct.ifaddrs, ptr %23, i32 0, i32 1
%25 = load ptr, ptr %24, align 8
%26 = getelementptr inbounds %struct.TYPE_2__, ptr %25, i32 0, i32 0
%27 = load i32, ptr %26, align 4
store i32 %27, ptr %4, align 4
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr @AF_INET, align 4
%30 = icmp ne i32 %28, %29
br i1 %30, label %31, label %36
31: ; preds = %22
%32 = load i32, ptr %4, align 4
%33 = load i32, ptr @AF_INET6, align 4
%34 = icmp ne i32 %32, %33
br i1 %34, label %35, label %36
35: ; preds = %31
br label %74
36: ; preds = %31, %22
%37 = load ptr, ptr %3, align 8
%38 = getelementptr inbounds %struct.ifaddrs, ptr %37, i32 0, i32 1
%39 = load ptr, ptr %38, align 8
%40 = load i32, ptr %4, align 4
%41 = load i32, ptr @AF_INET, align 4
%42 = icmp eq i32 %40, %41
%43 = zext i1 %42 to i64
%44 = select i1 %42, i64 4, i64 4
%45 = trunc i64 %44 to i32
%46 = getelementptr inbounds [1025 x i8], ptr %5, i64 0, i64 0
%47 = load i32, ptr @NI_NUMERICHOST, align 4
%48 = call i32 @getnameinfo(ptr noundef %39, i32 noundef %45, ptr noundef %46, i32 noundef 1025, ptr noundef null, i32 noundef 0, i32 noundef %47)
store i32 %48, ptr %6, align 4
%49 = load i32, ptr %6, align 4
%50 = icmp ne i32 %49, 0
br i1 %50, label %51, label %63
51: ; preds = %36
%52 = load i32, ptr %6, align 4
%53 = load i32, ptr @EAI_SYSTEM, align 4
%54 = icmp eq i32 %52, %53
br i1 %54, label %55, label %57
55: ; preds = %51
%56 = call i32 @perror(ptr noundef @.str.1)
br label %62
57: ; preds = %51
%58 = load i32, ptr @stderr, align 4
%59 = load i32, ptr %6, align 4
%60 = call ptr @gai_strerror(i32 noundef %59)
%61 = call i32 @fprintf(i32 noundef %58, ptr noundef @.str.2, ptr noundef %60)
br label %62
62: ; preds = %57, %55
br label %74
63: ; preds = %36
%64 = load ptr, ptr %3, align 8
%65 = getelementptr inbounds %struct.ifaddrs, ptr %64, i32 0, i32 0
%66 = load ptr, ptr %65, align 8
%67 = load i32, ptr %4, align 4
%68 = load i32, ptr @AF_INET, align 4
%69 = icmp eq i32 %67, %68
%70 = zext i1 %69 to i64
%71 = select i1 %69, ptr @.str.4, ptr @.str.5
%72 = getelementptr inbounds [1025 x i8], ptr %5, i64 0, i64 0
%73 = call i32 @printf(ptr noundef @.str.3, ptr noundef %66, ptr noundef %71, ptr noundef %72)
br label %74
74: ; preds = %63, %62, %35, %21
%75 = load ptr, ptr %3, align 8
%76 = getelementptr inbounds %struct.ifaddrs, ptr %75, i32 0, i32 2
%77 = load ptr, ptr %76, align 8
store ptr %77, ptr %3, align 8
br label %13, !llvm.loop !6
78: ; preds = %13
%79 = load ptr, ptr %2, align 8
%80 = call i32 @freeifaddrs(ptr noundef %79)
store i32 0, ptr %1, align 4
br label %81
81: ; preds = %78, %9
%82 = load i32, ptr %1, align 4
ret i32 %82
}
declare i64 @getifaddrs(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @getnameinfo(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @gai_strerror(i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @freeifaddrs(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpud1ipmpo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.ifaddrs = type { ptr, ptr, ptr }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [21 x i8] c"listnets: getifaddrs\00", align 1
@AF_INET = dso_local global i32 0, align 4
@AF_INET6 = dso_local global i32 0, align 4
@NI_NUMERICHOST = dso_local global i32 0, align 4
@EAI_SYSTEM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [22 x i8] c"listnets: getnameinfo\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [27 x i8] c"listnets: getnameinfo: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"%s %s %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"ipv4\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"ipv6\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [1025 x i8], align 16
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i64 @getifaddrs(ptr noundef %2)
%8 = icmp slt i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %0
%10 = call i32 @perror(ptr noundef @.str)
store i32 1, ptr %1, align 4
br label %82
11: ; preds = %0
%12 = load ptr, ptr %2, align 8
store ptr %12, ptr %3, align 8
%13 = load ptr, ptr %3, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %.lr.ph, label %79
.lr.ph: ; preds = %11
br label %15
15: ; preds = %.lr.ph, %73
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds %struct.ifaddrs, ptr %16, i32 0, i32 1
%18 = load ptr, ptr %17, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %21, label %20
20: ; preds = %15
br label %73
21: ; preds = %15
%22 = load ptr, ptr %3, align 8
%23 = getelementptr inbounds %struct.ifaddrs, ptr %22, i32 0, i32 1
%24 = load ptr, ptr %23, align 8
%25 = getelementptr inbounds %struct.TYPE_2__, ptr %24, i32 0, i32 0
%26 = load i32, ptr %25, align 4
store i32 %26, ptr %4, align 4
%27 = load i32, ptr %4, align 4
%28 = load i32, ptr @AF_INET, align 4
%29 = icmp ne i32 %27, %28
br i1 %29, label %30, label %35
30: ; preds = %21
%31 = load i32, ptr %4, align 4
%32 = load i32, ptr @AF_INET6, align 4
%33 = icmp ne i32 %31, %32
br i1 %33, label %34, label %35
34: ; preds = %30
br label %73
35: ; preds = %30, %21
%36 = load ptr, ptr %3, align 8
%37 = getelementptr inbounds %struct.ifaddrs, ptr %36, i32 0, i32 1
%38 = load ptr, ptr %37, align 8
%39 = load i32, ptr %4, align 4
%40 = load i32, ptr @AF_INET, align 4
%41 = icmp eq i32 %39, %40
%42 = zext i1 %41 to i64
%43 = select i1 %41, i64 4, i64 4
%44 = trunc i64 %43 to i32
%45 = getelementptr inbounds [1025 x i8], ptr %5, i64 0, i64 0
%46 = load i32, ptr @NI_NUMERICHOST, align 4
%47 = call i32 @getnameinfo(ptr noundef %38, i32 noundef %44, ptr noundef %45, i32 noundef 1025, ptr noundef null, i32 noundef 0, i32 noundef %46)
store i32 %47, ptr %6, align 4
%48 = load i32, ptr %6, align 4
%49 = icmp ne i32 %48, 0
br i1 %49, label %50, label %62
50: ; preds = %35
%51 = load i32, ptr %6, align 4
%52 = load i32, ptr @EAI_SYSTEM, align 4
%53 = icmp eq i32 %51, %52
br i1 %53, label %54, label %56
54: ; preds = %50
%55 = call i32 @perror(ptr noundef @.str.1)
br label %61
56: ; preds = %50
%57 = load i32, ptr @stderr, align 4
%58 = load i32, ptr %6, align 4
%59 = call ptr @gai_strerror(i32 noundef %58)
%60 = call i32 @fprintf(i32 noundef %57, ptr noundef @.str.2, ptr noundef %59)
br label %61
61: ; preds = %56, %54
br label %73
62: ; preds = %35
%63 = load ptr, ptr %3, align 8
%64 = getelementptr inbounds %struct.ifaddrs, ptr %63, i32 0, i32 0
%65 = load ptr, ptr %64, align 8
%66 = load i32, ptr %4, align 4
%67 = load i32, ptr @AF_INET, align 4
%68 = icmp eq i32 %66, %67
%69 = zext i1 %68 to i64
%70 = select i1 %68, ptr @.str.4, ptr @.str.5
%71 = getelementptr inbounds [1025 x i8], ptr %5, i64 0, i64 0
%72 = call i32 @printf(ptr noundef @.str.3, ptr noundef %65, ptr noundef %70, ptr noundef %71)
br label %73
73: ; preds = %62, %61, %34, %20
%74 = load ptr, ptr %3, align 8
%75 = getelementptr inbounds %struct.ifaddrs, ptr %74, i32 0, i32 2
%76 = load ptr, ptr %75, align 8
store ptr %76, ptr %3, align 8
%77 = load ptr, ptr %3, align 8
%78 = icmp ne ptr %77, null
br i1 %78, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %73
br label %79
79: ; preds = %._crit_edge, %11
%80 = load ptr, ptr %2, align 8
%81 = call i32 @freeifaddrs(ptr noundef %80)
store i32 0, ptr %1, align 4
br label %82
82: ; preds = %79, %9
%83 = load i32, ptr %1, align 4
ret i32 %83
}
declare i64 @getifaddrs(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @getnameinfo(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @gai_strerror(i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @freeifaddrs(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpbkypn4lw.c'
source_filename = "/tmp/tmpbkypn4lw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @message_free_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @free(ptr noundef %6)
store ptr null, ptr %2, align 8
br label %8
8: ; preds = %5, %1
ret i32 0
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbkypn4lw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @message_free_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @free(ptr noundef %6)
store ptr null, ptr %2, align 8
br label %8
8: ; preds = %5, %1
ret i32 0
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdyeiqngz.c'
source_filename = "/tmp/tmpdyeiqngz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"read_flashram_statusb\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @read_flashram_statusb() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdyeiqngz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"read_flashram_statusb\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @read_flashram_statusb() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphtmc1594.c'
source_filename = "/tmp/tmphtmc1594.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @clReleaseSampler(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca [1 x i32], align 4
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = trunc i64 %4 to i32
%6 = getelementptr inbounds [1 x i32], ptr %3, i64 0, i64 0
store i32 %5, ptr %6, align 4
%7 = getelementptr inbounds [1 x i32], ptr %3, i64 0, i64 0
%8 = call i32 @syscall(i32 noundef 325, i32 noundef 1026, ptr noundef %7)
ret i32 %8
}
declare i32 @syscall(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphtmc1594.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @clReleaseSampler(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca [1 x i32], align 4
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = trunc i64 %4 to i32
%6 = getelementptr inbounds [1 x i32], ptr %3, i64 0, i64 0
store i32 %5, ptr %6, align 4
%7 = getelementptr inbounds [1 x i32], ptr %3, i64 0, i64 0
%8 = call i32 @syscall(i32 noundef 325, i32 noundef 1026, ptr noundef %7)
ret i32 %8
}
declare i32 @syscall(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd4hxkma_.c'
source_filename = "/tmp/tmpd4hxkma_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mus_midi_get_flag(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @musmidi_getflag(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @musmidi_getflag(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd4hxkma_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mus_midi_get_flag(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @musmidi_getflag(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @musmidi_getflag(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsm2bxpwa.c'
source_filename = "/tmp/tmpsm2bxpwa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @serial_int32(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 0
br i1 %4, label %5, label %9
5: ; preds = %1
%6 = call i32 @putchar(i8 noundef signext 45)
%7 = load i32, ptr %2, align 4
%8 = sub nsw i32 0, %7
store i32 %8, ptr %2, align 4
br label %9
9: ; preds = %5, %1
%10 = load i32, ptr %2, align 4
%11 = call i32 @serial_dec32(i32 noundef %10)
ret void
}
declare i32 @putchar(i8 noundef signext) #1
declare i32 @serial_dec32(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsm2bxpwa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @serial_int32(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 0
br i1 %4, label %5, label %9
5: ; preds = %1
%6 = call i32 @putchar(i8 noundef signext 45)
%7 = load i32, ptr %2, align 4
%8 = sub nsw i32 0, %7
store i32 %8, ptr %2, align 4
br label %9
9: ; preds = %5, %1
%10 = load i32, ptr %2, align 4
%11 = call i32 @serial_dec32(i32 noundef %10)
ret void
}
declare i32 @putchar(i8 noundef signext) #1
declare i32 @serial_dec32(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp73frv340.c'
source_filename = "/tmp/tmp73frv340.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp73frv340.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvle0c2xv.c'
source_filename = "/tmp/tmpvle0c2xv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_serial_number(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @len(ptr noundef %5)
%7 = icmp ne i32 %6, 3
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 0, ptr %2, align 4
br label %35
9: ; preds = %1
store i32 0, ptr %4, align 4
br label %10
10: ; preds = %31, %9
%11 = load i32, ptr %4, align 4
%12 = icmp sle i32 %11, 2
br i1 %12, label %13, label %34
13: ; preds = %10
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp sge i32 %19, 48
br i1 %20, label %21, label %29
21: ; preds = %13
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %4, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp sle i32 %27, 57
br i1 %28, label %30, label %29
29: ; preds = %21, %13
store i32 0, ptr %2, align 4
br label %35
30: ; preds = %21
br label %31
31: ; preds = %30
%32 = load i32, ptr %4, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %4, align 4
br label %10, !llvm.loop !6
34: ; preds = %10
store i32 1, ptr %2, align 4
br label %35
35: ; preds = %34, %29, %8
%36 = load i32, ptr %2, align 4
ret i32 %36
}
declare i32 @len(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvle0c2xv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_serial_number(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @len(ptr noundef %5)
%7 = icmp ne i32 %6, 3
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 0, ptr %2, align 4
br label %36
9: ; preds = %1
store i32 0, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp sle i32 %10, 2
br i1 %11, label %.lr.ph, label %35
.lr.ph: ; preds = %9
br label %12
12: ; preds = %.lr.ph, %30
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %4, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp sge i32 %18, 48
br i1 %19, label %20, label %28
20: ; preds = %12
%21 = load ptr, ptr %3, align 8
%22 = load i32, ptr %4, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp sle i32 %26, 57
br i1 %27, label %29, label %28
28: ; preds = %20, %12
store i32 0, ptr %2, align 4
br label %36
29: ; preds = %20
br label %30
30: ; preds = %29
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %4, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp sle i32 %33, 2
br i1 %34, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %35
35: ; preds = %._crit_edge, %9
store i32 1, ptr %2, align 4
br label %36
36: ; preds = %35, %28, %8
%37 = load i32, ptr %2, align 4
ret i32 %37
}
declare i32 @len(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpyhpce9b6.c'
source_filename = "/tmp/tmpyhpce9b6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"%c %lld\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i64, align 8
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %20, %0
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %23
11: ; preds = %7
%12 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5)
%13 = call i32 (...) @getchar()
%14 = load i32, ptr %4, align 4
%15 = call i64 @f(i32 noundef %14)
%16 = load i64, ptr %5, align 8
%17 = add nsw i64 %16, %15
store i64 %17, ptr %5, align 8
%18 = load i64, ptr %5, align 8
%19 = call i32 @printf(ptr noundef @.str.2, i64 noundef %18)
br label %20
20: ; preds = %11
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
br label %7, !llvm.loop !6
23: ; preds = %7
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @getchar(...) #1
declare i64 @f(i32 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyhpce9b6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"%c %lld\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i64, align 8
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %25
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %19
%11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5)
%12 = call i32 (...) @getchar()
%13 = load i32, ptr %4, align 4
%14 = call i64 @f(i32 noundef %13)
%15 = load i64, ptr %5, align 8
%16 = add nsw i64 %15, %14
store i64 %16, ptr %5, align 8
%17 = load i64, ptr %5, align 8
%18 = call i32 @printf(ptr noundef @.str.2, i64 noundef %17)
br label %19
19: ; preds = %10
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = load i32, ptr %2, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @getchar(...) #1
declare i64 @f(i32 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpgsn9igc_.c'
source_filename = "/tmp/tmpgsn9igc_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [55 x i8] c"usage: %s [-b <buf>] [-f <fmt>] [-d <div>] [-h] <str>\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
%5 = load i32, ptr @EXIT_FAILURE, align 4
%6 = call i32 @exit(i32 noundef %5) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgsn9igc_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [55 x i8] c"usage: %s [-b <buf>] [-f <fmt>] [-d <div>] [-h] <str>\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
%5 = load i32, ptr @EXIT_FAILURE, align 4
%6 = call i32 @exit(i32 noundef %5) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiqo9lnp2.c'
source_filename = "/tmp/tmpiqo9lnp2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @partition(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %6, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
store i32 %14, ptr %7, align 4
%15 = load i32, ptr %5, align 4
%16 = sub nsw i32 %15, 1
store i32 %16, ptr %8, align 4
%17 = load i32, ptr %5, align 4
store i32 %17, ptr %9, align 4
br label %18
18: ; preds = %37, %3
%19 = load i32, ptr %9, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %40
22: ; preds = %18
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %9, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load i32, ptr %7, align 4
%29 = icmp sle i32 %27, %28
br i1 %29, label %30, label %36
30: ; preds = %22
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %8, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %8, align 4
%34 = load i32, ptr %9, align 4
%35 = call i32 @swap_int_arr(ptr noundef %31, i32 noundef %33, i32 noundef %34)
br label %36
36: ; preds = %30, %22
br label %37
37: ; preds = %36
%38 = load i32, ptr %9, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %9, align 4
br label %18, !llvm.loop !6
40: ; preds = %18
%41 = load ptr, ptr %4, align 8
%42 = load i32, ptr %8, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %8, align 4
%44 = load i32, ptr %6, align 4
%45 = call i32 @swap_int_arr(ptr noundef %41, i32 noundef %43, i32 noundef %44)
%46 = load i32, ptr %8, align 4
ret i32 %46
}
declare i32 @swap_int_arr(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiqo9lnp2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @partition(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %6, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
store i32 %14, ptr %7, align 4
%15 = load i32, ptr %5, align 4
%16 = sub nsw i32 %15, 1
store i32 %16, ptr %8, align 4
%17 = load i32, ptr %5, align 4
store i32 %17, ptr %9, align 4
%18 = load i32, ptr %9, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %42
.lr.ph: ; preds = %3
br label %21
21: ; preds = %.lr.ph, %36
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %9, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = load i32, ptr %25, align 4
%27 = load i32, ptr %7, align 4
%28 = icmp sle i32 %26, %27
br i1 %28, label %29, label %35
29: ; preds = %21
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %8, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %8, align 4
%33 = load i32, ptr %9, align 4
%34 = call i32 @swap_int_arr(ptr noundef %30, i32 noundef %32, i32 noundef %33)
br label %35
35: ; preds = %29, %21
br label %36
36: ; preds = %35
%37 = load i32, ptr %9, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %9, align 4
%39 = load i32, ptr %9, align 4
%40 = load i32, ptr %6, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %42
42: ; preds = %._crit_edge, %3
%43 = load ptr, ptr %4, align 8
%44 = load i32, ptr %8, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %8, align 4
%46 = load i32, ptr %6, align 4
%47 = call i32 @swap_int_arr(ptr noundef %43, i32 noundef %45, i32 noundef %46)
%48 = load i32, ptr %8, align 4
ret i32 %48
}
declare i32 @swap_int_arr(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpq3lah9pw.c'
source_filename = "/tmp/tmpq3lah9pw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.a = private unnamed_addr constant [22 x i32] [i32 3, i32 26, i32 35, i32 8, i32 36, i32 9, i32 26, i32 2, i32 17, i32 6, i32 37, i32 2, i32 1, i32 5, i32 7, i32 1, i32 1, i32 6, i32 3, i32 2, i32 1, i32 3], align 16
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [22 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.a, i64 88, i1 false)
store i32 0, ptr %2, align 4
br label %7
7: ; preds = %16, %0
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %8, 22
br i1 %9, label %10, label %19
10: ; preds = %7
%11 = load i32, ptr %2, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [22 x i32], ptr %6, i64 0, i64 %12
%14 = load i32, ptr %13, align 4
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %14)
br label %16
16: ; preds = %10
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %2, align 4
br label %7, !llvm.loop !6
19: ; preds = %7
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq3lah9pw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.a = private unnamed_addr constant [22 x i32] [i32 3, i32 26, i32 35, i32 8, i32 36, i32 9, i32 26, i32 2, i32 17, i32 6, i32 37, i32 2, i32 1, i32 5, i32 7, i32 1, i32 1, i32 6, i32 3, i32 2, i32 1, i32 3], align 16
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [22 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.a, i64 88, i1 false)
store i32 0, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %7, 22
br i1 %8, label %.lr.ph, label %20
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %15
%10 = load i32, ptr %2, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [22 x i32], ptr %6, i64 0, i64 %11
%13 = load i32, ptr %12, align 4
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %13)
br label %15
15: ; preds = %9
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %2, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %18, 22
br i1 %19, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %0
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp3adv9tjq.c'
source_filename = "/tmp/tmp3adv9tjq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.passwd = type { ptr, ptr, i32, i32, i32, i64, i64 }
@EINVAL = dso_local global i32 0, align 4
@_SC_GETPW_R_SIZE_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"%s:%s:%lu:%lu:%s:%s:%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__getpw(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca %struct.passwd, align 8
%9 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = load i32, ptr @EINVAL, align 4
%14 = call i32 @__set_errno(i32 noundef %13)
store i32 -1, ptr %3, align 4
br label %57
15: ; preds = %2
%16 = load i32, ptr @_SC_GETPW_R_SIZE_MAX, align 4
%17 = call i64 @__sysconf(i32 noundef %16)
store i64 %17, ptr %6, align 8
%18 = load i64, ptr %6, align 8
%19 = call ptr @alloca(i64 noundef %18)
store ptr %19, ptr %7, align 8
%20 = load i32, ptr %4, align 4
%21 = load ptr, ptr %7, align 8
%22 = load i64, ptr %6, align 8
%23 = call i64 @__getpwuid_r(i32 noundef %20, ptr noundef %8, ptr noundef %21, i64 noundef %22, ptr noundef %9)
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %26
25: ; preds = %15
store i32 -1, ptr %3, align 4
br label %57
26: ; preds = %15
%27 = load ptr, ptr %9, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %30
29: ; preds = %26
store i32 -1, ptr %3, align 4
br label %57
30: ; preds = %26
%31 = load ptr, ptr %5, align 8
%32 = load ptr, ptr %9, align 8
%33 = getelementptr inbounds %struct.passwd, ptr %32, i32 0, i32 0
%34 = load ptr, ptr %33, align 8
%35 = load ptr, ptr %9, align 8
%36 = getelementptr inbounds %struct.passwd, ptr %35, i32 0, i32 1
%37 = load ptr, ptr %36, align 8
%38 = load ptr, ptr %9, align 8
%39 = getelementptr inbounds %struct.passwd, ptr %38, i32 0, i32 6
%40 = load i64, ptr %39, align 8
%41 = load ptr, ptr %9, align 8
%42 = getelementptr inbounds %struct.passwd, ptr %41, i32 0, i32 5
%43 = load i64, ptr %42, align 8
%44 = load ptr, ptr %9, align 8
%45 = getelementptr inbounds %struct.passwd, ptr %44, i32 0, i32 4
%46 = load i32, ptr %45, align 8
%47 = load ptr, ptr %9, align 8
%48 = getelementptr inbounds %struct.passwd, ptr %47, i32 0, i32 3
%49 = load i32, ptr %48, align 4
%50 = load ptr, ptr %9, align 8
%51 = getelementptr inbounds %struct.passwd, ptr %50, i32 0, i32 2
%52 = load i32, ptr %51, align 8
%53 = call i64 @sprintf(ptr noundef %31, ptr noundef @.str, ptr noundef %34, ptr noundef %37, i64 noundef %40, i64 noundef %43, i32 noundef %46, i32 noundef %49, i32 noundef %52)
%54 = icmp slt i64 %53, 0
br i1 %54, label %55, label %56
55: ; preds = %30
store i32 -1, ptr %3, align 4
br label %57
56: ; preds = %30
store i32 0, ptr %3, align 4
br label %57
57: ; preds = %56, %55, %29, %25, %12
%58 = load i32, ptr %3, align 4
ret i32 %58
}
declare i32 @__set_errno(i32 noundef) #1
declare i64 @__sysconf(i32 noundef) #1
declare ptr @alloca(i64 noundef) #1
declare i64 @__getpwuid_r(i32 noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1
declare i64 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3adv9tjq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.passwd = type { ptr, ptr, i32, i32, i32, i64, i64 }
@EINVAL = dso_local global i32 0, align 4
@_SC_GETPW_R_SIZE_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"%s:%s:%lu:%lu:%s:%s:%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__getpw(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca %struct.passwd, align 8
%9 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = load i32, ptr @EINVAL, align 4
%14 = call i32 @__set_errno(i32 noundef %13)
store i32 -1, ptr %3, align 4
br label %57
15: ; preds = %2
%16 = load i32, ptr @_SC_GETPW_R_SIZE_MAX, align 4
%17 = call i64 @__sysconf(i32 noundef %16)
store i64 %17, ptr %6, align 8
%18 = load i64, ptr %6, align 8
%19 = call ptr @alloca(i64 noundef %18)
store ptr %19, ptr %7, align 8
%20 = load i32, ptr %4, align 4
%21 = load ptr, ptr %7, align 8
%22 = load i64, ptr %6, align 8
%23 = call i64 @__getpwuid_r(i32 noundef %20, ptr noundef %8, ptr noundef %21, i64 noundef %22, ptr noundef %9)
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %26
25: ; preds = %15
store i32 -1, ptr %3, align 4
br label %57
26: ; preds = %15
%27 = load ptr, ptr %9, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %30
29: ; preds = %26
store i32 -1, ptr %3, align 4
br label %57
30: ; preds = %26
%31 = load ptr, ptr %5, align 8
%32 = load ptr, ptr %9, align 8
%33 = getelementptr inbounds %struct.passwd, ptr %32, i32 0, i32 0
%34 = load ptr, ptr %33, align 8
%35 = load ptr, ptr %9, align 8
%36 = getelementptr inbounds %struct.passwd, ptr %35, i32 0, i32 1
%37 = load ptr, ptr %36, align 8
%38 = load ptr, ptr %9, align 8
%39 = getelementptr inbounds %struct.passwd, ptr %38, i32 0, i32 6
%40 = load i64, ptr %39, align 8
%41 = load ptr, ptr %9, align 8
%42 = getelementptr inbounds %struct.passwd, ptr %41, i32 0, i32 5
%43 = load i64, ptr %42, align 8
%44 = load ptr, ptr %9, align 8
%45 = getelementptr inbounds %struct.passwd, ptr %44, i32 0, i32 4
%46 = load i32, ptr %45, align 8
%47 = load ptr, ptr %9, align 8
%48 = getelementptr inbounds %struct.passwd, ptr %47, i32 0, i32 3
%49 = load i32, ptr %48, align 4
%50 = load ptr, ptr %9, align 8
%51 = getelementptr inbounds %struct.passwd, ptr %50, i32 0, i32 2
%52 = load i32, ptr %51, align 8
%53 = call i64 @sprintf(ptr noundef %31, ptr noundef @.str, ptr noundef %34, ptr noundef %37, i64 noundef %40, i64 noundef %43, i32 noundef %46, i32 noundef %49, i32 noundef %52)
%54 = icmp slt i64 %53, 0
br i1 %54, label %55, label %56
55: ; preds = %30
store i32 -1, ptr %3, align 4
br label %57
56: ; preds = %30
store i32 0, ptr %3, align 4
br label %57
57: ; preds = %56, %55, %29, %25, %12
%58 = load i32, ptr %3, align 4
ret i32 %58
}
declare i32 @__set_errno(i32 noundef) #1
declare i64 @__sysconf(i32 noundef) #1
declare ptr @alloca(i64 noundef) #1
declare i64 @__getpwuid_r(i32 noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1
declare i64 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmen7zz7i.c'
source_filename = "/tmp/tmpmen7zz7i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmen7zz7i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcsyzm06e.c'
source_filename = "/tmp/tmpcsyzm06e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"NOT IMPLEMENTED:pa_memblock_get_length\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_memblock_get_length() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcsyzm06e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"NOT IMPLEMENTED:pa_memblock_get_length\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_memblock_get_length() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvh3768jq.c'
source_filename = "/tmp/tmpvh3768jq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.light_init.mat_specular = private unnamed_addr constant [4 x double] [double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 1.000000e+00], align 16
@__const.light_init.mat_shininess = private unnamed_addr constant [1 x double] [double 5.000000e+01], align 8
@__const.light_init.light_position = private unnamed_addr constant [4 x double] [double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 0.000000e+00], align 16
@__const.light_init.white_light = private unnamed_addr constant [4 x double] [double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 1.000000e+00], align 16
@__const.light_init.lmodel_ambient = private unnamed_addr constant [4 x double] [double 1.000000e-01, double 1.000000e-01, double 1.000000e-01, double 1.000000e+00], align 16
@GL_SMOOTH = dso_local global i32 0, align 4
@GL_FRONT = dso_local global i32 0, align 4
@GL_SPECULAR = dso_local global i32 0, align 4
@GL_SHININESS = dso_local global i32 0, align 4
@GL_LIGHT0 = dso_local global i32 0, align 4
@GL_POSITION = dso_local global i32 0, align 4
@GL_DIFFUSE = dso_local global i32 0, align 4
@GL_LIGHT_MODEL_AMBIENT = dso_local global i32 0, align 4
@GL_LIGHTING = dso_local global i32 0, align 4
@GL_DEPTH_TEST = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @light_init() #0 {
%1 = alloca [4 x double], align 16
%2 = alloca [1 x double], align 8
%3 = alloca [4 x double], align 16
%4 = alloca [4 x double], align 16
%5 = alloca [4 x double], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.light_init.mat_specular, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2, ptr align 8 @__const.light_init.mat_shininess, i64 8, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.light_init.light_position, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.light_init.white_light, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.light_init.lmodel_ambient, i64 32, i1 false)
%6 = call i32 @glClearColor(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
%7 = load i32, ptr @GL_SMOOTH, align 4
%8 = call i32 @glShadeModel(i32 noundef %7)
%9 = load i32, ptr @GL_FRONT, align 4
%10 = load i32, ptr @GL_SPECULAR, align 4
%11 = getelementptr inbounds [4 x double], ptr %1, i64 0, i64 0
%12 = call i32 @glMaterialfv(i32 noundef %9, i32 noundef %10, ptr noundef %11)
%13 = load i32, ptr @GL_FRONT, align 4
%14 = load i32, ptr @GL_SHININESS, align 4
%15 = getelementptr inbounds [1 x double], ptr %2, i64 0, i64 0
%16 = call i32 @glMaterialfv(i32 noundef %13, i32 noundef %14, ptr noundef %15)
%17 = load i32, ptr @GL_LIGHT0, align 4
%18 = load i32, ptr @GL_POSITION, align 4
%19 = getelementptr inbounds [4 x double], ptr %3, i64 0, i64 0
%20 = call i32 @glLightfv(i32 noundef %17, i32 noundef %18, ptr noundef %19)
%21 = load i32, ptr @GL_LIGHT0, align 4
%22 = load i32, ptr @GL_DIFFUSE, align 4
%23 = getelementptr inbounds [4 x double], ptr %4, i64 0, i64 0
%24 = call i32 @glLightfv(i32 noundef %21, i32 noundef %22, ptr noundef %23)
%25 = load i32, ptr @GL_LIGHT0, align 4
%26 = load i32, ptr @GL_SPECULAR, align 4
%27 = getelementptr inbounds [4 x double], ptr %4, i64 0, i64 0
%28 = call i32 @glLightfv(i32 noundef %25, i32 noundef %26, ptr noundef %27)
%29 = load i32, ptr @GL_LIGHT_MODEL_AMBIENT, align 4
%30 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 0
%31 = call i32 @glLightModelfv(i32 noundef %29, ptr noundef %30)
%32 = load i32, ptr @GL_LIGHTING, align 4
%33 = call i32 @glEnable(i32 noundef %32)
%34 = load i32, ptr @GL_LIGHT0, align 4
%35 = call i32 @glEnable(i32 noundef %34)
%36 = load i32, ptr @GL_DEPTH_TEST, align 4
%37 = call i32 @glEnable(i32 noundef %36)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @glClearColor(double noundef, double noundef, double noundef, double noundef) #2
declare i32 @glShadeModel(i32 noundef) #2
declare i32 @glMaterialfv(i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @glLightfv(i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @glLightModelfv(i32 noundef, ptr noundef) #2
declare i32 @glEnable(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvh3768jq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.light_init.mat_specular = private unnamed_addr constant [4 x double] [double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 1.000000e+00], align 16
@__const.light_init.mat_shininess = private unnamed_addr constant [1 x double] [double 5.000000e+01], align 8
@__const.light_init.light_position = private unnamed_addr constant [4 x double] [double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 0.000000e+00], align 16
@__const.light_init.white_light = private unnamed_addr constant [4 x double] [double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 1.000000e+00], align 16
@__const.light_init.lmodel_ambient = private unnamed_addr constant [4 x double] [double 1.000000e-01, double 1.000000e-01, double 1.000000e-01, double 1.000000e+00], align 16
@GL_SMOOTH = dso_local global i32 0, align 4
@GL_FRONT = dso_local global i32 0, align 4
@GL_SPECULAR = dso_local global i32 0, align 4
@GL_SHININESS = dso_local global i32 0, align 4
@GL_LIGHT0 = dso_local global i32 0, align 4
@GL_POSITION = dso_local global i32 0, align 4
@GL_DIFFUSE = dso_local global i32 0, align 4
@GL_LIGHT_MODEL_AMBIENT = dso_local global i32 0, align 4
@GL_LIGHTING = dso_local global i32 0, align 4
@GL_DEPTH_TEST = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @light_init() #0 {
%1 = alloca [4 x double], align 16
%2 = alloca [1 x double], align 8
%3 = alloca [4 x double], align 16
%4 = alloca [4 x double], align 16
%5 = alloca [4 x double], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.light_init.mat_specular, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2, ptr align 8 @__const.light_init.mat_shininess, i64 8, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.light_init.light_position, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.light_init.white_light, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.light_init.lmodel_ambient, i64 32, i1 false)
%6 = call i32 @glClearColor(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
%7 = load i32, ptr @GL_SMOOTH, align 4
%8 = call i32 @glShadeModel(i32 noundef %7)
%9 = load i32, ptr @GL_FRONT, align 4
%10 = load i32, ptr @GL_SPECULAR, align 4
%11 = getelementptr inbounds [4 x double], ptr %1, i64 0, i64 0
%12 = call i32 @glMaterialfv(i32 noundef %9, i32 noundef %10, ptr noundef %11)
%13 = load i32, ptr @GL_FRONT, align 4
%14 = load i32, ptr @GL_SHININESS, align 4
%15 = getelementptr inbounds [1 x double], ptr %2, i64 0, i64 0
%16 = call i32 @glMaterialfv(i32 noundef %13, i32 noundef %14, ptr noundef %15)
%17 = load i32, ptr @GL_LIGHT0, align 4
%18 = load i32, ptr @GL_POSITION, align 4
%19 = getelementptr inbounds [4 x double], ptr %3, i64 0, i64 0
%20 = call i32 @glLightfv(i32 noundef %17, i32 noundef %18, ptr noundef %19)
%21 = load i32, ptr @GL_LIGHT0, align 4
%22 = load i32, ptr @GL_DIFFUSE, align 4
%23 = getelementptr inbounds [4 x double], ptr %4, i64 0, i64 0
%24 = call i32 @glLightfv(i32 noundef %21, i32 noundef %22, ptr noundef %23)
%25 = load i32, ptr @GL_LIGHT0, align 4
%26 = load i32, ptr @GL_SPECULAR, align 4
%27 = getelementptr inbounds [4 x double], ptr %4, i64 0, i64 0
%28 = call i32 @glLightfv(i32 noundef %25, i32 noundef %26, ptr noundef %27)
%29 = load i32, ptr @GL_LIGHT_MODEL_AMBIENT, align 4
%30 = getelementptr inbounds [4 x double], ptr %5, i64 0, i64 0
%31 = call i32 @glLightModelfv(i32 noundef %29, ptr noundef %30)
%32 = load i32, ptr @GL_LIGHTING, align 4
%33 = call i32 @glEnable(i32 noundef %32)
%34 = load i32, ptr @GL_LIGHT0, align 4
%35 = call i32 @glEnable(i32 noundef %34)
%36 = load i32, ptr @GL_DEPTH_TEST, align 4
%37 = call i32 @glEnable(i32 noundef %36)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @glClearColor(double noundef, double noundef, double noundef, double noundef) #2
declare i32 @glShadeModel(i32 noundef) #2
declare i32 @glMaterialfv(i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @glLightfv(i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @glLightModelfv(i32 noundef, ptr noundef) #2
declare i32 @glEnable(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiy9mvzi2.c'
source_filename = "/tmp/tmpiy9mvzi2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%.*s\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c" %.*s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @wrap_printf_wordwise(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %10
10: ; preds = %63, %2
store ptr @.str, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 32
br i1 %14, label %15, label %25
15: ; preds = %10
store ptr @.str.1, ptr %7, align 8
br label %16
16: ; preds = %21, %15
%17 = load ptr, ptr %5, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 32
br i1 %20, label %21, label %24
21: ; preds = %16
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %5, align 8
br label %16, !llvm.loop !6
24: ; preds = %16
br label %25
25: ; preds = %24, %10
%26 = load ptr, ptr %5, align 8
store ptr %26, ptr %8, align 8
br label %27
27: ; preds = %40, %25
%28 = load ptr, ptr %8, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %37
32: ; preds = %27
%33 = load ptr, ptr %8, align 8
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp ne i32 %35, 32
br label %37
37: ; preds = %32, %27
%38 = phi i1 [ false, %27 ], [ %36, %32 ]
br i1 %38, label %39, label %43
39: ; preds = %37
br label %40
40: ; preds = %39
%41 = load ptr, ptr %8, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %8, align 8
br label %27, !llvm.loop !8
43: ; preds = %37
%44 = load i32, ptr %4, align 4
%45 = load ptr, ptr %7, align 8
%46 = load ptr, ptr %8, align 8
%47 = load ptr, ptr %5, align 8
%48 = ptrtoint ptr %46 to i64
%49 = ptrtoint ptr %47 to i64
%50 = sub i64 %48, %49
%51 = trunc i64 %50 to i32
%52 = load ptr, ptr %5, align 8
%53 = call i32 @wrap_printf(i32 noundef %44, ptr noundef %45, i32 noundef %51, ptr noundef %52)
store i32 %53, ptr %9, align 4
%54 = load i32, ptr %9, align 4
%55 = icmp slt i32 %54, 0
br i1 %55, label %56, label %58
56: ; preds = %43
%57 = load i32, ptr %9, align 4
store i32 %57, ptr %3, align 4
br label %69
58: ; preds = %43
%59 = load i32, ptr %9, align 4
%60 = load i32, ptr %6, align 4
%61 = add nsw i32 %60, %59
store i32 %61, ptr %6, align 4
%62 = load ptr, ptr %8, align 8
store ptr %62, ptr %5, align 8
br label %63
63: ; preds = %58
%64 = load ptr, ptr %5, align 8
%65 = load i8, ptr %64, align 1
%66 = icmp ne i8 %65, 0
br i1 %66, label %10, label %67, !llvm.loop !9
67: ; preds = %63
%68 = load i32, ptr %6, align 4
store i32 %68, ptr %3, align 4
br label %69
69: ; preds = %67, %56
%70 = load i32, ptr %3, align 4
ret i32 %70
}
declare i32 @wrap_printf(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiy9mvzi2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%.*s\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c" %.*s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @wrap_printf_wordwise(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %10
10: ; preds = %66, %2
store ptr @.str, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 32
br i1 %14, label %15, label %28
15: ; preds = %10
store ptr @.str.1, ptr %7, align 8
%16 = load ptr, ptr %5, align 8
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 32
br i1 %19, label %.lr.ph, label %27
.lr.ph: ; preds = %15
br label %20
20: ; preds = %.lr.ph, %20
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %5, align 8
%23 = load ptr, ptr %5, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 32
br i1 %26, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %27
27: ; preds = %._crit_edge, %15
br label %28
28: ; preds = %27, %10
%29 = load ptr, ptr %5, align 8
store ptr %29, ptr %8, align 8
br label %30
30: ; preds = %43, %28
%31 = load ptr, ptr %8, align 8
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %40
35: ; preds = %30
%36 = load ptr, ptr %8, align 8
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %38, 32
br label %40
40: ; preds = %35, %30
%41 = phi i1 [ false, %30 ], [ %39, %35 ]
br i1 %41, label %42, label %46
42: ; preds = %40
br label %43
43: ; preds = %42
%44 = load ptr, ptr %8, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 1
store ptr %45, ptr %8, align 8
br label %30, !llvm.loop !8
46: ; preds = %40
%47 = load i32, ptr %4, align 4
%48 = load ptr, ptr %7, align 8
%49 = load ptr, ptr %8, align 8
%50 = load ptr, ptr %5, align 8
%51 = ptrtoint ptr %49 to i64
%52 = ptrtoint ptr %50 to i64
%53 = sub i64 %51, %52
%54 = trunc i64 %53 to i32
%55 = load ptr, ptr %5, align 8
%56 = call i32 @wrap_printf(i32 noundef %47, ptr noundef %48, i32 noundef %54, ptr noundef %55)
store i32 %56, ptr %9, align 4
%57 = load i32, ptr %9, align 4
%58 = icmp slt i32 %57, 0
br i1 %58, label %59, label %61
59: ; preds = %46
%60 = load i32, ptr %9, align 4
store i32 %60, ptr %3, align 4
br label %72
61: ; preds = %46
%62 = load i32, ptr %9, align 4
%63 = load i32, ptr %6, align 4
%64 = add nsw i32 %63, %62
store i32 %64, ptr %6, align 4
%65 = load ptr, ptr %8, align 8
store ptr %65, ptr %5, align 8
br label %66
66: ; preds = %61
%67 = load ptr, ptr %5, align 8
%68 = load i8, ptr %67, align 1
%69 = icmp ne i8 %68, 0
br i1 %69, label %10, label %70, !llvm.loop !9
70: ; preds = %66
%71 = load i32, ptr %6, align 4
store i32 %71, ptr %3, align 4
br label %72
72: ; preds = %70, %59
%73 = load i32, ptr %3, align 4
ret i32 %73
}
declare i32 @wrap_printf(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpjd2ciyug.c'
source_filename = "/tmp/tmpjd2ciyug.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjd2ciyug.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1la8gs9v.c'
source_filename = "/tmp/tmp1la8gs9v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"M140_f(const char *s) is not yet implemented!\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @M140_f(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @debug(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4)
ret i32 1
}
declare i32 @debug(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1la8gs9v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"M140_f(const char *s) is not yet implemented!\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @M140_f(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @debug(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4)
ret i32 1
}
declare i32 @debug(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp85hrnzp1.c'
source_filename = "/tmp/tmp85hrnzp1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @gmtime_r(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @_time_t2tm(ptr noundef %5, i32 noundef 0, ptr noundef %6)
ret ptr %7
}
declare ptr @_time_t2tm(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp85hrnzp1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @gmtime_r(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @_time_t2tm(ptr noundef %5, i32 noundef 0, ptr noundef %6)
ret ptr %7
}
declare ptr @_time_t2tm(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptuxw_agd.c'
source_filename = "/tmp/tmptuxw_agd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @readArgs(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = icmp sge i32 %6, 2
br i1 %7, label %8, label %25
8: ; preds = %2
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = call i32 @atoi(ptr noundef %11)
%13 = icmp sge i32 %12, 1
br i1 %13, label %14, label %25
14: ; preds = %8
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @atoi(ptr noundef %17)
%19 = icmp sle i32 %18, 100000
br i1 %19, label %20, label %25
20: ; preds = %14
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = call i32 @atoi(ptr noundef %23)
store i32 %24, ptr %5, align 4
br label %27
25: ; preds = %14, %8, %2
%26 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
br label %27
27: ; preds = %25, %20
%28 = load i32, ptr %5, align 4
ret i32 %28
}
declare i32 @atoi(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptuxw_agd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @readArgs(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = icmp sge i32 %6, 2
br i1 %7, label %8, label %25
8: ; preds = %2
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = call i32 @atoi(ptr noundef %11)
%13 = icmp sge i32 %12, 1
br i1 %13, label %14, label %25
14: ; preds = %8
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @atoi(ptr noundef %17)
%19 = icmp sle i32 %18, 100000
br i1 %19, label %20, label %25
20: ; preds = %14
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = call i32 @atoi(ptr noundef %23)
store i32 %24, ptr %5, align 4
br label %27
25: ; preds = %14, %8, %2
%26 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
br label %27
27: ; preds = %25, %20
%28 = load i32, ptr %5, align 4
ret i32 %28
}
declare i32 @atoi(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptx3echbp.c'
source_filename = "/tmp/tmptx3echbp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getP(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @dxl_read_byte(i32 noundef %4, i32 noundef 26)
store i32 %5, ptr %3, align 4
%6 = call i32 (...) @PrintErrorCode()
ret void
}
declare i32 @dxl_read_byte(i32 noundef, i32 noundef) #1
declare i32 @PrintErrorCode(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptx3echbp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getP(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @dxl_read_byte(i32 noundef %4, i32 noundef 26)
store i32 %5, ptr %3, align 4
%6 = call i32 (...) @PrintErrorCode()
ret void
}
declare i32 @dxl_read_byte(i32 noundef, i32 noundef) #1
declare i32 @PrintErrorCode(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkux__gz_.c'
source_filename = "/tmp/tmpkux__gz_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @verificaPrimo(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %9, align 4
br label %11
11: ; preds = %42, %4
%12 = load i32, ptr %9, align 4
%13 = load i32, ptr %7, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %19
15: ; preds = %11
%16 = load i32, ptr %10, align 4
%17 = load i32, ptr %8, align 4
%18 = icmp slt i32 %16, %17
br label %19
19: ; preds = %15, %11
%20 = phi i1 [ false, %11 ], [ %18, %15 ]
br i1 %20, label %21, label %45
21: ; preds = %19
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %9, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = load i32, ptr %25, align 4
%27 = call i64 @ehPrimo(i32 noundef %26)
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %41
29: ; preds = %21
%30 = load ptr, ptr %5, align 8
%31 = load i32, ptr %9, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, ptr %30, i64 %32
%34 = load i32, ptr %33, align 4
%35 = load ptr, ptr %6, align 8
%36 = load i32, ptr %10, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
store i32 %34, ptr %38, align 4
%39 = load i32, ptr %10, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %10, align 4
br label %41
41: ; preds = %29, %21
br label %42
42: ; preds = %41
%43 = load i32, ptr %9, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %9, align 4
br label %11, !llvm.loop !6
45: ; preds = %19
br label %46
46: ; preds = %55, %45
%47 = load i32, ptr %10, align 4
%48 = load i32, ptr %8, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %50, label %58
50: ; preds = %46
%51 = load ptr, ptr %6, align 8
%52 = load i32, ptr %10, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %51, i64 %53
store i32 -1, ptr %54, align 4
br label %55
55: ; preds = %50
%56 = load i32, ptr %10, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %10, align 4
br label %46, !llvm.loop !8
58: ; preds = %46
%59 = load i32, ptr %10, align 4
ret i32 %59
}
declare i64 @ehPrimo(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkux__gz_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @verificaPrimo(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %9, align 4
br label %11
11: ; preds = %42, %4
%12 = load i32, ptr %9, align 4
%13 = load i32, ptr %7, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %19
15: ; preds = %11
%16 = load i32, ptr %10, align 4
%17 = load i32, ptr %8, align 4
%18 = icmp slt i32 %16, %17
br label %19
19: ; preds = %15, %11
%20 = phi i1 [ false, %11 ], [ %18, %15 ]
br i1 %20, label %21, label %45
21: ; preds = %19
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %9, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = load i32, ptr %25, align 4
%27 = call i64 @ehPrimo(i32 noundef %26)
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %41
29: ; preds = %21
%30 = load ptr, ptr %5, align 8
%31 = load i32, ptr %9, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, ptr %30, i64 %32
%34 = load i32, ptr %33, align 4
%35 = load ptr, ptr %6, align 8
%36 = load i32, ptr %10, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
store i32 %34, ptr %38, align 4
%39 = load i32, ptr %10, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %10, align 4
br label %41
41: ; preds = %29, %21
br label %42
42: ; preds = %41
%43 = load i32, ptr %9, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %9, align 4
br label %11, !llvm.loop !6
45: ; preds = %19
%46 = load i32, ptr %10, align 4
%47 = load i32, ptr %8, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %.lr.ph, label %60
.lr.ph: ; preds = %45
br label %49
49: ; preds = %.lr.ph, %54
%50 = load ptr, ptr %6, align 8
%51 = load i32, ptr %10, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i32, ptr %50, i64 %52
store i32 -1, ptr %53, align 4
br label %54
54: ; preds = %49
%55 = load i32, ptr %10, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %10, align 4
%57 = load i32, ptr %10, align 4
%58 = load i32, ptr %8, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %49, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %54
br label %60
60: ; preds = %._crit_edge, %45
%61 = load i32, ptr %10, align 4
ret i32 %61
}
declare i64 @ehPrimo(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpss6qc0kx.c'
source_filename = "/tmp/tmpss6qc0kx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @qsort(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpss6qc0kx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @qsort(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9pr_cry3.c'
source_filename = "/tmp/tmp9pr_cry3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [156 x i8] c"75415123591065981965009485944457939790477550112631613307953910218357656560185790391063809273661832958588846804708867683435301180538880000000000000000000000\00", align 1
@.str.1 = private unnamed_addr constant [157 x i8] c"848420140399492297106356716875151822642872438767105649714481489956523636302090141899467854328695620784124526552974761438647138281062400000000000000000000000\00", align 1
@__const.main.input1 = private unnamed_addr constant [2 x ptr] [ptr @.str, ptr @.str.1], align 16
@.str.2 = private unnamed_addr constant [130 x i8] c"848420140399492297106356716875151822642872438767105649714481489956523636302090141899467854328695620784124526552974761438647138281\00", align 1
@.str.3 = private unnamed_addr constant [134 x i8] c"7541512359106598196500948594445793979047755011263161330795391021835765656018579039106380927366183295858884680470886768343530118053888\00", align 1
@__const.main.input2 = private unnamed_addr constant [2 x ptr] [ptr @.str.2, ptr @.str.3], align 16
@.str.4 = private unnamed_addr constant [156 x i8] c"75415123591065981965009486792878080189969847218988330183105732861230095327291440105545299230185469260678988704176722012130921964663406552974761438647138281\00", align 1
@.str.5 = private unnamed_addr constant [157 x i8] c"848420140399492297106364258387510929241068939715700095508460537711534899463420937290489690094351639363163632933902127621942997165742870886768343530118053888\00", align 1
@__const.main.output = private unnamed_addr constant [2 x ptr] [ptr @.str.4, ptr @.str.5], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [2 x ptr], align 16
%7 = alloca [2 x ptr], align 16
%8 = alloca [2 x ptr], align 16
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.input1, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.input2, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.output, i64 16, i1 false)
%10 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0
%11 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 0
%12 = getelementptr inbounds [2 x ptr], ptr %8, i64 0, i64 0
%13 = call i32 @call_add_digit_strings(i32 noundef 0, ptr noundef %10, ptr noundef %11, ptr noundef %12)
store i32 %13, ptr %9, align 4
%14 = load i32, ptr %9, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %21, label %16
16: ; preds = %2
%17 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0
%18 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 0
%19 = getelementptr inbounds [2 x ptr], ptr %8, i64 0, i64 0
%20 = call i32 @call_add_digit_strings(i32 noundef 1, ptr noundef %17, ptr noundef %18, ptr noundef %19)
store i32 %20, ptr %9, align 4
br label %21
21: ; preds = %16, %2
%22 = load i32, ptr %9, align 4
ret i32 %22
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @call_add_digit_strings(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9pr_cry3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [156 x i8] c"75415123591065981965009485944457939790477550112631613307953910218357656560185790391063809273661832958588846804708867683435301180538880000000000000000000000\00", align 1
@.str.1 = private unnamed_addr constant [157 x i8] c"848420140399492297106356716875151822642872438767105649714481489956523636302090141899467854328695620784124526552974761438647138281062400000000000000000000000\00", align 1
@__const.main.input1 = private unnamed_addr constant [2 x ptr] [ptr @.str, ptr @.str.1], align 16
@.str.2 = private unnamed_addr constant [130 x i8] c"848420140399492297106356716875151822642872438767105649714481489956523636302090141899467854328695620784124526552974761438647138281\00", align 1
@.str.3 = private unnamed_addr constant [134 x i8] c"7541512359106598196500948594445793979047755011263161330795391021835765656018579039106380927366183295858884680470886768343530118053888\00", align 1
@__const.main.input2 = private unnamed_addr constant [2 x ptr] [ptr @.str.2, ptr @.str.3], align 16
@.str.4 = private unnamed_addr constant [156 x i8] c"75415123591065981965009486792878080189969847218988330183105732861230095327291440105545299230185469260678988704176722012130921964663406552974761438647138281\00", align 1
@.str.5 = private unnamed_addr constant [157 x i8] c"848420140399492297106364258387510929241068939715700095508460537711534899463420937290489690094351639363163632933902127621942997165742870886768343530118053888\00", align 1
@__const.main.output = private unnamed_addr constant [2 x ptr] [ptr @.str.4, ptr @.str.5], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [2 x ptr], align 16
%7 = alloca [2 x ptr], align 16
%8 = alloca [2 x ptr], align 16
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.input1, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.input2, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.output, i64 16, i1 false)
%10 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0
%11 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 0
%12 = getelementptr inbounds [2 x ptr], ptr %8, i64 0, i64 0
%13 = call i32 @call_add_digit_strings(i32 noundef 0, ptr noundef %10, ptr noundef %11, ptr noundef %12)
store i32 %13, ptr %9, align 4
%14 = load i32, ptr %9, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %21, label %16
16: ; preds = %2
%17 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0
%18 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 0
%19 = getelementptr inbounds [2 x ptr], ptr %8, i64 0, i64 0
%20 = call i32 @call_add_digit_strings(i32 noundef 1, ptr noundef %17, ptr noundef %18, ptr noundef %19)
store i32 %20, ptr %9, align 4
br label %21
21: ; preds = %16, %2
%22 = load i32, ptr %9, align 4
ret i32 %22
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @call_add_digit_strings(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn4dj5atj.c'
source_filename = "/tmp/tmpn4dj5atj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @get_XEvent_xcirculaterequest_serial(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0
%6 = load i64, ptr %5, align 8
ret i64 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn4dj5atj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @get_XEvent_xcirculaterequest_serial(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0
%6 = load i64, ptr %5, align 8
ret i64 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8ch04jlf.c'
source_filename = "/tmp/tmp8ch04jlf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @circleBres(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%10 = load i32, ptr %6, align 4
store i32 %10, ptr %8, align 4
%11 = load i32, ptr %6, align 4
%12 = mul nsw i32 2, %11
%13 = sub nsw i32 3, %12
store i32 %13, ptr %9, align 4
br label %14
14: ; preds = %44, %3
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %7, align 4
%17 = icmp sge i32 %15, %16
br i1 %17, label %18, label %50
18: ; preds = %14
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %8, align 4
%23 = call i32 @drawCircle(i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %22)
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %7, align 4
%26 = load i32, ptr %9, align 4
%27 = icmp sgt i32 %26, 0
br i1 %27, label %28, label %38
28: ; preds = %18
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %29, -1
store i32 %30, ptr %8, align 4
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %8, align 4
%34 = sub nsw i32 %32, %33
%35 = mul nsw i32 4, %34
%36 = add nsw i32 %31, %35
%37 = add nsw i32 %36, 10
store i32 %37, ptr %9, align 4
br label %44
38: ; preds = %18
%39 = load i32, ptr %9, align 4
%40 = load i32, ptr %7, align 4
%41 = mul nsw i32 4, %40
%42 = add nsw i32 %39, %41
%43 = add nsw i32 %42, 6
store i32 %43, ptr %9, align 4
br label %44
44: ; preds = %38, %28
%45 = load i32, ptr %4, align 4
%46 = load i32, ptr %5, align 4
%47 = load i32, ptr %7, align 4
%48 = load i32, ptr %8, align 4
%49 = call i32 @drawCircle(i32 noundef %45, i32 noundef %46, i32 noundef %47, i32 noundef %48)
br label %14, !llvm.loop !6
50: ; preds = %14
ret void
}
declare i32 @drawCircle(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8ch04jlf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @circleBres(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%10 = load i32, ptr %6, align 4
store i32 %10, ptr %8, align 4
%11 = load i32, ptr %6, align 4
%12 = mul nsw i32 2, %11
%13 = sub nsw i32 3, %12
store i32 %13, ptr %9, align 4
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %7, align 4
%16 = icmp sge i32 %14, %15
br i1 %16, label %.lr.ph, label %52
.lr.ph: ; preds = %3
br label %17
17: ; preds = %.lr.ph, %43
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %8, align 4
%22 = call i32 @drawCircle(i32 noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %21)
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %7, align 4
%25 = load i32, ptr %9, align 4
%26 = icmp sgt i32 %25, 0
br i1 %26, label %27, label %37
27: ; preds = %17
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %28, -1
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %9, align 4
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr %8, align 4
%33 = sub nsw i32 %31, %32
%34 = mul nsw i32 4, %33
%35 = add nsw i32 %30, %34
%36 = add nsw i32 %35, 10
store i32 %36, ptr %9, align 4
br label %43
37: ; preds = %17
%38 = load i32, ptr %9, align 4
%39 = load i32, ptr %7, align 4
%40 = mul nsw i32 4, %39
%41 = add nsw i32 %38, %40
%42 = add nsw i32 %41, 6
store i32 %42, ptr %9, align 4
br label %43
43: ; preds = %37, %27
%44 = load i32, ptr %4, align 4
%45 = load i32, ptr %5, align 4
%46 = load i32, ptr %7, align 4
%47 = load i32, ptr %8, align 4
%48 = call i32 @drawCircle(i32 noundef %44, i32 noundef %45, i32 noundef %46, i32 noundef %47)
%49 = load i32, ptr %8, align 4
%50 = load i32, ptr %7, align 4
%51 = icmp sge i32 %49, %50
br i1 %51, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %52
52: ; preds = %._crit_edge, %3
ret void
}
declare i32 @drawCircle(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpyxol8v3h.c'
source_filename = "/tmp/tmpyxol8v3h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.string = private unnamed_addr constant [14 x i8] c"Hello, Kitty!\00", align 1
@.str = private unnamed_addr constant [9 x i8] c"Fifo.txt\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [19 x i8] c"Prog3 read - |%s|\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca [14 x i8], align 1
%4 = alloca [50 x i8], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.string, i64 14, i1 false)
store i32 14, ptr %5, align 4
%7 = load i32, ptr @O_RDWR, align 4
%8 = call i32 @open(ptr noundef @.str, i32 noundef %7)
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = getelementptr inbounds [50 x i8], ptr %4, i64 0, i64 0
%11 = load i32, ptr %5, align 4
%12 = call i64 @read(i32 noundef %9, ptr noundef %10, i32 noundef %11)
store i64 %12, ptr %2, align 8
%13 = getelementptr inbounds [50 x i8], ptr %4, i64 0, i64 0
%14 = call i32 @printf(ptr noundef @.str.1, ptr noundef %13)
%15 = call i32 @sleep(i32 noundef 3)
%16 = load i32, ptr %6, align 4
%17 = getelementptr inbounds [14 x i8], ptr %3, i64 0, i64 0
%18 = load i32, ptr %5, align 4
%19 = call i64 @write(i32 noundef %16, ptr noundef %17, i32 noundef %18)
store i64 %19, ptr %2, align 8
%20 = load i32, ptr %6, align 4
%21 = call i32 @close(i32 noundef %20)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @open(ptr noundef, i32 noundef) #2
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
declare i32 @sleep(i32 noundef) #2
declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @close(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyxol8v3h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.string = private unnamed_addr constant [14 x i8] c"Hello, Kitty!\00", align 1
@.str = private unnamed_addr constant [9 x i8] c"Fifo.txt\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [19 x i8] c"Prog3 read - |%s|\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca [14 x i8], align 1
%4 = alloca [50 x i8], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.string, i64 14, i1 false)
store i32 14, ptr %5, align 4
%7 = load i32, ptr @O_RDWR, align 4
%8 = call i32 @open(ptr noundef @.str, i32 noundef %7)
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = getelementptr inbounds [50 x i8], ptr %4, i64 0, i64 0
%11 = load i32, ptr %5, align 4
%12 = call i64 @read(i32 noundef %9, ptr noundef %10, i32 noundef %11)
store i64 %12, ptr %2, align 8
%13 = getelementptr inbounds [50 x i8], ptr %4, i64 0, i64 0
%14 = call i32 @printf(ptr noundef @.str.1, ptr noundef %13)
%15 = call i32 @sleep(i32 noundef 3)
%16 = load i32, ptr %6, align 4
%17 = getelementptr inbounds [14 x i8], ptr %3, i64 0, i64 0
%18 = load i32, ptr %5, align 4
%19 = call i64 @write(i32 noundef %16, ptr noundef %17, i32 noundef %18)
store i64 %19, ptr %2, align 8
%20 = load i32, ptr %6, align 4
%21 = call i32 @close(i32 noundef %20)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @open(ptr noundef, i32 noundef) #2
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
declare i32 @sleep(i32 noundef) #2
declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @close(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3a83xcrj.c'
source_filename = "/tmp/tmp3a83xcrj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @wl_shm_pool_unref(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @shm_pool_unref(ptr noundef %3, i32 noundef 1)
ret void
}
declare i32 @shm_pool_unref(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3a83xcrj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @wl_shm_pool_unref(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @shm_pool_unref(ptr noundef %3, i32 noundef 1)
ret void
}
declare i32 @shm_pool_unref(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdu9oa64m.c'
source_filename = "/tmp/tmpdu9oa64m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 2, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @fibo1(i32 noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 (...) @__VERIFIER_error()
br label %10
10: ; preds = %8, %0
ret i32 0
}
declare i32 @fibo1(i32 noundef) #1
declare i32 @__VERIFIER_error(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdu9oa64m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 2, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @fibo1(i32 noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 (...) @__VERIFIER_error()
br label %10
10: ; preds = %8, %0
ret i32 0
}
declare i32 @fibo1(i32 noundef) #1
declare i32 @__VERIFIER_error(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_ftzlx1z.c'
source_filename = "/tmp/tmp_ftzlx1z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TCOFLUSH = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @uart_send(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %7, align 4
%12 = call i32 @write(i32 noundef %9, ptr noundef %10, i32 noundef %11)
store i32 %12, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp eq i32 %13, %14
br i1 %15, label %16, label %18
16: ; preds = %3
%17 = load i32, ptr %8, align 4
store i32 %17, ptr %4, align 4
br label %22
18: ; preds = %3
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr @TCOFLUSH, align 4
%21 = call i32 @tcflush(i32 noundef %19, i32 noundef %20)
store i32 -1, ptr %4, align 4
br label %22
22: ; preds = %18, %16
%23 = load i32, ptr %4, align 4
ret i32 %23
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @tcflush(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_ftzlx1z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TCOFLUSH = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @uart_send(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %7, align 4
%12 = call i32 @write(i32 noundef %9, ptr noundef %10, i32 noundef %11)
store i32 %12, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp eq i32 %13, %14
br i1 %15, label %16, label %18
16: ; preds = %3
%17 = load i32, ptr %8, align 4
store i32 %17, ptr %4, align 4
br label %22
18: ; preds = %3
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr @TCOFLUSH, align 4
%21 = call i32 @tcflush(i32 noundef %19, i32 noundef %20)
store i32 -1, ptr %4, align 4
br label %22
22: ; preds = %18, %16
%23 = load i32, ptr %4, align 4
ret i32 %23
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @tcflush(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsh_la7k0.c'
source_filename = "/tmp/tmpsh_la7k0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Adding %d to total\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Total = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 3, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %22, %0
%5 = load i32, ptr %2, align 4
%6 = icmp sle i32 %5, 1000
br i1 %6, label %7, label %25
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = srem i32 %8, 3
%10 = icmp eq i32 %9, 0
br i1 %10, label %15, label %11
11: ; preds = %7
%12 = load i32, ptr %2, align 4
%13 = srem i32 %12, 5
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %21
15: ; preds = %11, %7
%16 = load i32, ptr %2, align 4
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, %18
store i32 %20, ptr %3, align 4
br label %21
21: ; preds = %15, %11
br label %22
22: ; preds = %21
%23 = load i32, ptr %2, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %2, align 4
br label %4, !llvm.loop !6
25: ; preds = %4
%26 = load i32, ptr %3, align 4
%27 = call i32 @printf(ptr noundef @.str.1, i32 noundef %26)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsh_la7k0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Adding %d to total\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Total = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 3, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp sle i32 %4, 1000
br i1 %5, label %.lr.ph, label %26
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %21
%7 = load i32, ptr %2, align 4
%8 = srem i32 %7, 3
%9 = icmp eq i32 %8, 0
br i1 %9, label %14, label %10
10: ; preds = %6
%11 = load i32, ptr %2, align 4
%12 = srem i32 %11, 5
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %20
14: ; preds = %10, %6
%15 = load i32, ptr %2, align 4
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %15)
%17 = load i32, ptr %2, align 4
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, %17
store i32 %19, ptr %3, align 4
br label %20
20: ; preds = %14, %10
br label %21
21: ; preds = %20
%22 = load i32, ptr %2, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %2, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp sle i32 %24, 1000
br i1 %25, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %26
26: ; preds = %._crit_edge, %0
%27 = load i32, ptr %3, align 4
%28 = call i32 @printf(ptr noundef @.str.1, i32 noundef %27)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphf1l1luo.c'
source_filename = "/tmp/tmphf1l1luo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @pn_pair_product(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca double, align 8
%11 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, 1
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
%16 = mul nsw i32 %13, %15
%17 = sext i32 %16 to i64
%18 = mul i64 %17, 8
%19 = trunc i64 %18 to i32
%20 = call i64 @malloc(i32 noundef %19)
%21 = inttoptr i64 %20 to ptr
store ptr %21, ptr %8, align 8
store i32 0, ptr %5, align 4
br label %22
22: ; preds = %45, %1
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp sle i32 %23, %24
br i1 %25, label %26, label %48
26: ; preds = %22
store i32 0, ptr %4, align 4
br label %27
27: ; preds = %41, %26
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr %2, align 4
%30 = icmp sle i32 %28, %29
br i1 %30, label %31, label %44
31: ; preds = %27
%32 = load ptr, ptr %8, align 8
%33 = load i32, ptr %4, align 4
%34 = load i32, ptr %5, align 4
%35 = load i32, ptr %2, align 4
%36 = add nsw i32 %35, 1
%37 = mul nsw i32 %34, %36
%38 = add nsw i32 %33, %37
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds double, ptr %32, i64 %39
store double 0.000000e+00, ptr %40, align 8
br label %41
41: ; preds = %31
%42 = load i32, ptr %4, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %4, align 4
br label %27, !llvm.loop !6
44: ; preds = %27
br label %45
45: ; preds = %44
%46 = load i32, ptr %5, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %5, align 4
br label %22, !llvm.loop !8
48: ; preds = %22
%49 = load i32, ptr %2, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %7, align 4
%51 = load i32, ptr %7, align 4
%52 = sext i32 %51 to i64
%53 = mul i64 %52, 8
%54 = trunc i64 %53 to i32
%55 = call i64 @malloc(i32 noundef %54)
%56 = inttoptr i64 %55 to ptr
store ptr %56, ptr %11, align 8
%57 = load i32, ptr %7, align 4
%58 = sext i32 %57 to i64
%59 = mul i64 %58, 8
%60 = trunc i64 %59 to i32
%61 = call i64 @malloc(i32 noundef %60)
%62 = inttoptr i64 %61 to ptr
store ptr %62, ptr %9, align 8
%63 = load i32, ptr %7, align 4
%64 = load ptr, ptr %11, align 8
%65 = load ptr, ptr %9, align 8
%66 = call i32 @p_quadrature_rule(i32 noundef %63, ptr noundef %64, ptr noundef %65)
store i32 0, ptr %6, align 4
br label %67
67: ; preds = %139, %48
%68 = load i32, ptr %6, align 4
%69 = load i32, ptr %7, align 4
%70 = icmp slt i32 %68, %69
br i1 %70, label %71, label %142
71: ; preds = %67
%72 = load ptr, ptr %11, align 8
%73 = load i32, ptr %6, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds double, ptr %72, i64 %74
%76 = load double, ptr %75, align 8
store double %76, ptr %10, align 8
%77 = load i32, ptr %2, align 4
%78 = load ptr, ptr %11, align 8
%79 = load i32, ptr %6, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds double, ptr %78, i64 %80
%82 = call ptr @pn_polynomial_value(i32 noundef 1, i32 noundef %77, ptr noundef %81)
store ptr %82, ptr %3, align 8
store i32 0, ptr %4, align 4
br label %83
83: ; preds = %133, %71
%84 = load i32, ptr %4, align 4
%85 = load i32, ptr %2, align 4
%86 = icmp sle i32 %84, %85
br i1 %86, label %87, label %136
87: ; preds = %83
store i32 0, ptr %5, align 4
br label %88
88: ; preds = %129, %87
%89 = load i32, ptr %5, align 4
%90 = load i32, ptr %2, align 4
%91 = icmp sle i32 %89, %90
br i1 %91, label %92, label %132
92: ; preds = %88
%93 = load ptr, ptr %8, align 8
%94 = load i32, ptr %4, align 4
%95 = load i32, ptr %5, align 4
%96 = load i32, ptr %2, align 4
%97 = add nsw i32 %96, 1
%98 = mul nsw i32 %95, %97
%99 = add nsw i32 %94, %98
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds double, ptr %93, i64 %100
%102 = load double, ptr %101, align 8
%103 = load ptr, ptr %9, align 8
%104 = load i32, ptr %6, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds double, ptr %103, i64 %105
%107 = load double, ptr %106, align 8
%108 = load ptr, ptr %3, align 8
%109 = load i32, ptr %4, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds double, ptr %108, i64 %110
%112 = load double, ptr %111, align 8
%113 = fmul double %107, %112
%114 = load ptr, ptr %3, align 8
%115 = load i32, ptr %5, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds double, ptr %114, i64 %116
%118 = load double, ptr %117, align 8
%119 = call double @llvm.fmuladd.f64(double %113, double %118, double %102)
%120 = load ptr, ptr %8, align 8
%121 = load i32, ptr %4, align 4
%122 = load i32, ptr %5, align 4
%123 = load i32, ptr %2, align 4
%124 = add nsw i32 %123, 1
%125 = mul nsw i32 %122, %124
%126 = add nsw i32 %121, %125
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds double, ptr %120, i64 %127
store double %119, ptr %128, align 8
br label %129
129: ; preds = %92
%130 = load i32, ptr %5, align 4
%131 = add nsw i32 %130, 1
store i32 %131, ptr %5, align 4
br label %88, !llvm.loop !9
132: ; preds = %88
br label %133
133: ; preds = %132
%134 = load i32, ptr %4, align 4
%135 = add nsw i32 %134, 1
store i32 %135, ptr %4, align 4
br label %83, !llvm.loop !10
136: ; preds = %83
%137 = load ptr, ptr %3, align 8
%138 = call i32 @free(ptr noundef %137)
br label %139
139: ; preds = %136
%140 = load i32, ptr %6, align 4
%141 = add nsw i32 %140, 1
store i32 %141, ptr %6, align 4
br label %67, !llvm.loop !11
142: ; preds = %67
%143 = load ptr, ptr %9, align 8
%144 = call i32 @free(ptr noundef %143)
%145 = load ptr, ptr %11, align 8
%146 = call i32 @free(ptr noundef %145)
%147 = load ptr, ptr %8, align 8
ret ptr %147
}
declare i64 @malloc(i32 noundef) #1
declare i32 @p_quadrature_rule(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @pn_polynomial_value(i32 noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphf1l1luo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @pn_pair_product(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca double, align 8
%11 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, 1
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
%16 = mul nsw i32 %13, %15
%17 = sext i32 %16 to i64
%18 = mul i64 %17, 8
%19 = trunc i64 %18 to i32
%20 = call i64 @malloc(i32 noundef %19)
%21 = inttoptr i64 %20 to ptr
store ptr %21, ptr %8, align 8
store i32 0, ptr %5, align 4
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %2, align 4
%24 = icmp sle i32 %22, %23
br i1 %24, label %.lr.ph2, label %52
.lr.ph2: ; preds = %1
br label %25
25: ; preds = %.lr.ph2, %46
store i32 0, ptr %4, align 4
%26 = load i32, ptr %4, align 4
%27 = load i32, ptr %2, align 4
%28 = icmp sle i32 %26, %27
br i1 %28, label %.lr.ph, label %45
.lr.ph: ; preds = %25
br label %29
29: ; preds = %.lr.ph, %39
%30 = load ptr, ptr %8, align 8
%31 = load i32, ptr %4, align 4
%32 = load i32, ptr %5, align 4
%33 = load i32, ptr %2, align 4
%34 = add nsw i32 %33, 1
%35 = mul nsw i32 %32, %34
%36 = add nsw i32 %31, %35
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds double, ptr %30, i64 %37
store double 0.000000e+00, ptr %38, align 8
br label %39
39: ; preds = %29
%40 = load i32, ptr %4, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %4, align 4
%42 = load i32, ptr %4, align 4
%43 = load i32, ptr %2, align 4
%44 = icmp sle i32 %42, %43
br i1 %44, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %45
45: ; preds = %._crit_edge, %25
br label %46
46: ; preds = %45
%47 = load i32, ptr %5, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %5, align 4
%49 = load i32, ptr %5, align 4
%50 = load i32, ptr %2, align 4
%51 = icmp sle i32 %49, %50
br i1 %51, label %25, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %46
br label %52
52: ; preds = %._crit_edge3, %1
%53 = load i32, ptr %2, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %7, align 4
%55 = load i32, ptr %7, align 4
%56 = sext i32 %55 to i64
%57 = mul i64 %56, 8
%58 = trunc i64 %57 to i32
%59 = call i64 @malloc(i32 noundef %58)
%60 = inttoptr i64 %59 to ptr
store ptr %60, ptr %11, align 8
%61 = load i32, ptr %7, align 4
%62 = sext i32 %61 to i64
%63 = mul i64 %62, 8
%64 = trunc i64 %63 to i32
%65 = call i64 @malloc(i32 noundef %64)
%66 = inttoptr i64 %65 to ptr
store ptr %66, ptr %9, align 8
%67 = load i32, ptr %7, align 4
%68 = load ptr, ptr %11, align 8
%69 = load ptr, ptr %9, align 8
%70 = call i32 @p_quadrature_rule(i32 noundef %67, ptr noundef %68, ptr noundef %69)
store i32 0, ptr %6, align 4
%71 = load i32, ptr %6, align 4
%72 = load i32, ptr %7, align 4
%73 = icmp slt i32 %71, %72
br i1 %73, label %.lr.ph11, label %152
.lr.ph11: ; preds = %52
br label %74
74: ; preds = %.lr.ph11, %146
%75 = load ptr, ptr %11, align 8
%76 = load i32, ptr %6, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds double, ptr %75, i64 %77
%79 = load double, ptr %78, align 8
store double %79, ptr %10, align 8
%80 = load i32, ptr %2, align 4
%81 = load ptr, ptr %11, align 8
%82 = load i32, ptr %6, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds double, ptr %81, i64 %83
%85 = call ptr @pn_polynomial_value(i32 noundef 1, i32 noundef %80, ptr noundef %84)
store ptr %85, ptr %3, align 8
store i32 0, ptr %4, align 4
%86 = load i32, ptr %4, align 4
%87 = load i32, ptr %2, align 4
%88 = icmp sle i32 %86, %87
br i1 %88, label %.lr.ph8, label %143
.lr.ph8: ; preds = %74
br label %89
89: ; preds = %.lr.ph8, %137
store i32 0, ptr %5, align 4
%90 = load i32, ptr %5, align 4
%91 = load i32, ptr %2, align 4
%92 = icmp sle i32 %90, %91
br i1 %92, label %.lr.ph5, label %136
.lr.ph5: ; preds = %89
br label %93
93: ; preds = %.lr.ph5, %130
%94 = load ptr, ptr %8, align 8
%95 = load i32, ptr %4, align 4
%96 = load i32, ptr %5, align 4
%97 = load i32, ptr %2, align 4
%98 = add nsw i32 %97, 1
%99 = mul nsw i32 %96, %98
%100 = add nsw i32 %95, %99
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds double, ptr %94, i64 %101
%103 = load double, ptr %102, align 8
%104 = load ptr, ptr %9, align 8
%105 = load i32, ptr %6, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds double, ptr %104, i64 %106
%108 = load double, ptr %107, align 8
%109 = load ptr, ptr %3, align 8
%110 = load i32, ptr %4, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds double, ptr %109, i64 %111
%113 = load double, ptr %112, align 8
%114 = fmul double %108, %113
%115 = load ptr, ptr %3, align 8
%116 = load i32, ptr %5, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds double, ptr %115, i64 %117
%119 = load double, ptr %118, align 8
%120 = call double @llvm.fmuladd.f64(double %114, double %119, double %103)
%121 = load ptr, ptr %8, align 8
%122 = load i32, ptr %4, align 4
%123 = load i32, ptr %5, align 4
%124 = load i32, ptr %2, align 4
%125 = add nsw i32 %124, 1
%126 = mul nsw i32 %123, %125
%127 = add nsw i32 %122, %126
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds double, ptr %121, i64 %128
store double %120, ptr %129, align 8
br label %130
130: ; preds = %93
%131 = load i32, ptr %5, align 4
%132 = add nsw i32 %131, 1
store i32 %132, ptr %5, align 4
%133 = load i32, ptr %5, align 4
%134 = load i32, ptr %2, align 4
%135 = icmp sle i32 %133, %134
br i1 %135, label %93, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %130
br label %136
136: ; preds = %._crit_edge6, %89
br label %137
137: ; preds = %136
%138 = load i32, ptr %4, align 4
%139 = add nsw i32 %138, 1
store i32 %139, ptr %4, align 4
%140 = load i32, ptr %4, align 4
%141 = load i32, ptr %2, align 4
%142 = icmp sle i32 %140, %141
br i1 %142, label %89, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %137
br label %143
143: ; preds = %._crit_edge9, %74
%144 = load ptr, ptr %3, align 8
%145 = call i32 @free(ptr noundef %144)
br label %146
146: ; preds = %143
%147 = load i32, ptr %6, align 4
%148 = add nsw i32 %147, 1
store i32 %148, ptr %6, align 4
%149 = load i32, ptr %6, align 4
%150 = load i32, ptr %7, align 4
%151 = icmp slt i32 %149, %150
br i1 %151, label %74, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %146
br label %152
152: ; preds = %._crit_edge12, %52
%153 = load ptr, ptr %9, align 8
%154 = call i32 @free(ptr noundef %153)
%155 = load ptr, ptr %11, align 8
%156 = call i32 @free(ptr noundef %155)
%157 = load ptr, ptr %8, align 8
ret ptr %157
}
declare i64 @malloc(i32 noundef) #1
declare i32 @p_quadrature_rule(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @pn_polynomial_value(i32 noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmp50gk5o94.c'
source_filename = "/tmp/tmp50gk5o94.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @equal_floats(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
store float 0x3F20000000000000, ptr %5, align 4
%6 = load float, ptr %3, align 4
%7 = load float, ptr %4, align 4
%8 = fsub float %6, %7
%9 = call float @llvm.fabs.f32(float %8)
%10 = load float, ptr %5, align 4
%11 = fcmp olt float %9, %10
%12 = zext i1 %11 to i32
ret i32 %12
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp50gk5o94.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @equal_floats(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
store float 0x3F20000000000000, ptr %5, align 4
%6 = load float, ptr %3, align 4
%7 = load float, ptr %4, align 4
%8 = fsub float %6, %7
%9 = call float @llvm.fabs.f32(float %8)
%10 = load float, ptr %5, align 4
%11 = fcmp olt float %9, %10
%12 = zext i1 %11 to i32
ret i32 %12
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvjnxc_2u.c'
source_filename = "/tmp/tmpvjnxc_2u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"M117_f(const char *s) is not yet implemented!\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @M117_f(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @debug(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4)
ret i32 1
}
declare i32 @debug(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvjnxc_2u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"M117_f(const char *s) is not yet implemented!\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @M117_f(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @debug(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4)
ret i32 1
}
declare i32 @debug(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf0cztksy.c'
source_filename = "/tmp/tmpf0cztksy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"%02X %02X %02X %02X\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @icv2string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = call i64 @malloc(i32 noundef 12)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds i8, ptr %7, i64 0
%9 = load i8, ptr %8, align 1
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 1
%12 = load i8, ptr %11, align 1
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 2
%15 = load i8, ptr %14, align 1
%16 = load ptr, ptr %2, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 3
%18 = load i8, ptr %17, align 1
%19 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i8 noundef zeroext %9, i8 noundef zeroext %12, i8 noundef zeroext %15, i8 noundef zeroext %18)
%20 = load ptr, ptr %3, align 8
ret ptr %20
}
declare i64 @malloc(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf0cztksy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"%02X %02X %02X %02X\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @icv2string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = call i64 @malloc(i32 noundef 12)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds i8, ptr %7, i64 0
%9 = load i8, ptr %8, align 1
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 1
%12 = load i8, ptr %11, align 1
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 2
%15 = load i8, ptr %14, align 1
%16 = load ptr, ptr %2, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 3
%18 = load i8, ptr %17, align 1
%19 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i8 noundef zeroext %9, i8 noundef zeroext %12, i8 noundef zeroext %15, i8 noundef zeroext %18)
%20 = load ptr, ptr %3, align 8
ret ptr %20
}
declare i64 @malloc(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6s8y1f_p.c'
source_filename = "/tmp/tmp6s8y1f_p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bitparity(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @countbits(i32 noundef %3)
%5 = and i32 %4, 1
%6 = mul nsw i32 %5, 2
%7 = sub nsw i32 1, %6
ret i32 %7
}
declare i32 @countbits(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6s8y1f_p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bitparity(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @countbits(i32 noundef %3)
%5 = and i32 %4, 1
%6 = mul nsw i32 %5, 2
%7 = sub nsw i32 1, %6
ret i32 %7
}
declare i32 @countbits(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo02cnpus.c'
source_filename = "/tmp/tmpo02cnpus.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.test_eigen_solver.matrix_D = private unnamed_addr constant [9 x double] [double 3.571200e+00, double 1.400700e+00, double 2.521400e+00, double 1.400700e+00, double 0x40553A6CF41F212D, double 2.703000e+00, double 2.521400e+00, double 2.703000e+00, double 0x4057598E219652BD], align 16
@__const.test_eigen_solver.exp_lancz_trans_mtx = private unnamed_addr constant [9 x double] [double 6.504460e+01, double 4.088350e+01, double 0.000000e+00, double 4.088350e+01, double 3.124600e+01, double 7.123500e+00, double 0.000000e+00, double 7.123500e+00, double 0x405565F06F694467], align 16
@.str = private unnamed_addr constant [16 x i8] c"Tm = lancz(D)'\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Matrix D'\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"Expected Lanczos'\0A\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"Obtained Lanczos'\0A\00", align 1
@.str.5 = private unnamed_addr constant [44 x i8] c"expected eigvalues: 3.4789 84.1301 94.2744\0A\00", align 1
@.str.6 = private unnamed_addr constant [21 x i8] c"obtained eigvalues: \00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"%.4f \00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_eigen_solver() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [9 x double], align 16
%5 = alloca [9 x double], align 16
%6 = alloca [3 x double], align 16
%7 = alloca [3 x double], align 16
%8 = alloca [3 x double], align 16
%9 = alloca [9 x double], align 16
store i32 0, ptr %1, align 4
store i32 3, ptr %2, align 4
store i32 3, ptr %3, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.test_eigen_solver.matrix_D, i64 72, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.test_eigen_solver.exp_lancz_trans_mtx, i64 72, i1 false)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%12 = getelementptr inbounds [9 x double], ptr %4, i64 0, i64 0
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %2, align 4
%15 = call i32 @show_matrix(ptr noundef %12, i32 noundef %13, i32 noundef %14)
%16 = getelementptr inbounds [9 x double], ptr %4, i64 0, i64 0
%17 = getelementptr inbounds [3 x double], ptr %6, i64 0, i64 0
%18 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 0
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %3, align 4
%21 = call i32 @mtx_lanczos_procedure(ptr noundef %16, ptr noundef %17, ptr noundef %18, i32 noundef %19, i32 noundef %20)
%22 = getelementptr inbounds [3 x double], ptr %6, i64 0, i64 0
%23 = load double, ptr %22, align 16
%24 = getelementptr inbounds [9 x double], ptr %5, i64 0, i64 0
store double %23, ptr %24, align 16
store i32 1, ptr %1, align 4
br label %25
25: ; preds = %69, %0
%26 = load i32, ptr %1, align 4
%27 = load i32, ptr %3, align 4
%28 = sub nsw i32 %27, 1
%29 = icmp sle i32 %26, %28
br i1 %29, label %30, label %72
30: ; preds = %25
%31 = load i32, ptr %1, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [3 x double], ptr %6, i64 0, i64 %32
%34 = load double, ptr %33, align 8
%35 = load i32, ptr %1, align 4
%36 = load i32, ptr %3, align 4
%37 = mul nsw i32 %35, %36
%38 = load i32, ptr %1, align 4
%39 = add nsw i32 %37, %38
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [9 x double], ptr %5, i64 0, i64 %40
store double %34, ptr %41, align 8
%42 = load i32, ptr %1, align 4
%43 = sub nsw i32 %42, 1
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 %44
%46 = load double, ptr %45, align 8
%47 = load i32, ptr %1, align 4
%48 = load i32, ptr %3, align 4
%49 = mul nsw i32 %47, %48
%50 = load i32, ptr %1, align 4
%51 = add nsw i32 %49, %50
%52 = load i32, ptr %3, align 4
%53 = sub nsw i32 %51, %52
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [9 x double], ptr %5, i64 0, i64 %54
store double %46, ptr %55, align 8
%56 = load i32, ptr %1, align 4
%57 = sub nsw i32 %56, 1
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 %58
%60 = load double, ptr %59, align 8
%61 = load i32, ptr %1, align 4
%62 = load i32, ptr %3, align 4
%63 = mul nsw i32 %61, %62
%64 = load i32, ptr %1, align 4
%65 = sub nsw i32 %64, 1
%66 = add nsw i32 %63, %65
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [9 x double], ptr %5, i64 0, i64 %67
store double %60, ptr %68, align 8
br label %69
69: ; preds = %30
%70 = load i32, ptr %1, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %1, align 4
br label %25, !llvm.loop !6
72: ; preds = %25
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%75 = getelementptr inbounds [9 x double], ptr %9, i64 0, i64 0
%76 = load i32, ptr %3, align 4
%77 = load i32, ptr %3, align 4
%78 = call i32 @show_matrix(ptr noundef %75, i32 noundef %76, i32 noundef %77)
%79 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%80 = getelementptr inbounds [9 x double], ptr %5, i64 0, i64 0
%81 = load i32, ptr %3, align 4
%82 = load i32, ptr %3, align 4
%83 = call i32 @show_matrix(ptr noundef %80, i32 noundef %81, i32 noundef %82)
%84 = getelementptr inbounds [3 x double], ptr %6, i64 0, i64 0
%85 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 0
%86 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 0
%87 = load i32, ptr %2, align 4
%88 = call i32 @mtx_mrrr(ptr noundef %84, ptr noundef %85, ptr noundef %86, i32 noundef %87)
%89 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%91 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i32 0, ptr %1, align 4
br label %92
92: ; preds = %101, %72
%93 = load i32, ptr %1, align 4
%94 = icmp slt i32 %93, 3
br i1 %94, label %95, label %104
95: ; preds = %92
%96 = load i32, ptr %1, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 %97
%99 = load double, ptr %98, align 8
%100 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %99)
br label %101
101: ; preds = %95
%102 = load i32, ptr %1, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %1, align 4
br label %92, !llvm.loop !8
104: ; preds = %92
%105 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @show_matrix(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @mtx_lanczos_procedure(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @mtx_mrrr(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo02cnpus.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.test_eigen_solver.matrix_D = private unnamed_addr constant [9 x double] [double 3.571200e+00, double 1.400700e+00, double 2.521400e+00, double 1.400700e+00, double 0x40553A6CF41F212D, double 2.703000e+00, double 2.521400e+00, double 2.703000e+00, double 0x4057598E219652BD], align 16
@__const.test_eigen_solver.exp_lancz_trans_mtx = private unnamed_addr constant [9 x double] [double 6.504460e+01, double 4.088350e+01, double 0.000000e+00, double 4.088350e+01, double 3.124600e+01, double 7.123500e+00, double 0.000000e+00, double 7.123500e+00, double 0x405565F06F694467], align 16
@.str = private unnamed_addr constant [16 x i8] c"Tm = lancz(D)'\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Matrix D'\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"Expected Lanczos'\0A\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"Obtained Lanczos'\0A\00", align 1
@.str.5 = private unnamed_addr constant [44 x i8] c"expected eigvalues: 3.4789 84.1301 94.2744\0A\00", align 1
@.str.6 = private unnamed_addr constant [21 x i8] c"obtained eigvalues: \00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"%.4f \00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_eigen_solver() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [9 x double], align 16
%5 = alloca [9 x double], align 16
%6 = alloca [3 x double], align 16
%7 = alloca [3 x double], align 16
%8 = alloca [3 x double], align 16
%9 = alloca [9 x double], align 16
store i32 0, ptr %1, align 4
store i32 3, ptr %2, align 4
store i32 3, ptr %3, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.test_eigen_solver.matrix_D, i64 72, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.test_eigen_solver.exp_lancz_trans_mtx, i64 72, i1 false)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%12 = getelementptr inbounds [9 x double], ptr %4, i64 0, i64 0
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %2, align 4
%15 = call i32 @show_matrix(ptr noundef %12, i32 noundef %13, i32 noundef %14)
%16 = getelementptr inbounds [9 x double], ptr %4, i64 0, i64 0
%17 = getelementptr inbounds [3 x double], ptr %6, i64 0, i64 0
%18 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 0
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %3, align 4
%21 = call i32 @mtx_lanczos_procedure(ptr noundef %16, ptr noundef %17, ptr noundef %18, i32 noundef %19, i32 noundef %20)
%22 = getelementptr inbounds [3 x double], ptr %6, i64 0, i64 0
%23 = load double, ptr %22, align 16
%24 = getelementptr inbounds [9 x double], ptr %5, i64 0, i64 0
store double %23, ptr %24, align 16
store i32 1, ptr %1, align 4
%25 = load i32, ptr %1, align 4
%26 = load i32, ptr %3, align 4
%27 = sub nsw i32 %26, 1
%28 = icmp sle i32 %25, %27
br i1 %28, label %.lr.ph, label %75
.lr.ph: ; preds = %0
br label %29
29: ; preds = %.lr.ph, %68
%30 = load i32, ptr %1, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [3 x double], ptr %6, i64 0, i64 %31
%33 = load double, ptr %32, align 8
%34 = load i32, ptr %1, align 4
%35 = load i32, ptr %3, align 4
%36 = mul nsw i32 %34, %35
%37 = load i32, ptr %1, align 4
%38 = add nsw i32 %36, %37
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [9 x double], ptr %5, i64 0, i64 %39
store double %33, ptr %40, align 8
%41 = load i32, ptr %1, align 4
%42 = sub nsw i32 %41, 1
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 %43
%45 = load double, ptr %44, align 8
%46 = load i32, ptr %1, align 4
%47 = load i32, ptr %3, align 4
%48 = mul nsw i32 %46, %47
%49 = load i32, ptr %1, align 4
%50 = add nsw i32 %48, %49
%51 = load i32, ptr %3, align 4
%52 = sub nsw i32 %50, %51
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [9 x double], ptr %5, i64 0, i64 %53
store double %45, ptr %54, align 8
%55 = load i32, ptr %1, align 4
%56 = sub nsw i32 %55, 1
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 %57
%59 = load double, ptr %58, align 8
%60 = load i32, ptr %1, align 4
%61 = load i32, ptr %3, align 4
%62 = mul nsw i32 %60, %61
%63 = load i32, ptr %1, align 4
%64 = sub nsw i32 %63, 1
%65 = add nsw i32 %62, %64
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [9 x double], ptr %5, i64 0, i64 %66
store double %59, ptr %67, align 8
br label %68
68: ; preds = %29
%69 = load i32, ptr %1, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %1, align 4
%71 = load i32, ptr %1, align 4
%72 = load i32, ptr %3, align 4
%73 = sub nsw i32 %72, 1
%74 = icmp sle i32 %71, %73
br i1 %74, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %68
br label %75
75: ; preds = %._crit_edge, %0
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%78 = getelementptr inbounds [9 x double], ptr %9, i64 0, i64 0
%79 = load i32, ptr %3, align 4
%80 = load i32, ptr %3, align 4
%81 = call i32 @show_matrix(ptr noundef %78, i32 noundef %79, i32 noundef %80)
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%83 = getelementptr inbounds [9 x double], ptr %5, i64 0, i64 0
%84 = load i32, ptr %3, align 4
%85 = load i32, ptr %3, align 4
%86 = call i32 @show_matrix(ptr noundef %83, i32 noundef %84, i32 noundef %85)
%87 = getelementptr inbounds [3 x double], ptr %6, i64 0, i64 0
%88 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 0
%89 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 0
%90 = load i32, ptr %2, align 4
%91 = call i32 @mtx_mrrr(ptr noundef %87, ptr noundef %88, ptr noundef %89, i32 noundef %90)
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%93 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%94 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i32 0, ptr %1, align 4
%95 = load i32, ptr %1, align 4
%96 = icmp slt i32 %95, 3
br i1 %96, label %.lr.ph2, label %108
.lr.ph2: ; preds = %75
br label %97
97: ; preds = %.lr.ph2, %103
%98 = load i32, ptr %1, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 %99
%101 = load double, ptr %100, align 8
%102 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %101)
br label %103
103: ; preds = %97
%104 = load i32, ptr %1, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %1, align 4
%106 = load i32, ptr %1, align 4
%107 = icmp slt i32 %106, 3
br i1 %107, label %97, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %103
br label %108
108: ; preds = %._crit_edge3, %75
%109 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @show_matrix(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @mtx_lanczos_procedure(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @mtx_mrrr(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpa0fwokyv.c'
source_filename = "/tmp/tmpa0fwokyv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"server.pem\00", align 1
@SSL_FILETYPE_PEM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [11 x i8] c"server.key\00", align 1
@SSL_ERROR_WANT_WRITE = dso_local global i64 0, align 8
@SSL_ERROR_WANT_READ = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"packet-%i\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"server state: %s / %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [23 x i8] c"client state: %s / %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [4096 x i8], align 16
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca [15 x i8], align 1
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%21 = load i32, ptr %4, align 4
%22 = icmp ne i32 %21, 3
br i1 %22, label %23, label %24
23: ; preds = %2
store i32 -1, ptr %8, align 4
br label %35
24: ; preds = %2
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 0
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = sub nsw i32 %30, 48
store i32 %31, ptr %8, align 4
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 2
%34 = load ptr, ptr %33, align 8
store ptr %34, ptr %10, align 8
br label %35
35: ; preds = %24, %23
%36 = call i32 (...) @SSL_library_init()
%37 = call i32 (...) @SSL_load_error_strings()
%38 = call i32 (...) @ERR_load_BIO_strings()
%39 = call i32 (...) @OpenSSL_add_all_algorithms()
%40 = call i32 (...) @TLSv1_method()
%41 = call ptr @SSL_CTX_new(i32 noundef %40)
store ptr %41, ptr %13, align 8
%42 = icmp ne ptr %41, null
br i1 %42, label %45, label %43
43: ; preds = %35
%44 = call i32 (...) @err()
br label %45
45: ; preds = %43, %35
%46 = load ptr, ptr %13, align 8
%47 = load i32, ptr @SSL_FILETYPE_PEM, align 4
%48 = call i32 @SSL_CTX_use_certificate_file(ptr noundef %46, ptr noundef @.str, i32 noundef %47)
%49 = icmp ne i32 %48, 0
br i1 %49, label %52, label %50
50: ; preds = %45
%51 = call i32 (...) @err()
br label %52
52: ; preds = %50, %45
%53 = load ptr, ptr %13, align 8
%54 = load i32, ptr @SSL_FILETYPE_PEM, align 4
%55 = call i32 @SSL_CTX_use_PrivateKey_file(ptr noundef %53, ptr noundef @.str.1, i32 noundef %54)
%56 = icmp ne i32 %55, 0
br i1 %56, label %59, label %57
57: ; preds = %52
%58 = call i32 (...) @err()
br label %59
59: ; preds = %57, %52
%60 = load ptr, ptr %13, align 8
%61 = call ptr @SSL_new(ptr noundef %60)
store ptr %61, ptr %15, align 8
%62 = icmp ne ptr %61, null
br i1 %62, label %65, label %63
63: ; preds = %59
%64 = call i32 (...) @err()
br label %65
65: ; preds = %63, %59
%66 = call i32 (...) @BIO_s_mem()
%67 = call ptr @BIO_new(i32 noundef %66)
store ptr %67, ptr %17, align 8
%68 = call i32 (...) @BIO_s_mem()
%69 = call ptr @BIO_new(i32 noundef %68)
store ptr %69, ptr %18, align 8
%70 = load ptr, ptr %15, align 8
%71 = load ptr, ptr %17, align 8
%72 = load ptr, ptr %18, align 8
%73 = call i32 @SSL_set_bio(ptr noundef %70, ptr noundef %71, ptr noundef %72)
%74 = load ptr, ptr %15, align 8
%75 = call i32 @SSL_set_accept_state(ptr noundef %74)
%76 = call i32 (...) @TLSv1_method()
%77 = call ptr @SSL_CTX_new(i32 noundef %76)
store ptr %77, ptr %14, align 8
%78 = icmp ne ptr %77, null
br i1 %78, label %81, label %79
79: ; preds = %65
%80 = call i32 (...) @err()
br label %81
81: ; preds = %79, %65
%82 = load ptr, ptr %14, align 8
%83 = call ptr @SSL_new(ptr noundef %82)
store ptr %83, ptr %16, align 8
%84 = icmp ne ptr %83, null
br i1 %84, label %87, label %85
85: ; preds = %81
%86 = call i32 (...) @err()
br label %87
87: ; preds = %85, %81
%88 = call i32 (...) @BIO_s_mem()
%89 = call ptr @BIO_new(i32 noundef %88)
store ptr %89, ptr %19, align 8
%90 = call i32 (...) @BIO_s_mem()
%91 = call ptr @BIO_new(i32 noundef %90)
store ptr %91, ptr %20, align 8
%92 = load ptr, ptr %16, align 8
%93 = load ptr, ptr %19, align 8
%94 = load ptr, ptr %20, align 8
%95 = call i32 @SSL_set_bio(ptr noundef %92, ptr noundef %93, ptr noundef %94)
%96 = load ptr, ptr %16, align 8
%97 = call i32 @SSL_set_connect_state(ptr noundef %96)
store i32 0, ptr %7, align 4
br label %98
98: ; preds = %228, %87
%99 = load ptr, ptr %16, align 8
%100 = call i32 @SSL_do_handshake(ptr noundef %99)
store i32 %100, ptr %6, align 4
%101 = load i32, ptr %6, align 4
%102 = icmp eq i32 %101, -1
br i1 %102, label %103, label %118
103: ; preds = %98
%104 = load ptr, ptr %16, align 8
%105 = load i32, ptr %6, align 4
%106 = call i64 @SSL_get_error(ptr noundef %104, i32 noundef %105)
%107 = load i64, ptr @SSL_ERROR_WANT_WRITE, align 8
%108 = icmp ne i64 %106, %107
br i1 %108, label %109, label %117
109: ; preds = %103
%110 = load ptr, ptr %16, align 8
%111 = load i32, ptr %6, align 4
%112 = call i64 @SSL_get_error(ptr noundef %110, i32 noundef %111)
%113 = load i64, ptr @SSL_ERROR_WANT_READ, align 8
%114 = icmp ne i64 %112, %113
br i1 %114, label %115, label %117
115: ; preds = %109
%116 = call i32 (...) @err()
br label %117
117: ; preds = %115, %109, %103
br label %118
118: ; preds = %117, %98
%119 = load ptr, ptr %20, align 8
%120 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%121 = call i32 @BIO_read(ptr noundef %119, ptr noundef %120, i32 noundef 4096)
store i32 %121, ptr %6, align 4
%122 = load i32, ptr %6, align 4
%123 = icmp eq i32 %122, -1
br i1 %123, label %124, label %126
124: ; preds = %118
%125 = call i32 (...) @err()
br label %126
126: ; preds = %124, %118
%127 = load i32, ptr %7, align 4
%128 = add nsw i32 %127, 1
store i32 %128, ptr %7, align 4
%129 = load i32, ptr %7, align 4
%130 = load i32, ptr %8, align 4
%131 = icmp eq i32 %129, %130
br i1 %131, label %132, label %138
132: ; preds = %126
%133 = load ptr, ptr %10, align 8
%134 = call ptr @fopen(ptr noundef %133, ptr noundef @.str.2)
store ptr %134, ptr %11, align 8
%135 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%136 = load ptr, ptr %11, align 8
%137 = call i32 @fread(ptr noundef %135, i32 noundef 1, i32 noundef 4096, ptr noundef %136)
store i32 %137, ptr %6, align 4
br label %148
138: ; preds = %126
%139 = getelementptr inbounds [15 x i8], ptr %12, i64 0, i64 0
%140 = load i32, ptr %7, align 4
%141 = call i32 @sprintf(ptr noundef %139, ptr noundef @.str.3, i32 noundef %140)
%142 = getelementptr inbounds [15 x i8], ptr %12, i64 0, i64 0
%143 = call ptr @fopen(ptr noundef %142, ptr noundef @.str.4)
store ptr %143, ptr %11, align 8
%144 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%145 = load i32, ptr %6, align 4
%146 = load ptr, ptr %11, align 8
%147 = call i32 @fwrite(ptr noundef %144, i32 noundef 1, i32 noundef %145, ptr noundef %146)
br label %148
148: ; preds = %138, %132
%149 = load ptr, ptr %17, align 8
%150 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%151 = load i32, ptr %6, align 4
%152 = call i32 @BIO_write(ptr noundef %149, ptr noundef %150, i32 noundef %151)
%153 = load ptr, ptr %15, align 8
%154 = call i32 @SSL_do_handshake(ptr noundef %153)
store i32 %154, ptr %6, align 4
%155 = load i32, ptr %6, align 4
%156 = icmp eq i32 %155, -1
br i1 %156, label %157, label %172
157: ; preds = %148
%158 = load ptr, ptr %15, align 8
%159 = load i32, ptr %6, align 4
%160 = call i64 @SSL_get_error(ptr noundef %158, i32 noundef %159)
%161 = load i64, ptr @SSL_ERROR_WANT_WRITE, align 8
%162 = icmp ne i64 %160, %161
br i1 %162, label %163, label %171
163: ; preds = %157
%164 = load ptr, ptr %15, align 8
%165 = load i32, ptr %6, align 4
%166 = call i64 @SSL_get_error(ptr noundef %164, i32 noundef %165)
%167 = load i64, ptr @SSL_ERROR_WANT_READ, align 8
%168 = icmp ne i64 %166, %167
br i1 %168, label %169, label %171
169: ; preds = %163
%170 = call i32 (...) @err()
br label %171
171: ; preds = %169, %163, %157
br label %172
172: ; preds = %171, %148
%173 = load ptr, ptr %18, align 8
%174 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%175 = call i32 @BIO_read(ptr noundef %173, ptr noundef %174, i32 noundef 4096)
store i32 %175, ptr %6, align 4
%176 = load i32, ptr %6, align 4
%177 = icmp eq i32 %176, -1
br i1 %177, label %178, label %180
178: ; preds = %172
%179 = call i32 (...) @err()
br label %180
180: ; preds = %178, %172
%181 = load i32, ptr %7, align 4
%182 = add nsw i32 %181, 1
store i32 %182, ptr %7, align 4
%183 = load i32, ptr %7, align 4
%184 = load i32, ptr %8, align 4
%185 = icmp eq i32 %183, %184
br i1 %185, label %186, label %192
186: ; preds = %180
%187 = load ptr, ptr %10, align 8
%188 = call ptr @fopen(ptr noundef %187, ptr noundef @.str.2)
store ptr %188, ptr %11, align 8
%189 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%190 = load ptr, ptr %11, align 8
%191 = call i32 @fread(ptr noundef %189, i32 noundef 1, i32 noundef 4096, ptr noundef %190)
store i32 %191, ptr %6, align 4
br label %202
192: ; preds = %180
%193 = getelementptr inbounds [15 x i8], ptr %12, i64 0, i64 0
%194 = load i32, ptr %7, align 4
%195 = call i32 @sprintf(ptr noundef %193, ptr noundef @.str.3, i32 noundef %194)
%196 = getelementptr inbounds [15 x i8], ptr %12, i64 0, i64 0
%197 = call ptr @fopen(ptr noundef %196, ptr noundef @.str.4)
store ptr %197, ptr %11, align 8
%198 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%199 = load i32, ptr %6, align 4
%200 = load ptr, ptr %11, align 8
%201 = call i32 @fwrite(ptr noundef %198, i32 noundef 1, i32 noundef %199, ptr noundef %200)
br label %202
202: ; preds = %192, %186
%203 = load ptr, ptr %19, align 8
%204 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%205 = load i32, ptr %6, align 4
%206 = call i32 @BIO_write(ptr noundef %203, ptr noundef %204, i32 noundef %205)
%207 = load ptr, ptr %15, align 8
%208 = call ptr @SSL_state_string(ptr noundef %207)
%209 = load ptr, ptr %15, align 8
%210 = call ptr @SSL_state_string_long(ptr noundef %209)
%211 = call i32 @printf(ptr noundef @.str.5, ptr noundef %208, ptr noundef %210)
%212 = load ptr, ptr %16, align 8
%213 = call ptr @SSL_state_string(ptr noundef %212)
%214 = load ptr, ptr %16, align 8
%215 = call ptr @SSL_state_string_long(ptr noundef %214)
%216 = call i32 @printf(ptr noundef @.str.6, ptr noundef %213, ptr noundef %215)
br label %217
217: ; preds = %202
%218 = load ptr, ptr %15, align 8
%219 = call i32 @SSL_is_init_finished(ptr noundef %218)
%220 = icmp ne i32 %219, 0
br i1 %220, label %221, label %225
221: ; preds = %217
%222 = load ptr, ptr %16, align 8
%223 = call i32 @SSL_is_init_finished(ptr noundef %222)
%224 = icmp ne i32 %223, 0
br i1 %224, label %228, label %225
225: ; preds = %221, %217
%226 = load i32, ptr %7, align 4
%227 = icmp slt i32 %226, 10
br label %228
228: ; preds = %225, %221
%229 = phi i1 [ false, %221 ], [ %227, %225 ]
br i1 %229, label %98, label %230, !llvm.loop !6
230: ; preds = %228
ret i32 0
}
declare i32 @SSL_library_init(...) #1
declare i32 @SSL_load_error_strings(...) #1
declare i32 @ERR_load_BIO_strings(...) #1
declare i32 @OpenSSL_add_all_algorithms(...) #1
declare ptr @SSL_CTX_new(i32 noundef) #1
declare i32 @TLSv1_method(...) #1
declare i32 @err(...) #1
declare i32 @SSL_CTX_use_certificate_file(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @SSL_CTX_use_PrivateKey_file(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @SSL_new(ptr noundef) #1
declare ptr @BIO_new(i32 noundef) #1
declare i32 @BIO_s_mem(...) #1
declare i32 @SSL_set_bio(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @SSL_set_accept_state(ptr noundef) #1
declare i32 @SSL_set_connect_state(ptr noundef) #1
declare i32 @SSL_do_handshake(ptr noundef) #1
declare i64 @SSL_get_error(ptr noundef, i32 noundef) #1
declare i32 @BIO_read(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @BIO_write(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @SSL_state_string(ptr noundef) #1
declare ptr @SSL_state_string_long(ptr noundef) #1
declare i32 @SSL_is_init_finished(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa0fwokyv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"server.pem\00", align 1
@SSL_FILETYPE_PEM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [11 x i8] c"server.key\00", align 1
@SSL_ERROR_WANT_WRITE = dso_local global i64 0, align 8
@SSL_ERROR_WANT_READ = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"packet-%i\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"server state: %s / %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [23 x i8] c"client state: %s / %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [4096 x i8], align 16
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca [15 x i8], align 1
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%21 = load i32, ptr %4, align 4
%22 = icmp ne i32 %21, 3
br i1 %22, label %23, label %24
23: ; preds = %2
store i32 -1, ptr %8, align 4
br label %35
24: ; preds = %2
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 0
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = sub nsw i32 %30, 48
store i32 %31, ptr %8, align 4
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 2
%34 = load ptr, ptr %33, align 8
store ptr %34, ptr %10, align 8
br label %35
35: ; preds = %24, %23
%36 = call i32 (...) @SSL_library_init()
%37 = call i32 (...) @SSL_load_error_strings()
%38 = call i32 (...) @ERR_load_BIO_strings()
%39 = call i32 (...) @OpenSSL_add_all_algorithms()
%40 = call i32 (...) @TLSv1_method()
%41 = call ptr @SSL_CTX_new(i32 noundef %40)
store ptr %41, ptr %13, align 8
%42 = icmp ne ptr %41, null
br i1 %42, label %45, label %43
43: ; preds = %35
%44 = call i32 (...) @err()
br label %45
45: ; preds = %43, %35
%46 = load ptr, ptr %13, align 8
%47 = load i32, ptr @SSL_FILETYPE_PEM, align 4
%48 = call i32 @SSL_CTX_use_certificate_file(ptr noundef %46, ptr noundef @.str, i32 noundef %47)
%49 = icmp ne i32 %48, 0
br i1 %49, label %52, label %50
50: ; preds = %45
%51 = call i32 (...) @err()
br label %52
52: ; preds = %50, %45
%53 = load ptr, ptr %13, align 8
%54 = load i32, ptr @SSL_FILETYPE_PEM, align 4
%55 = call i32 @SSL_CTX_use_PrivateKey_file(ptr noundef %53, ptr noundef @.str.1, i32 noundef %54)
%56 = icmp ne i32 %55, 0
br i1 %56, label %59, label %57
57: ; preds = %52
%58 = call i32 (...) @err()
br label %59
59: ; preds = %57, %52
%60 = load ptr, ptr %13, align 8
%61 = call ptr @SSL_new(ptr noundef %60)
store ptr %61, ptr %15, align 8
%62 = icmp ne ptr %61, null
br i1 %62, label %65, label %63
63: ; preds = %59
%64 = call i32 (...) @err()
br label %65
65: ; preds = %63, %59
%66 = call i32 (...) @BIO_s_mem()
%67 = call ptr @BIO_new(i32 noundef %66)
store ptr %67, ptr %17, align 8
%68 = call i32 (...) @BIO_s_mem()
%69 = call ptr @BIO_new(i32 noundef %68)
store ptr %69, ptr %18, align 8
%70 = load ptr, ptr %15, align 8
%71 = load ptr, ptr %17, align 8
%72 = load ptr, ptr %18, align 8
%73 = call i32 @SSL_set_bio(ptr noundef %70, ptr noundef %71, ptr noundef %72)
%74 = load ptr, ptr %15, align 8
%75 = call i32 @SSL_set_accept_state(ptr noundef %74)
%76 = call i32 (...) @TLSv1_method()
%77 = call ptr @SSL_CTX_new(i32 noundef %76)
store ptr %77, ptr %14, align 8
%78 = icmp ne ptr %77, null
br i1 %78, label %81, label %79
79: ; preds = %65
%80 = call i32 (...) @err()
br label %81
81: ; preds = %79, %65
%82 = load ptr, ptr %14, align 8
%83 = call ptr @SSL_new(ptr noundef %82)
store ptr %83, ptr %16, align 8
%84 = icmp ne ptr %83, null
br i1 %84, label %87, label %85
85: ; preds = %81
%86 = call i32 (...) @err()
br label %87
87: ; preds = %85, %81
%88 = call i32 (...) @BIO_s_mem()
%89 = call ptr @BIO_new(i32 noundef %88)
store ptr %89, ptr %19, align 8
%90 = call i32 (...) @BIO_s_mem()
%91 = call ptr @BIO_new(i32 noundef %90)
store ptr %91, ptr %20, align 8
%92 = load ptr, ptr %16, align 8
%93 = load ptr, ptr %19, align 8
%94 = load ptr, ptr %20, align 8
%95 = call i32 @SSL_set_bio(ptr noundef %92, ptr noundef %93, ptr noundef %94)
%96 = load ptr, ptr %16, align 8
%97 = call i32 @SSL_set_connect_state(ptr noundef %96)
store i32 0, ptr %7, align 4
br label %98
98: ; preds = %228, %87
%99 = load ptr, ptr %16, align 8
%100 = call i32 @SSL_do_handshake(ptr noundef %99)
store i32 %100, ptr %6, align 4
%101 = load i32, ptr %6, align 4
%102 = icmp eq i32 %101, -1
br i1 %102, label %103, label %118
103: ; preds = %98
%104 = load ptr, ptr %16, align 8
%105 = load i32, ptr %6, align 4
%106 = call i64 @SSL_get_error(ptr noundef %104, i32 noundef %105)
%107 = load i64, ptr @SSL_ERROR_WANT_WRITE, align 8
%108 = icmp ne i64 %106, %107
br i1 %108, label %109, label %117
109: ; preds = %103
%110 = load ptr, ptr %16, align 8
%111 = load i32, ptr %6, align 4
%112 = call i64 @SSL_get_error(ptr noundef %110, i32 noundef %111)
%113 = load i64, ptr @SSL_ERROR_WANT_READ, align 8
%114 = icmp ne i64 %112, %113
br i1 %114, label %115, label %117
115: ; preds = %109
%116 = call i32 (...) @err()
br label %117
117: ; preds = %115, %109, %103
br label %118
118: ; preds = %117, %98
%119 = load ptr, ptr %20, align 8
%120 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%121 = call i32 @BIO_read(ptr noundef %119, ptr noundef %120, i32 noundef 4096)
store i32 %121, ptr %6, align 4
%122 = load i32, ptr %6, align 4
%123 = icmp eq i32 %122, -1
br i1 %123, label %124, label %126
124: ; preds = %118
%125 = call i32 (...) @err()
br label %126
126: ; preds = %124, %118
%127 = load i32, ptr %7, align 4
%128 = add nsw i32 %127, 1
store i32 %128, ptr %7, align 4
%129 = load i32, ptr %7, align 4
%130 = load i32, ptr %8, align 4
%131 = icmp eq i32 %129, %130
br i1 %131, label %132, label %138
132: ; preds = %126
%133 = load ptr, ptr %10, align 8
%134 = call ptr @fopen(ptr noundef %133, ptr noundef @.str.2)
store ptr %134, ptr %11, align 8
%135 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%136 = load ptr, ptr %11, align 8
%137 = call i32 @fread(ptr noundef %135, i32 noundef 1, i32 noundef 4096, ptr noundef %136)
store i32 %137, ptr %6, align 4
br label %148
138: ; preds = %126
%139 = getelementptr inbounds [15 x i8], ptr %12, i64 0, i64 0
%140 = load i32, ptr %7, align 4
%141 = call i32 @sprintf(ptr noundef %139, ptr noundef @.str.3, i32 noundef %140)
%142 = getelementptr inbounds [15 x i8], ptr %12, i64 0, i64 0
%143 = call ptr @fopen(ptr noundef %142, ptr noundef @.str.4)
store ptr %143, ptr %11, align 8
%144 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%145 = load i32, ptr %6, align 4
%146 = load ptr, ptr %11, align 8
%147 = call i32 @fwrite(ptr noundef %144, i32 noundef 1, i32 noundef %145, ptr noundef %146)
br label %148
148: ; preds = %138, %132
%149 = load ptr, ptr %17, align 8
%150 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%151 = load i32, ptr %6, align 4
%152 = call i32 @BIO_write(ptr noundef %149, ptr noundef %150, i32 noundef %151)
%153 = load ptr, ptr %15, align 8
%154 = call i32 @SSL_do_handshake(ptr noundef %153)
store i32 %154, ptr %6, align 4
%155 = load i32, ptr %6, align 4
%156 = icmp eq i32 %155, -1
br i1 %156, label %157, label %172
157: ; preds = %148
%158 = load ptr, ptr %15, align 8
%159 = load i32, ptr %6, align 4
%160 = call i64 @SSL_get_error(ptr noundef %158, i32 noundef %159)
%161 = load i64, ptr @SSL_ERROR_WANT_WRITE, align 8
%162 = icmp ne i64 %160, %161
br i1 %162, label %163, label %171
163: ; preds = %157
%164 = load ptr, ptr %15, align 8
%165 = load i32, ptr %6, align 4
%166 = call i64 @SSL_get_error(ptr noundef %164, i32 noundef %165)
%167 = load i64, ptr @SSL_ERROR_WANT_READ, align 8
%168 = icmp ne i64 %166, %167
br i1 %168, label %169, label %171
169: ; preds = %163
%170 = call i32 (...) @err()
br label %171
171: ; preds = %169, %163, %157
br label %172
172: ; preds = %171, %148
%173 = load ptr, ptr %18, align 8
%174 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%175 = call i32 @BIO_read(ptr noundef %173, ptr noundef %174, i32 noundef 4096)
store i32 %175, ptr %6, align 4
%176 = load i32, ptr %6, align 4
%177 = icmp eq i32 %176, -1
br i1 %177, label %178, label %180
178: ; preds = %172
%179 = call i32 (...) @err()
br label %180
180: ; preds = %178, %172
%181 = load i32, ptr %7, align 4
%182 = add nsw i32 %181, 1
store i32 %182, ptr %7, align 4
%183 = load i32, ptr %7, align 4
%184 = load i32, ptr %8, align 4
%185 = icmp eq i32 %183, %184
br i1 %185, label %186, label %192
186: ; preds = %180
%187 = load ptr, ptr %10, align 8
%188 = call ptr @fopen(ptr noundef %187, ptr noundef @.str.2)
store ptr %188, ptr %11, align 8
%189 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%190 = load ptr, ptr %11, align 8
%191 = call i32 @fread(ptr noundef %189, i32 noundef 1, i32 noundef 4096, ptr noundef %190)
store i32 %191, ptr %6, align 4
br label %202
192: ; preds = %180
%193 = getelementptr inbounds [15 x i8], ptr %12, i64 0, i64 0
%194 = load i32, ptr %7, align 4
%195 = call i32 @sprintf(ptr noundef %193, ptr noundef @.str.3, i32 noundef %194)
%196 = getelementptr inbounds [15 x i8], ptr %12, i64 0, i64 0
%197 = call ptr @fopen(ptr noundef %196, ptr noundef @.str.4)
store ptr %197, ptr %11, align 8
%198 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%199 = load i32, ptr %6, align 4
%200 = load ptr, ptr %11, align 8
%201 = call i32 @fwrite(ptr noundef %198, i32 noundef 1, i32 noundef %199, ptr noundef %200)
br label %202
202: ; preds = %192, %186
%203 = load ptr, ptr %19, align 8
%204 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%205 = load i32, ptr %6, align 4
%206 = call i32 @BIO_write(ptr noundef %203, ptr noundef %204, i32 noundef %205)
%207 = load ptr, ptr %15, align 8
%208 = call ptr @SSL_state_string(ptr noundef %207)
%209 = load ptr, ptr %15, align 8
%210 = call ptr @SSL_state_string_long(ptr noundef %209)
%211 = call i32 @printf(ptr noundef @.str.5, ptr noundef %208, ptr noundef %210)
%212 = load ptr, ptr %16, align 8
%213 = call ptr @SSL_state_string(ptr noundef %212)
%214 = load ptr, ptr %16, align 8
%215 = call ptr @SSL_state_string_long(ptr noundef %214)
%216 = call i32 @printf(ptr noundef @.str.6, ptr noundef %213, ptr noundef %215)
br label %217
217: ; preds = %202
%218 = load ptr, ptr %15, align 8
%219 = call i32 @SSL_is_init_finished(ptr noundef %218)
%220 = icmp ne i32 %219, 0
br i1 %220, label %221, label %225
221: ; preds = %217
%222 = load ptr, ptr %16, align 8
%223 = call i32 @SSL_is_init_finished(ptr noundef %222)
%224 = icmp ne i32 %223, 0
br i1 %224, label %228, label %225
225: ; preds = %221, %217
%226 = load i32, ptr %7, align 4
%227 = icmp slt i32 %226, 10
br label %228
228: ; preds = %225, %221
%229 = phi i1 [ false, %221 ], [ %227, %225 ]
br i1 %229, label %98, label %230, !llvm.loop !6
230: ; preds = %228
ret i32 0
}
declare i32 @SSL_library_init(...) #1
declare i32 @SSL_load_error_strings(...) #1
declare i32 @ERR_load_BIO_strings(...) #1
declare i32 @OpenSSL_add_all_algorithms(...) #1
declare ptr @SSL_CTX_new(i32 noundef) #1
declare i32 @TLSv1_method(...) #1
declare i32 @err(...) #1
declare i32 @SSL_CTX_use_certificate_file(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @SSL_CTX_use_PrivateKey_file(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @SSL_new(ptr noundef) #1
declare ptr @BIO_new(i32 noundef) #1
declare i32 @BIO_s_mem(...) #1
declare i32 @SSL_set_bio(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @SSL_set_accept_state(ptr noundef) #1
declare i32 @SSL_set_connect_state(ptr noundef) #1
declare i32 @SSL_do_handshake(ptr noundef) #1
declare i64 @SSL_get_error(ptr noundef, i32 noundef) #1
declare i32 @BIO_read(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @BIO_write(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @SSL_state_string(ptr noundef) #1
declare ptr @SSL_state_string_long(ptr noundef) #1
declare i32 @SSL_is_init_finished(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmprek674p5.c'
source_filename = "/tmp/tmprek674p5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @slaTp2v(float noundef %0, float noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
store float %0, ptr %5, align 4
store float %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%14 = load ptr, ptr %7, align 8
%15 = getelementptr inbounds float, ptr %14, i64 0
%16 = load float, ptr %15, align 4
store float %16, ptr %9, align 4
%17 = load ptr, ptr %7, align 8
%18 = getelementptr inbounds float, ptr %17, i64 1
%19 = load float, ptr %18, align 4
store float %19, ptr %10, align 4
%20 = load ptr, ptr %7, align 8
%21 = getelementptr inbounds float, ptr %20, i64 2
%22 = load float, ptr %21, align 4
store float %22, ptr %11, align 4
%23 = load float, ptr %5, align 4
%24 = load float, ptr %5, align 4
%25 = call float @llvm.fmuladd.f32(float %23, float %24, float 1.000000e+00)
%26 = load float, ptr %6, align 4
%27 = load float, ptr %6, align 4
%28 = call float @llvm.fmuladd.f32(float %26, float %27, float %25)
%29 = fpext float %28 to double
%30 = call i64 @sqrt(double noundef %29)
%31 = sitofp i64 %30 to float
store float %31, ptr %12, align 4
%32 = load float, ptr %9, align 4
%33 = load float, ptr %9, align 4
%34 = load float, ptr %10, align 4
%35 = load float, ptr %10, align 4
%36 = fmul float %34, %35
%37 = call float @llvm.fmuladd.f32(float %32, float %33, float %36)
%38 = fpext float %37 to double
%39 = call i64 @sqrt(double noundef %38)
%40 = sitofp i64 %39 to float
store float %40, ptr %13, align 4
%41 = load float, ptr %13, align 4
%42 = fcmp oeq float %41, 0.000000e+00
br i1 %42, label %43, label %45
43: ; preds = %4
store float 0x3BC79CA100000000, ptr %13, align 4
%44 = load float, ptr %13, align 4
store float %44, ptr %9, align 4
br label %45
45: ; preds = %43, %4
%46 = load float, ptr %9, align 4
%47 = load float, ptr %5, align 4
%48 = load float, ptr %10, align 4
%49 = load float, ptr %6, align 4
%50 = load float, ptr %9, align 4
%51 = fmul float %49, %50
%52 = load float, ptr %11, align 4
%53 = fmul float %51, %52
%54 = call float @llvm.fmuladd.f32(float %47, float %48, float %53)
%55 = load float, ptr %13, align 4
%56 = fdiv float %54, %55
%57 = fsub float %46, %56
%58 = load float, ptr %12, align 4
%59 = fdiv float %57, %58
%60 = load ptr, ptr %8, align 8
%61 = getelementptr inbounds float, ptr %60, i64 0
store float %59, ptr %61, align 4
%62 = load float, ptr %10, align 4
%63 = load float, ptr %5, align 4
%64 = load float, ptr %9, align 4
%65 = load float, ptr %6, align 4
%66 = load float, ptr %10, align 4
%67 = fmul float %65, %66
%68 = load float, ptr %11, align 4
%69 = fmul float %67, %68
%70 = fneg float %69
%71 = call float @llvm.fmuladd.f32(float %63, float %64, float %70)
%72 = load float, ptr %13, align 4
%73 = fdiv float %71, %72
%74 = fadd float %62, %73
%75 = load float, ptr %12, align 4
%76 = fdiv float %74, %75
%77 = load ptr, ptr %8, align 8
%78 = getelementptr inbounds float, ptr %77, i64 1
store float %76, ptr %78, align 4
%79 = load float, ptr %11, align 4
%80 = load float, ptr %6, align 4
%81 = load float, ptr %13, align 4
%82 = call float @llvm.fmuladd.f32(float %80, float %81, float %79)
%83 = load float, ptr %12, align 4
%84 = fdiv float %82, %83
%85 = load ptr, ptr %8, align 8
%86 = getelementptr inbounds float, ptr %85, i64 2
store float %84, ptr %86, align 4
ret void
}
declare i64 @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprek674p5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @slaTp2v(float noundef %0, float noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
store float %0, ptr %5, align 4
store float %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%14 = load ptr, ptr %7, align 8
%15 = getelementptr inbounds float, ptr %14, i64 0
%16 = load float, ptr %15, align 4
store float %16, ptr %9, align 4
%17 = load ptr, ptr %7, align 8
%18 = getelementptr inbounds float, ptr %17, i64 1
%19 = load float, ptr %18, align 4
store float %19, ptr %10, align 4
%20 = load ptr, ptr %7, align 8
%21 = getelementptr inbounds float, ptr %20, i64 2
%22 = load float, ptr %21, align 4
store float %22, ptr %11, align 4
%23 = load float, ptr %5, align 4
%24 = load float, ptr %5, align 4
%25 = call float @llvm.fmuladd.f32(float %23, float %24, float 1.000000e+00)
%26 = load float, ptr %6, align 4
%27 = load float, ptr %6, align 4
%28 = call float @llvm.fmuladd.f32(float %26, float %27, float %25)
%29 = fpext float %28 to double
%30 = call i64 @sqrt(double noundef %29)
%31 = sitofp i64 %30 to float
store float %31, ptr %12, align 4
%32 = load float, ptr %9, align 4
%33 = load float, ptr %9, align 4
%34 = load float, ptr %10, align 4
%35 = load float, ptr %10, align 4
%36 = fmul float %34, %35
%37 = call float @llvm.fmuladd.f32(float %32, float %33, float %36)
%38 = fpext float %37 to double
%39 = call i64 @sqrt(double noundef %38)
%40 = sitofp i64 %39 to float
store float %40, ptr %13, align 4
%41 = load float, ptr %13, align 4
%42 = fcmp oeq float %41, 0.000000e+00
br i1 %42, label %43, label %45
43: ; preds = %4
store float 0x3BC79CA100000000, ptr %13, align 4
%44 = load float, ptr %13, align 4
store float %44, ptr %9, align 4
br label %45
45: ; preds = %43, %4
%46 = load float, ptr %9, align 4
%47 = load float, ptr %5, align 4
%48 = load float, ptr %10, align 4
%49 = load float, ptr %6, align 4
%50 = load float, ptr %9, align 4
%51 = fmul float %49, %50
%52 = load float, ptr %11, align 4
%53 = fmul float %51, %52
%54 = call float @llvm.fmuladd.f32(float %47, float %48, float %53)
%55 = load float, ptr %13, align 4
%56 = fdiv float %54, %55
%57 = fsub float %46, %56
%58 = load float, ptr %12, align 4
%59 = fdiv float %57, %58
%60 = load ptr, ptr %8, align 8
%61 = getelementptr inbounds float, ptr %60, i64 0
store float %59, ptr %61, align 4
%62 = load float, ptr %10, align 4
%63 = load float, ptr %5, align 4
%64 = load float, ptr %9, align 4
%65 = load float, ptr %6, align 4
%66 = load float, ptr %10, align 4
%67 = fmul float %65, %66
%68 = load float, ptr %11, align 4
%69 = fmul float %67, %68
%70 = fneg float %69
%71 = call float @llvm.fmuladd.f32(float %63, float %64, float %70)
%72 = load float, ptr %13, align 4
%73 = fdiv float %71, %72
%74 = fadd float %62, %73
%75 = load float, ptr %12, align 4
%76 = fdiv float %74, %75
%77 = load ptr, ptr %8, align 8
%78 = getelementptr inbounds float, ptr %77, i64 1
store float %76, ptr %78, align 4
%79 = load float, ptr %11, align 4
%80 = load float, ptr %6, align 4
%81 = load float, ptr %13, align 4
%82 = call float @llvm.fmuladd.f32(float %80, float %81, float %79)
%83 = load float, ptr %12, align 4
%84 = fdiv float %82, %83
%85 = load ptr, ptr %8, align 8
%86 = getelementptr inbounds float, ptr %85, i64 2
store float %84, ptr %86, align 4
ret void
}
declare i64 @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpizp63d1g.c'
source_filename = "/tmp/tmpizp63d1g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @bstr_create(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = sext i32 %7 to i64
%9 = mul i64 %8, 4
%10 = add i64 1, %9
%11 = trunc i64 %10 to i32
%12 = call ptr @malloc(i32 noundef %11)
store ptr %12, ptr %6, align 8
%13 = load ptr, ptr %6, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %16, label %15
15: ; preds = %2
store ptr null, ptr %3, align 8
br label %25
16: ; preds = %2
%17 = load i32, ptr %5, align 4
%18 = load ptr, ptr %6, align 8
store i32 %17, ptr %18, align 4
%19 = load ptr, ptr %6, align 8
%20 = getelementptr inbounds i32, ptr %19, i64 1
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %5, align 4
%23 = call i32 @memcpy(ptr noundef %20, ptr noundef %21, i32 noundef %22)
%24 = load ptr, ptr %6, align 8
store ptr %24, ptr %3, align 8
br label %25
25: ; preds = %16, %15
%26 = load ptr, ptr %3, align 8
ret ptr %26
}
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpizp63d1g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @bstr_create(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = sext i32 %7 to i64
%9 = mul i64 %8, 4
%10 = add i64 1, %9
%11 = trunc i64 %10 to i32
%12 = call ptr @malloc(i32 noundef %11)
store ptr %12, ptr %6, align 8
%13 = load ptr, ptr %6, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %16, label %15
15: ; preds = %2
store ptr null, ptr %3, align 8
br label %25
16: ; preds = %2
%17 = load i32, ptr %5, align 4
%18 = load ptr, ptr %6, align 8
store i32 %17, ptr %18, align 4
%19 = load ptr, ptr %6, align 8
%20 = getelementptr inbounds i32, ptr %19, i64 1
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %5, align 4
%23 = call i32 @memcpy(ptr noundef %20, ptr noundef %21, i32 noundef %22)
%24 = load ptr, ptr %6, align 8
store ptr %24, ptr %3, align 8
br label %25
25: ; preds = %16, %15
%26 = load ptr, ptr %3, align 8
ret ptr %26
}
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkzhwrl7r.c'
source_filename = "/tmp/tmpkzhwrl7r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkzhwrl7r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmg5gwd43.c'
source_filename = "/tmp/tmpmg5gwd43.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__ttyname_r(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i32, ptr @ENOSYS, align 4
%8 = call i32 @__set_errno(i32 noundef %7)
%9 = load i32, ptr @ENOSYS, align 4
ret i32 %9
}
declare i32 @__set_errno(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmg5gwd43.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__ttyname_r(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i32, ptr @ENOSYS, align 4
%8 = call i32 @__set_errno(i32 noundef %7)
%9 = load i32, ptr @ENOSYS, align 4
ret i32 %9
}
declare i32 @__set_errno(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplig_thkj.c'
source_filename = "/tmp/tmplig_thkj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplig_thkj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuf4n0x0a.c'
source_filename = "/tmp/tmpuf4n0x0a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rj_readadc(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i32, align 4
store i8 %0, ptr %2, align 1
%4 = load i8, ptr %2, align 1
%5 = call i32 @rj_writebyte(i32 noundef 64, i8 noundef zeroext %4)
store i32 %5, ptr %3, align 4
%6 = call i32 @rj_readword(i32 noundef 65)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
ret i32 %7
}
declare i32 @rj_writebyte(i32 noundef, i8 noundef zeroext) #1
declare i32 @rj_readword(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuf4n0x0a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rj_readadc(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i32, align 4
store i8 %0, ptr %2, align 1
%4 = load i8, ptr %2, align 1
%5 = call i32 @rj_writebyte(i32 noundef 64, i8 noundef zeroext %4)
store i32 %5, ptr %3, align 4
%6 = call i32 @rj_readword(i32 noundef 65)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
ret i32 %7
}
declare i32 @rj_writebyte(i32 noundef, i8 noundef zeroext) #1
declare i32 @rj_readword(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9dcc4plx.c'
source_filename = "/tmp/tmp9dcc4plx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EIO = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9dcc4plx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EIO = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnkc2lwqu.c'
source_filename = "/tmp/tmpnkc2lwqu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"%s: %s format error\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @errf(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @stderr, align 4
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6, ptr noundef %7)
%9 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnkc2lwqu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"%s: %s format error\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @errf(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @stderr, align 4
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6, ptr noundef %7)
%9 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmply3gy3uk.c'
source_filename = "/tmp/tmply3gy3uk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_ser_params(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [80 x i8], align 16
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0
%7 = load ptr, ptr %4, align 8
%8 = call i32 @serparm_to_str(ptr noundef %6, i32 noundef 79, ptr noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0
%11 = call i32 @fprintf(ptr noundef %9, ptr noundef @.str, ptr noundef %10)
ret void
}
declare i32 @serparm_to_str(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmply3gy3uk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_ser_params(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [80 x i8], align 16
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0
%7 = load ptr, ptr %4, align 8
%8 = call i32 @serparm_to_str(ptr noundef %6, i32 noundef 79, ptr noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0
%11 = call i32 @fprintf(ptr noundef %9, ptr noundef @.str, ptr noundef %10)
ret void
}
declare i32 @serparm_to_str(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6owa84rk.c'
source_filename = "/tmp/tmp6owa84rk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @converter_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = sub nsw i32 %6, 1
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds i8, ptr %4, i64 %8
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp eq i32 %11, 10
br i1 %12, label %13, label %20
13: ; preds = %1
%14 = load ptr, ptr %2, align 8
%15 = load ptr, ptr %2, align 8
%16 = call i32 @strlen(ptr noundef %15)
%17 = sub nsw i32 %16, 1
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %14, i64 %18
store i8 0, ptr %19, align 1
br label %20
20: ; preds = %13, %1
store i32 0, ptr %3, align 4
br label %21
21: ; preds = %37, %20
%22 = load i32, ptr %3, align 4
%23 = load ptr, ptr %2, align 8
%24 = call i32 @strlen(ptr noundef %23)
%25 = icmp slt i32 %22, %24
br i1 %25, label %26, label %40
26: ; preds = %21
%27 = load ptr, ptr %2, align 8
%28 = load i32, ptr %3, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = call signext i8 @toupper(i8 noundef signext %31)
%33 = load ptr, ptr %2, align 8
%34 = load i32, ptr %3, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
store i8 %32, ptr %36, align 1
br label %37
37: ; preds = %26
%38 = load i32, ptr %3, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %3, align 4
br label %21, !llvm.loop !6
40: ; preds = %21
ret void
}
declare i32 @strlen(ptr noundef) #1
declare signext i8 @toupper(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6owa84rk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @converter_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = sub nsw i32 %6, 1
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds i8, ptr %4, i64 %8
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp eq i32 %11, 10
br i1 %12, label %13, label %20
13: ; preds = %1
%14 = load ptr, ptr %2, align 8
%15 = load ptr, ptr %2, align 8
%16 = call i32 @strlen(ptr noundef %15)
%17 = sub nsw i32 %16, 1
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %14, i64 %18
store i8 0, ptr %19, align 1
br label %20
20: ; preds = %13, %1
store i32 0, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = load ptr, ptr %2, align 8
%23 = call i32 @strlen(ptr noundef %22)
%24 = icmp slt i32 %21, %23
br i1 %24, label %.lr.ph, label %43
.lr.ph: ; preds = %20
br label %25
25: ; preds = %.lr.ph, %36
%26 = load ptr, ptr %2, align 8
%27 = load i32, ptr %3, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i8, ptr %29, align 1
%31 = call signext i8 @toupper(i8 noundef signext %30)
%32 = load ptr, ptr %2, align 8
%33 = load i32, ptr %3, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
store i8 %31, ptr %35, align 1
br label %36
36: ; preds = %25
%37 = load i32, ptr %3, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %3, align 4
%39 = load i32, ptr %3, align 4
%40 = load ptr, ptr %2, align 8
%41 = call i32 @strlen(ptr noundef %40)
%42 = icmp slt i32 %39, %41
br i1 %42, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %43
43: ; preds = %._crit_edge, %20
ret void
}
declare i32 @strlen(ptr noundef) #1
declare signext i8 @toupper(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpgcvnl7wl.c'
source_filename = "/tmp/tmpgcvnl7wl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgcvnl7wl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkr3lc7ps.c'
source_filename = "/tmp/tmpkr3lc7ps.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @scm_get_sample_corners(i32 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store i64 %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load i32, ptr %6, align 4
%12 = load i64, ptr %7, align 8
%13 = add nsw i64 %12, 0
%14 = sitofp i64 %13 to double
%15 = load i64, ptr %9, align 8
%16 = sitofp i64 %15 to double
%17 = fdiv double %14, %16
%18 = load i64, ptr %8, align 8
%19 = add nsw i64 %18, 0
%20 = sitofp i64 %19 to double
%21 = load i64, ptr %9, align 8
%22 = sitofp i64 %21 to double
%23 = fdiv double %20, %22
%24 = load ptr, ptr %10, align 8
%25 = getelementptr inbounds double, ptr %24, i64 0
%26 = call i32 @scm_vector(i32 noundef %11, double noundef %17, double noundef %23, ptr noundef %25)
%27 = load i32, ptr %6, align 4
%28 = load i64, ptr %7, align 8
%29 = add nsw i64 %28, 1
%30 = sitofp i64 %29 to double
%31 = load i64, ptr %9, align 8
%32 = sitofp i64 %31 to double
%33 = fdiv double %30, %32
%34 = load i64, ptr %8, align 8
%35 = add nsw i64 %34, 0
%36 = sitofp i64 %35 to double
%37 = load i64, ptr %9, align 8
%38 = sitofp i64 %37 to double
%39 = fdiv double %36, %38
%40 = load ptr, ptr %10, align 8
%41 = getelementptr inbounds double, ptr %40, i64 3
%42 = call i32 @scm_vector(i32 noundef %27, double noundef %33, double noundef %39, ptr noundef %41)
%43 = load i32, ptr %6, align 4
%44 = load i64, ptr %7, align 8
%45 = add nsw i64 %44, 0
%46 = sitofp i64 %45 to double
%47 = load i64, ptr %9, align 8
%48 = sitofp i64 %47 to double
%49 = fdiv double %46, %48
%50 = load i64, ptr %8, align 8
%51 = add nsw i64 %50, 1
%52 = sitofp i64 %51 to double
%53 = load i64, ptr %9, align 8
%54 = sitofp i64 %53 to double
%55 = fdiv double %52, %54
%56 = load ptr, ptr %10, align 8
%57 = getelementptr inbounds double, ptr %56, i64 6
%58 = call i32 @scm_vector(i32 noundef %43, double noundef %49, double noundef %55, ptr noundef %57)
%59 = load i32, ptr %6, align 4
%60 = load i64, ptr %7, align 8
%61 = add nsw i64 %60, 1
%62 = sitofp i64 %61 to double
%63 = load i64, ptr %9, align 8
%64 = sitofp i64 %63 to double
%65 = fdiv double %62, %64
%66 = load i64, ptr %8, align 8
%67 = add nsw i64 %66, 1
%68 = sitofp i64 %67 to double
%69 = load i64, ptr %9, align 8
%70 = sitofp i64 %69 to double
%71 = fdiv double %68, %70
%72 = load ptr, ptr %10, align 8
%73 = getelementptr inbounds double, ptr %72, i64 9
%74 = call i32 @scm_vector(i32 noundef %59, double noundef %65, double noundef %71, ptr noundef %73)
ret void
}
declare i32 @scm_vector(i32 noundef, double noundef, double noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkr3lc7ps.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @scm_get_sample_corners(i32 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store i64 %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load i32, ptr %6, align 4
%12 = load i64, ptr %7, align 8
%13 = add nsw i64 %12, 0
%14 = sitofp i64 %13 to double
%15 = load i64, ptr %9, align 8
%16 = sitofp i64 %15 to double
%17 = fdiv double %14, %16
%18 = load i64, ptr %8, align 8
%19 = add nsw i64 %18, 0
%20 = sitofp i64 %19 to double
%21 = load i64, ptr %9, align 8
%22 = sitofp i64 %21 to double
%23 = fdiv double %20, %22
%24 = load ptr, ptr %10, align 8
%25 = getelementptr inbounds double, ptr %24, i64 0
%26 = call i32 @scm_vector(i32 noundef %11, double noundef %17, double noundef %23, ptr noundef %25)
%27 = load i32, ptr %6, align 4
%28 = load i64, ptr %7, align 8
%29 = add nsw i64 %28, 1
%30 = sitofp i64 %29 to double
%31 = load i64, ptr %9, align 8
%32 = sitofp i64 %31 to double
%33 = fdiv double %30, %32
%34 = load i64, ptr %8, align 8
%35 = add nsw i64 %34, 0
%36 = sitofp i64 %35 to double
%37 = load i64, ptr %9, align 8
%38 = sitofp i64 %37 to double
%39 = fdiv double %36, %38
%40 = load ptr, ptr %10, align 8
%41 = getelementptr inbounds double, ptr %40, i64 3
%42 = call i32 @scm_vector(i32 noundef %27, double noundef %33, double noundef %39, ptr noundef %41)
%43 = load i32, ptr %6, align 4
%44 = load i64, ptr %7, align 8
%45 = add nsw i64 %44, 0
%46 = sitofp i64 %45 to double
%47 = load i64, ptr %9, align 8
%48 = sitofp i64 %47 to double
%49 = fdiv double %46, %48
%50 = load i64, ptr %8, align 8
%51 = add nsw i64 %50, 1
%52 = sitofp i64 %51 to double
%53 = load i64, ptr %9, align 8
%54 = sitofp i64 %53 to double
%55 = fdiv double %52, %54
%56 = load ptr, ptr %10, align 8
%57 = getelementptr inbounds double, ptr %56, i64 6
%58 = call i32 @scm_vector(i32 noundef %43, double noundef %49, double noundef %55, ptr noundef %57)
%59 = load i32, ptr %6, align 4
%60 = load i64, ptr %7, align 8
%61 = add nsw i64 %60, 1
%62 = sitofp i64 %61 to double
%63 = load i64, ptr %9, align 8
%64 = sitofp i64 %63 to double
%65 = fdiv double %62, %64
%66 = load i64, ptr %8, align 8
%67 = add nsw i64 %66, 1
%68 = sitofp i64 %67 to double
%69 = load i64, ptr %9, align 8
%70 = sitofp i64 %69 to double
%71 = fdiv double %68, %70
%72 = load ptr, ptr %10, align 8
%73 = getelementptr inbounds double, ptr %72, i64 9
%74 = call i32 @scm_vector(i32 noundef %59, double noundef %65, double noundef %71, ptr noundef %73)
ret void
}
declare i32 @scm_vector(i32 noundef, double noundef, double noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb5oe5xzc.c'
source_filename = "/tmp/tmpb5oe5xzc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 2, ptr %3, align 4
br label %5
5: ; preds = %30, %0
%6 = load i32, ptr %3, align 4
%7 = icmp ule i32 %6, 100
br i1 %7, label %8, label %33
8: ; preds = %5
store i32 1, ptr %4, align 4
store i32 2, ptr %2, align 4
br label %9
9: ; preds = %20, %8
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp ult i32 %10, %11
br i1 %12, label %13, label %23
13: ; preds = %9
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %2, align 4
%16 = urem i32 %14, %15
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %13
store i32 0, ptr %4, align 4
br label %19
19: ; preds = %18, %13
br label %20
20: ; preds = %19
%21 = load i32, ptr %2, align 4
%22 = add i32 %21, 1
store i32 %22, ptr %2, align 4
br label %9, !llvm.loop !6
23: ; preds = %9
%24 = load i32, ptr %4, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %23
%27 = load i32, ptr %3, align 4
%28 = call i32 @printf(ptr noundef @.str, i32 noundef %27)
br label %29
29: ; preds = %26, %23
br label %30
30: ; preds = %29
%31 = load i32, ptr %3, align 4
%32 = add i32 %31, 1
store i32 %32, ptr %3, align 4
br label %5, !llvm.loop !8
33: ; preds = %5
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb5oe5xzc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 2, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp ule i32 %5, 100
br i1 %6, label %.lr.ph2, label %36
.lr.ph2: ; preds = %0
br label %7
7: ; preds = %.lr.ph2, %31
store i32 1, ptr %4, align 4
store i32 2, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp ult i32 %8, %9
br i1 %10, label %.lr.ph, label %24
.lr.ph: ; preds = %7
br label %11
11: ; preds = %.lr.ph, %18
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %2, align 4
%14 = urem i32 %12, %13
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %11
store i32 0, ptr %4, align 4
br label %17
17: ; preds = %16, %11
br label %18
18: ; preds = %17
%19 = load i32, ptr %2, align 4
%20 = add i32 %19, 1
store i32 %20, ptr %2, align 4
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %3, align 4
%23 = icmp ult i32 %21, %22
br i1 %23, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %7
%25 = load i32, ptr %4, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = load i32, ptr %3, align 4
%29 = call i32 @printf(ptr noundef @.str, i32 noundef %28)
br label %30
30: ; preds = %27, %24
br label %31
31: ; preds = %30
%32 = load i32, ptr %3, align 4
%33 = add i32 %32, 1
store i32 %33, ptr %3, align 4
%34 = load i32, ptr %3, align 4
%35 = icmp ule i32 %34, 100
br i1 %35, label %7, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %31
br label %36
36: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp_l7gi8cp.c'
source_filename = "/tmp/tmp_l7gi8cp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_l7gi8cp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2w11xq1q.c'
source_filename = "/tmp/tmp2w11xq1q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%s = %1.8f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_number(ptr noundef %0, double noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca double, align 8
store ptr %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call i32 @printf(ptr noundef @.str, ptr noundef %5, double noundef %6)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2w11xq1q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%s = %1.8f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_number(ptr noundef %0, double noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca double, align 8
store ptr %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call i32 @printf(ptr noundef @.str, ptr noundef %5, double noundef %6)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5z4lue3r.c'
source_filename = "/tmp/tmp5z4lue3r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [57 x i8] c"%s:%d expected %0.3e, got %0.3e (diff %0.3e, tol %0.3e)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @assert_dbl_near(double noundef %0, double noundef %1, double noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca double, align 8
store double %0, ptr %6, align 8
store double %1, ptr %7, align 8
store double %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%13 = load double, ptr %6, align 8
%14 = load double, ptr %7, align 8
%15 = fsub double %13, %14
store double %15, ptr %11, align 8
%16 = load double, ptr %11, align 8
store double %16, ptr %12, align 8
%17 = load double, ptr %11, align 8
%18 = fcmp olt double %17, 0.000000e+00
br i1 %18, label %19, label %22
19: ; preds = %5
%20 = load double, ptr %12, align 8
%21 = fmul double %20, -1.000000e+00
store double %21, ptr %12, align 8
br label %22
22: ; preds = %19, %5
%23 = load double, ptr %12, align 8
%24 = load double, ptr %8, align 8
%25 = fcmp ogt double %23, %24
br i1 %25, label %26, label %34
26: ; preds = %22
%27 = load ptr, ptr %9, align 8
%28 = load i32, ptr %10, align 4
%29 = load double, ptr %6, align 8
%30 = load double, ptr %7, align 8
%31 = load double, ptr %11, align 8
%32 = load double, ptr %8, align 8
%33 = call i32 @CTEST_ERR(ptr noundef @.str, ptr noundef %27, i32 noundef %28, double noundef %29, double noundef %30, double noundef %31, double noundef %32)
br label %34
34: ; preds = %26, %22
ret void
}
declare i32 @CTEST_ERR(ptr noundef, ptr noundef, i32 noundef, double noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5z4lue3r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [57 x i8] c"%s:%d expected %0.3e, got %0.3e (diff %0.3e, tol %0.3e)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @assert_dbl_near(double noundef %0, double noundef %1, double noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca double, align 8
store double %0, ptr %6, align 8
store double %1, ptr %7, align 8
store double %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%13 = load double, ptr %6, align 8
%14 = load double, ptr %7, align 8
%15 = fsub double %13, %14
store double %15, ptr %11, align 8
%16 = load double, ptr %11, align 8
store double %16, ptr %12, align 8
%17 = load double, ptr %11, align 8
%18 = fcmp olt double %17, 0.000000e+00
br i1 %18, label %19, label %22
19: ; preds = %5
%20 = load double, ptr %12, align 8
%21 = fmul double %20, -1.000000e+00
store double %21, ptr %12, align 8
br label %22
22: ; preds = %19, %5
%23 = load double, ptr %12, align 8
%24 = load double, ptr %8, align 8
%25 = fcmp ogt double %23, %24
br i1 %25, label %26, label %34
26: ; preds = %22
%27 = load ptr, ptr %9, align 8
%28 = load i32, ptr %10, align 4
%29 = load double, ptr %6, align 8
%30 = load double, ptr %7, align 8
%31 = load double, ptr %11, align 8
%32 = load double, ptr %8, align 8
%33 = call i32 @CTEST_ERR(ptr noundef @.str, ptr noundef %27, i32 noundef %28, double noundef %29, double noundef %30, double noundef %31, double noundef %32)
br label %34
34: ; preds = %26, %22
ret void
}
declare i32 @CTEST_ERR(ptr noundef, ptr noundef, i32 noundef, double noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf0_o2o6o.c'
source_filename = "/tmp/tmpf0_o2o6o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getLetterCom(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%16 = load ptr, ptr %8, align 8
%17 = load i32, ptr %10, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = sub nsw i32 %21, 48
store i32 %22, ptr %14, align 4
%23 = load ptr, ptr %8, align 8
%24 = load i32, ptr %10, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %53
30: ; preds = %6
%31 = load i32, ptr %10, align 4
%32 = sext i32 %31 to i64
%33 = mul i64 1, %32
%34 = trunc i64 %33 to i32
%35 = call i64 @malloc(i32 noundef %34)
%36 = inttoptr i64 %35 to ptr
store ptr %36, ptr %15, align 8
%37 = load ptr, ptr %9, align 8
%38 = load i32, ptr %10, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
store i8 0, ptr %40, align 1
%41 = load ptr, ptr %15, align 8
%42 = load ptr, ptr %9, align 8
%43 = call i32 @strcpy(ptr noundef %41, ptr noundef %42)
%44 = load ptr, ptr %15, align 8
%45 = load ptr, ptr %7, align 8
%46 = load ptr, ptr %12, align 8
%47 = load i32, ptr %46, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds ptr, ptr %45, i64 %48
store ptr %44, ptr %49, align 8
%50 = load ptr, ptr %12, align 8
%51 = load i32, ptr %50, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %50, align 4
br label %87
53: ; preds = %6
store i32 0, ptr %13, align 4
br label %54
54: ; preds = %84, %53
%55 = load ptr, ptr %11, align 8
%56 = load i32, ptr %14, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [5 x i8], ptr %55, i64 %57
%59 = load i32, ptr %13, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [5 x i8], ptr %58, i64 0, i64 %60
%62 = load i8, ptr %61, align 1
%63 = icmp ne i8 %62, 0
br i1 %63, label %64, label %87
64: ; preds = %54
%65 = load ptr, ptr %11, align 8
%66 = load i32, ptr %14, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [5 x i8], ptr %65, i64 %67
%69 = load i32, ptr %13, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [5 x i8], ptr %68, i64 0, i64 %70
%72 = load i8, ptr %71, align 1
%73 = load ptr, ptr %9, align 8
%74 = load i32, ptr %10, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i8, ptr %73, i64 %75
store i8 %72, ptr %76, align 1
%77 = load ptr, ptr %7, align 8
%78 = load ptr, ptr %8, align 8
%79 = load ptr, ptr %9, align 8
%80 = load i32, ptr %10, align 4
%81 = add nsw i32 %80, 1
%82 = load ptr, ptr %11, align 8
%83 = load ptr, ptr %12, align 8
call void @getLetterCom(ptr noundef %77, ptr noundef %78, ptr noundef %79, i32 noundef %81, ptr noundef %82, ptr noundef %83)
br label %84
84: ; preds = %64
%85 = load i32, ptr %13, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %13, align 4
br label %54, !llvm.loop !6
87: ; preds = %30, %54
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf0_o2o6o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getLetterCom(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%16 = load ptr, ptr %8, align 8
%17 = load i32, ptr %10, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = sub nsw i32 %21, 48
store i32 %22, ptr %14, align 4
%23 = load ptr, ptr %8, align 8
%24 = load i32, ptr %10, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %53
30: ; preds = %6
%31 = load i32, ptr %10, align 4
%32 = sext i32 %31 to i64
%33 = mul i64 1, %32
%34 = trunc i64 %33 to i32
%35 = call i64 @malloc(i32 noundef %34)
%36 = inttoptr i64 %35 to ptr
store ptr %36, ptr %15, align 8
%37 = load ptr, ptr %9, align 8
%38 = load i32, ptr %10, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
store i8 0, ptr %40, align 1
%41 = load ptr, ptr %15, align 8
%42 = load ptr, ptr %9, align 8
%43 = call i32 @strcpy(ptr noundef %41, ptr noundef %42)
%44 = load ptr, ptr %15, align 8
%45 = load ptr, ptr %7, align 8
%46 = load ptr, ptr %12, align 8
%47 = load i32, ptr %46, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds ptr, ptr %45, i64 %48
store ptr %44, ptr %49, align 8
%50 = load ptr, ptr %12, align 8
%51 = load i32, ptr %50, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %50, align 4
br label %95
53: ; preds = %6
store i32 0, ptr %13, align 4
%54 = load ptr, ptr %11, align 8
%55 = load i32, ptr %14, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [5 x i8], ptr %54, i64 %56
%58 = load i32, ptr %13, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [5 x i8], ptr %57, i64 0, i64 %59
%61 = load i8, ptr %60, align 1
%62 = icmp ne i8 %61, 0
br i1 %62, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %53
br label %63
63: ; preds = %.lr.ph, %83
%64 = load ptr, ptr %11, align 8
%65 = load i32, ptr %14, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [5 x i8], ptr %64, i64 %66
%68 = load i32, ptr %13, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [5 x i8], ptr %67, i64 0, i64 %69
%71 = load i8, ptr %70, align 1
%72 = load ptr, ptr %9, align 8
%73 = load i32, ptr %10, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i8, ptr %72, i64 %74
store i8 %71, ptr %75, align 1
%76 = load ptr, ptr %7, align 8
%77 = load ptr, ptr %8, align 8
%78 = load ptr, ptr %9, align 8
%79 = load i32, ptr %10, align 4
%80 = add nsw i32 %79, 1
%81 = load ptr, ptr %11, align 8
%82 = load ptr, ptr %12, align 8
call void @getLetterCom(ptr noundef %76, ptr noundef %77, ptr noundef %78, i32 noundef %80, ptr noundef %81, ptr noundef %82)
br label %83
83: ; preds = %63
%84 = load i32, ptr %13, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %13, align 4
%86 = load ptr, ptr %11, align 8
%87 = load i32, ptr %14, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds [5 x i8], ptr %86, i64 %88
%90 = load i32, ptr %13, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [5 x i8], ptr %89, i64 0, i64 %91
%93 = load i8, ptr %92, align 1
%94 = icmp ne i8 %93, 0
br i1 %94, label %63, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %83
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %53
br label %95
95: ; preds = %.loopexit, %30
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp39d23h93.c'
source_filename = "/tmp/tmp39d23h93.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"argv[%d] is not a number \0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"argv[%d] is negative \0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"argv[%d] should be positive \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parse_int(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load ptr, ptr %5, align 8
%10 = call i32 @strtol(ptr noundef %9, ptr noundef %8, i32 noundef 10)
%11 = load ptr, ptr %6, align 8
store i32 %10, ptr %11, align 4
%12 = load ptr, ptr %8, align 8
%13 = load ptr, ptr %5, align 8
%14 = icmp eq ptr %12, %13
br i1 %14, label %20, label %15
15: ; preds = %3
%16 = load ptr, ptr %8, align 8
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %15, %3
%21 = load i32, ptr %7, align 4
%22 = call i32 @printf(ptr noundef @.str, i32 noundef %21)
store i32 0, ptr %4, align 4
br label %41
23: ; preds = %15
%24 = load ptr, ptr %6, align 8
%25 = load i32, ptr %24, align 4
%26 = icmp slt i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %23
%28 = load i32, ptr %7, align 4
%29 = call i32 @printf(ptr noundef @.str.1, i32 noundef %28)
store i32 0, ptr %4, align 4
br label %41
30: ; preds = %23
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %31, align 4
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %40
34: ; preds = %30
%35 = load i32, ptr %7, align 4
%36 = icmp ne i32 %35, 3
br i1 %36, label %37, label %40
37: ; preds = %34
%38 = load i32, ptr %7, align 4
%39 = call i32 @printf(ptr noundef @.str.2, i32 noundef %38)
store i32 0, ptr %4, align 4
br label %41
40: ; preds = %34, %30
store i32 1, ptr %4, align 4
br label %41
41: ; preds = %40, %37, %27, %20
%42 = load i32, ptr %4, align 4
ret i32 %42
}
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp39d23h93.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"argv[%d] is not a number \0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"argv[%d] is negative \0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"argv[%d] should be positive \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parse_int(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load ptr, ptr %5, align 8
%10 = call i32 @strtol(ptr noundef %9, ptr noundef %8, i32 noundef 10)
%11 = load ptr, ptr %6, align 8
store i32 %10, ptr %11, align 4
%12 = load ptr, ptr %8, align 8
%13 = load ptr, ptr %5, align 8
%14 = icmp eq ptr %12, %13
br i1 %14, label %20, label %15
15: ; preds = %3
%16 = load ptr, ptr %8, align 8
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %15, %3
%21 = load i32, ptr %7, align 4
%22 = call i32 @printf(ptr noundef @.str, i32 noundef %21)
store i32 0, ptr %4, align 4
br label %41
23: ; preds = %15
%24 = load ptr, ptr %6, align 8
%25 = load i32, ptr %24, align 4
%26 = icmp slt i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %23
%28 = load i32, ptr %7, align 4
%29 = call i32 @printf(ptr noundef @.str.1, i32 noundef %28)
store i32 0, ptr %4, align 4
br label %41
30: ; preds = %23
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %31, align 4
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %40
34: ; preds = %30
%35 = load i32, ptr %7, align 4
%36 = icmp ne i32 %35, 3
br i1 %36, label %37, label %40
37: ; preds = %34
%38 = load i32, ptr %7, align 4
%39 = call i32 @printf(ptr noundef @.str.2, i32 noundef %38)
store i32 0, ptr %4, align 4
br label %41
40: ; preds = %34, %30
store i32 1, ptr %4, align 4
br label %41
41: ; preds = %40, %37, %27, %20
%42 = load i32, ptr %4, align 4
ret i32 %42
}
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplnda6a0w.c'
source_filename = "/tmp/tmplnda6a0w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @version_string(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [40 x i32], align 16
%8 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds [40 x i32], ptr %7, i64 0, i64 0
%11 = load ptr, ptr %8, align 8
%12 = call i32 @_ada_use_c2phc(i32 noundef 999, ptr noundef %9, ptr noundef %10, ptr noundef %11, i32 noundef 0)
store i32 %12, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %13
13: ; preds = %28, %2
%14 = load i32, ptr %6, align 4
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %15, align 4
%17 = icmp slt i32 %14, %16
br i1 %17, label %18, label %31
18: ; preds = %13
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [40 x i32], ptr %7, i64 0, i64 %20
%22 = load i32, ptr %21, align 4
%23 = trunc i32 %22 to i8
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
store i8 %23, ptr %27, align 1
br label %28
28: ; preds = %18
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %6, align 4
br label %13, !llvm.loop !6
31: ; preds = %13
%32 = load ptr, ptr %4, align 8
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %33, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %32, i64 %35
store i8 0, ptr %36, align 1
%37 = load i32, ptr %5, align 4
ret i32 %37
}
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplnda6a0w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @version_string(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [40 x i32], align 16
%8 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds [40 x i32], ptr %7, i64 0, i64 0
%11 = load ptr, ptr %8, align 8
%12 = call i32 @_ada_use_c2phc(i32 noundef 999, ptr noundef %9, ptr noundef %10, ptr noundef %11, i32 noundef 0)
store i32 %12, ptr %5, align 4
store i32 0, ptr %6, align 4
%13 = load i32, ptr %6, align 4
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %14, align 4
%16 = icmp slt i32 %13, %15
br i1 %16, label %.lr.ph, label %34
.lr.ph: ; preds = %2
br label %17
17: ; preds = %.lr.ph, %27
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [40 x i32], ptr %7, i64 0, i64 %19
%21 = load i32, ptr %20, align 4
%22 = trunc i32 %21 to i8
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
store i8 %22, ptr %26, align 1
br label %27
27: ; preds = %17
%28 = load i32, ptr %6, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %6, align 4
%30 = load i32, ptr %6, align 4
%31 = load ptr, ptr %3, align 8
%32 = load i32, ptr %31, align 4
%33 = icmp slt i32 %30, %32
br i1 %33, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %34
34: ; preds = %._crit_edge, %2
%35 = load ptr, ptr %4, align 8
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %36, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %35, i64 %38
store i8 0, ptr %39, align 1
%40 = load i32, ptr %5, align 4
ret i32 %40
}
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2qsvhhdc.c'
source_filename = "/tmp/tmp2qsvhhdc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2qsvhhdc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcm97l71u.c'
source_filename = "/tmp/tmpcm97l71u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isspace.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isspace should be 0 for t\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isspace_0x74() #0 {
%1 = call i64 @isspace(i32 noundef 116)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 585, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isspace(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcm97l71u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isspace.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isspace should be 0 for t\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isspace_0x74() #0 {
%1 = call i64 @isspace(i32 noundef 116)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 585, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isspace(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2fdr5e_s.c'
source_filename = "/tmp/tmp2fdr5e_s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2fdr5e_s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpydwcankg.c'
source_filename = "/tmp/tmpydwcankg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpydwcankg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphnq8q8nd.c'
source_filename = "/tmp/tmphnq8q8nd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @compress(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%13 = load ptr, ptr %5, align 8
%14 = call i64 @ftell(ptr noundef %13)
store i64 %14, ptr %10, align 8
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = load i32, ptr @SEEK_SET, align 4
%19 = call i32 @fseek(ptr noundef %15, i64 noundef %17, i32 noundef %18)
%20 = load ptr, ptr %8, align 8
%21 = call ptr @fopen(ptr noundef %20, ptr noundef @.str)
store ptr %21, ptr %11, align 8
%22 = load ptr, ptr %11, align 8
%23 = load i32, ptr @SEEK_SET, align 4
%24 = call i32 @fseek(ptr noundef %22, i64 noundef 0, i32 noundef %23)
store i32 0, ptr %9, align 4
br label %25
25: ; preds = %35, %4
%26 = load i32, ptr %9, align 4
%27 = load i32, ptr %7, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %29, label %38
29: ; preds = %25
%30 = load ptr, ptr %11, align 8
%31 = call signext i8 @fgetc(ptr noundef %30)
store i8 %31, ptr %12, align 1
%32 = load i8, ptr %12, align 1
%33 = load ptr, ptr %5, align 8
%34 = call i32 @fputc(i8 noundef signext %32, ptr noundef %33)
br label %35
35: ; preds = %29
%36 = load i32, ptr %9, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %9, align 4
br label %25, !llvm.loop !6
38: ; preds = %25
%39 = load ptr, ptr %11, align 8
%40 = call i32 @fclose(ptr noundef %39)
%41 = load ptr, ptr %5, align 8
%42 = load i64, ptr %10, align 8
%43 = load i32, ptr @SEEK_SET, align 4
%44 = call i32 @fseek(ptr noundef %41, i64 noundef %42, i32 noundef %43)
ret i32 0
}
declare i64 @ftell(ptr noundef) #1
declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i32 @fputc(i8 noundef signext, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphnq8q8nd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @compress(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%13 = load ptr, ptr %5, align 8
%14 = call i64 @ftell(ptr noundef %13)
store i64 %14, ptr %10, align 8
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = load i32, ptr @SEEK_SET, align 4
%19 = call i32 @fseek(ptr noundef %15, i64 noundef %17, i32 noundef %18)
%20 = load ptr, ptr %8, align 8
%21 = call ptr @fopen(ptr noundef %20, ptr noundef @.str)
store ptr %21, ptr %11, align 8
%22 = load ptr, ptr %11, align 8
%23 = load i32, ptr @SEEK_SET, align 4
%24 = call i32 @fseek(ptr noundef %22, i64 noundef 0, i32 noundef %23)
store i32 0, ptr %9, align 4
%25 = load i32, ptr %9, align 4
%26 = load i32, ptr %7, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %.lr.ph, label %40
.lr.ph: ; preds = %4
br label %28
28: ; preds = %.lr.ph, %34
%29 = load ptr, ptr %11, align 8
%30 = call signext i8 @fgetc(ptr noundef %29)
store i8 %30, ptr %12, align 1
%31 = load i8, ptr %12, align 1
%32 = load ptr, ptr %5, align 8
%33 = call i32 @fputc(i8 noundef signext %31, ptr noundef %32)
br label %34
34: ; preds = %28
%35 = load i32, ptr %9, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %9, align 4
%37 = load i32, ptr %9, align 4
%38 = load i32, ptr %7, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %40
40: ; preds = %._crit_edge, %4
%41 = load ptr, ptr %11, align 8
%42 = call i32 @fclose(ptr noundef %41)
%43 = load ptr, ptr %5, align 8
%44 = load i64, ptr %10, align 8
%45 = load i32, ptr @SEEK_SET, align 4
%46 = call i32 @fseek(ptr noundef %43, i64 noundef %44, i32 noundef %45)
ret i32 0
}
declare i64 @ftell(ptr noundef) #1
declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i32 @fputc(i8 noundef signext, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9nerisgt.c'
source_filename = "/tmp/tmp9nerisgt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"allocation failure in uvector()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @uvector(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = sub i32 %6, %7
%9 = add i32 %8, 1
%10 = zext i32 %9 to i64
%11 = mul i64 %10, 4
%12 = trunc i64 %11 to i32
%13 = call i64 @malloc(i32 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %5, align 8
%15 = load ptr, ptr %5, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %19, label %17
17: ; preds = %2
%18 = call i32 @dump_error(ptr noundef @.str)
br label %19
19: ; preds = %17, %2
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %3, align 4
%22 = zext i32 %21 to i64
%23 = sub i64 0, %22
%24 = getelementptr inbounds i32, ptr %20, i64 %23
ret ptr %24
}
declare i64 @malloc(i32 noundef) #1
declare i32 @dump_error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9nerisgt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"allocation failure in uvector()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @uvector(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = sub i32 %6, %7
%9 = add i32 %8, 1
%10 = zext i32 %9 to i64
%11 = mul i64 %10, 4
%12 = trunc i64 %11 to i32
%13 = call i64 @malloc(i32 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %5, align 8
%15 = load ptr, ptr %5, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %19, label %17
17: ; preds = %2
%18 = call i32 @dump_error(ptr noundef @.str)
br label %19
19: ; preds = %17, %2
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %3, align 4
%22 = zext i32 %21 to i64
%23 = sub i64 0, %22
%24 = getelementptr inbounds i32, ptr %20, i64 %23
ret ptr %24
}
declare i64 @malloc(i32 noundef) #1
declare i32 @dump_error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8crpk2v9.c'
source_filename = "/tmp/tmp8crpk2v9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"usage: toccut <filename> <prefix>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8crpk2v9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"usage: toccut <filename> <prefix>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpipakimu3.c'
source_filename = "/tmp/tmpipakimu3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @call_me(i32 noundef %3)
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @call_me(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpipakimu3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @call_me(i32 noundef %3)
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @call_me(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8hnv0ucy.c'
source_filename = "/tmp/tmp8hnv0ucy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Bad data length!\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [1024 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = srem i32 %8, 2
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %1
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %68
13: ; preds = %1
%14 = load i32, ptr %5, align 4
%15 = ashr i32 %14, 1
store i32 %15, ptr %5, align 4
store i32 0, ptr %4, align 4
br label %16
16: ; preds = %42, %13
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %45
20: ; preds = %16
%21 = load ptr, ptr %2, align 8
%22 = load i32, ptr %4, align 4
%23 = mul nsw i32 2, %22
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %21, i64 %24
%26 = load i8, ptr %25, align 1
%27 = call i32 @from_hex(i8 noundef signext %26)
%28 = shl i32 %27, 4
%29 = load ptr, ptr %2, align 8
%30 = load i32, ptr %4, align 4
%31 = mul nsw i32 2, %30
%32 = add nsw i32 %31, 1
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %29, i64 %33
%35 = load i8, ptr %34, align 1
%36 = call i32 @from_hex(i8 noundef signext %35)
%37 = add nsw i32 %28, %36
%38 = trunc i32 %37 to i8
%39 = load i32, ptr %4, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %40
store i8 %38, ptr %41, align 1
br label %42
42: ; preds = %20
%43 = load i32, ptr %4, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %4, align 4
br label %16, !llvm.loop !6
45: ; preds = %16
store i32 0, ptr %4, align 4
br label %46
46: ; preds = %59, %45
%47 = load i32, ptr %4, align 4
%48 = load i32, ptr %5, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %50, label %62
50: ; preds = %46
%51 = load i32, ptr %4, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %52
%54 = load i8, ptr %53, align 1
%55 = call zeroext i8 @gsm2ascii(i8 noundef zeroext %54)
%56 = load i32, ptr %4, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %57
store i8 %55, ptr %58, align 1
br label %59
59: ; preds = %50
%60 = load i32, ptr %4, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %4, align 4
br label %46, !llvm.loop !8
62: ; preds = %46
%63 = load i32, ptr %5, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %64
store i8 0, ptr %65, align 1
%66 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %66)
br label %68
68: ; preds = %62, %11
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @from_hex(i8 noundef signext) #1
declare zeroext i8 @gsm2ascii(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8hnv0ucy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Bad data length!\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [1024 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = srem i32 %8, 2
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %1
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %72
13: ; preds = %1
%14 = load i32, ptr %5, align 4
%15 = ashr i32 %14, 1
store i32 %15, ptr %5, align 4
store i32 0, ptr %4, align 4
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph, label %47
.lr.ph: ; preds = %13
br label %19
19: ; preds = %.lr.ph, %41
%20 = load ptr, ptr %2, align 8
%21 = load i32, ptr %4, align 4
%22 = mul nsw i32 2, %21
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %20, i64 %23
%25 = load i8, ptr %24, align 1
%26 = call i32 @from_hex(i8 noundef signext %25)
%27 = shl i32 %26, 4
%28 = load ptr, ptr %2, align 8
%29 = load i32, ptr %4, align 4
%30 = mul nsw i32 2, %29
%31 = add nsw i32 %30, 1
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %28, i64 %32
%34 = load i8, ptr %33, align 1
%35 = call i32 @from_hex(i8 noundef signext %34)
%36 = add nsw i32 %27, %35
%37 = trunc i32 %36 to i8
%38 = load i32, ptr %4, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %39
store i8 %37, ptr %40, align 1
br label %41
41: ; preds = %19
%42 = load i32, ptr %4, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %4, align 4
%44 = load i32, ptr %4, align 4
%45 = load i32, ptr %5, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %47
47: ; preds = %._crit_edge, %13
store i32 0, ptr %4, align 4
%48 = load i32, ptr %4, align 4
%49 = load i32, ptr %5, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %.lr.ph2, label %66
.lr.ph2: ; preds = %47
br label %51
51: ; preds = %.lr.ph2, %60
%52 = load i32, ptr %4, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %53
%55 = load i8, ptr %54, align 1
%56 = call zeroext i8 @gsm2ascii(i8 noundef zeroext %55)
%57 = load i32, ptr %4, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %58
store i8 %56, ptr %59, align 1
br label %60
60: ; preds = %51
%61 = load i32, ptr %4, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %4, align 4
%63 = load i32, ptr %4, align 4
%64 = load i32, ptr %5, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %51, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %60
br label %66
66: ; preds = %._crit_edge3, %47
%67 = load i32, ptr %5, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %68
store i8 0, ptr %69, align 1
%70 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %70)
br label %72
72: ; preds = %66, %11
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @from_hex(i8 noundef signext) #1
declare zeroext i8 @gsm2ascii(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpbv2o3cj2.c'
source_filename = "/tmp/tmpbv2o3cj2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"csv-task.csv\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c",\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @function_empty_real_date_ini() #0 {
%1 = call i32 @write(ptr noundef @.str, ptr noundef @.str.1, ptr noundef null)
ret void
}
declare i32 @write(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbv2o3cj2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"csv-task.csv\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c",\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @function_empty_real_date_ini() #0 {
%1 = call i32 @write(ptr noundef @.str, ptr noundef @.str.1, ptr noundef null)
ret void
}
declare i32 @write(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_ma9_e1c.c'
source_filename = "/tmp/tmp_ma9_e1c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rnum(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @rand()
%4 = load i32, ptr %2, align 4
%5 = srem i32 %3, %4
ret i32 %5
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_ma9_e1c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rnum(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @rand()
%4 = load i32, ptr %2, align 4
%5 = srem i32 %3, %4
ret i32 %5
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj5m6korv.c'
source_filename = "/tmp/tmpj5m6korv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj5m6korv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp42tjd2_8.c'
source_filename = "/tmp/tmp42tjd2_8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reverse(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %3, align 8
%10 = load i64, ptr %4, align 8
%11 = getelementptr inbounds i8, ptr %9, i64 %10
%12 = getelementptr inbounds i8, ptr %11, i64 -1
store ptr %12, ptr %6, align 8
br label %13
13: ; preds = %17, %2
%14 = load ptr, ptr %5, align 8
%15 = load ptr, ptr %6, align 8
%16 = icmp ult ptr %14, %15
br i1 %16, label %17, label %29
17: ; preds = %13
%18 = load ptr, ptr %5, align 8
%19 = load i8, ptr %18, align 1
store i8 %19, ptr %7, align 1
%20 = load ptr, ptr %6, align 8
%21 = load i8, ptr %20, align 1
%22 = load ptr, ptr %5, align 8
store i8 %21, ptr %22, align 1
%23 = load i8, ptr %7, align 1
%24 = load ptr, ptr %6, align 8
store i8 %23, ptr %24, align 1
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %5, align 8
%27 = load ptr, ptr %6, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 -1
store ptr %28, ptr %6, align 8
br label %13, !llvm.loop !6
29: ; preds = %13
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp42tjd2_8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reverse(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %3, align 8
%10 = load i64, ptr %4, align 8
%11 = getelementptr inbounds i8, ptr %9, i64 %10
%12 = getelementptr inbounds i8, ptr %11, i64 -1
store ptr %12, ptr %6, align 8
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %6, align 8
%15 = icmp ult ptr %13, %14
br i1 %15, label %.lr.ph, label %31
.lr.ph: ; preds = %2
br label %16
16: ; preds = %.lr.ph, %16
%17 = load ptr, ptr %5, align 8
%18 = load i8, ptr %17, align 1
store i8 %18, ptr %7, align 1
%19 = load ptr, ptr %6, align 8
%20 = load i8, ptr %19, align 1
%21 = load ptr, ptr %5, align 8
store i8 %20, ptr %21, align 1
%22 = load i8, ptr %7, align 1
%23 = load ptr, ptr %6, align 8
store i8 %22, ptr %23, align 1
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 1
store ptr %25, ptr %5, align 8
%26 = load ptr, ptr %6, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 -1
store ptr %27, ptr %6, align 8
%28 = load ptr, ptr %5, align 8
%29 = load ptr, ptr %6, align 8
%30 = icmp ult ptr %28, %29
br i1 %30, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %31
31: ; preds = %._crit_edge, %2
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpscksmbs3.c'
source_filename = "/tmp/tmpscksmbs3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @free_stemmer(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @rr_free(ptr noundef %3)
ret void
}
declare i32 @rr_free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpscksmbs3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @free_stemmer(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @rr_free(ptr noundef %3)
ret void
}
declare i32 @rr_free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp13lu1bu7.c'
source_filename = "/tmp/tmp13lu1bu7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp13lu1bu7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2d98eqlq.c'
source_filename = "/tmp/tmp2d98eqlq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ft_putmemchar_fd(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = call i64 @write(i32 noundef %8, ptr noundef %9, i64 noundef %10)
%12 = icmp slt i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %3
%14 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %14, ptr %4, align 4
br label %17
15: ; preds = %3
%16 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %16, ptr %4, align 4
br label %17
17: ; preds = %15, %13
%18 = load i32, ptr %4, align 4
ret i32 %18
}
declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2d98eqlq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ft_putmemchar_fd(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = call i64 @write(i32 noundef %8, ptr noundef %9, i64 noundef %10)
%12 = icmp slt i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %3
%14 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %14, ptr %4, align 4
br label %17
15: ; preds = %3
%16 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %16, ptr %4, align 4
br label %17
17: ; preds = %15, %13
%18 = load i32, ptr %4, align 4
ret i32 %18
}
declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp94mc7mgx.c'
source_filename = "/tmp/tmp94mc7mgx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bgnpolygon_() #0 {
%1 = call i32 (...) @bgnpolygon()
ret void
}
declare i32 @bgnpolygon(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp94mc7mgx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bgnpolygon_() #0 {
%1 = call i32 (...) @bgnpolygon()
ret void
}
declare i32 @bgnpolygon(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv5asyztw.c'
source_filename = "/tmp/tmpv5asyztw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_palindrome(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [10 x i8], align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%7 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0
%8 = load i32, ptr %3, align 4
%9 = call i32 @sprintf(ptr noundef %7, ptr noundef @.str, i32 noundef %8)
%10 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %12
12: ; preds = %34, %1
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %5, align 4
%15 = sdiv i32 %14, 2
%16 = icmp slt i32 %13, %15
br i1 %16, label %17, label %37
17: ; preds = %12
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %6, align 4
%25 = sub nsw i32 %23, %24
%26 = sub nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %22, %30
br i1 %31, label %32, label %33
32: ; preds = %17
store i32 0, ptr %2, align 4
br label %38
33: ; preds = %17
br label %34
34: ; preds = %33
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %6, align 4
br label %12, !llvm.loop !6
37: ; preds = %12
store i32 1, ptr %2, align 4
br label %38
38: ; preds = %37, %32
%39 = load i32, ptr %2, align 4
ret i32 %39
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv5asyztw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_palindrome(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [10 x i8], align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%7 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0
%8 = load i32, ptr %3, align 4
%9 = call i32 @sprintf(ptr noundef %7, ptr noundef @.str, i32 noundef %8)
%10 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %5, align 4
store i32 0, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %5, align 4
%14 = sdiv i32 %13, 2
%15 = icmp slt i32 %12, %14
br i1 %15, label %.lr.ph, label %40
.lr.ph: ; preds = %1
br label %16
16: ; preds = %.lr.ph, %33
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %6, align 4
%24 = sub nsw i32 %22, %23
%25 = sub nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp ne i32 %21, %29
br i1 %30, label %31, label %32
31: ; preds = %16
store i32 0, ptr %2, align 4
br label %41
32: ; preds = %16
br label %33
33: ; preds = %32
%34 = load i32, ptr %6, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %6, align 4
%36 = load i32, ptr %6, align 4
%37 = load i32, ptr %5, align 4
%38 = sdiv i32 %37, 2
%39 = icmp slt i32 %36, %38
br i1 %39, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %40
40: ; preds = %._crit_edge, %1
store i32 1, ptr %2, align 4
br label %41
41: ; preds = %40, %31
%42 = load i32, ptr %2, align 4
ret i32 %42
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpuc4gidje.c'
source_filename = "/tmp/tmpuc4gidje.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuc4gidje.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmd2h3c5g.c'
source_filename = "/tmp/tmpmd2h3c5g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Socket id = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"lsrp-router.log\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Socket(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [128 x i8], align 16
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %7, align 4
%13 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef %12)
store i32 %13, ptr %8, align 4
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %3
%16 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %4, align 4
br label %24
17: ; preds = %3
%18 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%19 = load i32, ptr %8, align 4
%20 = call i32 @snprintf(ptr noundef %18, i32 noundef 128, ptr noundef @.str.1, i32 noundef %19)
%21 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%22 = call i32 @logging(ptr noundef @.str.2, ptr noundef %21)
%23 = load i32, ptr %8, align 4
store i32 %23, ptr %4, align 4
br label %24
24: ; preds = %17, %15
%25 = load i32, ptr %4, align 4
ret i32 %25
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @logging(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmd2h3c5g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Socket id = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"lsrp-router.log\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Socket(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [128 x i8], align 16
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %7, align 4
%13 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef %12)
store i32 %13, ptr %8, align 4
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %3
%16 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %4, align 4
br label %24
17: ; preds = %3
%18 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%19 = load i32, ptr %8, align 4
%20 = call i32 @snprintf(ptr noundef %18, i32 noundef 128, ptr noundef @.str.1, i32 noundef %19)
%21 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%22 = call i32 @logging(ptr noundef @.str.2, ptr noundef %21)
%23 = load i32, ptr %8, align 4
store i32 %23, ptr %4, align 4
br label %24
24: ; preds = %17, %15
%25 = load i32, ptr %4, align 4
ret i32 %25
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @logging(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuxiede60.c'
source_filename = "/tmp/tmpuxiede60.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"Enter values for N, L and x: \00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d %f %f\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c"%d-term Fourier series evaluates to %.4f at x=%.2f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca i32, align 4
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
store float 0.000000e+00, ptr %5, align 4
br label %8
8: ; preds = %34, %0
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
br label %11
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = icmp sle i32 %12, 0
br i1 %13, label %34, label %14
14: ; preds = %11
%15 = load float, ptr %3, align 4
%16 = fcmp ole float %15, 0.000000e+00
br i1 %16, label %34, label %17
17: ; preds = %14
%18 = load float, ptr %4, align 4
%19 = fcmp ole float %18, 0.000000e+00
br i1 %19, label %34, label %20
20: ; preds = %17
%21 = load float, ptr %3, align 4
%22 = fpext float %21 to double
%23 = fmul double 5.000000e-02, %22
%24 = load float, ptr %4, align 4
%25 = fpext float %24 to double
%26 = fcmp ogt double %23, %25
br i1 %26, label %34, label %27
27: ; preds = %20
%28 = load float, ptr %4, align 4
%29 = fpext float %28 to double
%30 = load float, ptr %3, align 4
%31 = fpext float %30 to double
%32 = fmul double 0x3FEE666666666666, %31
%33 = fcmp ogt double %29, %32
br label %34
34: ; preds = %27, %20, %17, %14, %11
%35 = phi i1 [ true, %20 ], [ true, %17 ], [ true, %14 ], [ true, %11 ], [ %33, %27 ]
br i1 %35, label %8, label %36, !llvm.loop !6
36: ; preds = %34
store i32 1, ptr %6, align 4
br label %37
37: ; preds = %63, %36
%38 = load i32, ptr %6, align 4
%39 = load i32, ptr %2, align 4
%40 = icmp sle i32 %38, %39
br i1 %40, label %41, label %66
41: ; preds = %37
%42 = load i32, ptr %6, align 4
%43 = sub nsw i32 %42, 1
%44 = mul nsw i32 2, %43
%45 = add nsw i32 %44, 1
%46 = sitofp i32 %45 to float
store float %46, ptr %7, align 4
%47 = load float, ptr %7, align 4
%48 = fdiv float 1.000000e+00, %47
%49 = load float, ptr %7, align 4
%50 = fpext float %49 to double
%51 = fmul double %50, 0x400921FB54442D18
%52 = load float, ptr %4, align 4
%53 = fpext float %52 to double
%54 = fmul double %51, %53
%55 = load float, ptr %3, align 4
%56 = fpext float %55 to double
%57 = fdiv double %54, %56
%58 = fptrunc double %57 to float
%59 = call i32 @sin(float noundef %58)
%60 = sitofp i32 %59 to float
%61 = load float, ptr %5, align 4
%62 = call float @llvm.fmuladd.f32(float %48, float %60, float %61)
store float %62, ptr %5, align 4
br label %63
63: ; preds = %41
%64 = load i32, ptr %6, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %6, align 4
br label %37, !llvm.loop !8
66: ; preds = %37
%67 = load float, ptr %5, align 4
%68 = fmul float %67, 0x3FF45F3060000000
store float %68, ptr %5, align 4
%69 = load i32, ptr %2, align 4
%70 = load float, ptr %5, align 4
%71 = fpext float %70 to double
%72 = load float, ptr %4, align 4
%73 = fpext float %72 to double
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %69, double noundef %71, double noundef %73)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @sin(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuxiede60.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"Enter values for N, L and x: \00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d %f %f\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c"%d-term Fourier series evaluates to %.4f at x=%.2f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca i32, align 4
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
store float 0.000000e+00, ptr %5, align 4
br label %8
8: ; preds = %34, %0
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
br label %11
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = icmp sle i32 %12, 0
br i1 %13, label %34, label %14
14: ; preds = %11
%15 = load float, ptr %3, align 4
%16 = fcmp ole float %15, 0.000000e+00
br i1 %16, label %34, label %17
17: ; preds = %14
%18 = load float, ptr %4, align 4
%19 = fcmp ole float %18, 0.000000e+00
br i1 %19, label %34, label %20
20: ; preds = %17
%21 = load float, ptr %3, align 4
%22 = fpext float %21 to double
%23 = fmul double 5.000000e-02, %22
%24 = load float, ptr %4, align 4
%25 = fpext float %24 to double
%26 = fcmp ogt double %23, %25
br i1 %26, label %34, label %27
27: ; preds = %20
%28 = load float, ptr %4, align 4
%29 = fpext float %28 to double
%30 = load float, ptr %3, align 4
%31 = fpext float %30 to double
%32 = fmul double 0x3FEE666666666666, %31
%33 = fcmp ogt double %29, %32
br label %34
34: ; preds = %27, %20, %17, %14, %11
%35 = phi i1 [ true, %20 ], [ true, %17 ], [ true, %14 ], [ true, %11 ], [ %33, %27 ]
br i1 %35, label %8, label %36, !llvm.loop !6
36: ; preds = %34
store i32 1, ptr %6, align 4
%37 = load i32, ptr %6, align 4
%38 = load i32, ptr %2, align 4
%39 = icmp sle i32 %37, %38
br i1 %39, label %.lr.ph, label %68
.lr.ph: ; preds = %36
br label %40
40: ; preds = %.lr.ph, %62
%41 = load i32, ptr %6, align 4
%42 = sub nsw i32 %41, 1
%43 = mul nsw i32 2, %42
%44 = add nsw i32 %43, 1
%45 = sitofp i32 %44 to float
store float %45, ptr %7, align 4
%46 = load float, ptr %7, align 4
%47 = fdiv float 1.000000e+00, %46
%48 = load float, ptr %7, align 4
%49 = fpext float %48 to double
%50 = fmul double %49, 0x400921FB54442D18
%51 = load float, ptr %4, align 4
%52 = fpext float %51 to double
%53 = fmul double %50, %52
%54 = load float, ptr %3, align 4
%55 = fpext float %54 to double
%56 = fdiv double %53, %55
%57 = fptrunc double %56 to float
%58 = call i32 @sin(float noundef %57)
%59 = sitofp i32 %58 to float
%60 = load float, ptr %5, align 4
%61 = call float @llvm.fmuladd.f32(float %47, float %59, float %60)
store float %61, ptr %5, align 4
br label %62
62: ; preds = %40
%63 = load i32, ptr %6, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %6, align 4
%65 = load i32, ptr %6, align 4
%66 = load i32, ptr %2, align 4
%67 = icmp sle i32 %65, %66
br i1 %67, label %40, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %62
br label %68
68: ; preds = %._crit_edge, %36
%69 = load float, ptr %5, align 4
%70 = fmul float %69, 0x3FF45F3060000000
store float %70, ptr %5, align 4
%71 = load i32, ptr %2, align 4
%72 = load float, ptr %5, align 4
%73 = fpext float %72 to double
%74 = load float, ptr %4, align 4
%75 = fpext float %74 to double
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %71, double noundef %73, double noundef %75)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @sin(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp8yjb7rxa.c'
source_filename = "/tmp/tmp8yjb7rxa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @f(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = getelementptr inbounds double, ptr %5, i64 0
%7 = load double, ptr %6, align 8
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds double, ptr %8, i64 0
%10 = load double, ptr %9, align 8
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds double, ptr %11, i64 1
%13 = load double, ptr %12, align 8
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds double, ptr %14, i64 1
%16 = load double, ptr %15, align 8
%17 = fmul double %13, %16
%18 = call double @llvm.fmuladd.f64(double %7, double %10, double %17)
%19 = fadd double %18, 1.000000e+02
ret double %19
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8yjb7rxa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @f(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = getelementptr inbounds double, ptr %5, i64 0
%7 = load double, ptr %6, align 8
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds double, ptr %8, i64 0
%10 = load double, ptr %9, align 8
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds double, ptr %11, i64 1
%13 = load double, ptr %12, align 8
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds double, ptr %14, i64 1
%16 = load double, ptr %15, align 8
%17 = fmul double %13, %16
%18 = call double @llvm.fmuladd.f64(double %7, double %10, double %17)
%19 = fadd double %18, 1.000000e+02
ret double %19
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp39od6njq.c'
source_filename = "/tmp/tmp39od6njq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @rtrim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %51
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %50
9: ; preds = %5
br label %10
10: ; preds = %42, %9
%11 = load ptr, ptr %2, align 8
%12 = load ptr, ptr %2, align 8
%13 = call i32 @strlen(ptr noundef %12)
%14 = sub nsw i32 %13, 1
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %11, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 9
br i1 %19, label %40, label %20
20: ; preds = %10
%21 = load ptr, ptr %2, align 8
%22 = load ptr, ptr %2, align 8
%23 = call i32 @strlen(ptr noundef %22)
%24 = sub nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %21, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 10
br i1 %29, label %40, label %30
30: ; preds = %20
%31 = load ptr, ptr %2, align 8
%32 = load ptr, ptr %2, align 8
%33 = call i32 @strlen(ptr noundef %32)
%34 = sub nsw i32 %33, 1
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %31, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 32
br label %40
40: ; preds = %30, %20, %10
%41 = phi i1 [ true, %20 ], [ true, %10 ], [ %39, %30 ]
br i1 %41, label %42, label %49
42: ; preds = %40
%43 = load ptr, ptr %2, align 8
%44 = load ptr, ptr %2, align 8
%45 = call i32 @strlen(ptr noundef %44)
%46 = sub nsw i32 %45, 1
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %43, i64 %47
store i8 0, ptr %48, align 1
br label %10, !llvm.loop !6
49: ; preds = %40
br label %50
50: ; preds = %49, %5
br label %51
51: ; preds = %50, %1
%52 = load ptr, ptr %2, align 8
ret ptr %52
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp39od6njq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @rtrim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %51
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %50
9: ; preds = %5
br label %10
10: ; preds = %42, %9
%11 = load ptr, ptr %2, align 8
%12 = load ptr, ptr %2, align 8
%13 = call i32 @strlen(ptr noundef %12)
%14 = sub nsw i32 %13, 1
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %11, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 9
br i1 %19, label %40, label %20
20: ; preds = %10
%21 = load ptr, ptr %2, align 8
%22 = load ptr, ptr %2, align 8
%23 = call i32 @strlen(ptr noundef %22)
%24 = sub nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %21, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 10
br i1 %29, label %40, label %30
30: ; preds = %20
%31 = load ptr, ptr %2, align 8
%32 = load ptr, ptr %2, align 8
%33 = call i32 @strlen(ptr noundef %32)
%34 = sub nsw i32 %33, 1
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %31, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 32
br label %40
40: ; preds = %30, %20, %10
%41 = phi i1 [ true, %20 ], [ true, %10 ], [ %39, %30 ]
br i1 %41, label %42, label %49
42: ; preds = %40
%43 = load ptr, ptr %2, align 8
%44 = load ptr, ptr %2, align 8
%45 = call i32 @strlen(ptr noundef %44)
%46 = sub nsw i32 %45, 1
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %43, i64 %47
store i8 0, ptr %48, align 1
br label %10, !llvm.loop !6
49: ; preds = %40
br label %50
50: ; preds = %49, %5
br label %51
51: ; preds = %50, %1
%52 = load ptr, ptr %2, align 8
ret ptr %52
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqauelfb1.c'
source_filename = "/tmp/tmpqauelfb1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @rec4() #0 {
%1 = call i32 (...) @rec2()
%2 = call i32 (...) @rec3()
ret void
}
declare i32 @rec2(...) #1
declare i32 @rec3(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqauelfb1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @rec4() #0 {
%1 = call i32 (...) @rec2()
%2 = call i32 (...) @rec3()
ret void
}
declare i32 @rec2(...) #1
declare i32 @rec3(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3f46xgtw.c'
source_filename = "/tmp/tmp3f46xgtw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3f46xgtw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq9pwf5xs.c'
source_filename = "/tmp/tmpq9pwf5xs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @slaSvd(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca double, align 8
%31 = alloca double, align 8
%32 = alloca double, align 8
%33 = alloca double, align 8
%34 = alloca double, align 8
%35 = alloca double, align 8
%36 = alloca double, align 8
%37 = alloca double, align 8
%38 = alloca double, align 8
store i32 %0, ptr %10, align 4
store i32 %1, ptr %11, align 4
store i32 %2, ptr %12, align 4
store i32 %3, ptr %13, align 4
store ptr %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store ptr %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
store i32 0, ptr %20, align 4
store i32 0, ptr %19, align 4
%39 = load i32, ptr %10, align 4
%40 = load i32, ptr %11, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %50, label %42
42: ; preds = %9
%43 = load i32, ptr %10, align 4
%44 = load i32, ptr %12, align 4
%45 = icmp sgt i32 %43, %44
br i1 %45, label %50, label %46
46: ; preds = %42
%47 = load i32, ptr %11, align 4
%48 = load i32, ptr %13, align 4
%49 = icmp sgt i32 %47, %48
br i1 %49, label %50, label %52
50: ; preds = %46, %42, %9
%51 = load ptr, ptr %18, align 8
store i32 -1, ptr %51, align 4
br label %1398
52: ; preds = %46
%53 = load ptr, ptr %18, align 8
store i32 0, ptr %53, align 4
store double 0.000000e+00, ptr %28, align 8
store double 0.000000e+00, ptr %29, align 8
store double 0.000000e+00, ptr %30, align 8
store i32 0, ptr %21, align 4
br label %54
54: ; preds = %527, %52
%55 = load i32, ptr %21, align 4
%56 = load i32, ptr %11, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %58, label %530
58: ; preds = %54
%59 = load i32, ptr %21, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %19, align 4
%61 = load double, ptr %29, align 8
%62 = load double, ptr %28, align 8
%63 = fmul double %61, %62
%64 = load ptr, ptr %17, align 8
%65 = load i32, ptr %21, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds double, ptr %64, i64 %66
store double %63, ptr %67, align 8
store double 0.000000e+00, ptr %28, align 8
store double 0.000000e+00, ptr %31, align 8
store double 0.000000e+00, ptr %29, align 8
%68 = load i32, ptr %21, align 4
%69 = load i32, ptr %10, align 4
%70 = icmp slt i32 %68, %69
br i1 %70, label %71, label %270
71: ; preds = %58
%72 = load i32, ptr %21, align 4
store i32 %72, ptr %22, align 4
br label %73
73: ; preds = %91, %71
%74 = load i32, ptr %22, align 4
%75 = load i32, ptr %10, align 4
%76 = icmp slt i32 %74, %75
br i1 %76, label %77, label %94
77: ; preds = %73
%78 = load ptr, ptr %14, align 8
%79 = load i32, ptr %22, align 4
%80 = load i32, ptr %13, align 4
%81 = mul nsw i32 %79, %80
%82 = load i32, ptr %21, align 4
%83 = add nsw i32 %81, %82
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds double, ptr %78, i64 %84
%86 = load double, ptr %85, align 8
%87 = call i32 @fabs(double noundef %86)
%88 = sitofp i32 %87 to double
%89 = load double, ptr %29, align 8
%90 = fadd double %89, %88
store double %90, ptr %29, align 8
br label %91
91: ; preds = %77
%92 = load i32, ptr %22, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %22, align 4
br label %73, !llvm.loop !6
94: ; preds = %73
%95 = load double, ptr %29, align 8
%96 = fcmp une double %95, 0.000000e+00
br i1 %96, label %97, label %269
97: ; preds = %94
%98 = load i32, ptr %21, align 4
store i32 %98, ptr %22, align 4
br label %99
99: ; preds = %128, %97
%100 = load i32, ptr %22, align 4
%101 = load i32, ptr %10, align 4
%102 = icmp slt i32 %100, %101
br i1 %102, label %103, label %131
103: ; preds = %99
%104 = load ptr, ptr %14, align 8
%105 = load i32, ptr %22, align 4
%106 = load i32, ptr %13, align 4
%107 = mul nsw i32 %105, %106
%108 = load i32, ptr %21, align 4
%109 = add nsw i32 %107, %108
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds double, ptr %104, i64 %110
%112 = load double, ptr %111, align 8
%113 = load double, ptr %29, align 8
%114 = fdiv double %112, %113
store double %114, ptr %32, align 8
%115 = load double, ptr %32, align 8
%116 = load ptr, ptr %14, align 8
%117 = load i32, ptr %22, align 4
%118 = load i32, ptr %13, align 4
%119 = mul nsw i32 %117, %118
%120 = load i32, ptr %21, align 4
%121 = add nsw i32 %119, %120
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds double, ptr %116, i64 %122
store double %115, ptr %123, align 8
%124 = load double, ptr %32, align 8
%125 = load double, ptr %32, align 8
%126 = load double, ptr %31, align 8
%127 = call double @llvm.fmuladd.f64(double %124, double %125, double %126)
store double %127, ptr %31, align 8
br label %128
128: ; preds = %103
%129 = load i32, ptr %22, align 4
%130 = add nsw i32 %129, 1
store i32 %130, ptr %22, align 4
br label %99, !llvm.loop !8
131: ; preds = %99
%132 = load ptr, ptr %14, align 8
%133 = load i32, ptr %21, align 4
%134 = load i32, ptr %13, align 4
%135 = mul nsw i32 %133, %134
%136 = load i32, ptr %21, align 4
%137 = add nsw i32 %135, %136
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds double, ptr %132, i64 %138
%140 = load double, ptr %139, align 8
store double %140, ptr %33, align 8
%141 = load double, ptr %33, align 8
%142 = fcmp olt double %141, 0.000000e+00
br i1 %142, label %143, label %147
143: ; preds = %131
%144 = load double, ptr %31, align 8
%145 = call double @sqrt(double noundef %144) #4
%146 = fneg double %145
br label %150
147: ; preds = %131
%148 = load double, ptr %31, align 8
%149 = call double @sqrt(double noundef %148) #4
br label %150
150: ; preds = %147, %143
%151 = phi double [ %146, %143 ], [ %149, %147 ]
%152 = fneg double %151
store double %152, ptr %28, align 8
%153 = load double, ptr %33, align 8
%154 = load double, ptr %28, align 8
%155 = load double, ptr %31, align 8
%156 = fneg double %155
%157 = call double @llvm.fmuladd.f64(double %153, double %154, double %156)
store double %157, ptr %34, align 8
%158 = load double, ptr %33, align 8
%159 = load double, ptr %28, align 8
%160 = fsub double %158, %159
%161 = load ptr, ptr %14, align 8
%162 = load i32, ptr %21, align 4
%163 = load i32, ptr %13, align 4
%164 = mul nsw i32 %162, %163
%165 = load i32, ptr %21, align 4
%166 = add nsw i32 %164, %165
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds double, ptr %161, i64 %167
store double %160, ptr %168, align 8
%169 = load i32, ptr %21, align 4
%170 = load i32, ptr %11, align 4
%171 = sub nsw i32 %170, 1
%172 = icmp ne i32 %169, %171
br i1 %172, label %173, label %247
173: ; preds = %150
%174 = load i32, ptr %19, align 4
store i32 %174, ptr %23, align 4
br label %175
175: ; preds = %243, %173
%176 = load i32, ptr %23, align 4
%177 = load i32, ptr %11, align 4
%178 = icmp slt i32 %176, %177
br i1 %178, label %179, label %246
179: ; preds = %175
store double 0.000000e+00, ptr %31, align 8
%180 = load i32, ptr %21, align 4
store i32 %180, ptr %22, align 4
br label %181
181: ; preds = %206, %179
%182 = load i32, ptr %22, align 4
%183 = load i32, ptr %10, align 4
%184 = icmp slt i32 %182, %183
br i1 %184, label %185, label %209
185: ; preds = %181
%186 = load ptr, ptr %14, align 8
%187 = load i32, ptr %22, align 4
%188 = load i32, ptr %13, align 4
%189 = mul nsw i32 %187, %188
%190 = load i32, ptr %21, align 4
%191 = add nsw i32 %189, %190
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds double, ptr %186, i64 %192
%194 = load double, ptr %193, align 8
%195 = load ptr, ptr %14, align 8
%196 = load i32, ptr %22, align 4
%197 = load i32, ptr %13, align 4
%198 = mul nsw i32 %196, %197
%199 = load i32, ptr %23, align 4
%200 = add nsw i32 %198, %199
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds double, ptr %195, i64 %201
%203 = load double, ptr %202, align 8
%204 = load double, ptr %31, align 8
%205 = call double @llvm.fmuladd.f64(double %194, double %203, double %204)
store double %205, ptr %31, align 8
br label %206
206: ; preds = %185
%207 = load i32, ptr %22, align 4
%208 = add nsw i32 %207, 1
store i32 %208, ptr %22, align 4
br label %181, !llvm.loop !9
209: ; preds = %181
%210 = load double, ptr %31, align 8
%211 = load double, ptr %34, align 8
%212 = fdiv double %210, %211
store double %212, ptr %33, align 8
%213 = load i32, ptr %21, align 4
store i32 %213, ptr %22, align 4
br label %214
214: ; preds = %239, %209
%215 = load i32, ptr %22, align 4
%216 = load i32, ptr %10, align 4
%217 = icmp slt i32 %215, %216
br i1 %217, label %218, label %242
218: ; preds = %214
%219 = load double, ptr %33, align 8
%220 = load ptr, ptr %14, align 8
%221 = load i32, ptr %22, align 4
%222 = load i32, ptr %13, align 4
%223 = mul nsw i32 %221, %222
%224 = load i32, ptr %21, align 4
%225 = add nsw i32 %223, %224
%226 = sext i32 %225 to i64
%227 = getelementptr inbounds double, ptr %220, i64 %226
%228 = load double, ptr %227, align 8
%229 = load ptr, ptr %14, align 8
%230 = load i32, ptr %22, align 4
%231 = load i32, ptr %13, align 4
%232 = mul nsw i32 %230, %231
%233 = load i32, ptr %23, align 4
%234 = add nsw i32 %232, %233
%235 = sext i32 %234 to i64
%236 = getelementptr inbounds double, ptr %229, i64 %235
%237 = load double, ptr %236, align 8
%238 = call double @llvm.fmuladd.f64(double %219, double %228, double %237)
store double %238, ptr %236, align 8
br label %239
239: ; preds = %218
%240 = load i32, ptr %22, align 4
%241 = add nsw i32 %240, 1
store i32 %241, ptr %22, align 4
br label %214, !llvm.loop !10
242: ; preds = %214
br label %243
243: ; preds = %242
%244 = load i32, ptr %23, align 4
%245 = add nsw i32 %244, 1
store i32 %245, ptr %23, align 4
br label %175, !llvm.loop !11
246: ; preds = %175
br label %247
247: ; preds = %246, %150
%248 = load i32, ptr %21, align 4
store i32 %248, ptr %22, align 4
br label %249
249: ; preds = %265, %247
%250 = load i32, ptr %22, align 4
%251 = load i32, ptr %10, align 4
%252 = icmp slt i32 %250, %251
br i1 %252, label %253, label %268
253: ; preds = %249
%254 = load double, ptr %29, align 8
%255 = load ptr, ptr %14, align 8
%256 = load i32, ptr %22, align 4
%257 = load i32, ptr %13, align 4
%258 = mul nsw i32 %256, %257
%259 = load i32, ptr %21, align 4
%260 = add nsw i32 %258, %259
%261 = sext i32 %260 to i64
%262 = getelementptr inbounds double, ptr %255, i64 %261
%263 = load double, ptr %262, align 8
%264 = fmul double %263, %254
store double %264, ptr %262, align 8
br label %265
265: ; preds = %253
%266 = load i32, ptr %22, align 4
%267 = add nsw i32 %266, 1
store i32 %267, ptr %22, align 4
br label %249, !llvm.loop !12
268: ; preds = %249
br label %269
269: ; preds = %268, %94
br label %270
270: ; preds = %269, %58
%271 = load double, ptr %29, align 8
%272 = load double, ptr %28, align 8
%273 = fmul double %271, %272
%274 = load ptr, ptr %15, align 8
%275 = load i32, ptr %21, align 4
%276 = sext i32 %275 to i64
%277 = getelementptr inbounds double, ptr %274, i64 %276
store double %273, ptr %277, align 8
store double 0.000000e+00, ptr %28, align 8
store double 0.000000e+00, ptr %31, align 8
store double 0.000000e+00, ptr %29, align 8
%278 = load i32, ptr %21, align 4
%279 = load i32, ptr %10, align 4
%280 = icmp slt i32 %278, %279
br i1 %280, label %281, label %503
281: ; preds = %270
%282 = load i32, ptr %21, align 4
%283 = load i32, ptr %11, align 4
%284 = sub nsw i32 %283, 1
%285 = icmp ne i32 %282, %284
br i1 %285, label %286, label %503
286: ; preds = %281
%287 = load i32, ptr %19, align 4
store i32 %287, ptr %22, align 4
br label %288
288: ; preds = %306, %286
%289 = load i32, ptr %22, align 4
%290 = load i32, ptr %11, align 4
%291 = icmp slt i32 %289, %290
br i1 %291, label %292, label %309
292: ; preds = %288
%293 = load ptr, ptr %14, align 8
%294 = load i32, ptr %21, align 4
%295 = load i32, ptr %13, align 4
%296 = mul nsw i32 %294, %295
%297 = load i32, ptr %22, align 4
%298 = add nsw i32 %296, %297
%299 = sext i32 %298 to i64
%300 = getelementptr inbounds double, ptr %293, i64 %299
%301 = load double, ptr %300, align 8
%302 = call i32 @fabs(double noundef %301)
%303 = sitofp i32 %302 to double
%304 = load double, ptr %29, align 8
%305 = fadd double %304, %303
store double %305, ptr %29, align 8
br label %306
306: ; preds = %292
%307 = load i32, ptr %22, align 4
%308 = add nsw i32 %307, 1
store i32 %308, ptr %22, align 4
br label %288, !llvm.loop !13
309: ; preds = %288
%310 = load double, ptr %29, align 8
%311 = fcmp une double %310, 0.000000e+00
br i1 %311, label %312, label %502
312: ; preds = %309
%313 = load i32, ptr %19, align 4
store i32 %313, ptr %22, align 4
br label %314
314: ; preds = %343, %312
%315 = load i32, ptr %22, align 4
%316 = load i32, ptr %11, align 4
%317 = icmp slt i32 %315, %316
br i1 %317, label %318, label %346
318: ; preds = %314
%319 = load ptr, ptr %14, align 8
%320 = load i32, ptr %21, align 4
%321 = load i32, ptr %13, align 4
%322 = mul nsw i32 %320, %321
%323 = load i32, ptr %22, align 4
%324 = add nsw i32 %322, %323
%325 = sext i32 %324 to i64
%326 = getelementptr inbounds double, ptr %319, i64 %325
%327 = load double, ptr %326, align 8
%328 = load double, ptr %29, align 8
%329 = fdiv double %327, %328
store double %329, ptr %32, align 8
%330 = load double, ptr %32, align 8
%331 = load ptr, ptr %14, align 8
%332 = load i32, ptr %21, align 4
%333 = load i32, ptr %13, align 4
%334 = mul nsw i32 %332, %333
%335 = load i32, ptr %22, align 4
%336 = add nsw i32 %334, %335
%337 = sext i32 %336 to i64
%338 = getelementptr inbounds double, ptr %331, i64 %337
store double %330, ptr %338, align 8
%339 = load double, ptr %32, align 8
%340 = load double, ptr %32, align 8
%341 = load double, ptr %31, align 8
%342 = call double @llvm.fmuladd.f64(double %339, double %340, double %341)
store double %342, ptr %31, align 8
br label %343
343: ; preds = %318
%344 = load i32, ptr %22, align 4
%345 = add nsw i32 %344, 1
store i32 %345, ptr %22, align 4
br label %314, !llvm.loop !14
346: ; preds = %314
%347 = load ptr, ptr %14, align 8
%348 = load i32, ptr %21, align 4
%349 = load i32, ptr %13, align 4
%350 = mul nsw i32 %348, %349
%351 = load i32, ptr %19, align 4
%352 = add nsw i32 %350, %351
%353 = sext i32 %352 to i64
%354 = getelementptr inbounds double, ptr %347, i64 %353
%355 = load double, ptr %354, align 8
store double %355, ptr %33, align 8
%356 = load double, ptr %33, align 8
%357 = fcmp olt double %356, 0.000000e+00
br i1 %357, label %358, label %362
358: ; preds = %346
%359 = load double, ptr %31, align 8
%360 = call double @sqrt(double noundef %359) #4
%361 = fneg double %360
br label %365
362: ; preds = %346
%363 = load double, ptr %31, align 8
%364 = call double @sqrt(double noundef %363) #4
br label %365
365: ; preds = %362, %358
%366 = phi double [ %361, %358 ], [ %364, %362 ]
%367 = fneg double %366
store double %367, ptr %28, align 8
%368 = load double, ptr %33, align 8
%369 = load double, ptr %28, align 8
%370 = load double, ptr %31, align 8
%371 = fneg double %370
%372 = call double @llvm.fmuladd.f64(double %368, double %369, double %371)
store double %372, ptr %34, align 8
%373 = load double, ptr %33, align 8
%374 = load double, ptr %28, align 8
%375 = fsub double %373, %374
%376 = load ptr, ptr %14, align 8
%377 = load i32, ptr %21, align 4
%378 = load i32, ptr %13, align 4
%379 = mul nsw i32 %377, %378
%380 = load i32, ptr %19, align 4
%381 = add nsw i32 %379, %380
%382 = sext i32 %381 to i64
%383 = getelementptr inbounds double, ptr %376, i64 %382
store double %375, ptr %383, align 8
%384 = load i32, ptr %19, align 4
store i32 %384, ptr %22, align 4
br label %385
385: ; preds = %405, %365
%386 = load i32, ptr %22, align 4
%387 = load i32, ptr %11, align 4
%388 = icmp slt i32 %386, %387
br i1 %388, label %389, label %408
389: ; preds = %385
%390 = load ptr, ptr %14, align 8
%391 = load i32, ptr %21, align 4
%392 = load i32, ptr %13, align 4
%393 = mul nsw i32 %391, %392
%394 = load i32, ptr %22, align 4
%395 = add nsw i32 %393, %394
%396 = sext i32 %395 to i64
%397 = getelementptr inbounds double, ptr %390, i64 %396
%398 = load double, ptr %397, align 8
%399 = load double, ptr %34, align 8
%400 = fdiv double %398, %399
%401 = load ptr, ptr %17, align 8
%402 = load i32, ptr %22, align 4
%403 = sext i32 %402 to i64
%404 = getelementptr inbounds double, ptr %401, i64 %403
store double %400, ptr %404, align 8
br label %405
405: ; preds = %389
%406 = load i32, ptr %22, align 4
%407 = add nsw i32 %406, 1
store i32 %407, ptr %22, align 4
br label %385, !llvm.loop !15
408: ; preds = %385
%409 = load i32, ptr %21, align 4
%410 = load i32, ptr %10, align 4
%411 = sub nsw i32 %410, 1
%412 = icmp ne i32 %409, %411
br i1 %412, label %413, label %480
413: ; preds = %408
%414 = load i32, ptr %19, align 4
store i32 %414, ptr %23, align 4
br label %415
415: ; preds = %476, %413
%416 = load i32, ptr %23, align 4
%417 = load i32, ptr %10, align 4
%418 = icmp slt i32 %416, %417
br i1 %418, label %419, label %479
419: ; preds = %415
store double 0.000000e+00, ptr %31, align 8
%420 = load i32, ptr %19, align 4
store i32 %420, ptr %22, align 4
br label %421
421: ; preds = %446, %419
%422 = load i32, ptr %22, align 4
%423 = load i32, ptr %11, align 4
%424 = icmp slt i32 %422, %423
br i1 %424, label %425, label %449
425: ; preds = %421
%426 = load ptr, ptr %14, align 8
%427 = load i32, ptr %23, align 4
%428 = load i32, ptr %13, align 4
%429 = mul nsw i32 %427, %428
%430 = load i32, ptr %22, align 4
%431 = add nsw i32 %429, %430
%432 = sext i32 %431 to i64
%433 = getelementptr inbounds double, ptr %426, i64 %432
%434 = load double, ptr %433, align 8
%435 = load ptr, ptr %14, align 8
%436 = load i32, ptr %21, align 4
%437 = load i32, ptr %13, align 4
%438 = mul nsw i32 %436, %437
%439 = load i32, ptr %22, align 4
%440 = add nsw i32 %438, %439
%441 = sext i32 %440 to i64
%442 = getelementptr inbounds double, ptr %435, i64 %441
%443 = load double, ptr %442, align 8
%444 = load double, ptr %31, align 8
%445 = call double @llvm.fmuladd.f64(double %434, double %443, double %444)
store double %445, ptr %31, align 8
br label %446
446: ; preds = %425
%447 = load i32, ptr %22, align 4
%448 = add nsw i32 %447, 1
store i32 %448, ptr %22, align 4
br label %421, !llvm.loop !16
449: ; preds = %421
%450 = load i32, ptr %19, align 4
store i32 %450, ptr %22, align 4
br label %451
451: ; preds = %472, %449
%452 = load i32, ptr %22, align 4
%453 = load i32, ptr %11, align 4
%454 = icmp slt i32 %452, %453
br i1 %454, label %455, label %475
455: ; preds = %451
%456 = load double, ptr %31, align 8
%457 = load ptr, ptr %17, align 8
%458 = load i32, ptr %22, align 4
%459 = sext i32 %458 to i64
%460 = getelementptr inbounds double, ptr %457, i64 %459
%461 = load double, ptr %460, align 8
%462 = load ptr, ptr %14, align 8
%463 = load i32, ptr %23, align 4
%464 = load i32, ptr %13, align 4
%465 = mul nsw i32 %463, %464
%466 = load i32, ptr %22, align 4
%467 = add nsw i32 %465, %466
%468 = sext i32 %467 to i64
%469 = getelementptr inbounds double, ptr %462, i64 %468
%470 = load double, ptr %469, align 8
%471 = call double @llvm.fmuladd.f64(double %456, double %461, double %470)
store double %471, ptr %469, align 8
br label %472
472: ; preds = %455
%473 = load i32, ptr %22, align 4
%474 = add nsw i32 %473, 1
store i32 %474, ptr %22, align 4
br label %451, !llvm.loop !17
475: ; preds = %451
br label %476
476: ; preds = %475
%477 = load i32, ptr %23, align 4
%478 = add nsw i32 %477, 1
store i32 %478, ptr %23, align 4
br label %415, !llvm.loop !18
479: ; preds = %415
br label %480
480: ; preds = %479, %408
%481 = load i32, ptr %19, align 4
store i32 %481, ptr %22, align 4
br label %482
482: ; preds = %498, %480
%483 = load i32, ptr %22, align 4
%484 = load i32, ptr %11, align 4
%485 = icmp slt i32 %483, %484
br i1 %485, label %486, label %501
486: ; preds = %482
%487 = load double, ptr %29, align 8
%488 = load ptr, ptr %14, align 8
%489 = load i32, ptr %21, align 4
%490 = load i32, ptr %13, align 4
%491 = mul nsw i32 %489, %490
%492 = load i32, ptr %22, align 4
%493 = add nsw i32 %491, %492
%494 = sext i32 %493 to i64
%495 = getelementptr inbounds double, ptr %488, i64 %494
%496 = load double, ptr %495, align 8
%497 = fmul double %496, %487
store double %497, ptr %495, align 8
br label %498
498: ; preds = %486
%499 = load i32, ptr %22, align 4
%500 = add nsw i32 %499, 1
store i32 %500, ptr %22, align 4
br label %482, !llvm.loop !19
501: ; preds = %482
br label %502
502: ; preds = %501, %309
br label %503
503: ; preds = %502, %281, %270
%504 = load ptr, ptr %15, align 8
%505 = load i32, ptr %21, align 4
%506 = sext i32 %505 to i64
%507 = getelementptr inbounds double, ptr %504, i64 %506
%508 = load double, ptr %507, align 8
%509 = call i32 @fabs(double noundef %508)
%510 = load ptr, ptr %17, align 8
%511 = load i32, ptr %21, align 4
%512 = sext i32 %511 to i64
%513 = getelementptr inbounds double, ptr %510, i64 %512
%514 = load double, ptr %513, align 8
%515 = call i32 @fabs(double noundef %514)
%516 = add nsw i32 %509, %515
%517 = sitofp i32 %516 to double
store double %517, ptr %35, align 8
%518 = load double, ptr %30, align 8
%519 = load double, ptr %35, align 8
%520 = fcmp ogt double %518, %519
br i1 %520, label %521, label %523
521: ; preds = %503
%522 = load double, ptr %30, align 8
br label %525
523: ; preds = %503
%524 = load double, ptr %35, align 8
br label %525
525: ; preds = %523, %521
%526 = phi double [ %522, %521 ], [ %524, %523 ]
store double %526, ptr %30, align 8
br label %527
527: ; preds = %525
%528 = load i32, ptr %21, align 4
%529 = add nsw i32 %528, 1
store i32 %529, ptr %21, align 4
br label %54, !llvm.loop !20
530: ; preds = %54
%531 = load i32, ptr %11, align 4
%532 = sub nsw i32 %531, 1
store i32 %532, ptr %21, align 4
br label %533
533: ; preds = %696, %530
%534 = load i32, ptr %21, align 4
%535 = icmp sge i32 %534, 0
br i1 %535, label %536, label %699
536: ; preds = %533
%537 = load i32, ptr %21, align 4
%538 = load i32, ptr %11, align 4
%539 = sub nsw i32 %538, 1
%540 = icmp ne i32 %537, %539
br i1 %540, label %541, label %681
541: ; preds = %536
%542 = load double, ptr %28, align 8
%543 = fcmp une double %542, 0.000000e+00
br i1 %543, label %544, label %654
544: ; preds = %541
%545 = load i32, ptr %19, align 4
store i32 %545, ptr %23, align 4
br label %546
546: ; preds = %580, %544
%547 = load i32, ptr %23, align 4
%548 = load i32, ptr %11, align 4
%549 = icmp slt i32 %547, %548
br i1 %549, label %550, label %583
550: ; preds = %546
%551 = load ptr, ptr %14, align 8
%552 = load i32, ptr %21, align 4
%553 = load i32, ptr %13, align 4
%554 = mul nsw i32 %552, %553
%555 = load i32, ptr %23, align 4
%556 = add nsw i32 %554, %555
%557 = sext i32 %556 to i64
%558 = getelementptr inbounds double, ptr %551, i64 %557
%559 = load double, ptr %558, align 8
%560 = load ptr, ptr %14, align 8
%561 = load i32, ptr %21, align 4
%562 = load i32, ptr %13, align 4
%563 = mul nsw i32 %561, %562
%564 = load i32, ptr %19, align 4
%565 = add nsw i32 %563, %564
%566 = sext i32 %565 to i64
%567 = getelementptr inbounds double, ptr %560, i64 %566
%568 = load double, ptr %567, align 8
%569 = fdiv double %559, %568
%570 = load double, ptr %28, align 8
%571 = fdiv double %569, %570
%572 = load ptr, ptr %16, align 8
%573 = load i32, ptr %23, align 4
%574 = load i32, ptr %13, align 4
%575 = mul nsw i32 %573, %574
%576 = load i32, ptr %21, align 4
%577 = add nsw i32 %575, %576
%578 = sext i32 %577 to i64
%579 = getelementptr inbounds double, ptr %572, i64 %578
store double %571, ptr %579, align 8
br label %580
580: ; preds = %550
%581 = load i32, ptr %23, align 4
%582 = add nsw i32 %581, 1
store i32 %582, ptr %23, align 4
br label %546, !llvm.loop !21
583: ; preds = %546
%584 = load i32, ptr %19, align 4
store i32 %584, ptr %23, align 4
br label %585
585: ; preds = %650, %583
%586 = load i32, ptr %23, align 4
%587 = load i32, ptr %11, align 4
%588 = icmp slt i32 %586, %587
br i1 %588, label %589, label %653
589: ; preds = %585
store double 0.000000e+00, ptr %31, align 8
%590 = load i32, ptr %19, align 4
store i32 %590, ptr %22, align 4
br label %591
591: ; preds = %616, %589
%592 = load i32, ptr %22, align 4
%593 = load i32, ptr %11, align 4
%594 = icmp slt i32 %592, %593
br i1 %594, label %595, label %619
595: ; preds = %591
%596 = load ptr, ptr %14, align 8
%597 = load i32, ptr %21, align 4
%598 = load i32, ptr %13, align 4
%599 = mul nsw i32 %597, %598
%600 = load i32, ptr %22, align 4
%601 = add nsw i32 %599, %600
%602 = sext i32 %601 to i64
%603 = getelementptr inbounds double, ptr %596, i64 %602
%604 = load double, ptr %603, align 8
%605 = load ptr, ptr %16, align 8
%606 = load i32, ptr %22, align 4
%607 = load i32, ptr %13, align 4
%608 = mul nsw i32 %606, %607
%609 = load i32, ptr %23, align 4
%610 = add nsw i32 %608, %609
%611 = sext i32 %610 to i64
%612 = getelementptr inbounds double, ptr %605, i64 %611
%613 = load double, ptr %612, align 8
%614 = load double, ptr %31, align 8
%615 = call double @llvm.fmuladd.f64(double %604, double %613, double %614)
store double %615, ptr %31, align 8
br label %616
616: ; preds = %595
%617 = load i32, ptr %22, align 4
%618 = add nsw i32 %617, 1
store i32 %618, ptr %22, align 4
br label %591, !llvm.loop !22
619: ; preds = %591
%620 = load i32, ptr %19, align 4
store i32 %620, ptr %22, align 4
br label %621
621: ; preds = %646, %619
%622 = load i32, ptr %22, align 4
%623 = load i32, ptr %11, align 4
%624 = icmp slt i32 %622, %623
br i1 %624, label %625, label %649
625: ; preds = %621
%626 = load double, ptr %31, align 8
%627 = load ptr, ptr %16, align 8
%628 = load i32, ptr %22, align 4
%629 = load i32, ptr %13, align 4
%630 = mul nsw i32 %628, %629
%631 = load i32, ptr %21, align 4
%632 = add nsw i32 %630, %631
%633 = sext i32 %632 to i64
%634 = getelementptr inbounds double, ptr %627, i64 %633
%635 = load double, ptr %634, align 8
%636 = load ptr, ptr %16, align 8
%637 = load i32, ptr %22, align 4
%638 = load i32, ptr %13, align 4
%639 = mul nsw i32 %637, %638
%640 = load i32, ptr %23, align 4
%641 = add nsw i32 %639, %640
%642 = sext i32 %641 to i64
%643 = getelementptr inbounds double, ptr %636, i64 %642
%644 = load double, ptr %643, align 8
%645 = call double @llvm.fmuladd.f64(double %626, double %635, double %644)
store double %645, ptr %643, align 8
br label %646
646: ; preds = %625
%647 = load i32, ptr %22, align 4
%648 = add nsw i32 %647, 1
store i32 %648, ptr %22, align 4
br label %621, !llvm.loop !23
649: ; preds = %621
br label %650
650: ; preds = %649
%651 = load i32, ptr %23, align 4
%652 = add nsw i32 %651, 1
store i32 %652, ptr %23, align 4
br label %585, !llvm.loop !24
653: ; preds = %585
br label %654
654: ; preds = %653, %541
%655 = load i32, ptr %19, align 4
store i32 %655, ptr %23, align 4
br label %656
656: ; preds = %677, %654
%657 = load i32, ptr %23, align 4
%658 = load i32, ptr %11, align 4
%659 = icmp slt i32 %657, %658
br i1 %659, label %660, label %680
660: ; preds = %656
%661 = load ptr, ptr %16, align 8
%662 = load i32, ptr %21, align 4
%663 = load i32, ptr %13, align 4
%664 = mul nsw i32 %662, %663
%665 = load i32, ptr %23, align 4
%666 = add nsw i32 %664, %665
%667 = sext i32 %666 to i64
%668 = getelementptr inbounds double, ptr %661, i64 %667
store double 0.000000e+00, ptr %668, align 8
%669 = load ptr, ptr %16, align 8
%670 = load i32, ptr %23, align 4
%671 = load i32, ptr %13, align 4
%672 = mul nsw i32 %670, %671
%673 = load i32, ptr %21, align 4
%674 = add nsw i32 %672, %673
%675 = sext i32 %674 to i64
%676 = getelementptr inbounds double, ptr %669, i64 %675
store double 0.000000e+00, ptr %676, align 8
br label %677
677: ; preds = %660
%678 = load i32, ptr %23, align 4
%679 = add nsw i32 %678, 1
store i32 %679, ptr %23, align 4
br label %656, !llvm.loop !25
680: ; preds = %656
br label %681
681: ; preds = %680, %536
%682 = load ptr, ptr %16, align 8
%683 = load i32, ptr %21, align 4
%684 = load i32, ptr %13, align 4
%685 = mul nsw i32 %683, %684
%686 = load i32, ptr %21, align 4
%687 = add nsw i32 %685, %686
%688 = sext i32 %687 to i64
%689 = getelementptr inbounds double, ptr %682, i64 %688
store double 1.000000e+00, ptr %689, align 8
%690 = load ptr, ptr %17, align 8
%691 = load i32, ptr %21, align 4
%692 = sext i32 %691 to i64
%693 = getelementptr inbounds double, ptr %690, i64 %692
%694 = load double, ptr %693, align 8
store double %694, ptr %28, align 8
%695 = load i32, ptr %21, align 4
store i32 %695, ptr %19, align 4
br label %696
696: ; preds = %681
%697 = load i32, ptr %21, align 4
%698 = add nsw i32 %697, -1
store i32 %698, ptr %21, align 4
br label %533, !llvm.loop !26
699: ; preds = %533
%700 = load i32, ptr %11, align 4
%701 = sub nsw i32 %700, 1
store i32 %701, ptr %21, align 4
br label %702
702: ; preds = %880, %699
%703 = load i32, ptr %21, align 4
%704 = icmp sge i32 %703, 0
br i1 %704, label %705, label %883
705: ; preds = %702
%706 = load i32, ptr %21, align 4
%707 = add nsw i32 %706, 1
store i32 %707, ptr %19, align 4
%708 = load ptr, ptr %15, align 8
%709 = load i32, ptr %21, align 4
%710 = sext i32 %709 to i64
%711 = getelementptr inbounds double, ptr %708, i64 %710
%712 = load double, ptr %711, align 8
store double %712, ptr %28, align 8
%713 = load i32, ptr %21, align 4
%714 = load i32, ptr %11, align 4
%715 = sub nsw i32 %714, 1
%716 = icmp ne i32 %713, %715
br i1 %716, label %717, label %736
717: ; preds = %705
%718 = load i32, ptr %19, align 4
store i32 %718, ptr %23, align 4
br label %719
719: ; preds = %732, %717
%720 = load i32, ptr %23, align 4
%721 = load i32, ptr %11, align 4
%722 = icmp slt i32 %720, %721
br i1 %722, label %723, label %735
723: ; preds = %719
%724 = load ptr, ptr %14, align 8
%725 = load i32, ptr %21, align 4
%726 = load i32, ptr %13, align 4
%727 = mul nsw i32 %725, %726
%728 = load i32, ptr %23, align 4
%729 = add nsw i32 %727, %728
%730 = sext i32 %729 to i64
%731 = getelementptr inbounds double, ptr %724, i64 %730
store double 0.000000e+00, ptr %731, align 8
br label %732
732: ; preds = %723
%733 = load i32, ptr %23, align 4
%734 = add nsw i32 %733, 1
store i32 %734, ptr %23, align 4
br label %719, !llvm.loop !27
735: ; preds = %719
br label %736
736: ; preds = %735, %705
%737 = load double, ptr %28, align 8
%738 = fcmp une double %737, 0.000000e+00
br i1 %738, label %739, label %850
739: ; preds = %736
%740 = load i32, ptr %21, align 4
%741 = load i32, ptr %11, align 4
%742 = sub nsw i32 %741, 1
%743 = icmp ne i32 %740, %742
br i1 %743, label %744, label %828
744: ; preds = %739
%745 = load i32, ptr %19, align 4
store i32 %745, ptr %23, align 4
br label %746
746: ; preds = %824, %744
%747 = load i32, ptr %23, align 4
%748 = load i32, ptr %11, align 4
%749 = icmp slt i32 %747, %748
br i1 %749, label %750, label %827
750: ; preds = %746
store double 0.000000e+00, ptr %31, align 8
%751 = load i32, ptr %19, align 4
store i32 %751, ptr %22, align 4
br label %752
752: ; preds = %777, %750
%753 = load i32, ptr %22, align 4
%754 = load i32, ptr %10, align 4
%755 = icmp slt i32 %753, %754
br i1 %755, label %756, label %780
756: ; preds = %752
%757 = load ptr, ptr %14, align 8
%758 = load i32, ptr %22, align 4
%759 = load i32, ptr %13, align 4
%760 = mul nsw i32 %758, %759
%761 = load i32, ptr %21, align 4
%762 = add nsw i32 %760, %761
%763 = sext i32 %762 to i64
%764 = getelementptr inbounds double, ptr %757, i64 %763
%765 = load double, ptr %764, align 8
%766 = load ptr, ptr %14, align 8
%767 = load i32, ptr %22, align 4
%768 = load i32, ptr %13, align 4
%769 = mul nsw i32 %767, %768
%770 = load i32, ptr %23, align 4
%771 = add nsw i32 %769, %770
%772 = sext i32 %771 to i64
%773 = getelementptr inbounds double, ptr %766, i64 %772
%774 = load double, ptr %773, align 8
%775 = load double, ptr %31, align 8
%776 = call double @llvm.fmuladd.f64(double %765, double %774, double %775)
store double %776, ptr %31, align 8
br label %777
777: ; preds = %756
%778 = load i32, ptr %22, align 4
%779 = add nsw i32 %778, 1
store i32 %779, ptr %22, align 4
br label %752, !llvm.loop !28
780: ; preds = %752
%781 = load double, ptr %31, align 8
%782 = load ptr, ptr %14, align 8
%783 = load i32, ptr %21, align 4
%784 = load i32, ptr %13, align 4
%785 = mul nsw i32 %783, %784
%786 = load i32, ptr %21, align 4
%787 = add nsw i32 %785, %786
%788 = sext i32 %787 to i64
%789 = getelementptr inbounds double, ptr %782, i64 %788
%790 = load double, ptr %789, align 8
%791 = fdiv double %781, %790
%792 = load double, ptr %28, align 8
%793 = fdiv double %791, %792
store double %793, ptr %33, align 8
%794 = load i32, ptr %21, align 4
store i32 %794, ptr %22, align 4
br label %795
795: ; preds = %820, %780
%796 = load i32, ptr %22, align 4
%797 = load i32, ptr %10, align 4
%798 = icmp slt i32 %796, %797
br i1 %798, label %799, label %823
799: ; preds = %795
%800 = load double, ptr %33, align 8
%801 = load ptr, ptr %14, align 8
%802 = load i32, ptr %22, align 4
%803 = load i32, ptr %13, align 4
%804 = mul nsw i32 %802, %803
%805 = load i32, ptr %21, align 4
%806 = add nsw i32 %804, %805
%807 = sext i32 %806 to i64
%808 = getelementptr inbounds double, ptr %801, i64 %807
%809 = load double, ptr %808, align 8
%810 = load ptr, ptr %14, align 8
%811 = load i32, ptr %22, align 4
%812 = load i32, ptr %13, align 4
%813 = mul nsw i32 %811, %812
%814 = load i32, ptr %23, align 4
%815 = add nsw i32 %813, %814
%816 = sext i32 %815 to i64
%817 = getelementptr inbounds double, ptr %810, i64 %816
%818 = load double, ptr %817, align 8
%819 = call double @llvm.fmuladd.f64(double %800, double %809, double %818)
store double %819, ptr %817, align 8
br label %820
820: ; preds = %799
%821 = load i32, ptr %22, align 4
%822 = add nsw i32 %821, 1
store i32 %822, ptr %22, align 4
br label %795, !llvm.loop !29
823: ; preds = %795
br label %824
824: ; preds = %823
%825 = load i32, ptr %23, align 4
%826 = add nsw i32 %825, 1
store i32 %826, ptr %23, align 4
br label %746, !llvm.loop !30
827: ; preds = %746
br label %828
828: ; preds = %827, %739
%829 = load i32, ptr %21, align 4
store i32 %829, ptr %23, align 4
br label %830
830: ; preds = %846, %828
%831 = load i32, ptr %23, align 4
%832 = load i32, ptr %10, align 4
%833 = icmp slt i32 %831, %832
br i1 %833, label %834, label %849
834: ; preds = %830
%835 = load double, ptr %28, align 8
%836 = load ptr, ptr %14, align 8
%837 = load i32, ptr %23, align 4
%838 = load i32, ptr %13, align 4
%839 = mul nsw i32 %837, %838
%840 = load i32, ptr %21, align 4
%841 = add nsw i32 %839, %840
%842 = sext i32 %841 to i64
%843 = getelementptr inbounds double, ptr %836, i64 %842
%844 = load double, ptr %843, align 8
%845 = fdiv double %844, %835
store double %845, ptr %843, align 8
br label %846
846: ; preds = %834
%847 = load i32, ptr %23, align 4
%848 = add nsw i32 %847, 1
store i32 %848, ptr %23, align 4
br label %830, !llvm.loop !31
849: ; preds = %830
br label %869
850: ; preds = %736
%851 = load i32, ptr %21, align 4
store i32 %851, ptr %23, align 4
br label %852
852: ; preds = %865, %850
%853 = load i32, ptr %23, align 4
%854 = load i32, ptr %10, align 4
%855 = icmp slt i32 %853, %854
br i1 %855, label %856, label %868
856: ; preds = %852
%857 = load ptr, ptr %14, align 8
%858 = load i32, ptr %23, align 4
%859 = load i32, ptr %13, align 4
%860 = mul nsw i32 %858, %859
%861 = load i32, ptr %21, align 4
%862 = add nsw i32 %860, %861
%863 = sext i32 %862 to i64
%864 = getelementptr inbounds double, ptr %857, i64 %863
store double 0.000000e+00, ptr %864, align 8
br label %865
865: ; preds = %856
%866 = load i32, ptr %23, align 4
%867 = add nsw i32 %866, 1
store i32 %867, ptr %23, align 4
br label %852, !llvm.loop !32
868: ; preds = %852
br label %869
869: ; preds = %868, %849
%870 = load ptr, ptr %14, align 8
%871 = load i32, ptr %21, align 4
%872 = load i32, ptr %13, align 4
%873 = mul nsw i32 %871, %872
%874 = load i32, ptr %21, align 4
%875 = add nsw i32 %873, %874
%876 = sext i32 %875 to i64
%877 = getelementptr inbounds double, ptr %870, i64 %876
%878 = load double, ptr %877, align 8
%879 = fadd double %878, 1.000000e+00
store double %879, ptr %877, align 8
br label %880
880: ; preds = %869
%881 = load i32, ptr %21, align 4
%882 = add nsw i32 %881, -1
store i32 %882, ptr %21, align 4
br label %702, !llvm.loop !33
883: ; preds = %702
%884 = load i32, ptr %11, align 4
%885 = sub nsw i32 %884, 1
store i32 %885, ptr %22, align 4
br label %886
886: ; preds = %1394, %883
%887 = load i32, ptr %22, align 4
%888 = icmp sge i32 %887, 0
br i1 %888, label %889, label %1397
889: ; preds = %886
%890 = load i32, ptr %22, align 4
%891 = sub nsw i32 %890, 1
store i32 %891, ptr %24, align 4
store i32 1, ptr %25, align 4
br label %892
892: ; preds = %1390, %889
%893 = load i32, ptr %25, align 4
%894 = icmp sle i32 %893, 30
br i1 %894, label %895, label %1393
895: ; preds = %892
store i32 1, ptr %27, align 4
%896 = load i32, ptr %22, align 4
store i32 %896, ptr %19, align 4
br label %897
897: ; preds = %929, %895
%898 = load i32, ptr %19, align 4
%899 = icmp sge i32 %898, 0
br i1 %899, label %900, label %932
900: ; preds = %897
%901 = load i32, ptr %19, align 4
%902 = sub nsw i32 %901, 1
store i32 %902, ptr %20, align 4
%903 = load double, ptr %30, align 8
%904 = load ptr, ptr %17, align 8
%905 = load i32, ptr %19, align 4
%906 = sext i32 %905 to i64
%907 = getelementptr inbounds double, ptr %904, i64 %906
%908 = load double, ptr %907, align 8
%909 = call i32 @fabs(double noundef %908)
%910 = sitofp i32 %909 to double
%911 = fadd double %903, %910
%912 = load double, ptr %30, align 8
%913 = fcmp oeq double %911, %912
br i1 %913, label %914, label %915
914: ; preds = %900
store i32 0, ptr %27, align 4
br label %932
915: ; preds = %900
%916 = load double, ptr %30, align 8
%917 = load ptr, ptr %15, align 8
%918 = load i32, ptr %20, align 4
%919 = sext i32 %918 to i64
%920 = getelementptr inbounds double, ptr %917, i64 %919
%921 = load double, ptr %920, align 8
%922 = call i32 @fabs(double noundef %921)
%923 = sitofp i32 %922 to double
%924 = fadd double %916, %923
%925 = load double, ptr %30, align 8
%926 = fcmp oeq double %924, %925
br i1 %926, label %927, label %928
927: ; preds = %915
br label %932
928: ; preds = %915
br label %929
929: ; preds = %928
%930 = load i32, ptr %19, align 4
%931 = add nsw i32 %930, -1
store i32 %931, ptr %19, align 4
br label %897, !llvm.loop !34
932: ; preds = %927, %914, %897
%933 = load i32, ptr %27, align 4
%934 = icmp ne i32 %933, 0
br i1 %934, label %935, label %1039
935: ; preds = %932
store double 1.000000e+00, ptr %31, align 8
%936 = load i32, ptr %19, align 4
store i32 %936, ptr %21, align 4
br label %937
937: ; preds = %1035, %935
%938 = load i32, ptr %21, align 4
%939 = load i32, ptr %22, align 4
%940 = icmp sle i32 %938, %939
br i1 %940, label %941, label %1038
941: ; preds = %937
%942 = load double, ptr %31, align 8
%943 = load ptr, ptr %17, align 8
%944 = load i32, ptr %21, align 4
%945 = sext i32 %944 to i64
%946 = getelementptr inbounds double, ptr %943, i64 %945
%947 = load double, ptr %946, align 8
%948 = fmul double %942, %947
store double %948, ptr %33, align 8
%949 = load double, ptr %30, align 8
%950 = load double, ptr %33, align 8
%951 = call i32 @fabs(double noundef %950)
%952 = sitofp i32 %951 to double
%953 = fadd double %949, %952
%954 = load double, ptr %30, align 8
%955 = fcmp oeq double %953, %954
br i1 %955, label %956, label %957
956: ; preds = %941
br label %1038
957: ; preds = %941
%958 = load ptr, ptr %15, align 8
%959 = load i32, ptr %21, align 4
%960 = sext i32 %959 to i64
%961 = getelementptr inbounds double, ptr %958, i64 %960
%962 = load double, ptr %961, align 8
store double %962, ptr %28, align 8
%963 = load double, ptr %33, align 8
%964 = load double, ptr %28, align 8
%965 = call i32 @rms(double noundef %963, double noundef %964)
%966 = sitofp i32 %965 to double
store double %966, ptr %34, align 8
%967 = load double, ptr %34, align 8
%968 = load ptr, ptr %15, align 8
%969 = load i32, ptr %21, align 4
%970 = sext i32 %969 to i64
%971 = getelementptr inbounds double, ptr %968, i64 %970
store double %967, ptr %971, align 8
%972 = load double, ptr %28, align 8
%973 = load double, ptr %34, align 8
%974 = fdiv double %972, %973
store double %974, ptr %36, align 8
%975 = load double, ptr %33, align 8
%976 = fneg double %975
%977 = load double, ptr %34, align 8
%978 = fdiv double %976, %977
store double %978, ptr %31, align 8
store i32 0, ptr %23, align 4
br label %979
979: ; preds = %1031, %957
%980 = load i32, ptr %23, align 4
%981 = load i32, ptr %10, align 4
%982 = icmp slt i32 %980, %981
br i1 %982, label %983, label %1034
983: ; preds = %979
%984 = load ptr, ptr %14, align 8
%985 = load i32, ptr %23, align 4
%986 = load i32, ptr %13, align 4
%987 = mul nsw i32 %985, %986
%988 = load i32, ptr %20, align 4
%989 = add nsw i32 %987, %988
%990 = sext i32 %989 to i64
%991 = getelementptr inbounds double, ptr %984, i64 %990
%992 = load double, ptr %991, align 8
store double %992, ptr %37, align 8
%993 = load ptr, ptr %14, align 8
%994 = load i32, ptr %23, align 4
%995 = load i32, ptr %13, align 4
%996 = mul nsw i32 %994, %995
%997 = load i32, ptr %21, align 4
%998 = add nsw i32 %996, %997
%999 = sext i32 %998 to i64
%1000 = getelementptr inbounds double, ptr %993, i64 %999
%1001 = load double, ptr %1000, align 8
store double %1001, ptr %38, align 8
%1002 = load double, ptr %37, align 8
%1003 = load double, ptr %36, align 8
%1004 = load double, ptr %38, align 8
%1005 = load double, ptr %31, align 8
%1006 = fmul double %1004, %1005
%1007 = call double @llvm.fmuladd.f64(double %1002, double %1003, double %1006)
%1008 = load ptr, ptr %14, align 8
%1009 = load i32, ptr %23, align 4
%1010 = load i32, ptr %13, align 4
%1011 = mul nsw i32 %1009, %1010
%1012 = load i32, ptr %20, align 4
%1013 = add nsw i32 %1011, %1012
%1014 = sext i32 %1013 to i64
%1015 = getelementptr inbounds double, ptr %1008, i64 %1014
store double %1007, ptr %1015, align 8
%1016 = load double, ptr %37, align 8
%1017 = fneg double %1016
%1018 = load double, ptr %31, align 8
%1019 = load double, ptr %38, align 8
%1020 = load double, ptr %36, align 8
%1021 = fmul double %1019, %1020
%1022 = call double @llvm.fmuladd.f64(double %1017, double %1018, double %1021)
%1023 = load ptr, ptr %14, align 8
%1024 = load i32, ptr %23, align 4
%1025 = load i32, ptr %13, align 4
%1026 = mul nsw i32 %1024, %1025
%1027 = load i32, ptr %21, align 4
%1028 = add nsw i32 %1026, %1027
%1029 = sext i32 %1028 to i64
%1030 = getelementptr inbounds double, ptr %1023, i64 %1029
store double %1022, ptr %1030, align 8
br label %1031
1031: ; preds = %983
%1032 = load i32, ptr %23, align 4
%1033 = add nsw i32 %1032, 1
store i32 %1033, ptr %23, align 4
br label %979, !llvm.loop !35
1034: ; preds = %979
br label %1035
1035: ; preds = %1034
%1036 = load i32, ptr %21, align 4
%1037 = add nsw i32 %1036, 1
store i32 %1037, ptr %21, align 4
br label %937, !llvm.loop !36
1038: ; preds = %956, %937
br label %1039
1039: ; preds = %1038, %932
%1040 = load ptr, ptr %15, align 8
%1041 = load i32, ptr %22, align 4
%1042 = sext i32 %1041 to i64
%1043 = getelementptr inbounds double, ptr %1040, i64 %1042
%1044 = load double, ptr %1043, align 8
store double %1044, ptr %38, align 8
%1045 = load i32, ptr %19, align 4
%1046 = load i32, ptr %22, align 4
%1047 = icmp eq i32 %1045, %1046
br i1 %1047, label %1048, label %1078
1048: ; preds = %1039
%1049 = load double, ptr %38, align 8
%1050 = fcmp olt double %1049, 0.000000e+00
br i1 %1050, label %1051, label %1077
1051: ; preds = %1048
%1052 = load double, ptr %38, align 8
%1053 = fneg double %1052
%1054 = load ptr, ptr %15, align 8
%1055 = load i32, ptr %22, align 4
%1056 = sext i32 %1055 to i64
%1057 = getelementptr inbounds double, ptr %1054, i64 %1056
store double %1053, ptr %1057, align 8
store i32 0, ptr %23, align 4
br label %1058
1058: ; preds = %1073, %1051
%1059 = load i32, ptr %23, align 4
%1060 = load i32, ptr %11, align 4
%1061 = icmp slt i32 %1059, %1060
br i1 %1061, label %1062, label %1076
1062: ; preds = %1058
%1063 = load ptr, ptr %16, align 8
%1064 = load i32, ptr %23, align 4
%1065 = load i32, ptr %13, align 4
%1066 = mul nsw i32 %1064, %1065
%1067 = load i32, ptr %22, align 4
%1068 = add nsw i32 %1066, %1067
%1069 = sext i32 %1068 to i64
%1070 = getelementptr inbounds double, ptr %1063, i64 %1069
%1071 = load double, ptr %1070, align 8
%1072 = fmul double %1071, -1.000000e+00
store double %1072, ptr %1070, align 8
br label %1073
1073: ; preds = %1062
%1074 = load i32, ptr %23, align 4
%1075 = add nsw i32 %1074, 1
store i32 %1075, ptr %23, align 4
br label %1058, !llvm.loop !37
1076: ; preds = %1058
br label %1077
1077: ; preds = %1076, %1048
br label %1393
1078: ; preds = %1039
%1079 = load i32, ptr %25, align 4
%1080 = icmp sge i32 %1079, 30
br i1 %1080, label %1081, label %1085
1081: ; preds = %1078
%1082 = load i32, ptr %22, align 4
%1083 = add nsw i32 %1082, 1
%1084 = load ptr, ptr %18, align 8
store i32 %1083, ptr %1084, align 4
br label %1085
1085: ; preds = %1081, %1078
%1086 = load ptr, ptr %15, align 8
%1087 = load i32, ptr %19, align 4
%1088 = sext i32 %1087 to i64
%1089 = getelementptr inbounds double, ptr %1086, i64 %1088
%1090 = load double, ptr %1089, align 8
store double %1090, ptr %32, align 8
%1091 = load ptr, ptr %15, align 8
%1092 = load i32, ptr %24, align 4
%1093 = sext i32 %1092 to i64
%1094 = getelementptr inbounds double, ptr %1091, i64 %1093
%1095 = load double, ptr %1094, align 8
store double %1095, ptr %37, align 8
%1096 = load ptr, ptr %17, align 8
%1097 = load i32, ptr %24, align 4
%1098 = sext i32 %1097 to i64
%1099 = getelementptr inbounds double, ptr %1096, i64 %1098
%1100 = load double, ptr %1099, align 8
store double %1100, ptr %28, align 8
%1101 = load ptr, ptr %17, align 8
%1102 = load i32, ptr %22, align 4
%1103 = sext i32 %1102 to i64
%1104 = getelementptr inbounds double, ptr %1101, i64 %1103
%1105 = load double, ptr %1104, align 8
store double %1105, ptr %34, align 8
%1106 = load double, ptr %37, align 8
%1107 = load double, ptr %38, align 8
%1108 = fsub double %1106, %1107
%1109 = load double, ptr %37, align 8
%1110 = load double, ptr %38, align 8
%1111 = fadd double %1109, %1110
%1112 = load double, ptr %28, align 8
%1113 = load double, ptr %34, align 8
%1114 = fsub double %1112, %1113
%1115 = load double, ptr %28, align 8
%1116 = load double, ptr %34, align 8
%1117 = fadd double %1115, %1116
%1118 = fmul double %1114, %1117
%1119 = call double @llvm.fmuladd.f64(double %1108, double %1111, double %1118)
%1120 = load double, ptr %34, align 8
%1121 = fmul double 2.000000e+00, %1120
%1122 = load double, ptr %37, align 8
%1123 = fmul double %1121, %1122
%1124 = fdiv double %1119, %1123
store double %1124, ptr %33, align 8
%1125 = load double, ptr %33, align 8
%1126 = call i32 @fabs(double noundef %1125)
%1127 = sitofp i32 %1126 to double
%1128 = fcmp ole double %1127, 1.000000e+15
br i1 %1128, label %1129, label %1132
1129: ; preds = %1085
%1130 = load double, ptr %33, align 8
%1131 = call i32 @rms(double noundef %1130, double noundef 1.000000e+00)
br label %1135
1132: ; preds = %1085
%1133 = load double, ptr %33, align 8
%1134 = call i32 @fabs(double noundef %1133)
br label %1135
1135: ; preds = %1132, %1129
%1136 = phi i32 [ %1131, %1129 ], [ %1134, %1132 ]
%1137 = sitofp i32 %1136 to double
store double %1137, ptr %28, align 8
%1138 = load double, ptr %32, align 8
%1139 = load double, ptr %38, align 8
%1140 = fsub double %1138, %1139
%1141 = load double, ptr %32, align 8
%1142 = load double, ptr %38, align 8
%1143 = fadd double %1141, %1142
%1144 = load double, ptr %34, align 8
%1145 = load double, ptr %37, align 8
%1146 = load double, ptr %33, align 8
%1147 = load double, ptr %33, align 8
%1148 = fcmp olt double %1147, 0.000000e+00
br i1 %1148, label %1149, label %1152
1149: ; preds = %1135
%1150 = load double, ptr %28, align 8
%1151 = fneg double %1150
br label %1154
1152: ; preds = %1135
%1153 = load double, ptr %28, align 8
br label %1154
1154: ; preds = %1152, %1149
%1155 = phi double [ %1151, %1149 ], [ %1153, %1152 ]
%1156 = fadd double %1146, %1155
%1157 = fdiv double %1145, %1156
%1158 = load double, ptr %34, align 8
%1159 = fsub double %1157, %1158
%1160 = fmul double %1144, %1159
%1161 = call double @llvm.fmuladd.f64(double %1140, double %1143, double %1160)
%1162 = load double, ptr %32, align 8
%1163 = fdiv double %1161, %1162
store double %1163, ptr %33, align 8
store double 1.000000e+00, ptr %36, align 8
store double 1.000000e+00, ptr %31, align 8
%1164 = load i32, ptr %19, align 4
store i32 %1164, ptr %26, align 4
br label %1165
1165: ; preds = %1371, %1154
%1166 = load i32, ptr %26, align 4
%1167 = load i32, ptr %24, align 4
%1168 = icmp sle i32 %1166, %1167
br i1 %1168, label %1169, label %1374
1169: ; preds = %1165
%1170 = load i32, ptr %26, align 4
%1171 = add nsw i32 %1170, 1
store i32 %1171, ptr %21, align 4
%1172 = load ptr, ptr %17, align 8
%1173 = load i32, ptr %21, align 4
%1174 = sext i32 %1173 to i64
%1175 = getelementptr inbounds double, ptr %1172, i64 %1174
%1176 = load double, ptr %1175, align 8
store double %1176, ptr %28, align 8
%1177 = load ptr, ptr %15, align 8
%1178 = load i32, ptr %21, align 4
%1179 = sext i32 %1178 to i64
%1180 = getelementptr inbounds double, ptr %1177, i64 %1179
%1181 = load double, ptr %1180, align 8
store double %1181, ptr %37, align 8
%1182 = load double, ptr %31, align 8
%1183 = load double, ptr %28, align 8
%1184 = fmul double %1182, %1183
store double %1184, ptr %34, align 8
%1185 = load double, ptr %36, align 8
%1186 = load double, ptr %28, align 8
%1187 = fmul double %1185, %1186
store double %1187, ptr %28, align 8
%1188 = load double, ptr %33, align 8
%1189 = load double, ptr %34, align 8
%1190 = call i32 @rms(double noundef %1188, double noundef %1189)
%1191 = sitofp i32 %1190 to double
store double %1191, ptr %38, align 8
%1192 = load double, ptr %38, align 8
%1193 = load ptr, ptr %17, align 8
%1194 = load i32, ptr %26, align 4
%1195 = sext i32 %1194 to i64
%1196 = getelementptr inbounds double, ptr %1193, i64 %1195
store double %1192, ptr %1196, align 8
%1197 = load double, ptr %38, align 8
%1198 = fcmp une double %1197, 0.000000e+00
br i1 %1198, label %1199, label %1206
1199: ; preds = %1169
%1200 = load double, ptr %33, align 8
%1201 = load double, ptr %38, align 8
%1202 = fdiv double %1200, %1201
store double %1202, ptr %36, align 8
%1203 = load double, ptr %34, align 8
%1204 = load double, ptr %38, align 8
%1205 = fdiv double %1203, %1204
store double %1205, ptr %31, align 8
br label %1207
1206: ; preds = %1169
store double 1.000000e+00, ptr %36, align 8
store double 0.000000e+00, ptr %31, align 8
br label %1207
1207: ; preds = %1206, %1199
%1208 = load double, ptr %32, align 8
%1209 = load double, ptr %36, align 8
%1210 = load double, ptr %28, align 8
%1211 = load double, ptr %31, align 8
%1212 = fmul double %1210, %1211
%1213 = call double @llvm.fmuladd.f64(double %1208, double %1209, double %1212)
store double %1213, ptr %33, align 8
%1214 = load double, ptr %32, align 8
%1215 = fneg double %1214
%1216 = load double, ptr %31, align 8
%1217 = load double, ptr %28, align 8
%1218 = load double, ptr %36, align 8
%1219 = fmul double %1217, %1218
%1220 = call double @llvm.fmuladd.f64(double %1215, double %1216, double %1219)
store double %1220, ptr %28, align 8
%1221 = load double, ptr %37, align 8
%1222 = load double, ptr %31, align 8
%1223 = fmul double %1221, %1222
store double %1223, ptr %34, align 8
%1224 = load double, ptr %37, align 8
%1225 = load double, ptr %36, align 8
%1226 = fmul double %1224, %1225
store double %1226, ptr %37, align 8
store i32 0, ptr %23, align 4
br label %1227
1227: ; preds = %1279, %1207
%1228 = load i32, ptr %23, align 4
%1229 = load i32, ptr %11, align 4
%1230 = icmp slt i32 %1228, %1229
br i1 %1230, label %1231, label %1282
1231: ; preds = %1227
%1232 = load ptr, ptr %16, align 8
%1233 = load i32, ptr %23, align 4
%1234 = load i32, ptr %13, align 4
%1235 = mul nsw i32 %1233, %1234
%1236 = load i32, ptr %26, align 4
%1237 = add nsw i32 %1235, %1236
%1238 = sext i32 %1237 to i64
%1239 = getelementptr inbounds double, ptr %1232, i64 %1238
%1240 = load double, ptr %1239, align 8
store double %1240, ptr %32, align 8
%1241 = load ptr, ptr %16, align 8
%1242 = load i32, ptr %23, align 4
%1243 = load i32, ptr %13, align 4
%1244 = mul nsw i32 %1242, %1243
%1245 = load i32, ptr %21, align 4
%1246 = add nsw i32 %1244, %1245
%1247 = sext i32 %1246 to i64
%1248 = getelementptr inbounds double, ptr %1241, i64 %1247
%1249 = load double, ptr %1248, align 8
store double %1249, ptr %38, align 8
%1250 = load double, ptr %32, align 8
%1251 = load double, ptr %36, align 8
%1252 = load double, ptr %38, align 8
%1253 = load double, ptr %31, align 8
%1254 = fmul double %1252, %1253
%1255 = call double @llvm.fmuladd.f64(double %1250, double %1251, double %1254)
%1256 = load ptr, ptr %16, align 8
%1257 = load i32, ptr %23, align 4
%1258 = load i32, ptr %13, align 4
%1259 = mul nsw i32 %1257, %1258
%1260 = load i32, ptr %26, align 4
%1261 = add nsw i32 %1259, %1260
%1262 = sext i32 %1261 to i64
%1263 = getelementptr inbounds double, ptr %1256, i64 %1262
store double %1255, ptr %1263, align 8
%1264 = load double, ptr %32, align 8
%1265 = fneg double %1264
%1266 = load double, ptr %31, align 8
%1267 = load double, ptr %38, align 8
%1268 = load double, ptr %36, align 8
%1269 = fmul double %1267, %1268
%1270 = call double @llvm.fmuladd.f64(double %1265, double %1266, double %1269)
%1271 = load ptr, ptr %16, align 8
%1272 = load i32, ptr %23, align 4
%1273 = load i32, ptr %13, align 4
%1274 = mul nsw i32 %1272, %1273
%1275 = load i32, ptr %21, align 4
%1276 = add nsw i32 %1274, %1275
%1277 = sext i32 %1276 to i64
%1278 = getelementptr inbounds double, ptr %1271, i64 %1277
store double %1270, ptr %1278, align 8
br label %1279
1279: ; preds = %1231
%1280 = load i32, ptr %23, align 4
%1281 = add nsw i32 %1280, 1
store i32 %1281, ptr %23, align 4
br label %1227, !llvm.loop !38
1282: ; preds = %1227
%1283 = load double, ptr %33, align 8
%1284 = load double, ptr %34, align 8
%1285 = call i32 @rms(double noundef %1283, double noundef %1284)
%1286 = sitofp i32 %1285 to double
store double %1286, ptr %38, align 8
%1287 = load double, ptr %38, align 8
%1288 = load ptr, ptr %15, align 8
%1289 = load i32, ptr %26, align 4
%1290 = sext i32 %1289 to i64
%1291 = getelementptr inbounds double, ptr %1288, i64 %1290
store double %1287, ptr %1291, align 8
%1292 = load double, ptr %38, align 8
%1293 = fcmp une double %1292, 0.000000e+00
br i1 %1293, label %1294, label %1301
1294: ; preds = %1282
%1295 = load double, ptr %33, align 8
%1296 = load double, ptr %38, align 8
%1297 = fdiv double %1295, %1296
store double %1297, ptr %36, align 8
%1298 = load double, ptr %34, align 8
%1299 = load double, ptr %38, align 8
%1300 = fdiv double %1298, %1299
store double %1300, ptr %31, align 8
br label %1301
1301: ; preds = %1294, %1282
%1302 = load double, ptr %36, align 8
%1303 = load double, ptr %28, align 8
%1304 = load double, ptr %31, align 8
%1305 = load double, ptr %37, align 8
%1306 = fmul double %1304, %1305
%1307 = call double @llvm.fmuladd.f64(double %1302, double %1303, double %1306)
store double %1307, ptr %33, align 8
%1308 = load double, ptr %31, align 8
%1309 = fneg double %1308
%1310 = load double, ptr %28, align 8
%1311 = load double, ptr %36, align 8
%1312 = load double, ptr %37, align 8
%1313 = fmul double %1311, %1312
%1314 = call double @llvm.fmuladd.f64(double %1309, double %1310, double %1313)
store double %1314, ptr %32, align 8
store i32 0, ptr %23, align 4
br label %1315
1315: ; preds = %1367, %1301
%1316 = load i32, ptr %23, align 4
%1317 = load i32, ptr %10, align 4
%1318 = icmp slt i32 %1316, %1317
br i1 %1318, label %1319, label %1370
1319: ; preds = %1315
%1320 = load ptr, ptr %14, align 8
%1321 = load i32, ptr %23, align 4
%1322 = load i32, ptr %13, align 4
%1323 = mul nsw i32 %1321, %1322
%1324 = load i32, ptr %26, align 4
%1325 = add nsw i32 %1323, %1324
%1326 = sext i32 %1325 to i64
%1327 = getelementptr inbounds double, ptr %1320, i64 %1326
%1328 = load double, ptr %1327, align 8
store double %1328, ptr %37, align 8
%1329 = load ptr, ptr %14, align 8
%1330 = load i32, ptr %23, align 4
%1331 = load i32, ptr %13, align 4
%1332 = mul nsw i32 %1330, %1331
%1333 = load i32, ptr %21, align 4
%1334 = add nsw i32 %1332, %1333
%1335 = sext i32 %1334 to i64
%1336 = getelementptr inbounds double, ptr %1329, i64 %1335
%1337 = load double, ptr %1336, align 8
store double %1337, ptr %38, align 8
%1338 = load double, ptr %37, align 8
%1339 = load double, ptr %36, align 8
%1340 = load double, ptr %38, align 8
%1341 = load double, ptr %31, align 8
%1342 = fmul double %1340, %1341
%1343 = call double @llvm.fmuladd.f64(double %1338, double %1339, double %1342)
%1344 = load ptr, ptr %14, align 8
%1345 = load i32, ptr %23, align 4
%1346 = load i32, ptr %13, align 4
%1347 = mul nsw i32 %1345, %1346
%1348 = load i32, ptr %26, align 4
%1349 = add nsw i32 %1347, %1348
%1350 = sext i32 %1349 to i64
%1351 = getelementptr inbounds double, ptr %1344, i64 %1350
store double %1343, ptr %1351, align 8
%1352 = load double, ptr %37, align 8
%1353 = fneg double %1352
%1354 = load double, ptr %31, align 8
%1355 = load double, ptr %38, align 8
%1356 = load double, ptr %36, align 8
%1357 = fmul double %1355, %1356
%1358 = call double @llvm.fmuladd.f64(double %1353, double %1354, double %1357)
%1359 = load ptr, ptr %14, align 8
%1360 = load i32, ptr %23, align 4
%1361 = load i32, ptr %13, align 4
%1362 = mul nsw i32 %1360, %1361
%1363 = load i32, ptr %21, align 4
%1364 = add nsw i32 %1362, %1363
%1365 = sext i32 %1364 to i64
%1366 = getelementptr inbounds double, ptr %1359, i64 %1365
store double %1358, ptr %1366, align 8
br label %1367
1367: ; preds = %1319
%1368 = load i32, ptr %23, align 4
%1369 = add nsw i32 %1368, 1
store i32 %1369, ptr %23, align 4
br label %1315, !llvm.loop !39
1370: ; preds = %1315
br label %1371
1371: ; preds = %1370
%1372 = load i32, ptr %26, align 4
%1373 = add nsw i32 %1372, 1
store i32 %1373, ptr %26, align 4
br label %1165, !llvm.loop !40
1374: ; preds = %1165
%1375 = load ptr, ptr %17, align 8
%1376 = load i32, ptr %19, align 4
%1377 = sext i32 %1376 to i64
%1378 = getelementptr inbounds double, ptr %1375, i64 %1377
store double 0.000000e+00, ptr %1378, align 8
%1379 = load double, ptr %33, align 8
%1380 = load ptr, ptr %17, align 8
%1381 = load i32, ptr %22, align 4
%1382 = sext i32 %1381 to i64
%1383 = getelementptr inbounds double, ptr %1380, i64 %1382
store double %1379, ptr %1383, align 8
%1384 = load double, ptr %32, align 8
%1385 = load ptr, ptr %15, align 8
%1386 = load i32, ptr %22, align 4
%1387 = sext i32 %1386 to i64
%1388 = getelementptr inbounds double, ptr %1385, i64 %1387
store double %1384, ptr %1388, align 8
br label %1389
1389: ; preds = %1374
br label %1390
1390: ; preds = %1389
%1391 = load i32, ptr %25, align 4
%1392 = add nsw i32 %1391, 1
store i32 %1392, ptr %25, align 4
br label %892, !llvm.loop !41
1393: ; preds = %1077, %892
br label %1394
1394: ; preds = %1393
%1395 = load i32, ptr %22, align 4
%1396 = add nsw i32 %1395, -1
store i32 %1396, ptr %22, align 4
br label %886, !llvm.loop !42
1397: ; preds = %886
br label %1398
1398: ; preds = %1397, %50
ret void
}
declare i32 @fabs(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #3
declare i32 @rms(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
!23 = distinct !{!23, !7}
!24 = distinct !{!24, !7}
!25 = distinct !{!25, !7}
!26 = distinct !{!26, !7}
!27 = distinct !{!27, !7}
!28 = distinct !{!28, !7}
!29 = distinct !{!29, !7}
!30 = distinct !{!30, !7}
!31 = distinct !{!31, !7}
!32 = distinct !{!32, !7}
!33 = distinct !{!33, !7}
!34 = distinct !{!34, !7}
!35 = distinct !{!35, !7}
!36 = distinct !{!36, !7}
!37 = distinct !{!37, !7}
!38 = distinct !{!38, !7}
!39 = distinct !{!39, !7}
!40 = distinct !{!40, !7}
!41 = distinct !{!41, !7}
!42 = distinct !{!42, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq9pwf5xs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @slaSvd(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca double, align 8
%31 = alloca double, align 8
%32 = alloca double, align 8
%33 = alloca double, align 8
%34 = alloca double, align 8
%35 = alloca double, align 8
%36 = alloca double, align 8
%37 = alloca double, align 8
%38 = alloca double, align 8
store i32 %0, ptr %10, align 4
store i32 %1, ptr %11, align 4
store i32 %2, ptr %12, align 4
store i32 %3, ptr %13, align 4
store ptr %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store ptr %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
store i32 0, ptr %20, align 4
store i32 0, ptr %19, align 4
%39 = load i32, ptr %10, align 4
%40 = load i32, ptr %11, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %50, label %42
42: ; preds = %9
%43 = load i32, ptr %10, align 4
%44 = load i32, ptr %12, align 4
%45 = icmp sgt i32 %43, %44
br i1 %45, label %50, label %46
46: ; preds = %42
%47 = load i32, ptr %11, align 4
%48 = load i32, ptr %13, align 4
%49 = icmp sgt i32 %47, %48
br i1 %49, label %50, label %52
50: ; preds = %46, %42, %9
%51 = load ptr, ptr %18, align 8
store i32 -1, ptr %51, align 4
br label %1465
52: ; preds = %46
%53 = load ptr, ptr %18, align 8
store i32 0, ptr %53, align 4
store double 0.000000e+00, ptr %28, align 8
store double 0.000000e+00, ptr %29, align 8
store double 0.000000e+00, ptr %30, align 8
store i32 0, ptr %21, align 4
%54 = load i32, ptr %21, align 4
%55 = load i32, ptr %11, align 4
%56 = icmp slt i32 %54, %55
br i1 %56, label %.lr.ph40, label %558
.lr.ph40: ; preds = %52
br label %57
57: ; preds = %.lr.ph40, %552
%58 = load i32, ptr %21, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %19, align 4
%60 = load double, ptr %29, align 8
%61 = load double, ptr %28, align 8
%62 = fmul double %60, %61
%63 = load ptr, ptr %17, align 8
%64 = load i32, ptr %21, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds double, ptr %63, i64 %65
store double %62, ptr %66, align 8
store double 0.000000e+00, ptr %28, align 8
store double 0.000000e+00, ptr %31, align 8
store double 0.000000e+00, ptr %29, align 8
%67 = load i32, ptr %21, align 4
%68 = load i32, ptr %10, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %70, label %281
70: ; preds = %57
%71 = load i32, ptr %21, align 4
store i32 %71, ptr %22, align 4
%72 = load i32, ptr %22, align 4
%73 = load i32, ptr %10, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %.lr.ph, label %95
.lr.ph: ; preds = %70
br label %75
75: ; preds = %.lr.ph, %89
%76 = load ptr, ptr %14, align 8
%77 = load i32, ptr %22, align 4
%78 = load i32, ptr %13, align 4
%79 = mul nsw i32 %77, %78
%80 = load i32, ptr %21, align 4
%81 = add nsw i32 %79, %80
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds double, ptr %76, i64 %82
%84 = load double, ptr %83, align 8
%85 = call i32 @fabs(double noundef %84)
%86 = sitofp i32 %85 to double
%87 = load double, ptr %29, align 8
%88 = fadd double %87, %86
store double %88, ptr %29, align 8
br label %89
89: ; preds = %75
%90 = load i32, ptr %22, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %22, align 4
%92 = load i32, ptr %22, align 4
%93 = load i32, ptr %10, align 4
%94 = icmp slt i32 %92, %93
br i1 %94, label %75, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %89
br label %95
95: ; preds = %._crit_edge, %70
%96 = load double, ptr %29, align 8
%97 = fcmp une double %96, 0.000000e+00
br i1 %97, label %98, label %280
98: ; preds = %95
%99 = load i32, ptr %21, align 4
store i32 %99, ptr %22, align 4
%100 = load i32, ptr %22, align 4
%101 = load i32, ptr %10, align 4
%102 = icmp slt i32 %100, %101
br i1 %102, label %.lr.ph4, label %134
.lr.ph4: ; preds = %98
br label %103
103: ; preds = %.lr.ph4, %128
%104 = load ptr, ptr %14, align 8
%105 = load i32, ptr %22, align 4
%106 = load i32, ptr %13, align 4
%107 = mul nsw i32 %105, %106
%108 = load i32, ptr %21, align 4
%109 = add nsw i32 %107, %108
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds double, ptr %104, i64 %110
%112 = load double, ptr %111, align 8
%113 = load double, ptr %29, align 8
%114 = fdiv double %112, %113
store double %114, ptr %32, align 8
%115 = load double, ptr %32, align 8
%116 = load ptr, ptr %14, align 8
%117 = load i32, ptr %22, align 4
%118 = load i32, ptr %13, align 4
%119 = mul nsw i32 %117, %118
%120 = load i32, ptr %21, align 4
%121 = add nsw i32 %119, %120
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds double, ptr %116, i64 %122
store double %115, ptr %123, align 8
%124 = load double, ptr %32, align 8
%125 = load double, ptr %32, align 8
%126 = load double, ptr %31, align 8
%127 = call double @llvm.fmuladd.f64(double %124, double %125, double %126)
store double %127, ptr %31, align 8
br label %128
128: ; preds = %103
%129 = load i32, ptr %22, align 4
%130 = add nsw i32 %129, 1
store i32 %130, ptr %22, align 4
%131 = load i32, ptr %22, align 4
%132 = load i32, ptr %10, align 4
%133 = icmp slt i32 %131, %132
br i1 %133, label %103, label %._crit_edge5, !llvm.loop !8
._crit_edge5: ; preds = %128
br label %134
134: ; preds = %._crit_edge5, %98
%135 = load ptr, ptr %14, align 8
%136 = load i32, ptr %21, align 4
%137 = load i32, ptr %13, align 4
%138 = mul nsw i32 %136, %137
%139 = load i32, ptr %21, align 4
%140 = add nsw i32 %138, %139
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds double, ptr %135, i64 %141
%143 = load double, ptr %142, align 8
store double %143, ptr %33, align 8
%144 = load double, ptr %33, align 8
%145 = fcmp olt double %144, 0.000000e+00
br i1 %145, label %146, label %150
146: ; preds = %134
%147 = load double, ptr %31, align 8
%148 = call double @sqrt(double noundef %147) #4
%149 = fneg double %148
br label %153
150: ; preds = %134
%151 = load double, ptr %31, align 8
%152 = call double @sqrt(double noundef %151) #4
br label %153
153: ; preds = %150, %146
%154 = phi double [ %149, %146 ], [ %152, %150 ]
%155 = fneg double %154
store double %155, ptr %28, align 8
%156 = load double, ptr %33, align 8
%157 = load double, ptr %28, align 8
%158 = load double, ptr %31, align 8
%159 = fneg double %158
%160 = call double @llvm.fmuladd.f64(double %156, double %157, double %159)
store double %160, ptr %34, align 8
%161 = load double, ptr %33, align 8
%162 = load double, ptr %28, align 8
%163 = fsub double %161, %162
%164 = load ptr, ptr %14, align 8
%165 = load i32, ptr %21, align 4
%166 = load i32, ptr %13, align 4
%167 = mul nsw i32 %165, %166
%168 = load i32, ptr %21, align 4
%169 = add nsw i32 %167, %168
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds double, ptr %164, i64 %170
store double %163, ptr %171, align 8
%172 = load i32, ptr %21, align 4
%173 = load i32, ptr %11, align 4
%174 = sub nsw i32 %173, 1
%175 = icmp ne i32 %172, %174
br i1 %175, label %176, label %256
176: ; preds = %153
%177 = load i32, ptr %19, align 4
store i32 %177, ptr %23, align 4
%178 = load i32, ptr %23, align 4
%179 = load i32, ptr %11, align 4
%180 = icmp slt i32 %178, %179
br i1 %180, label %.lr.ph13, label %255
.lr.ph13: ; preds = %176
br label %181
181: ; preds = %.lr.ph13, %249
store double 0.000000e+00, ptr %31, align 8
%182 = load i32, ptr %21, align 4
store i32 %182, ptr %22, align 4
%183 = load i32, ptr %22, align 4
%184 = load i32, ptr %10, align 4
%185 = icmp slt i32 %183, %184
br i1 %185, label %.lr.ph7, label %213
.lr.ph7: ; preds = %181
br label %186
186: ; preds = %.lr.ph7, %207
%187 = load ptr, ptr %14, align 8
%188 = load i32, ptr %22, align 4
%189 = load i32, ptr %13, align 4
%190 = mul nsw i32 %188, %189
%191 = load i32, ptr %21, align 4
%192 = add nsw i32 %190, %191
%193 = sext i32 %192 to i64
%194 = getelementptr inbounds double, ptr %187, i64 %193
%195 = load double, ptr %194, align 8
%196 = load ptr, ptr %14, align 8
%197 = load i32, ptr %22, align 4
%198 = load i32, ptr %13, align 4
%199 = mul nsw i32 %197, %198
%200 = load i32, ptr %23, align 4
%201 = add nsw i32 %199, %200
%202 = sext i32 %201 to i64
%203 = getelementptr inbounds double, ptr %196, i64 %202
%204 = load double, ptr %203, align 8
%205 = load double, ptr %31, align 8
%206 = call double @llvm.fmuladd.f64(double %195, double %204, double %205)
store double %206, ptr %31, align 8
br label %207
207: ; preds = %186
%208 = load i32, ptr %22, align 4
%209 = add nsw i32 %208, 1
store i32 %209, ptr %22, align 4
%210 = load i32, ptr %22, align 4
%211 = load i32, ptr %10, align 4
%212 = icmp slt i32 %210, %211
br i1 %212, label %186, label %._crit_edge8, !llvm.loop !9
._crit_edge8: ; preds = %207
br label %213
213: ; preds = %._crit_edge8, %181
%214 = load double, ptr %31, align 8
%215 = load double, ptr %34, align 8
%216 = fdiv double %214, %215
store double %216, ptr %33, align 8
%217 = load i32, ptr %21, align 4
store i32 %217, ptr %22, align 4
%218 = load i32, ptr %22, align 4
%219 = load i32, ptr %10, align 4
%220 = icmp slt i32 %218, %219
br i1 %220, label %.lr.ph10, label %248
.lr.ph10: ; preds = %213
br label %221
221: ; preds = %.lr.ph10, %242
%222 = load double, ptr %33, align 8
%223 = load ptr, ptr %14, align 8
%224 = load i32, ptr %22, align 4
%225 = load i32, ptr %13, align 4
%226 = mul nsw i32 %224, %225
%227 = load i32, ptr %21, align 4
%228 = add nsw i32 %226, %227
%229 = sext i32 %228 to i64
%230 = getelementptr inbounds double, ptr %223, i64 %229
%231 = load double, ptr %230, align 8
%232 = load ptr, ptr %14, align 8
%233 = load i32, ptr %22, align 4
%234 = load i32, ptr %13, align 4
%235 = mul nsw i32 %233, %234
%236 = load i32, ptr %23, align 4
%237 = add nsw i32 %235, %236
%238 = sext i32 %237 to i64
%239 = getelementptr inbounds double, ptr %232, i64 %238
%240 = load double, ptr %239, align 8
%241 = call double @llvm.fmuladd.f64(double %222, double %231, double %240)
store double %241, ptr %239, align 8
br label %242
242: ; preds = %221
%243 = load i32, ptr %22, align 4
%244 = add nsw i32 %243, 1
store i32 %244, ptr %22, align 4
%245 = load i32, ptr %22, align 4
%246 = load i32, ptr %10, align 4
%247 = icmp slt i32 %245, %246
br i1 %247, label %221, label %._crit_edge11, !llvm.loop !10
._crit_edge11: ; preds = %242
br label %248
248: ; preds = %._crit_edge11, %213
br label %249
249: ; preds = %248
%250 = load i32, ptr %23, align 4
%251 = add nsw i32 %250, 1
store i32 %251, ptr %23, align 4
%252 = load i32, ptr %23, align 4
%253 = load i32, ptr %11, align 4
%254 = icmp slt i32 %252, %253
br i1 %254, label %181, label %._crit_edge14, !llvm.loop !11
._crit_edge14: ; preds = %249
br label %255
255: ; preds = %._crit_edge14, %176
br label %256
256: ; preds = %255, %153
%257 = load i32, ptr %21, align 4
store i32 %257, ptr %22, align 4
%258 = load i32, ptr %22, align 4
%259 = load i32, ptr %10, align 4
%260 = icmp slt i32 %258, %259
br i1 %260, label %.lr.ph16, label %279
.lr.ph16: ; preds = %256
br label %261
261: ; preds = %.lr.ph16, %273
%262 = load double, ptr %29, align 8
%263 = load ptr, ptr %14, align 8
%264 = load i32, ptr %22, align 4
%265 = load i32, ptr %13, align 4
%266 = mul nsw i32 %264, %265
%267 = load i32, ptr %21, align 4
%268 = add nsw i32 %266, %267
%269 = sext i32 %268 to i64
%270 = getelementptr inbounds double, ptr %263, i64 %269
%271 = load double, ptr %270, align 8
%272 = fmul double %271, %262
store double %272, ptr %270, align 8
br label %273
273: ; preds = %261
%274 = load i32, ptr %22, align 4
%275 = add nsw i32 %274, 1
store i32 %275, ptr %22, align 4
%276 = load i32, ptr %22, align 4
%277 = load i32, ptr %10, align 4
%278 = icmp slt i32 %276, %277
br i1 %278, label %261, label %._crit_edge17, !llvm.loop !12
._crit_edge17: ; preds = %273
br label %279
279: ; preds = %._crit_edge17, %256
br label %280
280: ; preds = %279, %95
br label %281
281: ; preds = %280, %57
%282 = load double, ptr %29, align 8
%283 = load double, ptr %28, align 8
%284 = fmul double %282, %283
%285 = load ptr, ptr %15, align 8
%286 = load i32, ptr %21, align 4
%287 = sext i32 %286 to i64
%288 = getelementptr inbounds double, ptr %285, i64 %287
store double %284, ptr %288, align 8
store double 0.000000e+00, ptr %28, align 8
store double 0.000000e+00, ptr %31, align 8
store double 0.000000e+00, ptr %29, align 8
%289 = load i32, ptr %21, align 4
%290 = load i32, ptr %10, align 4
%291 = icmp slt i32 %289, %290
br i1 %291, label %292, label %528
292: ; preds = %281
%293 = load i32, ptr %21, align 4
%294 = load i32, ptr %11, align 4
%295 = sub nsw i32 %294, 1
%296 = icmp ne i32 %293, %295
br i1 %296, label %297, label %528
297: ; preds = %292
%298 = load i32, ptr %19, align 4
store i32 %298, ptr %22, align 4
%299 = load i32, ptr %22, align 4
%300 = load i32, ptr %11, align 4
%301 = icmp slt i32 %299, %300
br i1 %301, label %.lr.ph19, label %322
.lr.ph19: ; preds = %297
br label %302
302: ; preds = %.lr.ph19, %316
%303 = load ptr, ptr %14, align 8
%304 = load i32, ptr %21, align 4
%305 = load i32, ptr %13, align 4
%306 = mul nsw i32 %304, %305
%307 = load i32, ptr %22, align 4
%308 = add nsw i32 %306, %307
%309 = sext i32 %308 to i64
%310 = getelementptr inbounds double, ptr %303, i64 %309
%311 = load double, ptr %310, align 8
%312 = call i32 @fabs(double noundef %311)
%313 = sitofp i32 %312 to double
%314 = load double, ptr %29, align 8
%315 = fadd double %314, %313
store double %315, ptr %29, align 8
br label %316
316: ; preds = %302
%317 = load i32, ptr %22, align 4
%318 = add nsw i32 %317, 1
store i32 %318, ptr %22, align 4
%319 = load i32, ptr %22, align 4
%320 = load i32, ptr %11, align 4
%321 = icmp slt i32 %319, %320
br i1 %321, label %302, label %._crit_edge20, !llvm.loop !13
._crit_edge20: ; preds = %316
br label %322
322: ; preds = %._crit_edge20, %297
%323 = load double, ptr %29, align 8
%324 = fcmp une double %323, 0.000000e+00
br i1 %324, label %325, label %527
325: ; preds = %322
%326 = load i32, ptr %19, align 4
store i32 %326, ptr %22, align 4
%327 = load i32, ptr %22, align 4
%328 = load i32, ptr %11, align 4
%329 = icmp slt i32 %327, %328
br i1 %329, label %.lr.ph22, label %361
.lr.ph22: ; preds = %325
br label %330
330: ; preds = %.lr.ph22, %355
%331 = load ptr, ptr %14, align 8
%332 = load i32, ptr %21, align 4
%333 = load i32, ptr %13, align 4
%334 = mul nsw i32 %332, %333
%335 = load i32, ptr %22, align 4
%336 = add nsw i32 %334, %335
%337 = sext i32 %336 to i64
%338 = getelementptr inbounds double, ptr %331, i64 %337
%339 = load double, ptr %338, align 8
%340 = load double, ptr %29, align 8
%341 = fdiv double %339, %340
store double %341, ptr %32, align 8
%342 = load double, ptr %32, align 8
%343 = load ptr, ptr %14, align 8
%344 = load i32, ptr %21, align 4
%345 = load i32, ptr %13, align 4
%346 = mul nsw i32 %344, %345
%347 = load i32, ptr %22, align 4
%348 = add nsw i32 %346, %347
%349 = sext i32 %348 to i64
%350 = getelementptr inbounds double, ptr %343, i64 %349
store double %342, ptr %350, align 8
%351 = load double, ptr %32, align 8
%352 = load double, ptr %32, align 8
%353 = load double, ptr %31, align 8
%354 = call double @llvm.fmuladd.f64(double %351, double %352, double %353)
store double %354, ptr %31, align 8
br label %355
355: ; preds = %330
%356 = load i32, ptr %22, align 4
%357 = add nsw i32 %356, 1
store i32 %357, ptr %22, align 4
%358 = load i32, ptr %22, align 4
%359 = load i32, ptr %11, align 4
%360 = icmp slt i32 %358, %359
br i1 %360, label %330, label %._crit_edge23, !llvm.loop !14
._crit_edge23: ; preds = %355
br label %361
361: ; preds = %._crit_edge23, %325
%362 = load ptr, ptr %14, align 8
%363 = load i32, ptr %21, align 4
%364 = load i32, ptr %13, align 4
%365 = mul nsw i32 %363, %364
%366 = load i32, ptr %19, align 4
%367 = add nsw i32 %365, %366
%368 = sext i32 %367 to i64
%369 = getelementptr inbounds double, ptr %362, i64 %368
%370 = load double, ptr %369, align 8
store double %370, ptr %33, align 8
%371 = load double, ptr %33, align 8
%372 = fcmp olt double %371, 0.000000e+00
br i1 %372, label %373, label %377
373: ; preds = %361
%374 = load double, ptr %31, align 8
%375 = call double @sqrt(double noundef %374) #4
%376 = fneg double %375
br label %380
377: ; preds = %361
%378 = load double, ptr %31, align 8
%379 = call double @sqrt(double noundef %378) #4
br label %380
380: ; preds = %377, %373
%381 = phi double [ %376, %373 ], [ %379, %377 ]
%382 = fneg double %381
store double %382, ptr %28, align 8
%383 = load double, ptr %33, align 8
%384 = load double, ptr %28, align 8
%385 = load double, ptr %31, align 8
%386 = fneg double %385
%387 = call double @llvm.fmuladd.f64(double %383, double %384, double %386)
store double %387, ptr %34, align 8
%388 = load double, ptr %33, align 8
%389 = load double, ptr %28, align 8
%390 = fsub double %388, %389
%391 = load ptr, ptr %14, align 8
%392 = load i32, ptr %21, align 4
%393 = load i32, ptr %13, align 4
%394 = mul nsw i32 %392, %393
%395 = load i32, ptr %19, align 4
%396 = add nsw i32 %394, %395
%397 = sext i32 %396 to i64
%398 = getelementptr inbounds double, ptr %391, i64 %397
store double %390, ptr %398, align 8
%399 = load i32, ptr %19, align 4
store i32 %399, ptr %22, align 4
%400 = load i32, ptr %22, align 4
%401 = load i32, ptr %11, align 4
%402 = icmp slt i32 %400, %401
br i1 %402, label %.lr.ph25, label %425
.lr.ph25: ; preds = %380
br label %403
403: ; preds = %.lr.ph25, %419
%404 = load ptr, ptr %14, align 8
%405 = load i32, ptr %21, align 4
%406 = load i32, ptr %13, align 4
%407 = mul nsw i32 %405, %406
%408 = load i32, ptr %22, align 4
%409 = add nsw i32 %407, %408
%410 = sext i32 %409 to i64
%411 = getelementptr inbounds double, ptr %404, i64 %410
%412 = load double, ptr %411, align 8
%413 = load double, ptr %34, align 8
%414 = fdiv double %412, %413
%415 = load ptr, ptr %17, align 8
%416 = load i32, ptr %22, align 4
%417 = sext i32 %416 to i64
%418 = getelementptr inbounds double, ptr %415, i64 %417
store double %414, ptr %418, align 8
br label %419
419: ; preds = %403
%420 = load i32, ptr %22, align 4
%421 = add nsw i32 %420, 1
store i32 %421, ptr %22, align 4
%422 = load i32, ptr %22, align 4
%423 = load i32, ptr %11, align 4
%424 = icmp slt i32 %422, %423
br i1 %424, label %403, label %._crit_edge26, !llvm.loop !15
._crit_edge26: ; preds = %419
br label %425
425: ; preds = %._crit_edge26, %380
%426 = load i32, ptr %21, align 4
%427 = load i32, ptr %10, align 4
%428 = sub nsw i32 %427, 1
%429 = icmp ne i32 %426, %428
br i1 %429, label %430, label %503
430: ; preds = %425
%431 = load i32, ptr %19, align 4
store i32 %431, ptr %23, align 4
%432 = load i32, ptr %23, align 4
%433 = load i32, ptr %10, align 4
%434 = icmp slt i32 %432, %433
br i1 %434, label %.lr.ph34, label %502
.lr.ph34: ; preds = %430
br label %435
435: ; preds = %.lr.ph34, %496
store double 0.000000e+00, ptr %31, align 8
%436 = load i32, ptr %19, align 4
store i32 %436, ptr %22, align 4
%437 = load i32, ptr %22, align 4
%438 = load i32, ptr %11, align 4
%439 = icmp slt i32 %437, %438
br i1 %439, label %.lr.ph28, label %467
.lr.ph28: ; preds = %435
br label %440
440: ; preds = %.lr.ph28, %461
%441 = load ptr, ptr %14, align 8
%442 = load i32, ptr %23, align 4
%443 = load i32, ptr %13, align 4
%444 = mul nsw i32 %442, %443
%445 = load i32, ptr %22, align 4
%446 = add nsw i32 %444, %445
%447 = sext i32 %446 to i64
%448 = getelementptr inbounds double, ptr %441, i64 %447
%449 = load double, ptr %448, align 8
%450 = load ptr, ptr %14, align 8
%451 = load i32, ptr %21, align 4
%452 = load i32, ptr %13, align 4
%453 = mul nsw i32 %451, %452
%454 = load i32, ptr %22, align 4
%455 = add nsw i32 %453, %454
%456 = sext i32 %455 to i64
%457 = getelementptr inbounds double, ptr %450, i64 %456
%458 = load double, ptr %457, align 8
%459 = load double, ptr %31, align 8
%460 = call double @llvm.fmuladd.f64(double %449, double %458, double %459)
store double %460, ptr %31, align 8
br label %461
461: ; preds = %440
%462 = load i32, ptr %22, align 4
%463 = add nsw i32 %462, 1
store i32 %463, ptr %22, align 4
%464 = load i32, ptr %22, align 4
%465 = load i32, ptr %11, align 4
%466 = icmp slt i32 %464, %465
br i1 %466, label %440, label %._crit_edge29, !llvm.loop !16
._crit_edge29: ; preds = %461
br label %467
467: ; preds = %._crit_edge29, %435
%468 = load i32, ptr %19, align 4
store i32 %468, ptr %22, align 4
%469 = load i32, ptr %22, align 4
%470 = load i32, ptr %11, align 4
%471 = icmp slt i32 %469, %470
br i1 %471, label %.lr.ph31, label %495
.lr.ph31: ; preds = %467
br label %472
472: ; preds = %.lr.ph31, %489
%473 = load double, ptr %31, align 8
%474 = load ptr, ptr %17, align 8
%475 = load i32, ptr %22, align 4
%476 = sext i32 %475 to i64
%477 = getelementptr inbounds double, ptr %474, i64 %476
%478 = load double, ptr %477, align 8
%479 = load ptr, ptr %14, align 8
%480 = load i32, ptr %23, align 4
%481 = load i32, ptr %13, align 4
%482 = mul nsw i32 %480, %481
%483 = load i32, ptr %22, align 4
%484 = add nsw i32 %482, %483
%485 = sext i32 %484 to i64
%486 = getelementptr inbounds double, ptr %479, i64 %485
%487 = load double, ptr %486, align 8
%488 = call double @llvm.fmuladd.f64(double %473, double %478, double %487)
store double %488, ptr %486, align 8
br label %489
489: ; preds = %472
%490 = load i32, ptr %22, align 4
%491 = add nsw i32 %490, 1
store i32 %491, ptr %22, align 4
%492 = load i32, ptr %22, align 4
%493 = load i32, ptr %11, align 4
%494 = icmp slt i32 %492, %493
br i1 %494, label %472, label %._crit_edge32, !llvm.loop !17
._crit_edge32: ; preds = %489
br label %495
495: ; preds = %._crit_edge32, %467
br label %496
496: ; preds = %495
%497 = load i32, ptr %23, align 4
%498 = add nsw i32 %497, 1
store i32 %498, ptr %23, align 4
%499 = load i32, ptr %23, align 4
%500 = load i32, ptr %10, align 4
%501 = icmp slt i32 %499, %500
br i1 %501, label %435, label %._crit_edge35, !llvm.loop !18
._crit_edge35: ; preds = %496
br label %502
502: ; preds = %._crit_edge35, %430
br label %503
503: ; preds = %502, %425
%504 = load i32, ptr %19, align 4
store i32 %504, ptr %22, align 4
%505 = load i32, ptr %22, align 4
%506 = load i32, ptr %11, align 4
%507 = icmp slt i32 %505, %506
br i1 %507, label %.lr.ph37, label %526
.lr.ph37: ; preds = %503
br label %508
508: ; preds = %.lr.ph37, %520
%509 = load double, ptr %29, align 8
%510 = load ptr, ptr %14, align 8
%511 = load i32, ptr %21, align 4
%512 = load i32, ptr %13, align 4
%513 = mul nsw i32 %511, %512
%514 = load i32, ptr %22, align 4
%515 = add nsw i32 %513, %514
%516 = sext i32 %515 to i64
%517 = getelementptr inbounds double, ptr %510, i64 %516
%518 = load double, ptr %517, align 8
%519 = fmul double %518, %509
store double %519, ptr %517, align 8
br label %520
520: ; preds = %508
%521 = load i32, ptr %22, align 4
%522 = add nsw i32 %521, 1
store i32 %522, ptr %22, align 4
%523 = load i32, ptr %22, align 4
%524 = load i32, ptr %11, align 4
%525 = icmp slt i32 %523, %524
br i1 %525, label %508, label %._crit_edge38, !llvm.loop !19
._crit_edge38: ; preds = %520
br label %526
526: ; preds = %._crit_edge38, %503
br label %527
527: ; preds = %526, %322
br label %528
528: ; preds = %527, %292, %281
%529 = load ptr, ptr %15, align 8
%530 = load i32, ptr %21, align 4
%531 = sext i32 %530 to i64
%532 = getelementptr inbounds double, ptr %529, i64 %531
%533 = load double, ptr %532, align 8
%534 = call i32 @fabs(double noundef %533)
%535 = load ptr, ptr %17, align 8
%536 = load i32, ptr %21, align 4
%537 = sext i32 %536 to i64
%538 = getelementptr inbounds double, ptr %535, i64 %537
%539 = load double, ptr %538, align 8
%540 = call i32 @fabs(double noundef %539)
%541 = add nsw i32 %534, %540
%542 = sitofp i32 %541 to double
store double %542, ptr %35, align 8
%543 = load double, ptr %30, align 8
%544 = load double, ptr %35, align 8
%545 = fcmp ogt double %543, %544
br i1 %545, label %546, label %548
546: ; preds = %528
%547 = load double, ptr %30, align 8
br label %550
548: ; preds = %528
%549 = load double, ptr %35, align 8
br label %550
550: ; preds = %548, %546
%551 = phi double [ %547, %546 ], [ %549, %548 ]
store double %551, ptr %30, align 8
br label %552
552: ; preds = %550
%553 = load i32, ptr %21, align 4
%554 = add nsw i32 %553, 1
store i32 %554, ptr %21, align 4
%555 = load i32, ptr %21, align 4
%556 = load i32, ptr %11, align 4
%557 = icmp slt i32 %555, %556
br i1 %557, label %57, label %._crit_edge41, !llvm.loop !20
._crit_edge41: ; preds = %552
br label %558
558: ; preds = %._crit_edge41, %52
%559 = load i32, ptr %11, align 4
%560 = sub nsw i32 %559, 1
store i32 %560, ptr %21, align 4
%561 = load i32, ptr %21, align 4
%562 = icmp sge i32 %561, 0
br i1 %562, label %.lr.ph58, label %738
.lr.ph58: ; preds = %558
br label %563
563: ; preds = %.lr.ph58, %733
%564 = load i32, ptr %21, align 4
%565 = load i32, ptr %11, align 4
%566 = sub nsw i32 %565, 1
%567 = icmp ne i32 %564, %566
br i1 %567, label %568, label %718
568: ; preds = %563
%569 = load double, ptr %28, align 8
%570 = fcmp une double %569, 0.000000e+00
br i1 %570, label %571, label %689
571: ; preds = %568
%572 = load i32, ptr %19, align 4
store i32 %572, ptr %23, align 4
%573 = load i32, ptr %23, align 4
%574 = load i32, ptr %11, align 4
%575 = icmp slt i32 %573, %574
br i1 %575, label %.lr.ph43, label %612
.lr.ph43: ; preds = %571
br label %576
576: ; preds = %.lr.ph43, %606
%577 = load ptr, ptr %14, align 8
%578 = load i32, ptr %21, align 4
%579 = load i32, ptr %13, align 4
%580 = mul nsw i32 %578, %579
%581 = load i32, ptr %23, align 4
%582 = add nsw i32 %580, %581
%583 = sext i32 %582 to i64
%584 = getelementptr inbounds double, ptr %577, i64 %583
%585 = load double, ptr %584, align 8
%586 = load ptr, ptr %14, align 8
%587 = load i32, ptr %21, align 4
%588 = load i32, ptr %13, align 4
%589 = mul nsw i32 %587, %588
%590 = load i32, ptr %19, align 4
%591 = add nsw i32 %589, %590
%592 = sext i32 %591 to i64
%593 = getelementptr inbounds double, ptr %586, i64 %592
%594 = load double, ptr %593, align 8
%595 = fdiv double %585, %594
%596 = load double, ptr %28, align 8
%597 = fdiv double %595, %596
%598 = load ptr, ptr %16, align 8
%599 = load i32, ptr %23, align 4
%600 = load i32, ptr %13, align 4
%601 = mul nsw i32 %599, %600
%602 = load i32, ptr %21, align 4
%603 = add nsw i32 %601, %602
%604 = sext i32 %603 to i64
%605 = getelementptr inbounds double, ptr %598, i64 %604
store double %597, ptr %605, align 8
br label %606
606: ; preds = %576
%607 = load i32, ptr %23, align 4
%608 = add nsw i32 %607, 1
store i32 %608, ptr %23, align 4
%609 = load i32, ptr %23, align 4
%610 = load i32, ptr %11, align 4
%611 = icmp slt i32 %609, %610
br i1 %611, label %576, label %._crit_edge44, !llvm.loop !21
._crit_edge44: ; preds = %606
br label %612
612: ; preds = %._crit_edge44, %571
%613 = load i32, ptr %19, align 4
store i32 %613, ptr %23, align 4
%614 = load i32, ptr %23, align 4
%615 = load i32, ptr %11, align 4
%616 = icmp slt i32 %614, %615
br i1 %616, label %.lr.ph52, label %688
.lr.ph52: ; preds = %612
br label %617
617: ; preds = %.lr.ph52, %682
store double 0.000000e+00, ptr %31, align 8
%618 = load i32, ptr %19, align 4
store i32 %618, ptr %22, align 4
%619 = load i32, ptr %22, align 4
%620 = load i32, ptr %11, align 4
%621 = icmp slt i32 %619, %620
br i1 %621, label %.lr.ph46, label %649
.lr.ph46: ; preds = %617
br label %622
622: ; preds = %.lr.ph46, %643
%623 = load ptr, ptr %14, align 8
%624 = load i32, ptr %21, align 4
%625 = load i32, ptr %13, align 4
%626 = mul nsw i32 %624, %625
%627 = load i32, ptr %22, align 4
%628 = add nsw i32 %626, %627
%629 = sext i32 %628 to i64
%630 = getelementptr inbounds double, ptr %623, i64 %629
%631 = load double, ptr %630, align 8
%632 = load ptr, ptr %16, align 8
%633 = load i32, ptr %22, align 4
%634 = load i32, ptr %13, align 4
%635 = mul nsw i32 %633, %634
%636 = load i32, ptr %23, align 4
%637 = add nsw i32 %635, %636
%638 = sext i32 %637 to i64
%639 = getelementptr inbounds double, ptr %632, i64 %638
%640 = load double, ptr %639, align 8
%641 = load double, ptr %31, align 8
%642 = call double @llvm.fmuladd.f64(double %631, double %640, double %641)
store double %642, ptr %31, align 8
br label %643
643: ; preds = %622
%644 = load i32, ptr %22, align 4
%645 = add nsw i32 %644, 1
store i32 %645, ptr %22, align 4
%646 = load i32, ptr %22, align 4
%647 = load i32, ptr %11, align 4
%648 = icmp slt i32 %646, %647
br i1 %648, label %622, label %._crit_edge47, !llvm.loop !22
._crit_edge47: ; preds = %643
br label %649
649: ; preds = %._crit_edge47, %617
%650 = load i32, ptr %19, align 4
store i32 %650, ptr %22, align 4
%651 = load i32, ptr %22, align 4
%652 = load i32, ptr %11, align 4
%653 = icmp slt i32 %651, %652
br i1 %653, label %.lr.ph49, label %681
.lr.ph49: ; preds = %649
br label %654
654: ; preds = %.lr.ph49, %675
%655 = load double, ptr %31, align 8
%656 = load ptr, ptr %16, align 8
%657 = load i32, ptr %22, align 4
%658 = load i32, ptr %13, align 4
%659 = mul nsw i32 %657, %658
%660 = load i32, ptr %21, align 4
%661 = add nsw i32 %659, %660
%662 = sext i32 %661 to i64
%663 = getelementptr inbounds double, ptr %656, i64 %662
%664 = load double, ptr %663, align 8
%665 = load ptr, ptr %16, align 8
%666 = load i32, ptr %22, align 4
%667 = load i32, ptr %13, align 4
%668 = mul nsw i32 %666, %667
%669 = load i32, ptr %23, align 4
%670 = add nsw i32 %668, %669
%671 = sext i32 %670 to i64
%672 = getelementptr inbounds double, ptr %665, i64 %671
%673 = load double, ptr %672, align 8
%674 = call double @llvm.fmuladd.f64(double %655, double %664, double %673)
store double %674, ptr %672, align 8
br label %675
675: ; preds = %654
%676 = load i32, ptr %22, align 4
%677 = add nsw i32 %676, 1
store i32 %677, ptr %22, align 4
%678 = load i32, ptr %22, align 4
%679 = load i32, ptr %11, align 4
%680 = icmp slt i32 %678, %679
br i1 %680, label %654, label %._crit_edge50, !llvm.loop !23
._crit_edge50: ; preds = %675
br label %681
681: ; preds = %._crit_edge50, %649
br label %682
682: ; preds = %681
%683 = load i32, ptr %23, align 4
%684 = add nsw i32 %683, 1
store i32 %684, ptr %23, align 4
%685 = load i32, ptr %23, align 4
%686 = load i32, ptr %11, align 4
%687 = icmp slt i32 %685, %686
br i1 %687, label %617, label %._crit_edge53, !llvm.loop !24
._crit_edge53: ; preds = %682
br label %688
688: ; preds = %._crit_edge53, %612
br label %689
689: ; preds = %688, %568
%690 = load i32, ptr %19, align 4
store i32 %690, ptr %23, align 4
%691 = load i32, ptr %23, align 4
%692 = load i32, ptr %11, align 4
%693 = icmp slt i32 %691, %692
br i1 %693, label %.lr.ph55, label %717
.lr.ph55: ; preds = %689
br label %694
694: ; preds = %.lr.ph55, %711
%695 = load ptr, ptr %16, align 8
%696 = load i32, ptr %21, align 4
%697 = load i32, ptr %13, align 4
%698 = mul nsw i32 %696, %697
%699 = load i32, ptr %23, align 4
%700 = add nsw i32 %698, %699
%701 = sext i32 %700 to i64
%702 = getelementptr inbounds double, ptr %695, i64 %701
store double 0.000000e+00, ptr %702, align 8
%703 = load ptr, ptr %16, align 8
%704 = load i32, ptr %23, align 4
%705 = load i32, ptr %13, align 4
%706 = mul nsw i32 %704, %705
%707 = load i32, ptr %21, align 4
%708 = add nsw i32 %706, %707
%709 = sext i32 %708 to i64
%710 = getelementptr inbounds double, ptr %703, i64 %709
store double 0.000000e+00, ptr %710, align 8
br label %711
711: ; preds = %694
%712 = load i32, ptr %23, align 4
%713 = add nsw i32 %712, 1
store i32 %713, ptr %23, align 4
%714 = load i32, ptr %23, align 4
%715 = load i32, ptr %11, align 4
%716 = icmp slt i32 %714, %715
br i1 %716, label %694, label %._crit_edge56, !llvm.loop !25
._crit_edge56: ; preds = %711
br label %717
717: ; preds = %._crit_edge56, %689
br label %718
718: ; preds = %717, %563
%719 = load ptr, ptr %16, align 8
%720 = load i32, ptr %21, align 4
%721 = load i32, ptr %13, align 4
%722 = mul nsw i32 %720, %721
%723 = load i32, ptr %21, align 4
%724 = add nsw i32 %722, %723
%725 = sext i32 %724 to i64
%726 = getelementptr inbounds double, ptr %719, i64 %725
store double 1.000000e+00, ptr %726, align 8
%727 = load ptr, ptr %17, align 8
%728 = load i32, ptr %21, align 4
%729 = sext i32 %728 to i64
%730 = getelementptr inbounds double, ptr %727, i64 %729
%731 = load double, ptr %730, align 8
store double %731, ptr %28, align 8
%732 = load i32, ptr %21, align 4
store i32 %732, ptr %19, align 4
br label %733
733: ; preds = %718
%734 = load i32, ptr %21, align 4
%735 = add nsw i32 %734, -1
store i32 %735, ptr %21, align 4
%736 = load i32, ptr %21, align 4
%737 = icmp sge i32 %736, 0
br i1 %737, label %563, label %._crit_edge59, !llvm.loop !26
._crit_edge59: ; preds = %733
br label %738
738: ; preds = %._crit_edge59, %558
%739 = load i32, ptr %11, align 4
%740 = sub nsw i32 %739, 1
store i32 %740, ptr %21, align 4
%741 = load i32, ptr %21, align 4
%742 = icmp sge i32 %741, 0
br i1 %742, label %.lr.ph79, label %935
.lr.ph79: ; preds = %738
br label %743
743: ; preds = %.lr.ph79, %930
%744 = load i32, ptr %21, align 4
%745 = add nsw i32 %744, 1
store i32 %745, ptr %19, align 4
%746 = load ptr, ptr %15, align 8
%747 = load i32, ptr %21, align 4
%748 = sext i32 %747 to i64
%749 = getelementptr inbounds double, ptr %746, i64 %748
%750 = load double, ptr %749, align 8
store double %750, ptr %28, align 8
%751 = load i32, ptr %21, align 4
%752 = load i32, ptr %11, align 4
%753 = sub nsw i32 %752, 1
%754 = icmp ne i32 %751, %753
br i1 %754, label %755, label %776
755: ; preds = %743
%756 = load i32, ptr %19, align 4
store i32 %756, ptr %23, align 4
%757 = load i32, ptr %23, align 4
%758 = load i32, ptr %11, align 4
%759 = icmp slt i32 %757, %758
br i1 %759, label %.lr.ph61, label %775
.lr.ph61: ; preds = %755
br label %760
760: ; preds = %.lr.ph61, %769
%761 = load ptr, ptr %14, align 8
%762 = load i32, ptr %21, align 4
%763 = load i32, ptr %13, align 4
%764 = mul nsw i32 %762, %763
%765 = load i32, ptr %23, align 4
%766 = add nsw i32 %764, %765
%767 = sext i32 %766 to i64
%768 = getelementptr inbounds double, ptr %761, i64 %767
store double 0.000000e+00, ptr %768, align 8
br label %769
769: ; preds = %760
%770 = load i32, ptr %23, align 4
%771 = add nsw i32 %770, 1
store i32 %771, ptr %23, align 4
%772 = load i32, ptr %23, align 4
%773 = load i32, ptr %11, align 4
%774 = icmp slt i32 %772, %773
br i1 %774, label %760, label %._crit_edge62, !llvm.loop !27
._crit_edge62: ; preds = %769
br label %775
775: ; preds = %._crit_edge62, %755
br label %776
776: ; preds = %775, %743
%777 = load double, ptr %28, align 8
%778 = fcmp une double %777, 0.000000e+00
br i1 %778, label %779, label %898
779: ; preds = %776
%780 = load i32, ptr %21, align 4
%781 = load i32, ptr %11, align 4
%782 = sub nsw i32 %781, 1
%783 = icmp ne i32 %780, %782
br i1 %783, label %784, label %874
784: ; preds = %779
%785 = load i32, ptr %19, align 4
store i32 %785, ptr %23, align 4
%786 = load i32, ptr %23, align 4
%787 = load i32, ptr %11, align 4
%788 = icmp slt i32 %786, %787
br i1 %788, label %.lr.ph73, label %873
.lr.ph73: ; preds = %784
br label %789
789: ; preds = %.lr.ph73, %867
store double 0.000000e+00, ptr %31, align 8
%790 = load i32, ptr %19, align 4
store i32 %790, ptr %22, align 4
%791 = load i32, ptr %22, align 4
%792 = load i32, ptr %10, align 4
%793 = icmp slt i32 %791, %792
br i1 %793, label %.lr.ph67, label %821
.lr.ph67: ; preds = %789
br label %794
794: ; preds = %.lr.ph67, %815
%795 = load ptr, ptr %14, align 8
%796 = load i32, ptr %22, align 4
%797 = load i32, ptr %13, align 4
%798 = mul nsw i32 %796, %797
%799 = load i32, ptr %21, align 4
%800 = add nsw i32 %798, %799
%801 = sext i32 %800 to i64
%802 = getelementptr inbounds double, ptr %795, i64 %801
%803 = load double, ptr %802, align 8
%804 = load ptr, ptr %14, align 8
%805 = load i32, ptr %22, align 4
%806 = load i32, ptr %13, align 4
%807 = mul nsw i32 %805, %806
%808 = load i32, ptr %23, align 4
%809 = add nsw i32 %807, %808
%810 = sext i32 %809 to i64
%811 = getelementptr inbounds double, ptr %804, i64 %810
%812 = load double, ptr %811, align 8
%813 = load double, ptr %31, align 8
%814 = call double @llvm.fmuladd.f64(double %803, double %812, double %813)
store double %814, ptr %31, align 8
br label %815
815: ; preds = %794
%816 = load i32, ptr %22, align 4
%817 = add nsw i32 %816, 1
store i32 %817, ptr %22, align 4
%818 = load i32, ptr %22, align 4
%819 = load i32, ptr %10, align 4
%820 = icmp slt i32 %818, %819
br i1 %820, label %794, label %._crit_edge68, !llvm.loop !28
._crit_edge68: ; preds = %815
br label %821
821: ; preds = %._crit_edge68, %789
%822 = load double, ptr %31, align 8
%823 = load ptr, ptr %14, align 8
%824 = load i32, ptr %21, align 4
%825 = load i32, ptr %13, align 4
%826 = mul nsw i32 %824, %825
%827 = load i32, ptr %21, align 4
%828 = add nsw i32 %826, %827
%829 = sext i32 %828 to i64
%830 = getelementptr inbounds double, ptr %823, i64 %829
%831 = load double, ptr %830, align 8
%832 = fdiv double %822, %831
%833 = load double, ptr %28, align 8
%834 = fdiv double %832, %833
store double %834, ptr %33, align 8
%835 = load i32, ptr %21, align 4
store i32 %835, ptr %22, align 4
%836 = load i32, ptr %22, align 4
%837 = load i32, ptr %10, align 4
%838 = icmp slt i32 %836, %837
br i1 %838, label %.lr.ph70, label %866
.lr.ph70: ; preds = %821
br label %839
839: ; preds = %.lr.ph70, %860
%840 = load double, ptr %33, align 8
%841 = load ptr, ptr %14, align 8
%842 = load i32, ptr %22, align 4
%843 = load i32, ptr %13, align 4
%844 = mul nsw i32 %842, %843
%845 = load i32, ptr %21, align 4
%846 = add nsw i32 %844, %845
%847 = sext i32 %846 to i64
%848 = getelementptr inbounds double, ptr %841, i64 %847
%849 = load double, ptr %848, align 8
%850 = load ptr, ptr %14, align 8
%851 = load i32, ptr %22, align 4
%852 = load i32, ptr %13, align 4
%853 = mul nsw i32 %851, %852
%854 = load i32, ptr %23, align 4
%855 = add nsw i32 %853, %854
%856 = sext i32 %855 to i64
%857 = getelementptr inbounds double, ptr %850, i64 %856
%858 = load double, ptr %857, align 8
%859 = call double @llvm.fmuladd.f64(double %840, double %849, double %858)
store double %859, ptr %857, align 8
br label %860
860: ; preds = %839
%861 = load i32, ptr %22, align 4
%862 = add nsw i32 %861, 1
store i32 %862, ptr %22, align 4
%863 = load i32, ptr %22, align 4
%864 = load i32, ptr %10, align 4
%865 = icmp slt i32 %863, %864
br i1 %865, label %839, label %._crit_edge71, !llvm.loop !29
._crit_edge71: ; preds = %860
br label %866
866: ; preds = %._crit_edge71, %821
br label %867
867: ; preds = %866
%868 = load i32, ptr %23, align 4
%869 = add nsw i32 %868, 1
store i32 %869, ptr %23, align 4
%870 = load i32, ptr %23, align 4
%871 = load i32, ptr %11, align 4
%872 = icmp slt i32 %870, %871
br i1 %872, label %789, label %._crit_edge74, !llvm.loop !30
._crit_edge74: ; preds = %867
br label %873
873: ; preds = %._crit_edge74, %784
br label %874
874: ; preds = %873, %779
%875 = load i32, ptr %21, align 4
store i32 %875, ptr %23, align 4
%876 = load i32, ptr %23, align 4
%877 = load i32, ptr %10, align 4
%878 = icmp slt i32 %876, %877
br i1 %878, label %.lr.ph76, label %897
.lr.ph76: ; preds = %874
br label %879
879: ; preds = %.lr.ph76, %891
%880 = load double, ptr %28, align 8
%881 = load ptr, ptr %14, align 8
%882 = load i32, ptr %23, align 4
%883 = load i32, ptr %13, align 4
%884 = mul nsw i32 %882, %883
%885 = load i32, ptr %21, align 4
%886 = add nsw i32 %884, %885
%887 = sext i32 %886 to i64
%888 = getelementptr inbounds double, ptr %881, i64 %887
%889 = load double, ptr %888, align 8
%890 = fdiv double %889, %880
store double %890, ptr %888, align 8
br label %891
891: ; preds = %879
%892 = load i32, ptr %23, align 4
%893 = add nsw i32 %892, 1
store i32 %893, ptr %23, align 4
%894 = load i32, ptr %23, align 4
%895 = load i32, ptr %10, align 4
%896 = icmp slt i32 %894, %895
br i1 %896, label %879, label %._crit_edge77, !llvm.loop !31
._crit_edge77: ; preds = %891
br label %897
897: ; preds = %._crit_edge77, %874
br label %919
898: ; preds = %776
%899 = load i32, ptr %21, align 4
store i32 %899, ptr %23, align 4
%900 = load i32, ptr %23, align 4
%901 = load i32, ptr %10, align 4
%902 = icmp slt i32 %900, %901
br i1 %902, label %.lr.ph64, label %918
.lr.ph64: ; preds = %898
br label %903
903: ; preds = %.lr.ph64, %912
%904 = load ptr, ptr %14, align 8
%905 = load i32, ptr %23, align 4
%906 = load i32, ptr %13, align 4
%907 = mul nsw i32 %905, %906
%908 = load i32, ptr %21, align 4
%909 = add nsw i32 %907, %908
%910 = sext i32 %909 to i64
%911 = getelementptr inbounds double, ptr %904, i64 %910
store double 0.000000e+00, ptr %911, align 8
br label %912
912: ; preds = %903
%913 = load i32, ptr %23, align 4
%914 = add nsw i32 %913, 1
store i32 %914, ptr %23, align 4
%915 = load i32, ptr %23, align 4
%916 = load i32, ptr %10, align 4
%917 = icmp slt i32 %915, %916
br i1 %917, label %903, label %._crit_edge65, !llvm.loop !32
._crit_edge65: ; preds = %912
br label %918
918: ; preds = %._crit_edge65, %898
br label %919
919: ; preds = %918, %897
%920 = load ptr, ptr %14, align 8
%921 = load i32, ptr %21, align 4
%922 = load i32, ptr %13, align 4
%923 = mul nsw i32 %921, %922
%924 = load i32, ptr %21, align 4
%925 = add nsw i32 %923, %924
%926 = sext i32 %925 to i64
%927 = getelementptr inbounds double, ptr %920, i64 %926
%928 = load double, ptr %927, align 8
%929 = fadd double %928, 1.000000e+00
store double %929, ptr %927, align 8
br label %930
930: ; preds = %919
%931 = load i32, ptr %21, align 4
%932 = add nsw i32 %931, -1
store i32 %932, ptr %21, align 4
%933 = load i32, ptr %21, align 4
%934 = icmp sge i32 %933, 0
br i1 %934, label %743, label %._crit_edge80, !llvm.loop !33
._crit_edge80: ; preds = %930
br label %935
935: ; preds = %._crit_edge80, %738
%936 = load i32, ptr %11, align 4
%937 = sub nsw i32 %936, 1
store i32 %937, ptr %22, align 4
%938 = load i32, ptr %22, align 4
%939 = icmp sge i32 %938, 0
br i1 %939, label %.lr.ph103, label %1464
.lr.ph103: ; preds = %935
br label %940
940: ; preds = %.lr.ph103, %1459
%941 = load i32, ptr %22, align 4
%942 = sub nsw i32 %941, 1
store i32 %942, ptr %24, align 4
store i32 1, ptr %25, align 4
%943 = load i32, ptr %25, align 4
%944 = icmp sle i32 %943, 30
br i1 %944, label %.lr.ph98, label %.loopexit2
.lr.ph98: ; preds = %940
br label %945
945: ; preds = %.lr.ph98, %1453
store i32 1, ptr %27, align 4
%946 = load i32, ptr %22, align 4
store i32 %946, ptr %19, align 4
%947 = load i32, ptr %19, align 4
%948 = icmp sge i32 %947, 0
br i1 %948, label %.lr.ph82, label %.loopexit1
.lr.ph82: ; preds = %945
br label %949
949: ; preds = %.lr.ph82, %978
%950 = load i32, ptr %19, align 4
%951 = sub nsw i32 %950, 1
store i32 %951, ptr %20, align 4
%952 = load double, ptr %30, align 8
%953 = load ptr, ptr %17, align 8
%954 = load i32, ptr %19, align 4
%955 = sext i32 %954 to i64
%956 = getelementptr inbounds double, ptr %953, i64 %955
%957 = load double, ptr %956, align 8
%958 = call i32 @fabs(double noundef %957)
%959 = sitofp i32 %958 to double
%960 = fadd double %952, %959
%961 = load double, ptr %30, align 8
%962 = fcmp oeq double %960, %961
br i1 %962, label %963, label %964
963: ; preds = %949
store i32 0, ptr %27, align 4
br label %983
964: ; preds = %949
%965 = load double, ptr %30, align 8
%966 = load ptr, ptr %15, align 8
%967 = load i32, ptr %20, align 4
%968 = sext i32 %967 to i64
%969 = getelementptr inbounds double, ptr %966, i64 %968
%970 = load double, ptr %969, align 8
%971 = call i32 @fabs(double noundef %970)
%972 = sitofp i32 %971 to double
%973 = fadd double %965, %972
%974 = load double, ptr %30, align 8
%975 = fcmp oeq double %973, %974
br i1 %975, label %976, label %977
976: ; preds = %964
br label %983
977: ; preds = %964
br label %978
978: ; preds = %977
%979 = load i32, ptr %19, align 4
%980 = add nsw i32 %979, -1
store i32 %980, ptr %19, align 4
%981 = load i32, ptr %19, align 4
%982 = icmp sge i32 %981, 0
br i1 %982, label %949, label %..loopexit1_crit_edge, !llvm.loop !34
..loopexit1_crit_edge: ; preds = %978
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %945
br label %983
983: ; preds = %.loopexit1, %976, %963
%984 = load i32, ptr %27, align 4
%985 = icmp ne i32 %984, 0
br i1 %985, label %986, label %1094
986: ; preds = %983
store double 1.000000e+00, ptr %31, align 8
%987 = load i32, ptr %19, align 4
store i32 %987, ptr %21, align 4
%988 = load i32, ptr %21, align 4
%989 = load i32, ptr %22, align 4
%990 = icmp sle i32 %988, %989
br i1 %990, label %.lr.ph87, label %.loopexit
.lr.ph87: ; preds = %986
br label %991
991: ; preds = %.lr.ph87, %1087
%992 = load double, ptr %31, align 8
%993 = load ptr, ptr %17, align 8
%994 = load i32, ptr %21, align 4
%995 = sext i32 %994 to i64
%996 = getelementptr inbounds double, ptr %993, i64 %995
%997 = load double, ptr %996, align 8
%998 = fmul double %992, %997
store double %998, ptr %33, align 8
%999 = load double, ptr %30, align 8
%1000 = load double, ptr %33, align 8
%1001 = call i32 @fabs(double noundef %1000)
%1002 = sitofp i32 %1001 to double
%1003 = fadd double %999, %1002
%1004 = load double, ptr %30, align 8
%1005 = fcmp oeq double %1003, %1004
br i1 %1005, label %1006, label %1007
1006: ; preds = %991
br label %1093
1007: ; preds = %991
%1008 = load ptr, ptr %15, align 8
%1009 = load i32, ptr %21, align 4
%1010 = sext i32 %1009 to i64
%1011 = getelementptr inbounds double, ptr %1008, i64 %1010
%1012 = load double, ptr %1011, align 8
store double %1012, ptr %28, align 8
%1013 = load double, ptr %33, align 8
%1014 = load double, ptr %28, align 8
%1015 = call i32 @rms(double noundef %1013, double noundef %1014)
%1016 = sitofp i32 %1015 to double
store double %1016, ptr %34, align 8
%1017 = load double, ptr %34, align 8
%1018 = load ptr, ptr %15, align 8
%1019 = load i32, ptr %21, align 4
%1020 = sext i32 %1019 to i64
%1021 = getelementptr inbounds double, ptr %1018, i64 %1020
store double %1017, ptr %1021, align 8
%1022 = load double, ptr %28, align 8
%1023 = load double, ptr %34, align 8
%1024 = fdiv double %1022, %1023
store double %1024, ptr %36, align 8
%1025 = load double, ptr %33, align 8
%1026 = fneg double %1025
%1027 = load double, ptr %34, align 8
%1028 = fdiv double %1026, %1027
store double %1028, ptr %31, align 8
store i32 0, ptr %23, align 4
%1029 = load i32, ptr %23, align 4
%1030 = load i32, ptr %10, align 4
%1031 = icmp slt i32 %1029, %1030
br i1 %1031, label %.lr.ph84, label %1086
.lr.ph84: ; preds = %1007
br label %1032
1032: ; preds = %.lr.ph84, %1080
%1033 = load ptr, ptr %14, align 8
%1034 = load i32, ptr %23, align 4
%1035 = load i32, ptr %13, align 4
%1036 = mul nsw i32 %1034, %1035
%1037 = load i32, ptr %20, align 4
%1038 = add nsw i32 %1036, %1037
%1039 = sext i32 %1038 to i64
%1040 = getelementptr inbounds double, ptr %1033, i64 %1039
%1041 = load double, ptr %1040, align 8
store double %1041, ptr %37, align 8
%1042 = load ptr, ptr %14, align 8
%1043 = load i32, ptr %23, align 4
%1044 = load i32, ptr %13, align 4
%1045 = mul nsw i32 %1043, %1044
%1046 = load i32, ptr %21, align 4
%1047 = add nsw i32 %1045, %1046
%1048 = sext i32 %1047 to i64
%1049 = getelementptr inbounds double, ptr %1042, i64 %1048
%1050 = load double, ptr %1049, align 8
store double %1050, ptr %38, align 8
%1051 = load double, ptr %37, align 8
%1052 = load double, ptr %36, align 8
%1053 = load double, ptr %38, align 8
%1054 = load double, ptr %31, align 8
%1055 = fmul double %1053, %1054
%1056 = call double @llvm.fmuladd.f64(double %1051, double %1052, double %1055)
%1057 = load ptr, ptr %14, align 8
%1058 = load i32, ptr %23, align 4
%1059 = load i32, ptr %13, align 4
%1060 = mul nsw i32 %1058, %1059
%1061 = load i32, ptr %20, align 4
%1062 = add nsw i32 %1060, %1061
%1063 = sext i32 %1062 to i64
%1064 = getelementptr inbounds double, ptr %1057, i64 %1063
store double %1056, ptr %1064, align 8
%1065 = load double, ptr %37, align 8
%1066 = fneg double %1065
%1067 = load double, ptr %31, align 8
%1068 = load double, ptr %38, align 8
%1069 = load double, ptr %36, align 8
%1070 = fmul double %1068, %1069
%1071 = call double @llvm.fmuladd.f64(double %1066, double %1067, double %1070)
%1072 = load ptr, ptr %14, align 8
%1073 = load i32, ptr %23, align 4
%1074 = load i32, ptr %13, align 4
%1075 = mul nsw i32 %1073, %1074
%1076 = load i32, ptr %21, align 4
%1077 = add nsw i32 %1075, %1076
%1078 = sext i32 %1077 to i64
%1079 = getelementptr inbounds double, ptr %1072, i64 %1078
store double %1071, ptr %1079, align 8
br label %1080
1080: ; preds = %1032
%1081 = load i32, ptr %23, align 4
%1082 = add nsw i32 %1081, 1
store i32 %1082, ptr %23, align 4
%1083 = load i32, ptr %23, align 4
%1084 = load i32, ptr %10, align 4
%1085 = icmp slt i32 %1083, %1084
br i1 %1085, label %1032, label %._crit_edge85, !llvm.loop !35
._crit_edge85: ; preds = %1080
br label %1086
1086: ; preds = %._crit_edge85, %1007
br label %1087
1087: ; preds = %1086
%1088 = load i32, ptr %21, align 4
%1089 = add nsw i32 %1088, 1
store i32 %1089, ptr %21, align 4
%1090 = load i32, ptr %21, align 4
%1091 = load i32, ptr %22, align 4
%1092 = icmp sle i32 %1090, %1091
br i1 %1092, label %991, label %..loopexit_crit_edge, !llvm.loop !36
..loopexit_crit_edge: ; preds = %1087
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %986
br label %1093
1093: ; preds = %.loopexit, %1006
br label %1094
1094: ; preds = %1093, %983
%1095 = load ptr, ptr %15, align 8
%1096 = load i32, ptr %22, align 4
%1097 = sext i32 %1096 to i64
%1098 = getelementptr inbounds double, ptr %1095, i64 %1097
%1099 = load double, ptr %1098, align 8
store double %1099, ptr %38, align 8
%1100 = load i32, ptr %19, align 4
%1101 = load i32, ptr %22, align 4
%1102 = icmp eq i32 %1100, %1101
br i1 %1102, label %1103, label %1135
1103: ; preds = %1094
%1104 = load double, ptr %38, align 8
%1105 = fcmp olt double %1104, 0.000000e+00
br i1 %1105, label %1106, label %1134
1106: ; preds = %1103
%1107 = load double, ptr %38, align 8
%1108 = fneg double %1107
%1109 = load ptr, ptr %15, align 8
%1110 = load i32, ptr %22, align 4
%1111 = sext i32 %1110 to i64
%1112 = getelementptr inbounds double, ptr %1109, i64 %1111
store double %1108, ptr %1112, align 8
store i32 0, ptr %23, align 4
%1113 = load i32, ptr %23, align 4
%1114 = load i32, ptr %11, align 4
%1115 = icmp slt i32 %1113, %1114
br i1 %1115, label %.lr.ph100, label %1133
.lr.ph100: ; preds = %1106
br label %1116
1116: ; preds = %.lr.ph100, %1127
%1117 = load ptr, ptr %16, align 8
%1118 = load i32, ptr %23, align 4
%1119 = load i32, ptr %13, align 4
%1120 = mul nsw i32 %1118, %1119
%1121 = load i32, ptr %22, align 4
%1122 = add nsw i32 %1120, %1121
%1123 = sext i32 %1122 to i64
%1124 = getelementptr inbounds double, ptr %1117, i64 %1123
%1125 = load double, ptr %1124, align 8
%1126 = fmul double %1125, -1.000000e+00
store double %1126, ptr %1124, align 8
br label %1127
1127: ; preds = %1116
%1128 = load i32, ptr %23, align 4
%1129 = add nsw i32 %1128, 1
store i32 %1129, ptr %23, align 4
%1130 = load i32, ptr %23, align 4
%1131 = load i32, ptr %11, align 4
%1132 = icmp slt i32 %1130, %1131
br i1 %1132, label %1116, label %._crit_edge101, !llvm.loop !37
._crit_edge101: ; preds = %1127
br label %1133
1133: ; preds = %._crit_edge101, %1106
br label %1134
1134: ; preds = %1133, %1103
br label %1458
1135: ; preds = %1094
%1136 = load i32, ptr %25, align 4
%1137 = icmp sge i32 %1136, 30
br i1 %1137, label %1138, label %1142
1138: ; preds = %1135
%1139 = load i32, ptr %22, align 4
%1140 = add nsw i32 %1139, 1
%1141 = load ptr, ptr %18, align 8
store i32 %1140, ptr %1141, align 4
br label %1142
1142: ; preds = %1138, %1135
%1143 = load ptr, ptr %15, align 8
%1144 = load i32, ptr %19, align 4
%1145 = sext i32 %1144 to i64
%1146 = getelementptr inbounds double, ptr %1143, i64 %1145
%1147 = load double, ptr %1146, align 8
store double %1147, ptr %32, align 8
%1148 = load ptr, ptr %15, align 8
%1149 = load i32, ptr %24, align 4
%1150 = sext i32 %1149 to i64
%1151 = getelementptr inbounds double, ptr %1148, i64 %1150
%1152 = load double, ptr %1151, align 8
store double %1152, ptr %37, align 8
%1153 = load ptr, ptr %17, align 8
%1154 = load i32, ptr %24, align 4
%1155 = sext i32 %1154 to i64
%1156 = getelementptr inbounds double, ptr %1153, i64 %1155
%1157 = load double, ptr %1156, align 8
store double %1157, ptr %28, align 8
%1158 = load ptr, ptr %17, align 8
%1159 = load i32, ptr %22, align 4
%1160 = sext i32 %1159 to i64
%1161 = getelementptr inbounds double, ptr %1158, i64 %1160
%1162 = load double, ptr %1161, align 8
store double %1162, ptr %34, align 8
%1163 = load double, ptr %37, align 8
%1164 = load double, ptr %38, align 8
%1165 = fsub double %1163, %1164
%1166 = load double, ptr %37, align 8
%1167 = load double, ptr %38, align 8
%1168 = fadd double %1166, %1167
%1169 = load double, ptr %28, align 8
%1170 = load double, ptr %34, align 8
%1171 = fsub double %1169, %1170
%1172 = load double, ptr %28, align 8
%1173 = load double, ptr %34, align 8
%1174 = fadd double %1172, %1173
%1175 = fmul double %1171, %1174
%1176 = call double @llvm.fmuladd.f64(double %1165, double %1168, double %1175)
%1177 = load double, ptr %34, align 8
%1178 = fmul double 2.000000e+00, %1177
%1179 = load double, ptr %37, align 8
%1180 = fmul double %1178, %1179
%1181 = fdiv double %1176, %1180
store double %1181, ptr %33, align 8
%1182 = load double, ptr %33, align 8
%1183 = call i32 @fabs(double noundef %1182)
%1184 = sitofp i32 %1183 to double
%1185 = fcmp ole double %1184, 1.000000e+15
br i1 %1185, label %1186, label %1189
1186: ; preds = %1142
%1187 = load double, ptr %33, align 8
%1188 = call i32 @rms(double noundef %1187, double noundef 1.000000e+00)
br label %1192
1189: ; preds = %1142
%1190 = load double, ptr %33, align 8
%1191 = call i32 @fabs(double noundef %1190)
br label %1192
1192: ; preds = %1189, %1186
%1193 = phi i32 [ %1188, %1186 ], [ %1191, %1189 ]
%1194 = sitofp i32 %1193 to double
store double %1194, ptr %28, align 8
%1195 = load double, ptr %32, align 8
%1196 = load double, ptr %38, align 8
%1197 = fsub double %1195, %1196
%1198 = load double, ptr %32, align 8
%1199 = load double, ptr %38, align 8
%1200 = fadd double %1198, %1199
%1201 = load double, ptr %34, align 8
%1202 = load double, ptr %37, align 8
%1203 = load double, ptr %33, align 8
%1204 = load double, ptr %33, align 8
%1205 = fcmp olt double %1204, 0.000000e+00
br i1 %1205, label %1206, label %1209
1206: ; preds = %1192
%1207 = load double, ptr %28, align 8
%1208 = fneg double %1207
br label %1211
1209: ; preds = %1192
%1210 = load double, ptr %28, align 8
br label %1211
1211: ; preds = %1209, %1206
%1212 = phi double [ %1208, %1206 ], [ %1210, %1209 ]
%1213 = fadd double %1203, %1212
%1214 = fdiv double %1202, %1213
%1215 = load double, ptr %34, align 8
%1216 = fsub double %1214, %1215
%1217 = fmul double %1201, %1216
%1218 = call double @llvm.fmuladd.f64(double %1197, double %1200, double %1217)
%1219 = load double, ptr %32, align 8
%1220 = fdiv double %1218, %1219
store double %1220, ptr %33, align 8
store double 1.000000e+00, ptr %36, align 8
store double 1.000000e+00, ptr %31, align 8
%1221 = load i32, ptr %19, align 4
store i32 %1221, ptr %26, align 4
%1222 = load i32, ptr %26, align 4
%1223 = load i32, ptr %24, align 4
%1224 = icmp sle i32 %1222, %1223
br i1 %1224, label %.lr.ph95, label %1437
.lr.ph95: ; preds = %1211
br label %1225
1225: ; preds = %.lr.ph95, %1431
%1226 = load i32, ptr %26, align 4
%1227 = add nsw i32 %1226, 1
store i32 %1227, ptr %21, align 4
%1228 = load ptr, ptr %17, align 8
%1229 = load i32, ptr %21, align 4
%1230 = sext i32 %1229 to i64
%1231 = getelementptr inbounds double, ptr %1228, i64 %1230
%1232 = load double, ptr %1231, align 8
store double %1232, ptr %28, align 8
%1233 = load ptr, ptr %15, align 8
%1234 = load i32, ptr %21, align 4
%1235 = sext i32 %1234 to i64
%1236 = getelementptr inbounds double, ptr %1233, i64 %1235
%1237 = load double, ptr %1236, align 8
store double %1237, ptr %37, align 8
%1238 = load double, ptr %31, align 8
%1239 = load double, ptr %28, align 8
%1240 = fmul double %1238, %1239
store double %1240, ptr %34, align 8
%1241 = load double, ptr %36, align 8
%1242 = load double, ptr %28, align 8
%1243 = fmul double %1241, %1242
store double %1243, ptr %28, align 8
%1244 = load double, ptr %33, align 8
%1245 = load double, ptr %34, align 8
%1246 = call i32 @rms(double noundef %1244, double noundef %1245)
%1247 = sitofp i32 %1246 to double
store double %1247, ptr %38, align 8
%1248 = load double, ptr %38, align 8
%1249 = load ptr, ptr %17, align 8
%1250 = load i32, ptr %26, align 4
%1251 = sext i32 %1250 to i64
%1252 = getelementptr inbounds double, ptr %1249, i64 %1251
store double %1248, ptr %1252, align 8
%1253 = load double, ptr %38, align 8
%1254 = fcmp une double %1253, 0.000000e+00
br i1 %1254, label %1255, label %1262
1255: ; preds = %1225
%1256 = load double, ptr %33, align 8
%1257 = load double, ptr %38, align 8
%1258 = fdiv double %1256, %1257
store double %1258, ptr %36, align 8
%1259 = load double, ptr %34, align 8
%1260 = load double, ptr %38, align 8
%1261 = fdiv double %1259, %1260
store double %1261, ptr %31, align 8
br label %1263
1262: ; preds = %1225
store double 1.000000e+00, ptr %36, align 8
store double 0.000000e+00, ptr %31, align 8
br label %1263
1263: ; preds = %1262, %1255
%1264 = load double, ptr %32, align 8
%1265 = load double, ptr %36, align 8
%1266 = load double, ptr %28, align 8
%1267 = load double, ptr %31, align 8
%1268 = fmul double %1266, %1267
%1269 = call double @llvm.fmuladd.f64(double %1264, double %1265, double %1268)
store double %1269, ptr %33, align 8
%1270 = load double, ptr %32, align 8
%1271 = fneg double %1270
%1272 = load double, ptr %31, align 8
%1273 = load double, ptr %28, align 8
%1274 = load double, ptr %36, align 8
%1275 = fmul double %1273, %1274
%1276 = call double @llvm.fmuladd.f64(double %1271, double %1272, double %1275)
store double %1276, ptr %28, align 8
%1277 = load double, ptr %37, align 8
%1278 = load double, ptr %31, align 8
%1279 = fmul double %1277, %1278
store double %1279, ptr %34, align 8
%1280 = load double, ptr %37, align 8
%1281 = load double, ptr %36, align 8
%1282 = fmul double %1280, %1281
store double %1282, ptr %37, align 8
store i32 0, ptr %23, align 4
%1283 = load i32, ptr %23, align 4
%1284 = load i32, ptr %11, align 4
%1285 = icmp slt i32 %1283, %1284
br i1 %1285, label %.lr.ph89, label %1340
.lr.ph89: ; preds = %1263
br label %1286
1286: ; preds = %.lr.ph89, %1334
%1287 = load ptr, ptr %16, align 8
%1288 = load i32, ptr %23, align 4
%1289 = load i32, ptr %13, align 4
%1290 = mul nsw i32 %1288, %1289
%1291 = load i32, ptr %26, align 4
%1292 = add nsw i32 %1290, %1291
%1293 = sext i32 %1292 to i64
%1294 = getelementptr inbounds double, ptr %1287, i64 %1293
%1295 = load double, ptr %1294, align 8
store double %1295, ptr %32, align 8
%1296 = load ptr, ptr %16, align 8
%1297 = load i32, ptr %23, align 4
%1298 = load i32, ptr %13, align 4
%1299 = mul nsw i32 %1297, %1298
%1300 = load i32, ptr %21, align 4
%1301 = add nsw i32 %1299, %1300
%1302 = sext i32 %1301 to i64
%1303 = getelementptr inbounds double, ptr %1296, i64 %1302
%1304 = load double, ptr %1303, align 8
store double %1304, ptr %38, align 8
%1305 = load double, ptr %32, align 8
%1306 = load double, ptr %36, align 8
%1307 = load double, ptr %38, align 8
%1308 = load double, ptr %31, align 8
%1309 = fmul double %1307, %1308
%1310 = call double @llvm.fmuladd.f64(double %1305, double %1306, double %1309)
%1311 = load ptr, ptr %16, align 8
%1312 = load i32, ptr %23, align 4
%1313 = load i32, ptr %13, align 4
%1314 = mul nsw i32 %1312, %1313
%1315 = load i32, ptr %26, align 4
%1316 = add nsw i32 %1314, %1315
%1317 = sext i32 %1316 to i64
%1318 = getelementptr inbounds double, ptr %1311, i64 %1317
store double %1310, ptr %1318, align 8
%1319 = load double, ptr %32, align 8
%1320 = fneg double %1319
%1321 = load double, ptr %31, align 8
%1322 = load double, ptr %38, align 8
%1323 = load double, ptr %36, align 8
%1324 = fmul double %1322, %1323
%1325 = call double @llvm.fmuladd.f64(double %1320, double %1321, double %1324)
%1326 = load ptr, ptr %16, align 8
%1327 = load i32, ptr %23, align 4
%1328 = load i32, ptr %13, align 4
%1329 = mul nsw i32 %1327, %1328
%1330 = load i32, ptr %21, align 4
%1331 = add nsw i32 %1329, %1330
%1332 = sext i32 %1331 to i64
%1333 = getelementptr inbounds double, ptr %1326, i64 %1332
store double %1325, ptr %1333, align 8
br label %1334
1334: ; preds = %1286
%1335 = load i32, ptr %23, align 4
%1336 = add nsw i32 %1335, 1
store i32 %1336, ptr %23, align 4
%1337 = load i32, ptr %23, align 4
%1338 = load i32, ptr %11, align 4
%1339 = icmp slt i32 %1337, %1338
br i1 %1339, label %1286, label %._crit_edge90, !llvm.loop !38
._crit_edge90: ; preds = %1334
br label %1340
1340: ; preds = %._crit_edge90, %1263
%1341 = load double, ptr %33, align 8
%1342 = load double, ptr %34, align 8
%1343 = call i32 @rms(double noundef %1341, double noundef %1342)
%1344 = sitofp i32 %1343 to double
store double %1344, ptr %38, align 8
%1345 = load double, ptr %38, align 8
%1346 = load ptr, ptr %15, align 8
%1347 = load i32, ptr %26, align 4
%1348 = sext i32 %1347 to i64
%1349 = getelementptr inbounds double, ptr %1346, i64 %1348
store double %1345, ptr %1349, align 8
%1350 = load double, ptr %38, align 8
%1351 = fcmp une double %1350, 0.000000e+00
br i1 %1351, label %1352, label %1359
1352: ; preds = %1340
%1353 = load double, ptr %33, align 8
%1354 = load double, ptr %38, align 8
%1355 = fdiv double %1353, %1354
store double %1355, ptr %36, align 8
%1356 = load double, ptr %34, align 8
%1357 = load double, ptr %38, align 8
%1358 = fdiv double %1356, %1357
store double %1358, ptr %31, align 8
br label %1359
1359: ; preds = %1352, %1340
%1360 = load double, ptr %36, align 8
%1361 = load double, ptr %28, align 8
%1362 = load double, ptr %31, align 8
%1363 = load double, ptr %37, align 8
%1364 = fmul double %1362, %1363
%1365 = call double @llvm.fmuladd.f64(double %1360, double %1361, double %1364)
store double %1365, ptr %33, align 8
%1366 = load double, ptr %31, align 8
%1367 = fneg double %1366
%1368 = load double, ptr %28, align 8
%1369 = load double, ptr %36, align 8
%1370 = load double, ptr %37, align 8
%1371 = fmul double %1369, %1370
%1372 = call double @llvm.fmuladd.f64(double %1367, double %1368, double %1371)
store double %1372, ptr %32, align 8
store i32 0, ptr %23, align 4
%1373 = load i32, ptr %23, align 4
%1374 = load i32, ptr %10, align 4
%1375 = icmp slt i32 %1373, %1374
br i1 %1375, label %.lr.ph92, label %1430
.lr.ph92: ; preds = %1359
br label %1376
1376: ; preds = %.lr.ph92, %1424
%1377 = load ptr, ptr %14, align 8
%1378 = load i32, ptr %23, align 4
%1379 = load i32, ptr %13, align 4
%1380 = mul nsw i32 %1378, %1379
%1381 = load i32, ptr %26, align 4
%1382 = add nsw i32 %1380, %1381
%1383 = sext i32 %1382 to i64
%1384 = getelementptr inbounds double, ptr %1377, i64 %1383
%1385 = load double, ptr %1384, align 8
store double %1385, ptr %37, align 8
%1386 = load ptr, ptr %14, align 8
%1387 = load i32, ptr %23, align 4
%1388 = load i32, ptr %13, align 4
%1389 = mul nsw i32 %1387, %1388
%1390 = load i32, ptr %21, align 4
%1391 = add nsw i32 %1389, %1390
%1392 = sext i32 %1391 to i64
%1393 = getelementptr inbounds double, ptr %1386, i64 %1392
%1394 = load double, ptr %1393, align 8
store double %1394, ptr %38, align 8
%1395 = load double, ptr %37, align 8
%1396 = load double, ptr %36, align 8
%1397 = load double, ptr %38, align 8
%1398 = load double, ptr %31, align 8
%1399 = fmul double %1397, %1398
%1400 = call double @llvm.fmuladd.f64(double %1395, double %1396, double %1399)
%1401 = load ptr, ptr %14, align 8
%1402 = load i32, ptr %23, align 4
%1403 = load i32, ptr %13, align 4
%1404 = mul nsw i32 %1402, %1403
%1405 = load i32, ptr %26, align 4
%1406 = add nsw i32 %1404, %1405
%1407 = sext i32 %1406 to i64
%1408 = getelementptr inbounds double, ptr %1401, i64 %1407
store double %1400, ptr %1408, align 8
%1409 = load double, ptr %37, align 8
%1410 = fneg double %1409
%1411 = load double, ptr %31, align 8
%1412 = load double, ptr %38, align 8
%1413 = load double, ptr %36, align 8
%1414 = fmul double %1412, %1413
%1415 = call double @llvm.fmuladd.f64(double %1410, double %1411, double %1414)
%1416 = load ptr, ptr %14, align 8
%1417 = load i32, ptr %23, align 4
%1418 = load i32, ptr %13, align 4
%1419 = mul nsw i32 %1417, %1418
%1420 = load i32, ptr %21, align 4
%1421 = add nsw i32 %1419, %1420
%1422 = sext i32 %1421 to i64
%1423 = getelementptr inbounds double, ptr %1416, i64 %1422
store double %1415, ptr %1423, align 8
br label %1424
1424: ; preds = %1376
%1425 = load i32, ptr %23, align 4
%1426 = add nsw i32 %1425, 1
store i32 %1426, ptr %23, align 4
%1427 = load i32, ptr %23, align 4
%1428 = load i32, ptr %10, align 4
%1429 = icmp slt i32 %1427, %1428
br i1 %1429, label %1376, label %._crit_edge93, !llvm.loop !39
._crit_edge93: ; preds = %1424
br label %1430
1430: ; preds = %._crit_edge93, %1359
br label %1431
1431: ; preds = %1430
%1432 = load i32, ptr %26, align 4
%1433 = add nsw i32 %1432, 1
store i32 %1433, ptr %26, align 4
%1434 = load i32, ptr %26, align 4
%1435 = load i32, ptr %24, align 4
%1436 = icmp sle i32 %1434, %1435
br i1 %1436, label %1225, label %._crit_edge96, !llvm.loop !40
._crit_edge96: ; preds = %1431
br label %1437
1437: ; preds = %._crit_edge96, %1211
%1438 = load ptr, ptr %17, align 8
%1439 = load i32, ptr %19, align 4
%1440 = sext i32 %1439 to i64
%1441 = getelementptr inbounds double, ptr %1438, i64 %1440
store double 0.000000e+00, ptr %1441, align 8
%1442 = load double, ptr %33, align 8
%1443 = load ptr, ptr %17, align 8
%1444 = load i32, ptr %22, align 4
%1445 = sext i32 %1444 to i64
%1446 = getelementptr inbounds double, ptr %1443, i64 %1445
store double %1442, ptr %1446, align 8
%1447 = load double, ptr %32, align 8
%1448 = load ptr, ptr %15, align 8
%1449 = load i32, ptr %22, align 4
%1450 = sext i32 %1449 to i64
%1451 = getelementptr inbounds double, ptr %1448, i64 %1450
store double %1447, ptr %1451, align 8
br label %1452
1452: ; preds = %1437
br label %1453
1453: ; preds = %1452
%1454 = load i32, ptr %25, align 4
%1455 = add nsw i32 %1454, 1
store i32 %1455, ptr %25, align 4
%1456 = load i32, ptr %25, align 4
%1457 = icmp sle i32 %1456, 30
br i1 %1457, label %945, label %..loopexit2_crit_edge, !llvm.loop !41
..loopexit2_crit_edge: ; preds = %1453
br label %.loopexit2
.loopexit2: ; preds = %..loopexit2_crit_edge, %940
br label %1458
1458: ; preds = %.loopexit2, %1134
br label %1459
1459: ; preds = %1458
%1460 = load i32, ptr %22, align 4
%1461 = add nsw i32 %1460, -1
store i32 %1461, ptr %22, align 4
%1462 = load i32, ptr %22, align 4
%1463 = icmp sge i32 %1462, 0
br i1 %1463, label %940, label %._crit_edge104, !llvm.loop !42
._crit_edge104: ; preds = %1459
br label %1464
1464: ; preds = %._crit_edge104, %935
br label %1465
1465: ; preds = %1464, %50
ret void
}
declare i32 @fabs(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #3
declare i32 @rms(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
!23 = distinct !{!23, !7}
!24 = distinct !{!24, !7}
!25 = distinct !{!25, !7}
!26 = distinct !{!26, !7}
!27 = distinct !{!27, !7}
!28 = distinct !{!28, !7}
!29 = distinct !{!29, !7}
!30 = distinct !{!30, !7}
!31 = distinct !{!31, !7}
!32 = distinct !{!32, !7}
!33 = distinct !{!33, !7}
!34 = distinct !{!34, !7}
!35 = distinct !{!35, !7}
!36 = distinct !{!36, !7}
!37 = distinct !{!37, !7}
!38 = distinct !{!38, !7}
!39 = distinct !{!39, !7}
!40 = distinct !{!40, !7}
!41 = distinct !{!41, !7}
!42 = distinct !{!42, !7}
|
; ModuleID = '/tmp/tmpyqdur7uf.c'
source_filename = "/tmp/tmpyqdur7uf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@m_version.rcsid = internal global [56 x i8] c"$Id: version.c,v 1.11 2004/01/17 17:50:13 rfranke Exp $\00", align 16
@.str = private unnamed_addr constant [37 x i8] c"Meshach matrix library version 1.2b\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"RCS id: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"Changes since 1.2a:\0A\00", align 1
@.str.3 = private unnamed_addr constant [56 x i8] c"\09 Fixed bug in schur() for 2x2 blocks with real e-vals\0A\00", align 1
@.str.4 = private unnamed_addr constant [52 x i8] c"\09 Fixed bug in schur() reading beyond end of array\0A\00", align 1
@.str.5 = private unnamed_addr constant [32 x i8] c"\09 Fixed some installation bugs\0A\00", align 1
@.str.6 = private unnamed_addr constant [53 x i8] c"\09 Fixed bugs & improved efficiency in spILUfactor()\0A\00", align 1
@.str.7 = private unnamed_addr constant [53 x i8] c"\09 px_inv() doesn't crash inverting non-permutations\0A\00", align 1
@.str.8 = private unnamed_addr constant [41 x i8] c"Changes made by Ruediger Franke for HQP\0A\00", align 1
@.str.9 = private unnamed_addr constant [60 x i8] c"\09matrix.h, sparse.h: brought function prototypes to ANSI C\0A\00", align 1
@.str.10 = private unnamed_addr constant [76 x i8] c"\09matrix.h: increased MAXDIM to M_MAX_INT to work around a bug in iv_free()\0A\00", align 1
@.str.11 = private unnamed_addr constant [64 x i8] c"\09vecop.c, v_resize(): fixed memory allocation bug for dim == 0\0A\00", align 1
@.str.12 = private unnamed_addr constant [51 x i8] c"\09pxop.c, pxinv_vec(): replaced with a new version\0A\00", align 1
@.str.13 = private unnamed_addr constant [98 x i8] c"\09machine.h: introduced defining SPARSE_COL_ACCESS for conditional compilation of column accesses\0A\00", align 1
@.str.14 = private unnamed_addr constant [106 x i8] c"\09sparse.h, sparse.c, sparseio.c, sprow.c: excluded code for column accesses with conditional compilation\0A\00", align 1
@.str.15 = private unnamed_addr constant [84 x i8] c"\09makefile: excluded spchfctr.o, splufctr.o, spbkp.o, and spswap.o from the library\0A\00", align 1
@.str.16 = private unnamed_addr constant [95 x i8] c"\09copy.c: _m_copy(), _v_copy() call resize() for any changing dimension, not only for increase\0A\00", align 1
@.str.17 = private unnamed_addr constant [103 x i8] c"\09matrixio.c: bm_finput(), bfin_vec(): call resize() for changing dimension, not only for NULL pointer\0A\00", align 1
@.str.18 = private unnamed_addr constant [96 x i8] c"\09sparse.h, sparsdef.h: replaced pair with SPPAIR to avoid name conflict with STL (Par Winzell)\0A\00", align 1
@.str.19 = private unnamed_addr constant [120 x i8] c"\09hessen.c, Hfactor: check for numerical overflow after call to hvec() in hsehldr.c to avoid infinite loop in symmeig()\0A\00", align 1
@.str.20 = private unnamed_addr constant [64 x i8] c"\09move err.h to m_err.h (name conflict with /usr/include/err.h)\0A\00", align 1
@.str.21 = private unnamed_addr constant [73 x i8] c"\09m_err.h: rename macro \22catch\22 to \22m_catch\22 (conflict with C++ keyword)\0A\00", align 1
@.str.22 = private unnamed_addr constant [107 x i8] c"\09matrix.h, matdef.h: allocate at least 1 element in NEW_A (as some c/malloc's return NULL for 0 elements)\0A\00", align 1
@.str.23 = private unnamed_addr constant [53 x i8] c"\09makefile: add splufctr to list of compiled objects\0A\00", align 1
@.str.24 = private unnamed_addr constant [83 x i8] c"\09splufctr.c: disable spLUfactor, spLUTsolve and spILUfactor via SPARSE_COL_ACCESS\0A\00", align 1
@.str.25 = private unnamed_addr constant [75 x i8] c"\09rename m_err.h back to err.h, as includes are bundled in meschach subdir\0A\00", align 1
@.str.26 = private unnamed_addr constant [101 x i8] c"\09err.h, matdef.h: prepend m_ to macros error, warning, catchall, tracecatch to avoid name conflicts\0A\00", align 1
@.str.27 = private unnamed_addr constant [40 x i8] c"\09other files: adapt to new macro names\0A\00", align 1
@.str.28 = private unnamed_addr constant [46 x i8] c"\09norm.c, znorm.c: take out definition of max\0A\00", align 1
@.str.29 = private unnamed_addr constant [64 x i8] c"\09*.h: use MESCH__BEGIN/END_DECLS (extern \22C\22) for declarations\0A\00", align 1
@.str.30 = private unnamed_addr constant [111 x i8] c"\09Further adaptations to ANSI C; remove TRADITIONAL; prepend m_ to macros error, warning, catchall, tracecatch\0A\00", align 1
@.str.31 = private unnamed_addr constant [61 x i8] c"\09Introduce configurable MESCH_API instead of keyword extern\0A\00", align 1
@.str.32 = private unnamed_addr constant [64 x i8] c"\09Meschach add-ons from the Hqp project: addon_hqp, spaddon_hqp\0A\00", align 1
@.str.33 = private unnamed_addr constant [44 x i8] c"\09matop.c: fixed in-situ bug in ms_mltadd()\0A\00", align 1
@.str.34 = private unnamed_addr constant [66 x i8] c"\09err.h, err.c: introduce m_error_message and m_error_description\0A\00", align 1
@.str.35 = private unnamed_addr constant [62 x i8] c"\09machine.h: call memmove and memset only for block sizes > 0\0A\00", align 1
@.str.36 = private unnamed_addr constant [50 x i8] c"\09matrix.h: re-allocate blocks to at least size 1\0A\00", align 1
@.str.37 = private unnamed_addr constant [67 x i8] c"\09sparse.c: fix memory leak in sp_free and truncation in sp_resize\0A\00", align 1
@.str.38 = private unnamed_addr constant [35 x i8] c"\09bdfactor.c: bd_resize, bd_transp\0A\00", align 1
@.str.39 = private unnamed_addr constant [38 x i8] c"\09copy.c: check for in-situ in m_move\0A\00", align 1
@.str.40 = private unnamed_addr constant [40 x i8] c"\09fft.c: correct scaling factor in ifft\0A\00", align 1
@.str.41 = private unnamed_addr constant [33 x i8] c"\09init.c: use __zero__ in m_zero\0A\00", align 1
@.str.42 = private unnamed_addr constant [43 x i8] c"\09lufactor.c: fix memory leak in m_inverse\0A\00", align 1
@.str.43 = private unnamed_addr constant [108 x i8] c"\09machine.c: new loop unrolling implementation for __sub__, __add__, __smlt__, __mltadd__, __ip__, __zero__\0A\00", align 1
@.str.44 = private unnamed_addr constant [48 x i8] c"\09matlab.c: correct m_save for ORDER==COL_ORDER\0A\00", align 1
@.str.45 = private unnamed_addr constant [61 x i8] c"\09matop.c: swap rows in swap_rows, swap columns in swap_cols\0A\00", align 1
@.str.46 = private unnamed_addr constant [47 x i8] c"\09pxop.c: fix memory leaks in px_cols, px_rows\0A\00", align 1
@.str.47 = private unnamed_addr constant [49 x i8] c"\09qrfactor.c: add matrix size check in QRcondest\0A\00", align 1
@.str.48 = private unnamed_addr constant [48 x i8] c"\09solve.c: correct loop end condition in Dsolve\0A\00", align 1
@.str.49 = private unnamed_addr constant [55 x i8] c"\09vecop.c: handle in-situ case v1==v2==out in v_mltadd\0A\00", align 1
@.str.50 = private unnamed_addr constant [36 x i8] c"\09(various): replace double by Real\0A\00", align 1
@.str.51 = private unnamed_addr constant [37 x i8] c"\09(various): explicit typecast (int)\0A\00", align 1
@.str.52 = private unnamed_addr constant [81 x i8] c"\09machine.h, matdef.h, spbkp.c: remove use of deprecated malloc.h (use stdlib.h)\0A\00", align 1
@.str.53 = private unnamed_addr constant [77 x i8] c"\09matdef.h: remove definition of MAXDIM to 2001 (see definition in matrix.h)\0A\00", align 1
@.str.54 = private unnamed_addr constant [86 x i8] c"\09matdef.h: remove duplicate definition of NEW and RENEW (see definition in matrix.h)\0A\00", align 1
@.str.55 = private unnamed_addr constant [41 x i8] c"\09sparse.c: fix memory leak in sp_resize\0A\00", align 1
@.str.56 = private unnamed_addr constant [50 x i8] c"\09addon2_hqp.[hc]: more Meschach add-ons from Hqp\0A\00", align 1
@.str.57 = private unnamed_addr constant [63 x i8] c"\09err.c: remove unused functions float_error() and catch_FPE()\0A\00", align 1
@.str.58 = private unnamed_addr constant [47 x i8] c"\09err.[hc]: rename global restart to m_restart\0A\00", align 1
@.str.59 = private unnamed_addr constant [43 x i8] c"\09(various): include unistd.h for isatty()\0A\00", align 1
@.str.60 = private unnamed_addr constant [37 x i8] c"\09(various): typecast (long long)ptr\0A\00", align 1
@.str.61 = private unnamed_addr constant [55 x i8] c"\09(various): handle unused result of fscanf(), fread()\0A\00", align 1
@.str.62 = private unnamed_addr constant [70 x i8] c"\09matrix.h, submat.c: make get_row/col macros, similar to set_row/col\0A\00", align 1
@.str.63 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @m_version() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @m_version.rcsid)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.20)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.21)
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.22)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.23)
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.24)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.25)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.26)
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.27)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.28)
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.29)
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.30)
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.31)
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.32)
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.33)
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.34)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.35)
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.36)
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.37)
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.38)
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.39)
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.40)
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.41)
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.42)
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.43)
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.44)
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.45)
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.46)
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.47)
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.48)
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.49)
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.50)
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.51)
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.52)
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.53)
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.54)
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.55)
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.56)
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.57)
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.58)
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.59)
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.60)
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.61)
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.62)
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.63)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyqdur7uf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@m_version.rcsid = internal global [56 x i8] c"$Id: version.c,v 1.11 2004/01/17 17:50:13 rfranke Exp $\00", align 16
@.str = private unnamed_addr constant [37 x i8] c"Meshach matrix library version 1.2b\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"RCS id: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"Changes since 1.2a:\0A\00", align 1
@.str.3 = private unnamed_addr constant [56 x i8] c"\09 Fixed bug in schur() for 2x2 blocks with real e-vals\0A\00", align 1
@.str.4 = private unnamed_addr constant [52 x i8] c"\09 Fixed bug in schur() reading beyond end of array\0A\00", align 1
@.str.5 = private unnamed_addr constant [32 x i8] c"\09 Fixed some installation bugs\0A\00", align 1
@.str.6 = private unnamed_addr constant [53 x i8] c"\09 Fixed bugs & improved efficiency in spILUfactor()\0A\00", align 1
@.str.7 = private unnamed_addr constant [53 x i8] c"\09 px_inv() doesn't crash inverting non-permutations\0A\00", align 1
@.str.8 = private unnamed_addr constant [41 x i8] c"Changes made by Ruediger Franke for HQP\0A\00", align 1
@.str.9 = private unnamed_addr constant [60 x i8] c"\09matrix.h, sparse.h: brought function prototypes to ANSI C\0A\00", align 1
@.str.10 = private unnamed_addr constant [76 x i8] c"\09matrix.h: increased MAXDIM to M_MAX_INT to work around a bug in iv_free()\0A\00", align 1
@.str.11 = private unnamed_addr constant [64 x i8] c"\09vecop.c, v_resize(): fixed memory allocation bug for dim == 0\0A\00", align 1
@.str.12 = private unnamed_addr constant [51 x i8] c"\09pxop.c, pxinv_vec(): replaced with a new version\0A\00", align 1
@.str.13 = private unnamed_addr constant [98 x i8] c"\09machine.h: introduced defining SPARSE_COL_ACCESS for conditional compilation of column accesses\0A\00", align 1
@.str.14 = private unnamed_addr constant [106 x i8] c"\09sparse.h, sparse.c, sparseio.c, sprow.c: excluded code for column accesses with conditional compilation\0A\00", align 1
@.str.15 = private unnamed_addr constant [84 x i8] c"\09makefile: excluded spchfctr.o, splufctr.o, spbkp.o, and spswap.o from the library\0A\00", align 1
@.str.16 = private unnamed_addr constant [95 x i8] c"\09copy.c: _m_copy(), _v_copy() call resize() for any changing dimension, not only for increase\0A\00", align 1
@.str.17 = private unnamed_addr constant [103 x i8] c"\09matrixio.c: bm_finput(), bfin_vec(): call resize() for changing dimension, not only for NULL pointer\0A\00", align 1
@.str.18 = private unnamed_addr constant [96 x i8] c"\09sparse.h, sparsdef.h: replaced pair with SPPAIR to avoid name conflict with STL (Par Winzell)\0A\00", align 1
@.str.19 = private unnamed_addr constant [120 x i8] c"\09hessen.c, Hfactor: check for numerical overflow after call to hvec() in hsehldr.c to avoid infinite loop in symmeig()\0A\00", align 1
@.str.20 = private unnamed_addr constant [64 x i8] c"\09move err.h to m_err.h (name conflict with /usr/include/err.h)\0A\00", align 1
@.str.21 = private unnamed_addr constant [73 x i8] c"\09m_err.h: rename macro \22catch\22 to \22m_catch\22 (conflict with C++ keyword)\0A\00", align 1
@.str.22 = private unnamed_addr constant [107 x i8] c"\09matrix.h, matdef.h: allocate at least 1 element in NEW_A (as some c/malloc's return NULL for 0 elements)\0A\00", align 1
@.str.23 = private unnamed_addr constant [53 x i8] c"\09makefile: add splufctr to list of compiled objects\0A\00", align 1
@.str.24 = private unnamed_addr constant [83 x i8] c"\09splufctr.c: disable spLUfactor, spLUTsolve and spILUfactor via SPARSE_COL_ACCESS\0A\00", align 1
@.str.25 = private unnamed_addr constant [75 x i8] c"\09rename m_err.h back to err.h, as includes are bundled in meschach subdir\0A\00", align 1
@.str.26 = private unnamed_addr constant [101 x i8] c"\09err.h, matdef.h: prepend m_ to macros error, warning, catchall, tracecatch to avoid name conflicts\0A\00", align 1
@.str.27 = private unnamed_addr constant [40 x i8] c"\09other files: adapt to new macro names\0A\00", align 1
@.str.28 = private unnamed_addr constant [46 x i8] c"\09norm.c, znorm.c: take out definition of max\0A\00", align 1
@.str.29 = private unnamed_addr constant [64 x i8] c"\09*.h: use MESCH__BEGIN/END_DECLS (extern \22C\22) for declarations\0A\00", align 1
@.str.30 = private unnamed_addr constant [111 x i8] c"\09Further adaptations to ANSI C; remove TRADITIONAL; prepend m_ to macros error, warning, catchall, tracecatch\0A\00", align 1
@.str.31 = private unnamed_addr constant [61 x i8] c"\09Introduce configurable MESCH_API instead of keyword extern\0A\00", align 1
@.str.32 = private unnamed_addr constant [64 x i8] c"\09Meschach add-ons from the Hqp project: addon_hqp, spaddon_hqp\0A\00", align 1
@.str.33 = private unnamed_addr constant [44 x i8] c"\09matop.c: fixed in-situ bug in ms_mltadd()\0A\00", align 1
@.str.34 = private unnamed_addr constant [66 x i8] c"\09err.h, err.c: introduce m_error_message and m_error_description\0A\00", align 1
@.str.35 = private unnamed_addr constant [62 x i8] c"\09machine.h: call memmove and memset only for block sizes > 0\0A\00", align 1
@.str.36 = private unnamed_addr constant [50 x i8] c"\09matrix.h: re-allocate blocks to at least size 1\0A\00", align 1
@.str.37 = private unnamed_addr constant [67 x i8] c"\09sparse.c: fix memory leak in sp_free and truncation in sp_resize\0A\00", align 1
@.str.38 = private unnamed_addr constant [35 x i8] c"\09bdfactor.c: bd_resize, bd_transp\0A\00", align 1
@.str.39 = private unnamed_addr constant [38 x i8] c"\09copy.c: check for in-situ in m_move\0A\00", align 1
@.str.40 = private unnamed_addr constant [40 x i8] c"\09fft.c: correct scaling factor in ifft\0A\00", align 1
@.str.41 = private unnamed_addr constant [33 x i8] c"\09init.c: use __zero__ in m_zero\0A\00", align 1
@.str.42 = private unnamed_addr constant [43 x i8] c"\09lufactor.c: fix memory leak in m_inverse\0A\00", align 1
@.str.43 = private unnamed_addr constant [108 x i8] c"\09machine.c: new loop unrolling implementation for __sub__, __add__, __smlt__, __mltadd__, __ip__, __zero__\0A\00", align 1
@.str.44 = private unnamed_addr constant [48 x i8] c"\09matlab.c: correct m_save for ORDER==COL_ORDER\0A\00", align 1
@.str.45 = private unnamed_addr constant [61 x i8] c"\09matop.c: swap rows in swap_rows, swap columns in swap_cols\0A\00", align 1
@.str.46 = private unnamed_addr constant [47 x i8] c"\09pxop.c: fix memory leaks in px_cols, px_rows\0A\00", align 1
@.str.47 = private unnamed_addr constant [49 x i8] c"\09qrfactor.c: add matrix size check in QRcondest\0A\00", align 1
@.str.48 = private unnamed_addr constant [48 x i8] c"\09solve.c: correct loop end condition in Dsolve\0A\00", align 1
@.str.49 = private unnamed_addr constant [55 x i8] c"\09vecop.c: handle in-situ case v1==v2==out in v_mltadd\0A\00", align 1
@.str.50 = private unnamed_addr constant [36 x i8] c"\09(various): replace double by Real\0A\00", align 1
@.str.51 = private unnamed_addr constant [37 x i8] c"\09(various): explicit typecast (int)\0A\00", align 1
@.str.52 = private unnamed_addr constant [81 x i8] c"\09machine.h, matdef.h, spbkp.c: remove use of deprecated malloc.h (use stdlib.h)\0A\00", align 1
@.str.53 = private unnamed_addr constant [77 x i8] c"\09matdef.h: remove definition of MAXDIM to 2001 (see definition in matrix.h)\0A\00", align 1
@.str.54 = private unnamed_addr constant [86 x i8] c"\09matdef.h: remove duplicate definition of NEW and RENEW (see definition in matrix.h)\0A\00", align 1
@.str.55 = private unnamed_addr constant [41 x i8] c"\09sparse.c: fix memory leak in sp_resize\0A\00", align 1
@.str.56 = private unnamed_addr constant [50 x i8] c"\09addon2_hqp.[hc]: more Meschach add-ons from Hqp\0A\00", align 1
@.str.57 = private unnamed_addr constant [63 x i8] c"\09err.c: remove unused functions float_error() and catch_FPE()\0A\00", align 1
@.str.58 = private unnamed_addr constant [47 x i8] c"\09err.[hc]: rename global restart to m_restart\0A\00", align 1
@.str.59 = private unnamed_addr constant [43 x i8] c"\09(various): include unistd.h for isatty()\0A\00", align 1
@.str.60 = private unnamed_addr constant [37 x i8] c"\09(various): typecast (long long)ptr\0A\00", align 1
@.str.61 = private unnamed_addr constant [55 x i8] c"\09(various): handle unused result of fscanf(), fread()\0A\00", align 1
@.str.62 = private unnamed_addr constant [70 x i8] c"\09matrix.h, submat.c: make get_row/col macros, similar to set_row/col\0A\00", align 1
@.str.63 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @m_version() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @m_version.rcsid)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.20)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.21)
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.22)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.23)
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.24)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.25)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.26)
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.27)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.28)
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.29)
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.30)
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.31)
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.32)
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.33)
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.34)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.35)
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.36)
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.37)
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.38)
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.39)
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.40)
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.41)
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.42)
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.43)
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.44)
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.45)
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.46)
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.47)
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.48)
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.49)
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.50)
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.51)
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.52)
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.53)
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.54)
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.55)
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.56)
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.57)
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.58)
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.59)
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.60)
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.61)
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.62)
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.63)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx3br08wj.c'
source_filename = "/tmp/tmpx3br08wj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @checkkeypress(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = call i32 (...) @clearkbdbuf()
store i32 0, ptr %6, align 4
br label %8
8: ; preds = %19, %2
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %22
12: ; preds = %8
%13 = call i64 (...) @checkkbdbuf()
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %12
store i32 1, ptr %3, align 4
br label %23
16: ; preds = %12
%17 = load i32, ptr %4, align 4
%18 = call i32 @sleep(i32 noundef %17)
br label %19
19: ; preds = %16
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %6, align 4
br label %8, !llvm.loop !6
22: ; preds = %8
store i32 0, ptr %3, align 4
br label %23
23: ; preds = %22, %15
%24 = load i32, ptr %3, align 4
ret i32 %24
}
declare i32 @clearkbdbuf(...) #1
declare i64 @checkkbdbuf(...) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx3br08wj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @checkkeypress(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = call i32 (...) @clearkbdbuf()
store i32 0, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %24
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %18
%12 = call i64 (...) @checkkbdbuf()
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %11
store i32 1, ptr %3, align 4
br label %25
15: ; preds = %11
%16 = load i32, ptr %4, align 4
%17 = call i32 @sleep(i32 noundef %16)
br label %18
18: ; preds = %15
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %5, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %2
store i32 0, ptr %3, align 4
br label %25
25: ; preds = %24, %14
%26 = load i32, ptr %3, align 4
ret i32 %26
}
declare i32 @clearkbdbuf(...) #1
declare i64 @checkkbdbuf(...) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2az5v627.c'
source_filename = "/tmp/tmp2az5v627.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2az5v627.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiya1jm_e.c'
source_filename = "/tmp/tmpiya1jm_e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [9999 x i32], align 16
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %6
6: ; preds = %79, %0
%7 = call i64 @scanf(ptr noundef @.str, ptr noundef %2)
%8 = load i64, ptr @EOF, align 8
%9 = icmp ne i64 %7, %8
br i1 %9, label %10, label %80
10: ; preds = %6
%11 = load i32, ptr %2, align 4
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %10
br label %80
14: ; preds = %10
%15 = getelementptr inbounds [9999 x i32], ptr %4, i64 0, i64 0
store i32 1, ptr %15, align 16
%16 = getelementptr inbounds [9999 x i32], ptr %4, i64 0, i64 1
store i32 2, ptr %16, align 4
%17 = getelementptr inbounds [9999 x i32], ptr %4, i64 0, i64 2
store i32 3, ptr %17, align 8
%18 = getelementptr inbounds [9999 x i32], ptr %4, i64 0, i64 3
store i32 4, ptr %18, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp eq i32 %19, 1
br i1 %20, label %21, label %25
21: ; preds = %14
%22 = getelementptr inbounds [9999 x i32], ptr %4, i64 0, i64 0
%23 = load i32, ptr %22, align 16
%24 = call i32 @printf(ptr noundef @.str.1, i32 noundef %23)
br label %79
25: ; preds = %14
%26 = load i32, ptr %2, align 4
%27 = icmp eq i32 %26, 2
br i1 %27, label %28, label %32
28: ; preds = %25
%29 = getelementptr inbounds [9999 x i32], ptr %4, i64 0, i64 1
%30 = load i32, ptr %29, align 4
%31 = call i32 @printf(ptr noundef @.str.1, i32 noundef %30)
br label %78
32: ; preds = %25
%33 = load i32, ptr %2, align 4
%34 = icmp eq i32 %33, 3
br i1 %34, label %35, label %39
35: ; preds = %32
%36 = getelementptr inbounds [9999 x i32], ptr %4, i64 0, i64 2
%37 = load i32, ptr %36, align 8
%38 = call i32 @printf(ptr noundef @.str.1, i32 noundef %37)
br label %77
39: ; preds = %32
%40 = load i32, ptr %2, align 4
%41 = icmp eq i32 %40, 4
br i1 %41, label %42, label %46
42: ; preds = %39
%43 = getelementptr inbounds [9999 x i32], ptr %4, i64 0, i64 3
%44 = load i32, ptr %43, align 4
%45 = call i32 @printf(ptr noundef @.str.1, i32 noundef %44)
br label %76
46: ; preds = %39
store i32 0, ptr %5, align 4
store i32 4, ptr %3, align 4
br label %47
47: ; preds = %66, %46
%48 = load i32, ptr %3, align 4
%49 = load i32, ptr %2, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %51, label %69
51: ; preds = %47
%52 = load i32, ptr %3, align 4
%53 = sub nsw i32 %52, 1
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [9999 x i32], ptr %4, i64 0, i64 %54
%56 = load i32, ptr %55, align 4
%57 = load i32, ptr %3, align 4
%58 = sub nsw i32 %57, 3
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [9999 x i32], ptr %4, i64 0, i64 %59
%61 = load i32, ptr %60, align 4
%62 = add nsw i32 %56, %61
%63 = load i32, ptr %3, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [9999 x i32], ptr %4, i64 0, i64 %64
store i32 %62, ptr %65, align 4
br label %66
66: ; preds = %51
%67 = load i32, ptr %3, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %3, align 4
br label %47, !llvm.loop !6
69: ; preds = %47
%70 = load i32, ptr %2, align 4
%71 = sub nsw i32 %70, 1
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [9999 x i32], ptr %4, i64 0, i64 %72
%74 = load i32, ptr %73, align 4
%75 = call i32 @printf(ptr noundef @.str.1, i32 noundef %74)
br label %76
76: ; preds = %69, %42
br label %77
77: ; preds = %76, %35
br label %78
78: ; preds = %77, %28
br label %79
79: ; preds = %78, %21
br label %6, !llvm.loop !8
80: ; preds = %13, %6
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiya1jm_e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [9999 x i32], align 16
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i64 @scanf(ptr noundef @.str, ptr noundef %2)
%7 = load i64, ptr @EOF, align 8
%8 = icmp ne i64 %6, %7
br i1 %8, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %0
br label %9
9: ; preds = %.lr.ph2, %80
%10 = load i32, ptr %2, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %9
br label %84
13: ; preds = %9
%14 = getelementptr inbounds [9999 x i32], ptr %4, i64 0, i64 0
store i32 1, ptr %14, align 16
%15 = getelementptr inbounds [9999 x i32], ptr %4, i64 0, i64 1
store i32 2, ptr %15, align 4
%16 = getelementptr inbounds [9999 x i32], ptr %4, i64 0, i64 2
store i32 3, ptr %16, align 8
%17 = getelementptr inbounds [9999 x i32], ptr %4, i64 0, i64 3
store i32 4, ptr %17, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp eq i32 %18, 1
br i1 %19, label %20, label %24
20: ; preds = %13
%21 = getelementptr inbounds [9999 x i32], ptr %4, i64 0, i64 0
%22 = load i32, ptr %21, align 16
%23 = call i32 @printf(ptr noundef @.str.1, i32 noundef %22)
br label %80
24: ; preds = %13
%25 = load i32, ptr %2, align 4
%26 = icmp eq i32 %25, 2
br i1 %26, label %27, label %31
27: ; preds = %24
%28 = getelementptr inbounds [9999 x i32], ptr %4, i64 0, i64 1
%29 = load i32, ptr %28, align 4
%30 = call i32 @printf(ptr noundef @.str.1, i32 noundef %29)
br label %79
31: ; preds = %24
%32 = load i32, ptr %2, align 4
%33 = icmp eq i32 %32, 3
br i1 %33, label %34, label %38
34: ; preds = %31
%35 = getelementptr inbounds [9999 x i32], ptr %4, i64 0, i64 2
%36 = load i32, ptr %35, align 8
%37 = call i32 @printf(ptr noundef @.str.1, i32 noundef %36)
br label %78
38: ; preds = %31
%39 = load i32, ptr %2, align 4
%40 = icmp eq i32 %39, 4
br i1 %40, label %41, label %45
41: ; preds = %38
%42 = getelementptr inbounds [9999 x i32], ptr %4, i64 0, i64 3
%43 = load i32, ptr %42, align 4
%44 = call i32 @printf(ptr noundef @.str.1, i32 noundef %43)
br label %77
45: ; preds = %38
store i32 0, ptr %5, align 4
store i32 4, ptr %3, align 4
%46 = load i32, ptr %3, align 4
%47 = load i32, ptr %2, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %.lr.ph, label %70
.lr.ph: ; preds = %45
br label %49
49: ; preds = %.lr.ph, %64
%50 = load i32, ptr %3, align 4
%51 = sub nsw i32 %50, 1
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [9999 x i32], ptr %4, i64 0, i64 %52
%54 = load i32, ptr %53, align 4
%55 = load i32, ptr %3, align 4
%56 = sub nsw i32 %55, 3
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [9999 x i32], ptr %4, i64 0, i64 %57
%59 = load i32, ptr %58, align 4
%60 = add nsw i32 %54, %59
%61 = load i32, ptr %3, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [9999 x i32], ptr %4, i64 0, i64 %62
store i32 %60, ptr %63, align 4
br label %64
64: ; preds = %49
%65 = load i32, ptr %3, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %3, align 4
%67 = load i32, ptr %3, align 4
%68 = load i32, ptr %2, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %49, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %64
br label %70
70: ; preds = %._crit_edge, %45
%71 = load i32, ptr %2, align 4
%72 = sub nsw i32 %71, 1
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [9999 x i32], ptr %4, i64 0, i64 %73
%75 = load i32, ptr %74, align 4
%76 = call i32 @printf(ptr noundef @.str.1, i32 noundef %75)
br label %77
77: ; preds = %70, %41
br label %78
78: ; preds = %77, %34
br label %79
79: ; preds = %78, %27
br label %80
80: ; preds = %79, %20
%81 = call i64 @scanf(ptr noundef @.str, ptr noundef %2)
%82 = load i64, ptr @EOF, align 8
%83 = icmp ne i64 %81, %82
br i1 %83, label %9, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %80
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %84
84: ; preds = %.loopexit, %12
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp8ftt9va0.c'
source_filename = "/tmp/tmp8ftt9va0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8ftt9va0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7ym_zrgb.c'
source_filename = "/tmp/tmp7ym_zrgb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @led_init() #0 {
%1 = call i32 @gpio_config(i32 noundef 9, i32 noundef 10, i32 noundef 1)
%2 = call i32 @gpio_config(i32 noundef 0, i32 noundef 20, i32 noundef 1)
ret void
}
declare i32 @gpio_config(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7ym_zrgb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @led_init() #0 {
%1 = call i32 @gpio_config(i32 noundef 9, i32 noundef 10, i32 noundef 1)
%2 = call i32 @gpio_config(i32 noundef 0, i32 noundef 20, i32 noundef 1)
ret void
}
declare i32 @gpio_config(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfznu1u4j.c'
source_filename = "/tmp/tmpfznu1u4j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ASN1_INTEGER_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @i2d_ASN1_INTEGER(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @ASN1_item_i2d(ptr noundef %5, ptr noundef %6, ptr noundef @ASN1_INTEGER_it)
ret i32 %7
}
declare i32 @ASN1_item_i2d(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfznu1u4j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ASN1_INTEGER_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @i2d_ASN1_INTEGER(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @ASN1_item_i2d(ptr noundef %5, ptr noundef %6, ptr noundef @ASN1_INTEGER_it)
ret i32 %7
}
declare i32 @ASN1_item_i2d(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqy2y4e6u.c'
source_filename = "/tmp/tmpqy2y4e6u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqy2y4e6u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.