llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmp57clou6o.c'
source_filename = "/tmp/tmp57clou6o.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 [17 x i8] c"# c::cephes::%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"log10\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\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
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
%6 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %18, %0
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 3
br i1 %9, label %10, label %21
10: ; preds = %7
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%12 = call double (...) @benchmark()
store double %12, ptr %2, align 8
%13 = load double, ptr %2, align 8
%14 = call i32 @print_results(double noundef %13)
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16)
br label %18
18: ; preds = %10
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
br label %7, !llvm.loop !6
21: ; preds = %7
%22 = call i32 @print_summary(i32 noundef 3, i32 noundef 3)
%23 = load i32, ptr %1, align 4
ret i32 %23
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(...) #1
declare i32 @print_results(double noundef) #1
declare i32 @print_summary(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/tmp57clou6o.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 [17 x i8] c"# c::cephes::%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"log10\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\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
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
%6 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 3
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %17
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%11 = call double (...) @benchmark()
store double %11, ptr %2, align 8
%12 = load double, ptr %2, align 8
%13 = call i32 @print_results(double noundef %12)
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15)
br label %17
17: ; preds = %9
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %20, 3
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %0
%23 = call i32 @print_summary(i32 noundef 3, i32 noundef 3)
%24 = load i32, ptr %1, align 4
ret i32 %24
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(...) #1
declare i32 @print_results(double noundef) #1
declare i32 @print_summary(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/tmpo0l70e_c.c'
source_filename = "/tmp/tmpo0l70e_c.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 @mq_send(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i64, ptr %7, align 8
%12 = load i32, ptr %8, align 4
%13 = call i32 @mq_timedsend(i32 noundef %9, ptr noundef %10, i64 noundef %11, i32 noundef %12, i32 noundef 0)
ret i32 %13
}
declare i32 @mq_timedsend(i32 noundef, ptr noundef, i64 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/tmpo0l70e_c.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 @mq_send(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i64, ptr %7, align 8
%12 = load i32, ptr %8, align 4
%13 = call i32 @mq_timedsend(i32 noundef %9, ptr noundef %10, i64 noundef %11, i32 noundef %12, i32 noundef 0)
ret i32 %13
}
declare i32 @mq_timedsend(i32 noundef, ptr noundef, i64 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/tmpk6dteg4r.c'
source_filename = "/tmp/tmpk6dteg4r.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 i32 @get_XEvent_xvisibility_state(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
%7 = trunc i64 %6 to i32
ret i32 %7
}
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/tmpk6dteg4r.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 i32 @get_XEvent_xvisibility_state(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
%7 = trunc i64 %6 to i32
ret i32 %7
}
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/tmpv1ic1mz5.c'
source_filename = "/tmp/tmpv1ic1mz5.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 [151 x i8] c"Usage: %s [...] search [OPTS]\0A\0AOptions:\0A -g,--group TAGPATTERN Group the output results by the TAGPATTERN\0A -h,--help Show this help\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @search_usage(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 @fprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %6)
ret void
}
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/tmpv1ic1mz5.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 [151 x i8] c"Usage: %s [...] search [OPTS]\0A\0AOptions:\0A -g,--group TAGPATTERN Group the output results by the TAGPATTERN\0A -h,--help Show this help\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @search_usage(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 @fprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %6)
ret void
}
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/tmpd3zum9bw.c'
source_filename = "/tmp/tmpd3zum9bw.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"%lld\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%lld %lld\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"%lld %lld %lld\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"Bad luck\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"Row %lld\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"Column %lld\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 i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i64 0, ptr %3, align 8
store i64 0, ptr %4, align 8
store i64 0, ptr %12, align 8
store i64 0, ptr %13, align 8
%15 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %8)
br label %16
16: ; preds = %192, %0
%17 = load i64, ptr %8, align 8
%18 = add nsw i64 %17, -1
store i64 %18, ptr %8, align 8
%19 = icmp ne i64 %17, 0
br i1 %19, label %20, label %193
20: ; preds = %16
%21 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %7, ptr noundef %6)
%22 = load i64, ptr %7, align 8
%23 = mul i64 %22, 8
%24 = trunc i64 %23 to i32
%25 = call i64 @malloc(i32 noundef %24)
%26 = inttoptr i64 %25 to ptr
store ptr %26, ptr %14, align 8
store i64 0, ptr %2, align 8
br label %27
27: ; preds = %47, %20
%28 = load i64, ptr %2, align 8
%29 = load i64, ptr %7, align 8
%30 = icmp slt i64 %28, %29
br i1 %30, label %31, label %50
31: ; preds = %27
%32 = call i64 @malloc(i32 noundef 16)
%33 = inttoptr i64 %32 to ptr
%34 = load ptr, ptr %14, align 8
%35 = load i64, ptr %2, align 8
%36 = getelementptr inbounds ptr, ptr %34, i64 %35
store ptr %33, ptr %36, align 8
%37 = load ptr, ptr %14, align 8
%38 = load i64, ptr %2, align 8
%39 = getelementptr inbounds ptr, ptr %37, i64 %38
%40 = load ptr, ptr %39, align 8
%41 = getelementptr inbounds i64, ptr %40, i64 0
store i64 0, ptr %41, align 8
%42 = load ptr, ptr %14, align 8
%43 = load i64, ptr %2, align 8
%44 = getelementptr inbounds ptr, ptr %42, i64 %43
%45 = load ptr, ptr %44, align 8
%46 = getelementptr inbounds i64, ptr %45, i64 1
store i64 0, ptr %46, align 8
br label %47
47: ; preds = %31
%48 = load i64, ptr %2, align 8
%49 = add nsw i64 %48, 1
store i64 %49, ptr %2, align 8
br label %27, !llvm.loop !6
50: ; preds = %27
store i64 0, ptr %2, align 8
br label %51
51: ; preds = %87, %50
%52 = load i64, ptr %2, align 8
%53 = load i64, ptr %6, align 8
%54 = icmp slt i64 %52, %53
br i1 %54, label %55, label %90
55: ; preds = %51
%56 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %9, ptr noundef %10, ptr noundef %11)
%57 = load ptr, ptr %14, align 8
%58 = load i64, ptr %9, align 8
%59 = sub nsw i64 %58, 1
%60 = getelementptr inbounds ptr, ptr %57, i64 %59
%61 = load ptr, ptr %60, align 8
%62 = getelementptr inbounds i64, ptr %61, i64 0
%63 = load i64, ptr %62, align 8
%64 = load i64, ptr %11, align 8
%65 = add nsw i64 %63, %64
%66 = load ptr, ptr %14, align 8
%67 = load i64, ptr %9, align 8
%68 = sub nsw i64 %67, 1
%69 = getelementptr inbounds ptr, ptr %66, i64 %68
%70 = load ptr, ptr %69, align 8
%71 = getelementptr inbounds i64, ptr %70, i64 0
store i64 %65, ptr %71, align 8
%72 = load ptr, ptr %14, align 8
%73 = load i64, ptr %10, align 8
%74 = sub nsw i64 %73, 1
%75 = getelementptr inbounds ptr, ptr %72, i64 %74
%76 = load ptr, ptr %75, align 8
%77 = getelementptr inbounds i64, ptr %76, i64 1
%78 = load i64, ptr %77, align 8
%79 = load i64, ptr %11, align 8
%80 = add nsw i64 %78, %79
%81 = load ptr, ptr %14, align 8
%82 = load i64, ptr %10, align 8
%83 = sub nsw i64 %82, 1
%84 = getelementptr inbounds ptr, ptr %81, i64 %83
%85 = load ptr, ptr %84, align 8
%86 = getelementptr inbounds i64, ptr %85, i64 1
store i64 %80, ptr %86, align 8
br label %87
87: ; preds = %55
%88 = load i64, ptr %2, align 8
%89 = add nsw i64 %88, 1
store i64 %89, ptr %2, align 8
br label %51, !llvm.loop !8
90: ; preds = %51
store i64 0, ptr %12, align 8
store i64 0, ptr %13, align 8
store i64 0, ptr %4, align 8
store i64 0, ptr %2, align 8
br label %91
91: ; preds = %129, %90
%92 = load i64, ptr %2, align 8
%93 = load i64, ptr %7, align 8
%94 = icmp slt i64 %92, %93
br i1 %94, label %95, label %132
95: ; preds = %91
%96 = load ptr, ptr %14, align 8
%97 = load i64, ptr %2, align 8
%98 = getelementptr inbounds ptr, ptr %96, i64 %97
%99 = load ptr, ptr %98, align 8
%100 = getelementptr inbounds i64, ptr %99, i64 0
%101 = load i64, ptr %100, align 8
%102 = load ptr, ptr %14, align 8
%103 = load i64, ptr %12, align 8
%104 = getelementptr inbounds ptr, ptr %102, i64 %103
%105 = load ptr, ptr %104, align 8
%106 = getelementptr inbounds i64, ptr %105, i64 0
%107 = load i64, ptr %106, align 8
%108 = icmp sgt i64 %101, %107
br i1 %108, label %109, label %111
109: ; preds = %95
%110 = load i64, ptr %2, align 8
store i64 %110, ptr %12, align 8
store i64 0, ptr %4, align 8
br label %111
111: ; preds = %109, %95
%112 = load ptr, ptr %14, align 8
%113 = load i64, ptr %2, align 8
%114 = getelementptr inbounds ptr, ptr %112, i64 %113
%115 = load ptr, ptr %114, align 8
%116 = getelementptr inbounds i64, ptr %115, i64 0
%117 = load i64, ptr %116, align 8
%118 = load ptr, ptr %14, align 8
%119 = load i64, ptr %12, align 8
%120 = getelementptr inbounds ptr, ptr %118, i64 %119
%121 = load ptr, ptr %120, align 8
%122 = getelementptr inbounds i64, ptr %121, i64 0
%123 = load i64, ptr %122, align 8
%124 = icmp eq i64 %117, %123
br i1 %124, label %125, label %128
125: ; preds = %111
%126 = load i64, ptr %3, align 8
%127 = add nsw i64 %126, 1
store i64 %127, ptr %3, align 8
br label %128
128: ; preds = %125, %111
br label %129
129: ; preds = %128
%130 = load i64, ptr %2, align 8
%131 = add nsw i64 %130, 1
store i64 %131, ptr %2, align 8
br label %91, !llvm.loop !9
132: ; preds = %91
store i64 0, ptr %2, align 8
br label %133
133: ; preds = %172, %132
%134 = load i64, ptr %2, align 8
%135 = load i64, ptr %7, align 8
%136 = icmp slt i64 %134, %135
br i1 %136, label %137, label %175
137: ; preds = %133
%138 = load ptr, ptr %14, align 8
%139 = load i64, ptr %2, align 8
%140 = getelementptr inbounds ptr, ptr %138, i64 %139
%141 = load ptr, ptr %140, align 8
%142 = getelementptr inbounds i64, ptr %141, i64 1
%143 = load i64, ptr %142, align 8
%144 = load ptr, ptr %14, align 8
%145 = load i64, ptr %2, align 8
%146 = getelementptr inbounds ptr, ptr %144, i64 %145
%147 = load ptr, ptr %146, align 8
%148 = getelementptr inbounds i64, ptr %147, i64 1
%149 = load i64, ptr %148, align 8
%150 = icmp sgt i64 %143, %149
br i1 %150, label %151, label %153
151: ; preds = %137
%152 = load i64, ptr %2, align 8
store i64 %152, ptr %12, align 8
store i64 1, ptr %13, align 8
store i64 1, ptr %4, align 8
br label %153
153: ; preds = %151, %137
%154 = load ptr, ptr %14, align 8
%155 = load i64, ptr %2, align 8
%156 = getelementptr inbounds ptr, ptr %154, i64 %155
%157 = load ptr, ptr %156, align 8
%158 = getelementptr inbounds i64, ptr %157, i64 1
%159 = load i64, ptr %158, align 8
%160 = load ptr, ptr %14, align 8
%161 = load i64, ptr %12, align 8
%162 = getelementptr inbounds ptr, ptr %160, i64 %161
%163 = load ptr, ptr %162, align 8
%164 = load i64, ptr %4, align 8
%165 = getelementptr inbounds i64, ptr %163, i64 %164
%166 = load i64, ptr %165, align 8
%167 = icmp eq i64 %159, %166
br i1 %167, label %168, label %171
168: ; preds = %153
%169 = load i64, ptr %3, align 8
%170 = add nsw i64 %169, 1
store i64 %170, ptr %3, align 8
br label %171
171: ; preds = %168, %153
br label %172
172: ; preds = %171
%173 = load i64, ptr %2, align 8
%174 = add nsw i64 %173, 1
store i64 %174, ptr %2, align 8
br label %133, !llvm.loop !10
175: ; preds = %133
%176 = load i64, ptr %3, align 8
%177 = icmp sgt i64 %176, 1
br i1 %177, label %178, label %180
178: ; preds = %175
%179 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %192
180: ; preds = %175
%181 = load i64, ptr %4, align 8
%182 = icmp eq i64 %181, 0
br i1 %182, label %183, label %187
183: ; preds = %180
%184 = load i64, ptr %12, align 8
%185 = add nsw i64 %184, 1
%186 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %185)
br label %191
187: ; preds = %180
%188 = load i64, ptr %12, align 8
%189 = add nsw i64 %188, 1
%190 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef %189)
br label %191
191: ; preds = %187, %183
br label %192
192: ; preds = %191, %178
br label %16, !llvm.loop !11
193: ; preds = %16
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i64 @malloc(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd3zum9bw.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"%lld\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%lld %lld\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"%lld %lld %lld\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"Bad luck\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"Row %lld\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"Column %lld\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 i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i64 0, ptr %3, align 8
store i64 0, ptr %4, align 8
store i64 0, ptr %12, align 8
store i64 0, ptr %13, align 8
%15 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %8)
%16 = load i64, ptr %8, align 8
%17 = add nsw i64 %16, -1
store i64 %17, ptr %8, align 8
%18 = icmp ne i64 %16, 0
br i1 %18, label %.lr.ph11, label %203
.lr.ph11: ; preds = %0
br label %19
19: ; preds = %.lr.ph11, %199
%20 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %7, ptr noundef %6)
%21 = load i64, ptr %7, align 8
%22 = mul i64 %21, 8
%23 = trunc i64 %22 to i32
%24 = call i64 @malloc(i32 noundef %23)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %14, align 8
store i64 0, ptr %2, align 8
%26 = load i64, ptr %2, align 8
%27 = load i64, ptr %7, align 8
%28 = icmp slt i64 %26, %27
br i1 %28, label %.lr.ph, label %51
.lr.ph: ; preds = %19
br label %29
29: ; preds = %.lr.ph, %45
%30 = call i64 @malloc(i32 noundef 16)
%31 = inttoptr i64 %30 to ptr
%32 = load ptr, ptr %14, align 8
%33 = load i64, ptr %2, align 8
%34 = getelementptr inbounds ptr, ptr %32, i64 %33
store ptr %31, ptr %34, align 8
%35 = load ptr, ptr %14, align 8
%36 = load i64, ptr %2, align 8
%37 = getelementptr inbounds ptr, ptr %35, i64 %36
%38 = load ptr, ptr %37, align 8
%39 = getelementptr inbounds i64, ptr %38, i64 0
store i64 0, ptr %39, align 8
%40 = load ptr, ptr %14, align 8
%41 = load i64, ptr %2, align 8
%42 = getelementptr inbounds ptr, ptr %40, i64 %41
%43 = load ptr, ptr %42, align 8
%44 = getelementptr inbounds i64, ptr %43, i64 1
store i64 0, ptr %44, align 8
br label %45
45: ; preds = %29
%46 = load i64, ptr %2, align 8
%47 = add nsw i64 %46, 1
store i64 %47, ptr %2, align 8
%48 = load i64, ptr %2, align 8
%49 = load i64, ptr %7, align 8
%50 = icmp slt i64 %48, %49
br i1 %50, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %45
br label %51
51: ; preds = %._crit_edge, %19
store i64 0, ptr %2, align 8
%52 = load i64, ptr %2, align 8
%53 = load i64, ptr %6, align 8
%54 = icmp slt i64 %52, %53
br i1 %54, label %.lr.ph2, label %93
.lr.ph2: ; preds = %51
br label %55
55: ; preds = %.lr.ph2, %87
%56 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %9, ptr noundef %10, ptr noundef %11)
%57 = load ptr, ptr %14, align 8
%58 = load i64, ptr %9, align 8
%59 = sub nsw i64 %58, 1
%60 = getelementptr inbounds ptr, ptr %57, i64 %59
%61 = load ptr, ptr %60, align 8
%62 = getelementptr inbounds i64, ptr %61, i64 0
%63 = load i64, ptr %62, align 8
%64 = load i64, ptr %11, align 8
%65 = add nsw i64 %63, %64
%66 = load ptr, ptr %14, align 8
%67 = load i64, ptr %9, align 8
%68 = sub nsw i64 %67, 1
%69 = getelementptr inbounds ptr, ptr %66, i64 %68
%70 = load ptr, ptr %69, align 8
%71 = getelementptr inbounds i64, ptr %70, i64 0
store i64 %65, ptr %71, align 8
%72 = load ptr, ptr %14, align 8
%73 = load i64, ptr %10, align 8
%74 = sub nsw i64 %73, 1
%75 = getelementptr inbounds ptr, ptr %72, i64 %74
%76 = load ptr, ptr %75, align 8
%77 = getelementptr inbounds i64, ptr %76, i64 1
%78 = load i64, ptr %77, align 8
%79 = load i64, ptr %11, align 8
%80 = add nsw i64 %78, %79
%81 = load ptr, ptr %14, align 8
%82 = load i64, ptr %10, align 8
%83 = sub nsw i64 %82, 1
%84 = getelementptr inbounds ptr, ptr %81, i64 %83
%85 = load ptr, ptr %84, align 8
%86 = getelementptr inbounds i64, ptr %85, i64 1
store i64 %80, ptr %86, align 8
br label %87
87: ; preds = %55
%88 = load i64, ptr %2, align 8
%89 = add nsw i64 %88, 1
store i64 %89, ptr %2, align 8
%90 = load i64, ptr %2, align 8
%91 = load i64, ptr %6, align 8
%92 = icmp slt i64 %90, %91
br i1 %92, label %55, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %87
br label %93
93: ; preds = %._crit_edge3, %51
store i64 0, ptr %12, align 8
store i64 0, ptr %13, align 8
store i64 0, ptr %4, align 8
store i64 0, ptr %2, align 8
%94 = load i64, ptr %2, align 8
%95 = load i64, ptr %7, align 8
%96 = icmp slt i64 %94, %95
br i1 %96, label %.lr.ph5, label %137
.lr.ph5: ; preds = %93
br label %97
97: ; preds = %.lr.ph5, %131
%98 = load ptr, ptr %14, align 8
%99 = load i64, ptr %2, align 8
%100 = getelementptr inbounds ptr, ptr %98, i64 %99
%101 = load ptr, ptr %100, align 8
%102 = getelementptr inbounds i64, ptr %101, i64 0
%103 = load i64, ptr %102, align 8
%104 = load ptr, ptr %14, align 8
%105 = load i64, ptr %12, align 8
%106 = getelementptr inbounds ptr, ptr %104, i64 %105
%107 = load ptr, ptr %106, align 8
%108 = getelementptr inbounds i64, ptr %107, i64 0
%109 = load i64, ptr %108, align 8
%110 = icmp sgt i64 %103, %109
br i1 %110, label %111, label %113
111: ; preds = %97
%112 = load i64, ptr %2, align 8
store i64 %112, ptr %12, align 8
store i64 0, ptr %4, align 8
br label %113
113: ; preds = %111, %97
%114 = load ptr, ptr %14, align 8
%115 = load i64, ptr %2, align 8
%116 = getelementptr inbounds ptr, ptr %114, i64 %115
%117 = load ptr, ptr %116, align 8
%118 = getelementptr inbounds i64, ptr %117, i64 0
%119 = load i64, ptr %118, align 8
%120 = load ptr, ptr %14, align 8
%121 = load i64, ptr %12, align 8
%122 = getelementptr inbounds ptr, ptr %120, i64 %121
%123 = load ptr, ptr %122, align 8
%124 = getelementptr inbounds i64, ptr %123, i64 0
%125 = load i64, ptr %124, align 8
%126 = icmp eq i64 %119, %125
br i1 %126, label %127, label %130
127: ; preds = %113
%128 = load i64, ptr %3, align 8
%129 = add nsw i64 %128, 1
store i64 %129, ptr %3, align 8
br label %130
130: ; preds = %127, %113
br label %131
131: ; preds = %130
%132 = load i64, ptr %2, align 8
%133 = add nsw i64 %132, 1
store i64 %133, ptr %2, align 8
%134 = load i64, ptr %2, align 8
%135 = load i64, ptr %7, align 8
%136 = icmp slt i64 %134, %135
br i1 %136, label %97, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %131
br label %137
137: ; preds = %._crit_edge6, %93
store i64 0, ptr %2, align 8
%138 = load i64, ptr %2, align 8
%139 = load i64, ptr %7, align 8
%140 = icmp slt i64 %138, %139
br i1 %140, label %.lr.ph8, label %182
.lr.ph8: ; preds = %137
br label %141
141: ; preds = %.lr.ph8, %176
%142 = load ptr, ptr %14, align 8
%143 = load i64, ptr %2, align 8
%144 = getelementptr inbounds ptr, ptr %142, i64 %143
%145 = load ptr, ptr %144, align 8
%146 = getelementptr inbounds i64, ptr %145, i64 1
%147 = load i64, ptr %146, align 8
%148 = load ptr, ptr %14, align 8
%149 = load i64, ptr %2, align 8
%150 = getelementptr inbounds ptr, ptr %148, i64 %149
%151 = load ptr, ptr %150, align 8
%152 = getelementptr inbounds i64, ptr %151, i64 1
%153 = load i64, ptr %152, align 8
%154 = icmp sgt i64 %147, %153
br i1 %154, label %155, label %157
155: ; preds = %141
%156 = load i64, ptr %2, align 8
store i64 %156, ptr %12, align 8
store i64 1, ptr %13, align 8
store i64 1, ptr %4, align 8
br label %157
157: ; preds = %155, %141
%158 = load ptr, ptr %14, align 8
%159 = load i64, ptr %2, align 8
%160 = getelementptr inbounds ptr, ptr %158, i64 %159
%161 = load ptr, ptr %160, align 8
%162 = getelementptr inbounds i64, ptr %161, i64 1
%163 = load i64, ptr %162, align 8
%164 = load ptr, ptr %14, align 8
%165 = load i64, ptr %12, align 8
%166 = getelementptr inbounds ptr, ptr %164, i64 %165
%167 = load ptr, ptr %166, align 8
%168 = load i64, ptr %4, align 8
%169 = getelementptr inbounds i64, ptr %167, i64 %168
%170 = load i64, ptr %169, align 8
%171 = icmp eq i64 %163, %170
br i1 %171, label %172, label %175
172: ; preds = %157
%173 = load i64, ptr %3, align 8
%174 = add nsw i64 %173, 1
store i64 %174, ptr %3, align 8
br label %175
175: ; preds = %172, %157
br label %176
176: ; preds = %175
%177 = load i64, ptr %2, align 8
%178 = add nsw i64 %177, 1
store i64 %178, ptr %2, align 8
%179 = load i64, ptr %2, align 8
%180 = load i64, ptr %7, align 8
%181 = icmp slt i64 %179, %180
br i1 %181, label %141, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %176
br label %182
182: ; preds = %._crit_edge9, %137
%183 = load i64, ptr %3, align 8
%184 = icmp sgt i64 %183, 1
br i1 %184, label %185, label %187
185: ; preds = %182
%186 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %199
187: ; preds = %182
%188 = load i64, ptr %4, align 8
%189 = icmp eq i64 %188, 0
br i1 %189, label %190, label %194
190: ; preds = %187
%191 = load i64, ptr %12, align 8
%192 = add nsw i64 %191, 1
%193 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %192)
br label %198
194: ; preds = %187
%195 = load i64, ptr %12, align 8
%196 = add nsw i64 %195, 1
%197 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef %196)
br label %198
198: ; preds = %194, %190
br label %199
199: ; preds = %198, %185
%200 = load i64, ptr %8, align 8
%201 = add nsw i64 %200, -1
store i64 %201, ptr %8, align 8
%202 = icmp ne i64 %200, 0
br i1 %202, label %19, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %199
br label %203
203: ; preds = %._crit_edge12, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i64 @malloc(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpro8t_dyz.c'
source_filename = "/tmp/tmpro8t_dyz.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/tmpro8t_dyz.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/tmpq2_l9wwn.c'
source_filename = "/tmp/tmpq2_l9wwn.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 @swapStr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i8, align 1
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 %4, align 4
store i32 0, ptr %3, align 4
br label %8
8: ; preds = %41, %1
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = sdiv i32 %10, 2
%12 = icmp slt i32 %9, %11
br i1 %12, label %13, label %44
13: ; preds = %8
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
store i8 %18, ptr %5, align 1
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr %4, align 4
%21 = add nsw i32 %20, 1
%22 = sdiv i32 %21, 2
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %22, %23
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %19, i64 %25
%27 = load i8, ptr %26, align 1
%28 = load ptr, ptr %2, align 8
%29 = load i32, ptr %3, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
store i8 %27, ptr %31, align 1
%32 = load i8, ptr %5, align 1
%33 = load ptr, ptr %2, align 8
%34 = load i32, ptr %4, align 4
%35 = add nsw i32 %34, 1
%36 = sdiv i32 %35, 2
%37 = load i32, ptr %3, align 4
%38 = add nsw i32 %36, %37
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %33, i64 %39
store i8 %32, ptr %40, align 1
br label %41
41: ; preds = %13
%42 = load i32, ptr %3, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %3, align 4
br label %8, !llvm.loop !6
44: ; preds = %8
ret void
}
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/tmpq2_l9wwn.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 @swapStr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i8, align 1
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 %4, align 4
store i32 0, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = sdiv i32 %9, 2
%11 = icmp slt i32 %8, %10
br i1 %11, label %.lr.ph, label %47
.lr.ph: ; preds = %1
br label %12
12: ; preds = %.lr.ph, %40
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
store i8 %17, ptr %5, align 1
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, 1
%21 = sdiv i32 %20, 2
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %21, %22
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %18, i64 %24
%26 = load i8, ptr %25, align 1
%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
store i8 %26, ptr %30, align 1
%31 = load i8, ptr %5, align 1
%32 = load ptr, ptr %2, align 8
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %33, 1
%35 = sdiv i32 %34, 2
%36 = load i32, ptr %3, align 4
%37 = add nsw i32 %35, %36
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %32, i64 %38
store i8 %31, ptr %39, align 1
br label %40
40: ; preds = %12
%41 = load i32, ptr %3, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %3, align 4
%43 = load i32, ptr %3, align 4
%44 = load i32, ptr %4, align 4
%45 = sdiv i32 %44, 2
%46 = icmp slt i32 %43, %45
br i1 %46, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %47
47: ; preds = %._crit_edge, %1
ret void
}
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/tmp2ey9n_20.c'
source_filename = "/tmp/tmp2ey9n_20.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/tmp2ey9n_20.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/tmpgqajdlsn.c'
source_filename = "/tmp/tmpgqajdlsn.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 [24 x i8] c"Illegal addressing mode\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @BadMode() #0 {
%1 = call i32 @Error(ptr noundef @.str)
%2 = call i32 (...) @EatIt()
ret void
}
declare i32 @Error(ptr noundef) #1
declare i32 @EatIt(...) #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/tmpgqajdlsn.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 [24 x i8] c"Illegal addressing mode\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @BadMode() #0 {
%1 = call i32 @Error(ptr noundef @.str)
%2 = call i32 (...) @EatIt()
ret void
}
declare i32 @Error(ptr noundef) #1
declare i32 @EatIt(...) #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/tmpw3miby47.c'
source_filename = "/tmp/tmpw3miby47.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 @avl_tree_prev_in_order(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 ptr @avl_tree_next_or_prev_in_order(ptr noundef %3, i32 noundef -1)
ret ptr %4
}
declare ptr @avl_tree_next_or_prev_in_order(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/tmpw3miby47.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 @avl_tree_prev_in_order(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 ptr @avl_tree_next_or_prev_in_order(ptr noundef %3, i32 noundef -1)
ret ptr %4
}
declare ptr @avl_tree_next_or_prev_in_order(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/tmp8x7zpm4o.c'
source_filename = "/tmp/tmp8x7zpm4o.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"
@STABLE_FLAGS_MALLOC = 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/tmp8x7zpm4o.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"
@STABLE_FLAGS_MALLOC = 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/tmp6fx8b7uu.c'
source_filename = "/tmp/tmp6fx8b7uu.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/tmp6fx8b7uu.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/tmp2fwn9sx6.c'
source_filename = "/tmp/tmp2fwn9sx6.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 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @f2()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret i32 0
}
declare i32 @f2(...) #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/tmp2fwn9sx6.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 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @f2()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret i32 0
}
declare i32 @f2(...) #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/tmp9i16ecyz.c'
source_filename = "/tmp/tmp9i16ecyz.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 @jpeg_encode_block(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca [64 x i16], align 16
%14 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
store i32 8, ptr %11, align 4
store i32 8, ptr %12, align 4
%15 = load ptr, ptr %6, align 8
%16 = call i32 @dc_shift_short(ptr noundef %15, i32 noundef 8, i32 noundef 8, i32 noundef -128)
%17 = load ptr, ptr %6, align 8
%18 = call i32 @dct_8x8(ptr noundef %17)
%19 = load ptr, ptr %6, align 8
%20 = load i32, ptr %10, align 4
%21 = call i32 @quant_8x8(ptr noundef %19, i32 noundef %20)
%22 = load ptr, ptr %6, align 8
%23 = getelementptr inbounds [64 x i16], ptr %13, i64 0, i64 0
%24 = call i32 @zigzag_8x8(ptr noundef %22, ptr noundef %23)
%25 = getelementptr inbounds [64 x i16], ptr %13, i64 0, i64 0
%26 = call i32 @find_eob(ptr noundef %25)
store i32 %26, ptr %14, align 4
%27 = getelementptr inbounds [64 x i16], ptr %13, i64 0, i64 0
%28 = load i32, ptr %14, align 4
%29 = load ptr, ptr %8, align 8
%30 = load ptr, ptr %9, align 8
%31 = load ptr, ptr %7, align 8
%32 = call i32 @huffman_enc_64(ptr noundef %27, i32 noundef %28, ptr noundef %29, ptr noundef %30, ptr noundef %31)
ret void
}
declare i32 @dc_shift_short(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @dct_8x8(ptr noundef) #1
declare i32 @quant_8x8(ptr noundef, i32 noundef) #1
declare i32 @zigzag_8x8(ptr noundef, ptr noundef) #1
declare i32 @find_eob(ptr noundef) #1
declare i32 @huffman_enc_64(ptr noundef, i32 noundef, 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/tmp9i16ecyz.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 @jpeg_encode_block(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca [64 x i16], align 16
%14 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
store i32 8, ptr %11, align 4
store i32 8, ptr %12, align 4
%15 = load ptr, ptr %6, align 8
%16 = call i32 @dc_shift_short(ptr noundef %15, i32 noundef 8, i32 noundef 8, i32 noundef -128)
%17 = load ptr, ptr %6, align 8
%18 = call i32 @dct_8x8(ptr noundef %17)
%19 = load ptr, ptr %6, align 8
%20 = load i32, ptr %10, align 4
%21 = call i32 @quant_8x8(ptr noundef %19, i32 noundef %20)
%22 = load ptr, ptr %6, align 8
%23 = getelementptr inbounds [64 x i16], ptr %13, i64 0, i64 0
%24 = call i32 @zigzag_8x8(ptr noundef %22, ptr noundef %23)
%25 = getelementptr inbounds [64 x i16], ptr %13, i64 0, i64 0
%26 = call i32 @find_eob(ptr noundef %25)
store i32 %26, ptr %14, align 4
%27 = getelementptr inbounds [64 x i16], ptr %13, i64 0, i64 0
%28 = load i32, ptr %14, align 4
%29 = load ptr, ptr %8, align 8
%30 = load ptr, ptr %9, align 8
%31 = load ptr, ptr %7, align 8
%32 = call i32 @huffman_enc_64(ptr noundef %27, i32 noundef %28, ptr noundef %29, ptr noundef %30, ptr noundef %31)
ret void
}
declare i32 @dc_shift_short(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @dct_8x8(ptr noundef) #1
declare i32 @quant_8x8(ptr noundef, i32 noundef) #1
declare i32 @zigzag_8x8(ptr noundef, ptr noundef) #1
declare i32 @find_eob(ptr noundef) #1
declare i32 @huffman_enc_64(ptr noundef, i32 noundef, 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/tmp4wh_ddxx.c'
source_filename = "/tmp/tmp4wh_ddxx.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 @average_time(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store double 0.000000e+00, ptr %7, align 8
store i32 0, ptr %8, align 4
br label %9
9: ; preds = %25, %2
%10 = load i32, ptr %8, align 4
%11 = icmp slt i32 %10, 1000000
br i1 %11, label %12, label %28
12: ; preds = %9
%13 = call i64 (...) @clock()
%14 = sitofp i64 %13 to double
store double %14, ptr %5, align 8
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %3, align 8
%17 = call i32 @read_lines(ptr noundef %15, ptr noundef %16)
%18 = call i64 (...) @clock()
%19 = sitofp i64 %18 to double
store double %19, ptr %6, align 8
%20 = load double, ptr %6, align 8
%21 = load double, ptr %5, align 8
%22 = fsub double %20, %21
%23 = load double, ptr %7, align 8
%24 = fadd double %23, %22
store double %24, ptr %7, align 8
br label %25
25: ; preds = %12
%26 = load i32, ptr %8, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %8, align 4
br label %9, !llvm.loop !6
28: ; preds = %9
%29 = load double, ptr %7, align 8
ret double %29
}
declare i64 @clock(...) #1
declare i32 @read_lines(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/tmp4wh_ddxx.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 @average_time(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store double 0.000000e+00, ptr %7, align 8
store i32 0, ptr %8, align 4
%9 = load i32, ptr %8, align 4
%10 = icmp slt i32 %9, 1000000
br i1 %10, label %.lr.ph, label %29
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %24
%12 = call i64 (...) @clock()
%13 = sitofp i64 %12 to double
store double %13, ptr %5, align 8
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %3, align 8
%16 = call i32 @read_lines(ptr noundef %14, ptr noundef %15)
%17 = call i64 (...) @clock()
%18 = sitofp i64 %17 to double
store double %18, ptr %6, align 8
%19 = load double, ptr %6, align 8
%20 = load double, ptr %5, align 8
%21 = fsub double %19, %20
%22 = load double, ptr %7, align 8
%23 = fadd double %22, %21
store double %23, ptr %7, align 8
br label %24
24: ; preds = %11
%25 = load i32, ptr %8, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %8, align 4
%27 = load i32, ptr %8, align 4
%28 = icmp slt i32 %27, 1000000
br i1 %28, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %29
29: ; preds = %._crit_edge, %2
%30 = load double, ptr %7, align 8
ret double %30
}
declare i64 @clock(...) #1
declare i32 @read_lines(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/tmp_ellhmmj.c'
source_filename = "/tmp/tmp_ellhmmj.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 @merge_sort2(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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp sge i32 %8, %9
br i1 %10, label %11, label %12
11: ; preds = %3
br label %31
12: ; preds = %3
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %5, align 4
%16 = sub nsw i32 %14, %15
%17 = sdiv i32 %16, 2
%18 = add nsw i32 %13, %17
store i32 %18, ptr %7, align 4
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %7, align 4
call void @merge_sort2(ptr noundef %19, i32 noundef %20, i32 noundef %21)
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %23, 1
%25 = load i32, ptr %6, align 4
call void @merge_sort2(ptr noundef %22, i32 noundef %24, i32 noundef %25)
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %7, align 4
%29 = load i32, ptr %6, align 4
%30 = call i32 @merge(ptr noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef %29)
br label %31
31: ; preds = %12, %11
ret void
}
declare i32 @merge(ptr 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/tmp_ellhmmj.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 @merge_sort2(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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp sge i32 %8, %9
br i1 %10, label %11, label %12
11: ; preds = %3
br label %31
12: ; preds = %3
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %5, align 4
%16 = sub nsw i32 %14, %15
%17 = sdiv i32 %16, 2
%18 = add nsw i32 %13, %17
store i32 %18, ptr %7, align 4
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %7, align 4
call void @merge_sort2(ptr noundef %19, i32 noundef %20, i32 noundef %21)
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %23, 1
%25 = load i32, ptr %6, align 4
call void @merge_sort2(ptr noundef %22, i32 noundef %24, i32 noundef %25)
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %7, align 4
%29 = load i32, ptr %6, align 4
%30 = call i32 @merge(ptr noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef %29)
br label %31
31: ; preds = %12, %11
ret void
}
declare i32 @merge(ptr 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/tmp5ckll1vz.c'
source_filename = "/tmp/tmp5ckll1vz.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 @computer_move(ptr noundef %0, i8 noundef zeroext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%6 = load ptr, ptr %3, align 8
%7 = load i8, ptr %4, align 1
%8 = call ptr @find_bestmove(ptr noundef %6, i8 noundef zeroext %7, i32 noundef -1294967296)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i32 @make_move(ptr noundef %9, ptr noundef %10)
ret void
}
declare ptr @find_bestmove(ptr noundef, i8 noundef zeroext, i32 noundef) #1
declare i32 @make_move(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/tmp5ckll1vz.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 @computer_move(ptr noundef %0, i8 noundef zeroext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%6 = load ptr, ptr %3, align 8
%7 = load i8, ptr %4, align 1
%8 = call ptr @find_bestmove(ptr noundef %6, i8 noundef zeroext %7, i32 noundef -1294967296)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i32 @make_move(ptr noundef %9, ptr noundef %10)
ret void
}
declare ptr @find_bestmove(ptr noundef, i8 noundef zeroext, i32 noundef) #1
declare i32 @make_move(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/tmp52j_efrw.c'
source_filename = "/tmp/tmp52j_efrw.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"
@EOF = dso_local global i8 0, align 1
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 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
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca [3 x i8], align 1
%8 = alloca i8, align 1
%9 = alloca [50 x i32], align 16
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i8 0, ptr %8, align 1
br label %11
11: ; preds = %44, %0
%12 = load i8, ptr %8, align 1
%13 = sext i8 %12 to i32
%14 = load i8, ptr @EOF, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %13, %15
br i1 %16, label %17, label %45
17: ; preds = %11
%18 = call signext i8 (...) @getchar()
store i8 %18, ptr %8, align 1
%19 = load i8, ptr %8, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 32
br i1 %21, label %22, label %33
22: ; preds = %17
%23 = load i8, ptr %8, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 10
br i1 %25, label %26, label %33
26: ; preds = %22
%27 = load i8, ptr %8, align 1
%28 = load i32, ptr %4, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 %29
store i8 %27, ptr %30, align 1
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %4, align 4
br label %44
33: ; preds = %22, %17
%34 = load i32, ptr %4, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 %35
store i8 0, ptr %36, align 1
store i32 0, ptr %4, align 4
%37 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%38 = call i32 @atoi(ptr noundef %37)
%39 = load i32, ptr %2, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [50 x i32], ptr %9, i64 0, i64 %40
store i32 %38, ptr %41, align 4
%42 = load i32, ptr %2, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %2, align 4
br label %44
44: ; preds = %33, %26
br label %11, !llvm.loop !6
45: ; preds = %11
%46 = getelementptr inbounds [50 x i32], ptr %9, i64 0, i64 0
store ptr %46, ptr %6, align 8
store i32 1, ptr %10, align 4
br label %47
47: ; preds = %59, %45
%48 = load i32, ptr %5, align 4
%49 = icmp slt i32 %48, 50
br i1 %49, label %50, label %57
50: ; preds = %47
%51 = load ptr, ptr %6, align 8
%52 = load i32, ptr %51, align 4
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %57
54: ; preds = %50
%55 = load i32, ptr %10, align 4
%56 = icmp eq i32 %55, 1
br label %57
57: ; preds = %54, %50, %47
%58 = phi i1 [ false, %50 ], [ false, %47 ], [ %56, %54 ]
br i1 %58, label %59, label %68
59: ; preds = %57
%60 = load ptr, ptr %6, align 8
%61 = call ptr @hop(ptr noundef %60)
store ptr %61, ptr %6, align 8
%62 = getelementptr inbounds [50 x i32], ptr %9, i64 0, i64 0
%63 = load i32, ptr %2, align 4
%64 = load ptr, ptr %6, align 8
%65 = call i32 @is_in_bound(ptr noundef %62, i32 noundef %63, ptr noundef %64)
store i32 %65, ptr %10, align 4
%66 = load i32, ptr %5, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %5, align 4
br label %47, !llvm.loop !8
68: ; preds = %57
%69 = load i32, ptr %5, align 4
%70 = icmp eq i32 %69, 50
br i1 %70, label %71, label %72
71: ; preds = %68
store i32 0, ptr %10, align 4
br label %72
72: ; preds = %71, %68
%73 = load i32, ptr %10, align 4
%74 = call i32 @printf(ptr noundef @.str, i32 noundef %73)
%75 = load i32, ptr %5, align 4
%76 = call i32 @printf(ptr noundef @.str.1, i32 noundef %75)
ret i32 0
}
declare signext i8 @getchar(...) #1
declare i32 @atoi(ptr noundef) #1
declare ptr @hop(ptr noundef) #1
declare i32 @is_in_bound(ptr noundef, i32 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/tmp52j_efrw.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"
@EOF = dso_local global i8 0, align 1
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 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
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca [3 x i8], align 1
%8 = alloca i8, align 1
%9 = alloca [50 x i32], align 16
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i8 0, ptr %8, align 1
%11 = load i8, ptr %8, align 1
%12 = sext i8 %11 to i32
%13 = load i8, ptr @EOF, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %12, %14
br i1 %15, label %.lr.ph, label %49
.lr.ph: ; preds = %0
br label %16
16: ; preds = %.lr.ph, %43
%17 = call signext i8 (...) @getchar()
store i8 %17, ptr %8, align 1
%18 = load i8, ptr %8, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 32
br i1 %20, label %21, label %32
21: ; preds = %16
%22 = load i8, ptr %8, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 10
br i1 %24, label %25, label %32
25: ; preds = %21
%26 = load i8, ptr %8, align 1
%27 = load i32, ptr %4, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 %28
store i8 %26, ptr %29, align 1
%30 = load i32, ptr %4, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %4, align 4
br label %43
32: ; preds = %21, %16
%33 = load i32, ptr %4, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 %34
store i8 0, ptr %35, align 1
store i32 0, ptr %4, align 4
%36 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%37 = call i32 @atoi(ptr noundef %36)
%38 = load i32, ptr %2, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [50 x i32], ptr %9, i64 0, i64 %39
store i32 %37, ptr %40, align 4
%41 = load i32, ptr %2, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %2, align 4
br label %43
43: ; preds = %32, %25
%44 = load i8, ptr %8, align 1
%45 = sext i8 %44 to i32
%46 = load i8, ptr @EOF, align 1
%47 = sext i8 %46 to i32
%48 = icmp ne i32 %45, %47
br i1 %48, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %49
49: ; preds = %._crit_edge, %0
%50 = getelementptr inbounds [50 x i32], ptr %9, i64 0, i64 0
store ptr %50, ptr %6, align 8
store i32 1, ptr %10, align 4
br label %51
51: ; preds = %63, %49
%52 = load i32, ptr %5, align 4
%53 = icmp slt i32 %52, 50
br i1 %53, label %54, label %61
54: ; preds = %51
%55 = load ptr, ptr %6, align 8
%56 = load i32, ptr %55, align 4
%57 = icmp ne i32 %56, 0
br i1 %57, label %58, label %61
58: ; preds = %54
%59 = load i32, ptr %10, align 4
%60 = icmp eq i32 %59, 1
br label %61
61: ; preds = %58, %54, %51
%62 = phi i1 [ false, %54 ], [ false, %51 ], [ %60, %58 ]
br i1 %62, label %63, label %72
63: ; preds = %61
%64 = load ptr, ptr %6, align 8
%65 = call ptr @hop(ptr noundef %64)
store ptr %65, ptr %6, align 8
%66 = getelementptr inbounds [50 x i32], ptr %9, i64 0, i64 0
%67 = load i32, ptr %2, align 4
%68 = load ptr, ptr %6, align 8
%69 = call i32 @is_in_bound(ptr noundef %66, i32 noundef %67, ptr noundef %68)
store i32 %69, ptr %10, align 4
%70 = load i32, ptr %5, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %5, align 4
br label %51, !llvm.loop !8
72: ; preds = %61
%73 = load i32, ptr %5, align 4
%74 = icmp eq i32 %73, 50
br i1 %74, label %75, label %76
75: ; preds = %72
store i32 0, ptr %10, align 4
br label %76
76: ; preds = %75, %72
%77 = load i32, ptr %10, align 4
%78 = call i32 @printf(ptr noundef @.str, i32 noundef %77)
%79 = load i32, ptr %5, align 4
%80 = call i32 @printf(ptr noundef @.str.1, i32 noundef %79)
ret i32 0
}
declare signext i8 @getchar(...) #1
declare i32 @atoi(ptr noundef) #1
declare ptr @hop(ptr noundef) #1
declare i32 @is_in_bound(ptr noundef, i32 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/tmpqkrfs0sg.c'
source_filename = "/tmp/tmpqkrfs0sg.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.dirent = type { i64, ptr }
@.str = private unnamed_addr constant [7 x i8] c"/proc/\00", align 1
@DT_DIR = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [13 x i8] c"/proc/%s/exe\00", align 1
@PATH_MAX = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [2 x i8] c"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @findProcessByName(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%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
store ptr %0, ptr %3, align 8
%13 = load ptr, ptr %3, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %16
15: ; preds = %1
store i32 -1, ptr %2, align 4
br label %120
16: ; preds = %1
%17 = call ptr @opendir(ptr noundef @.str)
store ptr %17, ptr %5, align 8
%18 = load ptr, ptr %5, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %119
20: ; preds = %16
br label %21
21: ; preds = %111, %80, %69, %50, %31, %20
%22 = load ptr, ptr %5, align 8
%23 = call ptr @readdir(ptr noundef %22)
store ptr %23, ptr %4, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %25, label %116
25: ; preds = %21
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds %struct.dirent, ptr %26, i32 0, i32 0
%28 = load i64, ptr %27, align 8
%29 = load i64, ptr @DT_DIR, align 8
%30 = icmp ne i64 %28, %29
br i1 %30, label %31, label %32
31: ; preds = %25
br label %21, !llvm.loop !6
32: ; preds = %25
%33 = load ptr, ptr %4, align 8
%34 = getelementptr inbounds %struct.dirent, ptr %33, i32 0, i32 1
%35 = load ptr, ptr %34, align 8
%36 = call i32 @atoi(ptr noundef %35)
store i32 %36, ptr %6, align 4
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds %struct.dirent, ptr %37, i32 0, i32 1
%39 = load ptr, ptr %38, align 8
%40 = call i32 @strlen(ptr noundef %39)
%41 = add nsw i32 10, %40
%42 = add nsw i32 %41, 1
store i32 %42, ptr %7, align 4
%43 = load i32, ptr %7, align 4
%44 = sext i32 %43 to i64
%45 = mul i64 %44, 1
%46 = trunc i64 %45 to i32
%47 = call ptr @malloc(i32 noundef %46)
store ptr %47, ptr %8, align 8
%48 = load ptr, ptr %8, align 8
%49 = icmp eq ptr %48, null
br i1 %49, label %50, label %51
50: ; preds = %32
br label %21, !llvm.loop !6
51: ; preds = %32
%52 = load ptr, ptr %8, align 8
%53 = load ptr, ptr %4, align 8
%54 = getelementptr inbounds %struct.dirent, ptr %53, i32 0, i32 1
%55 = load ptr, ptr %54, align 8
%56 = call i32 @sprintf(ptr noundef %52, ptr noundef @.str.1, ptr noundef %55)
%57 = load ptr, ptr %8, align 8
%58 = load i32, ptr %7, align 4
%59 = sub nsw i32 %58, 1
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %57, i64 %60
store i8 0, ptr %61, align 1
%62 = load i32, ptr @PATH_MAX, align 4
%63 = sext i32 %62 to i64
%64 = mul i64 %63, 1
%65 = trunc i64 %64 to i32
%66 = call ptr @malloc(i32 noundef %65)
store ptr %66, ptr %9, align 8
%67 = load ptr, ptr %9, align 8
%68 = icmp eq ptr %67, null
br i1 %68, label %69, label %72
69: ; preds = %51
%70 = load ptr, ptr %8, align 8
%71 = call i32 @free(ptr noundef %70)
br label %21, !llvm.loop !6
72: ; preds = %51
%73 = load ptr, ptr %8, align 8
%74 = load ptr, ptr %9, align 8
%75 = load i32, ptr @PATH_MAX, align 4
%76 = sub nsw i32 %75, 1
%77 = call i32 @readlink(ptr noundef %73, ptr noundef %74, i32 noundef %76)
store i32 %77, ptr %10, align 4
%78 = load i32, ptr %10, align 4
%79 = icmp eq i32 %78, -1
br i1 %79, label %80, label %85
80: ; preds = %72
%81 = load ptr, ptr %8, align 8
%82 = call i32 @free(ptr noundef %81)
%83 = load ptr, ptr %9, align 8
%84 = call i32 @free(ptr noundef %83)
br label %21, !llvm.loop !6
85: ; preds = %72
%86 = load ptr, ptr %9, align 8
%87 = load i32, ptr %10, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i8, ptr %86, i64 %88
store i8 0, ptr %89, align 1
store ptr null, ptr %11, align 8
%90 = load ptr, ptr %9, align 8
%91 = call ptr @strtok(ptr noundef %90, ptr noundef @.str.2)
store ptr %91, ptr %12, align 8
br label %92
92: ; preds = %95, %85
%93 = load ptr, ptr %12, align 8
%94 = icmp ne ptr %93, null
br i1 %94, label %95, label %98
95: ; preds = %92
%96 = load ptr, ptr %12, align 8
store ptr %96, ptr %11, align 8
%97 = call ptr @strtok(ptr noundef null, ptr noundef @.str.2)
store ptr %97, ptr %12, align 8
br label %92, !llvm.loop !8
98: ; preds = %92
%99 = load ptr, ptr %11, align 8
%100 = load ptr, ptr %3, align 8
%101 = call i64 @strcmp(ptr noundef %99, ptr noundef %100)
%102 = icmp eq i64 %101, 0
br i1 %102, label %103, label %111
103: ; preds = %98
%104 = load ptr, ptr %8, align 8
%105 = call i32 @free(ptr noundef %104)
%106 = load ptr, ptr %9, align 8
%107 = call i32 @free(ptr noundef %106)
%108 = load ptr, ptr %5, align 8
%109 = call i32 @closedir(ptr noundef %108)
%110 = load i32, ptr %6, align 4
store i32 %110, ptr %2, align 4
br label %120
111: ; preds = %98
%112 = load ptr, ptr %8, align 8
%113 = call i32 @free(ptr noundef %112)
%114 = load ptr, ptr %9, align 8
%115 = call i32 @free(ptr noundef %114)
br label %21, !llvm.loop !6
116: ; preds = %21
%117 = load ptr, ptr %5, align 8
%118 = call i32 @closedir(ptr noundef %117)
br label %119
119: ; preds = %116, %16
store i32 -1, ptr %2, align 4
br label %120
120: ; preds = %119, %103, %15
%121 = load i32, ptr %2, align 4
ret i32 %121
}
declare ptr @opendir(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @readlink(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @closedir(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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqkrfs0sg.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.dirent = type { i64, ptr }
@.str = private unnamed_addr constant [7 x i8] c"/proc/\00", align 1
@DT_DIR = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [13 x i8] c"/proc/%s/exe\00", align 1
@PATH_MAX = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [2 x i8] c"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @findProcessByName(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%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
store ptr %0, ptr %3, align 8
%13 = load ptr, ptr %3, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %16
15: ; preds = %1
store i32 -1, ptr %2, align 4
br label %123
16: ; preds = %1
%17 = call ptr @opendir(ptr noundef @.str)
store ptr %17, ptr %5, align 8
%18 = load ptr, ptr %5, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %122
20: ; preds = %16
%21 = load ptr, ptr %5, align 8
%22 = call ptr @readdir(ptr noundef %21)
store ptr %22, ptr %4, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %.lr.ph2, label %119
.lr.ph2: ; preds = %20
br label %24
24: ; preds = %.lr.ph2, %.backedge
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds %struct.dirent, ptr %25, i32 0, i32 0
%27 = load i64, ptr %26, align 8
%28 = load i64, ptr @DT_DIR, align 8
%29 = icmp ne i64 %27, %28
br i1 %29, label %30, label %34
30: ; preds = %24
br label %.backedge
.backedge: ; preds = %30, %52, %71, %82, %114
%31 = load ptr, ptr %5, align 8
%32 = call ptr @readdir(ptr noundef %31)
store ptr %32, ptr %4, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %24, label %._crit_edge3, !llvm.loop !6
34: ; preds = %24
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds %struct.dirent, ptr %35, i32 0, i32 1
%37 = load ptr, ptr %36, align 8
%38 = call i32 @atoi(ptr noundef %37)
store i32 %38, ptr %6, align 4
%39 = load ptr, ptr %4, align 8
%40 = getelementptr inbounds %struct.dirent, ptr %39, i32 0, i32 1
%41 = load ptr, ptr %40, align 8
%42 = call i32 @strlen(ptr noundef %41)
%43 = add nsw i32 10, %42
%44 = add nsw i32 %43, 1
store i32 %44, ptr %7, align 4
%45 = load i32, ptr %7, align 4
%46 = sext i32 %45 to i64
%47 = mul i64 %46, 1
%48 = trunc i64 %47 to i32
%49 = call ptr @malloc(i32 noundef %48)
store ptr %49, ptr %8, align 8
%50 = load ptr, ptr %8, align 8
%51 = icmp eq ptr %50, null
br i1 %51, label %52, label %53
52: ; preds = %34
br label %.backedge
53: ; preds = %34
%54 = load ptr, ptr %8, align 8
%55 = load ptr, ptr %4, align 8
%56 = getelementptr inbounds %struct.dirent, ptr %55, i32 0, i32 1
%57 = load ptr, ptr %56, align 8
%58 = call i32 @sprintf(ptr noundef %54, ptr noundef @.str.1, ptr noundef %57)
%59 = load ptr, ptr %8, align 8
%60 = load i32, ptr %7, align 4
%61 = sub nsw i32 %60, 1
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %59, i64 %62
store i8 0, ptr %63, align 1
%64 = load i32, ptr @PATH_MAX, align 4
%65 = sext i32 %64 to i64
%66 = mul i64 %65, 1
%67 = trunc i64 %66 to i32
%68 = call ptr @malloc(i32 noundef %67)
store ptr %68, ptr %9, align 8
%69 = load ptr, ptr %9, align 8
%70 = icmp eq ptr %69, null
br i1 %70, label %71, label %74
71: ; preds = %53
%72 = load ptr, ptr %8, align 8
%73 = call i32 @free(ptr noundef %72)
br label %.backedge
74: ; preds = %53
%75 = load ptr, ptr %8, align 8
%76 = load ptr, ptr %9, align 8
%77 = load i32, ptr @PATH_MAX, align 4
%78 = sub nsw i32 %77, 1
%79 = call i32 @readlink(ptr noundef %75, ptr noundef %76, i32 noundef %78)
store i32 %79, ptr %10, align 4
%80 = load i32, ptr %10, align 4
%81 = icmp eq i32 %80, -1
br i1 %81, label %82, label %87
82: ; preds = %74
%83 = load ptr, ptr %8, align 8
%84 = call i32 @free(ptr noundef %83)
%85 = load ptr, ptr %9, align 8
%86 = call i32 @free(ptr noundef %85)
br label %.backedge
87: ; preds = %74
%88 = load ptr, ptr %9, align 8
%89 = load i32, ptr %10, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i8, ptr %88, i64 %90
store i8 0, ptr %91, align 1
store ptr null, ptr %11, align 8
%92 = load ptr, ptr %9, align 8
%93 = call ptr @strtok(ptr noundef %92, ptr noundef @.str.2)
store ptr %93, ptr %12, align 8
%94 = load ptr, ptr %12, align 8
%95 = icmp ne ptr %94, null
br i1 %95, label %.lr.ph, label %101
.lr.ph: ; preds = %87
br label %96
96: ; preds = %.lr.ph, %96
%97 = load ptr, ptr %12, align 8
store ptr %97, ptr %11, align 8
%98 = call ptr @strtok(ptr noundef null, ptr noundef @.str.2)
store ptr %98, ptr %12, align 8
%99 = load ptr, ptr %12, align 8
%100 = icmp ne ptr %99, null
br i1 %100, label %96, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %96
br label %101
101: ; preds = %._crit_edge, %87
%102 = load ptr, ptr %11, align 8
%103 = load ptr, ptr %3, align 8
%104 = call i64 @strcmp(ptr noundef %102, ptr noundef %103)
%105 = icmp eq i64 %104, 0
br i1 %105, label %106, label %114
106: ; preds = %101
%107 = load ptr, ptr %8, align 8
%108 = call i32 @free(ptr noundef %107)
%109 = load ptr, ptr %9, align 8
%110 = call i32 @free(ptr noundef %109)
%111 = load ptr, ptr %5, align 8
%112 = call i32 @closedir(ptr noundef %111)
%113 = load i32, ptr %6, align 4
store i32 %113, ptr %2, align 4
br label %123
114: ; preds = %101
%115 = load ptr, ptr %8, align 8
%116 = call i32 @free(ptr noundef %115)
%117 = load ptr, ptr %9, align 8
%118 = call i32 @free(ptr noundef %117)
br label %.backedge
._crit_edge3: ; preds = %.backedge
br label %119
119: ; preds = %._crit_edge3, %20
%120 = load ptr, ptr %5, align 8
%121 = call i32 @closedir(ptr noundef %120)
br label %122
122: ; preds = %119, %16
store i32 -1, ptr %2, align 4
br label %123
123: ; preds = %122, %106, %15
%124 = load i32, ptr %2, align 4
ret i32 %124
}
declare ptr @opendir(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @readlink(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @closedir(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}
|
; ModuleID = '/tmp/tmp3mevimuj.c'
source_filename = "/tmp/tmp3mevimuj.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 @e_sbc_abs() #0 {
%1 = call i32 (...) @e_abs()
%2 = call i32 (...) @e_sbc()
ret void
}
declare i32 @e_abs(...) #1
declare i32 @e_sbc(...) #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/tmp3mevimuj.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 @e_sbc_abs() #0 {
%1 = call i32 (...) @e_abs()
%2 = call i32 (...) @e_sbc()
ret void
}
declare i32 @e_abs(...) #1
declare i32 @e_sbc(...) #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/tmpllkrq4vc.c'
source_filename = "/tmp/tmpllkrq4vc.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 @eqvlat(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
%13 = load double, ptr %4, align 8
%14 = fmul double 0x3F91DF46A2529D39, %13
%15 = call double @sin(double noundef %14) #4
store double %15, ptr %6, align 8
%16 = load double, ptr %5, align 8
%17 = fmul double 0x3F91DF46A2529D39, %16
%18 = call double @sin(double noundef %17) #4
store double %18, ptr %7, align 8
%19 = load double, ptr %6, align 8
%20 = load double, ptr %7, align 8
%21 = fcmp olt double %19, %20
br i1 %21, label %22, label %26
22: ; preds = %2
%23 = load double, ptr %6, align 8
store double %23, ptr %10, align 8
%24 = load double, ptr %7, align 8
store double %24, ptr %6, align 8
%25 = load double, ptr %10, align 8
store double %25, ptr %7, align 8
br label %26
26: ; preds = %22, %2
%27 = load double, ptr %6, align 8
%28 = load double, ptr %7, align 8
%29 = fcmp oeq double %27, %28
br i1 %29, label %30, label %35
30: ; preds = %26
%31 = load double, ptr %6, align 8
%32 = call i32 @asin(double noundef %31)
%33 = sitofp i32 %32 to double
%34 = fmul double %33, 0x404CA5DC1A63C1F8
store double %34, ptr %3, align 8
br label %142
35: ; preds = %26
%36 = load double, ptr %6, align 8
%37 = load double, ptr %7, align 8
%38 = fneg double %37
%39 = fcmp oeq double %36, %38
br i1 %39, label %40, label %41
40: ; preds = %35
store double 0.000000e+00, ptr %3, align 8
br label %142
41: ; preds = %35
%42 = load double, ptr %6, align 8
%43 = fcmp oge double %42, 1.000000e+00
br i1 %43, label %44, label %45
44: ; preds = %41
store double 9.000000e+01, ptr %3, align 8
br label %142
45: ; preds = %41
%46 = load double, ptr %7, align 8
%47 = fcmp ole double %46, -1.000000e+00
br i1 %47, label %48, label %49
48: ; preds = %45
store double -9.000000e+01, ptr %3, align 8
br label %142
49: ; preds = %45
%50 = load double, ptr %6, align 8
%51 = load double, ptr %7, align 8
%52 = fsub double %50, %51
%53 = load double, ptr %6, align 8
%54 = fsub double 2.000000e+00, %53
%55 = load double, ptr %7, align 8
%56 = fsub double %54, %55
%57 = fdiv double %52, %56
store double %57, ptr %11, align 8
%58 = load double, ptr %11, align 8
%59 = fcmp ogt double %58, 1.000000e-03
br i1 %59, label %60, label %72
60: ; preds = %49
%61 = load double, ptr %6, align 8
%62 = fsub double 1.000000e+00, %61
%63 = load double, ptr %7, align 8
%64 = fsub double 1.000000e+00, %63
%65 = fdiv double %62, %64
%66 = fptosi double %65 to i32
%67 = call double @log(i32 noundef %66)
%68 = load double, ptr %6, align 8
%69 = load double, ptr %7, align 8
%70 = fsub double %68, %69
%71 = fdiv double %67, %70
store double %71, ptr %8, align 8
br label %90
72: ; preds = %49
%73 = load double, ptr %11, align 8
%74 = load double, ptr %11, align 8
%75 = fmul double %74, %73
store double %75, ptr %11, align 8
%76 = load double, ptr %6, align 8
%77 = fsub double 2.000000e+00, %76
%78 = load double, ptr %7, align 8
%79 = fsub double %77, %78
%80 = fdiv double -2.000000e+00, %79
%81 = load double, ptr %11, align 8
%82 = load double, ptr %11, align 8
%83 = load double, ptr %11, align 8
%84 = load double, ptr %11, align 8
%85 = fadd double 0x3FC2492492492492, %84
%86 = call double @llvm.fmuladd.f64(double %83, double %85, double 2.000000e-01)
%87 = call double @llvm.fmuladd.f64(double %82, double %86, double 0x3FD5555555555555)
%88 = call double @llvm.fmuladd.f64(double %81, double %87, double 1.000000e+00)
%89 = fmul double %80, %88
store double %89, ptr %8, align 8
br label %90
90: ; preds = %72, %60
%91 = load double, ptr %6, align 8
%92 = load double, ptr %7, align 8
%93 = fsub double %91, %92
%94 = load double, ptr %6, align 8
%95 = fadd double 2.000000e+00, %94
%96 = load double, ptr %7, align 8
%97 = fadd double %95, %96
%98 = fdiv double %93, %97
store double %98, ptr %12, align 8
%99 = load double, ptr %12, align 8
%100 = fcmp ogt double %99, 1.000000e-03
br i1 %100, label %101, label %113
101: ; preds = %90
%102 = load double, ptr %6, align 8
%103 = fadd double 1.000000e+00, %102
%104 = load double, ptr %7, align 8
%105 = fadd double 1.000000e+00, %104
%106 = fdiv double %103, %105
%107 = fptosi double %106 to i32
%108 = call double @log(i32 noundef %107)
%109 = load double, ptr %6, align 8
%110 = load double, ptr %7, align 8
%111 = fsub double %109, %110
%112 = fdiv double %108, %111
store double %112, ptr %9, align 8
br label %131
113: ; preds = %90
%114 = load double, ptr %12, align 8
%115 = load double, ptr %12, align 8
%116 = fmul double %115, %114
store double %116, ptr %12, align 8
%117 = load double, ptr %6, align 8
%118 = fadd double 2.000000e+00, %117
%119 = load double, ptr %7, align 8
%120 = fadd double %118, %119
%121 = fdiv double 2.000000e+00, %120
%122 = load double, ptr %12, align 8
%123 = load double, ptr %12, align 8
%124 = load double, ptr %12, align 8
%125 = load double, ptr %12, align 8
%126 = fadd double 0x3FC2492492492492, %125
%127 = call double @llvm.fmuladd.f64(double %124, double %126, double 2.000000e-01)
%128 = call double @llvm.fmuladd.f64(double %123, double %127, double 0x3FD5555555555555)
%129 = call double @llvm.fmuladd.f64(double %122, double %128, double 1.000000e+00)
%130 = fmul double %121, %129
store double %130, ptr %9, align 8
br label %131
131: ; preds = %113, %101
%132 = load double, ptr %8, align 8
%133 = load double, ptr %9, align 8
%134 = fadd double %132, %133
%135 = load double, ptr %8, align 8
%136 = load double, ptr %9, align 8
%137 = fsub double %135, %136
%138 = fdiv double %134, %137
%139 = call i32 @asin(double noundef %138)
%140 = sitofp i32 %139 to double
%141 = fmul double %140, 0x404CA5DC1A63C1F8
store double %141, ptr %3, align 8
br label %142
142: ; preds = %131, %48, %44, %40, %30
%143 = load double, ptr %3, align 8
ret double %143
}
; Function Attrs: nounwind
declare double @sin(double noundef) #1
declare i32 @asin(double noundef) #2
declare double @log(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
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 = { 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 #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" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpllkrq4vc.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 @eqvlat(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
%13 = load double, ptr %4, align 8
%14 = fmul double 0x3F91DF46A2529D39, %13
%15 = call double @sin(double noundef %14) #4
store double %15, ptr %6, align 8
%16 = load double, ptr %5, align 8
%17 = fmul double 0x3F91DF46A2529D39, %16
%18 = call double @sin(double noundef %17) #4
store double %18, ptr %7, align 8
%19 = load double, ptr %6, align 8
%20 = load double, ptr %7, align 8
%21 = fcmp olt double %19, %20
br i1 %21, label %22, label %26
22: ; preds = %2
%23 = load double, ptr %6, align 8
store double %23, ptr %10, align 8
%24 = load double, ptr %7, align 8
store double %24, ptr %6, align 8
%25 = load double, ptr %10, align 8
store double %25, ptr %7, align 8
br label %26
26: ; preds = %22, %2
%27 = load double, ptr %6, align 8
%28 = load double, ptr %7, align 8
%29 = fcmp oeq double %27, %28
br i1 %29, label %30, label %35
30: ; preds = %26
%31 = load double, ptr %6, align 8
%32 = call i32 @asin(double noundef %31)
%33 = sitofp i32 %32 to double
%34 = fmul double %33, 0x404CA5DC1A63C1F8
store double %34, ptr %3, align 8
br label %142
35: ; preds = %26
%36 = load double, ptr %6, align 8
%37 = load double, ptr %7, align 8
%38 = fneg double %37
%39 = fcmp oeq double %36, %38
br i1 %39, label %40, label %41
40: ; preds = %35
store double 0.000000e+00, ptr %3, align 8
br label %142
41: ; preds = %35
%42 = load double, ptr %6, align 8
%43 = fcmp oge double %42, 1.000000e+00
br i1 %43, label %44, label %45
44: ; preds = %41
store double 9.000000e+01, ptr %3, align 8
br label %142
45: ; preds = %41
%46 = load double, ptr %7, align 8
%47 = fcmp ole double %46, -1.000000e+00
br i1 %47, label %48, label %49
48: ; preds = %45
store double -9.000000e+01, ptr %3, align 8
br label %142
49: ; preds = %45
%50 = load double, ptr %6, align 8
%51 = load double, ptr %7, align 8
%52 = fsub double %50, %51
%53 = load double, ptr %6, align 8
%54 = fsub double 2.000000e+00, %53
%55 = load double, ptr %7, align 8
%56 = fsub double %54, %55
%57 = fdiv double %52, %56
store double %57, ptr %11, align 8
%58 = load double, ptr %11, align 8
%59 = fcmp ogt double %58, 1.000000e-03
br i1 %59, label %60, label %72
60: ; preds = %49
%61 = load double, ptr %6, align 8
%62 = fsub double 1.000000e+00, %61
%63 = load double, ptr %7, align 8
%64 = fsub double 1.000000e+00, %63
%65 = fdiv double %62, %64
%66 = fptosi double %65 to i32
%67 = call double @log(i32 noundef %66)
%68 = load double, ptr %6, align 8
%69 = load double, ptr %7, align 8
%70 = fsub double %68, %69
%71 = fdiv double %67, %70
store double %71, ptr %8, align 8
br label %90
72: ; preds = %49
%73 = load double, ptr %11, align 8
%74 = load double, ptr %11, align 8
%75 = fmul double %74, %73
store double %75, ptr %11, align 8
%76 = load double, ptr %6, align 8
%77 = fsub double 2.000000e+00, %76
%78 = load double, ptr %7, align 8
%79 = fsub double %77, %78
%80 = fdiv double -2.000000e+00, %79
%81 = load double, ptr %11, align 8
%82 = load double, ptr %11, align 8
%83 = load double, ptr %11, align 8
%84 = load double, ptr %11, align 8
%85 = fadd double 0x3FC2492492492492, %84
%86 = call double @llvm.fmuladd.f64(double %83, double %85, double 2.000000e-01)
%87 = call double @llvm.fmuladd.f64(double %82, double %86, double 0x3FD5555555555555)
%88 = call double @llvm.fmuladd.f64(double %81, double %87, double 1.000000e+00)
%89 = fmul double %80, %88
store double %89, ptr %8, align 8
br label %90
90: ; preds = %72, %60
%91 = load double, ptr %6, align 8
%92 = load double, ptr %7, align 8
%93 = fsub double %91, %92
%94 = load double, ptr %6, align 8
%95 = fadd double 2.000000e+00, %94
%96 = load double, ptr %7, align 8
%97 = fadd double %95, %96
%98 = fdiv double %93, %97
store double %98, ptr %12, align 8
%99 = load double, ptr %12, align 8
%100 = fcmp ogt double %99, 1.000000e-03
br i1 %100, label %101, label %113
101: ; preds = %90
%102 = load double, ptr %6, align 8
%103 = fadd double 1.000000e+00, %102
%104 = load double, ptr %7, align 8
%105 = fadd double 1.000000e+00, %104
%106 = fdiv double %103, %105
%107 = fptosi double %106 to i32
%108 = call double @log(i32 noundef %107)
%109 = load double, ptr %6, align 8
%110 = load double, ptr %7, align 8
%111 = fsub double %109, %110
%112 = fdiv double %108, %111
store double %112, ptr %9, align 8
br label %131
113: ; preds = %90
%114 = load double, ptr %12, align 8
%115 = load double, ptr %12, align 8
%116 = fmul double %115, %114
store double %116, ptr %12, align 8
%117 = load double, ptr %6, align 8
%118 = fadd double 2.000000e+00, %117
%119 = load double, ptr %7, align 8
%120 = fadd double %118, %119
%121 = fdiv double 2.000000e+00, %120
%122 = load double, ptr %12, align 8
%123 = load double, ptr %12, align 8
%124 = load double, ptr %12, align 8
%125 = load double, ptr %12, align 8
%126 = fadd double 0x3FC2492492492492, %125
%127 = call double @llvm.fmuladd.f64(double %124, double %126, double 2.000000e-01)
%128 = call double @llvm.fmuladd.f64(double %123, double %127, double 0x3FD5555555555555)
%129 = call double @llvm.fmuladd.f64(double %122, double %128, double 1.000000e+00)
%130 = fmul double %121, %129
store double %130, ptr %9, align 8
br label %131
131: ; preds = %113, %101
%132 = load double, ptr %8, align 8
%133 = load double, ptr %9, align 8
%134 = fadd double %132, %133
%135 = load double, ptr %8, align 8
%136 = load double, ptr %9, align 8
%137 = fsub double %135, %136
%138 = fdiv double %134, %137
%139 = call i32 @asin(double noundef %138)
%140 = sitofp i32 %139 to double
%141 = fmul double %140, 0x404CA5DC1A63C1F8
store double %141, ptr %3, align 8
br label %142
142: ; preds = %131, %48, %44, %40, %30
%143 = load double, ptr %3, align 8
ret double %143
}
; Function Attrs: nounwind
declare double @sin(double noundef) #1
declare i32 @asin(double noundef) #2
declare double @log(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
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 = { 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 #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" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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"}
|
; ModuleID = '/tmp/tmp24pqw3pn.c'
source_filename = "/tmp/tmp24pqw3pn.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"Hallo Welt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
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/tmp24pqw3pn.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"Hallo Welt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
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/tmpemci038k.c'
source_filename = "/tmp/tmpemci038k.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(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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 1
br i1 %8, label %9, label %22
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 0
%12 = load ptr, ptr %11, align 8
%13 = call i32 @first(ptr noundef %12)
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %9
br label %20
17: ; preds = %9
%18 = load i32, ptr %6, align 4
%19 = add nsw i32 8, %18
br label %20
20: ; preds = %17, %16
%21 = phi i32 [ 0, %16 ], [ %19, %17 ]
store i32 %21, ptr %3, align 4
br label %45
22: ; preds = %2
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 0
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
switch i32 %28, label %43 [
i32 49, label %29
i32 50, label %42
]
29: ; preds = %22
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 0
%32 = load ptr, ptr %31, align 8
%33 = call i32 @second(ptr noundef %32)
store i32 %33, ptr %6, align 4
%34 = load i32, ptr %6, align 4
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %29
br label %40
37: ; preds = %29
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 16, %38
br label %40
40: ; preds = %37, %36
%41 = phi i32 [ 0, %36 ], [ %39, %37 ]
store i32 %41, ptr %3, align 4
br label %45
42: ; preds = %22
br label %44
43: ; preds = %22
store i32 1, ptr %3, align 4
br label %45
44: ; preds = %42
store i32 0, ptr %3, align 4
br label %45
45: ; preds = %44, %43, %40, %20
%46 = load i32, ptr %3, align 4
ret i32 %46
}
declare i32 @first(ptr noundef) #1
declare i32 @second(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/tmpemci038k.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(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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 1
br i1 %8, label %9, label %22
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 0
%12 = load ptr, ptr %11, align 8
%13 = call i32 @first(ptr noundef %12)
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %9
br label %20
17: ; preds = %9
%18 = load i32, ptr %6, align 4
%19 = add nsw i32 8, %18
br label %20
20: ; preds = %17, %16
%21 = phi i32 [ 0, %16 ], [ %19, %17 ]
store i32 %21, ptr %3, align 4
br label %45
22: ; preds = %2
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 0
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
switch i32 %28, label %43 [
i32 49, label %29
i32 50, label %42
]
29: ; preds = %22
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 0
%32 = load ptr, ptr %31, align 8
%33 = call i32 @second(ptr noundef %32)
store i32 %33, ptr %6, align 4
%34 = load i32, ptr %6, align 4
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %29
br label %40
37: ; preds = %29
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 16, %38
br label %40
40: ; preds = %37, %36
%41 = phi i32 [ 0, %36 ], [ %39, %37 ]
store i32 %41, ptr %3, align 4
br label %45
42: ; preds = %22
br label %44
43: ; preds = %22
store i32 1, ptr %3, align 4
br label %45
44: ; preds = %42
store i32 0, ptr %3, align 4
br label %45
45: ; preds = %44, %43, %40, %20
%46 = load i32, ptr %3, align 4
ret i32 %46
}
declare i32 @first(ptr noundef) #1
declare i32 @second(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/tmpdbf35vrq.c'
source_filename = "/tmp/tmpdbf35vrq.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"pas\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @balance_symbols(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @get_filename_ext(ptr noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strcmp(ptr noundef %6, ptr noundef @.str)
%8 = icmp ne i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %1
%10 = load ptr, ptr %2, align 8
%11 = call i32 @balance_symbols_pascal(ptr noundef %10)
br label %12
12: ; preds = %9, %1
%13 = load ptr, ptr %3, align 8
%14 = call i32 @strcmp(ptr noundef %13, ptr noundef @.str.1)
%15 = icmp ne i32 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %12
%17 = load ptr, ptr %2, align 8
%18 = call i32 @balance_symbols_c(ptr noundef %17)
br label %19
19: ; preds = %16, %12
ret void
}
declare ptr @get_filename_ext(ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @balance_symbols_pascal(ptr noundef) #1
declare i32 @balance_symbols_c(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/tmpdbf35vrq.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"pas\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @balance_symbols(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @get_filename_ext(ptr noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strcmp(ptr noundef %6, ptr noundef @.str)
%8 = icmp ne i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %1
%10 = load ptr, ptr %2, align 8
%11 = call i32 @balance_symbols_pascal(ptr noundef %10)
br label %12
12: ; preds = %9, %1
%13 = load ptr, ptr %3, align 8
%14 = call i32 @strcmp(ptr noundef %13, ptr noundef @.str.1)
%15 = icmp ne i32 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %12
%17 = load ptr, ptr %2, align 8
%18 = call i32 @balance_symbols_c(ptr noundef %17)
br label %19
19: ; preds = %16, %12
ret void
}
declare ptr @get_filename_ext(ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @balance_symbols_pascal(ptr noundef) #1
declare i32 @balance_symbols_c(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/tmpk3a4voo4.c'
source_filename = "/tmp/tmpk3a4voo4.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 @f(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 eq i32 %3, 1
br i1 %4, label %5, label %13
5: ; preds = %1
%6 = call i32 (...) @b()
%7 = call i32 (...) @b()
%8 = call i32 (...) @b()
%9 = call i32 (...) @b()
%10 = call i32 (...) @b()
%11 = call i32 (...) @b()
%12 = call i32 (...) @b()
br label %13
13: ; preds = %5, %1
ret void
}
declare i32 @b(...) #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/tmpk3a4voo4.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 @f(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 eq i32 %3, 1
br i1 %4, label %5, label %13
5: ; preds = %1
%6 = call i32 (...) @b()
%7 = call i32 (...) @b()
%8 = call i32 (...) @b()
%9 = call i32 (...) @b()
%10 = call i32 (...) @b()
%11 = call i32 (...) @b()
%12 = call i32 (...) @b()
br label %13
13: ; preds = %5, %1
ret void
}
declare i32 @b(...) #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/tmp537cqlpc.c'
source_filename = "/tmp/tmp537cqlpc.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 @comments_get_int(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = call ptr @keyvals_get_val(ptr noundef %8, ptr noundef %9)
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %14
13: ; preds = %2
store i32 -1, ptr %3, align 4
br label %46
14: ; preds = %2
br label %15
15: ; preds = %35, %14
%16 = load ptr, ptr %6, 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 %33
20: ; preds = %15
%21 = load ptr, ptr %6, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp sge i32 %23, 48
br i1 %24, label %25, label %30
25: ; preds = %20
%26 = load ptr, ptr %6, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp sle i32 %28, 57
br label %30
30: ; preds = %25, %20
%31 = phi i1 [ false, %20 ], [ %29, %25 ]
%32 = xor i1 %31, true
br label %33
33: ; preds = %30, %15
%34 = phi i1 [ false, %15 ], [ %32, %30 ]
br i1 %34, label %35, label %38
35: ; preds = %33
%36 = load ptr, ptr %6, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %6, align 8
br label %15, !llvm.loop !6
38: ; preds = %33
%39 = load ptr, ptr %6, align 8
%40 = call i32 @str_to_int(ptr noundef %39, ptr noundef %7)
%41 = icmp eq i32 %40, -1
br i1 %41, label %42, label %43
42: ; preds = %38
store i32 -1, ptr %3, align 4
br label %46
43: ; preds = %38
%44 = load i64, ptr %7, align 8
%45 = trunc i64 %44 to i32
store i32 %45, ptr %3, align 4
br label %46
46: ; preds = %43, %42, %13
%47 = load i32, ptr %3, align 4
ret i32 %47
}
declare ptr @keyvals_get_val(ptr noundef, ptr noundef) #1
declare i32 @str_to_int(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/tmp537cqlpc.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 @comments_get_int(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = call ptr @keyvals_get_val(ptr noundef %8, ptr noundef %9)
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %14
13: ; preds = %2
store i32 -1, ptr %3, align 4
br label %46
14: ; preds = %2
br label %15
15: ; preds = %35, %14
%16 = load ptr, ptr %6, 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 %33
20: ; preds = %15
%21 = load ptr, ptr %6, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp sge i32 %23, 48
br i1 %24, label %25, label %30
25: ; preds = %20
%26 = load ptr, ptr %6, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp sle i32 %28, 57
br label %30
30: ; preds = %25, %20
%31 = phi i1 [ false, %20 ], [ %29, %25 ]
%32 = xor i1 %31, true
br label %33
33: ; preds = %30, %15
%34 = phi i1 [ false, %15 ], [ %32, %30 ]
br i1 %34, label %35, label %38
35: ; preds = %33
%36 = load ptr, ptr %6, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %6, align 8
br label %15, !llvm.loop !6
38: ; preds = %33
%39 = load ptr, ptr %6, align 8
%40 = call i32 @str_to_int(ptr noundef %39, ptr noundef %7)
%41 = icmp eq i32 %40, -1
br i1 %41, label %42, label %43
42: ; preds = %38
store i32 -1, ptr %3, align 4
br label %46
43: ; preds = %38
%44 = load i64, ptr %7, align 8
%45 = trunc i64 %44 to i32
store i32 %45, ptr %3, align 4
br label %46
46: ; preds = %43, %42, %13
%47 = load i32, ptr %3, align 4
ret i32 %47
}
declare ptr @keyvals_get_val(ptr noundef, ptr noundef) #1
declare i32 @str_to_int(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/tmp0wk_p0jq.c'
source_filename = "/tmp/tmp0wk_p0jq.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/tmp0wk_p0jq.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/tmpxkvwku57.c'
source_filename = "/tmp/tmpxkvwku57.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/tmpxkvwku57.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/tmp2qtv4u5u.c'
source_filename = "/tmp/tmp2qtv4u5u.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/tmp2qtv4u5u.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/tmpl9xyq4ln.c'
source_filename = "/tmp/tmpl9xyq4ln.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_5__ = type { i32 }
@FALSE = dso_local global i32 0, align 4
@TRUE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @xdr_u_long(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds %struct.TYPE_5__, ptr %7, i32 0, i32 0
%9 = load i32, ptr %8, align 4
switch i32 %9, label %28 [
i32 130, label %10
i32 129, label %22
i32 128, label %26
]
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = call i32 @XDR_GETLONG(ptr noundef %11, ptr noundef %6)
%13 = load i32, ptr @FALSE, align 4
%14 = icmp eq i32 %12, %13
br i1 %14, label %15, label %17
15: ; preds = %10
%16 = load i32, ptr @FALSE, align 4
store i32 %16, ptr %3, align 4
br label %30
17: ; preds = %10
%18 = load i64, ptr %6, align 8
%19 = trunc i64 %18 to i32
%20 = load ptr, ptr %5, align 8
store i32 %19, ptr %20, align 4
%21 = load i32, ptr @TRUE, align 4
store i32 %21, ptr %3, align 4
br label %30
22: ; preds = %2
%23 = load ptr, ptr %4, align 8
%24 = load ptr, ptr %5, align 8
%25 = call i32 @XDR_PUTLONG(ptr noundef %23, ptr noundef %24)
store i32 %25, ptr %3, align 4
br label %30
26: ; preds = %2
%27 = load i32, ptr @TRUE, align 4
store i32 %27, ptr %3, align 4
br label %30
28: ; preds = %2
%29 = load i32, ptr @FALSE, align 4
store i32 %29, ptr %3, align 4
br label %30
30: ; preds = %28, %26, %22, %17, %15
%31 = load i32, ptr %3, align 4
ret i32 %31
}
declare i32 @XDR_GETLONG(ptr noundef, ptr noundef) #1
declare i32 @XDR_PUTLONG(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/tmpl9xyq4ln.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_5__ = type { i32 }
@FALSE = dso_local global i32 0, align 4
@TRUE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @xdr_u_long(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds %struct.TYPE_5__, ptr %7, i32 0, i32 0
%9 = load i32, ptr %8, align 4
switch i32 %9, label %28 [
i32 130, label %10
i32 129, label %22
i32 128, label %26
]
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = call i32 @XDR_GETLONG(ptr noundef %11, ptr noundef %6)
%13 = load i32, ptr @FALSE, align 4
%14 = icmp eq i32 %12, %13
br i1 %14, label %15, label %17
15: ; preds = %10
%16 = load i32, ptr @FALSE, align 4
store i32 %16, ptr %3, align 4
br label %30
17: ; preds = %10
%18 = load i64, ptr %6, align 8
%19 = trunc i64 %18 to i32
%20 = load ptr, ptr %5, align 8
store i32 %19, ptr %20, align 4
%21 = load i32, ptr @TRUE, align 4
store i32 %21, ptr %3, align 4
br label %30
22: ; preds = %2
%23 = load ptr, ptr %4, align 8
%24 = load ptr, ptr %5, align 8
%25 = call i32 @XDR_PUTLONG(ptr noundef %23, ptr noundef %24)
store i32 %25, ptr %3, align 4
br label %30
26: ; preds = %2
%27 = load i32, ptr @TRUE, align 4
store i32 %27, ptr %3, align 4
br label %30
28: ; preds = %2
%29 = load i32, ptr @FALSE, align 4
store i32 %29, ptr %3, align 4
br label %30
30: ; preds = %28, %26, %22, %17, %15
%31 = load i32, ptr %3, align 4
ret i32 %31
}
declare i32 @XDR_GETLONG(ptr noundef, ptr noundef) #1
declare i32 @XDR_PUTLONG(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/tmpn_e67pd1.c'
source_filename = "/tmp/tmpn_e67pd1.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 @foo(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%15 = load i32, ptr %14, align 4
%16 = icmp eq i32 %15, -1
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
ret void
}
declare i32 @assert(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/tmpn_e67pd1.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 @foo(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%15 = load i32, ptr %14, align 4
%16 = icmp eq i32 %15, -1
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
ret void
}
declare i32 @assert(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/tmp8onrqprc.c'
source_filename = "/tmp/tmp8onrqprc.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 @line(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = call i32 @move_nasko(i32 noundef %9, i32 noundef %10)
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %8, align 4
%14 = call i32 @cont(i32 noundef %12, i32 noundef %13)
ret i32 0
}
declare i32 @move_nasko(i32 noundef, i32 noundef) #1
declare i32 @cont(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/tmp8onrqprc.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 @line(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = call i32 @move_nasko(i32 noundef %9, i32 noundef %10)
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %8, align 4
%14 = call i32 @cont(i32 noundef %12, i32 noundef %13)
ret i32 0
}
declare i32 @move_nasko(i32 noundef, i32 noundef) #1
declare i32 @cont(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/tmpn4cm5a65.c'
source_filename = "/tmp/tmpn4cm5a65.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/tmpn4cm5a65.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/tmph7n4xnqy.c'
source_filename = "/tmp/tmph7n4xnqy.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/tmph7n4xnqy.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/tmpk03uan7z.c'
source_filename = "/tmp/tmpk03uan7z.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"
@rm_mtab.tmp = internal global [160 x i8] zeroinitializer, align 16
@rm_mtab.tmp2 = internal global [160 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [34 x i8] c"Error getting temporary file name\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"/etc/mtab\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Can't open /etc/mtab\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"Can't create temporary file\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.8 = private unnamed_addr constant [32 x i8] c"Can't delete old /etc/mtab file\00", align 1
@.str.9 = private unnamed_addr constant [27 x i8] c"Error installing /etc/mtab\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rm_mtab(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%8 = call ptr @tmpnam(ptr noundef null)
store ptr %8, ptr %5, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = call i32 @perror(ptr noundef @.str)
%12 = call i32 @exit(i32 noundef 1) #3
unreachable
13: ; preds = %1
%14 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2)
store ptr %14, ptr %3, align 8
%15 = load ptr, ptr %3, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %20, label %17
17: ; preds = %13
%18 = call i32 @perror(ptr noundef @.str.3)
%19 = call i32 @exit(i32 noundef 1) #3
unreachable
20: ; preds = %13
%21 = load ptr, ptr %5, align 8
%22 = call ptr @fopen(ptr noundef %21, ptr noundef @.str.4)
store ptr %22, ptr %4, align 8
%23 = load ptr, ptr %4, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %28, label %25
25: ; preds = %20
%26 = call i32 @perror(ptr noundef @.str.5)
%27 = call i32 @exit(i32 noundef 1) #3
unreachable
28: ; preds = %20
br label %29
29: ; preds = %44, %40, %28
%30 = load ptr, ptr %3, align 8
%31 = call i64 @fgets(ptr noundef @rm_mtab.tmp, i32 noundef 160, ptr noundef %30)
%32 = icmp ne i64 %31, 0
br i1 %32, label %33, label %45
33: ; preds = %29
%34 = call i32 @strncpy(ptr noundef @rm_mtab.tmp2, ptr noundef @rm_mtab.tmp, i32 noundef 160)
%35 = call ptr @strtok(ptr noundef @rm_mtab.tmp, ptr noundef @.str.6)
store ptr %35, ptr %6, align 8
%36 = load ptr, ptr %6, align 8
%37 = load ptr, ptr %2, align 8
%38 = call i64 @strcmp(ptr noundef %36, ptr noundef %37)
%39 = icmp eq i64 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %33
br label %29, !llvm.loop !6
41: ; preds = %33
%42 = load ptr, ptr %4, align 8
%43 = call i32 @fprintf(ptr noundef %42, ptr noundef @.str.7, ptr noundef @rm_mtab.tmp2)
br label %44
44: ; preds = %41
br label %29, !llvm.loop !6
45: ; preds = %29
%46 = load ptr, ptr %3, align 8
%47 = call i32 @fclose(ptr noundef %46)
%48 = load ptr, ptr %4, align 8
%49 = call i32 @fclose(ptr noundef %48)
%50 = call i64 @unlink(ptr noundef @.str.1)
%51 = icmp slt i64 %50, 0
br i1 %51, label %52, label %55
52: ; preds = %45
%53 = call i32 @perror(ptr noundef @.str.8)
%54 = call i32 @exit(i32 noundef 1) #3
unreachable
55: ; preds = %45
%56 = load ptr, ptr %5, align 8
%57 = call i64 @rename(ptr noundef %56, ptr noundef @.str.1)
%58 = icmp slt i64 %57, 0
br i1 %58, label %59, label %62
59: ; preds = %55
%60 = call i32 @perror(ptr noundef @.str.9)
%61 = call i32 @exit(i32 noundef 1) #3
unreachable
62: ; preds = %55
ret i32 0
}
declare ptr @tmpnam(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i64 @unlink(ptr noundef) #1
declare i64 @rename(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" }
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk03uan7z.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"
@rm_mtab.tmp = internal global [160 x i8] zeroinitializer, align 16
@rm_mtab.tmp2 = internal global [160 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [34 x i8] c"Error getting temporary file name\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"/etc/mtab\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Can't open /etc/mtab\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"Can't create temporary file\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.8 = private unnamed_addr constant [32 x i8] c"Can't delete old /etc/mtab file\00", align 1
@.str.9 = private unnamed_addr constant [27 x i8] c"Error installing /etc/mtab\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rm_mtab(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%8 = call ptr @tmpnam(ptr noundef null)
store ptr %8, ptr %5, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = call i32 @perror(ptr noundef @.str)
%12 = call i32 @exit(i32 noundef 1) #3
unreachable
13: ; preds = %1
%14 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2)
store ptr %14, ptr %3, align 8
%15 = load ptr, ptr %3, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %20, label %17
17: ; preds = %13
%18 = call i32 @perror(ptr noundef @.str.3)
%19 = call i32 @exit(i32 noundef 1) #3
unreachable
20: ; preds = %13
%21 = load ptr, ptr %5, align 8
%22 = call ptr @fopen(ptr noundef %21, ptr noundef @.str.4)
store ptr %22, ptr %4, align 8
%23 = load ptr, ptr %4, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %28, label %25
25: ; preds = %20
%26 = call i32 @perror(ptr noundef @.str.5)
%27 = call i32 @exit(i32 noundef 1) #3
unreachable
28: ; preds = %20
%29 = load ptr, ptr %3, align 8
%30 = call i64 @fgets(ptr noundef @rm_mtab.tmp, i32 noundef 160, ptr noundef %29)
%31 = icmp ne i64 %30, 0
br i1 %31, label %.lr.ph, label %47
.lr.ph: ; preds = %28
br label %32
32: ; preds = %.lr.ph, %.backedge
%33 = call i32 @strncpy(ptr noundef @rm_mtab.tmp2, ptr noundef @rm_mtab.tmp, i32 noundef 160)
%34 = call ptr @strtok(ptr noundef @rm_mtab.tmp, ptr noundef @.str.6)
store ptr %34, ptr %6, align 8
%35 = load ptr, ptr %6, align 8
%36 = load ptr, ptr %2, align 8
%37 = call i64 @strcmp(ptr noundef %35, ptr noundef %36)
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %43
39: ; preds = %32
br label %.backedge
.backedge: ; preds = %39, %46
%40 = load ptr, ptr %3, align 8
%41 = call i64 @fgets(ptr noundef @rm_mtab.tmp, i32 noundef 160, ptr noundef %40)
%42 = icmp ne i64 %41, 0
br i1 %42, label %32, label %._crit_edge, !llvm.loop !6
43: ; preds = %32
%44 = load ptr, ptr %4, align 8
%45 = call i32 @fprintf(ptr noundef %44, ptr noundef @.str.7, ptr noundef @rm_mtab.tmp2)
br label %46
46: ; preds = %43
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %47
47: ; preds = %._crit_edge, %28
%48 = load ptr, ptr %3, align 8
%49 = call i32 @fclose(ptr noundef %48)
%50 = load ptr, ptr %4, align 8
%51 = call i32 @fclose(ptr noundef %50)
%52 = call i64 @unlink(ptr noundef @.str.1)
%53 = icmp slt i64 %52, 0
br i1 %53, label %54, label %57
54: ; preds = %47
%55 = call i32 @perror(ptr noundef @.str.8)
%56 = call i32 @exit(i32 noundef 1) #3
unreachable
57: ; preds = %47
%58 = load ptr, ptr %5, align 8
%59 = call i64 @rename(ptr noundef %58, ptr noundef @.str.1)
%60 = icmp slt i64 %59, 0
br i1 %60, label %61, label %64
61: ; preds = %57
%62 = call i32 @perror(ptr noundef @.str.9)
%63 = call i32 @exit(i32 noundef 1) #3
unreachable
64: ; preds = %57
ret i32 0
}
declare ptr @tmpnam(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i64 @unlink(ptr noundef) #1
declare i64 @rename(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" }
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpybiv0s97.c'
source_filename = "/tmp/tmpybiv0s97.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"clCreateBuffer failed.\00", align 1
@CL_TRUE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"clEnqueueMapBuffer failed.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @oclCreateMapBuffer(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i64 noundef %4, i64 noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i64, align 8
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i64 %4, ptr %12, align 8
store i64 %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%19 = load i64, ptr %13, align 8
%20 = mul i64 8, %19
store i64 %20, ptr %16, align 8
%21 = load i32, ptr %8, align 4
%22 = load i32, ptr %10, align 4
%23 = load i64, ptr %16, align 8
%24 = call i32 @clCreateBuffer(i32 noundef %21, i32 noundef %22, i64 noundef %23, ptr noundef null, ptr noundef %15)
store i32 %24, ptr %17, align 4
%25 = load i32, ptr %15, align 4
%26 = call i32 @oclCheckStatus(i32 noundef %25, ptr noundef @.str)
%27 = load i32, ptr %17, align 4
%28 = load ptr, ptr %14, align 8
store i32 %27, ptr %28, align 4
%29 = load i32, ptr %9, align 4
%30 = load i32, ptr %17, align 4
%31 = load i32, ptr @CL_TRUE, align 4
%32 = load i32, ptr %11, align 4
%33 = load i64, ptr %16, align 8
%34 = call ptr @clEnqueueMapBuffer(i32 noundef %29, i32 noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef 0, i64 noundef %33, i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef %15)
store ptr %34, ptr %18, align 8
%35 = load i32, ptr %15, align 4
%36 = call i32 @oclCheckStatus(i32 noundef %35, ptr noundef @.str.1)
%37 = load ptr, ptr %18, align 8
ret ptr %37
}
declare i32 @clCreateBuffer(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1
declare i32 @oclCheckStatus(i32 noundef, ptr noundef) #1
declare ptr @clEnqueueMapBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef, 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/tmpybiv0s97.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"clCreateBuffer failed.\00", align 1
@CL_TRUE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"clEnqueueMapBuffer failed.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @oclCreateMapBuffer(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i64 noundef %4, i64 noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i64, align 8
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i64 %4, ptr %12, align 8
store i64 %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%19 = load i64, ptr %13, align 8
%20 = mul i64 8, %19
store i64 %20, ptr %16, align 8
%21 = load i32, ptr %8, align 4
%22 = load i32, ptr %10, align 4
%23 = load i64, ptr %16, align 8
%24 = call i32 @clCreateBuffer(i32 noundef %21, i32 noundef %22, i64 noundef %23, ptr noundef null, ptr noundef %15)
store i32 %24, ptr %17, align 4
%25 = load i32, ptr %15, align 4
%26 = call i32 @oclCheckStatus(i32 noundef %25, ptr noundef @.str)
%27 = load i32, ptr %17, align 4
%28 = load ptr, ptr %14, align 8
store i32 %27, ptr %28, align 4
%29 = load i32, ptr %9, align 4
%30 = load i32, ptr %17, align 4
%31 = load i32, ptr @CL_TRUE, align 4
%32 = load i32, ptr %11, align 4
%33 = load i64, ptr %16, align 8
%34 = call ptr @clEnqueueMapBuffer(i32 noundef %29, i32 noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef 0, i64 noundef %33, i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef %15)
store ptr %34, ptr %18, align 8
%35 = load i32, ptr %15, align 4
%36 = call i32 @oclCheckStatus(i32 noundef %35, ptr noundef @.str.1)
%37 = load ptr, ptr %18, align 8
ret ptr %37
}
declare i32 @clCreateBuffer(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1
declare i32 @oclCheckStatus(i32 noundef, ptr noundef) #1
declare ptr @clEnqueueMapBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef, 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/tmpdqv2phhf.c'
source_filename = "/tmp/tmpdqv2phhf.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.x = private unnamed_addr constant [4 x double] [double 3.140000e+00, double -3.140000e+00, double 0.000000e+00, double 0x7FF8000000000000], align 16
@.str = private unnamed_addr constant [19 x i8] c"signum(%lf) = %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [4 x double], align 16
%3 = alloca double, align 8
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.x, i64 32, i1 false)
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %20, %0
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 4
br i1 %7, label %8, label %23
8: ; preds = %5
%9 = load i32, ptr %4, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 %10
%12 = load double, ptr %11, align 8
%13 = call double @stdlib_base_signum(double noundef %12)
store double %13, ptr %3, align 8
%14 = load i32, ptr %4, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 %15
%17 = load double, ptr %16, align 8
%18 = load double, ptr %3, align 8
%19 = call i32 @printf(ptr noundef @.str, double noundef %17, double noundef %18)
br label %20
20: ; preds = %8
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %4, align 4
br label %5, !llvm.loop !6
23: ; preds = %5
%24 = load i32, ptr %1, align 4
ret i32 %24
}
; 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 double @stdlib_base_signum(double noundef) #2
declare i32 @printf(ptr noundef, double noundef, double 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/tmpdqv2phhf.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.x = private unnamed_addr constant [4 x double] [double 3.140000e+00, double -3.140000e+00, double 0.000000e+00, double 0x7FF8000000000000], align 16
@.str = private unnamed_addr constant [19 x i8] c"signum(%lf) = %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [4 x double], align 16
%3 = alloca double, align 8
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.x, i64 32, i1 false)
store i32 0, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp slt i32 %5, 4
br i1 %6, label %.lr.ph, label %24
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %19
%8 = load i32, ptr %4, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 %9
%11 = load double, ptr %10, align 8
%12 = call double @stdlib_base_signum(double noundef %11)
store double %12, ptr %3, align 8
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 %14
%16 = load double, ptr %15, align 8
%17 = load double, ptr %3, align 8
%18 = call i32 @printf(ptr noundef @.str, double noundef %16, double noundef %17)
br label %19
19: ; preds = %7
%20 = load i32, ptr %4, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %4, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp slt i32 %22, 4
br i1 %23, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %24
24: ; preds = %._crit_edge, %0
%25 = load i32, ptr %1, align 4
ret i32 %25
}
; 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 double @stdlib_base_signum(double noundef) #2
declare i32 @printf(ptr noundef, double noundef, double 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/tmp3blmizgn.c'
source_filename = "/tmp/tmp3blmizgn.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"
@CHAR_BIT = 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/tmp3blmizgn.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"
@CHAR_BIT = 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/tmp6c3dqx8r.c'
source_filename = "/tmp/tmp6c3dqx8r.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 @localization_poset(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca [3 x i32], align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i64, align 8
%17 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
store i32 10240, ptr %14, align 4
%18 = load i32, ptr %14, align 4
%19 = zext i32 %18 to i64
%20 = call ptr @llvm.stacksave()
store ptr %20, ptr %15, align 8
%21 = alloca i32, i64 %19, align 16
store i64 %19, ptr %16, align 8
%22 = load i32, ptr %6, align 4
%23 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 0
store i32 %22, ptr %23, align 4
%24 = load i32, ptr %7, align 4
%25 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 1
store i32 %24, ptr %25, align 4
%26 = load i32, ptr %8, align 4
%27 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 2
store i32 %26, ptr %27, align 4
%28 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 0
%29 = load ptr, ptr %17, align 8
%30 = call i32 @_ada_use_c2phc4c(i32 noundef 224, ptr noundef %28, ptr noundef %21, ptr noundef %29, i32 noundef 0)
store i32 %30, ptr %12, align 4
%31 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 0
%32 = load i32, ptr %31, align 4
%33 = load ptr, ptr %9, align 8
store i32 %32, ptr %33, align 4
store i32 0, ptr %11, align 4
br label %34
34: ; preds = %49, %5
%35 = load i32, ptr %11, align 4
%36 = load ptr, ptr %9, align 8
%37 = load i32, ptr %36, align 4
%38 = icmp slt i32 %35, %37
br i1 %38, label %39, label %52
39: ; preds = %34
%40 = load i32, ptr %11, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %21, i64 %41
%43 = load i32, ptr %42, align 4
%44 = trunc i32 %43 to i8
%45 = load ptr, ptr %10, align 8
%46 = load i32, ptr %11, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
store i8 %44, ptr %48, align 1
br label %49
49: ; preds = %39
%50 = load i32, ptr %11, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %11, align 4
br label %34, !llvm.loop !6
52: ; preds = %34
%53 = load ptr, ptr %10, align 8
%54 = load ptr, ptr %9, align 8
%55 = load i32, ptr %54, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %53, i64 %56
store i8 0, ptr %57, align 1
%58 = load i32, ptr %12, align 4
%59 = load ptr, ptr %15, align 8
call void @llvm.stackrestore(ptr %59)
ret i32 %58
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #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 willreturn }
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/tmp6c3dqx8r.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 @localization_poset(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca [3 x i32], align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i64, align 8
%17 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
store i32 10240, ptr %14, align 4
%18 = load i32, ptr %14, align 4
%19 = zext i32 %18 to i64
%20 = call ptr @llvm.stacksave()
store ptr %20, ptr %15, align 8
%21 = alloca i32, i64 %19, align 16
store i64 %19, ptr %16, align 8
%22 = load i32, ptr %6, align 4
%23 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 0
store i32 %22, ptr %23, align 4
%24 = load i32, ptr %7, align 4
%25 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 1
store i32 %24, ptr %25, align 4
%26 = load i32, ptr %8, align 4
%27 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 2
store i32 %26, ptr %27, align 4
%28 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 0
%29 = load ptr, ptr %17, align 8
%30 = call i32 @_ada_use_c2phc4c(i32 noundef 224, ptr noundef %28, ptr noundef %21, ptr noundef %29, i32 noundef 0)
store i32 %30, ptr %12, align 4
%31 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 0
%32 = load i32, ptr %31, align 4
%33 = load ptr, ptr %9, align 8
store i32 %32, ptr %33, align 4
store i32 0, ptr %11, align 4
%34 = load i32, ptr %11, align 4
%35 = load ptr, ptr %9, align 8
%36 = load i32, ptr %35, align 4
%37 = icmp slt i32 %34, %36
br i1 %37, label %.lr.ph, label %55
.lr.ph: ; preds = %5
br label %38
38: ; preds = %.lr.ph, %48
%39 = load i32, ptr %11, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %21, i64 %40
%42 = load i32, ptr %41, align 4
%43 = trunc i32 %42 to i8
%44 = load ptr, ptr %10, align 8
%45 = load i32, ptr %11, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
store i8 %43, ptr %47, align 1
br label %48
48: ; preds = %38
%49 = load i32, ptr %11, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %11, align 4
%51 = load i32, ptr %11, align 4
%52 = load ptr, ptr %9, align 8
%53 = load i32, ptr %52, align 4
%54 = icmp slt i32 %51, %53
br i1 %54, label %38, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %48
br label %55
55: ; preds = %._crit_edge, %5
%56 = load ptr, ptr %10, align 8
%57 = load ptr, ptr %9, align 8
%58 = load i32, ptr %57, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %56, i64 %59
store i8 0, ptr %60, align 1
%61 = load i32, ptr %12, align 4
%62 = load ptr, ptr %15, align 8
call void @llvm.stackrestore(ptr %62)
ret i32 %61
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #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 willreturn }
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/tmp9ajxqyyh.c'
source_filename = "/tmp/tmp9ajxqyyh.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"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [49 x i8] c"Assured forwarding class 1, low drop precedence\0A\00", align 1
@.str.1 = private unnamed_addr constant [52 x i8] c"Assured forwarding class 1, medium drop precedence\0A\00", align 1
@.str.2 = private unnamed_addr constant [50 x i8] c"Assured forwarding class 1, high drop precedence\0A\00", align 1
@.str.3 = private unnamed_addr constant [49 x i8] c"Assured forwarding class 2, low drop precedence\0A\00", align 1
@.str.4 = private unnamed_addr constant [52 x i8] c"Assured forwarding class 2, medium drop precedence\0A\00", align 1
@.str.5 = private unnamed_addr constant [50 x i8] c"Assured forwarding class 2, high drop precedence\0A\00", align 1
@.str.6 = private unnamed_addr constant [49 x i8] c"Assured forwarding class 3, low drop precedence\0A\00", align 1
@.str.7 = private unnamed_addr constant [52 x i8] c"Assured forwarding class 3, medium drop precedence\0A\00", align 1
@.str.8 = private unnamed_addr constant [50 x i8] c"Assured forwarding class 3, high drop precedence\0A\00", align 1
@.str.9 = private unnamed_addr constant [49 x i8] c"Assured forwarding class 4, low drop precedence\0A\00", align 1
@.str.10 = private unnamed_addr constant [52 x i8] c"Assured forwarding class 4, medium drop precedence\0A\00", align 1
@.str.11 = private unnamed_addr constant [50 x i8] c"Assured forwarding class 4, high drop precedence\0A\00", align 1
@.str.12 = private unnamed_addr constant [22 x i8] c"Expedited forwarding\0A\00", align 1
@.str.13 = private unnamed_addr constant [9 x i8] c"Default\0A\00", align 1
@.str.14 = private unnamed_addr constant [16 x i8] c"Unknown (0x%x)\0A\00", align 1
@.str.15 = private unnamed_addr constant [36 x i8] c"Non-ECT, non ECN-capable transport\0A\00", align 1
@.str.16 = private unnamed_addr constant [31 x i8] c"ECT(1): ECN-capable transport\0A\00", align 1
@.str.17 = private unnamed_addr constant [31 x i8] c"ECT(0): ECN-capable transport\0A\00", align 1
@.str.18 = private unnamed_addr constant [28 x i8] c"CE: congestion encountered\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ip4_print_tos(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @IPTOS_DSCP(i32 noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @ip4_print_dscp(i32 noundef %7)
%9 = load i32, ptr %3, align 4
switch i32 %9, label %52 [
i32 144, label %10
i32 143, label %13
i32 142, label %16
i32 141, label %19
i32 140, label %22
i32 139, label %25
i32 138, label %28
i32 137, label %31
i32 136, label %34
i32 135, label %37
i32 134, label %40
i32 133, label %43
i32 132, label %46
i32 0, label %49
]
10: ; preds = %1
%11 = load i32, ptr @stdout, align 4
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str)
br label %56
13: ; preds = %1
%14 = load i32, ptr @stdout, align 4
%15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.1)
br label %56
16: ; preds = %1
%17 = load i32, ptr @stdout, align 4
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.2)
br label %56
19: ; preds = %1
%20 = load i32, ptr @stdout, align 4
%21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.3)
br label %56
22: ; preds = %1
%23 = load i32, ptr @stdout, align 4
%24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str.4)
br label %56
25: ; preds = %1
%26 = load i32, ptr @stdout, align 4
%27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.5)
br label %56
28: ; preds = %1
%29 = load i32, ptr @stdout, align 4
%30 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %29, ptr noundef @.str.6)
br label %56
31: ; preds = %1
%32 = load i32, ptr @stdout, align 4
%33 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %32, ptr noundef @.str.7)
br label %56
34: ; preds = %1
%35 = load i32, ptr @stdout, align 4
%36 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %35, ptr noundef @.str.8)
br label %56
37: ; preds = %1
%38 = load i32, ptr @stdout, align 4
%39 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %38, ptr noundef @.str.9)
br label %56
40: ; preds = %1
%41 = load i32, ptr @stdout, align 4
%42 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %41, ptr noundef @.str.10)
br label %56
43: ; preds = %1
%44 = load i32, ptr @stdout, align 4
%45 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %44, ptr noundef @.str.11)
br label %56
46: ; preds = %1
%47 = load i32, ptr @stdout, align 4
%48 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %47, ptr noundef @.str.12)
br label %56
49: ; preds = %1
%50 = load i32, ptr @stdout, align 4
%51 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %50, ptr noundef @.str.13)
br label %56
52: ; preds = %1
%53 = load i32, ptr @stdout, align 4
%54 = load i32, ptr %3, align 4
%55 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %53, ptr noundef @.str.14, i32 noundef %54)
br label %56
56: ; preds = %52, %49, %46, %43, %40, %37, %34, %31, %28, %25, %22, %19, %16, %13, %10
%57 = load i32, ptr %2, align 4
%58 = call i32 @IPTOS_ECN(i32 noundef %57)
store i32 %58, ptr %4, align 4
%59 = load i32, ptr %4, align 4
%60 = call i32 @ip4_print_ecn(i32 noundef %59)
%61 = load i32, ptr %4, align 4
switch i32 %61, label %74 [
i32 128, label %62
i32 129, label %65
i32 130, label %68
i32 131, label %71
]
62: ; preds = %56
%63 = load i32, ptr @stdout, align 4
%64 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %63, ptr noundef @.str.15)
br label %74
65: ; preds = %56
%66 = load i32, ptr @stdout, align 4
%67 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %66, ptr noundef @.str.16)
br label %74
68: ; preds = %56
%69 = load i32, ptr @stdout, align 4
%70 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %69, ptr noundef @.str.17)
br label %74
71: ; preds = %56
%72 = load i32, ptr @stdout, align 4
%73 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %72, ptr noundef @.str.18)
br label %74
74: ; preds = %56, %71, %68, %65, %62
ret void
}
declare i32 @IPTOS_DSCP(i32 noundef) #1
declare i32 @ip4_print_dscp(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @IPTOS_ECN(i32 noundef) #1
declare i32 @ip4_print_ecn(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/tmp9ajxqyyh.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"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [49 x i8] c"Assured forwarding class 1, low drop precedence\0A\00", align 1
@.str.1 = private unnamed_addr constant [52 x i8] c"Assured forwarding class 1, medium drop precedence\0A\00", align 1
@.str.2 = private unnamed_addr constant [50 x i8] c"Assured forwarding class 1, high drop precedence\0A\00", align 1
@.str.3 = private unnamed_addr constant [49 x i8] c"Assured forwarding class 2, low drop precedence\0A\00", align 1
@.str.4 = private unnamed_addr constant [52 x i8] c"Assured forwarding class 2, medium drop precedence\0A\00", align 1
@.str.5 = private unnamed_addr constant [50 x i8] c"Assured forwarding class 2, high drop precedence\0A\00", align 1
@.str.6 = private unnamed_addr constant [49 x i8] c"Assured forwarding class 3, low drop precedence\0A\00", align 1
@.str.7 = private unnamed_addr constant [52 x i8] c"Assured forwarding class 3, medium drop precedence\0A\00", align 1
@.str.8 = private unnamed_addr constant [50 x i8] c"Assured forwarding class 3, high drop precedence\0A\00", align 1
@.str.9 = private unnamed_addr constant [49 x i8] c"Assured forwarding class 4, low drop precedence\0A\00", align 1
@.str.10 = private unnamed_addr constant [52 x i8] c"Assured forwarding class 4, medium drop precedence\0A\00", align 1
@.str.11 = private unnamed_addr constant [50 x i8] c"Assured forwarding class 4, high drop precedence\0A\00", align 1
@.str.12 = private unnamed_addr constant [22 x i8] c"Expedited forwarding\0A\00", align 1
@.str.13 = private unnamed_addr constant [9 x i8] c"Default\0A\00", align 1
@.str.14 = private unnamed_addr constant [16 x i8] c"Unknown (0x%x)\0A\00", align 1
@.str.15 = private unnamed_addr constant [36 x i8] c"Non-ECT, non ECN-capable transport\0A\00", align 1
@.str.16 = private unnamed_addr constant [31 x i8] c"ECT(1): ECN-capable transport\0A\00", align 1
@.str.17 = private unnamed_addr constant [31 x i8] c"ECT(0): ECN-capable transport\0A\00", align 1
@.str.18 = private unnamed_addr constant [28 x i8] c"CE: congestion encountered\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ip4_print_tos(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @IPTOS_DSCP(i32 noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @ip4_print_dscp(i32 noundef %7)
%9 = load i32, ptr %3, align 4
switch i32 %9, label %52 [
i32 144, label %10
i32 143, label %13
i32 142, label %16
i32 141, label %19
i32 140, label %22
i32 139, label %25
i32 138, label %28
i32 137, label %31
i32 136, label %34
i32 135, label %37
i32 134, label %40
i32 133, label %43
i32 132, label %46
i32 0, label %49
]
10: ; preds = %1
%11 = load i32, ptr @stdout, align 4
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str)
br label %56
13: ; preds = %1
%14 = load i32, ptr @stdout, align 4
%15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.1)
br label %56
16: ; preds = %1
%17 = load i32, ptr @stdout, align 4
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.2)
br label %56
19: ; preds = %1
%20 = load i32, ptr @stdout, align 4
%21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.3)
br label %56
22: ; preds = %1
%23 = load i32, ptr @stdout, align 4
%24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str.4)
br label %56
25: ; preds = %1
%26 = load i32, ptr @stdout, align 4
%27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.5)
br label %56
28: ; preds = %1
%29 = load i32, ptr @stdout, align 4
%30 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %29, ptr noundef @.str.6)
br label %56
31: ; preds = %1
%32 = load i32, ptr @stdout, align 4
%33 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %32, ptr noundef @.str.7)
br label %56
34: ; preds = %1
%35 = load i32, ptr @stdout, align 4
%36 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %35, ptr noundef @.str.8)
br label %56
37: ; preds = %1
%38 = load i32, ptr @stdout, align 4
%39 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %38, ptr noundef @.str.9)
br label %56
40: ; preds = %1
%41 = load i32, ptr @stdout, align 4
%42 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %41, ptr noundef @.str.10)
br label %56
43: ; preds = %1
%44 = load i32, ptr @stdout, align 4
%45 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %44, ptr noundef @.str.11)
br label %56
46: ; preds = %1
%47 = load i32, ptr @stdout, align 4
%48 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %47, ptr noundef @.str.12)
br label %56
49: ; preds = %1
%50 = load i32, ptr @stdout, align 4
%51 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %50, ptr noundef @.str.13)
br label %56
52: ; preds = %1
%53 = load i32, ptr @stdout, align 4
%54 = load i32, ptr %3, align 4
%55 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %53, ptr noundef @.str.14, i32 noundef %54)
br label %56
56: ; preds = %52, %49, %46, %43, %40, %37, %34, %31, %28, %25, %22, %19, %16, %13, %10
%57 = load i32, ptr %2, align 4
%58 = call i32 @IPTOS_ECN(i32 noundef %57)
store i32 %58, ptr %4, align 4
%59 = load i32, ptr %4, align 4
%60 = call i32 @ip4_print_ecn(i32 noundef %59)
%61 = load i32, ptr %4, align 4
switch i32 %61, label %74 [
i32 128, label %62
i32 129, label %65
i32 130, label %68
i32 131, label %71
]
62: ; preds = %56
%63 = load i32, ptr @stdout, align 4
%64 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %63, ptr noundef @.str.15)
br label %74
65: ; preds = %56
%66 = load i32, ptr @stdout, align 4
%67 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %66, ptr noundef @.str.16)
br label %74
68: ; preds = %56
%69 = load i32, ptr @stdout, align 4
%70 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %69, ptr noundef @.str.17)
br label %74
71: ; preds = %56
%72 = load i32, ptr @stdout, align 4
%73 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %72, ptr noundef @.str.18)
br label %74
74: ; preds = %71, %68, %65, %62, %56
ret void
}
declare i32 @IPTOS_DSCP(i32 noundef) #1
declare i32 @ip4_print_dscp(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @IPTOS_ECN(i32 noundef) #1
declare i32 @ip4_print_ecn(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/tmpmzmm5ah_.c'
source_filename = "/tmp/tmpmzmm5ah_.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 [9 x i8] c"_gsskrb5\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @_gss_name_prefix() #0 {
ret ptr @.str
}
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/tmpmzmm5ah_.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 [9 x i8] c"_gsskrb5\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @_gss_name_prefix() #0 {
ret ptr @.str
}
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/tmp6npm3x_x.c'
source_filename = "/tmp/tmp6npm3x_x.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 [10 x i8] c"/dev/zero\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @zeroes(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %5, ptr %3, align 8
%6 = load i32, ptr %2, align 4
%7 = sext i32 %6 to i64
%8 = mul i64 4, %7
%9 = trunc i64 %8 to i32
%10 = call ptr @malloc(i32 noundef %9)
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %2, align 4
%13 = load ptr, ptr %3, align 8
%14 = call i32 @fread(ptr noundef %11, i32 noundef 4, i32 noundef %12, ptr noundef %13)
%15 = load ptr, ptr %4, align 8
ret ptr %15
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @fread(ptr noundef, 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/tmp6npm3x_x.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 [10 x i8] c"/dev/zero\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @zeroes(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %5, ptr %3, align 8
%6 = load i32, ptr %2, align 4
%7 = sext i32 %6 to i64
%8 = mul i64 4, %7
%9 = trunc i64 %8 to i32
%10 = call ptr @malloc(i32 noundef %9)
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %2, align 4
%13 = load ptr, ptr %3, align 8
%14 = call i32 @fread(ptr noundef %11, i32 noundef 4, i32 noundef %12, ptr noundef %13)
%15 = load ptr, ptr %4, align 8
ret ptr %15
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @fread(ptr noundef, 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/tmpcxnxhekt.c'
source_filename = "/tmp/tmpcxnxhekt.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 [26 x i8] c"Triangular number 10: %i\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Triangular number 20: %i\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Triangular number 50: %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @calc_tri_num(i32 noundef 10)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 @calc_tri_num(i32 noundef 20)
%5 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4)
%6 = call i32 @calc_tri_num(i32 noundef 50)
%7 = call i32 @printf(ptr noundef @.str.2, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @calc_tri_num(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/tmpcxnxhekt.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 [26 x i8] c"Triangular number 10: %i\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Triangular number 20: %i\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Triangular number 50: %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @calc_tri_num(i32 noundef 10)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 @calc_tri_num(i32 noundef 20)
%5 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4)
%6 = call i32 @calc_tri_num(i32 noundef 50)
%7 = call i32 @printf(ptr noundef @.str.2, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @calc_tri_num(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/tmpqfb5njn9.c'
source_filename = "/tmp/tmpqfb5njn9.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"
@mkdtemp.LETTERS = internal constant [63 x i8] c"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\00", align 16
@mkdtemp.value = internal global i64 0, align 8
@.str = private unnamed_addr constant [7 x i8] c"XXXXXX\00", align 1
@EINVAL = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
@EEXIST = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @mkdtemp(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %10, 6
br i1 %11, label %20, label %12
12: ; preds = %1
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %5, align 4
%15 = sub nsw i32 %14, 6
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %13, i64 %16
%18 = call i64 @strcmp(ptr noundef %17, ptr noundef @.str)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %12, %1
%21 = load i64, ptr @EINVAL, align 8
store i64 %21, ptr @errno, align 8
store ptr null, ptr %2, align 8
br label %73
22: ; preds = %12
%23 = call i64 @time(ptr noundef null)
%24 = call i64 (...) @getpid()
%25 = xor i64 %23, %24
%26 = load i64, ptr @mkdtemp.value, align 8
%27 = add nsw i64 %26, %25
store i64 %27, ptr @mkdtemp.value, align 8
store i32 0, ptr %6, align 4
br label %28
28: ; preds = %66, %22
%29 = load i32, ptr %6, align 4
%30 = icmp slt i32 %29, 7
br i1 %30, label %31, label %71
31: ; preds = %28
store i32 0, ptr %7, align 4
%32 = load i64, ptr @mkdtemp.value, align 8
store i64 %32, ptr %4, align 8
br label %33
33: ; preds = %48, %31
%34 = load i32, ptr %7, align 4
%35 = icmp slt i32 %34, 6
br i1 %35, label %36, label %51
36: ; preds = %33
%37 = load i64, ptr %4, align 8
%38 = srem i64 %37, 62
%39 = getelementptr inbounds [63 x i8], ptr @mkdtemp.LETTERS, i64 0, i64 %38
%40 = load i8, ptr %39, align 1
%41 = load ptr, ptr %3, align 8
%42 = load i32, ptr %5, align 4
%43 = sub nsw i32 %42, 6
%44 = load i32, ptr %7, align 4
%45 = add nsw i32 %43, %44
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %41, i64 %46
store i8 %40, ptr %47, align 1
br label %48
48: ; preds = %36
%49 = load i32, ptr %7, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %7, align 4
br label %33, !llvm.loop !6
51: ; preds = %33
%52 = load i64, ptr %4, align 8
%53 = sdiv i64 %52, 62
store i64 %53, ptr %4, align 8
%54 = load ptr, ptr %3, align 8
%55 = call i64 @mkdir(ptr noundef %54, i32 noundef 448)
%56 = icmp eq i64 %55, 0
br i1 %56, label %57, label %59
57: ; preds = %51
%58 = load ptr, ptr %3, align 8
store ptr %58, ptr %2, align 8
br label %73
59: ; preds = %51
%60 = load i64, ptr @errno, align 8
%61 = load i64, ptr @EEXIST, align 8
%62 = icmp ne i64 %60, %61
br i1 %62, label %63, label %64
63: ; preds = %59
store ptr null, ptr %2, align 8
br label %73
64: ; preds = %59
br label %65
65: ; preds = %64
br label %66
66: ; preds = %65
%67 = load i32, ptr %6, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %6, align 4
%69 = load i64, ptr @mkdtemp.value, align 8
%70 = add nsw i64 %69, 7777
store i64 %70, ptr @mkdtemp.value, align 8
br label %28, !llvm.loop !8
71: ; preds = %28
%72 = load i64, ptr @EEXIST, align 8
store i64 %72, ptr @errno, align 8
store ptr null, ptr %2, align 8
br label %73
73: ; preds = %71, %63, %57, %20
%74 = load ptr, ptr %2, align 8
ret ptr %74
}
declare i32 @strlen(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @time(ptr noundef) #1
declare i64 @getpid(...) #1
declare i64 @mkdir(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/tmpqfb5njn9.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"
@mkdtemp.LETTERS = internal constant [63 x i8] c"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\00", align 16
@mkdtemp.value = internal global i64 0, align 8
@.str = private unnamed_addr constant [7 x i8] c"XXXXXX\00", align 1
@EINVAL = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
@EEXIST = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @mkdtemp(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %10, 6
br i1 %11, label %20, label %12
12: ; preds = %1
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %5, align 4
%15 = sub nsw i32 %14, 6
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %13, i64 %16
%18 = call i64 @strcmp(ptr noundef %17, ptr noundef @.str)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %12, %1
%21 = load i64, ptr @EINVAL, align 8
store i64 %21, ptr @errno, align 8
store ptr null, ptr %2, align 8
br label %75
22: ; preds = %12
%23 = call i64 @time(ptr noundef null)
%24 = call i64 (...) @getpid()
%25 = xor i64 %23, %24
%26 = load i64, ptr @mkdtemp.value, align 8
%27 = add nsw i64 %26, %25
store i64 %27, ptr @mkdtemp.value, align 8
store i32 0, ptr %6, align 4
%28 = load i32, ptr %6, align 4
%29 = icmp slt i32 %28, 7
br i1 %29, label %.lr.ph2, label %73
.lr.ph2: ; preds = %22
br label %30
30: ; preds = %.lr.ph2, %66
store i32 0, ptr %7, align 4
%31 = load i64, ptr @mkdtemp.value, align 8
store i64 %31, ptr %4, align 8
%32 = load i32, ptr %7, align 4
%33 = icmp slt i32 %32, 6
br i1 %33, label %.lr.ph, label %51
.lr.ph: ; preds = %30
br label %34
34: ; preds = %.lr.ph, %46
%35 = load i64, ptr %4, align 8
%36 = srem i64 %35, 62
%37 = getelementptr inbounds [63 x i8], ptr @mkdtemp.LETTERS, i64 0, i64 %36
%38 = load i8, ptr %37, align 1
%39 = load ptr, ptr %3, align 8
%40 = load i32, ptr %5, align 4
%41 = sub nsw i32 %40, 6
%42 = load i32, ptr %7, align 4
%43 = add nsw i32 %41, %42
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %39, i64 %44
store i8 %38, ptr %45, align 1
br label %46
46: ; preds = %34
%47 = load i32, ptr %7, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %7, align 4
%49 = load i32, ptr %7, align 4
%50 = icmp slt i32 %49, 6
br i1 %50, label %34, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %46
br label %51
51: ; preds = %._crit_edge, %30
%52 = load i64, ptr %4, align 8
%53 = sdiv i64 %52, 62
store i64 %53, ptr %4, align 8
%54 = load ptr, ptr %3, align 8
%55 = call i64 @mkdir(ptr noundef %54, i32 noundef 448)
%56 = icmp eq i64 %55, 0
br i1 %56, label %57, label %59
57: ; preds = %51
%58 = load ptr, ptr %3, align 8
store ptr %58, ptr %2, align 8
br label %75
59: ; preds = %51
%60 = load i64, ptr @errno, align 8
%61 = load i64, ptr @EEXIST, align 8
%62 = icmp ne i64 %60, %61
br i1 %62, label %63, label %64
63: ; preds = %59
store ptr null, ptr %2, align 8
br label %75
64: ; preds = %59
br label %65
65: ; preds = %64
br label %66
66: ; preds = %65
%67 = load i32, ptr %6, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %6, align 4
%69 = load i64, ptr @mkdtemp.value, align 8
%70 = add nsw i64 %69, 7777
store i64 %70, ptr @mkdtemp.value, align 8
%71 = load i32, ptr %6, align 4
%72 = icmp slt i32 %71, 7
br i1 %72, label %30, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %66
br label %73
73: ; preds = %._crit_edge3, %22
%74 = load i64, ptr @EEXIST, align 8
store i64 %74, ptr @errno, align 8
store ptr null, ptr %2, align 8
br label %75
75: ; preds = %73, %63, %57, %20
%76 = load ptr, ptr %2, align 8
ret ptr %76
}
declare i32 @strlen(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @time(ptr noundef) #1
declare i64 @getpid(...) #1
declare i64 @mkdir(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/tmppp_3afpe.c'
source_filename = "/tmp/tmppp_3afpe.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"nyx: strdup\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @find_local_socket_path(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %15, label %10
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %10, %1
store ptr null, ptr %2, align 8
br label %62
16: ; preds = %10
store i32 8, ptr %4, align 4
%17 = load ptr, ptr %3, align 8
%18 = call ptr @strdup(ptr noundef %17)
store ptr %18, ptr %5, align 8
%19 = load ptr, ptr %5, align 8
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %23
21: ; preds = %16
%22 = call i32 @log_critical_perror(ptr noundef @.str)
br label %23
23: ; preds = %21, %16
br label %24
24: ; preds = %49, %23
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, -1
store i32 %26, ptr %4, align 4
%27 = icmp sgt i32 %25, 0
br i1 %27, label %28, label %31
28: ; preds = %24
%29 = load ptr, ptr %5, align 8
%30 = icmp ne ptr %29, null
br label %31
31: ; preds = %28, %24
%32 = phi i1 [ false, %24 ], [ %30, %28 ]
br i1 %32, label %33, label %55
33: ; preds = %31
%34 = load ptr, ptr %5, align 8
%35 = call ptr @local_socket_path(ptr noundef %34)
store ptr %35, ptr %6, align 8
%36 = load ptr, ptr %6, align 8
%37 = call i64 @file_exists(ptr noundef %36)
%38 = icmp ne i64 %37, 0
br i1 %38, label %39, label %43
39: ; preds = %33
%40 = load ptr, ptr %5, align 8
%41 = call i32 @free(ptr noundef %40)
%42 = load ptr, ptr %6, align 8
store ptr %42, ptr %2, align 8
br label %62
43: ; preds = %33
%44 = load ptr, ptr %6, align 8
%45 = icmp ne ptr %44, null
br i1 %45, label %46, label %49
46: ; preds = %43
%47 = load ptr, ptr %6, align 8
%48 = call i32 @free(ptr noundef %47)
br label %49
49: ; preds = %46, %43
%50 = load ptr, ptr %5, align 8
%51 = call ptr @parent_dir(ptr noundef %50)
store ptr %51, ptr %7, align 8
%52 = load ptr, ptr %5, align 8
%53 = call i32 @free(ptr noundef %52)
%54 = load ptr, ptr %7, align 8
store ptr %54, ptr %5, align 8
br label %24, !llvm.loop !6
55: ; preds = %31
%56 = load ptr, ptr %5, align 8
%57 = icmp ne ptr %56, null
br i1 %57, label %58, label %61
58: ; preds = %55
%59 = load ptr, ptr %5, align 8
%60 = call i32 @free(ptr noundef %59)
br label %61
61: ; preds = %58, %55
store ptr null, ptr %2, align 8
br label %62
62: ; preds = %61, %39, %15
%63 = load ptr, ptr %2, align 8
ret ptr %63
}
declare ptr @strdup(ptr noundef) #1
declare i32 @log_critical_perror(ptr noundef) #1
declare ptr @local_socket_path(ptr noundef) #1
declare i64 @file_exists(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @parent_dir(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/tmppp_3afpe.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"nyx: strdup\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @find_local_socket_path(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %15, label %10
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %10, %1
store ptr null, ptr %2, align 8
br label %62
16: ; preds = %10
store i32 8, ptr %4, align 4
%17 = load ptr, ptr %3, align 8
%18 = call ptr @strdup(ptr noundef %17)
store ptr %18, ptr %5, align 8
%19 = load ptr, ptr %5, align 8
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %23
21: ; preds = %16
%22 = call i32 @log_critical_perror(ptr noundef @.str)
br label %23
23: ; preds = %21, %16
br label %24
24: ; preds = %49, %23
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, -1
store i32 %26, ptr %4, align 4
%27 = icmp sgt i32 %25, 0
br i1 %27, label %28, label %31
28: ; preds = %24
%29 = load ptr, ptr %5, align 8
%30 = icmp ne ptr %29, null
br label %31
31: ; preds = %28, %24
%32 = phi i1 [ false, %24 ], [ %30, %28 ]
br i1 %32, label %33, label %55
33: ; preds = %31
%34 = load ptr, ptr %5, align 8
%35 = call ptr @local_socket_path(ptr noundef %34)
store ptr %35, ptr %6, align 8
%36 = load ptr, ptr %6, align 8
%37 = call i64 @file_exists(ptr noundef %36)
%38 = icmp ne i64 %37, 0
br i1 %38, label %39, label %43
39: ; preds = %33
%40 = load ptr, ptr %5, align 8
%41 = call i32 @free(ptr noundef %40)
%42 = load ptr, ptr %6, align 8
store ptr %42, ptr %2, align 8
br label %62
43: ; preds = %33
%44 = load ptr, ptr %6, align 8
%45 = icmp ne ptr %44, null
br i1 %45, label %46, label %49
46: ; preds = %43
%47 = load ptr, ptr %6, align 8
%48 = call i32 @free(ptr noundef %47)
br label %49
49: ; preds = %46, %43
%50 = load ptr, ptr %5, align 8
%51 = call ptr @parent_dir(ptr noundef %50)
store ptr %51, ptr %7, align 8
%52 = load ptr, ptr %5, align 8
%53 = call i32 @free(ptr noundef %52)
%54 = load ptr, ptr %7, align 8
store ptr %54, ptr %5, align 8
br label %24, !llvm.loop !6
55: ; preds = %31
%56 = load ptr, ptr %5, align 8
%57 = icmp ne ptr %56, null
br i1 %57, label %58, label %61
58: ; preds = %55
%59 = load ptr, ptr %5, align 8
%60 = call i32 @free(ptr noundef %59)
br label %61
61: ; preds = %58, %55
store ptr null, ptr %2, align 8
br label %62
62: ; preds = %61, %39, %15
%63 = load ptr, ptr %2, align 8
ret ptr %63
}
declare ptr @strdup(ptr noundef) #1
declare i32 @log_critical_perror(ptr noundef) #1
declare ptr @local_socket_path(ptr noundef) #1
declare i64 @file_exists(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @parent_dir(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/tmp85hf9s9w.c'
source_filename = "/tmp/tmp85hf9s9w.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"
@AF_UNIX = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"socketpair:\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"fork:\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"iRS v0.1\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @secure_shell(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [2 x i32], align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr @AF_UNIX, align 4
%6 = load i32, ptr @SOCK_STREAM, align 4
%7 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%8 = call i64 @socketpair(i32 noundef %5, i32 noundef %6, i32 noundef 0, ptr noundef %7)
%9 = icmp slt i64 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = call i32 @perror(ptr noundef @.str)
%12 = call i32 @exit(i32 noundef 1) #3
unreachable
13: ; preds = %1
%14 = call i32 (...) @fork()
store i32 %14, ptr %3, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = call i32 @perror(ptr noundef @.str.1)
%18 = call i32 @exit(i32 noundef 1) #3
unreachable
19: ; preds = %13
%20 = load i32, ptr %3, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %31, label %22
22: ; preds = %19
%23 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1
%24 = load i32, ptr %23, align 4
%25 = call i32 @close(i32 noundef %24)
%26 = load i32, ptr %2, align 4
%27 = call i32 @close(i32 noundef %26)
%28 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%29 = load i32, ptr %28, align 4
%30 = call i32 @start_shell(i32 noundef %29)
br label %31
31: ; preds = %22, %19
br label %32
32: ; preds = %31
%33 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%34 = load i32, ptr %33, align 4
%35 = call i32 @close(i32 noundef %34)
%36 = load i32, ptr %2, align 4
%37 = call i32 @net_write(i32 noundef %36, ptr noundef @.str.2, i32 noundef 9)
%38 = load i32, ptr %2, align 4
%39 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1
%40 = load i32, ptr %39, align 4
%41 = call i32 @async_read(i32 noundef %38, i32 noundef %40)
ret void
}
declare i64 @socketpair(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fork(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @start_shell(i32 noundef) #1
declare i32 @net_write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @async_read(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" }
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/tmp85hf9s9w.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"
@AF_UNIX = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"socketpair:\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"fork:\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"iRS v0.1\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @secure_shell(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [2 x i32], align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr @AF_UNIX, align 4
%6 = load i32, ptr @SOCK_STREAM, align 4
%7 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%8 = call i64 @socketpair(i32 noundef %5, i32 noundef %6, i32 noundef 0, ptr noundef %7)
%9 = icmp slt i64 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = call i32 @perror(ptr noundef @.str)
%12 = call i32 @exit(i32 noundef 1) #3
unreachable
13: ; preds = %1
%14 = call i32 (...) @fork()
store i32 %14, ptr %3, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = call i32 @perror(ptr noundef @.str.1)
%18 = call i32 @exit(i32 noundef 1) #3
unreachable
19: ; preds = %13
%20 = load i32, ptr %3, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %31, label %22
22: ; preds = %19
%23 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1
%24 = load i32, ptr %23, align 4
%25 = call i32 @close(i32 noundef %24)
%26 = load i32, ptr %2, align 4
%27 = call i32 @close(i32 noundef %26)
%28 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%29 = load i32, ptr %28, align 4
%30 = call i32 @start_shell(i32 noundef %29)
br label %31
31: ; preds = %22, %19
br label %32
32: ; preds = %31
%33 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%34 = load i32, ptr %33, align 4
%35 = call i32 @close(i32 noundef %34)
%36 = load i32, ptr %2, align 4
%37 = call i32 @net_write(i32 noundef %36, ptr noundef @.str.2, i32 noundef 9)
%38 = load i32, ptr %2, align 4
%39 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1
%40 = load i32, ptr %39, align 4
%41 = call i32 @async_read(i32 noundef %38, i32 noundef %40)
ret void
}
declare i64 @socketpair(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fork(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @start_shell(i32 noundef) #1
declare i32 @net_write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @async_read(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" }
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/tmpchoo2_3d.c'
source_filename = "/tmp/tmpchoo2_3d.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 [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_expand(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
%17 = load ptr, ptr %5, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %21
19: ; preds = %4
%20 = load ptr, ptr %5, align 8
br label %22
21: ; preds = %4
br label %22
22: ; preds = %21, %19
%23 = phi ptr [ %20, %19 ], [ @.str, %21 ]
store ptr %23, ptr %15, align 8
%24 = load ptr, ptr %6, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %26, label %28
26: ; preds = %22
%27 = load ptr, ptr %6, align 8
br label %29
28: ; preds = %22
br label %29
29: ; preds = %28, %26
%30 = phi ptr [ %27, %26 ], [ @.str, %28 ]
store ptr %30, ptr %16, align 8
%31 = load ptr, ptr %7, align 8
store ptr %31, ptr %9, align 8
br label %32
32: ; preds = %71, %29
%33 = load ptr, ptr %9, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %35, label %40
35: ; preds = %32
%36 = load ptr, ptr %9, align 8
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %38, 0
br label %40
40: ; preds = %35, %32
%41 = phi i1 [ false, %32 ], [ %39, %35 ]
br i1 %41, label %42, label %74
42: ; preds = %40
%43 = load ptr, ptr %9, align 8
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 37
br i1 %46, label %47, label %56
47: ; preds = %42
%48 = load ptr, ptr %9, align 8
%49 = getelementptr inbounds i8, ptr %48, i64 1
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp eq i32 %51, 99
br i1 %52, label %53, label %56
53: ; preds = %47
%54 = load i32, ptr %12, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %12, align 4
br label %56
56: ; preds = %53, %47, %42
%57 = load ptr, ptr %9, align 8
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp eq i32 %59, 37
br i1 %60, label %61, label %70
61: ; preds = %56
%62 = load ptr, ptr %9, align 8
%63 = getelementptr inbounds i8, ptr %62, i64 1
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = icmp eq i32 %65, 117
br i1 %66, label %67, label %70
67: ; preds = %61
%68 = load i32, ptr %13, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %13, align 4
br label %70
70: ; preds = %67, %61, %56
br label %71
71: ; preds = %70
%72 = load ptr, ptr %9, align 8
%73 = getelementptr inbounds i8, ptr %72, i32 1
store ptr %73, ptr %9, align 8
br label %32, !llvm.loop !6
74: ; preds = %40
%75 = load ptr, ptr %7, align 8
%76 = call i32 @strlen(ptr noundef %75)
%77 = add nsw i32 %76, 1
store i32 %77, ptr %14, align 4
%78 = load ptr, ptr %5, align 8
%79 = call i32 @strlen(ptr noundef %78)
%80 = load i32, ptr %12, align 4
%81 = mul nsw i32 %79, %80
%82 = load i32, ptr %14, align 4
%83 = add nsw i32 %82, %81
store i32 %83, ptr %14, align 4
%84 = load ptr, ptr %6, align 8
%85 = call i32 @strlen(ptr noundef %84)
%86 = load i32, ptr %13, align 4
%87 = mul nsw i32 %85, %86
%88 = load i32, ptr %14, align 4
%89 = add nsw i32 %88, %87
store i32 %89, ptr %14, align 4
%90 = load i32, ptr %14, align 4
%91 = call ptr @malloc(i32 noundef %90)
store ptr %91, ptr %10, align 8
%92 = icmp eq ptr %91, null
br i1 %92, label %93, label %95
93: ; preds = %74
%94 = load ptr, ptr %8, align 8
store ptr null, ptr %94, align 8
br label %168
95: ; preds = %74
%96 = load ptr, ptr %7, align 8
store ptr %96, ptr %9, align 8
%97 = load ptr, ptr %10, align 8
store ptr %97, ptr %11, align 8
br label %98
98: ; preds = %161, %95
%99 = load ptr, ptr %9, align 8
%100 = icmp ne ptr %99, null
br i1 %100, label %101, label %106
101: ; preds = %98
%102 = load ptr, ptr %9, align 8
%103 = load i8, ptr %102, align 1
%104 = sext i8 %103 to i32
%105 = icmp ne i32 %104, 0
br label %106
106: ; preds = %101, %98
%107 = phi i1 [ false, %98 ], [ %105, %101 ]
br i1 %107, label %108, label %164
108: ; preds = %106
%109 = load ptr, ptr %9, align 8
%110 = load i8, ptr %109, align 1
%111 = load ptr, ptr %11, align 8
%112 = getelementptr inbounds i8, ptr %111, i32 1
store ptr %112, ptr %11, align 8
store i8 %110, ptr %111, align 1
%113 = load ptr, ptr %9, align 8
%114 = load i8, ptr %113, align 1
%115 = sext i8 %114 to i32
%116 = icmp eq i32 %115, 37
br i1 %116, label %117, label %136
117: ; preds = %108
%118 = load ptr, ptr %9, align 8
%119 = getelementptr inbounds i8, ptr %118, i64 1
%120 = load i8, ptr %119, align 1
%121 = sext i8 %120 to i32
%122 = icmp eq i32 %121, 99
br i1 %122, label %123, label %136
123: ; preds = %117
%124 = load ptr, ptr %11, align 8
%125 = getelementptr inbounds i8, ptr %124, i32 -1
store ptr %125, ptr %11, align 8
store i8 0, ptr %125, align 1
%126 = load ptr, ptr %11, align 8
%127 = load ptr, ptr %15, align 8
%128 = call i32 @strcpy(ptr noundef %126, ptr noundef %127)
%129 = load ptr, ptr %15, align 8
%130 = call i32 @strlen(ptr noundef %129)
%131 = load ptr, ptr %11, align 8
%132 = sext i32 %130 to i64
%133 = getelementptr inbounds i8, ptr %131, i64 %132
store ptr %133, ptr %11, align 8
%134 = load ptr, ptr %9, align 8
%135 = getelementptr inbounds i8, ptr %134, i32 1
store ptr %135, ptr %9, align 8
br label %136
136: ; preds = %123, %117, %108
%137 = load ptr, ptr %9, align 8
%138 = load i8, ptr %137, align 1
%139 = sext i8 %138 to i32
%140 = icmp eq i32 %139, 37
br i1 %140, label %141, label %160
141: ; preds = %136
%142 = load ptr, ptr %9, align 8
%143 = getelementptr inbounds i8, ptr %142, i64 1
%144 = load i8, ptr %143, align 1
%145 = sext i8 %144 to i32
%146 = icmp eq i32 %145, 117
br i1 %146, label %147, label %160
147: ; preds = %141
%148 = load ptr, ptr %11, align 8
%149 = getelementptr inbounds i8, ptr %148, i32 -1
store ptr %149, ptr %11, align 8
store i8 0, ptr %149, align 1
%150 = load ptr, ptr %11, align 8
%151 = load ptr, ptr %16, align 8
%152 = call i32 @strcpy(ptr noundef %150, ptr noundef %151)
%153 = load ptr, ptr %16, align 8
%154 = call i32 @strlen(ptr noundef %153)
%155 = load ptr, ptr %11, align 8
%156 = sext i32 %154 to i64
%157 = getelementptr inbounds i8, ptr %155, i64 %156
store ptr %157, ptr %11, align 8
%158 = load ptr, ptr %9, align 8
%159 = getelementptr inbounds i8, ptr %158, i32 1
store ptr %159, ptr %9, align 8
br label %160
160: ; preds = %147, %141, %136
br label %161
161: ; preds = %160
%162 = load ptr, ptr %9, align 8
%163 = getelementptr inbounds i8, ptr %162, i32 1
store ptr %163, ptr %9, align 8
br label %98, !llvm.loop !8
164: ; preds = %106
%165 = load ptr, ptr %11, align 8
store i8 0, ptr %165, align 1
%166 = load ptr, ptr %10, align 8
%167 = load ptr, ptr %8, align 8
store ptr %166, ptr %167, align 8
br label %168
168: ; preds = %164, %93
ret void
}
declare i32 @strlen(ptr noundef) #1
declare ptr @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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpchoo2_3d.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 [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_expand(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
%17 = load ptr, ptr %5, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %21
19: ; preds = %4
%20 = load ptr, ptr %5, align 8
br label %22
21: ; preds = %4
br label %22
22: ; preds = %21, %19
%23 = phi ptr [ %20, %19 ], [ @.str, %21 ]
store ptr %23, ptr %15, align 8
%24 = load ptr, ptr %6, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %26, label %28
26: ; preds = %22
%27 = load ptr, ptr %6, align 8
br label %29
28: ; preds = %22
br label %29
29: ; preds = %28, %26
%30 = phi ptr [ %27, %26 ], [ @.str, %28 ]
store ptr %30, ptr %16, align 8
%31 = load ptr, ptr %7, align 8
store ptr %31, ptr %9, align 8
br label %32
32: ; preds = %71, %29
%33 = load ptr, ptr %9, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %35, label %40
35: ; preds = %32
%36 = load ptr, ptr %9, align 8
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %38, 0
br label %40
40: ; preds = %35, %32
%41 = phi i1 [ false, %32 ], [ %39, %35 ]
br i1 %41, label %42, label %74
42: ; preds = %40
%43 = load ptr, ptr %9, align 8
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 37
br i1 %46, label %47, label %56
47: ; preds = %42
%48 = load ptr, ptr %9, align 8
%49 = getelementptr inbounds i8, ptr %48, i64 1
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp eq i32 %51, 99
br i1 %52, label %53, label %56
53: ; preds = %47
%54 = load i32, ptr %12, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %12, align 4
br label %56
56: ; preds = %53, %47, %42
%57 = load ptr, ptr %9, align 8
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp eq i32 %59, 37
br i1 %60, label %61, label %70
61: ; preds = %56
%62 = load ptr, ptr %9, align 8
%63 = getelementptr inbounds i8, ptr %62, i64 1
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = icmp eq i32 %65, 117
br i1 %66, label %67, label %70
67: ; preds = %61
%68 = load i32, ptr %13, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %13, align 4
br label %70
70: ; preds = %67, %61, %56
br label %71
71: ; preds = %70
%72 = load ptr, ptr %9, align 8
%73 = getelementptr inbounds i8, ptr %72, i32 1
store ptr %73, ptr %9, align 8
br label %32, !llvm.loop !6
74: ; preds = %40
%75 = load ptr, ptr %7, align 8
%76 = call i32 @strlen(ptr noundef %75)
%77 = add nsw i32 %76, 1
store i32 %77, ptr %14, align 4
%78 = load ptr, ptr %5, align 8
%79 = call i32 @strlen(ptr noundef %78)
%80 = load i32, ptr %12, align 4
%81 = mul nsw i32 %79, %80
%82 = load i32, ptr %14, align 4
%83 = add nsw i32 %82, %81
store i32 %83, ptr %14, align 4
%84 = load ptr, ptr %6, align 8
%85 = call i32 @strlen(ptr noundef %84)
%86 = load i32, ptr %13, align 4
%87 = mul nsw i32 %85, %86
%88 = load i32, ptr %14, align 4
%89 = add nsw i32 %88, %87
store i32 %89, ptr %14, align 4
%90 = load i32, ptr %14, align 4
%91 = call ptr @malloc(i32 noundef %90)
store ptr %91, ptr %10, align 8
%92 = icmp eq ptr %91, null
br i1 %92, label %93, label %95
93: ; preds = %74
%94 = load ptr, ptr %8, align 8
store ptr null, ptr %94, align 8
br label %168
95: ; preds = %74
%96 = load ptr, ptr %7, align 8
store ptr %96, ptr %9, align 8
%97 = load ptr, ptr %10, align 8
store ptr %97, ptr %11, align 8
br label %98
98: ; preds = %161, %95
%99 = load ptr, ptr %9, align 8
%100 = icmp ne ptr %99, null
br i1 %100, label %101, label %106
101: ; preds = %98
%102 = load ptr, ptr %9, align 8
%103 = load i8, ptr %102, align 1
%104 = sext i8 %103 to i32
%105 = icmp ne i32 %104, 0
br label %106
106: ; preds = %101, %98
%107 = phi i1 [ false, %98 ], [ %105, %101 ]
br i1 %107, label %108, label %164
108: ; preds = %106
%109 = load ptr, ptr %9, align 8
%110 = load i8, ptr %109, align 1
%111 = load ptr, ptr %11, align 8
%112 = getelementptr inbounds i8, ptr %111, i32 1
store ptr %112, ptr %11, align 8
store i8 %110, ptr %111, align 1
%113 = load ptr, ptr %9, align 8
%114 = load i8, ptr %113, align 1
%115 = sext i8 %114 to i32
%116 = icmp eq i32 %115, 37
br i1 %116, label %117, label %136
117: ; preds = %108
%118 = load ptr, ptr %9, align 8
%119 = getelementptr inbounds i8, ptr %118, i64 1
%120 = load i8, ptr %119, align 1
%121 = sext i8 %120 to i32
%122 = icmp eq i32 %121, 99
br i1 %122, label %123, label %136
123: ; preds = %117
%124 = load ptr, ptr %11, align 8
%125 = getelementptr inbounds i8, ptr %124, i32 -1
store ptr %125, ptr %11, align 8
store i8 0, ptr %125, align 1
%126 = load ptr, ptr %11, align 8
%127 = load ptr, ptr %15, align 8
%128 = call i32 @strcpy(ptr noundef %126, ptr noundef %127)
%129 = load ptr, ptr %15, align 8
%130 = call i32 @strlen(ptr noundef %129)
%131 = load ptr, ptr %11, align 8
%132 = sext i32 %130 to i64
%133 = getelementptr inbounds i8, ptr %131, i64 %132
store ptr %133, ptr %11, align 8
%134 = load ptr, ptr %9, align 8
%135 = getelementptr inbounds i8, ptr %134, i32 1
store ptr %135, ptr %9, align 8
br label %136
136: ; preds = %123, %117, %108
%137 = load ptr, ptr %9, align 8
%138 = load i8, ptr %137, align 1
%139 = sext i8 %138 to i32
%140 = icmp eq i32 %139, 37
br i1 %140, label %141, label %160
141: ; preds = %136
%142 = load ptr, ptr %9, align 8
%143 = getelementptr inbounds i8, ptr %142, i64 1
%144 = load i8, ptr %143, align 1
%145 = sext i8 %144 to i32
%146 = icmp eq i32 %145, 117
br i1 %146, label %147, label %160
147: ; preds = %141
%148 = load ptr, ptr %11, align 8
%149 = getelementptr inbounds i8, ptr %148, i32 -1
store ptr %149, ptr %11, align 8
store i8 0, ptr %149, align 1
%150 = load ptr, ptr %11, align 8
%151 = load ptr, ptr %16, align 8
%152 = call i32 @strcpy(ptr noundef %150, ptr noundef %151)
%153 = load ptr, ptr %16, align 8
%154 = call i32 @strlen(ptr noundef %153)
%155 = load ptr, ptr %11, align 8
%156 = sext i32 %154 to i64
%157 = getelementptr inbounds i8, ptr %155, i64 %156
store ptr %157, ptr %11, align 8
%158 = load ptr, ptr %9, align 8
%159 = getelementptr inbounds i8, ptr %158, i32 1
store ptr %159, ptr %9, align 8
br label %160
160: ; preds = %147, %141, %136
br label %161
161: ; preds = %160
%162 = load ptr, ptr %9, align 8
%163 = getelementptr inbounds i8, ptr %162, i32 1
store ptr %163, ptr %9, align 8
br label %98, !llvm.loop !8
164: ; preds = %106
%165 = load ptr, ptr %11, align 8
store i8 0, ptr %165, align 1
%166 = load ptr, ptr %10, align 8
%167 = load ptr, ptr %8, align 8
store ptr %166, ptr %167, align 8
br label %168
168: ; preds = %164, %93
ret void
}
declare i32 @strlen(ptr noundef) #1
declare ptr @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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpkyg738cj.c'
source_filename = "/tmp/tmpkyg738cj.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 [15 x i8] c"LITTLE_ENDIAN\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"BIG_ENDIAN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 1, ptr %1, align 4
store ptr %1, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i8, ptr %3, i64 0
%5 = load i8, ptr %4, align 1
%6 = sext i8 %5 to i32
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 @printf(ptr noundef @.str)
br label %12
10: ; preds = %0
%11 = call i32 @printf(ptr noundef @.str.1)
br label %12
12: ; preds = %10, %8
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/tmpkyg738cj.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 [15 x i8] c"LITTLE_ENDIAN\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"BIG_ENDIAN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 1, ptr %1, align 4
store ptr %1, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i8, ptr %3, i64 0
%5 = load i8, ptr %4, align 1
%6 = sext i8 %5 to i32
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 @printf(ptr noundef @.str)
br label %12
10: ; preds = %0
%11 = call i32 @printf(ptr noundef @.str.1)
br label %12
12: ; preds = %10, %8
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/tmp00duq1dv.c'
source_filename = "/tmp/tmp00duq1dv.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.in_addr = type { i32 }
%struct.hostent = type { i32 }
@.str = private unnamed_addr constant [12 x i8] c"%d.%d.%d.%d\00", align 1
@AF_INET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @iptodns(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca %struct.in_addr, align 4
%5 = alloca i32, align 4
%6 = alloca [4 x i32], align 16
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %5, align 4
%11 = load ptr, ptr %2, align 8
%12 = call i32 @st_pop(ptr noundef %11)
%13 = sext i32 %12 to i64
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %9, align 8
%15 = load ptr, ptr %2, align 8
%16 = call i32 @st_pop(ptr noundef %15)
store i32 %16, ptr %7, align 4
%17 = load ptr, ptr %2, align 8
%18 = call i32 @st_pop(ptr noundef %17)
%19 = sext i32 %18 to i64
%20 = inttoptr i64 %19 to ptr
store ptr %20, ptr %10, align 8
%21 = load ptr, ptr %10, align 8
%22 = load i32, ptr %7, align 4
%23 = call i32 @memset(ptr noundef %21, i8 noundef signext 0, i32 noundef %22)
br label %24
24: ; preds = %43, %1
%25 = load ptr, ptr %9, align 8
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%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 %41
32: ; preds = %24
%33 = load ptr, ptr %9, align 8
%34 = load i32, ptr %5, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = call i32 @iswhitespace(i8 noundef signext %37)
%39 = icmp ne i32 %38, 0
%40 = xor i1 %39, true
br label %41
41: ; preds = %32, %24
%42 = phi i1 [ false, %24 ], [ %40, %32 ]
br i1 %42, label %43, label %46
43: ; preds = %41
%44 = load i32, ptr %5, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %5, align 4
br label %24, !llvm.loop !6
46: ; preds = %41
%47 = load ptr, ptr %9, align 8
%48 = load i32, ptr %5, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
%51 = load i8, ptr %50, align 1
store i8 %51, ptr %8, align 1
%52 = load ptr, ptr %9, align 8
%53 = load i32, ptr %5, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
store i8 0, ptr %55, align 1
%56 = load ptr, ptr %9, align 8
%57 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0
%58 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 1
%59 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 2
%60 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 3
%61 = call i32 @sscanf(ptr noundef %56, ptr noundef @.str, ptr noundef %57, ptr noundef %58, ptr noundef %59, ptr noundef %60)
%62 = icmp ne i32 %61, 4
br i1 %62, label %63, label %71
63: ; preds = %46
%64 = load i8, ptr %8, align 1
%65 = load ptr, ptr %9, align 8
%66 = load i32, ptr %5, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %65, i64 %67
store i8 %64, ptr %68, align 1
%69 = load ptr, ptr %2, align 8
%70 = call i32 @st_push(ptr noundef %69, i32 noundef 0)
br label %134
71: ; preds = %46
store i32 0, ptr %5, align 4
br label %72
72: ; preds = %105, %71
%73 = load i32, ptr %5, align 4
%74 = icmp slt i32 %73, 4
br i1 %74, label %75, label %108
75: ; preds = %72
%76 = load i32, ptr %5, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 %77
%79 = load i32, ptr %78, align 4
%80 = icmp slt i32 %79, 0
br i1 %80, label %87, label %81
81: ; preds = %75
%82 = load i32, ptr %5, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 %83
%85 = load i32, ptr %84, align 4
%86 = icmp sgt i32 %85, 255
br i1 %86, label %87, label %95
87: ; preds = %81, %75
%88 = load i8, ptr %8, align 1
%89 = load ptr, ptr %9, align 8
%90 = load i32, ptr %5, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i8, ptr %89, i64 %91
store i8 %88, ptr %92, align 1
%93 = load ptr, ptr %2, align 8
%94 = call i32 @st_push(ptr noundef %93, i32 noundef 0)
br label %134
95: ; preds = %81
%96 = load i32, ptr %5, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 %97
%99 = load i32, ptr %98, align 4
%100 = trunc i32 %99 to i8
%101 = getelementptr inbounds %struct.in_addr, ptr %4, i32 0, i32 0
%102 = load i32, ptr %5, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i8, ptr %101, i64 %103
store i8 %100, ptr %104, align 1
br label %105
105: ; preds = %95
%106 = load i32, ptr %5, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %5, align 4
br label %72, !llvm.loop !8
108: ; preds = %72
%109 = load i32, ptr @AF_INET, align 4
%110 = call ptr @gethostbyaddr(ptr noundef %4, i32 noundef 4, i32 noundef %109)
store ptr %110, ptr %3, align 8
%111 = icmp eq ptr %110, null
br i1 %111, label %112, label %120
112: ; preds = %108
%113 = load i8, ptr %8, align 1
%114 = load ptr, ptr %9, align 8
%115 = load i32, ptr %5, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i8, ptr %114, i64 %116
store i8 %113, ptr %117, align 1
%118 = load ptr, ptr %2, align 8
%119 = call i32 @st_push(ptr noundef %118, i32 noundef 0)
br label %134
120: ; preds = %108
%121 = load ptr, ptr %10, align 8
%122 = load ptr, ptr %3, align 8
%123 = getelementptr inbounds %struct.hostent, ptr %122, i32 0, i32 0
%124 = load i32, ptr %123, align 4
%125 = load i32, ptr %7, align 4
%126 = call i32 @strncpy(ptr noundef %121, i32 noundef %124, i32 noundef %125)
%127 = load i8, ptr %8, align 1
%128 = load ptr, ptr %9, align 8
%129 = load i32, ptr %5, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds i8, ptr %128, i64 %130
store i8 %127, ptr %131, align 1
%132 = load ptr, ptr %2, align 8
%133 = call i32 @st_push(ptr noundef %132, i32 noundef 1)
br label %134
134: ; preds = %120, %112, %87, %63
ret void
}
declare i32 @st_pop(ptr noundef) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @iswhitespace(i8 noundef signext) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @st_push(ptr noundef, i32 noundef) #1
declare ptr @gethostbyaddr(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp00duq1dv.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.in_addr = type { i32 }
%struct.hostent = type { i32 }
@.str = private unnamed_addr constant [12 x i8] c"%d.%d.%d.%d\00", align 1
@AF_INET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @iptodns(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca %struct.in_addr, align 4
%5 = alloca i32, align 4
%6 = alloca [4 x i32], align 16
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %5, align 4
%11 = load ptr, ptr %2, align 8
%12 = call i32 @st_pop(ptr noundef %11)
%13 = sext i32 %12 to i64
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %9, align 8
%15 = load ptr, ptr %2, align 8
%16 = call i32 @st_pop(ptr noundef %15)
store i32 %16, ptr %7, align 4
%17 = load ptr, ptr %2, align 8
%18 = call i32 @st_pop(ptr noundef %17)
%19 = sext i32 %18 to i64
%20 = inttoptr i64 %19 to ptr
store ptr %20, ptr %10, align 8
%21 = load ptr, ptr %10, align 8
%22 = load i32, ptr %7, align 4
%23 = call i32 @memset(ptr noundef %21, i8 noundef signext 0, i32 noundef %22)
br label %24
24: ; preds = %43, %1
%25 = load ptr, ptr %9, align 8
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%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 %41
32: ; preds = %24
%33 = load ptr, ptr %9, align 8
%34 = load i32, ptr %5, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = call i32 @iswhitespace(i8 noundef signext %37)
%39 = icmp ne i32 %38, 0
%40 = xor i1 %39, true
br label %41
41: ; preds = %32, %24
%42 = phi i1 [ false, %24 ], [ %40, %32 ]
br i1 %42, label %43, label %46
43: ; preds = %41
%44 = load i32, ptr %5, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %5, align 4
br label %24, !llvm.loop !6
46: ; preds = %41
%47 = load ptr, ptr %9, align 8
%48 = load i32, ptr %5, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
%51 = load i8, ptr %50, align 1
store i8 %51, ptr %8, align 1
%52 = load ptr, ptr %9, align 8
%53 = load i32, ptr %5, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
store i8 0, ptr %55, align 1
%56 = load ptr, ptr %9, align 8
%57 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0
%58 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 1
%59 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 2
%60 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 3
%61 = call i32 @sscanf(ptr noundef %56, ptr noundef @.str, ptr noundef %57, ptr noundef %58, ptr noundef %59, ptr noundef %60)
%62 = icmp ne i32 %61, 4
br i1 %62, label %63, label %71
63: ; preds = %46
%64 = load i8, ptr %8, align 1
%65 = load ptr, ptr %9, align 8
%66 = load i32, ptr %5, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %65, i64 %67
store i8 %64, ptr %68, align 1
%69 = load ptr, ptr %2, align 8
%70 = call i32 @st_push(ptr noundef %69, i32 noundef 0)
br label %135
71: ; preds = %46
store i32 0, ptr %5, align 4
%72 = load i32, ptr %5, align 4
%73 = icmp slt i32 %72, 4
br i1 %73, label %.lr.ph, label %109
.lr.ph: ; preds = %71
br label %74
74: ; preds = %.lr.ph, %104
%75 = load i32, ptr %5, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 %76
%78 = load i32, ptr %77, align 4
%79 = icmp slt i32 %78, 0
br i1 %79, label %86, label %80
80: ; preds = %74
%81 = load i32, ptr %5, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 %82
%84 = load i32, ptr %83, align 4
%85 = icmp sgt i32 %84, 255
br i1 %85, label %86, label %94
86: ; preds = %80, %74
%87 = load i8, ptr %8, align 1
%88 = load ptr, ptr %9, align 8
%89 = load i32, ptr %5, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i8, ptr %88, i64 %90
store i8 %87, ptr %91, align 1
%92 = load ptr, ptr %2, align 8
%93 = call i32 @st_push(ptr noundef %92, i32 noundef 0)
br label %135
94: ; preds = %80
%95 = load i32, ptr %5, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 %96
%98 = load i32, ptr %97, align 4
%99 = trunc i32 %98 to i8
%100 = getelementptr inbounds %struct.in_addr, ptr %4, i32 0, i32 0
%101 = load i32, ptr %5, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i8, ptr %100, i64 %102
store i8 %99, ptr %103, align 1
br label %104
104: ; preds = %94
%105 = load i32, ptr %5, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %5, align 4
%107 = load i32, ptr %5, align 4
%108 = icmp slt i32 %107, 4
br i1 %108, label %74, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %104
br label %109
109: ; preds = %._crit_edge, %71
%110 = load i32, ptr @AF_INET, align 4
%111 = call ptr @gethostbyaddr(ptr noundef %4, i32 noundef 4, i32 noundef %110)
store ptr %111, ptr %3, align 8
%112 = icmp eq ptr %111, null
br i1 %112, label %113, label %121
113: ; preds = %109
%114 = load i8, ptr %8, align 1
%115 = load ptr, ptr %9, align 8
%116 = load i32, ptr %5, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds i8, ptr %115, i64 %117
store i8 %114, ptr %118, align 1
%119 = load ptr, ptr %2, align 8
%120 = call i32 @st_push(ptr noundef %119, i32 noundef 0)
br label %135
121: ; preds = %109
%122 = load ptr, ptr %10, align 8
%123 = load ptr, ptr %3, align 8
%124 = getelementptr inbounds %struct.hostent, ptr %123, i32 0, i32 0
%125 = load i32, ptr %124, align 4
%126 = load i32, ptr %7, align 4
%127 = call i32 @strncpy(ptr noundef %122, i32 noundef %125, i32 noundef %126)
%128 = load i8, ptr %8, align 1
%129 = load ptr, ptr %9, align 8
%130 = load i32, ptr %5, align 4
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds i8, ptr %129, i64 %131
store i8 %128, ptr %132, align 1
%133 = load ptr, ptr %2, align 8
%134 = call i32 @st_push(ptr noundef %133, i32 noundef 1)
br label %135
135: ; preds = %121, %113, %86, %63
ret void
}
declare i32 @st_pop(ptr noundef) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @iswhitespace(i8 noundef signext) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @st_push(ptr noundef, i32 noundef) #1
declare ptr @gethostbyaddr(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpxvlgo0df.c'
source_filename = "/tmp/tmpxvlgo0df.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"
@RLIMIT_NOFILE = dso_local global i32 0, align 4
@RLIM_INFINITY = dso_local global i32 0, align 4
@_SC_OPEN_MAX = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
!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/tmpxvlgo0df.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"
@RLIMIT_NOFILE = dso_local global i32 0, align 4
@RLIM_INFINITY = dso_local global i32 0, align 4
@_SC_OPEN_MAX = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
!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/tmpy4kffvwh.c'
source_filename = "/tmp/tmpy4kffvwh.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/tmpy4kffvwh.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/tmpen2u0pf_.c'
source_filename = "/tmp/tmpen2u0pf_.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 @none_sign(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%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
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = call i32 @memset(ptr noundef %9, i8 noundef signext 120, i32 noundef 32)
ret void
}
declare i32 @memset(ptr noundef, i8 noundef signext, 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/tmpen2u0pf_.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 @none_sign(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%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
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = call i32 @memset(ptr noundef %9, i8 noundef signext 120, i32 noundef 32)
ret void
}
declare i32 @memset(ptr noundef, i8 noundef signext, 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/tmp0dq34yyb.c'
source_filename = "/tmp/tmp0dq34yyb.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"M371_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 @M371_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/tmp0dq34yyb.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"M371_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 @M371_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/tmp7_nfsdy1.c'
source_filename = "/tmp/tmp7_nfsdy1.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 @pev_timer_del(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 @pev_sock_del(i32 noundef %3)
ret i32 %4
}
declare i32 @pev_sock_del(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/tmp7_nfsdy1.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 @pev_timer_del(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 @pev_sock_del(i32 noundef %3)
ret i32 %4
}
declare i32 @pev_sock_del(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/tmp56d1oog7.c'
source_filename = "/tmp/tmp56d1oog7.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 @SubStrings_Cat(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 i32, align 4
%9 = 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 0, ptr %8, align 4
%10 = load ptr, ptr %5, align 8
%11 = call i32 @SubStrings_Length(ptr noundef %10)
store i32 %11, ptr %9, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %3
%15 = load ptr, ptr %6, align 8
%16 = load i8, ptr %15, align 1
%17 = icmp ne i8 %16, 0
br i1 %17, label %19, label %18
18: ; preds = %14, %3
store i32 0, ptr %4, align 4
br label %52
19: ; preds = %14
%20 = load i32, ptr %9, align 4
%21 = load ptr, ptr %5, align 8
%22 = zext i32 %20 to i64
%23 = getelementptr inbounds i8, ptr %21, i64 %22
store ptr %23, ptr %5, align 8
br label %24
24: ; preds = %40, %19
%25 = load ptr, ptr %6, align 8
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %34
29: ; preds = %24
%30 = load i32, ptr %9, align 4
%31 = load i32, ptr %7, align 4
%32 = sub i32 %31, 1
%33 = icmp ult i32 %30, %32
br label %34
34: ; preds = %29, %24
%35 = phi i1 [ false, %24 ], [ %33, %29 ]
br i1 %35, label %36, label %49
36: ; preds = %34
%37 = load ptr, ptr %6, align 8
%38 = load i8, ptr %37, align 1
%39 = load ptr, ptr %5, align 8
store i8 %38, ptr %39, align 1
br label %40
40: ; preds = %36
%41 = load i32, ptr %8, align 4
%42 = add i32 %41, 1
store i32 %42, ptr %8, align 4
%43 = load ptr, ptr %6, align 8
%44 = getelementptr inbounds i8, ptr %43, i32 1
store ptr %44, ptr %6, align 8
%45 = load ptr, ptr %5, align 8
%46 = getelementptr inbounds i8, ptr %45, i32 1
store ptr %46, ptr %5, align 8
%47 = load i32, ptr %9, align 4
%48 = add i32 %47, 1
store i32 %48, ptr %9, align 4
br label %24, !llvm.loop !6
49: ; preds = %34
%50 = load ptr, ptr %5, align 8
store i8 0, ptr %50, align 1
%51 = load i32, ptr %8, align 4
store i32 %51, ptr %4, align 4
br label %52
52: ; preds = %49, %18
%53 = load i32, ptr %4, align 4
ret i32 %53
}
declare i32 @SubStrings_Length(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/tmp56d1oog7.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 @SubStrings_Cat(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 i32, align 4
%9 = 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 0, ptr %8, align 4
%10 = load ptr, ptr %5, align 8
%11 = call i32 @SubStrings_Length(ptr noundef %10)
store i32 %11, ptr %9, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %3
%15 = load ptr, ptr %6, align 8
%16 = load i8, ptr %15, align 1
%17 = icmp ne i8 %16, 0
br i1 %17, label %19, label %18
18: ; preds = %14, %3
store i32 0, ptr %4, align 4
br label %52
19: ; preds = %14
%20 = load i32, ptr %9, align 4
%21 = load ptr, ptr %5, align 8
%22 = zext i32 %20 to i64
%23 = getelementptr inbounds i8, ptr %21, i64 %22
store ptr %23, ptr %5, align 8
br label %24
24: ; preds = %40, %19
%25 = load ptr, ptr %6, align 8
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %34
29: ; preds = %24
%30 = load i32, ptr %9, align 4
%31 = load i32, ptr %7, align 4
%32 = sub i32 %31, 1
%33 = icmp ult i32 %30, %32
br label %34
34: ; preds = %29, %24
%35 = phi i1 [ false, %24 ], [ %33, %29 ]
br i1 %35, label %36, label %49
36: ; preds = %34
%37 = load ptr, ptr %6, align 8
%38 = load i8, ptr %37, align 1
%39 = load ptr, ptr %5, align 8
store i8 %38, ptr %39, align 1
br label %40
40: ; preds = %36
%41 = load i32, ptr %8, align 4
%42 = add i32 %41, 1
store i32 %42, ptr %8, align 4
%43 = load ptr, ptr %6, align 8
%44 = getelementptr inbounds i8, ptr %43, i32 1
store ptr %44, ptr %6, align 8
%45 = load ptr, ptr %5, align 8
%46 = getelementptr inbounds i8, ptr %45, i32 1
store ptr %46, ptr %5, align 8
%47 = load i32, ptr %9, align 4
%48 = add i32 %47, 1
store i32 %48, ptr %9, align 4
br label %24, !llvm.loop !6
49: ; preds = %34
%50 = load ptr, ptr %5, align 8
store i8 0, ptr %50, align 1
%51 = load i32, ptr %8, align 4
store i32 %51, ptr %4, align 4
br label %52
52: ; preds = %49, %18
%53 = load i32, ptr %4, align 4
ret i32 %53
}
declare i32 @SubStrings_Length(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/tmpu2wlfts3.c'
source_filename = "/tmp/tmpu2wlfts3.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 [8 x i8] c"U_WMR8C\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @U_WMR8C_set() #0 {
%1 = call ptr @U_WMRCORENONE_set(ptr noundef @.str)
ret ptr %1
}
declare ptr @U_WMRCORENONE_set(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/tmpu2wlfts3.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 [8 x i8] c"U_WMR8C\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @U_WMR8C_set() #0 {
%1 = call ptr @U_WMRCORENONE_set(ptr noundef @.str)
ret ptr %1
}
declare ptr @U_WMRCORENONE_set(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/tmprta9wy18.c'
source_filename = "/tmp/tmprta9wy18.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 @waitForIRCode() #0 {
%1 = alloca i64, align 8
%2 = call i64 (...) @readIRCode()
store i64 %2, ptr %1, align 8
br label %3
3: ; preds = %11, %0
%4 = load i64, ptr %1, align 8
%5 = icmp eq i64 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %3
%7 = load i64, ptr %1, align 8
%8 = icmp eq i64 %7, 4294967295
br label %9
9: ; preds = %6, %3
%10 = phi i1 [ true, %3 ], [ %8, %6 ]
br i1 %10, label %11, label %14
11: ; preds = %9
%12 = call i32 @delay(i32 noundef 200)
%13 = call i64 (...) @readIRCode()
store i64 %13, ptr %1, align 8
br label %3, !llvm.loop !6
14: ; preds = %9
%15 = load i64, ptr %1, align 8
ret i64 %15
}
declare i64 @readIRCode(...) #1
declare i32 @delay(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/tmprta9wy18.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 @waitForIRCode() #0 {
%1 = alloca i64, align 8
%2 = call i64 (...) @readIRCode()
store i64 %2, ptr %1, align 8
br label %3
3: ; preds = %11, %0
%4 = load i64, ptr %1, align 8
%5 = icmp eq i64 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %3
%7 = load i64, ptr %1, align 8
%8 = icmp eq i64 %7, 4294967295
br label %9
9: ; preds = %6, %3
%10 = phi i1 [ true, %3 ], [ %8, %6 ]
br i1 %10, label %11, label %14
11: ; preds = %9
%12 = call i32 @delay(i32 noundef 200)
%13 = call i64 (...) @readIRCode()
store i64 %13, ptr %1, align 8
br label %3, !llvm.loop !6
14: ; preds = %9
%15 = load i64, ptr %1, align 8
ret i64 %15
}
declare i64 @readIRCode(...) #1
declare i32 @delay(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/tmpe_c1sppg.c'
source_filename = "/tmp/tmpe_c1sppg.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 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = load i32, ptr %1, align 4
%6 = icmp sle i32 %5, 1000000
%7 = zext i1 %6 to i32
%8 = call i32 @__VERIFIER_assume(i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = icmp sle i32 0, %9
br i1 %10, label %11, label %14
11: ; preds = %0
%12 = load i32, ptr %2, align 4
%13 = icmp sle i32 %12, 1000000
br label %14
14: ; preds = %11, %0
%15 = phi i1 [ false, %0 ], [ %13, %11 ]
%16 = zext i1 %15 to i32
%17 = call i32 @__VERIFIER_assume(i32 noundef %16)
%18 = load i32, ptr %1, align 4
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %2, align 4
store i32 %19, ptr %4, align 4
br label %20
20: ; preds = %23, %14
%21 = load i32, ptr %4, align 4
%22 = icmp sgt i32 %21, 0
br i1 %22, label %23, label %28
23: ; preds = %20
%24 = load i32, ptr %4, align 4
%25 = sub nsw i32 %24, 1
store i32 %25, ptr %4, align 4
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %3, align 4
br label %20, !llvm.loop !6
28: ; preds = %20
%29 = load i32, ptr %3, align 4
%30 = load i32, ptr %1, align 4
%31 = load i32, ptr %2, align 4
%32 = add nsw i32 %30, %31
%33 = icmp eq i32 %29, %32
%34 = zext i1 %33 to i32
%35 = call i32 @assert(i32 noundef %34)
ret void
}
declare i32 @__VERIFIER_assume(i32 noundef) #1
declare i32 @assert(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/tmpe_c1sppg.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 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = load i32, ptr %1, align 4
%6 = icmp sle i32 %5, 1000000
%7 = zext i1 %6 to i32
%8 = call i32 @__VERIFIER_assume(i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = icmp sle i32 0, %9
br i1 %10, label %11, label %14
11: ; preds = %0
%12 = load i32, ptr %2, align 4
%13 = icmp sle i32 %12, 1000000
br label %14
14: ; preds = %11, %0
%15 = phi i1 [ false, %0 ], [ %13, %11 ]
%16 = zext i1 %15 to i32
%17 = call i32 @__VERIFIER_assume(i32 noundef %16)
%18 = load i32, ptr %1, align 4
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %2, align 4
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp sgt i32 %20, 0
br i1 %21, label %.lr.ph, label %29
.lr.ph: ; preds = %14
br label %22
22: ; preds = %.lr.ph, %22
%23 = load i32, ptr %4, align 4
%24 = sub nsw i32 %23, 1
store i32 %24, ptr %4, align 4
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp sgt i32 %27, 0
br i1 %28, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %29
29: ; preds = %._crit_edge, %14
%30 = load i32, ptr %3, align 4
%31 = load i32, ptr %1, align 4
%32 = load i32, ptr %2, align 4
%33 = add nsw i32 %31, %32
%34 = icmp eq i32 %30, %33
%35 = zext i1 %34 to i32
%36 = call i32 @assert(i32 noundef %35)
ret void
}
declare i32 @__VERIFIER_assume(i32 noundef) #1
declare i32 @assert(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/tmp8jx652g0.c'
source_filename = "/tmp/tmp8jx652g0.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"%p\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @func(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)
ret void
}
declare i32 @printf(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/tmp8jx652g0.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"%p\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @func(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)
ret void
}
declare i32 @printf(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/tmp97p13lga.c'
source_filename = "/tmp/tmp97p13lga.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 [15 x i8] c"p is not NULL\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"p is NULL\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @judgeNull() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 10, ptr %1, align 4
store ptr %1, ptr %2, align 8
store ptr null, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @printf(ptr noundef @.str)
br label %9
7: ; preds = %0
%8 = call i32 @printf(ptr noundef @.str.1)
br label %9
9: ; preds = %7, %5
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/tmp97p13lga.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 [15 x i8] c"p is not NULL\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"p is NULL\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @judgeNull() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 10, ptr %1, align 4
store ptr %1, ptr %2, align 8
store ptr null, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @printf(ptr noundef @.str)
br label %9
7: ; preds = %0
%8 = call i32 @printf(ptr noundef @.str.1)
br label %9
9: ; preds = %7, %5
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/tmpuvcbyh6q.c'
source_filename = "/tmp/tmpuvcbyh6q.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 [17 x i8] c"wrong argument!\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"mkdir\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 2
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = call i32 @printf(ptr noundef @.str)
%10 = call i32 @exit(i32 noundef -1) #3
unreachable
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = call i64 @mkdir(ptr noundef %14, i32 noundef 511)
%16 = icmp slt i64 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %11
%18 = call i32 @perror(ptr noundef @.str.1)
br label %19
19: ; preds = %17, %11
ret i32 0
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @mkdir(ptr noundef, i32 noundef) #1
declare i32 @perror(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 = { 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/tmpuvcbyh6q.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 [17 x i8] c"wrong argument!\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"mkdir\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 2
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = call i32 @printf(ptr noundef @.str)
%10 = call i32 @exit(i32 noundef -1) #3
unreachable
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = call i64 @mkdir(ptr noundef %14, i32 noundef 511)
%16 = icmp slt i64 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %11
%18 = call i32 @perror(ptr noundef @.str.1)
br label %19
19: ; preds = %17, %11
ret i32 0
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @mkdir(ptr noundef, i32 noundef) #1
declare i32 @perror(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 = { 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/tmpz_1agw13.c'
source_filename = "/tmp/tmpz_1agw13.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 [25 x i8] c"virtual memory exhausted\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xmalloc(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i64 @malloc(i32 noundef %4)
%6 = inttoptr i64 %5 to ptr
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = call i32 @fatal(ptr noundef @.str)
br label %11
11: ; preds = %9, %1
%12 = load ptr, ptr %3, align 8
ret ptr %12
}
declare i64 @malloc(i32 noundef) #1
declare i32 @fatal(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/tmpz_1agw13.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 [25 x i8] c"virtual memory exhausted\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xmalloc(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i64 @malloc(i32 noundef %4)
%6 = inttoptr i64 %5 to ptr
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = call i32 @fatal(ptr noundef @.str)
br label %11
11: ; preds = %9, %1
%12 = load ptr, ptr %3, align 8
ret ptr %12
}
declare i64 @malloc(i32 noundef) #1
declare i32 @fatal(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/tmpmtna43tv.c'
source_filename = "/tmp/tmpmtna43tv.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"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [50 x i8], align 16
%6 = alloca [50 x i8], align 16
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 -1, ptr %3, align 4
store i32 0, ptr %4, align 4
%8 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %8)
%10 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %10)
%12 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%13 = call i32 @scanf(ptr noundef @.str, ptr noundef %12)
store i32 0, ptr %3, align 4
br label %14
14: ; preds = %33, %0
%15 = load i32, ptr %3, align 4
%16 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%17 = call i32 @length(ptr noundef %16)
%18 = icmp slt i32 %15, %17
br i1 %18, label %19, label %36
19: ; preds = %14
%20 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%21 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0
%22 = load i32, ptr %3, align 4
%23 = call i32 @substrCheck(ptr noundef %20, ptr noundef %21, i32 noundef %22)
store i32 %23, ptr %7, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp sge i32 %24, 0
br i1 %25, label %26, label %32
26: ; preds = %19
%27 = load i32, ptr %3, align 4
store i32 %27, ptr %4, align 4
%28 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%29 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%30 = load i32, ptr %4, align 4
%31 = call i32 @Insert(ptr noundef %28, ptr noundef %29, i32 noundef %30)
br label %36
32: ; preds = %19
br label %33
33: ; preds = %32
%34 = load i32, ptr %3, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %3, align 4
br label %14, !llvm.loop !6
36: ; preds = %26, %14
%37 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%38 = call i32 @printf(ptr noundef @.str, ptr noundef %37)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @length(ptr noundef) #1
declare i32 @substrCheck(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @Insert(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(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/tmpmtna43tv.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"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [50 x i8], align 16
%6 = alloca [50 x i8], align 16
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 -1, ptr %3, align 4
store i32 0, ptr %4, align 4
%8 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %8)
%10 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %10)
%12 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%13 = call i32 @scanf(ptr noundef @.str, ptr noundef %12)
store i32 0, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%16 = call i32 @length(ptr noundef %15)
%17 = icmp slt i32 %14, %16
br i1 %17, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %18
18: ; preds = %.lr.ph, %32
%19 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%20 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0
%21 = load i32, ptr %3, align 4
%22 = call i32 @substrCheck(ptr noundef %19, ptr noundef %20, i32 noundef %21)
store i32 %22, ptr %7, align 4
%23 = load i32, ptr %7, align 4
%24 = icmp sge i32 %23, 0
br i1 %24, label %25, label %31
25: ; preds = %18
%26 = load i32, ptr %3, align 4
store i32 %26, ptr %4, align 4
%27 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%28 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%29 = load i32, ptr %4, align 4
%30 = call i32 @Insert(ptr noundef %27, ptr noundef %28, i32 noundef %29)
br label %38
31: ; preds = %18
br label %32
32: ; preds = %31
%33 = load i32, ptr %3, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %3, align 4
%35 = load i32, ptr %3, align 4
%36 = call i32 @length(ptr noundef %15)
%37 = icmp slt i32 %35, %36
br i1 %37, label %18, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %32
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %38
38: ; preds = %.loopexit, %25
%39 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%40 = call i32 @printf(ptr noundef @.str, ptr noundef %39)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @length(ptr noundef) #1
declare i32 @substrCheck(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @Insert(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(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/tmpo_vow8lq.c'
source_filename = "/tmp/tmpo_vow8lq.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/tmpo_vow8lq.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/tmplbdh9kld.c'
source_filename = "/tmp/tmplbdh9kld.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"%s\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"Please enter your first name:\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Please enter your last name:\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"Please enter your age:\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.5 = private unnamed_addr constant [36 x i8] c"Now please enter your full address:\00", align 1
@.str.6 = private unnamed_addr constant [45 x i8] c"Your name is %s %s and you are %d years old!\00", align 1
@.str.7 = private unnamed_addr constant [49 x i8] c"Additionally you live at: \0A %s %s %s \0A %s %s, %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [25 x i8], align 16
%3 = alloca [25 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca [25 x i8], align 16
%6 = alloca [25 x i8], align 16
%7 = alloca [25 x i8], align 16
%8 = alloca [25 x i8], align 16
%9 = alloca [25 x i8], align 16
%10 = alloca [25 x i8], align 16
store i32 0, ptr %1, align 4
%11 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%12 = getelementptr inbounds [25 x i8], ptr %2, i64 0, i64 0
%13 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %12)
%14 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.2)
%15 = getelementptr inbounds [25 x i8], ptr %3, i64 0, i64 0
%16 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %15)
%17 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.3)
%18 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %4)
%19 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.5)
%20 = getelementptr inbounds [25 x i8], ptr %5, i64 0, i64 0
%21 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %20)
%22 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0
%23 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %22)
%24 = getelementptr inbounds [25 x i8], ptr %7, i64 0, i64 0
%25 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %24)
%26 = getelementptr inbounds [25 x i8], ptr %8, i64 0, i64 0
%27 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %26)
%28 = getelementptr inbounds [25 x i8], ptr %9, i64 0, i64 0
%29 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %28)
%30 = getelementptr inbounds [25 x i8], ptr %10, i64 0, i64 0
%31 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %30)
%32 = getelementptr inbounds [25 x i8], ptr %2, i64 0, i64 0
%33 = getelementptr inbounds [25 x i8], ptr %3, i64 0, i64 0
%34 = load i32, ptr %4, align 4
%35 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %32, ptr noundef %33, i32 noundef %34)
%36 = getelementptr inbounds [25 x i8], ptr %5, i64 0, i64 0
%37 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0
%38 = getelementptr inbounds [25 x i8], ptr %7, i64 0, i64 0
%39 = getelementptr inbounds [25 x i8], ptr %8, i64 0, i64 0
%40 = getelementptr inbounds [25 x i8], ptr %9, i64 0, i64 0
%41 = getelementptr inbounds [25 x i8], ptr %10, i64 0, i64 0
%42 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %36, ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %40, ptr noundef %41)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef, ...) #1
declare i32 @scanf(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/tmplbdh9kld.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"%s\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"Please enter your first name:\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Please enter your last name:\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"Please enter your age:\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.5 = private unnamed_addr constant [36 x i8] c"Now please enter your full address:\00", align 1
@.str.6 = private unnamed_addr constant [45 x i8] c"Your name is %s %s and you are %d years old!\00", align 1
@.str.7 = private unnamed_addr constant [49 x i8] c"Additionally you live at: \0A %s %s %s \0A %s %s, %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [25 x i8], align 16
%3 = alloca [25 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca [25 x i8], align 16
%6 = alloca [25 x i8], align 16
%7 = alloca [25 x i8], align 16
%8 = alloca [25 x i8], align 16
%9 = alloca [25 x i8], align 16
%10 = alloca [25 x i8], align 16
store i32 0, ptr %1, align 4
%11 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%12 = getelementptr inbounds [25 x i8], ptr %2, i64 0, i64 0
%13 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %12)
%14 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.2)
%15 = getelementptr inbounds [25 x i8], ptr %3, i64 0, i64 0
%16 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %15)
%17 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.3)
%18 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %4)
%19 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.5)
%20 = getelementptr inbounds [25 x i8], ptr %5, i64 0, i64 0
%21 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %20)
%22 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0
%23 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %22)
%24 = getelementptr inbounds [25 x i8], ptr %7, i64 0, i64 0
%25 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %24)
%26 = getelementptr inbounds [25 x i8], ptr %8, i64 0, i64 0
%27 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %26)
%28 = getelementptr inbounds [25 x i8], ptr %9, i64 0, i64 0
%29 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %28)
%30 = getelementptr inbounds [25 x i8], ptr %10, i64 0, i64 0
%31 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %30)
%32 = getelementptr inbounds [25 x i8], ptr %2, i64 0, i64 0
%33 = getelementptr inbounds [25 x i8], ptr %3, i64 0, i64 0
%34 = load i32, ptr %4, align 4
%35 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %32, ptr noundef %33, i32 noundef %34)
%36 = getelementptr inbounds [25 x i8], ptr %5, i64 0, i64 0
%37 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0
%38 = getelementptr inbounds [25 x i8], ptr %7, i64 0, i64 0
%39 = getelementptr inbounds [25 x i8], ptr %8, i64 0, i64 0
%40 = getelementptr inbounds [25 x i8], ptr %9, i64 0, i64 0
%41 = getelementptr inbounds [25 x i8], ptr %10, i64 0, i64 0
%42 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %36, ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %40, ptr noundef %41)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef, ...) #1
declare i32 @scanf(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/tmpu18ym7d6.c'
source_filename = "/tmp/tmpu18ym7d6.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 [73 x i8] c"RND Invoke Response: RenderingControl/SetBlueVideoGain[ErrorCode:%d]()\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @RNDResponseSink_RenderingControl_SetBlueVideoGain(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%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
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %5, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
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/tmpu18ym7d6.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 [73 x i8] c"RND Invoke Response: RenderingControl/SetBlueVideoGain[ErrorCode:%d]()\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @RNDResponseSink_RenderingControl_SetBlueVideoGain(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%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
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %5, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
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/tmpgjf982lq.c'
source_filename = "/tmp/tmpgjf982lq.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 @bar_destroy(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 @i3bar_stop(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @free(ptr noundef %5)
ret void
}
declare i32 @i3bar_stop(ptr noundef) #1
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/tmpgjf982lq.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 @bar_destroy(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 @i3bar_stop(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @free(ptr noundef %5)
ret void
}
declare i32 @i3bar_stop(ptr noundef) #1
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/tmpqypsy3vf.c'
source_filename = "/tmp/tmpqypsy3vf.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 @App_Exit2() #0 {
%1 = call i32 (...) @Port_End()
%2 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @Port_End(...) #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/tmpqypsy3vf.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 @App_Exit2() #0 {
%1 = call i32 (...) @Port_End()
%2 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @Port_End(...) #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/tmpm103dnjl.c'
source_filename = "/tmp/tmpm103dnjl.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 [6 x i8] c"%.6f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @plusMinus(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%10 = call i64 @malloc(i32 noundef 12)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %9, align 8
%12 = load i32, ptr %6, align 4
%13 = sitofp i32 %12 to float
%14 = load i32, ptr %5, align 4
%15 = sitofp i32 %14 to float
%16 = fdiv float %13, %15
%17 = load ptr, ptr %9, align 8
%18 = getelementptr inbounds float, ptr %17, i64 0
store float %16, ptr %18, align 4
%19 = load i32, ptr %7, align 4
%20 = sitofp i32 %19 to float
%21 = load i32, ptr %5, align 4
%22 = sitofp i32 %21 to float
%23 = fdiv float %20, %22
%24 = load ptr, ptr %9, align 8
%25 = getelementptr inbounds float, ptr %24, i64 1
store float %23, ptr %25, align 4
%26 = load i32, ptr %8, align 4
%27 = sitofp i32 %26 to float
%28 = load i32, ptr %5, align 4
%29 = sitofp i32 %28 to float
%30 = fdiv float %27, %29
%31 = load ptr, ptr %9, align 8
%32 = getelementptr inbounds float, ptr %31, i64 2
store float %30, ptr %32, align 4
%33 = load ptr, ptr %9, align 8
%34 = getelementptr inbounds float, ptr %33, i64 0
%35 = load float, ptr %34, align 4
%36 = call i32 @printf(ptr noundef @.str, float noundef %35)
%37 = load ptr, ptr %9, align 8
%38 = getelementptr inbounds float, ptr %37, i64 1
%39 = load float, ptr %38, align 4
%40 = call i32 @printf(ptr noundef @.str, float noundef %39)
%41 = load ptr, ptr %9, align 8
%42 = getelementptr inbounds float, ptr %41, i64 2
%43 = load float, ptr %42, align 4
%44 = call i32 @printf(ptr noundef @.str, float noundef %43)
%45 = load ptr, ptr %9, align 8
%46 = call i32 @free(ptr noundef %45)
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
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/tmpm103dnjl.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 [6 x i8] c"%.6f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @plusMinus(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%10 = call i64 @malloc(i32 noundef 12)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %9, align 8
%12 = load i32, ptr %6, align 4
%13 = sitofp i32 %12 to float
%14 = load i32, ptr %5, align 4
%15 = sitofp i32 %14 to float
%16 = fdiv float %13, %15
%17 = load ptr, ptr %9, align 8
%18 = getelementptr inbounds float, ptr %17, i64 0
store float %16, ptr %18, align 4
%19 = load i32, ptr %7, align 4
%20 = sitofp i32 %19 to float
%21 = load i32, ptr %5, align 4
%22 = sitofp i32 %21 to float
%23 = fdiv float %20, %22
%24 = load ptr, ptr %9, align 8
%25 = getelementptr inbounds float, ptr %24, i64 1
store float %23, ptr %25, align 4
%26 = load i32, ptr %8, align 4
%27 = sitofp i32 %26 to float
%28 = load i32, ptr %5, align 4
%29 = sitofp i32 %28 to float
%30 = fdiv float %27, %29
%31 = load ptr, ptr %9, align 8
%32 = getelementptr inbounds float, ptr %31, i64 2
store float %30, ptr %32, align 4
%33 = load ptr, ptr %9, align 8
%34 = getelementptr inbounds float, ptr %33, i64 0
%35 = load float, ptr %34, align 4
%36 = call i32 @printf(ptr noundef @.str, float noundef %35)
%37 = load ptr, ptr %9, align 8
%38 = getelementptr inbounds float, ptr %37, i64 1
%39 = load float, ptr %38, align 4
%40 = call i32 @printf(ptr noundef @.str, float noundef %39)
%41 = load ptr, ptr %9, align 8
%42 = getelementptr inbounds float, ptr %41, i64 2
%43 = load float, ptr %42, align 4
%44 = call i32 @printf(ptr noundef @.str, float noundef %43)
%45 = load ptr, ptr %9, align 8
%46 = call i32 @free(ptr noundef %45)
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
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/tmpdix687ui.c'
source_filename = "/tmp/tmpdix687ui.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/tmpdix687ui.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/tmpfxkq9q7t.c'
source_filename = "/tmp/tmpfxkq9q7t.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/tmpfxkq9q7t.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/tmp4y5pg3cx.c'
source_filename = "/tmp/tmp4y5pg3cx.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"\1B[1;31m%3d \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"\1B[0m\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%3d \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_array(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %10
10: ; preds = %38, %4
%11 = load i32, ptr %9, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %41
14: ; preds = %10
%15 = load i32, ptr %9, align 4
%16 = load i32, ptr %7, align 4
%17 = icmp eq i32 %15, %16
br i1 %17, label %22, label %18
18: ; preds = %14
%19 = load i32, ptr %9, align 4
%20 = load i32, ptr %8, align 4
%21 = icmp eq i32 %19, %20
br i1 %21, label %22, label %30
22: ; preds = %18, %14
%23 = load ptr, ptr %5, 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 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %27)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %37
30: ; preds = %18
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %9, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %31, i64 %33
%35 = load i32, ptr %34, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35)
br label %37
37: ; preds = %30, %22
br label %38
38: ; preds = %37
%39 = load i32, ptr %9, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %9, align 4
br label %10, !llvm.loop !6
41: ; preds = %10
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4y5pg3cx.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"\1B[1;31m%3d \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"\1B[0m\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%3d \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_array(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
%10 = load i32, ptr %9, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %43
.lr.ph: ; preds = %4
br label %13
13: ; preds = %.lr.ph, %37
%14 = load i32, ptr %9, align 4
%15 = load i32, ptr %7, align 4
%16 = icmp eq i32 %14, %15
br i1 %16, label %21, label %17
17: ; preds = %13
%18 = load i32, ptr %9, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp eq i32 %18, %19
br i1 %20, label %21, label %29
21: ; preds = %17, %13
%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 i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %26)
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %36
29: ; preds = %17
%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 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %34)
br label %36
36: ; preds = %29, %21
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
%40 = load i32, ptr %9, align 4
%41 = load i32, ptr %6, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %43
43: ; preds = %._crit_edge, %4
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvx5e7wzz.c'
source_filename = "/tmp/tmpvx5e7wzz.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 [10 x i8] c"Password:\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @passwd(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 i8, ptr %3, i64 0
store i8 0, ptr %4, align 1
br label %5
5: ; preds = %11, %1
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 0
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %16
11: ; preds = %5
%12 = call i32 @printf(ptr noundef @.str)
%13 = load i32, ptr @stdin, align 4
%14 = load ptr, ptr %2, align 8
%15 = call i32 @fscanf(i32 noundef %13, ptr noundef @.str.1, ptr noundef %14)
br label %5, !llvm.loop !6
16: ; preds = %5
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @fscanf(i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvx5e7wzz.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 [10 x i8] c"Password:\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @passwd(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 i8, ptr %3, i64 0
store i8 0, ptr %4, align 1
%5 = load ptr, ptr %2, align 8
%6 = load i8, ptr %5, align 1
%7 = sext i8 %6 to i32
%8 = icmp eq i32 %7, 0
br i1 %8, label %.lr.ph, label %19
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %9
%10 = call i32 @printf(ptr noundef @.str)
%11 = load i32, ptr @stdin, align 4
%12 = load ptr, ptr %2, align 8
%13 = call i32 @fscanf(i32 noundef %11, ptr noundef @.str.1, ptr noundef %12)
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 0
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 0
br i1 %18, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %19
19: ; preds = %._crit_edge, %1
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @fscanf(i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0jxqnc1m.c'
source_filename = "/tmp/tmp0jxqnc1m.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 @cftb1st(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%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
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
%27 = alloca double, align 8
%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
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%35 = load i32, ptr %3, align 4
%36 = ashr i32 %35, 3
store i32 %36, ptr %13, align 4
%37 = load i32, ptr %13, align 4
%38 = mul nsw i32 2, %37
store i32 %38, ptr %12, align 4
%39 = load i32, ptr %12, align 4
store i32 %39, ptr %9, align 4
%40 = load i32, ptr %9, align 4
%41 = load i32, ptr %12, align 4
%42 = add nsw i32 %40, %41
store i32 %42, ptr %10, align 4
%43 = load i32, ptr %10, align 4
%44 = load i32, ptr %12, align 4
%45 = add nsw i32 %43, %44
store i32 %45, ptr %11, align 4
%46 = load ptr, ptr %4, align 8
%47 = getelementptr inbounds double, ptr %46, i64 0
%48 = load double, ptr %47, align 8
%49 = load ptr, ptr %4, align 8
%50 = load i32, ptr %10, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds double, ptr %49, i64 %51
%53 = load double, ptr %52, align 8
%54 = fadd double %48, %53
store double %54, ptr %27, align 8
%55 = load ptr, ptr %4, align 8
%56 = getelementptr inbounds double, ptr %55, i64 1
%57 = load double, ptr %56, align 8
%58 = fneg double %57
%59 = load ptr, ptr %4, align 8
%60 = load i32, ptr %10, align 4
%61 = add nsw i32 %60, 1
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds double, ptr %59, i64 %62
%64 = load double, ptr %63, align 8
%65 = fsub double %58, %64
store double %65, ptr %28, align 8
%66 = load ptr, ptr %4, align 8
%67 = getelementptr inbounds double, ptr %66, i64 0
%68 = load double, ptr %67, align 8
%69 = load ptr, ptr %4, align 8
%70 = load i32, ptr %10, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds double, ptr %69, i64 %71
%73 = load double, ptr %72, align 8
%74 = fsub double %68, %73
store double %74, ptr %29, align 8
%75 = load ptr, ptr %4, align 8
%76 = getelementptr inbounds double, ptr %75, i64 1
%77 = load double, ptr %76, align 8
%78 = fneg double %77
%79 = load ptr, ptr %4, align 8
%80 = load i32, ptr %10, align 4
%81 = add nsw i32 %80, 1
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds double, ptr %79, i64 %82
%84 = load double, ptr %83, align 8
%85 = fadd double %78, %84
store double %85, ptr %30, align 8
%86 = load ptr, ptr %4, align 8
%87 = load i32, ptr %9, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds double, ptr %86, i64 %88
%90 = load double, ptr %89, align 8
%91 = load ptr, ptr %4, align 8
%92 = load i32, ptr %11, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds double, ptr %91, i64 %93
%95 = load double, ptr %94, align 8
%96 = fadd double %90, %95
store double %96, ptr %31, align 8
%97 = load ptr, ptr %4, align 8
%98 = load i32, ptr %9, align 4
%99 = add nsw i32 %98, 1
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds double, ptr %97, i64 %100
%102 = load double, ptr %101, align 8
%103 = load ptr, ptr %4, align 8
%104 = load i32, ptr %11, align 4
%105 = add nsw i32 %104, 1
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds double, ptr %103, i64 %106
%108 = load double, ptr %107, align 8
%109 = fadd double %102, %108
store double %109, ptr %32, align 8
%110 = load ptr, ptr %4, align 8
%111 = load i32, ptr %9, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds double, ptr %110, i64 %112
%114 = load double, ptr %113, align 8
%115 = load ptr, ptr %4, align 8
%116 = load i32, ptr %11, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds double, ptr %115, i64 %117
%119 = load double, ptr %118, align 8
%120 = fsub double %114, %119
store double %120, ptr %33, align 8
%121 = load ptr, ptr %4, align 8
%122 = load i32, ptr %9, align 4
%123 = add nsw i32 %122, 1
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds double, ptr %121, i64 %124
%126 = load double, ptr %125, align 8
%127 = load ptr, ptr %4, align 8
%128 = load i32, ptr %11, align 4
%129 = add nsw i32 %128, 1
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds double, ptr %127, i64 %130
%132 = load double, ptr %131, align 8
%133 = fsub double %126, %132
store double %133, ptr %34, align 8
%134 = load double, ptr %27, align 8
%135 = load double, ptr %31, align 8
%136 = fadd double %134, %135
%137 = load ptr, ptr %4, align 8
%138 = getelementptr inbounds double, ptr %137, i64 0
store double %136, ptr %138, align 8
%139 = load double, ptr %28, align 8
%140 = load double, ptr %32, align 8
%141 = fsub double %139, %140
%142 = load ptr, ptr %4, align 8
%143 = getelementptr inbounds double, ptr %142, i64 1
store double %141, ptr %143, align 8
%144 = load double, ptr %27, align 8
%145 = load double, ptr %31, align 8
%146 = fsub double %144, %145
%147 = load ptr, ptr %4, align 8
%148 = load i32, ptr %9, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds double, ptr %147, i64 %149
store double %146, ptr %150, align 8
%151 = load double, ptr %28, align 8
%152 = load double, ptr %32, align 8
%153 = fadd double %151, %152
%154 = load ptr, ptr %4, align 8
%155 = load i32, ptr %9, align 4
%156 = add nsw i32 %155, 1
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds double, ptr %154, i64 %157
store double %153, ptr %158, align 8
%159 = load double, ptr %29, align 8
%160 = load double, ptr %34, align 8
%161 = fadd double %159, %160
%162 = load ptr, ptr %4, align 8
%163 = load i32, ptr %10, align 4
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds double, ptr %162, i64 %164
store double %161, ptr %165, align 8
%166 = load double, ptr %30, align 8
%167 = load double, ptr %33, align 8
%168 = fadd double %166, %167
%169 = load ptr, ptr %4, align 8
%170 = load i32, ptr %10, align 4
%171 = add nsw i32 %170, 1
%172 = sext i32 %171 to i64
%173 = getelementptr inbounds double, ptr %169, i64 %172
store double %168, ptr %173, align 8
%174 = load double, ptr %29, align 8
%175 = load double, ptr %34, align 8
%176 = fsub double %174, %175
%177 = load ptr, ptr %4, align 8
%178 = load i32, ptr %11, align 4
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds double, ptr %177, i64 %179
store double %176, ptr %180, align 8
%181 = load double, ptr %30, align 8
%182 = load double, ptr %33, align 8
%183 = fsub double %181, %182
%184 = load ptr, ptr %4, align 8
%185 = load i32, ptr %11, align 4
%186 = add nsw i32 %185, 1
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds double, ptr %184, i64 %187
store double %183, ptr %188, align 8
store double 1.000000e+00, ptr %21, align 8
store double 0.000000e+00, ptr %22, align 8
store double 1.000000e+00, ptr %23, align 8
store double 0.000000e+00, ptr %24, align 8
%189 = load i32, ptr %12, align 4
%190 = sitofp i32 %189 to double
%191 = fdiv double 0x3FF921FB54442D18, %190
store double %191, ptr %14, align 8
%192 = load double, ptr %14, align 8
%193 = fmul double 2.000000e+00, %192
%194 = call double @cos(double noundef %193) #3
store double %194, ptr %15, align 8
%195 = load double, ptr %14, align 8
%196 = fmul double 2.000000e+00, %195
%197 = call double @sin(double noundef %196) #3
store double %197, ptr %16, align 8
%198 = load double, ptr %15, align 8
store double %198, ptr %17, align 8
%199 = load double, ptr %16, align 8
store double %199, ptr %18, align 8
%200 = load double, ptr %16, align 8
%201 = fmul double 2.000000e+00, %200
store double %201, ptr %25, align 8
%202 = load double, ptr %25, align 8
%203 = fmul double 2.000000e+00, %202
%204 = load double, ptr %17, align 8
%205 = fmul double %203, %204
store double %205, ptr %20, align 8
%206 = load double, ptr %17, align 8
%207 = load double, ptr %20, align 8
%208 = load double, ptr %18, align 8
%209 = fneg double %207
%210 = call double @llvm.fmuladd.f64(double %209, double %208, double %206)
store double %210, ptr %19, align 8
%211 = load double, ptr %18, align 8
%212 = load double, ptr %20, align 8
%213 = load double, ptr %17, align 8
%214 = fneg double %212
%215 = call double @llvm.fmuladd.f64(double %214, double %213, double %211)
store double %215, ptr %20, align 8
%216 = load double, ptr %20, align 8
%217 = fmul double 2.000000e+00, %216
store double %217, ptr %26, align 8
store i32 0, ptr %5, align 4
br label %218
218: ; preds = %1062, %2
%219 = load i32, ptr %5, align 4
%220 = add nsw i32 %219, 128
store i32 %220, ptr %6, align 4
%221 = load i32, ptr %6, align 4
%222 = load i32, ptr %13, align 4
%223 = sub nsw i32 %222, 4
%224 = icmp sgt i32 %221, %223
br i1 %224, label %225, label %228
225: ; preds = %218
%226 = load i32, ptr %13, align 4
%227 = sub nsw i32 %226, 4
store i32 %227, ptr %6, align 4
br label %228
228: ; preds = %225, %218
%229 = load i32, ptr %5, align 4
%230 = add nsw i32 %229, 2
store i32 %230, ptr %7, align 4
br label %231
231: ; preds = %1053, %228
%232 = load i32, ptr %7, align 4
%233 = load i32, ptr %6, align 4
%234 = icmp slt i32 %232, %233
br i1 %234, label %235, label %1056
235: ; preds = %231
%236 = load double, ptr %25, align 8
%237 = load double, ptr %18, align 8
%238 = load double, ptr %21, align 8
%239 = fneg double %236
%240 = call double @llvm.fmuladd.f64(double %239, double %237, double %238)
store double %240, ptr %21, align 8
%241 = load double, ptr %25, align 8
%242 = load double, ptr %17, align 8
%243 = load double, ptr %22, align 8
%244 = call double @llvm.fmuladd.f64(double %241, double %242, double %243)
store double %244, ptr %22, align 8
%245 = load double, ptr %26, align 8
%246 = load double, ptr %20, align 8
%247 = load double, ptr %23, align 8
%248 = fneg double %245
%249 = call double @llvm.fmuladd.f64(double %248, double %246, double %247)
store double %249, ptr %23, align 8
%250 = load double, ptr %26, align 8
%251 = load double, ptr %19, align 8
%252 = load double, ptr %24, align 8
%253 = call double @llvm.fmuladd.f64(double %250, double %251, double %252)
store double %253, ptr %24, align 8
%254 = load i32, ptr %7, align 4
%255 = load i32, ptr %12, align 4
%256 = add nsw i32 %254, %255
store i32 %256, ptr %9, align 4
%257 = load i32, ptr %9, align 4
%258 = load i32, ptr %12, align 4
%259 = add nsw i32 %257, %258
store i32 %259, ptr %10, align 4
%260 = load i32, ptr %10, align 4
%261 = load i32, ptr %12, align 4
%262 = add nsw i32 %260, %261
store i32 %262, ptr %11, align 4
%263 = load ptr, ptr %4, align 8
%264 = load i32, ptr %7, align 4
%265 = sext i32 %264 to i64
%266 = getelementptr inbounds double, ptr %263, i64 %265
%267 = load double, ptr %266, align 8
%268 = load ptr, ptr %4, align 8
%269 = load i32, ptr %10, align 4
%270 = sext i32 %269 to i64
%271 = getelementptr inbounds double, ptr %268, i64 %270
%272 = load double, ptr %271, align 8
%273 = fadd double %267, %272
store double %273, ptr %27, align 8
%274 = load ptr, ptr %4, align 8
%275 = load i32, ptr %7, align 4
%276 = add nsw i32 %275, 1
%277 = sext i32 %276 to i64
%278 = getelementptr inbounds double, ptr %274, i64 %277
%279 = load double, ptr %278, align 8
%280 = fneg double %279
%281 = load ptr, ptr %4, align 8
%282 = load i32, ptr %10, align 4
%283 = add nsw i32 %282, 1
%284 = sext i32 %283 to i64
%285 = getelementptr inbounds double, ptr %281, i64 %284
%286 = load double, ptr %285, align 8
%287 = fsub double %280, %286
store double %287, ptr %28, align 8
%288 = load ptr, ptr %4, align 8
%289 = load i32, ptr %7, align 4
%290 = sext i32 %289 to i64
%291 = getelementptr inbounds double, ptr %288, i64 %290
%292 = load double, ptr %291, align 8
%293 = load ptr, ptr %4, align 8
%294 = load i32, ptr %10, align 4
%295 = sext i32 %294 to i64
%296 = getelementptr inbounds double, ptr %293, i64 %295
%297 = load double, ptr %296, align 8
%298 = fsub double %292, %297
store double %298, ptr %29, align 8
%299 = load ptr, ptr %4, align 8
%300 = load i32, ptr %7, align 4
%301 = add nsw i32 %300, 1
%302 = sext i32 %301 to i64
%303 = getelementptr inbounds double, ptr %299, i64 %302
%304 = load double, ptr %303, align 8
%305 = fneg double %304
%306 = load ptr, ptr %4, align 8
%307 = load i32, ptr %10, align 4
%308 = add nsw i32 %307, 1
%309 = sext i32 %308 to i64
%310 = getelementptr inbounds double, ptr %306, i64 %309
%311 = load double, ptr %310, align 8
%312 = fadd double %305, %311
store double %312, ptr %30, align 8
%313 = load ptr, ptr %4, align 8
%314 = load i32, ptr %9, align 4
%315 = sext i32 %314 to i64
%316 = getelementptr inbounds double, ptr %313, i64 %315
%317 = load double, ptr %316, align 8
%318 = load ptr, ptr %4, align 8
%319 = load i32, ptr %11, align 4
%320 = sext i32 %319 to i64
%321 = getelementptr inbounds double, ptr %318, i64 %320
%322 = load double, ptr %321, align 8
%323 = fadd double %317, %322
store double %323, ptr %31, align 8
%324 = load ptr, ptr %4, align 8
%325 = load i32, ptr %9, align 4
%326 = add nsw i32 %325, 1
%327 = sext i32 %326 to i64
%328 = getelementptr inbounds double, ptr %324, i64 %327
%329 = load double, ptr %328, align 8
%330 = load ptr, ptr %4, align 8
%331 = load i32, ptr %11, align 4
%332 = add nsw i32 %331, 1
%333 = sext i32 %332 to i64
%334 = getelementptr inbounds double, ptr %330, i64 %333
%335 = load double, ptr %334, align 8
%336 = fadd double %329, %335
store double %336, ptr %32, align 8
%337 = load ptr, ptr %4, align 8
%338 = load i32, ptr %9, align 4
%339 = sext i32 %338 to i64
%340 = getelementptr inbounds double, ptr %337, i64 %339
%341 = load double, ptr %340, align 8
%342 = load ptr, ptr %4, align 8
%343 = load i32, ptr %11, align 4
%344 = sext i32 %343 to i64
%345 = getelementptr inbounds double, ptr %342, i64 %344
%346 = load double, ptr %345, align 8
%347 = fsub double %341, %346
store double %347, ptr %33, align 8
%348 = load ptr, ptr %4, align 8
%349 = load i32, ptr %9, align 4
%350 = add nsw i32 %349, 1
%351 = sext i32 %350 to i64
%352 = getelementptr inbounds double, ptr %348, i64 %351
%353 = load double, ptr %352, align 8
%354 = load ptr, ptr %4, align 8
%355 = load i32, ptr %11, align 4
%356 = add nsw i32 %355, 1
%357 = sext i32 %356 to i64
%358 = getelementptr inbounds double, ptr %354, i64 %357
%359 = load double, ptr %358, align 8
%360 = fsub double %353, %359
store double %360, ptr %34, align 8
%361 = load double, ptr %27, align 8
%362 = load double, ptr %31, align 8
%363 = fadd double %361, %362
%364 = load ptr, ptr %4, align 8
%365 = load i32, ptr %7, align 4
%366 = sext i32 %365 to i64
%367 = getelementptr inbounds double, ptr %364, i64 %366
store double %363, ptr %367, align 8
%368 = load double, ptr %28, align 8
%369 = load double, ptr %32, align 8
%370 = fsub double %368, %369
%371 = load ptr, ptr %4, align 8
%372 = load i32, ptr %7, align 4
%373 = add nsw i32 %372, 1
%374 = sext i32 %373 to i64
%375 = getelementptr inbounds double, ptr %371, i64 %374
store double %370, ptr %375, align 8
%376 = load double, ptr %27, align 8
%377 = load double, ptr %31, align 8
%378 = fsub double %376, %377
%379 = load ptr, ptr %4, align 8
%380 = load i32, ptr %9, align 4
%381 = sext i32 %380 to i64
%382 = getelementptr inbounds double, ptr %379, i64 %381
store double %378, ptr %382, align 8
%383 = load double, ptr %28, align 8
%384 = load double, ptr %32, align 8
%385 = fadd double %383, %384
%386 = load ptr, ptr %4, align 8
%387 = load i32, ptr %9, align 4
%388 = add nsw i32 %387, 1
%389 = sext i32 %388 to i64
%390 = getelementptr inbounds double, ptr %386, i64 %389
store double %385, ptr %390, align 8
%391 = load double, ptr %29, align 8
%392 = load double, ptr %34, align 8
%393 = fadd double %391, %392
store double %393, ptr %27, align 8
%394 = load double, ptr %30, align 8
%395 = load double, ptr %33, align 8
%396 = fadd double %394, %395
store double %396, ptr %28, align 8
%397 = load double, ptr %17, align 8
%398 = load double, ptr %27, align 8
%399 = load double, ptr %18, align 8
%400 = load double, ptr %28, align 8
%401 = fmul double %399, %400
%402 = fneg double %401
%403 = call double @llvm.fmuladd.f64(double %397, double %398, double %402)
%404 = load ptr, ptr %4, align 8
%405 = load i32, ptr %10, align 4
%406 = sext i32 %405 to i64
%407 = getelementptr inbounds double, ptr %404, i64 %406
store double %403, ptr %407, align 8
%408 = load double, ptr %17, align 8
%409 = load double, ptr %28, align 8
%410 = load double, ptr %18, align 8
%411 = load double, ptr %27, align 8
%412 = fmul double %410, %411
%413 = call double @llvm.fmuladd.f64(double %408, double %409, double %412)
%414 = load ptr, ptr %4, align 8
%415 = load i32, ptr %10, align 4
%416 = add nsw i32 %415, 1
%417 = sext i32 %416 to i64
%418 = getelementptr inbounds double, ptr %414, i64 %417
store double %413, ptr %418, align 8
%419 = load double, ptr %29, align 8
%420 = load double, ptr %34, align 8
%421 = fsub double %419, %420
store double %421, ptr %27, align 8
%422 = load double, ptr %30, align 8
%423 = load double, ptr %33, align 8
%424 = fsub double %422, %423
store double %424, ptr %28, align 8
%425 = load double, ptr %19, align 8
%426 = load double, ptr %27, align 8
%427 = load double, ptr %20, align 8
%428 = load double, ptr %28, align 8
%429 = fmul double %427, %428
%430 = call double @llvm.fmuladd.f64(double %425, double %426, double %429)
%431 = load ptr, ptr %4, align 8
%432 = load i32, ptr %11, align 4
%433 = sext i32 %432 to i64
%434 = getelementptr inbounds double, ptr %431, i64 %433
store double %430, ptr %434, align 8
%435 = load double, ptr %19, align 8
%436 = load double, ptr %28, align 8
%437 = load double, ptr %20, align 8
%438 = load double, ptr %27, align 8
%439 = fmul double %437, %438
%440 = fneg double %439
%441 = call double @llvm.fmuladd.f64(double %435, double %436, double %440)
%442 = load ptr, ptr %4, align 8
%443 = load i32, ptr %11, align 4
%444 = add nsw i32 %443, 1
%445 = sext i32 %444 to i64
%446 = getelementptr inbounds double, ptr %442, i64 %445
store double %441, ptr %446, align 8
%447 = load ptr, ptr %4, align 8
%448 = load i32, ptr %7, align 4
%449 = add nsw i32 %448, 2
%450 = sext i32 %449 to i64
%451 = getelementptr inbounds double, ptr %447, i64 %450
%452 = load double, ptr %451, align 8
%453 = load ptr, ptr %4, align 8
%454 = load i32, ptr %10, align 4
%455 = add nsw i32 %454, 2
%456 = sext i32 %455 to i64
%457 = getelementptr inbounds double, ptr %453, i64 %456
%458 = load double, ptr %457, align 8
%459 = fadd double %452, %458
store double %459, ptr %27, align 8
%460 = load ptr, ptr %4, align 8
%461 = load i32, ptr %7, align 4
%462 = add nsw i32 %461, 3
%463 = sext i32 %462 to i64
%464 = getelementptr inbounds double, ptr %460, i64 %463
%465 = load double, ptr %464, align 8
%466 = fneg double %465
%467 = load ptr, ptr %4, align 8
%468 = load i32, ptr %10, align 4
%469 = add nsw i32 %468, 3
%470 = sext i32 %469 to i64
%471 = getelementptr inbounds double, ptr %467, i64 %470
%472 = load double, ptr %471, align 8
%473 = fsub double %466, %472
store double %473, ptr %28, align 8
%474 = load ptr, ptr %4, align 8
%475 = load i32, ptr %7, align 4
%476 = add nsw i32 %475, 2
%477 = sext i32 %476 to i64
%478 = getelementptr inbounds double, ptr %474, i64 %477
%479 = load double, ptr %478, align 8
%480 = load ptr, ptr %4, align 8
%481 = load i32, ptr %10, align 4
%482 = add nsw i32 %481, 2
%483 = sext i32 %482 to i64
%484 = getelementptr inbounds double, ptr %480, i64 %483
%485 = load double, ptr %484, align 8
%486 = fsub double %479, %485
store double %486, ptr %29, align 8
%487 = load ptr, ptr %4, align 8
%488 = load i32, ptr %7, align 4
%489 = add nsw i32 %488, 3
%490 = sext i32 %489 to i64
%491 = getelementptr inbounds double, ptr %487, i64 %490
%492 = load double, ptr %491, align 8
%493 = fneg double %492
%494 = load ptr, ptr %4, align 8
%495 = load i32, ptr %10, align 4
%496 = add nsw i32 %495, 3
%497 = sext i32 %496 to i64
%498 = getelementptr inbounds double, ptr %494, i64 %497
%499 = load double, ptr %498, align 8
%500 = fadd double %493, %499
store double %500, ptr %30, align 8
%501 = load ptr, ptr %4, align 8
%502 = load i32, ptr %9, align 4
%503 = add nsw i32 %502, 2
%504 = sext i32 %503 to i64
%505 = getelementptr inbounds double, ptr %501, i64 %504
%506 = load double, ptr %505, align 8
%507 = load ptr, ptr %4, align 8
%508 = load i32, ptr %11, align 4
%509 = add nsw i32 %508, 2
%510 = sext i32 %509 to i64
%511 = getelementptr inbounds double, ptr %507, i64 %510
%512 = load double, ptr %511, align 8
%513 = fadd double %506, %512
store double %513, ptr %31, align 8
%514 = load ptr, ptr %4, align 8
%515 = load i32, ptr %9, align 4
%516 = add nsw i32 %515, 3
%517 = sext i32 %516 to i64
%518 = getelementptr inbounds double, ptr %514, i64 %517
%519 = load double, ptr %518, align 8
%520 = load ptr, ptr %4, align 8
%521 = load i32, ptr %11, align 4
%522 = add nsw i32 %521, 3
%523 = sext i32 %522 to i64
%524 = getelementptr inbounds double, ptr %520, i64 %523
%525 = load double, ptr %524, align 8
%526 = fadd double %519, %525
store double %526, ptr %32, align 8
%527 = load ptr, ptr %4, align 8
%528 = load i32, ptr %9, align 4
%529 = add nsw i32 %528, 2
%530 = sext i32 %529 to i64
%531 = getelementptr inbounds double, ptr %527, i64 %530
%532 = load double, ptr %531, align 8
%533 = load ptr, ptr %4, align 8
%534 = load i32, ptr %11, align 4
%535 = add nsw i32 %534, 2
%536 = sext i32 %535 to i64
%537 = getelementptr inbounds double, ptr %533, i64 %536
%538 = load double, ptr %537, align 8
%539 = fsub double %532, %538
store double %539, ptr %33, align 8
%540 = load ptr, ptr %4, align 8
%541 = load i32, ptr %9, align 4
%542 = add nsw i32 %541, 3
%543 = sext i32 %542 to i64
%544 = getelementptr inbounds double, ptr %540, i64 %543
%545 = load double, ptr %544, align 8
%546 = load ptr, ptr %4, align 8
%547 = load i32, ptr %11, align 4
%548 = add nsw i32 %547, 3
%549 = sext i32 %548 to i64
%550 = getelementptr inbounds double, ptr %546, i64 %549
%551 = load double, ptr %550, align 8
%552 = fsub double %545, %551
store double %552, ptr %34, align 8
%553 = load double, ptr %27, align 8
%554 = load double, ptr %31, align 8
%555 = fadd double %553, %554
%556 = load ptr, ptr %4, align 8
%557 = load i32, ptr %7, align 4
%558 = add nsw i32 %557, 2
%559 = sext i32 %558 to i64
%560 = getelementptr inbounds double, ptr %556, i64 %559
store double %555, ptr %560, align 8
%561 = load double, ptr %28, align 8
%562 = load double, ptr %32, align 8
%563 = fsub double %561, %562
%564 = load ptr, ptr %4, align 8
%565 = load i32, ptr %7, align 4
%566 = add nsw i32 %565, 3
%567 = sext i32 %566 to i64
%568 = getelementptr inbounds double, ptr %564, i64 %567
store double %563, ptr %568, align 8
%569 = load double, ptr %27, align 8
%570 = load double, ptr %31, align 8
%571 = fsub double %569, %570
%572 = load ptr, ptr %4, align 8
%573 = load i32, ptr %9, align 4
%574 = add nsw i32 %573, 2
%575 = sext i32 %574 to i64
%576 = getelementptr inbounds double, ptr %572, i64 %575
store double %571, ptr %576, align 8
%577 = load double, ptr %28, align 8
%578 = load double, ptr %32, align 8
%579 = fadd double %577, %578
%580 = load ptr, ptr %4, align 8
%581 = load i32, ptr %9, align 4
%582 = add nsw i32 %581, 3
%583 = sext i32 %582 to i64
%584 = getelementptr inbounds double, ptr %580, i64 %583
store double %579, ptr %584, align 8
%585 = load double, ptr %29, align 8
%586 = load double, ptr %34, align 8
%587 = fadd double %585, %586
store double %587, ptr %27, align 8
%588 = load double, ptr %30, align 8
%589 = load double, ptr %33, align 8
%590 = fadd double %588, %589
store double %590, ptr %28, align 8
%591 = load double, ptr %21, align 8
%592 = load double, ptr %27, align 8
%593 = load double, ptr %22, align 8
%594 = load double, ptr %28, align 8
%595 = fmul double %593, %594
%596 = fneg double %595
%597 = call double @llvm.fmuladd.f64(double %591, double %592, double %596)
%598 = load ptr, ptr %4, align 8
%599 = load i32, ptr %10, align 4
%600 = add nsw i32 %599, 2
%601 = sext i32 %600 to i64
%602 = getelementptr inbounds double, ptr %598, i64 %601
store double %597, ptr %602, align 8
%603 = load double, ptr %21, align 8
%604 = load double, ptr %28, align 8
%605 = load double, ptr %22, align 8
%606 = load double, ptr %27, align 8
%607 = fmul double %605, %606
%608 = call double @llvm.fmuladd.f64(double %603, double %604, double %607)
%609 = load ptr, ptr %4, align 8
%610 = load i32, ptr %10, align 4
%611 = add nsw i32 %610, 3
%612 = sext i32 %611 to i64
%613 = getelementptr inbounds double, ptr %609, i64 %612
store double %608, ptr %613, align 8
%614 = load double, ptr %29, align 8
%615 = load double, ptr %34, align 8
%616 = fsub double %614, %615
store double %616, ptr %27, align 8
%617 = load double, ptr %30, align 8
%618 = load double, ptr %33, align 8
%619 = fsub double %617, %618
store double %619, ptr %28, align 8
%620 = load double, ptr %23, align 8
%621 = load double, ptr %27, align 8
%622 = load double, ptr %24, align 8
%623 = load double, ptr %28, align 8
%624 = fmul double %622, %623
%625 = call double @llvm.fmuladd.f64(double %620, double %621, double %624)
%626 = load ptr, ptr %4, align 8
%627 = load i32, ptr %11, align 4
%628 = add nsw i32 %627, 2
%629 = sext i32 %628 to i64
%630 = getelementptr inbounds double, ptr %626, i64 %629
store double %625, ptr %630, align 8
%631 = load double, ptr %23, align 8
%632 = load double, ptr %28, align 8
%633 = load double, ptr %24, align 8
%634 = load double, ptr %27, align 8
%635 = fmul double %633, %634
%636 = fneg double %635
%637 = call double @llvm.fmuladd.f64(double %631, double %632, double %636)
%638 = load ptr, ptr %4, align 8
%639 = load i32, ptr %11, align 4
%640 = add nsw i32 %639, 3
%641 = sext i32 %640 to i64
%642 = getelementptr inbounds double, ptr %638, i64 %641
store double %637, ptr %642, align 8
%643 = load i32, ptr %12, align 4
%644 = load i32, ptr %7, align 4
%645 = sub nsw i32 %643, %644
store i32 %645, ptr %8, align 4
%646 = load i32, ptr %8, align 4
%647 = load i32, ptr %12, align 4
%648 = add nsw i32 %646, %647
store i32 %648, ptr %9, align 4
%649 = load i32, ptr %9, align 4
%650 = load i32, ptr %12, align 4
%651 = add nsw i32 %649, %650
store i32 %651, ptr %10, align 4
%652 = load i32, ptr %10, align 4
%653 = load i32, ptr %12, align 4
%654 = add nsw i32 %652, %653
store i32 %654, ptr %11, align 4
%655 = load ptr, ptr %4, align 8
%656 = load i32, ptr %8, align 4
%657 = sext i32 %656 to i64
%658 = getelementptr inbounds double, ptr %655, i64 %657
%659 = load double, ptr %658, align 8
%660 = load ptr, ptr %4, align 8
%661 = load i32, ptr %10, align 4
%662 = sext i32 %661 to i64
%663 = getelementptr inbounds double, ptr %660, i64 %662
%664 = load double, ptr %663, align 8
%665 = fadd double %659, %664
store double %665, ptr %27, align 8
%666 = load ptr, ptr %4, align 8
%667 = load i32, ptr %8, align 4
%668 = add nsw i32 %667, 1
%669 = sext i32 %668 to i64
%670 = getelementptr inbounds double, ptr %666, i64 %669
%671 = load double, ptr %670, align 8
%672 = fneg double %671
%673 = load ptr, ptr %4, align 8
%674 = load i32, ptr %10, align 4
%675 = add nsw i32 %674, 1
%676 = sext i32 %675 to i64
%677 = getelementptr inbounds double, ptr %673, i64 %676
%678 = load double, ptr %677, align 8
%679 = fsub double %672, %678
store double %679, ptr %28, align 8
%680 = load ptr, ptr %4, align 8
%681 = load i32, ptr %8, align 4
%682 = sext i32 %681 to i64
%683 = getelementptr inbounds double, ptr %680, i64 %682
%684 = load double, ptr %683, align 8
%685 = load ptr, ptr %4, align 8
%686 = load i32, ptr %10, align 4
%687 = sext i32 %686 to i64
%688 = getelementptr inbounds double, ptr %685, i64 %687
%689 = load double, ptr %688, align 8
%690 = fsub double %684, %689
store double %690, ptr %29, align 8
%691 = load ptr, ptr %4, align 8
%692 = load i32, ptr %8, align 4
%693 = add nsw i32 %692, 1
%694 = sext i32 %693 to i64
%695 = getelementptr inbounds double, ptr %691, i64 %694
%696 = load double, ptr %695, align 8
%697 = fneg double %696
%698 = load ptr, ptr %4, align 8
%699 = load i32, ptr %10, align 4
%700 = add nsw i32 %699, 1
%701 = sext i32 %700 to i64
%702 = getelementptr inbounds double, ptr %698, i64 %701
%703 = load double, ptr %702, align 8
%704 = fadd double %697, %703
store double %704, ptr %30, align 8
%705 = load ptr, ptr %4, align 8
%706 = load i32, ptr %9, align 4
%707 = sext i32 %706 to i64
%708 = getelementptr inbounds double, ptr %705, i64 %707
%709 = load double, ptr %708, align 8
%710 = load ptr, ptr %4, align 8
%711 = load i32, ptr %11, align 4
%712 = sext i32 %711 to i64
%713 = getelementptr inbounds double, ptr %710, i64 %712
%714 = load double, ptr %713, align 8
%715 = fadd double %709, %714
store double %715, ptr %31, align 8
%716 = load ptr, ptr %4, align 8
%717 = load i32, ptr %9, align 4
%718 = add nsw i32 %717, 1
%719 = sext i32 %718 to i64
%720 = getelementptr inbounds double, ptr %716, i64 %719
%721 = load double, ptr %720, align 8
%722 = load ptr, ptr %4, align 8
%723 = load i32, ptr %11, align 4
%724 = add nsw i32 %723, 1
%725 = sext i32 %724 to i64
%726 = getelementptr inbounds double, ptr %722, i64 %725
%727 = load double, ptr %726, align 8
%728 = fadd double %721, %727
store double %728, ptr %32, align 8
%729 = load ptr, ptr %4, align 8
%730 = load i32, ptr %9, align 4
%731 = sext i32 %730 to i64
%732 = getelementptr inbounds double, ptr %729, i64 %731
%733 = load double, ptr %732, align 8
%734 = load ptr, ptr %4, align 8
%735 = load i32, ptr %11, align 4
%736 = sext i32 %735 to i64
%737 = getelementptr inbounds double, ptr %734, i64 %736
%738 = load double, ptr %737, align 8
%739 = fsub double %733, %738
store double %739, ptr %33, align 8
%740 = load ptr, ptr %4, align 8
%741 = load i32, ptr %9, align 4
%742 = add nsw i32 %741, 1
%743 = sext i32 %742 to i64
%744 = getelementptr inbounds double, ptr %740, i64 %743
%745 = load double, ptr %744, align 8
%746 = load ptr, ptr %4, align 8
%747 = load i32, ptr %11, align 4
%748 = add nsw i32 %747, 1
%749 = sext i32 %748 to i64
%750 = getelementptr inbounds double, ptr %746, i64 %749
%751 = load double, ptr %750, align 8
%752 = fsub double %745, %751
store double %752, ptr %34, align 8
%753 = load double, ptr %27, align 8
%754 = load double, ptr %31, align 8
%755 = fadd double %753, %754
%756 = load ptr, ptr %4, align 8
%757 = load i32, ptr %8, align 4
%758 = sext i32 %757 to i64
%759 = getelementptr inbounds double, ptr %756, i64 %758
store double %755, ptr %759, align 8
%760 = load double, ptr %28, align 8
%761 = load double, ptr %32, align 8
%762 = fsub double %760, %761
%763 = load ptr, ptr %4, align 8
%764 = load i32, ptr %8, align 4
%765 = add nsw i32 %764, 1
%766 = sext i32 %765 to i64
%767 = getelementptr inbounds double, ptr %763, i64 %766
store double %762, ptr %767, align 8
%768 = load double, ptr %27, align 8
%769 = load double, ptr %31, align 8
%770 = fsub double %768, %769
%771 = load ptr, ptr %4, align 8
%772 = load i32, ptr %9, align 4
%773 = sext i32 %772 to i64
%774 = getelementptr inbounds double, ptr %771, i64 %773
store double %770, ptr %774, align 8
%775 = load double, ptr %28, align 8
%776 = load double, ptr %32, align 8
%777 = fadd double %775, %776
%778 = load ptr, ptr %4, align 8
%779 = load i32, ptr %9, align 4
%780 = add nsw i32 %779, 1
%781 = sext i32 %780 to i64
%782 = getelementptr inbounds double, ptr %778, i64 %781
store double %777, ptr %782, align 8
%783 = load double, ptr %29, align 8
%784 = load double, ptr %34, align 8
%785 = fadd double %783, %784
store double %785, ptr %27, align 8
%786 = load double, ptr %30, align 8
%787 = load double, ptr %33, align 8
%788 = fadd double %786, %787
store double %788, ptr %28, align 8
%789 = load double, ptr %18, align 8
%790 = load double, ptr %27, align 8
%791 = load double, ptr %17, align 8
%792 = load double, ptr %28, align 8
%793 = fmul double %791, %792
%794 = fneg double %793
%795 = call double @llvm.fmuladd.f64(double %789, double %790, double %794)
%796 = load ptr, ptr %4, align 8
%797 = load i32, ptr %10, align 4
%798 = sext i32 %797 to i64
%799 = getelementptr inbounds double, ptr %796, i64 %798
store double %795, ptr %799, align 8
%800 = load double, ptr %18, align 8
%801 = load double, ptr %28, align 8
%802 = load double, ptr %17, align 8
%803 = load double, ptr %27, align 8
%804 = fmul double %802, %803
%805 = call double @llvm.fmuladd.f64(double %800, double %801, double %804)
%806 = load ptr, ptr %4, align 8
%807 = load i32, ptr %10, align 4
%808 = add nsw i32 %807, 1
%809 = sext i32 %808 to i64
%810 = getelementptr inbounds double, ptr %806, i64 %809
store double %805, ptr %810, align 8
%811 = load double, ptr %29, align 8
%812 = load double, ptr %34, align 8
%813 = fsub double %811, %812
store double %813, ptr %27, align 8
%814 = load double, ptr %30, align 8
%815 = load double, ptr %33, align 8
%816 = fsub double %814, %815
store double %816, ptr %28, align 8
%817 = load double, ptr %20, align 8
%818 = load double, ptr %27, align 8
%819 = load double, ptr %19, align 8
%820 = load double, ptr %28, align 8
%821 = fmul double %819, %820
%822 = call double @llvm.fmuladd.f64(double %817, double %818, double %821)
%823 = load ptr, ptr %4, align 8
%824 = load i32, ptr %11, align 4
%825 = sext i32 %824 to i64
%826 = getelementptr inbounds double, ptr %823, i64 %825
store double %822, ptr %826, align 8
%827 = load double, ptr %20, align 8
%828 = load double, ptr %28, align 8
%829 = load double, ptr %19, align 8
%830 = load double, ptr %27, align 8
%831 = fmul double %829, %830
%832 = fneg double %831
%833 = call double @llvm.fmuladd.f64(double %827, double %828, double %832)
%834 = load ptr, ptr %4, align 8
%835 = load i32, ptr %11, align 4
%836 = add nsw i32 %835, 1
%837 = sext i32 %836 to i64
%838 = getelementptr inbounds double, ptr %834, i64 %837
store double %833, ptr %838, align 8
%839 = load ptr, ptr %4, align 8
%840 = load i32, ptr %8, align 4
%841 = sub nsw i32 %840, 2
%842 = sext i32 %841 to i64
%843 = getelementptr inbounds double, ptr %839, i64 %842
%844 = load double, ptr %843, align 8
%845 = load ptr, ptr %4, align 8
%846 = load i32, ptr %10, align 4
%847 = sub nsw i32 %846, 2
%848 = sext i32 %847 to i64
%849 = getelementptr inbounds double, ptr %845, i64 %848
%850 = load double, ptr %849, align 8
%851 = fadd double %844, %850
store double %851, ptr %27, align 8
%852 = load ptr, ptr %4, align 8
%853 = load i32, ptr %8, align 4
%854 = sub nsw i32 %853, 1
%855 = sext i32 %854 to i64
%856 = getelementptr inbounds double, ptr %852, i64 %855
%857 = load double, ptr %856, align 8
%858 = fneg double %857
%859 = load ptr, ptr %4, align 8
%860 = load i32, ptr %10, align 4
%861 = sub nsw i32 %860, 1
%862 = sext i32 %861 to i64
%863 = getelementptr inbounds double, ptr %859, i64 %862
%864 = load double, ptr %863, align 8
%865 = fsub double %858, %864
store double %865, ptr %28, align 8
%866 = load ptr, ptr %4, align 8
%867 = load i32, ptr %8, align 4
%868 = sub nsw i32 %867, 2
%869 = sext i32 %868 to i64
%870 = getelementptr inbounds double, ptr %866, i64 %869
%871 = load double, ptr %870, align 8
%872 = load ptr, ptr %4, align 8
%873 = load i32, ptr %10, align 4
%874 = sub nsw i32 %873, 2
%875 = sext i32 %874 to i64
%876 = getelementptr inbounds double, ptr %872, i64 %875
%877 = load double, ptr %876, align 8
%878 = fsub double %871, %877
store double %878, ptr %29, align 8
%879 = load ptr, ptr %4, align 8
%880 = load i32, ptr %8, align 4
%881 = sub nsw i32 %880, 1
%882 = sext i32 %881 to i64
%883 = getelementptr inbounds double, ptr %879, i64 %882
%884 = load double, ptr %883, align 8
%885 = fneg double %884
%886 = load ptr, ptr %4, align 8
%887 = load i32, ptr %10, align 4
%888 = sub nsw i32 %887, 1
%889 = sext i32 %888 to i64
%890 = getelementptr inbounds double, ptr %886, i64 %889
%891 = load double, ptr %890, align 8
%892 = fadd double %885, %891
store double %892, ptr %30, align 8
%893 = load ptr, ptr %4, align 8
%894 = load i32, ptr %9, align 4
%895 = sub nsw i32 %894, 2
%896 = sext i32 %895 to i64
%897 = getelementptr inbounds double, ptr %893, i64 %896
%898 = load double, ptr %897, align 8
%899 = load ptr, ptr %4, align 8
%900 = load i32, ptr %11, align 4
%901 = sub nsw i32 %900, 2
%902 = sext i32 %901 to i64
%903 = getelementptr inbounds double, ptr %899, i64 %902
%904 = load double, ptr %903, align 8
%905 = fadd double %898, %904
store double %905, ptr %31, align 8
%906 = load ptr, ptr %4, align 8
%907 = load i32, ptr %9, align 4
%908 = sub nsw i32 %907, 1
%909 = sext i32 %908 to i64
%910 = getelementptr inbounds double, ptr %906, i64 %909
%911 = load double, ptr %910, align 8
%912 = load ptr, ptr %4, align 8
%913 = load i32, ptr %11, align 4
%914 = sub nsw i32 %913, 1
%915 = sext i32 %914 to i64
%916 = getelementptr inbounds double, ptr %912, i64 %915
%917 = load double, ptr %916, align 8
%918 = fadd double %911, %917
store double %918, ptr %32, align 8
%919 = load ptr, ptr %4, align 8
%920 = load i32, ptr %9, align 4
%921 = sub nsw i32 %920, 2
%922 = sext i32 %921 to i64
%923 = getelementptr inbounds double, ptr %919, i64 %922
%924 = load double, ptr %923, align 8
%925 = load ptr, ptr %4, align 8
%926 = load i32, ptr %11, align 4
%927 = sub nsw i32 %926, 2
%928 = sext i32 %927 to i64
%929 = getelementptr inbounds double, ptr %925, i64 %928
%930 = load double, ptr %929, align 8
%931 = fsub double %924, %930
store double %931, ptr %33, align 8
%932 = load ptr, ptr %4, align 8
%933 = load i32, ptr %9, align 4
%934 = sub nsw i32 %933, 1
%935 = sext i32 %934 to i64
%936 = getelementptr inbounds double, ptr %932, i64 %935
%937 = load double, ptr %936, align 8
%938 = load ptr, ptr %4, align 8
%939 = load i32, ptr %11, align 4
%940 = sub nsw i32 %939, 1
%941 = sext i32 %940 to i64
%942 = getelementptr inbounds double, ptr %938, i64 %941
%943 = load double, ptr %942, align 8
%944 = fsub double %937, %943
store double %944, ptr %34, align 8
%945 = load double, ptr %27, align 8
%946 = load double, ptr %31, align 8
%947 = fadd double %945, %946
%948 = load ptr, ptr %4, align 8
%949 = load i32, ptr %8, align 4
%950 = sub nsw i32 %949, 2
%951 = sext i32 %950 to i64
%952 = getelementptr inbounds double, ptr %948, i64 %951
store double %947, ptr %952, align 8
%953 = load double, ptr %28, align 8
%954 = load double, ptr %32, align 8
%955 = fsub double %953, %954
%956 = load ptr, ptr %4, align 8
%957 = load i32, ptr %8, align 4
%958 = sub nsw i32 %957, 1
%959 = sext i32 %958 to i64
%960 = getelementptr inbounds double, ptr %956, i64 %959
store double %955, ptr %960, align 8
%961 = load double, ptr %27, align 8
%962 = load double, ptr %31, align 8
%963 = fsub double %961, %962
%964 = load ptr, ptr %4, align 8
%965 = load i32, ptr %9, align 4
%966 = sub nsw i32 %965, 2
%967 = sext i32 %966 to i64
%968 = getelementptr inbounds double, ptr %964, i64 %967
store double %963, ptr %968, align 8
%969 = load double, ptr %28, align 8
%970 = load double, ptr %32, align 8
%971 = fadd double %969, %970
%972 = load ptr, ptr %4, align 8
%973 = load i32, ptr %9, align 4
%974 = sub nsw i32 %973, 1
%975 = sext i32 %974 to i64
%976 = getelementptr inbounds double, ptr %972, i64 %975
store double %971, ptr %976, align 8
%977 = load double, ptr %29, align 8
%978 = load double, ptr %34, align 8
%979 = fadd double %977, %978
store double %979, ptr %27, align 8
%980 = load double, ptr %30, align 8
%981 = load double, ptr %33, align 8
%982 = fadd double %980, %981
store double %982, ptr %28, align 8
%983 = load double, ptr %22, align 8
%984 = load double, ptr %27, align 8
%985 = load double, ptr %21, align 8
%986 = load double, ptr %28, align 8
%987 = fmul double %985, %986
%988 = fneg double %987
%989 = call double @llvm.fmuladd.f64(double %983, double %984, double %988)
%990 = load ptr, ptr %4, align 8
%991 = load i32, ptr %10, align 4
%992 = sub nsw i32 %991, 2
%993 = sext i32 %992 to i64
%994 = getelementptr inbounds double, ptr %990, i64 %993
store double %989, ptr %994, align 8
%995 = load double, ptr %22, align 8
%996 = load double, ptr %28, align 8
%997 = load double, ptr %21, align 8
%998 = load double, ptr %27, align 8
%999 = fmul double %997, %998
%1000 = call double @llvm.fmuladd.f64(double %995, double %996, double %999)
%1001 = load ptr, ptr %4, align 8
%1002 = load i32, ptr %10, align 4
%1003 = sub nsw i32 %1002, 1
%1004 = sext i32 %1003 to i64
%1005 = getelementptr inbounds double, ptr %1001, i64 %1004
store double %1000, ptr %1005, align 8
%1006 = load double, ptr %29, align 8
%1007 = load double, ptr %34, align 8
%1008 = fsub double %1006, %1007
store double %1008, ptr %27, align 8
%1009 = load double, ptr %30, align 8
%1010 = load double, ptr %33, align 8
%1011 = fsub double %1009, %1010
store double %1011, ptr %28, align 8
%1012 = load double, ptr %24, align 8
%1013 = load double, ptr %27, align 8
%1014 = load double, ptr %23, align 8
%1015 = load double, ptr %28, align 8
%1016 = fmul double %1014, %1015
%1017 = call double @llvm.fmuladd.f64(double %1012, double %1013, double %1016)
%1018 = load ptr, ptr %4, align 8
%1019 = load i32, ptr %11, align 4
%1020 = sub nsw i32 %1019, 2
%1021 = sext i32 %1020 to i64
%1022 = getelementptr inbounds double, ptr %1018, i64 %1021
store double %1017, ptr %1022, align 8
%1023 = load double, ptr %24, align 8
%1024 = load double, ptr %28, align 8
%1025 = load double, ptr %23, align 8
%1026 = load double, ptr %27, align 8
%1027 = fmul double %1025, %1026
%1028 = fneg double %1027
%1029 = call double @llvm.fmuladd.f64(double %1023, double %1024, double %1028)
%1030 = load ptr, ptr %4, align 8
%1031 = load i32, ptr %11, align 4
%1032 = sub nsw i32 %1031, 1
%1033 = sext i32 %1032 to i64
%1034 = getelementptr inbounds double, ptr %1030, i64 %1033
store double %1029, ptr %1034, align 8
%1035 = load double, ptr %25, align 8
%1036 = load double, ptr %22, align 8
%1037 = load double, ptr %17, align 8
%1038 = fneg double %1035
%1039 = call double @llvm.fmuladd.f64(double %1038, double %1036, double %1037)
store double %1039, ptr %17, align 8
%1040 = load double, ptr %25, align 8
%1041 = load double, ptr %21, align 8
%1042 = load double, ptr %18, align 8
%1043 = call double @llvm.fmuladd.f64(double %1040, double %1041, double %1042)
store double %1043, ptr %18, align 8
%1044 = load double, ptr %26, align 8
%1045 = load double, ptr %24, align 8
%1046 = load double, ptr %19, align 8
%1047 = fneg double %1044
%1048 = call double @llvm.fmuladd.f64(double %1047, double %1045, double %1046)
store double %1048, ptr %19, align 8
%1049 = load double, ptr %26, align 8
%1050 = load double, ptr %23, align 8
%1051 = load double, ptr %20, align 8
%1052 = call double @llvm.fmuladd.f64(double %1049, double %1050, double %1051)
store double %1052, ptr %20, align 8
br label %1053
1053: ; preds = %235
%1054 = load i32, ptr %7, align 4
%1055 = add nsw i32 %1054, 4
store i32 %1055, ptr %7, align 4
br label %231, !llvm.loop !6
1056: ; preds = %231
%1057 = load i32, ptr %6, align 4
%1058 = load i32, ptr %13, align 4
%1059 = sub nsw i32 %1058, 4
%1060 = icmp eq i32 %1057, %1059
br i1 %1060, label %1061, label %1062
1061: ; preds = %1056
br label %1115
1062: ; preds = %1056
%1063 = load double, ptr %14, align 8
%1064 = load i32, ptr %6, align 4
%1065 = sitofp i32 %1064 to double
%1066 = fmul double %1063, %1065
%1067 = call double @cos(double noundef %1066) #3
store double %1067, ptr %21, align 8
%1068 = load double, ptr %14, align 8
%1069 = load i32, ptr %6, align 4
%1070 = sitofp i32 %1069 to double
%1071 = fmul double %1068, %1070
%1072 = call double @sin(double noundef %1071) #3
store double %1072, ptr %22, align 8
%1073 = load double, ptr %22, align 8
%1074 = fmul double 4.000000e+00, %1073
%1075 = load double, ptr %21, align 8
%1076 = fmul double %1074, %1075
store double %1076, ptr %24, align 8
%1077 = load double, ptr %21, align 8
%1078 = load double, ptr %24, align 8
%1079 = load double, ptr %22, align 8
%1080 = fneg double %1078
%1081 = call double @llvm.fmuladd.f64(double %1080, double %1079, double %1077)
store double %1081, ptr %23, align 8
%1082 = load double, ptr %22, align 8
%1083 = load double, ptr %24, align 8
%1084 = load double, ptr %21, align 8
%1085 = fneg double %1083
%1086 = call double @llvm.fmuladd.f64(double %1085, double %1084, double %1082)
store double %1086, ptr %24, align 8
%1087 = load double, ptr %15, align 8
%1088 = load double, ptr %21, align 8
%1089 = load double, ptr %16, align 8
%1090 = load double, ptr %22, align 8
%1091 = fmul double %1089, %1090
%1092 = fneg double %1091
%1093 = call double @llvm.fmuladd.f64(double %1087, double %1088, double %1092)
store double %1093, ptr %17, align 8
%1094 = load double, ptr %15, align 8
%1095 = load double, ptr %22, align 8
%1096 = load double, ptr %16, align 8
%1097 = load double, ptr %21, align 8
%1098 = fmul double %1096, %1097
%1099 = call double @llvm.fmuladd.f64(double %1094, double %1095, double %1098)
store double %1099, ptr %18, align 8
%1100 = load double, ptr %18, align 8
%1101 = fmul double 4.000000e+00, %1100
%1102 = load double, ptr %17, align 8
%1103 = fmul double %1101, %1102
store double %1103, ptr %20, align 8
%1104 = load double, ptr %17, align 8
%1105 = load double, ptr %20, align 8
%1106 = load double, ptr %18, align 8
%1107 = fneg double %1105
%1108 = call double @llvm.fmuladd.f64(double %1107, double %1106, double %1104)
store double %1108, ptr %19, align 8
%1109 = load double, ptr %18, align 8
%1110 = load double, ptr %20, align 8
%1111 = load double, ptr %17, align 8
%1112 = fneg double %1110
%1113 = call double @llvm.fmuladd.f64(double %1112, double %1111, double %1109)
store double %1113, ptr %20, align 8
%1114 = load i32, ptr %6, align 4
store i32 %1114, ptr %5, align 4
br label %218
1115: ; preds = %1061
store double 0x3FE6A09E667F3BCD, ptr %21, align 8
%1116 = load i32, ptr %13, align 4
store i32 %1116, ptr %8, align 4
%1117 = load i32, ptr %8, align 4
%1118 = load i32, ptr %12, align 4
%1119 = add nsw i32 %1117, %1118
store i32 %1119, ptr %9, align 4
%1120 = load i32, ptr %9, align 4
%1121 = load i32, ptr %12, align 4
%1122 = add nsw i32 %1120, %1121
store i32 %1122, ptr %10, align 4
%1123 = load i32, ptr %10, align 4
%1124 = load i32, ptr %12, align 4
%1125 = add nsw i32 %1123, %1124
store i32 %1125, ptr %11, align 4
%1126 = load ptr, ptr %4, align 8
%1127 = load i32, ptr %8, align 4
%1128 = sub nsw i32 %1127, 2
%1129 = sext i32 %1128 to i64
%1130 = getelementptr inbounds double, ptr %1126, i64 %1129
%1131 = load double, ptr %1130, align 8
%1132 = load ptr, ptr %4, align 8
%1133 = load i32, ptr %10, align 4
%1134 = sub nsw i32 %1133, 2
%1135 = sext i32 %1134 to i64
%1136 = getelementptr inbounds double, ptr %1132, i64 %1135
%1137 = load double, ptr %1136, align 8
%1138 = fadd double %1131, %1137
store double %1138, ptr %27, align 8
%1139 = load ptr, ptr %4, align 8
%1140 = load i32, ptr %8, align 4
%1141 = sub nsw i32 %1140, 1
%1142 = sext i32 %1141 to i64
%1143 = getelementptr inbounds double, ptr %1139, i64 %1142
%1144 = load double, ptr %1143, align 8
%1145 = fneg double %1144
%1146 = load ptr, ptr %4, align 8
%1147 = load i32, ptr %10, align 4
%1148 = sub nsw i32 %1147, 1
%1149 = sext i32 %1148 to i64
%1150 = getelementptr inbounds double, ptr %1146, i64 %1149
%1151 = load double, ptr %1150, align 8
%1152 = fsub double %1145, %1151
store double %1152, ptr %28, align 8
%1153 = load ptr, ptr %4, align 8
%1154 = load i32, ptr %8, align 4
%1155 = sub nsw i32 %1154, 2
%1156 = sext i32 %1155 to i64
%1157 = getelementptr inbounds double, ptr %1153, i64 %1156
%1158 = load double, ptr %1157, align 8
%1159 = load ptr, ptr %4, align 8
%1160 = load i32, ptr %10, align 4
%1161 = sub nsw i32 %1160, 2
%1162 = sext i32 %1161 to i64
%1163 = getelementptr inbounds double, ptr %1159, i64 %1162
%1164 = load double, ptr %1163, align 8
%1165 = fsub double %1158, %1164
store double %1165, ptr %29, align 8
%1166 = load ptr, ptr %4, align 8
%1167 = load i32, ptr %8, align 4
%1168 = sub nsw i32 %1167, 1
%1169 = sext i32 %1168 to i64
%1170 = getelementptr inbounds double, ptr %1166, i64 %1169
%1171 = load double, ptr %1170, align 8
%1172 = fneg double %1171
%1173 = load ptr, ptr %4, align 8
%1174 = load i32, ptr %10, align 4
%1175 = sub nsw i32 %1174, 1
%1176 = sext i32 %1175 to i64
%1177 = getelementptr inbounds double, ptr %1173, i64 %1176
%1178 = load double, ptr %1177, align 8
%1179 = fadd double %1172, %1178
store double %1179, ptr %30, align 8
%1180 = load ptr, ptr %4, align 8
%1181 = load i32, ptr %9, align 4
%1182 = sub nsw i32 %1181, 2
%1183 = sext i32 %1182 to i64
%1184 = getelementptr inbounds double, ptr %1180, i64 %1183
%1185 = load double, ptr %1184, align 8
%1186 = load ptr, ptr %4, align 8
%1187 = load i32, ptr %11, align 4
%1188 = sub nsw i32 %1187, 2
%1189 = sext i32 %1188 to i64
%1190 = getelementptr inbounds double, ptr %1186, i64 %1189
%1191 = load double, ptr %1190, align 8
%1192 = fadd double %1185, %1191
store double %1192, ptr %31, align 8
%1193 = load ptr, ptr %4, align 8
%1194 = load i32, ptr %9, align 4
%1195 = sub nsw i32 %1194, 1
%1196 = sext i32 %1195 to i64
%1197 = getelementptr inbounds double, ptr %1193, i64 %1196
%1198 = load double, ptr %1197, align 8
%1199 = load ptr, ptr %4, align 8
%1200 = load i32, ptr %11, align 4
%1201 = sub nsw i32 %1200, 1
%1202 = sext i32 %1201 to i64
%1203 = getelementptr inbounds double, ptr %1199, i64 %1202
%1204 = load double, ptr %1203, align 8
%1205 = fadd double %1198, %1204
store double %1205, ptr %32, align 8
%1206 = load ptr, ptr %4, align 8
%1207 = load i32, ptr %9, align 4
%1208 = sub nsw i32 %1207, 2
%1209 = sext i32 %1208 to i64
%1210 = getelementptr inbounds double, ptr %1206, i64 %1209
%1211 = load double, ptr %1210, align 8
%1212 = load ptr, ptr %4, align 8
%1213 = load i32, ptr %11, align 4
%1214 = sub nsw i32 %1213, 2
%1215 = sext i32 %1214 to i64
%1216 = getelementptr inbounds double, ptr %1212, i64 %1215
%1217 = load double, ptr %1216, align 8
%1218 = fsub double %1211, %1217
store double %1218, ptr %33, align 8
%1219 = load ptr, ptr %4, align 8
%1220 = load i32, ptr %9, align 4
%1221 = sub nsw i32 %1220, 1
%1222 = sext i32 %1221 to i64
%1223 = getelementptr inbounds double, ptr %1219, i64 %1222
%1224 = load double, ptr %1223, align 8
%1225 = load ptr, ptr %4, align 8
%1226 = load i32, ptr %11, align 4
%1227 = sub nsw i32 %1226, 1
%1228 = sext i32 %1227 to i64
%1229 = getelementptr inbounds double, ptr %1225, i64 %1228
%1230 = load double, ptr %1229, align 8
%1231 = fsub double %1224, %1230
store double %1231, ptr %34, align 8
%1232 = load double, ptr %27, align 8
%1233 = load double, ptr %31, align 8
%1234 = fadd double %1232, %1233
%1235 = load ptr, ptr %4, align 8
%1236 = load i32, ptr %8, align 4
%1237 = sub nsw i32 %1236, 2
%1238 = sext i32 %1237 to i64
%1239 = getelementptr inbounds double, ptr %1235, i64 %1238
store double %1234, ptr %1239, align 8
%1240 = load double, ptr %28, align 8
%1241 = load double, ptr %32, align 8
%1242 = fsub double %1240, %1241
%1243 = load ptr, ptr %4, align 8
%1244 = load i32, ptr %8, align 4
%1245 = sub nsw i32 %1244, 1
%1246 = sext i32 %1245 to i64
%1247 = getelementptr inbounds double, ptr %1243, i64 %1246
store double %1242, ptr %1247, align 8
%1248 = load double, ptr %27, align 8
%1249 = load double, ptr %31, align 8
%1250 = fsub double %1248, %1249
%1251 = load ptr, ptr %4, align 8
%1252 = load i32, ptr %9, align 4
%1253 = sub nsw i32 %1252, 2
%1254 = sext i32 %1253 to i64
%1255 = getelementptr inbounds double, ptr %1251, i64 %1254
store double %1250, ptr %1255, align 8
%1256 = load double, ptr %28, align 8
%1257 = load double, ptr %32, align 8
%1258 = fadd double %1256, %1257
%1259 = load ptr, ptr %4, align 8
%1260 = load i32, ptr %9, align 4
%1261 = sub nsw i32 %1260, 1
%1262 = sext i32 %1261 to i64
%1263 = getelementptr inbounds double, ptr %1259, i64 %1262
store double %1258, ptr %1263, align 8
%1264 = load double, ptr %29, align 8
%1265 = load double, ptr %34, align 8
%1266 = fadd double %1264, %1265
store double %1266, ptr %27, align 8
%1267 = load double, ptr %30, align 8
%1268 = load double, ptr %33, align 8
%1269 = fadd double %1267, %1268
store double %1269, ptr %28, align 8
%1270 = load double, ptr %17, align 8
%1271 = load double, ptr %27, align 8
%1272 = load double, ptr %18, align 8
%1273 = load double, ptr %28, align 8
%1274 = fmul double %1272, %1273
%1275 = fneg double %1274
%1276 = call double @llvm.fmuladd.f64(double %1270, double %1271, double %1275)
%1277 = load ptr, ptr %4, align 8
%1278 = load i32, ptr %10, align 4
%1279 = sub nsw i32 %1278, 2
%1280 = sext i32 %1279 to i64
%1281 = getelementptr inbounds double, ptr %1277, i64 %1280
store double %1276, ptr %1281, align 8
%1282 = load double, ptr %17, align 8
%1283 = load double, ptr %28, align 8
%1284 = load double, ptr %18, align 8
%1285 = load double, ptr %27, align 8
%1286 = fmul double %1284, %1285
%1287 = call double @llvm.fmuladd.f64(double %1282, double %1283, double %1286)
%1288 = load ptr, ptr %4, align 8
%1289 = load i32, ptr %10, align 4
%1290 = sub nsw i32 %1289, 1
%1291 = sext i32 %1290 to i64
%1292 = getelementptr inbounds double, ptr %1288, i64 %1291
store double %1287, ptr %1292, align 8
%1293 = load double, ptr %29, align 8
%1294 = load double, ptr %34, align 8
%1295 = fsub double %1293, %1294
store double %1295, ptr %27, align 8
%1296 = load double, ptr %30, align 8
%1297 = load double, ptr %33, align 8
%1298 = fsub double %1296, %1297
store double %1298, ptr %28, align 8
%1299 = load double, ptr %19, align 8
%1300 = load double, ptr %27, align 8
%1301 = load double, ptr %20, align 8
%1302 = load double, ptr %28, align 8
%1303 = fmul double %1301, %1302
%1304 = call double @llvm.fmuladd.f64(double %1299, double %1300, double %1303)
%1305 = load ptr, ptr %4, align 8
%1306 = load i32, ptr %11, align 4
%1307 = sub nsw i32 %1306, 2
%1308 = sext i32 %1307 to i64
%1309 = getelementptr inbounds double, ptr %1305, i64 %1308
store double %1304, ptr %1309, align 8
%1310 = load double, ptr %19, align 8
%1311 = load double, ptr %28, align 8
%1312 = load double, ptr %20, align 8
%1313 = load double, ptr %27, align 8
%1314 = fmul double %1312, %1313
%1315 = fneg double %1314
%1316 = call double @llvm.fmuladd.f64(double %1310, double %1311, double %1315)
%1317 = load ptr, ptr %4, align 8
%1318 = load i32, ptr %11, align 4
%1319 = sub nsw i32 %1318, 1
%1320 = sext i32 %1319 to i64
%1321 = getelementptr inbounds double, ptr %1317, i64 %1320
store double %1316, ptr %1321, align 8
%1322 = load ptr, ptr %4, align 8
%1323 = load i32, ptr %8, align 4
%1324 = sext i32 %1323 to i64
%1325 = getelementptr inbounds double, ptr %1322, i64 %1324
%1326 = load double, ptr %1325, align 8
%1327 = load ptr, ptr %4, align 8
%1328 = load i32, ptr %10, align 4
%1329 = sext i32 %1328 to i64
%1330 = getelementptr inbounds double, ptr %1327, i64 %1329
%1331 = load double, ptr %1330, align 8
%1332 = fadd double %1326, %1331
store double %1332, ptr %27, align 8
%1333 = load ptr, ptr %4, align 8
%1334 = load i32, ptr %8, align 4
%1335 = add nsw i32 %1334, 1
%1336 = sext i32 %1335 to i64
%1337 = getelementptr inbounds double, ptr %1333, i64 %1336
%1338 = load double, ptr %1337, align 8
%1339 = fneg double %1338
%1340 = load ptr, ptr %4, align 8
%1341 = load i32, ptr %10, align 4
%1342 = add nsw i32 %1341, 1
%1343 = sext i32 %1342 to i64
%1344 = getelementptr inbounds double, ptr %1340, i64 %1343
%1345 = load double, ptr %1344, align 8
%1346 = fsub double %1339, %1345
store double %1346, ptr %28, align 8
%1347 = load ptr, ptr %4, align 8
%1348 = load i32, ptr %8, align 4
%1349 = sext i32 %1348 to i64
%1350 = getelementptr inbounds double, ptr %1347, i64 %1349
%1351 = load double, ptr %1350, align 8
%1352 = load ptr, ptr %4, align 8
%1353 = load i32, ptr %10, align 4
%1354 = sext i32 %1353 to i64
%1355 = getelementptr inbounds double, ptr %1352, i64 %1354
%1356 = load double, ptr %1355, align 8
%1357 = fsub double %1351, %1356
store double %1357, ptr %29, align 8
%1358 = load ptr, ptr %4, align 8
%1359 = load i32, ptr %8, align 4
%1360 = add nsw i32 %1359, 1
%1361 = sext i32 %1360 to i64
%1362 = getelementptr inbounds double, ptr %1358, i64 %1361
%1363 = load double, ptr %1362, align 8
%1364 = fneg double %1363
%1365 = load ptr, ptr %4, align 8
%1366 = load i32, ptr %10, align 4
%1367 = add nsw i32 %1366, 1
%1368 = sext i32 %1367 to i64
%1369 = getelementptr inbounds double, ptr %1365, i64 %1368
%1370 = load double, ptr %1369, align 8
%1371 = fadd double %1364, %1370
store double %1371, ptr %30, align 8
%1372 = load ptr, ptr %4, align 8
%1373 = load i32, ptr %9, align 4
%1374 = sext i32 %1373 to i64
%1375 = getelementptr inbounds double, ptr %1372, i64 %1374
%1376 = load double, ptr %1375, align 8
%1377 = load ptr, ptr %4, align 8
%1378 = load i32, ptr %11, align 4
%1379 = sext i32 %1378 to i64
%1380 = getelementptr inbounds double, ptr %1377, i64 %1379
%1381 = load double, ptr %1380, align 8
%1382 = fadd double %1376, %1381
store double %1382, ptr %31, align 8
%1383 = load ptr, ptr %4, align 8
%1384 = load i32, ptr %9, align 4
%1385 = add nsw i32 %1384, 1
%1386 = sext i32 %1385 to i64
%1387 = getelementptr inbounds double, ptr %1383, i64 %1386
%1388 = load double, ptr %1387, align 8
%1389 = load ptr, ptr %4, align 8
%1390 = load i32, ptr %11, align 4
%1391 = add nsw i32 %1390, 1
%1392 = sext i32 %1391 to i64
%1393 = getelementptr inbounds double, ptr %1389, i64 %1392
%1394 = load double, ptr %1393, align 8
%1395 = fadd double %1388, %1394
store double %1395, ptr %32, align 8
%1396 = load ptr, ptr %4, align 8
%1397 = load i32, ptr %9, align 4
%1398 = sext i32 %1397 to i64
%1399 = getelementptr inbounds double, ptr %1396, i64 %1398
%1400 = load double, ptr %1399, align 8
%1401 = load ptr, ptr %4, align 8
%1402 = load i32, ptr %11, align 4
%1403 = sext i32 %1402 to i64
%1404 = getelementptr inbounds double, ptr %1401, i64 %1403
%1405 = load double, ptr %1404, align 8
%1406 = fsub double %1400, %1405
store double %1406, ptr %33, align 8
%1407 = load ptr, ptr %4, align 8
%1408 = load i32, ptr %9, align 4
%1409 = add nsw i32 %1408, 1
%1410 = sext i32 %1409 to i64
%1411 = getelementptr inbounds double, ptr %1407, i64 %1410
%1412 = load double, ptr %1411, align 8
%1413 = load ptr, ptr %4, align 8
%1414 = load i32, ptr %11, align 4
%1415 = add nsw i32 %1414, 1
%1416 = sext i32 %1415 to i64
%1417 = getelementptr inbounds double, ptr %1413, i64 %1416
%1418 = load double, ptr %1417, align 8
%1419 = fsub double %1412, %1418
store double %1419, ptr %34, align 8
%1420 = load double, ptr %27, align 8
%1421 = load double, ptr %31, align 8
%1422 = fadd double %1420, %1421
%1423 = load ptr, ptr %4, align 8
%1424 = load i32, ptr %8, align 4
%1425 = sext i32 %1424 to i64
%1426 = getelementptr inbounds double, ptr %1423, i64 %1425
store double %1422, ptr %1426, align 8
%1427 = load double, ptr %28, align 8
%1428 = load double, ptr %32, align 8
%1429 = fsub double %1427, %1428
%1430 = load ptr, ptr %4, align 8
%1431 = load i32, ptr %8, align 4
%1432 = add nsw i32 %1431, 1
%1433 = sext i32 %1432 to i64
%1434 = getelementptr inbounds double, ptr %1430, i64 %1433
store double %1429, ptr %1434, align 8
%1435 = load double, ptr %27, align 8
%1436 = load double, ptr %31, align 8
%1437 = fsub double %1435, %1436
%1438 = load ptr, ptr %4, align 8
%1439 = load i32, ptr %9, align 4
%1440 = sext i32 %1439 to i64
%1441 = getelementptr inbounds double, ptr %1438, i64 %1440
store double %1437, ptr %1441, align 8
%1442 = load double, ptr %28, align 8
%1443 = load double, ptr %32, align 8
%1444 = fadd double %1442, %1443
%1445 = load ptr, ptr %4, align 8
%1446 = load i32, ptr %9, align 4
%1447 = add nsw i32 %1446, 1
%1448 = sext i32 %1447 to i64
%1449 = getelementptr inbounds double, ptr %1445, i64 %1448
store double %1444, ptr %1449, align 8
%1450 = load double, ptr %29, align 8
%1451 = load double, ptr %34, align 8
%1452 = fadd double %1450, %1451
store double %1452, ptr %27, align 8
%1453 = load double, ptr %30, align 8
%1454 = load double, ptr %33, align 8
%1455 = fadd double %1453, %1454
store double %1455, ptr %28, align 8
%1456 = load double, ptr %21, align 8
%1457 = load double, ptr %27, align 8
%1458 = load double, ptr %28, align 8
%1459 = fsub double %1457, %1458
%1460 = fmul double %1456, %1459
%1461 = load ptr, ptr %4, align 8
%1462 = load i32, ptr %10, align 4
%1463 = sext i32 %1462 to i64
%1464 = getelementptr inbounds double, ptr %1461, i64 %1463
store double %1460, ptr %1464, align 8
%1465 = load double, ptr %21, align 8
%1466 = load double, ptr %28, align 8
%1467 = load double, ptr %27, align 8
%1468 = fadd double %1466, %1467
%1469 = fmul double %1465, %1468
%1470 = load ptr, ptr %4, align 8
%1471 = load i32, ptr %10, align 4
%1472 = add nsw i32 %1471, 1
%1473 = sext i32 %1472 to i64
%1474 = getelementptr inbounds double, ptr %1470, i64 %1473
store double %1469, ptr %1474, align 8
%1475 = load double, ptr %29, align 8
%1476 = load double, ptr %34, align 8
%1477 = fsub double %1475, %1476
store double %1477, ptr %27, align 8
%1478 = load double, ptr %30, align 8
%1479 = load double, ptr %33, align 8
%1480 = fsub double %1478, %1479
store double %1480, ptr %28, align 8
%1481 = load double, ptr %21, align 8
%1482 = fneg double %1481
%1483 = load double, ptr %27, align 8
%1484 = load double, ptr %28, align 8
%1485 = fadd double %1483, %1484
%1486 = fmul double %1482, %1485
%1487 = load ptr, ptr %4, align 8
%1488 = load i32, ptr %11, align 4
%1489 = sext i32 %1488 to i64
%1490 = getelementptr inbounds double, ptr %1487, i64 %1489
store double %1486, ptr %1490, align 8
%1491 = load double, ptr %21, align 8
%1492 = fneg double %1491
%1493 = load double, ptr %28, align 8
%1494 = load double, ptr %27, align 8
%1495 = fsub double %1493, %1494
%1496 = fmul double %1492, %1495
%1497 = load ptr, ptr %4, align 8
%1498 = load i32, ptr %11, align 4
%1499 = add nsw i32 %1498, 1
%1500 = sext i32 %1499 to i64
%1501 = getelementptr inbounds double, ptr %1497, i64 %1500
store double %1496, ptr %1501, align 8
%1502 = load ptr, ptr %4, align 8
%1503 = load i32, ptr %8, align 4
%1504 = add nsw i32 %1503, 2
%1505 = sext i32 %1504 to i64
%1506 = getelementptr inbounds double, ptr %1502, i64 %1505
%1507 = load double, ptr %1506, align 8
%1508 = load ptr, ptr %4, align 8
%1509 = load i32, ptr %10, align 4
%1510 = add nsw i32 %1509, 2
%1511 = sext i32 %1510 to i64
%1512 = getelementptr inbounds double, ptr %1508, i64 %1511
%1513 = load double, ptr %1512, align 8
%1514 = fadd double %1507, %1513
store double %1514, ptr %27, align 8
%1515 = load ptr, ptr %4, align 8
%1516 = load i32, ptr %8, align 4
%1517 = add nsw i32 %1516, 3
%1518 = sext i32 %1517 to i64
%1519 = getelementptr inbounds double, ptr %1515, i64 %1518
%1520 = load double, ptr %1519, align 8
%1521 = fneg double %1520
%1522 = load ptr, ptr %4, align 8
%1523 = load i32, ptr %10, align 4
%1524 = add nsw i32 %1523, 3
%1525 = sext i32 %1524 to i64
%1526 = getelementptr inbounds double, ptr %1522, i64 %1525
%1527 = load double, ptr %1526, align 8
%1528 = fsub double %1521, %1527
store double %1528, ptr %28, align 8
%1529 = load ptr, ptr %4, align 8
%1530 = load i32, ptr %8, align 4
%1531 = add nsw i32 %1530, 2
%1532 = sext i32 %1531 to i64
%1533 = getelementptr inbounds double, ptr %1529, i64 %1532
%1534 = load double, ptr %1533, align 8
%1535 = load ptr, ptr %4, align 8
%1536 = load i32, ptr %10, align 4
%1537 = add nsw i32 %1536, 2
%1538 = sext i32 %1537 to i64
%1539 = getelementptr inbounds double, ptr %1535, i64 %1538
%1540 = load double, ptr %1539, align 8
%1541 = fsub double %1534, %1540
store double %1541, ptr %29, align 8
%1542 = load ptr, ptr %4, align 8
%1543 = load i32, ptr %8, align 4
%1544 = add nsw i32 %1543, 3
%1545 = sext i32 %1544 to i64
%1546 = getelementptr inbounds double, ptr %1542, i64 %1545
%1547 = load double, ptr %1546, align 8
%1548 = fneg double %1547
%1549 = load ptr, ptr %4, align 8
%1550 = load i32, ptr %10, align 4
%1551 = add nsw i32 %1550, 3
%1552 = sext i32 %1551 to i64
%1553 = getelementptr inbounds double, ptr %1549, i64 %1552
%1554 = load double, ptr %1553, align 8
%1555 = fadd double %1548, %1554
store double %1555, ptr %30, align 8
%1556 = load ptr, ptr %4, align 8
%1557 = load i32, ptr %9, align 4
%1558 = add nsw i32 %1557, 2
%1559 = sext i32 %1558 to i64
%1560 = getelementptr inbounds double, ptr %1556, i64 %1559
%1561 = load double, ptr %1560, align 8
%1562 = load ptr, ptr %4, align 8
%1563 = load i32, ptr %11, align 4
%1564 = add nsw i32 %1563, 2
%1565 = sext i32 %1564 to i64
%1566 = getelementptr inbounds double, ptr %1562, i64 %1565
%1567 = load double, ptr %1566, align 8
%1568 = fadd double %1561, %1567
store double %1568, ptr %31, align 8
%1569 = load ptr, ptr %4, align 8
%1570 = load i32, ptr %9, align 4
%1571 = add nsw i32 %1570, 3
%1572 = sext i32 %1571 to i64
%1573 = getelementptr inbounds double, ptr %1569, i64 %1572
%1574 = load double, ptr %1573, align 8
%1575 = load ptr, ptr %4, align 8
%1576 = load i32, ptr %11, align 4
%1577 = add nsw i32 %1576, 3
%1578 = sext i32 %1577 to i64
%1579 = getelementptr inbounds double, ptr %1575, i64 %1578
%1580 = load double, ptr %1579, align 8
%1581 = fadd double %1574, %1580
store double %1581, ptr %32, align 8
%1582 = load ptr, ptr %4, align 8
%1583 = load i32, ptr %9, align 4
%1584 = add nsw i32 %1583, 2
%1585 = sext i32 %1584 to i64
%1586 = getelementptr inbounds double, ptr %1582, i64 %1585
%1587 = load double, ptr %1586, align 8
%1588 = load ptr, ptr %4, align 8
%1589 = load i32, ptr %11, align 4
%1590 = add nsw i32 %1589, 2
%1591 = sext i32 %1590 to i64
%1592 = getelementptr inbounds double, ptr %1588, i64 %1591
%1593 = load double, ptr %1592, align 8
%1594 = fsub double %1587, %1593
store double %1594, ptr %33, align 8
%1595 = load ptr, ptr %4, align 8
%1596 = load i32, ptr %9, align 4
%1597 = add nsw i32 %1596, 3
%1598 = sext i32 %1597 to i64
%1599 = getelementptr inbounds double, ptr %1595, i64 %1598
%1600 = load double, ptr %1599, align 8
%1601 = load ptr, ptr %4, align 8
%1602 = load i32, ptr %11, align 4
%1603 = add nsw i32 %1602, 3
%1604 = sext i32 %1603 to i64
%1605 = getelementptr inbounds double, ptr %1601, i64 %1604
%1606 = load double, ptr %1605, align 8
%1607 = fsub double %1600, %1606
store double %1607, ptr %34, align 8
%1608 = load double, ptr %27, align 8
%1609 = load double, ptr %31, align 8
%1610 = fadd double %1608, %1609
%1611 = load ptr, ptr %4, align 8
%1612 = load i32, ptr %8, align 4
%1613 = add nsw i32 %1612, 2
%1614 = sext i32 %1613 to i64
%1615 = getelementptr inbounds double, ptr %1611, i64 %1614
store double %1610, ptr %1615, align 8
%1616 = load double, ptr %28, align 8
%1617 = load double, ptr %32, align 8
%1618 = fsub double %1616, %1617
%1619 = load ptr, ptr %4, align 8
%1620 = load i32, ptr %8, align 4
%1621 = add nsw i32 %1620, 3
%1622 = sext i32 %1621 to i64
%1623 = getelementptr inbounds double, ptr %1619, i64 %1622
store double %1618, ptr %1623, align 8
%1624 = load double, ptr %27, align 8
%1625 = load double, ptr %31, align 8
%1626 = fsub double %1624, %1625
%1627 = load ptr, ptr %4, align 8
%1628 = load i32, ptr %9, align 4
%1629 = add nsw i32 %1628, 2
%1630 = sext i32 %1629 to i64
%1631 = getelementptr inbounds double, ptr %1627, i64 %1630
store double %1626, ptr %1631, align 8
%1632 = load double, ptr %28, align 8
%1633 = load double, ptr %32, align 8
%1634 = fadd double %1632, %1633
%1635 = load ptr, ptr %4, align 8
%1636 = load i32, ptr %9, align 4
%1637 = add nsw i32 %1636, 3
%1638 = sext i32 %1637 to i64
%1639 = getelementptr inbounds double, ptr %1635, i64 %1638
store double %1634, ptr %1639, align 8
%1640 = load double, ptr %29, align 8
%1641 = load double, ptr %34, align 8
%1642 = fadd double %1640, %1641
store double %1642, ptr %27, align 8
%1643 = load double, ptr %30, align 8
%1644 = load double, ptr %33, align 8
%1645 = fadd double %1643, %1644
store double %1645, ptr %28, align 8
%1646 = load double, ptr %18, align 8
%1647 = load double, ptr %27, align 8
%1648 = load double, ptr %17, align 8
%1649 = load double, ptr %28, align 8
%1650 = fmul double %1648, %1649
%1651 = fneg double %1650
%1652 = call double @llvm.fmuladd.f64(double %1646, double %1647, double %1651)
%1653 = load ptr, ptr %4, align 8
%1654 = load i32, ptr %10, align 4
%1655 = add nsw i32 %1654, 2
%1656 = sext i32 %1655 to i64
%1657 = getelementptr inbounds double, ptr %1653, i64 %1656
store double %1652, ptr %1657, align 8
%1658 = load double, ptr %18, align 8
%1659 = load double, ptr %28, align 8
%1660 = load double, ptr %17, align 8
%1661 = load double, ptr %27, align 8
%1662 = fmul double %1660, %1661
%1663 = call double @llvm.fmuladd.f64(double %1658, double %1659, double %1662)
%1664 = load ptr, ptr %4, align 8
%1665 = load i32, ptr %10, align 4
%1666 = add nsw i32 %1665, 3
%1667 = sext i32 %1666 to i64
%1668 = getelementptr inbounds double, ptr %1664, i64 %1667
store double %1663, ptr %1668, align 8
%1669 = load double, ptr %29, align 8
%1670 = load double, ptr %34, align 8
%1671 = fsub double %1669, %1670
store double %1671, ptr %27, align 8
%1672 = load double, ptr %30, align 8
%1673 = load double, ptr %33, align 8
%1674 = fsub double %1672, %1673
store double %1674, ptr %28, align 8
%1675 = load double, ptr %20, align 8
%1676 = load double, ptr %27, align 8
%1677 = load double, ptr %19, align 8
%1678 = load double, ptr %28, align 8
%1679 = fmul double %1677, %1678
%1680 = call double @llvm.fmuladd.f64(double %1675, double %1676, double %1679)
%1681 = load ptr, ptr %4, align 8
%1682 = load i32, ptr %11, align 4
%1683 = add nsw i32 %1682, 2
%1684 = sext i32 %1683 to i64
%1685 = getelementptr inbounds double, ptr %1681, i64 %1684
store double %1680, ptr %1685, align 8
%1686 = load double, ptr %20, align 8
%1687 = load double, ptr %28, align 8
%1688 = load double, ptr %19, align 8
%1689 = load double, ptr %27, align 8
%1690 = fmul double %1688, %1689
%1691 = fneg double %1690
%1692 = call double @llvm.fmuladd.f64(double %1686, double %1687, double %1691)
%1693 = load ptr, ptr %4, align 8
%1694 = load i32, ptr %11, align 4
%1695 = add nsw i32 %1694, 3
%1696 = sext i32 %1695 to i64
%1697 = getelementptr inbounds double, ptr %1693, i64 %1696
store double %1692, ptr %1697, align 8
ret void
}
; Function Attrs: nounwind
declare double @cos(double noundef) #1
; Function Attrs: nounwind
declare double @sin(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #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 = { 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 #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0jxqnc1m.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 @cftb1st(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%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
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
%27 = alloca double, align 8
%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
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%35 = load i32, ptr %3, align 4
%36 = ashr i32 %35, 3
store i32 %36, ptr %13, align 4
%37 = load i32, ptr %13, align 4
%38 = mul nsw i32 2, %37
store i32 %38, ptr %12, align 4
%39 = load i32, ptr %12, align 4
store i32 %39, ptr %9, align 4
%40 = load i32, ptr %9, align 4
%41 = load i32, ptr %12, align 4
%42 = add nsw i32 %40, %41
store i32 %42, ptr %10, align 4
%43 = load i32, ptr %10, align 4
%44 = load i32, ptr %12, align 4
%45 = add nsw i32 %43, %44
store i32 %45, ptr %11, align 4
%46 = load ptr, ptr %4, align 8
%47 = getelementptr inbounds double, ptr %46, i64 0
%48 = load double, ptr %47, align 8
%49 = load ptr, ptr %4, align 8
%50 = load i32, ptr %10, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds double, ptr %49, i64 %51
%53 = load double, ptr %52, align 8
%54 = fadd double %48, %53
store double %54, ptr %27, align 8
%55 = load ptr, ptr %4, align 8
%56 = getelementptr inbounds double, ptr %55, i64 1
%57 = load double, ptr %56, align 8
%58 = fneg double %57
%59 = load ptr, ptr %4, align 8
%60 = load i32, ptr %10, align 4
%61 = add nsw i32 %60, 1
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds double, ptr %59, i64 %62
%64 = load double, ptr %63, align 8
%65 = fsub double %58, %64
store double %65, ptr %28, align 8
%66 = load ptr, ptr %4, align 8
%67 = getelementptr inbounds double, ptr %66, i64 0
%68 = load double, ptr %67, align 8
%69 = load ptr, ptr %4, align 8
%70 = load i32, ptr %10, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds double, ptr %69, i64 %71
%73 = load double, ptr %72, align 8
%74 = fsub double %68, %73
store double %74, ptr %29, align 8
%75 = load ptr, ptr %4, align 8
%76 = getelementptr inbounds double, ptr %75, i64 1
%77 = load double, ptr %76, align 8
%78 = fneg double %77
%79 = load ptr, ptr %4, align 8
%80 = load i32, ptr %10, align 4
%81 = add nsw i32 %80, 1
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds double, ptr %79, i64 %82
%84 = load double, ptr %83, align 8
%85 = fadd double %78, %84
store double %85, ptr %30, align 8
%86 = load ptr, ptr %4, align 8
%87 = load i32, ptr %9, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds double, ptr %86, i64 %88
%90 = load double, ptr %89, align 8
%91 = load ptr, ptr %4, align 8
%92 = load i32, ptr %11, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds double, ptr %91, i64 %93
%95 = load double, ptr %94, align 8
%96 = fadd double %90, %95
store double %96, ptr %31, align 8
%97 = load ptr, ptr %4, align 8
%98 = load i32, ptr %9, align 4
%99 = add nsw i32 %98, 1
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds double, ptr %97, i64 %100
%102 = load double, ptr %101, align 8
%103 = load ptr, ptr %4, align 8
%104 = load i32, ptr %11, align 4
%105 = add nsw i32 %104, 1
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds double, ptr %103, i64 %106
%108 = load double, ptr %107, align 8
%109 = fadd double %102, %108
store double %109, ptr %32, align 8
%110 = load ptr, ptr %4, align 8
%111 = load i32, ptr %9, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds double, ptr %110, i64 %112
%114 = load double, ptr %113, align 8
%115 = load ptr, ptr %4, align 8
%116 = load i32, ptr %11, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds double, ptr %115, i64 %117
%119 = load double, ptr %118, align 8
%120 = fsub double %114, %119
store double %120, ptr %33, align 8
%121 = load ptr, ptr %4, align 8
%122 = load i32, ptr %9, align 4
%123 = add nsw i32 %122, 1
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds double, ptr %121, i64 %124
%126 = load double, ptr %125, align 8
%127 = load ptr, ptr %4, align 8
%128 = load i32, ptr %11, align 4
%129 = add nsw i32 %128, 1
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds double, ptr %127, i64 %130
%132 = load double, ptr %131, align 8
%133 = fsub double %126, %132
store double %133, ptr %34, align 8
%134 = load double, ptr %27, align 8
%135 = load double, ptr %31, align 8
%136 = fadd double %134, %135
%137 = load ptr, ptr %4, align 8
%138 = getelementptr inbounds double, ptr %137, i64 0
store double %136, ptr %138, align 8
%139 = load double, ptr %28, align 8
%140 = load double, ptr %32, align 8
%141 = fsub double %139, %140
%142 = load ptr, ptr %4, align 8
%143 = getelementptr inbounds double, ptr %142, i64 1
store double %141, ptr %143, align 8
%144 = load double, ptr %27, align 8
%145 = load double, ptr %31, align 8
%146 = fsub double %144, %145
%147 = load ptr, ptr %4, align 8
%148 = load i32, ptr %9, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds double, ptr %147, i64 %149
store double %146, ptr %150, align 8
%151 = load double, ptr %28, align 8
%152 = load double, ptr %32, align 8
%153 = fadd double %151, %152
%154 = load ptr, ptr %4, align 8
%155 = load i32, ptr %9, align 4
%156 = add nsw i32 %155, 1
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds double, ptr %154, i64 %157
store double %153, ptr %158, align 8
%159 = load double, ptr %29, align 8
%160 = load double, ptr %34, align 8
%161 = fadd double %159, %160
%162 = load ptr, ptr %4, align 8
%163 = load i32, ptr %10, align 4
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds double, ptr %162, i64 %164
store double %161, ptr %165, align 8
%166 = load double, ptr %30, align 8
%167 = load double, ptr %33, align 8
%168 = fadd double %166, %167
%169 = load ptr, ptr %4, align 8
%170 = load i32, ptr %10, align 4
%171 = add nsw i32 %170, 1
%172 = sext i32 %171 to i64
%173 = getelementptr inbounds double, ptr %169, i64 %172
store double %168, ptr %173, align 8
%174 = load double, ptr %29, align 8
%175 = load double, ptr %34, align 8
%176 = fsub double %174, %175
%177 = load ptr, ptr %4, align 8
%178 = load i32, ptr %11, align 4
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds double, ptr %177, i64 %179
store double %176, ptr %180, align 8
%181 = load double, ptr %30, align 8
%182 = load double, ptr %33, align 8
%183 = fsub double %181, %182
%184 = load ptr, ptr %4, align 8
%185 = load i32, ptr %11, align 4
%186 = add nsw i32 %185, 1
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds double, ptr %184, i64 %187
store double %183, ptr %188, align 8
store double 1.000000e+00, ptr %21, align 8
store double 0.000000e+00, ptr %22, align 8
store double 1.000000e+00, ptr %23, align 8
store double 0.000000e+00, ptr %24, align 8
%189 = load i32, ptr %12, align 4
%190 = sitofp i32 %189 to double
%191 = fdiv double 0x3FF921FB54442D18, %190
store double %191, ptr %14, align 8
%192 = load double, ptr %14, align 8
%193 = fmul double 2.000000e+00, %192
%194 = call double @cos(double noundef %193) #3
store double %194, ptr %15, align 8
%195 = load double, ptr %14, align 8
%196 = fmul double 2.000000e+00, %195
%197 = call double @sin(double noundef %196) #3
store double %197, ptr %16, align 8
%198 = load double, ptr %15, align 8
store double %198, ptr %17, align 8
%199 = load double, ptr %16, align 8
store double %199, ptr %18, align 8
%200 = load double, ptr %16, align 8
%201 = fmul double 2.000000e+00, %200
store double %201, ptr %25, align 8
%202 = load double, ptr %25, align 8
%203 = fmul double 2.000000e+00, %202
%204 = load double, ptr %17, align 8
%205 = fmul double %203, %204
store double %205, ptr %20, align 8
%206 = load double, ptr %17, align 8
%207 = load double, ptr %20, align 8
%208 = load double, ptr %18, align 8
%209 = fneg double %207
%210 = call double @llvm.fmuladd.f64(double %209, double %208, double %206)
store double %210, ptr %19, align 8
%211 = load double, ptr %18, align 8
%212 = load double, ptr %20, align 8
%213 = load double, ptr %17, align 8
%214 = fneg double %212
%215 = call double @llvm.fmuladd.f64(double %214, double %213, double %211)
store double %215, ptr %20, align 8
%216 = load double, ptr %20, align 8
%217 = fmul double 2.000000e+00, %216
store double %217, ptr %26, align 8
store i32 0, ptr %5, align 4
br label %218
218: ; preds = %1064, %2
%219 = load i32, ptr %5, align 4
%220 = add nsw i32 %219, 128
store i32 %220, ptr %6, align 4
%221 = load i32, ptr %6, align 4
%222 = load i32, ptr %13, align 4
%223 = sub nsw i32 %222, 4
%224 = icmp sgt i32 %221, %223
br i1 %224, label %225, label %228
225: ; preds = %218
%226 = load i32, ptr %13, align 4
%227 = sub nsw i32 %226, 4
store i32 %227, ptr %6, align 4
br label %228
228: ; preds = %225, %218
%229 = load i32, ptr %5, align 4
%230 = add nsw i32 %229, 2
store i32 %230, ptr %7, align 4
%231 = load i32, ptr %7, align 4
%232 = load i32, ptr %6, align 4
%233 = icmp slt i32 %231, %232
br i1 %233, label %.lr.ph, label %1058
.lr.ph: ; preds = %228
br label %234
234: ; preds = %.lr.ph, %1052
%235 = load double, ptr %25, align 8
%236 = load double, ptr %18, align 8
%237 = load double, ptr %21, align 8
%238 = fneg double %235
%239 = call double @llvm.fmuladd.f64(double %238, double %236, double %237)
store double %239, ptr %21, align 8
%240 = load double, ptr %25, align 8
%241 = load double, ptr %17, align 8
%242 = load double, ptr %22, align 8
%243 = call double @llvm.fmuladd.f64(double %240, double %241, double %242)
store double %243, ptr %22, align 8
%244 = load double, ptr %26, align 8
%245 = load double, ptr %20, align 8
%246 = load double, ptr %23, align 8
%247 = fneg double %244
%248 = call double @llvm.fmuladd.f64(double %247, double %245, double %246)
store double %248, ptr %23, align 8
%249 = load double, ptr %26, align 8
%250 = load double, ptr %19, align 8
%251 = load double, ptr %24, align 8
%252 = call double @llvm.fmuladd.f64(double %249, double %250, double %251)
store double %252, ptr %24, align 8
%253 = load i32, ptr %7, align 4
%254 = load i32, ptr %12, align 4
%255 = add nsw i32 %253, %254
store i32 %255, ptr %9, align 4
%256 = load i32, ptr %9, align 4
%257 = load i32, ptr %12, align 4
%258 = add nsw i32 %256, %257
store i32 %258, ptr %10, align 4
%259 = load i32, ptr %10, align 4
%260 = load i32, ptr %12, align 4
%261 = add nsw i32 %259, %260
store i32 %261, ptr %11, align 4
%262 = load ptr, ptr %4, align 8
%263 = load i32, ptr %7, align 4
%264 = sext i32 %263 to i64
%265 = getelementptr inbounds double, ptr %262, i64 %264
%266 = load double, ptr %265, align 8
%267 = load ptr, ptr %4, align 8
%268 = load i32, ptr %10, align 4
%269 = sext i32 %268 to i64
%270 = getelementptr inbounds double, ptr %267, i64 %269
%271 = load double, ptr %270, align 8
%272 = fadd double %266, %271
store double %272, ptr %27, align 8
%273 = load ptr, ptr %4, align 8
%274 = load i32, ptr %7, align 4
%275 = add nsw i32 %274, 1
%276 = sext i32 %275 to i64
%277 = getelementptr inbounds double, ptr %273, i64 %276
%278 = load double, ptr %277, align 8
%279 = fneg double %278
%280 = load ptr, ptr %4, align 8
%281 = load i32, ptr %10, align 4
%282 = add nsw i32 %281, 1
%283 = sext i32 %282 to i64
%284 = getelementptr inbounds double, ptr %280, i64 %283
%285 = load double, ptr %284, align 8
%286 = fsub double %279, %285
store double %286, ptr %28, align 8
%287 = load ptr, ptr %4, align 8
%288 = load i32, ptr %7, align 4
%289 = sext i32 %288 to i64
%290 = getelementptr inbounds double, ptr %287, i64 %289
%291 = load double, ptr %290, align 8
%292 = load ptr, ptr %4, align 8
%293 = load i32, ptr %10, align 4
%294 = sext i32 %293 to i64
%295 = getelementptr inbounds double, ptr %292, i64 %294
%296 = load double, ptr %295, align 8
%297 = fsub double %291, %296
store double %297, ptr %29, align 8
%298 = load ptr, ptr %4, align 8
%299 = load i32, ptr %7, align 4
%300 = add nsw i32 %299, 1
%301 = sext i32 %300 to i64
%302 = getelementptr inbounds double, ptr %298, i64 %301
%303 = load double, ptr %302, align 8
%304 = fneg double %303
%305 = load ptr, ptr %4, align 8
%306 = load i32, ptr %10, align 4
%307 = add nsw i32 %306, 1
%308 = sext i32 %307 to i64
%309 = getelementptr inbounds double, ptr %305, i64 %308
%310 = load double, ptr %309, align 8
%311 = fadd double %304, %310
store double %311, ptr %30, align 8
%312 = load ptr, ptr %4, align 8
%313 = load i32, ptr %9, align 4
%314 = sext i32 %313 to i64
%315 = getelementptr inbounds double, ptr %312, i64 %314
%316 = load double, ptr %315, align 8
%317 = load ptr, ptr %4, align 8
%318 = load i32, ptr %11, align 4
%319 = sext i32 %318 to i64
%320 = getelementptr inbounds double, ptr %317, i64 %319
%321 = load double, ptr %320, align 8
%322 = fadd double %316, %321
store double %322, ptr %31, align 8
%323 = load ptr, ptr %4, align 8
%324 = load i32, ptr %9, align 4
%325 = add nsw i32 %324, 1
%326 = sext i32 %325 to i64
%327 = getelementptr inbounds double, ptr %323, i64 %326
%328 = load double, ptr %327, align 8
%329 = load ptr, ptr %4, align 8
%330 = load i32, ptr %11, align 4
%331 = add nsw i32 %330, 1
%332 = sext i32 %331 to i64
%333 = getelementptr inbounds double, ptr %329, i64 %332
%334 = load double, ptr %333, align 8
%335 = fadd double %328, %334
store double %335, ptr %32, align 8
%336 = load ptr, ptr %4, align 8
%337 = load i32, ptr %9, align 4
%338 = sext i32 %337 to i64
%339 = getelementptr inbounds double, ptr %336, i64 %338
%340 = load double, ptr %339, align 8
%341 = load ptr, ptr %4, align 8
%342 = load i32, ptr %11, align 4
%343 = sext i32 %342 to i64
%344 = getelementptr inbounds double, ptr %341, i64 %343
%345 = load double, ptr %344, align 8
%346 = fsub double %340, %345
store double %346, ptr %33, align 8
%347 = load ptr, ptr %4, align 8
%348 = load i32, ptr %9, align 4
%349 = add nsw i32 %348, 1
%350 = sext i32 %349 to i64
%351 = getelementptr inbounds double, ptr %347, i64 %350
%352 = load double, ptr %351, align 8
%353 = load ptr, ptr %4, align 8
%354 = load i32, ptr %11, align 4
%355 = add nsw i32 %354, 1
%356 = sext i32 %355 to i64
%357 = getelementptr inbounds double, ptr %353, i64 %356
%358 = load double, ptr %357, align 8
%359 = fsub double %352, %358
store double %359, ptr %34, align 8
%360 = load double, ptr %27, align 8
%361 = load double, ptr %31, align 8
%362 = fadd double %360, %361
%363 = load ptr, ptr %4, align 8
%364 = load i32, ptr %7, align 4
%365 = sext i32 %364 to i64
%366 = getelementptr inbounds double, ptr %363, i64 %365
store double %362, ptr %366, align 8
%367 = load double, ptr %28, align 8
%368 = load double, ptr %32, align 8
%369 = fsub double %367, %368
%370 = load ptr, ptr %4, align 8
%371 = load i32, ptr %7, align 4
%372 = add nsw i32 %371, 1
%373 = sext i32 %372 to i64
%374 = getelementptr inbounds double, ptr %370, i64 %373
store double %369, ptr %374, align 8
%375 = load double, ptr %27, align 8
%376 = load double, ptr %31, align 8
%377 = fsub double %375, %376
%378 = load ptr, ptr %4, align 8
%379 = load i32, ptr %9, align 4
%380 = sext i32 %379 to i64
%381 = getelementptr inbounds double, ptr %378, i64 %380
store double %377, ptr %381, align 8
%382 = load double, ptr %28, align 8
%383 = load double, ptr %32, align 8
%384 = fadd double %382, %383
%385 = load ptr, ptr %4, align 8
%386 = load i32, ptr %9, align 4
%387 = add nsw i32 %386, 1
%388 = sext i32 %387 to i64
%389 = getelementptr inbounds double, ptr %385, i64 %388
store double %384, ptr %389, align 8
%390 = load double, ptr %29, align 8
%391 = load double, ptr %34, align 8
%392 = fadd double %390, %391
store double %392, ptr %27, align 8
%393 = load double, ptr %30, align 8
%394 = load double, ptr %33, align 8
%395 = fadd double %393, %394
store double %395, ptr %28, align 8
%396 = load double, ptr %17, align 8
%397 = load double, ptr %27, align 8
%398 = load double, ptr %18, align 8
%399 = load double, ptr %28, align 8
%400 = fmul double %398, %399
%401 = fneg double %400
%402 = call double @llvm.fmuladd.f64(double %396, double %397, double %401)
%403 = load ptr, ptr %4, align 8
%404 = load i32, ptr %10, align 4
%405 = sext i32 %404 to i64
%406 = getelementptr inbounds double, ptr %403, i64 %405
store double %402, ptr %406, align 8
%407 = load double, ptr %17, align 8
%408 = load double, ptr %28, align 8
%409 = load double, ptr %18, align 8
%410 = load double, ptr %27, align 8
%411 = fmul double %409, %410
%412 = call double @llvm.fmuladd.f64(double %407, double %408, double %411)
%413 = load ptr, ptr %4, align 8
%414 = load i32, ptr %10, align 4
%415 = add nsw i32 %414, 1
%416 = sext i32 %415 to i64
%417 = getelementptr inbounds double, ptr %413, i64 %416
store double %412, ptr %417, align 8
%418 = load double, ptr %29, align 8
%419 = load double, ptr %34, align 8
%420 = fsub double %418, %419
store double %420, ptr %27, align 8
%421 = load double, ptr %30, align 8
%422 = load double, ptr %33, align 8
%423 = fsub double %421, %422
store double %423, ptr %28, align 8
%424 = load double, ptr %19, align 8
%425 = load double, ptr %27, align 8
%426 = load double, ptr %20, align 8
%427 = load double, ptr %28, align 8
%428 = fmul double %426, %427
%429 = call double @llvm.fmuladd.f64(double %424, double %425, double %428)
%430 = load ptr, ptr %4, align 8
%431 = load i32, ptr %11, align 4
%432 = sext i32 %431 to i64
%433 = getelementptr inbounds double, ptr %430, i64 %432
store double %429, ptr %433, align 8
%434 = load double, ptr %19, align 8
%435 = load double, ptr %28, align 8
%436 = load double, ptr %20, align 8
%437 = load double, ptr %27, align 8
%438 = fmul double %436, %437
%439 = fneg double %438
%440 = call double @llvm.fmuladd.f64(double %434, double %435, double %439)
%441 = load ptr, ptr %4, align 8
%442 = load i32, ptr %11, align 4
%443 = add nsw i32 %442, 1
%444 = sext i32 %443 to i64
%445 = getelementptr inbounds double, ptr %441, i64 %444
store double %440, ptr %445, align 8
%446 = load ptr, ptr %4, align 8
%447 = load i32, ptr %7, align 4
%448 = add nsw i32 %447, 2
%449 = sext i32 %448 to i64
%450 = getelementptr inbounds double, ptr %446, i64 %449
%451 = load double, ptr %450, align 8
%452 = load ptr, ptr %4, align 8
%453 = load i32, ptr %10, align 4
%454 = add nsw i32 %453, 2
%455 = sext i32 %454 to i64
%456 = getelementptr inbounds double, ptr %452, i64 %455
%457 = load double, ptr %456, align 8
%458 = fadd double %451, %457
store double %458, ptr %27, align 8
%459 = load ptr, ptr %4, align 8
%460 = load i32, ptr %7, align 4
%461 = add nsw i32 %460, 3
%462 = sext i32 %461 to i64
%463 = getelementptr inbounds double, ptr %459, i64 %462
%464 = load double, ptr %463, align 8
%465 = fneg double %464
%466 = load ptr, ptr %4, align 8
%467 = load i32, ptr %10, align 4
%468 = add nsw i32 %467, 3
%469 = sext i32 %468 to i64
%470 = getelementptr inbounds double, ptr %466, i64 %469
%471 = load double, ptr %470, align 8
%472 = fsub double %465, %471
store double %472, ptr %28, align 8
%473 = load ptr, ptr %4, align 8
%474 = load i32, ptr %7, align 4
%475 = add nsw i32 %474, 2
%476 = sext i32 %475 to i64
%477 = getelementptr inbounds double, ptr %473, i64 %476
%478 = load double, ptr %477, align 8
%479 = load ptr, ptr %4, align 8
%480 = load i32, ptr %10, align 4
%481 = add nsw i32 %480, 2
%482 = sext i32 %481 to i64
%483 = getelementptr inbounds double, ptr %479, i64 %482
%484 = load double, ptr %483, align 8
%485 = fsub double %478, %484
store double %485, ptr %29, align 8
%486 = load ptr, ptr %4, align 8
%487 = load i32, ptr %7, align 4
%488 = add nsw i32 %487, 3
%489 = sext i32 %488 to i64
%490 = getelementptr inbounds double, ptr %486, i64 %489
%491 = load double, ptr %490, align 8
%492 = fneg double %491
%493 = load ptr, ptr %4, align 8
%494 = load i32, ptr %10, align 4
%495 = add nsw i32 %494, 3
%496 = sext i32 %495 to i64
%497 = getelementptr inbounds double, ptr %493, i64 %496
%498 = load double, ptr %497, align 8
%499 = fadd double %492, %498
store double %499, ptr %30, align 8
%500 = load ptr, ptr %4, align 8
%501 = load i32, ptr %9, align 4
%502 = add nsw i32 %501, 2
%503 = sext i32 %502 to i64
%504 = getelementptr inbounds double, ptr %500, i64 %503
%505 = load double, ptr %504, align 8
%506 = load ptr, ptr %4, align 8
%507 = load i32, ptr %11, align 4
%508 = add nsw i32 %507, 2
%509 = sext i32 %508 to i64
%510 = getelementptr inbounds double, ptr %506, i64 %509
%511 = load double, ptr %510, align 8
%512 = fadd double %505, %511
store double %512, ptr %31, align 8
%513 = load ptr, ptr %4, align 8
%514 = load i32, ptr %9, align 4
%515 = add nsw i32 %514, 3
%516 = sext i32 %515 to i64
%517 = getelementptr inbounds double, ptr %513, i64 %516
%518 = load double, ptr %517, align 8
%519 = load ptr, ptr %4, align 8
%520 = load i32, ptr %11, align 4
%521 = add nsw i32 %520, 3
%522 = sext i32 %521 to i64
%523 = getelementptr inbounds double, ptr %519, i64 %522
%524 = load double, ptr %523, align 8
%525 = fadd double %518, %524
store double %525, ptr %32, align 8
%526 = load ptr, ptr %4, align 8
%527 = load i32, ptr %9, align 4
%528 = add nsw i32 %527, 2
%529 = sext i32 %528 to i64
%530 = getelementptr inbounds double, ptr %526, i64 %529
%531 = load double, ptr %530, align 8
%532 = load ptr, ptr %4, align 8
%533 = load i32, ptr %11, align 4
%534 = add nsw i32 %533, 2
%535 = sext i32 %534 to i64
%536 = getelementptr inbounds double, ptr %532, i64 %535
%537 = load double, ptr %536, align 8
%538 = fsub double %531, %537
store double %538, ptr %33, align 8
%539 = load ptr, ptr %4, align 8
%540 = load i32, ptr %9, align 4
%541 = add nsw i32 %540, 3
%542 = sext i32 %541 to i64
%543 = getelementptr inbounds double, ptr %539, i64 %542
%544 = load double, ptr %543, align 8
%545 = load ptr, ptr %4, align 8
%546 = load i32, ptr %11, align 4
%547 = add nsw i32 %546, 3
%548 = sext i32 %547 to i64
%549 = getelementptr inbounds double, ptr %545, i64 %548
%550 = load double, ptr %549, align 8
%551 = fsub double %544, %550
store double %551, ptr %34, align 8
%552 = load double, ptr %27, align 8
%553 = load double, ptr %31, align 8
%554 = fadd double %552, %553
%555 = load ptr, ptr %4, align 8
%556 = load i32, ptr %7, align 4
%557 = add nsw i32 %556, 2
%558 = sext i32 %557 to i64
%559 = getelementptr inbounds double, ptr %555, i64 %558
store double %554, ptr %559, align 8
%560 = load double, ptr %28, align 8
%561 = load double, ptr %32, align 8
%562 = fsub double %560, %561
%563 = load ptr, ptr %4, align 8
%564 = load i32, ptr %7, align 4
%565 = add nsw i32 %564, 3
%566 = sext i32 %565 to i64
%567 = getelementptr inbounds double, ptr %563, i64 %566
store double %562, ptr %567, align 8
%568 = load double, ptr %27, align 8
%569 = load double, ptr %31, align 8
%570 = fsub double %568, %569
%571 = load ptr, ptr %4, align 8
%572 = load i32, ptr %9, align 4
%573 = add nsw i32 %572, 2
%574 = sext i32 %573 to i64
%575 = getelementptr inbounds double, ptr %571, i64 %574
store double %570, ptr %575, align 8
%576 = load double, ptr %28, align 8
%577 = load double, ptr %32, align 8
%578 = fadd double %576, %577
%579 = load ptr, ptr %4, align 8
%580 = load i32, ptr %9, align 4
%581 = add nsw i32 %580, 3
%582 = sext i32 %581 to i64
%583 = getelementptr inbounds double, ptr %579, i64 %582
store double %578, ptr %583, align 8
%584 = load double, ptr %29, align 8
%585 = load double, ptr %34, align 8
%586 = fadd double %584, %585
store double %586, ptr %27, align 8
%587 = load double, ptr %30, align 8
%588 = load double, ptr %33, align 8
%589 = fadd double %587, %588
store double %589, ptr %28, align 8
%590 = load double, ptr %21, align 8
%591 = load double, ptr %27, align 8
%592 = load double, ptr %22, align 8
%593 = load double, ptr %28, align 8
%594 = fmul double %592, %593
%595 = fneg double %594
%596 = call double @llvm.fmuladd.f64(double %590, double %591, double %595)
%597 = load ptr, ptr %4, align 8
%598 = load i32, ptr %10, align 4
%599 = add nsw i32 %598, 2
%600 = sext i32 %599 to i64
%601 = getelementptr inbounds double, ptr %597, i64 %600
store double %596, ptr %601, align 8
%602 = load double, ptr %21, align 8
%603 = load double, ptr %28, align 8
%604 = load double, ptr %22, align 8
%605 = load double, ptr %27, align 8
%606 = fmul double %604, %605
%607 = call double @llvm.fmuladd.f64(double %602, double %603, double %606)
%608 = load ptr, ptr %4, align 8
%609 = load i32, ptr %10, align 4
%610 = add nsw i32 %609, 3
%611 = sext i32 %610 to i64
%612 = getelementptr inbounds double, ptr %608, i64 %611
store double %607, ptr %612, align 8
%613 = load double, ptr %29, align 8
%614 = load double, ptr %34, align 8
%615 = fsub double %613, %614
store double %615, ptr %27, align 8
%616 = load double, ptr %30, align 8
%617 = load double, ptr %33, align 8
%618 = fsub double %616, %617
store double %618, ptr %28, align 8
%619 = load double, ptr %23, align 8
%620 = load double, ptr %27, align 8
%621 = load double, ptr %24, align 8
%622 = load double, ptr %28, align 8
%623 = fmul double %621, %622
%624 = call double @llvm.fmuladd.f64(double %619, double %620, double %623)
%625 = load ptr, ptr %4, align 8
%626 = load i32, ptr %11, align 4
%627 = add nsw i32 %626, 2
%628 = sext i32 %627 to i64
%629 = getelementptr inbounds double, ptr %625, i64 %628
store double %624, ptr %629, align 8
%630 = load double, ptr %23, align 8
%631 = load double, ptr %28, align 8
%632 = load double, ptr %24, align 8
%633 = load double, ptr %27, align 8
%634 = fmul double %632, %633
%635 = fneg double %634
%636 = call double @llvm.fmuladd.f64(double %630, double %631, double %635)
%637 = load ptr, ptr %4, align 8
%638 = load i32, ptr %11, align 4
%639 = add nsw i32 %638, 3
%640 = sext i32 %639 to i64
%641 = getelementptr inbounds double, ptr %637, i64 %640
store double %636, ptr %641, align 8
%642 = load i32, ptr %12, align 4
%643 = load i32, ptr %7, align 4
%644 = sub nsw i32 %642, %643
store i32 %644, ptr %8, align 4
%645 = load i32, ptr %8, align 4
%646 = load i32, ptr %12, align 4
%647 = add nsw i32 %645, %646
store i32 %647, ptr %9, align 4
%648 = load i32, ptr %9, align 4
%649 = load i32, ptr %12, align 4
%650 = add nsw i32 %648, %649
store i32 %650, ptr %10, align 4
%651 = load i32, ptr %10, align 4
%652 = load i32, ptr %12, align 4
%653 = add nsw i32 %651, %652
store i32 %653, ptr %11, align 4
%654 = load ptr, ptr %4, align 8
%655 = load i32, ptr %8, align 4
%656 = sext i32 %655 to i64
%657 = getelementptr inbounds double, ptr %654, i64 %656
%658 = load double, ptr %657, align 8
%659 = load ptr, ptr %4, align 8
%660 = load i32, ptr %10, align 4
%661 = sext i32 %660 to i64
%662 = getelementptr inbounds double, ptr %659, i64 %661
%663 = load double, ptr %662, align 8
%664 = fadd double %658, %663
store double %664, ptr %27, align 8
%665 = load ptr, ptr %4, align 8
%666 = load i32, ptr %8, align 4
%667 = add nsw i32 %666, 1
%668 = sext i32 %667 to i64
%669 = getelementptr inbounds double, ptr %665, i64 %668
%670 = load double, ptr %669, align 8
%671 = fneg double %670
%672 = load ptr, ptr %4, align 8
%673 = load i32, ptr %10, align 4
%674 = add nsw i32 %673, 1
%675 = sext i32 %674 to i64
%676 = getelementptr inbounds double, ptr %672, i64 %675
%677 = load double, ptr %676, align 8
%678 = fsub double %671, %677
store double %678, ptr %28, align 8
%679 = load ptr, ptr %4, align 8
%680 = load i32, ptr %8, align 4
%681 = sext i32 %680 to i64
%682 = getelementptr inbounds double, ptr %679, i64 %681
%683 = load double, ptr %682, align 8
%684 = load ptr, ptr %4, align 8
%685 = load i32, ptr %10, align 4
%686 = sext i32 %685 to i64
%687 = getelementptr inbounds double, ptr %684, i64 %686
%688 = load double, ptr %687, align 8
%689 = fsub double %683, %688
store double %689, ptr %29, align 8
%690 = load ptr, ptr %4, align 8
%691 = load i32, ptr %8, align 4
%692 = add nsw i32 %691, 1
%693 = sext i32 %692 to i64
%694 = getelementptr inbounds double, ptr %690, i64 %693
%695 = load double, ptr %694, align 8
%696 = fneg double %695
%697 = load ptr, ptr %4, align 8
%698 = load i32, ptr %10, align 4
%699 = add nsw i32 %698, 1
%700 = sext i32 %699 to i64
%701 = getelementptr inbounds double, ptr %697, i64 %700
%702 = load double, ptr %701, align 8
%703 = fadd double %696, %702
store double %703, ptr %30, align 8
%704 = load ptr, ptr %4, align 8
%705 = load i32, ptr %9, align 4
%706 = sext i32 %705 to i64
%707 = getelementptr inbounds double, ptr %704, i64 %706
%708 = load double, ptr %707, align 8
%709 = load ptr, ptr %4, align 8
%710 = load i32, ptr %11, align 4
%711 = sext i32 %710 to i64
%712 = getelementptr inbounds double, ptr %709, i64 %711
%713 = load double, ptr %712, align 8
%714 = fadd double %708, %713
store double %714, ptr %31, align 8
%715 = load ptr, ptr %4, align 8
%716 = load i32, ptr %9, align 4
%717 = add nsw i32 %716, 1
%718 = sext i32 %717 to i64
%719 = getelementptr inbounds double, ptr %715, i64 %718
%720 = load double, ptr %719, align 8
%721 = load ptr, ptr %4, align 8
%722 = load i32, ptr %11, align 4
%723 = add nsw i32 %722, 1
%724 = sext i32 %723 to i64
%725 = getelementptr inbounds double, ptr %721, i64 %724
%726 = load double, ptr %725, align 8
%727 = fadd double %720, %726
store double %727, ptr %32, align 8
%728 = load ptr, ptr %4, align 8
%729 = load i32, ptr %9, align 4
%730 = sext i32 %729 to i64
%731 = getelementptr inbounds double, ptr %728, i64 %730
%732 = load double, ptr %731, align 8
%733 = load ptr, ptr %4, align 8
%734 = load i32, ptr %11, align 4
%735 = sext i32 %734 to i64
%736 = getelementptr inbounds double, ptr %733, i64 %735
%737 = load double, ptr %736, align 8
%738 = fsub double %732, %737
store double %738, ptr %33, align 8
%739 = load ptr, ptr %4, align 8
%740 = load i32, ptr %9, align 4
%741 = add nsw i32 %740, 1
%742 = sext i32 %741 to i64
%743 = getelementptr inbounds double, ptr %739, i64 %742
%744 = load double, ptr %743, align 8
%745 = load ptr, ptr %4, align 8
%746 = load i32, ptr %11, align 4
%747 = add nsw i32 %746, 1
%748 = sext i32 %747 to i64
%749 = getelementptr inbounds double, ptr %745, i64 %748
%750 = load double, ptr %749, align 8
%751 = fsub double %744, %750
store double %751, ptr %34, align 8
%752 = load double, ptr %27, align 8
%753 = load double, ptr %31, align 8
%754 = fadd double %752, %753
%755 = load ptr, ptr %4, align 8
%756 = load i32, ptr %8, align 4
%757 = sext i32 %756 to i64
%758 = getelementptr inbounds double, ptr %755, i64 %757
store double %754, ptr %758, align 8
%759 = load double, ptr %28, align 8
%760 = load double, ptr %32, align 8
%761 = fsub double %759, %760
%762 = load ptr, ptr %4, align 8
%763 = load i32, ptr %8, align 4
%764 = add nsw i32 %763, 1
%765 = sext i32 %764 to i64
%766 = getelementptr inbounds double, ptr %762, i64 %765
store double %761, ptr %766, align 8
%767 = load double, ptr %27, align 8
%768 = load double, ptr %31, align 8
%769 = fsub double %767, %768
%770 = load ptr, ptr %4, align 8
%771 = load i32, ptr %9, align 4
%772 = sext i32 %771 to i64
%773 = getelementptr inbounds double, ptr %770, i64 %772
store double %769, ptr %773, align 8
%774 = load double, ptr %28, align 8
%775 = load double, ptr %32, align 8
%776 = fadd double %774, %775
%777 = load ptr, ptr %4, align 8
%778 = load i32, ptr %9, align 4
%779 = add nsw i32 %778, 1
%780 = sext i32 %779 to i64
%781 = getelementptr inbounds double, ptr %777, i64 %780
store double %776, ptr %781, align 8
%782 = load double, ptr %29, align 8
%783 = load double, ptr %34, align 8
%784 = fadd double %782, %783
store double %784, ptr %27, align 8
%785 = load double, ptr %30, align 8
%786 = load double, ptr %33, align 8
%787 = fadd double %785, %786
store double %787, ptr %28, align 8
%788 = load double, ptr %18, align 8
%789 = load double, ptr %27, align 8
%790 = load double, ptr %17, align 8
%791 = load double, ptr %28, align 8
%792 = fmul double %790, %791
%793 = fneg double %792
%794 = call double @llvm.fmuladd.f64(double %788, double %789, double %793)
%795 = load ptr, ptr %4, align 8
%796 = load i32, ptr %10, align 4
%797 = sext i32 %796 to i64
%798 = getelementptr inbounds double, ptr %795, i64 %797
store double %794, ptr %798, align 8
%799 = load double, ptr %18, align 8
%800 = load double, ptr %28, align 8
%801 = load double, ptr %17, align 8
%802 = load double, ptr %27, align 8
%803 = fmul double %801, %802
%804 = call double @llvm.fmuladd.f64(double %799, double %800, double %803)
%805 = load ptr, ptr %4, align 8
%806 = load i32, ptr %10, align 4
%807 = add nsw i32 %806, 1
%808 = sext i32 %807 to i64
%809 = getelementptr inbounds double, ptr %805, i64 %808
store double %804, ptr %809, align 8
%810 = load double, ptr %29, align 8
%811 = load double, ptr %34, align 8
%812 = fsub double %810, %811
store double %812, ptr %27, align 8
%813 = load double, ptr %30, align 8
%814 = load double, ptr %33, align 8
%815 = fsub double %813, %814
store double %815, ptr %28, align 8
%816 = load double, ptr %20, align 8
%817 = load double, ptr %27, align 8
%818 = load double, ptr %19, align 8
%819 = load double, ptr %28, align 8
%820 = fmul double %818, %819
%821 = call double @llvm.fmuladd.f64(double %816, double %817, double %820)
%822 = load ptr, ptr %4, align 8
%823 = load i32, ptr %11, align 4
%824 = sext i32 %823 to i64
%825 = getelementptr inbounds double, ptr %822, i64 %824
store double %821, ptr %825, align 8
%826 = load double, ptr %20, align 8
%827 = load double, ptr %28, align 8
%828 = load double, ptr %19, align 8
%829 = load double, ptr %27, align 8
%830 = fmul double %828, %829
%831 = fneg double %830
%832 = call double @llvm.fmuladd.f64(double %826, double %827, double %831)
%833 = load ptr, ptr %4, align 8
%834 = load i32, ptr %11, align 4
%835 = add nsw i32 %834, 1
%836 = sext i32 %835 to i64
%837 = getelementptr inbounds double, ptr %833, i64 %836
store double %832, ptr %837, align 8
%838 = load ptr, ptr %4, align 8
%839 = load i32, ptr %8, align 4
%840 = sub nsw i32 %839, 2
%841 = sext i32 %840 to i64
%842 = getelementptr inbounds double, ptr %838, i64 %841
%843 = load double, ptr %842, align 8
%844 = load ptr, ptr %4, align 8
%845 = load i32, ptr %10, align 4
%846 = sub nsw i32 %845, 2
%847 = sext i32 %846 to i64
%848 = getelementptr inbounds double, ptr %844, i64 %847
%849 = load double, ptr %848, align 8
%850 = fadd double %843, %849
store double %850, ptr %27, align 8
%851 = load ptr, ptr %4, align 8
%852 = load i32, ptr %8, align 4
%853 = sub nsw i32 %852, 1
%854 = sext i32 %853 to i64
%855 = getelementptr inbounds double, ptr %851, i64 %854
%856 = load double, ptr %855, align 8
%857 = fneg double %856
%858 = load ptr, ptr %4, align 8
%859 = load i32, ptr %10, align 4
%860 = sub nsw i32 %859, 1
%861 = sext i32 %860 to i64
%862 = getelementptr inbounds double, ptr %858, i64 %861
%863 = load double, ptr %862, align 8
%864 = fsub double %857, %863
store double %864, ptr %28, align 8
%865 = load ptr, ptr %4, align 8
%866 = load i32, ptr %8, align 4
%867 = sub nsw i32 %866, 2
%868 = sext i32 %867 to i64
%869 = getelementptr inbounds double, ptr %865, i64 %868
%870 = load double, ptr %869, align 8
%871 = load ptr, ptr %4, align 8
%872 = load i32, ptr %10, align 4
%873 = sub nsw i32 %872, 2
%874 = sext i32 %873 to i64
%875 = getelementptr inbounds double, ptr %871, i64 %874
%876 = load double, ptr %875, align 8
%877 = fsub double %870, %876
store double %877, ptr %29, align 8
%878 = load ptr, ptr %4, align 8
%879 = load i32, ptr %8, align 4
%880 = sub nsw i32 %879, 1
%881 = sext i32 %880 to i64
%882 = getelementptr inbounds double, ptr %878, i64 %881
%883 = load double, ptr %882, align 8
%884 = fneg double %883
%885 = load ptr, ptr %4, align 8
%886 = load i32, ptr %10, align 4
%887 = sub nsw i32 %886, 1
%888 = sext i32 %887 to i64
%889 = getelementptr inbounds double, ptr %885, i64 %888
%890 = load double, ptr %889, align 8
%891 = fadd double %884, %890
store double %891, ptr %30, align 8
%892 = load ptr, ptr %4, align 8
%893 = load i32, ptr %9, align 4
%894 = sub nsw i32 %893, 2
%895 = sext i32 %894 to i64
%896 = getelementptr inbounds double, ptr %892, i64 %895
%897 = load double, ptr %896, align 8
%898 = load ptr, ptr %4, align 8
%899 = load i32, ptr %11, align 4
%900 = sub nsw i32 %899, 2
%901 = sext i32 %900 to i64
%902 = getelementptr inbounds double, ptr %898, i64 %901
%903 = load double, ptr %902, align 8
%904 = fadd double %897, %903
store double %904, ptr %31, align 8
%905 = load ptr, ptr %4, align 8
%906 = load i32, ptr %9, align 4
%907 = sub nsw i32 %906, 1
%908 = sext i32 %907 to i64
%909 = getelementptr inbounds double, ptr %905, i64 %908
%910 = load double, ptr %909, align 8
%911 = load ptr, ptr %4, align 8
%912 = load i32, ptr %11, align 4
%913 = sub nsw i32 %912, 1
%914 = sext i32 %913 to i64
%915 = getelementptr inbounds double, ptr %911, i64 %914
%916 = load double, ptr %915, align 8
%917 = fadd double %910, %916
store double %917, ptr %32, align 8
%918 = load ptr, ptr %4, align 8
%919 = load i32, ptr %9, align 4
%920 = sub nsw i32 %919, 2
%921 = sext i32 %920 to i64
%922 = getelementptr inbounds double, ptr %918, i64 %921
%923 = load double, ptr %922, align 8
%924 = load ptr, ptr %4, align 8
%925 = load i32, ptr %11, align 4
%926 = sub nsw i32 %925, 2
%927 = sext i32 %926 to i64
%928 = getelementptr inbounds double, ptr %924, i64 %927
%929 = load double, ptr %928, align 8
%930 = fsub double %923, %929
store double %930, ptr %33, align 8
%931 = load ptr, ptr %4, align 8
%932 = load i32, ptr %9, align 4
%933 = sub nsw i32 %932, 1
%934 = sext i32 %933 to i64
%935 = getelementptr inbounds double, ptr %931, i64 %934
%936 = load double, ptr %935, align 8
%937 = load ptr, ptr %4, align 8
%938 = load i32, ptr %11, align 4
%939 = sub nsw i32 %938, 1
%940 = sext i32 %939 to i64
%941 = getelementptr inbounds double, ptr %937, i64 %940
%942 = load double, ptr %941, align 8
%943 = fsub double %936, %942
store double %943, ptr %34, align 8
%944 = load double, ptr %27, align 8
%945 = load double, ptr %31, align 8
%946 = fadd double %944, %945
%947 = load ptr, ptr %4, align 8
%948 = load i32, ptr %8, align 4
%949 = sub nsw i32 %948, 2
%950 = sext i32 %949 to i64
%951 = getelementptr inbounds double, ptr %947, i64 %950
store double %946, ptr %951, align 8
%952 = load double, ptr %28, align 8
%953 = load double, ptr %32, align 8
%954 = fsub double %952, %953
%955 = load ptr, ptr %4, align 8
%956 = load i32, ptr %8, align 4
%957 = sub nsw i32 %956, 1
%958 = sext i32 %957 to i64
%959 = getelementptr inbounds double, ptr %955, i64 %958
store double %954, ptr %959, align 8
%960 = load double, ptr %27, align 8
%961 = load double, ptr %31, align 8
%962 = fsub double %960, %961
%963 = load ptr, ptr %4, align 8
%964 = load i32, ptr %9, align 4
%965 = sub nsw i32 %964, 2
%966 = sext i32 %965 to i64
%967 = getelementptr inbounds double, ptr %963, i64 %966
store double %962, ptr %967, align 8
%968 = load double, ptr %28, align 8
%969 = load double, ptr %32, align 8
%970 = fadd double %968, %969
%971 = load ptr, ptr %4, align 8
%972 = load i32, ptr %9, align 4
%973 = sub nsw i32 %972, 1
%974 = sext i32 %973 to i64
%975 = getelementptr inbounds double, ptr %971, i64 %974
store double %970, ptr %975, align 8
%976 = load double, ptr %29, align 8
%977 = load double, ptr %34, align 8
%978 = fadd double %976, %977
store double %978, ptr %27, align 8
%979 = load double, ptr %30, align 8
%980 = load double, ptr %33, align 8
%981 = fadd double %979, %980
store double %981, ptr %28, align 8
%982 = load double, ptr %22, align 8
%983 = load double, ptr %27, align 8
%984 = load double, ptr %21, align 8
%985 = load double, ptr %28, align 8
%986 = fmul double %984, %985
%987 = fneg double %986
%988 = call double @llvm.fmuladd.f64(double %982, double %983, double %987)
%989 = load ptr, ptr %4, align 8
%990 = load i32, ptr %10, align 4
%991 = sub nsw i32 %990, 2
%992 = sext i32 %991 to i64
%993 = getelementptr inbounds double, ptr %989, i64 %992
store double %988, ptr %993, align 8
%994 = load double, ptr %22, align 8
%995 = load double, ptr %28, align 8
%996 = load double, ptr %21, align 8
%997 = load double, ptr %27, align 8
%998 = fmul double %996, %997
%999 = call double @llvm.fmuladd.f64(double %994, double %995, double %998)
%1000 = load ptr, ptr %4, align 8
%1001 = load i32, ptr %10, align 4
%1002 = sub nsw i32 %1001, 1
%1003 = sext i32 %1002 to i64
%1004 = getelementptr inbounds double, ptr %1000, i64 %1003
store double %999, ptr %1004, align 8
%1005 = load double, ptr %29, align 8
%1006 = load double, ptr %34, align 8
%1007 = fsub double %1005, %1006
store double %1007, ptr %27, align 8
%1008 = load double, ptr %30, align 8
%1009 = load double, ptr %33, align 8
%1010 = fsub double %1008, %1009
store double %1010, ptr %28, align 8
%1011 = load double, ptr %24, align 8
%1012 = load double, ptr %27, align 8
%1013 = load double, ptr %23, align 8
%1014 = load double, ptr %28, align 8
%1015 = fmul double %1013, %1014
%1016 = call double @llvm.fmuladd.f64(double %1011, double %1012, double %1015)
%1017 = load ptr, ptr %4, align 8
%1018 = load i32, ptr %11, align 4
%1019 = sub nsw i32 %1018, 2
%1020 = sext i32 %1019 to i64
%1021 = getelementptr inbounds double, ptr %1017, i64 %1020
store double %1016, ptr %1021, align 8
%1022 = load double, ptr %24, align 8
%1023 = load double, ptr %28, align 8
%1024 = load double, ptr %23, align 8
%1025 = load double, ptr %27, align 8
%1026 = fmul double %1024, %1025
%1027 = fneg double %1026
%1028 = call double @llvm.fmuladd.f64(double %1022, double %1023, double %1027)
%1029 = load ptr, ptr %4, align 8
%1030 = load i32, ptr %11, align 4
%1031 = sub nsw i32 %1030, 1
%1032 = sext i32 %1031 to i64
%1033 = getelementptr inbounds double, ptr %1029, i64 %1032
store double %1028, ptr %1033, align 8
%1034 = load double, ptr %25, align 8
%1035 = load double, ptr %22, align 8
%1036 = load double, ptr %17, align 8
%1037 = fneg double %1034
%1038 = call double @llvm.fmuladd.f64(double %1037, double %1035, double %1036)
store double %1038, ptr %17, align 8
%1039 = load double, ptr %25, align 8
%1040 = load double, ptr %21, align 8
%1041 = load double, ptr %18, align 8
%1042 = call double @llvm.fmuladd.f64(double %1039, double %1040, double %1041)
store double %1042, ptr %18, align 8
%1043 = load double, ptr %26, align 8
%1044 = load double, ptr %24, align 8
%1045 = load double, ptr %19, align 8
%1046 = fneg double %1043
%1047 = call double @llvm.fmuladd.f64(double %1046, double %1044, double %1045)
store double %1047, ptr %19, align 8
%1048 = load double, ptr %26, align 8
%1049 = load double, ptr %23, align 8
%1050 = load double, ptr %20, align 8
%1051 = call double @llvm.fmuladd.f64(double %1048, double %1049, double %1050)
store double %1051, ptr %20, align 8
br label %1052
1052: ; preds = %234
%1053 = load i32, ptr %7, align 4
%1054 = add nsw i32 %1053, 4
store i32 %1054, ptr %7, align 4
%1055 = load i32, ptr %7, align 4
%1056 = load i32, ptr %6, align 4
%1057 = icmp slt i32 %1055, %1056
br i1 %1057, label %234, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %1052
br label %1058
1058: ; preds = %._crit_edge, %228
%1059 = load i32, ptr %6, align 4
%1060 = load i32, ptr %13, align 4
%1061 = sub nsw i32 %1060, 4
%1062 = icmp eq i32 %1059, %1061
br i1 %1062, label %1063, label %1064
1063: ; preds = %1058
br label %1117
1064: ; preds = %1058
%1065 = load double, ptr %14, align 8
%1066 = load i32, ptr %6, align 4
%1067 = sitofp i32 %1066 to double
%1068 = fmul double %1065, %1067
%1069 = call double @cos(double noundef %1068) #3
store double %1069, ptr %21, align 8
%1070 = load double, ptr %14, align 8
%1071 = load i32, ptr %6, align 4
%1072 = sitofp i32 %1071 to double
%1073 = fmul double %1070, %1072
%1074 = call double @sin(double noundef %1073) #3
store double %1074, ptr %22, align 8
%1075 = load double, ptr %22, align 8
%1076 = fmul double 4.000000e+00, %1075
%1077 = load double, ptr %21, align 8
%1078 = fmul double %1076, %1077
store double %1078, ptr %24, align 8
%1079 = load double, ptr %21, align 8
%1080 = load double, ptr %24, align 8
%1081 = load double, ptr %22, align 8
%1082 = fneg double %1080
%1083 = call double @llvm.fmuladd.f64(double %1082, double %1081, double %1079)
store double %1083, ptr %23, align 8
%1084 = load double, ptr %22, align 8
%1085 = load double, ptr %24, align 8
%1086 = load double, ptr %21, align 8
%1087 = fneg double %1085
%1088 = call double @llvm.fmuladd.f64(double %1087, double %1086, double %1084)
store double %1088, ptr %24, align 8
%1089 = load double, ptr %15, align 8
%1090 = load double, ptr %21, align 8
%1091 = load double, ptr %16, align 8
%1092 = load double, ptr %22, align 8
%1093 = fmul double %1091, %1092
%1094 = fneg double %1093
%1095 = call double @llvm.fmuladd.f64(double %1089, double %1090, double %1094)
store double %1095, ptr %17, align 8
%1096 = load double, ptr %15, align 8
%1097 = load double, ptr %22, align 8
%1098 = load double, ptr %16, align 8
%1099 = load double, ptr %21, align 8
%1100 = fmul double %1098, %1099
%1101 = call double @llvm.fmuladd.f64(double %1096, double %1097, double %1100)
store double %1101, ptr %18, align 8
%1102 = load double, ptr %18, align 8
%1103 = fmul double 4.000000e+00, %1102
%1104 = load double, ptr %17, align 8
%1105 = fmul double %1103, %1104
store double %1105, ptr %20, align 8
%1106 = load double, ptr %17, align 8
%1107 = load double, ptr %20, align 8
%1108 = load double, ptr %18, align 8
%1109 = fneg double %1107
%1110 = call double @llvm.fmuladd.f64(double %1109, double %1108, double %1106)
store double %1110, ptr %19, align 8
%1111 = load double, ptr %18, align 8
%1112 = load double, ptr %20, align 8
%1113 = load double, ptr %17, align 8
%1114 = fneg double %1112
%1115 = call double @llvm.fmuladd.f64(double %1114, double %1113, double %1111)
store double %1115, ptr %20, align 8
%1116 = load i32, ptr %6, align 4
store i32 %1116, ptr %5, align 4
br label %218
1117: ; preds = %1063
store double 0x3FE6A09E667F3BCD, ptr %21, align 8
%1118 = load i32, ptr %13, align 4
store i32 %1118, ptr %8, align 4
%1119 = load i32, ptr %8, align 4
%1120 = load i32, ptr %12, align 4
%1121 = add nsw i32 %1119, %1120
store i32 %1121, ptr %9, align 4
%1122 = load i32, ptr %9, align 4
%1123 = load i32, ptr %12, align 4
%1124 = add nsw i32 %1122, %1123
store i32 %1124, ptr %10, align 4
%1125 = load i32, ptr %10, align 4
%1126 = load i32, ptr %12, align 4
%1127 = add nsw i32 %1125, %1126
store i32 %1127, ptr %11, align 4
%1128 = load ptr, ptr %4, align 8
%1129 = load i32, ptr %8, align 4
%1130 = sub nsw i32 %1129, 2
%1131 = sext i32 %1130 to i64
%1132 = getelementptr inbounds double, ptr %1128, i64 %1131
%1133 = load double, ptr %1132, align 8
%1134 = load ptr, ptr %4, align 8
%1135 = load i32, ptr %10, align 4
%1136 = sub nsw i32 %1135, 2
%1137 = sext i32 %1136 to i64
%1138 = getelementptr inbounds double, ptr %1134, i64 %1137
%1139 = load double, ptr %1138, align 8
%1140 = fadd double %1133, %1139
store double %1140, ptr %27, align 8
%1141 = load ptr, ptr %4, align 8
%1142 = load i32, ptr %8, align 4
%1143 = sub nsw i32 %1142, 1
%1144 = sext i32 %1143 to i64
%1145 = getelementptr inbounds double, ptr %1141, i64 %1144
%1146 = load double, ptr %1145, align 8
%1147 = fneg double %1146
%1148 = load ptr, ptr %4, align 8
%1149 = load i32, ptr %10, align 4
%1150 = sub nsw i32 %1149, 1
%1151 = sext i32 %1150 to i64
%1152 = getelementptr inbounds double, ptr %1148, i64 %1151
%1153 = load double, ptr %1152, align 8
%1154 = fsub double %1147, %1153
store double %1154, ptr %28, align 8
%1155 = load ptr, ptr %4, align 8
%1156 = load i32, ptr %8, align 4
%1157 = sub nsw i32 %1156, 2
%1158 = sext i32 %1157 to i64
%1159 = getelementptr inbounds double, ptr %1155, i64 %1158
%1160 = load double, ptr %1159, align 8
%1161 = load ptr, ptr %4, align 8
%1162 = load i32, ptr %10, align 4
%1163 = sub nsw i32 %1162, 2
%1164 = sext i32 %1163 to i64
%1165 = getelementptr inbounds double, ptr %1161, i64 %1164
%1166 = load double, ptr %1165, align 8
%1167 = fsub double %1160, %1166
store double %1167, ptr %29, align 8
%1168 = load ptr, ptr %4, align 8
%1169 = load i32, ptr %8, align 4
%1170 = sub nsw i32 %1169, 1
%1171 = sext i32 %1170 to i64
%1172 = getelementptr inbounds double, ptr %1168, i64 %1171
%1173 = load double, ptr %1172, align 8
%1174 = fneg double %1173
%1175 = load ptr, ptr %4, align 8
%1176 = load i32, ptr %10, align 4
%1177 = sub nsw i32 %1176, 1
%1178 = sext i32 %1177 to i64
%1179 = getelementptr inbounds double, ptr %1175, i64 %1178
%1180 = load double, ptr %1179, align 8
%1181 = fadd double %1174, %1180
store double %1181, ptr %30, align 8
%1182 = load ptr, ptr %4, align 8
%1183 = load i32, ptr %9, align 4
%1184 = sub nsw i32 %1183, 2
%1185 = sext i32 %1184 to i64
%1186 = getelementptr inbounds double, ptr %1182, i64 %1185
%1187 = load double, ptr %1186, align 8
%1188 = load ptr, ptr %4, align 8
%1189 = load i32, ptr %11, align 4
%1190 = sub nsw i32 %1189, 2
%1191 = sext i32 %1190 to i64
%1192 = getelementptr inbounds double, ptr %1188, i64 %1191
%1193 = load double, ptr %1192, align 8
%1194 = fadd double %1187, %1193
store double %1194, ptr %31, align 8
%1195 = load ptr, ptr %4, align 8
%1196 = load i32, ptr %9, align 4
%1197 = sub nsw i32 %1196, 1
%1198 = sext i32 %1197 to i64
%1199 = getelementptr inbounds double, ptr %1195, i64 %1198
%1200 = load double, ptr %1199, align 8
%1201 = load ptr, ptr %4, align 8
%1202 = load i32, ptr %11, align 4
%1203 = sub nsw i32 %1202, 1
%1204 = sext i32 %1203 to i64
%1205 = getelementptr inbounds double, ptr %1201, i64 %1204
%1206 = load double, ptr %1205, align 8
%1207 = fadd double %1200, %1206
store double %1207, ptr %32, align 8
%1208 = load ptr, ptr %4, align 8
%1209 = load i32, ptr %9, align 4
%1210 = sub nsw i32 %1209, 2
%1211 = sext i32 %1210 to i64
%1212 = getelementptr inbounds double, ptr %1208, i64 %1211
%1213 = load double, ptr %1212, align 8
%1214 = load ptr, ptr %4, align 8
%1215 = load i32, ptr %11, align 4
%1216 = sub nsw i32 %1215, 2
%1217 = sext i32 %1216 to i64
%1218 = getelementptr inbounds double, ptr %1214, i64 %1217
%1219 = load double, ptr %1218, align 8
%1220 = fsub double %1213, %1219
store double %1220, ptr %33, align 8
%1221 = load ptr, ptr %4, align 8
%1222 = load i32, ptr %9, align 4
%1223 = sub nsw i32 %1222, 1
%1224 = sext i32 %1223 to i64
%1225 = getelementptr inbounds double, ptr %1221, i64 %1224
%1226 = load double, ptr %1225, align 8
%1227 = load ptr, ptr %4, align 8
%1228 = load i32, ptr %11, align 4
%1229 = sub nsw i32 %1228, 1
%1230 = sext i32 %1229 to i64
%1231 = getelementptr inbounds double, ptr %1227, i64 %1230
%1232 = load double, ptr %1231, align 8
%1233 = fsub double %1226, %1232
store double %1233, ptr %34, align 8
%1234 = load double, ptr %27, align 8
%1235 = load double, ptr %31, align 8
%1236 = fadd double %1234, %1235
%1237 = load ptr, ptr %4, align 8
%1238 = load i32, ptr %8, align 4
%1239 = sub nsw i32 %1238, 2
%1240 = sext i32 %1239 to i64
%1241 = getelementptr inbounds double, ptr %1237, i64 %1240
store double %1236, ptr %1241, align 8
%1242 = load double, ptr %28, align 8
%1243 = load double, ptr %32, align 8
%1244 = fsub double %1242, %1243
%1245 = load ptr, ptr %4, align 8
%1246 = load i32, ptr %8, align 4
%1247 = sub nsw i32 %1246, 1
%1248 = sext i32 %1247 to i64
%1249 = getelementptr inbounds double, ptr %1245, i64 %1248
store double %1244, ptr %1249, align 8
%1250 = load double, ptr %27, align 8
%1251 = load double, ptr %31, align 8
%1252 = fsub double %1250, %1251
%1253 = load ptr, ptr %4, align 8
%1254 = load i32, ptr %9, align 4
%1255 = sub nsw i32 %1254, 2
%1256 = sext i32 %1255 to i64
%1257 = getelementptr inbounds double, ptr %1253, i64 %1256
store double %1252, ptr %1257, align 8
%1258 = load double, ptr %28, align 8
%1259 = load double, ptr %32, align 8
%1260 = fadd double %1258, %1259
%1261 = load ptr, ptr %4, align 8
%1262 = load i32, ptr %9, align 4
%1263 = sub nsw i32 %1262, 1
%1264 = sext i32 %1263 to i64
%1265 = getelementptr inbounds double, ptr %1261, i64 %1264
store double %1260, ptr %1265, align 8
%1266 = load double, ptr %29, align 8
%1267 = load double, ptr %34, align 8
%1268 = fadd double %1266, %1267
store double %1268, ptr %27, align 8
%1269 = load double, ptr %30, align 8
%1270 = load double, ptr %33, align 8
%1271 = fadd double %1269, %1270
store double %1271, ptr %28, align 8
%1272 = load double, ptr %17, align 8
%1273 = load double, ptr %27, align 8
%1274 = load double, ptr %18, align 8
%1275 = load double, ptr %28, align 8
%1276 = fmul double %1274, %1275
%1277 = fneg double %1276
%1278 = call double @llvm.fmuladd.f64(double %1272, double %1273, double %1277)
%1279 = load ptr, ptr %4, align 8
%1280 = load i32, ptr %10, align 4
%1281 = sub nsw i32 %1280, 2
%1282 = sext i32 %1281 to i64
%1283 = getelementptr inbounds double, ptr %1279, i64 %1282
store double %1278, ptr %1283, align 8
%1284 = load double, ptr %17, align 8
%1285 = load double, ptr %28, align 8
%1286 = load double, ptr %18, align 8
%1287 = load double, ptr %27, align 8
%1288 = fmul double %1286, %1287
%1289 = call double @llvm.fmuladd.f64(double %1284, double %1285, double %1288)
%1290 = load ptr, ptr %4, align 8
%1291 = load i32, ptr %10, align 4
%1292 = sub nsw i32 %1291, 1
%1293 = sext i32 %1292 to i64
%1294 = getelementptr inbounds double, ptr %1290, i64 %1293
store double %1289, ptr %1294, align 8
%1295 = load double, ptr %29, align 8
%1296 = load double, ptr %34, align 8
%1297 = fsub double %1295, %1296
store double %1297, ptr %27, align 8
%1298 = load double, ptr %30, align 8
%1299 = load double, ptr %33, align 8
%1300 = fsub double %1298, %1299
store double %1300, ptr %28, align 8
%1301 = load double, ptr %19, align 8
%1302 = load double, ptr %27, align 8
%1303 = load double, ptr %20, align 8
%1304 = load double, ptr %28, align 8
%1305 = fmul double %1303, %1304
%1306 = call double @llvm.fmuladd.f64(double %1301, double %1302, double %1305)
%1307 = load ptr, ptr %4, align 8
%1308 = load i32, ptr %11, align 4
%1309 = sub nsw i32 %1308, 2
%1310 = sext i32 %1309 to i64
%1311 = getelementptr inbounds double, ptr %1307, i64 %1310
store double %1306, ptr %1311, align 8
%1312 = load double, ptr %19, align 8
%1313 = load double, ptr %28, align 8
%1314 = load double, ptr %20, align 8
%1315 = load double, ptr %27, align 8
%1316 = fmul double %1314, %1315
%1317 = fneg double %1316
%1318 = call double @llvm.fmuladd.f64(double %1312, double %1313, double %1317)
%1319 = load ptr, ptr %4, align 8
%1320 = load i32, ptr %11, align 4
%1321 = sub nsw i32 %1320, 1
%1322 = sext i32 %1321 to i64
%1323 = getelementptr inbounds double, ptr %1319, i64 %1322
store double %1318, ptr %1323, align 8
%1324 = load ptr, ptr %4, align 8
%1325 = load i32, ptr %8, align 4
%1326 = sext i32 %1325 to i64
%1327 = getelementptr inbounds double, ptr %1324, i64 %1326
%1328 = load double, ptr %1327, align 8
%1329 = load ptr, ptr %4, align 8
%1330 = load i32, ptr %10, align 4
%1331 = sext i32 %1330 to i64
%1332 = getelementptr inbounds double, ptr %1329, i64 %1331
%1333 = load double, ptr %1332, align 8
%1334 = fadd double %1328, %1333
store double %1334, ptr %27, align 8
%1335 = load ptr, ptr %4, align 8
%1336 = load i32, ptr %8, align 4
%1337 = add nsw i32 %1336, 1
%1338 = sext i32 %1337 to i64
%1339 = getelementptr inbounds double, ptr %1335, i64 %1338
%1340 = load double, ptr %1339, align 8
%1341 = fneg double %1340
%1342 = load ptr, ptr %4, align 8
%1343 = load i32, ptr %10, align 4
%1344 = add nsw i32 %1343, 1
%1345 = sext i32 %1344 to i64
%1346 = getelementptr inbounds double, ptr %1342, i64 %1345
%1347 = load double, ptr %1346, align 8
%1348 = fsub double %1341, %1347
store double %1348, ptr %28, align 8
%1349 = load ptr, ptr %4, align 8
%1350 = load i32, ptr %8, align 4
%1351 = sext i32 %1350 to i64
%1352 = getelementptr inbounds double, ptr %1349, i64 %1351
%1353 = load double, ptr %1352, align 8
%1354 = load ptr, ptr %4, align 8
%1355 = load i32, ptr %10, align 4
%1356 = sext i32 %1355 to i64
%1357 = getelementptr inbounds double, ptr %1354, i64 %1356
%1358 = load double, ptr %1357, align 8
%1359 = fsub double %1353, %1358
store double %1359, ptr %29, align 8
%1360 = load ptr, ptr %4, align 8
%1361 = load i32, ptr %8, align 4
%1362 = add nsw i32 %1361, 1
%1363 = sext i32 %1362 to i64
%1364 = getelementptr inbounds double, ptr %1360, i64 %1363
%1365 = load double, ptr %1364, align 8
%1366 = fneg double %1365
%1367 = load ptr, ptr %4, align 8
%1368 = load i32, ptr %10, align 4
%1369 = add nsw i32 %1368, 1
%1370 = sext i32 %1369 to i64
%1371 = getelementptr inbounds double, ptr %1367, i64 %1370
%1372 = load double, ptr %1371, align 8
%1373 = fadd double %1366, %1372
store double %1373, ptr %30, align 8
%1374 = load ptr, ptr %4, align 8
%1375 = load i32, ptr %9, align 4
%1376 = sext i32 %1375 to i64
%1377 = getelementptr inbounds double, ptr %1374, i64 %1376
%1378 = load double, ptr %1377, align 8
%1379 = load ptr, ptr %4, align 8
%1380 = load i32, ptr %11, align 4
%1381 = sext i32 %1380 to i64
%1382 = getelementptr inbounds double, ptr %1379, i64 %1381
%1383 = load double, ptr %1382, align 8
%1384 = fadd double %1378, %1383
store double %1384, ptr %31, align 8
%1385 = load ptr, ptr %4, align 8
%1386 = load i32, ptr %9, align 4
%1387 = add nsw i32 %1386, 1
%1388 = sext i32 %1387 to i64
%1389 = getelementptr inbounds double, ptr %1385, i64 %1388
%1390 = load double, ptr %1389, align 8
%1391 = load ptr, ptr %4, align 8
%1392 = load i32, ptr %11, align 4
%1393 = add nsw i32 %1392, 1
%1394 = sext i32 %1393 to i64
%1395 = getelementptr inbounds double, ptr %1391, i64 %1394
%1396 = load double, ptr %1395, align 8
%1397 = fadd double %1390, %1396
store double %1397, ptr %32, align 8
%1398 = load ptr, ptr %4, align 8
%1399 = load i32, ptr %9, align 4
%1400 = sext i32 %1399 to i64
%1401 = getelementptr inbounds double, ptr %1398, i64 %1400
%1402 = load double, ptr %1401, align 8
%1403 = load ptr, ptr %4, align 8
%1404 = load i32, ptr %11, align 4
%1405 = sext i32 %1404 to i64
%1406 = getelementptr inbounds double, ptr %1403, i64 %1405
%1407 = load double, ptr %1406, align 8
%1408 = fsub double %1402, %1407
store double %1408, ptr %33, align 8
%1409 = load ptr, ptr %4, align 8
%1410 = load i32, ptr %9, align 4
%1411 = add nsw i32 %1410, 1
%1412 = sext i32 %1411 to i64
%1413 = getelementptr inbounds double, ptr %1409, i64 %1412
%1414 = load double, ptr %1413, align 8
%1415 = load ptr, ptr %4, align 8
%1416 = load i32, ptr %11, align 4
%1417 = add nsw i32 %1416, 1
%1418 = sext i32 %1417 to i64
%1419 = getelementptr inbounds double, ptr %1415, i64 %1418
%1420 = load double, ptr %1419, align 8
%1421 = fsub double %1414, %1420
store double %1421, ptr %34, align 8
%1422 = load double, ptr %27, align 8
%1423 = load double, ptr %31, align 8
%1424 = fadd double %1422, %1423
%1425 = load ptr, ptr %4, align 8
%1426 = load i32, ptr %8, align 4
%1427 = sext i32 %1426 to i64
%1428 = getelementptr inbounds double, ptr %1425, i64 %1427
store double %1424, ptr %1428, align 8
%1429 = load double, ptr %28, align 8
%1430 = load double, ptr %32, align 8
%1431 = fsub double %1429, %1430
%1432 = load ptr, ptr %4, align 8
%1433 = load i32, ptr %8, align 4
%1434 = add nsw i32 %1433, 1
%1435 = sext i32 %1434 to i64
%1436 = getelementptr inbounds double, ptr %1432, i64 %1435
store double %1431, ptr %1436, align 8
%1437 = load double, ptr %27, align 8
%1438 = load double, ptr %31, align 8
%1439 = fsub double %1437, %1438
%1440 = load ptr, ptr %4, align 8
%1441 = load i32, ptr %9, align 4
%1442 = sext i32 %1441 to i64
%1443 = getelementptr inbounds double, ptr %1440, i64 %1442
store double %1439, ptr %1443, align 8
%1444 = load double, ptr %28, align 8
%1445 = load double, ptr %32, align 8
%1446 = fadd double %1444, %1445
%1447 = load ptr, ptr %4, align 8
%1448 = load i32, ptr %9, align 4
%1449 = add nsw i32 %1448, 1
%1450 = sext i32 %1449 to i64
%1451 = getelementptr inbounds double, ptr %1447, i64 %1450
store double %1446, ptr %1451, align 8
%1452 = load double, ptr %29, align 8
%1453 = load double, ptr %34, align 8
%1454 = fadd double %1452, %1453
store double %1454, ptr %27, align 8
%1455 = load double, ptr %30, align 8
%1456 = load double, ptr %33, align 8
%1457 = fadd double %1455, %1456
store double %1457, ptr %28, align 8
%1458 = load double, ptr %21, align 8
%1459 = load double, ptr %27, align 8
%1460 = load double, ptr %28, align 8
%1461 = fsub double %1459, %1460
%1462 = fmul double %1458, %1461
%1463 = load ptr, ptr %4, align 8
%1464 = load i32, ptr %10, align 4
%1465 = sext i32 %1464 to i64
%1466 = getelementptr inbounds double, ptr %1463, i64 %1465
store double %1462, ptr %1466, align 8
%1467 = load double, ptr %21, align 8
%1468 = load double, ptr %28, align 8
%1469 = load double, ptr %27, align 8
%1470 = fadd double %1468, %1469
%1471 = fmul double %1467, %1470
%1472 = load ptr, ptr %4, align 8
%1473 = load i32, ptr %10, align 4
%1474 = add nsw i32 %1473, 1
%1475 = sext i32 %1474 to i64
%1476 = getelementptr inbounds double, ptr %1472, i64 %1475
store double %1471, ptr %1476, align 8
%1477 = load double, ptr %29, align 8
%1478 = load double, ptr %34, align 8
%1479 = fsub double %1477, %1478
store double %1479, ptr %27, align 8
%1480 = load double, ptr %30, align 8
%1481 = load double, ptr %33, align 8
%1482 = fsub double %1480, %1481
store double %1482, ptr %28, align 8
%1483 = load double, ptr %21, align 8
%1484 = fneg double %1483
%1485 = load double, ptr %27, align 8
%1486 = load double, ptr %28, align 8
%1487 = fadd double %1485, %1486
%1488 = fmul double %1484, %1487
%1489 = load ptr, ptr %4, align 8
%1490 = load i32, ptr %11, align 4
%1491 = sext i32 %1490 to i64
%1492 = getelementptr inbounds double, ptr %1489, i64 %1491
store double %1488, ptr %1492, align 8
%1493 = load double, ptr %21, align 8
%1494 = fneg double %1493
%1495 = load double, ptr %28, align 8
%1496 = load double, ptr %27, align 8
%1497 = fsub double %1495, %1496
%1498 = fmul double %1494, %1497
%1499 = load ptr, ptr %4, align 8
%1500 = load i32, ptr %11, align 4
%1501 = add nsw i32 %1500, 1
%1502 = sext i32 %1501 to i64
%1503 = getelementptr inbounds double, ptr %1499, i64 %1502
store double %1498, ptr %1503, align 8
%1504 = load ptr, ptr %4, align 8
%1505 = load i32, ptr %8, align 4
%1506 = add nsw i32 %1505, 2
%1507 = sext i32 %1506 to i64
%1508 = getelementptr inbounds double, ptr %1504, i64 %1507
%1509 = load double, ptr %1508, align 8
%1510 = load ptr, ptr %4, align 8
%1511 = load i32, ptr %10, align 4
%1512 = add nsw i32 %1511, 2
%1513 = sext i32 %1512 to i64
%1514 = getelementptr inbounds double, ptr %1510, i64 %1513
%1515 = load double, ptr %1514, align 8
%1516 = fadd double %1509, %1515
store double %1516, ptr %27, align 8
%1517 = load ptr, ptr %4, align 8
%1518 = load i32, ptr %8, align 4
%1519 = add nsw i32 %1518, 3
%1520 = sext i32 %1519 to i64
%1521 = getelementptr inbounds double, ptr %1517, i64 %1520
%1522 = load double, ptr %1521, align 8
%1523 = fneg double %1522
%1524 = load ptr, ptr %4, align 8
%1525 = load i32, ptr %10, align 4
%1526 = add nsw i32 %1525, 3
%1527 = sext i32 %1526 to i64
%1528 = getelementptr inbounds double, ptr %1524, i64 %1527
%1529 = load double, ptr %1528, align 8
%1530 = fsub double %1523, %1529
store double %1530, ptr %28, align 8
%1531 = load ptr, ptr %4, align 8
%1532 = load i32, ptr %8, align 4
%1533 = add nsw i32 %1532, 2
%1534 = sext i32 %1533 to i64
%1535 = getelementptr inbounds double, ptr %1531, i64 %1534
%1536 = load double, ptr %1535, align 8
%1537 = load ptr, ptr %4, align 8
%1538 = load i32, ptr %10, align 4
%1539 = add nsw i32 %1538, 2
%1540 = sext i32 %1539 to i64
%1541 = getelementptr inbounds double, ptr %1537, i64 %1540
%1542 = load double, ptr %1541, align 8
%1543 = fsub double %1536, %1542
store double %1543, ptr %29, align 8
%1544 = load ptr, ptr %4, align 8
%1545 = load i32, ptr %8, align 4
%1546 = add nsw i32 %1545, 3
%1547 = sext i32 %1546 to i64
%1548 = getelementptr inbounds double, ptr %1544, i64 %1547
%1549 = load double, ptr %1548, align 8
%1550 = fneg double %1549
%1551 = load ptr, ptr %4, align 8
%1552 = load i32, ptr %10, align 4
%1553 = add nsw i32 %1552, 3
%1554 = sext i32 %1553 to i64
%1555 = getelementptr inbounds double, ptr %1551, i64 %1554
%1556 = load double, ptr %1555, align 8
%1557 = fadd double %1550, %1556
store double %1557, ptr %30, align 8
%1558 = load ptr, ptr %4, align 8
%1559 = load i32, ptr %9, align 4
%1560 = add nsw i32 %1559, 2
%1561 = sext i32 %1560 to i64
%1562 = getelementptr inbounds double, ptr %1558, i64 %1561
%1563 = load double, ptr %1562, align 8
%1564 = load ptr, ptr %4, align 8
%1565 = load i32, ptr %11, align 4
%1566 = add nsw i32 %1565, 2
%1567 = sext i32 %1566 to i64
%1568 = getelementptr inbounds double, ptr %1564, i64 %1567
%1569 = load double, ptr %1568, align 8
%1570 = fadd double %1563, %1569
store double %1570, ptr %31, align 8
%1571 = load ptr, ptr %4, align 8
%1572 = load i32, ptr %9, align 4
%1573 = add nsw i32 %1572, 3
%1574 = sext i32 %1573 to i64
%1575 = getelementptr inbounds double, ptr %1571, i64 %1574
%1576 = load double, ptr %1575, align 8
%1577 = load ptr, ptr %4, align 8
%1578 = load i32, ptr %11, align 4
%1579 = add nsw i32 %1578, 3
%1580 = sext i32 %1579 to i64
%1581 = getelementptr inbounds double, ptr %1577, i64 %1580
%1582 = load double, ptr %1581, align 8
%1583 = fadd double %1576, %1582
store double %1583, ptr %32, align 8
%1584 = load ptr, ptr %4, align 8
%1585 = load i32, ptr %9, align 4
%1586 = add nsw i32 %1585, 2
%1587 = sext i32 %1586 to i64
%1588 = getelementptr inbounds double, ptr %1584, i64 %1587
%1589 = load double, ptr %1588, align 8
%1590 = load ptr, ptr %4, align 8
%1591 = load i32, ptr %11, align 4
%1592 = add nsw i32 %1591, 2
%1593 = sext i32 %1592 to i64
%1594 = getelementptr inbounds double, ptr %1590, i64 %1593
%1595 = load double, ptr %1594, align 8
%1596 = fsub double %1589, %1595
store double %1596, ptr %33, align 8
%1597 = load ptr, ptr %4, align 8
%1598 = load i32, ptr %9, align 4
%1599 = add nsw i32 %1598, 3
%1600 = sext i32 %1599 to i64
%1601 = getelementptr inbounds double, ptr %1597, i64 %1600
%1602 = load double, ptr %1601, align 8
%1603 = load ptr, ptr %4, align 8
%1604 = load i32, ptr %11, align 4
%1605 = add nsw i32 %1604, 3
%1606 = sext i32 %1605 to i64
%1607 = getelementptr inbounds double, ptr %1603, i64 %1606
%1608 = load double, ptr %1607, align 8
%1609 = fsub double %1602, %1608
store double %1609, ptr %34, align 8
%1610 = load double, ptr %27, align 8
%1611 = load double, ptr %31, align 8
%1612 = fadd double %1610, %1611
%1613 = load ptr, ptr %4, align 8
%1614 = load i32, ptr %8, align 4
%1615 = add nsw i32 %1614, 2
%1616 = sext i32 %1615 to i64
%1617 = getelementptr inbounds double, ptr %1613, i64 %1616
store double %1612, ptr %1617, align 8
%1618 = load double, ptr %28, align 8
%1619 = load double, ptr %32, align 8
%1620 = fsub double %1618, %1619
%1621 = load ptr, ptr %4, align 8
%1622 = load i32, ptr %8, align 4
%1623 = add nsw i32 %1622, 3
%1624 = sext i32 %1623 to i64
%1625 = getelementptr inbounds double, ptr %1621, i64 %1624
store double %1620, ptr %1625, align 8
%1626 = load double, ptr %27, align 8
%1627 = load double, ptr %31, align 8
%1628 = fsub double %1626, %1627
%1629 = load ptr, ptr %4, align 8
%1630 = load i32, ptr %9, align 4
%1631 = add nsw i32 %1630, 2
%1632 = sext i32 %1631 to i64
%1633 = getelementptr inbounds double, ptr %1629, i64 %1632
store double %1628, ptr %1633, align 8
%1634 = load double, ptr %28, align 8
%1635 = load double, ptr %32, align 8
%1636 = fadd double %1634, %1635
%1637 = load ptr, ptr %4, align 8
%1638 = load i32, ptr %9, align 4
%1639 = add nsw i32 %1638, 3
%1640 = sext i32 %1639 to i64
%1641 = getelementptr inbounds double, ptr %1637, i64 %1640
store double %1636, ptr %1641, align 8
%1642 = load double, ptr %29, align 8
%1643 = load double, ptr %34, align 8
%1644 = fadd double %1642, %1643
store double %1644, ptr %27, align 8
%1645 = load double, ptr %30, align 8
%1646 = load double, ptr %33, align 8
%1647 = fadd double %1645, %1646
store double %1647, ptr %28, align 8
%1648 = load double, ptr %18, align 8
%1649 = load double, ptr %27, align 8
%1650 = load double, ptr %17, align 8
%1651 = load double, ptr %28, align 8
%1652 = fmul double %1650, %1651
%1653 = fneg double %1652
%1654 = call double @llvm.fmuladd.f64(double %1648, double %1649, double %1653)
%1655 = load ptr, ptr %4, align 8
%1656 = load i32, ptr %10, align 4
%1657 = add nsw i32 %1656, 2
%1658 = sext i32 %1657 to i64
%1659 = getelementptr inbounds double, ptr %1655, i64 %1658
store double %1654, ptr %1659, align 8
%1660 = load double, ptr %18, align 8
%1661 = load double, ptr %28, align 8
%1662 = load double, ptr %17, align 8
%1663 = load double, ptr %27, align 8
%1664 = fmul double %1662, %1663
%1665 = call double @llvm.fmuladd.f64(double %1660, double %1661, double %1664)
%1666 = load ptr, ptr %4, align 8
%1667 = load i32, ptr %10, align 4
%1668 = add nsw i32 %1667, 3
%1669 = sext i32 %1668 to i64
%1670 = getelementptr inbounds double, ptr %1666, i64 %1669
store double %1665, ptr %1670, align 8
%1671 = load double, ptr %29, align 8
%1672 = load double, ptr %34, align 8
%1673 = fsub double %1671, %1672
store double %1673, ptr %27, align 8
%1674 = load double, ptr %30, align 8
%1675 = load double, ptr %33, align 8
%1676 = fsub double %1674, %1675
store double %1676, ptr %28, align 8
%1677 = load double, ptr %20, align 8
%1678 = load double, ptr %27, align 8
%1679 = load double, ptr %19, align 8
%1680 = load double, ptr %28, align 8
%1681 = fmul double %1679, %1680
%1682 = call double @llvm.fmuladd.f64(double %1677, double %1678, double %1681)
%1683 = load ptr, ptr %4, align 8
%1684 = load i32, ptr %11, align 4
%1685 = add nsw i32 %1684, 2
%1686 = sext i32 %1685 to i64
%1687 = getelementptr inbounds double, ptr %1683, i64 %1686
store double %1682, ptr %1687, align 8
%1688 = load double, ptr %20, align 8
%1689 = load double, ptr %28, align 8
%1690 = load double, ptr %19, align 8
%1691 = load double, ptr %27, align 8
%1692 = fmul double %1690, %1691
%1693 = fneg double %1692
%1694 = call double @llvm.fmuladd.f64(double %1688, double %1689, double %1693)
%1695 = load ptr, ptr %4, align 8
%1696 = load i32, ptr %11, align 4
%1697 = add nsw i32 %1696, 3
%1698 = sext i32 %1697 to i64
%1699 = getelementptr inbounds double, ptr %1695, i64 %1698
store double %1694, ptr %1699, align 8
ret void
}
; Function Attrs: nounwind
declare double @cos(double noundef) #1
; Function Attrs: nounwind
declare double @sin(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #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 = { 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 #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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"}
|
; ModuleID = '/tmp/tmps_ysklt3.c'
source_filename = "/tmp/tmps_ysklt3.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 @exxit(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 @exit(i32 noundef %3) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(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 = { 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 #2 = { 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/tmps_ysklt3.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 @exxit(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 @exit(i32 noundef %3) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(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 = { 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 #2 = { 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/tmp6yfozx48.c'
source_filename = "/tmp/tmp6yfozx48.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 @LongitudePerihelion() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double 3.500000e+01, ptr %3, align 8
%5 = load double, ptr %3, align 8
%6 = fadd double %5, 3.218400e+01
store double %6, ptr %3, align 8
%7 = load double, ptr %3, align 8
%8 = fdiv double %7, 3.155760e+09
store double %8, ptr %3, align 8
%9 = call double (...) @JDNow()
store double %9, ptr %2, align 8
%10 = load double, ptr %2, align 8
%11 = fsub double %10, 0x4142B42C80000000
%12 = fdiv double %11, 3.652500e+04
store double %12, ptr %4, align 8
%13 = load double, ptr %4, align 8
%14 = load double, ptr %3, align 8
%15 = fadd double %13, %14
store double %15, ptr %4, align 8
%16 = load double, ptr %4, align 8
%17 = call double @llvm.fmuladd.f64(double 7.195300e-01, double %16, double 0x4059BBFD8ADAB9F5)
%18 = load double, ptr %4, align 8
%19 = fmul double 4.600000e-04, %18
%20 = load double, ptr %4, align 8
%21 = call double @llvm.fmuladd.f64(double %19, double %20, double %17)
store double %21, ptr %1, align 8
%22 = load double, ptr %1, align 8
%23 = call double @Map360(double noundef %22)
store double %23, ptr %1, align 8
%24 = load double, ptr %1, align 8
ret double %24
}
declare double @JDNow(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @Map360(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) }
!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/tmp6yfozx48.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 @LongitudePerihelion() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double 3.500000e+01, ptr %3, align 8
%5 = load double, ptr %3, align 8
%6 = fadd double %5, 3.218400e+01
store double %6, ptr %3, align 8
%7 = load double, ptr %3, align 8
%8 = fdiv double %7, 3.155760e+09
store double %8, ptr %3, align 8
%9 = call double (...) @JDNow()
store double %9, ptr %2, align 8
%10 = load double, ptr %2, align 8
%11 = fsub double %10, 0x4142B42C80000000
%12 = fdiv double %11, 3.652500e+04
store double %12, ptr %4, align 8
%13 = load double, ptr %4, align 8
%14 = load double, ptr %3, align 8
%15 = fadd double %13, %14
store double %15, ptr %4, align 8
%16 = load double, ptr %4, align 8
%17 = call double @llvm.fmuladd.f64(double 7.195300e-01, double %16, double 0x4059BBFD8ADAB9F5)
%18 = load double, ptr %4, align 8
%19 = fmul double 4.600000e-04, %18
%20 = load double, ptr %4, align 8
%21 = call double @llvm.fmuladd.f64(double %19, double %20, double %17)
store double %21, ptr %1, align 8
%22 = load double, ptr %1, align 8
%23 = call double @Map360(double noundef %22)
store double %23, ptr %1, align 8
%24 = load double, ptr %1, align 8
ret double %24
}
declare double @JDNow(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @Map360(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) }
!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/tmppy_7hoox.c'
source_filename = "/tmp/tmppy_7hoox.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.timespec = type { i32, i32 }
@.str = private unnamed_addr constant [6 x i8] c"%D %T\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"Current time: %s.%09ld UTC\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca %struct.timespec, align 4
%2 = alloca [100 x i8], align 16
%3 = call i32 @timespec_get(ptr noundef %1, i32 noundef 0)
%4 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%5 = getelementptr inbounds %struct.timespec, ptr %1, i32 0, i32 1
%6 = call i32 @gmtime(ptr noundef %5)
%7 = call i32 @strftime(ptr noundef %4, i32 noundef 100, ptr noundef @.str, i32 noundef %6)
%8 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%9 = getelementptr inbounds %struct.timespec, ptr %1, i32 0, i32 0
%10 = load i32, ptr %9, align 4
%11 = call i32 @printf(ptr noundef @.str.1, ptr noundef %8, i32 noundef %10)
ret i32 0
}
declare i32 @timespec_get(ptr noundef, i32 noundef) #1
declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @gmtime(ptr noundef) #1
declare i32 @printf(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/tmppy_7hoox.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.timespec = type { i32, i32 }
@.str = private unnamed_addr constant [6 x i8] c"%D %T\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"Current time: %s.%09ld UTC\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca %struct.timespec, align 4
%2 = alloca [100 x i8], align 16
%3 = call i32 @timespec_get(ptr noundef %1, i32 noundef 0)
%4 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%5 = getelementptr inbounds %struct.timespec, ptr %1, i32 0, i32 1
%6 = call i32 @gmtime(ptr noundef %5)
%7 = call i32 @strftime(ptr noundef %4, i32 noundef 100, ptr noundef @.str, i32 noundef %6)
%8 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%9 = getelementptr inbounds %struct.timespec, ptr %1, i32 0, i32 0
%10 = load i32, ptr %9, align 4
%11 = call i32 @printf(ptr noundef @.str.1, ptr noundef %8, i32 noundef %10)
ret i32 0
}
declare i32 @timespec_get(ptr noundef, i32 noundef) #1
declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @gmtime(ptr noundef) #1
declare i32 @printf(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/tmpenwwn0j5.c'
source_filename = "/tmp/tmpenwwn0j5.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"/opt/glist\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"/bin/gdefer\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Error: %s: %s\0A\00", align 1
@errno = external global i32, align 4
; 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 [1024 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%9 = call i32 @strncpy(ptr noundef %8, ptr noundef @.str, i32 noundef 1024)
%10 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%11 = call i32 @strncat(ptr noundef %10, ptr noundef @.str.1, i32 noundef 1024)
%12 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%13 = load ptr, ptr %5, align 8
%14 = call i32 @execv(ptr noundef %12, ptr noundef %13)
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %22
17: ; preds = %2
%18 = load i32, ptr @errno, align 4
%19 = call ptr @strerror(i32 noundef %18)
%20 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%21 = call i32 @printf(ptr noundef @.str.2, ptr noundef %19, ptr noundef %20)
store i32 1, ptr %3, align 4
br label %23
22: ; preds = %2
store i32 0, ptr %3, align 4
br label %23
23: ; preds = %22, %17
%24 = load i32, ptr %3, align 4
ret i32 %24
}
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @execv(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(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/tmpenwwn0j5.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"/opt/glist\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"/bin/gdefer\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Error: %s: %s\0A\00", align 1
@errno = external global i32, align 4
; 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 [1024 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%9 = call i32 @strncpy(ptr noundef %8, ptr noundef @.str, i32 noundef 1024)
%10 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%11 = call i32 @strncat(ptr noundef %10, ptr noundef @.str.1, i32 noundef 1024)
%12 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%13 = load ptr, ptr %5, align 8
%14 = call i32 @execv(ptr noundef %12, ptr noundef %13)
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %22
17: ; preds = %2
%18 = load i32, ptr @errno, align 4
%19 = call ptr @strerror(i32 noundef %18)
%20 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%21 = call i32 @printf(ptr noundef @.str.2, ptr noundef %19, ptr noundef %20)
store i32 1, ptr %3, align 4
br label %23
22: ; preds = %2
store i32 0, ptr %3, align 4
br label %23
23: ; preds = %22, %17
%24 = load i32, ptr %3, align 4
ret i32 %24
}
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @execv(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(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/tmp_u8f4xbf.c'
source_filename = "/tmp/tmp_u8f4xbf.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 @strcpy(ptr noalias noundef %0, ptr noalias 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 @stpcpy(ptr noundef %5, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
ret ptr %8
}
declare i32 @stpcpy(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/tmp_u8f4xbf.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 @strcpy(ptr noalias noundef %0, ptr noalias 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 @stpcpy(ptr noundef %5, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
ret ptr %8
}
declare i32 @stpcpy(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/tmpqpd1pzmn.c'
source_filename = "/tmp/tmpqpd1pzmn.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 [22 x i8] c"Usage: jscal <device>\00", align 1
@.str.1 = private unnamed_addr constant [60 x i8] c" -c --calibrate Calibrate the joystick\00", align 1
@.str.2 = private unnamed_addr constant [55 x i8] c" -h --help Display this help\00", align 1
@.str.3 = private unnamed_addr constant [73 x i8] c" -s <x,y,z...> --set-correction Sets correction to specified values\00", align 1
@.str.4 = private unnamed_addr constant [78 x i8] c" -t --test-center Tests if joystick is corectly calibrated\00", align 1
@.str.5 = private unnamed_addr constant [75 x i8] c" returns 0 on success, see the jscal\00", align 1
@.str.6 = private unnamed_addr constant [64 x i8] c" manpage for error values\00", align 1
@.str.7 = private unnamed_addr constant [64 x i8] c" -V --version Prints the version numbers\00", align 1
@.str.8 = private unnamed_addr constant [76 x i8] c" -p --print-correction Prints the current settings as a jscal\00", align 1
@.str.9 = private unnamed_addr constant [52 x i8] c" command line\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 @putchar(i8 noundef signext 10)
%2 = call i32 @puts(ptr noundef @.str)
%3 = call i32 @putchar(i8 noundef signext 10)
%4 = call i32 @puts(ptr noundef @.str.1)
%5 = call i32 @puts(ptr noundef @.str.2)
%6 = call i32 @puts(ptr noundef @.str.3)
%7 = call i32 @puts(ptr noundef @.str.4)
%8 = call i32 @puts(ptr noundef @.str.5)
%9 = call i32 @puts(ptr noundef @.str.6)
%10 = call i32 @puts(ptr noundef @.str.7)
%11 = call i32 @puts(ptr noundef @.str.8)
%12 = call i32 @puts(ptr noundef @.str.9)
%13 = call i32 @putchar(i8 noundef signext 10)
ret void
}
declare i32 @putchar(i8 noundef signext) #1
declare i32 @puts(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/tmpqpd1pzmn.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 [22 x i8] c"Usage: jscal <device>\00", align 1
@.str.1 = private unnamed_addr constant [60 x i8] c" -c --calibrate Calibrate the joystick\00", align 1
@.str.2 = private unnamed_addr constant [55 x i8] c" -h --help Display this help\00", align 1
@.str.3 = private unnamed_addr constant [73 x i8] c" -s <x,y,z...> --set-correction Sets correction to specified values\00", align 1
@.str.4 = private unnamed_addr constant [78 x i8] c" -t --test-center Tests if joystick is corectly calibrated\00", align 1
@.str.5 = private unnamed_addr constant [75 x i8] c" returns 0 on success, see the jscal\00", align 1
@.str.6 = private unnamed_addr constant [64 x i8] c" manpage for error values\00", align 1
@.str.7 = private unnamed_addr constant [64 x i8] c" -V --version Prints the version numbers\00", align 1
@.str.8 = private unnamed_addr constant [76 x i8] c" -p --print-correction Prints the current settings as a jscal\00", align 1
@.str.9 = private unnamed_addr constant [52 x i8] c" command line\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 @putchar(i8 noundef signext 10)
%2 = call i32 @puts(ptr noundef @.str)
%3 = call i32 @putchar(i8 noundef signext 10)
%4 = call i32 @puts(ptr noundef @.str.1)
%5 = call i32 @puts(ptr noundef @.str.2)
%6 = call i32 @puts(ptr noundef @.str.3)
%7 = call i32 @puts(ptr noundef @.str.4)
%8 = call i32 @puts(ptr noundef @.str.5)
%9 = call i32 @puts(ptr noundef @.str.6)
%10 = call i32 @puts(ptr noundef @.str.7)
%11 = call i32 @puts(ptr noundef @.str.8)
%12 = call i32 @puts(ptr noundef @.str.9)
%13 = call i32 @putchar(i8 noundef signext 10)
ret void
}
declare i32 @putchar(i8 noundef signext) #1
declare i32 @puts(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/tmp6pxjw_94.c'
source_filename = "/tmp/tmp6pxjw_94.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"Weather Analyzer\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"=================\0A\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c"Please enter a positive number of days: \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"DAY: %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"Enter today's high: \00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.7 = private unnamed_addr constant [20 x i8] c"Enter today's low: \00", align 1
@.str.8 = private unnamed_addr constant [50 x i8] c"Invalid Input! Must be <= than high temperature.\0A\00", align 1
@.str.9 = private unnamed_addr constant [69 x i8] c"Enter today's conditions (s: sunny, c: cloudy, p: precipicitation): \00", align 1
@.str.10 = private unnamed_addr constant [4 x i8] c" %c\00", align 1
@.str.11 = private unnamed_addr constant [38 x i8] c"Today's average temperature is: %.2f\0A\00", align 1
@.str.12 = private unnamed_addr constant [2 x i8] c"@\00", align 1
@.str.13 = private unnamed_addr constant [2 x i8] c"~\00", align 1
@.str.14 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.15 = private unnamed_addr constant [2 x i8] c";\00", align 1
@.str.16 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.17 = private unnamed_addr constant [43 x i8] c"Average for all %d days is: %.2f degrees.\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 float, align 4
%4 = alloca float, align 4
%5 = alloca i8, align 1
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 20, ptr %8, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %13
13: ; preds = %16, %0
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%15 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %2)
br label %16
16: ; preds = %13
%17 = load i32, ptr %2, align 4
%18 = icmp sle i32 %17, 0
br i1 %18, label %13, label %19, !llvm.loop !6
19: ; preds = %16
store i32 1, ptr %9, align 4
br label %20
20: ; preds = %113, %19
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %2, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %24, label %116
24: ; preds = %20
%25 = load i32, ptr %9, align 4
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %25)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%28 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %3)
br label %29
29: ; preds = %38, %24
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%31 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %4)
%32 = load float, ptr %4, align 4
%33 = load float, ptr %3, align 4
%34 = fcmp ogt float %32, %33
br i1 %34, label %35, label %37
35: ; preds = %29
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %37
37: ; preds = %35, %29
br label %38
38: ; preds = %37
%39 = load float, ptr %4, align 4
%40 = load float, ptr %3, align 4
%41 = fcmp ogt float %39, %40
br i1 %41, label %29, label %42, !llvm.loop !8
42: ; preds = %38
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%44 = call i32 (ptr, ...) @scanf(ptr noundef @.str.10, ptr noundef %5)
%45 = load float, ptr %3, align 4
%46 = load float, ptr %4, align 4
%47 = fadd float %45, %46
%48 = fdiv float %47, 2.000000e+00
store float %48, ptr %6, align 4
%49 = load float, ptr %6, align 4
%50 = fpext float %49 to double
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, double noundef %50)
%52 = load i8, ptr %5, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 115
br i1 %54, label %55, label %65
55: ; preds = %42
store i32 0, ptr %10, align 4
br label %56
56: ; preds = %61, %55
%57 = load i32, ptr %10, align 4
%58 = icmp slt i32 %57, 20
br i1 %58, label %59, label %64
59: ; preds = %56
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
br label %61
61: ; preds = %59
%62 = load i32, ptr %10, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %10, align 4
br label %56, !llvm.loop !9
64: ; preds = %56
br label %108
65: ; preds = %42
%66 = load i8, ptr %5, align 1
%67 = sext i8 %66 to i32
%68 = icmp eq i32 %67, 99
br i1 %68, label %69, label %79
69: ; preds = %65
store i32 0, ptr %10, align 4
br label %70
70: ; preds = %75, %69
%71 = load i32, ptr %10, align 4
%72 = icmp slt i32 %71, 20
br i1 %72, label %73, label %78
73: ; preds = %70
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
br label %75
75: ; preds = %73
%76 = load i32, ptr %10, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %10, align 4
br label %70, !llvm.loop !10
78: ; preds = %70
br label %107
79: ; preds = %65
%80 = load i8, ptr %5, align 1
%81 = sext i8 %80 to i32
%82 = icmp eq i32 %81, 112
br i1 %82, label %83, label %96
83: ; preds = %79
%84 = load float, ptr %6, align 4
%85 = fcmp ole float %84, 0.000000e+00
br i1 %85, label %86, label %96
86: ; preds = %83
store i32 0, ptr %10, align 4
br label %87
87: ; preds = %92, %86
%88 = load i32, ptr %10, align 4
%89 = icmp slt i32 %88, 20
br i1 %89, label %90, label %95
90: ; preds = %87
%91 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
br label %92
92: ; preds = %90
%93 = load i32, ptr %10, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %10, align 4
br label %87, !llvm.loop !11
95: ; preds = %87
br label %106
96: ; preds = %83, %79
store i32 0, ptr %10, align 4
br label %97
97: ; preds = %102, %96
%98 = load i32, ptr %10, align 4
%99 = icmp slt i32 %98, 20
br i1 %99, label %100, label %105
100: ; preds = %97
%101 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
br label %102
102: ; preds = %100
%103 = load i32, ptr %10, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %10, align 4
br label %97, !llvm.loop !12
105: ; preds = %97
br label %106
106: ; preds = %105, %95
br label %107
107: ; preds = %106, %78
br label %108
108: ; preds = %107, %64
%109 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
%110 = load float, ptr %6, align 4
%111 = load float, ptr %7, align 4
%112 = fadd float %111, %110
store float %112, ptr %7, align 4
store float 0.000000e+00, ptr %6, align 4
br label %113
113: ; preds = %108
%114 = load i32, ptr %9, align 4
%115 = add nsw i32 %114, 1
store i32 %115, ptr %9, align 4
br label %20, !llvm.loop !13
116: ; preds = %20
%117 = load i32, ptr %2, align 4
%118 = load float, ptr %7, align 4
%119 = load i32, ptr %2, align 4
%120 = sitofp i32 %119 to float
%121 = fdiv float %118, %120
%122 = fpext float %121 to double
%123 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %117, double noundef %122)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(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}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6pxjw_94.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"Weather Analyzer\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"=================\0A\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c"Please enter a positive number of days: \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"DAY: %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"Enter today's high: \00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.7 = private unnamed_addr constant [20 x i8] c"Enter today's low: \00", align 1
@.str.8 = private unnamed_addr constant [50 x i8] c"Invalid Input! Must be <= than high temperature.\0A\00", align 1
@.str.9 = private unnamed_addr constant [69 x i8] c"Enter today's conditions (s: sunny, c: cloudy, p: precipicitation): \00", align 1
@.str.10 = private unnamed_addr constant [4 x i8] c" %c\00", align 1
@.str.11 = private unnamed_addr constant [38 x i8] c"Today's average temperature is: %.2f\0A\00", align 1
@.str.12 = private unnamed_addr constant [2 x i8] c"@\00", align 1
@.str.13 = private unnamed_addr constant [2 x i8] c"~\00", align 1
@.str.14 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.15 = private unnamed_addr constant [2 x i8] c";\00", align 1
@.str.16 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.17 = private unnamed_addr constant [43 x i8] c"Average for all %d days is: %.2f degrees.\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 float, align 4
%4 = alloca float, align 4
%5 = alloca i8, align 1
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 20, ptr %8, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %13
13: ; preds = %16, %0
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%15 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %2)
br label %16
16: ; preds = %13
%17 = load i32, ptr %2, align 4
%18 = icmp sle i32 %17, 0
br i1 %18, label %13, label %19, !llvm.loop !6
19: ; preds = %16
store i32 1, ptr %9, align 4
%20 = load i32, ptr %9, align 4
%21 = load i32, ptr %2, align 4
%22 = icmp sle i32 %20, %21
br i1 %22, label %.lr.ph11, label %122
.lr.ph11: ; preds = %19
br label %23
23: ; preds = %.lr.ph11, %116
%24 = load i32, ptr %9, align 4
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %24)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%27 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %3)
br label %28
28: ; preds = %37, %23
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%30 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %4)
%31 = load float, ptr %4, align 4
%32 = load float, ptr %3, align 4
%33 = fcmp ogt float %31, %32
br i1 %33, label %34, label %36
34: ; preds = %28
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %36
36: ; preds = %34, %28
br label %37
37: ; preds = %36
%38 = load float, ptr %4, align 4
%39 = load float, ptr %3, align 4
%40 = fcmp ogt float %38, %39
br i1 %40, label %28, label %41, !llvm.loop !8
41: ; preds = %37
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%43 = call i32 (ptr, ...) @scanf(ptr noundef @.str.10, ptr noundef %5)
%44 = load float, ptr %3, align 4
%45 = load float, ptr %4, align 4
%46 = fadd float %44, %45
%47 = fdiv float %46, 2.000000e+00
store float %47, ptr %6, align 4
%48 = load float, ptr %6, align 4
%49 = fpext float %48 to double
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, double noundef %49)
%51 = load i8, ptr %5, align 1
%52 = sext i8 %51 to i32
%53 = icmp eq i32 %52, 115
br i1 %53, label %54, label %65
54: ; preds = %41
store i32 0, ptr %10, align 4
%55 = load i32, ptr %10, align 4
%56 = icmp slt i32 %55, 20
br i1 %56, label %.lr.ph8, label %64
.lr.ph8: ; preds = %54
br label %57
57: ; preds = %.lr.ph8, %59
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
br label %59
59: ; preds = %57
%60 = load i32, ptr %10, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %10, align 4
%62 = load i32, ptr %10, align 4
%63 = icmp slt i32 %62, 20
br i1 %63, label %57, label %._crit_edge9, !llvm.loop !9
._crit_edge9: ; preds = %59
br label %64
64: ; preds = %._crit_edge9, %54
br label %111
65: ; preds = %41
%66 = load i8, ptr %5, align 1
%67 = sext i8 %66 to i32
%68 = icmp eq i32 %67, 99
br i1 %68, label %69, label %80
69: ; preds = %65
store i32 0, ptr %10, align 4
%70 = load i32, ptr %10, align 4
%71 = icmp slt i32 %70, 20
br i1 %71, label %.lr.ph5, label %79
.lr.ph5: ; preds = %69
br label %72
72: ; preds = %.lr.ph5, %74
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
br label %74
74: ; preds = %72
%75 = load i32, ptr %10, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %10, align 4
%77 = load i32, ptr %10, align 4
%78 = icmp slt i32 %77, 20
br i1 %78, label %72, label %._crit_edge6, !llvm.loop !10
._crit_edge6: ; preds = %74
br label %79
79: ; preds = %._crit_edge6, %69
br label %110
80: ; preds = %65
%81 = load i8, ptr %5, align 1
%82 = sext i8 %81 to i32
%83 = icmp eq i32 %82, 112
br i1 %83, label %84, label %98
84: ; preds = %80
%85 = load float, ptr %6, align 4
%86 = fcmp ole float %85, 0.000000e+00
br i1 %86, label %87, label %98
87: ; preds = %84
store i32 0, ptr %10, align 4
%88 = load i32, ptr %10, align 4
%89 = icmp slt i32 %88, 20
br i1 %89, label %.lr.ph2, label %97
.lr.ph2: ; preds = %87
br label %90
90: ; preds = %.lr.ph2, %92
%91 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
br label %92
92: ; preds = %90
%93 = load i32, ptr %10, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %10, align 4
%95 = load i32, ptr %10, align 4
%96 = icmp slt i32 %95, 20
br i1 %96, label %90, label %._crit_edge3, !llvm.loop !11
._crit_edge3: ; preds = %92
br label %97
97: ; preds = %._crit_edge3, %87
br label %109
98: ; preds = %84, %80
store i32 0, ptr %10, align 4
%99 = load i32, ptr %10, align 4
%100 = icmp slt i32 %99, 20
br i1 %100, label %.lr.ph, label %108
.lr.ph: ; preds = %98
br label %101
101: ; preds = %.lr.ph, %103
%102 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
br label %103
103: ; preds = %101
%104 = load i32, ptr %10, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %10, align 4
%106 = load i32, ptr %10, align 4
%107 = icmp slt i32 %106, 20
br i1 %107, label %101, label %._crit_edge, !llvm.loop !12
._crit_edge: ; preds = %103
br label %108
108: ; preds = %._crit_edge, %98
br label %109
109: ; preds = %108, %97
br label %110
110: ; preds = %109, %79
br label %111
111: ; preds = %110, %64
%112 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
%113 = load float, ptr %6, align 4
%114 = load float, ptr %7, align 4
%115 = fadd float %114, %113
store float %115, ptr %7, align 4
store float 0.000000e+00, ptr %6, align 4
br label %116
116: ; preds = %111
%117 = load i32, ptr %9, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr %9, align 4
%119 = load i32, ptr %9, align 4
%120 = load i32, ptr %2, align 4
%121 = icmp sle i32 %119, %120
br i1 %121, label %23, label %._crit_edge12, !llvm.loop !13
._crit_edge12: ; preds = %116
br label %122
122: ; preds = %._crit_edge12, %19
%123 = load i32, ptr %2, align 4
%124 = load float, ptr %7, align 4
%125 = load i32, ptr %2, align 4
%126 = sitofp i32 %125 to float
%127 = fdiv float %124, %126
%128 = fpext float %127 to double
%129 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %123, double noundef %128)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(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}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
|
; ModuleID = '/tmp/tmp83q115si.c'
source_filename = "/tmp/tmp83q115si.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 [29 x i8] c"isspace should be 0 for 0x89\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isspace_0x89() #0 {
%1 = call i64 @isspace(i32 noundef 137)
%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 690, 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/tmp83q115si.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 [29 x i8] c"isspace should be 0 for 0x89\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isspace_0x89() #0 {
%1 = call i64 @isspace(i32 noundef 137)
%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 690, 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/tmpx4vbxt2i.c'
source_filename = "/tmp/tmpx4vbxt2i.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_args(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %5, align 8
%8 = getelementptr inbounds ptr, ptr %7, i64 1
%9 = load ptr, ptr %8, align 8
%10 = call i32 @atoi(ptr noundef %9)
%11 = load ptr, ptr %6, align 8
store i32 %10, ptr %11, align 4
ret void
}
declare i32 @atoi(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/tmpx4vbxt2i.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_args(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %5, align 8
%8 = getelementptr inbounds ptr, ptr %7, i64 1
%9 = load ptr, ptr %8, align 8
%10 = call i32 @atoi(ptr noundef %9)
%11 = load ptr, ptr %6, align 8
store i32 %10, ptr %11, align 4
ret void
}
declare i32 @atoi(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/tmp4z0iuqwz.c'
source_filename = "/tmp/tmp4z0iuqwz.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
!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/tmp4z0iuqwz.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
!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/tmp7lpirk08.c'
source_filename = "/tmp/tmp7lpirk08.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/tmp7lpirk08.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/tmpub9ss4o1.c'
source_filename = "/tmp/tmpub9ss4o1.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 @show_char(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%5 = load i8, ptr %4, align 1
%6 = load ptr, ptr %3, align 8
%7 = call i32 @fputc(i8 noundef signext %5, ptr noundef %6)
ret void
}
declare i32 @fputc(i8 noundef signext, 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/tmpub9ss4o1.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 @show_char(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%5 = load i8, ptr %4, align 1
%6 = load ptr, ptr %3, align 8
%7 = call i32 @fputc(i8 noundef signext %5, ptr noundef %6)
ret void
}
declare i32 @fputc(i8 noundef signext, 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/tmpevgsd4w6.c'
source_filename = "/tmp/tmpevgsd4w6.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"astG3DLine\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @astG3DLine(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = call i32 @Report(ptr noundef @.str)
ret i32 0
}
declare i32 @Report(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/tmpevgsd4w6.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"astG3DLine\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @astG3DLine(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = call i32 @Report(ptr noundef @.str)
ret i32 0
}
declare i32 @Report(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/tmpqidwdisp.c'
source_filename = "/tmp/tmpqidwdisp.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 @oscap_string_free(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 @oscap_buffer_free(ptr noundef %3)
ret void
}
declare i32 @oscap_buffer_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/tmpqidwdisp.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 @oscap_string_free(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 @oscap_buffer_free(ptr noundef %3)
ret void
}
declare i32 @oscap_buffer_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/tmpsnyzj3pz.c'
source_filename = "/tmp/tmpsnyzj3pz.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"%#x\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 @print(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
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %25, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %28
10: ; preds = %6
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16)
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
%20 = load i32, ptr %3, align 4
%21 = icmp ne i32 %19, %20
br i1 %21, label %22, label %24
22: ; preds = %10
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %24
24: ; preds = %22, %10
br label %25
25: ; preds = %24
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %5, align 4
br label %6, !llvm.loop !6
28: ; preds = %6
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsnyzj3pz.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"%#x\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 @print(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
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %30
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %24
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15)
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, 1
%19 = load i32, ptr %3, align 4
%20 = icmp ne i32 %18, %19
br i1 %20, label %21, label %23
21: ; preds = %9
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %23
23: ; preds = %21, %9
br label %24
24: ; preds = %23
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %5, align 4
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %3, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %2
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpj0c2on6w.c'
source_filename = "/tmp/tmpj0c2on6w.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"strdup: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xstrdup(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 ptr @strdup(ptr noundef %3)
store ptr %4, ptr %2, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = load i32, ptr @errno, align 4
%8 = call i32 @strerror(i32 noundef %7)
%9 = call i32 @die(ptr noundef @.str, i32 noundef %8)
br label %10
10: ; preds = %6, %1
%11 = load ptr, ptr %2, align 8
ret ptr %11
}
declare ptr @strdup(ptr noundef) #1
declare i32 @die(ptr noundef, i32 noundef) #1
declare i32 @strerror(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/tmpj0c2on6w.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"strdup: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xstrdup(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 ptr @strdup(ptr noundef %3)
store ptr %4, ptr %2, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = load i32, ptr @errno, align 4
%8 = call i32 @strerror(i32 noundef %7)
%9 = call i32 @die(ptr noundef @.str, i32 noundef %8)
br label %10
10: ; preds = %6, %1
%11 = load ptr, ptr %2, align 8
ret ptr %11
}
declare ptr @strdup(ptr noundef) #1
declare i32 @die(ptr noundef, i32 noundef) #1
declare i32 @strerror(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/tmplkejbreo.c'
source_filename = "/tmp/tmplkejbreo.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 @foo(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 @bar(i32 noundef %5, i32 noundef %6)
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 @bar(i32 noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @bar(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/tmplkejbreo.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 @foo(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 @bar(i32 noundef %5, i32 noundef %6)
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 @bar(i32 noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @bar(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/tmp_8fi2v7i.c'
source_filename = "/tmp/tmp_8fi2v7i.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 @perf_uncore_setup(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = call i64 @perf_uncore_start(i32 noundef %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 -1, ptr %2, align 4
br label %9
8: ; preds = %1
store i32 0, ptr %2, align 4
br label %9
9: ; preds = %8, %7
%10 = load i32, ptr %2, align 4
ret i32 %10
}
declare i64 @perf_uncore_start(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_8fi2v7i.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 @perf_uncore_setup(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = call i64 @perf_uncore_start(i32 noundef %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 -1, ptr %2, align 4
br label %9
8: ; preds = %1
store i32 0, ptr %2, align 4
br label %9
9: ; preds = %8, %7
%10 = load i32, ptr %2, align 4
ret i32 %10
}
declare i64 @perf_uncore_start(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/tmpeqbjgtqn.c'
source_filename = "/tmp/tmpeqbjgtqn.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 @ethash_find_largest_prime(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
store i32 %5, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 2
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 0, ptr %2, align 4
br label %31
9: ; preds = %1
%10 = load i32, ptr %4, align 4
%11 = icmp eq i32 %10, 2
br i1 %11, label %12, label %13
12: ; preds = %9
store i32 2, ptr %2, align 4
br label %31
13: ; preds = %9
%14 = load i32, ptr %4, align 4
%15 = srem i32 %14, 2
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %13
%18 = load i32, ptr %4, align 4
%19 = add nsw i32 %18, -1
store i32 %19, ptr %4, align 4
br label %20
20: ; preds = %17, %13
br label %21
21: ; preds = %26, %20
%22 = load i32, ptr %4, align 4
%23 = call i32 @is_odd_prime(i32 noundef %22)
%24 = icmp ne i32 %23, 0
%25 = xor i1 %24, true
br i1 %25, label %26, label %29
26: ; preds = %21
%27 = load i32, ptr %4, align 4
%28 = sub nsw i32 %27, 2
store i32 %28, ptr %4, align 4
br label %21, !llvm.loop !6
29: ; preds = %21
%30 = load i32, ptr %4, align 4
store i32 %30, ptr %2, align 4
br label %31
31: ; preds = %29, %12, %8
%32 = load i32, ptr %2, align 4
ret i32 %32
}
declare i32 @is_odd_prime(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/tmpeqbjgtqn.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 @ethash_find_largest_prime(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
store i32 %5, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 2
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 0, ptr %2, align 4
br label %34
9: ; preds = %1
%10 = load i32, ptr %4, align 4
%11 = icmp eq i32 %10, 2
br i1 %11, label %12, label %13
12: ; preds = %9
store i32 2, ptr %2, align 4
br label %34
13: ; preds = %9
%14 = load i32, ptr %4, align 4
%15 = srem i32 %14, 2
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %13
%18 = load i32, ptr %4, align 4
%19 = add nsw i32 %18, -1
store i32 %19, ptr %4, align 4
br label %20
20: ; preds = %17, %13
%21 = load i32, ptr %4, align 4
%22 = call i32 @is_odd_prime(i32 noundef %21)
%23 = icmp ne i32 %22, 0
%24 = xor i1 %23, true
br i1 %24, label %.lr.ph, label %32
.lr.ph: ; preds = %20
br label %25
25: ; preds = %.lr.ph, %25
%26 = load i32, ptr %4, align 4
%27 = sub nsw i32 %26, 2
store i32 %27, ptr %4, align 4
%28 = load i32, ptr %4, align 4
%29 = call i32 @is_odd_prime(i32 noundef %28)
%30 = icmp ne i32 %29, 0
%31 = xor i1 %30, true
br i1 %31, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %32
32: ; preds = %._crit_edge, %20
%33 = load i32, ptr %4, align 4
store i32 %33, ptr %2, align 4
br label %34
34: ; preds = %32, %12, %8
%35 = load i32, ptr %2, align 4
ret i32 %35
}
declare i32 @is_odd_prime(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/tmpovb_bbx7.c'
source_filename = "/tmp/tmpovb_bbx7.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 @SNDDummyUnMuteAudio() #0 {
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/tmpovb_bbx7.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 @SNDDummyUnMuteAudio() #0 {
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/tmpxr1p2gmh.c'
source_filename = "/tmp/tmpxr1p2gmh.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.dirent = type { ptr }
@.str = private unnamed_addr constant [30 x i8] c"[START]Loading ETF values...\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"1993-01-29\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"c:\\downloaded_data\\USD\\\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"..\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [2 x i8] c",\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.8 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.9 = private unnamed_addr constant [34 x i8] c"[START]Normalizing ETF values...\0A\00", align 1
@.str.10 = private unnamed_addr constant [33 x i8] c"[DONE]Normalizing ETF values...\0A\00", align 1
@.str.11 = private unnamed_addr constant [29 x i8] c"[DONE]Loading ETF values...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @load_etf_values(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%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 ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca [80 x i8], align 16
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca float, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%20 = call i32 @printf(ptr noundef @.str)
%21 = call i32 @get_time(ptr noundef @.str.1)
store i32 %21, ptr %7, align 4
%22 = call ptr @opendir(ptr noundef @.str.2)
store ptr %22, ptr %5, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %24, label %183
24: ; preds = %2
store i32 0, ptr %8, align 4
br label %25
25: ; preds = %175, %41, %24
%26 = load ptr, ptr %5, align 8
%27 = call ptr @readdir(ptr noundef %26)
store ptr %27, ptr %6, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %29, label %180
29: ; preds = %25
%30 = load ptr, ptr %6, align 8
%31 = getelementptr inbounds %struct.dirent, ptr %30, i32 0, i32 0
%32 = load ptr, ptr %31, align 8
%33 = call i32 @strcmp(ptr noundef %32, ptr noundef @.str.3)
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %41
35: ; preds = %29
%36 = load ptr, ptr %6, align 8
%37 = getelementptr inbounds %struct.dirent, ptr %36, i32 0, i32 0
%38 = load ptr, ptr %37, align 8
%39 = call i32 @strcmp(ptr noundef %38, ptr noundef @.str.4)
%40 = icmp ne i32 %39, 0
br i1 %40, label %42, label %41
41: ; preds = %35, %29
br label %25, !llvm.loop !6
42: ; preds = %35
%43 = load ptr, ptr %6, align 8
%44 = getelementptr inbounds %struct.dirent, ptr %43, i32 0, i32 0
%45 = load ptr, ptr %44, align 8
%46 = call i32 @strlen(ptr noundef %45)
%47 = sub nsw i32 %46, 3
store i32 %47, ptr %9, align 4
%48 = load i32, ptr %9, align 4
%49 = sext i32 %48 to i64
%50 = mul i64 %49, 1
%51 = trunc i64 %50 to i32
%52 = call ptr @malloc(i32 noundef %51)
store ptr %52, ptr %10, align 8
%53 = load ptr, ptr %10, align 8
%54 = load ptr, ptr %6, align 8
%55 = getelementptr inbounds %struct.dirent, ptr %54, i32 0, i32 0
%56 = load ptr, ptr %55, align 8
%57 = load ptr, ptr %6, align 8
%58 = getelementptr inbounds %struct.dirent, ptr %57, i32 0, i32 0
%59 = load ptr, ptr %58, align 8
%60 = call i32 @strlen(ptr noundef %59)
%61 = sub nsw i32 %60, 4
%62 = call i32 @memcpy(ptr noundef %53, ptr noundef %56, i32 noundef %61)
%63 = load ptr, ptr %10, align 8
%64 = load ptr, ptr %6, align 8
%65 = getelementptr inbounds %struct.dirent, ptr %64, i32 0, i32 0
%66 = load ptr, ptr %65, align 8
%67 = call i32 @strlen(ptr noundef %66)
%68 = sub nsw i32 %67, 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %63, i64 %69
store i8 0, ptr %70, align 1
%71 = load ptr, ptr %10, align 8
%72 = call i32 @strlen(ptr noundef %71)
%73 = sext i32 %72 to i64
%74 = mul i64 %73, 1
%75 = trunc i64 %74 to i32
%76 = call ptr @malloc(i32 noundef %75)
%77 = load ptr, ptr %4, align 8
%78 = load i32, ptr %8, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds ptr, ptr %77, i64 %79
store ptr %76, ptr %80, align 8
%81 = load ptr, ptr %4, align 8
%82 = load i32, ptr %8, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds ptr, ptr %81, i64 %83
%85 = load ptr, ptr %84, align 8
%86 = load ptr, ptr %10, align 8
%87 = load ptr, ptr %10, align 8
%88 = call i32 @strlen(ptr noundef %87)
%89 = add nsw i32 %88, 1
%90 = call i32 @memcpy(ptr noundef %85, ptr noundef %86, i32 noundef %89)
%91 = load ptr, ptr %6, align 8
%92 = getelementptr inbounds %struct.dirent, ptr %91, i32 0, i32 0
%93 = load ptr, ptr %92, align 8
%94 = call i32 @strlen(ptr noundef %93)
%95 = call i32 @strlen(ptr noundef @.str.2)
%96 = add nsw i32 %94, %95
%97 = add nsw i32 %96, 1
store i32 %97, ptr %12, align 4
%98 = load i32, ptr %12, align 4
%99 = sext i32 %98 to i64
%100 = mul i64 %99, 1
%101 = trunc i64 %100 to i32
%102 = call ptr @malloc(i32 noundef %101)
store ptr %102, ptr %13, align 8
%103 = load ptr, ptr %13, align 8
%104 = load i32, ptr %12, align 4
%105 = sext i32 %104 to i64
%106 = mul i64 %105, 1
%107 = trunc i64 %106 to i32
%108 = call i32 @memset(ptr noundef %103, i32 noundef 0, i32 noundef %107)
%109 = load ptr, ptr %13, align 8
%110 = call i32 @strlen(ptr noundef @.str.2)
%111 = call i32 @strncat(ptr noundef %109, ptr noundef @.str.2, i32 noundef %110)
%112 = load ptr, ptr %13, align 8
%113 = load ptr, ptr %6, align 8
%114 = getelementptr inbounds %struct.dirent, ptr %113, i32 0, i32 0
%115 = load ptr, ptr %114, align 8
%116 = load ptr, ptr %6, align 8
%117 = getelementptr inbounds %struct.dirent, ptr %116, i32 0, i32 0
%118 = load ptr, ptr %117, align 8
%119 = call i32 @strlen(ptr noundef %118)
%120 = call i32 @strncat(ptr noundef %112, ptr noundef %115, i32 noundef %119)
%121 = load ptr, ptr %13, align 8
%122 = call ptr @fopen(ptr noundef %121, ptr noundef @.str.5)
store ptr %122, ptr %11, align 8
%123 = load ptr, ptr %11, align 8
%124 = icmp eq ptr %123, null
br i1 %124, label %125, label %128
125: ; preds = %42
%126 = load i32, ptr @EXIT_FAILURE, align 4
%127 = call i32 @exit(i32 noundef %126) #3
unreachable
128: ; preds = %42
br label %129
129: ; preds = %166, %128
%130 = getelementptr inbounds [80 x i8], ptr %14, i64 0, i64 0
%131 = load ptr, ptr %11, align 8
%132 = call ptr @fgets(ptr noundef %130, i32 noundef 80, ptr noundef %131)
%133 = icmp ne ptr %132, null
br i1 %133, label %134, label %167
134: ; preds = %129
%135 = getelementptr inbounds [80 x i8], ptr %14, i64 0, i64 0
%136 = call ptr @strtok(ptr noundef %135, ptr noundef @.str.6)
store ptr %136, ptr %15, align 8
store i32 0, ptr %16, align 4
store i32 0, ptr %17, align 4
br label %137
137: ; preds = %164, %134
%138 = load ptr, ptr %15, align 8
%139 = icmp ne ptr %138, null
br i1 %139, label %140, label %166
140: ; preds = %137
%141 = load i32, ptr %16, align 4
%142 = icmp eq i32 %141, 0
br i1 %142, label %143, label %152
143: ; preds = %140
%144 = load ptr, ptr %15, align 8
%145 = call i32 @get_time(ptr noundef %144)
store i32 %145, ptr %18, align 4
%146 = load i32, ptr %18, align 4
%147 = load i32, ptr %7, align 4
%148 = sub nsw i32 %146, %147
%149 = sdiv i32 %148, 86400
store i32 %149, ptr %17, align 4
%150 = load i32, ptr %16, align 4
%151 = add nsw i32 %150, 1
store i32 %151, ptr %16, align 4
br label %164
152: ; preds = %140
%153 = load ptr, ptr %15, align 8
%154 = call float @atof(ptr noundef %153)
store float %154, ptr %19, align 4
%155 = load float, ptr %19, align 4
%156 = load ptr, ptr %3, align 8
%157 = load i32, ptr %17, align 4
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds ptr, ptr %156, i64 %158
%160 = load ptr, ptr %159, align 8
%161 = load i32, ptr %8, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds float, ptr %160, i64 %162
store float %155, ptr %163, align 4
br label %164
164: ; preds = %152, %143
%165 = call ptr @strtok(ptr noundef null, ptr noundef @.str.7)
store ptr %165, ptr %15, align 8
br label %137, !llvm.loop !8
166: ; preds = %137
br label %129, !llvm.loop !9
167: ; preds = %129
%168 = load ptr, ptr %11, align 8
%169 = call i32 @fclose(ptr noundef %168)
%170 = load ptr, ptr %13, align 8
%171 = icmp ne ptr %170, null
br i1 %171, label %172, label %175
172: ; preds = %167
%173 = load ptr, ptr %13, align 8
%174 = call i32 @free(ptr noundef %173)
br label %175
175: ; preds = %172, %167
%176 = load i32, ptr %8, align 4
%177 = add nsw i32 %176, 1
store i32 %177, ptr %8, align 4
%178 = load ptr, ptr %10, align 8
%179 = call i32 @free(ptr noundef %178)
br label %25, !llvm.loop !6
180: ; preds = %25
%181 = load ptr, ptr %5, align 8
%182 = call i32 @closedir(ptr noundef %181)
br label %187
183: ; preds = %2
%184 = call i32 @perror(ptr noundef @.str.8)
%185 = load i32, ptr @EXIT_FAILURE, align 4
%186 = call i32 @exit(i32 noundef %185) #3
unreachable
187: ; preds = %180
%188 = call i32 @printf(ptr noundef @.str.9)
%189 = load ptr, ptr %3, align 8
%190 = call i32 @normalize_etf_values(ptr noundef %189)
%191 = call i32 @printf(ptr noundef @.str.10)
%192 = call i32 @printf(ptr noundef @.str.11)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @get_time(ptr noundef) #1
declare ptr @opendir(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare float @atof(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @closedir(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @normalize_etf_values(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 = { 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxr1p2gmh.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.dirent = type { ptr }
@.str = private unnamed_addr constant [30 x i8] c"[START]Loading ETF values...\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"1993-01-29\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"c:\\downloaded_data\\USD\\\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"..\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [2 x i8] c",\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.8 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.9 = private unnamed_addr constant [34 x i8] c"[START]Normalizing ETF values...\0A\00", align 1
@.str.10 = private unnamed_addr constant [33 x i8] c"[DONE]Normalizing ETF values...\0A\00", align 1
@.str.11 = private unnamed_addr constant [29 x i8] c"[DONE]Loading ETF values...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @load_etf_values(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%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 ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca [80 x i8], align 16
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca float, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%20 = call i32 @printf(ptr noundef @.str)
%21 = call i32 @get_time(ptr noundef @.str.1)
store i32 %21, ptr %7, align 4
%22 = call ptr @opendir(ptr noundef @.str.2)
store ptr %22, ptr %5, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %24, label %188
24: ; preds = %2
store i32 0, ptr %8, align 4
%25 = load ptr, ptr %5, align 8
%26 = call ptr @readdir(ptr noundef %25)
store ptr %26, ptr %6, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %.lr.ph5, label %185
.lr.ph5: ; preds = %24
br label %28
28: ; preds = %.lr.ph5, %.backedge
%29 = load ptr, ptr %6, align 8
%30 = getelementptr inbounds %struct.dirent, ptr %29, i32 0, i32 0
%31 = load ptr, ptr %30, align 8
%32 = call i32 @strcmp(ptr noundef %31, ptr noundef @.str.3)
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %40
34: ; preds = %28
%35 = load ptr, ptr %6, align 8
%36 = getelementptr inbounds %struct.dirent, ptr %35, i32 0, i32 0
%37 = load ptr, ptr %36, align 8
%38 = call i32 @strcmp(ptr noundef %37, ptr noundef @.str.4)
%39 = icmp ne i32 %38, 0
br i1 %39, label %44, label %40
40: ; preds = %34, %28
br label %.backedge
.backedge: ; preds = %40, %180
%41 = load ptr, ptr %5, align 8
%42 = call ptr @readdir(ptr noundef %41)
store ptr %42, ptr %6, align 8
%43 = icmp ne ptr %42, null
br i1 %43, label %28, label %._crit_edge6, !llvm.loop !6
44: ; preds = %34
%45 = load ptr, ptr %6, align 8
%46 = getelementptr inbounds %struct.dirent, ptr %45, i32 0, i32 0
%47 = load ptr, ptr %46, align 8
%48 = call i32 @strlen(ptr noundef %47)
%49 = sub nsw i32 %48, 3
store i32 %49, ptr %9, align 4
%50 = load i32, ptr %9, align 4
%51 = sext i32 %50 to i64
%52 = mul i64 %51, 1
%53 = trunc i64 %52 to i32
%54 = call ptr @malloc(i32 noundef %53)
store ptr %54, ptr %10, align 8
%55 = load ptr, ptr %10, align 8
%56 = load ptr, ptr %6, align 8
%57 = getelementptr inbounds %struct.dirent, ptr %56, i32 0, i32 0
%58 = load ptr, ptr %57, align 8
%59 = load ptr, ptr %6, align 8
%60 = getelementptr inbounds %struct.dirent, ptr %59, i32 0, i32 0
%61 = load ptr, ptr %60, align 8
%62 = call i32 @strlen(ptr noundef %61)
%63 = sub nsw i32 %62, 4
%64 = call i32 @memcpy(ptr noundef %55, ptr noundef %58, i32 noundef %63)
%65 = load ptr, ptr %10, align 8
%66 = load ptr, ptr %6, align 8
%67 = getelementptr inbounds %struct.dirent, ptr %66, i32 0, i32 0
%68 = load ptr, ptr %67, align 8
%69 = call i32 @strlen(ptr noundef %68)
%70 = sub nsw i32 %69, 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %65, i64 %71
store i8 0, ptr %72, align 1
%73 = load ptr, ptr %10, align 8
%74 = call i32 @strlen(ptr noundef %73)
%75 = sext i32 %74 to i64
%76 = mul i64 %75, 1
%77 = trunc i64 %76 to i32
%78 = call ptr @malloc(i32 noundef %77)
%79 = load ptr, ptr %4, align 8
%80 = load i32, ptr %8, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds ptr, ptr %79, i64 %81
store ptr %78, ptr %82, align 8
%83 = load ptr, ptr %4, align 8
%84 = load i32, ptr %8, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds ptr, ptr %83, i64 %85
%87 = load ptr, ptr %86, align 8
%88 = load ptr, ptr %10, align 8
%89 = load ptr, ptr %10, align 8
%90 = call i32 @strlen(ptr noundef %89)
%91 = add nsw i32 %90, 1
%92 = call i32 @memcpy(ptr noundef %87, ptr noundef %88, i32 noundef %91)
%93 = load ptr, ptr %6, align 8
%94 = getelementptr inbounds %struct.dirent, ptr %93, i32 0, i32 0
%95 = load ptr, ptr %94, align 8
%96 = call i32 @strlen(ptr noundef %95)
%97 = call i32 @strlen(ptr noundef @.str.2)
%98 = add nsw i32 %96, %97
%99 = add nsw i32 %98, 1
store i32 %99, ptr %12, align 4
%100 = load i32, ptr %12, align 4
%101 = sext i32 %100 to i64
%102 = mul i64 %101, 1
%103 = trunc i64 %102 to i32
%104 = call ptr @malloc(i32 noundef %103)
store ptr %104, ptr %13, align 8
%105 = load ptr, ptr %13, align 8
%106 = load i32, ptr %12, align 4
%107 = sext i32 %106 to i64
%108 = mul i64 %107, 1
%109 = trunc i64 %108 to i32
%110 = call i32 @memset(ptr noundef %105, i32 noundef 0, i32 noundef %109)
%111 = load ptr, ptr %13, align 8
%112 = call i32 @strlen(ptr noundef @.str.2)
%113 = call i32 @strncat(ptr noundef %111, ptr noundef @.str.2, i32 noundef %112)
%114 = load ptr, ptr %13, align 8
%115 = load ptr, ptr %6, align 8
%116 = getelementptr inbounds %struct.dirent, ptr %115, i32 0, i32 0
%117 = load ptr, ptr %116, align 8
%118 = load ptr, ptr %6, align 8
%119 = getelementptr inbounds %struct.dirent, ptr %118, i32 0, i32 0
%120 = load ptr, ptr %119, align 8
%121 = call i32 @strlen(ptr noundef %120)
%122 = call i32 @strncat(ptr noundef %114, ptr noundef %117, i32 noundef %121)
%123 = load ptr, ptr %13, align 8
%124 = call ptr @fopen(ptr noundef %123, ptr noundef @.str.5)
store ptr %124, ptr %11, align 8
%125 = load ptr, ptr %11, align 8
%126 = icmp eq ptr %125, null
br i1 %126, label %127, label %130
127: ; preds = %44
%128 = load i32, ptr @EXIT_FAILURE, align 4
%129 = call i32 @exit(i32 noundef %128) #3
unreachable
130: ; preds = %44
%131 = getelementptr inbounds [80 x i8], ptr %14, i64 0, i64 0
%132 = load ptr, ptr %11, align 8
%133 = call ptr @fgets(ptr noundef %131, i32 noundef 80, ptr noundef %132)
%134 = icmp ne ptr %133, null
br i1 %134, label %.lr.ph2, label %172
.lr.ph2: ; preds = %130
br label %135
135: ; preds = %.lr.ph2, %168
%136 = getelementptr inbounds [80 x i8], ptr %14, i64 0, i64 0
%137 = call ptr @strtok(ptr noundef %136, ptr noundef @.str.6)
store ptr %137, ptr %15, align 8
store i32 0, ptr %16, align 4
store i32 0, ptr %17, align 4
%138 = load ptr, ptr %15, align 8
%139 = icmp ne ptr %138, null
br i1 %139, label %.lr.ph, label %168
.lr.ph: ; preds = %135
br label %140
140: ; preds = %.lr.ph, %164
%141 = load i32, ptr %16, align 4
%142 = icmp eq i32 %141, 0
br i1 %142, label %143, label %152
143: ; preds = %140
%144 = load ptr, ptr %15, align 8
%145 = call i32 @get_time(ptr noundef %144)
store i32 %145, ptr %18, align 4
%146 = load i32, ptr %18, align 4
%147 = load i32, ptr %7, align 4
%148 = sub nsw i32 %146, %147
%149 = sdiv i32 %148, 86400
store i32 %149, ptr %17, align 4
%150 = load i32, ptr %16, align 4
%151 = add nsw i32 %150, 1
store i32 %151, ptr %16, align 4
br label %164
152: ; preds = %140
%153 = load ptr, ptr %15, align 8
%154 = call float @atof(ptr noundef %153)
store float %154, ptr %19, align 4
%155 = load float, ptr %19, align 4
%156 = load ptr, ptr %3, align 8
%157 = load i32, ptr %17, align 4
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds ptr, ptr %156, i64 %158
%160 = load ptr, ptr %159, align 8
%161 = load i32, ptr %8, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds float, ptr %160, i64 %162
store float %155, ptr %163, align 4
br label %164
164: ; preds = %152, %143
%165 = call ptr @strtok(ptr noundef null, ptr noundef @.str.7)
store ptr %165, ptr %15, align 8
%166 = load ptr, ptr %15, align 8
%167 = icmp ne ptr %166, null
br i1 %167, label %140, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %164
br label %168
168: ; preds = %._crit_edge, %135
%169 = load ptr, ptr %11, align 8
%170 = call ptr @fgets(ptr noundef %131, i32 noundef 80, ptr noundef %169)
%171 = icmp ne ptr %170, null
br i1 %171, label %135, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %168
br label %172
172: ; preds = %._crit_edge3, %130
%173 = load ptr, ptr %11, align 8
%174 = call i32 @fclose(ptr noundef %173)
%175 = load ptr, ptr %13, align 8
%176 = icmp ne ptr %175, null
br i1 %176, label %177, label %180
177: ; preds = %172
%178 = load ptr, ptr %13, align 8
%179 = call i32 @free(ptr noundef %178)
br label %180
180: ; preds = %177, %172
%181 = load i32, ptr %8, align 4
%182 = add nsw i32 %181, 1
store i32 %182, ptr %8, align 4
%183 = load ptr, ptr %10, align 8
%184 = call i32 @free(ptr noundef %183)
br label %.backedge
._crit_edge6: ; preds = %.backedge
br label %185
185: ; preds = %._crit_edge6, %24
%186 = load ptr, ptr %5, align 8
%187 = call i32 @closedir(ptr noundef %186)
br label %192
188: ; preds = %2
%189 = call i32 @perror(ptr noundef @.str.8)
%190 = load i32, ptr @EXIT_FAILURE, align 4
%191 = call i32 @exit(i32 noundef %190) #3
unreachable
192: ; preds = %185
%193 = call i32 @printf(ptr noundef @.str.9)
%194 = load ptr, ptr %3, align 8
%195 = call i32 @normalize_etf_values(ptr noundef %194)
%196 = call i32 @printf(ptr noundef @.str.10)
%197 = call i32 @printf(ptr noundef @.str.11)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @get_time(ptr noundef) #1
declare ptr @opendir(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare float @atof(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @closedir(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @normalize_etf_values(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 = { 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpu6t2e5ot.c'
source_filename = "/tmp/tmpu6t2e5ot.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 @umf4scal(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %11, align 8
%13 = call i64 @umfpack_dl_scale(ptr noundef %9, ptr noundef %10, ptr noundef %12)
%14 = load ptr, ptr %8, align 8
store i64 %13, ptr %14, align 8
ret void
}
declare i64 @umfpack_dl_scale(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/tmpu6t2e5ot.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 @umf4scal(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %11, align 8
%13 = call i64 @umfpack_dl_scale(ptr noundef %9, ptr noundef %10, ptr noundef %12)
%14 = load ptr, ptr %8, align 8
store i64 %13, ptr %14, align 8
ret void
}
declare i64 @umfpack_dl_scale(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/tmppx8r8tdh.c'
source_filename = "/tmp/tmppx8r8tdh.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 [18 x i8] c"iter %3i: %10.2e\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @grid_deform(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca float, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %20, %1
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %9, label %23
9: ; preds = %5
%10 = call float (...) @gridmove()
store float %10, ptr %4, align 4
%11 = load i32, ptr @stderr, align 4
%12 = load i32, ptr %3, align 4
%13 = load float, ptr %4, align 4
%14 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, i32 noundef %12, float noundef %13)
%15 = load float, ptr %4, align 4
%16 = fpext float %15 to double
%17 = fcmp olt double %16, 0x3E7AD7F29ABCAF48
br i1 %17, label %18, label %19
18: ; preds = %9
br label %23
19: ; preds = %9
br label %20
20: ; preds = %19
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
br label %5, !llvm.loop !6
23: ; preds = %18, %5
ret void
}
declare float @gridmove(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, float 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/tmppx8r8tdh.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 [18 x i8] c"iter %3i: %10.2e\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @grid_deform(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca float, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %5, %6
br i1 %7, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %19
%9 = call float (...) @gridmove()
store float %9, ptr %4, align 4
%10 = load i32, ptr @stderr, align 4
%11 = load i32, ptr %3, align 4
%12 = load float, ptr %4, align 4
%13 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, i32 noundef %11, float noundef %12)
%14 = load float, ptr %4, align 4
%15 = fpext float %14 to double
%16 = fcmp olt double %15, 0x3E7AD7F29ABCAF48
br i1 %16, label %17, label %18
17: ; preds = %8
br label %25
18: ; preds = %8
br label %19
19: ; preds = %18
%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 %8, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %19
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %1
br label %25
25: ; preds = %.loopexit, %17
ret void
}
declare float @gridmove(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, float 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/tmpwn0kw6k2.c'
source_filename = "/tmp/tmpwn0kw6k2.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 @charges(i32 noundef %0, ptr noundef %1, ptr 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 double, align 8
%9 = alloca double, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %7, align 4
store double 7.990000e+00, ptr %8, align 8
store double 0.000000e+00, ptr %9, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp sgt i32 %11, 10
br i1 %12, label %13, label %20
13: ; preds = %3
%14 = load i32, ptr %7, align 4
%15 = sub nsw i32 %14, 10
store i32 %15, ptr %7, align 4
%16 = load double, ptr %8, align 8
%17 = load i32, ptr %7, align 4
%18 = sitofp i32 %17 to double
%19 = call double @llvm.fmuladd.f64(double %18, double 1.990000e+00, double %16)
store double %19, ptr %8, align 8
br label %20
20: ; preds = %13, %3
%21 = load double, ptr %8, align 8
%22 = load i32, ptr %4, align 4
%23 = sitofp i32 %22 to double
%24 = fdiv double %21, %23
store double %24, ptr %9, align 8
%25 = load double, ptr %8, align 8
%26 = call double @round_money(double noundef %25)
store double %26, ptr %8, align 8
%27 = load double, ptr %9, align 8
%28 = call double @round_money(double noundef %27)
store double %28, ptr %9, align 8
%29 = load double, ptr %8, align 8
%30 = load ptr, ptr %5, align 8
store double %29, ptr %30, align 8
%31 = load double, ptr %9, align 8
%32 = load ptr, ptr %6, align 8
store double %31, ptr %32, align 8
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare double @round_money(double 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 nosync nounwind speculatable willreturn memory(none) }
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/tmpwn0kw6k2.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 @charges(i32 noundef %0, ptr noundef %1, ptr 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 double, align 8
%9 = alloca double, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %7, align 4
store double 7.990000e+00, ptr %8, align 8
store double 0.000000e+00, ptr %9, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp sgt i32 %11, 10
br i1 %12, label %13, label %20
13: ; preds = %3
%14 = load i32, ptr %7, align 4
%15 = sub nsw i32 %14, 10
store i32 %15, ptr %7, align 4
%16 = load double, ptr %8, align 8
%17 = load i32, ptr %7, align 4
%18 = sitofp i32 %17 to double
%19 = call double @llvm.fmuladd.f64(double %18, double 1.990000e+00, double %16)
store double %19, ptr %8, align 8
br label %20
20: ; preds = %13, %3
%21 = load double, ptr %8, align 8
%22 = load i32, ptr %4, align 4
%23 = sitofp i32 %22 to double
%24 = fdiv double %21, %23
store double %24, ptr %9, align 8
%25 = load double, ptr %8, align 8
%26 = call double @round_money(double noundef %25)
store double %26, ptr %8, align 8
%27 = load double, ptr %9, align 8
%28 = call double @round_money(double noundef %27)
store double %28, ptr %9, align 8
%29 = load double, ptr %8, align 8
%30 = load ptr, ptr %5, align 8
store double %29, ptr %30, align 8
%31 = load double, ptr %9, align 8
%32 = load ptr, ptr %6, align 8
store double %31, ptr %32, align 8
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare double @round_money(double 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 nosync nounwind speculatable willreturn memory(none) }
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/tmpdjrlsxjv.c'
source_filename = "/tmp/tmpdjrlsxjv.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.sysinfo = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_totalmem() #0 {
%1 = alloca %struct.sysinfo, align 4
%2 = alloca i32, align 4
%3 = call i32 @sysinfo(ptr noundef %1)
%4 = getelementptr inbounds %struct.sysinfo, ptr %1, i32 0, i32 0
%5 = load i32, ptr %4, align 4
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = sdiv i32 %6, 1024
%8 = sdiv i32 %7, 1024
store i32 %8, ptr %2, align 4
%9 = load i32, ptr %2, align 4
ret i32 %9
}
declare i32 @sysinfo(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/tmpdjrlsxjv.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.sysinfo = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_totalmem() #0 {
%1 = alloca %struct.sysinfo, align 4
%2 = alloca i32, align 4
%3 = call i32 @sysinfo(ptr noundef %1)
%4 = getelementptr inbounds %struct.sysinfo, ptr %1, i32 0, i32 0
%5 = load i32, ptr %4, align 4
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = sdiv i32 %6, 1024
%8 = sdiv i32 %7, 1024
store i32 %8, ptr %2, align 4
%9 = load i32, ptr %2, align 4
ret i32 %9
}
declare i32 @sysinfo(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/tmpjukg4hvq.c'
source_filename = "/tmp/tmpjukg4hvq.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 @free2float(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 @free2(ptr noundef %3)
ret void
}
declare i32 @free2(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/tmpjukg4hvq.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 @free2float(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 @free2(ptr noundef %3)
ret void
}
declare i32 @free2(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.