llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpr0uihiex.c'
source_filename = "/tmp/tmpr0uihiex.c"
target datalayout = "e-m:e-p270: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 signext i8 @F_LstC(ptr noundef %0) #0 {
%2 = alloca i8, align 1
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = sub nsw i32 %6, 1
store i32 %7, ptr %4, align 4
br label %8
8: ; preds = %22, %1
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %4, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %9, i64 %11
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp sle i32 %14, 32
br i1 %15, label %16, label %23
16: ; preds = %8
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %17, -1
store i32 %18, ptr %4, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp sle i32 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %16
store i8 0, ptr %2, align 1
br label %29
22: ; preds = %16
br label %8, !llvm.loop !6
23: ; preds = %8
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %4, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
store i8 %28, ptr %2, align 1
br label %29
29: ; preds = %23, %21
%30 = load i8, ptr %2, align 1
ret i8 %30
}
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/tmpr0uihiex.c"
target datalayout = "e-m:e-p270: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 signext i8 @F_LstC(ptr noundef %0) #0 {
%2 = alloca i8, align 1
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = sub nsw i32 %6, 1
store i32 %7, ptr %4, align 4
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp sle i32 %13, 32
br i1 %14, label %.lr.ph, label %29
.lr.ph: ; preds = %1
br label %23
15: ; preds = %23
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp sle i32 %21, 32
br i1 %22, label %23, label %._crit_edge, !llvm.loop !6
23: ; preds = %.lr.ph, %15
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, -1
store i32 %25, ptr %4, align 4
%26 = load i32, ptr %4, align 4
%27 = icmp sle i32 %26, 0
br i1 %27, label %28, label %15
28: ; preds = %23
store i8 0, ptr %2, align 1
br label %35
._crit_edge: ; preds = %15
br label %29
29: ; preds = %._crit_edge, %1
%30 = load ptr, ptr %3, align 8
%31 = load i32, ptr %4, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
store i8 %34, ptr %2, align 1
br label %35
35: ; preds = %29, %28
%36 = load i8, ptr %2, align 1
ret i8 %36
}
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/tmpjd8wkh1s.c'
source_filename = "/tmp/tmpjd8wkh1s.c"
target datalayout = "e-m:e-p270: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/tmpjd8wkh1s.c"
target datalayout = "e-m:e-p270: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/tmp5xmi1l0a.c'
source_filename = "/tmp/tmp5xmi1l0a.c"
target datalayout = "e-m:e-p270: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 @RR() #0 {
%1 = call i32 @RotShift_instr(i32 noundef 3)
ret void
}
declare i32 @RotShift_instr(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/tmp5xmi1l0a.c"
target datalayout = "e-m:e-p270: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 @RR() #0 {
%1 = call i32 @RotShift_instr(i32 noundef 3)
ret void
}
declare i32 @RotShift_instr(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/tmpvarngc64.c'
source_filename = "/tmp/tmpvarngc64.c"
target datalayout = "e-m:e-p270: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 ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 @ICCalculateBits(i32 noundef 254)
ret i32 0
}
declare i32 @ICCalculateBits(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/tmpvarngc64.c"
target datalayout = "e-m:e-p270: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 ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 @ICCalculateBits(i32 noundef 254)
ret i32 0
}
declare i32 @ICCalculateBits(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/tmpfh_a0gcz.c'
source_filename = "/tmp/tmpfh_a0gcz.c"
target datalayout = "e-m:e-p270: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 @listfinditem(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
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
%9 = load i32, ptr %7, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %32
11: ; preds = %3
store i32 0, ptr %8, align 4
br label %12
12: ; preds = %28, %11
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %31
16: ; preds = %12
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %8, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds ptr, ptr %17, i64 %19
%21 = load ptr, ptr %20, align 8
%22 = load ptr, ptr %6, align 8
%23 = call i64 @strcmp(ptr noundef %21, ptr noundef %22)
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %16
%26 = load i32, ptr %8, align 4
store i32 %26, ptr %4, align 4
br label %33
27: ; preds = %16
br label %28
28: ; preds = %27
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %8, align 4
br label %12, !llvm.loop !6
31: ; preds = %12
br label %32
32: ; preds = %31, %3
store i32 -1, ptr %4, align 4
br label %33
33: ; preds = %32, %25
%34 = load i32, ptr %4, align 4
ret i32 %34
}
declare i64 @strcmp(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/tmpfh_a0gcz.c"
target datalayout = "e-m:e-p270: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 @listfinditem(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
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
%9 = load i32, ptr %7, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %34
11: ; preds = %3
store i32 0, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = load i32, ptr %7, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %33
.lr.ph: ; preds = %11
br label %15
15: ; preds = %.lr.ph, %27
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %8, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds ptr, ptr %16, i64 %18
%20 = load ptr, ptr %19, align 8
%21 = load ptr, ptr %6, align 8
%22 = call i64 @strcmp(ptr noundef %20, ptr noundef %21)
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %15
%25 = load i32, ptr %8, align 4
store i32 %25, ptr %4, align 4
br label %35
26: ; preds = %15
br label %27
27: ; preds = %26
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %8, align 4
%31 = load i32, ptr %7, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %11
br label %34
34: ; preds = %33, %3
store i32 -1, ptr %4, align 4
br label %35
35: ; preds = %34, %24
%36 = load i32, ptr %4, align 4
ret i32 %36
}
declare i64 @strcmp(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/tmpjfv1de31.c'
source_filename = "/tmp/tmpjfv1de31.c"
target datalayout = "e-m:e-p270: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 @nnresize_if_needed(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = add nsw i32 %5, 1
%7 = srem i32 %6, 10
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %17
9: ; preds = %2
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %4, align 4
%12 = add nsw i32 %11, 10
%13 = sext i32 %12 to i64
%14 = mul i64 %13, 8
%15 = trunc i64 %14 to i32
%16 = call ptr @realloc(ptr noundef %10, i32 noundef %15)
store ptr %16, ptr %3, align 8
br label %17
17: ; preds = %9, %2
%18 = load ptr, ptr %3, align 8
ret ptr %18
}
declare ptr @realloc(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/tmpjfv1de31.c"
target datalayout = "e-m:e-p270: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 @nnresize_if_needed(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = add nsw i32 %5, 1
%7 = srem i32 %6, 10
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %17
9: ; preds = %2
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %4, align 4
%12 = add nsw i32 %11, 10
%13 = sext i32 %12 to i64
%14 = mul i64 %13, 8
%15 = trunc i64 %14 to i32
%16 = call ptr @realloc(ptr noundef %10, i32 noundef %15)
store ptr %16, ptr %3, align 8
br label %17
17: ; preds = %9, %2
%18 = load ptr, ptr %3, align 8
ret ptr %18
}
declare ptr @realloc(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/tmp2xjhnk2b.c'
source_filename = "/tmp/tmp2xjhnk2b.c"
target datalayout = "e-m:e-p270: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 @getNumberOfPerfectSquareLeadingDigit(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%10 = load ptr, ptr %3, align 8
%11 = call i64 @strlen(ptr noundef %10)
%12 = trunc i64 %11 to i32
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = and i32 %13, 1
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %25
16: ; preds = %2
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = sub nsw i32 %20, 48
store i32 %21, ptr %6, align 4
%22 = load i32, ptr %5, align 4
%23 = sub nsw i32 %22, 1
%24 = ashr i32 %23, 1
store i32 %24, ptr %7, align 4
br label %41
25: ; preds = %2
%26 = load ptr, ptr %3, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 0
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = sub nsw i32 %29, 48
%31 = mul nsw i32 %30, 10
%32 = load ptr, ptr %3, align 8
%33 = getelementptr inbounds i8, ptr %32, i64 1
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = sub nsw i32 %35, 48
%37 = add nsw i32 %31, %36
store i32 %37, ptr %6, align 4
%38 = load i32, ptr %5, align 4
%39 = ashr i32 %38, 1
%40 = sub nsw i32 %39, 1
store i32 %40, ptr %7, align 4
br label %41
41: ; preds = %25, %16
store i8 1, ptr %8, align 1
br label %42
42: ; preds = %51, %41
%43 = load i8, ptr %8, align 1
%44 = sext i8 %43 to i32
%45 = load i8, ptr %8, align 1
%46 = sext i8 %45 to i32
%47 = mul nsw i32 %44, %46
%48 = load i32, ptr %6, align 4
%49 = icmp sle i32 %47, %48
br i1 %49, label %50, label %54
50: ; preds = %42
br label %51
51: ; preds = %50
%52 = load i8, ptr %8, align 1
%53 = add i8 %52, 1
store i8 %53, ptr %8, align 1
br label %42, !llvm.loop !6
54: ; preds = %42
%55 = load i8, ptr %8, align 1
%56 = add i8 %55, -1
store i8 %56, ptr %8, align 1
%57 = load i8, ptr %8, align 1
%58 = sext i8 %57 to i32
%59 = add nsw i32 %58, 48
%60 = trunc i32 %59 to i8
store i8 %60, ptr %8, align 1
%61 = load i8, ptr %8, align 1
%62 = load ptr, ptr %4, align 8
%63 = getelementptr inbounds i8, ptr %62, i64 0
store i8 %61, ptr %63, align 1
store i32 1, ptr %9, align 4
br label %64
64: ; preds = %73, %54
%65 = load i32, ptr %9, align 4
%66 = load i32, ptr %7, align 4
%67 = icmp sle i32 %65, %66
br i1 %67, label %68, label %76
68: ; preds = %64
%69 = load ptr, ptr %4, align 8
%70 = load i32, ptr %9, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %69, i64 %71
store i8 48, ptr %72, align 1
br label %73
73: ; preds = %68
%74 = load i32, ptr %9, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %9, align 4
br label %64, !llvm.loop !8
76: ; preds = %64
%77 = load ptr, ptr %4, align 8
%78 = load i32, ptr %9, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i8, ptr %77, i64 %79
store i8 0, ptr %80, align 1
ret void
}
declare i64 @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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2xjhnk2b.c"
target datalayout = "e-m:e-p270: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 @getNumberOfPerfectSquareLeadingDigit(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%10 = load ptr, ptr %3, align 8
%11 = call i64 @strlen(ptr noundef %10)
%12 = trunc i64 %11 to i32
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = and i32 %13, 1
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %25
16: ; preds = %2
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = sub nsw i32 %20, 48
store i32 %21, ptr %6, align 4
%22 = load i32, ptr %5, align 4
%23 = sub nsw i32 %22, 1
%24 = ashr i32 %23, 1
store i32 %24, ptr %7, align 4
br label %41
25: ; preds = %2
%26 = load ptr, ptr %3, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 0
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = sub nsw i32 %29, 48
%31 = mul nsw i32 %30, 10
%32 = load ptr, ptr %3, align 8
%33 = getelementptr inbounds i8, ptr %32, i64 1
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = sub nsw i32 %35, 48
%37 = add nsw i32 %31, %36
store i32 %37, ptr %6, align 4
%38 = load i32, ptr %5, align 4
%39 = ashr i32 %38, 1
%40 = sub nsw i32 %39, 1
store i32 %40, ptr %7, align 4
br label %41
41: ; preds = %25, %16
store i8 1, ptr %8, align 1
%42 = load i8, ptr %8, align 1
%43 = sext i8 %42 to i32
%44 = load i8, ptr %8, align 1
%45 = sext i8 %44 to i32
%46 = mul nsw i32 %43, %45
%47 = load i32, ptr %6, align 4
%48 = icmp sle i32 %46, %47
br i1 %48, label %.lr.ph, label %60
.lr.ph: ; preds = %41
br label %49
49: ; preds = %.lr.ph, %50
br label %50
50: ; preds = %49
%51 = load i8, ptr %8, align 1
%52 = add i8 %51, 1
store i8 %52, ptr %8, align 1
%53 = load i8, ptr %8, align 1
%54 = sext i8 %53 to i32
%55 = load i8, ptr %8, align 1
%56 = sext i8 %55 to i32
%57 = mul nsw i32 %54, %56
%58 = load i32, ptr %6, align 4
%59 = icmp sle i32 %57, %58
br i1 %59, label %49, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %60
60: ; preds = %._crit_edge, %41
%61 = load i8, ptr %8, align 1
%62 = add i8 %61, -1
store i8 %62, ptr %8, align 1
%63 = load i8, ptr %8, align 1
%64 = sext i8 %63 to i32
%65 = add nsw i32 %64, 48
%66 = trunc i32 %65 to i8
store i8 %66, ptr %8, align 1
%67 = load i8, ptr %8, align 1
%68 = load ptr, ptr %4, align 8
%69 = getelementptr inbounds i8, ptr %68, i64 0
store i8 %67, ptr %69, align 1
store i32 1, ptr %9, align 4
%70 = load i32, ptr %9, align 4
%71 = load i32, ptr %7, align 4
%72 = icmp sle i32 %70, %71
br i1 %72, label %.lr.ph2, label %84
.lr.ph2: ; preds = %60
br label %73
73: ; preds = %.lr.ph2, %78
%74 = load ptr, ptr %4, align 8
%75 = load i32, ptr %9, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %74, i64 %76
store i8 48, ptr %77, align 1
br label %78
78: ; preds = %73
%79 = load i32, ptr %9, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %9, align 4
%81 = load i32, ptr %9, align 4
%82 = load i32, ptr %7, align 4
%83 = icmp sle i32 %81, %82
br i1 %83, label %73, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %78
br label %84
84: ; preds = %._crit_edge3, %60
%85 = load ptr, ptr %4, align 8
%86 = load i32, ptr %9, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i8, ptr %85, i64 %87
store i8 0, ptr %88, align 1
ret void
}
declare i64 @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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp2ta99eq8.c'
source_filename = "/tmp/tmp2ta99eq8.c"
target datalayout = "e-m:e-p270: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 [14 x i8] c"Hello, world!\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"The index of '%c' in \22%s\22 is: \00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"Does Not Exist\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i8, align 1
%6 = alloca i8, align 1
%7 = alloca i8, align 1
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i64 @strlen(ptr noundef %8)
store i64 %9, ptr %3, align 8
store i64 0, ptr %4, align 8
store i8 72, ptr %5, align 1
store i8 119, ptr %6, align 1
store i8 120, ptr %7, align 1
%10 = load ptr, ptr %2, align 8
%11 = load i8, ptr %5, align 1
%12 = call i64 @strutil_index_of(ptr noundef %10, i8 noundef signext %11)
store i64 %12, ptr %4, align 8
%13 = load i8, ptr %5, align 1
%14 = sext i8 %13 to i32
%15 = load ptr, ptr %2, align 8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14, ptr noundef %15)
%17 = load i64, ptr %4, align 8
%18 = load i64, ptr %3, align 8
%19 = icmp ult i64 %17, %18
br i1 %19, label %20, label %23
20: ; preds = %0
%21 = load i64, ptr %4, align 8
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %21)
br label %25
23: ; preds = %0
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %25
25: ; preds = %23, %20
%26 = load ptr, ptr %2, align 8
%27 = load i8, ptr %6, align 1
%28 = call i64 @strutil_index_of(ptr noundef %26, i8 noundef signext %27)
store i64 %28, ptr %4, align 8
%29 = load i8, ptr %6, align 1
%30 = sext i8 %29 to i32
%31 = load ptr, ptr %2, align 8
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %30, ptr noundef %31)
%33 = load i64, ptr %4, align 8
%34 = load i64, ptr %3, align 8
%35 = icmp ult i64 %33, %34
br i1 %35, label %36, label %39
36: ; preds = %25
%37 = load i64, ptr %4, align 8
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %37)
br label %41
39: ; preds = %25
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %41
41: ; preds = %39, %36
%42 = load ptr, ptr %2, align 8
%43 = load i8, ptr %7, align 1
%44 = call i64 @strutil_index_of(ptr noundef %42, i8 noundef signext %43)
store i64 %44, ptr %4, align 8
%45 = load i8, ptr %7, align 1
%46 = sext i8 %45 to i32
%47 = load ptr, ptr %2, align 8
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %46, ptr noundef %47)
%49 = load i64, ptr %4, align 8
%50 = load i64, ptr %3, align 8
%51 = icmp eq i64 %49, %50
br i1 %51, label %52, label %55
52: ; preds = %41
%53 = load i64, ptr %4, align 8
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %53)
br label %57
55: ; preds = %41
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %57
57: ; preds = %55, %52
ret i32 0
}
declare i64 @strlen(ptr noundef) #1
declare i64 @strutil_index_of(ptr noundef, i8 noundef signext) #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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2ta99eq8.c"
target datalayout = "e-m:e-p270: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 [14 x i8] c"Hello, world!\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"The index of '%c' in \22%s\22 is: \00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"Does Not Exist\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i8, align 1
%6 = alloca i8, align 1
%7 = alloca i8, align 1
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i64 @strlen(ptr noundef %8)
store i64 %9, ptr %3, align 8
store i64 0, ptr %4, align 8
store i8 72, ptr %5, align 1
store i8 119, ptr %6, align 1
store i8 120, ptr %7, align 1
%10 = load ptr, ptr %2, align 8
%11 = load i8, ptr %5, align 1
%12 = call i64 @strutil_index_of(ptr noundef %10, i8 noundef signext %11)
store i64 %12, ptr %4, align 8
%13 = load i8, ptr %5, align 1
%14 = sext i8 %13 to i32
%15 = load ptr, ptr %2, align 8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14, ptr noundef %15)
%17 = load i64, ptr %4, align 8
%18 = load i64, ptr %3, align 8
%19 = icmp ult i64 %17, %18
br i1 %19, label %20, label %23
20: ; preds = %0
%21 = load i64, ptr %4, align 8
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %21)
br label %25
23: ; preds = %0
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %25
25: ; preds = %23, %20
%26 = load ptr, ptr %2, align 8
%27 = load i8, ptr %6, align 1
%28 = call i64 @strutil_index_of(ptr noundef %26, i8 noundef signext %27)
store i64 %28, ptr %4, align 8
%29 = load i8, ptr %6, align 1
%30 = sext i8 %29 to i32
%31 = load ptr, ptr %2, align 8
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %30, ptr noundef %31)
%33 = load i64, ptr %4, align 8
%34 = load i64, ptr %3, align 8
%35 = icmp ult i64 %33, %34
br i1 %35, label %36, label %39
36: ; preds = %25
%37 = load i64, ptr %4, align 8
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %37)
br label %41
39: ; preds = %25
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %41
41: ; preds = %39, %36
%42 = load ptr, ptr %2, align 8
%43 = load i8, ptr %7, align 1
%44 = call i64 @strutil_index_of(ptr noundef %42, i8 noundef signext %43)
store i64 %44, ptr %4, align 8
%45 = load i8, ptr %7, align 1
%46 = sext i8 %45 to i32
%47 = load ptr, ptr %2, align 8
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %46, ptr noundef %47)
%49 = load i64, ptr %4, align 8
%50 = load i64, ptr %3, align 8
%51 = icmp eq i64 %49, %50
br i1 %51, label %52, label %55
52: ; preds = %41
%53 = load i64, ptr %4, align 8
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %53)
br label %57
55: ; preds = %41
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %57
57: ; preds = %55, %52
ret i32 0
}
declare i64 @strlen(ptr noundef) #1
declare i64 @strutil_index_of(ptr noundef, i8 noundef signext) #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"}
|
; ModuleID = '/tmp/tmpmukver97.c'
source_filename = "/tmp/tmpmukver97.c"
target datalayout = "e-m:e-p270: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 @ST(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
%5 = load double, ptr %3, align 8
%6 = fcmp ogt double %5, 5.000000e+02
br i1 %6, label %7, label %8
7: ; preds = %1
store double 3.200000e+01, ptr %2, align 8
br label %19
8: ; preds = %1
%9 = load double, ptr %3, align 8
%10 = load double, ptr %3, align 8
%11 = call double @sqrt(double noundef %10) #3
%12 = fmul double 3.009000e-02, %11
%13 = call double @llvm.fmuladd.f64(double -1.070000e-03, double %9, double %12)
%14 = call double @exp(double noundef %13) #3
%15 = load double, ptr %3, align 8
%16 = fmul double -1.185000e-01, %15
%17 = call double @llvm.fmuladd.f64(double 8.026000e+01, double %14, double %16)
store double %17, ptr %4, align 8
%18 = load double, ptr %4, align 8
store double %18, ptr %2, align 8
br label %19
19: ; preds = %8, %7
%20 = load double, ptr %2, align 8
ret double %20
}
; Function Attrs: nounwind
declare double @exp(double noundef) #1
; Function Attrs: nounwind
declare double @sqrt(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmukver97.c"
target datalayout = "e-m:e-p270: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 @ST(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
%5 = load double, ptr %3, align 8
%6 = fcmp ogt double %5, 5.000000e+02
br i1 %6, label %7, label %8
7: ; preds = %1
store double 3.200000e+01, ptr %2, align 8
br label %19
8: ; preds = %1
%9 = load double, ptr %3, align 8
%10 = load double, ptr %3, align 8
%11 = call double @sqrt(double noundef %10) #3
%12 = fmul double 3.009000e-02, %11
%13 = call double @llvm.fmuladd.f64(double -1.070000e-03, double %9, double %12)
%14 = call double @exp(double noundef %13) #3
%15 = load double, ptr %3, align 8
%16 = fmul double -1.185000e-01, %15
%17 = call double @llvm.fmuladd.f64(double 8.026000e+01, double %14, double %16)
store double %17, ptr %4, align 8
%18 = load double, ptr %4, align 8
store double %18, ptr %2, align 8
br label %19
19: ; preds = %8, %7
%20 = load double, ptr %2, align 8
ret double %20
}
; Function Attrs: nounwind
declare double @exp(double noundef) #1
; Function Attrs: nounwind
declare double @sqrt(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"}
|
; ModuleID = '/tmp/tmpk102x_eh.c'
source_filename = "/tmp/tmpk102x_eh.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i32 0, ptr %1, align 4
br label %4
4: ; preds = %42, %0
%5 = call signext i8 (...) @getchar()
store i8 %5, ptr %2, align 1
%6 = sext i8 %5 to i32
%7 = load i8, ptr @EOF, align 1
%8 = sext i8 %7 to i32
%9 = icmp ne i32 %6, %8
br i1 %9, label %10, label %43
10: ; preds = %4
%11 = load i8, ptr %2, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 47
br i1 %13, label %14, label %27
14: ; preds = %10
%15 = call signext i8 (...) @getchar()
store i8 %15, ptr %3, align 1
%16 = load i8, ptr %3, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 42
br i1 %18, label %19, label %21
19: ; preds = %14
%20 = call i32 (...) @go_to_comment_end()
br label %26
21: ; preds = %14
%22 = load i8, ptr %2, align 1
%23 = call i32 @putchar(i8 noundef signext %22)
%24 = load i8, ptr %3, align 1
%25 = call i32 @putchar(i8 noundef signext %24)
br label %26
26: ; preds = %21, %19
br label %42
27: ; preds = %10
%28 = load i8, ptr %2, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 39
br i1 %30, label %35, label %31
31: ; preds = %27
%32 = load i8, ptr %2, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 34
br i1 %34, label %35, label %38
35: ; preds = %31, %27
%36 = load i8, ptr %2, align 1
%37 = call i32 @print_quoted(i8 noundef signext %36)
br label %41
38: ; preds = %31
%39 = load i8, ptr %2, align 1
%40 = call i32 @putchar(i8 noundef signext %39)
br label %41
41: ; preds = %38, %35
br label %42
42: ; preds = %41, %26
br label %4, !llvm.loop !6
43: ; preds = %4
ret i32 0
}
declare signext i8 @getchar(...) #1
declare i32 @go_to_comment_end(...) #1
declare i32 @putchar(i8 noundef signext) #1
declare i32 @print_quoted(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk102x_eh.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i32 0, ptr %1, align 4
%4 = call signext i8 (...) @getchar()
store i8 %4, ptr %2, align 1
%5 = sext i8 %4 to i32
%6 = load i8, ptr @EOF, align 1
%7 = sext i8 %6 to i32
%8 = icmp ne i32 %5, %7
br i1 %8, label %.lr.ph, label %47
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %41
%10 = load i8, ptr %2, align 1
%11 = sext i8 %10 to i32
%12 = icmp eq i32 %11, 47
br i1 %12, label %13, label %26
13: ; preds = %9
%14 = call signext i8 (...) @getchar()
store i8 %14, ptr %3, align 1
%15 = load i8, ptr %3, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 42
br i1 %17, label %18, label %20
18: ; preds = %13
%19 = call i32 (...) @go_to_comment_end()
br label %25
20: ; preds = %13
%21 = load i8, ptr %2, align 1
%22 = call i32 @putchar(i8 noundef signext %21)
%23 = load i8, ptr %3, align 1
%24 = call i32 @putchar(i8 noundef signext %23)
br label %25
25: ; preds = %20, %18
br label %41
26: ; preds = %9
%27 = load i8, ptr %2, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 39
br i1 %29, label %34, label %30
30: ; preds = %26
%31 = load i8, ptr %2, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 34
br i1 %33, label %34, label %37
34: ; preds = %30, %26
%35 = load i8, ptr %2, align 1
%36 = call i32 @print_quoted(i8 noundef signext %35)
br label %40
37: ; preds = %30
%38 = load i8, ptr %2, align 1
%39 = call i32 @putchar(i8 noundef signext %38)
br label %40
40: ; preds = %37, %34
br label %41
41: ; preds = %40, %25
%42 = call signext i8 (...) @getchar()
store i8 %42, ptr %2, align 1
%43 = sext i8 %42 to i32
%44 = load i8, ptr @EOF, align 1
%45 = sext i8 %44 to i32
%46 = icmp ne i32 %43, %45
br i1 %46, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %47
47: ; preds = %._crit_edge, %0
ret i32 0
}
declare signext i8 @getchar(...) #1
declare i32 @go_to_comment_end(...) #1
declare i32 @putchar(i8 noundef signext) #1
declare i32 @print_quoted(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpeagpxoxp.c'
source_filename = "/tmp/tmpeagpxoxp.c"
target datalayout = "e-m:e-p270: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 [28 x i8] c"Content-Type: text/html\0A\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [60 x i8] c"<HTML><HEAD><TITLE>CGI Sample Program</TITLE></HEAD><BODY>\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"<H2>Sample Heading Goes Here</H2>\0A\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c"<P>Number of arguments passed was %ld\0A\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"<P>Argument number %ld is %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [26 x i8] c"<BR><BR>QUERY_STRING: %s\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"QUERY_STRING\00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c"<BR>REQUEST_METHOD: %s\00", align 1
@.str.8 = private unnamed_addr constant [15 x i8] c"REQUEST_METHOD\00", align 1
@.str.9 = private unnamed_addr constant [19 x i8] c"<BR>PATH_INFO: %s\00", align 1
@.str.10 = private unnamed_addr constant [10 x i8] c"PAHT_INFO\00", align 1
@.str.11 = private unnamed_addr constant [25 x i8] c"<BR>PATH_TRANSLATED: %s\00", align 1
@.str.12 = private unnamed_addr constant [16 x i8] c"PATH_TRANSLATED\00", align 1
@.str.13 = private unnamed_addr constant [21 x i8] c"<BR>REMOTE_USER: %s\00", align 1
@.str.14 = private unnamed_addr constant [12 x i8] c"REMOTE_USER\00", align 1
@.str.15 = private unnamed_addr constant [21 x i8] c"<BR>REMOTE_ADDR: %s\00", align 1
@.str.16 = private unnamed_addr constant [12 x i8] c"REMOTE_ADDR\00", align 1
@.str.17 = private unnamed_addr constant [21 x i8] c"<BR>REMOTE_HOST: %s\00", align 1
@.str.18 = private unnamed_addr constant [12 x i8] c"REMOTE_HOST\00", align 1
@.str.19 = private unnamed_addr constant [25 x i8] c"<BR>SERVER_SOFTWARE: %s\00", align 1
@.str.20 = private unnamed_addr constant [16 x i8] c"SERVER_SOFTWARE\00", align 1
@.str.21 = private unnamed_addr constant [21 x i8] c"<BR>SERVER_NAME: %s\00", align 1
@.str.22 = private unnamed_addr constant [12 x i8] c"SERVER_NAME\00", align 1
@.str.23 = private unnamed_addr constant [27 x i8] c"<BR>GATEWAY_INTERFACE: %s\00", align 1
@.str.24 = private unnamed_addr constant [18 x i8] c"GATEWAY_INTERFACE\00", align 1
@.str.25 = private unnamed_addr constant [25 x i8] c"<BR>SERVER_PROTOCOL: %s\00", align 1
@.str.26 = private unnamed_addr constant [16 x i8] c"SERVER_PROTOCOL\00", align 1
@.str.27 = private unnamed_addr constant [21 x i8] c"<BR>SERVER_PORT: %s\00", align 1
@.str.28 = private unnamed_addr constant [12 x i8] c"SERVER_PORT\00", align 1
@.str.29 = private unnamed_addr constant [21 x i8] c"<BR>HTTP_ACCEPT: %s\00", align 1
@.str.30 = private unnamed_addr constant [12 x i8] c"HTTP_ACCEPT\00", align 1
@.str.31 = private unnamed_addr constant [22 x i8] c"<BR>HTTP_REFERER: %s\00", align 1
@.str.32 = private unnamed_addr constant [13 x i8] c"HTTP_REFERER\00", align 1
@.str.33 = private unnamed_addr constant [21 x i8] c"<BR>SCRIPT_NAME: %s\00", align 1
@.str.34 = private unnamed_addr constant [12 x i8] c"SCRIPT_NAME\00", align 1
@.str.35 = private unnamed_addr constant [19 x i8] c"<BR>AUTH_TYPE: %s\00", align 1
@.str.36 = private unnamed_addr constant [10 x i8] c"AUTH_TYPE\00", align 1
@.str.37 = private unnamed_addr constant [22 x i8] c"<BR>CONTENT_TYPE: %s\00", align 1
@.str.38 = private unnamed_addr constant [13 x i8] c"CONTENT_TYPE\00", align 1
@.str.39 = private unnamed_addr constant [24 x i8] c"<BR>CONTENT_LENGTH: %s\00", align 1
@.str.40 = private unnamed_addr constant [15 x i8] c"CONTENT_LENGTH\00", align 1
@.str.41 = private unnamed_addr constant [27 x i8] c"<BR>Parmameters passed in:\00", align 1
@.str.42 = private unnamed_addr constant [5 x i8] c"<ul>\00", align 1
@.str.43 = private unnamed_addr constant [13 x i8] c"<li>%s = %s\0A\00", align 1
@.str.44 = private unnamed_addr constant [6 x i8] c"</ul>\00", align 1
@.str.45 = private unnamed_addr constant [16 x i8] c"</BODY></HTML>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = call ptr (...) @getcgivars()
store ptr %10, ptr %9, align 8
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%14 = load i32, ptr %5, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %14)
store i32 0, ptr %8, align 4
br label %16
16: ; preds = %28, %3
%17 = load i32, ptr %8, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %31
20: ; preds = %16
%21 = load i32, ptr %8, align 4
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %8, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds ptr, ptr %22, i64 %24
%26 = load ptr, ptr %25, align 8
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %21, ptr noundef %26)
br label %28
28: ; preds = %20
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %8, align 4
br label %16, !llvm.loop !6
31: ; preds = %16
%32 = call ptr @getenv(ptr noundef @.str.6)
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %32)
%34 = call ptr @getenv(ptr noundef @.str.8)
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %34)
%36 = call ptr @getenv(ptr noundef @.str.10)
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %36)
%38 = call ptr @getenv(ptr noundef @.str.12)
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %38)
%40 = call ptr @getenv(ptr noundef @.str.14)
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, ptr noundef %40)
%42 = call ptr @getenv(ptr noundef @.str.16)
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, ptr noundef %42)
%44 = call ptr @getenv(ptr noundef @.str.18)
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, ptr noundef %44)
%46 = call ptr @getenv(ptr noundef @.str.20)
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, ptr noundef %46)
%48 = call ptr @getenv(ptr noundef @.str.22)
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, ptr noundef %48)
%50 = call ptr @getenv(ptr noundef @.str.24)
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.23, ptr noundef %50)
%52 = call ptr @getenv(ptr noundef @.str.26)
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.25, ptr noundef %52)
%54 = call ptr @getenv(ptr noundef @.str.28)
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.27, ptr noundef %54)
%56 = call ptr @getenv(ptr noundef @.str.8)
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %56)
%58 = call ptr @getenv(ptr noundef @.str.30)
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, ptr noundef %58)
%60 = call ptr @getenv(ptr noundef @.str.32)
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, ptr noundef %60)
%62 = call ptr @getenv(ptr noundef @.str.34)
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.33, ptr noundef %62)
%64 = call ptr @getenv(ptr noundef @.str.36)
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.35, ptr noundef %64)
%66 = call ptr @getenv(ptr noundef @.str.38)
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.37, ptr noundef %66)
%68 = call ptr @getenv(ptr noundef @.str.40)
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.39, ptr noundef %68)
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.41)
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.42)
store i32 0, ptr %8, align 4
br label %72
72: ; preds = %92, %31
%73 = load ptr, ptr %9, align 8
%74 = load i32, ptr %8, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds ptr, ptr %73, i64 %75
%77 = load ptr, ptr %76, align 8
%78 = icmp ne ptr %77, null
br i1 %78, label %79, label %95
79: ; preds = %72
%80 = load ptr, ptr %9, align 8
%81 = load i32, ptr %8, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds ptr, ptr %80, i64 %82
%84 = load ptr, ptr %83, align 8
%85 = load ptr, ptr %9, align 8
%86 = load i32, ptr %8, align 4
%87 = add nsw i32 %86, 1
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds ptr, ptr %85, i64 %88
%90 = load ptr, ptr %89, align 8
%91 = call i32 (ptr, ...) @printf(ptr noundef @.str.43, ptr noundef %84, ptr noundef %90)
br label %92
92: ; preds = %79
%93 = load i32, ptr %8, align 4
%94 = add nsw i32 %93, 2
store i32 %94, ptr %8, align 4
br label %72, !llvm.loop !8
95: ; preds = %72
%96 = call i32 (ptr, ...) @printf(ptr noundef @.str.44)
%97 = call i32 (ptr, ...) @printf(ptr noundef @.str.45)
%98 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare ptr @getcgivars(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @getenv(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeagpxoxp.c"
target datalayout = "e-m:e-p270: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 [28 x i8] c"Content-Type: text/html\0A\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [60 x i8] c"<HTML><HEAD><TITLE>CGI Sample Program</TITLE></HEAD><BODY>\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"<H2>Sample Heading Goes Here</H2>\0A\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c"<P>Number of arguments passed was %ld\0A\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"<P>Argument number %ld is %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [26 x i8] c"<BR><BR>QUERY_STRING: %s\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"QUERY_STRING\00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c"<BR>REQUEST_METHOD: %s\00", align 1
@.str.8 = private unnamed_addr constant [15 x i8] c"REQUEST_METHOD\00", align 1
@.str.9 = private unnamed_addr constant [19 x i8] c"<BR>PATH_INFO: %s\00", align 1
@.str.10 = private unnamed_addr constant [10 x i8] c"PAHT_INFO\00", align 1
@.str.11 = private unnamed_addr constant [25 x i8] c"<BR>PATH_TRANSLATED: %s\00", align 1
@.str.12 = private unnamed_addr constant [16 x i8] c"PATH_TRANSLATED\00", align 1
@.str.13 = private unnamed_addr constant [21 x i8] c"<BR>REMOTE_USER: %s\00", align 1
@.str.14 = private unnamed_addr constant [12 x i8] c"REMOTE_USER\00", align 1
@.str.15 = private unnamed_addr constant [21 x i8] c"<BR>REMOTE_ADDR: %s\00", align 1
@.str.16 = private unnamed_addr constant [12 x i8] c"REMOTE_ADDR\00", align 1
@.str.17 = private unnamed_addr constant [21 x i8] c"<BR>REMOTE_HOST: %s\00", align 1
@.str.18 = private unnamed_addr constant [12 x i8] c"REMOTE_HOST\00", align 1
@.str.19 = private unnamed_addr constant [25 x i8] c"<BR>SERVER_SOFTWARE: %s\00", align 1
@.str.20 = private unnamed_addr constant [16 x i8] c"SERVER_SOFTWARE\00", align 1
@.str.21 = private unnamed_addr constant [21 x i8] c"<BR>SERVER_NAME: %s\00", align 1
@.str.22 = private unnamed_addr constant [12 x i8] c"SERVER_NAME\00", align 1
@.str.23 = private unnamed_addr constant [27 x i8] c"<BR>GATEWAY_INTERFACE: %s\00", align 1
@.str.24 = private unnamed_addr constant [18 x i8] c"GATEWAY_INTERFACE\00", align 1
@.str.25 = private unnamed_addr constant [25 x i8] c"<BR>SERVER_PROTOCOL: %s\00", align 1
@.str.26 = private unnamed_addr constant [16 x i8] c"SERVER_PROTOCOL\00", align 1
@.str.27 = private unnamed_addr constant [21 x i8] c"<BR>SERVER_PORT: %s\00", align 1
@.str.28 = private unnamed_addr constant [12 x i8] c"SERVER_PORT\00", align 1
@.str.29 = private unnamed_addr constant [21 x i8] c"<BR>HTTP_ACCEPT: %s\00", align 1
@.str.30 = private unnamed_addr constant [12 x i8] c"HTTP_ACCEPT\00", align 1
@.str.31 = private unnamed_addr constant [22 x i8] c"<BR>HTTP_REFERER: %s\00", align 1
@.str.32 = private unnamed_addr constant [13 x i8] c"HTTP_REFERER\00", align 1
@.str.33 = private unnamed_addr constant [21 x i8] c"<BR>SCRIPT_NAME: %s\00", align 1
@.str.34 = private unnamed_addr constant [12 x i8] c"SCRIPT_NAME\00", align 1
@.str.35 = private unnamed_addr constant [19 x i8] c"<BR>AUTH_TYPE: %s\00", align 1
@.str.36 = private unnamed_addr constant [10 x i8] c"AUTH_TYPE\00", align 1
@.str.37 = private unnamed_addr constant [22 x i8] c"<BR>CONTENT_TYPE: %s\00", align 1
@.str.38 = private unnamed_addr constant [13 x i8] c"CONTENT_TYPE\00", align 1
@.str.39 = private unnamed_addr constant [24 x i8] c"<BR>CONTENT_LENGTH: %s\00", align 1
@.str.40 = private unnamed_addr constant [15 x i8] c"CONTENT_LENGTH\00", align 1
@.str.41 = private unnamed_addr constant [27 x i8] c"<BR>Parmameters passed in:\00", align 1
@.str.42 = private unnamed_addr constant [5 x i8] c"<ul>\00", align 1
@.str.43 = private unnamed_addr constant [13 x i8] c"<li>%s = %s\0A\00", align 1
@.str.44 = private unnamed_addr constant [6 x i8] c"</ul>\00", align 1
@.str.45 = private unnamed_addr constant [16 x i8] c"</BODY></HTML>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = call ptr (...) @getcgivars()
store ptr %10, ptr %9, align 8
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%14 = load i32, ptr %5, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %14)
store i32 0, ptr %8, align 4
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph, label %33
.lr.ph: ; preds = %3
br label %19
19: ; preds = %.lr.ph, %27
%20 = load i32, ptr %8, align 4
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %8, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds ptr, ptr %21, i64 %23
%25 = load ptr, ptr %24, align 8
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %20, ptr noundef %25)
br label %27
27: ; preds = %19
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %8, align 4
%31 = load i32, ptr %5, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %3
%34 = call ptr @getenv(ptr noundef @.str.6)
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %34)
%36 = call ptr @getenv(ptr noundef @.str.8)
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %36)
%38 = call ptr @getenv(ptr noundef @.str.10)
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %38)
%40 = call ptr @getenv(ptr noundef @.str.12)
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %40)
%42 = call ptr @getenv(ptr noundef @.str.14)
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, ptr noundef %42)
%44 = call ptr @getenv(ptr noundef @.str.16)
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, ptr noundef %44)
%46 = call ptr @getenv(ptr noundef @.str.18)
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, ptr noundef %46)
%48 = call ptr @getenv(ptr noundef @.str.20)
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, ptr noundef %48)
%50 = call ptr @getenv(ptr noundef @.str.22)
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, ptr noundef %50)
%52 = call ptr @getenv(ptr noundef @.str.24)
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.23, ptr noundef %52)
%54 = call ptr @getenv(ptr noundef @.str.26)
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.25, ptr noundef %54)
%56 = call ptr @getenv(ptr noundef @.str.28)
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.27, ptr noundef %56)
%58 = call ptr @getenv(ptr noundef @.str.8)
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %58)
%60 = call ptr @getenv(ptr noundef @.str.30)
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, ptr noundef %60)
%62 = call ptr @getenv(ptr noundef @.str.32)
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, ptr noundef %62)
%64 = call ptr @getenv(ptr noundef @.str.34)
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.33, ptr noundef %64)
%66 = call ptr @getenv(ptr noundef @.str.36)
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.35, ptr noundef %66)
%68 = call ptr @getenv(ptr noundef @.str.38)
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.37, ptr noundef %68)
%70 = call ptr @getenv(ptr noundef @.str.40)
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.39, ptr noundef %70)
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.41)
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.42)
store i32 0, ptr %8, align 4
%74 = load ptr, ptr %9, align 8
%75 = load i32, ptr %8, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds ptr, ptr %74, i64 %76
%78 = load ptr, ptr %77, align 8
%79 = icmp ne ptr %78, null
br i1 %79, label %.lr.ph2, label %102
.lr.ph2: ; preds = %33
br label %80
80: ; preds = %.lr.ph2, %93
%81 = load ptr, ptr %9, 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 %9, align 8
%87 = load i32, ptr %8, align 4
%88 = add nsw i32 %87, 1
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds ptr, ptr %86, i64 %89
%91 = load ptr, ptr %90, align 8
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str.43, ptr noundef %85, ptr noundef %91)
br label %93
93: ; preds = %80
%94 = load i32, ptr %8, align 4
%95 = add nsw i32 %94, 2
store i32 %95, ptr %8, align 4
%96 = load ptr, ptr %9, align 8
%97 = load i32, ptr %8, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds ptr, ptr %96, i64 %98
%100 = load ptr, ptr %99, align 8
%101 = icmp ne ptr %100, null
br i1 %101, label %80, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %93
br label %102
102: ; preds = %._crit_edge3, %33
%103 = call i32 (ptr, ...) @printf(ptr noundef @.str.44)
%104 = call i32 (ptr, ...) @printf(ptr noundef @.str.45)
%105 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare ptr @getcgivars(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @getenv(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpee39opvj.c'
source_filename = "/tmp/tmpee39opvj.c"
target datalayout = "e-m:e-p270: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 [31 x i8] c"0-255 arasi bir sayi giriniz.\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Sonuc: %08d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = load i32, ptr %2, align 4
%7 = icmp sge i32 %6, 128
br i1 %7, label %8, label %13
8: ; preds = %0
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %9, 10000000
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = sub nsw i32 %11, 128
store i32 %12, ptr %2, align 4
br label %13
13: ; preds = %8, %0
%14 = load i32, ptr %2, align 4
%15 = icmp sge i32 %14, 64
br i1 %15, label %16, label %21
16: ; preds = %13
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1000000
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %2, align 4
%20 = sub nsw i32 %19, 64
store i32 %20, ptr %2, align 4
br label %21
21: ; preds = %16, %13
%22 = load i32, ptr %2, align 4
%23 = icmp sge i32 %22, 32
br i1 %23, label %24, label %29
24: ; preds = %21
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 100000
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %2, align 4
%28 = sub nsw i32 %27, 32
store i32 %28, ptr %2, align 4
br label %29
29: ; preds = %24, %21
%30 = load i32, ptr %2, align 4
%31 = icmp sge i32 %30, 16
br i1 %31, label %32, label %37
32: ; preds = %29
%33 = load i32, ptr %3, align 4
%34 = add nsw i32 %33, 10000
store i32 %34, ptr %3, align 4
%35 = load i32, ptr %2, align 4
%36 = sub nsw i32 %35, 16
store i32 %36, ptr %2, align 4
br label %37
37: ; preds = %32, %29
%38 = load i32, ptr %2, align 4
%39 = icmp sge i32 %38, 8
br i1 %39, label %40, label %45
40: ; preds = %37
%41 = load i32, ptr %3, align 4
%42 = add nsw i32 %41, 1000
store i32 %42, ptr %3, align 4
%43 = load i32, ptr %2, align 4
%44 = sub nsw i32 %43, 8
store i32 %44, ptr %2, align 4
br label %45
45: ; preds = %40, %37
%46 = load i32, ptr %2, align 4
%47 = icmp sge i32 %46, 4
br i1 %47, label %48, label %53
48: ; preds = %45
%49 = load i32, ptr %3, align 4
%50 = add nsw i32 %49, 100
store i32 %50, ptr %3, align 4
%51 = load i32, ptr %2, align 4
%52 = sub nsw i32 %51, 4
store i32 %52, ptr %2, align 4
br label %53
53: ; preds = %48, %45
%54 = load i32, ptr %2, align 4
%55 = icmp sge i32 %54, 2
br i1 %55, label %56, label %61
56: ; preds = %53
%57 = load i32, ptr %3, align 4
%58 = add nsw i32 %57, 10
store i32 %58, ptr %3, align 4
%59 = load i32, ptr %2, align 4
%60 = sub nsw i32 %59, 2
store i32 %60, ptr %2, align 4
br label %61
61: ; preds = %56, %53
%62 = load i32, ptr %2, align 4
%63 = icmp sge i32 %62, 1
br i1 %63, label %64, label %69
64: ; preds = %61
%65 = load i32, ptr %3, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %3, align 4
%67 = load i32, ptr %2, align 4
%68 = sub nsw i32 %67, 1
store i32 %68, ptr %2, align 4
br label %69
69: ; preds = %64, %61
%70 = load i32, ptr %3, align 4
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %70)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpee39opvj.c"
target datalayout = "e-m:e-p270: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 [31 x i8] c"0-255 arasi bir sayi giriniz.\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Sonuc: %08d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = load i32, ptr %2, align 4
%7 = icmp sge i32 %6, 128
br i1 %7, label %8, label %13
8: ; preds = %0
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %9, 10000000
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = sub nsw i32 %11, 128
store i32 %12, ptr %2, align 4
br label %13
13: ; preds = %8, %0
%14 = load i32, ptr %2, align 4
%15 = icmp sge i32 %14, 64
br i1 %15, label %16, label %21
16: ; preds = %13
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1000000
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %2, align 4
%20 = sub nsw i32 %19, 64
store i32 %20, ptr %2, align 4
br label %21
21: ; preds = %16, %13
%22 = load i32, ptr %2, align 4
%23 = icmp sge i32 %22, 32
br i1 %23, label %24, label %29
24: ; preds = %21
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 100000
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %2, align 4
%28 = sub nsw i32 %27, 32
store i32 %28, ptr %2, align 4
br label %29
29: ; preds = %24, %21
%30 = load i32, ptr %2, align 4
%31 = icmp sge i32 %30, 16
br i1 %31, label %32, label %37
32: ; preds = %29
%33 = load i32, ptr %3, align 4
%34 = add nsw i32 %33, 10000
store i32 %34, ptr %3, align 4
%35 = load i32, ptr %2, align 4
%36 = sub nsw i32 %35, 16
store i32 %36, ptr %2, align 4
br label %37
37: ; preds = %32, %29
%38 = load i32, ptr %2, align 4
%39 = icmp sge i32 %38, 8
br i1 %39, label %40, label %45
40: ; preds = %37
%41 = load i32, ptr %3, align 4
%42 = add nsw i32 %41, 1000
store i32 %42, ptr %3, align 4
%43 = load i32, ptr %2, align 4
%44 = sub nsw i32 %43, 8
store i32 %44, ptr %2, align 4
br label %45
45: ; preds = %40, %37
%46 = load i32, ptr %2, align 4
%47 = icmp sge i32 %46, 4
br i1 %47, label %48, label %53
48: ; preds = %45
%49 = load i32, ptr %3, align 4
%50 = add nsw i32 %49, 100
store i32 %50, ptr %3, align 4
%51 = load i32, ptr %2, align 4
%52 = sub nsw i32 %51, 4
store i32 %52, ptr %2, align 4
br label %53
53: ; preds = %48, %45
%54 = load i32, ptr %2, align 4
%55 = icmp sge i32 %54, 2
br i1 %55, label %56, label %61
56: ; preds = %53
%57 = load i32, ptr %3, align 4
%58 = add nsw i32 %57, 10
store i32 %58, ptr %3, align 4
%59 = load i32, ptr %2, align 4
%60 = sub nsw i32 %59, 2
store i32 %60, ptr %2, align 4
br label %61
61: ; preds = %56, %53
%62 = load i32, ptr %2, align 4
%63 = icmp sge i32 %62, 1
br i1 %63, label %64, label %69
64: ; preds = %61
%65 = load i32, ptr %3, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %3, align 4
%67 = load i32, ptr %2, align 4
%68 = sub nsw i32 %67, 1
store i32 %68, ptr %2, align 4
br label %69
69: ; preds = %64, %61
%70 = load i32, ptr %3, align 4
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %70)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa4xfpm4a.c'
source_filename = "/tmp/tmpa4xfpm4a.c"
target datalayout = "e-m:e-p270: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"(%d);\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_sbrk_r(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = call i32 @TP(ptr noundef @.str, i32 noundef %5)
ret i32 0
}
declare i32 @TP(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/tmpa4xfpm4a.c"
target datalayout = "e-m:e-p270: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"(%d);\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_sbrk_r(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = call i32 @TP(ptr noundef @.str, i32 noundef %5)
ret i32 0
}
declare i32 @TP(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/tmp7dpz4u2y.c'
source_filename = "/tmp/tmp7dpz4u2y.c"
target datalayout = "e-m:e-p270: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/tmp7dpz4u2y.c"
target datalayout = "e-m:e-p270: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/tmp4qcd4lve.c'
source_filename = "/tmp/tmp4qcd4lve.c"
target datalayout = "e-m:e-p270: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_iscntrl.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"iscntrl should be 0 for 0x98\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_iscntrl_0x98() #0 {
%1 = call i64 @iscntrl(i32 noundef 152)
%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 765, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @iscntrl(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/tmp4qcd4lve.c"
target datalayout = "e-m:e-p270: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_iscntrl.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"iscntrl should be 0 for 0x98\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_iscntrl_0x98() #0 {
%1 = call i64 @iscntrl(i32 noundef 152)
%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 765, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @iscntrl(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/tmp1smcv0cp.c'
source_filename = "/tmp/tmp1smcv0cp.c"
target datalayout = "e-m:e-p270: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 @test() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = call i64 @malloc(i32 noundef 4)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
store i32 10, ptr %6, align 4
%7 = load ptr, ptr %2, align 8
%8 = load i32, ptr %7, align 4
%9 = icmp sgt i32 %8, 5
br i1 %9, label %10, label %12
10: ; preds = %0
%11 = call ptr @test()
store ptr %11, ptr %1, align 8
br label %17
12: ; preds = %0
%13 = call i64 @malloc(i32 noundef 4)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %3, align 8
%15 = load ptr, ptr %3, align 8
%16 = call ptr @test1(ptr noundef %15)
store ptr %16, ptr %1, align 8
br label %17
17: ; preds = %12, %10
%18 = load ptr, ptr %1, align 8
ret ptr %18
}
declare i64 @malloc(i32 noundef) #1
declare ptr @test1(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/tmp1smcv0cp.c"
target datalayout = "e-m:e-p270: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 @test() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = call i64 @malloc(i32 noundef 4)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
store i32 10, ptr %6, align 4
%7 = load ptr, ptr %2, align 8
%8 = load i32, ptr %7, align 4
%9 = icmp sgt i32 %8, 5
br i1 %9, label %10, label %12
10: ; preds = %0
%11 = call ptr @test()
store ptr %11, ptr %1, align 8
br label %17
12: ; preds = %0
%13 = call i64 @malloc(i32 noundef 4)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %3, align 8
%15 = load ptr, ptr %3, align 8
%16 = call ptr @test1(ptr noundef %15)
store ptr %16, ptr %1, align 8
br label %17
17: ; preds = %12, %10
%18 = load ptr, ptr %1, align 8
ret ptr %18
}
declare i64 @malloc(i32 noundef) #1
declare ptr @test1(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/tmp3a05y5j4.c'
source_filename = "/tmp/tmp3a05y5j4.c"
target datalayout = "e-m:e-p270: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 @dist(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds i32, ptr %7, i64 3
%9 = load i32, ptr %8, align 4
store i32 %9, ptr %6, align 4
%10 = call ptr @malloc(i32 noundef 8)
store ptr %10, ptr %5, align 8
%11 = load i32, ptr %6, align 4
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %17
13: ; preds = %1
%14 = load ptr, ptr %2, align 8
%15 = load ptr, ptr %5, align 8
%16 = call i32 @operacao_dist(ptr noundef %14, ptr noundef %15, i32 noundef 0, i32 noundef 2)
br label %17
17: ; preds = %13, %1
%18 = load i32, ptr %6, align 4
%19 = icmp eq i32 %18, 2
br i1 %19, label %20, label %24
20: ; preds = %17
%21 = load ptr, ptr %2, align 8
%22 = load ptr, ptr %5, align 8
%23 = call i32 @operacao_dist(ptr noundef %21, ptr noundef %22, i32 noundef 0, i32 noundef -2)
br label %24
24: ; preds = %20, %17
%25 = load i32, ptr %6, align 4
%26 = icmp eq i32 %25, 3
br i1 %26, label %27, label %31
27: ; preds = %24
%28 = load ptr, ptr %2, align 8
%29 = load ptr, ptr %5, align 8
%30 = call i32 @operacao_dist(ptr noundef %28, ptr noundef %29, i32 noundef -2, i32 noundef 0)
br label %31
31: ; preds = %27, %24
%32 = load i32, ptr %6, align 4
%33 = icmp eq i32 %32, 4
br i1 %33, label %34, label %38
34: ; preds = %31
%35 = load ptr, ptr %2, align 8
%36 = load ptr, ptr %5, align 8
%37 = call i32 @operacao_dist(ptr noundef %35, ptr noundef %36, i32 noundef 2, i32 noundef 0)
br label %38
38: ; preds = %34, %31
%39 = load ptr, ptr %5, align 8
ret ptr %39
}
declare ptr @malloc(i32 noundef) #1
declare i32 @operacao_dist(ptr noundef, 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3a05y5j4.c"
target datalayout = "e-m:e-p270: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 @dist(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds i32, ptr %7, i64 3
%9 = load i32, ptr %8, align 4
store i32 %9, ptr %6, align 4
%10 = call ptr @malloc(i32 noundef 8)
store ptr %10, ptr %5, align 8
%11 = load i32, ptr %6, align 4
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %17
13: ; preds = %1
%14 = load ptr, ptr %2, align 8
%15 = load ptr, ptr %5, align 8
%16 = call i32 @operacao_dist(ptr noundef %14, ptr noundef %15, i32 noundef 0, i32 noundef 2)
br label %17
17: ; preds = %13, %1
%18 = load i32, ptr %6, align 4
%19 = icmp eq i32 %18, 2
br i1 %19, label %20, label %24
20: ; preds = %17
%21 = load ptr, ptr %2, align 8
%22 = load ptr, ptr %5, align 8
%23 = call i32 @operacao_dist(ptr noundef %21, ptr noundef %22, i32 noundef 0, i32 noundef -2)
br label %24
24: ; preds = %20, %17
%25 = load i32, ptr %6, align 4
%26 = icmp eq i32 %25, 3
br i1 %26, label %27, label %31
27: ; preds = %24
%28 = load ptr, ptr %2, align 8
%29 = load ptr, ptr %5, align 8
%30 = call i32 @operacao_dist(ptr noundef %28, ptr noundef %29, i32 noundef -2, i32 noundef 0)
br label %31
31: ; preds = %27, %24
%32 = load i32, ptr %6, align 4
%33 = icmp eq i32 %32, 4
br i1 %33, label %34, label %38
34: ; preds = %31
%35 = load ptr, ptr %2, align 8
%36 = load ptr, ptr %5, align 8
%37 = call i32 @operacao_dist(ptr noundef %35, ptr noundef %36, i32 noundef 2, i32 noundef 0)
br label %38
38: ; preds = %34, %31
%39 = load ptr, ptr %5, align 8
ret ptr %39
}
declare ptr @malloc(i32 noundef) #1
declare i32 @operacao_dist(ptr noundef, 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"}
|
; ModuleID = '/tmp/tmp0ozm2wyo.c'
source_filename = "/tmp/tmp0ozm2wyo.c"
target datalayout = "e-m:e-p270: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"input.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.3 = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"%d %d %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"0\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = 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
%13 = load i32, ptr @stdin, align 4
%14 = call i32 @freopen(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %13)
br label %15
15: ; preds = %75, %2
%16 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %6)
%17 = load i64, ptr @EOF, align 8
%18 = icmp ne i64 %16, %17
br i1 %18, label %19, label %76
19: ; preds = %15
%20 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %7, ptr noundef %8, ptr noundef %9)
store i32 9, ptr %10, align 4
br label %21
21: ; preds = %58, %19
%22 = load i32, ptr %10, align 4
%23 = icmp sgt i32 %22, 0
br i1 %23, label %24, label %61
24: ; preds = %21
store i32 9, ptr %11, align 4
br label %25
25: ; preds = %48, %24
%26 = load i32, ptr %11, align 4
%27 = icmp sge i32 %26, 0
br i1 %27, label %28, label %51
28: ; preds = %25
%29 = load i32, ptr %10, align 4
%30 = mul nsw i32 %29, 10000
%31 = load i32, ptr %7, align 4
%32 = mul nsw i32 %31, 1000
%33 = add nsw i32 %30, %32
%34 = load i32, ptr %8, align 4
%35 = mul nsw i32 %34, 100
%36 = add nsw i32 %33, %35
%37 = load i32, ptr %9, align 4
%38 = mul nsw i32 %37, 10
%39 = add nsw i32 %36, %38
%40 = load i32, ptr %11, align 4
%41 = add nsw i32 %39, %40
store i32 %41, ptr %12, align 4
%42 = load i32, ptr %12, align 4
%43 = load i32, ptr %6, align 4
%44 = srem i32 %42, %43
%45 = icmp ne i32 %44, 0
br i1 %45, label %47, label %46
46: ; preds = %28
br label %51
47: ; preds = %28
br label %48
48: ; preds = %47
%49 = load i32, ptr %11, align 4
%50 = add nsw i32 %49, -1
store i32 %50, ptr %11, align 4
br label %25, !llvm.loop !6
51: ; preds = %46, %25
%52 = load i32, ptr %12, align 4
%53 = load i32, ptr %6, align 4
%54 = srem i32 %52, %53
%55 = icmp ne i32 %54, 0
br i1 %55, label %57, label %56
56: ; preds = %51
br label %61
57: ; preds = %51
br label %58
58: ; preds = %57
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, -1
store i32 %60, ptr %10, align 4
br label %21, !llvm.loop !8
61: ; preds = %56, %21
%62 = load i32, ptr %12, align 4
%63 = load i32, ptr %6, align 4
%64 = srem i32 %62, %63
%65 = icmp ne i32 %64, 0
br i1 %65, label %73, label %66
66: ; preds = %61
%67 = load i32, ptr %10, align 4
%68 = load i32, ptr %11, align 4
%69 = load i32, ptr %12, align 4
%70 = load i32, ptr %6, align 4
%71 = sdiv i32 %69, %70
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %67, i32 noundef %68, i32 noundef %71)
br label %75
73: ; preds = %61
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %75
75: ; preds = %73, %66
br label %15, !llvm.loop !9
76: ; preds = %15
ret i32 0
}
declare i32 @freopen(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @scanf(ptr noundef, ptr 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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0ozm2wyo.c"
target datalayout = "e-m:e-p270: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"input.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.3 = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"%d %d %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"0\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = 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
%13 = load i32, ptr @stdin, align 4
%14 = call i32 @freopen(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %13)
%15 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %6)
%16 = load i64, ptr @EOF, align 8
%17 = icmp ne i64 %15, %16
br i1 %17, label %.lr.ph3, label %80
.lr.ph3: ; preds = %2
br label %18
18: ; preds = %.lr.ph3, %76
%19 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %7, ptr noundef %8, ptr noundef %9)
store i32 9, ptr %10, align 4
%20 = load i32, ptr %10, align 4
%21 = icmp sgt i32 %20, 0
br i1 %21, label %.lr.ph2, label %.loopexit1
.lr.ph2: ; preds = %18
br label %22
22: ; preds = %.lr.ph2, %57
store i32 9, ptr %11, align 4
%23 = load i32, ptr %11, align 4
%24 = icmp sge i32 %23, 0
br i1 %24, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %22
br label %25
25: ; preds = %.lr.ph, %45
%26 = load i32, ptr %10, align 4
%27 = mul nsw i32 %26, 10000
%28 = load i32, ptr %7, align 4
%29 = mul nsw i32 %28, 1000
%30 = add nsw i32 %27, %29
%31 = load i32, ptr %8, align 4
%32 = mul nsw i32 %31, 100
%33 = add nsw i32 %30, %32
%34 = load i32, ptr %9, align 4
%35 = mul nsw i32 %34, 10
%36 = add nsw i32 %33, %35
%37 = load i32, ptr %11, align 4
%38 = add nsw i32 %36, %37
store i32 %38, ptr %12, align 4
%39 = load i32, ptr %12, align 4
%40 = load i32, ptr %6, align 4
%41 = srem i32 %39, %40
%42 = icmp ne i32 %41, 0
br i1 %42, label %44, label %43
43: ; preds = %25
br label %50
44: ; preds = %25
br label %45
45: ; preds = %44
%46 = load i32, ptr %11, align 4
%47 = add nsw i32 %46, -1
store i32 %47, ptr %11, align 4
%48 = load i32, ptr %11, align 4
%49 = icmp sge i32 %48, 0
br i1 %49, label %25, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %45
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %22
br label %50
50: ; preds = %.loopexit, %43
%51 = load i32, ptr %12, align 4
%52 = load i32, ptr %6, align 4
%53 = srem i32 %51, %52
%54 = icmp ne i32 %53, 0
br i1 %54, label %56, label %55
55: ; preds = %50
br label %62
56: ; preds = %50
br label %57
57: ; preds = %56
%58 = load i32, ptr %10, align 4
%59 = add nsw i32 %58, -1
store i32 %59, ptr %10, align 4
%60 = load i32, ptr %10, align 4
%61 = icmp sgt i32 %60, 0
br i1 %61, label %22, label %..loopexit1_crit_edge, !llvm.loop !8
..loopexit1_crit_edge: ; preds = %57
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %18
br label %62
62: ; preds = %.loopexit1, %55
%63 = load i32, ptr %12, align 4
%64 = load i32, ptr %6, align 4
%65 = srem i32 %63, %64
%66 = icmp ne i32 %65, 0
br i1 %66, label %74, label %67
67: ; preds = %62
%68 = load i32, ptr %10, align 4
%69 = load i32, ptr %11, align 4
%70 = load i32, ptr %12, align 4
%71 = load i32, ptr %6, align 4
%72 = sdiv i32 %70, %71
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %68, i32 noundef %69, i32 noundef %72)
br label %76
74: ; preds = %62
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %76
76: ; preds = %74, %67
%77 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %6)
%78 = load i64, ptr @EOF, align 8
%79 = icmp ne i64 %77, %78
br i1 %79, label %18, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %76
br label %80
80: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @freopen(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @scanf(ptr noundef, ptr 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}
|
; ModuleID = '/tmp/tmpg4fcujag.c'
source_filename = "/tmp/tmpg4fcujag.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print(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 @printf(ptr noundef @.str, i32 noundef %3)
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/tmpg4fcujag.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print(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 @printf(ptr noundef @.str, i32 noundef %3)
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/tmpeqvrz_ow.c'
source_filename = "/tmp/tmpeqvrz_ow.c"
target datalayout = "e-m:e-p270: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/tmpeqvrz_ow.c"
target datalayout = "e-m:e-p270: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/tmp0an_vacq.c'
source_filename = "/tmp/tmp0an_vacq.c"
target datalayout = "e-m:e-p270: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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @test()
%7 = call i32 (...) @starBar()
%8 = call i32 (...) @test2()
ret i32 0
}
declare i32 @test(...) #1
declare i32 @starBar(...) #1
declare i32 @test2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp0an_vacq.c"
target datalayout = "e-m:e-p270: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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @test()
%7 = call i32 (...) @starBar()
%8 = call i32 (...) @test2()
ret i32 0
}
declare i32 @test(...) #1
declare i32 @starBar(...) #1
declare i32 @test2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpctp7hel5.c'
source_filename = "/tmp/tmpctp7hel5.c"
target datalayout = "e-m:e-p270: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/tmpctp7hel5.c"
target datalayout = "e-m:e-p270: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/tmpft837rqe.c'
source_filename = "/tmp/tmpft837rqe.c"
target datalayout = "e-m:e-p270: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 @jos_sleep() #0 {
%1 = call i32 (...) @jos_port_sleep()
ret void
}
declare i32 @jos_port_sleep(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpft837rqe.c"
target datalayout = "e-m:e-p270: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 @jos_sleep() #0 {
%1 = call i32 (...) @jos_port_sleep()
ret void
}
declare i32 @jos_port_sleep(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpy1oey7f8.c'
source_filename = "/tmp/tmpy1oey7f8.c"
target datalayout = "e-m:e-p270: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/tmpy1oey7f8.c"
target datalayout = "e-m:e-p270: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/tmpofte5crs.c'
source_filename = "/tmp/tmpofte5crs.c"
target datalayout = "e-m:e-p270: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/tmpofte5crs.c"
target datalayout = "e-m:e-p270: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/tmpjzj2lvht.c'
source_filename = "/tmp/tmpjzj2lvht.c"
target datalayout = "e-m:e-p270: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 [26 x i8] c"There is no help so far!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_help() #0 {
%1 = load i32, ptr @stdout, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
ret void
}
declare i32 @fprintf(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/tmpjzj2lvht.c"
target datalayout = "e-m:e-p270: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 [26 x i8] c"There is no help so far!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_help() #0 {
%1 = load i32, ptr @stdout, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
ret void
}
declare i32 @fprintf(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/tmpdvdgzfn7.c'
source_filename = "/tmp/tmpdvdgzfn7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sd_uid_get_display(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @EINVAL, align 4
%6 = sub nsw i32 0, %5
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdvdgzfn7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sd_uid_get_display(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @EINVAL, align 4
%6 = sub nsw i32 0, %5
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6fud1qzu.c'
source_filename = "/tmp/tmp6fud1qzu.c"
target datalayout = "e-m:e-p270: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 @hash_int(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @hash_buffer(ptr noundef %2, i32 noundef 4)
ret void
}
declare i32 @hash_buffer(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/tmp6fud1qzu.c"
target datalayout = "e-m:e-p270: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 @hash_int(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @hash_buffer(ptr noundef %2, i32 noundef 4)
ret void
}
declare i32 @hash_buffer(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/tmp674_buvx.c'
source_filename = "/tmp/tmp674_buvx.c"
target datalayout = "e-m:e-p270: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 @wifstopped(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 @WIFSTOPPED(i32 noundef %3)
ret i32 %4
}
declare i32 @WIFSTOPPED(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/tmp674_buvx.c"
target datalayout = "e-m:e-p270: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 @wifstopped(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 @WIFSTOPPED(i32 noundef %3)
ret i32 %4
}
declare i32 @WIFSTOPPED(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/tmpu6gii41z.c'
source_filename = "/tmp/tmpu6gii41z.c"
target datalayout = "e-m:e-p270: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 @_win_isxdigit(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 @isxdigit(i32 noundef %3) #2
ret i32 %4
}
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isxdigit(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-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 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpu6gii41z.c"
target datalayout = "e-m:e-p270: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 @_win_isxdigit(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 @isxdigit(i32 noundef %3) #2
ret i32 %4
}
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isxdigit(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-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 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpgz8qncwd.c'
source_filename = "/tmp/tmpgz8qncwd.c"
target datalayout = "e-m:e-p270: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/tmpgz8qncwd.c"
target datalayout = "e-m:e-p270: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/tmp5l1gjy3d.c'
source_filename = "/tmp/tmp5l1gjy3d.c"
target datalayout = "e-m:e-p270: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/tmp5l1gjy3d.c"
target datalayout = "e-m:e-p270: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/tmpd7dbkrgc.c'
source_filename = "/tmp/tmpd7dbkrgc.c"
target datalayout = "e-m:e-p270: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 @serialize_uint32(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %31
7: ; preds = %2
%8 = load i32, ptr %4, align 4
%9 = and i32 %8, 255
%10 = trunc i32 %9 to i8
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 0
store i8 %10, ptr %12, align 1
%13 = load i32, ptr %4, align 4
%14 = and i32 %13, 65280
%15 = lshr i32 %14, 8
%16 = trunc i32 %15 to i8
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 1
store i8 %16, ptr %18, align 1
%19 = load i32, ptr %4, align 4
%20 = and i32 %19, 16711680
%21 = lshr i32 %20, 16
%22 = trunc i32 %21 to i8
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 2
store i8 %22, ptr %24, align 1
%25 = load i32, ptr %4, align 4
%26 = and i32 %25, -16777216
%27 = lshr i32 %26, 24
%28 = trunc i32 %27 to i8
%29 = load ptr, ptr %3, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 3
store i8 %28, ptr %30, align 1
br label %31
31: ; preds = %7, %2
ret i64 4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpd7dbkrgc.c"
target datalayout = "e-m:e-p270: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 @serialize_uint32(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %31
7: ; preds = %2
%8 = load i32, ptr %4, align 4
%9 = and i32 %8, 255
%10 = trunc i32 %9 to i8
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 0
store i8 %10, ptr %12, align 1
%13 = load i32, ptr %4, align 4
%14 = and i32 %13, 65280
%15 = lshr i32 %14, 8
%16 = trunc i32 %15 to i8
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 1
store i8 %16, ptr %18, align 1
%19 = load i32, ptr %4, align 4
%20 = and i32 %19, 16711680
%21 = lshr i32 %20, 16
%22 = trunc i32 %21 to i8
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 2
store i8 %22, ptr %24, align 1
%25 = load i32, ptr %4, align 4
%26 = and i32 %25, -16777216
%27 = lshr i32 %26, 24
%28 = trunc i32 %27 to i8
%29 = load ptr, ptr %3, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 3
store i8 %28, ptr %30, align 1
br label %31
31: ; preds = %7, %2
ret i64 4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpj_qc4itz.c'
source_filename = "/tmp/tmpj_qc4itz.c"
target datalayout = "e-m:e-p270: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 [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%8.3f \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @save(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%12 = load ptr, ptr %8, align 8
%13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str)
store ptr %13, ptr %11, align 8
store i64 0, ptr %9, align 8
br label %14
14: ; preds = %39, %4
%15 = load i64, ptr %9, align 8
%16 = load i64, ptr %6, align 8
%17 = icmp ult i64 %15, %16
br i1 %17, label %18, label %42
18: ; preds = %14
store i64 0, ptr %10, align 8
br label %19
19: ; preds = %33, %18
%20 = load i64, ptr %10, align 8
%21 = load i64, ptr %7, align 8
%22 = icmp ult i64 %20, %21
br i1 %22, label %23, label %36
23: ; preds = %19
%24 = load ptr, ptr %11, align 8
%25 = load ptr, ptr %5, align 8
%26 = load i64, ptr %9, align 8
%27 = getelementptr inbounds ptr, ptr %25, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = load i64, ptr %10, align 8
%30 = getelementptr inbounds double, ptr %28, i64 %29
%31 = load double, ptr %30, align 8
%32 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef @.str.1, double noundef %31)
br label %33
33: ; preds = %23
%34 = load i64, ptr %10, align 8
%35 = add i64 %34, 1
store i64 %35, ptr %10, align 8
br label %19, !llvm.loop !6
36: ; preds = %19
%37 = load ptr, ptr %11, align 8
%38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef @.str.2)
br label %39
39: ; preds = %36
%40 = load i64, ptr %9, align 8
%41 = add i64 %40, 1
store i64 %41, ptr %9, align 8
br label %14, !llvm.loop !8
42: ; preds = %14
%43 = load ptr, ptr %11, align 8
%44 = call i32 @fclose(ptr noundef %43)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj_qc4itz.c"
target datalayout = "e-m:e-p270: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 [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%8.3f \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @save(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%12 = load ptr, ptr %8, align 8
%13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str)
store ptr %13, ptr %11, align 8
store i64 0, ptr %9, align 8
%14 = load i64, ptr %9, align 8
%15 = load i64, ptr %6, align 8
%16 = icmp ult i64 %14, %15
br i1 %16, label %.lr.ph2, label %46
.lr.ph2: ; preds = %4
br label %17
17: ; preds = %.lr.ph2, %40
store i64 0, ptr %10, align 8
%18 = load i64, ptr %10, align 8
%19 = load i64, ptr %7, align 8
%20 = icmp ult i64 %18, %19
br i1 %20, label %.lr.ph, label %37
.lr.ph: ; preds = %17
br label %21
21: ; preds = %.lr.ph, %31
%22 = load ptr, ptr %11, align 8
%23 = load ptr, ptr %5, align 8
%24 = load i64, ptr %9, align 8
%25 = getelementptr inbounds ptr, ptr %23, i64 %24
%26 = load ptr, ptr %25, align 8
%27 = load i64, ptr %10, align 8
%28 = getelementptr inbounds double, ptr %26, i64 %27
%29 = load double, ptr %28, align 8
%30 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %22, ptr noundef @.str.1, double noundef %29)
br label %31
31: ; preds = %21
%32 = load i64, ptr %10, align 8
%33 = add i64 %32, 1
store i64 %33, ptr %10, align 8
%34 = load i64, ptr %10, align 8
%35 = load i64, ptr %7, align 8
%36 = icmp ult i64 %34, %35
br i1 %36, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %37
37: ; preds = %._crit_edge, %17
%38 = load ptr, ptr %11, align 8
%39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %38, ptr noundef @.str.2)
br label %40
40: ; preds = %37
%41 = load i64, ptr %9, align 8
%42 = add i64 %41, 1
store i64 %42, ptr %9, align 8
%43 = load i64, ptr %9, align 8
%44 = load i64, ptr %6, align 8
%45 = icmp ult i64 %43, %44
br i1 %45, label %17, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %40
br label %46
46: ; preds = %._crit_edge3, %4
%47 = load ptr, ptr %11, align 8
%48 = call i32 @fclose(ptr noundef %47)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpiuhyywmg.c'
source_filename = "/tmp/tmpiuhyywmg.c"
target datalayout = "e-m:e-p270: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_6__ = type { i32, ptr, i32 }
@V_ASN1_INTEGER = dso_local global i32 0, align 4
@ASN1_R_BAD_OBJECT_HEADER = dso_local global i32 0, align 4
@ASN1_R_EXPECTING_AN_INTEGER = dso_local global i32 0, align 4
@ERR_R_MALLOC_FAILURE = dso_local global i32 0, align 4
@ASN1_F_D2I_ASN1_UINTEGER = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @d2i_ASN1_UINTEGER(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr null, ptr %8, align 8
%16 = load ptr, ptr %5, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %22, label %18
18: ; preds = %3
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %19, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %30
22: ; preds = %18, %3
%23 = call ptr (...) @M_ASN1_INTEGER_new()
store ptr %23, ptr %8, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %26
25: ; preds = %22
store ptr null, ptr %4, align 8
br label %121
26: ; preds = %22
%27 = load i32, ptr @V_ASN1_INTEGER, align 4
%28 = load ptr, ptr %8, align 8
%29 = getelementptr inbounds %struct.TYPE_6__, ptr %28, i32 0, i32 0
store i32 %27, ptr %29, align 8
br label %33
30: ; preds = %18
%31 = load ptr, ptr %5, align 8
%32 = load ptr, ptr %31, align 8
store ptr %32, ptr %8, align 8
br label %33
33: ; preds = %30, %26
%34 = load ptr, ptr %6, align 8
%35 = load ptr, ptr %34, align 8
store ptr %35, ptr %9, align 8
%36 = load i64, ptr %7, align 8
%37 = call i32 @ASN1_get_object(ptr noundef %9, ptr noundef %11, ptr noundef %13, ptr noundef %14, i64 noundef %36)
store i32 %37, ptr %12, align 4
%38 = load i32, ptr %12, align 4
%39 = and i32 %38, 128
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %43
41: ; preds = %33
%42 = load i32, ptr @ASN1_R_BAD_OBJECT_HEADER, align 4
store i32 %42, ptr %15, align 4
br label %106
43: ; preds = %33
%44 = load i32, ptr %13, align 4
%45 = load i32, ptr @V_ASN1_INTEGER, align 4
%46 = icmp ne i32 %44, %45
br i1 %46, label %47, label %49
47: ; preds = %43
%48 = load i32, ptr @ASN1_R_EXPECTING_AN_INTEGER, align 4
store i32 %48, ptr %15, align 4
br label %106
49: ; preds = %43
%50 = load i64, ptr %11, align 8
%51 = trunc i64 %50 to i32
%52 = add nsw i32 %51, 1
%53 = call ptr @malloc(i32 noundef %52)
store ptr %53, ptr %10, align 8
%54 = load ptr, ptr %10, align 8
%55 = icmp eq ptr %54, null
br i1 %55, label %56, label %58
56: ; preds = %49
%57 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4
store i32 %57, ptr %15, align 4
br label %106
58: ; preds = %49
%59 = load i32, ptr @V_ASN1_INTEGER, align 4
%60 = load ptr, ptr %8, align 8
%61 = getelementptr inbounds %struct.TYPE_6__, ptr %60, i32 0, i32 0
store i32 %59, ptr %61, align 8
%62 = load i64, ptr %11, align 8
%63 = icmp ne i64 %62, 0
br i1 %63, label %64, label %85
64: ; preds = %58
%65 = load ptr, ptr %9, align 8
%66 = load i8, ptr %65, align 1
%67 = zext i8 %66 to i32
%68 = icmp eq i32 %67, 0
br i1 %68, label %69, label %77
69: ; preds = %64
%70 = load i64, ptr %11, align 8
%71 = icmp ne i64 %70, 1
br i1 %71, label %72, label %77
72: ; preds = %69
%73 = load ptr, ptr %9, align 8
%74 = getelementptr inbounds i8, ptr %73, i32 1
store ptr %74, ptr %9, align 8
%75 = load i64, ptr %11, align 8
%76 = add nsw i64 %75, -1
store i64 %76, ptr %11, align 8
br label %77
77: ; preds = %72, %69, %64
%78 = load ptr, ptr %10, align 8
%79 = load ptr, ptr %9, align 8
%80 = load i64, ptr %11, align 8
%81 = call i32 @memcpy(ptr noundef %78, ptr noundef %79, i64 noundef %80)
%82 = load i64, ptr %11, align 8
%83 = load ptr, ptr %9, align 8
%84 = getelementptr inbounds i8, ptr %83, i64 %82
store ptr %84, ptr %9, align 8
br label %85
85: ; preds = %77, %58
%86 = load ptr, ptr %8, align 8
%87 = getelementptr inbounds %struct.TYPE_6__, ptr %86, i32 0, i32 1
%88 = load ptr, ptr %87, align 8
%89 = call i32 @free(ptr noundef %88)
%90 = load ptr, ptr %10, align 8
%91 = load ptr, ptr %8, align 8
%92 = getelementptr inbounds %struct.TYPE_6__, ptr %91, i32 0, i32 1
store ptr %90, ptr %92, align 8
%93 = load i64, ptr %11, align 8
%94 = trunc i64 %93 to i32
%95 = load ptr, ptr %8, align 8
%96 = getelementptr inbounds %struct.TYPE_6__, ptr %95, i32 0, i32 2
store i32 %94, ptr %96, align 8
%97 = load ptr, ptr %5, align 8
%98 = icmp ne ptr %97, null
br i1 %98, label %99, label %102
99: ; preds = %85
%100 = load ptr, ptr %8, align 8
%101 = load ptr, ptr %5, align 8
store ptr %100, ptr %101, align 8
br label %102
102: ; preds = %99, %85
%103 = load ptr, ptr %9, align 8
%104 = load ptr, ptr %6, align 8
store ptr %103, ptr %104, align 8
%105 = load ptr, ptr %8, align 8
store ptr %105, ptr %4, align 8
br label %121
106: ; preds = %56, %47, %41
%107 = load i32, ptr @ASN1_F_D2I_ASN1_UINTEGER, align 4
%108 = load i32, ptr %15, align 4
%109 = call i32 @ASN1err(i32 noundef %107, i32 noundef %108)
%110 = load ptr, ptr %5, align 8
%111 = icmp eq ptr %110, null
br i1 %111, label %117, label %112
112: ; preds = %106
%113 = load ptr, ptr %5, align 8
%114 = load ptr, ptr %113, align 8
%115 = load ptr, ptr %8, align 8
%116 = icmp ne ptr %114, %115
br i1 %116, label %117, label %120
117: ; preds = %112, %106
%118 = load ptr, ptr %8, align 8
%119 = call i32 @M_ASN1_INTEGER_free(ptr noundef %118)
br label %120
120: ; preds = %117, %112
store ptr null, ptr %4, align 8
br label %121
121: ; preds = %120, %102, %25
%122 = load ptr, ptr %4, align 8
ret ptr %122
}
declare ptr @M_ASN1_INTEGER_new(...) #1
declare i32 @ASN1_get_object(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @ASN1err(i32 noundef, i32 noundef) #1
declare i32 @M_ASN1_INTEGER_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/tmpiuhyywmg.c"
target datalayout = "e-m:e-p270: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_6__ = type { i32, ptr, i32 }
@V_ASN1_INTEGER = dso_local global i32 0, align 4
@ASN1_R_BAD_OBJECT_HEADER = dso_local global i32 0, align 4
@ASN1_R_EXPECTING_AN_INTEGER = dso_local global i32 0, align 4
@ERR_R_MALLOC_FAILURE = dso_local global i32 0, align 4
@ASN1_F_D2I_ASN1_UINTEGER = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @d2i_ASN1_UINTEGER(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr null, ptr %8, align 8
%16 = load ptr, ptr %5, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %22, label %18
18: ; preds = %3
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %19, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %30
22: ; preds = %18, %3
%23 = call ptr (...) @M_ASN1_INTEGER_new()
store ptr %23, ptr %8, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %26
25: ; preds = %22
store ptr null, ptr %4, align 8
br label %121
26: ; preds = %22
%27 = load i32, ptr @V_ASN1_INTEGER, align 4
%28 = load ptr, ptr %8, align 8
%29 = getelementptr inbounds %struct.TYPE_6__, ptr %28, i32 0, i32 0
store i32 %27, ptr %29, align 8
br label %33
30: ; preds = %18
%31 = load ptr, ptr %5, align 8
%32 = load ptr, ptr %31, align 8
store ptr %32, ptr %8, align 8
br label %33
33: ; preds = %30, %26
%34 = load ptr, ptr %6, align 8
%35 = load ptr, ptr %34, align 8
store ptr %35, ptr %9, align 8
%36 = load i64, ptr %7, align 8
%37 = call i32 @ASN1_get_object(ptr noundef %9, ptr noundef %11, ptr noundef %13, ptr noundef %14, i64 noundef %36)
store i32 %37, ptr %12, align 4
%38 = load i32, ptr %12, align 4
%39 = and i32 %38, 128
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %43
41: ; preds = %33
%42 = load i32, ptr @ASN1_R_BAD_OBJECT_HEADER, align 4
store i32 %42, ptr %15, align 4
br label %106
43: ; preds = %33
%44 = load i32, ptr %13, align 4
%45 = load i32, ptr @V_ASN1_INTEGER, align 4
%46 = icmp ne i32 %44, %45
br i1 %46, label %47, label %49
47: ; preds = %43
%48 = load i32, ptr @ASN1_R_EXPECTING_AN_INTEGER, align 4
store i32 %48, ptr %15, align 4
br label %106
49: ; preds = %43
%50 = load i64, ptr %11, align 8
%51 = trunc i64 %50 to i32
%52 = add nsw i32 %51, 1
%53 = call ptr @malloc(i32 noundef %52)
store ptr %53, ptr %10, align 8
%54 = load ptr, ptr %10, align 8
%55 = icmp eq ptr %54, null
br i1 %55, label %56, label %58
56: ; preds = %49
%57 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4
store i32 %57, ptr %15, align 4
br label %106
58: ; preds = %49
%59 = load i32, ptr @V_ASN1_INTEGER, align 4
%60 = load ptr, ptr %8, align 8
%61 = getelementptr inbounds %struct.TYPE_6__, ptr %60, i32 0, i32 0
store i32 %59, ptr %61, align 8
%62 = load i64, ptr %11, align 8
%63 = icmp ne i64 %62, 0
br i1 %63, label %64, label %85
64: ; preds = %58
%65 = load ptr, ptr %9, align 8
%66 = load i8, ptr %65, align 1
%67 = zext i8 %66 to i32
%68 = icmp eq i32 %67, 0
br i1 %68, label %69, label %77
69: ; preds = %64
%70 = load i64, ptr %11, align 8
%71 = icmp ne i64 %70, 1
br i1 %71, label %72, label %77
72: ; preds = %69
%73 = load ptr, ptr %9, align 8
%74 = getelementptr inbounds i8, ptr %73, i32 1
store ptr %74, ptr %9, align 8
%75 = load i64, ptr %11, align 8
%76 = add nsw i64 %75, -1
store i64 %76, ptr %11, align 8
br label %77
77: ; preds = %72, %69, %64
%78 = load ptr, ptr %10, align 8
%79 = load ptr, ptr %9, align 8
%80 = load i64, ptr %11, align 8
%81 = call i32 @memcpy(ptr noundef %78, ptr noundef %79, i64 noundef %80)
%82 = load i64, ptr %11, align 8
%83 = load ptr, ptr %9, align 8
%84 = getelementptr inbounds i8, ptr %83, i64 %82
store ptr %84, ptr %9, align 8
br label %85
85: ; preds = %77, %58
%86 = load ptr, ptr %8, align 8
%87 = getelementptr inbounds %struct.TYPE_6__, ptr %86, i32 0, i32 1
%88 = load ptr, ptr %87, align 8
%89 = call i32 @free(ptr noundef %88)
%90 = load ptr, ptr %10, align 8
%91 = load ptr, ptr %8, align 8
%92 = getelementptr inbounds %struct.TYPE_6__, ptr %91, i32 0, i32 1
store ptr %90, ptr %92, align 8
%93 = load i64, ptr %11, align 8
%94 = trunc i64 %93 to i32
%95 = load ptr, ptr %8, align 8
%96 = getelementptr inbounds %struct.TYPE_6__, ptr %95, i32 0, i32 2
store i32 %94, ptr %96, align 8
%97 = load ptr, ptr %5, align 8
%98 = icmp ne ptr %97, null
br i1 %98, label %99, label %102
99: ; preds = %85
%100 = load ptr, ptr %8, align 8
%101 = load ptr, ptr %5, align 8
store ptr %100, ptr %101, align 8
br label %102
102: ; preds = %99, %85
%103 = load ptr, ptr %9, align 8
%104 = load ptr, ptr %6, align 8
store ptr %103, ptr %104, align 8
%105 = load ptr, ptr %8, align 8
store ptr %105, ptr %4, align 8
br label %121
106: ; preds = %56, %47, %41
%107 = load i32, ptr @ASN1_F_D2I_ASN1_UINTEGER, align 4
%108 = load i32, ptr %15, align 4
%109 = call i32 @ASN1err(i32 noundef %107, i32 noundef %108)
%110 = load ptr, ptr %5, align 8
%111 = icmp eq ptr %110, null
br i1 %111, label %117, label %112
112: ; preds = %106
%113 = load ptr, ptr %5, align 8
%114 = load ptr, ptr %113, align 8
%115 = load ptr, ptr %8, align 8
%116 = icmp ne ptr %114, %115
br i1 %116, label %117, label %120
117: ; preds = %112, %106
%118 = load ptr, ptr %8, align 8
%119 = call i32 @M_ASN1_INTEGER_free(ptr noundef %118)
br label %120
120: ; preds = %117, %112
store ptr null, ptr %4, align 8
br label %121
121: ; preds = %120, %102, %25
%122 = load ptr, ptr %4, align 8
ret ptr %122
}
declare ptr @M_ASN1_INTEGER_new(...) #1
declare i32 @ASN1_get_object(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @ASN1err(i32 noundef, i32 noundef) #1
declare i32 @M_ASN1_INTEGER_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/tmpec6g23te.c'
source_filename = "/tmp/tmpec6g23te.c"
target datalayout = "e-m:e-p270: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 [20 x i8] c"Usage: %s file.xml\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Cannot open %s for reading.\0A\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, 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 ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %9, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 2
br i1 %11, label %12, label %18
12: ; preds = %2
%13 = load i32, ptr @stderr, align 4
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 0
%16 = load ptr, ptr %15, align 8
%17 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str, ptr noundef %16)
store i32 1, ptr %3, align 4
br label %54
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = call ptr @fopen(ptr noundef %21, ptr noundef @.str.1)
store ptr %22, ptr %6, align 8
%23 = load ptr, ptr %6, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %31, label %25
25: ; preds = %18
%26 = load i32, ptr @stderr, align 4
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 1
%29 = load ptr, ptr %28, align 8
%30 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.2, ptr noundef %29)
store i32 1, ptr %3, align 4
br label %54
31: ; preds = %18
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr @SEEK_END, align 4
%34 = call i32 @fseek(ptr noundef %32, i32 noundef 0, i32 noundef %33)
%35 = load ptr, ptr %6, align 8
%36 = call i32 @ftell(ptr noundef %35)
store i32 %36, ptr %8, align 4
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr @SEEK_SET, align 4
%39 = call i32 @fseek(ptr noundef %37, i32 noundef 0, i32 noundef %38)
%40 = load i32, ptr %8, align 4
%41 = call ptr @malloc(i32 noundef %40)
store ptr %41, ptr %7, align 8
%42 = load ptr, ptr %7, align 8
%43 = load i32, ptr %8, align 4
%44 = load ptr, ptr %6, align 8
%45 = call i32 @fread(ptr noundef %42, i32 noundef 1, i32 noundef %43, ptr noundef %44)
%46 = load ptr, ptr %6, align 8
%47 = call i32 @fclose(ptr noundef %46)
%48 = load ptr, ptr %7, align 8
%49 = load i32, ptr %8, align 4
%50 = call i32 @test_igd_desc_parse(ptr noundef %48, i32 noundef %49)
store i32 %50, ptr %9, align 4
%51 = load ptr, ptr %7, align 8
%52 = call i32 @free(ptr noundef %51)
%53 = load i32, ptr %9, align 4
store i32 %53, ptr %3, align 4
br label %54
54: ; preds = %31, %25, %12
%55 = load i32, ptr %3, align 4
ret i32 %55
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ftell(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @test_igd_desc_parse(ptr noundef, i32 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/tmpec6g23te.c"
target datalayout = "e-m:e-p270: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 [20 x i8] c"Usage: %s file.xml\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Cannot open %s for reading.\0A\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, 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 ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %9, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 2
br i1 %11, label %12, label %18
12: ; preds = %2
%13 = load i32, ptr @stderr, align 4
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 0
%16 = load ptr, ptr %15, align 8
%17 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str, ptr noundef %16)
store i32 1, ptr %3, align 4
br label %54
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = call ptr @fopen(ptr noundef %21, ptr noundef @.str.1)
store ptr %22, ptr %6, align 8
%23 = load ptr, ptr %6, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %31, label %25
25: ; preds = %18
%26 = load i32, ptr @stderr, align 4
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 1
%29 = load ptr, ptr %28, align 8
%30 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.2, ptr noundef %29)
store i32 1, ptr %3, align 4
br label %54
31: ; preds = %18
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr @SEEK_END, align 4
%34 = call i32 @fseek(ptr noundef %32, i32 noundef 0, i32 noundef %33)
%35 = load ptr, ptr %6, align 8
%36 = call i32 @ftell(ptr noundef %35)
store i32 %36, ptr %8, align 4
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr @SEEK_SET, align 4
%39 = call i32 @fseek(ptr noundef %37, i32 noundef 0, i32 noundef %38)
%40 = load i32, ptr %8, align 4
%41 = call ptr @malloc(i32 noundef %40)
store ptr %41, ptr %7, align 8
%42 = load ptr, ptr %7, align 8
%43 = load i32, ptr %8, align 4
%44 = load ptr, ptr %6, align 8
%45 = call i32 @fread(ptr noundef %42, i32 noundef 1, i32 noundef %43, ptr noundef %44)
%46 = load ptr, ptr %6, align 8
%47 = call i32 @fclose(ptr noundef %46)
%48 = load ptr, ptr %7, align 8
%49 = load i32, ptr %8, align 4
%50 = call i32 @test_igd_desc_parse(ptr noundef %48, i32 noundef %49)
store i32 %50, ptr %9, align 4
%51 = load ptr, ptr %7, align 8
%52 = call i32 @free(ptr noundef %51)
%53 = load i32, ptr %9, align 4
store i32 %53, ptr %3, align 4
br label %54
54: ; preds = %31, %25, %12
%55 = load i32, ptr %3, align 4
ret i32 %55
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ftell(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @test_igd_desc_parse(ptr noundef, i32 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/tmp6hfic0b2.c'
source_filename = "/tmp/tmp6hfic0b2.c"
target datalayout = "e-m:e-p270: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/tmp6hfic0b2.c"
target datalayout = "e-m:e-p270: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/tmpghi_2p3_.c'
source_filename = "/tmp/tmpghi_2p3_.c"
target datalayout = "e-m:e-p270: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/tmpghi_2p3_.c"
target datalayout = "e-m:e-p270: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/tmp475y4xb1.c'
source_filename = "/tmp/tmp475y4xb1.c"
target datalayout = "e-m:e-p270: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/tmp475y4xb1.c"
target datalayout = "e-m:e-p270: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/tmpy4ocwbrm.c'
source_filename = "/tmp/tmpy4ocwbrm.c"
target datalayout = "e-m:e-p270: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 @pl_destroy_workers() #0 {
%1 = call i32 (...) @pl_on_destroy_workers()
ret i32 %1
}
declare i32 @pl_on_destroy_workers(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpy4ocwbrm.c"
target datalayout = "e-m:e-p270: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 @pl_destroy_workers() #0 {
%1 = call i32 (...) @pl_on_destroy_workers()
ret i32 %1
}
declare i32 @pl_on_destroy_workers(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp25fyuq_h.c'
source_filename = "/tmp/tmp25fyuq_h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BTF_KIND_UNKN = 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/tmp25fyuq_h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BTF_KIND_UNKN = 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/tmpk4uyvcbt.c'
source_filename = "/tmp/tmpk4uyvcbt.c"
target datalayout = "e-m:e-p270: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 @rev(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 @r1(i32 noundef %3, i32 noundef 0)
ret i32 %4
}
declare i32 @r1(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/tmpk4uyvcbt.c"
target datalayout = "e-m:e-p270: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 @rev(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 @r1(i32 noundef %3, i32 noundef 0)
ret i32 %4
}
declare i32 @r1(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/tmpssqmabeh.c'
source_filename = "/tmp/tmpssqmabeh.c"
target datalayout = "e-m:e-p270: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 @findkth(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%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
%15 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
%16 = load i32, ptr %10, align 4
%17 = load i32, ptr %8, align 4
%18 = add nsw i32 %16, %17
store i32 %18, ptr %13, align 4
%19 = load i32, ptr %8, align 4
%20 = load i32, ptr %10, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %29
22: ; preds = %5
%23 = load ptr, ptr %9, align 8
%24 = load i32, ptr %10, align 4
%25 = load ptr, ptr %7, align 8
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %11, align 4
%28 = call i32 @findkth(ptr noundef %23, i32 noundef %24, ptr noundef %25, i32 noundef %26, i32 noundef %27)
store i32 %28, ptr %6, align 4
br label %181
29: ; preds = %5
%30 = load i32, ptr %13, align 4
%31 = load i32, ptr %11, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %34
33: ; preds = %29
store i32 0, ptr %6, align 4
br label %181
34: ; preds = %29
%35 = load i32, ptr %10, align 4
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %46
37: ; preds = %34
%38 = load ptr, ptr %7, align 8
%39 = load i32, ptr %8, align 4
%40 = load i32, ptr %11, align 4
%41 = sub nsw i32 %39, %40
%42 = sub nsw i32 %41, 1
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %38, i64 %43
%45 = load i32, ptr %44, align 4
store i32 %45, ptr %6, align 4
br label %181
46: ; preds = %34
%47 = load i32, ptr %13, align 4
%48 = load i32, ptr %11, align 4
%49 = icmp eq i32 %47, %48
br i1 %49, label %50, label %80
50: ; preds = %46
%51 = load ptr, ptr %7, align 8
%52 = load i32, ptr %8, align 4
%53 = sub nsw i32 %52, 1
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %51, i64 %54
%56 = load i32, ptr %55, align 4
%57 = load ptr, ptr %9, align 8
%58 = load i32, ptr %10, align 4
%59 = sub nsw i32 %58, 1
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %57, i64 %60
%62 = load i32, ptr %61, align 4
%63 = icmp sgt i32 %56, %62
br i1 %63, label %64, label %71
64: ; preds = %50
%65 = load ptr, ptr %7, align 8
%66 = load i32, ptr %8, align 4
%67 = sub nsw i32 %66, 1
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i32, ptr %65, i64 %68
%70 = load i32, ptr %69, align 4
br label %78
71: ; preds = %50
%72 = load ptr, ptr %9, align 8
%73 = load i32, ptr %10, align 4
%74 = sub nsw i32 %73, 1
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i32, ptr %72, i64 %75
%77 = load i32, ptr %76, align 4
br label %78
78: ; preds = %71, %64
%79 = phi i32 [ %70, %64 ], [ %77, %71 ]
store i32 %79, ptr %6, align 4
br label %181
80: ; preds = %46
%81 = load i32, ptr %11, align 4
%82 = icmp eq i32 %81, 1
br i1 %82, label %83, label %101
83: ; preds = %80
%84 = load ptr, ptr %7, align 8
%85 = getelementptr inbounds i32, ptr %84, i64 0
%86 = load i32, ptr %85, align 4
%87 = load ptr, ptr %9, align 8
%88 = getelementptr inbounds i32, ptr %87, i64 0
%89 = load i32, ptr %88, align 4
%90 = icmp slt i32 %86, %89
br i1 %90, label %91, label %95
91: ; preds = %83
%92 = load ptr, ptr %7, align 8
%93 = getelementptr inbounds i32, ptr %92, i64 0
%94 = load i32, ptr %93, align 4
br label %99
95: ; preds = %83
%96 = load ptr, ptr %9, align 8
%97 = getelementptr inbounds i32, ptr %96, i64 0
%98 = load i32, ptr %97, align 4
br label %99
99: ; preds = %95, %91
%100 = phi i32 [ %94, %91 ], [ %98, %95 ]
store i32 %100, ptr %6, align 4
br label %181
101: ; preds = %80
%102 = load i32, ptr %10, align 4
%103 = load i32, ptr %11, align 4
%104 = sdiv i32 %103, 2
%105 = icmp sgt i32 %102, %104
br i1 %105, label %106, label %109
106: ; preds = %101
%107 = load i32, ptr %11, align 4
%108 = sdiv i32 %107, 2
br label %111
109: ; preds = %101
%110 = load i32, ptr %10, align 4
br label %111
111: ; preds = %109, %106
%112 = phi i32 [ %108, %106 ], [ %110, %109 ]
store i32 %112, ptr %14, align 4
%113 = load i32, ptr %11, align 4
%114 = load i32, ptr %14, align 4
%115 = sub nsw i32 %113, %114
store i32 %115, ptr %15, align 4
%116 = load ptr, ptr %7, align 8
%117 = load i32, ptr %15, align 4
%118 = sub nsw i32 %117, 1
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds i32, ptr %116, i64 %119
%121 = load i32, ptr %120, align 4
%122 = load ptr, ptr %9, align 8
%123 = load i32, ptr %14, align 4
%124 = sub nsw i32 %123, 1
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i32, ptr %122, i64 %125
%127 = load i32, ptr %126, align 4
%128 = icmp sgt i32 %121, %127
br i1 %128, label %129, label %148
129: ; preds = %111
%130 = load ptr, ptr %7, align 8
%131 = load i32, ptr %8, align 4
%132 = load i32, ptr %14, align 4
%133 = load i32, ptr %10, align 4
%134 = icmp eq i32 %132, %133
br i1 %134, label %135, label %136
135: ; preds = %129
br label %141
136: ; preds = %129
%137 = load ptr, ptr %9, align 8
%138 = load i32, ptr %14, align 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds i32, ptr %137, i64 %139
br label %141
141: ; preds = %136, %135
%142 = phi ptr [ null, %135 ], [ %140, %136 ]
%143 = load i32, ptr %10, align 4
%144 = load i32, ptr %14, align 4
%145 = sub nsw i32 %143, %144
%146 = load i32, ptr %15, align 4
%147 = call i32 @findkth(ptr noundef %130, i32 noundef %131, ptr noundef %142, i32 noundef %145, i32 noundef %146)
store i32 %147, ptr %6, align 4
br label %181
148: ; preds = %111
%149 = load ptr, ptr %7, align 8
%150 = load i32, ptr %15, align 4
%151 = sub nsw i32 %150, 1
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds i32, ptr %149, i64 %152
%154 = load i32, ptr %153, align 4
%155 = load ptr, ptr %9, align 8
%156 = load i32, ptr %14, align 4
%157 = sub nsw i32 %156, 1
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds i32, ptr %155, i64 %158
%160 = load i32, ptr %159, align 4
%161 = icmp slt i32 %154, %160
br i1 %161, label %162, label %174
162: ; preds = %148
%163 = load ptr, ptr %7, align 8
%164 = load i32, ptr %15, align 4
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds i32, ptr %163, i64 %165
%167 = load i32, ptr %8, align 4
%168 = load i32, ptr %15, align 4
%169 = sub nsw i32 %167, %168
%170 = load ptr, ptr %9, align 8
%171 = load i32, ptr %10, align 4
%172 = load i32, ptr %14, align 4
%173 = call i32 @findkth(ptr noundef %166, i32 noundef %169, ptr noundef %170, i32 noundef %171, i32 noundef %172)
store i32 %173, ptr %6, align 4
br label %181
174: ; preds = %148
%175 = load ptr, ptr %7, align 8
%176 = load i32, ptr %15, align 4
%177 = sub nsw i32 %176, 1
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds i32, ptr %175, i64 %178
%180 = load i32, ptr %179, align 4
store i32 %180, ptr %6, align 4
br label %181
181: ; preds = %174, %162, %141, %99, %78, %37, %33, %22
%182 = load i32, ptr %6, align 4
ret i32 %182
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpssqmabeh.c"
target datalayout = "e-m:e-p270: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 @findkth(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%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
%15 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
%16 = load i32, ptr %10, align 4
%17 = load i32, ptr %8, align 4
%18 = add nsw i32 %16, %17
store i32 %18, ptr %13, align 4
%19 = load i32, ptr %8, align 4
%20 = load i32, ptr %10, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %29
22: ; preds = %5
%23 = load ptr, ptr %9, align 8
%24 = load i32, ptr %10, align 4
%25 = load ptr, ptr %7, align 8
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %11, align 4
%28 = call i32 @findkth(ptr noundef %23, i32 noundef %24, ptr noundef %25, i32 noundef %26, i32 noundef %27)
store i32 %28, ptr %6, align 4
br label %181
29: ; preds = %5
%30 = load i32, ptr %13, align 4
%31 = load i32, ptr %11, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %34
33: ; preds = %29
store i32 0, ptr %6, align 4
br label %181
34: ; preds = %29
%35 = load i32, ptr %10, align 4
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %46
37: ; preds = %34
%38 = load ptr, ptr %7, align 8
%39 = load i32, ptr %8, align 4
%40 = load i32, ptr %11, align 4
%41 = sub nsw i32 %39, %40
%42 = sub nsw i32 %41, 1
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %38, i64 %43
%45 = load i32, ptr %44, align 4
store i32 %45, ptr %6, align 4
br label %181
46: ; preds = %34
%47 = load i32, ptr %13, align 4
%48 = load i32, ptr %11, align 4
%49 = icmp eq i32 %47, %48
br i1 %49, label %50, label %80
50: ; preds = %46
%51 = load ptr, ptr %7, align 8
%52 = load i32, ptr %8, align 4
%53 = sub nsw i32 %52, 1
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %51, i64 %54
%56 = load i32, ptr %55, align 4
%57 = load ptr, ptr %9, align 8
%58 = load i32, ptr %10, align 4
%59 = sub nsw i32 %58, 1
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %57, i64 %60
%62 = load i32, ptr %61, align 4
%63 = icmp sgt i32 %56, %62
br i1 %63, label %64, label %71
64: ; preds = %50
%65 = load ptr, ptr %7, align 8
%66 = load i32, ptr %8, align 4
%67 = sub nsw i32 %66, 1
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i32, ptr %65, i64 %68
%70 = load i32, ptr %69, align 4
br label %78
71: ; preds = %50
%72 = load ptr, ptr %9, align 8
%73 = load i32, ptr %10, align 4
%74 = sub nsw i32 %73, 1
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i32, ptr %72, i64 %75
%77 = load i32, ptr %76, align 4
br label %78
78: ; preds = %71, %64
%79 = phi i32 [ %70, %64 ], [ %77, %71 ]
store i32 %79, ptr %6, align 4
br label %181
80: ; preds = %46
%81 = load i32, ptr %11, align 4
%82 = icmp eq i32 %81, 1
br i1 %82, label %83, label %101
83: ; preds = %80
%84 = load ptr, ptr %7, align 8
%85 = getelementptr inbounds i32, ptr %84, i64 0
%86 = load i32, ptr %85, align 4
%87 = load ptr, ptr %9, align 8
%88 = getelementptr inbounds i32, ptr %87, i64 0
%89 = load i32, ptr %88, align 4
%90 = icmp slt i32 %86, %89
br i1 %90, label %91, label %95
91: ; preds = %83
%92 = load ptr, ptr %7, align 8
%93 = getelementptr inbounds i32, ptr %92, i64 0
%94 = load i32, ptr %93, align 4
br label %99
95: ; preds = %83
%96 = load ptr, ptr %9, align 8
%97 = getelementptr inbounds i32, ptr %96, i64 0
%98 = load i32, ptr %97, align 4
br label %99
99: ; preds = %95, %91
%100 = phi i32 [ %94, %91 ], [ %98, %95 ]
store i32 %100, ptr %6, align 4
br label %181
101: ; preds = %80
%102 = load i32, ptr %10, align 4
%103 = load i32, ptr %11, align 4
%104 = sdiv i32 %103, 2
%105 = icmp sgt i32 %102, %104
br i1 %105, label %106, label %109
106: ; preds = %101
%107 = load i32, ptr %11, align 4
%108 = sdiv i32 %107, 2
br label %111
109: ; preds = %101
%110 = load i32, ptr %10, align 4
br label %111
111: ; preds = %109, %106
%112 = phi i32 [ %108, %106 ], [ %110, %109 ]
store i32 %112, ptr %14, align 4
%113 = load i32, ptr %11, align 4
%114 = load i32, ptr %14, align 4
%115 = sub nsw i32 %113, %114
store i32 %115, ptr %15, align 4
%116 = load ptr, ptr %7, align 8
%117 = load i32, ptr %15, align 4
%118 = sub nsw i32 %117, 1
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds i32, ptr %116, i64 %119
%121 = load i32, ptr %120, align 4
%122 = load ptr, ptr %9, align 8
%123 = load i32, ptr %14, align 4
%124 = sub nsw i32 %123, 1
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i32, ptr %122, i64 %125
%127 = load i32, ptr %126, align 4
%128 = icmp sgt i32 %121, %127
br i1 %128, label %129, label %148
129: ; preds = %111
%130 = load ptr, ptr %7, align 8
%131 = load i32, ptr %8, align 4
%132 = load i32, ptr %14, align 4
%133 = load i32, ptr %10, align 4
%134 = icmp eq i32 %132, %133
br i1 %134, label %135, label %136
135: ; preds = %129
br label %141
136: ; preds = %129
%137 = load ptr, ptr %9, align 8
%138 = load i32, ptr %14, align 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds i32, ptr %137, i64 %139
br label %141
141: ; preds = %136, %135
%142 = phi ptr [ null, %135 ], [ %140, %136 ]
%143 = load i32, ptr %10, align 4
%144 = load i32, ptr %14, align 4
%145 = sub nsw i32 %143, %144
%146 = load i32, ptr %15, align 4
%147 = call i32 @findkth(ptr noundef %130, i32 noundef %131, ptr noundef %142, i32 noundef %145, i32 noundef %146)
store i32 %147, ptr %6, align 4
br label %181
148: ; preds = %111
%149 = load ptr, ptr %7, align 8
%150 = load i32, ptr %15, align 4
%151 = sub nsw i32 %150, 1
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds i32, ptr %149, i64 %152
%154 = load i32, ptr %153, align 4
%155 = load ptr, ptr %9, align 8
%156 = load i32, ptr %14, align 4
%157 = sub nsw i32 %156, 1
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds i32, ptr %155, i64 %158
%160 = load i32, ptr %159, align 4
%161 = icmp slt i32 %154, %160
br i1 %161, label %162, label %174
162: ; preds = %148
%163 = load ptr, ptr %7, align 8
%164 = load i32, ptr %15, align 4
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds i32, ptr %163, i64 %165
%167 = load i32, ptr %8, align 4
%168 = load i32, ptr %15, align 4
%169 = sub nsw i32 %167, %168
%170 = load ptr, ptr %9, align 8
%171 = load i32, ptr %10, align 4
%172 = load i32, ptr %14, align 4
%173 = call i32 @findkth(ptr noundef %166, i32 noundef %169, ptr noundef %170, i32 noundef %171, i32 noundef %172)
store i32 %173, ptr %6, align 4
br label %181
174: ; preds = %148
%175 = load ptr, ptr %7, align 8
%176 = load i32, ptr %15, align 4
%177 = sub nsw i32 %176, 1
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds i32, ptr %175, i64 %178
%180 = load i32, ptr %179, align 4
store i32 %180, ptr %6, align 4
br label %181
181: ; preds = %174, %162, %141, %99, %78, %37, %33, %22
%182 = load i32, ptr %6, align 4
ret i32 %182
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp5kxoeet4.c'
source_filename = "/tmp/tmp5kxoeet4.c"
target datalayout = "e-m:e-p270: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 [2 x i8] c"\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 @test(double noundef 1.500000e+00, double noundef 2.400000e+00, double noundef 5.100000e+00, double noundef -3.100000e+00, double noundef -3.800000e+00, double noundef 1.200000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
%3 = call i32 @test(double noundef 1.500000e+00, double noundef 2.400000e+00, double noundef 5.100000e+00, double noundef -3.100000e+00, double noundef -3.800000e+00, double noundef 1.200000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
%4 = call i32 @test(double noundef 1.500000e+00, double noundef 2.400000e+00, double noundef 5.100000e+00, double noundef -3.100000e+00, double noundef -3.800000e+00, double noundef 1.200000e+00, double noundef 3.000000e+00, double noundef 1.000000e+00)
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @test(double noundef 1.000000e-01, double noundef 0x3FBC71C71C71C71C, double noundef 1.250000e+01, double noundef 0x4040AAAAAAAAAAAB, double noundef 2.500000e+01, double noundef 0x402638E38E38E38E, double noundef 0x4015A83A83A83A83, double noundef 0x402CB2CB2CB2CB2C)
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 @test(double noundef 1.000000e-01, double noundef 0x3FBC71C71C71C71C, double noundef 1.250000e+01, double noundef 0x4040AAAAAAAAAAAB, double noundef -1.250000e+01, double noundef 0x4030AAAAAAAAAAAB, double noundef 0x4015A83A83A83A83, double noundef 0x402CB2CB2CB2CB2C)
%9 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @test(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5kxoeet4.c"
target datalayout = "e-m:e-p270: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 [2 x i8] c"\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 @test(double noundef 1.500000e+00, double noundef 2.400000e+00, double noundef 5.100000e+00, double noundef -3.100000e+00, double noundef -3.800000e+00, double noundef 1.200000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
%3 = call i32 @test(double noundef 1.500000e+00, double noundef 2.400000e+00, double noundef 5.100000e+00, double noundef -3.100000e+00, double noundef -3.800000e+00, double noundef 1.200000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
%4 = call i32 @test(double noundef 1.500000e+00, double noundef 2.400000e+00, double noundef 5.100000e+00, double noundef -3.100000e+00, double noundef -3.800000e+00, double noundef 1.200000e+00, double noundef 3.000000e+00, double noundef 1.000000e+00)
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @test(double noundef 1.000000e-01, double noundef 0x3FBC71C71C71C71C, double noundef 1.250000e+01, double noundef 0x4040AAAAAAAAAAAB, double noundef 2.500000e+01, double noundef 0x402638E38E38E38E, double noundef 0x4015A83A83A83A83, double noundef 0x402CB2CB2CB2CB2C)
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 @test(double noundef 1.000000e-01, double noundef 0x3FBC71C71C71C71C, double noundef 1.250000e+01, double noundef 0x4040AAAAAAAAAAAB, double noundef -1.250000e+01, double noundef 0x4030AAAAAAAAAAAB, double noundef 0x4015A83A83A83A83, double noundef 0x402CB2CB2CB2CB2C)
%9 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @test(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double 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"}
|
; ModuleID = '/tmp/tmpvg00kx_h.c'
source_filename = "/tmp/tmpvg00kx_h.c"
target datalayout = "e-m:e-p270: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"Hello, World!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 5, ptr %6, align 4
%7 = call i32 @ICOutput_int(i32 noundef 5)
%8 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @ICOutput_int(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvg00kx_h.c"
target datalayout = "e-m:e-p270: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"Hello, World!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 5, ptr %6, align 4
%7 = call i32 @ICOutput_int(i32 noundef 5)
%8 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @ICOutput_int(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"}
|
; ModuleID = '/tmp/tmp1iwci3da.c'
source_filename = "/tmp/tmp1iwci3da.c"
target datalayout = "e-m:e-p270: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"f6: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @f6(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 %3(i32 noundef 6)
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
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/tmp1iwci3da.c"
target datalayout = "e-m:e-p270: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"f6: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @f6(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 %3(i32 noundef 6)
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
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/tmp0x8j97mt.c'
source_filename = "/tmp/tmp0x8j97mt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i32], align 4
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 1
store ptr %4, ptr %3, align 8
%5 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0
store i32 1, ptr %5, align 4
%6 = load ptr, ptr %3, align 8
store i32 2, ptr %6, align 4
%7 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 2
store i32 3, ptr %7, align 4
%8 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0
%9 = load i32, ptr %8, align 4
%10 = icmp eq i32 %9, 1
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 1
%14 = load i32, ptr %13, align 4
%15 = icmp eq i32 %14, 2
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
%18 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 2
%19 = load i32, ptr %18, align 4
%20 = icmp eq i32 %19, 3
%21 = zext i1 %20 to i32
%22 = call i32 @assert(i32 noundef %21)
ret i32 0
}
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/tmp0x8j97mt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i32], align 4
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 1
store ptr %4, ptr %3, align 8
%5 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0
store i32 1, ptr %5, align 4
%6 = load ptr, ptr %3, align 8
store i32 2, ptr %6, align 4
%7 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 2
store i32 3, ptr %7, align 4
%8 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0
%9 = load i32, ptr %8, align 4
%10 = icmp eq i32 %9, 1
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 1
%14 = load i32, ptr %13, align 4
%15 = icmp eq i32 %14, 2
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
%18 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 2
%19 = load i32, ptr %18, align 4
%20 = icmp eq i32 %19, 3
%21 = zext i1 %20 to i32
%22 = call i32 @assert(i32 noundef %21)
ret i32 0
}
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/tmps_mjgf6t.c'
source_filename = "/tmp/tmps_mjgf6t.c"
target datalayout = "e-m:e-p270: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"fork error\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"ps -ax\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
store i32 0, ptr %1, align 4
%3 = call i64 (...) @fork()
store i64 %3, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = icmp slt i64 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @err_sys(ptr noundef @.str)
br label %16
8: ; preds = %0
%9 = load i64, ptr %2, align 8
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %8
br label %15
12: ; preds = %8
%13 = call i32 @sleep(i32 noundef 2)
%14 = call i32 @system(ptr noundef @.str.1)
br label %15
15: ; preds = %12, %11
br label %16
16: ; preds = %15, %6
ret i32 0
}
declare i64 @fork(...) #1
declare i32 @err_sys(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @system(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/tmps_mjgf6t.c"
target datalayout = "e-m:e-p270: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"fork error\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"ps -ax\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
store i32 0, ptr %1, align 4
%3 = call i64 (...) @fork()
store i64 %3, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = icmp slt i64 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @err_sys(ptr noundef @.str)
br label %16
8: ; preds = %0
%9 = load i64, ptr %2, align 8
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %8
br label %15
12: ; preds = %8
%13 = call i32 @sleep(i32 noundef 2)
%14 = call i32 @system(ptr noundef @.str.1)
br label %15
15: ; preds = %12, %11
br label %16
16: ; preds = %15, %6
ret i32 0
}
declare i64 @fork(...) #1
declare i32 @err_sys(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @system(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/tmpkbwpw880.c'
source_filename = "/tmp/tmpkbwpw880.c"
target datalayout = "e-m:e-p270: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 @_DtHelpTurnOffHourGlass(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 @XtDisplay(i32 noundef %3)
%5 = load i32, ptr %2, align 4
%6 = call i32 @XtWindow(i32 noundef %5)
%7 = call i32 @XUndefineCursor(i32 noundef %4, i32 noundef %6)
%8 = load i32, ptr %2, align 4
%9 = call i32 @XtDisplay(i32 noundef %8)
%10 = call i32 @XFlush(i32 noundef %9)
ret void
}
declare i32 @XUndefineCursor(i32 noundef, i32 noundef) #1
declare i32 @XtDisplay(i32 noundef) #1
declare i32 @XtWindow(i32 noundef) #1
declare i32 @XFlush(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/tmpkbwpw880.c"
target datalayout = "e-m:e-p270: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 @_DtHelpTurnOffHourGlass(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 @XtDisplay(i32 noundef %3)
%5 = load i32, ptr %2, align 4
%6 = call i32 @XtWindow(i32 noundef %5)
%7 = call i32 @XUndefineCursor(i32 noundef %4, i32 noundef %6)
%8 = load i32, ptr %2, align 4
%9 = call i32 @XtDisplay(i32 noundef %8)
%10 = call i32 @XFlush(i32 noundef %9)
ret void
}
declare i32 @XUndefineCursor(i32 noundef, i32 noundef) #1
declare i32 @XtDisplay(i32 noundef) #1
declare i32 @XtWindow(i32 noundef) #1
declare i32 @XFlush(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/tmpwj54lb7n.c'
source_filename = "/tmp/tmpwj54lb7n.c"
target datalayout = "e-m:e-p270: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 [169 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_isbdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"isbdigit should be 0 for K\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isbdigit_0x4b() #0 {
%1 = call i64 @isbdigit(i32 noundef 75)
%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 380, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isbdigit(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/tmpwj54lb7n.c"
target datalayout = "e-m:e-p270: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 [169 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_isbdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"isbdigit should be 0 for K\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isbdigit_0x4b() #0 {
%1 = call i64 @isbdigit(i32 noundef 75)
%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 380, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isbdigit(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/tmprqxk6au7.c'
source_filename = "/tmp/tmprqxk6au7.c"
target datalayout = "e-m:e-p270: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"usage: %s server_host\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
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 slt i32 %7, 2
br i1 %8, label %9, label %15
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 @printf(ptr noundef @.str, ptr noundef %12)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
store ptr %18, ptr %6, align 8
%19 = load ptr, ptr %6, align 8
%20 = call i32 @calccompprog_1(ptr noundef %19)
%21 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @calccompprog_1(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/tmprqxk6au7.c"
target datalayout = "e-m:e-p270: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"usage: %s server_host\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
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 slt i32 %7, 2
br i1 %8, label %9, label %15
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 @printf(ptr noundef @.str, ptr noundef %12)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
store ptr %18, ptr %6, align 8
%19 = load ptr, ptr %6, align 8
%20 = call i32 @calccompprog_1(ptr noundef %19)
%21 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @calccompprog_1(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/tmpmih04tt7.c'
source_filename = "/tmp/tmpmih04tt7.c"
target datalayout = "e-m:e-p270: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.proto = private unnamed_addr constant [8 x i8] c"tcp\00\00\00\00\00", align 1
@.str = private unnamed_addr constant [12 x i8] c"Aimed : %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Got : %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [8 x i8], align 1
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = 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
store i32 0, ptr %6, align 4
store i32 1, ptr %7, align 4
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 2
%16 = load ptr, ptr %15, align 8
%17 = call i32 @atoi(ptr noundef %16)
store i32 %17, ptr %8, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %9, ptr align 1 @__const.main.proto, i64 8, i1 false)
store ptr null, ptr %10, align 8
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 3
%20 = load ptr, ptr %19, align 8
%21 = call i32 @atoi(ptr noundef %20)
store i32 %21, ptr %11, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
br label %22
22: ; preds = %39, %2
%23 = load i32, ptr %13, align 4
%24 = load i32, ptr %11, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %42
26: ; preds = %22
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 1
%29 = load ptr, ptr %28, align 8
%30 = load i32, ptr %8, align 4
%31 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0
%32 = call ptr @clnt_create(ptr noundef %29, i32 noundef %30, i32 noundef 1, ptr noundef %31)
store ptr %32, ptr %10, align 8
%33 = load ptr, ptr %10, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %35, label %38
35: ; preds = %26
%36 = load i32, ptr %12, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %12, align 4
br label %38
38: ; preds = %35, %26
br label %39
39: ; preds = %38
%40 = load i32, ptr %13, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %13, align 4
br label %22, !llvm.loop !6
42: ; preds = %22
%43 = load i32, ptr %6, align 4
%44 = icmp eq i32 %43, 1
br i1 %44, label %45, label %50
45: ; preds = %42
%46 = load i32, ptr %11, align 4
%47 = call i32 @printf(ptr noundef @.str, i32 noundef %46)
%48 = load i32, ptr %12, align 4
%49 = call i32 @printf(ptr noundef @.str.1, i32 noundef %48)
br label %50
50: ; preds = %45, %42
%51 = load i32, ptr %12, align 4
%52 = load i32, ptr %11, align 4
%53 = icmp eq i32 %51, %52
%54 = zext i1 %53 to i64
%55 = select i1 %53, i32 0, i32 1
store i32 %55, ptr %7, align 4
%56 = load i32, ptr %7, align 4
%57 = call i32 @printf(ptr noundef @.str.2, i32 noundef %56)
%58 = load i32, ptr %7, align 4
ret i32 %58
}
declare i32 @atoi(ptr noundef) #1
; 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) #2
declare ptr @clnt_create(ptr noundef, i32 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" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpmih04tt7.c"
target datalayout = "e-m:e-p270: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.proto = private unnamed_addr constant [8 x i8] c"tcp\00\00\00\00\00", align 1
@.str = private unnamed_addr constant [12 x i8] c"Aimed : %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Got : %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [8 x i8], align 1
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = 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
store i32 0, ptr %6, align 4
store i32 1, ptr %7, align 4
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 2
%16 = load ptr, ptr %15, align 8
%17 = call i32 @atoi(ptr noundef %16)
store i32 %17, ptr %8, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %9, ptr align 1 @__const.main.proto, i64 8, i1 false)
store ptr null, ptr %10, align 8
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 3
%20 = load ptr, ptr %19, align 8
%21 = call i32 @atoi(ptr noundef %20)
store i32 %21, ptr %11, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
%22 = load i32, ptr %13, align 4
%23 = load i32, ptr %11, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph, label %44
.lr.ph: ; preds = %2
br label %25
25: ; preds = %.lr.ph, %38
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = load i32, ptr %8, align 4
%30 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0
%31 = call ptr @clnt_create(ptr noundef %28, i32 noundef %29, i32 noundef 1, ptr noundef %30)
store ptr %31, ptr %10, align 8
%32 = load ptr, ptr %10, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %34, label %37
34: ; preds = %25
%35 = load i32, ptr %12, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %12, align 4
br label %37
37: ; preds = %34, %25
br label %38
38: ; preds = %37
%39 = load i32, ptr %13, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %13, align 4
%41 = load i32, ptr %13, align 4
%42 = load i32, ptr %11, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %44
44: ; preds = %._crit_edge, %2
%45 = load i32, ptr %6, align 4
%46 = icmp eq i32 %45, 1
br i1 %46, label %47, label %52
47: ; preds = %44
%48 = load i32, ptr %11, align 4
%49 = call i32 @printf(ptr noundef @.str, i32 noundef %48)
%50 = load i32, ptr %12, align 4
%51 = call i32 @printf(ptr noundef @.str.1, i32 noundef %50)
br label %52
52: ; preds = %47, %44
%53 = load i32, ptr %12, align 4
%54 = load i32, ptr %11, align 4
%55 = icmp eq i32 %53, %54
%56 = zext i1 %55 to i64
%57 = select i1 %55, i32 0, i32 1
store i32 %57, ptr %7, align 4
%58 = load i32, ptr %7, align 4
%59 = call i32 @printf(ptr noundef @.str.2, i32 noundef %58)
%60 = load i32, ptr %7, align 4
ret i32 %60
}
declare i32 @atoi(ptr noundef) #1
; 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) #2
declare ptr @clnt_create(ptr noundef, i32 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" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp13aszvra.c'
source_filename = "/tmp/tmp13aszvra.c"
target datalayout = "e-m:e-p270: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 @wipe_window(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @getmaxyx(ptr noundef %7, i32 noundef %8, i32 noundef %9)
store i32 0, ptr %6, align 4
br label %11
11: ; preds = %29, %1
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %32
15: ; preds = %11
store i32 0, ptr %5, align 4
br label %16
16: ; preds = %25, %15
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %28
20: ; preds = %16
%21 = load ptr, ptr %2, align 8
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %5, align 4
%24 = call i32 @mvwaddch(ptr noundef %21, i32 noundef %22, i32 noundef %23, i8 noundef signext 32)
br label %25
25: ; preds = %20
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %5, align 4
br label %16, !llvm.loop !6
28: ; preds = %16
br label %29
29: ; preds = %28
%30 = load i32, ptr %6, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %6, align 4
br label %11, !llvm.loop !8
32: ; preds = %11
%33 = load ptr, ptr %2, align 8
%34 = call i32 @touchwin(ptr noundef %33)
ret void
}
declare i32 @getmaxyx(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @mvwaddch(ptr noundef, i32 noundef, i32 noundef, i8 noundef signext) #1
declare i32 @touchwin(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/tmp13aszvra.c"
target datalayout = "e-m:e-p270: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 @wipe_window(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @getmaxyx(ptr noundef %7, i32 noundef %8, i32 noundef %9)
store i32 0, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph2, label %36
.lr.ph2: ; preds = %1
br label %14
14: ; preds = %.lr.ph2, %30
store i32 0, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %29
.lr.ph: ; preds = %14
br label %18
18: ; preds = %.lr.ph, %23
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr %6, align 4
%21 = load i32, ptr %5, align 4
%22 = call i32 @mvwaddch(ptr noundef %19, i32 noundef %20, i32 noundef %21, i8 noundef signext 32)
br label %23
23: ; preds = %18
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %5, align 4
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %3, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %14
br label %30
30: ; preds = %29
%31 = load i32, ptr %6, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %6, align 4
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %14, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %30
br label %36
36: ; preds = %._crit_edge3, %1
%37 = load ptr, ptr %2, align 8
%38 = call i32 @touchwin(ptr noundef %37)
ret void
}
declare i32 @getmaxyx(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @mvwaddch(ptr noundef, i32 noundef, i32 noundef, i8 noundef signext) #1
declare i32 @touchwin(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/tmpyhw4w4j6.c'
source_filename = "/tmp/tmpyhw4w4j6.c"
target datalayout = "e-m:e-p270: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, i32 }
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"error looking for inum %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @inum_to_name(i64 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i64 %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%9 = call ptr @opendir(ptr noundef @.str)
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %7, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %3
%13 = call i32 @perror(ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
15: ; preds = %3
br label %16
16: ; preds = %40, %15
%17 = load ptr, ptr %7, align 8
%18 = call ptr @readdir(ptr noundef %17)
store ptr %18, ptr %8, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %41
20: ; preds = %16
%21 = load ptr, ptr %8, align 8
%22 = getelementptr inbounds %struct.dirent, ptr %21, i32 0, i32 0
%23 = load i64, ptr %22, align 8
%24 = load i64, ptr %4, align 8
%25 = icmp eq i64 %23, %24
br i1 %25, label %26, label %40
26: ; preds = %20
%27 = load ptr, ptr %5, align 8
%28 = load ptr, ptr %8, align 8
%29 = getelementptr inbounds %struct.dirent, ptr %28, i32 0, i32 1
%30 = load i32, ptr %29, align 8
%31 = load i32, ptr %6, align 4
%32 = call i32 @strncpy(ptr noundef %27, i32 noundef %30, i32 noundef %31)
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %6, align 4
%35 = sub nsw i32 %34, 1
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %33, i64 %36
store i8 0, ptr %37, align 1
%38 = load ptr, ptr %7, align 8
%39 = call i32 @closedir(ptr noundef %38)
ret void
40: ; preds = %20
br label %16, !llvm.loop !6
41: ; preds = %16
%42 = load i32, ptr @stderr, align 4
%43 = load i64, ptr %4, align 8
%44 = call i32 @fprintf(i32 noundef %42, ptr noundef @.str.1, i64 noundef %43)
%45 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare ptr @opendir(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @readdir(ptr noundef) #1
declare i32 @strncpy(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @closedir(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpyhw4w4j6.c"
target datalayout = "e-m:e-p270: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, i32 }
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"error looking for inum %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @inum_to_name(i64 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i64 %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%9 = call ptr @opendir(ptr noundef @.str)
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %7, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %3
%13 = call i32 @perror(ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
15: ; preds = %3
%16 = load ptr, ptr %7, align 8
%17 = call ptr @readdir(ptr noundef %16)
store ptr %17, ptr %8, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %.lr.ph, label %43
.lr.ph: ; preds = %15
br label %23
19: ; preds = %23
%20 = load ptr, ptr %7, align 8
%21 = call ptr @readdir(ptr noundef %20)
store ptr %21, ptr %8, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %23, label %._crit_edge, !llvm.loop !6
23: ; preds = %.lr.ph, %19
%24 = load ptr, ptr %8, align 8
%25 = getelementptr inbounds %struct.dirent, ptr %24, i32 0, i32 0
%26 = load i64, ptr %25, align 8
%27 = load i64, ptr %4, align 8
%28 = icmp eq i64 %26, %27
br i1 %28, label %29, label %19
29: ; preds = %23
%30 = load ptr, ptr %5, align 8
%31 = load ptr, ptr %8, align 8
%32 = getelementptr inbounds %struct.dirent, ptr %31, i32 0, i32 1
%33 = load i32, ptr %32, align 8
%34 = load i32, ptr %6, align 4
%35 = call i32 @strncpy(ptr noundef %30, i32 noundef %33, i32 noundef %34)
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %6, align 4
%38 = sub nsw i32 %37, 1
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %36, i64 %39
store i8 0, ptr %40, align 1
%41 = load ptr, ptr %7, align 8
%42 = call i32 @closedir(ptr noundef %41)
ret void
._crit_edge: ; preds = %19
br label %43
43: ; preds = %._crit_edge, %15
%44 = load i32, ptr @stderr, align 4
%45 = load i64, ptr %4, align 8
%46 = call i32 @fprintf(i32 noundef %44, ptr noundef @.str.1, i64 noundef %45)
%47 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare ptr @opendir(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @readdir(ptr noundef) #1
declare i32 @strncpy(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @closedir(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp6t_y6xc2.c'
source_filename = "/tmp/tmp6t_y6xc2.c"
target datalayout = "e-m:e-p270: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 [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"\0A ZLE\0A\0A\00", align 1
@EOF = dso_local global i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @czytanie(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
%7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %1
%11 = call i32 @printf(ptr noundef @.str.1)
br label %12
12: ; preds = %10, %1
br label %13
13: ; preds = %27, %12
%14 = load ptr, ptr %5, align 8
%15 = call signext i8 @getc(ptr noundef %14)
store i8 %15, ptr %4, align 1
%16 = sext i8 %15 to i32
%17 = load i8, ptr @EOF, align 1
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %16, %18
br i1 %19, label %20, label %28
20: ; preds = %13
%21 = load i8, ptr %4, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 10
br i1 %23, label %24, label %27
24: ; preds = %20
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
br label %27
27: ; preds = %24, %20
br label %13, !llvm.loop !6
28: ; preds = %13
%29 = load ptr, ptr %5, align 8
%30 = call i32 @fclose(ptr noundef %29)
%31 = load i32, ptr %3, align 4
ret i32 %31
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare signext i8 @getc(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6t_y6xc2.c"
target datalayout = "e-m:e-p270: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 [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"\0A ZLE\0A\0A\00", align 1
@EOF = dso_local global i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @czytanie(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
%7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %1
%11 = call i32 @printf(ptr noundef @.str.1)
br label %12
12: ; preds = %10, %1
%13 = load ptr, ptr %5, align 8
%14 = call signext i8 @getc(ptr noundef %13)
store i8 %14, ptr %4, align 1
%15 = sext i8 %14 to i32
%16 = load i8, ptr @EOF, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %15, %17
br i1 %18, label %.lr.ph, label %33
.lr.ph: ; preds = %12
br label %19
19: ; preds = %.lr.ph, %26
%20 = load i8, ptr %4, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 10
br i1 %22, label %23, label %26
23: ; preds = %19
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %3, align 4
br label %26
26: ; preds = %23, %19
%27 = load ptr, ptr %5, align 8
%28 = call signext i8 @getc(ptr noundef %27)
store i8 %28, ptr %4, align 1
%29 = sext i8 %28 to i32
%30 = load i8, ptr @EOF, align 1
%31 = sext i8 %30 to i32
%32 = icmp ne i32 %29, %31
br i1 %32, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %33
33: ; preds = %._crit_edge, %12
%34 = load ptr, ptr %5, align 8
%35 = call i32 @fclose(ptr noundef %34)
%36 = load i32, ptr %3, align 4
ret i32 %36
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare signext i8 @getc(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmplws7zdgd.c'
source_filename = "/tmp/tmplws7zdgd.c"
target datalayout = "e-m:e-p270: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.sockaddr_un = type { i32, i32 }
@AF_LOCAL = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@EINPROGRESS = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [12 x i8] c"connect: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @anetUnixGenericConnect(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 %struct.sockaddr_un, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%10 = load ptr, ptr %5, align 8
%11 = load i32, ptr @AF_LOCAL, align 4
%12 = call i32 @anetCreateSocket(ptr noundef %10, i32 noundef %11)
store i32 %12, ptr %8, align 4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 -1, ptr %4, align 4
br label %55
15: ; preds = %3
%16 = load i32, ptr @AF_LOCAL, align 4
%17 = getelementptr inbounds %struct.sockaddr_un, ptr %9, i32 0, i32 1
store i32 %16, ptr %17, align 4
%18 = getelementptr inbounds %struct.sockaddr_un, ptr %9, i32 0, i32 0
%19 = load i32, ptr %18, align 4
%20 = load ptr, ptr %6, align 8
%21 = call i32 @strncpy(i32 noundef %19, ptr noundef %20, i32 noundef 3)
%22 = load i32, ptr %7, align 4
%23 = and i32 %22, 1
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %32
25: ; preds = %15
%26 = load ptr, ptr %5, align 8
%27 = load i32, ptr %8, align 4
%28 = call i64 @kr_net_nonblock(ptr noundef %26, i32 noundef %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %25
store i32 -1, ptr %4, align 4
br label %55
31: ; preds = %25
br label %32
32: ; preds = %31, %15
%33 = load i32, ptr %8, align 4
%34 = call i32 @connect(i32 noundef %33, ptr noundef %9, i32 noundef 8)
%35 = icmp eq i32 %34, -1
br i1 %35, label %36, label %53
36: ; preds = %32
%37 = load i64, ptr @errno, align 8
%38 = load i64, ptr @EINPROGRESS, align 8
%39 = icmp eq i64 %37, %38
br i1 %39, label %40, label %46
40: ; preds = %36
%41 = load i32, ptr %7, align 4
%42 = and i32 %41, 1
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %46
44: ; preds = %40
%45 = load i32, ptr %8, align 4
store i32 %45, ptr %4, align 4
br label %55
46: ; preds = %40, %36
%47 = load ptr, ptr %5, align 8
%48 = load i64, ptr @errno, align 8
%49 = call i32 @strerror(i64 noundef %48)
%50 = call i32 @kr_net_set_error(ptr noundef %47, ptr noundef @.str, i32 noundef %49)
%51 = load i32, ptr %8, align 4
%52 = call i32 @close(i32 noundef %51)
store i32 -1, ptr %4, align 4
br label %55
53: ; preds = %32
%54 = load i32, ptr %8, align 4
store i32 %54, ptr %4, align 4
br label %55
55: ; preds = %53, %46, %44, %30, %14
%56 = load i32, ptr %4, align 4
ret i32 %56
}
declare i32 @anetCreateSocket(ptr noundef, i32 noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @kr_net_nonblock(ptr noundef, i32 noundef) #1
declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @kr_net_set_error(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strerror(i64 noundef) #1
declare i32 @close(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/tmplws7zdgd.c"
target datalayout = "e-m:e-p270: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.sockaddr_un = type { i32, i32 }
@AF_LOCAL = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@EINPROGRESS = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [12 x i8] c"connect: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @anetUnixGenericConnect(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 %struct.sockaddr_un, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%10 = load ptr, ptr %5, align 8
%11 = load i32, ptr @AF_LOCAL, align 4
%12 = call i32 @anetCreateSocket(ptr noundef %10, i32 noundef %11)
store i32 %12, ptr %8, align 4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 -1, ptr %4, align 4
br label %55
15: ; preds = %3
%16 = load i32, ptr @AF_LOCAL, align 4
%17 = getelementptr inbounds %struct.sockaddr_un, ptr %9, i32 0, i32 1
store i32 %16, ptr %17, align 4
%18 = getelementptr inbounds %struct.sockaddr_un, ptr %9, i32 0, i32 0
%19 = load i32, ptr %18, align 4
%20 = load ptr, ptr %6, align 8
%21 = call i32 @strncpy(i32 noundef %19, ptr noundef %20, i32 noundef 3)
%22 = load i32, ptr %7, align 4
%23 = and i32 %22, 1
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %32
25: ; preds = %15
%26 = load ptr, ptr %5, align 8
%27 = load i32, ptr %8, align 4
%28 = call i64 @kr_net_nonblock(ptr noundef %26, i32 noundef %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %25
store i32 -1, ptr %4, align 4
br label %55
31: ; preds = %25
br label %32
32: ; preds = %31, %15
%33 = load i32, ptr %8, align 4
%34 = call i32 @connect(i32 noundef %33, ptr noundef %9, i32 noundef 8)
%35 = icmp eq i32 %34, -1
br i1 %35, label %36, label %53
36: ; preds = %32
%37 = load i64, ptr @errno, align 8
%38 = load i64, ptr @EINPROGRESS, align 8
%39 = icmp eq i64 %37, %38
br i1 %39, label %40, label %46
40: ; preds = %36
%41 = load i32, ptr %7, align 4
%42 = and i32 %41, 1
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %46
44: ; preds = %40
%45 = load i32, ptr %8, align 4
store i32 %45, ptr %4, align 4
br label %55
46: ; preds = %40, %36
%47 = load ptr, ptr %5, align 8
%48 = load i64, ptr @errno, align 8
%49 = call i32 @strerror(i64 noundef %48)
%50 = call i32 @kr_net_set_error(ptr noundef %47, ptr noundef @.str, i32 noundef %49)
%51 = load i32, ptr %8, align 4
%52 = call i32 @close(i32 noundef %51)
store i32 -1, ptr %4, align 4
br label %55
53: ; preds = %32
%54 = load i32, ptr %8, align 4
store i32 %54, ptr %4, align 4
br label %55
55: ; preds = %53, %46, %44, %30, %14
%56 = load i32, ptr %4, align 4
ret i32 %56
}
declare i32 @anetCreateSocket(ptr noundef, i32 noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @kr_net_nonblock(ptr noundef, i32 noundef) #1
declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @kr_net_set_error(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strerror(i64 noundef) #1
declare i32 @close(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/tmpicmqi6g_.c'
source_filename = "/tmp/tmpicmqi6g_.c"
target datalayout = "e-m:e-p270: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/tmpicmqi6g_.c"
target datalayout = "e-m:e-p270: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/tmpd6nb6f99.c'
source_filename = "/tmp/tmpd6nb6f99.c"
target datalayout = "e-m:e-p270: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 @__statfs(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 @syscall(i32 noundef 266, ptr noundef %5, i32 noundef 4, ptr noundef %6)
ret i32 %7
}
declare i32 @syscall(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd6nb6f99.c"
target datalayout = "e-m:e-p270: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 @__statfs(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 @syscall(i32 noundef 266, ptr noundef %5, i32 noundef 4, ptr noundef %6)
ret i32 %7
}
declare i32 @syscall(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpflybu_it.c'
source_filename = "/tmp/tmpflybu_it.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.a = private unnamed_addr constant [6 x i8] c"Alice\00", align 1
@__const.main.b = private unnamed_addr constant [4 x i8] c"Bob\00", align 1
@__const.main.c = private unnamed_addr constant [6 x i8] c"Cindy\00", align 1
@.str = private unnamed_addr constant [10 x i8] c"Hello %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"\0ADefacing Bob...\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [3 x ptr], align 16
%7 = alloca [6 x i8], align 1
%8 = alloca [4 x i8], align 1
%9 = alloca [6 x i8], align 1
%10 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.main.a, i64 6, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.main.b, i64 4, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %9, ptr align 1 @__const.main.c, i64 6, i1 false)
%11 = getelementptr inbounds [6 x i8], ptr %7, i64 0, i64 0
%12 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 0
store ptr %11, ptr %12, align 16
%13 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0
%14 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 1
store ptr %13, ptr %14, align 8
%15 = getelementptr inbounds [6 x i8], ptr %9, i64 0, i64 0
%16 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 2
store ptr %15, ptr %16, align 16
store i64 0, ptr %10, align 8
br label %17
17: ; preds = %25, %2
%18 = load i64, ptr %10, align 8
%19 = icmp ult i64 %18, 3
br i1 %19, label %20, label %28
20: ; preds = %17
%21 = load i64, ptr %10, align 8
%22 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %23)
br label %25
25: ; preds = %20
%26 = load i64, ptr %10, align 8
%27 = add i64 %26, 1
store i64 %27, ptr %10, align 8
br label %17, !llvm.loop !6
28: ; preds = %17
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%30 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 1
store i8 97, ptr %30, align 1
%31 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 2
store i8 100, ptr %31, align 1
store i64 0, ptr %10, align 8
br label %32
32: ; preds = %40, %28
%33 = load i64, ptr %10, align 8
%34 = icmp ult i64 %33, 3
br i1 %34, label %35, label %43
35: ; preds = %32
%36 = load i64, ptr %10, align 8
%37 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 %36
%38 = load ptr, ptr %37, align 8
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %38)
br label %40
40: ; preds = %35
%41 = load i64, ptr %10, align 8
%42 = add i64 %41, 1
store i64 %42, ptr %10, align 8
br label %32, !llvm.loop !8
43: ; preds = %32
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpflybu_it.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.a = private unnamed_addr constant [6 x i8] c"Alice\00", align 1
@__const.main.b = private unnamed_addr constant [4 x i8] c"Bob\00", align 1
@__const.main.c = private unnamed_addr constant [6 x i8] c"Cindy\00", align 1
@.str = private unnamed_addr constant [10 x i8] c"Hello %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"\0ADefacing Bob...\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [3 x ptr], align 16
%7 = alloca [6 x i8], align 1
%8 = alloca [4 x i8], align 1
%9 = alloca [6 x i8], align 1
%10 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.main.a, i64 6, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.main.b, i64 4, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %9, ptr align 1 @__const.main.c, i64 6, i1 false)
%11 = getelementptr inbounds [6 x i8], ptr %7, i64 0, i64 0
%12 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 0
store ptr %11, ptr %12, align 16
%13 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0
%14 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 1
store ptr %13, ptr %14, align 8
%15 = getelementptr inbounds [6 x i8], ptr %9, i64 0, i64 0
%16 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 2
store ptr %15, ptr %16, align 16
store i64 0, ptr %10, align 8
%17 = load i64, ptr %10, align 8
%18 = icmp ult i64 %17, 3
br i1 %18, label %.lr.ph, label %29
.lr.ph: ; preds = %2
br label %19
19: ; preds = %.lr.ph, %24
%20 = load i64, ptr %10, align 8
%21 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 %20
%22 = load ptr, ptr %21, align 8
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %22)
br label %24
24: ; preds = %19
%25 = load i64, ptr %10, align 8
%26 = add i64 %25, 1
store i64 %26, ptr %10, align 8
%27 = load i64, ptr %10, align 8
%28 = icmp ult i64 %27, 3
br i1 %28, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %29
29: ; preds = %._crit_edge, %2
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%31 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 1
store i8 97, ptr %31, align 1
%32 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 2
store i8 100, ptr %32, align 1
store i64 0, ptr %10, align 8
%33 = load i64, ptr %10, align 8
%34 = icmp ult i64 %33, 3
br i1 %34, label %.lr.ph2, label %45
.lr.ph2: ; preds = %29
br label %35
35: ; preds = %.lr.ph2, %40
%36 = load i64, ptr %10, align 8
%37 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 %36
%38 = load ptr, ptr %37, align 8
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %38)
br label %40
40: ; preds = %35
%41 = load i64, ptr %10, align 8
%42 = add i64 %41, 1
store i64 %42, ptr %10, align 8
%43 = load i64, ptr %10, align 8
%44 = icmp ult i64 %43, 3
br i1 %44, label %35, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %40
br label %45
45: ; preds = %._crit_edge3, %29
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp4efcetr_.c'
source_filename = "/tmp/tmp4efcetr_.c"
target datalayout = "e-m:e-p270: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
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [20 x i32], align 16
%8 = alloca [20 x i32], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %6, align 4
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %3, align 4
br label %10
10: ; preds = %19, %0
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %22
14: ; preds = %10
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [20 x i32], ptr %7, i64 0, i64 %16
%18 = call i32 @scanf(ptr noundef @.str, ptr noundef %17)
br label %19
19: ; preds = %14
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
br label %10, !llvm.loop !6
22: ; preds = %10
%23 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 0
store i32 1, ptr %23, align 16
store i32 1, ptr %3, align 4
br label %24
24: ; preds = %60, %22
%25 = load i32, ptr %3, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %63
28: ; preds = %24
store i32 1, ptr %5, align 4
store i32 0, ptr %4, align 4
br label %29
29: ; preds = %52, %28
%30 = load i32, ptr %4, align 4
%31 = load i32, ptr %3, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %55
33: ; preds = %29
%34 = load i32, ptr %4, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [20 x i32], ptr %7, i64 0, i64 %35
%37 = load i32, ptr %36, align 4
%38 = load i32, ptr %3, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [20 x i32], ptr %7, i64 0, i64 %39
%41 = load i32, ptr %40, align 4
%42 = icmp slt i32 %37, %41
br i1 %42, label %43, label %51
43: ; preds = %33
%44 = load i32, ptr %4, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %45
%47 = load i32, ptr %46, align 4
%48 = add nsw i32 %47, 1
%49 = load i32, ptr %5, align 4
%50 = call i32 @max(i32 noundef %48, i32 noundef %49)
store i32 %50, ptr %5, align 4
br label %51
51: ; preds = %43, %33
br label %52
52: ; preds = %51
%53 = load i32, ptr %4, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %4, align 4
br label %29, !llvm.loop !8
55: ; preds = %29
%56 = load i32, ptr %5, align 4
%57 = load i32, ptr %3, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %58
store i32 %56, ptr %59, align 4
br label %60
60: ; preds = %55
%61 = load i32, ptr %3, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %3, align 4
br label %24, !llvm.loop !9
63: ; preds = %24
store i32 0, ptr %3, align 4
br label %64
64: ; preds = %75, %63
%65 = load i32, ptr %3, align 4
%66 = load i32, ptr %2, align 4
%67 = icmp slt i32 %65, %66
br i1 %67, label %68, label %78
68: ; preds = %64
%69 = load i32, ptr %6, align 4
%70 = load i32, ptr %3, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %71
%73 = load i32, ptr %72, align 4
%74 = call i32 @max(i32 noundef %69, i32 noundef %73)
store i32 %74, ptr %6, align 4
br label %75
75: ; preds = %68
%76 = load i32, ptr %3, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %3, align 4
br label %64, !llvm.loop !10
78: ; preds = %64
%79 = load i32, ptr %6, align 4
%80 = call i32 @printf(ptr noundef @.str.1, i32 noundef %79)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @max(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4efcetr_.c"
target datalayout = "e-m:e-p270: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
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [20 x i32], align 16
%8 = alloca [20 x i32], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %6, align 4
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %24
.lr.ph: ; preds = %0
br label %13
13: ; preds = %.lr.ph, %18
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [20 x i32], ptr %7, i64 0, i64 %15
%17 = call i32 @scanf(ptr noundef @.str, ptr noundef %16)
br label %18
18: ; preds = %13
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %2, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %0
%25 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 0
store i32 1, ptr %25, align 16
store i32 1, ptr %3, align 4
%26 = load i32, ptr %3, align 4
%27 = load i32, ptr %2, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %.lr.ph5, label %69
.lr.ph5: ; preds = %24
br label %29
29: ; preds = %.lr.ph5, %63
store i32 1, ptr %5, align 4
store i32 0, ptr %4, align 4
%30 = load i32, ptr %4, align 4
%31 = load i32, ptr %3, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %.lr.ph2, label %58
.lr.ph2: ; preds = %29
br label %33
33: ; preds = %.lr.ph2, %52
%34 = load i32, ptr %4, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [20 x i32], ptr %7, i64 0, i64 %35
%37 = load i32, ptr %36, align 4
%38 = load i32, ptr %3, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [20 x i32], ptr %7, i64 0, i64 %39
%41 = load i32, ptr %40, align 4
%42 = icmp slt i32 %37, %41
br i1 %42, label %43, label %51
43: ; preds = %33
%44 = load i32, ptr %4, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %45
%47 = load i32, ptr %46, align 4
%48 = add nsw i32 %47, 1
%49 = load i32, ptr %5, align 4
%50 = call i32 @max(i32 noundef %48, i32 noundef %49)
store i32 %50, ptr %5, align 4
br label %51
51: ; preds = %43, %33
br label %52
52: ; preds = %51
%53 = load i32, ptr %4, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %4, align 4
%55 = load i32, ptr %4, align 4
%56 = load i32, ptr %3, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %33, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %58
58: ; preds = %._crit_edge3, %29
%59 = load i32, ptr %5, align 4
%60 = load i32, ptr %3, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %61
store i32 %59, ptr %62, align 4
br label %63
63: ; preds = %58
%64 = load i32, ptr %3, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %3, align 4
%66 = load i32, ptr %3, align 4
%67 = load i32, ptr %2, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %29, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %63
br label %69
69: ; preds = %._crit_edge6, %24
store i32 0, ptr %3, align 4
%70 = load i32, ptr %3, align 4
%71 = load i32, ptr %2, align 4
%72 = icmp slt i32 %70, %71
br i1 %72, label %.lr.ph8, label %86
.lr.ph8: ; preds = %69
br label %73
73: ; preds = %.lr.ph8, %80
%74 = load i32, ptr %6, align 4
%75 = load i32, ptr %3, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %76
%78 = load i32, ptr %77, align 4
%79 = call i32 @max(i32 noundef %74, i32 noundef %78)
store i32 %79, ptr %6, align 4
br label %80
80: ; preds = %73
%81 = load i32, ptr %3, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %3, align 4
%83 = load i32, ptr %3, align 4
%84 = load i32, ptr %2, align 4
%85 = icmp slt i32 %83, %84
br i1 %85, label %73, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %80
br label %86
86: ; preds = %._crit_edge9, %69
%87 = load i32, ptr %6, align 4
%88 = call i32 @printf(ptr noundef @.str.1, i32 noundef %87)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @max(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpyu_irmyc.c'
source_filename = "/tmp/tmpyu_irmyc.c"
target datalayout = "e-m:e-p270: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 @remove_trailing_spaces(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %3
3: ; preds = %9, %1
%4 = load ptr, ptr %2, align 8
%5 = load i8, ptr %4, align 1
%6 = call i32 @isspace(i8 noundef signext %5)
%7 = icmp ne i32 %6, 0
%8 = xor i1 %7, true
br i1 %8, label %9, label %12
9: ; preds = %3
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds i8, ptr %10, i32 1
store ptr %11, ptr %2, align 8
br label %3, !llvm.loop !6
12: ; preds = %3
br label %13
13: ; preds = %18, %12
%14 = load ptr, ptr %2, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %22
18: ; preds = %13
%19 = load ptr, ptr %2, align 8
store i8 0, ptr %19, align 1
%20 = load ptr, ptr %2, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %2, align 8
br label %13, !llvm.loop !8
22: ; preds = %13
ret void
}
declare i32 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyu_irmyc.c"
target datalayout = "e-m:e-p270: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 @remove_trailing_spaces(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i8, ptr %3, align 1
%5 = call i32 @isspace(i8 noundef signext %4)
%6 = icmp ne i32 %5, 0
%7 = xor i1 %6, true
br i1 %7, label %.lr.ph, label %16
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %8
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i8, ptr %9, i32 1
store ptr %10, ptr %2, align 8
%11 = load ptr, ptr %2, align 8
%12 = load i8, ptr %11, align 1
%13 = call i32 @isspace(i8 noundef signext %12)
%14 = icmp ne i32 %13, 0
%15 = xor i1 %14, true
br i1 %15, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %16
16: ; preds = %._crit_edge, %1
%17 = load ptr, ptr %2, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br i1 %20, label %.lr.ph2, label %29
.lr.ph2: ; preds = %16
br label %21
21: ; preds = %.lr.ph2, %21
%22 = load ptr, ptr %2, align 8
store i8 0, ptr %22, align 1
%23 = load ptr, ptr %2, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %2, align 8
%25 = load ptr, ptr %2, 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 %21, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %21
br label %29
29: ; preds = %._crit_edge3, %16
ret void
}
declare i32 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp56axtfuq.c'
source_filename = "/tmp/tmp56axtfuq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@POINT_CONVERSION_UNCOMPRESSED = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sshbuf_put_ec(ptr 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 ptr, align 8
%8 = alloca [133 x i32], align 16
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%12 = call ptr (...) @BN_CTX_new()
store ptr %12, ptr %9, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 -2, ptr %4, align 4
br label %49
15: ; preds = %3
%16 = load ptr, ptr %7, align 8
%17 = load ptr, ptr %6, align 8
%18 = load i32, ptr @POINT_CONVERSION_UNCOMPRESSED, align 4
%19 = load ptr, ptr %9, align 8
%20 = call i64 @EC_POINT_point2oct(ptr noundef %16, ptr noundef %17, i32 noundef %18, ptr noundef null, i64 noundef 0, ptr noundef %19)
store i64 %20, ptr %10, align 8
%21 = icmp ugt i64 %20, 133
br i1 %21, label %22, label %25
22: ; preds = %15
%23 = load ptr, ptr %9, align 8
%24 = call i32 @BN_CTX_free(ptr noundef %23)
store i32 -10, ptr %4, align 4
br label %49
25: ; preds = %15
%26 = load ptr, ptr %7, align 8
%27 = load ptr, ptr %6, align 8
%28 = load i32, ptr @POINT_CONVERSION_UNCOMPRESSED, align 4
%29 = getelementptr inbounds [133 x i32], ptr %8, i64 0, i64 0
%30 = load i64, ptr %10, align 8
%31 = load ptr, ptr %9, align 8
%32 = call i64 @EC_POINT_point2oct(ptr noundef %26, ptr noundef %27, i32 noundef %28, ptr noundef %29, i64 noundef %30, ptr noundef %31)
%33 = load i64, ptr %10, align 8
%34 = icmp ne i64 %32, %33
br i1 %34, label %35, label %38
35: ; preds = %25
%36 = load ptr, ptr %9, align 8
%37 = call i32 @BN_CTX_free(ptr noundef %36)
store i32 -1, ptr %4, align 4
br label %49
38: ; preds = %25
%39 = load ptr, ptr %9, align 8
%40 = call i32 @BN_CTX_free(ptr noundef %39)
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds [133 x i32], ptr %8, i64 0, i64 0
%43 = load i64, ptr %10, align 8
%44 = call i32 @sshbuf_put_string(ptr noundef %41, ptr noundef %42, i64 noundef %43)
store i32 %44, ptr %11, align 4
%45 = getelementptr inbounds [133 x i32], ptr %8, i64 0, i64 0
%46 = load i64, ptr %10, align 8
%47 = call i32 @bzero(ptr noundef %45, i64 noundef %46)
%48 = load i32, ptr %11, align 4
store i32 %48, ptr %4, align 4
br label %49
49: ; preds = %38, %35, %22, %14
%50 = load i32, ptr %4, align 4
ret i32 %50
}
declare ptr @BN_CTX_new(...) #1
declare i64 @EC_POINT_point2oct(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef) #1
declare i32 @BN_CTX_free(ptr noundef) #1
declare i32 @sshbuf_put_string(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @bzero(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp56axtfuq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@POINT_CONVERSION_UNCOMPRESSED = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sshbuf_put_ec(ptr 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 ptr, align 8
%8 = alloca [133 x i32], align 16
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%12 = call ptr (...) @BN_CTX_new()
store ptr %12, ptr %9, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 -2, ptr %4, align 4
br label %49
15: ; preds = %3
%16 = load ptr, ptr %7, align 8
%17 = load ptr, ptr %6, align 8
%18 = load i32, ptr @POINT_CONVERSION_UNCOMPRESSED, align 4
%19 = load ptr, ptr %9, align 8
%20 = call i64 @EC_POINT_point2oct(ptr noundef %16, ptr noundef %17, i32 noundef %18, ptr noundef null, i64 noundef 0, ptr noundef %19)
store i64 %20, ptr %10, align 8
%21 = icmp ugt i64 %20, 133
br i1 %21, label %22, label %25
22: ; preds = %15
%23 = load ptr, ptr %9, align 8
%24 = call i32 @BN_CTX_free(ptr noundef %23)
store i32 -10, ptr %4, align 4
br label %49
25: ; preds = %15
%26 = load ptr, ptr %7, align 8
%27 = load ptr, ptr %6, align 8
%28 = load i32, ptr @POINT_CONVERSION_UNCOMPRESSED, align 4
%29 = getelementptr inbounds [133 x i32], ptr %8, i64 0, i64 0
%30 = load i64, ptr %10, align 8
%31 = load ptr, ptr %9, align 8
%32 = call i64 @EC_POINT_point2oct(ptr noundef %26, ptr noundef %27, i32 noundef %28, ptr noundef %29, i64 noundef %30, ptr noundef %31)
%33 = load i64, ptr %10, align 8
%34 = icmp ne i64 %32, %33
br i1 %34, label %35, label %38
35: ; preds = %25
%36 = load ptr, ptr %9, align 8
%37 = call i32 @BN_CTX_free(ptr noundef %36)
store i32 -1, ptr %4, align 4
br label %49
38: ; preds = %25
%39 = load ptr, ptr %9, align 8
%40 = call i32 @BN_CTX_free(ptr noundef %39)
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds [133 x i32], ptr %8, i64 0, i64 0
%43 = load i64, ptr %10, align 8
%44 = call i32 @sshbuf_put_string(ptr noundef %41, ptr noundef %42, i64 noundef %43)
store i32 %44, ptr %11, align 4
%45 = getelementptr inbounds [133 x i32], ptr %8, i64 0, i64 0
%46 = load i64, ptr %10, align 8
%47 = call i32 @bzero(ptr noundef %45, i64 noundef %46)
%48 = load i32, ptr %11, align 4
store i32 %48, ptr %4, align 4
br label %49
49: ; preds = %38, %35, %22, %14
%50 = load i32, ptr %4, align 4
ret i32 %50
}
declare ptr @BN_CTX_new(...) #1
declare i64 @EC_POINT_point2oct(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef) #1
declare i32 @BN_CTX_free(ptr noundef) #1
declare i32 @sshbuf_put_string(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @bzero(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp71n0dvae.c'
source_filename = "/tmp/tmp71n0dvae.c"
target datalayout = "e-m:e-p270: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(ptr noalias noundef %0, ptr noalias noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %24, %3
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %27
12: ; preds = %8
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %7, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i16, ptr %13, i64 %15
%17 = load i16, ptr %16, align 2
%18 = sext i16 %17 to i32
%19 = mul nsw i32 %18, 2333
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
store i32 %19, ptr %23, align 4
br label %24
24: ; preds = %12
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %7, align 4
br label %8, !llvm.loop !6
27: ; preds = %8
store i32 0, ptr %7, align 4
br label %28
28: ; preds = %49, %27
%29 = load i32, ptr %7, align 4
%30 = load i32, ptr %6, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %32, label %52
32: ; preds = %28
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr %7, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
%37 = load i32, ptr %36, align 4
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %7, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i16, ptr %38, i64 %40
%42 = load i16, ptr %41, align 2
%43 = sext i16 %42 to i32
%44 = mul nsw i32 %43, 2333
%45 = icmp ne i32 %37, %44
br i1 %45, label %46, label %48
46: ; preds = %32
%47 = call i32 (...) @abort() #2
unreachable
48: ; preds = %32
br label %49
49: ; preds = %48
%50 = load i32, ptr %7, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %7, align 4
br label %28, !llvm.loop !8
52: ; preds = %28
ret void
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp71n0dvae.c"
target datalayout = "e-m:e-p270: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(ptr noalias noundef %0, ptr noalias noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %29
.lr.ph: ; preds = %3
br label %11
11: ; preds = %.lr.ph, %23
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %7, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i16, ptr %12, i64 %14
%16 = load i16, ptr %15, align 2
%17 = sext i16 %16 to i32
%18 = mul nsw i32 %17, 2333
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
store i32 %18, ptr %22, align 4
br label %23
23: ; preds = %11
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %7, align 4
%26 = load i32, ptr %7, align 4
%27 = load i32, ptr %6, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %3
store i32 0, ptr %7, align 4
%30 = load i32, ptr %7, align 4
%31 = load i32, ptr %6, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %.lr.ph2, label %56
.lr.ph2: ; preds = %29
br label %33
33: ; preds = %.lr.ph2, %50
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %7, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
%38 = load i32, ptr %37, align 4
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %7, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i16, ptr %39, i64 %41
%43 = load i16, ptr %42, align 2
%44 = sext i16 %43 to i32
%45 = mul nsw i32 %44, 2333
%46 = icmp ne i32 %38, %45
br i1 %46, label %47, label %49
47: ; preds = %33
%48 = call i32 (...) @abort() #2
unreachable
49: ; preds = %33
br label %50
50: ; preds = %49
%51 = load i32, ptr %7, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %7, align 4
%53 = load i32, ptr %7, align 4
%54 = load i32, ptr %6, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %33, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %50
br label %56
56: ; preds = %._crit_edge3, %29
ret void
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpb7ih97h7.c'
source_filename = "/tmp/tmpb7ih97h7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"ran out of storage\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gc_fatal_error() #0 {
%1 = call i32 @err(ptr noundef @.str, ptr noundef null)
ret void
}
declare i32 @err(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/tmpb7ih97h7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"ran out of storage\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gc_fatal_error() #0 {
%1 = call i32 @err(ptr noundef @.str, ptr noundef null)
ret void
}
declare i32 @err(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/tmpi4bfe9kn.c'
source_filename = "/tmp/tmpi4bfe9kn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_file_size(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca %struct.stat, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i64 @stat(ptr noundef %7, ptr noundef %6)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 0, ptr %3, align 4
br label %15
11: ; preds = %2
%12 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%13 = load i32, ptr %12, align 4
%14 = load ptr, ptr %5, align 8
store i32 %13, ptr %14, align 4
store i32 1, ptr %3, align 4
br label %15
15: ; preds = %11, %10
%16 = load i32, ptr %3, align 4
ret i32 %16
}
declare i64 @stat(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/tmpi4bfe9kn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_file_size(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca %struct.stat, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i64 @stat(ptr noundef %7, ptr noundef %6)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 0, ptr %3, align 4
br label %15
11: ; preds = %2
%12 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%13 = load i32, ptr %12, align 4
%14 = load ptr, ptr %5, align 8
store i32 %13, ptr %14, align 4
store i32 1, ptr %3, align 4
br label %15
15: ; preds = %11, %10
%16 = load i32, ptr %3, align 4
ret i32 %16
}
declare i64 @stat(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/tmpap74btlg.c'
source_filename = "/tmp/tmpap74btlg.c"
target datalayout = "e-m:e-p270: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 @sok_history_getpushes(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
store i64 0, ptr %2, align 8
br label %33
8: ; preds = %1
br label %9
9: ; preds = %27, %8
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %30
14: ; preds = %9
%15 = load ptr, ptr %3, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp sge i32 %17, 65
br i1 %18, label %19, label %27
19: ; preds = %14
%20 = load ptr, ptr %3, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp sle i32 %22, 90
br i1 %23, label %24, label %27
24: ; preds = %19
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
br label %27
27: ; preds = %24, %19, %14
%28 = load ptr, ptr %3, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 1
store ptr %29, ptr %3, align 8
br label %9, !llvm.loop !6
30: ; preds = %9
%31 = load i32, ptr %4, align 4
%32 = sext i32 %31 to i64
store i64 %32, ptr %2, align 8
br label %33
33: ; preds = %30, %7
%34 = load i64, ptr %2, align 8
ret i64 %34
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpap74btlg.c"
target datalayout = "e-m:e-p270: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 @sok_history_getpushes(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
store i64 0, ptr %2, align 8
br label %36
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 0
br i1 %12, label %.lr.ph, label %33
.lr.ph: ; preds = %8
br label %13
13: ; preds = %.lr.ph, %26
%14 = load ptr, ptr %3, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp sge i32 %16, 65
br i1 %17, label %18, label %26
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp sle i32 %21, 90
br i1 %22, label %23, label %26
23: ; preds = %18
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %4, align 4
br label %26
26: ; preds = %23, %18, %13
%27 = load ptr, ptr %3, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 1
store ptr %28, ptr %3, align 8
%29 = load ptr, ptr %3, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp ne i32 %31, 0
br i1 %32, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %33
33: ; preds = %._crit_edge, %8
%34 = load i32, ptr %4, align 4
%35 = sext i32 %34 to i64
store i64 %35, ptr %2, align 8
br label %36
36: ; preds = %33, %7
%37 = load i64, ptr %2, align 8
ret i64 %37
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp52u68h5r.c'
source_filename = "/tmp/tmp52u68h5r.c"
target datalayout = "e-m:e-p270: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"%d - \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @escreve(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
store i32 %8, ptr %7, align 4
br label %9
9: ; preds = %20, %3
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp sle i32 %10, %11
br i1 %12, label %13, label %23
13: ; preds = %9
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %7, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
%18 = load i32, ptr %17, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %18)
br label %20
20: ; preds = %13
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
br label %9, !llvm.loop !6
23: ; preds = %9
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
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/tmp52u68h5r.c"
target datalayout = "e-m:e-p270: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"%d - \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @escreve(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
store i32 %8, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %.lr.ph, label %25
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %19
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %7, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %17)
br label %19
19: ; preds = %12
%20 = load i32, ptr %7, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %7, align 4
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %6, align 4
%24 = icmp sle i32 %22, %23
br i1 %24, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %3
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
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/tmpu4q7b9mn.c'
source_filename = "/tmp/tmpu4q7b9mn.c"
target datalayout = "e-m:e-p270: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"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"%lf %lf\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"%lg %lg\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2)
%8 = call i32 @int_swap(ptr noundef %1, ptr noundef %2)
%9 = load i32, ptr %1, align 4
%10 = sitofp i32 %9 to double
%11 = load i32, ptr %2, align 4
%12 = sitofp i32 %11 to double
%13 = call i32 @printf(ptr noundef @.str.1, double noundef %10, double noundef %12)
%14 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2)
%15 = load i32, ptr %1, align 4
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %2, align 4
store i32 %16, ptr %1, align 4
%17 = load i32, ptr %3, align 4
store i32 %17, ptr %2, align 4
%18 = load i32, ptr %1, align 4
%19 = sitofp i32 %18 to double
%20 = load i32, ptr %2, align 4
%21 = sitofp i32 %20 to double
%22 = call i32 @printf(ptr noundef @.str.1, double noundef %19, double noundef %21)
%23 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %4, ptr noundef %5)
%24 = call i32 @dbl_swap(ptr noundef %4, ptr noundef %5)
%25 = load double, ptr %4, align 8
%26 = load double, ptr %5, align 8
%27 = call i32 @printf(ptr noundef @.str.3, double noundef %25, double noundef %26)
%28 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %4, ptr noundef %5)
%29 = load double, ptr %4, align 8
store double %29, ptr %6, align 8
%30 = load double, ptr %5, align 8
store double %30, ptr %4, align 8
%31 = load double, ptr %6, align 8
store double %31, ptr %5, align 8
%32 = load double, ptr %4, align 8
%33 = load double, ptr %5, align 8
%34 = call i32 @printf(ptr noundef @.str.3, double noundef %32, double noundef %33)
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @int_swap(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, double noundef, double noundef) #1
declare i32 @dbl_swap(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/tmpu4q7b9mn.c"
target datalayout = "e-m:e-p270: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"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"%lf %lf\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"%lg %lg\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2)
%8 = call i32 @int_swap(ptr noundef %1, ptr noundef %2)
%9 = load i32, ptr %1, align 4
%10 = sitofp i32 %9 to double
%11 = load i32, ptr %2, align 4
%12 = sitofp i32 %11 to double
%13 = call i32 @printf(ptr noundef @.str.1, double noundef %10, double noundef %12)
%14 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2)
%15 = load i32, ptr %1, align 4
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %2, align 4
store i32 %16, ptr %1, align 4
%17 = load i32, ptr %3, align 4
store i32 %17, ptr %2, align 4
%18 = load i32, ptr %1, align 4
%19 = sitofp i32 %18 to double
%20 = load i32, ptr %2, align 4
%21 = sitofp i32 %20 to double
%22 = call i32 @printf(ptr noundef @.str.1, double noundef %19, double noundef %21)
%23 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %4, ptr noundef %5)
%24 = call i32 @dbl_swap(ptr noundef %4, ptr noundef %5)
%25 = load double, ptr %4, align 8
%26 = load double, ptr %5, align 8
%27 = call i32 @printf(ptr noundef @.str.3, double noundef %25, double noundef %26)
%28 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %4, ptr noundef %5)
%29 = load double, ptr %4, align 8
store double %29, ptr %6, align 8
%30 = load double, ptr %5, align 8
store double %30, ptr %4, align 8
%31 = load double, ptr %6, align 8
store double %31, ptr %5, align 8
%32 = load double, ptr %4, align 8
%33 = load double, ptr %5, align 8
%34 = call i32 @printf(ptr noundef @.str.3, double noundef %32, double noundef %33)
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @int_swap(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, double noundef, double noundef) #1
declare i32 @dbl_swap(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/tmpky41rda9.c'
source_filename = "/tmp/tmpky41rda9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.test_negative.input = private unnamed_addr constant [5 x i32] [i32 -4, i32 7, i32 -3, i32 1, i32 -5], align 16
@__const.test_negative.expected = private unnamed_addr constant [5 x i32] [i32 105, i32 -60, i32 140, i32 -420, i32 84], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_negative() #0 {
%1 = alloca [5 x i32], align 16
%2 = alloca [5 x i32], align 16
%3 = alloca [5 x i32], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.test_negative.input, i64 20, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.test_negative.expected, i64 20, i1 false)
%4 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 0
%5 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0
%6 = call i32 @calculate(ptr noundef %4, ptr noundef %5, i32 noundef 5)
%7 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0
%8 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0
%9 = call i32 @are_equal(ptr noundef %7, ptr noundef %8, i32 noundef 5)
ret i32 %9
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @calculate(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @are_equal(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpky41rda9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.test_negative.input = private unnamed_addr constant [5 x i32] [i32 -4, i32 7, i32 -3, i32 1, i32 -5], align 16
@__const.test_negative.expected = private unnamed_addr constant [5 x i32] [i32 105, i32 -60, i32 140, i32 -420, i32 84], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_negative() #0 {
%1 = alloca [5 x i32], align 16
%2 = alloca [5 x i32], align 16
%3 = alloca [5 x i32], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.test_negative.input, i64 20, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.test_negative.expected, i64 20, i1 false)
%4 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 0
%5 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0
%6 = call i32 @calculate(ptr noundef %4, ptr noundef %5, i32 noundef 5)
%7 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0
%8 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0
%9 = call i32 @are_equal(ptr noundef %7, ptr noundef %8, i32 noundef 5)
ret i32 %9
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @calculate(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @are_equal(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa9vw9e9s.c'
source_filename = "/tmp/tmpa9vw9e9s.c"
target datalayout = "e-m:e-p270: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/tmpa9vw9e9s.c"
target datalayout = "e-m:e-p270: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/tmp5cd81rqg.c'
source_filename = "/tmp/tmp5cd81rqg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DBL_EPSILON = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @JacobiElliptic(double noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca double, align 8
%12 = alloca [16 x double], align 16
%13 = alloca [16 x double], align 16
%14 = alloca [16 x double], align 16
%15 = alloca [16 x double], align 16
%16 = alloca i32, align 4
store double %0, ptr %6, align 8
store double %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%17 = load double, ptr @DBL_EPSILON, align 8
store double %17, ptr %11, align 8
%18 = load double, ptr %7, align 8
%19 = fcmp oeq double 1.000000e+00, %18
br i1 %19, label %20, label %32
20: ; preds = %5
%21 = load double, ptr %6, align 8
%22 = call i32 @cosh(double noundef %21)
%23 = sitofp i32 %22 to double
%24 = fdiv double 1.000000e+00, %23
%25 = load ptr, ptr %8, align 8
store double %24, ptr %25, align 8
%26 = load double, ptr %6, align 8
%27 = call double @tanh(double noundef %26) #4
%28 = load ptr, ptr %9, align 8
store double %27, ptr %28, align 8
%29 = load ptr, ptr %8, align 8
%30 = load double, ptr %29, align 8
%31 = load ptr, ptr %10, align 8
store double %30, ptr %31, align 8
br label %175
32: ; preds = %5
%33 = load double, ptr %7, align 8
%34 = fcmp oeq double 0.000000e+00, %33
br i1 %34, label %35, label %43
35: ; preds = %32
%36 = load double, ptr %6, align 8
%37 = call double @cos(double noundef %36) #4
%38 = load ptr, ptr %8, align 8
store double %37, ptr %38, align 8
%39 = load double, ptr %6, align 8
%40 = call double @sin(double noundef %39) #4
%41 = load ptr, ptr %9, align 8
store double %40, ptr %41, align 8
%42 = load ptr, ptr %10, align 8
store double 1.000000e+00, ptr %42, align 8
br label %175
43: ; preds = %32
br label %44
44: ; preds = %43
%45 = getelementptr inbounds [16 x double], ptr %12, i64 0, i64 0
store double 1.000000e+00, ptr %45, align 16
%46 = load double, ptr %7, align 8
%47 = fptosi double %46 to i32
%48 = call double @sqrt(i32 noundef %47)
%49 = getelementptr inbounds [16 x double], ptr %14, i64 0, i64 0
store double %48, ptr %49, align 16
%50 = load double, ptr %7, align 8
%51 = fsub double 1.000000e+00, %50
%52 = fptosi double %51 to i32
%53 = call double @sqrt(i32 noundef %52)
%54 = getelementptr inbounds [16 x double], ptr %13, i64 0, i64 0
store double %53, ptr %54, align 16
store i32 0, ptr %16, align 4
br label %55
55: ; preds = %63, %44
%56 = load i32, ptr %16, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [16 x double], ptr %14, i64 0, i64 %57
%59 = load double, ptr %58, align 8
%60 = call double @fabs(double noundef %59)
%61 = load double, ptr %11, align 8
%62 = fcmp ogt double %60, %61
br i1 %62, label %63, label %110
63: ; preds = %55
%64 = load i32, ptr %16, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [16 x double], ptr %12, i64 0, i64 %65
%67 = load double, ptr %66, align 8
%68 = load i32, ptr %16, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [16 x double], ptr %13, i64 0, i64 %69
%71 = load double, ptr %70, align 8
%72 = fmul double 5.000000e-01, %71
%73 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %67, double %72)
%74 = load i32, ptr %16, align 4
%75 = add nsw i32 %74, 1
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [16 x double], ptr %12, i64 0, i64 %76
store double %73, ptr %77, align 8
%78 = load i32, ptr %16, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [16 x double], ptr %12, i64 0, i64 %79
%81 = load double, ptr %80, align 8
%82 = load i32, ptr %16, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [16 x double], ptr %13, i64 0, i64 %83
%85 = load double, ptr %84, align 8
%86 = fmul double %81, %85
%87 = fptosi double %86 to i32
%88 = call double @sqrt(i32 noundef %87)
%89 = load i32, ptr %16, align 4
%90 = add nsw i32 %89, 1
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [16 x double], ptr %13, i64 0, i64 %91
store double %88, ptr %92, align 8
%93 = load i32, ptr %16, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds [16 x double], ptr %12, i64 0, i64 %94
%96 = load double, ptr %95, align 8
%97 = load i32, ptr %16, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds [16 x double], ptr %13, i64 0, i64 %98
%100 = load double, ptr %99, align 8
%101 = fmul double 5.000000e-01, %100
%102 = fneg double %101
%103 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %96, double %102)
%104 = load i32, ptr %16, align 4
%105 = add nsw i32 %104, 1
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [16 x double], ptr %14, i64 0, i64 %106
store double %103, ptr %107, align 8
%108 = load i32, ptr %16, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %16, align 4
br label %55, !llvm.loop !6
110: ; preds = %55
%111 = load i32, ptr %16, align 4
%112 = call double @pow(i32 noundef 2, i32 noundef %111)
%113 = load i32, ptr %16, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds [16 x double], ptr %12, i64 0, i64 %114
%116 = load double, ptr %115, align 8
%117 = fmul double %112, %116
%118 = load double, ptr %6, align 8
%119 = fmul double %117, %118
%120 = load i32, ptr %16, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds [16 x double], ptr %15, i64 0, i64 %121
store double %119, ptr %122, align 8
br label %123
123: ; preds = %126, %110
%124 = load i32, ptr %16, align 4
%125 = icmp sgt i32 %124, 0
br i1 %125, label %126, label %155
126: ; preds = %123
%127 = load i32, ptr %16, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds [16 x double], ptr %15, i64 0, i64 %128
%130 = load double, ptr %129, align 8
%131 = load i32, ptr %16, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds [16 x double], ptr %14, i64 0, i64 %132
%134 = load double, ptr %133, align 8
%135 = load i32, ptr %16, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds [16 x double], ptr %12, i64 0, i64 %136
%138 = load double, ptr %137, align 8
%139 = fdiv double %134, %138
%140 = load i32, ptr %16, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds [16 x double], ptr %15, i64 0, i64 %141
%143 = load double, ptr %142, align 8
%144 = call double @sin(double noundef %143) #4
%145 = fmul double %139, %144
%146 = call double @asin(double noundef %145) #4
%147 = fadd double %130, %146
%148 = fmul double 5.000000e-01, %147
%149 = load i32, ptr %16, align 4
%150 = sub nsw i32 %149, 1
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds [16 x double], ptr %15, i64 0, i64 %151
store double %148, ptr %152, align 8
%153 = load i32, ptr %16, align 4
%154 = add nsw i32 %153, -1
store i32 %154, ptr %16, align 4
br label %123, !llvm.loop !8
155: ; preds = %123
%156 = getelementptr inbounds [16 x double], ptr %15, i64 0, i64 0
%157 = load double, ptr %156, align 16
%158 = call double @cos(double noundef %157) #4
%159 = load ptr, ptr %8, align 8
store double %158, ptr %159, align 8
%160 = getelementptr inbounds [16 x double], ptr %15, i64 0, i64 0
%161 = load double, ptr %160, align 16
%162 = call double @sin(double noundef %161) #4
%163 = load ptr, ptr %9, align 8
store double %162, ptr %163, align 8
%164 = load double, ptr %7, align 8
%165 = load ptr, ptr %9, align 8
%166 = load double, ptr %165, align 8
%167 = fmul double %164, %166
%168 = load ptr, ptr %9, align 8
%169 = load double, ptr %168, align 8
%170 = fneg double %167
%171 = call double @llvm.fmuladd.f64(double %170, double %169, double 1.000000e+00)
%172 = fptosi double %171 to i32
%173 = call double @sqrt(i32 noundef %172)
%174 = load ptr, ptr %10, align 8
store double %173, ptr %174, align 8
br label %175
175: ; preds = %155, %35, %20
ret void
}
declare i32 @cosh(double noundef) #1
; Function Attrs: nounwind
declare double @tanh(double noundef) #2
; Function Attrs: nounwind
declare double @cos(double noundef) #2
; Function Attrs: nounwind
declare double @sin(double noundef) #2
declare double @sqrt(i32 noundef) #1
declare double @fabs(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
declare double @pow(i32 noundef, i32 noundef) #1
; Function Attrs: nounwind
declare double @asin(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 = { "frame-pointer"="all" "no-trapping-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 = { 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 #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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5cd81rqg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DBL_EPSILON = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @JacobiElliptic(double noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca double, align 8
%12 = alloca [16 x double], align 16
%13 = alloca [16 x double], align 16
%14 = alloca [16 x double], align 16
%15 = alloca [16 x double], align 16
%16 = alloca i32, align 4
store double %0, ptr %6, align 8
store double %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%17 = load double, ptr @DBL_EPSILON, align 8
store double %17, ptr %11, align 8
%18 = load double, ptr %7, align 8
%19 = fcmp oeq double 1.000000e+00, %18
br i1 %19, label %20, label %32
20: ; preds = %5
%21 = load double, ptr %6, align 8
%22 = call i32 @cosh(double noundef %21)
%23 = sitofp i32 %22 to double
%24 = fdiv double 1.000000e+00, %23
%25 = load ptr, ptr %8, align 8
store double %24, ptr %25, align 8
%26 = load double, ptr %6, align 8
%27 = call double @tanh(double noundef %26) #4
%28 = load ptr, ptr %9, align 8
store double %27, ptr %28, align 8
%29 = load ptr, ptr %8, align 8
%30 = load double, ptr %29, align 8
%31 = load ptr, ptr %10, align 8
store double %30, ptr %31, align 8
br label %182
32: ; preds = %5
%33 = load double, ptr %7, align 8
%34 = fcmp oeq double 0.000000e+00, %33
br i1 %34, label %35, label %43
35: ; preds = %32
%36 = load double, ptr %6, align 8
%37 = call double @cos(double noundef %36) #4
%38 = load ptr, ptr %8, align 8
store double %37, ptr %38, align 8
%39 = load double, ptr %6, align 8
%40 = call double @sin(double noundef %39) #4
%41 = load ptr, ptr %9, align 8
store double %40, ptr %41, align 8
%42 = load ptr, ptr %10, align 8
store double 1.000000e+00, ptr %42, align 8
br label %182
43: ; preds = %32
br label %44
44: ; preds = %43
%45 = getelementptr inbounds [16 x double], ptr %12, i64 0, i64 0
store double 1.000000e+00, ptr %45, align 16
%46 = load double, ptr %7, align 8
%47 = fptosi double %46 to i32
%48 = call double @sqrt(i32 noundef %47)
%49 = getelementptr inbounds [16 x double], ptr %14, i64 0, i64 0
store double %48, ptr %49, align 16
%50 = load double, ptr %7, align 8
%51 = fsub double 1.000000e+00, %50
%52 = fptosi double %51 to i32
%53 = call double @sqrt(i32 noundef %52)
%54 = getelementptr inbounds [16 x double], ptr %13, i64 0, i64 0
store double %53, ptr %54, align 16
store i32 0, ptr %16, align 4
%55 = load i32, ptr %16, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [16 x double], ptr %14, i64 0, i64 %56
%58 = load double, ptr %57, align 8
%59 = call double @fabs(double noundef %58)
%60 = load double, ptr %11, align 8
%61 = fcmp ogt double %59, %60
br i1 %61, label %.lr.ph, label %116
.lr.ph: ; preds = %44
br label %62
62: ; preds = %.lr.ph, %62
%63 = load i32, ptr %16, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [16 x double], ptr %12, i64 0, i64 %64
%66 = load double, ptr %65, align 8
%67 = load i32, ptr %16, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [16 x double], ptr %13, i64 0, i64 %68
%70 = load double, ptr %69, align 8
%71 = fmul double 5.000000e-01, %70
%72 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %66, double %71)
%73 = load i32, ptr %16, align 4
%74 = add nsw i32 %73, 1
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [16 x double], ptr %12, i64 0, i64 %75
store double %72, ptr %76, align 8
%77 = load i32, ptr %16, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [16 x double], ptr %12, i64 0, i64 %78
%80 = load double, ptr %79, align 8
%81 = load i32, ptr %16, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [16 x double], ptr %13, i64 0, i64 %82
%84 = load double, ptr %83, align 8
%85 = fmul double %80, %84
%86 = fptosi double %85 to i32
%87 = call double @sqrt(i32 noundef %86)
%88 = load i32, ptr %16, align 4
%89 = add nsw i32 %88, 1
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [16 x double], ptr %13, i64 0, i64 %90
store double %87, ptr %91, align 8
%92 = load i32, ptr %16, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds [16 x double], ptr %12, i64 0, i64 %93
%95 = load double, ptr %94, align 8
%96 = load i32, ptr %16, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [16 x double], ptr %13, i64 0, i64 %97
%99 = load double, ptr %98, align 8
%100 = fmul double 5.000000e-01, %99
%101 = fneg double %100
%102 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %95, double %101)
%103 = load i32, ptr %16, align 4
%104 = add nsw i32 %103, 1
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds [16 x double], ptr %14, i64 0, i64 %105
store double %102, ptr %106, align 8
%107 = load i32, ptr %16, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %16, align 4
%109 = load i32, ptr %16, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds [16 x double], ptr %14, i64 0, i64 %110
%112 = load double, ptr %111, align 8
%113 = call double @fabs(double noundef %112)
%114 = load double, ptr %11, align 8
%115 = fcmp ogt double %113, %114
br i1 %115, label %62, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %62
br label %116
116: ; preds = %._crit_edge, %44
%117 = load i32, ptr %16, align 4
%118 = call double @pow(i32 noundef 2, i32 noundef %117)
%119 = load i32, ptr %16, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds [16 x double], ptr %12, i64 0, i64 %120
%122 = load double, ptr %121, align 8
%123 = fmul double %118, %122
%124 = load double, ptr %6, align 8
%125 = fmul double %123, %124
%126 = load i32, ptr %16, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds [16 x double], ptr %15, i64 0, i64 %127
store double %125, ptr %128, align 8
%129 = load i32, ptr %16, align 4
%130 = icmp sgt i32 %129, 0
br i1 %130, label %.lr.ph2, label %162
.lr.ph2: ; preds = %116
br label %131
131: ; preds = %.lr.ph2, %131
%132 = load i32, ptr %16, align 4
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds [16 x double], ptr %15, i64 0, i64 %133
%135 = load double, ptr %134, align 8
%136 = load i32, ptr %16, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds [16 x double], ptr %14, i64 0, i64 %137
%139 = load double, ptr %138, align 8
%140 = load i32, ptr %16, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds [16 x double], ptr %12, i64 0, i64 %141
%143 = load double, ptr %142, align 8
%144 = fdiv double %139, %143
%145 = load i32, ptr %16, align 4
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds [16 x double], ptr %15, i64 0, i64 %146
%148 = load double, ptr %147, align 8
%149 = call double @sin(double noundef %148) #4
%150 = fmul double %144, %149
%151 = call double @asin(double noundef %150) #4
%152 = fadd double %135, %151
%153 = fmul double 5.000000e-01, %152
%154 = load i32, ptr %16, align 4
%155 = sub nsw i32 %154, 1
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds [16 x double], ptr %15, i64 0, i64 %156
store double %153, ptr %157, align 8
%158 = load i32, ptr %16, align 4
%159 = add nsw i32 %158, -1
store i32 %159, ptr %16, align 4
%160 = load i32, ptr %16, align 4
%161 = icmp sgt i32 %160, 0
br i1 %161, label %131, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %131
br label %162
162: ; preds = %._crit_edge3, %116
%163 = getelementptr inbounds [16 x double], ptr %15, i64 0, i64 0
%164 = load double, ptr %163, align 16
%165 = call double @cos(double noundef %164) #4
%166 = load ptr, ptr %8, align 8
store double %165, ptr %166, align 8
%167 = getelementptr inbounds [16 x double], ptr %15, i64 0, i64 0
%168 = load double, ptr %167, align 16
%169 = call double @sin(double noundef %168) #4
%170 = load ptr, ptr %9, align 8
store double %169, ptr %170, align 8
%171 = load double, ptr %7, align 8
%172 = load ptr, ptr %9, align 8
%173 = load double, ptr %172, align 8
%174 = fmul double %171, %173
%175 = load ptr, ptr %9, align 8
%176 = load double, ptr %175, align 8
%177 = fneg double %174
%178 = call double @llvm.fmuladd.f64(double %177, double %176, double 1.000000e+00)
%179 = fptosi double %178 to i32
%180 = call double @sqrt(i32 noundef %179)
%181 = load ptr, ptr %10, align 8
store double %180, ptr %181, align 8
br label %182
182: ; preds = %162, %35, %20
ret void
}
declare i32 @cosh(double noundef) #1
; Function Attrs: nounwind
declare double @tanh(double noundef) #2
; Function Attrs: nounwind
declare double @cos(double noundef) #2
; Function Attrs: nounwind
declare double @sin(double noundef) #2
declare double @sqrt(i32 noundef) #1
declare double @fabs(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
declare double @pow(i32 noundef, i32 noundef) #1
; Function Attrs: nounwind
declare double @asin(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 = { "frame-pointer"="all" "no-trapping-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 = { 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 #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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpv4jzegza.c'
source_filename = "/tmp/tmpv4jzegza.c"
target datalayout = "e-m:e-p270: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/tmpv4jzegza.c"
target datalayout = "e-m:e-p270: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/tmpueda_6pu.c'
source_filename = "/tmp/tmpueda_6pu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@ENOMEM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pt3posix_memalign(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%9 = load i64, ptr %6, align 8
%10 = urem i64 %9, 8
%11 = icmp ne i64 %10, 0
br i1 %11, label %26, label %12
12: ; preds = %3
%13 = load i64, ptr %6, align 8
%14 = udiv i64 %13, 8
%15 = sub i64 %14, 1
%16 = load i64, ptr %6, align 8
%17 = udiv i64 %16, 8
%18 = and i64 %15, %17
%19 = icmp eq i64 %18, 0
%20 = xor i1 %19, true
%21 = zext i1 %20 to i32
%22 = icmp ne i32 %21, 0
br i1 %22, label %26, label %23
23: ; preds = %12
%24 = load i64, ptr %6, align 8
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %23, %12, %3
%27 = load i32, ptr @EINVAL, align 4
store i32 %27, ptr %4, align 4
br label %39
28: ; preds = %23
%29 = load i64, ptr %6, align 8
%30 = load i64, ptr %7, align 8
%31 = call ptr @pt3memalign(i64 noundef %29, i64 noundef %30)
store ptr %31, ptr %8, align 8
%32 = load ptr, ptr %8, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %34, label %37
34: ; preds = %28
%35 = load ptr, ptr %8, align 8
%36 = load ptr, ptr %5, align 8
store ptr %35, ptr %36, align 8
store i32 0, ptr %4, align 4
br label %39
37: ; preds = %28
%38 = load i32, ptr @ENOMEM, align 4
store i32 %38, ptr %4, align 4
br label %39
39: ; preds = %37, %34, %26
%40 = load i32, ptr %4, align 4
ret i32 %40
}
declare ptr @pt3memalign(i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpueda_6pu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@ENOMEM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pt3posix_memalign(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%9 = load i64, ptr %6, align 8
%10 = urem i64 %9, 8
%11 = icmp ne i64 %10, 0
br i1 %11, label %26, label %12
12: ; preds = %3
%13 = load i64, ptr %6, align 8
%14 = udiv i64 %13, 8
%15 = sub i64 %14, 1
%16 = load i64, ptr %6, align 8
%17 = udiv i64 %16, 8
%18 = and i64 %15, %17
%19 = icmp eq i64 %18, 0
%20 = xor i1 %19, true
%21 = zext i1 %20 to i32
%22 = icmp ne i32 %21, 0
br i1 %22, label %26, label %23
23: ; preds = %12
%24 = load i64, ptr %6, align 8
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %23, %12, %3
%27 = load i32, ptr @EINVAL, align 4
store i32 %27, ptr %4, align 4
br label %39
28: ; preds = %23
%29 = load i64, ptr %6, align 8
%30 = load i64, ptr %7, align 8
%31 = call ptr @pt3memalign(i64 noundef %29, i64 noundef %30)
store ptr %31, ptr %8, align 8
%32 = load ptr, ptr %8, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %34, label %37
34: ; preds = %28
%35 = load ptr, ptr %8, align 8
%36 = load ptr, ptr %5, align 8
store ptr %35, ptr %36, align 8
store i32 0, ptr %4, align 4
br label %39
37: ; preds = %28
%38 = load i32, ptr @ENOMEM, align 4
store i32 %38, ptr %4, align 4
br label %39
39: ; preds = %37, %34, %26
%40 = load i32, ptr %4, align 4
ret i32 %40
}
declare ptr @pt3memalign(i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptoa0o4ni.c'
source_filename = "/tmp/tmptoa0o4ni.c"
target datalayout = "e-m:e-p270: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 @gcr_read_sector(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [260 x i8], align 16
%13 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
%14 = load i32, ptr %10, align 4
%15 = load i32, ptr %11, align 4
%16 = load ptr, ptr %7, align 8
%17 = load i32, ptr %8, align 4
%18 = call ptr @gcr_find_sector_header(i32 noundef %14, i32 noundef %15, ptr noundef %16, i32 noundef %17)
store ptr %18, ptr %13, align 8
%19 = load ptr, ptr %13, align 8
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %22
21: ; preds = %5
store i32 -1, ptr %6, align 4
br label %45
22: ; preds = %5
%23 = load ptr, ptr %13, align 8
%24 = load ptr, ptr %7, align 8
%25 = load i32, ptr %8, align 4
%26 = call ptr @gcr_find_sector_data(ptr noundef %23, ptr noundef %24, i32 noundef %25)
store ptr %26, ptr %13, align 8
%27 = load ptr, ptr %13, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %30
29: ; preds = %22
store i32 -1, ptr %6, align 4
br label %45
30: ; preds = %22
%31 = getelementptr inbounds [260 x i8], ptr %12, i64 0, i64 0
%32 = load ptr, ptr %13, align 8
%33 = load ptr, ptr %7, align 8
%34 = load i32, ptr %8, align 4
%35 = call i32 @gcr_convert_GCR_to_sector(ptr noundef %31, ptr noundef %32, ptr noundef %33, i32 noundef %34)
%36 = getelementptr inbounds [260 x i8], ptr %12, i64 0, i64 0
%37 = load i8, ptr %36, align 16
%38 = zext i8 %37 to i32
%39 = icmp ne i32 %38, 7
br i1 %39, label %40, label %41
40: ; preds = %30
store i32 -1, ptr %6, align 4
br label %45
41: ; preds = %30
%42 = load ptr, ptr %9, align 8
%43 = getelementptr inbounds [260 x i8], ptr %12, i64 0, i64 1
%44 = call i32 @memcpy(ptr noundef %42, ptr noundef %43, i32 noundef 256)
store i32 0, ptr %6, align 4
br label %45
45: ; preds = %41, %40, %29, %21
%46 = load i32, ptr %6, align 4
ret i32 %46
}
declare ptr @gcr_find_sector_header(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @gcr_find_sector_data(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @gcr_convert_GCR_to_sector(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptoa0o4ni.c"
target datalayout = "e-m:e-p270: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 @gcr_read_sector(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [260 x i8], align 16
%13 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
%14 = load i32, ptr %10, align 4
%15 = load i32, ptr %11, align 4
%16 = load ptr, ptr %7, align 8
%17 = load i32, ptr %8, align 4
%18 = call ptr @gcr_find_sector_header(i32 noundef %14, i32 noundef %15, ptr noundef %16, i32 noundef %17)
store ptr %18, ptr %13, align 8
%19 = load ptr, ptr %13, align 8
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %22
21: ; preds = %5
store i32 -1, ptr %6, align 4
br label %45
22: ; preds = %5
%23 = load ptr, ptr %13, align 8
%24 = load ptr, ptr %7, align 8
%25 = load i32, ptr %8, align 4
%26 = call ptr @gcr_find_sector_data(ptr noundef %23, ptr noundef %24, i32 noundef %25)
store ptr %26, ptr %13, align 8
%27 = load ptr, ptr %13, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %30
29: ; preds = %22
store i32 -1, ptr %6, align 4
br label %45
30: ; preds = %22
%31 = getelementptr inbounds [260 x i8], ptr %12, i64 0, i64 0
%32 = load ptr, ptr %13, align 8
%33 = load ptr, ptr %7, align 8
%34 = load i32, ptr %8, align 4
%35 = call i32 @gcr_convert_GCR_to_sector(ptr noundef %31, ptr noundef %32, ptr noundef %33, i32 noundef %34)
%36 = getelementptr inbounds [260 x i8], ptr %12, i64 0, i64 0
%37 = load i8, ptr %36, align 16
%38 = zext i8 %37 to i32
%39 = icmp ne i32 %38, 7
br i1 %39, label %40, label %41
40: ; preds = %30
store i32 -1, ptr %6, align 4
br label %45
41: ; preds = %30
%42 = load ptr, ptr %9, align 8
%43 = getelementptr inbounds [260 x i8], ptr %12, i64 0, i64 1
%44 = call i32 @memcpy(ptr noundef %42, ptr noundef %43, i32 noundef 256)
store i32 0, ptr %6, align 4
br label %45
45: ; preds = %41, %40, %29, %21
%46 = load i32, ptr %6, align 4
ret i32 %46
}
declare ptr @gcr_find_sector_header(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @gcr_find_sector_data(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @gcr_convert_GCR_to_sector(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbbbzpc1t.c'
source_filename = "/tmp/tmpbbbzpc1t.c"
target datalayout = "e-m:e-p270: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 @triangle(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call i64 @mod(double noundef %3, i32 noundef 4)
%5 = sub nsw i64 %4, 2
%6 = call double @dabs(i64 noundef %5)
%7 = fsub double %6, 1.000000e+00
ret double %7
}
declare double @dabs(i64 noundef) #1
declare i64 @mod(double 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/tmpbbbzpc1t.c"
target datalayout = "e-m:e-p270: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 @triangle(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call i64 @mod(double noundef %3, i32 noundef 4)
%5 = sub nsw i64 %4, 2
%6 = call double @dabs(i64 noundef %5)
%7 = fsub double %6, 1.000000e+00
ret double %7
}
declare double @dabs(i64 noundef) #1
declare i64 @mod(double 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/tmpj_i26jt4.c'
source_filename = "/tmp/tmpj_i26jt4.c"
target datalayout = "e-m:e-p270: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 @set_rand(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %27, %1
%6 = load i32, ptr %3, align 4
%7 = icmp ult i32 %6, 4
br i1 %7, label %8, label %30
8: ; preds = %5
store i32 0, ptr %4, align 4
br label %9
9: ; preds = %23, %8
%10 = load i32, ptr %4, align 4
%11 = icmp ult i32 %10, 4
br i1 %11, label %12, label %26
12: ; preds = %9
%13 = call i32 (...) @rand()
%14 = and i32 %13, 255
%15 = trunc i32 %14 to i8
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %4, align 4
%18 = zext i32 %17 to i64
%19 = getelementptr inbounds [4 x i8], ptr %16, i64 %18
%20 = load i32, ptr %3, align 4
%21 = zext i32 %20 to i64
%22 = getelementptr inbounds [4 x i8], ptr %19, i64 0, i64 %21
store i8 %15, ptr %22, align 1
br label %23
23: ; preds = %12
%24 = load i32, ptr %4, align 4
%25 = add i32 %24, 1
store i32 %25, ptr %4, align 4
br label %9, !llvm.loop !6
26: ; preds = %9
br label %27
27: ; preds = %26
%28 = load i32, ptr %3, align 4
%29 = add i32 %28, 1
store i32 %29, ptr %3, align 4
br label %5, !llvm.loop !8
30: ; preds = %5
ret void
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj_i26jt4.c"
target datalayout = "e-m:e-p270: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 @set_rand(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp ult i32 %5, 4
br i1 %6, label %.lr.ph2, label %32
.lr.ph2: ; preds = %1
br label %7
7: ; preds = %.lr.ph2, %27
store i32 0, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp ult i32 %8, 4
br i1 %9, label %.lr.ph, label %26
.lr.ph: ; preds = %7
br label %10
10: ; preds = %.lr.ph, %21
%11 = call i32 (...) @rand()
%12 = and i32 %11, 255
%13 = trunc i32 %12 to i8
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %4, align 4
%16 = zext i32 %15 to i64
%17 = getelementptr inbounds [4 x i8], ptr %14, i64 %16
%18 = load i32, ptr %3, align 4
%19 = zext i32 %18 to i64
%20 = getelementptr inbounds [4 x i8], ptr %17, i64 0, i64 %19
store i8 %13, ptr %20, align 1
br label %21
21: ; preds = %10
%22 = load i32, ptr %4, align 4
%23 = add i32 %22, 1
store i32 %23, ptr %4, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp ult i32 %24, 4
br i1 %25, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %26
26: ; preds = %._crit_edge, %7
br label %27
27: ; preds = %26
%28 = load i32, ptr %3, align 4
%29 = add i32 %28, 1
store i32 %29, ptr %3, align 4
%30 = load i32, ptr %3, align 4
%31 = icmp ult i32 %30, 4
br i1 %31, label %7, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %27
br label %32
32: ; preds = %._crit_edge3, %1
ret void
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpy4b5qicz.c'
source_filename = "/tmp/tmpy4b5qicz.c"
target datalayout = "e-m:e-p270: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/tmpy4b5qicz.c"
target datalayout = "e-m:e-p270: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/tmp1vrqzvj4.c'
source_filename = "/tmp/tmp1vrqzvj4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"a0a0a0\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Hello World\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"Top Left\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"ANS = %i\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c":%s:\0A\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [6 x i8], align 1
%2 = alloca [6 x i8], align 1
%3 = alloca [6 x i8], align 1
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [60 x i8], align 16
%7 = call i32 @sn3218_enable(i32 noundef 1)
%8 = call i32 @sn3218_monocolor(ptr noundef @.str)
%9 = call i32 (...) @st7036_clear()
%10 = call i32 @sleep(i32 noundef 1)
%11 = call i32 @st7036_cursor_on(i32 noundef 1)
%12 = call i32 @st7036_cursor_blink(i32 noundef 1)
%13 = call i32 @st7036_contrast(i32 noundef 40)
%14 = call i32 @st7036_cursor_position(i32 noundef 4, i32 noundef 1)
%15 = call i32 @st7036_lcd_buffer(ptr noundef @.str.1)
%16 = call i32 @sleep(i32 noundef 1)
%17 = call i32 @st7036_cursor_position(i32 noundef 0, i32 noundef 0)
%18 = call i32 @st7036_lcd_buffer(ptr noundef @.str.2)
%19 = call i32 (...) @st7036_get_cursor_position()
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %4, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %20)
%22 = call i32 @st7036_cursor_position(i32 noundef 4, i32 noundef 1)
%23 = call i32 (...) @st7036_get_cursor_position()
store i32 %23, ptr %4, align 4
%24 = load i32, ptr %4, align 4
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %24)
%26 = getelementptr inbounds [60 x i8], ptr %6, i64 0, i64 0
%27 = call i32 @st7036_get_lcd_buffer(ptr noundef %26, i32 noundef 60)
%28 = getelementptr inbounds [60 x i8], ptr %6, i64 0, i64 0
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %28)
%30 = call i32 (...) @cap1166_get_leds()
store i32 %30, ptr %4, align 4
%31 = load i32, ptr %4, align 4
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %31)
%33 = call i32 @cap1166_leds(i32 noundef 0)
%34 = call i32 (...) @cap1166_get_leds()
store i32 %34, ptr %4, align 4
%35 = load i32, ptr %4, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %35)
%37 = call i32 @cap1166_leds(i32 noundef 21)
%38 = call i32 (...) @cap1166_get_leds()
store i32 %38, ptr %4, align 4
%39 = load i32, ptr %4, align 4
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %39)
ret i32 0
}
declare i32 @sn3218_enable(i32 noundef) #1
declare i32 @sn3218_monocolor(ptr noundef) #1
declare i32 @st7036_clear(...) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @st7036_cursor_on(i32 noundef) #1
declare i32 @st7036_cursor_blink(i32 noundef) #1
declare i32 @st7036_contrast(i32 noundef) #1
declare i32 @st7036_cursor_position(i32 noundef, i32 noundef) #1
declare i32 @st7036_lcd_buffer(ptr noundef) #1
declare i32 @st7036_get_cursor_position(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @st7036_get_lcd_buffer(ptr noundef, i32 noundef) #1
declare i32 @cap1166_get_leds(...) #1
declare i32 @cap1166_leds(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/tmp1vrqzvj4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"a0a0a0\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Hello World\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"Top Left\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"ANS = %i\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c":%s:\0A\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [6 x i8], align 1
%2 = alloca [6 x i8], align 1
%3 = alloca [6 x i8], align 1
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [60 x i8], align 16
%7 = call i32 @sn3218_enable(i32 noundef 1)
%8 = call i32 @sn3218_monocolor(ptr noundef @.str)
%9 = call i32 (...) @st7036_clear()
%10 = call i32 @sleep(i32 noundef 1)
%11 = call i32 @st7036_cursor_on(i32 noundef 1)
%12 = call i32 @st7036_cursor_blink(i32 noundef 1)
%13 = call i32 @st7036_contrast(i32 noundef 40)
%14 = call i32 @st7036_cursor_position(i32 noundef 4, i32 noundef 1)
%15 = call i32 @st7036_lcd_buffer(ptr noundef @.str.1)
%16 = call i32 @sleep(i32 noundef 1)
%17 = call i32 @st7036_cursor_position(i32 noundef 0, i32 noundef 0)
%18 = call i32 @st7036_lcd_buffer(ptr noundef @.str.2)
%19 = call i32 (...) @st7036_get_cursor_position()
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %4, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %20)
%22 = call i32 @st7036_cursor_position(i32 noundef 4, i32 noundef 1)
%23 = call i32 (...) @st7036_get_cursor_position()
store i32 %23, ptr %4, align 4
%24 = load i32, ptr %4, align 4
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %24)
%26 = getelementptr inbounds [60 x i8], ptr %6, i64 0, i64 0
%27 = call i32 @st7036_get_lcd_buffer(ptr noundef %26, i32 noundef 60)
%28 = getelementptr inbounds [60 x i8], ptr %6, i64 0, i64 0
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %28)
%30 = call i32 (...) @cap1166_get_leds()
store i32 %30, ptr %4, align 4
%31 = load i32, ptr %4, align 4
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %31)
%33 = call i32 @cap1166_leds(i32 noundef 0)
%34 = call i32 (...) @cap1166_get_leds()
store i32 %34, ptr %4, align 4
%35 = load i32, ptr %4, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %35)
%37 = call i32 @cap1166_leds(i32 noundef 21)
%38 = call i32 (...) @cap1166_get_leds()
store i32 %38, ptr %4, align 4
%39 = load i32, ptr %4, align 4
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %39)
ret i32 0
}
declare i32 @sn3218_enable(i32 noundef) #1
declare i32 @sn3218_monocolor(ptr noundef) #1
declare i32 @st7036_clear(...) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @st7036_cursor_on(i32 noundef) #1
declare i32 @st7036_cursor_blink(i32 noundef) #1
declare i32 @st7036_contrast(i32 noundef) #1
declare i32 @st7036_cursor_position(i32 noundef, i32 noundef) #1
declare i32 @st7036_lcd_buffer(ptr noundef) #1
declare i32 @st7036_get_cursor_position(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @st7036_get_lcd_buffer(ptr noundef, i32 noundef) #1
declare i32 @cap1166_get_leds(...) #1
declare i32 @cap1166_leds(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/tmpd5v6325g.c'
source_filename = "/tmp/tmpd5v6325g.c"
target datalayout = "e-m:e-p270: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/tmpd5v6325g.c"
target datalayout = "e-m:e-p270: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/tmppt8coui_.c'
source_filename = "/tmp/tmppt8coui_.c"
target datalayout = "e-m:e-p270: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"%d%d\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"max(%d,%d) = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp sgt i32 %7, %8
br i1 %9, label %10, label %12
10: ; preds = %0
%11 = load i32, ptr %2, align 4
br label %14
12: ; preds = %0
%13 = load i32, ptr %3, align 4
br label %14
14: ; preds = %12, %10
%15 = phi i32 [ %11, %10 ], [ %13, %12 ]
%16 = call i32 @printf(ptr noundef @.str.1, i32 noundef %5, i32 noundef %6, i32 noundef %15)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(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/tmppt8coui_.c"
target datalayout = "e-m:e-p270: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"%d%d\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"max(%d,%d) = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp sgt i32 %7, %8
br i1 %9, label %10, label %12
10: ; preds = %0
%11 = load i32, ptr %2, align 4
br label %14
12: ; preds = %0
%13 = load i32, ptr %3, align 4
br label %14
14: ; preds = %12, %10
%15 = phi i32 [ %11, %10 ], [ %13, %12 ]
%16 = call i32 @printf(ptr noundef @.str.1, i32 noundef %5, i32 noundef %6, i32 noundef %15)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(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/tmpynslylfu.c'
source_filename = "/tmp/tmpynslylfu.c"
target datalayout = "e-m:e-p270: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 float @fProd(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%12 = load float, ptr %3, align 4
%13 = call i32 @unpackFloat(float noundef %12, ptr noundef %5, ptr noundef %6)
%14 = load float, ptr %4, align 4
%15 = call i32 @unpackFloat(float noundef %14, ptr noundef %7, ptr noundef %8)
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = load i32, ptr %8, align 4
%19 = sext i32 %18 to i64
%20 = mul nsw i64 %17, %19
store i64 %20, ptr %9, align 8
%21 = load i64, ptr %9, align 8
%22 = ashr i64 %21, 23
store i64 %22, ptr %9, align 8
%23 = load i64, ptr %9, align 8
%24 = trunc i64 %23 to i32
store i32 %24, ptr %10, align 4
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %7, align 4
%27 = add nsw i32 %25, %26
store i32 %27, ptr %11, align 4
%28 = call i32 @normalizeFloat(ptr noundef %11, ptr noundef %10)
%29 = load i32, ptr %11, align 4
%30 = load i32, ptr %10, align 4
%31 = call float @packFloat(i32 noundef %29, i32 noundef %30)
ret float %31
}
declare i32 @unpackFloat(float noundef, ptr noundef, ptr noundef) #1
declare i32 @normalizeFloat(ptr noundef, ptr noundef) #1
declare float @packFloat(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/tmpynslylfu.c"
target datalayout = "e-m:e-p270: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 float @fProd(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%12 = load float, ptr %3, align 4
%13 = call i32 @unpackFloat(float noundef %12, ptr noundef %5, ptr noundef %6)
%14 = load float, ptr %4, align 4
%15 = call i32 @unpackFloat(float noundef %14, ptr noundef %7, ptr noundef %8)
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = load i32, ptr %8, align 4
%19 = sext i32 %18 to i64
%20 = mul nsw i64 %17, %19
store i64 %20, ptr %9, align 8
%21 = load i64, ptr %9, align 8
%22 = ashr i64 %21, 23
store i64 %22, ptr %9, align 8
%23 = load i64, ptr %9, align 8
%24 = trunc i64 %23 to i32
store i32 %24, ptr %10, align 4
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %7, align 4
%27 = add nsw i32 %25, %26
store i32 %27, ptr %11, align 4
%28 = call i32 @normalizeFloat(ptr noundef %11, ptr noundef %10)
%29 = load i32, ptr %11, align 4
%30 = load i32, ptr %10, align 4
%31 = call float @packFloat(i32 noundef %29, i32 noundef %30)
ret float %31
}
declare i32 @unpackFloat(float noundef, ptr noundef, ptr noundef) #1
declare i32 @normalizeFloat(ptr noundef, ptr noundef) #1
declare float @packFloat(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/tmpr3wr45xk.c'
source_filename = "/tmp/tmpr3wr45xk.c"
target datalayout = "e-m:e-p270: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"rand.txt\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"reading from %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = 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
store ptr @.str, ptr %8, align 8
%9 = load ptr, ptr %8, align 8
%10 = call i32 @printf(ptr noundef @.str.1, ptr noundef %9)
%11 = load ptr, ptr %8, align 8
%12 = load ptr, ptr %7, align 8
%13 = call ptr @read_array(ptr noundef %11, ptr noundef %12, ptr noundef %6)
store ptr %13, ptr %7, align 8
%14 = load ptr, ptr %7, align 8
%15 = load i32, ptr %6, align 4
%16 = call i32 @print_array(ptr noundef %14, i32 noundef %15)
%17 = load ptr, ptr %7, align 8
%18 = load i32, ptr %6, align 4
%19 = call i32 @heap_sort(ptr noundef %17, i32 noundef %18)
%20 = load ptr, ptr %7, align 8
%21 = load i32, ptr %6, align 4
%22 = call i32 @print_array(ptr noundef %20, i32 noundef %21)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @read_array(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @print_array(ptr noundef, i32 noundef) #1
declare i32 @heap_sort(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/tmpr3wr45xk.c"
target datalayout = "e-m:e-p270: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"rand.txt\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"reading from %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = 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
store ptr @.str, ptr %8, align 8
%9 = load ptr, ptr %8, align 8
%10 = call i32 @printf(ptr noundef @.str.1, ptr noundef %9)
%11 = load ptr, ptr %8, align 8
%12 = load ptr, ptr %7, align 8
%13 = call ptr @read_array(ptr noundef %11, ptr noundef %12, ptr noundef %6)
store ptr %13, ptr %7, align 8
%14 = load ptr, ptr %7, align 8
%15 = load i32, ptr %6, align 4
%16 = call i32 @print_array(ptr noundef %14, i32 noundef %15)
%17 = load ptr, ptr %7, align 8
%18 = load i32, ptr %6, align 4
%19 = call i32 @heap_sort(ptr noundef %17, i32 noundef %18)
%20 = load ptr, ptr %7, align 8
%21 = load i32, ptr %6, align 4
%22 = call i32 @print_array(ptr noundef %20, i32 noundef %21)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @read_array(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @print_array(ptr noundef, i32 noundef) #1
declare i32 @heap_sort(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/tmpe5lh6hi_.c'
source_filename = "/tmp/tmpe5lh6hi_.c"
target datalayout = "e-m:e-p270: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 [2 x i8] c"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @path_str(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = sub nsw i32 %8, 1
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %6, i64 %10
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 47
br i1 %14, label %15, label %18
15: ; preds = %2
%16 = load ptr, ptr %3, align 8
%17 = call ptr @strccat(ptr noundef %16, ptr noundef @.str)
store ptr %17, ptr %5, align 8
br label %20
18: ; preds = %2
%19 = load ptr, ptr %3, align 8
store ptr %19, ptr %5, align 8
br label %20
20: ; preds = %18, %15
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %4, align 8
%23 = call ptr @strccat(ptr noundef %21, ptr noundef %22)
store ptr %23, ptr %5, align 8
%24 = load ptr, ptr %5, align 8
ret ptr %24
}
declare i32 @strlen(ptr noundef) #1
declare ptr @strccat(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/tmpe5lh6hi_.c"
target datalayout = "e-m:e-p270: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 [2 x i8] c"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @path_str(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = sub nsw i32 %8, 1
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %6, i64 %10
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 47
br i1 %14, label %15, label %18
15: ; preds = %2
%16 = load ptr, ptr %3, align 8
%17 = call ptr @strccat(ptr noundef %16, ptr noundef @.str)
store ptr %17, ptr %5, align 8
br label %20
18: ; preds = %2
%19 = load ptr, ptr %3, align 8
store ptr %19, ptr %5, align 8
br label %20
20: ; preds = %18, %15
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %4, align 8
%23 = call ptr @strccat(ptr noundef %21, ptr noundef %22)
store ptr %23, ptr %5, align 8
%24 = load ptr, ptr %5, align 8
ret ptr %24
}
declare i32 @strlen(ptr noundef) #1
declare ptr @strccat(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/tmpowi8wgu0.c'
source_filename = "/tmp/tmpowi8wgu0.c"
target datalayout = "e-m:e-p270: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/tmpowi8wgu0.c"
target datalayout = "e-m:e-p270: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/tmpqzevvzux.c'
source_filename = "/tmp/tmpqzevvzux.c"
target datalayout = "e-m:e-p270: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/tmpqzevvzux.c"
target datalayout = "e-m:e-p270: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/tmpcs6zggnd.c'
source_filename = "/tmp/tmpcs6zggnd.c"
target datalayout = "e-m:e-p270: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 [66 x i8] c"Masukkan set<spasi>angka untuk setmyint(value) atau masukkan get\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"set\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"Nilai diset %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [33 x i8] c"Error! Nilai lama belum di get!\0A\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"get\00", align 1
@.str.7 = private unnamed_addr constant [20 x i8] c"Nilai hasil get %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [33 x i8] c"Error! Nilai lama belum di set!\0A\00", align 1
@.str.9 = private unnamed_addr constant [24 x i8] c"Error! Masukan invalid\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [255 x i8], align 16
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0
%7 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %6)
%8 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0
%9 = call i64 @strncmp(ptr noundef %8, ptr noundef @.str.2, i32 noundef 3)
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %23
11: ; preds = %0
%12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %2)
%13 = load i32, ptr %2, align 4
%14 = call i32 @setmyint(i32 noundef %13)
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp eq i32 %15, 1
br i1 %16, label %17, label %20
17: ; preds = %11
%18 = load i32, ptr %2, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %18)
br label %22
20: ; preds = %11
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %22
22: ; preds = %20, %17
br label %40
23: ; preds = %0
%24 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0
%25 = call i64 @strncmp(ptr noundef %24, ptr noundef @.str.6, i32 noundef 3)
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %37
27: ; preds = %23
%28 = call i32 @getmyint(ptr noundef %2)
store i32 %28, ptr %3, align 4
%29 = load i32, ptr %3, align 4
%30 = icmp eq i32 %29, 1
br i1 %30, label %31, label %34
31: ; preds = %27
%32 = load i32, ptr %2, align 4
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %32)
br label %36
34: ; preds = %27
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %36
36: ; preds = %34, %31
br label %39
37: ; preds = %23
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %39
39: ; preds = %37, %36
br label %40
40: ; preds = %39, %22
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @setmyint(i32 noundef) #1
declare i32 @getmyint(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/tmpcs6zggnd.c"
target datalayout = "e-m:e-p270: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 [66 x i8] c"Masukkan set<spasi>angka untuk setmyint(value) atau masukkan get\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"set\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"Nilai diset %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [33 x i8] c"Error! Nilai lama belum di get!\0A\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"get\00", align 1
@.str.7 = private unnamed_addr constant [20 x i8] c"Nilai hasil get %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [33 x i8] c"Error! Nilai lama belum di set!\0A\00", align 1
@.str.9 = private unnamed_addr constant [24 x i8] c"Error! Masukan invalid\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [255 x i8], align 16
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0
%7 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %6)
%8 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0
%9 = call i64 @strncmp(ptr noundef %8, ptr noundef @.str.2, i32 noundef 3)
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %23
11: ; preds = %0
%12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %2)
%13 = load i32, ptr %2, align 4
%14 = call i32 @setmyint(i32 noundef %13)
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp eq i32 %15, 1
br i1 %16, label %17, label %20
17: ; preds = %11
%18 = load i32, ptr %2, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %18)
br label %22
20: ; preds = %11
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %22
22: ; preds = %20, %17
br label %40
23: ; preds = %0
%24 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0
%25 = call i64 @strncmp(ptr noundef %24, ptr noundef @.str.6, i32 noundef 3)
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %37
27: ; preds = %23
%28 = call i32 @getmyint(ptr noundef %2)
store i32 %28, ptr %3, align 4
%29 = load i32, ptr %3, align 4
%30 = icmp eq i32 %29, 1
br i1 %30, label %31, label %34
31: ; preds = %27
%32 = load i32, ptr %2, align 4
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %32)
br label %36
34: ; preds = %27
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %36
36: ; preds = %34, %31
br label %39
37: ; preds = %23
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %39
39: ; preds = %37, %36
br label %40
40: ; preds = %39, %22
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @setmyint(i32 noundef) #1
declare i32 @getmyint(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/tmp0agfe9x5.c'
source_filename = "/tmp/tmp0agfe9x5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_POSIX2_LINE_MAX = 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/tmp0agfe9x5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_POSIX2_LINE_MAX = 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/tmp1wtt337w.c'
source_filename = "/tmp/tmp1wtt337w.c"
target datalayout = "e-m:e-p270: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 @qsp(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca double, align 8
%22 = alloca double, align 8
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%23 = load ptr, ptr %9, align 8
%24 = load i32, ptr %23, align 4
store i32 %24, ptr %18, align 4
%25 = load ptr, ptr %10, align 8
%26 = load i32, ptr %25, align 4
store i32 %26, ptr %19, align 4
%27 = load ptr, ptr %13, align 8
%28 = load i32, ptr %27, align 4
store i32 %28, ptr %20, align 4
store i32 0, ptr %17, align 4
br label %29
29: ; preds = %124, %7
%30 = load i32, ptr %17, align 4
%31 = load i32, ptr %18, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %127
33: ; preds = %29
store double 0.000000e+00, ptr %22, align 8
store i32 0, ptr %15, align 4
br label %34
34: ; preds = %114, %33
%35 = load i32, ptr %15, align 4
%36 = load i32, ptr %20, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %38, label %117
38: ; preds = %34
%39 = load i32, ptr %17, align 4
%40 = load ptr, ptr %12, align 8
%41 = load i32, ptr %15, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %40, i64 %42
%44 = load i32, ptr %43, align 4
%45 = icmp ne i32 %39, %44
br i1 %45, label %46, label %113
46: ; preds = %38
store double 0.000000e+00, ptr %21, align 8
store i32 0, ptr %16, align 4
br label %47
47: ; preds = %94, %46
%48 = load i32, ptr %16, align 4
%49 = load i32, ptr %19, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %51, label %97
51: ; preds = %47
%52 = load ptr, ptr %8, align 8
%53 = load i32, ptr %17, align 4
%54 = load i32, ptr %16, align 4
%55 = load i32, ptr %18, align 4
%56 = mul nsw i32 %54, %55
%57 = add nsw i32 %53, %56
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds double, ptr %52, i64 %58
%60 = load double, ptr %59, align 8
%61 = load ptr, ptr %11, align 8
%62 = load i32, ptr %15, align 4
%63 = load i32, ptr %16, align 4
%64 = load i32, ptr %20, align 4
%65 = mul nsw i32 %63, %64
%66 = add nsw i32 %62, %65
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds double, ptr %61, i64 %67
%69 = load double, ptr %68, align 8
%70 = fsub double %60, %69
%71 = call double @llvm.fabs.f64(double %70)
%72 = load ptr, ptr %8, align 8
%73 = load i32, ptr %17, align 4
%74 = load i32, ptr %16, align 4
%75 = load i32, ptr %18, align 4
%76 = mul nsw i32 %74, %75
%77 = add nsw i32 %73, %76
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds double, ptr %72, i64 %78
%80 = load double, ptr %79, align 8
%81 = load ptr, ptr %11, align 8
%82 = load i32, ptr %15, align 4
%83 = load i32, ptr %16, align 4
%84 = load i32, ptr %20, align 4
%85 = mul nsw i32 %83, %84
%86 = add nsw i32 %82, %85
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds double, ptr %81, i64 %87
%89 = load double, ptr %88, align 8
%90 = fsub double %80, %89
%91 = call double @llvm.fabs.f64(double %90)
%92 = load double, ptr %21, align 8
%93 = call double @llvm.fmuladd.f64(double %71, double %91, double %92)
store double %93, ptr %21, align 8
br label %94
94: ; preds = %51
%95 = load i32, ptr %16, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %16, align 4
br label %47, !llvm.loop !6
97: ; preds = %47
%98 = load double, ptr %22, align 8
%99 = fcmp oeq double %98, 0.000000e+00
br i1 %99, label %100, label %102
100: ; preds = %97
%101 = load double, ptr %21, align 8
store double %101, ptr %22, align 8
br label %112
102: ; preds = %97
%103 = load double, ptr %21, align 8
%104 = load double, ptr %22, align 8
%105 = fcmp olt double %103, %104
br i1 %105, label %106, label %111
106: ; preds = %102
%107 = load double, ptr %21, align 8
%108 = fcmp ogt double %107, 0.000000e+00
br i1 %108, label %109, label %111
109: ; preds = %106
%110 = load double, ptr %21, align 8
store double %110, ptr %22, align 8
br label %111
111: ; preds = %109, %106, %102
br label %112
112: ; preds = %111, %100
br label %113
113: ; preds = %112, %38
br label %114
114: ; preds = %113
%115 = load i32, ptr %15, align 4
%116 = add nsw i32 %115, 1
store i32 %116, ptr %15, align 4
br label %34, !llvm.loop !8
117: ; preds = %34
%118 = load double, ptr %22, align 8
%119 = call double @sqrt(double noundef %118) #3
%120 = load ptr, ptr %14, align 8
%121 = load i32, ptr %17, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds double, ptr %120, i64 %122
store double %119, ptr %123, align 8
br label %124
124: ; preds = %117
%125 = load i32, ptr %17, align 4
%126 = add nsw i32 %125, 1
store i32 %126, ptr %17, align 4
br label %29, !llvm.loop !9
127: ; preds = %29
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @sqrt(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 = { 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 #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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1wtt337w.c"
target datalayout = "e-m:e-p270: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 @qsp(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca double, align 8
%22 = alloca double, align 8
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%23 = load ptr, ptr %9, align 8
%24 = load i32, ptr %23, align 4
store i32 %24, ptr %18, align 4
%25 = load ptr, ptr %10, align 8
%26 = load i32, ptr %25, align 4
store i32 %26, ptr %19, align 4
%27 = load ptr, ptr %13, align 8
%28 = load i32, ptr %27, align 4
store i32 %28, ptr %20, align 4
store i32 0, ptr %17, align 4
%29 = load i32, ptr %17, align 4
%30 = load i32, ptr %18, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %.lr.ph5, label %133
.lr.ph5: ; preds = %7
br label %32
32: ; preds = %.lr.ph5, %127
store double 0.000000e+00, ptr %22, align 8
store i32 0, ptr %15, align 4
%33 = load i32, ptr %15, align 4
%34 = load i32, ptr %20, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %.lr.ph2, label %120
.lr.ph2: ; preds = %32
br label %36
36: ; preds = %.lr.ph2, %114
%37 = load i32, ptr %17, align 4
%38 = load ptr, ptr %12, align 8
%39 = load i32, ptr %15, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
%42 = load i32, ptr %41, align 4
%43 = icmp ne i32 %37, %42
br i1 %43, label %44, label %113
44: ; preds = %36
store double 0.000000e+00, ptr %21, align 8
store i32 0, ptr %16, align 4
%45 = load i32, ptr %16, align 4
%46 = load i32, ptr %19, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %.lr.ph, label %97
.lr.ph: ; preds = %44
br label %48
48: ; preds = %.lr.ph, %91
%49 = load ptr, ptr %8, align 8
%50 = load i32, ptr %17, align 4
%51 = load i32, ptr %16, align 4
%52 = load i32, ptr %18, align 4
%53 = mul nsw i32 %51, %52
%54 = add nsw i32 %50, %53
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds double, ptr %49, i64 %55
%57 = load double, ptr %56, align 8
%58 = load ptr, ptr %11, align 8
%59 = load i32, ptr %15, align 4
%60 = load i32, ptr %16, align 4
%61 = load i32, ptr %20, align 4
%62 = mul nsw i32 %60, %61
%63 = add nsw i32 %59, %62
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds double, ptr %58, i64 %64
%66 = load double, ptr %65, align 8
%67 = fsub double %57, %66
%68 = call double @llvm.fabs.f64(double %67)
%69 = load ptr, ptr %8, align 8
%70 = load i32, ptr %17, align 4
%71 = load i32, ptr %16, align 4
%72 = load i32, ptr %18, align 4
%73 = mul nsw i32 %71, %72
%74 = add nsw i32 %70, %73
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds double, ptr %69, i64 %75
%77 = load double, ptr %76, align 8
%78 = load ptr, ptr %11, align 8
%79 = load i32, ptr %15, align 4
%80 = load i32, ptr %16, align 4
%81 = load i32, ptr %20, align 4
%82 = mul nsw i32 %80, %81
%83 = add nsw i32 %79, %82
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds double, ptr %78, i64 %84
%86 = load double, ptr %85, align 8
%87 = fsub double %77, %86
%88 = call double @llvm.fabs.f64(double %87)
%89 = load double, ptr %21, align 8
%90 = call double @llvm.fmuladd.f64(double %68, double %88, double %89)
store double %90, ptr %21, align 8
br label %91
91: ; preds = %48
%92 = load i32, ptr %16, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %16, align 4
%94 = load i32, ptr %16, align 4
%95 = load i32, ptr %19, align 4
%96 = icmp slt i32 %94, %95
br i1 %96, label %48, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %91
br label %97
97: ; preds = %._crit_edge, %44
%98 = load double, ptr %22, align 8
%99 = fcmp oeq double %98, 0.000000e+00
br i1 %99, label %100, label %102
100: ; preds = %97
%101 = load double, ptr %21, align 8
store double %101, ptr %22, align 8
br label %112
102: ; preds = %97
%103 = load double, ptr %21, align 8
%104 = load double, ptr %22, align 8
%105 = fcmp olt double %103, %104
br i1 %105, label %106, label %111
106: ; preds = %102
%107 = load double, ptr %21, align 8
%108 = fcmp ogt double %107, 0.000000e+00
br i1 %108, label %109, label %111
109: ; preds = %106
%110 = load double, ptr %21, align 8
store double %110, ptr %22, align 8
br label %111
111: ; preds = %109, %106, %102
br label %112
112: ; preds = %111, %100
br label %113
113: ; preds = %112, %36
br label %114
114: ; preds = %113
%115 = load i32, ptr %15, align 4
%116 = add nsw i32 %115, 1
store i32 %116, ptr %15, align 4
%117 = load i32, ptr %15, align 4
%118 = load i32, ptr %20, align 4
%119 = icmp slt i32 %117, %118
br i1 %119, label %36, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %114
br label %120
120: ; preds = %._crit_edge3, %32
%121 = load double, ptr %22, align 8
%122 = call double @sqrt(double noundef %121) #3
%123 = load ptr, ptr %14, align 8
%124 = load i32, ptr %17, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds double, ptr %123, i64 %125
store double %122, ptr %126, align 8
br label %127
127: ; preds = %120
%128 = load i32, ptr %17, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %17, align 4
%130 = load i32, ptr %17, align 4
%131 = load i32, ptr %18, align 4
%132 = icmp slt i32 %130, %131
br i1 %132, label %32, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %127
br label %133
133: ; preds = %._crit_edge6, %7
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @sqrt(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 = { 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 #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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp85yn6w11.c'
source_filename = "/tmp/tmp85yn6w11.c"
target datalayout = "e-m:e-p270: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 @encode(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @modpow(i32 noundef %7, i32 noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @modpow(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/tmp85yn6w11.c"
target datalayout = "e-m:e-p270: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 @encode(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @modpow(i32 noundef %7, i32 noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @modpow(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/tmp0t5ldugw.c'
source_filename = "/tmp/tmp0t5ldugw.c"
target datalayout = "e-m:e-p270: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 @GPIO_clr(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = sub nsw i32 %4, 32
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load i32, ptr %2, align 4
%10 = shl i32 1, %9
store volatile i32 %10, ptr inttoptr (i64 2097192 to ptr), align 4
br label %14
11: ; preds = %1
%12 = load i32, ptr %3, align 4
%13 = shl i32 1, %12
store volatile i32 %13, ptr inttoptr (i64 2097196 to ptr), align 4
br label %14
14: ; preds = %11, %8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0t5ldugw.c"
target datalayout = "e-m:e-p270: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 @GPIO_clr(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = sub nsw i32 %4, 32
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load i32, ptr %2, align 4
%10 = shl i32 1, %9
store volatile i32 %10, ptr inttoptr (i64 2097192 to ptr), align 4
br label %14
11: ; preds = %1
%12 = load i32, ptr %3, align 4
%13 = shl i32 1, %12
store volatile i32 %13, ptr inttoptr (i64 2097196 to ptr), align 4
br label %14
14: ; preds = %11, %8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvs_fguur.c'
source_filename = "/tmp/tmpvs_fguur.c"
target datalayout = "e-m:e-p270: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 @set_watchdog(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @pigpio_command(i32 noundef %7, i32 noundef 9, i32 noundef %8, i32 noundef %9, i32 noundef 1)
ret i32 %10
}
declare i32 @pigpio_command(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvs_fguur.c"
target datalayout = "e-m:e-p270: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 @set_watchdog(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @pigpio_command(i32 noundef %7, i32 noundef 9, i32 noundef %8, i32 noundef %9, i32 noundef 1)
ret i32 %10
}
declare i32 @pigpio_command(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeknu6e95.c'
source_filename = "/tmp/tmpeknu6e95.c"
target datalayout = "e-m:e-p270: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/tmpeknu6e95.c"
target datalayout = "e-m:e-p270: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/tmp6k16movh.c'
source_filename = "/tmp/tmp6k16movh.c"
target datalayout = "e-m:e-p270: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"rb\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = 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
%10 = load i32, ptr %4, align 4
%11 = icmp eq i32 %10, 3
br i1 %11, label %14, label %12
12: ; preds = %2
%13 = call i32 (...) @print_usage()
store i32 -1, ptr %3, align 4
br label %116
14: ; preds = %2
store i32 0, ptr %8, align 4
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 2
%17 = load ptr, ptr %16, align 8
%18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str)
store ptr %18, ptr %7, align 8
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = call ptr @fopen(ptr noundef %21, ptr noundef @.str)
store ptr %22, ptr %6, align 8
%23 = call i64 @malloc(i32 noundef 1474560)
%24 = inttoptr i64 %23 to ptr
store ptr %24, ptr %9, align 8
store i32 0, ptr %8, align 4
br label %25
25: ; preds = %33, %14
%26 = load i32, ptr %8, align 4
%27 = icmp ult i32 %26, 1474560
br i1 %27, label %28, label %36
28: ; preds = %25
%29 = load ptr, ptr %9, align 8
%30 = load i32, ptr %8, align 4
%31 = zext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
store i8 0, ptr %32, align 1
br label %33
33: ; preds = %28
%34 = load i32, ptr %8, align 4
%35 = add i32 %34, 1
store i32 %35, ptr %8, align 4
br label %25, !llvm.loop !6
36: ; preds = %25
store i32 0, ptr %8, align 4
br label %37
37: ; preds = %40, %36
%38 = load i32, ptr %8, align 4
%39 = icmp ult i32 %38, 3
br i1 %39, label %40, label %49
40: ; preds = %37
%41 = load ptr, ptr %7, align 8
%42 = call zeroext i8 @getc(ptr noundef %41)
%43 = load ptr, ptr %9, align 8
%44 = load i32, ptr %8, align 4
%45 = zext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
store i8 %42, ptr %46, align 1
%47 = load i32, ptr %8, align 4
%48 = add i32 %47, 1
store i32 %48, ptr %8, align 4
br label %37, !llvm.loop !8
49: ; preds = %37
%50 = load ptr, ptr %6, align 8
%51 = load i32, ptr @SEEK_SET, align 4
%52 = call i32 @fseek(ptr noundef %50, i32 noundef 3, i32 noundef %51)
br label %53
53: ; preds = %56, %49
%54 = load i32, ptr %8, align 4
%55 = icmp ult i32 %54, 62
br i1 %55, label %56, label %65
56: ; preds = %53
%57 = load ptr, ptr %6, align 8
%58 = call zeroext i8 @getc(ptr noundef %57)
%59 = load ptr, ptr %9, align 8
%60 = load i32, ptr %8, align 4
%61 = zext i32 %60 to i64
%62 = getelementptr inbounds i8, ptr %59, i64 %61
store i8 %58, ptr %62, align 1
%63 = load i32, ptr %8, align 4
%64 = add i32 %63, 1
store i32 %64, ptr %8, align 4
br label %53, !llvm.loop !9
65: ; preds = %53
%66 = load ptr, ptr %7, align 8
%67 = load i32, ptr @SEEK_SET, align 4
%68 = call i32 @fseek(ptr noundef %66, i32 noundef 62, i32 noundef %67)
%69 = load ptr, ptr %6, align 8
%70 = load i32, ptr @SEEK_SET, align 4
%71 = call i32 @fseek(ptr noundef %69, i32 noundef 62, i32 noundef %70)
br label %72
72: ; preds = %75, %65
%73 = load i32, ptr %8, align 4
%74 = icmp ult i32 %73, 512
br i1 %74, label %75, label %84
75: ; preds = %72
%76 = load ptr, ptr %7, align 8
%77 = call zeroext i8 @getc(ptr noundef %76)
%78 = load ptr, ptr %9, align 8
%79 = load i32, ptr %8, align 4
%80 = zext i32 %79 to i64
%81 = getelementptr inbounds i8, ptr %78, i64 %80
store i8 %77, ptr %81, align 1
%82 = load i32, ptr %8, align 4
%83 = add i32 %82, 1
store i32 %83, ptr %8, align 4
br label %72, !llvm.loop !10
84: ; preds = %72
%85 = load ptr, ptr %6, align 8
%86 = load i32, ptr @SEEK_SET, align 4
%87 = call i32 @fseek(ptr noundef %85, i32 noundef 512, i32 noundef %86)
br label %88
88: ; preds = %91, %84
%89 = load i32, ptr %8, align 4
%90 = icmp ult i32 %89, 1474560
br i1 %90, label %91, label %100
91: ; preds = %88
%92 = load ptr, ptr %6, align 8
%93 = call zeroext i8 @getc(ptr noundef %92)
%94 = load ptr, ptr %9, align 8
%95 = load i32, ptr %8, align 4
%96 = zext i32 %95 to i64
%97 = getelementptr inbounds i8, ptr %94, i64 %96
store i8 %93, ptr %97, align 1
%98 = load i32, ptr %8, align 4
%99 = add i32 %98, 1
store i32 %99, ptr %8, align 4
br label %88, !llvm.loop !11
100: ; preds = %88
%101 = load ptr, ptr %6, align 8
%102 = call i32 @fclose(ptr noundef %101)
%103 = load ptr, ptr %7, align 8
%104 = call i32 @fclose(ptr noundef %103)
%105 = load ptr, ptr %5, align 8
%106 = getelementptr inbounds ptr, ptr %105, i64 1
%107 = load ptr, ptr %106, align 8
%108 = call ptr @fopen(ptr noundef %107, ptr noundef @.str.1)
store ptr %108, ptr %6, align 8
%109 = load ptr, ptr %9, align 8
%110 = load ptr, ptr %6, align 8
%111 = call i32 @fwrite(ptr noundef %109, i32 noundef 1474560, i32 noundef 1, ptr noundef %110)
%112 = load ptr, ptr %6, align 8
%113 = call i32 @fclose(ptr noundef %112)
%114 = load ptr, ptr %9, align 8
%115 = call i32 @free(ptr noundef %114)
store i32 0, ptr %3, align 4
br label %116
116: ; preds = %100, %12
%117 = load i32, ptr %3, align 4
ret i32 %117
}
declare i32 @print_usage(...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare zeroext i8 @getc(ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, 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"}
!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/tmp6k16movh.c"
target datalayout = "e-m:e-p270: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"rb\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = 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
%10 = load i32, ptr %4, align 4
%11 = icmp eq i32 %10, 3
br i1 %11, label %14, label %12
12: ; preds = %2
%13 = call i32 (...) @print_usage()
store i32 -1, ptr %3, align 4
br label %121
14: ; preds = %2
store i32 0, ptr %8, align 4
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 2
%17 = load ptr, ptr %16, align 8
%18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str)
store ptr %18, ptr %7, align 8
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = call ptr @fopen(ptr noundef %21, ptr noundef @.str)
store ptr %22, ptr %6, align 8
%23 = call i64 @malloc(i32 noundef 1474560)
%24 = inttoptr i64 %23 to ptr
store ptr %24, ptr %9, align 8
store i32 0, ptr %8, align 4
%25 = load i32, ptr %8, align 4
%26 = icmp ult i32 %25, 1474560
br i1 %26, label %.lr.ph, label %37
.lr.ph: ; preds = %14
br label %27
27: ; preds = %.lr.ph, %32
%28 = load ptr, ptr %9, align 8
%29 = load i32, ptr %8, align 4
%30 = zext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
store i8 0, ptr %31, align 1
br label %32
32: ; preds = %27
%33 = load i32, ptr %8, align 4
%34 = add i32 %33, 1
store i32 %34, ptr %8, align 4
%35 = load i32, ptr %8, align 4
%36 = icmp ult i32 %35, 1474560
br i1 %36, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %37
37: ; preds = %._crit_edge, %14
store i32 0, ptr %8, align 4
%38 = load i32, ptr %8, align 4
%39 = icmp ult i32 %38, 3
br i1 %39, label %.lr.ph2, label %51
.lr.ph2: ; preds = %37
br label %40
40: ; preds = %.lr.ph2, %40
%41 = load ptr, ptr %7, align 8
%42 = call zeroext i8 @getc(ptr noundef %41)
%43 = load ptr, ptr %9, align 8
%44 = load i32, ptr %8, align 4
%45 = zext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
store i8 %42, ptr %46, align 1
%47 = load i32, ptr %8, align 4
%48 = add i32 %47, 1
store i32 %48, ptr %8, align 4
%49 = load i32, ptr %8, align 4
%50 = icmp ult i32 %49, 3
br i1 %50, label %40, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %40
br label %51
51: ; preds = %._crit_edge3, %37
%52 = load ptr, ptr %6, align 8
%53 = load i32, ptr @SEEK_SET, align 4
%54 = call i32 @fseek(ptr noundef %52, i32 noundef 3, i32 noundef %53)
%55 = load i32, ptr %8, align 4
%56 = icmp ult i32 %55, 62
br i1 %56, label %.lr.ph5, label %68
.lr.ph5: ; preds = %51
br label %57
57: ; preds = %.lr.ph5, %57
%58 = load ptr, ptr %6, align 8
%59 = call zeroext i8 @getc(ptr noundef %58)
%60 = load ptr, ptr %9, align 8
%61 = load i32, ptr %8, align 4
%62 = zext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %60, i64 %62
store i8 %59, ptr %63, align 1
%64 = load i32, ptr %8, align 4
%65 = add i32 %64, 1
store i32 %65, ptr %8, align 4
%66 = load i32, ptr %8, align 4
%67 = icmp ult i32 %66, 62
br i1 %67, label %57, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %57
br label %68
68: ; preds = %._crit_edge6, %51
%69 = load ptr, ptr %7, align 8
%70 = load i32, ptr @SEEK_SET, align 4
%71 = call i32 @fseek(ptr noundef %69, i32 noundef 62, i32 noundef %70)
%72 = load ptr, ptr %6, align 8
%73 = load i32, ptr @SEEK_SET, align 4
%74 = call i32 @fseek(ptr noundef %72, i32 noundef 62, i32 noundef %73)
%75 = load i32, ptr %8, align 4
%76 = icmp ult i32 %75, 512
br i1 %76, label %.lr.ph8, label %88
.lr.ph8: ; preds = %68
br label %77
77: ; preds = %.lr.ph8, %77
%78 = load ptr, ptr %7, align 8
%79 = call zeroext i8 @getc(ptr noundef %78)
%80 = load ptr, ptr %9, align 8
%81 = load i32, ptr %8, align 4
%82 = zext i32 %81 to i64
%83 = getelementptr inbounds i8, ptr %80, i64 %82
store i8 %79, ptr %83, align 1
%84 = load i32, ptr %8, align 4
%85 = add i32 %84, 1
store i32 %85, ptr %8, align 4
%86 = load i32, ptr %8, align 4
%87 = icmp ult i32 %86, 512
br i1 %87, label %77, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %77
br label %88
88: ; preds = %._crit_edge9, %68
%89 = load ptr, ptr %6, align 8
%90 = load i32, ptr @SEEK_SET, align 4
%91 = call i32 @fseek(ptr noundef %89, i32 noundef 512, i32 noundef %90)
%92 = load i32, ptr %8, align 4
%93 = icmp ult i32 %92, 1474560
br i1 %93, label %.lr.ph11, label %105
.lr.ph11: ; preds = %88
br label %94
94: ; preds = %.lr.ph11, %94
%95 = load ptr, ptr %6, align 8
%96 = call zeroext i8 @getc(ptr noundef %95)
%97 = load ptr, ptr %9, align 8
%98 = load i32, ptr %8, align 4
%99 = zext i32 %98 to i64
%100 = getelementptr inbounds i8, ptr %97, i64 %99
store i8 %96, ptr %100, align 1
%101 = load i32, ptr %8, align 4
%102 = add i32 %101, 1
store i32 %102, ptr %8, align 4
%103 = load i32, ptr %8, align 4
%104 = icmp ult i32 %103, 1474560
br i1 %104, label %94, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %94
br label %105
105: ; preds = %._crit_edge12, %88
%106 = load ptr, ptr %6, align 8
%107 = call i32 @fclose(ptr noundef %106)
%108 = load ptr, ptr %7, align 8
%109 = call i32 @fclose(ptr noundef %108)
%110 = load ptr, ptr %5, align 8
%111 = getelementptr inbounds ptr, ptr %110, i64 1
%112 = load ptr, ptr %111, align 8
%113 = call ptr @fopen(ptr noundef %112, ptr noundef @.str.1)
store ptr %113, ptr %6, align 8
%114 = load ptr, ptr %9, align 8
%115 = load ptr, ptr %6, align 8
%116 = call i32 @fwrite(ptr noundef %114, i32 noundef 1474560, i32 noundef 1, ptr noundef %115)
%117 = load ptr, ptr %6, align 8
%118 = call i32 @fclose(ptr noundef %117)
%119 = load ptr, ptr %9, align 8
%120 = call i32 @free(ptr noundef %119)
store i32 0, ptr %3, align 4
br label %121
121: ; preds = %105, %12
%122 = load i32, ptr %3, align 4
ret i32 %122
}
declare i32 @print_usage(...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare zeroext i8 @getc(ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, 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"}
!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/tmpf88tg2bg.c'
source_filename = "/tmp/tmpf88tg2bg.c"
target datalayout = "e-m:e-p270: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/tmpf88tg2bg.c"
target datalayout = "e-m:e-p270: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/tmpicnncixp.c'
source_filename = "/tmp/tmpicnncixp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"2004-2009 Frontier Kernel Project\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/tmpicnncixp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"2004-2009 Frontier Kernel Project\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/tmpdu1ifxwo.c'
source_filename = "/tmp/tmpdu1ifxwo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%6 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %6, ptr %2, align 4
%7 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %8, 1
br i1 %9, label %10, label %11
10: ; preds = %0
store i32 1, ptr %2, align 4
br label %11
11: ; preds = %10, %0
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %12, 1
br i1 %13, label %14, label %15
14: ; preds = %11
store i32 1, ptr %3, align 4
br label %15
15: ; preds = %14, %11
%16 = load i32, ptr %2, align 4
%17 = sext i32 %16 to i64
%18 = mul i64 %17, 1
%19 = trunc i64 %18 to i32
%20 = call i64 @alloca(i32 noundef %19)
%21 = inttoptr i64 %20 to ptr
store ptr %21, ptr %4, align 8
%22 = load i32, ptr %3, align 4
%23 = sext i32 %22 to i64
%24 = mul i64 %23, 1
%25 = trunc i64 %24 to i32
%26 = call i64 @alloca(i32 noundef %25)
%27 = inttoptr i64 %26 to ptr
store ptr %27, ptr %5, align 8
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %2, align 4
%30 = sub nsw i32 %29, 1
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %28, i64 %31
store i8 0, ptr %32, align 1
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %3, align 4
%35 = sub nsw i32 %34, 1
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %33, i64 %36
store i8 0, ptr %37, align 1
%38 = load ptr, ptr %4, align 8
%39 = load ptr, ptr %5, align 8
%40 = call i32 @cstrcmp(ptr noundef %38, ptr noundef %39)
ret i32 %40
}
declare i32 @__VERIFIER_nondet_int(...) #1
declare i64 @alloca(i32 noundef) #1
declare i32 @cstrcmp(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/tmpdu1ifxwo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%6 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %6, ptr %2, align 4
%7 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %8, 1
br i1 %9, label %10, label %11
10: ; preds = %0
store i32 1, ptr %2, align 4
br label %11
11: ; preds = %10, %0
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %12, 1
br i1 %13, label %14, label %15
14: ; preds = %11
store i32 1, ptr %3, align 4
br label %15
15: ; preds = %14, %11
%16 = load i32, ptr %2, align 4
%17 = sext i32 %16 to i64
%18 = mul i64 %17, 1
%19 = trunc i64 %18 to i32
%20 = call i64 @alloca(i32 noundef %19)
%21 = inttoptr i64 %20 to ptr
store ptr %21, ptr %4, align 8
%22 = load i32, ptr %3, align 4
%23 = sext i32 %22 to i64
%24 = mul i64 %23, 1
%25 = trunc i64 %24 to i32
%26 = call i64 @alloca(i32 noundef %25)
%27 = inttoptr i64 %26 to ptr
store ptr %27, ptr %5, align 8
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %2, align 4
%30 = sub nsw i32 %29, 1
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %28, i64 %31
store i8 0, ptr %32, align 1
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %3, align 4
%35 = sub nsw i32 %34, 1
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %33, i64 %36
store i8 0, ptr %37, align 1
%38 = load ptr, ptr %4, align 8
%39 = load ptr, ptr %5, align 8
%40 = call i32 @cstrcmp(ptr noundef %38, ptr noundef %39)
ret i32 %40
}
declare i32 @__VERIFIER_nondet_int(...) #1
declare i64 @alloca(i32 noundef) #1
declare i32 @cstrcmp(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/tmpmczwz4zu.c'
source_filename = "/tmp/tmpmczwz4zu.c"
target datalayout = "e-m:e-p270: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.termios = type { i32, ptr, i32 }
@ICANON = dso_local global i32 0, align 4
@ECHO = dso_local global i32 0, align 4
@ISIG = dso_local global i32 0, align 4
@ICRNL = dso_local global i32 0, align 4
@VMIN = dso_local global i64 0, align 8
@VTIME = dso_local global i64 0, align 8
@TCSAFLUSH = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ttySetCbreak(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca %struct.termios, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = call i32 @tcgetattr(i32 noundef %7, ptr noundef %6)
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 -1, ptr %3, align 4
br label %47
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %16
14: ; preds = %11
%15 = load ptr, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %6, i64 24, i1 false)
br label %16
16: ; preds = %14, %11
%17 = load i32, ptr @ICANON, align 4
%18 = load i32, ptr @ECHO, align 4
%19 = or i32 %17, %18
%20 = xor i32 %19, -1
%21 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0
%22 = load i32, ptr %21, align 8
%23 = and i32 %22, %20
store i32 %23, ptr %21, align 8
%24 = load i32, ptr @ISIG, align 4
%25 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0
%26 = load i32, ptr %25, align 8
%27 = or i32 %26, %24
store i32 %27, ptr %25, align 8
%28 = load i32, ptr @ICRNL, align 4
%29 = xor i32 %28, -1
%30 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 2
%31 = load i32, ptr %30, align 8
%32 = and i32 %31, %29
store i32 %32, ptr %30, align 8
%33 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 1
%34 = load ptr, ptr %33, align 8
%35 = load i64, ptr @VMIN, align 8
%36 = getelementptr inbounds i32, ptr %34, i64 %35
store i32 1, ptr %36, align 4
%37 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 1
%38 = load ptr, ptr %37, align 8
%39 = load i64, ptr @VTIME, align 8
%40 = getelementptr inbounds i32, ptr %38, i64 %39
store i32 0, ptr %40, align 4
%41 = load i32, ptr %4, align 4
%42 = load i32, ptr @TCSAFLUSH, align 4
%43 = call i32 @tcsetattr(i32 noundef %41, i32 noundef %42, ptr noundef %6)
%44 = icmp eq i32 %43, -1
br i1 %44, label %45, label %46
45: ; preds = %16
store i32 -1, ptr %3, align 4
br label %47
46: ; preds = %16
store i32 0, ptr %3, align 4
br label %47
47: ; preds = %46, %45, %10
%48 = load i32, ptr %3, align 4
ret i32 %48
}
declare i32 @tcgetattr(i32 noundef, ptr noundef) #1
; 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) #2
declare i32 @tcsetattr(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" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpmczwz4zu.c"
target datalayout = "e-m:e-p270: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.termios = type { i32, ptr, i32 }
@ICANON = dso_local global i32 0, align 4
@ECHO = dso_local global i32 0, align 4
@ISIG = dso_local global i32 0, align 4
@ICRNL = dso_local global i32 0, align 4
@VMIN = dso_local global i64 0, align 8
@VTIME = dso_local global i64 0, align 8
@TCSAFLUSH = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ttySetCbreak(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca %struct.termios, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = call i32 @tcgetattr(i32 noundef %7, ptr noundef %6)
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 -1, ptr %3, align 4
br label %47
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %16
14: ; preds = %11
%15 = load ptr, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %6, i64 24, i1 false)
br label %16
16: ; preds = %14, %11
%17 = load i32, ptr @ICANON, align 4
%18 = load i32, ptr @ECHO, align 4
%19 = or i32 %17, %18
%20 = xor i32 %19, -1
%21 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0
%22 = load i32, ptr %21, align 8
%23 = and i32 %22, %20
store i32 %23, ptr %21, align 8
%24 = load i32, ptr @ISIG, align 4
%25 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0
%26 = load i32, ptr %25, align 8
%27 = or i32 %26, %24
store i32 %27, ptr %25, align 8
%28 = load i32, ptr @ICRNL, align 4
%29 = xor i32 %28, -1
%30 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 2
%31 = load i32, ptr %30, align 8
%32 = and i32 %31, %29
store i32 %32, ptr %30, align 8
%33 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 1
%34 = load ptr, ptr %33, align 8
%35 = load i64, ptr @VMIN, align 8
%36 = getelementptr inbounds i32, ptr %34, i64 %35
store i32 1, ptr %36, align 4
%37 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 1
%38 = load ptr, ptr %37, align 8
%39 = load i64, ptr @VTIME, align 8
%40 = getelementptr inbounds i32, ptr %38, i64 %39
store i32 0, ptr %40, align 4
%41 = load i32, ptr %4, align 4
%42 = load i32, ptr @TCSAFLUSH, align 4
%43 = call i32 @tcsetattr(i32 noundef %41, i32 noundef %42, ptr noundef %6)
%44 = icmp eq i32 %43, -1
br i1 %44, label %45, label %46
45: ; preds = %16
store i32 -1, ptr %3, align 4
br label %47
46: ; preds = %16
store i32 0, ptr %3, align 4
br label %47
47: ; preds = %46, %45, %10
%48 = load i32, ptr %3, align 4
ret i32 %48
}
declare i32 @tcgetattr(i32 noundef, ptr noundef) #1
; 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) #2
declare i32 @tcsetattr(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" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpl7zt8q6l.c'
source_filename = "/tmp/tmpl7zt8q6l.c"
target datalayout = "e-m:e-p270: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 @utimensat(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %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 ptr, ptr %7, align 8
%12 = load i32, ptr %8, align 4
%13 = call i32 @syscall(i32 noundef 348, i32 noundef %9, ptr noundef %10, ptr noundef %11, i32 noundef %12)
ret i32 %13
}
declare i32 @syscall(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl7zt8q6l.c"
target datalayout = "e-m:e-p270: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 @utimensat(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %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 ptr, ptr %7, align 8
%12 = load i32, ptr %8, align 4
%13 = call i32 @syscall(i32 noundef 348, i32 noundef %9, ptr noundef %10, ptr noundef %11, i32 noundef %12)
ret i32 %13
}
declare i32 @syscall(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphuvdj8im.c'
source_filename = "/tmp/tmphuvdj8im.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@REG_EXTENDED = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [16 x i8] c"init_lex_error\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @init_lex_item(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 = call ptr @malloc(i32 noundef 4)
%6 = load ptr, ptr %3, align 8
store ptr %5, ptr %6, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %7, align 8
%9 = load ptr, ptr %4, align 8
%10 = load i64, ptr @REG_EXTENDED, align 8
%11 = icmp ne i64 %10, 0
%12 = zext i1 %11 to i32
%13 = call i64 @regcomp(ptr noundef %8, ptr noundef %9, i32 noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %21
15: ; preds = %2
%16 = call i32 @printf(ptr noundef @.str)
%17 = load ptr, ptr %3, align 8
%18 = load ptr, ptr %17, align 8
%19 = call i32 @free(ptr noundef %18)
%20 = load ptr, ptr %3, align 8
store ptr null, ptr %20, align 8
br label %21
21: ; preds = %15, %2
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i64 @regcomp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(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/tmphuvdj8im.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@REG_EXTENDED = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [16 x i8] c"init_lex_error\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @init_lex_item(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 = call ptr @malloc(i32 noundef 4)
%6 = load ptr, ptr %3, align 8
store ptr %5, ptr %6, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %7, align 8
%9 = load ptr, ptr %4, align 8
%10 = load i64, ptr @REG_EXTENDED, align 8
%11 = icmp ne i64 %10, 0
%12 = zext i1 %11 to i32
%13 = call i64 @regcomp(ptr noundef %8, ptr noundef %9, i32 noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %21
15: ; preds = %2
%16 = call i32 @printf(ptr noundef @.str)
%17 = load ptr, ptr %3, align 8
%18 = load ptr, ptr %17, align 8
%19 = call i32 @free(ptr noundef %18)
%20 = load ptr, ptr %3, align 8
store ptr null, ptr %20, align 8
br label %21
21: ; preds = %15, %2
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i64 @regcomp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(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/tmpvdsdo8uy.c'
source_filename = "/tmp/tmpvdsdo8uy.c"
target datalayout = "e-m:e-p270: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 @cusstrdup(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 i32 @strlen(ptr noundef %4)
%6 = call i64 @malloc(i32 noundef %5)
%7 = inttoptr i64 %6 to ptr
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %14
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = load ptr, ptr %2, align 8
%13 = call i32 @strcpy(ptr noundef %11, ptr noundef %12)
br label %14
14: ; preds = %10, %1
%15 = load ptr, ptr %3, align 8
ret ptr %15
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvdsdo8uy.c"
target datalayout = "e-m:e-p270: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 @cusstrdup(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 i32 @strlen(ptr noundef %4)
%6 = call i64 @malloc(i32 noundef %5)
%7 = inttoptr i64 %6 to ptr
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %14
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = load ptr, ptr %2, align 8
%13 = call i32 @strcpy(ptr noundef %11, ptr noundef %12)
br label %14
14: ; preds = %10, %1
%15 = load ptr, ptr %3, align 8
ret ptr %15
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr 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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.