llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpbp0k0ecg.c' source_filename = "/tmp/tmpbp0k0ecg.c" target datalayout = "e-m:e-p270: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 @remplirTableau(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = call i32 @time(ptr noundef null) %8 = call i32 @srand(i32 noundef %7) store i32 0, ptr %5, align 4 br label %9 9: ; preds = %31, %2 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %34 13: ; preds = %9 store i32 0, ptr %6, align 4 br label %14 14: ; preds = %27, %13 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %30 18: ; preds = %14 %19 = call i32 @genRandom(i32 noundef 10, i32 noundef 20) %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [9 x i32], ptr %20, i64 %22 %24 = load i32, ptr %6, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [9 x i32], ptr %23, i64 0, i64 %25 store i32 %19, ptr %26, align 4 br label %27 27: ; preds = %18 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %6, align 4 br label %14, !llvm.loop !6 30: ; preds = %14 br label %31 31: ; preds = %30 %32 = load i32, ptr %5, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %5, align 4 br label %9, !llvm.loop !8 34: ; preds = %9 ret void } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @genRandom(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbp0k0ecg.c" target datalayout = "e-m:e-p270: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 @remplirTableau(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = call i32 @time(ptr noundef null) %8 = call i32 @srand(i32 noundef %7) store i32 0, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph2, label %38 .lr.ph2: ; preds = %2 br label %12 12: ; preds = %.lr.ph2, %32 store i32 0, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %31 .lr.ph: ; preds = %12 br label %16 16: ; preds = %.lr.ph, %25 %17 = call i32 @genRandom(i32 noundef 10, i32 noundef 20) %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [9 x i32], ptr %18, i64 %20 %22 = load i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [9 x i32], ptr %21, i64 0, i64 %23 store i32 %17, ptr %24, align 4 br label %25 25: ; preds = %16 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %6, align 4 %28 = load i32, ptr %6, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %12 br label %32 32: ; preds = %31 %33 = load i32, ptr %5, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %5, align 4 %35 = load i32, ptr %5, align 4 %36 = load i32, ptr %4, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %12, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %32 br label %38 38: ; preds = %._crit_edge3, %2 ret void } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @genRandom(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp457p8yuh.c' source_filename = "/tmp/tmp457p8yuh.c" target datalayout = "e-m:e-p270: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 @leadingwst(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp eq ptr null, %4 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %2, align 8 br label %34 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 0 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %8 %15 = load ptr, ptr %3, align 8 store ptr %15, ptr %2, align 8 br label %34 16: ; preds = %8 br label %17 17: ; preds = %29, %16 %18 = load ptr, ptr %3, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 32 br i1 %21, label %27, label %22 22: ; preds = %17 %23 = load ptr, ptr %3, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 9 br label %27 27: ; preds = %22, %17 %28 = phi i1 [ true, %17 ], [ %26, %22 ] br i1 %28, label %29, label %32 29: ; preds = %27 %30 = load ptr, ptr %3, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 1 store ptr %31, ptr %3, align 8 br label %17, !llvm.loop !6 32: ; preds = %27 %33 = load ptr, ptr %3, align 8 store ptr %33, ptr %2, align 8 br label %34 34: ; preds = %32, %14, %6 %35 = load ptr, ptr %2, align 8 ret ptr %35 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp457p8yuh.c" target datalayout = "e-m:e-p270: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 @leadingwst(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp eq ptr null, %4 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %2, align 8 br label %34 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 0 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %8 %15 = load ptr, ptr %3, align 8 store ptr %15, ptr %2, align 8 br label %34 16: ; preds = %8 br label %17 17: ; preds = %29, %16 %18 = load ptr, ptr %3, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 32 br i1 %21, label %27, label %22 22: ; preds = %17 %23 = load ptr, ptr %3, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 9 br label %27 27: ; preds = %22, %17 %28 = phi i1 [ true, %17 ], [ %26, %22 ] br i1 %28, label %29, label %32 29: ; preds = %27 %30 = load ptr, ptr %3, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 1 store ptr %31, ptr %3, align 8 br label %17, !llvm.loop !6 32: ; preds = %27 %33 = load ptr, ptr %3, align 8 store ptr %33, ptr %2, align 8 br label %34 34: ; preds = %32, %14, %6 %35 = load ptr, ptr %2, align 8 ret ptr %35 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpkmkkoj2h.c' source_filename = "/tmp/tmpkmkkoj2h.c" target datalayout = "e-m:e-p270: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 @webidl_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } 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/tmpkmkkoj2h.c" target datalayout = "e-m:e-p270: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 @webidl_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } 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/tmp6gt9flt8.c' source_filename = "/tmp/tmp6gt9flt8.c" target datalayout = "e-m:e-p270: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 @random_byte_in(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = call i32 (...) @random_byte_lfsr32() store i32 %6, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %3, align 4 %9 = sub nsw i32 %7, %8 %10 = add nsw i32 %9, 1 %11 = load i32, ptr %5, align 4 %12 = mul nsw i32 %11, %10 store i32 %12, ptr %5, align 4 %13 = load i32, ptr %5, align 4 %14 = ashr i32 %13, 8 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %14, %15 ret i32 %16 } declare i32 @random_byte_lfsr32(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp6gt9flt8.c" target datalayout = "e-m:e-p270: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 @random_byte_in(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = call i32 (...) @random_byte_lfsr32() store i32 %6, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %3, align 4 %9 = sub nsw i32 %7, %8 %10 = add nsw i32 %9, 1 %11 = load i32, ptr %5, align 4 %12 = mul nsw i32 %11, %10 store i32 %12, ptr %5, align 4 %13 = load i32, ptr %5, align 4 %14 = ashr i32 %13, 8 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %14, %15 ret i32 %16 } declare i32 @random_byte_lfsr32(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmprwk5huha.c' source_filename = "/tmp/tmprwk5huha.c" target datalayout = "e-m:e-p270: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 @getparam(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = call ptr @malloc(i32 noundef 255) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 8) %8 = load ptr, ptr %2, align 8 %9 = call ptr @strchr(ptr noundef %8, i8 noundef signext 61) store ptr %9, ptr %4, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %21 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = load ptr, ptr %2, align 8 %14 = load ptr, ptr %4, align 8 %15 = load ptr, ptr %2, align 8 %16 = ptrtoint ptr %14 to i64 %17 = ptrtoint ptr %15 to i64 %18 = sub i64 %16, %17 %19 = trunc i64 %18 to i32 %20 = call i32 @strncpy(ptr noundef %12, ptr noundef %13, i32 noundef %19) br label %21 21: ; preds = %11, %1 %22 = load ptr, ptr %3, align 8 ret ptr %22 } declare ptr @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprwk5huha.c" target datalayout = "e-m:e-p270: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 @getparam(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = call ptr @malloc(i32 noundef 255) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 8) %8 = load ptr, ptr %2, align 8 %9 = call ptr @strchr(ptr noundef %8, i8 noundef signext 61) store ptr %9, ptr %4, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %21 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = load ptr, ptr %2, align 8 %14 = load ptr, ptr %4, align 8 %15 = load ptr, ptr %2, align 8 %16 = ptrtoint ptr %14 to i64 %17 = ptrtoint ptr %15 to i64 %18 = sub i64 %16, %17 %19 = trunc i64 %18 to i32 %20 = call i32 @strncpy(ptr noundef %12, ptr noundef %13, i32 noundef %19) br label %21 21: ; preds = %11, %1 %22 = load ptr, ptr %3, align 8 ret ptr %22 } declare ptr @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo7c8q667.c' source_filename = "/tmp/tmpo7c8q667.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d,\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @pr_array(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %17, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %20 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15) br label %17 17: ; preds = %10 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 br label %6, !llvm.loop !6 20: ; preds = %6 %21 = 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/tmpo7c8q667.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d,\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @pr_array(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %16 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %13, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14) br label %16 16: ; preds = %9 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %2 %23 = 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/tmpvq9or81i.c' source_filename = "/tmp/tmpvq9or81i.c" target datalayout = "e-m:e-p270: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/tmpvq9or81i.c" target datalayout = "e-m:e-p270: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/tmpnuuweq4z.c' source_filename = "/tmp/tmpnuuweq4z.c" target datalayout = "e-m:e-p270: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/tmpnuuweq4z.c" target datalayout = "e-m:e-p270: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/tmpf5protow.c' source_filename = "/tmp/tmpf5protow.c" target datalayout = "e-m:e-p270: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/tmpf5protow.c" target datalayout = "e-m:e-p270: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/tmpu1vkln7w.c' source_filename = "/tmp/tmpu1vkln7w.c" target datalayout = "e-m:e-p270: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 [16 x i8] c"Out of memory!\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @mymalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #4 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %12, label %8 8: ; preds = %1 %9 = call i32 @printf(ptr noundef @.str) %10 = load i32, ptr @EXIT_FAILURE, align 4 %11 = call i32 @exit(i32 noundef %10) #5 unreachable 12: ; preds = %1 %13 = load ptr, ptr %3, align 8 ret ptr %13 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @printf(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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 #4 = { allocsize(0) } attributes #5 = { 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/tmpu1vkln7w.c" target datalayout = "e-m:e-p270: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 [16 x i8] c"Out of memory!\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @mymalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #4 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %12, label %8 8: ; preds = %1 %9 = call i32 @printf(ptr noundef @.str) %10 = load i32, ptr @EXIT_FAILURE, align 4 %11 = call i32 @exit(i32 noundef %10) #5 unreachable 12: ; preds = %1 %13 = load ptr, ptr %3, align 8 ret ptr %13 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @printf(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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 #4 = { allocsize(0) } attributes #5 = { 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/tmp9vi8ja2n.c' source_filename = "/tmp/tmp9vi8ja2n.c" target datalayout = "e-m:e-p270: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 @stdout = 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/tmp9vi8ja2n.c" target datalayout = "e-m:e-p270: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 @stdout = 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/tmpz5prhaa2.c' source_filename = "/tmp/tmpz5prhaa2.c" target datalayout = "e-m:e-p270: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 void @print_spaces(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %13, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %16 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = call i32 @fprintf(ptr noundef %11, ptr noundef @.str) br label %13 13: ; preds = %10 %14 = load i32, ptr %5, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %5, align 4 br label %6, !llvm.loop !6 16: ; preds = %6 ret void } declare i32 @fprintf(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/tmpz5prhaa2.c" target datalayout = "e-m:e-p270: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 void @print_spaces(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %18 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %12 %10 = load ptr, ptr %3, align 8 %11 = call i32 @fprintf(ptr noundef %10, ptr noundef @.str) br label %12 12: ; preds = %9 %13 = load i32, ptr %5, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %18 18: ; preds = %._crit_edge, %2 ret void } declare i32 @fprintf(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/tmpi3h_j9ox.c' source_filename = "/tmp/tmpi3h_j9ox.c" target datalayout = "e-m:e-p270: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.sembuf = type { i32, i32, i32 } @SEM_UNDO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sem_p(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.sembuf, align 4 store i32 %0, ptr %2, align 4 %4 = getelementptr inbounds %struct.sembuf, ptr %3, i32 0, i32 0 store i32 -1, ptr %4, align 4 %5 = getelementptr inbounds %struct.sembuf, ptr %3, i32 0, i32 1 %6 = load i32, ptr @SEM_UNDO, align 4 store i32 %6, ptr %5, align 4 %7 = getelementptr inbounds %struct.sembuf, ptr %3, i32 0, i32 2 store i32 0, ptr %7, align 4 %8 = load i32, ptr %2, align 4 %9 = call i32 @semop(i32 noundef %8, ptr noundef %3, i32 noundef 1) ret i32 %9 } declare i32 @semop(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi3h_j9ox.c" target datalayout = "e-m:e-p270: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.sembuf = type { i32, i32, i32 } @SEM_UNDO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sem_p(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.sembuf, align 4 store i32 %0, ptr %2, align 4 %4 = getelementptr inbounds %struct.sembuf, ptr %3, i32 0, i32 0 store i32 -1, ptr %4, align 4 %5 = getelementptr inbounds %struct.sembuf, ptr %3, i32 0, i32 1 %6 = load i32, ptr @SEM_UNDO, align 4 store i32 %6, ptr %5, align 4 %7 = getelementptr inbounds %struct.sembuf, ptr %3, i32 0, i32 2 store i32 0, ptr %7, align 4 %8 = load i32, ptr %2, align 4 %9 = call i32 @semop(i32 noundef %8, ptr noundef %3, i32 noundef 1) ret i32 %9 } declare i32 @semop(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp28qape9z.c' source_filename = "/tmp/tmp28qape9z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [54 x i8] c"Initialized array to a random permutation of [1..%d]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @init_array(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 4, %8 %10 = trunc i64 %9 to i32 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %13 13: ; preds = %24, %1 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %27 17: ; preds = %13 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, 1 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %4, 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 = %17 %25 = load i32, ptr %4, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %4, align 4 br label %13, !llvm.loop !6 27: ; preds = %13 %28 = call i32 @time(ptr noundef null) %29 = call i32 @srand(i32 noundef %28) store i32 0, ptr %5, align 4 br label %30 30: ; preds = %50, %27 %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %2, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %53 34: ; preds = %30 %35 = call i32 (...) @rand() %36 = sitofp i32 %35 to double %37 = fmul double %36, 1.000000e+00 %38 = load i32, ptr @RAND_MAX, align 4 %39 = sitofp i32 %38 to double %40 = fdiv double %37, %39 %41 = load i32, ptr %2, align 4 %42 = sub nsw i32 %41, 1 %43 = sitofp i32 %42 to double %44 = fmul double %40, %43 %45 = fptosi double %44 to i32 store i32 %45, ptr %6, align 4 %46 = load ptr, ptr %3, align 8 %47 = load i32, ptr %5, align 4 %48 = load i32, ptr %6, align 4 %49 = call i32 @swap(ptr noundef %46, i32 noundef %47, i32 noundef %48) br label %50 50: ; preds = %34 %51 = load i32, ptr %5, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %5, align 4 br label %30, !llvm.loop !8 53: ; preds = %30 %54 = load i32, ptr %2, align 4 %55 = call i32 @printf(ptr noundef @.str, i32 noundef %54) %56 = load ptr, ptr %3, align 8 ret ptr %56 } declare i64 @malloc(i32 noundef) #1 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @swap(ptr noundef, 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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp28qape9z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [54 x i8] c"Initialized array to a random permutation of [1..%d]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @init_array(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 4, %8 %10 = trunc i64 %9 to i32 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %3, align 8 store i32 0, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %29 .lr.ph: ; preds = %1 br label %16 16: ; preds = %.lr.ph, %23 %17 = load i32, ptr %4, align 4 %18 = add nsw i32 %17, 1 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %4, 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 = %16 %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 = load i32, ptr %2, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %29 29: ; preds = %._crit_edge, %1 %30 = call i32 @time(ptr noundef null) %31 = call i32 @srand(i32 noundef %30) store i32 0, ptr %5, align 4 %32 = load i32, ptr %5, align 4 %33 = load i32, ptr %2, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph2, label %57 .lr.ph2: ; preds = %29 br label %35 35: ; preds = %.lr.ph2, %51 %36 = call i32 (...) @rand() %37 = sitofp i32 %36 to double %38 = fmul double %37, 1.000000e+00 %39 = load i32, ptr @RAND_MAX, align 4 %40 = sitofp i32 %39 to double %41 = fdiv double %38, %40 %42 = load i32, ptr %2, align 4 %43 = sub nsw i32 %42, 1 %44 = sitofp i32 %43 to double %45 = fmul double %41, %44 %46 = fptosi double %45 to i32 store i32 %46, ptr %6, align 4 %47 = load ptr, ptr %3, align 8 %48 = load i32, ptr %5, align 4 %49 = load i32, ptr %6, align 4 %50 = call i32 @swap(ptr noundef %47, i32 noundef %48, i32 noundef %49) br label %51 51: ; preds = %35 %52 = load i32, ptr %5, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %5, align 4 %54 = load i32, ptr %5, align 4 %55 = load i32, ptr %2, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %35, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %51 br label %57 57: ; preds = %._crit_edge3, %29 %58 = load i32, ptr %2, align 4 %59 = call i32 @printf(ptr noundef @.str, i32 noundef %58) %60 = load ptr, ptr %3, align 8 ret ptr %60 } declare i64 @malloc(i32 noundef) #1 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @swap(ptr noundef, 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}
; ModuleID = '/tmp/tmpovfs1rzd.c' source_filename = "/tmp/tmpovfs1rzd.c" target datalayout = "e-m:e-p270: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 @itrmemset(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %16 = load ptr, ptr %8, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 0 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 85 %21 = zext i1 %20 to i32 store i32 %21, ptr %15, align 4 %22 = load ptr, ptr %7, align 8 %23 = getelementptr inbounds i8, ptr %22, i64 0 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 76 br i1 %26, label %27, label %62 27: ; preds = %6 store i32 0, ptr %14, align 4 br label %28 28: ; preds = %58, %27 %29 = load i32, ptr %14, align 4 %30 = load ptr, ptr %9, align 8 %31 = load i32, ptr %30, align 4 %32 = icmp slt i32 %29, %31 br i1 %32, label %33, label %61 33: ; preds = %28 %34 = load i32, ptr %14, align 4 %35 = load i32, ptr %15, align 4 %36 = add nsw i32 %34, %35 store i32 %36, ptr %13, align 4 br label %37 37: ; preds = %54, %33 %38 = load i32, ptr %13, align 4 %39 = load ptr, ptr %9, align 8 %40 = load i32, ptr %39, align 4 %41 = icmp slt i32 %38, %40 br i1 %41, label %42, label %57 42: ; preds = %37 %43 = load ptr, ptr %10, align 8 %44 = load i32, ptr %43, align 4 %45 = load ptr, ptr %11, align 8 %46 = load i32, ptr %13, align 4 %47 = load i32, ptr %14, align 4 %48 = load ptr, ptr %12, align 8 %49 = load i32, ptr %48, align 4 %50 = mul nsw i32 %47, %49 %51 = add nsw i32 %46, %50 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %45, i64 %52 store i32 %44, ptr %53, align 4 br label %54 54: ; preds = %42 %55 = load i32, ptr %13, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %13, align 4 br label %37, !llvm.loop !6 57: ; preds = %37 br label %58 58: ; preds = %57 %59 = load i32, ptr %14, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %14, align 4 br label %28, !llvm.loop !8 61: ; preds = %28 br label %109 62: ; preds = %6 %63 = load ptr, ptr %7, align 8 %64 = getelementptr inbounds i8, ptr %63, i64 0 %65 = load i8, ptr %64, align 1 %66 = sext i8 %65 to i32 %67 = icmp eq i32 %66, 85 br i1 %67, label %68, label %101 68: ; preds = %62 store i32 0, ptr %14, align 4 br label %69 69: ; preds = %97, %68 %70 = load i32, ptr %14, align 4 %71 = load ptr, ptr %9, align 8 %72 = load i32, ptr %71, align 4 %73 = icmp slt i32 %70, %72 br i1 %73, label %74, label %100 74: ; preds = %69 store i32 0, ptr %13, align 4 br label %75 75: ; preds = %93, %74 %76 = load i32, ptr %13, align 4 %77 = load i32, ptr %14, align 4 %78 = load i32, ptr %15, align 4 %79 = sub nsw i32 %77, %78 %80 = icmp sle i32 %76, %79 br i1 %80, label %81, label %96 81: ; preds = %75 %82 = load ptr, ptr %10, align 8 %83 = load i32, ptr %82, align 4 %84 = load ptr, ptr %11, align 8 %85 = load i32, ptr %13, align 4 %86 = load i32, ptr %14, align 4 %87 = load ptr, ptr %12, align 8 %88 = load i32, ptr %87, align 4 %89 = mul nsw i32 %86, %88 %90 = add nsw i32 %85, %89 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds i32, ptr %84, i64 %91 store i32 %83, ptr %92, align 4 br label %93 93: ; preds = %81 %94 = load i32, ptr %13, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %13, align 4 br label %75, !llvm.loop !9 96: ; preds = %75 br label %97 97: ; preds = %96 %98 = load i32, ptr %14, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %14, align 4 br label %69, !llvm.loop !10 100: ; preds = %69 br label %108 101: ; preds = %62 %102 = load ptr, ptr %9, align 8 %103 = load ptr, ptr %9, align 8 %104 = load ptr, ptr %10, align 8 %105 = load ptr, ptr %11, align 8 %106 = load ptr, ptr %12, align 8 %107 = call i32 @imemset(ptr noundef %102, ptr noundef %103, ptr noundef %104, ptr noundef %105, ptr noundef %106) br label %108 108: ; preds = %101, %100 br label %109 109: ; preds = %108, %61 ret void } declare i32 @imemset(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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/tmpovfs1rzd.c" target datalayout = "e-m:e-p270: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 @itrmemset(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %16 = load ptr, ptr %8, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 0 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 85 %21 = zext i1 %20 to i32 store i32 %21, ptr %15, align 4 %22 = load ptr, ptr %7, align 8 %23 = getelementptr inbounds i8, ptr %22, i64 0 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 76 br i1 %26, label %27, label %68 27: ; preds = %6 store i32 0, ptr %14, align 4 %28 = load i32, ptr %14, align 4 %29 = load ptr, ptr %9, align 8 %30 = load i32, ptr %29, align 4 %31 = icmp slt i32 %28, %30 br i1 %31, label %.lr.ph8, label %67 .lr.ph8: ; preds = %27 br label %32 32: ; preds = %.lr.ph8, %60 %33 = load i32, ptr %14, align 4 %34 = load i32, ptr %15, align 4 %35 = add nsw i32 %33, %34 store i32 %35, ptr %13, align 4 %36 = load i32, ptr %13, align 4 %37 = load ptr, ptr %9, align 8 %38 = load i32, ptr %37, align 4 %39 = icmp slt i32 %36, %38 br i1 %39, label %.lr.ph5, label %59 .lr.ph5: ; preds = %32 br label %40 40: ; preds = %.lr.ph5, %52 %41 = load ptr, ptr %10, align 8 %42 = load i32, ptr %41, align 4 %43 = load ptr, ptr %11, align 8 %44 = load i32, ptr %13, align 4 %45 = load i32, ptr %14, align 4 %46 = load ptr, ptr %12, align 8 %47 = load i32, ptr %46, align 4 %48 = mul nsw i32 %45, %47 %49 = add nsw i32 %44, %48 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %43, i64 %50 store i32 %42, ptr %51, align 4 br label %52 52: ; preds = %40 %53 = load i32, ptr %13, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %13, align 4 %55 = load i32, ptr %13, align 4 %56 = load ptr, ptr %9, align 8 %57 = load i32, ptr %56, align 4 %58 = icmp slt i32 %55, %57 br i1 %58, label %40, label %._crit_edge6, !llvm.loop !6 ._crit_edge6: ; preds = %52 br label %59 59: ; preds = %._crit_edge6, %32 br label %60 60: ; preds = %59 %61 = load i32, ptr %14, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %14, align 4 %63 = load i32, ptr %14, align 4 %64 = load ptr, ptr %9, align 8 %65 = load i32, ptr %64, align 4 %66 = icmp slt i32 %63, %65 br i1 %66, label %32, label %._crit_edge9, !llvm.loop !8 ._crit_edge9: ; preds = %60 br label %67 67: ; preds = %._crit_edge9, %27 br label %122 68: ; preds = %6 %69 = load ptr, ptr %7, align 8 %70 = getelementptr inbounds i8, ptr %69, i64 0 %71 = load i8, ptr %70, align 1 %72 = sext i8 %71 to i32 %73 = icmp eq i32 %72, 85 br i1 %73, label %74, label %114 74: ; preds = %68 store i32 0, ptr %14, align 4 %75 = load i32, ptr %14, align 4 %76 = load ptr, ptr %9, align 8 %77 = load i32, ptr %76, align 4 %78 = icmp slt i32 %75, %77 br i1 %78, label %.lr.ph2, label %113 .lr.ph2: ; preds = %74 br label %79 79: ; preds = %.lr.ph2, %106 store i32 0, ptr %13, align 4 %80 = load i32, ptr %13, align 4 %81 = load i32, ptr %14, align 4 %82 = load i32, ptr %15, align 4 %83 = sub nsw i32 %81, %82 %84 = icmp sle i32 %80, %83 br i1 %84, label %.lr.ph, label %105 .lr.ph: ; preds = %79 br label %85 85: ; preds = %.lr.ph, %97 %86 = load ptr, ptr %10, align 8 %87 = load i32, ptr %86, align 4 %88 = load ptr, ptr %11, align 8 %89 = load i32, ptr %13, align 4 %90 = load i32, ptr %14, align 4 %91 = load ptr, ptr %12, align 8 %92 = load i32, ptr %91, align 4 %93 = mul nsw i32 %90, %92 %94 = add nsw i32 %89, %93 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i32, ptr %88, i64 %95 store i32 %87, ptr %96, align 4 br label %97 97: ; preds = %85 %98 = load i32, ptr %13, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %13, align 4 %100 = load i32, ptr %13, align 4 %101 = load i32, ptr %14, align 4 %102 = load i32, ptr %15, align 4 %103 = sub nsw i32 %101, %102 %104 = icmp sle i32 %100, %103 br i1 %104, label %85, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %97 br label %105 105: ; preds = %._crit_edge, %79 br label %106 106: ; preds = %105 %107 = load i32, ptr %14, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %14, align 4 %109 = load i32, ptr %14, align 4 %110 = load ptr, ptr %9, align 8 %111 = load i32, ptr %110, align 4 %112 = icmp slt i32 %109, %111 br i1 %112, label %79, label %._crit_edge3, !llvm.loop !10 ._crit_edge3: ; preds = %106 br label %113 113: ; preds = %._crit_edge3, %74 br label %121 114: ; preds = %68 %115 = load ptr, ptr %9, align 8 %116 = load ptr, ptr %9, align 8 %117 = load ptr, ptr %10, align 8 %118 = load ptr, ptr %11, align 8 %119 = load ptr, ptr %12, align 8 %120 = call i32 @imemset(ptr noundef %115, ptr noundef %116, ptr noundef %117, ptr noundef %118, ptr noundef %119) br label %121 121: ; preds = %114, %113 br label %122 122: ; preds = %121, %67 ret void } declare i32 @imemset(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpws_zy2w8.c' source_filename = "/tmp/tmpws_zy2w8.c" target datalayout = "e-m:e-p270: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 [38 x i8] c"Hey, the process ended successfully.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @didSucceed() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpws_zy2w8.c" target datalayout = "e-m:e-p270: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 [38 x i8] c"Hey, the process ended successfully.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @didSucceed() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp988isosc.c' source_filename = "/tmp/tmp988isosc.c" target datalayout = "e-m:e-p270: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"%f s\0A\00", align 1 @.str.1 = private unnamed_addr constant [46 x i8] c"mean: %f s, median: %f s (repetitions=%d) %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_summary(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp eq i32 %6, 1 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds double, ptr %9, i64 0 %11 = load double, ptr %10, align 8 %12 = call i32 (ptr, double, ...) @printf(ptr noundef @.str, double noundef %11) br label %28 13: ; preds = %2 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %4, align 4 %16 = call ptr @durations2string(ptr noundef %14, i32 noundef %15) store ptr %16, ptr %5, align 8 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %4, align 4 %19 = call double @mean(ptr noundef %17, i32 noundef %18) %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %4, align 4 %22 = call double @median(ptr noundef %20, i32 noundef %21) %23 = load i32, ptr %4, align 4 %24 = load ptr, ptr %5, align 8 %25 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.1, double noundef %19, double noundef %22, i32 noundef %23, ptr noundef %24) %26 = load ptr, ptr %5, align 8 %27 = call i32 @free(ptr noundef %26) br label %28 28: ; preds = %13, %8 ret void } declare i32 @printf(ptr noundef, double noundef, ...) #1 declare ptr @durations2string(ptr noundef, i32 noundef) #1 declare double @mean(ptr noundef, i32 noundef) #1 declare double @median(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/tmp988isosc.c" target datalayout = "e-m:e-p270: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"%f s\0A\00", align 1 @.str.1 = private unnamed_addr constant [46 x i8] c"mean: %f s, median: %f s (repetitions=%d) %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_summary(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp eq i32 %6, 1 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds double, ptr %9, i64 0 %11 = load double, ptr %10, align 8 %12 = call i32 (ptr, double, ...) @printf(ptr noundef @.str, double noundef %11) br label %28 13: ; preds = %2 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %4, align 4 %16 = call ptr @durations2string(ptr noundef %14, i32 noundef %15) store ptr %16, ptr %5, align 8 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %4, align 4 %19 = call double @mean(ptr noundef %17, i32 noundef %18) %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %4, align 4 %22 = call double @median(ptr noundef %20, i32 noundef %21) %23 = load i32, ptr %4, align 4 %24 = load ptr, ptr %5, align 8 %25 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.1, double noundef %19, double noundef %22, i32 noundef %23, ptr noundef %24) %26 = load ptr, ptr %5, align 8 %27 = call i32 @free(ptr noundef %26) br label %28 28: ; preds = %13, %8 ret void } declare i32 @printf(ptr noundef, double noundef, ...) #1 declare ptr @durations2string(ptr noundef, i32 noundef) #1 declare double @mean(ptr noundef, i32 noundef) #1 declare double @median(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/tmpcx5f_2bj.c' source_filename = "/tmp/tmpcx5f_2bj.c" target datalayout = "e-m:e-p270: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 @init_phi_step(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, double noundef %4, double noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca double, align 8 %12 = alloca double, align 8 %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 i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store double %4, ptr %11, align 8 store double %5, ptr %12, align 8 store i32 0, ptr %13, align 4 br label %16 16: ; preds = %81, %6 %17 = load i32, ptr %13, align 4 %18 = load i32, ptr %8, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %84 20: ; preds = %16 store i32 0, ptr %14, align 4 br label %21 21: ; preds = %77, %20 %22 = load i32, ptr %14, align 4 %23 = load i32, ptr %9, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %80 25: ; preds = %21 store i32 0, ptr %15, align 4 br label %26 26: ; preds = %73, %25 %27 = load i32, ptr %15, align 4 %28 = load i32, ptr %10, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %76 30: ; preds = %26 %31 = load double, ptr %11, align 8 %32 = load i32, ptr %13, align 4 %33 = sitofp i32 %32 to double %34 = fsub double %33, 1.500000e+00 %35 = load i32, ptr %8, align 4 %36 = sub nsw i32 %35, 4 %37 = sitofp i32 %36 to double %38 = fdiv double %34, %37 %39 = fsub double 2.500000e-01, %38 %40 = load double, ptr %12, align 8 %41 = fdiv double %39, %40 %42 = call double @tanh(double noundef %41) #2 %43 = fadd double 2.000000e+00, %42 %44 = load i32, ptr %13, align 4 %45 = sitofp i32 %44 to double %46 = fsub double %45, 1.500000e+00 %47 = load i32, ptr %8, align 4 %48 = sub nsw i32 %47, 4 %49 = sitofp i32 %48 to double %50 = fdiv double %46, %49 %51 = fsub double 7.500000e-01, %50 %52 = load double, ptr %12, align 8 %53 = fdiv double %51, %52 %54 = call double @tanh(double noundef %53) #2 %55 = fsub double %43, %54 %56 = fmul double %31, %55 %57 = load ptr, ptr %7, align 8 %58 = load i32, ptr %15, align 4 %59 = load i32, ptr %8, align 4 %60 = mul nsw i32 %58, %59 %61 = load i32, ptr %9, align 4 %62 = mul nsw i32 %60, %61 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds double, ptr %57, i64 %63 %65 = load i32, ptr %14, align 4 %66 = load i32, ptr %8, align 4 %67 = mul nsw i32 %65, %66 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds double, ptr %64, i64 %68 %70 = load i32, ptr %13, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds double, ptr %69, i64 %71 store double %56, ptr %72, align 8 br label %73 73: ; preds = %30 %74 = load i32, ptr %15, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %15, align 4 br label %26, !llvm.loop !6 76: ; preds = %26 br label %77 77: ; preds = %76 %78 = load i32, ptr %14, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %14, align 4 br label %21, !llvm.loop !8 80: ; preds = %21 br label %81 81: ; preds = %80 %82 = load i32, ptr %13, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %13, align 4 br label %16, !llvm.loop !9 84: ; preds = %16 ret void } ; Function Attrs: nounwind declare double @tanh(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 = { 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/tmpcx5f_2bj.c" target datalayout = "e-m:e-p270: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 @init_phi_step(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, double noundef %4, double noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca double, align 8 %12 = alloca double, align 8 %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 i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store double %4, ptr %11, align 8 store double %5, ptr %12, align 8 store i32 0, ptr %13, align 4 %16 = load i32, ptr %13, align 4 %17 = load i32, ptr %8, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph5, label %90 .lr.ph5: ; preds = %6 br label %19 19: ; preds = %.lr.ph5, %84 store i32 0, ptr %14, align 4 %20 = load i32, ptr %14, align 4 %21 = load i32, ptr %9, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph2, label %83 .lr.ph2: ; preds = %19 br label %23 23: ; preds = %.lr.ph2, %77 store i32 0, ptr %15, align 4 %24 = load i32, ptr %15, align 4 %25 = load i32, ptr %10, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %.lr.ph, label %76 .lr.ph: ; preds = %23 br label %27 27: ; preds = %.lr.ph, %70 %28 = load double, ptr %11, align 8 %29 = load i32, ptr %13, align 4 %30 = sitofp i32 %29 to double %31 = fsub double %30, 1.500000e+00 %32 = load i32, ptr %8, align 4 %33 = sub nsw i32 %32, 4 %34 = sitofp i32 %33 to double %35 = fdiv double %31, %34 %36 = fsub double 2.500000e-01, %35 %37 = load double, ptr %12, align 8 %38 = fdiv double %36, %37 %39 = call double @tanh(double noundef %38) #2 %40 = fadd double 2.000000e+00, %39 %41 = load i32, ptr %13, align 4 %42 = sitofp i32 %41 to double %43 = fsub double %42, 1.500000e+00 %44 = load i32, ptr %8, align 4 %45 = sub nsw i32 %44, 4 %46 = sitofp i32 %45 to double %47 = fdiv double %43, %46 %48 = fsub double 7.500000e-01, %47 %49 = load double, ptr %12, align 8 %50 = fdiv double %48, %49 %51 = call double @tanh(double noundef %50) #2 %52 = fsub double %40, %51 %53 = fmul double %28, %52 %54 = load ptr, ptr %7, align 8 %55 = load i32, ptr %15, align 4 %56 = load i32, ptr %8, align 4 %57 = mul nsw i32 %55, %56 %58 = load i32, ptr %9, align 4 %59 = mul nsw i32 %57, %58 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds double, ptr %54, i64 %60 %62 = load i32, ptr %14, align 4 %63 = load i32, ptr %8, align 4 %64 = mul nsw i32 %62, %63 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds double, ptr %61, i64 %65 %67 = load i32, ptr %13, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds double, ptr %66, i64 %68 store double %53, ptr %69, align 8 br label %70 70: ; preds = %27 %71 = load i32, ptr %15, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %15, align 4 %73 = load i32, ptr %15, align 4 %74 = load i32, ptr %10, align 4 %75 = icmp slt i32 %73, %74 br i1 %75, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %70 br label %76 76: ; preds = %._crit_edge, %23 br label %77 77: ; preds = %76 %78 = load i32, ptr %14, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %14, align 4 %80 = load i32, ptr %14, align 4 %81 = load i32, ptr %9, align 4 %82 = icmp slt i32 %80, %81 br i1 %82, label %23, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %77 br label %83 83: ; preds = %._crit_edge3, %19 br label %84 84: ; preds = %83 %85 = load i32, ptr %13, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %13, align 4 %87 = load i32, ptr %13, align 4 %88 = load i32, ptr %8, align 4 %89 = icmp slt i32 %87, %88 br i1 %89, label %19, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %84 br label %90 90: ; preds = %._crit_edge6, %6 ret void } ; Function Attrs: nounwind declare double @tanh(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 = { 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/tmpi7oeoaa0.c' source_filename = "/tmp/tmpi7oeoaa0.c" target datalayout = "e-m:e-p270: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 [21 x i8] c"Error reading stdin!\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"equal\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"not equal\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 i32, align 4 %10 = alloca i32, align 4 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 store i32 0, ptr %10, align 4 %11 = call i32 @read(i32 noundef 0, ptr noundef %8, i32 noundef 4) %12 = sext i32 %11 to i64 %13 = icmp ne i64 %12, 4 br i1 %13, label %14, label %17 14: ; preds = %3 %15 = call i32 @printf(ptr noundef @.str) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %3 %18 = call i32 @read(i32 noundef 0, ptr noundef %9, i32 noundef 4) %19 = sext i32 %18 to i64 %20 = icmp ne i64 %19, 4 br i1 %20, label %21, label %24 21: ; preds = %17 %22 = call i32 @printf(ptr noundef @.str) %23 = call i32 @exit(i32 noundef -1) #3 unreachable 24: ; preds = %17 %25 = load i32, ptr %8, align 4 %26 = icmp ugt i32 %25, 65 br i1 %26, label %27, label %30 27: ; preds = %24 %28 = load i32, ptr %8, align 4 %29 = sub i32 %28, 66 store i32 %29, ptr %10, align 4 br label %30 30: ; preds = %27, %24 %31 = load i32, ptr %9, align 4 %32 = icmp ult i32 %31, 65 br i1 %32, label %33, label %36 33: ; preds = %30 %34 = load i32, ptr %9, align 4 %35 = add i32 %34, 66 store i32 %35, ptr %10, align 4 br label %36 36: ; preds = %33, %30 %37 = load i32, ptr %10, align 4 %38 = icmp eq i32 %37, 0 br i1 %38, label %39, label %41 39: ; preds = %36 %40 = call i32 @printf(ptr noundef @.str.1) br label %43 41: ; preds = %36 %42 = call i32 @printf(ptr noundef @.str.2) br label %43 43: ; preds = %41, %39 ret i32 0 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi7oeoaa0.c" target datalayout = "e-m:e-p270: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 [21 x i8] c"Error reading stdin!\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"equal\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"not equal\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 i32, align 4 %10 = alloca i32, align 4 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 store i32 0, ptr %10, align 4 %11 = call i32 @read(i32 noundef 0, ptr noundef %8, i32 noundef 4) %12 = sext i32 %11 to i64 %13 = icmp ne i64 %12, 4 br i1 %13, label %14, label %17 14: ; preds = %3 %15 = call i32 @printf(ptr noundef @.str) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %3 %18 = call i32 @read(i32 noundef 0, ptr noundef %9, i32 noundef 4) %19 = sext i32 %18 to i64 %20 = icmp ne i64 %19, 4 br i1 %20, label %21, label %24 21: ; preds = %17 %22 = call i32 @printf(ptr noundef @.str) %23 = call i32 @exit(i32 noundef -1) #3 unreachable 24: ; preds = %17 %25 = load i32, ptr %8, align 4 %26 = icmp ugt i32 %25, 65 br i1 %26, label %27, label %30 27: ; preds = %24 %28 = load i32, ptr %8, align 4 %29 = sub i32 %28, 66 store i32 %29, ptr %10, align 4 br label %30 30: ; preds = %27, %24 %31 = load i32, ptr %9, align 4 %32 = icmp ult i32 %31, 65 br i1 %32, label %33, label %36 33: ; preds = %30 %34 = load i32, ptr %9, align 4 %35 = add i32 %34, 66 store i32 %35, ptr %10, align 4 br label %36 36: ; preds = %33, %30 %37 = load i32, ptr %10, align 4 %38 = icmp eq i32 %37, 0 br i1 %38, label %39, label %41 39: ; preds = %36 %40 = call i32 @printf(ptr noundef @.str.1) br label %43 41: ; preds = %36 %42 = call i32 @printf(ptr noundef @.str.2) br label %43 43: ; preds = %41, %39 ret i32 0 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp41x5n89k.c' source_filename = "/tmp/tmp41x5n89k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [57 x i8] c"Usage:\0A\09[some string]\09\09Will print out the given string.\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s \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 i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %28 11: ; preds = %2 store i32 0, ptr %6, align 4 store i32 0, ptr %6, align 4 br label %12 12: ; preds = %23, %11 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %26 16: ; preds = %12 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %21) br label %23 23: ; preds = %16 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %6, align 4 br label %12, !llvm.loop !6 26: ; preds = %12 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %28 28: ; preds = %26, %9 %29 = load i32, ptr %3, align 4 ret i32 %29 } 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/tmp41x5n89k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [57 x i8] c"Usage:\0A\09[some string]\09\09Will print out the given string.\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s \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 i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %30 11: ; preds = %2 store i32 0, ptr %6, align 4 store i32 0, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %28 .lr.ph: ; preds = %11 br label %15 15: ; preds = %.lr.ph, %22 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %20) br label %22 22: ; preds = %15 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %6, align 4 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %11 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %30 30: ; preds = %28, %9 %31 = load i32, ptr %3, align 4 ret i32 %31 } 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/tmpqrcuk2i3.c' source_filename = "/tmp/tmpqrcuk2i3.c" target datalayout = "e-m:e-p270: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 @write_16_le(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %19, %2 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 2 br i1 %8, label %9, label %22 9: ; preds = %6 %10 = load i32, ptr %4, align 4 %11 = and i32 %10, 255 %12 = trunc i32 %11 to i8 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 store i8 %12, ptr %16, align 1 %17 = load i32, ptr %4, align 4 %18 = ashr i32 %17, 8 store i32 %18, ptr %4, align 4 br label %19 19: ; preds = %9 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 br label %6, !llvm.loop !6 22: ; preds = %6 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqrcuk2i3.c" target datalayout = "e-m:e-p270: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 @write_16_le(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp slt i32 %6, 2 br i1 %7, label %.lr.ph, label %23 .lr.ph: ; preds = %2 br label %8 8: ; preds = %.lr.ph, %18 %9 = load i32, ptr %4, align 4 %10 = and i32 %9, 255 %11 = trunc i32 %10 to i8 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 store i8 %11, ptr %15, align 1 %16 = load i32, ptr %4, align 4 %17 = ashr i32 %16, 8 store i32 %17, ptr %4, align 4 br label %18 18: ; preds = %8 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = icmp slt i32 %21, 2 br i1 %22, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %23 23: ; preds = %._crit_edge, %2 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpp45iiuor.c' source_filename = "/tmp/tmpp45iiuor.c" target datalayout = "e-m:e-p270: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/tmpp45iiuor.c" target datalayout = "e-m:e-p270: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/tmpw5flodvb.c' source_filename = "/tmp/tmpw5flodvb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LOG_ERR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [52 x i8] c"fork(2) failed on 1st child in accept_client(): %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 @STDIN_FILENO = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [60 x i8] c"dup2(2) failed when attempting to duplicate onto stdin: %s\0A\00", align 1 @STDOUT_FILENO = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [61 x i8] c"dup2(2) failed when attempting to duplicate onto stdout: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [83 x i8] c"Warning: close(2) error after successfully duplicating it to stdin and stdout: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [90 x i8] c"/home/filipe/dev/interview-questions/knowledge_based/linux_internals/pseudo_terminals/pty\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c"/bin/login\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"execl(2) error: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @accept_client(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i64, align 8 store i32 %0, ptr %3, align 4 %5 = call i64 (...) @fork() store i64 %5, ptr %4, align 8 %6 = icmp slt i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 -1, ptr %2, align 4 br label %86 8: ; preds = %1 %9 = load i64, ptr %4, align 8 %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %16 11: ; preds = %8 %12 = load i32, ptr %3, align 4 %13 = call i64 @close(i32 noundef %12) %14 = load i64, ptr %4, align 8 %15 = call i32 @waitpid(i64 noundef %14, ptr noundef null, i32 noundef 0) store i32 0, ptr %2, align 4 br label %86 16: ; preds = %8 %17 = call i64 (...) @fork() store i64 %17, ptr %4, align 8 %18 = icmp slt i64 %17, 0 br i1 %18, label %19, label %26 19: ; preds = %16 %20 = load i32, ptr @LOG_ERR, align 4 %21 = load i32, ptr @errno, align 4 %22 = call i32 @strerror(i32 noundef %21) %23 = call i32 @syslog(i32 noundef %20, ptr noundef @.str, i32 noundef %22) %24 = load i32, ptr @EXIT_FAILURE, align 4 %25 = call i32 @exit(i32 noundef %24) #3 unreachable 26: ; preds = %16 %27 = load i64, ptr %4, align 8 %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %26 %30 = load i32, ptr @EXIT_SUCCESS, align 4 %31 = call i32 @exit(i32 noundef %30) #3 unreachable 32: ; preds = %26 %33 = load i32, ptr %3, align 4 %34 = load i32, ptr @STDIN_FILENO, align 4 %35 = call i64 @dup2(i32 noundef %33, i32 noundef %34) %36 = icmp slt i64 %35, 0 br i1 %36, label %37, label %44 37: ; preds = %32 %38 = load i32, ptr @LOG_ERR, align 4 %39 = load i32, ptr @errno, align 4 %40 = call i32 @strerror(i32 noundef %39) %41 = call i32 @syslog(i32 noundef %38, ptr noundef @.str.1, i32 noundef %40) %42 = load i32, ptr @EXIT_FAILURE, align 4 %43 = call i32 @exit(i32 noundef %42) #3 unreachable 44: ; preds = %32 %45 = load i32, ptr %3, align 4 %46 = load i32, ptr @STDOUT_FILENO, align 4 %47 = call i64 @dup2(i32 noundef %45, i32 noundef %46) %48 = icmp slt i64 %47, 0 br i1 %48, label %49, label %56 49: ; preds = %44 %50 = load i32, ptr @LOG_ERR, align 4 %51 = load i32, ptr @errno, align 4 %52 = call i32 @strerror(i32 noundef %51) %53 = call i32 @syslog(i32 noundef %50, ptr noundef @.str.2, i32 noundef %52) %54 = load i32, ptr @EXIT_FAILURE, align 4 %55 = call i32 @exit(i32 noundef %54) #3 unreachable 56: ; preds = %44 %57 = load i32, ptr %3, align 4 %58 = load i32, ptr @STDIN_FILENO, align 4 %59 = icmp ne i32 %57, %58 br i1 %59, label %60, label %74 60: ; preds = %56 %61 = load i32, ptr %3, align 4 %62 = load i32, ptr @STDOUT_FILENO, align 4 %63 = icmp ne i32 %61, %62 br i1 %63, label %64, label %74 64: ; preds = %60 %65 = load i32, ptr %3, align 4 %66 = call i64 @close(i32 noundef %65) %67 = icmp slt i64 %66, 0 br i1 %67, label %68, label %73 68: ; preds = %64 %69 = load i32, ptr @LOG_ERR, align 4 %70 = load i32, ptr @errno, align 4 %71 = call i32 @strerror(i32 noundef %70) %72 = call i32 @syslog(i32 noundef %69, ptr noundef @.str.3, i32 noundef %71) br label %73 73: ; preds = %68, %64 br label %74 74: ; preds = %73, %60, %56 %75 = call i64 @execl(ptr noundef @.str.4, ptr noundef @.str.4, ptr noundef @.str.5, ptr noundef null) %76 = icmp slt i64 %75, 0 br i1 %76, label %77, label %84 77: ; preds = %74 %78 = load i32, ptr @LOG_ERR, align 4 %79 = load i32, ptr @errno, align 4 %80 = call i32 @strerror(i32 noundef %79) %81 = call i32 @syslog(i32 noundef %78, ptr noundef @.str.6, i32 noundef %80) %82 = load i32, ptr @EXIT_FAILURE, align 4 %83 = call i32 @exit(i32 noundef %82) #3 unreachable 84: ; preds = %74 %85 = call i32 @assert(i32 noundef 0) br label %86 86: ; preds = %84, %11, %7 %87 = load i32, ptr %2, align 4 ret i32 %87 } declare i64 @fork(...) #1 declare i64 @close(i32 noundef) #1 declare i32 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1 declare i32 @syslog(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @dup2(i32 noundef, i32 noundef) #1 declare i64 @execl(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpw5flodvb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LOG_ERR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [52 x i8] c"fork(2) failed on 1st child in accept_client(): %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 @STDIN_FILENO = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [60 x i8] c"dup2(2) failed when attempting to duplicate onto stdin: %s\0A\00", align 1 @STDOUT_FILENO = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [61 x i8] c"dup2(2) failed when attempting to duplicate onto stdout: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [83 x i8] c"Warning: close(2) error after successfully duplicating it to stdin and stdout: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [90 x i8] c"/home/filipe/dev/interview-questions/knowledge_based/linux_internals/pseudo_terminals/pty\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c"/bin/login\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"execl(2) error: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @accept_client(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i64, align 8 store i32 %0, ptr %3, align 4 %5 = call i64 (...) @fork() store i64 %5, ptr %4, align 8 %6 = icmp slt i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 -1, ptr %2, align 4 br label %86 8: ; preds = %1 %9 = load i64, ptr %4, align 8 %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %16 11: ; preds = %8 %12 = load i32, ptr %3, align 4 %13 = call i64 @close(i32 noundef %12) %14 = load i64, ptr %4, align 8 %15 = call i32 @waitpid(i64 noundef %14, ptr noundef null, i32 noundef 0) store i32 0, ptr %2, align 4 br label %86 16: ; preds = %8 %17 = call i64 (...) @fork() store i64 %17, ptr %4, align 8 %18 = icmp slt i64 %17, 0 br i1 %18, label %19, label %26 19: ; preds = %16 %20 = load i32, ptr @LOG_ERR, align 4 %21 = load i32, ptr @errno, align 4 %22 = call i32 @strerror(i32 noundef %21) %23 = call i32 @syslog(i32 noundef %20, ptr noundef @.str, i32 noundef %22) %24 = load i32, ptr @EXIT_FAILURE, align 4 %25 = call i32 @exit(i32 noundef %24) #3 unreachable 26: ; preds = %16 %27 = load i64, ptr %4, align 8 %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %26 %30 = load i32, ptr @EXIT_SUCCESS, align 4 %31 = call i32 @exit(i32 noundef %30) #3 unreachable 32: ; preds = %26 %33 = load i32, ptr %3, align 4 %34 = load i32, ptr @STDIN_FILENO, align 4 %35 = call i64 @dup2(i32 noundef %33, i32 noundef %34) %36 = icmp slt i64 %35, 0 br i1 %36, label %37, label %44 37: ; preds = %32 %38 = load i32, ptr @LOG_ERR, align 4 %39 = load i32, ptr @errno, align 4 %40 = call i32 @strerror(i32 noundef %39) %41 = call i32 @syslog(i32 noundef %38, ptr noundef @.str.1, i32 noundef %40) %42 = load i32, ptr @EXIT_FAILURE, align 4 %43 = call i32 @exit(i32 noundef %42) #3 unreachable 44: ; preds = %32 %45 = load i32, ptr %3, align 4 %46 = load i32, ptr @STDOUT_FILENO, align 4 %47 = call i64 @dup2(i32 noundef %45, i32 noundef %46) %48 = icmp slt i64 %47, 0 br i1 %48, label %49, label %56 49: ; preds = %44 %50 = load i32, ptr @LOG_ERR, align 4 %51 = load i32, ptr @errno, align 4 %52 = call i32 @strerror(i32 noundef %51) %53 = call i32 @syslog(i32 noundef %50, ptr noundef @.str.2, i32 noundef %52) %54 = load i32, ptr @EXIT_FAILURE, align 4 %55 = call i32 @exit(i32 noundef %54) #3 unreachable 56: ; preds = %44 %57 = load i32, ptr %3, align 4 %58 = load i32, ptr @STDIN_FILENO, align 4 %59 = icmp ne i32 %57, %58 br i1 %59, label %60, label %74 60: ; preds = %56 %61 = load i32, ptr %3, align 4 %62 = load i32, ptr @STDOUT_FILENO, align 4 %63 = icmp ne i32 %61, %62 br i1 %63, label %64, label %74 64: ; preds = %60 %65 = load i32, ptr %3, align 4 %66 = call i64 @close(i32 noundef %65) %67 = icmp slt i64 %66, 0 br i1 %67, label %68, label %73 68: ; preds = %64 %69 = load i32, ptr @LOG_ERR, align 4 %70 = load i32, ptr @errno, align 4 %71 = call i32 @strerror(i32 noundef %70) %72 = call i32 @syslog(i32 noundef %69, ptr noundef @.str.3, i32 noundef %71) br label %73 73: ; preds = %68, %64 br label %74 74: ; preds = %73, %60, %56 %75 = call i64 @execl(ptr noundef @.str.4, ptr noundef @.str.4, ptr noundef @.str.5, ptr noundef null) %76 = icmp slt i64 %75, 0 br i1 %76, label %77, label %84 77: ; preds = %74 %78 = load i32, ptr @LOG_ERR, align 4 %79 = load i32, ptr @errno, align 4 %80 = call i32 @strerror(i32 noundef %79) %81 = call i32 @syslog(i32 noundef %78, ptr noundef @.str.6, i32 noundef %80) %82 = load i32, ptr @EXIT_FAILURE, align 4 %83 = call i32 @exit(i32 noundef %82) #3 unreachable 84: ; preds = %74 %85 = call i32 @assert(i32 noundef 0) br label %86 86: ; preds = %84, %11, %7 %87 = load i32, ptr %2, align 4 ret i32 %87 } declare i64 @fork(...) #1 declare i64 @close(i32 noundef) #1 declare i32 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1 declare i32 @syslog(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @dup2(i32 noundef, i32 noundef) #1 declare i64 @execl(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpeif9kd9o.c' source_filename = "/tmp/tmpeif9kd9o.c" target datalayout = "e-m:e-p270: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/tmpeif9kd9o.c" target datalayout = "e-m:e-p270: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/tmp9njdw7yq.c' source_filename = "/tmp/tmp9njdw7yq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c" uart - Use UART connection\0A\00", align 1 @.str.1 = private unnamed_addr constant [43 x i8] c" uart:device[:baud[:flow]] UART server\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c" uart:device[:baud[:flow]] UART client\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @uart_usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9njdw7yq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c" uart - Use UART connection\0A\00", align 1 @.str.1 = private unnamed_addr constant [43 x i8] c" uart:device[:baud[:flow]] UART server\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c" uart:device[:baud[:flow]] UART client\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @uart_usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpljhxop2k.c' source_filename = "/tmp/tmpljhxop2k.c" target datalayout = "e-m:e-p270: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"%s\0A> \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [44 x i8] c"I'm sorry, but that's not a valid input :(\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @promptUserValue(ptr noundef %0, ptr 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 %8 = 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 %9 = load ptr, ptr %5, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9) %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr @stdin, align 4 %13 = call i32 @fgets(ptr noundef %11, i32 noundef 100, i32 noundef %12) %14 = load i32, ptr %6, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %3 %17 = load ptr, ptr %4, align 8 %18 = call i32 @validString(ptr noundef %17, i32 noundef 1) store i32 %18, ptr %7, align 4 br label %22 19: ; preds = %3 %20 = load ptr, ptr %4, align 8 %21 = call i32 @validString(ptr noundef %20, i32 noundef 0) store i32 %21, ptr %7, align 4 br label %22 22: ; preds = %19, %16 %23 = load i32, ptr %7, align 4 %24 = icmp ne i32 %23, 0 br i1 %24, label %28, label %25 25: ; preds = %22 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %27 = call i32 @exit(i32 noundef 1) #3 unreachable 28: ; preds = %22 %29 = load ptr, ptr %4, align 8 %30 = call i32 @strlen(ptr noundef %29) store i32 %30, ptr %8, align 4 %31 = load i32, ptr %8, align 4 %32 = icmp sgt i32 %31, 0 br i1 %32, label %33, label %49 33: ; preds = %28 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %8, align 4 %36 = sub nsw i32 %35, 1 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %34, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 10 br i1 %41, label %42, label %48 42: ; preds = %33 %43 = load ptr, ptr %4, align 8 %44 = load i32, ptr %8, align 4 %45 = sub nsw i32 %44, 1 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %43, i64 %46 store i8 0, ptr %47, align 1 br label %48 48: ; preds = %42, %33 br label %49 49: ; preds = %48, %28 br label %50 50: ; preds = %49 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @validString(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 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" } 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/tmpljhxop2k.c" target datalayout = "e-m:e-p270: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"%s\0A> \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [44 x i8] c"I'm sorry, but that's not a valid input :(\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @promptUserValue(ptr noundef %0, ptr 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 %8 = 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 %9 = load ptr, ptr %5, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9) %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr @stdin, align 4 %13 = call i32 @fgets(ptr noundef %11, i32 noundef 100, i32 noundef %12) %14 = load i32, ptr %6, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %3 %17 = load ptr, ptr %4, align 8 %18 = call i32 @validString(ptr noundef %17, i32 noundef 1) store i32 %18, ptr %7, align 4 br label %22 19: ; preds = %3 %20 = load ptr, ptr %4, align 8 %21 = call i32 @validString(ptr noundef %20, i32 noundef 0) store i32 %21, ptr %7, align 4 br label %22 22: ; preds = %19, %16 %23 = load i32, ptr %7, align 4 %24 = icmp ne i32 %23, 0 br i1 %24, label %28, label %25 25: ; preds = %22 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %27 = call i32 @exit(i32 noundef 1) #3 unreachable 28: ; preds = %22 %29 = load ptr, ptr %4, align 8 %30 = call i32 @strlen(ptr noundef %29) store i32 %30, ptr %8, align 4 %31 = load i32, ptr %8, align 4 %32 = icmp sgt i32 %31, 0 br i1 %32, label %33, label %49 33: ; preds = %28 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %8, align 4 %36 = sub nsw i32 %35, 1 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %34, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 10 br i1 %41, label %42, label %48 42: ; preds = %33 %43 = load ptr, ptr %4, align 8 %44 = load i32, ptr %8, align 4 %45 = sub nsw i32 %44, 1 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %43, i64 %46 store i8 0, ptr %47, align 1 br label %48 48: ; preds = %42, %33 br label %49 49: ; preds = %48, %28 br label %50 50: ; preds = %49 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @validString(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 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" } 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/tmp1mh157v5.c' source_filename = "/tmp/tmp1mh157v5.c" target datalayout = "e-m:e-p270: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/tmp1mh157v5.c" target datalayout = "e-m:e-p270: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/tmpl_iqb0r0.c' source_filename = "/tmp/tmpl_iqb0r0.c" target datalayout = "e-m:e-p270: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/tmpl_iqb0r0.c" target datalayout = "e-m:e-p270: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/tmp36fd24_3.c' source_filename = "/tmp/tmp36fd24_3.c" target datalayout = "e-m:e-p270: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.timeval = type { double, i64 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"Usage: ./exec X (Y-optional)\00", align 1 @.str.1 = private unnamed_addr constant [56 x i8] c"GaussSeidelSOR X %d Y %d Iter %d Time %lf midpoint %lf\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 ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca %struct.timeval, align 8 %12 = alloca %struct.timeval, align 8 %13 = alloca double, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store double 0.000000e+00, ptr %13, align 8 store i32 0, ptr %15, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %17, 2 br i1 %18, label %19, label %23 19: ; preds = %2 %20 = load i32, ptr @stderr, align 4 %21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str) %22 = call i32 @exit(i32 noundef -1) #4 unreachable 23: ; preds = %2 %24 = load i32, ptr %4, align 4 %25 = icmp eq i32 %24, 2 br i1 %25, label %26, label %32 26: ; preds = %23 %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 @atoi(ptr noundef %29) store i32 %30, ptr %6, align 4 %31 = load i32, ptr %6, align 4 store i32 %31, ptr %7, align 4 br label %41 32: ; preds = %23 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 1 %35 = load ptr, ptr %34, align 8 %36 = call i32 @atoi(ptr noundef %35) store i32 %36, ptr %6, align 4 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 2 %39 = load ptr, ptr %38, align 8 %40 = call i32 @atoi(ptr noundef %39) store i32 %40, ptr %7, align 4 br label %41 41: ; preds = %32, %26 br label %42 42: ; preds = %41 %43 = load i32, ptr %6, align 4 %44 = load i32, ptr %7, align 4 %45 = call ptr @allocate2d(i32 noundef %43, i32 noundef %44) store ptr %45, ptr %8, align 8 %46 = load i32, ptr %6, align 4 %47 = load i32, ptr %7, align 4 %48 = call ptr @allocate2d(i32 noundef %46, i32 noundef %47) store ptr %48, ptr %9, align 8 %49 = load ptr, ptr %8, align 8 %50 = load i32, ptr %6, align 4 %51 = load i32, ptr %7, align 4 %52 = call i32 @init2d(ptr noundef %49, i32 noundef %50, i32 noundef %51) %53 = load ptr, ptr %9, align 8 %54 = load i32, ptr %6, align 4 %55 = load i32, ptr %7, align 4 %56 = call i32 @init2d(ptr noundef %53, i32 noundef %54, i32 noundef %55) %57 = load i32, ptr %6, align 4 %58 = sitofp i32 %57 to double %59 = fdiv double 3.140000e+00, %58 %60 = call i32 @sin(double noundef %59) %61 = add nsw i32 1, %60 %62 = sitofp i32 %61 to double %63 = fdiv double 2.000000e+00, %62 store double %63, ptr %16, align 8 store i32 0, ptr %14, align 4 br label %64 64: ; preds = %95, %42 %65 = load i32, ptr %14, align 4 %66 = icmp slt i32 %65, 256 br i1 %66, label %67, label %98 67: ; preds = %64 %68 = load ptr, ptr %9, align 8 store ptr %68, ptr %10, align 8 %69 = load ptr, ptr %8, align 8 store ptr %69, ptr %9, align 8 %70 = load ptr, ptr %10, align 8 store ptr %70, ptr %8, align 8 %71 = call i32 @gettimeofday(ptr noundef %11, ptr noundef null) %72 = load ptr, ptr %9, align 8 %73 = load ptr, ptr %8, align 8 %74 = load i32, ptr %6, align 4 %75 = sub nsw i32 %74, 1 %76 = load i32, ptr %7, align 4 %77 = sub nsw i32 %76, 1 %78 = load double, ptr %16, align 8 %79 = call i32 @GaussSeidel(ptr noundef %72, ptr noundef %73, i32 noundef 1, i32 noundef %75, i32 noundef 1, i32 noundef %77, double noundef %78) %80 = call i32 @gettimeofday(ptr noundef %12, ptr noundef null) %81 = getelementptr inbounds %struct.timeval, ptr %12, i32 0, i32 1 %82 = load i64, ptr %81, align 8 %83 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 1 %84 = load i64, ptr %83, align 8 %85 = sub nsw i64 %82, %84 %86 = sitofp i64 %85 to double %87 = getelementptr inbounds %struct.timeval, ptr %12, i32 0, i32 0 %88 = load double, ptr %87, align 8 %89 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 0 %90 = load double, ptr %89, align 8 %91 = fsub double %88, %90 %92 = call double @llvm.fmuladd.f64(double %91, double 0x3EB0C6F7A0B5ED8D, double %86) %93 = load double, ptr %13, align 8 %94 = fadd double %93, %92 store double %94, ptr %13, align 8 br label %95 95: ; preds = %67 %96 = load i32, ptr %14, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %14, align 4 br label %64, !llvm.loop !6 98: ; preds = %64 %99 = load i32, ptr %6, align 4 %100 = load i32, ptr %7, align 4 %101 = load i32, ptr %14, align 4 %102 = sub nsw i32 %101, 1 %103 = load double, ptr %13, align 8 %104 = load ptr, ptr %8, align 8 %105 = load i32, ptr %6, align 4 %106 = sdiv i32 %105, 2 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds ptr, ptr %104, i64 %107 %109 = load ptr, ptr %108, align 8 %110 = load i32, ptr %7, align 4 %111 = sdiv i32 %110, 2 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds double, ptr %109, i64 %112 %114 = load double, ptr %113, align 8 %115 = call i32 @printf(ptr noundef @.str.1, i32 noundef %99, i32 noundef %100, i32 noundef %102, double noundef %103, double noundef %114) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare ptr @allocate2d(i32 noundef, i32 noundef) #1 declare i32 @init2d(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sin(double noundef) #1 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @GaussSeidel(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { 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/tmp36fd24_3.c" target datalayout = "e-m:e-p270: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.timeval = type { double, i64 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"Usage: ./exec X (Y-optional)\00", align 1 @.str.1 = private unnamed_addr constant [56 x i8] c"GaussSeidelSOR X %d Y %d Iter %d Time %lf midpoint %lf\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 ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca %struct.timeval, align 8 %12 = alloca %struct.timeval, align 8 %13 = alloca double, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store double 0.000000e+00, ptr %13, align 8 store i32 0, ptr %15, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %17, 2 br i1 %18, label %19, label %23 19: ; preds = %2 %20 = load i32, ptr @stderr, align 4 %21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str) %22 = call i32 @exit(i32 noundef -1) #4 unreachable 23: ; preds = %2 %24 = load i32, ptr %4, align 4 %25 = icmp eq i32 %24, 2 br i1 %25, label %26, label %32 26: ; preds = %23 %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 @atoi(ptr noundef %29) store i32 %30, ptr %6, align 4 %31 = load i32, ptr %6, align 4 store i32 %31, ptr %7, align 4 br label %41 32: ; preds = %23 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 1 %35 = load ptr, ptr %34, align 8 %36 = call i32 @atoi(ptr noundef %35) store i32 %36, ptr %6, align 4 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 2 %39 = load ptr, ptr %38, align 8 %40 = call i32 @atoi(ptr noundef %39) store i32 %40, ptr %7, align 4 br label %41 41: ; preds = %32, %26 br label %42 42: ; preds = %41 %43 = load i32, ptr %6, align 4 %44 = load i32, ptr %7, align 4 %45 = call ptr @allocate2d(i32 noundef %43, i32 noundef %44) store ptr %45, ptr %8, align 8 %46 = load i32, ptr %6, align 4 %47 = load i32, ptr %7, align 4 %48 = call ptr @allocate2d(i32 noundef %46, i32 noundef %47) store ptr %48, ptr %9, align 8 %49 = load ptr, ptr %8, align 8 %50 = load i32, ptr %6, align 4 %51 = load i32, ptr %7, align 4 %52 = call i32 @init2d(ptr noundef %49, i32 noundef %50, i32 noundef %51) %53 = load ptr, ptr %9, align 8 %54 = load i32, ptr %6, align 4 %55 = load i32, ptr %7, align 4 %56 = call i32 @init2d(ptr noundef %53, i32 noundef %54, i32 noundef %55) %57 = load i32, ptr %6, align 4 %58 = sitofp i32 %57 to double %59 = fdiv double 3.140000e+00, %58 %60 = call i32 @sin(double noundef %59) %61 = add nsw i32 1, %60 %62 = sitofp i32 %61 to double %63 = fdiv double 2.000000e+00, %62 store double %63, ptr %16, align 8 store i32 0, ptr %14, align 4 %64 = load i32, ptr %14, align 4 %65 = icmp slt i32 %64, 256 br i1 %65, label %.lr.ph, label %99 .lr.ph: ; preds = %42 br label %66 66: ; preds = %.lr.ph, %94 %67 = load ptr, ptr %9, align 8 store ptr %67, ptr %10, align 8 %68 = load ptr, ptr %8, align 8 store ptr %68, ptr %9, align 8 %69 = load ptr, ptr %10, align 8 store ptr %69, ptr %8, align 8 %70 = call i32 @gettimeofday(ptr noundef %11, ptr noundef null) %71 = load ptr, ptr %9, align 8 %72 = load ptr, ptr %8, align 8 %73 = load i32, ptr %6, align 4 %74 = sub nsw i32 %73, 1 %75 = load i32, ptr %7, align 4 %76 = sub nsw i32 %75, 1 %77 = load double, ptr %16, align 8 %78 = call i32 @GaussSeidel(ptr noundef %71, ptr noundef %72, i32 noundef 1, i32 noundef %74, i32 noundef 1, i32 noundef %76, double noundef %77) %79 = call i32 @gettimeofday(ptr noundef %12, ptr noundef null) %80 = getelementptr inbounds %struct.timeval, ptr %12, i32 0, i32 1 %81 = load i64, ptr %80, align 8 %82 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 1 %83 = load i64, ptr %82, align 8 %84 = sub nsw i64 %81, %83 %85 = sitofp i64 %84 to double %86 = getelementptr inbounds %struct.timeval, ptr %12, i32 0, i32 0 %87 = load double, ptr %86, align 8 %88 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 0 %89 = load double, ptr %88, align 8 %90 = fsub double %87, %89 %91 = call double @llvm.fmuladd.f64(double %90, double 0x3EB0C6F7A0B5ED8D, double %85) %92 = load double, ptr %13, align 8 %93 = fadd double %92, %91 store double %93, ptr %13, align 8 br label %94 94: ; preds = %66 %95 = load i32, ptr %14, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %14, align 4 %97 = load i32, ptr %14, align 4 %98 = icmp slt i32 %97, 256 br i1 %98, label %66, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %94 br label %99 99: ; preds = %._crit_edge, %42 %100 = load i32, ptr %6, align 4 %101 = load i32, ptr %7, align 4 %102 = load i32, ptr %14, align 4 %103 = sub nsw i32 %102, 1 %104 = load double, ptr %13, align 8 %105 = load ptr, ptr %8, align 8 %106 = load i32, ptr %6, align 4 %107 = sdiv i32 %106, 2 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds ptr, ptr %105, i64 %108 %110 = load ptr, ptr %109, align 8 %111 = load i32, ptr %7, align 4 %112 = sdiv i32 %111, 2 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds double, ptr %110, i64 %113 %115 = load double, ptr %114, align 8 %116 = call i32 @printf(ptr noundef @.str.1, i32 noundef %100, i32 noundef %101, i32 noundef %103, double noundef %104, double noundef %115) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare ptr @allocate2d(i32 noundef, i32 noundef) #1 declare i32 @init2d(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sin(double noundef) #1 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @GaussSeidel(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { 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/tmpey9pne1s.c' source_filename = "/tmp/tmpey9pne1s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @f_prime4(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = fsub double %3, 1.000000e+00 %5 = call i32 @fabs(double noundef %4) %6 = call i32 @pow(i32 noundef %5, double noundef 0xBFE5555555555555) %7 = mul nsw i32 0, %6 %8 = sitofp i32 %7 to double ret double %8 } declare i32 @pow(i32 noundef, double noundef) #1 declare i32 @fabs(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpey9pne1s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @f_prime4(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = fsub double %3, 1.000000e+00 %5 = call i32 @fabs(double noundef %4) %6 = call i32 @pow(i32 noundef %5, double noundef 0xBFE5555555555555) %7 = mul nsw i32 0, %6 %8 = sitofp i32 %7 to double ret double %8 } declare i32 @pow(i32 noundef, double noundef) #1 declare i32 @fabs(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa5jl36aa.c' source_filename = "/tmp/tmpa5jl36aa.c" target datalayout = "e-m:e-p270: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 @sortedListToBST(ptr noundef null) ret i32 0 } declare i32 @sortedListToBST(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/tmpa5jl36aa.c" target datalayout = "e-m:e-p270: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 @sortedListToBST(ptr noundef null) ret i32 0 } declare i32 @sortedListToBST(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/tmp2tuxeidc.c' source_filename = "/tmp/tmp2tuxeidc.c" target datalayout = "e-m:e-p270: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_isgraph.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isgraph should be 0 for 0xab\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isgraph_0xab() #0 { %1 = call i64 @isgraph(i32 noundef 171) %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 860, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isgraph(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/tmp2tuxeidc.c" target datalayout = "e-m:e-p270: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_isgraph.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isgraph should be 0 for 0xab\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isgraph_0xab() #0 { %1 = call i64 @isgraph(i32 noundef 171) %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 860, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isgraph(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/tmp6w8dwrwd.c' source_filename = "/tmp/tmp6w8dwrwd.c" target datalayout = "e-m:e-p270: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/tmp6w8dwrwd.c" target datalayout = "e-m:e-p270: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/tmp55trlf4u.c' source_filename = "/tmp/tmp55trlf4u.c" target datalayout = "e-m:e-p270: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 [52 x i8] c"old approach total deviation: %d max deviation: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [52 x i8] c"new approach total deviation: %d max deviation: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @evaluate_randint() #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 [100 x i32], align 16 store i32 1000000000, ptr %6, align 4 %8 = call i32 @time(ptr noundef null) %9 = call i32 @srand(i32 noundef %8) store i32 0, ptr %4, align 4 br label %10 10: ; preds = %17, %0 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 100 br i1 %12, label %13, label %20 13: ; preds = %10 %14 = load i32, ptr %4, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %15 store i32 0, ptr %16, align 4 br label %17 17: ; preds = %13 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %4, align 4 br label %10, !llvm.loop !6 20: ; preds = %10 store i32 0, ptr %4, align 4 br label %21 21: ; preds = %36, %20 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %6, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %39 25: ; preds = %21 %26 = call i32 (...) @rand() %27 = srem i32 %26, 100 store i32 %27, ptr %5, align 4 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %29 %31 = load i32, ptr %30, align 4 %32 = add nsw i32 %31, 1 %33 = load i32, ptr %5, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %34 store i32 %32, ptr %35, align 4 br label %36 36: ; preds = %25 %37 = load i32, ptr %4, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %4, align 4 br label %21, !llvm.loop !8 39: ; preds = %21 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %4, align 4 br label %40 40: ; preds = %61, %39 %41 = load i32, ptr %4, align 4 %42 = icmp slt i32 %41, 100 br i1 %42, label %43, label %64 43: ; preds = %40 %44 = load i32, ptr %4, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %45 %47 = load i32, ptr %46, align 4 %48 = load i32, ptr %6, align 4 %49 = sdiv i32 %48, 100 %50 = sub nsw i32 %47, %49 %51 = call i32 @abs(i32 noundef %50) #3 store i32 %51, ptr %3, align 4 %52 = load i32, ptr %3, align 4 %53 = load i32, ptr %2, align 4 %54 = icmp sgt i32 %52, %53 br i1 %54, label %55, label %57 55: ; preds = %43 %56 = load i32, ptr %3, align 4 store i32 %56, ptr %2, align 4 br label %57 57: ; preds = %55, %43 %58 = load i32, ptr %1, align 4 %59 = load i32, ptr %3, align 4 %60 = add nsw i32 %58, %59 store i32 %60, ptr %1, align 4 br label %61 61: ; preds = %57 %62 = load i32, ptr %4, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %4, align 4 br label %40, !llvm.loop !9 64: ; preds = %40 %65 = load i32, ptr %1, align 4 %66 = load i32, ptr %2, align 4 %67 = call i32 @printf(ptr noundef @.str, i32 noundef %65, i32 noundef %66) %68 = call i32 (...) @time_seed() %69 = call i32 @srand(i32 noundef %68) store i32 0, ptr %4, align 4 br label %70 70: ; preds = %77, %64 %71 = load i32, ptr %4, align 4 %72 = icmp slt i32 %71, 100 br i1 %72, label %73, label %80 73: ; preds = %70 %74 = load i32, ptr %4, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %75 store i32 0, ptr %76, align 4 br label %77 77: ; preds = %73 %78 = load i32, ptr %4, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %4, align 4 br label %70, !llvm.loop !10 80: ; preds = %70 store i32 0, ptr %4, align 4 br label %81 81: ; preds = %95, %80 %82 = load i32, ptr %4, align 4 %83 = load i32, ptr %6, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %85, label %98 85: ; preds = %81 %86 = call i32 @randint(i32 noundef 100) store i32 %86, ptr %5, align 4 %87 = load i32, ptr %5, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %88 %90 = load i32, ptr %89, align 4 %91 = add nsw i32 %90, 1 %92 = load i32, ptr %5, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %93 store i32 %91, ptr %94, align 4 br label %95 95: ; preds = %85 %96 = load i32, ptr %4, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %4, align 4 br label %81, !llvm.loop !11 98: ; preds = %81 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 br label %99 99: ; preds = %120, %98 %100 = load i32, ptr %4, align 4 %101 = icmp slt i32 %100, 100 br i1 %101, label %102, label %123 102: ; preds = %99 %103 = load i32, ptr %4, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %104 %106 = load i32, ptr %105, align 4 %107 = load i32, ptr %6, align 4 %108 = sdiv i32 %107, 100 %109 = sub nsw i32 %106, %108 %110 = call i32 @abs(i32 noundef %109) #3 store i32 %110, ptr %3, align 4 %111 = load i32, ptr %3, align 4 %112 = load i32, ptr %2, align 4 %113 = icmp sgt i32 %111, %112 br i1 %113, label %114, label %116 114: ; preds = %102 %115 = load i32, ptr %3, align 4 store i32 %115, ptr %2, align 4 br label %116 116: ; preds = %114, %102 %117 = load i32, ptr %1, align 4 %118 = load i32, ptr %3, align 4 %119 = add nsw i32 %117, %118 store i32 %119, ptr %1, align 4 br label %120 120: ; preds = %116 %121 = load i32, ptr %4, align 4 %122 = add nsw i32 %121, 1 store i32 %122, ptr %4, align 4 br label %99, !llvm.loop !12 123: ; preds = %99 %124 = load i32, ptr %1, align 4 %125 = load i32, ptr %2, align 4 %126 = call i32 @printf(ptr noundef @.str.1, i32 noundef %124, i32 noundef %125) ret void } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @time_seed(...) #1 declare i32 @randint(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-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 willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp55trlf4u.c" target datalayout = "e-m:e-p270: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 [52 x i8] c"old approach total deviation: %d max deviation: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [52 x i8] c"new approach total deviation: %d max deviation: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @evaluate_randint() #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 [100 x i32], align 16 store i32 1000000000, ptr %6, align 4 %8 = call i32 @time(ptr noundef null) %9 = call i32 @srand(i32 noundef %8) store i32 0, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 100 br i1 %11, label %.lr.ph, label %21 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %16 %13 = load i32, ptr %4, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %14 store i32 0, ptr %15, align 4 br label %16 16: ; preds = %12 %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 slt i32 %19, 100 br i1 %20, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %0 store i32 0, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %6, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %.lr.ph2, label %42 .lr.ph2: ; preds = %21 br label %25 25: ; preds = %.lr.ph2, %36 %26 = call i32 (...) @rand() %27 = srem i32 %26, 100 store i32 %27, ptr %5, align 4 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %29 %31 = load i32, ptr %30, align 4 %32 = add nsw i32 %31, 1 %33 = load i32, ptr %5, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %34 store i32 %32, ptr %35, align 4 br label %36 36: ; preds = %25 %37 = load i32, ptr %4, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %4, align 4 %39 = load i32, ptr %4, align 4 %40 = load i32, ptr %6, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %25, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %36 br label %42 42: ; preds = %._crit_edge3, %21 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %4, align 4 %43 = load i32, ptr %4, align 4 %44 = icmp slt i32 %43, 100 br i1 %44, label %.lr.ph5, label %68 .lr.ph5: ; preds = %42 br label %45 45: ; preds = %.lr.ph5, %63 %46 = load i32, ptr %4, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %47 %49 = load i32, ptr %48, align 4 %50 = load i32, ptr %6, align 4 %51 = sdiv i32 %50, 100 %52 = sub nsw i32 %49, %51 %53 = call i32 @abs(i32 noundef %52) #3 store i32 %53, ptr %3, align 4 %54 = load i32, ptr %3, align 4 %55 = load i32, ptr %2, align 4 %56 = icmp sgt i32 %54, %55 br i1 %56, label %57, label %59 57: ; preds = %45 %58 = load i32, ptr %3, align 4 store i32 %58, ptr %2, align 4 br label %59 59: ; preds = %57, %45 %60 = load i32, ptr %1, align 4 %61 = load i32, ptr %3, align 4 %62 = add nsw i32 %60, %61 store i32 %62, ptr %1, align 4 br label %63 63: ; preds = %59 %64 = load i32, ptr %4, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %4, align 4 %66 = load i32, ptr %4, align 4 %67 = icmp slt i32 %66, 100 br i1 %67, label %45, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %63 br label %68 68: ; preds = %._crit_edge6, %42 %69 = load i32, ptr %1, align 4 %70 = load i32, ptr %2, align 4 %71 = call i32 @printf(ptr noundef @.str, i32 noundef %69, i32 noundef %70) %72 = call i32 (...) @time_seed() %73 = call i32 @srand(i32 noundef %72) store i32 0, ptr %4, align 4 %74 = load i32, ptr %4, align 4 %75 = icmp slt i32 %74, 100 br i1 %75, label %.lr.ph8, label %85 .lr.ph8: ; preds = %68 br label %76 76: ; preds = %.lr.ph8, %80 %77 = load i32, ptr %4, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %78 store i32 0, ptr %79, align 4 br label %80 80: ; preds = %76 %81 = load i32, ptr %4, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %4, align 4 %83 = load i32, ptr %4, align 4 %84 = icmp slt i32 %83, 100 br i1 %84, label %76, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %80 br label %85 85: ; preds = %._crit_edge9, %68 store i32 0, ptr %4, align 4 %86 = load i32, ptr %4, align 4 %87 = load i32, ptr %6, align 4 %88 = icmp slt i32 %86, %87 br i1 %88, label %.lr.ph11, label %105 .lr.ph11: ; preds = %85 br label %89 89: ; preds = %.lr.ph11, %99 %90 = call i32 @randint(i32 noundef 100) store i32 %90, ptr %5, align 4 %91 = load i32, ptr %5, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %92 %94 = load i32, ptr %93, align 4 %95 = add nsw i32 %94, 1 %96 = load i32, ptr %5, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %97 store i32 %95, ptr %98, align 4 br label %99 99: ; preds = %89 %100 = load i32, ptr %4, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %4, align 4 %102 = load i32, ptr %4, align 4 %103 = load i32, ptr %6, align 4 %104 = icmp slt i32 %102, %103 br i1 %104, label %89, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %99 br label %105 105: ; preds = %._crit_edge12, %85 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 %106 = load i32, ptr %4, align 4 %107 = icmp slt i32 %106, 100 br i1 %107, label %.lr.ph14, label %131 .lr.ph14: ; preds = %105 br label %108 108: ; preds = %.lr.ph14, %126 %109 = load i32, ptr %4, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %110 %112 = load i32, ptr %111, align 4 %113 = load i32, ptr %6, align 4 %114 = sdiv i32 %113, 100 %115 = sub nsw i32 %112, %114 %116 = call i32 @abs(i32 noundef %115) #3 store i32 %116, ptr %3, align 4 %117 = load i32, ptr %3, align 4 %118 = load i32, ptr %2, align 4 %119 = icmp sgt i32 %117, %118 br i1 %119, label %120, label %122 120: ; preds = %108 %121 = load i32, ptr %3, align 4 store i32 %121, ptr %2, align 4 br label %122 122: ; preds = %120, %108 %123 = load i32, ptr %1, align 4 %124 = load i32, ptr %3, align 4 %125 = add nsw i32 %123, %124 store i32 %125, ptr %1, align 4 br label %126 126: ; preds = %122 %127 = load i32, ptr %4, align 4 %128 = add nsw i32 %127, 1 store i32 %128, ptr %4, align 4 %129 = load i32, ptr %4, align 4 %130 = icmp slt i32 %129, 100 br i1 %130, label %108, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %126 br label %131 131: ; preds = %._crit_edge15, %105 %132 = load i32, ptr %1, align 4 %133 = load i32, ptr %2, align 4 %134 = call i32 @printf(ptr noundef @.str.1, i32 noundef %132, i32 noundef %133) ret void } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @time_seed(...) #1 declare i32 @randint(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-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 willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmp9xhq1zvc.c' source_filename = "/tmp/tmp9xhq1zvc.c" target datalayout = "e-m:e-p270: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/tmp9xhq1zvc.c" target datalayout = "e-m:e-p270: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/tmpi4v8dlvu.c' source_filename = "/tmp/tmpi4v8dlvu.c" target datalayout = "e-m:e-p270: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 @threads_new_rt(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @threads_new_rt_prio(ptr noundef %7, ptr noundef %8, ptr noundef %9, i32 noundef 0) ret i32 %10 } declare i32 @threads_new_rt_prio(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi4v8dlvu.c" target datalayout = "e-m:e-p270: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 @threads_new_rt(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @threads_new_rt_prio(ptr noundef %7, ptr noundef %8, ptr noundef %9, i32 noundef 0) ret i32 %10 } declare i32 @threads_new_rt_prio(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0tcf434e.c' source_filename = "/tmp/tmp0tcf434e.c" target datalayout = "e-m:e-p270: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/tmp0tcf434e.c" target datalayout = "e-m:e-p270: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/tmp3sr4r_cj.c' source_filename = "/tmp/tmp3sr4r_cj.c" target datalayout = "e-m:e-p270: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 @reduce(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i64 0, ptr %9, align 8 br label %10 10: ; preds = %21, %4 %11 = load i64, ptr %9, align 8 %12 = load i64, ptr %7, align 8 %13 = icmp ult i64 %11, %12 br i1 %13, label %14, label %24 14: ; preds = %10 %15 = load ptr, ptr %8, align 8 %16 = load ptr, ptr %6, align 8 %17 = load ptr, ptr %5, align 8 %18 = load i64, ptr %9, align 8 %19 = getelementptr inbounds ptr, ptr %17, i64 %18 %20 = load ptr, ptr %19, align 8 call void %15(ptr noundef %16, ptr noundef %20) br label %21 21: ; preds = %14 %22 = load i64, ptr %9, align 8 %23 = add i64 %22, 1 store i64 %23, ptr %9, align 8 br label %10, !llvm.loop !6 24: ; preds = %10 %25 = load i64, ptr %9, align 8 ret i64 %25 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp3sr4r_cj.c" target datalayout = "e-m:e-p270: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 @reduce(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i64 0, ptr %9, align 8 %10 = load i64, ptr %9, align 8 %11 = load i64, ptr %7, align 8 %12 = icmp ult i64 %10, %11 br i1 %12, label %.lr.ph, label %26 .lr.ph: ; preds = %4 br label %13 13: ; preds = %.lr.ph, %20 %14 = load ptr, ptr %8, align 8 %15 = load ptr, ptr %6, align 8 %16 = load ptr, ptr %5, align 8 %17 = load i64, ptr %9, align 8 %18 = getelementptr inbounds ptr, ptr %16, i64 %17 %19 = load ptr, ptr %18, align 8 call void %14(ptr noundef %15, ptr noundef %19) br label %20 20: ; preds = %13 %21 = load i64, ptr %9, align 8 %22 = add i64 %21, 1 store i64 %22, ptr %9, align 8 %23 = load i64, ptr %9, align 8 %24 = load i64, ptr %7, align 8 %25 = icmp ult i64 %23, %24 br i1 %25, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %26 26: ; preds = %._crit_edge, %4 %27 = load i64, ptr %9, align 8 ret i64 %27 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpr82f6zzy.c' source_filename = "/tmp/tmpr82f6zzy.c" target datalayout = "e-m:e-p270: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 @Q_strchr(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i8 %1, ptr %5, align 1 %7 = load ptr, ptr %4, align 8 %8 = call i32 @Q_strlen(ptr noundef %7) store i32 %8, ptr %6, align 4 br label %9 9: ; preds = %23, %2 %10 = load i32, ptr %6, align 4 %11 = add nsw i32 %10, -1 store i32 %11, ptr %6, align 4 %12 = icmp ne i32 %10, 0 br i1 %12, label %13, label %24 13: ; preds = %9 %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %4, align 8 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = load i8, ptr %5, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %17, %19 br i1 %20, label %21, label %23 21: ; preds = %13 %22 = load ptr, ptr %4, align 8 store ptr %22, ptr %3, align 8 br label %25 23: ; preds = %13 br label %9, !llvm.loop !6 24: ; preds = %9 store ptr null, ptr %3, align 8 br label %25 25: ; preds = %24, %21 %26 = load ptr, ptr %3, align 8 ret ptr %26 } declare i32 @Q_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/tmpr82f6zzy.c" target datalayout = "e-m:e-p270: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 @Q_strchr(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i8 %1, ptr %5, align 1 %7 = load ptr, ptr %4, align 8 %8 = call i32 @Q_strlen(ptr noundef %7) store i32 %8, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = add nsw i32 %9, -1 store i32 %10, ptr %6, align 4 %11 = icmp ne i32 %9, 0 br i1 %11, label %.lr.ph, label %26 .lr.ph: ; preds = %2 br label %16 12: ; preds = %16 %13 = load i32, ptr %6, align 4 %14 = add nsw i32 %13, -1 store i32 %14, ptr %6, align 4 %15 = icmp ne i32 %13, 0 br i1 %15, label %16, label %._crit_edge, !llvm.loop !6 16: ; preds = %.lr.ph, %12 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds i8, ptr %17, i32 1 store ptr %18, ptr %4, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = load i8, ptr %5, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %20, %22 br i1 %23, label %24, label %12 24: ; preds = %16 %25 = load ptr, ptr %4, align 8 store ptr %25, ptr %3, align 8 br label %27 ._crit_edge: ; preds = %12 br label %26 26: ; preds = %._crit_edge, %2 store ptr null, ptr %3, align 8 br label %27 27: ; preds = %26, %24 %28 = load ptr, ptr %3, align 8 ret ptr %28 } declare i32 @Q_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/tmphmkjuvpv.c' source_filename = "/tmp/tmphmkjuvpv.c" target datalayout = "e-m:e-p270: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"\0A%ld\00", align 1 @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @readLong1(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 br label %4 4: ; preds = %9, %1 %5 = load ptr, ptr %2, align 8 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %5) store i32 %6, ptr %3, align 4 %7 = load i32, ptr @stdin, align 4 %8 = call i32 @__fpurge(i32 noundef %7) br label %9 9: ; preds = %4 %10 = load i32, ptr %3, align 4 %11 = icmp ne i32 %10, 1 br i1 %11, label %4, label %12, !llvm.loop !6 12: ; preds = %9 ret void } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @__fpurge(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphmkjuvpv.c" target datalayout = "e-m:e-p270: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"\0A%ld\00", align 1 @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @readLong1(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 br label %4 4: ; preds = %9, %1 %5 = load ptr, ptr %2, align 8 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %5) store i32 %6, ptr %3, align 4 %7 = load i32, ptr @stdin, align 4 %8 = call i32 @__fpurge(i32 noundef %7) br label %9 9: ; preds = %4 %10 = load i32, ptr %3, align 4 %11 = icmp ne i32 %10, 1 br i1 %11, label %4, label %12, !llvm.loop !6 12: ; preds = %9 ret void } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @__fpurge(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp4big332o.c' source_filename = "/tmp/tmp4big332o.c" target datalayout = "e-m:e-p270: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/tmp4big332o.c" target datalayout = "e-m:e-p270: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/tmpt00joisn.c' source_filename = "/tmp/tmpt00joisn.c" target datalayout = "e-m:e-p270: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 @laplacian_u(ptr noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store ptr %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store double %3, ptr %8, align 8 %9 = load ptr, ptr %5, align 8 %10 = load double, ptr %7, align 8 %11 = load double, ptr %8, align 8 %12 = call double %9(double noundef %10, double noundef %11) %13 = load ptr, ptr %5, align 8 %14 = load double, ptr %7, align 8 %15 = load double, ptr %6, align 8 %16 = fadd double %14, %15 %17 = load double, ptr %8, align 8 %18 = call double %13(double noundef %16, double noundef %17) %19 = load ptr, ptr %5, align 8 %20 = load double, ptr %7, align 8 %21 = load double, ptr %6, align 8 %22 = fsub double %20, %21 %23 = load double, ptr %8, align 8 %24 = call double %19(double noundef %22, double noundef %23) %25 = fadd double %18, %24 %26 = load ptr, ptr %5, align 8 %27 = load double, ptr %7, align 8 %28 = load double, ptr %8, align 8 %29 = load double, ptr %6, align 8 %30 = fadd double %28, %29 %31 = call double %26(double noundef %27, double noundef %30) %32 = fadd double %25, %31 %33 = load ptr, ptr %5, align 8 %34 = load double, ptr %7, align 8 %35 = load double, ptr %8, align 8 %36 = load double, ptr %6, align 8 %37 = fsub double %35, %36 %38 = call double %33(double noundef %34, double noundef %37) %39 = fadd double %32, %38 %40 = fneg double %39 %41 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %12, double %40) %42 = load double, ptr %6, align 8 %43 = call i32 @pow(double noundef %42, i32 noundef -2) %44 = sitofp i32 %43 to double %45 = fmul double %41, %44 ret double %45 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @pow(double 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 nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt00joisn.c" target datalayout = "e-m:e-p270: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 @laplacian_u(ptr noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store ptr %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store double %3, ptr %8, align 8 %9 = load ptr, ptr %5, align 8 %10 = load double, ptr %7, align 8 %11 = load double, ptr %8, align 8 %12 = call double %9(double noundef %10, double noundef %11) %13 = load ptr, ptr %5, align 8 %14 = load double, ptr %7, align 8 %15 = load double, ptr %6, align 8 %16 = fadd double %14, %15 %17 = load double, ptr %8, align 8 %18 = call double %13(double noundef %16, double noundef %17) %19 = load ptr, ptr %5, align 8 %20 = load double, ptr %7, align 8 %21 = load double, ptr %6, align 8 %22 = fsub double %20, %21 %23 = load double, ptr %8, align 8 %24 = call double %19(double noundef %22, double noundef %23) %25 = fadd double %18, %24 %26 = load ptr, ptr %5, align 8 %27 = load double, ptr %7, align 8 %28 = load double, ptr %8, align 8 %29 = load double, ptr %6, align 8 %30 = fadd double %28, %29 %31 = call double %26(double noundef %27, double noundef %30) %32 = fadd double %25, %31 %33 = load ptr, ptr %5, align 8 %34 = load double, ptr %7, align 8 %35 = load double, ptr %8, align 8 %36 = load double, ptr %6, align 8 %37 = fsub double %35, %36 %38 = call double %33(double noundef %34, double noundef %37) %39 = fadd double %32, %38 %40 = fneg double %39 %41 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %12, double %40) %42 = load double, ptr %6, align 8 %43 = call i32 @pow(double noundef %42, i32 noundef -2) %44 = sitofp i32 %43 to double %45 = fmul double %41, %44 ret double %45 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @pow(double 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 nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo7qw707f.c' source_filename = "/tmp/tmpo7qw707f.c" target datalayout = "e-m:e-p270: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 @pochisq(double noundef %0, i32 noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca i32, align 4 store double %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %14 = load double, ptr %4, align 8 store double %14, ptr %6, align 8 %15 = load double, ptr %6, align 8 %16 = fcmp ole double %15, 0.000000e+00 br i1 %16, label %20, label %17 17: ; preds = %2 %18 = load i32, ptr %5, align 4 %19 = icmp slt i32 %18, 1 br i1 %19, label %20, label %21 20: ; preds = %17, %2 store double 1.000000e+00, ptr %3, align 8 br label %143 21: ; preds = %17 %22 = load double, ptr %6, align 8 %23 = fmul double 5.000000e-01, %22 store double %23, ptr %7, align 8 %24 = load i32, ptr %5, align 4 %25 = sdiv i32 %24, 2 %26 = mul nsw i32 2, %25 %27 = load i32, ptr %5, align 4 %28 = icmp eq i32 %26, %27 %29 = zext i1 %28 to i32 store i32 %29, ptr %13, align 4 %30 = load i32, ptr %5, align 4 %31 = icmp sgt i32 %30, 1 br i1 %31, label %32, label %43 32: ; preds = %21 %33 = load double, ptr %7, align 8 %34 = fneg double %33 %35 = fcmp olt double %34, -2.000000e+01 br i1 %35, label %36, label %37 36: ; preds = %32 br label %41 37: ; preds = %32 %38 = load double, ptr %7, align 8 %39 = fneg double %38 %40 = call double @exp(double noundef %39) #4 br label %41 41: ; preds = %37, %36 %42 = phi double [ 0.000000e+00, %36 ], [ %40, %37 ] store double %42, ptr %8, align 8 br label %43 43: ; preds = %41, %21 %44 = load i32, ptr %13, align 4 %45 = icmp ne i32 %44, 0 br i1 %45, label %46, label %48 46: ; preds = %43 %47 = load double, ptr %8, align 8 br label %54 48: ; preds = %43 %49 = load double, ptr %6, align 8 %50 = call double @sqrt(double noundef %49) #4 %51 = fneg double %50 %52 = call double @poz(double noundef %51) %53 = fmul double 2.000000e+00, %52 br label %54 54: ; preds = %48, %46 %55 = phi double [ %47, %46 ], [ %53, %48 ] store double %55, ptr %9, align 8 %56 = load i32, ptr %5, align 4 %57 = icmp sgt i32 %56, 2 br i1 %57, label %58, label %141 58: ; preds = %54 %59 = load i32, ptr %5, align 4 %60 = sitofp i32 %59 to double %61 = fsub double %60, 1.000000e+00 %62 = fmul double 5.000000e-01, %61 store double %62, ptr %6, align 8 %63 = load i32, ptr %13, align 4 %64 = icmp ne i32 %63, 0 %65 = zext i1 %64 to i64 %66 = select i1 %64, double 1.000000e+00, double 5.000000e-01 store double %66, ptr %12, align 8 %67 = load double, ptr %7, align 8 %68 = fcmp ogt double %67, 2.000000e+01 br i1 %68, label %69, label %111 69: ; preds = %58 %70 = load i32, ptr %13, align 4 %71 = icmp ne i32 %70, 0 %72 = zext i1 %71 to i64 %73 = select i1 %71, double 0.000000e+00, double 0x3FE250D048E7A1BD store double %73, ptr %10, align 8 %74 = load double, ptr %7, align 8 %75 = call double @log(double noundef %74) #4 store double %75, ptr %11, align 8 br label %76 76: ; preds = %103, %69 %77 = load double, ptr %12, align 8 %78 = load double, ptr %6, align 8 %79 = fcmp ole double %77, %78 br i1 %79, label %80, label %109 80: ; preds = %76 %81 = load double, ptr %12, align 8 %82 = call double @log(double noundef %81) #4 %83 = load double, ptr %10, align 8 %84 = fadd double %82, %83 store double %84, ptr %10, align 8 %85 = load double, ptr %11, align 8 %86 = load double, ptr %12, align 8 %87 = load double, ptr %7, align 8 %88 = fneg double %87 %89 = call double @llvm.fmuladd.f64(double %85, double %86, double %88) %90 = load double, ptr %10, align 8 %91 = fsub double %89, %90 %92 = fcmp olt double %91, -2.000000e+01 br i1 %92, label %93, label %94 93: ; preds = %80 br label %103 94: ; preds = %80 %95 = load double, ptr %11, align 8 %96 = load double, ptr %12, align 8 %97 = load double, ptr %7, align 8 %98 = fneg double %97 %99 = call double @llvm.fmuladd.f64(double %95, double %96, double %98) %100 = load double, ptr %10, align 8 %101 = fsub double %99, %100 %102 = call double @exp(double noundef %101) #4 br label %103 103: ; preds = %94, %93 %104 = phi double [ 0.000000e+00, %93 ], [ %102, %94 ] %105 = load double, ptr %9, align 8 %106 = fadd double %105, %104 store double %106, ptr %9, align 8 %107 = load double, ptr %12, align 8 %108 = fadd double %107, 1.000000e+00 store double %108, ptr %12, align 8 br label %76, !llvm.loop !6 109: ; preds = %76 %110 = load double, ptr %9, align 8 store double %110, ptr %3, align 8 br label %143 111: ; preds = %58 %112 = load i32, ptr %13, align 4 %113 = icmp ne i32 %112, 0 br i1 %113, label %114, label %115 114: ; preds = %111 br label %119 115: ; preds = %111 %116 = load double, ptr %7, align 8 %117 = call double @sqrt(double noundef %116) #4 %118 = fdiv double 0x3FE20DD750429B6D, %117 br label %119 119: ; preds = %115, %114 %120 = phi double [ 1.000000e+00, %114 ], [ %118, %115 ] store double %120, ptr %10, align 8 store double 0.000000e+00, ptr %11, align 8 br label %121 121: ; preds = %125, %119 %122 = load double, ptr %12, align 8 %123 = load double, ptr %6, align 8 %124 = fcmp ole double %122, %123 br i1 %124, label %125, label %136 125: ; preds = %121 %126 = load double, ptr %10, align 8 %127 = load double, ptr %7, align 8 %128 = load double, ptr %12, align 8 %129 = fdiv double %127, %128 %130 = fmul double %126, %129 store double %130, ptr %10, align 8 %131 = load double, ptr %11, align 8 %132 = load double, ptr %10, align 8 %133 = fadd double %131, %132 store double %133, ptr %11, align 8 %134 = load double, ptr %12, align 8 %135 = fadd double %134, 1.000000e+00 store double %135, ptr %12, align 8 br label %121, !llvm.loop !8 136: ; preds = %121 %137 = load double, ptr %11, align 8 %138 = load double, ptr %8, align 8 %139 = load double, ptr %9, align 8 %140 = call double @llvm.fmuladd.f64(double %137, double %138, double %139) store double %140, ptr %3, align 8 br label %143 141: ; preds = %54 %142 = load double, ptr %9, align 8 store double %142, ptr %3, align 8 br label %143 143: ; preds = %141, %136, %109, %20 %144 = load double, ptr %3, align 8 ret double %144 } ; Function Attrs: nounwind declare double @exp(double noundef) #1 declare double @poz(double noundef) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nounwind declare double @log(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo7qw707f.c" target datalayout = "e-m:e-p270: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 @pochisq(double noundef %0, i32 noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca i32, align 4 store double %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %14 = load double, ptr %4, align 8 store double %14, ptr %6, align 8 %15 = load double, ptr %6, align 8 %16 = fcmp ole double %15, 0.000000e+00 br i1 %16, label %20, label %17 17: ; preds = %2 %18 = load i32, ptr %5, align 4 %19 = icmp slt i32 %18, 1 br i1 %19, label %20, label %21 20: ; preds = %17, %2 store double 1.000000e+00, ptr %3, align 8 br label %147 21: ; preds = %17 %22 = load double, ptr %6, align 8 %23 = fmul double 5.000000e-01, %22 store double %23, ptr %7, align 8 %24 = load i32, ptr %5, align 4 %25 = sdiv i32 %24, 2 %26 = mul nsw i32 2, %25 %27 = load i32, ptr %5, align 4 %28 = icmp eq i32 %26, %27 %29 = zext i1 %28 to i32 store i32 %29, ptr %13, align 4 %30 = load i32, ptr %5, align 4 %31 = icmp sgt i32 %30, 1 br i1 %31, label %32, label %43 32: ; preds = %21 %33 = load double, ptr %7, align 8 %34 = fneg double %33 %35 = fcmp olt double %34, -2.000000e+01 br i1 %35, label %36, label %37 36: ; preds = %32 br label %41 37: ; preds = %32 %38 = load double, ptr %7, align 8 %39 = fneg double %38 %40 = call double @exp(double noundef %39) #4 br label %41 41: ; preds = %37, %36 %42 = phi double [ 0.000000e+00, %36 ], [ %40, %37 ] store double %42, ptr %8, align 8 br label %43 43: ; preds = %41, %21 %44 = load i32, ptr %13, align 4 %45 = icmp ne i32 %44, 0 br i1 %45, label %46, label %48 46: ; preds = %43 %47 = load double, ptr %8, align 8 br label %54 48: ; preds = %43 %49 = load double, ptr %6, align 8 %50 = call double @sqrt(double noundef %49) #4 %51 = fneg double %50 %52 = call double @poz(double noundef %51) %53 = fmul double 2.000000e+00, %52 br label %54 54: ; preds = %48, %46 %55 = phi double [ %47, %46 ], [ %53, %48 ] store double %55, ptr %9, align 8 %56 = load i32, ptr %5, align 4 %57 = icmp sgt i32 %56, 2 br i1 %57, label %58, label %145 58: ; preds = %54 %59 = load i32, ptr %5, align 4 %60 = sitofp i32 %59 to double %61 = fsub double %60, 1.000000e+00 %62 = fmul double 5.000000e-01, %61 store double %62, ptr %6, align 8 %63 = load i32, ptr %13, align 4 %64 = icmp ne i32 %63, 0 %65 = zext i1 %64 to i64 %66 = select i1 %64, double 1.000000e+00, double 5.000000e-01 store double %66, ptr %12, align 8 %67 = load double, ptr %7, align 8 %68 = fcmp ogt double %67, 2.000000e+01 br i1 %68, label %69, label %113 69: ; preds = %58 %70 = load i32, ptr %13, align 4 %71 = icmp ne i32 %70, 0 %72 = zext i1 %71 to i64 %73 = select i1 %71, double 0.000000e+00, double 0x3FE250D048E7A1BD store double %73, ptr %10, align 8 %74 = load double, ptr %7, align 8 %75 = call double @log(double noundef %74) #4 store double %75, ptr %11, align 8 %76 = load double, ptr %12, align 8 %77 = load double, ptr %6, align 8 %78 = fcmp ole double %76, %77 br i1 %78, label %.lr.ph2, label %111 .lr.ph2: ; preds = %69 br label %79 79: ; preds = %.lr.ph2, %102 %80 = load double, ptr %12, align 8 %81 = call double @log(double noundef %80) #4 %82 = load double, ptr %10, align 8 %83 = fadd double %81, %82 store double %83, ptr %10, align 8 %84 = load double, ptr %11, align 8 %85 = load double, ptr %12, align 8 %86 = load double, ptr %7, align 8 %87 = fneg double %86 %88 = call double @llvm.fmuladd.f64(double %84, double %85, double %87) %89 = load double, ptr %10, align 8 %90 = fsub double %88, %89 %91 = fcmp olt double %90, -2.000000e+01 br i1 %91, label %92, label %93 92: ; preds = %79 br label %102 93: ; preds = %79 %94 = load double, ptr %11, align 8 %95 = load double, ptr %12, align 8 %96 = load double, ptr %7, align 8 %97 = fneg double %96 %98 = call double @llvm.fmuladd.f64(double %94, double %95, double %97) %99 = load double, ptr %10, align 8 %100 = fsub double %98, %99 %101 = call double @exp(double noundef %100) #4 br label %102 102: ; preds = %93, %92 %103 = phi double [ 0.000000e+00, %92 ], [ %101, %93 ] %104 = load double, ptr %9, align 8 %105 = fadd double %104, %103 store double %105, ptr %9, align 8 %106 = load double, ptr %12, align 8 %107 = fadd double %106, 1.000000e+00 store double %107, ptr %12, align 8 %108 = load double, ptr %12, align 8 %109 = load double, ptr %6, align 8 %110 = fcmp ole double %108, %109 br i1 %110, label %79, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %102 br label %111 111: ; preds = %._crit_edge3, %69 %112 = load double, ptr %9, align 8 store double %112, ptr %3, align 8 br label %147 113: ; preds = %58 %114 = load i32, ptr %13, align 4 %115 = icmp ne i32 %114, 0 br i1 %115, label %116, label %117 116: ; preds = %113 br label %121 117: ; preds = %113 %118 = load double, ptr %7, align 8 %119 = call double @sqrt(double noundef %118) #4 %120 = fdiv double 0x3FE20DD750429B6D, %119 br label %121 121: ; preds = %117, %116 %122 = phi double [ 1.000000e+00, %116 ], [ %120, %117 ] store double %122, ptr %10, align 8 store double 0.000000e+00, ptr %11, align 8 %123 = load double, ptr %12, align 8 %124 = load double, ptr %6, align 8 %125 = fcmp ole double %123, %124 br i1 %125, label %.lr.ph, label %140 .lr.ph: ; preds = %121 br label %126 126: ; preds = %.lr.ph, %126 %127 = load double, ptr %10, align 8 %128 = load double, ptr %7, align 8 %129 = load double, ptr %12, align 8 %130 = fdiv double %128, %129 %131 = fmul double %127, %130 store double %131, ptr %10, align 8 %132 = load double, ptr %11, align 8 %133 = load double, ptr %10, align 8 %134 = fadd double %132, %133 store double %134, ptr %11, align 8 %135 = load double, ptr %12, align 8 %136 = fadd double %135, 1.000000e+00 store double %136, ptr %12, align 8 %137 = load double, ptr %12, align 8 %138 = load double, ptr %6, align 8 %139 = fcmp ole double %137, %138 br i1 %139, label %126, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %126 br label %140 140: ; preds = %._crit_edge, %121 %141 = load double, ptr %11, align 8 %142 = load double, ptr %8, align 8 %143 = load double, ptr %9, align 8 %144 = call double @llvm.fmuladd.f64(double %141, double %142, double %143) store double %144, ptr %3, align 8 br label %147 145: ; preds = %54 %146 = load double, ptr %9, align 8 store double %146, ptr %3, align 8 br label %147 147: ; preds = %145, %140, %111, %20 %148 = load double, ptr %3, align 8 ret double %148 } ; Function Attrs: nounwind declare double @exp(double noundef) #1 declare double @poz(double noundef) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nounwind declare double @log(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpkujy4g_l.c' source_filename = "/tmp/tmpkujy4g_l.c" target datalayout = "e-m:e-p270: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/tmpkujy4g_l.c" target datalayout = "e-m:e-p270: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/tmp0ldc5ien.c' source_filename = "/tmp/tmp0ldc5ien.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Thread %d updates a[%d]\0A\00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"Thread %d prints value of a[%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 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 9, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = zext i32 %7 to i64 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %5, align 8 %10 = alloca i32, i64 %8, align 16 store i64 %8, ptr %6, align 8 store i32 0, ptr %2, align 4 br label %11 11: ; preds = %20, %0 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %23 15: ; preds = %11 %16 = load i32, ptr %2, align 4 %17 = load i32, ptr %2, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %10, i64 %18 store i32 %16, ptr %19, align 4 br label %20 20: ; preds = %15 %21 = load i32, ptr %2, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %2, align 4 br label %11, !llvm.loop !6 23: ; preds = %11 store i32 0, ptr %2, align 4 br label %24 24: ; preds = %45, %23 %25 = load i32, ptr %2, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %48 28: ; preds = %24 store i32 0, ptr %3, align 4 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %2, align 4 %31 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str, i32 noundef %29, i32 noundef %30) %32 = load i32, ptr %2, align 4 %33 = load i32, ptr %2, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %10, i64 %34 %36 = load i32, ptr %35, align 4 %37 = add nsw i32 %36, %32 store i32 %37, ptr %35, align 4 %38 = load i32, ptr %3, align 4 %39 = load i32, ptr %2, align 4 %40 = load i32, ptr %2, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %10, i64 %41 %43 = load i32, ptr %42, align 4 %44 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %38, i32 noundef %39, i32 noundef %43) br label %45 45: ; preds = %28 %46 = load i32, ptr %2, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %2, align 4 br label %24, !llvm.loop !8 48: ; preds = %24 store i32 0, ptr %1, align 4 %49 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %49) %50 = load i32, ptr %1, align 4 ret i32 %50 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, ...) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0ldc5ien.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Thread %d updates a[%d]\0A\00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"Thread %d prints value of a[%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 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 9, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = zext i32 %7 to i64 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %5, align 8 %10 = alloca i32, i64 %8, align 16 store i64 %8, ptr %6, align 8 store i32 0, ptr %2, align 4 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %25 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %19 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %2, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %10, i64 %17 store i32 %15, ptr %18, align 4 br label %19 19: ; preds = %14 %20 = load i32, ptr %2, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %2, align 4 %22 = load i32, ptr %2, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %25 25: ; preds = %._crit_edge, %0 store i32 0, ptr %2, align 4 %26 = load i32, ptr %2, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %.lr.ph2, label %52 .lr.ph2: ; preds = %25 br label %29 29: ; preds = %.lr.ph2, %46 store i32 0, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = load i32, ptr %2, align 4 %32 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str, i32 noundef %30, i32 noundef %31) %33 = load i32, ptr %2, align 4 %34 = load i32, ptr %2, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %10, i64 %35 %37 = load i32, ptr %36, align 4 %38 = add nsw i32 %37, %33 store i32 %38, ptr %36, align 4 %39 = load i32, ptr %3, align 4 %40 = load i32, ptr %2, align 4 %41 = load i32, ptr %2, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %10, i64 %42 %44 = load i32, ptr %43, align 4 %45 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %39, i32 noundef %40, i32 noundef %44) br label %46 46: ; preds = %29 %47 = load i32, ptr %2, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %2, align 4 %49 = load i32, ptr %2, align 4 %50 = load i32, ptr %4, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %29, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %46 br label %52 52: ; preds = %._crit_edge3, %25 store i32 0, ptr %1, align 4 %53 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %53) %54 = load i32, ptr %1, align 4 ret i32 %54 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, ...) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpc7ovf8_k.c' source_filename = "/tmp/tmpc7ovf8_k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc7ovf8_k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpen89s8py.c' source_filename = "/tmp/tmpen89s8py.c" target datalayout = "e-m:e-p270: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/tmpen89s8py.c" target datalayout = "e-m:e-p270: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/tmpw95jo84w.c' source_filename = "/tmp/tmpw95jo84w.c" target datalayout = "e-m:e-p270: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/tmpw95jo84w.c" target datalayout = "e-m:e-p270: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/tmp4b1dsyou.c' source_filename = "/tmp/tmp4b1dsyou.c" target datalayout = "e-m:e-p270: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/tmp4b1dsyou.c" target datalayout = "e-m:e-p270: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/tmp233mfczj.c' source_filename = "/tmp/tmp233mfczj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_SC_PAGESIZE = dso_local global i32 0, align 4 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 @MAP_ANONYMOUS = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @PROT_NONE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [84 x i8] c"mmap2?\\(%p, %lu, PROT_READ\\|PROT_WRITE, MAP_PRIVATE\\|MAP_ANONYMOUS, %d, %#x\\) = %p\0A\00", align 1 @.str.1 = private unnamed_addr constant [37 x i8] c"mprotect\\(%p, %lu, PROT_NONE\\) += 0\0A\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"munmap\\(%p, %lu\\) += 0\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 i64, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %8 = load i32, ptr @_SC_PAGESIZE, align 4 %9 = call i32 @sysconf(i32 noundef %8) store i32 %9, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = mul nsw i32 %10, 3 %12 = sext i32 %11 to i64 store i64 %12, ptr %3, align 8 store i32 -1, ptr %4, align 4 %13 = load i32, ptr %2, align 4 %14 = sub nsw i32 0, %13 %15 = sext i32 %14 to i64 %16 = and i64 15302363377664, %15 %17 = trunc i64 %16 to i32 store i32 %17, ptr %5, align 4 %18 = load i32, ptr %2, align 4 %19 = sub nsw i32 0, %18 %20 = and i32 -87109632, %19 %21 = zext i32 %20 to i64 %22 = inttoptr i64 %21 to ptr store ptr %22, ptr %6, align 8 %23 = load ptr, ptr %6, align 8 %24 = load i64, ptr %3, align 8 %25 = load i32, ptr @PROT_READ, align 4 %26 = load i32, ptr @PROT_WRITE, align 4 %27 = or i32 %25, %26 %28 = load i32, ptr @MAP_PRIVATE, align 4 %29 = load i32, ptr @MAP_ANONYMOUS, align 4 %30 = or i32 %28, %29 %31 = load i32, ptr %5, align 4 %32 = call ptr @mmap(ptr noundef %23, i64 noundef %24, i32 noundef %27, i32 noundef %30, i32 noundef -1, i32 noundef %31) store ptr %32, ptr %7, align 8 %33 = load ptr, ptr %7, align 8 %34 = load ptr, ptr @MAP_FAILED, align 8 %35 = icmp eq ptr %33, %34 br i1 %35, label %47, label %36 36: ; preds = %0 %37 = load ptr, ptr %7, align 8 %38 = load i64, ptr %3, align 8 %39 = load i32, ptr @PROT_NONE, align 4 %40 = call i64 @mprotect(ptr noundef %37, i64 noundef %38, i32 noundef %39) %41 = icmp ne i64 %40, 0 br i1 %41, label %47, label %42 42: ; preds = %36 %43 = load ptr, ptr %7, align 8 %44 = load i64, ptr %3, align 8 %45 = call i64 @munmap(ptr noundef %43, i64 noundef %44) %46 = icmp ne i64 %45, 0 br i1 %46, label %47, label %48 47: ; preds = %42, %36, %0 store i32 77, ptr %1, align 4 br label %60 48: ; preds = %42 %49 = load ptr, ptr %6, align 8 %50 = load i64, ptr %3, align 8 %51 = load i32, ptr %5, align 4 %52 = load ptr, ptr %7, align 8 %53 = call i32 (ptr, ptr, i64, ...) @printf(ptr noundef @.str, ptr noundef %49, i64 noundef %50, i32 noundef -1, i32 noundef %51, ptr noundef %52) %54 = load ptr, ptr %7, align 8 %55 = load i64, ptr %3, align 8 %56 = call i32 (ptr, ptr, i64, ...) @printf(ptr noundef @.str.1, ptr noundef %54, i64 noundef %55) %57 = load ptr, ptr %7, align 8 %58 = load i64, ptr %3, align 8 %59 = call i32 (ptr, ptr, i64, ...) @printf(ptr noundef @.str.2, ptr noundef %57, i64 noundef %58) store i32 0, ptr %1, align 4 br label %60 60: ; preds = %48, %47 %61 = load i32, ptr %1, align 4 ret i32 %61 } declare i32 @sysconf(i32 noundef) #1 declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @mprotect(ptr noundef, i64 noundef, i32 noundef) #1 declare i64 @munmap(ptr noundef, i64 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, i64 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp233mfczj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_SC_PAGESIZE = dso_local global i32 0, align 4 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 @MAP_ANONYMOUS = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @PROT_NONE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [84 x i8] c"mmap2?\\(%p, %lu, PROT_READ\\|PROT_WRITE, MAP_PRIVATE\\|MAP_ANONYMOUS, %d, %#x\\) = %p\0A\00", align 1 @.str.1 = private unnamed_addr constant [37 x i8] c"mprotect\\(%p, %lu, PROT_NONE\\) += 0\0A\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"munmap\\(%p, %lu\\) += 0\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 i64, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %8 = load i32, ptr @_SC_PAGESIZE, align 4 %9 = call i32 @sysconf(i32 noundef %8) store i32 %9, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = mul nsw i32 %10, 3 %12 = sext i32 %11 to i64 store i64 %12, ptr %3, align 8 store i32 -1, ptr %4, align 4 %13 = load i32, ptr %2, align 4 %14 = sub nsw i32 0, %13 %15 = sext i32 %14 to i64 %16 = and i64 15302363377664, %15 %17 = trunc i64 %16 to i32 store i32 %17, ptr %5, align 4 %18 = load i32, ptr %2, align 4 %19 = sub nsw i32 0, %18 %20 = and i32 -87109632, %19 %21 = zext i32 %20 to i64 %22 = inttoptr i64 %21 to ptr store ptr %22, ptr %6, align 8 %23 = load ptr, ptr %6, align 8 %24 = load i64, ptr %3, align 8 %25 = load i32, ptr @PROT_READ, align 4 %26 = load i32, ptr @PROT_WRITE, align 4 %27 = or i32 %25, %26 %28 = load i32, ptr @MAP_PRIVATE, align 4 %29 = load i32, ptr @MAP_ANONYMOUS, align 4 %30 = or i32 %28, %29 %31 = load i32, ptr %5, align 4 %32 = call ptr @mmap(ptr noundef %23, i64 noundef %24, i32 noundef %27, i32 noundef %30, i32 noundef -1, i32 noundef %31) store ptr %32, ptr %7, align 8 %33 = load ptr, ptr %7, align 8 %34 = load ptr, ptr @MAP_FAILED, align 8 %35 = icmp eq ptr %33, %34 br i1 %35, label %47, label %36 36: ; preds = %0 %37 = load ptr, ptr %7, align 8 %38 = load i64, ptr %3, align 8 %39 = load i32, ptr @PROT_NONE, align 4 %40 = call i64 @mprotect(ptr noundef %37, i64 noundef %38, i32 noundef %39) %41 = icmp ne i64 %40, 0 br i1 %41, label %47, label %42 42: ; preds = %36 %43 = load ptr, ptr %7, align 8 %44 = load i64, ptr %3, align 8 %45 = call i64 @munmap(ptr noundef %43, i64 noundef %44) %46 = icmp ne i64 %45, 0 br i1 %46, label %47, label %48 47: ; preds = %42, %36, %0 store i32 77, ptr %1, align 4 br label %60 48: ; preds = %42 %49 = load ptr, ptr %6, align 8 %50 = load i64, ptr %3, align 8 %51 = load i32, ptr %5, align 4 %52 = load ptr, ptr %7, align 8 %53 = call i32 (ptr, ptr, i64, ...) @printf(ptr noundef @.str, ptr noundef %49, i64 noundef %50, i32 noundef -1, i32 noundef %51, ptr noundef %52) %54 = load ptr, ptr %7, align 8 %55 = load i64, ptr %3, align 8 %56 = call i32 (ptr, ptr, i64, ...) @printf(ptr noundef @.str.1, ptr noundef %54, i64 noundef %55) %57 = load ptr, ptr %7, align 8 %58 = load i64, ptr %3, align 8 %59 = call i32 (ptr, ptr, i64, ...) @printf(ptr noundef @.str.2, ptr noundef %57, i64 noundef %58) store i32 0, ptr %1, align 4 br label %60 60: ; preds = %48, %47 %61 = load i32, ptr %1, align 4 ret i32 %61 } declare i32 @sysconf(i32 noundef) #1 declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @mprotect(ptr noundef, i64 noundef, i32 noundef) #1 declare i64 @munmap(ptr noundef, i64 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, i64 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp70u3km99.c' source_filename = "/tmp/tmp70u3km99.c" target datalayout = "e-m:e-p270: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 i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp70u3km99.c" target datalayout = "e-m:e-p270: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 i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppr7b3q09.c' source_filename = "/tmp/tmppr7b3q09.c" target datalayout = "e-m:e-p270: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/tmppr7b3q09.c" target datalayout = "e-m:e-p270: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/tmpma87p6yc.c' source_filename = "/tmp/tmpma87p6yc.c" target datalayout = "e-m:e-p270: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 @sshbuf_put_string(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = 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 %10 = load i64, ptr %7, align 8 %11 = icmp ugt i64 %10, 134217724 br i1 %11, label %12, label %13 12: ; preds = %3 store i32 -9, ptr %4, align 4 br label %56 13: ; preds = %3 %14 = load ptr, ptr %5, align 8 %15 = load i64, ptr %7, align 8 %16 = add i64 %15, 4 %17 = call i32 @sshbuf_reserve(ptr noundef %14, i64 noundef %16, ptr noundef %8) store i32 %17, ptr %9, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %13 %20 = load i32, ptr %9, align 4 store i32 %20, ptr %4, align 4 br label %56 21: ; preds = %13 br label %22 22: ; preds = %21 %23 = load i64, ptr %7, align 8 %24 = trunc i64 %23 to i32 %25 = ashr i32 %24, 24 %26 = and i32 %25, 255 %27 = load ptr, ptr %8, align 8 %28 = getelementptr inbounds i32, ptr %27, i64 0 store i32 %26, ptr %28, align 4 %29 = load i64, ptr %7, align 8 %30 = trunc i64 %29 to i32 %31 = ashr i32 %30, 16 %32 = and i32 %31, 255 %33 = load ptr, ptr %8, align 8 %34 = getelementptr inbounds i32, ptr %33, i64 1 store i32 %32, ptr %34, align 4 %35 = load i64, ptr %7, align 8 %36 = trunc i64 %35 to i32 %37 = ashr i32 %36, 8 %38 = and i32 %37, 255 %39 = load ptr, ptr %8, align 8 %40 = getelementptr inbounds i32, ptr %39, i64 2 store i32 %38, ptr %40, align 4 %41 = load i64, ptr %7, align 8 %42 = trunc i64 %41 to i32 %43 = and i32 %42, 255 %44 = load ptr, ptr %8, align 8 %45 = getelementptr inbounds i32, ptr %44, i64 3 store i32 %43, ptr %45, align 4 br label %46 46: ; preds = %22 %47 = load i64, ptr %7, align 8 %48 = icmp ne i64 %47, 0 br i1 %48, label %49, label %55 49: ; preds = %46 %50 = load ptr, ptr %8, align 8 %51 = getelementptr inbounds i32, ptr %50, i64 4 %52 = load ptr, ptr %6, align 8 %53 = load i64, ptr %7, align 8 %54 = call i32 @memcpy(ptr noundef %51, ptr noundef %52, i64 noundef %53) br label %55 55: ; preds = %49, %46 store i32 0, ptr %4, align 4 br label %56 56: ; preds = %55, %19, %12 %57 = load i32, ptr %4, align 4 ret i32 %57 } declare i32 @sshbuf_reserve(ptr noundef, i64 noundef, ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpma87p6yc.c" target datalayout = "e-m:e-p270: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 @sshbuf_put_string(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = 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 %10 = load i64, ptr %7, align 8 %11 = icmp ugt i64 %10, 134217724 br i1 %11, label %12, label %13 12: ; preds = %3 store i32 -9, ptr %4, align 4 br label %56 13: ; preds = %3 %14 = load ptr, ptr %5, align 8 %15 = load i64, ptr %7, align 8 %16 = add i64 %15, 4 %17 = call i32 @sshbuf_reserve(ptr noundef %14, i64 noundef %16, ptr noundef %8) store i32 %17, ptr %9, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %13 %20 = load i32, ptr %9, align 4 store i32 %20, ptr %4, align 4 br label %56 21: ; preds = %13 br label %22 22: ; preds = %21 %23 = load i64, ptr %7, align 8 %24 = trunc i64 %23 to i32 %25 = ashr i32 %24, 24 %26 = and i32 %25, 255 %27 = load ptr, ptr %8, align 8 %28 = getelementptr inbounds i32, ptr %27, i64 0 store i32 %26, ptr %28, align 4 %29 = load i64, ptr %7, align 8 %30 = trunc i64 %29 to i32 %31 = ashr i32 %30, 16 %32 = and i32 %31, 255 %33 = load ptr, ptr %8, align 8 %34 = getelementptr inbounds i32, ptr %33, i64 1 store i32 %32, ptr %34, align 4 %35 = load i64, ptr %7, align 8 %36 = trunc i64 %35 to i32 %37 = ashr i32 %36, 8 %38 = and i32 %37, 255 %39 = load ptr, ptr %8, align 8 %40 = getelementptr inbounds i32, ptr %39, i64 2 store i32 %38, ptr %40, align 4 %41 = load i64, ptr %7, align 8 %42 = trunc i64 %41 to i32 %43 = and i32 %42, 255 %44 = load ptr, ptr %8, align 8 %45 = getelementptr inbounds i32, ptr %44, i64 3 store i32 %43, ptr %45, align 4 br label %46 46: ; preds = %22 %47 = load i64, ptr %7, align 8 %48 = icmp ne i64 %47, 0 br i1 %48, label %49, label %55 49: ; preds = %46 %50 = load ptr, ptr %8, align 8 %51 = getelementptr inbounds i32, ptr %50, i64 4 %52 = load ptr, ptr %6, align 8 %53 = load i64, ptr %7, align 8 %54 = call i32 @memcpy(ptr noundef %51, ptr noundef %52, i64 noundef %53) br label %55 55: ; preds = %49, %46 store i32 0, ptr %4, align 4 br label %56 56: ; preds = %55, %19, %12 %57 = load i32, ptr %4, align 4 ret i32 %57 } declare i32 @sshbuf_reserve(ptr noundef, i64 noundef, ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxhsy4tu4.c' source_filename = "/tmp/tmpxhsy4tu4.c" target datalayout = "e-m:e-p270: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 [148 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/headius/jato/refs/heads/master/test/unit/vm/pqueue-test.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_pqueue_is_before_func() #0 { %1 = call i64 @compare(ptr noundef inttoptr (i64 1 to ptr), ptr noundef null) %2 = icmp slt i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @__assert_true(ptr noundef @.str, i32 noundef 47, i32 noundef %3) %5 = call i64 @compare(ptr noundef inttoptr (i64 1 to ptr), ptr noundef null) %6 = icmp sle i64 %5, 0 %7 = zext i1 %6 to i32 %8 = call i32 @__assert_true(ptr noundef @.str, i32 noundef 48, i32 noundef %7) %9 = call i64 @compare(ptr noundef null, ptr noundef inttoptr (i64 1 to ptr)) %10 = icmp slt i64 %9, 0 %11 = zext i1 %10 to i32 %12 = call i32 @__assert_false(ptr noundef @.str, i32 noundef 50, i32 noundef %11) ret void } declare i32 @__assert_true(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @compare(ptr noundef, ptr noundef) #1 declare i32 @__assert_false(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/tmpxhsy4tu4.c" target datalayout = "e-m:e-p270: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 [148 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/headius/jato/refs/heads/master/test/unit/vm/pqueue-test.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_pqueue_is_before_func() #0 { %1 = call i64 @compare(ptr noundef inttoptr (i64 1 to ptr), ptr noundef null) %2 = icmp slt i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @__assert_true(ptr noundef @.str, i32 noundef 47, i32 noundef %3) %5 = call i64 @compare(ptr noundef inttoptr (i64 1 to ptr), ptr noundef null) %6 = icmp sle i64 %5, 0 %7 = zext i1 %6 to i32 %8 = call i32 @__assert_true(ptr noundef @.str, i32 noundef 48, i32 noundef %7) %9 = call i64 @compare(ptr noundef null, ptr noundef inttoptr (i64 1 to ptr)) %10 = icmp slt i64 %9, 0 %11 = zext i1 %10 to i32 %12 = call i32 @__assert_false(ptr noundef @.str, i32 noundef 50, i32 noundef %11) ret void } declare i32 @__assert_true(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @compare(ptr noundef, ptr noundef) #1 declare i32 @__assert_false(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/tmps2s72d3i.c' source_filename = "/tmp/tmps2s72d3i.c" target datalayout = "e-m:e-p270: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 @ext2_clear_bit(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %8, align 8 %10 = load i32, ptr %3, align 4 %11 = ashr i32 %10, 3 %12 = load ptr, ptr %8, align 8 %13 = sext i32 %11 to i64 %14 = getelementptr inbounds i8, ptr %12, i64 %13 store ptr %14, ptr %8, align 8 %15 = load i32, ptr %3, align 4 %16 = and i32 %15, 7 %17 = shl i32 1, %16 store i32 %17, ptr %5, align 4 %18 = load i32, ptr %7, align 4 %19 = call i32 @save_flags(i32 noundef %18) %20 = call i32 (...) @cli() %21 = load i32, ptr %5, align 4 %22 = load ptr, ptr %8, align 8 %23 = load i8, ptr %22, align 1 %24 = zext i8 %23 to i32 %25 = and i32 %21, %24 %26 = icmp ne i32 %25, 0 %27 = zext i1 %26 to i32 store i32 %27, ptr %6, align 4 %28 = load i32, ptr %5, align 4 %29 = xor i32 %28, -1 %30 = load ptr, ptr %8, align 8 %31 = load i8, ptr %30, align 1 %32 = zext i8 %31 to i32 %33 = and i32 %32, %29 %34 = trunc i32 %33 to i8 store i8 %34, ptr %30, align 1 %35 = load i32, ptr %7, align 4 %36 = call i32 @restore_flags(i32 noundef %35) %37 = load i32, ptr %6, align 4 ret i32 %37 } declare i32 @save_flags(i32 noundef) #1 declare i32 @cli(...) #1 declare i32 @restore_flags(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/tmps2s72d3i.c" target datalayout = "e-m:e-p270: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 @ext2_clear_bit(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %8, align 8 %10 = load i32, ptr %3, align 4 %11 = ashr i32 %10, 3 %12 = load ptr, ptr %8, align 8 %13 = sext i32 %11 to i64 %14 = getelementptr inbounds i8, ptr %12, i64 %13 store ptr %14, ptr %8, align 8 %15 = load i32, ptr %3, align 4 %16 = and i32 %15, 7 %17 = shl i32 1, %16 store i32 %17, ptr %5, align 4 %18 = load i32, ptr %7, align 4 %19 = call i32 @save_flags(i32 noundef %18) %20 = call i32 (...) @cli() %21 = load i32, ptr %5, align 4 %22 = load ptr, ptr %8, align 8 %23 = load i8, ptr %22, align 1 %24 = zext i8 %23 to i32 %25 = and i32 %21, %24 %26 = icmp ne i32 %25, 0 %27 = zext i1 %26 to i32 store i32 %27, ptr %6, align 4 %28 = load i32, ptr %5, align 4 %29 = xor i32 %28, -1 %30 = load ptr, ptr %8, align 8 %31 = load i8, ptr %30, align 1 %32 = zext i8 %31 to i32 %33 = and i32 %32, %29 %34 = trunc i32 %33 to i8 store i8 %34, ptr %30, align 1 %35 = load i32, ptr %7, align 4 %36 = call i32 @restore_flags(i32 noundef %35) %37 = load i32, ptr %6, align 4 ret i32 %37 } declare i32 @save_flags(i32 noundef) #1 declare i32 @cli(...) #1 declare i32 @restore_flags(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/tmpotrtefhu.c' source_filename = "/tmp/tmpotrtefhu.c" target datalayout = "e-m:e-p270: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"%f%f%f%f\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"INF\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"(%.3f,%.3f)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 store i32 0, ptr %1, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) %9 = load float, ptr %5, align 4 %10 = load float, ptr %3, align 4 %11 = fsub float %9, %10 %12 = load float, ptr %2, align 4 %13 = load float, ptr %5, align 4 %14 = load float, ptr %3, align 4 %15 = load float, ptr %4, align 4 %16 = fmul float %14, %15 %17 = fneg float %16 %18 = call float @llvm.fmuladd.f32(float %12, float %13, float %17) %19 = fdiv float %11, %18 store float %19, ptr %6, align 4 %20 = load float, ptr %2, align 4 %21 = load float, ptr %5, align 4 %22 = load float, ptr %3, align 4 %23 = load float, ptr %4, align 4 %24 = fmul float %22, %23 %25 = fneg float %24 %26 = call float @llvm.fmuladd.f32(float %20, float %21, float %25) %27 = load float, ptr %5, align 4 %28 = load float, ptr %4, align 4 %29 = fneg float %27 %30 = call float @llvm.fmuladd.f32(float %29, float %28, float %26) %31 = load float, ptr %3, align 4 %32 = load float, ptr %4, align 4 %33 = call float @llvm.fmuladd.f32(float %31, float %32, float %30) %34 = load float, ptr %2, align 4 %35 = load float, ptr %5, align 4 %36 = fmul float %34, %35 %37 = load float, ptr %5, align 4 %38 = load float, ptr %3, align 4 %39 = load float, ptr %4, align 4 %40 = fmul float %38, %39 %41 = load float, ptr %5, align 4 %42 = fmul float %40, %41 %43 = fneg float %42 %44 = call float @llvm.fmuladd.f32(float %36, float %37, float %43) %45 = fdiv float %33, %44 store float %45, ptr %7, align 4 %46 = load float, ptr %2, align 4 %47 = load float, ptr %5, align 4 %48 = load float, ptr %3, align 4 %49 = load float, ptr %4, align 4 %50 = fmul float %48, %49 %51 = fneg float %50 %52 = call float @llvm.fmuladd.f32(float %46, float %47, float %51) %53 = fcmp oeq float %52, 0.000000e+00 br i1 %53, label %67, label %54 54: ; preds = %0 %55 = load float, ptr %2, align 4 %56 = load float, ptr %5, align 4 %57 = fmul float %55, %56 %58 = load float, ptr %5, align 4 %59 = load float, ptr %3, align 4 %60 = load float, ptr %4, align 4 %61 = fmul float %59, %60 %62 = load float, ptr %5, align 4 %63 = fmul float %61, %62 %64 = fneg float %63 %65 = call float @llvm.fmuladd.f32(float %57, float %58, float %64) %66 = fcmp oeq float %65, 0.000000e+00 br i1 %66, label %67, label %69 67: ; preds = %54, %0 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %75 69: ; preds = %54 %70 = load float, ptr %6, align 4 %71 = fpext float %70 to double %72 = load float, ptr %7, align 4 %73 = fpext float %72 to double %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %71, double noundef %73) br label %75 75: ; preds = %69, %67 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 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" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpotrtefhu.c" target datalayout = "e-m:e-p270: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"%f%f%f%f\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"INF\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"(%.3f,%.3f)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 store i32 0, ptr %1, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) %9 = load float, ptr %5, align 4 %10 = load float, ptr %3, align 4 %11 = fsub float %9, %10 %12 = load float, ptr %2, align 4 %13 = load float, ptr %5, align 4 %14 = load float, ptr %3, align 4 %15 = load float, ptr %4, align 4 %16 = fmul float %14, %15 %17 = fneg float %16 %18 = call float @llvm.fmuladd.f32(float %12, float %13, float %17) %19 = fdiv float %11, %18 store float %19, ptr %6, align 4 %20 = load float, ptr %2, align 4 %21 = load float, ptr %5, align 4 %22 = load float, ptr %3, align 4 %23 = load float, ptr %4, align 4 %24 = fmul float %22, %23 %25 = fneg float %24 %26 = call float @llvm.fmuladd.f32(float %20, float %21, float %25) %27 = load float, ptr %5, align 4 %28 = load float, ptr %4, align 4 %29 = fneg float %27 %30 = call float @llvm.fmuladd.f32(float %29, float %28, float %26) %31 = load float, ptr %3, align 4 %32 = load float, ptr %4, align 4 %33 = call float @llvm.fmuladd.f32(float %31, float %32, float %30) %34 = load float, ptr %2, align 4 %35 = load float, ptr %5, align 4 %36 = fmul float %34, %35 %37 = load float, ptr %5, align 4 %38 = load float, ptr %3, align 4 %39 = load float, ptr %4, align 4 %40 = fmul float %38, %39 %41 = load float, ptr %5, align 4 %42 = fmul float %40, %41 %43 = fneg float %42 %44 = call float @llvm.fmuladd.f32(float %36, float %37, float %43) %45 = fdiv float %33, %44 store float %45, ptr %7, align 4 %46 = load float, ptr %2, align 4 %47 = load float, ptr %5, align 4 %48 = load float, ptr %3, align 4 %49 = load float, ptr %4, align 4 %50 = fmul float %48, %49 %51 = fneg float %50 %52 = call float @llvm.fmuladd.f32(float %46, float %47, float %51) %53 = fcmp oeq float %52, 0.000000e+00 br i1 %53, label %67, label %54 54: ; preds = %0 %55 = load float, ptr %2, align 4 %56 = load float, ptr %5, align 4 %57 = fmul float %55, %56 %58 = load float, ptr %5, align 4 %59 = load float, ptr %3, align 4 %60 = load float, ptr %4, align 4 %61 = fmul float %59, %60 %62 = load float, ptr %5, align 4 %63 = fmul float %61, %62 %64 = fneg float %63 %65 = call float @llvm.fmuladd.f32(float %57, float %58, float %64) %66 = fcmp oeq float %65, 0.000000e+00 br i1 %66, label %67, label %69 67: ; preds = %54, %0 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %75 69: ; preds = %54 %70 = load float, ptr %6, align 4 %71 = fpext float %70 to double %72 = load float, ptr %7, align 4 %73 = fpext float %72 to double %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %71, double noundef %73) br label %75 75: ; preds = %69, %67 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 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" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_f7v29d3.c' source_filename = "/tmp/tmp_f7v29d3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_f7v29d3.c" target datalayout = "e-m:e-p270: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/tmpgm44fseg.c' source_filename = "/tmp/tmpgm44fseg.c" target datalayout = "e-m:e-p270: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 @logSumExp2(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %3, align 8 %6 = load double, ptr %4, align 8 %7 = fcmp ogt double %5, %6 br i1 %7, label %8, label %17 8: ; preds = %2 %9 = load double, ptr %3, align 8 %10 = load double, ptr %4, align 8 %11 = load double, ptr %3, align 8 %12 = fsub double %10, %11 %13 = call i64 @expm1(double noundef %12) %14 = add nsw i64 %13, 1 %15 = call double @log1p(i64 noundef %14) %16 = fadd double %9, %15 br label %26 17: ; preds = %2 %18 = load double, ptr %4, align 8 %19 = load double, ptr %3, align 8 %20 = load double, ptr %4, align 8 %21 = fsub double %19, %20 %22 = call i64 @expm1(double noundef %21) %23 = add nsw i64 %22, 1 %24 = call double @log1p(i64 noundef %23) %25 = fadd double %18, %24 br label %26 26: ; preds = %17, %8 %27 = phi double [ %16, %8 ], [ %25, %17 ] ret double %27 } declare double @log1p(i64 noundef) #1 declare i64 @expm1(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgm44fseg.c" target datalayout = "e-m:e-p270: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 @logSumExp2(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %3, align 8 %6 = load double, ptr %4, align 8 %7 = fcmp ogt double %5, %6 br i1 %7, label %8, label %17 8: ; preds = %2 %9 = load double, ptr %3, align 8 %10 = load double, ptr %4, align 8 %11 = load double, ptr %3, align 8 %12 = fsub double %10, %11 %13 = call i64 @expm1(double noundef %12) %14 = add nsw i64 %13, 1 %15 = call double @log1p(i64 noundef %14) %16 = fadd double %9, %15 br label %26 17: ; preds = %2 %18 = load double, ptr %4, align 8 %19 = load double, ptr %3, align 8 %20 = load double, ptr %4, align 8 %21 = fsub double %19, %20 %22 = call i64 @expm1(double noundef %21) %23 = add nsw i64 %22, 1 %24 = call double @log1p(i64 noundef %23) %25 = fadd double %18, %24 br label %26 26: ; preds = %17, %8 %27 = phi double [ %16, %8 ], [ %25, %17 ] ret double %27 } declare double @log1p(i64 noundef) #1 declare i64 @expm1(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7u62s1ub.c' source_filename = "/tmp/tmp7u62s1ub.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { double, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @timespec_diff(double %0, i64 %1, double %2, i64 %3) #0 { %5 = alloca %struct.timespec, align 8 %6 = alloca %struct.timespec, align 8 %7 = alloca i64, align 8 %8 = alloca double, align 8 %9 = alloca i64, align 8 %10 = getelementptr inbounds { double, i64 }, ptr %5, i32 0, i32 0 store double %0, ptr %10, align 8 %11 = getelementptr inbounds { double, i64 }, ptr %5, i32 0, i32 1 store i64 %1, ptr %11, align 8 %12 = getelementptr inbounds { double, i64 }, ptr %6, i32 0, i32 0 store double %2, ptr %12, align 8 %13 = getelementptr inbounds { double, i64 }, ptr %6, i32 0, i32 1 store i64 %3, ptr %13, align 8 store i64 1000000000, ptr %7, align 8 %14 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0 %15 = load double, ptr %14, align 8 %16 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 %17 = load double, ptr %16, align 8 %18 = fsub double %15, %17 store double %18, ptr %8, align 8 %19 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 1 %20 = load i64, ptr %19, align 8 %21 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1 %22 = load i64, ptr %21, align 8 %23 = sub nsw i64 %20, %22 %24 = load i64, ptr %7, align 8 %25 = srem i64 %23, %24 store i64 %25, ptr %9, align 8 %26 = load double, ptr %8, align 8 %27 = load i64, ptr %9, align 8 %28 = sitofp i64 %27 to double %29 = load i64, ptr %7, align 8 %30 = sitofp i64 %29 to double %31 = fdiv double %28, %30 %32 = fadd double %26, %31 ret double %32 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp7u62s1ub.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { double, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @timespec_diff(double %0, i64 %1, double %2, i64 %3) #0 { %5 = alloca %struct.timespec, align 8 %6 = alloca %struct.timespec, align 8 %7 = alloca i64, align 8 %8 = alloca double, align 8 %9 = alloca i64, align 8 %10 = getelementptr inbounds { double, i64 }, ptr %5, i32 0, i32 0 store double %0, ptr %10, align 8 %11 = getelementptr inbounds { double, i64 }, ptr %5, i32 0, i32 1 store i64 %1, ptr %11, align 8 %12 = getelementptr inbounds { double, i64 }, ptr %6, i32 0, i32 0 store double %2, ptr %12, align 8 %13 = getelementptr inbounds { double, i64 }, ptr %6, i32 0, i32 1 store i64 %3, ptr %13, align 8 store i64 1000000000, ptr %7, align 8 %14 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0 %15 = load double, ptr %14, align 8 %16 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 %17 = load double, ptr %16, align 8 %18 = fsub double %15, %17 store double %18, ptr %8, align 8 %19 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 1 %20 = load i64, ptr %19, align 8 %21 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1 %22 = load i64, ptr %21, align 8 %23 = sub nsw i64 %20, %22 %24 = load i64, ptr %7, align 8 %25 = srem i64 %23, %24 store i64 %25, ptr %9, align 8 %26 = load double, ptr %8, align 8 %27 = load i64, ptr %9, align 8 %28 = sitofp i64 %27 to double %29 = load i64, ptr %7, align 8 %30 = sitofp i64 %29 to double %31 = fdiv double %28, %30 %32 = fadd double %26, %31 ret double %32 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp48umypz1.c' source_filename = "/tmp/tmp48umypz1.c" target datalayout = "e-m:e-p270: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 @geraSudoku() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 (...) @inicializar() %5 = call i32 @time(ptr noundef null) %6 = call i32 @srand(i32 noundef %5) store i32 0, ptr %2, align 4 br label %7 7: ; preds = %97, %0 %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %8, 10 br i1 %9, label %10, label %100 10: ; preds = %7 %11 = call i32 (...) @rand() %12 = srem i32 %11, 10 store i32 %12, ptr %1, align 4 %13 = call i32 (...) @rand() %14 = srem i32 %13, 3 store i32 %14, ptr %3, align 4 %15 = load i32, ptr %1, align 4 switch i32 %15, label %96 [ i32 0, label %16 i32 1, label %41 i32 2, label %47 i32 3, label %72 i32 4, label %78 i32 5, label %80 i32 6, label %82 i32 7, label %84 i32 8, label %86 i32 9, label %88 ] 16: ; preds = %10 %17 = load i32, ptr %3, align 4 switch i32 %17, label %40 [ i32 0, label %18 i32 1, label %24 i32 2, label %32 ] 18: ; preds = %16 %19 = call i32 (...) @rand() %20 = srem i32 %19, 3 %21 = call i32 (...) @rand() %22 = srem i32 %21, 3 %23 = call i32 @trocaLinhaPeq(i32 noundef %20, i32 noundef %22) br label %40 24: ; preds = %16 %25 = call i32 (...) @rand() %26 = srem i32 %25, 3 %27 = add nsw i32 %26, 3 %28 = call i32 (...) @rand() %29 = srem i32 %28, 3 %30 = add nsw i32 %29, 3 %31 = call i32 @trocaLinhaPeq(i32 noundef %27, i32 noundef %30) br label %40 32: ; preds = %16 %33 = call i32 (...) @rand() %34 = srem i32 %33, 3 %35 = add nsw i32 %34, 6 %36 = call i32 (...) @rand() %37 = srem i32 %36, 3 %38 = add nsw i32 %37, 6 %39 = call i32 @trocaLinhaPeq(i32 noundef %35, i32 noundef %38) br label %40 40: ; preds = %16, %32, %24, %18 br label %96 41: ; preds = %10 %42 = call i32 (...) @rand() %43 = srem i32 %42, 3 %44 = call i32 (...) @rand() %45 = srem i32 %44, 3 %46 = call i32 @trocaLinhaGrande(i32 noundef %43, i32 noundef %45) br label %96 47: ; preds = %10 %48 = load i32, ptr %3, align 4 switch i32 %48, label %71 [ i32 0, label %49 i32 1, label %55 i32 2, label %63 ] 49: ; preds = %47 %50 = call i32 (...) @rand() %51 = srem i32 %50, 3 %52 = call i32 (...) @rand() %53 = srem i32 %52, 3 %54 = call i32 @trocaColunaPeq(i32 noundef %51, i32 noundef %53) br label %71 55: ; preds = %47 %56 = call i32 (...) @rand() %57 = srem i32 %56, 3 %58 = add nsw i32 %57, 3 %59 = call i32 (...) @rand() %60 = srem i32 %59, 3 %61 = add nsw i32 %60, 3 %62 = call i32 @trocaColunaPeq(i32 noundef %58, i32 noundef %61) br label %71 63: ; preds = %47 %64 = call i32 (...) @rand() %65 = srem i32 %64, 3 %66 = add nsw i32 %65, 6 %67 = call i32 (...) @rand() %68 = srem i32 %67, 3 %69 = add nsw i32 %68, 6 %70 = call i32 @trocaColunaPeq(i32 noundef %66, i32 noundef %69) br label %71 71: ; preds = %47, %63, %55, %49 br label %96 72: ; preds = %10 %73 = call i32 (...) @rand() %74 = srem i32 %73, 3 %75 = call i32 (...) @rand() %76 = srem i32 %75, 3 %77 = call i32 @trocaColunaGrande(i32 noundef %74, i32 noundef %76) br label %96 78: ; preds = %10 %79 = call i32 (...) @giraVertical() br label %96 80: ; preds = %10 %81 = call i32 (...) @giraHorizontal() br label %96 82: ; preds = %10 %83 = call i32 (...) @trocaColLinha() br label %96 84: ; preds = %10 %85 = call i32 (...) @inverteMatriz() br label %96 86: ; preds = %10 %87 = call i32 (...) @inverteMatriz2() br label %96 88: ; preds = %10 %89 = call i32 (...) @rand() %90 = srem i32 %89, 9 %91 = add nsw i32 %90, 1 %92 = call i32 (...) @rand() %93 = srem i32 %92, 9 %94 = add nsw i32 %93, 1 %95 = call i32 @substitui(i32 noundef %91, i32 noundef %94) br label %96 96: ; preds = %10, %88, %86, %84, %82, %80, %78, %72, %71, %41, %40 br label %97 97: ; preds = %96 %98 = load i32, ptr %2, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %2, align 4 br label %7, !llvm.loop !6 100: ; preds = %7 ret void } declare i32 @inicializar(...) #1 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @trocaLinhaPeq(i32 noundef, i32 noundef) #1 declare i32 @trocaLinhaGrande(i32 noundef, i32 noundef) #1 declare i32 @trocaColunaPeq(i32 noundef, i32 noundef) #1 declare i32 @trocaColunaGrande(i32 noundef, i32 noundef) #1 declare i32 @giraVertical(...) #1 declare i32 @giraHorizontal(...) #1 declare i32 @trocaColLinha(...) #1 declare i32 @inverteMatriz(...) #1 declare i32 @inverteMatriz2(...) #1 declare i32 @substitui(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp48umypz1.c" target datalayout = "e-m:e-p270: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 @geraSudoku() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 (...) @inicializar() %5 = call i32 @time(ptr noundef null) %6 = call i32 @srand(i32 noundef %5) store i32 0, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %7, 10 br i1 %8, label %.lr.ph, label %101 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %96 %10 = call i32 (...) @rand() %11 = srem i32 %10, 10 store i32 %11, ptr %1, align 4 %12 = call i32 (...) @rand() %13 = srem i32 %12, 3 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %1, align 4 switch i32 %14, label %95 [ i32 0, label %15 i32 1, label %40 i32 2, label %46 i32 3, label %71 i32 4, label %77 i32 5, label %79 i32 6, label %81 i32 7, label %83 i32 8, label %85 i32 9, label %87 ] 15: ; preds = %9 %16 = load i32, ptr %3, align 4 switch i32 %16, label %39 [ i32 0, label %17 i32 1, label %23 i32 2, label %31 ] 17: ; preds = %15 %18 = call i32 (...) @rand() %19 = srem i32 %18, 3 %20 = call i32 (...) @rand() %21 = srem i32 %20, 3 %22 = call i32 @trocaLinhaPeq(i32 noundef %19, i32 noundef %21) br label %39 23: ; preds = %15 %24 = call i32 (...) @rand() %25 = srem i32 %24, 3 %26 = add nsw i32 %25, 3 %27 = call i32 (...) @rand() %28 = srem i32 %27, 3 %29 = add nsw i32 %28, 3 %30 = call i32 @trocaLinhaPeq(i32 noundef %26, i32 noundef %29) br label %39 31: ; preds = %15 %32 = call i32 (...) @rand() %33 = srem i32 %32, 3 %34 = add nsw i32 %33, 6 %35 = call i32 (...) @rand() %36 = srem i32 %35, 3 %37 = add nsw i32 %36, 6 %38 = call i32 @trocaLinhaPeq(i32 noundef %34, i32 noundef %37) br label %39 39: ; preds = %31, %23, %17, %15 br label %95 40: ; preds = %9 %41 = call i32 (...) @rand() %42 = srem i32 %41, 3 %43 = call i32 (...) @rand() %44 = srem i32 %43, 3 %45 = call i32 @trocaLinhaGrande(i32 noundef %42, i32 noundef %44) br label %95 46: ; preds = %9 %47 = load i32, ptr %3, align 4 switch i32 %47, label %70 [ i32 0, label %48 i32 1, label %54 i32 2, label %62 ] 48: ; preds = %46 %49 = call i32 (...) @rand() %50 = srem i32 %49, 3 %51 = call i32 (...) @rand() %52 = srem i32 %51, 3 %53 = call i32 @trocaColunaPeq(i32 noundef %50, i32 noundef %52) br label %70 54: ; preds = %46 %55 = call i32 (...) @rand() %56 = srem i32 %55, 3 %57 = add nsw i32 %56, 3 %58 = call i32 (...) @rand() %59 = srem i32 %58, 3 %60 = add nsw i32 %59, 3 %61 = call i32 @trocaColunaPeq(i32 noundef %57, i32 noundef %60) br label %70 62: ; preds = %46 %63 = call i32 (...) @rand() %64 = srem i32 %63, 3 %65 = add nsw i32 %64, 6 %66 = call i32 (...) @rand() %67 = srem i32 %66, 3 %68 = add nsw i32 %67, 6 %69 = call i32 @trocaColunaPeq(i32 noundef %65, i32 noundef %68) br label %70 70: ; preds = %62, %54, %48, %46 br label %95 71: ; preds = %9 %72 = call i32 (...) @rand() %73 = srem i32 %72, 3 %74 = call i32 (...) @rand() %75 = srem i32 %74, 3 %76 = call i32 @trocaColunaGrande(i32 noundef %73, i32 noundef %75) br label %95 77: ; preds = %9 %78 = call i32 (...) @giraVertical() br label %95 79: ; preds = %9 %80 = call i32 (...) @giraHorizontal() br label %95 81: ; preds = %9 %82 = call i32 (...) @trocaColLinha() br label %95 83: ; preds = %9 %84 = call i32 (...) @inverteMatriz() br label %95 85: ; preds = %9 %86 = call i32 (...) @inverteMatriz2() br label %95 87: ; preds = %9 %88 = call i32 (...) @rand() %89 = srem i32 %88, 9 %90 = add nsw i32 %89, 1 %91 = call i32 (...) @rand() %92 = srem i32 %91, 9 %93 = add nsw i32 %92, 1 %94 = call i32 @substitui(i32 noundef %90, i32 noundef %93) br label %95 95: ; preds = %87, %85, %83, %81, %79, %77, %71, %70, %40, %39, %9 br label %96 96: ; preds = %95 %97 = load i32, ptr %2, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %2, align 4 %99 = load i32, ptr %2, align 4 %100 = icmp slt i32 %99, 10 br i1 %100, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %96 br label %101 101: ; preds = %._crit_edge, %0 ret void } declare i32 @inicializar(...) #1 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @trocaLinhaPeq(i32 noundef, i32 noundef) #1 declare i32 @trocaLinhaGrande(i32 noundef, i32 noundef) #1 declare i32 @trocaColunaPeq(i32 noundef, i32 noundef) #1 declare i32 @trocaColunaGrande(i32 noundef, i32 noundef) #1 declare i32 @giraVertical(...) #1 declare i32 @giraHorizontal(...) #1 declare i32 @trocaColLinha(...) #1 declare i32 @inverteMatriz(...) #1 declare i32 @inverteMatriz2(...) #1 declare i32 @substitui(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpffgmu99o.c' source_filename = "/tmp/tmpffgmu99o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main(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 (...) @scan_passwd() %6 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @scan_passwd(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpffgmu99o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main(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 (...) @scan_passwd() %6 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @scan_passwd(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp84rn8ds0.c' source_filename = "/tmp/tmp84rn8ds0.c" target datalayout = "e-m:e-p270: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.timeval = type { double, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @carmen_get_time() #0 { %1 = alloca %struct.timeval, align 8 %2 = call i32 @gettimeofday(ptr noundef %1, i32 noundef 0) %3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %4 = load double, ptr %3, align 8 %5 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %6 = load i32, ptr %5, align 8 %7 = sitofp i32 %6 to double %8 = call double @llvm.fmuladd.f64(double 0x3EB0C6F7A0B5ED8D, double %7, double %4) ret double %8 } declare i32 @gettimeofday(ptr noundef, i32 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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp84rn8ds0.c" target datalayout = "e-m:e-p270: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.timeval = type { double, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @carmen_get_time() #0 { %1 = alloca %struct.timeval, align 8 %2 = call i32 @gettimeofday(ptr noundef %1, i32 noundef 0) %3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %4 = load double, ptr %3, align 8 %5 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %6 = load i32, ptr %5, align 8 %7 = sitofp i32 %6 to double %8 = call double @llvm.fmuladd.f64(double 0x3EB0C6F7A0B5ED8D, double %7, double %4) ret double %8 } declare i32 @gettimeofday(ptr noundef, i32 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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvx_ntz94.c' source_filename = "/tmp/tmpvx_ntz94.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"\0AOUTPUT:\0A%d\09%lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @findMinWeightPlanet(ptr noundef %0, i32 noundef %1, double noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca double, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store double %2, ptr %6, align 8 store i32 0, ptr %7, align 4 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds double, ptr %10, i64 0 %12 = load double, ptr %11, align 8 store double %12, ptr %8, align 8 store i32 1, ptr %9, align 4 br label %13 13: ; preds = %33, %3 %14 = load i32, ptr %9, align 4 %15 = load i32, ptr %5, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %36 17: ; preds = %13 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %9, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds double, ptr %18, i64 %20 %22 = load double, ptr %21, align 8 %23 = load double, ptr %8, align 8 %24 = fcmp olt double %22, %23 br i1 %24, label %25, label %32 25: ; preds = %17 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %9, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds double, ptr %26, i64 %28 %30 = load double, ptr %29, align 8 store double %30, ptr %8, align 8 %31 = load i32, ptr %9, align 4 store i32 %31, ptr %7, align 4 br label %32 32: ; preds = %25, %17 br label %33 33: ; preds = %32 %34 = load i32, ptr %9, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %9, align 4 br label %13, !llvm.loop !6 36: ; preds = %13 %37 = load i32, ptr %7, align 4 %38 = add nsw i32 %37, 1 %39 = load double, ptr %8, align 8 %40 = call double @pow(i32 noundef 10, double noundef %39) %41 = load double, ptr %6, align 8 %42 = fmul double %40, %41 %43 = call i32 @printf(ptr noundef @.str, i32 noundef %38, double noundef %42) ret void } declare i32 @printf(ptr noundef, i32 noundef, double noundef) #1 declare double @pow(i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvx_ntz94.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"\0AOUTPUT:\0A%d\09%lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @findMinWeightPlanet(ptr noundef %0, i32 noundef %1, double noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca double, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store double %2, ptr %6, align 8 store i32 0, ptr %7, align 4 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds double, ptr %10, i64 0 %12 = load double, ptr %11, align 8 store double %12, ptr %8, align 8 store i32 1, ptr %9, align 4 %13 = load i32, ptr %9, align 4 %14 = load i32, ptr %5, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %38 .lr.ph: ; preds = %3 br label %16 16: ; preds = %.lr.ph, %32 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %9, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds double, ptr %17, i64 %19 %21 = load double, ptr %20, align 8 %22 = load double, ptr %8, align 8 %23 = fcmp olt double %21, %22 br i1 %23, label %24, label %31 24: ; preds = %16 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %9, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds double, ptr %25, i64 %27 %29 = load double, ptr %28, align 8 store double %29, ptr %8, align 8 %30 = load i32, ptr %9, align 4 store i32 %30, ptr %7, align 4 br label %31 31: ; preds = %24, %16 br label %32 32: ; preds = %31 %33 = load i32, ptr %9, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %9, align 4 %35 = load i32, ptr %9, align 4 %36 = load i32, ptr %5, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %38 38: ; preds = %._crit_edge, %3 %39 = load i32, ptr %7, align 4 %40 = add nsw i32 %39, 1 %41 = load double, ptr %8, align 8 %42 = call double @pow(i32 noundef 10, double noundef %41) %43 = load double, ptr %6, align 8 %44 = fmul double %42, %43 %45 = call i32 @printf(ptr noundef @.str, i32 noundef %40, double noundef %44) ret void } declare i32 @printf(ptr noundef, i32 noundef, double noundef) #1 declare double @pow(i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp7xuahki8.c' source_filename = "/tmp/tmp7xuahki8.c" target datalayout = "e-m:e-p270: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 i32] zeroinitializer, align 4 @__const._iodbcdm_sqlerror._sqlState = private unnamed_addr constant [6 x ptr] [ptr @.str, ptr null, ptr null, ptr null, ptr null, ptr null], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i16 @_iodbcdm_sqlerror() #0 { %1 = alloca i16, align 2 %2 = alloca [6 x ptr], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const._iodbcdm_sqlerror._sqlState, i64 48, i1 false) %3 = load i16, ptr %1, align 2 ret i16 %3 } ; 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 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp7xuahki8.c" target datalayout = "e-m:e-p270: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 i32] zeroinitializer, align 4 @__const._iodbcdm_sqlerror._sqlState = private unnamed_addr constant [6 x ptr] [ptr @.str, ptr null, ptr null, ptr null, ptr null, ptr null], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i16 @_iodbcdm_sqlerror() #0 { %1 = alloca i16, align 2 %2 = alloca [6 x ptr], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const._iodbcdm_sqlerror._sqlState, i64 48, i1 false) %3 = load i16, ptr %1, align 2 ret i16 %3 } ; 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 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpwc8oakdr.c' source_filename = "/tmp/tmpwc8oakdr.c" target datalayout = "e-m:e-p270: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/tmpwc8oakdr.c" target datalayout = "e-m:e-p270: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/tmp222mi857.c' source_filename = "/tmp/tmp222mi857.c" target datalayout = "e-m:e-p270: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"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Extra_PrintBinary_(ptr noundef %0, ptr 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 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 %11 = load i32, ptr %6, align 4 %12 = sext i32 %11 to i64 %13 = urem i64 %12, 32 %14 = trunc i64 %13 to i32 store i32 %14, ptr %7, align 4 %15 = load i32, ptr %6, align 4 %16 = sext i32 %15 to i64 %17 = udiv i64 %16, 32 %18 = load i32, ptr %7, align 4 %19 = icmp sgt i32 %18, 0 %20 = zext i1 %19 to i32 %21 = sext i32 %20 to i64 %22 = add i64 %17, %21 %23 = trunc i64 %22 to i32 store i32 %23, ptr %8, align 4 %24 = load i32, ptr %8, align 4 %25 = sub nsw i32 %24, 1 store i32 %25, ptr %9, align 4 br label %26 26: ; preds = %64, %3 %27 = load i32, ptr %9, align 4 %28 = icmp sge i32 %27, 0 br i1 %28, label %29, label %67 29: ; preds = %26 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr %8, align 4 %32 = sub nsw i32 %31, 1 %33 = icmp eq i32 %30, %32 br i1 %33, label %34, label %40 34: ; preds = %29 %35 = load i32, ptr %7, align 4 %36 = icmp ne i32 %35, 0 br i1 %36, label %37, label %40 37: ; preds = %34 %38 = load i32, ptr %7, align 4 %39 = sub nsw i32 %38, 1 br label %41 40: ; preds = %34, %29 br label %41 41: ; preds = %40, %37 %42 = phi i32 [ %39, %37 ], [ 31, %40 ] store i32 %42, ptr %10, align 4 br label %43 43: ; preds = %60, %41 %44 = load i32, ptr %10, align 4 %45 = icmp sge i32 %44, 0 br i1 %45, label %46, label %63 46: ; preds = %43 %47 = load ptr, ptr %4, align 8 %48 = load ptr, ptr %5, align 8 %49 = load i32, ptr %9, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %48, i64 %50 %52 = load i32, ptr %51, align 4 %53 = load i32, ptr %10, align 4 %54 = shl i32 1, %53 %55 = and i32 %52, %54 %56 = icmp ugt i32 %55, 0 %57 = zext i1 %56 to i32 %58 = add nsw i32 48, %57 %59 = call i32 @fprintf(ptr noundef %47, ptr noundef @.str, i32 noundef %58) br label %60 60: ; preds = %46 %61 = load i32, ptr %10, align 4 %62 = add nsw i32 %61, -1 store i32 %62, ptr %10, align 4 br label %43, !llvm.loop !6 63: ; preds = %43 br label %64 64: ; preds = %63 %65 = load i32, ptr %9, align 4 %66 = add nsw i32 %65, -1 store i32 %66, ptr %9, align 4 br label %26, !llvm.loop !8 67: ; preds = %26 ret void } declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp222mi857.c" target datalayout = "e-m:e-p270: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"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Extra_PrintBinary_(ptr noundef %0, ptr 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 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 %11 = load i32, ptr %6, align 4 %12 = sext i32 %11 to i64 %13 = urem i64 %12, 32 %14 = trunc i64 %13 to i32 store i32 %14, ptr %7, align 4 %15 = load i32, ptr %6, align 4 %16 = sext i32 %15 to i64 %17 = udiv i64 %16, 32 %18 = load i32, ptr %7, align 4 %19 = icmp sgt i32 %18, 0 %20 = zext i1 %19 to i32 %21 = sext i32 %20 to i64 %22 = add i64 %17, %21 %23 = trunc i64 %22 to i32 store i32 %23, ptr %8, align 4 %24 = load i32, ptr %8, align 4 %25 = sub nsw i32 %24, 1 store i32 %25, ptr %9, align 4 %26 = load i32, ptr %9, align 4 %27 = icmp sge i32 %26, 0 br i1 %27, label %.lr.ph2, label %69 .lr.ph2: ; preds = %3 br label %28 28: ; preds = %.lr.ph2, %64 %29 = load i32, ptr %9, align 4 %30 = load i32, ptr %8, align 4 %31 = sub nsw i32 %30, 1 %32 = icmp eq i32 %29, %31 br i1 %32, label %33, label %39 33: ; preds = %28 %34 = load i32, ptr %7, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %33 %37 = load i32, ptr %7, align 4 %38 = sub nsw i32 %37, 1 br label %40 39: ; preds = %33, %28 br label %40 40: ; preds = %39, %36 %41 = phi i32 [ %38, %36 ], [ 31, %39 ] store i32 %41, ptr %10, align 4 %42 = load i32, ptr %10, align 4 %43 = icmp sge i32 %42, 0 br i1 %43, label %.lr.ph, label %63 .lr.ph: ; preds = %40 br label %44 44: ; preds = %.lr.ph, %58 %45 = load ptr, ptr %4, align 8 %46 = load ptr, ptr %5, align 8 %47 = load i32, ptr %9, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 %50 = load i32, ptr %49, align 4 %51 = load i32, ptr %10, align 4 %52 = shl i32 1, %51 %53 = and i32 %50, %52 %54 = icmp ugt i32 %53, 0 %55 = zext i1 %54 to i32 %56 = add nsw i32 48, %55 %57 = call i32 @fprintf(ptr noundef %45, ptr noundef @.str, i32 noundef %56) br label %58 58: ; preds = %44 %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, -1 store i32 %60, ptr %10, align 4 %61 = load i32, ptr %10, align 4 %62 = icmp sge i32 %61, 0 br i1 %62, label %44, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %58 br label %63 63: ; preds = %._crit_edge, %40 br label %64 64: ; preds = %63 %65 = load i32, ptr %9, align 4 %66 = add nsw i32 %65, -1 store i32 %66, ptr %9, align 4 %67 = load i32, ptr %9, align 4 %68 = icmp sge i32 %67, 0 br i1 %68, label %28, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %64 br label %69 69: ; preds = %._crit_edge3, %3 ret void } declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpf4cjdpow.c' source_filename = "/tmp/tmpf4cjdpow.c" target datalayout = "e-m:e-p270: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/tmpf4cjdpow.c" target datalayout = "e-m:e-p270: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/tmpicsrnmx0.c' source_filename = "/tmp/tmpicsrnmx0.c" target datalayout = "e-m:e-p270: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 [33 x i8] c"<script type=\22text/javascript\22>\0A\00", align 1 @.str.1 = private unnamed_addr constant [314 x i8] c"function rectangle_bounds_changed( event ) {\0A\09var ne = rectangle.getBounds().getNorthEast();\0A\09var sw = rectangle.getBounds().getSouthWest();\0A\0A\09rectangle_southwest_latitude = sw.lat();\0A\09rectangle_southwest_longitude = sw.lng();\0A\09rectangle_northeast_latitude = ne.lat();\0A\09rectangle_northeast_longitude = ne.lng();\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"\09return true;\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"}\0A\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"</script>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @google_map_output_rectangle_bounds_changed(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 @fprintf(ptr noundef %3, ptr noundef @.str) %5 = load ptr, ptr %2, align 8 %6 = call i32 @fprintf(ptr noundef %5, ptr noundef @.str.1) %7 = load ptr, ptr %2, align 8 %8 = call i32 @fprintf(ptr noundef %7, ptr noundef @.str.2) %9 = load ptr, ptr %2, align 8 %10 = call i32 @fprintf(ptr noundef %9, ptr noundef @.str.3) %11 = load ptr, ptr %2, align 8 %12 = call i32 @fprintf(ptr noundef %11, ptr noundef @.str.4) ret void } declare i32 @fprintf(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/tmpicsrnmx0.c" target datalayout = "e-m:e-p270: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 [33 x i8] c"<script type=\22text/javascript\22>\0A\00", align 1 @.str.1 = private unnamed_addr constant [314 x i8] c"function rectangle_bounds_changed( event ) {\0A\09var ne = rectangle.getBounds().getNorthEast();\0A\09var sw = rectangle.getBounds().getSouthWest();\0A\0A\09rectangle_southwest_latitude = sw.lat();\0A\09rectangle_southwest_longitude = sw.lng();\0A\09rectangle_northeast_latitude = ne.lat();\0A\09rectangle_northeast_longitude = ne.lng();\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"\09return true;\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"}\0A\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"</script>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @google_map_output_rectangle_bounds_changed(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 @fprintf(ptr noundef %3, ptr noundef @.str) %5 = load ptr, ptr %2, align 8 %6 = call i32 @fprintf(ptr noundef %5, ptr noundef @.str.1) %7 = load ptr, ptr %2, align 8 %8 = call i32 @fprintf(ptr noundef %7, ptr noundef @.str.2) %9 = load ptr, ptr %2, align 8 %10 = call i32 @fprintf(ptr noundef %9, ptr noundef @.str.3) %11 = load ptr, ptr %2, align 8 %12 = call i32 @fprintf(ptr noundef %11, ptr noundef @.str.4) ret void } declare i32 @fprintf(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/tmphcl6gqhh.c' source_filename = "/tmp/tmphcl6gqhh.c" target datalayout = "e-m:e-p270: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_in = type { i32, i32, i32 } %struct.timeval = type { i32, i64 } %struct.hostent = type { i32, i32 } @.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [28 x i8] c"Falta argumento de entrada\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"inc\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"dec\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"Erro de entrada: %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"Host desconhecido: %s\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [23 x i8] c"Erro ao criar socket.\0A\00", align 1 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_RCVTIMEO = dso_local global i32 0, align 4 @SO_SNDTIMEO = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [29 x i8] c"Erro ao conectar ao socket.\0A\00", align 1 @.str.8 = private unnamed_addr constant [20 x i8] c"Erro de envio 1 %c\0A\00", align 1 @.str.9 = private unnamed_addr constant [24 x i8] c"Erro de recebimento %d\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.11 = private unnamed_addr constant [5 x i8] c"%03d\00", align 1 @.str.12 = private unnamed_addr constant [20 x i8] c"erro de envio 2 %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 ptr, align 8 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca [4 x i8], align 1 %11 = alloca i8, align 1 %12 = alloca i32, align 4 %13 = alloca %struct.timeval, 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 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 2 br i1 %15, label %16, label %20 16: ; preds = %2 %17 = load i32, ptr @stderr, align 4 %18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.1) %19 = call i32 @exit(i32 noundef 1) #3 unreachable 20: ; preds = %2 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = call i64 @strcmp(ptr noundef %23, ptr noundef @.str.2) %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %20 store i8 43, ptr %11, align 1 br label %42 27: ; preds = %20 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 1 %30 = load ptr, ptr %29, align 8 %31 = call i64 @strcmp(ptr noundef %30, ptr noundef @.str.3) %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %34 33: ; preds = %27 store i8 45, ptr %11, align 1 br label %41 34: ; preds = %27 %35 = load i32, ptr @stderr, align 4 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 1 %38 = load ptr, ptr %37, align 8 %39 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %35, ptr noundef @.str.4, ptr noundef %38) %40 = call i32 @exit(i32 noundef 1) #3 unreachable 41: ; preds = %33 br label %42 42: ; preds = %41, %26 %43 = load ptr, ptr %8, align 8 %44 = call ptr @gethostbyname(ptr noundef %43) store ptr %44, ptr %6, align 8 %45 = load ptr, ptr %6, align 8 %46 = icmp ne ptr %45, null br i1 %46, label %52, label %47 47: ; preds = %42 %48 = load i32, ptr @stderr, align 4 %49 = load ptr, ptr %8, align 8 %50 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %48, ptr noundef @.str.5, ptr noundef %49) %51 = call i32 @exit(i32 noundef 1) #3 unreachable 52: ; preds = %42 %53 = call i32 @bzero(ptr noundef %7, i32 noundef 12) %54 = load i32, ptr @AF_INET, align 4 %55 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %54, ptr %55, align 4 %56 = load ptr, ptr %6, align 8 %57 = getelementptr inbounds %struct.hostent, ptr %56, i32 0, i32 1 %58 = load i32, ptr %57, align 4 %59 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 %60 = load ptr, ptr %6, align 8 %61 = getelementptr inbounds %struct.hostent, ptr %60, i32 0, i32 0 %62 = load i32, ptr %61, align 4 %63 = call i32 @bcopy(i32 noundef %58, ptr noundef %59, i32 noundef %62) %64 = call i32 @htons(i32 noundef 51515) %65 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 store i32 %64, ptr %65, align 4 %66 = load i32, ptr @PF_INET, align 4 %67 = load i32, ptr @SOCK_STREAM, align 4 %68 = call i32 @socket(i32 noundef %66, i32 noundef %67, i32 noundef 0) store i32 %68, ptr %12, align 4 %69 = load i32, ptr %12, align 4 %70 = icmp slt i32 %69, 0 br i1 %70, label %71, label %75 71: ; preds = %52 %72 = load i32, ptr @stderr, align 4 %73 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %72, ptr noundef @.str.6) %74 = call i32 @exit(i32 noundef 1) #3 unreachable 75: ; preds = %52 %76 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 0 store i32 2, ptr %76, align 8 %77 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 1 store i64 0, ptr %77, align 8 %78 = load i32, ptr %12, align 4 %79 = load i32, ptr @SOL_SOCKET, align 4 %80 = load i32, ptr @SO_RCVTIMEO, align 4 %81 = call i32 @setsockopt(i32 noundef %78, i32 noundef %79, i32 noundef %80, ptr noundef %13, i32 noundef 16) %82 = load i32, ptr %12, align 4 %83 = load i32, ptr @SOL_SOCKET, align 4 %84 = load i32, ptr @SO_SNDTIMEO, align 4 %85 = call i32 @setsockopt(i32 noundef %82, i32 noundef %83, i32 noundef %84, ptr noundef %13, i32 noundef 16) %86 = load i32, ptr %12, align 4 %87 = call i64 @connect(i32 noundef %86, ptr noundef %7, i32 noundef 12) %88 = icmp slt i64 %87, 0 br i1 %88, label %89, label %95 89: ; preds = %75 %90 = load i32, ptr @stderr, align 4 %91 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %90, ptr noundef @.str.7) %92 = load i32, ptr %12, align 4 %93 = call i32 @close(i32 noundef %92) %94 = call i32 @exit(i32 noundef 1) #3 unreachable 95: ; preds = %75 %96 = load i32, ptr %12, align 4 %97 = call i64 @send(i32 noundef %96, ptr noundef %11, i32 noundef 1, i32 noundef 0) %98 = icmp slt i64 %97, 0 br i1 %98, label %99, label %107 99: ; preds = %95 %100 = load i32, ptr @stderr, align 4 %101 = load i8, ptr %11, align 1 %102 = sext i8 %101 to i32 %103 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %100, ptr noundef @.str.8, i32 noundef %102) %104 = load i32, ptr %12, align 4 %105 = call i32 @close(i32 noundef %104) %106 = call i32 @exit(i32 noundef 1) #3 unreachable 107: ; preds = %95 %108 = load i32, ptr %12, align 4 %109 = call i64 @recv(i32 noundef %108, ptr noundef %9, i32 noundef 4, i32 noundef 0) %110 = icmp slt i64 %109, 0 br i1 %110, label %111, label %118 111: ; preds = %107 %112 = load i32, ptr @stderr, align 4 %113 = load i32, ptr %9, align 4 %114 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %112, ptr noundef @.str.9, i32 noundef %113) %115 = load i32, ptr %12, align 4 %116 = call i32 @close(i32 noundef %115) %117 = call i32 @exit(i32 noundef 1) #3 unreachable 118: ; preds = %107 %119 = load i32, ptr %9, align 4 %120 = call i32 @ntohl(i32 noundef %119) store i32 %120, ptr %9, align 4 %121 = load i32, ptr @stdout, align 4 %122 = load i32, ptr %9, align 4 %123 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %121, ptr noundef @.str.10, i32 noundef %122) %124 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0 %125 = load i32, ptr %9, align 4 %126 = call i32 @sprintf(ptr noundef %124, ptr noundef @.str.11, i32 noundef %125) %127 = load i32, ptr %12, align 4 %128 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0 %129 = call i64 @send(i32 noundef %127, ptr noundef %128, i32 noundef 4, i32 noundef 0) %130 = icmp slt i64 %129, 0 br i1 %130, label %131, label %138 131: ; preds = %118 %132 = load i32, ptr @stderr, align 4 %133 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0 %134 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %132, ptr noundef @.str.12, ptr noundef %133) %135 = load i32, ptr %12, align 4 %136 = call i32 @close(i32 noundef %135) %137 = call i32 @exit(i32 noundef 1) #3 unreachable 138: ; preds = %118 %139 = load i32, ptr %12, align 4 %140 = call i32 @close(i32 noundef %139) %141 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @gethostbyname(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @bcopy(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i64 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @ntohl(i32 noundef) #1 declare i32 @sprintf(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" } 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/tmphcl6gqhh.c" target datalayout = "e-m:e-p270: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_in = type { i32, i32, i32 } %struct.timeval = type { i32, i64 } %struct.hostent = type { i32, i32 } @.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [28 x i8] c"Falta argumento de entrada\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"inc\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"dec\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"Erro de entrada: %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"Host desconhecido: %s\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [23 x i8] c"Erro ao criar socket.\0A\00", align 1 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_RCVTIMEO = dso_local global i32 0, align 4 @SO_SNDTIMEO = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [29 x i8] c"Erro ao conectar ao socket.\0A\00", align 1 @.str.8 = private unnamed_addr constant [20 x i8] c"Erro de envio 1 %c\0A\00", align 1 @.str.9 = private unnamed_addr constant [24 x i8] c"Erro de recebimento %d\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.11 = private unnamed_addr constant [5 x i8] c"%03d\00", align 1 @.str.12 = private unnamed_addr constant [20 x i8] c"erro de envio 2 %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 ptr, align 8 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca [4 x i8], align 1 %11 = alloca i8, align 1 %12 = alloca i32, align 4 %13 = alloca %struct.timeval, 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 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 2 br i1 %15, label %16, label %20 16: ; preds = %2 %17 = load i32, ptr @stderr, align 4 %18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.1) %19 = call i32 @exit(i32 noundef 1) #3 unreachable 20: ; preds = %2 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = call i64 @strcmp(ptr noundef %23, ptr noundef @.str.2) %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %20 store i8 43, ptr %11, align 1 br label %42 27: ; preds = %20 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 1 %30 = load ptr, ptr %29, align 8 %31 = call i64 @strcmp(ptr noundef %30, ptr noundef @.str.3) %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %34 33: ; preds = %27 store i8 45, ptr %11, align 1 br label %41 34: ; preds = %27 %35 = load i32, ptr @stderr, align 4 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 1 %38 = load ptr, ptr %37, align 8 %39 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %35, ptr noundef @.str.4, ptr noundef %38) %40 = call i32 @exit(i32 noundef 1) #3 unreachable 41: ; preds = %33 br label %42 42: ; preds = %41, %26 %43 = load ptr, ptr %8, align 8 %44 = call ptr @gethostbyname(ptr noundef %43) store ptr %44, ptr %6, align 8 %45 = load ptr, ptr %6, align 8 %46 = icmp ne ptr %45, null br i1 %46, label %52, label %47 47: ; preds = %42 %48 = load i32, ptr @stderr, align 4 %49 = load ptr, ptr %8, align 8 %50 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %48, ptr noundef @.str.5, ptr noundef %49) %51 = call i32 @exit(i32 noundef 1) #3 unreachable 52: ; preds = %42 %53 = call i32 @bzero(ptr noundef %7, i32 noundef 12) %54 = load i32, ptr @AF_INET, align 4 %55 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %54, ptr %55, align 4 %56 = load ptr, ptr %6, align 8 %57 = getelementptr inbounds %struct.hostent, ptr %56, i32 0, i32 1 %58 = load i32, ptr %57, align 4 %59 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 %60 = load ptr, ptr %6, align 8 %61 = getelementptr inbounds %struct.hostent, ptr %60, i32 0, i32 0 %62 = load i32, ptr %61, align 4 %63 = call i32 @bcopy(i32 noundef %58, ptr noundef %59, i32 noundef %62) %64 = call i32 @htons(i32 noundef 51515) %65 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 store i32 %64, ptr %65, align 4 %66 = load i32, ptr @PF_INET, align 4 %67 = load i32, ptr @SOCK_STREAM, align 4 %68 = call i32 @socket(i32 noundef %66, i32 noundef %67, i32 noundef 0) store i32 %68, ptr %12, align 4 %69 = load i32, ptr %12, align 4 %70 = icmp slt i32 %69, 0 br i1 %70, label %71, label %75 71: ; preds = %52 %72 = load i32, ptr @stderr, align 4 %73 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %72, ptr noundef @.str.6) %74 = call i32 @exit(i32 noundef 1) #3 unreachable 75: ; preds = %52 %76 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 0 store i32 2, ptr %76, align 8 %77 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 1 store i64 0, ptr %77, align 8 %78 = load i32, ptr %12, align 4 %79 = load i32, ptr @SOL_SOCKET, align 4 %80 = load i32, ptr @SO_RCVTIMEO, align 4 %81 = call i32 @setsockopt(i32 noundef %78, i32 noundef %79, i32 noundef %80, ptr noundef %13, i32 noundef 16) %82 = load i32, ptr %12, align 4 %83 = load i32, ptr @SOL_SOCKET, align 4 %84 = load i32, ptr @SO_SNDTIMEO, align 4 %85 = call i32 @setsockopt(i32 noundef %82, i32 noundef %83, i32 noundef %84, ptr noundef %13, i32 noundef 16) %86 = load i32, ptr %12, align 4 %87 = call i64 @connect(i32 noundef %86, ptr noundef %7, i32 noundef 12) %88 = icmp slt i64 %87, 0 br i1 %88, label %89, label %95 89: ; preds = %75 %90 = load i32, ptr @stderr, align 4 %91 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %90, ptr noundef @.str.7) %92 = load i32, ptr %12, align 4 %93 = call i32 @close(i32 noundef %92) %94 = call i32 @exit(i32 noundef 1) #3 unreachable 95: ; preds = %75 %96 = load i32, ptr %12, align 4 %97 = call i64 @send(i32 noundef %96, ptr noundef %11, i32 noundef 1, i32 noundef 0) %98 = icmp slt i64 %97, 0 br i1 %98, label %99, label %107 99: ; preds = %95 %100 = load i32, ptr @stderr, align 4 %101 = load i8, ptr %11, align 1 %102 = sext i8 %101 to i32 %103 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %100, ptr noundef @.str.8, i32 noundef %102) %104 = load i32, ptr %12, align 4 %105 = call i32 @close(i32 noundef %104) %106 = call i32 @exit(i32 noundef 1) #3 unreachable 107: ; preds = %95 %108 = load i32, ptr %12, align 4 %109 = call i64 @recv(i32 noundef %108, ptr noundef %9, i32 noundef 4, i32 noundef 0) %110 = icmp slt i64 %109, 0 br i1 %110, label %111, label %118 111: ; preds = %107 %112 = load i32, ptr @stderr, align 4 %113 = load i32, ptr %9, align 4 %114 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %112, ptr noundef @.str.9, i32 noundef %113) %115 = load i32, ptr %12, align 4 %116 = call i32 @close(i32 noundef %115) %117 = call i32 @exit(i32 noundef 1) #3 unreachable 118: ; preds = %107 %119 = load i32, ptr %9, align 4 %120 = call i32 @ntohl(i32 noundef %119) store i32 %120, ptr %9, align 4 %121 = load i32, ptr @stdout, align 4 %122 = load i32, ptr %9, align 4 %123 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %121, ptr noundef @.str.10, i32 noundef %122) %124 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0 %125 = load i32, ptr %9, align 4 %126 = call i32 @sprintf(ptr noundef %124, ptr noundef @.str.11, i32 noundef %125) %127 = load i32, ptr %12, align 4 %128 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0 %129 = call i64 @send(i32 noundef %127, ptr noundef %128, i32 noundef 4, i32 noundef 0) %130 = icmp slt i64 %129, 0 br i1 %130, label %131, label %138 131: ; preds = %118 %132 = load i32, ptr @stderr, align 4 %133 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0 %134 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %132, ptr noundef @.str.12, ptr noundef %133) %135 = load i32, ptr %12, align 4 %136 = call i32 @close(i32 noundef %135) %137 = call i32 @exit(i32 noundef 1) #3 unreachable 138: ; preds = %118 %139 = load i32, ptr %12, align 4 %140 = call i32 @close(i32 noundef %139) %141 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @gethostbyname(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @bcopy(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i64 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @ntohl(i32 noundef) #1 declare i32 @sprintf(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" } 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/tmpoadh6vwo.c' source_filename = "/tmp/tmpoadh6vwo.c" target datalayout = "e-m:e-p270: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 void @insert_empty_line() #0 { %1 = call i32 @newstr(ptr noundef @.str) ret void } declare i32 @newstr(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/tmpoadh6vwo.c" target datalayout = "e-m:e-p270: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 void @insert_empty_line() #0 { %1 = call i32 @newstr(ptr noundef @.str) ret void } declare i32 @newstr(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/tmpwndf3spt.c' source_filename = "/tmp/tmpwndf3spt.c" target datalayout = "e-m:e-p270: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 @julian_get_hhmm_string(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 ptr @julian_display_hhmm(double noundef %3) ret ptr %4 } declare ptr @julian_display_hhmm(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwndf3spt.c" target datalayout = "e-m:e-p270: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 @julian_get_hhmm_string(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 ptr @julian_display_hhmm(double noundef %3) ret ptr %4 } declare ptr @julian_display_hhmm(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd4n1rn_0.c' source_filename = "/tmp/tmpd4n1rn_0.c" target datalayout = "e-m:e-p270: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.firstSequence = private unnamed_addr constant [7 x i32] [i32 1, i32 3, i32 4, i32 5, i32 1, i32 0, i32 5], align 16 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [7 x i32], align 16 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.firstSequence, i64 28, i1 false) %4 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0 %5 = call i32 @first_larger_than_neighbours(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) 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 @first_larger_than_neighbours(ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd4n1rn_0.c" target datalayout = "e-m:e-p270: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.firstSequence = private unnamed_addr constant [7 x i32] [i32 1, i32 3, i32 4, i32 5, i32 1, i32 0, i32 5], align 16 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [7 x i32], align 16 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.firstSequence, i64 28, i1 false) %4 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0 %5 = call i32 @first_larger_than_neighbours(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) 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 @first_larger_than_neighbours(ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjjfnqpeo.c' source_filename = "/tmp/tmpjjfnqpeo.c" target datalayout = "e-m:e-p270: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/tmpjjfnqpeo.c" target datalayout = "e-m:e-p270: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/tmprdyyx1ka.c' source_filename = "/tmp/tmprdyyx1ka.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"./a.out <key> <sequence>\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.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(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 3 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fputs(ptr noundef @.str, i32 noundef %9) %11 = call i32 @exit(i32 noundef 0) #3 unreachable 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 0 %17 = load i8, ptr %16, align 1 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 2 %20 = load ptr, ptr %19, align 8 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 2 %23 = load ptr, ptr %22, align 8 %24 = call i64 @strlen(ptr noundef %23) %25 = sub nsw i64 %24, 1 %26 = call i32 @bin_sear(i8 noundef signext %17, ptr noundef %20, i32 noundef 0, i64 noundef %25) %27 = call i32 @printf(ptr noundef @.str.1, i32 noundef %26) %28 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @fputs(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @bin_sear(i8 noundef signext, ptr noundef, i32 noundef, i64 noundef) #1 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" } 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/tmprdyyx1ka.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"./a.out <key> <sequence>\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.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(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 3 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fputs(ptr noundef @.str, i32 noundef %9) %11 = call i32 @exit(i32 noundef 0) #3 unreachable 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 0 %17 = load i8, ptr %16, align 1 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 2 %20 = load ptr, ptr %19, align 8 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 2 %23 = load ptr, ptr %22, align 8 %24 = call i64 @strlen(ptr noundef %23) %25 = sub nsw i64 %24, 1 %26 = call i32 @bin_sear(i8 noundef signext %17, ptr noundef %20, i32 noundef 0, i64 noundef %25) %27 = call i32 @printf(ptr noundef @.str.1, i32 noundef %26) %28 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @fputs(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @bin_sear(i8 noundef signext, ptr noundef, i32 noundef, i64 noundef) #1 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" } 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/tmpn8g8qx3b.c' source_filename = "/tmp/tmpn8g8qx3b.c" target datalayout = "e-m:e-p270: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 @ComparatorIntClear(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = icmp eq i64 %5, 1073987584 %7 = zext i1 %6 to i32 %8 = call i32 @DEBUG_ASSERT(i32 noundef %7) %9 = load i64, ptr %4, align 8 %10 = icmp ult i64 %9, 3 %11 = zext i1 %10 to i32 %12 = call i32 @DEBUG_ASSERT(i32 noundef %11) %13 = load i64, ptr %4, align 8 %14 = trunc i64 %13 to i32 %15 = shl i32 1, %14 %16 = sext i32 %15 to i64 %17 = load i64, ptr %3, align 8 %18 = add i64 %17, 0 %19 = inttoptr i64 %18 to ptr store volatile i64 %16, ptr %19, align 8 ret void } declare i32 @DEBUG_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/tmpn8g8qx3b.c" target datalayout = "e-m:e-p270: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 @ComparatorIntClear(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = icmp eq i64 %5, 1073987584 %7 = zext i1 %6 to i32 %8 = call i32 @DEBUG_ASSERT(i32 noundef %7) %9 = load i64, ptr %4, align 8 %10 = icmp ult i64 %9, 3 %11 = zext i1 %10 to i32 %12 = call i32 @DEBUG_ASSERT(i32 noundef %11) %13 = load i64, ptr %4, align 8 %14 = trunc i64 %13 to i32 %15 = shl i32 1, %14 %16 = sext i32 %15 to i64 %17 = load i64, ptr %3, align 8 %18 = add i64 %17, 0 %19 = inttoptr i64 %18 to ptr store volatile i64 %16, ptr %19, align 8 ret void } declare i32 @DEBUG_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/tmp06yi695c.c' source_filename = "/tmp/tmp06yi695c.c" target datalayout = "e-m:e-p270: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 @delay2(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = call i32 (...) @clock() store i32 %9, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %10 10: ; preds = %15, %3 %11 = load i32, ptr %8, align 4 %12 = sext i32 %11 to i64 %13 = load i64, ptr %5, align 8 %14 = icmp ult i64 %12, %13 br i1 %14, label %15, label %19 15: ; preds = %10 %16 = call i32 (...) @clock() %17 = load i32, ptr %7, align 4 %18 = sub nsw i32 %16, %17 store i32 %18, ptr %8, align 4 br label %10, !llvm.loop !6 19: ; preds = %10 %20 = load i64, ptr %6, align 8 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i64, ptr %21, i64 0 store i64 %20, ptr %22, align 8 ret void } declare i32 @clock(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp06yi695c.c" target datalayout = "e-m:e-p270: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 @delay2(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = call i32 (...) @clock() store i32 %9, ptr %7, align 4 store i32 0, ptr %8, align 4 %10 = load i32, ptr %8, align 4 %11 = sext i32 %10 to i64 %12 = load i64, ptr %5, align 8 %13 = icmp ult i64 %11, %12 br i1 %13, label %.lr.ph, label %22 .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %14 %15 = call i32 (...) @clock() %16 = load i32, ptr %7, align 4 %17 = sub nsw i32 %15, %16 store i32 %17, ptr %8, align 4 %18 = load i32, ptr %8, align 4 %19 = sext i32 %18 to i64 %20 = load i64, ptr %5, align 8 %21 = icmp ult i64 %19, %20 br i1 %21, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %22 22: ; preds = %._crit_edge, %3 %23 = load i64, ptr %6, align 8 %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds i64, ptr %24, i64 0 store i64 %23, ptr %25, align 8 ret void } declare i32 @clock(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp3epmgj8b.c' source_filename = "/tmp/tmp3epmgj8b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"%d %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 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 @INT_MAX, align 4 store i32 %7, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = add nsw i32 %9, 1 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %10) ret i32 0 } declare i32 @printf(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/tmp3epmgj8b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"%d %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 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 @INT_MAX, align 4 store i32 %7, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = add nsw i32 %9, 1 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %10) ret i32 0 } declare i32 @printf(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/tmpvfk_2yqu.c' source_filename = "/tmp/tmpvfk_2yqu.c" target datalayout = "e-m:e-p270: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/tmpvfk_2yqu.c" target datalayout = "e-m:e-p270: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/tmpe_t0z38b.c' source_filename = "/tmp/tmpe_t0z38b.c" target datalayout = "e-m:e-p270: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"%lf\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"VOLUME = %.3lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load double, ptr %2, align 8 %5 = fmul double 0x402921F9F01B866E, %4 %6 = load double, ptr %2, align 8 %7 = fmul double %5, %6 %8 = load double, ptr %2, align 8 %9 = fmul double %7, %8 %10 = fdiv double %9, 3.000000e+00 %11 = fptosi double %10 to i32 %12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe_t0z38b.c" target datalayout = "e-m:e-p270: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"%lf\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"VOLUME = %.3lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load double, ptr %2, align 8 %5 = fmul double 0x402921F9F01B866E, %4 %6 = load double, ptr %2, align 8 %7 = fmul double %5, %6 %8 = load double, ptr %2, align 8 %9 = fmul double %7, %8 %10 = fdiv double %9, 3.000000e+00 %11 = fptosi double %10 to i32 %12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplk78dgrb.c' source_filename = "/tmp/tmplk78dgrb.c" target datalayout = "e-m:e-p270: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.tcb = type { i32, ptr } @.str = private unnamed_addr constant [14 x i8] c"counter = %d\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 store i32 0, ptr %1, align 4 %3 = call ptr @malloc(i32 noundef 16) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds %struct.tcb, ptr %4, i32 0, i32 0 store i32 10, ptr %5, align 8 %6 = load ptr, ptr %2, align 8 %7 = getelementptr inbounds %struct.tcb, ptr %6, i32 0, i32 1 store ptr null, ptr %7, align 8 %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds %struct.tcb, ptr %8, i32 0, i32 0 %10 = load i32, ptr %9, align 8 %11 = add nsw i32 %10, 1 store i32 %11, ptr %9, align 8 %12 = load ptr, ptr %2, align 8 %13 = getelementptr inbounds %struct.tcb, ptr %12, i32 0, i32 0 %14 = load i32, ptr %13, align 8 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %14) %16 = load ptr, ptr %2, align 8 %17 = call i32 @free(ptr noundef %16) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(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/tmplk78dgrb.c" target datalayout = "e-m:e-p270: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.tcb = type { i32, ptr } @.str = private unnamed_addr constant [14 x i8] c"counter = %d\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 store i32 0, ptr %1, align 4 %3 = call ptr @malloc(i32 noundef 16) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds %struct.tcb, ptr %4, i32 0, i32 0 store i32 10, ptr %5, align 8 %6 = load ptr, ptr %2, align 8 %7 = getelementptr inbounds %struct.tcb, ptr %6, i32 0, i32 1 store ptr null, ptr %7, align 8 %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds %struct.tcb, ptr %8, i32 0, i32 0 %10 = load i32, ptr %9, align 8 %11 = add nsw i32 %10, 1 store i32 %11, ptr %9, align 8 %12 = load ptr, ptr %2, align 8 %13 = getelementptr inbounds %struct.tcb, ptr %12, i32 0, i32 0 %14 = load i32, ptr %13, align 8 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %14) %16 = load ptr, ptr %2, align 8 %17 = call i32 @free(ptr noundef %16) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(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/tmp1p_65kjm.c' source_filename = "/tmp/tmp1p_65kjm.c" target datalayout = "e-m:e-p270: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 @testClosureIDrV(ptr noundef %0, i32 noundef %1, double noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca double, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store double %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %13 9: ; preds = %3 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %5, align 4 %12 = load double, ptr %6, align 8 call void %10(i32 noundef %11, double noundef %12) br label %13 13: ; preds = %9, %3 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/tmp1p_65kjm.c" target datalayout = "e-m:e-p270: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 @testClosureIDrV(ptr noundef %0, i32 noundef %1, double noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca double, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store double %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %13 9: ; preds = %3 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %5, align 4 %12 = load double, ptr %6, align 8 call void %10(i32 noundef %11, double noundef %12) br label %13 13: ; preds = %9, %3 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/tmp82ghy982.c' source_filename = "/tmp/tmp82ghy982.c" target datalayout = "e-m:e-p270: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 [42 x i8] c"error: dsh_cmd_send function call failed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @err_dsh_cmd_send() #0 { %1 = load i32, ptr @stderr, 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/tmp82ghy982.c" target datalayout = "e-m:e-p270: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 [42 x i8] c"error: dsh_cmd_send function call failed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @err_dsh_cmd_send() #0 { %1 = load i32, ptr @stderr, 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/tmp340zht1c.c' source_filename = "/tmp/tmp340zht1c.c" target datalayout = "e-m:e-p270: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"poly\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"cos\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"sin\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"xsin\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"imaginary\00", align 1 @.str.5 = private unnamed_addr constant [40 x i8] c"Error: %s is not a valid function name\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @f(ptr noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca ptr, align 8 %5 = alloca double, align 8 store ptr %0, ptr %4, align 8 store double %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i64 @strcmp(ptr noundef %6, ptr noundef @.str) %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %2 %10 = load double, ptr %5, align 8 %11 = load double, ptr %5, align 8 %12 = call double @llvm.fmuladd.f64(double %10, double %11, double -4.000000e+00) store double %12, ptr %3, align 8 br label %55 13: ; preds = %2 %14 = load ptr, ptr %4, align 8 %15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.1) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %26 17: ; preds = %13 %18 = load double, ptr %5, align 8 %19 = call double @cos(double noundef %18) #5 %20 = load double, ptr %5, align 8 %21 = load double, ptr %5, align 8 %22 = fmul double %20, %21 %23 = load double, ptr %5, align 8 %24 = fneg double %22 %25 = call double @llvm.fmuladd.f64(double %24, double %23, double %19) store double %25, ptr %3, align 8 br label %55 26: ; preds = %13 %27 = load ptr, ptr %4, align 8 %28 = call i64 @strcmp(ptr noundef %27, ptr noundef @.str.2) %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %34 30: ; preds = %26 %31 = load double, ptr %5, align 8 %32 = call double @sin(double noundef %31) #5 %33 = fsub double %32, 5.000000e-01 store double %33, ptr %3, align 8 br label %55 34: ; preds = %26 %35 = load ptr, ptr %4, align 8 %36 = call i64 @strcmp(ptr noundef %35, ptr noundef @.str.3) %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %43 38: ; preds = %34 %39 = load double, ptr %5, align 8 %40 = load double, ptr %5, align 8 %41 = call double @sin(double noundef %40) #5 %42 = call double @llvm.fmuladd.f64(double %39, double %41, double -1.000000e+01) store double %42, ptr %3, align 8 br label %55 43: ; preds = %34 %44 = load ptr, ptr %4, align 8 %45 = call i64 @strcmp(ptr noundef %44, ptr noundef @.str.4) %46 = icmp eq i64 %45, 0 br i1 %46, label %47, label %51 47: ; preds = %43 %48 = load double, ptr %5, align 8 %49 = load double, ptr %5, align 8 %50 = call double @llvm.fmuladd.f64(double %48, double %49, double 1.000000e+00) store double %50, ptr %3, align 8 br label %55 51: ; preds = %43 %52 = load ptr, ptr %4, align 8 %53 = call i32 @printf(ptr noundef @.str.5, ptr noundef %52) %54 = call i32 @exit(i32 noundef 1) #6 unreachable 55: ; preds = %47, %38, %30, %17, %9 %56 = load double, ptr %3, align 8 ret double %56 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @cos(double noundef) #3 ; Function Attrs: nounwind declare double @sin(double noundef) #3 declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #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" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { 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 #5 = { nounwind } attributes #6 = { 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/tmp340zht1c.c" target datalayout = "e-m:e-p270: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"poly\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"cos\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"sin\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"xsin\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"imaginary\00", align 1 @.str.5 = private unnamed_addr constant [40 x i8] c"Error: %s is not a valid function name\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @f(ptr noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca ptr, align 8 %5 = alloca double, align 8 store ptr %0, ptr %4, align 8 store double %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i64 @strcmp(ptr noundef %6, ptr noundef @.str) %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %2 %10 = load double, ptr %5, align 8 %11 = load double, ptr %5, align 8 %12 = call double @llvm.fmuladd.f64(double %10, double %11, double -4.000000e+00) store double %12, ptr %3, align 8 br label %55 13: ; preds = %2 %14 = load ptr, ptr %4, align 8 %15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.1) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %26 17: ; preds = %13 %18 = load double, ptr %5, align 8 %19 = call double @cos(double noundef %18) #5 %20 = load double, ptr %5, align 8 %21 = load double, ptr %5, align 8 %22 = fmul double %20, %21 %23 = load double, ptr %5, align 8 %24 = fneg double %22 %25 = call double @llvm.fmuladd.f64(double %24, double %23, double %19) store double %25, ptr %3, align 8 br label %55 26: ; preds = %13 %27 = load ptr, ptr %4, align 8 %28 = call i64 @strcmp(ptr noundef %27, ptr noundef @.str.2) %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %34 30: ; preds = %26 %31 = load double, ptr %5, align 8 %32 = call double @sin(double noundef %31) #5 %33 = fsub double %32, 5.000000e-01 store double %33, ptr %3, align 8 br label %55 34: ; preds = %26 %35 = load ptr, ptr %4, align 8 %36 = call i64 @strcmp(ptr noundef %35, ptr noundef @.str.3) %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %43 38: ; preds = %34 %39 = load double, ptr %5, align 8 %40 = load double, ptr %5, align 8 %41 = call double @sin(double noundef %40) #5 %42 = call double @llvm.fmuladd.f64(double %39, double %41, double -1.000000e+01) store double %42, ptr %3, align 8 br label %55 43: ; preds = %34 %44 = load ptr, ptr %4, align 8 %45 = call i64 @strcmp(ptr noundef %44, ptr noundef @.str.4) %46 = icmp eq i64 %45, 0 br i1 %46, label %47, label %51 47: ; preds = %43 %48 = load double, ptr %5, align 8 %49 = load double, ptr %5, align 8 %50 = call double @llvm.fmuladd.f64(double %48, double %49, double 1.000000e+00) store double %50, ptr %3, align 8 br label %55 51: ; preds = %43 %52 = load ptr, ptr %4, align 8 %53 = call i32 @printf(ptr noundef @.str.5, ptr noundef %52) %54 = call i32 @exit(i32 noundef 1) #6 unreachable 55: ; preds = %47, %38, %30, %17, %9 %56 = load double, ptr %3, align 8 ret double %56 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @cos(double noundef) #3 ; Function Attrs: nounwind declare double @sin(double noundef) #3 declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #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" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { 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 #5 = { nounwind } attributes #6 = { 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/tmp8_qgo230.c' source_filename = "/tmp/tmp8_qgo230.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOBUFS = dso_local global i32 0, align 4 @ERANGE = dso_local global i64 0, align 8 @PATH_MAX = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8_qgo230.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOBUFS = dso_local global i32 0, align 4 @ERANGE = dso_local global i64 0, align 8 @PATH_MAX = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc9datb0e.c' source_filename = "/tmp/tmpc9datb0e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpc9datb0e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpc0kdooob.c' source_filename = "/tmp/tmpc0kdooob.c" target datalayout = "e-m:e-p270: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.people = type { i32, ptr, i8, i16 } %union.ticket = type { [11 x i8] } %struct.anon = type { i8, [2 x i8], i8, [6 x i8] } @.str = private unnamed_addr constant [7 x i8] c"\E5\B0\8F\E6\98\8E\00", align 1 @__const.main.xiaomin = private unnamed_addr constant %struct.people { i32 1, ptr @.str, i8 77, i16 9 }, align 8 @.str.1 = private unnamed_addr constant [7 x i8] c"\E7\8E\9B\E4\B8\BD\00", align 1 @.str.2 = private unnamed_addr constant [55 x i8] c"\E7\BC\96\E5\8F\B7\EF\BC\9A%d\EF\BC\8C\E5\A7\93\E5\90\8D\EF\BC\9A%s\EF\BC\8C\E6\80\A7\E5\88\AB\EF\BC\9A%c\EF\BC\8C\E5\B9\B4\E9\BE\84\EF\BC\9A%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"csh1abcde9\00", align 1 @.str.4 = private unnamed_addr constant [68 x i8] c"src_str:%s, sys_flag:%c, cluster_name:%s, cluster_num:%c, other:%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 ptr, align 8 %5 = alloca %struct.people, align 8 %6 = alloca %struct.people, align 8 %7 = alloca %union.ticket, align 1 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 8 %5, ptr align 8 @__const.main.xiaomin, i64 24, i1 false) %8 = getelementptr inbounds %struct.people, ptr %6, i32 0, i32 0 store i32 2, ptr %8, align 8 %9 = getelementptr inbounds %struct.people, ptr %6, i32 0, i32 1 store ptr @.str.1, ptr %9, align 8 %10 = getelementptr inbounds %struct.people, ptr %6, i32 0, i32 2 store i8 70, ptr %10, align 8 %11 = getelementptr inbounds %struct.people, ptr %6, i32 0, i32 3 store i16 10, ptr %11, align 2 %12 = getelementptr inbounds %struct.people, ptr %5, i32 0, i32 0 %13 = load i32, ptr %12, align 8 %14 = getelementptr inbounds %struct.people, ptr %5, i32 0, i32 1 %15 = load ptr, ptr %14, align 8 %16 = getelementptr inbounds %struct.people, ptr %5, i32 0, i32 2 %17 = load i8, ptr %16, align 8 %18 = sext i8 %17 to i32 %19 = getelementptr inbounds %struct.people, ptr %5, i32 0, i32 3 %20 = load i16, ptr %19, align 2 %21 = zext i16 %20 to i32 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13, ptr noundef %15, i32 noundef %18, i32 noundef %21) %23 = getelementptr inbounds %struct.people, ptr %6, i32 0, i32 0 %24 = load i32, ptr %23, align 8 %25 = getelementptr inbounds %struct.people, ptr %6, i32 0, i32 1 %26 = load ptr, ptr %25, align 8 %27 = getelementptr inbounds %struct.people, ptr %6, i32 0, i32 2 %28 = load i8, ptr %27, align 8 %29 = sext i8 %28 to i32 %30 = getelementptr inbounds %struct.people, ptr %6, i32 0, i32 3 %31 = load i16, ptr %30, align 2 %32 = zext i16 %31 to i32 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %24, ptr noundef %26, i32 noundef %29, i32 noundef %32) %34 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 0 %35 = call i32 @strcpy(ptr noundef %34, ptr noundef @.str.3) %36 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 0 %37 = getelementptr inbounds %struct.anon, ptr %7, i32 0, i32 0 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = getelementptr inbounds %struct.anon, ptr %7, i32 0, i32 1 %41 = getelementptr inbounds [2 x i8], ptr %40, i64 0, i64 0 %42 = getelementptr inbounds %struct.anon, ptr %7, i32 0, i32 2 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = getelementptr inbounds %struct.anon, ptr %7, i32 0, i32 3 %46 = getelementptr inbounds [6 x i8], ptr %45, i64 0, i64 0 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %36, i32 noundef %39, ptr noundef %41, i32 noundef %44, ptr noundef %46) %48 = getelementptr inbounds %struct.anon, ptr %7, i32 0, i32 2 store i8 56, ptr %48, align 1 %49 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 0 %50 = getelementptr inbounds %struct.anon, ptr %7, i32 0, i32 0 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = getelementptr inbounds %struct.anon, ptr %7, i32 0, i32 1 %54 = getelementptr inbounds [2 x i8], ptr %53, i64 0, i64 0 %55 = getelementptr inbounds %struct.anon, ptr %7, i32 0, i32 2 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = getelementptr inbounds %struct.anon, ptr %7, i32 0, i32 3 %59 = getelementptr inbounds [6 x i8], ptr %58, i64 0, i64 0 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %49, i32 noundef %52, ptr noundef %54, i32 noundef %57, ptr noundef %59) 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 declare i32 @strcpy(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc0kdooob.c" target datalayout = "e-m:e-p270: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.people = type { i32, ptr, i8, i16 } %union.ticket = type { [11 x i8] } %struct.anon = type { i8, [2 x i8], i8, [6 x i8] } @.str = private unnamed_addr constant [7 x i8] c"\E5\B0\8F\E6\98\8E\00", align 1 @__const.main.xiaomin = private unnamed_addr constant %struct.people { i32 1, ptr @.str, i8 77, i16 9 }, align 8 @.str.1 = private unnamed_addr constant [7 x i8] c"\E7\8E\9B\E4\B8\BD\00", align 1 @.str.2 = private unnamed_addr constant [55 x i8] c"\E7\BC\96\E5\8F\B7\EF\BC\9A%d\EF\BC\8C\E5\A7\93\E5\90\8D\EF\BC\9A%s\EF\BC\8C\E6\80\A7\E5\88\AB\EF\BC\9A%c\EF\BC\8C\E5\B9\B4\E9\BE\84\EF\BC\9A%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"csh1abcde9\00", align 1 @.str.4 = private unnamed_addr constant [68 x i8] c"src_str:%s, sys_flag:%c, cluster_name:%s, cluster_num:%c, other:%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 ptr, align 8 %5 = alloca %struct.people, align 8 %6 = alloca %struct.people, align 8 %7 = alloca %union.ticket, align 1 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 8 %5, ptr align 8 @__const.main.xiaomin, i64 24, i1 false) %8 = getelementptr inbounds %struct.people, ptr %6, i32 0, i32 0 store i32 2, ptr %8, align 8 %9 = getelementptr inbounds %struct.people, ptr %6, i32 0, i32 1 store ptr @.str.1, ptr %9, align 8 %10 = getelementptr inbounds %struct.people, ptr %6, i32 0, i32 2 store i8 70, ptr %10, align 8 %11 = getelementptr inbounds %struct.people, ptr %6, i32 0, i32 3 store i16 10, ptr %11, align 2 %12 = getelementptr inbounds %struct.people, ptr %5, i32 0, i32 0 %13 = load i32, ptr %12, align 8 %14 = getelementptr inbounds %struct.people, ptr %5, i32 0, i32 1 %15 = load ptr, ptr %14, align 8 %16 = getelementptr inbounds %struct.people, ptr %5, i32 0, i32 2 %17 = load i8, ptr %16, align 8 %18 = sext i8 %17 to i32 %19 = getelementptr inbounds %struct.people, ptr %5, i32 0, i32 3 %20 = load i16, ptr %19, align 2 %21 = zext i16 %20 to i32 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13, ptr noundef %15, i32 noundef %18, i32 noundef %21) %23 = getelementptr inbounds %struct.people, ptr %6, i32 0, i32 0 %24 = load i32, ptr %23, align 8 %25 = getelementptr inbounds %struct.people, ptr %6, i32 0, i32 1 %26 = load ptr, ptr %25, align 8 %27 = getelementptr inbounds %struct.people, ptr %6, i32 0, i32 2 %28 = load i8, ptr %27, align 8 %29 = sext i8 %28 to i32 %30 = getelementptr inbounds %struct.people, ptr %6, i32 0, i32 3 %31 = load i16, ptr %30, align 2 %32 = zext i16 %31 to i32 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %24, ptr noundef %26, i32 noundef %29, i32 noundef %32) %34 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 0 %35 = call i32 @strcpy(ptr noundef %34, ptr noundef @.str.3) %36 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 0 %37 = getelementptr inbounds %struct.anon, ptr %7, i32 0, i32 0 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = getelementptr inbounds %struct.anon, ptr %7, i32 0, i32 1 %41 = getelementptr inbounds [2 x i8], ptr %40, i64 0, i64 0 %42 = getelementptr inbounds %struct.anon, ptr %7, i32 0, i32 2 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = getelementptr inbounds %struct.anon, ptr %7, i32 0, i32 3 %46 = getelementptr inbounds [6 x i8], ptr %45, i64 0, i64 0 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %36, i32 noundef %39, ptr noundef %41, i32 noundef %44, ptr noundef %46) %48 = getelementptr inbounds %struct.anon, ptr %7, i32 0, i32 2 store i8 56, ptr %48, align 1 %49 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 0 %50 = getelementptr inbounds %struct.anon, ptr %7, i32 0, i32 0 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = getelementptr inbounds %struct.anon, ptr %7, i32 0, i32 1 %54 = getelementptr inbounds [2 x i8], ptr %53, i64 0, i64 0 %55 = getelementptr inbounds %struct.anon, ptr %7, i32 0, i32 2 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = getelementptr inbounds %struct.anon, ptr %7, i32 0, i32 3 %59 = getelementptr inbounds [6 x i8], ptr %58, i64 0, i64 0 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %49, i32 noundef %52, ptr noundef %54, i32 noundef %57, ptr noundef %59) 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 declare i32 @strcpy(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg0ydp1wp.c' source_filename = "/tmp/tmpg0ydp1wp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Rejected by method 1\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error() #0 { %1 = call i32 (...) @getchar() switch i32 %1, label %5 [ i32 43, label %2 i32 45, label %2 i32 46, label %2 i32 48, label %2 i32 49, label %2 i32 50, label %2 i32 51, label %2 i32 52, label %2 i32 53, label %2 i32 54, label %2 i32 55, label %2 i32 56, label %2 i32 57, label %2 i32 10, label %3 ] 2: ; preds = %0, %0, %0, %0, %0, %0, %0, %0, %0, %0, %0, %0, %0 call void @error() br label %5 3: ; preds = %0 %4 = call i32 @printf(ptr noundef @.str) br label %5 5: ; preds = %2, %3, %0 ret void } declare i32 @getchar(...) #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/tmpg0ydp1wp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Rejected by method 1\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error() #0 { %1 = call i32 (...) @getchar() switch i32 %1, label %5 [ i32 43, label %2 i32 45, label %2 i32 46, label %2 i32 48, label %2 i32 49, label %2 i32 50, label %2 i32 51, label %2 i32 52, label %2 i32 53, label %2 i32 54, label %2 i32 55, label %2 i32 56, label %2 i32 57, label %2 i32 10, label %3 ] 2: ; preds = %0, %0, %0, %0, %0, %0, %0, %0, %0, %0, %0, %0, %0 call void @error() br label %5 3: ; preds = %0 %4 = call i32 @printf(ptr noundef @.str) br label %5 5: ; preds = %3, %2, %0 ret void } declare i32 @getchar(...) #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/tmpc2va2was.c' source_filename = "/tmp/tmpc2va2was.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp sgt i32 %4, 0 %6 = zext i1 %5 to i32 %7 = call i32 @assume(i32 noundef %6) br label %8 8: ; preds = %12, %0 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %15 12: ; preds = %8 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %2, align 4 br label %8, !llvm.loop !6 15: ; preds = %8 %16 = load i32, ptr %2, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp eq i32 %16, %17 %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) ret i32 0 } declare i32 @assume(i32 noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc2va2was.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp sgt i32 %4, 0 %6 = zext i1 %5 to i32 %7 = call i32 @assume(i32 noundef %6) %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %11 %12 = load i32, ptr %2, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %17 17: ; preds = %._crit_edge, %0 %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp eq i32 %18, %19 %21 = zext i1 %20 to i32 %22 = call i32 @assert(i32 noundef %21) ret i32 0 } declare i32 @assume(i32 noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpirfb0iys.c' source_filename = "/tmp/tmpirfb0iys.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_SC_PAGE_SIZE = dso_local global i32 0, align 4 @_SC_PHYS_PAGES = 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/tmpirfb0iys.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_SC_PAGE_SIZE = dso_local global i32 0, align 4 @_SC_PHYS_PAGES = 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/tmpa0mw91go.c' source_filename = "/tmp/tmpa0mw91go.c" target datalayout = "e-m:e-p270: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/tmpa0mw91go.c" target datalayout = "e-m:e-p270: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/tmp4lhjrhbv.c' source_filename = "/tmp/tmp4lhjrhbv.c" target datalayout = "e-m:e-p270: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/tmp4lhjrhbv.c" target datalayout = "e-m:e-p270: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/tmpn5emj_2u.c' source_filename = "/tmp/tmpn5emj_2u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"./temp_to_file\00", align 1 @.str.1 = private unnamed_addr constant [76 x i8] c"flite -voice slt -f \22/home/pi/work/Voice/CPU_temp_talk/cpu_temp_frase.txt\22 \00", align 1 @.str.2 = private unnamed_addr constant [64 x i8] c"flite -voice slt -f \22/home/pi/work/Programs/CPU_temp/temp.txt\22 \00", align 1 @.str.3 = private unnamed_addr constant [40 x i8] c"flite -voice slt -t \22 degrees Celsius\22 \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 @system(ptr noundef @.str) %3 = call i32 @system(ptr noundef @.str.1) %4 = call i32 @system(ptr noundef @.str.2) %5 = call i32 @system(ptr noundef @.str.3) ret i32 0 } 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/tmpn5emj_2u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"./temp_to_file\00", align 1 @.str.1 = private unnamed_addr constant [76 x i8] c"flite -voice slt -f \22/home/pi/work/Voice/CPU_temp_talk/cpu_temp_frase.txt\22 \00", align 1 @.str.2 = private unnamed_addr constant [64 x i8] c"flite -voice slt -f \22/home/pi/work/Programs/CPU_temp/temp.txt\22 \00", align 1 @.str.3 = private unnamed_addr constant [40 x i8] c"flite -voice slt -t \22 degrees Celsius\22 \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 @system(ptr noundef @.str) %3 = call i32 @system(ptr noundef @.str.1) %4 = call i32 @system(ptr noundef @.str.2) %5 = call i32 @system(ptr noundef @.str.3) ret i32 0 } 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/tmpwzthej67.c' source_filename = "/tmp/tmpwzthej67.c" target datalayout = "e-m:e-p270: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 @DrawGraphicShiftedThruMask(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store i32 %0, ptr %8, align 4 store i32 %1, ptr %9, align 4 store i32 %2, ptr %10, align 4 store i32 %3, ptr %11, align 4 store i32 %4, ptr %12, align 4 store i32 %5, ptr %13, align 4 store i32 %6, ptr %14, align 4 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %10, align 4 %18 = load i32, ptr %11, align 4 %19 = load i32, ptr %12, align 4 %20 = load i32, ptr %13, align 4 %21 = load i32, ptr %14, align 4 %22 = call i32 @DrawGraphicShifted(i32 noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef 1) ret void } declare i32 @DrawGraphicShifted(i32 noundef, i32 noundef, i32 noundef, 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/tmpwzthej67.c" target datalayout = "e-m:e-p270: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 @DrawGraphicShiftedThruMask(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store i32 %0, ptr %8, align 4 store i32 %1, ptr %9, align 4 store i32 %2, ptr %10, align 4 store i32 %3, ptr %11, align 4 store i32 %4, ptr %12, align 4 store i32 %5, ptr %13, align 4 store i32 %6, ptr %14, align 4 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %10, align 4 %18 = load i32, ptr %11, align 4 %19 = load i32, ptr %12, align 4 %20 = load i32, ptr %13, align 4 %21 = load i32, ptr %14, align 4 %22 = call i32 @DrawGraphicShifted(i32 noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef 1) ret void } declare i32 @DrawGraphicShifted(i32 noundef, i32 noundef, i32 noundef, 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/tmpcy2za6bv.c' source_filename = "/tmp/tmpcy2za6bv.c" target datalayout = "e-m:e-p270: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 [33 x i8] c" Can't open '%s' for reading.\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c" Can't open '%s' for writing.\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"%x,%x,%x,%x,%x,%x,%x,%x,:%x:\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"Failed read line %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [31 x i8] c"Check error line %d,%08X:%08X\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @save_rom(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [100 x i8], align 16 %8 = alloca [10 x i32], align 16 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 %13 = load ptr, ptr %3, align 8 %14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str) store ptr %14, ptr %5, align 8 %15 = load ptr, ptr %5, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %20 17: ; preds = %2 %18 = load ptr, ptr %3, align 8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %18) br label %80 20: ; preds = %2 %21 = load ptr, ptr %4, align 8 %22 = call ptr @fopen(ptr noundef %21, ptr noundef @.str.2) store ptr %22, ptr %6, align 8 %23 = load ptr, ptr %6, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %28 25: ; preds = %20 %26 = load ptr, ptr %4, align 8 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %26) br label %80 28: ; preds = %20 br label %29 29: ; preds = %79, %28 %30 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %31 = load ptr, ptr %5, align 8 %32 = call i64 @fgets(ptr noundef %30, i32 noundef 99, ptr noundef %31) %33 = icmp ne i64 %32, 0 br i1 %33, label %34, label %80 34: ; preds = %29 %35 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %36 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 0 %37 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 1 %38 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 2 %39 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 3 %40 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 4 %41 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 5 %42 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 6 %43 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 7 %44 = call i32 @sscanf(ptr noundef %35, ptr noundef @.str.4, ptr noundef %36, ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %40, ptr noundef %41, ptr noundef %42, ptr noundef %43, ptr noundef %9) %45 = icmp ne i32 %44, 0 br i1 %45, label %49, label %46 46: ; preds = %34 %47 = load i32, ptr %11, align 4 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %47) br label %49 49: ; preds = %46, %34 %50 = load i32, ptr %11, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %11, align 4 store i32 0, ptr %12, align 4 br label %52 52: ; preds = %67, %49 %53 = load i32, ptr %12, align 4 %54 = icmp slt i32 %53, 8 br i1 %54, label %55, label %70 55: ; preds = %52 %56 = load i32, ptr %10, align 4 %57 = load i32, ptr %12, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 %58 %60 = load i32, ptr %59, align 4 %61 = xor i32 %56, %60 store i32 %61, ptr %10, align 4 %62 = load i32, ptr %12, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 %63 %65 = load ptr, ptr %6, align 8 %66 = call i32 @fwrite(ptr noundef %64, i32 noundef 4, i32 noundef 1, ptr noundef %65) br label %67 67: ; preds = %55 %68 = load i32, ptr %12, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %12, align 4 br label %52, !llvm.loop !6 70: ; preds = %52 %71 = load i32, ptr %10, align 4 %72 = load i32, ptr %9, align 4 %73 = icmp ne i32 %71, %72 br i1 %73, label %74, label %79 74: ; preds = %70 %75 = load i32, ptr %11, align 4 %76 = load i32, ptr %10, align 4 %77 = load i32, ptr %9, align 4 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %75, i32 noundef %76, i32 noundef %77) br label %79 79: ; preds = %74, %70 store i32 0, ptr %10, align 4 br label %29, !llvm.loop !8 80: ; preds = %17, %25, %29 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcy2za6bv.c" target datalayout = "e-m:e-p270: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 [33 x i8] c" Can't open '%s' for reading.\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c" Can't open '%s' for writing.\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"%x,%x,%x,%x,%x,%x,%x,%x,:%x:\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"Failed read line %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [31 x i8] c"Check error line %d,%08X:%08X\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @save_rom(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [100 x i8], align 16 %8 = alloca [10 x i32], align 16 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 %13 = load ptr, ptr %3, align 8 %14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str) store ptr %14, ptr %5, align 8 %15 = load ptr, ptr %5, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %20 17: ; preds = %2 %18 = load ptr, ptr %3, align 8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %18) br label %83 20: ; preds = %2 %21 = load ptr, ptr %4, align 8 %22 = call ptr @fopen(ptr noundef %21, ptr noundef @.str.2) store ptr %22, ptr %6, align 8 %23 = load ptr, ptr %6, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %28 25: ; preds = %20 %26 = load ptr, ptr %4, align 8 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %26) br label %83 28: ; preds = %20 %29 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %30 = load ptr, ptr %5, align 8 %31 = call i64 @fgets(ptr noundef %29, i32 noundef 99, ptr noundef %30) %32 = icmp ne i64 %31, 0 br i1 %32, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %28 br label %33 33: ; preds = %.lr.ph2, %79 %34 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %35 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 0 %36 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 1 %37 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 2 %38 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 3 %39 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 4 %40 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 5 %41 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 6 %42 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 7 %43 = call i32 @sscanf(ptr noundef %34, ptr noundef @.str.4, ptr noundef %35, ptr noundef %36, ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %40, ptr noundef %41, ptr noundef %42, ptr noundef %9) %44 = icmp ne i32 %43, 0 br i1 %44, label %48, label %45 45: ; preds = %33 %46 = load i32, ptr %11, align 4 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %46) br label %48 48: ; preds = %45, %33 %49 = load i32, ptr %11, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %11, align 4 store i32 0, ptr %12, align 4 %51 = load i32, ptr %12, align 4 %52 = icmp slt i32 %51, 8 br i1 %52, label %.lr.ph, label %70 .lr.ph: ; preds = %48 br label %53 53: ; preds = %.lr.ph, %65 %54 = load i32, ptr %10, align 4 %55 = load i32, ptr %12, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 %56 %58 = load i32, ptr %57, align 4 %59 = xor i32 %54, %58 store i32 %59, ptr %10, align 4 %60 = load i32, ptr %12, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 %61 %63 = load ptr, ptr %6, align 8 %64 = call i32 @fwrite(ptr noundef %62, i32 noundef 4, i32 noundef 1, ptr noundef %63) br label %65 65: ; preds = %53 %66 = load i32, ptr %12, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %12, align 4 %68 = load i32, ptr %12, align 4 %69 = icmp slt i32 %68, 8 br i1 %69, label %53, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %65 br label %70 70: ; preds = %._crit_edge, %48 %71 = load i32, ptr %10, align 4 %72 = load i32, ptr %9, align 4 %73 = icmp ne i32 %71, %72 br i1 %73, label %74, label %79 74: ; preds = %70 %75 = load i32, ptr %11, align 4 %76 = load i32, ptr %10, align 4 %77 = load i32, ptr %9, align 4 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %75, i32 noundef %76, i32 noundef %77) br label %79 79: ; preds = %74, %70 store i32 0, ptr %10, align 4 %80 = load ptr, ptr %5, align 8 %81 = call i64 @fgets(ptr noundef %29, i32 noundef 99, ptr noundef %80) %82 = icmp ne i64 %81, 0 br i1 %82, label %33, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %79 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %28 br label %83 83: ; preds = %.loopexit, %25, %17 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpzsk29n53.c' source_filename = "/tmp/tmpzsk29n53.c" target datalayout = "e-m:e-p270: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/tmpzsk29n53.c" target datalayout = "e-m:e-p270: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/tmpjlmmjig5.c' source_filename = "/tmp/tmpjlmmjig5.c" target datalayout = "e-m:e-p270: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/tmpjlmmjig5.c" target datalayout = "e-m:e-p270: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/tmps955xms9.c' source_filename = "/tmp/tmps955xms9.c" target datalayout = "e-m:e-p270: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 @strlen(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 store ptr %4, ptr %3, align 8 br label %5 5: ; preds = %9, %1 %6 = load ptr, ptr %3, align 8 %7 = load i8, ptr %6, align 1 %8 = icmp ne i8 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %5 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds i8, ptr %10, i32 1 store ptr %11, ptr %3, align 8 br label %5, !llvm.loop !6 12: ; preds = %5 %13 = load ptr, ptr %3, align 8 %14 = load ptr, ptr %2, align 8 %15 = ptrtoint ptr %13 to i64 %16 = ptrtoint ptr %14 to i64 %17 = sub i64 %15, %16 ret i64 %17 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmps955xms9.c" target datalayout = "e-m:e-p270: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 @strlen(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 store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i8, ptr %5, align 1 %7 = icmp ne i8 %6, 0 br i1 %7, label %.lr.ph, label %14 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %8 %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds i8, ptr %9, i32 1 store ptr %10, ptr %3, align 8 %11 = load ptr, ptr %3, align 8 %12 = load i8, ptr %11, align 1 %13 = icmp ne i8 %12, 0 br i1 %13, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %14 14: ; preds = %._crit_edge, %1 %15 = load ptr, ptr %3, align 8 %16 = load ptr, ptr %2, align 8 %17 = ptrtoint ptr %15 to i64 %18 = ptrtoint ptr %16 to i64 %19 = sub i64 %17, %18 ret i64 %19 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpwnq7cjfq.c' source_filename = "/tmp/tmpwnq7cjfq.c" target datalayout = "e-m:e-p270: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"T\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"N\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @premultiplyXL(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca double, align 8 %15 = alloca double, align 8 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 store double 0.000000e+00, ptr %14, align 8 store double 1.000000e+00, ptr %15, align 8 %16 = load i32, ptr %6, align 4 store i32 %16, ptr %13, align 4 store i32 %16, ptr %12, align 4 store i32 %16, ptr %11, align 4 %17 = load ptr, ptr %8, align 8 %18 = load ptr, ptr %9, align 8 %19 = load ptr, ptr %10, align 8 %20 = call i32 @dgemm_(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %6, ptr noundef %7, ptr noundef %6, ptr noundef %15, ptr noundef %17, ptr noundef %11, ptr noundef %18, ptr noundef %12, ptr noundef %14, ptr noundef %19, ptr noundef %13) ret void } declare i32 @dgemm_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwnq7cjfq.c" target datalayout = "e-m:e-p270: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"T\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"N\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @premultiplyXL(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca double, align 8 %15 = alloca double, align 8 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 store double 0.000000e+00, ptr %14, align 8 store double 1.000000e+00, ptr %15, align 8 %16 = load i32, ptr %6, align 4 store i32 %16, ptr %13, align 4 store i32 %16, ptr %12, align 4 store i32 %16, ptr %11, align 4 %17 = load ptr, ptr %8, align 8 %18 = load ptr, ptr %9, align 8 %19 = load ptr, ptr %10, align 8 %20 = call i32 @dgemm_(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %6, ptr noundef %7, ptr noundef %6, ptr noundef %15, ptr noundef %17, ptr noundef %11, ptr noundef %18, ptr noundef %12, ptr noundef %14, ptr noundef %19, ptr noundef %13) ret void } declare i32 @dgemm_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps_1lc8t1.c' source_filename = "/tmp/tmps_1lc8t1.c" target datalayout = "e-m:e-p270: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"pubUrl\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @genePixPubUrl(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 = load i32, ptr %4, align 4 %7 = call ptr @stringFieldInSubmissionSet(ptr noundef %5, i32 noundef %6, ptr noundef @.str) ret ptr %7 } declare ptr @stringFieldInSubmissionSet(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/tmps_1lc8t1.c" target datalayout = "e-m:e-p270: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"pubUrl\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @genePixPubUrl(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 = load i32, ptr %4, align 4 %7 = call ptr @stringFieldInSubmissionSet(ptr noundef %5, i32 noundef %6, ptr noundef @.str) ret ptr %7 } declare ptr @stringFieldInSubmissionSet(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/tmpdiplw39j.c' source_filename = "/tmp/tmpdiplw39j.c" target datalayout = "e-m:e-p270: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 @vfprintf(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [1024 x i8], align 16 %8 = 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 ret i32 10 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpdiplw39j.c" target datalayout = "e-m:e-p270: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 @vfprintf(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [1024 x i8], align 16 %8 = 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 ret i32 10 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}