llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpler4whan.c' source_filename = "/tmp/tmpler4whan.c" target datalayout = "e-m:e-p270: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"H3\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @h3() #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/tmpler4whan.c" target datalayout = "e-m:e-p270: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"H3\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @h3() #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/tmpol9nsic2.c' source_filename = "/tmp/tmpol9nsic2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_strcatvs(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %7 = load ptr, ptr %3, align 8 %8 = call i32 @len(ptr noundef %7) store i32 %8, ptr %6, align 4 br label %9 9: ; preds = %16, %2 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = icmp ne i8 %14, 0 br i1 %15, label %16, label %30 16: ; preds = %9 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %6, align 4 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %23, %24 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %22, i64 %26 store i8 %21, ptr %27, align 1 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %5, align 4 br label %9, !llvm.loop !6 30: ; preds = %9 %31 = load ptr, ptr %3, align 8 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr %5, align 4 %34 = add nsw i32 %32, %33 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %31, i64 %35 store i8 0, ptr %36, align 1 %37 = load ptr, ptr %3, align 8 ret ptr %37 } declare i32 @len(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpol9nsic2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_strcatvs(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %7 = load ptr, ptr %3, align 8 %8 = call i32 @len(ptr noundef %7) store i32 %8, ptr %6, align 4 %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i8, ptr %12, align 1 %14 = icmp ne i8 %13, 0 br i1 %14, label %.lr.ph, label %35 .lr.ph: ; preds = %2 br label %15 15: ; preds = %.lr.ph, %15 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %22, %23 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %21, i64 %25 store i8 %20, ptr %26, align 1 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %5, align 4 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %5, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = icmp ne i8 %33, 0 br i1 %34, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %35 35: ; preds = %._crit_edge, %2 %36 = load ptr, ptr %3, align 8 %37 = load i32, ptr %6, align 4 %38 = load i32, ptr %5, align 4 %39 = add nsw i32 %37, %38 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %36, i64 %40 store i8 0, ptr %41, align 1 %42 = load ptr, ptr %3, align 8 ret ptr %42 } declare i32 @len(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpihfl7lo6.c' source_filename = "/tmp/tmpihfl7lo6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quicksort_internal(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 ptr, align 8 %14 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %15 = load ptr, ptr %7, align 8 %16 = load ptr, ptr %8, align 8 %17 = icmp ne ptr %15, %16 br i1 %17, label %18, label %60 18: ; preds = %6 %19 = load ptr, ptr %7, align 8 %20 = load ptr, ptr %8, align 8 %21 = load ptr, ptr %9, align 8 %22 = load ptr, ptr %10, align 8 %23 = load ptr, ptr %11, align 8 %24 = load ptr, ptr %12, align 8 %25 = call ptr @quicksort_partition(ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24) store ptr %25, ptr %13, align 8 %26 = load ptr, ptr %13, align 8 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %29 28: ; preds = %18 br label %60 29: ; preds = %18 %30 = load ptr, ptr %7, align 8 %31 = load ptr, ptr %13, align 8 %32 = icmp ne ptr %30, %31 br i1 %32, label %33, label %40 33: ; preds = %29 %34 = load ptr, ptr %7, align 8 %35 = load ptr, ptr %13, align 8 %36 = load ptr, ptr %9, align 8 %37 = load ptr, ptr %10, align 8 %38 = load ptr, ptr %11, align 8 %39 = load ptr, ptr %12, align 8 call void @quicksort_internal(ptr noundef %34, ptr noundef %35, ptr noundef %36, ptr noundef %37, ptr noundef %38, ptr noundef %39) br label %40 40: ; preds = %33, %29 %41 = load ptr, ptr %13, align 8 %42 = load ptr, ptr %8, align 8 %43 = icmp ne ptr %41, %42 br i1 %43, label %44, label %59 44: ; preds = %40 %45 = load ptr, ptr %10, align 8 %46 = load ptr, ptr %13, align 8 %47 = call ptr %45(ptr noundef %46) store ptr %47, ptr %14, align 8 %48 = load ptr, ptr %14, align 8 %49 = load ptr, ptr %8, align 8 %50 = icmp ne ptr %48, %49 br i1 %50, label %51, label %58 51: ; preds = %44 %52 = load ptr, ptr %14, align 8 %53 = load ptr, ptr %8, align 8 %54 = load ptr, ptr %9, align 8 %55 = load ptr, ptr %10, align 8 %56 = load ptr, ptr %11, align 8 %57 = load ptr, ptr %12, align 8 call void @quicksort_internal(ptr noundef %52, ptr noundef %53, ptr noundef %54, ptr noundef %55, ptr noundef %56, ptr noundef %57) br label %58 58: ; preds = %51, %44 br label %59 59: ; preds = %58, %40 br label %60 60: ; preds = %28, %59, %6 ret void } declare ptr @quicksort_partition(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/tmpihfl7lo6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quicksort_internal(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 ptr, align 8 %14 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %15 = load ptr, ptr %7, align 8 %16 = load ptr, ptr %8, align 8 %17 = icmp ne ptr %15, %16 br i1 %17, label %18, label %60 18: ; preds = %6 %19 = load ptr, ptr %7, align 8 %20 = load ptr, ptr %8, align 8 %21 = load ptr, ptr %9, align 8 %22 = load ptr, ptr %10, align 8 %23 = load ptr, ptr %11, align 8 %24 = load ptr, ptr %12, align 8 %25 = call ptr @quicksort_partition(ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24) store ptr %25, ptr %13, align 8 %26 = load ptr, ptr %13, align 8 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %29 28: ; preds = %18 br label %60 29: ; preds = %18 %30 = load ptr, ptr %7, align 8 %31 = load ptr, ptr %13, align 8 %32 = icmp ne ptr %30, %31 br i1 %32, label %33, label %40 33: ; preds = %29 %34 = load ptr, ptr %7, align 8 %35 = load ptr, ptr %13, align 8 %36 = load ptr, ptr %9, align 8 %37 = load ptr, ptr %10, align 8 %38 = load ptr, ptr %11, align 8 %39 = load ptr, ptr %12, align 8 call void @quicksort_internal(ptr noundef %34, ptr noundef %35, ptr noundef %36, ptr noundef %37, ptr noundef %38, ptr noundef %39) br label %40 40: ; preds = %33, %29 %41 = load ptr, ptr %13, align 8 %42 = load ptr, ptr %8, align 8 %43 = icmp ne ptr %41, %42 br i1 %43, label %44, label %59 44: ; preds = %40 %45 = load ptr, ptr %10, align 8 %46 = load ptr, ptr %13, align 8 %47 = call ptr %45(ptr noundef %46) store ptr %47, ptr %14, align 8 %48 = load ptr, ptr %14, align 8 %49 = load ptr, ptr %8, align 8 %50 = icmp ne ptr %48, %49 br i1 %50, label %51, label %58 51: ; preds = %44 %52 = load ptr, ptr %14, align 8 %53 = load ptr, ptr %8, align 8 %54 = load ptr, ptr %9, align 8 %55 = load ptr, ptr %10, align 8 %56 = load ptr, ptr %11, align 8 %57 = load ptr, ptr %12, align 8 call void @quicksort_internal(ptr noundef %52, ptr noundef %53, ptr noundef %54, ptr noundef %55, ptr noundef %56, ptr noundef %57) br label %58 58: ; preds = %51, %44 br label %59 59: ; preds = %58, %40 br label %60 60: ; preds = %59, %28, %6 ret void } declare ptr @quicksort_partition(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/tmpt1648r3g.c' source_filename = "/tmp/tmpt1648r3g.c" target datalayout = "e-m:e-p270: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"Enter range: \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"Enter lenght: \0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"Enter array: \0A\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"Histogram:\0A\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"%d: \00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [1000 x i32], align 16 %7 = alloca [1000 x i32], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %2, align 4 br label %13 13: ; preds = %22, %0 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %25 17: ; preds = %13 %18 = load i32, ptr %2, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 %19 %21 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %20) br label %22 22: ; preds = %17 %23 = load i32, ptr %2, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %2, align 4 br label %13, !llvm.loop !6 25: ; preds = %13 store i32 0, ptr %2, align 4 br label %26 26: ; preds = %53, %25 %27 = load i32, ptr %2, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %56 30: ; preds = %26 %31 = load i32, ptr %2, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 %32 %34 = load i32, ptr %33, align 4 %35 = icmp sge i32 %34, 0 br i1 %35, label %36, label %52 36: ; preds = %30 %37 = load i32, ptr %2, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 %38 %40 = load i32, ptr %39, align 4 %41 = load i32, ptr %5, align 4 %42 = icmp sle i32 %40, %41 br i1 %42, label %43, label %52 43: ; preds = %36 %44 = load i32, ptr %2, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 %45 %47 = load i32, ptr %46, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [1000 x i32], ptr %7, i64 0, i64 %48 %50 = load i32, ptr %49, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %49, align 4 br label %52 52: ; preds = %43, %36, %30 br label %53 53: ; preds = %52 %54 = load i32, ptr %2, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %2, align 4 br label %26, !llvm.loop !8 56: ; preds = %26 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %2, align 4 br label %58 58: ; preds = %79, %56 %59 = load i32, ptr %2, align 4 %60 = load i32, ptr %5, align 4 %61 = icmp sle i32 %59, %60 br i1 %61, label %62, label %82 62: ; preds = %58 %63 = load i32, ptr %2, align 4 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %63) store i32 0, ptr %3, align 4 br label %65 65: ; preds = %74, %62 %66 = load i32, ptr %3, align 4 %67 = load i32, ptr %2, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [1000 x i32], ptr %7, i64 0, i64 %68 %70 = load i32, ptr %69, align 4 %71 = icmp slt i32 %66, %70 br i1 %71, label %72, label %77 72: ; preds = %65 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %74 74: ; preds = %72 %75 = load i32, ptr %3, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %3, align 4 br label %65, !llvm.loop !9 77: ; preds = %65 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %79 79: ; preds = %77 %80 = load i32, ptr %2, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %2, align 4 br label %58, !llvm.loop !10 82: ; preds = %58 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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/tmpt1648r3g.c" target datalayout = "e-m:e-p270: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"Enter range: \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"Enter lenght: \0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"Enter array: \0A\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"Histogram:\0A\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"%d: \00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [1000 x i32], align 16 %7 = alloca [1000 x i32], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %2, align 4 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %27 .lr.ph: ; preds = %0 br label %16 16: ; preds = %.lr.ph, %21 %17 = load i32, ptr %2, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 %18 %20 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %19) br label %21 21: ; preds = %16 %22 = load i32, ptr %2, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %2, align 4 %24 = load i32, ptr %2, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %0 store i32 0, ptr %2, align 4 %28 = load i32, ptr %2, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %.lr.ph2, label %60 .lr.ph2: ; preds = %27 br label %31 31: ; preds = %.lr.ph2, %54 %32 = load i32, ptr %2, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 %33 %35 = load i32, ptr %34, align 4 %36 = icmp sge i32 %35, 0 br i1 %36, label %37, label %53 37: ; preds = %31 %38 = load i32, ptr %2, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 %39 %41 = load i32, ptr %40, align 4 %42 = load i32, ptr %5, align 4 %43 = icmp sle i32 %41, %42 br i1 %43, label %44, label %53 44: ; preds = %37 %45 = load i32, ptr %2, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 %46 %48 = load i32, ptr %47, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [1000 x i32], ptr %7, i64 0, i64 %49 %51 = load i32, ptr %50, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %50, align 4 br label %53 53: ; preds = %44, %37, %31 br label %54 54: ; preds = %53 %55 = load i32, ptr %2, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %2, align 4 %57 = load i32, ptr %2, align 4 %58 = load i32, ptr %4, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %31, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %54 br label %60 60: ; preds = %._crit_edge3, %27 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %2, align 4 %62 = load i32, ptr %2, align 4 %63 = load i32, ptr %5, align 4 %64 = icmp sle i32 %62, %63 br i1 %64, label %.lr.ph8, label %93 .lr.ph8: ; preds = %60 br label %65 65: ; preds = %.lr.ph8, %87 %66 = load i32, ptr %2, align 4 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %66) store i32 0, ptr %3, align 4 %68 = load i32, ptr %3, align 4 %69 = load i32, ptr %2, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [1000 x i32], ptr %7, i64 0, i64 %70 %72 = load i32, ptr %71, align 4 %73 = icmp slt i32 %68, %72 br i1 %73, label %.lr.ph5, label %85 .lr.ph5: ; preds = %65 br label %74 74: ; preds = %.lr.ph5, %76 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %76 76: ; preds = %74 %77 = load i32, ptr %3, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %3, align 4 %79 = load i32, ptr %3, align 4 %80 = load i32, ptr %2, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [1000 x i32], ptr %7, i64 0, i64 %81 %83 = load i32, ptr %82, align 4 %84 = icmp slt i32 %79, %83 br i1 %84, label %74, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %76 br label %85 85: ; preds = %._crit_edge6, %65 %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %87 87: ; preds = %85 %88 = load i32, ptr %2, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %2, align 4 %90 = load i32, ptr %2, align 4 %91 = load i32, ptr %5, align 4 %92 = icmp sle i32 %90, %91 br i1 %92, label %65, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %87 br label %93 93: ; preds = %._crit_edge9, %60 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpxnm63mc9.c' source_filename = "/tmp/tmpxnm63mc9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_int_key(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = call ptr @malloc(i32 noundef 4) store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp ne ptr null, %5 %7 = zext i1 %6 to i32 %8 = call i32 @assert(i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = load ptr, ptr %3, align 8 store i32 %9, ptr %10, align 4 %11 = load ptr, ptr %3, align 8 ret ptr %11 } declare ptr @malloc(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxnm63mc9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_int_key(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = call ptr @malloc(i32 noundef 4) store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp ne ptr null, %5 %7 = zext i1 %6 to i32 %8 = call i32 @assert(i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = load ptr, ptr %3, align 8 store i32 %9, ptr %10, align 4 %11 = load ptr, ptr %3, align 8 ret ptr %11 } declare ptr @malloc(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"}
; ModuleID = '/tmp/tmpda85abcv.c' source_filename = "/tmp/tmpda85abcv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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() #0 { %1 = call i32 @time(i32 noundef 0) %2 = call i32 @srand(i32 noundef %1) %3 = call i32 (...) @randomize() ret void } declare i32 @srand(i32 noundef) #1 declare i32 @time(i32 noundef) #1 declare i32 @randomize(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpda85abcv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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() #0 { %1 = call i32 @time(i32 noundef 0) %2 = call i32 @srand(i32 noundef %1) %3 = call i32 (...) @randomize() ret void } declare i32 @srand(i32 noundef) #1 declare i32 @time(i32 noundef) #1 declare i32 @randomize(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8eirqv2f.c' source_filename = "/tmp/tmp8eirqv2f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse_pattern(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %5, align 4 %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %5, align 4 %11 = add nsw i32 %10, 1 %12 = call i32 @bzero(ptr noundef %9, i32 noundef %11) store i32 0, ptr %6, align 4 br label %13 13: ; preds = %32, %2 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %5, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %35 17: ; preds = %13 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %6, align 4 %21 = sub nsw i32 %19, %20 %22 = sub nsw i32 %21, 1 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %18, i64 %23 %25 = load i8, ptr %24, align 1 %26 = call i32 @revcomp(i8 noundef signext %25) %27 = call signext i8 @toupper(i32 noundef %26) %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %6, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 store i8 %27, ptr %31, align 1 br label %32 32: ; preds = %17 %33 = load i32, ptr %6, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %6, align 4 br label %13, !llvm.loop !6 35: ; preds = %13 %36 = load ptr, ptr %4, align 8 ret ptr %36 } declare i32 @strlen(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare signext i8 @toupper(i32 noundef) #1 declare i32 @revcomp(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8eirqv2f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse_pattern(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %5, align 4 %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %5, align 4 %11 = add nsw i32 %10, 1 %12 = call i32 @bzero(ptr noundef %9, i32 noundef %11) store i32 0, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %5, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %37 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %31 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %6, align 4 %20 = sub nsw i32 %18, %19 %21 = sub nsw i32 %20, 1 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %17, i64 %22 %24 = load i8, ptr %23, align 1 %25 = call i32 @revcomp(i8 noundef signext %24) %26 = call signext i8 @toupper(i32 noundef %25) %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 store i8 %26, ptr %30, align 1 br label %31 31: ; preds = %16 %32 = load i32, ptr %6, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %6, align 4 %34 = load i32, ptr %6, align 4 %35 = load i32, ptr %5, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %37 37: ; preds = %._crit_edge, %2 %38 = load ptr, ptr %4, align 8 ret ptr %38 } declare i32 @strlen(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare signext i8 @toupper(i32 noundef) #1 declare i32 @revcomp(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpus5eyha2.c' source_filename = "/tmp/tmpus5eyha2.c" target datalayout = "e-m:e-p270: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/tmpus5eyha2.c" target datalayout = "e-m:e-p270: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/tmpf2hllp_e.c' source_filename = "/tmp/tmpf2hllp_e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf2hllp_e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxxnps_k8.c' source_filename = "/tmp/tmpxxnps_k8.c" target datalayout = "e-m:e-p270: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 { i64, i64 } @CLOCK_REALTIME = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_real_time_us() #0 { %1 = alloca %struct.timespec, align 8 %2 = load i32, ptr @CLOCK_REALTIME, align 4 %3 = call i32 @clock_gettime(i32 noundef %2, ptr noundef %1) %4 = getelementptr inbounds %struct.timespec, ptr %1, i32 0, i32 1 %5 = load i64, ptr %4, align 8 %6 = trunc i64 %5 to i32 %7 = mul nsw i32 %6, 1000000 %8 = getelementptr inbounds %struct.timespec, ptr %1, i32 0, i32 0 %9 = load i64, ptr %8, align 8 %10 = trunc i64 %9 to i32 %11 = sdiv i32 %10, 1000 %12 = add nsw i32 %7, %11 ret i32 %12 } declare i32 @clock_gettime(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/tmpxxnps_k8.c" target datalayout = "e-m:e-p270: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 { i64, i64 } @CLOCK_REALTIME = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_real_time_us() #0 { %1 = alloca %struct.timespec, align 8 %2 = load i32, ptr @CLOCK_REALTIME, align 4 %3 = call i32 @clock_gettime(i32 noundef %2, ptr noundef %1) %4 = getelementptr inbounds %struct.timespec, ptr %1, i32 0, i32 1 %5 = load i64, ptr %4, align 8 %6 = trunc i64 %5 to i32 %7 = mul nsw i32 %6, 1000000 %8 = getelementptr inbounds %struct.timespec, ptr %1, i32 0, i32 0 %9 = load i64, ptr %8, align 8 %10 = trunc i64 %9 to i32 %11 = sdiv i32 %10, 1000 %12 = add nsw i32 %7, %11 ret i32 %12 } declare i32 @clock_gettime(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/tmpkmmiyxn0.c' source_filename = "/tmp/tmpkmmiyxn0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SNDRV_PCM_FORMAT_U8 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wmt_sw_u2s(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr @SNDRV_PCM_FORMAT_U8, align 4 %10 = icmp eq i32 %8, %9 br i1 %10, label %11, label %29 11: ; preds = %3 store i32 0, ptr %7, align 4 br label %12 12: ; preds = %25, %11 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp ult i32 %13, %14 br i1 %15, label %16, label %28 16: ; preds = %12 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %7, align 4 %19 = zext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = xor i32 %22, 128 %24 = trunc i32 %23 to i8 store i8 %24, ptr %20, align 1 br label %25 25: ; preds = %16 %26 = load i32, ptr %7, align 4 %27 = add i32 %26, 1 store i32 %27, ptr %7, align 4 br label %12, !llvm.loop !6 28: ; preds = %12 br label %29 29: ; preds = %28, %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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkmmiyxn0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SNDRV_PCM_FORMAT_U8 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wmt_sw_u2s(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr @SNDRV_PCM_FORMAT_U8, align 4 %10 = icmp eq i32 %8, %9 br i1 %10, label %11, label %31 11: ; preds = %3 store i32 0, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp ult i32 %12, %13 br i1 %14, label %.lr.ph, label %30 .lr.ph: ; preds = %11 br label %15 15: ; preds = %.lr.ph, %24 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %7, align 4 %18 = zext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = xor i32 %21, 128 %23 = trunc i32 %22 to i8 store i8 %23, ptr %19, align 1 br label %24 24: ; preds = %15 %25 = load i32, ptr %7, align 4 %26 = add i32 %25, 1 store i32 %26, ptr %7, align 4 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp ult i32 %27, %28 br i1 %29, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %30 30: ; preds = %._crit_edge, %11 br label %31 31: ; preds = %30, %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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmptsfj0zhz.c' source_filename = "/tmp/tmptsfj0zhz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%s: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"free\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @g_error(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %3) ret void } declare i32 @printf(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/tmptsfj0zhz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%s: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"free\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @g_error(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %3) ret void } declare i32 @printf(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/tmpf_h8b1cx.c' source_filename = "/tmp/tmpf_h8b1cx.c" target datalayout = "e-m:e-p270: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/tmpf_h8b1cx.c" target datalayout = "e-m:e-p270: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/tmpqjmargio.c' source_filename = "/tmp/tmpqjmargio.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @double_print(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 i32 @printf(ptr noundef @.str, double noundef %3) ret void } declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqjmargio.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @double_print(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 i32 @printf(ptr noundef @.str, double noundef %3) ret void } declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnv73zn2b.c' source_filename = "/tmp/tmpnv73zn2b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setuid(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 br label %3 3: ; preds = %1 br label %4 4: ; preds = %3 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnv73zn2b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setuid(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 br label %3 3: ; preds = %1 br label %4 4: ; preds = %3 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxjk1yxqy.c' source_filename = "/tmp/tmpxjk1yxqy.c" target datalayout = "e-m:e-p270: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/tmpxjk1yxqy.c" target datalayout = "e-m:e-p270: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/tmpr9thg60n.c' source_filename = "/tmp/tmpr9thg60n.c" target datalayout = "e-m:e-p270: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"TR\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @turnRight(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp ule i32 %3, 100 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr %2, align 4 %7 = call i32 @writeCommand1parm(ptr noundef @.str, i32 noundef %6) br label %8 8: ; preds = %5, %1 ret void } declare i32 @writeCommand1parm(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/tmpr9thg60n.c" target datalayout = "e-m:e-p270: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"TR\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @turnRight(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp ule i32 %3, 100 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr %2, align 4 %7 = call i32 @writeCommand1parm(ptr noundef @.str, i32 noundef %6) br label %8 8: ; preds = %5, %1 ret void } declare i32 @writeCommand1parm(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/tmp8bh2xqgt.c' source_filename = "/tmp/tmp8bh2xqgt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 0, ptr %1, align 4 %2 = call i32 (...) @t1() %3 = call i32 (...) @t2() %4 = call i32 (...) @t3() %5 = call i32 (...) @t4() %6 = call i32 (...) @t5() %7 = call i32 (...) @t6() %8 = call i32 (...) @t7() %9 = call i32 (...) @t8() %10 = call i32 (...) @t9() %11 = call i32 (...) @t10() %12 = call i32 (...) @t11() %13 = call i32 (...) @t12() %14 = call i32 (...) @t13() %15 = call i32 (...) @t14() %16 = call i32 (...) @t15() %17 = call i32 (...) @t16() %18 = call i32 (...) @t17() ret i32 0 } declare i32 @t1(...) #1 declare i32 @t2(...) #1 declare i32 @t3(...) #1 declare i32 @t4(...) #1 declare i32 @t5(...) #1 declare i32 @t6(...) #1 declare i32 @t7(...) #1 declare i32 @t8(...) #1 declare i32 @t9(...) #1 declare i32 @t10(...) #1 declare i32 @t11(...) #1 declare i32 @t12(...) #1 declare i32 @t13(...) #1 declare i32 @t14(...) #1 declare i32 @t15(...) #1 declare i32 @t16(...) #1 declare i32 @t17(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8bh2xqgt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 0, ptr %1, align 4 %2 = call i32 (...) @t1() %3 = call i32 (...) @t2() %4 = call i32 (...) @t3() %5 = call i32 (...) @t4() %6 = call i32 (...) @t5() %7 = call i32 (...) @t6() %8 = call i32 (...) @t7() %9 = call i32 (...) @t8() %10 = call i32 (...) @t9() %11 = call i32 (...) @t10() %12 = call i32 (...) @t11() %13 = call i32 (...) @t12() %14 = call i32 (...) @t13() %15 = call i32 (...) @t14() %16 = call i32 (...) @t15() %17 = call i32 (...) @t16() %18 = call i32 (...) @t17() ret i32 0 } declare i32 @t1(...) #1 declare i32 @t2(...) #1 declare i32 @t3(...) #1 declare i32 @t4(...) #1 declare i32 @t5(...) #1 declare i32 @t6(...) #1 declare i32 @t7(...) #1 declare i32 @t8(...) #1 declare i32 @t9(...) #1 declare i32 @t10(...) #1 declare i32 @t11(...) #1 declare i32 @t12(...) #1 declare i32 @t13(...) #1 declare i32 @t14(...) #1 declare i32 @t15(...) #1 declare i32 @t16(...) #1 declare i32 @t17(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi39kcdwj.c' source_filename = "/tmp/tmpi39kcdwj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @arduinoMillis(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = call i32 (...) @millis() store i32 %6, ptr %5, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %5, align 4 %9 = call ptr @boxUnsigned(i32 noundef %7, i32 noundef %8) ret ptr %9 } declare i32 @millis(...) #1 declare ptr @boxUnsigned(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/tmpi39kcdwj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @arduinoMillis(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = call i32 (...) @millis() store i32 %6, ptr %5, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %5, align 4 %9 = call ptr @boxUnsigned(i32 noundef %7, i32 noundef %8) ret ptr %9 } declare i32 @millis(...) #1 declare ptr @boxUnsigned(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/tmpj5m4y_p9.c' source_filename = "/tmp/tmpj5m4y_p9.c" target datalayout = "e-m:e-p270: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"SPI flash programmer\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"Done\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @putstr(ptr noundef @.str) %4 = call i32 @serial_load(ptr noundef inttoptr (i64 1048576 to ptr)) store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 @spi_flash_program(ptr noundef inttoptr (i64 1048576 to ptr), i32 noundef 0, i32 noundef %5) %7 = call i32 @putstr(ptr noundef @.str.1) ret i32 0 } declare i32 @putstr(ptr noundef) #1 declare i32 @serial_load(ptr noundef) #1 declare i32 @spi_flash_program(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/tmpj5m4y_p9.c" target datalayout = "e-m:e-p270: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"SPI flash programmer\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"Done\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @putstr(ptr noundef @.str) %4 = call i32 @serial_load(ptr noundef inttoptr (i64 1048576 to ptr)) store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 @spi_flash_program(ptr noundef inttoptr (i64 1048576 to ptr), i32 noundef 0, i32 noundef %5) %7 = call i32 @putstr(ptr noundef @.str.1) ret i32 0 } declare i32 @putstr(ptr noundef) #1 declare i32 @serial_load(ptr noundef) #1 declare i32 @spi_flash_program(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/tmpajjb5856.c' source_filename = "/tmp/tmpajjb5856.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @STDIN_FILENO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @do_overflow_stack() #0 { %1 = alloca [16 x i8], align 16 %2 = alloca i32, align 4 %3 = call i32 (...) @read_size() store i32 %3, ptr %2, align 4 %4 = load i32, ptr @STDIN_FILENO, align 4 %5 = getelementptr inbounds [16 x i8], ptr %1, i64 0, i64 0 %6 = load i32, ptr %2, align 4 %7 = call i32 @read(i32 noundef %4, ptr noundef %5, i32 noundef %6) ret void } declare i32 @read_size(...) #1 declare i32 @read(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/tmpajjb5856.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @STDIN_FILENO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @do_overflow_stack() #0 { %1 = alloca [16 x i8], align 16 %2 = alloca i32, align 4 %3 = call i32 (...) @read_size() store i32 %3, ptr %2, align 4 %4 = load i32, ptr @STDIN_FILENO, align 4 %5 = getelementptr inbounds [16 x i8], ptr %1, i64 0, i64 0 %6 = load i32, ptr %2, align 4 %7 = call i32 @read(i32 noundef %4, ptr noundef %5, i32 noundef %6) ret void } declare i32 @read_size(...) #1 declare i32 @read(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/tmpzdrgwmmw.c' source_filename = "/tmp/tmpzdrgwmmw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spg_get_dense_ir_reciprocal_mesh(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %8, double noundef %9) #0 { %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca double, align 8 store ptr %0, ptr %11, align 8 store ptr %1, ptr %12, align 8 store ptr %2, ptr %13, align 8 store ptr %3, ptr %14, align 8 store i32 %4, ptr %15, align 4 store ptr %5, ptr %16, align 8 store ptr %6, ptr %17, align 8 store ptr %7, ptr %18, align 8 store i32 %8, ptr %19, align 4 store double %9, ptr %20, align 8 %21 = load ptr, ptr %11, align 8 %22 = load ptr, ptr %12, align 8 %23 = load ptr, ptr %13, align 8 %24 = load ptr, ptr %14, align 8 %25 = load i32, ptr %15, align 4 %26 = load ptr, ptr %16, align 8 %27 = load ptr, ptr %17, align 8 %28 = load ptr, ptr %18, align 8 %29 = load i32, ptr %19, align 4 %30 = load double, ptr %20, align 8 %31 = call i64 @get_dense_ir_reciprocal_mesh(ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, i32 noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, i32 noundef %29, double noundef %30, double noundef -1.000000e+00) ret i64 %31 } declare i64 @get_dense_ir_reciprocal_mesh(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzdrgwmmw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spg_get_dense_ir_reciprocal_mesh(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %8, double noundef %9) #0 { %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca double, align 8 store ptr %0, ptr %11, align 8 store ptr %1, ptr %12, align 8 store ptr %2, ptr %13, align 8 store ptr %3, ptr %14, align 8 store i32 %4, ptr %15, align 4 store ptr %5, ptr %16, align 8 store ptr %6, ptr %17, align 8 store ptr %7, ptr %18, align 8 store i32 %8, ptr %19, align 4 store double %9, ptr %20, align 8 %21 = load ptr, ptr %11, align 8 %22 = load ptr, ptr %12, align 8 %23 = load ptr, ptr %13, align 8 %24 = load ptr, ptr %14, align 8 %25 = load i32, ptr %15, align 4 %26 = load ptr, ptr %16, align 8 %27 = load ptr, ptr %17, align 8 %28 = load ptr, ptr %18, align 8 %29 = load i32, ptr %19, align 4 %30 = load double, ptr %20, align 8 %31 = call i64 @get_dense_ir_reciprocal_mesh(ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, i32 noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, i32 noundef %29, double noundef %30, double noundef -1.000000e+00) ret i64 %31 } declare i64 @get_dense_ir_reciprocal_mesh(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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__x_cetb.c' source_filename = "/tmp/tmp__x_cetb.c" target datalayout = "e-m:e-p270: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__x_cetb.c" target datalayout = "e-m:e-p270: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/tmpdy5lzrrv.c' source_filename = "/tmp/tmpdy5lzrrv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Enter your income: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Taxes due: $%.2f\0A\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 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load float, ptr %2, align 4 %6 = call double @calc_taxes(float noundef %5) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %6) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare double @calc_taxes(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdy5lzrrv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Enter your income: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Taxes due: $%.2f\0A\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 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load float, ptr %2, align 4 %6 = call double @calc_taxes(float noundef %5) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %6) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare double @calc_taxes(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo7ugq3l1.c' source_filename = "/tmp/tmpo7ugq3l1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @celcon_quaddobl_polyhedral_homotopy() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = load ptr, ptr %1, align 8 %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @_ada_use_c2phc(i32 noundef 475, ptr noundef %5, ptr noundef %6, ptr noundef %7) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo7ugq3l1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @celcon_quaddobl_polyhedral_homotopy() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = load ptr, ptr %1, align 8 %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @_ada_use_c2phc(i32 noundef 475, ptr noundef %5, ptr noundef %6, ptr noundef %7) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5vy7fpbi.c' source_filename = "/tmp/tmp5vy7fpbi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hermite_gauss_ptr(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = fmul double 3.000000e+00, %3 %5 = load double, ptr %2, align 8 %6 = fmul double %4, %5 %7 = load double, ptr %2, align 8 %8 = fmul double -1.100000e+00, %7 %9 = load double, ptr %2, align 8 %10 = fmul double %8, %9 %11 = call double @exp(double noundef %10) #2 %12 = fmul double %6, %11 ret double %12 } ; Function Attrs: nounwind declare double @exp(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5vy7fpbi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hermite_gauss_ptr(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = fmul double 3.000000e+00, %3 %5 = load double, ptr %2, align 8 %6 = fmul double %4, %5 %7 = load double, ptr %2, align 8 %8 = fmul double -1.100000e+00, %7 %9 = load double, ptr %2, align 8 %10 = fmul double %8, %9 %11 = call double @exp(double noundef %10) #2 %12 = fmul double %6, %11 ret double %12 } ; Function Attrs: nounwind declare double @exp(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"}
; ModuleID = '/tmp/tmp_sgqf22b.c' source_filename = "/tmp/tmp_sgqf22b.c" target datalayout = "e-m:e-p270: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 [61 x i8] c"ERROR: Cannot determine connection status of display device\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"Display device is connected\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"Display device is NOT connected\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @show_hotplug() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @get_hotplug() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %0 %7 = load i32, ptr @stderr, align 4 %8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str) store i32 0, ptr %1, align 4 br label %18 9: ; preds = %0 %10 = load i32, ptr %2, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = call i32 @printf(ptr noundef @.str.1) br label %16 14: ; preds = %9 %15 = call i32 @printf(ptr noundef @.str.2) br label %16 16: ; preds = %14, %12 %17 = load i32, ptr %2, align 4 store i32 %17, ptr %1, align 4 br label %18 18: ; preds = %16, %6 %19 = load i32, ptr %1, align 4 ret i32 %19 } declare i32 @get_hotplug(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_sgqf22b.c" target datalayout = "e-m:e-p270: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 [61 x i8] c"ERROR: Cannot determine connection status of display device\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"Display device is connected\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"Display device is NOT connected\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @show_hotplug() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @get_hotplug() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %0 %7 = load i32, ptr @stderr, align 4 %8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str) store i32 0, ptr %1, align 4 br label %18 9: ; preds = %0 %10 = load i32, ptr %2, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = call i32 @printf(ptr noundef @.str.1) br label %16 14: ; preds = %9 %15 = call i32 @printf(ptr noundef @.str.2) br label %16 16: ; preds = %14, %12 %17 = load i32, ptr %2, align 4 store i32 %17, ptr %1, align 4 br label %18 18: ; preds = %16, %6 %19 = load i32, ptr %1, align 4 ret i32 %19 } declare i32 @get_hotplug(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7gwmlvuy.c' source_filename = "/tmp/tmp7gwmlvuy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @detect_byte(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca i8, align 1 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i8, align 1 %16 = alloca i8, align 1 %17 = alloca i32, align 4 %18 = 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 i32 %4, ptr %11, align 4 %19 = load i32, ptr %8, align 4 store i32 %19, ptr %17, align 4 %20 = load i32, ptr %8, align 4 %21 = load i32, ptr %11, align 4 %22 = urem i32 %20, %21 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %32 24: ; preds = %5 %25 = load i32, ptr %8, align 4 %26 = load i32, ptr %11, align 4 %27 = add i32 %25, %26 %28 = load i32, ptr %8, align 4 %29 = load i32, ptr %11, align 4 %30 = urem i32 %28, %29 %31 = sub i32 %27, %30 store i32 %31, ptr %17, align 4 br label %32 32: ; preds = %24, %5 store i32 0, ptr %18, align 4 %33 = load i32, ptr %8, align 4 %34 = load i32, ptr %11, align 4 %35 = urem i32 %33, %34 %36 = icmp ne i32 %35, 0 br i1 %36, label %37, label %43 37: ; preds = %32 %38 = load i32, ptr %11, align 4 %39 = load i32, ptr %8, align 4 %40 = load i32, ptr %11, align 4 %41 = urem i32 %39, %40 %42 = sub i32 %38, %41 store i32 %42, ptr %18, align 4 br label %43 43: ; preds = %37, %32 %44 = load i32, ptr %8, align 4 %45 = load i32, ptr %11, align 4 %46 = urem i32 %44, %45 %47 = load i32, ptr %11, align 4 %48 = load i32, ptr %10, align 4 %49 = add i32 %48, 1 %50 = mul i32 %47, %49 %51 = add i32 %46, %50 %52 = zext i32 %51 to i64 %53 = mul i64 1, %52 %54 = trunc i64 %53 to i32 %55 = call ptr @malloc(i32 noundef %54) store ptr %55, ptr %12, align 8 %56 = load ptr, ptr %12, align 8 %57 = icmp eq ptr null, %56 br i1 %57, label %58, label %59 58: ; preds = %43 store i8 0, ptr %6, align 1 br label %201 59: ; preds = %43 store i8 0, ptr %15, align 1 br label %60 60: ; preds = %70, %59 %61 = load i8, ptr %15, align 1 %62 = zext i8 %61 to i32 %63 = load i32, ptr %18, align 4 %64 = icmp ult i32 %62, %63 br i1 %64, label %65, label %73 65: ; preds = %60 %66 = load ptr, ptr %12, align 8 %67 = load i8, ptr %15, align 1 %68 = zext i8 %67 to i64 %69 = getelementptr inbounds i8, ptr %66, i64 %68 store i8 80, ptr %69, align 1 br label %70 70: ; preds = %65 %71 = load i8, ptr %15, align 1 %72 = add i8 %71, 1 store i8 %72, ptr %15, align 1 br label %60, !llvm.loop !6 73: ; preds = %60 store i8 0, ptr %15, align 1 br label %74 74: ; preds = %92, %73 %75 = load i8, ptr %15, align 1 %76 = zext i8 %75 to i32 %77 = load i32, ptr %11, align 4 %78 = sub i32 %77, 1 %79 = load i32, ptr %9, align 4 %80 = sub i32 %78, %79 %81 = icmp ult i32 %76, %80 br i1 %81, label %82, label %95 82: ; preds = %74 %83 = load ptr, ptr %12, align 8 %84 = load i32, ptr %8, align 4 %85 = load i32, ptr %11, align 4 %86 = urem i32 %84, %85 %87 = load i8, ptr %15, align 1 %88 = zext i8 %87 to i32 %89 = add i32 %86, %88 %90 = zext i32 %89 to i64 %91 = getelementptr inbounds i8, ptr %83, i64 %90 store i8 65, ptr %91, align 1 br label %92 92: ; preds = %82 %93 = load i8, ptr %15, align 1 %94 = add i8 %93, 1 store i8 %94, ptr %15, align 1 br label %74, !llvm.loop !8 95: ; preds = %74 %96 = load ptr, ptr %12, align 8 %97 = load i32, ptr %18, align 4 %98 = load i32, ptr %11, align 4 %99 = add i32 %97, %98 %100 = load i32, ptr %9, align 4 %101 = sub i32 %99, %100 %102 = sub i32 %101, 1 %103 = call i32 @encrypt(ptr noundef %13, ptr noundef %96, i32 noundef %102) %104 = load i32, ptr %11, align 4 %105 = sub i32 %104, 1 %106 = load i32, ptr %9, align 4 %107 = sub i32 %105, %106 %108 = trunc i32 %107 to i8 store i8 %108, ptr %15, align 1 br label %109 109: ; preds = %137, %95 %110 = load i8, ptr %15, align 1 %111 = zext i8 %110 to i32 %112 = load i32, ptr %11, align 4 %113 = load i32, ptr %10, align 4 %114 = add i32 %113, 1 %115 = mul i32 %112, %114 %116 = sub i32 %115, 1 %117 = icmp ult i32 %111, %116 br i1 %117, label %118, label %140 118: ; preds = %109 %119 = load ptr, ptr %7, align 8 %120 = load i8, ptr %15, align 1 %121 = zext i8 %120 to i32 %122 = load i32, ptr %11, align 4 %123 = sub i32 %122, 1 %124 = load i32, ptr %9, align 4 %125 = sub i32 %123, %124 %126 = sub i32 %121, %125 %127 = zext i32 %126 to i64 %128 = getelementptr inbounds i8, ptr %119, i64 %127 %129 = load i8, ptr %128, align 1 %130 = load ptr, ptr %12, align 8 %131 = load i32, ptr %18, align 4 %132 = load i8, ptr %15, align 1 %133 = zext i8 %132 to i32 %134 = add i32 %131, %133 %135 = zext i32 %134 to i64 %136 = getelementptr inbounds i8, ptr %130, i64 %135 store i8 %129, ptr %136, align 1 br label %137 137: ; preds = %118 %138 = load i8, ptr %15, align 1 %139 = add i8 %138, 1 store i8 %139, ptr %15, align 1 br label %109, !llvm.loop !9 140: ; preds = %109 store i8 0, ptr %16, align 1 br label %141 141: ; preds = %192, %140 %142 = load i8, ptr %16, align 1 %143 = zext i8 %142 to i32 %144 = icmp slt i32 %143, 255 br i1 %144, label %145, label %195 145: ; preds = %141 %146 = load i8, ptr %16, align 1 %147 = load ptr, ptr %12, align 8 %148 = load i32, ptr %18, align 4 %149 = load i32, ptr %11, align 4 %150 = load i32, ptr %10, align 4 %151 = add i32 %150, 1 %152 = mul i32 %149, %151 %153 = add i32 %148, %152 %154 = sub i32 %153, 1 %155 = zext i32 %154 to i64 %156 = getelementptr inbounds i8, ptr %147, i64 %155 store i8 %146, ptr %156, align 1 %157 = load ptr, ptr %12, align 8 %158 = load i32, ptr %18, align 4 %159 = load i32, ptr %11, align 4 %160 = load i32, ptr %10, align 4 %161 = add i32 %160, 1 %162 = mul i32 %159, %161 %163 = add i32 %158, %162 %164 = call i32 @encrypt(ptr noundef %14, ptr noundef %157, i32 noundef %163) %165 = load ptr, ptr %14, align 8 %166 = load i32, ptr %17, align 4 %167 = zext i32 %166 to i64 %168 = getelementptr inbounds i8, ptr %165, i64 %167 %169 = load i32, ptr %11, align 4 %170 = load i32, ptr %10, align 4 %171 = mul i32 %169, %170 %172 = zext i32 %171 to i64 %173 = getelementptr inbounds i8, ptr %168, i64 %172 %174 = load ptr, ptr %13, align 8 %175 = load i32, ptr %17, align 4 %176 = zext i32 %175 to i64 %177 = getelementptr inbounds i8, ptr %174, i64 %176 %178 = load i32, ptr %11, align 4 %179 = load i32, ptr %10, align 4 %180 = mul i32 %178, %179 %181 = zext i32 %180 to i64 %182 = getelementptr inbounds i8, ptr %177, i64 %181 %183 = load i32, ptr %11, align 4 %184 = call i64 @strncmp(ptr noundef %173, ptr noundef %182, i32 noundef %183) %185 = icmp eq i64 0, %184 br i1 %185, label %186, label %189 186: ; preds = %145 %187 = load ptr, ptr %14, align 8 %188 = call i32 @free(ptr noundef %187) br label %195 189: ; preds = %145 %190 = load ptr, ptr %14, align 8 %191 = call i32 @free(ptr noundef %190) br label %192 192: ; preds = %189 %193 = load i8, ptr %16, align 1 %194 = add i8 %193, 1 store i8 %194, ptr %16, align 1 br label %141, !llvm.loop !10 195: ; preds = %186, %141 %196 = load ptr, ptr %12, align 8 %197 = call i32 @free(ptr noundef %196) %198 = load ptr, ptr %13, align 8 %199 = call i32 @free(ptr noundef %198) %200 = load i8, ptr %16, align 1 store i8 %200, ptr %6, align 1 br label %201 201: ; preds = %195, %58 %202 = load i8, ptr %6, align 1 ret i8 %202 } declare ptr @malloc(i32 noundef) #1 declare i32 @encrypt(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @strncmp(ptr noundef, 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"} !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/tmp7gwmlvuy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @detect_byte(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca i8, align 1 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i8, align 1 %16 = alloca i8, align 1 %17 = alloca i32, align 4 %18 = 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 i32 %4, ptr %11, align 4 %19 = load i32, ptr %8, align 4 store i32 %19, ptr %17, align 4 %20 = load i32, ptr %8, align 4 %21 = load i32, ptr %11, align 4 %22 = urem i32 %20, %21 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %32 24: ; preds = %5 %25 = load i32, ptr %8, align 4 %26 = load i32, ptr %11, align 4 %27 = add i32 %25, %26 %28 = load i32, ptr %8, align 4 %29 = load i32, ptr %11, align 4 %30 = urem i32 %28, %29 %31 = sub i32 %27, %30 store i32 %31, ptr %17, align 4 br label %32 32: ; preds = %24, %5 store i32 0, ptr %18, align 4 %33 = load i32, ptr %8, align 4 %34 = load i32, ptr %11, align 4 %35 = urem i32 %33, %34 %36 = icmp ne i32 %35, 0 br i1 %36, label %37, label %43 37: ; preds = %32 %38 = load i32, ptr %11, align 4 %39 = load i32, ptr %8, align 4 %40 = load i32, ptr %11, align 4 %41 = urem i32 %39, %40 %42 = sub i32 %38, %41 store i32 %42, ptr %18, align 4 br label %43 43: ; preds = %37, %32 %44 = load i32, ptr %8, align 4 %45 = load i32, ptr %11, align 4 %46 = urem i32 %44, %45 %47 = load i32, ptr %11, align 4 %48 = load i32, ptr %10, align 4 %49 = add i32 %48, 1 %50 = mul i32 %47, %49 %51 = add i32 %46, %50 %52 = zext i32 %51 to i64 %53 = mul i64 1, %52 %54 = trunc i64 %53 to i32 %55 = call ptr @malloc(i32 noundef %54) store ptr %55, ptr %12, align 8 %56 = load ptr, ptr %12, align 8 %57 = icmp eq ptr null, %56 br i1 %57, label %58, label %59 58: ; preds = %43 store i8 0, ptr %6, align 1 br label %219 59: ; preds = %43 store i8 0, ptr %15, align 1 %60 = load i8, ptr %15, align 1 %61 = zext i8 %60 to i32 %62 = load i32, ptr %18, align 4 %63 = icmp ult i32 %61, %62 br i1 %63, label %.lr.ph, label %76 .lr.ph: ; preds = %59 br label %64 64: ; preds = %.lr.ph, %69 %65 = load ptr, ptr %12, align 8 %66 = load i8, ptr %15, align 1 %67 = zext i8 %66 to i64 %68 = getelementptr inbounds i8, ptr %65, i64 %67 store i8 80, ptr %68, align 1 br label %69 69: ; preds = %64 %70 = load i8, ptr %15, align 1 %71 = add i8 %70, 1 store i8 %71, ptr %15, align 1 %72 = load i8, ptr %15, align 1 %73 = zext i8 %72 to i32 %74 = load i32, ptr %18, align 4 %75 = icmp ult i32 %73, %74 br i1 %75, label %64, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %69 br label %76 76: ; preds = %._crit_edge, %59 store i8 0, ptr %15, align 1 %77 = load i8, ptr %15, align 1 %78 = zext i8 %77 to i32 %79 = load i32, ptr %11, align 4 %80 = sub i32 %79, 1 %81 = load i32, ptr %9, align 4 %82 = sub i32 %80, %81 %83 = icmp ult i32 %78, %82 br i1 %83, label %.lr.ph2, label %104 .lr.ph2: ; preds = %76 br label %84 84: ; preds = %.lr.ph2, %94 %85 = load ptr, ptr %12, align 8 %86 = load i32, ptr %8, align 4 %87 = load i32, ptr %11, align 4 %88 = urem i32 %86, %87 %89 = load i8, ptr %15, align 1 %90 = zext i8 %89 to i32 %91 = add i32 %88, %90 %92 = zext i32 %91 to i64 %93 = getelementptr inbounds i8, ptr %85, i64 %92 store i8 65, ptr %93, align 1 br label %94 94: ; preds = %84 %95 = load i8, ptr %15, align 1 %96 = add i8 %95, 1 store i8 %96, ptr %15, align 1 %97 = load i8, ptr %15, align 1 %98 = zext i8 %97 to i32 %99 = load i32, ptr %11, align 4 %100 = sub i32 %99, 1 %101 = load i32, ptr %9, align 4 %102 = sub i32 %100, %101 %103 = icmp ult i32 %98, %102 br i1 %103, label %84, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %94 br label %104 104: ; preds = %._crit_edge3, %76 %105 = load ptr, ptr %12, align 8 %106 = load i32, ptr %18, align 4 %107 = load i32, ptr %11, align 4 %108 = add i32 %106, %107 %109 = load i32, ptr %9, align 4 %110 = sub i32 %108, %109 %111 = sub i32 %110, 1 %112 = call i32 @encrypt(ptr noundef %13, ptr noundef %105, i32 noundef %111) %113 = load i32, ptr %11, align 4 %114 = sub i32 %113, 1 %115 = load i32, ptr %9, align 4 %116 = sub i32 %114, %115 %117 = trunc i32 %116 to i8 store i8 %117, ptr %15, align 1 %118 = load i8, ptr %15, align 1 %119 = zext i8 %118 to i32 %120 = load i32, ptr %11, align 4 %121 = load i32, ptr %10, align 4 %122 = add i32 %121, 1 %123 = mul i32 %120, %122 %124 = sub i32 %123, 1 %125 = icmp ult i32 %119, %124 br i1 %125, label %.lr.ph5, label %156 .lr.ph5: ; preds = %104 br label %126 126: ; preds = %.lr.ph5, %145 %127 = load ptr, ptr %7, align 8 %128 = load i8, ptr %15, align 1 %129 = zext i8 %128 to i32 %130 = load i32, ptr %11, align 4 %131 = sub i32 %130, 1 %132 = load i32, ptr %9, align 4 %133 = sub i32 %131, %132 %134 = sub i32 %129, %133 %135 = zext i32 %134 to i64 %136 = getelementptr inbounds i8, ptr %127, i64 %135 %137 = load i8, ptr %136, align 1 %138 = load ptr, ptr %12, align 8 %139 = load i32, ptr %18, align 4 %140 = load i8, ptr %15, align 1 %141 = zext i8 %140 to i32 %142 = add i32 %139, %141 %143 = zext i32 %142 to i64 %144 = getelementptr inbounds i8, ptr %138, i64 %143 store i8 %137, ptr %144, align 1 br label %145 145: ; preds = %126 %146 = load i8, ptr %15, align 1 %147 = add i8 %146, 1 store i8 %147, ptr %15, align 1 %148 = load i8, ptr %15, align 1 %149 = zext i8 %148 to i32 %150 = load i32, ptr %11, align 4 %151 = load i32, ptr %10, align 4 %152 = add i32 %151, 1 %153 = mul i32 %150, %152 %154 = sub i32 %153, 1 %155 = icmp ult i32 %149, %154 br i1 %155, label %126, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %145 br label %156 156: ; preds = %._crit_edge6, %104 store i8 0, ptr %16, align 1 %157 = load i8, ptr %16, align 1 %158 = zext i8 %157 to i32 %159 = icmp slt i32 %158, 255 br i1 %159, label %.lr.ph8, label %.loopexit .lr.ph8: ; preds = %156 br label %160 160: ; preds = %.lr.ph8, %207 %161 = load i8, ptr %16, align 1 %162 = load ptr, ptr %12, align 8 %163 = load i32, ptr %18, align 4 %164 = load i32, ptr %11, align 4 %165 = load i32, ptr %10, align 4 %166 = add i32 %165, 1 %167 = mul i32 %164, %166 %168 = add i32 %163, %167 %169 = sub i32 %168, 1 %170 = zext i32 %169 to i64 %171 = getelementptr inbounds i8, ptr %162, i64 %170 store i8 %161, ptr %171, align 1 %172 = load ptr, ptr %12, align 8 %173 = load i32, ptr %18, align 4 %174 = load i32, ptr %11, align 4 %175 = load i32, ptr %10, align 4 %176 = add i32 %175, 1 %177 = mul i32 %174, %176 %178 = add i32 %173, %177 %179 = call i32 @encrypt(ptr noundef %14, ptr noundef %172, i32 noundef %178) %180 = load ptr, ptr %14, align 8 %181 = load i32, ptr %17, align 4 %182 = zext i32 %181 to i64 %183 = getelementptr inbounds i8, ptr %180, i64 %182 %184 = load i32, ptr %11, align 4 %185 = load i32, ptr %10, align 4 %186 = mul i32 %184, %185 %187 = zext i32 %186 to i64 %188 = getelementptr inbounds i8, ptr %183, i64 %187 %189 = load ptr, ptr %13, align 8 %190 = load i32, ptr %17, align 4 %191 = zext i32 %190 to i64 %192 = getelementptr inbounds i8, ptr %189, i64 %191 %193 = load i32, ptr %11, align 4 %194 = load i32, ptr %10, align 4 %195 = mul i32 %193, %194 %196 = zext i32 %195 to i64 %197 = getelementptr inbounds i8, ptr %192, i64 %196 %198 = load i32, ptr %11, align 4 %199 = call i64 @strncmp(ptr noundef %188, ptr noundef %197, i32 noundef %198) %200 = icmp eq i64 0, %199 br i1 %200, label %201, label %204 201: ; preds = %160 %202 = load ptr, ptr %14, align 8 %203 = call i32 @free(ptr noundef %202) br label %213 204: ; preds = %160 %205 = load ptr, ptr %14, align 8 %206 = call i32 @free(ptr noundef %205) br label %207 207: ; preds = %204 %208 = load i8, ptr %16, align 1 %209 = add i8 %208, 1 store i8 %209, ptr %16, align 1 %210 = load i8, ptr %16, align 1 %211 = zext i8 %210 to i32 %212 = icmp slt i32 %211, 255 br i1 %212, label %160, label %..loopexit_crit_edge, !llvm.loop !10 ..loopexit_crit_edge: ; preds = %207 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %156 br label %213 213: ; preds = %.loopexit, %201 %214 = load ptr, ptr %12, align 8 %215 = call i32 @free(ptr noundef %214) %216 = load ptr, ptr %13, align 8 %217 = call i32 @free(ptr noundef %216) %218 = load i8, ptr %16, align 1 store i8 %218, ptr %6, align 1 br label %219 219: ; preds = %213, %58 %220 = load i8, ptr %6, align 1 ret i8 %220 } declare ptr @malloc(i32 noundef) #1 declare i32 @encrypt(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @strncmp(ptr noundef, 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp2x0v78ij.c' source_filename = "/tmp/tmp2x0v78ij.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @penman(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6) #0 { %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 double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 store double %0, ptr %8, align 8 store double %1, ptr %9, align 8 store double %2, ptr %10, align 8 store double %3, ptr %11, align 8 store double %4, ptr %12, align 8 store double %5, ptr %13, align 8 store double %6, ptr %14, align 8 %22 = load double, ptr %8, align 8 %23 = call double @svp_slope(double noundef %22) store double %23, ptr %16, align 8 %24 = load double, ptr %8, align 8 %25 = fadd double %24, 2.731500e+02 %26 = load double, ptr %9, align 8 %27 = fmul double 5.000000e-01, %26 %28 = call double @llvm.fmuladd.f64(double %27, double 0xBF7A9FBE76C8B439, double %25) %29 = fmul double 0x403D418021671418, %28 store double %29, ptr %18, align 8 %30 = load double, ptr %9, align 8 %31 = fneg double %30 %32 = load double, ptr %18, align 8 %33 = fdiv double %31, %32 %34 = call i32 @exp(double noundef %33) %35 = mul nsw i32 101300, %34 %36 = sitofp i32 %35 to double store double %36, ptr %20, align 8 %37 = load double, ptr %8, align 8 %38 = call double @llvm.fmuladd.f64(double -2.361000e+03, double %37, double 2.501000e+06) store double %38, ptr %19, align 8 %39 = load double, ptr %20, align 8 %40 = fmul double 1.628600e+03, %39 %41 = load double, ptr %19, align 8 %42 = fdiv double %40, %41 store double %42, ptr %21, align 8 %43 = load double, ptr %20, align 8 %44 = fmul double 3.486000e-03, %43 %45 = load double, ptr %8, align 8 %46 = fadd double 2.750000e+02, %45 %47 = fdiv double %44, %46 store double %47, ptr %17, align 8 %48 = load double, ptr %16, align 8 %49 = load double, ptr %10, align 8 %50 = load double, ptr %17, align 8 %51 = fmul double %50, 1.013000e+03 %52 = load double, ptr %11, align 8 %53 = fmul double %51, %52 %54 = load double, ptr %12, align 8 %55 = fdiv double %53, %54 %56 = call double @llvm.fmuladd.f64(double %48, double %49, double %55) %57 = load double, ptr %19, align 8 %58 = load double, ptr %16, align 8 %59 = load double, ptr %21, align 8 %60 = load double, ptr %13, align 8 %61 = load double, ptr %14, align 8 %62 = fadd double %60, %61 %63 = load double, ptr %12, align 8 %64 = fdiv double %62, %63 %65 = fadd double 1.000000e+00, %64 %66 = call double @llvm.fmuladd.f64(double %59, double %65, double %58) %67 = fmul double %57, %66 %68 = fdiv double %56, %67 %69 = fmul double %68, 8.640000e+04 store double %69, ptr %15, align 8 %70 = load double, ptr %11, align 8 %71 = fcmp oge double %70, 0.000000e+00 br i1 %71, label %72, label %76 72: ; preds = %7 %73 = load double, ptr %15, align 8 %74 = fcmp olt double %73, 0.000000e+00 br i1 %74, label %75, label %76 75: ; preds = %72 store double 0.000000e+00, ptr %15, align 8 br label %76 76: ; preds = %75, %72, %7 %77 = load double, ptr %15, align 8 ret double %77 } declare double @svp_slope(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @exp(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2x0v78ij.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @penman(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6) #0 { %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 double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 store double %0, ptr %8, align 8 store double %1, ptr %9, align 8 store double %2, ptr %10, align 8 store double %3, ptr %11, align 8 store double %4, ptr %12, align 8 store double %5, ptr %13, align 8 store double %6, ptr %14, align 8 %22 = load double, ptr %8, align 8 %23 = call double @svp_slope(double noundef %22) store double %23, ptr %16, align 8 %24 = load double, ptr %8, align 8 %25 = fadd double %24, 2.731500e+02 %26 = load double, ptr %9, align 8 %27 = fmul double 5.000000e-01, %26 %28 = call double @llvm.fmuladd.f64(double %27, double 0xBF7A9FBE76C8B439, double %25) %29 = fmul double 0x403D418021671418, %28 store double %29, ptr %18, align 8 %30 = load double, ptr %9, align 8 %31 = fneg double %30 %32 = load double, ptr %18, align 8 %33 = fdiv double %31, %32 %34 = call i32 @exp(double noundef %33) %35 = mul nsw i32 101300, %34 %36 = sitofp i32 %35 to double store double %36, ptr %20, align 8 %37 = load double, ptr %8, align 8 %38 = call double @llvm.fmuladd.f64(double -2.361000e+03, double %37, double 2.501000e+06) store double %38, ptr %19, align 8 %39 = load double, ptr %20, align 8 %40 = fmul double 1.628600e+03, %39 %41 = load double, ptr %19, align 8 %42 = fdiv double %40, %41 store double %42, ptr %21, align 8 %43 = load double, ptr %20, align 8 %44 = fmul double 3.486000e-03, %43 %45 = load double, ptr %8, align 8 %46 = fadd double 2.750000e+02, %45 %47 = fdiv double %44, %46 store double %47, ptr %17, align 8 %48 = load double, ptr %16, align 8 %49 = load double, ptr %10, align 8 %50 = load double, ptr %17, align 8 %51 = fmul double %50, 1.013000e+03 %52 = load double, ptr %11, align 8 %53 = fmul double %51, %52 %54 = load double, ptr %12, align 8 %55 = fdiv double %53, %54 %56 = call double @llvm.fmuladd.f64(double %48, double %49, double %55) %57 = load double, ptr %19, align 8 %58 = load double, ptr %16, align 8 %59 = load double, ptr %21, align 8 %60 = load double, ptr %13, align 8 %61 = load double, ptr %14, align 8 %62 = fadd double %60, %61 %63 = load double, ptr %12, align 8 %64 = fdiv double %62, %63 %65 = fadd double 1.000000e+00, %64 %66 = call double @llvm.fmuladd.f64(double %59, double %65, double %58) %67 = fmul double %57, %66 %68 = fdiv double %56, %67 %69 = fmul double %68, 8.640000e+04 store double %69, ptr %15, align 8 %70 = load double, ptr %11, align 8 %71 = fcmp oge double %70, 0.000000e+00 br i1 %71, label %72, label %76 72: ; preds = %7 %73 = load double, ptr %15, align 8 %74 = fcmp olt double %73, 0.000000e+00 br i1 %74, label %75, label %76 75: ; preds = %72 store double 0.000000e+00, ptr %15, align 8 br label %76 76: ; preds = %75, %72, %7 %77 = load double, ptr %15, align 8 ret double %77 } declare double @svp_slope(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @exp(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr0eu2yj9.c' source_filename = "/tmp/tmpr0eu2yj9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hexMagnitude(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 %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %5, align 4 %8 = xor i32 %6, %7 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %24 10: ; preds = %2 %11 = load i32, ptr %4, align 4 %12 = call i32 @abs(i32 noundef %11) %13 = load i32, ptr %5, align 4 %14 = call i32 @abs(i32 noundef %13) %15 = icmp ugt i32 %12, %14 br i1 %15, label %16, label %19 16: ; preds = %10 %17 = load i32, ptr %4, align 4 %18 = call i32 @abs(i32 noundef %17) br label %22 19: ; preds = %10 %20 = load i32, ptr %5, align 4 %21 = call i32 @abs(i32 noundef %20) br label %22 22: ; preds = %19, %16 %23 = phi i32 [ %18, %16 ], [ %21, %19 ] store i32 %23, ptr %3, align 4 br label %29 24: ; preds = %2 %25 = load i32, ptr %4, align 4 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %25, %26 %28 = call i32 @abs(i32 noundef %27) store i32 %28, ptr %3, align 4 br label %29 29: ; preds = %24, %22 %30 = load i32, ptr %3, align 4 ret i32 %30 } declare i32 @abs(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/tmpr0eu2yj9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hexMagnitude(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 %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %5, align 4 %8 = xor i32 %6, %7 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %24 10: ; preds = %2 %11 = load i32, ptr %4, align 4 %12 = call i32 @abs(i32 noundef %11) %13 = load i32, ptr %5, align 4 %14 = call i32 @abs(i32 noundef %13) %15 = icmp ugt i32 %12, %14 br i1 %15, label %16, label %19 16: ; preds = %10 %17 = load i32, ptr %4, align 4 %18 = call i32 @abs(i32 noundef %17) br label %22 19: ; preds = %10 %20 = load i32, ptr %5, align 4 %21 = call i32 @abs(i32 noundef %20) br label %22 22: ; preds = %19, %16 %23 = phi i32 [ %18, %16 ], [ %21, %19 ] store i32 %23, ptr %3, align 4 br label %29 24: ; preds = %2 %25 = load i32, ptr %4, align 4 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %25, %26 %28 = call i32 @abs(i32 noundef %27) store i32 %28, ptr %3, align 4 br label %29 29: ; preds = %24, %22 %30 = load i32, ptr %3, align 4 ret i32 %30 } declare i32 @abs(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/tmpaxaxzang.c' source_filename = "/tmp/tmpaxaxzang.c" target datalayout = "e-m:e-p270: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/tmpaxaxzang.c" target datalayout = "e-m:e-p270: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/tmpuguq8zgd.c' source_filename = "/tmp/tmpuguq8zgd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_error(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 @ft_putstr(ptr noundef %3) %5 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @ft_putstr(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/tmpuguq8zgd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_error(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 @ft_putstr(ptr noundef %3) %5 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @ft_putstr(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/tmp1az589j2.c' source_filename = "/tmp/tmp1az589j2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strnlen(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 0, ptr %5, align 8 br label %6 6: ; preds = %19, %2 %7 = load ptr, ptr %3, align 8 %8 = load i64, ptr %5, align 8 %9 = getelementptr inbounds i8, ptr %7, i64 %8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %6 %14 = load i64, ptr %5, align 8 %15 = load i64, ptr %4, align 8 %16 = icmp ult i64 %14, %15 br label %17 17: ; preds = %13, %6 %18 = phi i1 [ false, %6 ], [ %16, %13 ] br i1 %18, label %19, label %22 19: ; preds = %17 %20 = load i64, ptr %5, align 8 %21 = add i64 %20, 1 store i64 %21, ptr %5, align 8 br label %6, !llvm.loop !6 22: ; preds = %17 %23 = load i64, ptr %5, align 8 ret i64 %23 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp1az589j2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strnlen(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 0, ptr %5, align 8 br label %6 6: ; preds = %19, %2 %7 = load ptr, ptr %3, align 8 %8 = load i64, ptr %5, align 8 %9 = getelementptr inbounds i8, ptr %7, i64 %8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %6 %14 = load i64, ptr %5, align 8 %15 = load i64, ptr %4, align 8 %16 = icmp ult i64 %14, %15 br label %17 17: ; preds = %13, %6 %18 = phi i1 [ false, %6 ], [ %16, %13 ] br i1 %18, label %19, label %22 19: ; preds = %17 %20 = load i64, ptr %5, align 8 %21 = add i64 %20, 1 store i64 %21, ptr %5, align 8 br label %6, !llvm.loop !6 22: ; preds = %17 %23 = load i64, ptr %5, align 8 ret i64 %23 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpgv2odaa1.c' source_filename = "/tmp/tmpgv2odaa1.c" target datalayout = "e-m:e-p270: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 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"DegC \00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"DegF \00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"?\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"m\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"u\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"n\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"F \00", align 1 @__const.decode_msg.icons20 = private unnamed_addr constant [8 x ptr] [ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8], align 16 @.str.9 = private unnamed_addr constant [3 x i8] c"A \00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"V \00", align 1 @.str.11 = private unnamed_addr constant [2 x i8] c"M\00", align 1 @.str.12 = private unnamed_addr constant [2 x i8] c"k\00", align 1 @.str.13 = private unnamed_addr constant [6 x i8] c"Ohms \00", align 1 @.str.14 = private unnamed_addr constant [4 x i8] c"Hz \00", align 1 @__const.decode_msg.icons21 = private unnamed_addr constant [8 x ptr] [ptr @.str.6, ptr @.str.5, ptr @.str.9, ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13, ptr @.str.14], align 16 @.str.15 = private unnamed_addr constant [7 x i8] c"Diode \00", align 1 @.str.16 = private unnamed_addr constant [4 x i8] c"AC \00", align 1 @.str.17 = private unnamed_addr constant [4 x i8] c"DC \00", align 1 @.str.18 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.19 = private unnamed_addr constant [12 x i8] c"Continuity \00", align 1 @.str.20 = private unnamed_addr constant [12 x i8] c"LowBattery \00", align 1 @__const.decode_msg.icons10 = private unnamed_addr constant [8 x ptr] [ptr @.str.15, ptr @.str.16, ptr @.str.17, ptr @.str, ptr @.str, ptr @.str.18, ptr @.str.19, ptr @.str.20], align 16 @.str.21 = private unnamed_addr constant [6 x i8] c"Wait \00", align 1 @.str.22 = private unnamed_addr constant [6 x i8] c"Auto \00", align 1 @.str.23 = private unnamed_addr constant [6 x i8] c"Hold \00", align 1 @.str.24 = private unnamed_addr constant [5 x i8] c"REL \00", align 1 @__const.decode_msg.icons18 = private unnamed_addr constant [8 x ptr] [ptr @.str.18, ptr @.str.18, ptr @.str.18, ptr @.str.18, ptr @.str.21, ptr @.str.22, ptr @.str.23, ptr @.str.24], align 16 @.str.25 = private unnamed_addr constant [4 x i8] c"MAX\00", align 1 @.str.26 = private unnamed_addr constant [4 x i8] c"MIN\00", align 1 @.str.27 = private unnamed_addr constant [4 x i8] c"N/A\00", align 1 @.str.28 = private unnamed_addr constant [2 x i8] c"%\00", align 1 @.str.29 = private unnamed_addr constant [4 x i8] c"hFE\00", align 1 @__const.decode_msg.icons19 = private unnamed_addr constant [8 x ptr] [ptr @.str.18, ptr @.str.25, ptr @.str, ptr @.str.26, ptr @.str.27, ptr @.str.28, ptr @.str.29, ptr @.str.27], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @decode_msg(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [8 x ptr], align 16 %4 = alloca [8 x ptr], align 16 %5 = alloca [8 x ptr], align 16 %6 = alloca [8 x ptr], align 16 %7 = alloca [8 x ptr], align 16 store ptr %0, ptr %2, align 8 %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 10 %10 = load i8, ptr %9, align 1 %11 = zext i8 %10 to i32 %12 = and i32 %11, 24 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %1 %15 = call i32 @printf(ptr noundef @.str) br label %16 16: ; preds = %14, %1 %17 = load ptr, ptr %2, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 9 %19 = load i8, ptr %18, align 1 %20 = call i32 @decode_digit(i8 noundef zeroext %19) %21 = load ptr, ptr %2, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 8 %23 = load i8, ptr %22, align 1 %24 = call i32 @decode_digit(i8 noundef zeroext %23) %25 = load ptr, ptr %2, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 7 %27 = load i8, ptr %26, align 1 %28 = call i32 @decode_digit(i8 noundef zeroext %27) %29 = load ptr, ptr %2, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 6 %31 = load i8, ptr %30, align 1 %32 = call i32 @decode_digit(i8 noundef zeroext %31) %33 = call i32 @printf(ptr noundef @.str.1) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.decode_msg.icons20, i64 64, i1 false) %34 = load ptr, ptr %2, align 8 %35 = getelementptr inbounds i8, ptr %34, i64 20 %36 = load i8, ptr %35, align 1 %37 = getelementptr inbounds [8 x ptr], ptr %3, i64 0, i64 0 %38 = call i32 @decode_bits(i8 noundef zeroext %36, ptr noundef %37) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.decode_msg.icons21, i64 64, i1 false) %39 = load ptr, ptr %2, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 21 %41 = load i8, ptr %40, align 1 %42 = getelementptr inbounds [8 x ptr], ptr %4, i64 0, i64 0 %43 = call i32 @decode_bits(i8 noundef zeroext %41, ptr noundef %42) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.decode_msg.icons10, i64 64, i1 false) %44 = load ptr, ptr %2, align 8 %45 = getelementptr inbounds i8, ptr %44, i64 10 %46 = load i8, ptr %45, align 1 %47 = zext i8 %46 to i32 %48 = and i32 %47, 231 %49 = trunc i32 %48 to i8 %50 = getelementptr inbounds [8 x ptr], ptr %5, i64 0, i64 0 %51 = call i32 @decode_bits(i8 noundef zeroext %49, ptr noundef %50) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.decode_msg.icons18, i64 64, i1 false) %52 = load ptr, ptr %2, align 8 %53 = getelementptr inbounds i8, ptr %52, i64 18 %54 = load i8, ptr %53, align 1 %55 = getelementptr inbounds [8 x ptr], ptr %6, i64 0, i64 0 %56 = call i32 @decode_bits(i8 noundef zeroext %54, ptr noundef %55) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.decode_msg.icons19, i64 64, i1 false) %57 = load ptr, ptr %2, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 19 %59 = load i8, ptr %58, align 1 %60 = getelementptr inbounds [8 x ptr], ptr %7, i64 0, i64 0 %61 = call i32 @decode_bits(i8 noundef zeroext %59, ptr noundef %60) %62 = call i32 (...) @prtime() ret void } declare i32 @printf(ptr noundef) #1 declare i32 @decode_digit(i8 noundef zeroext) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @decode_bits(i8 noundef zeroext, ptr noundef) #1 declare i32 @prtime(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgv2odaa1.c" target datalayout = "e-m:e-p270: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 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"DegC \00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"DegF \00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"?\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"m\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"u\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"n\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"F \00", align 1 @__const.decode_msg.icons20 = private unnamed_addr constant [8 x ptr] [ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8], align 16 @.str.9 = private unnamed_addr constant [3 x i8] c"A \00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"V \00", align 1 @.str.11 = private unnamed_addr constant [2 x i8] c"M\00", align 1 @.str.12 = private unnamed_addr constant [2 x i8] c"k\00", align 1 @.str.13 = private unnamed_addr constant [6 x i8] c"Ohms \00", align 1 @.str.14 = private unnamed_addr constant [4 x i8] c"Hz \00", align 1 @__const.decode_msg.icons21 = private unnamed_addr constant [8 x ptr] [ptr @.str.6, ptr @.str.5, ptr @.str.9, ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13, ptr @.str.14], align 16 @.str.15 = private unnamed_addr constant [7 x i8] c"Diode \00", align 1 @.str.16 = private unnamed_addr constant [4 x i8] c"AC \00", align 1 @.str.17 = private unnamed_addr constant [4 x i8] c"DC \00", align 1 @.str.18 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.19 = private unnamed_addr constant [12 x i8] c"Continuity \00", align 1 @.str.20 = private unnamed_addr constant [12 x i8] c"LowBattery \00", align 1 @__const.decode_msg.icons10 = private unnamed_addr constant [8 x ptr] [ptr @.str.15, ptr @.str.16, ptr @.str.17, ptr @.str, ptr @.str, ptr @.str.18, ptr @.str.19, ptr @.str.20], align 16 @.str.21 = private unnamed_addr constant [6 x i8] c"Wait \00", align 1 @.str.22 = private unnamed_addr constant [6 x i8] c"Auto \00", align 1 @.str.23 = private unnamed_addr constant [6 x i8] c"Hold \00", align 1 @.str.24 = private unnamed_addr constant [5 x i8] c"REL \00", align 1 @__const.decode_msg.icons18 = private unnamed_addr constant [8 x ptr] [ptr @.str.18, ptr @.str.18, ptr @.str.18, ptr @.str.18, ptr @.str.21, ptr @.str.22, ptr @.str.23, ptr @.str.24], align 16 @.str.25 = private unnamed_addr constant [4 x i8] c"MAX\00", align 1 @.str.26 = private unnamed_addr constant [4 x i8] c"MIN\00", align 1 @.str.27 = private unnamed_addr constant [4 x i8] c"N/A\00", align 1 @.str.28 = private unnamed_addr constant [2 x i8] c"%\00", align 1 @.str.29 = private unnamed_addr constant [4 x i8] c"hFE\00", align 1 @__const.decode_msg.icons19 = private unnamed_addr constant [8 x ptr] [ptr @.str.18, ptr @.str.25, ptr @.str, ptr @.str.26, ptr @.str.27, ptr @.str.28, ptr @.str.29, ptr @.str.27], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @decode_msg(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [8 x ptr], align 16 %4 = alloca [8 x ptr], align 16 %5 = alloca [8 x ptr], align 16 %6 = alloca [8 x ptr], align 16 %7 = alloca [8 x ptr], align 16 store ptr %0, ptr %2, align 8 %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 10 %10 = load i8, ptr %9, align 1 %11 = zext i8 %10 to i32 %12 = and i32 %11, 24 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %1 %15 = call i32 @printf(ptr noundef @.str) br label %16 16: ; preds = %14, %1 %17 = load ptr, ptr %2, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 9 %19 = load i8, ptr %18, align 1 %20 = call i32 @decode_digit(i8 noundef zeroext %19) %21 = load ptr, ptr %2, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 8 %23 = load i8, ptr %22, align 1 %24 = call i32 @decode_digit(i8 noundef zeroext %23) %25 = load ptr, ptr %2, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 7 %27 = load i8, ptr %26, align 1 %28 = call i32 @decode_digit(i8 noundef zeroext %27) %29 = load ptr, ptr %2, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 6 %31 = load i8, ptr %30, align 1 %32 = call i32 @decode_digit(i8 noundef zeroext %31) %33 = call i32 @printf(ptr noundef @.str.1) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.decode_msg.icons20, i64 64, i1 false) %34 = load ptr, ptr %2, align 8 %35 = getelementptr inbounds i8, ptr %34, i64 20 %36 = load i8, ptr %35, align 1 %37 = getelementptr inbounds [8 x ptr], ptr %3, i64 0, i64 0 %38 = call i32 @decode_bits(i8 noundef zeroext %36, ptr noundef %37) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.decode_msg.icons21, i64 64, i1 false) %39 = load ptr, ptr %2, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 21 %41 = load i8, ptr %40, align 1 %42 = getelementptr inbounds [8 x ptr], ptr %4, i64 0, i64 0 %43 = call i32 @decode_bits(i8 noundef zeroext %41, ptr noundef %42) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.decode_msg.icons10, i64 64, i1 false) %44 = load ptr, ptr %2, align 8 %45 = getelementptr inbounds i8, ptr %44, i64 10 %46 = load i8, ptr %45, align 1 %47 = zext i8 %46 to i32 %48 = and i32 %47, 231 %49 = trunc i32 %48 to i8 %50 = getelementptr inbounds [8 x ptr], ptr %5, i64 0, i64 0 %51 = call i32 @decode_bits(i8 noundef zeroext %49, ptr noundef %50) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.decode_msg.icons18, i64 64, i1 false) %52 = load ptr, ptr %2, align 8 %53 = getelementptr inbounds i8, ptr %52, i64 18 %54 = load i8, ptr %53, align 1 %55 = getelementptr inbounds [8 x ptr], ptr %6, i64 0, i64 0 %56 = call i32 @decode_bits(i8 noundef zeroext %54, ptr noundef %55) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.decode_msg.icons19, i64 64, i1 false) %57 = load ptr, ptr %2, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 19 %59 = load i8, ptr %58, align 1 %60 = getelementptr inbounds [8 x ptr], ptr %7, i64 0, i64 0 %61 = call i32 @decode_bits(i8 noundef zeroext %59, ptr noundef %60) %62 = call i32 (...) @prtime() ret void } declare i32 @printf(ptr noundef) #1 declare i32 @decode_digit(i8 noundef zeroext) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @decode_bits(i8 noundef zeroext, ptr noundef) #1 declare i32 @prtime(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgugwov5b.c' source_filename = "/tmp/tmpgugwov5b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__udivsi3(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @__udivmodsi4(i32 noundef %5, i32 noundef %6, ptr noundef null) ret i32 %7 } declare i32 @__udivmodsi4(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgugwov5b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__udivsi3(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @__udivmodsi4(i32 noundef %5, i32 noundef %6, ptr noundef null) ret i32 %7 } declare i32 @__udivmodsi4(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp86xgnkbk.c' source_filename = "/tmp/tmp86xgnkbk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @DEAD_PROCESS = dso_local global i32 0, align 4 @UTMP_FILE = dso_local global i32 0, align 4 @UT_LINESIZE = dso_local global i32 0, align 4 @UT_NAMESIZE = dso_local global i32 0, align 4 @W_OK = 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/tmp86xgnkbk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @DEAD_PROCESS = dso_local global i32 0, align 4 @UTMP_FILE = dso_local global i32 0, align 4 @UT_LINESIZE = dso_local global i32 0, align 4 @UT_NAMESIZE = dso_local global i32 0, align 4 @W_OK = 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/tmpdi4zabmd.c' source_filename = "/tmp/tmpdi4zabmd.c" target datalayout = "e-m:e-p270: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/tmpdi4zabmd.c" target datalayout = "e-m:e-p270: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/tmp5p7fivgt.c' source_filename = "/tmp/tmp5p7fivgt.c" target datalayout = "e-m:e-p270: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/tmp5p7fivgt.c" target datalayout = "e-m:e-p270: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/tmp3u4v1221.c' source_filename = "/tmp/tmp3u4v1221.c" target datalayout = "e-m:e-p270: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/tmp3u4v1221.c" target datalayout = "e-m:e-p270: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/tmpdf1yswmc.c' source_filename = "/tmp/tmpdf1yswmc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writeChar(i8 noundef zeroext %0, ptr noundef %1) #0 { %3 = alloca i8, align 1 %4 = alloca ptr, align 8 store i8 %0, ptr %3, align 1 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = call i32 @memcpy(ptr noundef %5, ptr noundef %3, i32 noundef 1) ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdf1yswmc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writeChar(i8 noundef zeroext %0, ptr noundef %1) #0 { %3 = alloca i8, align 1 %4 = alloca ptr, align 8 store i8 %0, ptr %3, align 1 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = call i32 @memcpy(ptr noundef %5, ptr noundef %3, i32 noundef 1) ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprnugprdg.c' source_filename = "/tmp/tmprnugprdg.c" target datalayout = "e-m:e-p270: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/tmprnugprdg.c" target datalayout = "e-m:e-p270: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/tmp5xp6y5z_.c' source_filename = "/tmp/tmp5xp6y5z_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind returns_twice sspstrong uwtable define dso_local i32 @vfork() #0 { %1 = call i32 @assert(i32 noundef 0) ret i32 0 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind returns_twice sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5xp6y5z_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind returns_twice sspstrong uwtable define dso_local i32 @vfork() #0 { %1 = call i32 @assert(i32 noundef 0) ret i32 0 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind returns_twice sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0cpwbkrv.c' source_filename = "/tmp/tmp0cpwbkrv.c" target datalayout = "e-m:e-p270: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/tmp0cpwbkrv.c" target datalayout = "e-m:e-p270: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/tmpnk5f3jx2.c' source_filename = "/tmp/tmpnk5f3jx2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @_IOLBF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"spg:\00", align 1 @optarg = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [48 x i8] c"Exceeded maximum number of allowed groups (%i)\0A\00", align 1 @optopt = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [23 x i8] c"Unknown option '-%c'.\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"Unknown option character `\\x%x'.\0A\00", align 1 @optind = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [21 x i8] c"Unknown option '%s'\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [26 x i8] c"%s: ERROR: Too large: %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c"%s: ERROR: Too large..: %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"OK\0A\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"ERR\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 ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [8192 x i8], align 16 %10 = alloca [10 x ptr], align 16 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %11, align 4 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 %16 = load i32, ptr @stdout, align 4 %17 = load i32, ptr @_IOLBF, align 4 %18 = call i32 @setvbuf(i32 noundef %16, ptr noundef null, i32 noundef %17, i32 noundef 0) br label %19 19: ; preds = %72, %2 %20 = load i32, ptr %4, align 4 %21 = load ptr, ptr %5, align 8 %22 = call i32 @getopt(i32 noundef %20, ptr noundef %21, ptr noundef @.str) store i32 %22, ptr %12, align 4 %23 = icmp ne i32 %22, -1 br i1 %23, label %24, label %73 24: ; preds = %19 %25 = load i32, ptr %12, align 4 switch i32 %25, label %66 [ i32 115, label %26 i32 112, label %27 i32 103, label %28 i32 63, label %53 ] 26: ; preds = %24 store i32 1, ptr %15, align 4 br label %72 27: ; preds = %24 store i32 1, ptr %11, align 4 br label %72 28: ; preds = %24 %29 = load i32, ptr @optarg, align 4 %30 = call i32 @strlen(i32 noundef %29) %31 = add nsw i32 %30, 1 %32 = call ptr @calloc(i32 noundef %31, i32 noundef 1) %33 = load i32, ptr %13, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [10 x ptr], ptr %10, i64 0, i64 %34 store ptr %32, ptr %35, align 8 %36 = load i32, ptr %13, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [10 x ptr], ptr %10, i64 0, i64 %37 %39 = load ptr, ptr %38, align 8 %40 = load i32, ptr @optarg, align 4 %41 = call i32 @strcpy(ptr noundef %39, i32 noundef %40) %42 = load i32, ptr %13, align 4 %43 = icmp slt i32 %42, 10 br i1 %43, label %44, label %47 44: ; preds = %28 %45 = load i32, ptr %13, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %13, align 4 br label %52 47: ; preds = %28 %48 = load i32, ptr @stderr, align 4 %49 = load i32, ptr %13, align 4 %50 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %48, ptr noundef @.str.1, i32 noundef %49) %51 = call i32 @exit(i32 noundef 1) #3 unreachable 52: ; preds = %44 br label %72 53: ; preds = %24 %54 = load i32, ptr @optopt, align 4 %55 = call i32 @xisprint(i32 noundef %54) %56 = icmp ne i32 %55, 0 br i1 %56, label %57, label %61 57: ; preds = %53 %58 = load i32, ptr @stderr, align 4 %59 = load i32, ptr @optopt, align 4 %60 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %58, ptr noundef @.str.2, i32 noundef %59) br label %65 61: ; preds = %53 %62 = load i32, ptr @stderr, align 4 %63 = load i32, ptr @optopt, align 4 %64 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %62, ptr noundef @.str.3, i32 noundef %63) br label %65 65: ; preds = %61, %57 br label %66 66: ; preds = %24, %65 %67 = load ptr, ptr %5, align 8 %68 = getelementptr inbounds ptr, ptr %67, i64 0 %69 = load ptr, ptr %68, align 8 %70 = call i32 @usage(ptr noundef %69) %71 = call i32 @exit(i32 noundef 1) #3 unreachable 72: ; preds = %52, %27, %26 br label %19, !llvm.loop !6 73: ; preds = %19 %74 = load i32, ptr @optind, align 4 %75 = load i32, ptr %4, align 4 %76 = icmp slt i32 %74, %75 br i1 %76, label %77, label %90 77: ; preds = %73 %78 = load i32, ptr @stderr, align 4 %79 = load ptr, ptr %5, align 8 %80 = load i32, ptr @optind, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds ptr, ptr %79, i64 %81 %83 = load ptr, ptr %82, align 8 %84 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %78, ptr noundef @.str.4, ptr noundef %83) %85 = load ptr, ptr %5, align 8 %86 = getelementptr inbounds ptr, ptr %85, i64 0 %87 = load ptr, ptr %86, align 8 %88 = call i32 @usage(ptr noundef %87) %89 = call i32 @exit(i32 noundef 1) #3 unreachable 90: ; preds = %73 br label %91 91: ; preds = %230, %90 %92 = getelementptr inbounds [8192 x i8], ptr %9, i64 0, i64 0 %93 = load i32, ptr @stdin, align 4 %94 = call i64 @fgets(ptr noundef %92, i32 noundef 8192, i32 noundef %93) %95 = icmp ne i64 %94, 0 br i1 %95, label %96, label %231 96: ; preds = %91 store i32 0, ptr %14, align 4 %97 = getelementptr inbounds [8192 x i8], ptr %9, i64 0, i64 0 %98 = call ptr @strchr(ptr noundef %97, i8 noundef signext 10) store ptr %98, ptr %8, align 8 %99 = icmp eq ptr %98, null br i1 %99, label %100, label %125 100: ; preds = %96 %101 = load i32, ptr @stderr, align 4 %102 = load ptr, ptr %5, align 8 %103 = getelementptr inbounds ptr, ptr %102, i64 0 %104 = load ptr, ptr %103, align 8 %105 = getelementptr inbounds [8192 x i8], ptr %9, i64 0, i64 0 %106 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %101, ptr noundef @.str.5, ptr noundef %104, ptr noundef %105) br label %107 107: ; preds = %123, %100 %108 = getelementptr inbounds [8192 x i8], ptr %9, i64 0, i64 0 %109 = load i32, ptr @stdin, align 4 %110 = call i64 @fgets(ptr noundef %108, i32 noundef 8192, i32 noundef %109) %111 = icmp ne i64 %110, 0 br i1 %111, label %112, label %124 112: ; preds = %107 %113 = load i32, ptr @stderr, align 4 %114 = load ptr, ptr %5, align 8 %115 = getelementptr inbounds ptr, ptr %114, i64 0 %116 = load ptr, ptr %115, align 8 %117 = getelementptr inbounds [8192 x i8], ptr %9, i64 0, i64 0 %118 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %113, ptr noundef @.str.6, ptr noundef %116, ptr noundef %117) %119 = getelementptr inbounds [8192 x i8], ptr %9, i64 0, i64 0 %120 = call ptr @strchr(ptr noundef %119, i8 noundef signext 10) %121 = icmp ne ptr %120, null br i1 %121, label %122, label %123 122: ; preds = %112 br label %124 123: ; preds = %112 br label %107, !llvm.loop !8 124: ; preds = %122, %107 br label %228 125: ; preds = %96 %126 = load ptr, ptr %8, align 8 store i8 0, ptr %126, align 1 %127 = getelementptr inbounds [8192 x i8], ptr %9, i64 0, i64 0 %128 = call ptr @strtok(ptr noundef %127, ptr noundef @.str.7) store ptr %128, ptr %8, align 8 %129 = icmp eq ptr %128, null br i1 %129, label %130, label %131 130: ; preds = %125 br label %228 131: ; preds = %125 %132 = load ptr, ptr %8, align 8 store ptr %132, ptr %6, align 8 %133 = load ptr, ptr %6, align 8 %134 = call i32 @rfc1738_unescape(ptr noundef %133) %135 = load ptr, ptr %6, align 8 %136 = icmp ne ptr %135, null br i1 %136, label %137, label %161 137: ; preds = %131 %138 = load i32, ptr %15, align 4 %139 = icmp ne i32 %138, 0 br i1 %139, label %140, label %161 140: ; preds = %137 %141 = load ptr, ptr %6, align 8 %142 = call ptr @strchr(ptr noundef %141, i8 noundef signext 92) store ptr %142, ptr %7, align 8 %143 = load ptr, ptr %7, align 8 %144 = icmp ne ptr %143, null br i1 %144, label %148, label %145 145: ; preds = %140 %146 = load ptr, ptr %6, align 8 %147 = call ptr @strchr(ptr noundef %146, i8 noundef signext 47) store ptr %147, ptr %7, align 8 br label %148 148: ; preds = %145, %140 %149 = load ptr, ptr %7, align 8 %150 = icmp ne ptr %149, null br i1 %150, label %151, label %160 151: ; preds = %148 %152 = load ptr, ptr %7, align 8 %153 = getelementptr inbounds i8, ptr %152, i64 1 %154 = load i8, ptr %153, align 1 %155 = sext i8 %154 to i32 %156 = icmp ne i32 %155, 0 br i1 %156, label %157, label %160 157: ; preds = %151 %158 = load ptr, ptr %7, align 8 %159 = getelementptr inbounds i8, ptr %158, i64 1 store ptr %159, ptr %6, align 8 br label %160 160: ; preds = %157, %151, %148 br label %161 161: ; preds = %160, %137, %131 br label %162 162: ; preds = %178, %161 %163 = call ptr @strtok(ptr noundef null, ptr noundef @.str.7) store ptr %163, ptr %8, align 8 %164 = icmp ne ptr %163, null br i1 %164, label %165, label %186 165: ; preds = %162 %166 = load ptr, ptr %8, align 8 %167 = call i32 @rfc1738_unescape(ptr noundef %166) %168 = load i32, ptr %11, align 4 %169 = icmp eq i32 %168, 1 br i1 %169, label %170, label %178 170: ; preds = %165 %171 = load ptr, ptr %6, align 8 %172 = load ptr, ptr %8, align 8 %173 = call i64 @validate_user_pw(ptr noundef %171, ptr noundef %172) %174 = load i32, ptr %14, align 4 %175 = sext i32 %174 to i64 %176 = add nsw i64 %175, %173 %177 = trunc i64 %176 to i32 store i32 %177, ptr %14, align 4 br label %178 178: ; preds = %170, %165 %179 = load ptr, ptr %6, align 8 %180 = load ptr, ptr %8, align 8 %181 = call i64 @validate_user_gr(ptr noundef %179, ptr noundef %180) %182 = load i32, ptr %14, align 4 %183 = sext i32 %182 to i64 %184 = add nsw i64 %183, %181 %185 = trunc i64 %184 to i32 store i32 %185, ptr %14, align 4 br label %162, !llvm.loop !9 186: ; preds = %162 br label %187 187: ; preds = %186 store i32 0, ptr %13, align 4 br label %188 188: ; preds = %219, %187 %189 = load i32, ptr %13, align 4 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds [10 x ptr], ptr %10, i64 0, i64 %190 %192 = load ptr, ptr %191, align 8 %193 = icmp ne ptr %192, null br i1 %193, label %194, label %222 194: ; preds = %188 %195 = load i32, ptr %11, align 4 %196 = icmp eq i32 %195, 1 br i1 %196, label %197, label %208 197: ; preds = %194 %198 = load ptr, ptr %6, align 8 %199 = load i32, ptr %13, align 4 %200 = sext i32 %199 to i64 %201 = getelementptr inbounds [10 x ptr], ptr %10, i64 0, i64 %200 %202 = load ptr, ptr %201, align 8 %203 = call i64 @validate_user_pw(ptr noundef %198, ptr noundef %202) %204 = load i32, ptr %14, align 4 %205 = sext i32 %204 to i64 %206 = add nsw i64 %205, %203 %207 = trunc i64 %206 to i32 store i32 %207, ptr %14, align 4 br label %208 208: ; preds = %197, %194 %209 = load ptr, ptr %6, align 8 %210 = load i32, ptr %13, align 4 %211 = sext i32 %210 to i64 %212 = getelementptr inbounds [10 x ptr], ptr %10, i64 0, i64 %211 %213 = load ptr, ptr %212, align 8 %214 = call i64 @validate_user_gr(ptr noundef %209, ptr noundef %213) %215 = load i32, ptr %14, align 4 %216 = sext i32 %215 to i64 %217 = add nsw i64 %216, %214 %218 = trunc i64 %217 to i32 store i32 %218, ptr %14, align 4 br label %219 219: ; preds = %208 %220 = load i32, ptr %13, align 4 %221 = add nsw i32 %220, 1 store i32 %221, ptr %13, align 4 br label %188, !llvm.loop !10 222: ; preds = %188 %223 = load i32, ptr %14, align 4 %224 = icmp sgt i32 %223, 0 br i1 %224, label %225, label %227 225: ; preds = %222 %226 = call i32 @printf(ptr noundef @.str.8) br label %230 227: ; preds = %222 br label %228 228: ; preds = %227, %130, %124 %229 = call i32 @printf(ptr noundef @.str.9) br label %230 230: ; preds = %228, %225 br label %91, !llvm.loop !11 231: ; preds = %91 ret i32 0 } declare i32 @setvbuf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @strlen(i32 noundef) #1 declare i32 @strcpy(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @xisprint(i32 noundef) #1 declare i32 @usage(ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @rfc1738_unescape(ptr noundef) #1 declare i64 @validate_user_pw(ptr noundef, ptr noundef) #1 declare i64 @validate_user_gr(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnk5f3jx2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @_IOLBF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"spg:\00", align 1 @optarg = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [48 x i8] c"Exceeded maximum number of allowed groups (%i)\0A\00", align 1 @optopt = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [23 x i8] c"Unknown option '-%c'.\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"Unknown option character `\\x%x'.\0A\00", align 1 @optind = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [21 x i8] c"Unknown option '%s'\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [26 x i8] c"%s: ERROR: Too large: %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c"%s: ERROR: Too large..: %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"OK\0A\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"ERR\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 ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [8192 x i8], align 16 %10 = alloca [10 x ptr], align 16 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %11, align 4 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 %16 = load i32, ptr @stdout, align 4 %17 = load i32, ptr @_IOLBF, align 4 %18 = call i32 @setvbuf(i32 noundef %16, ptr noundef null, i32 noundef %17, i32 noundef 0) %19 = load i32, ptr %4, align 4 %20 = load ptr, ptr %5, align 8 %21 = call i32 @getopt(i32 noundef %19, ptr noundef %20, ptr noundef @.str) store i32 %21, ptr %12, align 4 %22 = icmp ne i32 %21, -1 br i1 %22, label %.lr.ph, label %76 .lr.ph: ; preds = %2 br label %23 23: ; preds = %.lr.ph, %71 %24 = load i32, ptr %12, align 4 switch i32 %24, label %.loopexit1 [ i32 115, label %25 i32 112, label %26 i32 103, label %27 i32 63, label %52 ] 25: ; preds = %23 store i32 1, ptr %15, align 4 br label %71 26: ; preds = %23 store i32 1, ptr %11, align 4 br label %71 27: ; preds = %23 %28 = load i32, ptr @optarg, align 4 %29 = call i32 @strlen(i32 noundef %28) %30 = add nsw i32 %29, 1 %31 = call ptr @calloc(i32 noundef %30, i32 noundef 1) %32 = load i32, ptr %13, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [10 x ptr], ptr %10, i64 0, i64 %33 store ptr %31, ptr %34, align 8 %35 = load i32, ptr %13, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [10 x ptr], ptr %10, i64 0, i64 %36 %38 = load ptr, ptr %37, align 8 %39 = load i32, ptr @optarg, align 4 %40 = call i32 @strcpy(ptr noundef %38, i32 noundef %39) %41 = load i32, ptr %13, align 4 %42 = icmp slt i32 %41, 10 br i1 %42, label %43, label %46 43: ; preds = %27 %44 = load i32, ptr %13, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %13, align 4 br label %51 46: ; preds = %27 %47 = load i32, ptr @stderr, align 4 %48 = load i32, ptr %13, align 4 %49 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %47, ptr noundef @.str.1, i32 noundef %48) %50 = call i32 @exit(i32 noundef 1) #3 unreachable 51: ; preds = %43 br label %71 52: ; preds = %23 %53 = load i32, ptr @optopt, align 4 %54 = call i32 @xisprint(i32 noundef %53) %55 = icmp ne i32 %54, 0 br i1 %55, label %56, label %60 56: ; preds = %52 %57 = load i32, ptr @stderr, align 4 %58 = load i32, ptr @optopt, align 4 %59 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %57, ptr noundef @.str.2, i32 noundef %58) br label %64 60: ; preds = %52 %61 = load i32, ptr @stderr, align 4 %62 = load i32, ptr @optopt, align 4 %63 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %61, ptr noundef @.str.3, i32 noundef %62) br label %64 64: ; preds = %60, %56 br label %65 .loopexit1: ; preds = %23 br label %65 65: ; preds = %.loopexit1, %64 %66 = load ptr, ptr %5, align 8 %67 = getelementptr inbounds ptr, ptr %66, i64 0 %68 = load ptr, ptr %67, align 8 %69 = call i32 @usage(ptr noundef %68) %70 = call i32 @exit(i32 noundef 1) #3 unreachable 71: ; preds = %51, %26, %25 %72 = load i32, ptr %4, align 4 %73 = load ptr, ptr %5, align 8 %74 = call i32 @getopt(i32 noundef %72, ptr noundef %73, ptr noundef @.str) store i32 %74, ptr %12, align 4 %75 = icmp ne i32 %74, -1 br i1 %75, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %71 br label %76 76: ; preds = %._crit_edge, %2 %77 = load i32, ptr @optind, align 4 %78 = load i32, ptr %4, align 4 %79 = icmp slt i32 %77, %78 br i1 %79, label %80, label %93 80: ; preds = %76 %81 = load i32, ptr @stderr, align 4 %82 = load ptr, ptr %5, align 8 %83 = load i32, ptr @optind, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds ptr, ptr %82, i64 %84 %86 = load ptr, ptr %85, align 8 %87 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %81, ptr noundef @.str.4, ptr noundef %86) %88 = load ptr, ptr %5, align 8 %89 = getelementptr inbounds ptr, ptr %88, i64 0 %90 = load ptr, ptr %89, align 8 %91 = call i32 @usage(ptr noundef %90) %92 = call i32 @exit(i32 noundef 1) #3 unreachable 93: ; preds = %76 %94 = getelementptr inbounds [8192 x i8], ptr %9, i64 0, i64 0 %95 = load i32, ptr @stdin, align 4 %96 = call i64 @fgets(ptr noundef %94, i32 noundef 8192, i32 noundef %95) %97 = icmp ne i64 %96, 0 br i1 %97, label %.lr.ph11, label %243 .lr.ph11: ; preds = %93 br label %98 98: ; preds = %.lr.ph11, %239 store i32 0, ptr %14, align 4 %99 = getelementptr inbounds [8192 x i8], ptr %9, i64 0, i64 0 %100 = call ptr @strchr(ptr noundef %99, i8 noundef signext 10) store ptr %100, ptr %8, align 8 %101 = icmp eq ptr %100, null br i1 %101, label %102, label %129 102: ; preds = %98 %103 = load i32, ptr @stderr, align 4 %104 = load ptr, ptr %5, align 8 %105 = getelementptr inbounds ptr, ptr %104, i64 0 %106 = load ptr, ptr %105, align 8 %107 = getelementptr inbounds [8192 x i8], ptr %9, i64 0, i64 0 %108 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %103, ptr noundef @.str.5, ptr noundef %106, ptr noundef %107) %109 = getelementptr inbounds [8192 x i8], ptr %9, i64 0, i64 0 %110 = load i32, ptr @stdin, align 4 %111 = call i64 @fgets(ptr noundef %109, i32 noundef 8192, i32 noundef %110) %112 = icmp ne i64 %111, 0 br i1 %112, label %.lr.ph9, label %.loopexit .lr.ph9: ; preds = %102 br label %117 113: ; preds = %117 %114 = load i32, ptr @stdin, align 4 %115 = call i64 @fgets(ptr noundef %109, i32 noundef 8192, i32 noundef %114) %116 = icmp ne i64 %115, 0 br i1 %116, label %117, label %..loopexit_crit_edge, !llvm.loop !8 117: ; preds = %.lr.ph9, %113 %118 = load i32, ptr @stderr, align 4 %119 = load ptr, ptr %5, align 8 %120 = getelementptr inbounds ptr, ptr %119, i64 0 %121 = load ptr, ptr %120, align 8 %122 = getelementptr inbounds [8192 x i8], ptr %9, i64 0, i64 0 %123 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %118, ptr noundef @.str.6, ptr noundef %121, ptr noundef %122) %124 = getelementptr inbounds [8192 x i8], ptr %9, i64 0, i64 0 %125 = call ptr @strchr(ptr noundef %124, i8 noundef signext 10) %126 = icmp ne ptr %125, null br i1 %126, label %127, label %113 127: ; preds = %117 br label %128 ..loopexit_crit_edge: ; preds = %113 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %102 br label %128 128: ; preds = %.loopexit, %127 br label %237 129: ; preds = %98 %130 = load ptr, ptr %8, align 8 store i8 0, ptr %130, align 1 %131 = getelementptr inbounds [8192 x i8], ptr %9, i64 0, i64 0 %132 = call ptr @strtok(ptr noundef %131, ptr noundef @.str.7) store ptr %132, ptr %8, align 8 %133 = icmp eq ptr %132, null br i1 %133, label %134, label %135 134: ; preds = %129 br label %237 135: ; preds = %129 %136 = load ptr, ptr %8, align 8 store ptr %136, ptr %6, align 8 %137 = load ptr, ptr %6, align 8 %138 = call i32 @rfc1738_unescape(ptr noundef %137) %139 = load ptr, ptr %6, align 8 %140 = icmp ne ptr %139, null br i1 %140, label %141, label %165 141: ; preds = %135 %142 = load i32, ptr %15, align 4 %143 = icmp ne i32 %142, 0 br i1 %143, label %144, label %165 144: ; preds = %141 %145 = load ptr, ptr %6, align 8 %146 = call ptr @strchr(ptr noundef %145, i8 noundef signext 92) store ptr %146, ptr %7, align 8 %147 = load ptr, ptr %7, align 8 %148 = icmp ne ptr %147, null br i1 %148, label %152, label %149 149: ; preds = %144 %150 = load ptr, ptr %6, align 8 %151 = call ptr @strchr(ptr noundef %150, i8 noundef signext 47) store ptr %151, ptr %7, align 8 br label %152 152: ; preds = %149, %144 %153 = load ptr, ptr %7, align 8 %154 = icmp ne ptr %153, null br i1 %154, label %155, label %164 155: ; preds = %152 %156 = load ptr, ptr %7, align 8 %157 = getelementptr inbounds i8, ptr %156, i64 1 %158 = load i8, ptr %157, align 1 %159 = sext i8 %158 to i32 %160 = icmp ne i32 %159, 0 br i1 %160, label %161, label %164 161: ; preds = %155 %162 = load ptr, ptr %7, align 8 %163 = getelementptr inbounds i8, ptr %162, i64 1 store ptr %163, ptr %6, align 8 br label %164 164: ; preds = %161, %155, %152 br label %165 165: ; preds = %164, %141, %135 %166 = call ptr @strtok(ptr noundef null, ptr noundef @.str.7) store ptr %166, ptr %8, align 8 %167 = icmp ne ptr %166, null br i1 %167, label %.lr.ph3, label %191 .lr.ph3: ; preds = %165 br label %168 168: ; preds = %.lr.ph3, %181 %169 = load ptr, ptr %8, align 8 %170 = call i32 @rfc1738_unescape(ptr noundef %169) %171 = load i32, ptr %11, align 4 %172 = icmp eq i32 %171, 1 br i1 %172, label %173, label %181 173: ; preds = %168 %174 = load ptr, ptr %6, align 8 %175 = load ptr, ptr %8, align 8 %176 = call i64 @validate_user_pw(ptr noundef %174, ptr noundef %175) %177 = load i32, ptr %14, align 4 %178 = sext i32 %177 to i64 %179 = add nsw i64 %178, %176 %180 = trunc i64 %179 to i32 store i32 %180, ptr %14, align 4 br label %181 181: ; preds = %173, %168 %182 = load ptr, ptr %6, align 8 %183 = load ptr, ptr %8, align 8 %184 = call i64 @validate_user_gr(ptr noundef %182, ptr noundef %183) %185 = load i32, ptr %14, align 4 %186 = sext i32 %185 to i64 %187 = add nsw i64 %186, %184 %188 = trunc i64 %187 to i32 store i32 %188, ptr %14, align 4 %189 = call ptr @strtok(ptr noundef null, ptr noundef @.str.7) store ptr %189, ptr %8, align 8 %190 = icmp ne ptr %189, null br i1 %190, label %168, label %._crit_edge4, !llvm.loop !9 ._crit_edge4: ; preds = %181 br label %191 191: ; preds = %._crit_edge4, %165 br label %192 192: ; preds = %191 store i32 0, ptr %13, align 4 %193 = load i32, ptr %13, align 4 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds [10 x ptr], ptr %10, i64 0, i64 %194 %196 = load ptr, ptr %195, align 8 %197 = icmp ne ptr %196, null br i1 %197, label %.lr.ph6, label %231 .lr.ph6: ; preds = %192 br label %198 198: ; preds = %.lr.ph6, %223 %199 = load i32, ptr %11, align 4 %200 = icmp eq i32 %199, 1 br i1 %200, label %201, label %212 201: ; preds = %198 %202 = load ptr, ptr %6, align 8 %203 = load i32, ptr %13, align 4 %204 = sext i32 %203 to i64 %205 = getelementptr inbounds [10 x ptr], ptr %10, i64 0, i64 %204 %206 = load ptr, ptr %205, align 8 %207 = call i64 @validate_user_pw(ptr noundef %202, ptr noundef %206) %208 = load i32, ptr %14, align 4 %209 = sext i32 %208 to i64 %210 = add nsw i64 %209, %207 %211 = trunc i64 %210 to i32 store i32 %211, ptr %14, align 4 br label %212 212: ; preds = %201, %198 %213 = load ptr, ptr %6, align 8 %214 = load i32, ptr %13, align 4 %215 = sext i32 %214 to i64 %216 = getelementptr inbounds [10 x ptr], ptr %10, i64 0, i64 %215 %217 = load ptr, ptr %216, align 8 %218 = call i64 @validate_user_gr(ptr noundef %213, ptr noundef %217) %219 = load i32, ptr %14, align 4 %220 = sext i32 %219 to i64 %221 = add nsw i64 %220, %218 %222 = trunc i64 %221 to i32 store i32 %222, ptr %14, align 4 br label %223 223: ; preds = %212 %224 = load i32, ptr %13, align 4 %225 = add nsw i32 %224, 1 store i32 %225, ptr %13, align 4 %226 = load i32, ptr %13, align 4 %227 = sext i32 %226 to i64 %228 = getelementptr inbounds [10 x ptr], ptr %10, i64 0, i64 %227 %229 = load ptr, ptr %228, align 8 %230 = icmp ne ptr %229, null br i1 %230, label %198, label %._crit_edge7, !llvm.loop !10 ._crit_edge7: ; preds = %223 br label %231 231: ; preds = %._crit_edge7, %192 %232 = load i32, ptr %14, align 4 %233 = icmp sgt i32 %232, 0 br i1 %233, label %234, label %236 234: ; preds = %231 %235 = call i32 @printf(ptr noundef @.str.8) br label %239 236: ; preds = %231 br label %237 237: ; preds = %236, %134, %128 %238 = call i32 @printf(ptr noundef @.str.9) br label %239 239: ; preds = %237, %234 %240 = load i32, ptr @stdin, align 4 %241 = call i64 @fgets(ptr noundef %94, i32 noundef 8192, i32 noundef %240) %242 = icmp ne i64 %241, 0 br i1 %242, label %98, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %239 br label %243 243: ; preds = %._crit_edge12, %93 ret i32 0 } declare i32 @setvbuf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @strlen(i32 noundef) #1 declare i32 @strcpy(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @xisprint(i32 noundef) #1 declare i32 @usage(ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @rfc1738_unescape(ptr noundef) #1 declare i64 @validate_user_pw(ptr noundef, ptr noundef) #1 declare i64 @validate_user_gr(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpvqwgib5m.c' source_filename = "/tmp/tmpvqwgib5m.c" target datalayout = "e-m:e-p270: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"found %s for %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @property_get(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr null, ptr %8, align 8 %9 = load ptr, ptr %5, align 8 %10 = call ptr @find_key(ptr noundef %9) store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %8, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %17 13: ; preds = %3 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %8, align 8 %16 = call i32 @printf(ptr noundef @.str, ptr noundef %14, ptr noundef %15) br label %17 17: ; preds = %13, %3 %18 = load ptr, ptr %8, align 8 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %30 20: ; preds = %17 %21 = load ptr, ptr %7, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %23, label %29 23: ; preds = %20 %24 = load ptr, ptr %6, align 8 %25 = load ptr, ptr %7, align 8 %26 = call i32 @strcpy(ptr noundef %24, ptr noundef %25) %27 = load ptr, ptr %6, align 8 %28 = call i32 @strlen(ptr noundef %27) store i32 %28, ptr %4, align 4 br label %42 29: ; preds = %20 store i32 0, ptr %4, align 4 br label %42 30: ; preds = %17 %31 = load ptr, ptr %8, align 8 %32 = icmp ne ptr %31, null br i1 %32, label %33, label %41 33: ; preds = %30 %34 = load ptr, ptr %6, align 8 %35 = load ptr, ptr %8, align 8 %36 = call i32 @strcpy(ptr noundef %34, ptr noundef %35) %37 = load ptr, ptr %8, align 8 %38 = call i32 @free(ptr noundef %37) %39 = load ptr, ptr %6, align 8 %40 = call i32 @strlen(ptr noundef %39) store i32 %40, ptr %4, align 4 br label %42 41: ; preds = %30 store i32 0, ptr %4, align 4 br label %42 42: ; preds = %41, %33, %29, %23 %43 = load i32, ptr %4, align 4 ret i32 %43 } declare ptr @find_key(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvqwgib5m.c" target datalayout = "e-m:e-p270: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"found %s for %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @property_get(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr null, ptr %8, align 8 %9 = load ptr, ptr %5, align 8 %10 = call ptr @find_key(ptr noundef %9) store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %8, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %17 13: ; preds = %3 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %8, align 8 %16 = call i32 @printf(ptr noundef @.str, ptr noundef %14, ptr noundef %15) br label %17 17: ; preds = %13, %3 %18 = load ptr, ptr %8, align 8 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %30 20: ; preds = %17 %21 = load ptr, ptr %7, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %23, label %29 23: ; preds = %20 %24 = load ptr, ptr %6, align 8 %25 = load ptr, ptr %7, align 8 %26 = call i32 @strcpy(ptr noundef %24, ptr noundef %25) %27 = load ptr, ptr %6, align 8 %28 = call i32 @strlen(ptr noundef %27) store i32 %28, ptr %4, align 4 br label %42 29: ; preds = %20 store i32 0, ptr %4, align 4 br label %42 30: ; preds = %17 %31 = load ptr, ptr %8, align 8 %32 = icmp ne ptr %31, null br i1 %32, label %33, label %41 33: ; preds = %30 %34 = load ptr, ptr %6, align 8 %35 = load ptr, ptr %8, align 8 %36 = call i32 @strcpy(ptr noundef %34, ptr noundef %35) %37 = load ptr, ptr %8, align 8 %38 = call i32 @free(ptr noundef %37) %39 = load ptr, ptr %6, align 8 %40 = call i32 @strlen(ptr noundef %39) store i32 %40, ptr %4, align 4 br label %42 41: ; preds = %30 store i32 0, ptr %4, align 4 br label %42 42: ; preds = %41, %33, %29, %23 %43 = load i32, ptr %4, align 4 ret i32 %43 } declare ptr @find_key(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn5zdvf9f.c' source_filename = "/tmp/tmpn5zdvf9f.c" target datalayout = "e-m:e-p270: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/tmpn5zdvf9f.c" target datalayout = "e-m:e-p270: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/tmpbsq6hxfc.c' source_filename = "/tmp/tmpbsq6hxfc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%.3lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [81 x i8], align 16 %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca [80 x double], align 16 store i32 0, ptr %1, align 4 %9 = getelementptr inbounds [80 x double], ptr %8, i64 0, i64 67 store double 1.201000e+01, ptr %9, align 8 %10 = getelementptr inbounds [80 x double], ptr %8, i64 0, i64 72 store double 1.008000e+00, ptr %10, align 16 %11 = getelementptr inbounds [80 x double], ptr %8, i64 0, i64 78 store double 1.401000e+01, ptr %11, align 16 %12 = getelementptr inbounds [80 x double], ptr %8, i64 0, i64 79 store double 1.600000e+01, ptr %12, align 8 %13 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5) br label %14 14: ; preds = %69, %0 %15 = load i32, ptr %5, align 4 %16 = add nsw i32 %15, -1 store i32 %16, ptr %5, align 4 %17 = icmp ne i32 %15, 0 br i1 %17, label %18, label %72 18: ; preds = %14 store double 0.000000e+00, ptr %7, align 8 %19 = getelementptr inbounds [81 x i8], ptr %2, i64 0, i64 0 %20 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %19) store i32 0, ptr %4, align 4 br label %21 21: ; preds = %66, %18 %22 = load i32, ptr %4, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [81 x i8], ptr %2, i64 0, i64 %23 %25 = load i8, ptr %24, align 1 %26 = icmp ne i8 %25, 0 br i1 %26, label %27, label %69 27: ; preds = %21 %28 = load i32, ptr %4, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [81 x i8], ptr %2, i64 0, i64 %29 %31 = load i8, ptr %30, align 1 store i8 %31, ptr %3, align 1 store i32 0, ptr %6, align 4 br label %32 32: ; preds = %40, %27 %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, 1 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [81 x i8], ptr %2, i64 0, i64 %35 %37 = load i8, ptr %36, align 1 %38 = call i64 @isdigit(i8 noundef signext %37) %39 = icmp ne i64 %38, 0 br i1 %39, label %40, label %51 40: ; preds = %32 %41 = load i32, ptr %6, align 4 %42 = mul nsw i32 %41, 10 %43 = load i32, ptr %4, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %4, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [81 x i8], ptr %2, i64 0, i64 %45 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = add nsw i32 %42, %48 %50 = sub nsw i32 %49, 48 store i32 %50, ptr %6, align 4 br label %32, !llvm.loop !6 51: ; preds = %32 %52 = load i8, ptr %3, align 1 %53 = sext i8 %52 to i64 %54 = getelementptr inbounds [80 x double], ptr %8, i64 0, i64 %53 %55 = load double, ptr %54, align 8 %56 = load i32, ptr %6, align 4 %57 = icmp ne i32 %56, 0 br i1 %57, label %58, label %60 58: ; preds = %51 %59 = load i32, ptr %6, align 4 br label %61 60: ; preds = %51 br label %61 61: ; preds = %60, %58 %62 = phi i32 [ %59, %58 ], [ 1, %60 ] %63 = sitofp i32 %62 to double %64 = load double, ptr %7, align 8 %65 = call double @llvm.fmuladd.f64(double %55, double %63, double %64) store double %65, ptr %7, align 8 br label %66 66: ; preds = %61 %67 = load i32, ptr %4, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %4, align 4 br label %21, !llvm.loop !8 69: ; preds = %21 %70 = load double, ptr %7, align 8 %71 = call i32 @printf(ptr noundef @.str.2, double noundef %70) br label %14, !llvm.loop !9 72: ; preds = %14 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i64 @isdigit(i8 noundef signext) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbsq6hxfc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%.3lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [81 x i8], align 16 %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca [80 x double], align 16 store i32 0, ptr %1, align 4 %9 = getelementptr inbounds [80 x double], ptr %8, i64 0, i64 67 store double 1.201000e+01, ptr %9, align 8 %10 = getelementptr inbounds [80 x double], ptr %8, i64 0, i64 72 store double 1.008000e+00, ptr %10, align 16 %11 = getelementptr inbounds [80 x double], ptr %8, i64 0, i64 78 store double 1.401000e+01, ptr %11, align 16 %12 = getelementptr inbounds [80 x double], ptr %8, i64 0, i64 79 store double 1.600000e+01, ptr %12, align 8 %13 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5) %14 = load i32, ptr %5, align 4 %15 = add nsw i32 %14, -1 store i32 %15, ptr %5, align 4 %16 = icmp ne i32 %14, 0 br i1 %16, label %.lr.ph5, label %84 .lr.ph5: ; preds = %0 br label %17 17: ; preds = %.lr.ph5, %78 store double 0.000000e+00, ptr %7, align 8 %18 = getelementptr inbounds [81 x i8], ptr %2, i64 0, i64 0 %19 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %18) store i32 0, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [81 x i8], ptr %2, i64 0, i64 %21 %23 = load i8, ptr %22, align 1 %24 = icmp ne i8 %23, 0 br i1 %24, label %.lr.ph2, label %78 .lr.ph2: ; preds = %17 br label %25 25: ; preds = %.lr.ph2, %70 %26 = load i32, ptr %4, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [81 x i8], ptr %2, i64 0, i64 %27 %29 = load i8, ptr %28, align 1 store i8 %29, ptr %3, align 1 store i32 0, ptr %6, align 4 %30 = load i32, ptr %4, align 4 %31 = add nsw i32 %30, 1 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [81 x i8], ptr %2, i64 0, i64 %32 %34 = load i8, ptr %33, align 1 %35 = call i64 @isdigit(i8 noundef signext %34) %36 = icmp ne i64 %35, 0 br i1 %36, label %.lr.ph, label %55 .lr.ph: ; preds = %25 br label %37 37: ; preds = %.lr.ph, %37 %38 = load i32, ptr %6, align 4 %39 = mul nsw i32 %38, 10 %40 = load i32, ptr %4, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %4, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [81 x i8], ptr %2, i64 0, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = add nsw i32 %39, %45 %47 = sub nsw i32 %46, 48 store i32 %47, ptr %6, align 4 %48 = load i32, ptr %4, align 4 %49 = add nsw i32 %48, 1 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [81 x i8], ptr %2, i64 0, i64 %50 %52 = load i8, ptr %51, align 1 %53 = call i64 @isdigit(i8 noundef signext %52) %54 = icmp ne i64 %53, 0 br i1 %54, label %37, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %55 55: ; preds = %._crit_edge, %25 %56 = load i8, ptr %3, align 1 %57 = sext i8 %56 to i64 %58 = getelementptr inbounds [80 x double], ptr %8, i64 0, i64 %57 %59 = load double, ptr %58, align 8 %60 = load i32, ptr %6, align 4 %61 = icmp ne i32 %60, 0 br i1 %61, label %62, label %64 62: ; preds = %55 %63 = load i32, ptr %6, align 4 br label %65 64: ; preds = %55 br label %65 65: ; preds = %64, %62 %66 = phi i32 [ %63, %62 ], [ 1, %64 ] %67 = sitofp i32 %66 to double %68 = load double, ptr %7, align 8 %69 = call double @llvm.fmuladd.f64(double %59, double %67, double %68) store double %69, ptr %7, align 8 br label %70 70: ; preds = %65 %71 = load i32, ptr %4, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %4, align 4 %73 = load i32, ptr %4, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [81 x i8], ptr %2, i64 0, i64 %74 %76 = load i8, ptr %75, align 1 %77 = icmp ne i8 %76, 0 br i1 %77, label %25, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %70 br label %78 78: ; preds = %._crit_edge3, %17 %79 = load double, ptr %7, align 8 %80 = call i32 @printf(ptr noundef @.str.2, double noundef %79) %81 = load i32, ptr %5, align 4 %82 = add nsw i32 %81, -1 store i32 %82, ptr %5, align 4 %83 = icmp ne i32 %81, 0 br i1 %83, label %17, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %78 br label %84 84: ; preds = %._crit_edge6, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i64 @isdigit(i8 noundef signext) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp7_oh320w.c' source_filename = "/tmp/tmp7_oh320w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Dorado9211SetDataOut() #0 { %1 = alloca i64, align 8 %2 = call i64 @gfx_ind(i32 noundef 25604) store i64 %2, ptr %1, align 8 %3 = load i64, ptr %1, align 8 %4 = or i64 %3, 262144 %5 = call i32 @gfx_outd(i32 noundef 25600, i64 noundef %4) ret void } declare i64 @gfx_ind(i32 noundef) #1 declare i32 @gfx_outd(i32 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/tmp7_oh320w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Dorado9211SetDataOut() #0 { %1 = alloca i64, align 8 %2 = call i64 @gfx_ind(i32 noundef 25604) store i64 %2, ptr %1, align 8 %3 = load i64, ptr %1, align 8 %4 = or i64 %3, 262144 %5 = call i32 @gfx_outd(i32 noundef 25600, i64 noundef %4) ret void } declare i64 @gfx_ind(i32 noundef) #1 declare i32 @gfx_outd(i32 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/tmpdbgm_c92.c' source_filename = "/tmp/tmpdbgm_c92.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"/etc/fstab\00", align 1 @F_OK = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"%u\00", align 1 @errno = dso_local global i64 0, align 8 @ENOENT = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @EACCES = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_errno(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store ptr @.str, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr @F_OK, align 4 %7 = call i32 @access(ptr noundef %5, i32 noundef %6) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %1 %11 = load ptr, ptr %2, align 8 %12 = call i32 @fprintf(ptr noundef %11, ptr noundef @.str.1, i32 noundef 1) br label %29 13: ; preds = %1 %14 = load i64, ptr @errno, align 8 %15 = load i64, ptr @ENOENT, align 8 %16 = icmp eq i64 %14, %15 br i1 %16, label %17, label %20 17: ; preds = %13 %18 = load ptr, ptr %2, align 8 %19 = call i32 @fprintf(ptr noundef %18, ptr noundef @.str.2, i32 noundef 0) br label %28 20: ; preds = %13 %21 = load i64, ptr @errno, align 8 %22 = load i64, ptr @EACCES, align 8 %23 = icmp eq i64 %21, %22 br i1 %23, label %24, label %27 24: ; preds = %20 %25 = load ptr, ptr %2, align 8 %26 = call i32 @fprintf(ptr noundef %25, ptr noundef @.str.1, i32 noundef 2) br label %27 27: ; preds = %24, %20 br label %28 28: ; preds = %27, %17 br label %29 29: ; preds = %28, %10 ret i32 1 } declare i32 @access(ptr noundef, i32 noundef) #1 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdbgm_c92.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"/etc/fstab\00", align 1 @F_OK = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"%u\00", align 1 @errno = dso_local global i64 0, align 8 @ENOENT = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @EACCES = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_errno(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store ptr @.str, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr @F_OK, align 4 %7 = call i32 @access(ptr noundef %5, i32 noundef %6) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %1 %11 = load ptr, ptr %2, align 8 %12 = call i32 @fprintf(ptr noundef %11, ptr noundef @.str.1, i32 noundef 1) br label %29 13: ; preds = %1 %14 = load i64, ptr @errno, align 8 %15 = load i64, ptr @ENOENT, align 8 %16 = icmp eq i64 %14, %15 br i1 %16, label %17, label %20 17: ; preds = %13 %18 = load ptr, ptr %2, align 8 %19 = call i32 @fprintf(ptr noundef %18, ptr noundef @.str.2, i32 noundef 0) br label %28 20: ; preds = %13 %21 = load i64, ptr @errno, align 8 %22 = load i64, ptr @EACCES, align 8 %23 = icmp eq i64 %21, %22 br i1 %23, label %24, label %27 24: ; preds = %20 %25 = load ptr, ptr %2, align 8 %26 = call i32 @fprintf(ptr noundef %25, ptr noundef @.str.1, i32 noundef 2) br label %27 27: ; preds = %24, %20 br label %28 28: ; preds = %27, %17 br label %29 29: ; preds = %28, %10 ret i32 1 } declare i32 @access(ptr noundef, i32 noundef) #1 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"}
; ModuleID = '/tmp/tmpf7cunh02.c' source_filename = "/tmp/tmpf7cunh02.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @main.a = internal global [3 x [3 x float]] [[3 x float] [float 1.000000e+00, float 2.000000e+00, float 3.000000e+00], [3 x float] [float 2.000000e+00, float 2.000000e+00, float 3.000000e+00], [3 x float] [float 3.000000e+00, float 3.000000e+00, float 3.000000e+00]], align 16 @main.b = internal global [5 x [5 x float]] [[5 x float] [float -2.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 2.000000e+00], [5 x float] [float -1.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 2.000000e+00], [5 x float] [float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 1.000000e+00, float 2.000000e+00], [5 x float] [float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 2.000000e+00], [5 x float] [float 2.000000e+00, float 2.000000e+00, float 2.000000e+00, float 2.000000e+00, float 2.000000e+00]], align 16 @main.c = internal global [10 x [10 x float]] [[10 x float] [float 5.000000e+00, float 0x4011333340000000, float 3.000000e+00, float 2.000000e+00, float 1.000000e+00, float 0.000000e+00, float -1.000000e+00, float -2.000000e+00, float -3.000000e+00, float -4.000000e+00], [10 x float] [float 0x4011333340000000, float 0x4014666660000000, float 4.000000e+00, float 3.000000e+00, float 2.000000e+00, float 1.000000e+00, float 0.000000e+00, float -1.000000e+00, float -2.000000e+00, float -3.000000e+00], [10 x float] [float 3.000000e+00, float 4.000000e+00, float 5.000000e+00, float 4.000000e+00, float 3.000000e+00, float 2.000000e+00, float 1.000000e+00, float 0.000000e+00, float -1.000000e+00, float -2.000000e+00], [10 x float] [float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00, float 4.000000e+00, float 3.000000e+00, float 2.000000e+00, float 1.000000e+00, float 0.000000e+00, float -1.000000e+00], [10 x float] [float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00, float 4.000000e+00, float 3.000000e+00, float 2.000000e+00, float 1.000000e+00, float 0.000000e+00], [10 x float] [float 0.000000e+00, float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00, float 4.000000e+00, float 3.000000e+00, float 2.000000e+00, float 1.000000e+00], [10 x float] [float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00, float 4.000000e+00, float 3.000000e+00, float 2.000000e+00], [10 x float] [float -2.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00, float 4.000000e+00, float 3.000000e+00], [10 x float] [float -3.000000e+00, float -2.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00, float 4.000000e+00], [10 x float] [float -4.000000e+00, float -3.000000e+00, float -2.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00]], align 16 @main.num = internal global [4 x i32] [i32 0, i32 3, i32 5, i32 10], align 16 @.str = private unnamed_addr constant [19 x i8] c"matrix number %2d\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"number of JACOBI rotations: %3d\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"eigenvalues: \0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"%12.6f\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"\0Aeigenvectors:\0A\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"%9s %3d \0A\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"number\00", align 1 @.str.8 = private unnamed_addr constant [18 x i8] c"eigenvector test\0A\00", align 1 @.str.9 = private unnamed_addr constant [19 x i8] c"vector number %3d\0A\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c"%11s %14s %10s\0A\00", align 1 @.str.11 = private unnamed_addr constant [7 x i8] c"vector\00", align 1 @.str.12 = private unnamed_addr constant [10 x i8] c"mtrx*vec.\00", align 1 @.str.13 = private unnamed_addr constant [6 x i8] c"ratio\00", align 1 @.str.14 = private unnamed_addr constant [22 x i8] c"%12.6f %12.6f %12.6f\0A\00", align 1 @.str.15 = private unnamed_addr constant [29 x i8] c"press RETURN to continue...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %13 = call ptr @vector(i32 noundef 1, i32 noundef 10) store ptr %13, ptr %9, align 8 %14 = call ptr @vector(i32 noundef 1, i32 noundef 10) store ptr %14, ptr %10, align 8 %15 = call ptr @matrix(i32 noundef 1, i32 noundef 10, i32 noundef 1, i32 noundef 10) store ptr %15, ptr %11, align 8 store i32 1, ptr %2, align 4 br label %16 16: ; preds = %279, %0 %17 = load i32, ptr %2, align 4 %18 = icmp sle i32 %17, 3 br i1 %18, label %19, label %282 19: ; preds = %16 %20 = load i32, ptr %2, align 4 %21 = icmp eq i32 %20, 1 br i1 %21, label %22, label %32 22: ; preds = %19 %23 = load i32, ptr %2, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %24 %26 = load i32, ptr %25, align 4 %27 = load i32, ptr %2, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %28 %30 = load i32, ptr %29, align 4 %31 = call ptr @convert_matrix(ptr noundef @main.a, i32 noundef 1, i32 noundef %26, i32 noundef 1, i32 noundef %30) store ptr %31, ptr %12, align 8 br label %60 32: ; preds = %19 %33 = load i32, ptr %2, align 4 %34 = icmp eq i32 %33, 2 br i1 %34, label %35, label %45 35: ; preds = %32 %36 = load i32, ptr %2, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %37 %39 = load i32, ptr %38, align 4 %40 = load i32, ptr %2, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %41 %43 = load i32, ptr %42, align 4 %44 = call ptr @convert_matrix(ptr noundef @main.b, i32 noundef 1, i32 noundef %39, i32 noundef 1, i32 noundef %43) store ptr %44, ptr %12, align 8 br label %59 45: ; preds = %32 %46 = load i32, ptr %2, align 4 %47 = icmp eq i32 %46, 3 br i1 %47, label %48, label %58 48: ; preds = %45 %49 = load i32, ptr %2, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %50 %52 = load i32, ptr %51, align 4 %53 = load i32, ptr %2, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %54 %56 = load i32, ptr %55, align 4 %57 = call ptr @convert_matrix(ptr noundef @main.c, i32 noundef 1, i32 noundef %52, i32 noundef 1, i32 noundef %56) store ptr %57, ptr %12, align 8 br label %58 58: ; preds = %48, %45 br label %59 59: ; preds = %58, %35 br label %60 60: ; preds = %59, %22 %61 = load ptr, ptr %12, align 8 %62 = load i32, ptr %2, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %63 %65 = load i32, ptr %64, align 4 %66 = load ptr, ptr %9, align 8 %67 = load ptr, ptr %11, align 8 %68 = call i32 @jacobi(ptr noundef %61, i32 noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %8) %69 = load i32, ptr %2, align 4 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %69) %71 = load i32, ptr %8, align 4 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %71) %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %74 74: ; preds = %95, %60 %75 = load i32, ptr %3, align 4 %76 = load i32, ptr %2, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %77 %79 = load i32, ptr %78, align 4 %80 = icmp sle i32 %75, %79 br i1 %80, label %81, label %98 81: ; preds = %74 %82 = load ptr, ptr %9, align 8 %83 = load i32, ptr %3, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds float, ptr %82, i64 %84 %86 = load float, ptr %85, align 4 %87 = fpext float %86 to double %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %87) %89 = load i32, ptr %3, align 4 %90 = srem i32 %89, 5 %91 = icmp eq i32 %90, 0 br i1 %91, label %92, label %94 92: ; preds = %81 %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %94 94: ; preds = %92, %81 br label %95 95: ; preds = %94 %96 = load i32, ptr %3, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %3, align 4 br label %74, !llvm.loop !6 98: ; preds = %74 %99 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 1, ptr %3, align 4 br label %100 100: ; preds = %140, %98 %101 = load i32, ptr %3, align 4 %102 = load i32, ptr %2, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %103 %105 = load i32, ptr %104, align 4 %106 = icmp sle i32 %101, %105 br i1 %106, label %107, label %143 107: ; preds = %100 %108 = load i32, ptr %3, align 4 %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef @.str.7, i32 noundef %108) store i32 1, ptr %4, align 4 br label %110 110: ; preds = %135, %107 %111 = load i32, ptr %4, align 4 %112 = load i32, ptr %2, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %113 %115 = load i32, ptr %114, align 4 %116 = icmp sle i32 %111, %115 br i1 %116, label %117, label %138 117: ; preds = %110 %118 = load ptr, ptr %11, align 8 %119 = load i32, ptr %4, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds ptr, ptr %118, i64 %120 %122 = load ptr, ptr %121, align 8 %123 = load i32, ptr %3, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds float, ptr %122, i64 %124 %126 = load float, ptr %125, align 4 %127 = fpext float %126 to double %128 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %127) %129 = load i32, ptr %4, align 4 %130 = srem i32 %129, 5 %131 = icmp eq i32 %130, 0 br i1 %131, label %132, label %134 132: ; preds = %117 %133 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %134 134: ; preds = %132, %117 br label %135 135: ; preds = %134 %136 = load i32, ptr %4, align 4 %137 = add nsw i32 %136, 1 store i32 %137, ptr %4, align 4 br label %110, !llvm.loop !8 138: ; preds = %110 %139 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %140 140: ; preds = %138 %141 = load i32, ptr %3, align 4 %142 = add nsw i32 %141, 1 store i32 %142, ptr %3, align 4 br label %100, !llvm.loop !9 143: ; preds = %100 %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) store i32 1, ptr %3, align 4 br label %145 145: ; preds = %263, %143 %146 = load i32, ptr %3, align 4 %147 = load i32, ptr %2, align 4 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %148 %150 = load i32, ptr %149, align 4 %151 = icmp sle i32 %146, %150 br i1 %151, label %152, label %266 152: ; preds = %145 store i32 1, ptr %6, align 4 br label %153 153: ; preds = %211, %152 %154 = load i32, ptr %6, align 4 %155 = load i32, ptr %2, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %156 %158 = load i32, ptr %157, align 4 %159 = icmp sle i32 %154, %158 br i1 %159, label %160, label %214 160: ; preds = %153 %161 = load ptr, ptr %10, align 8 %162 = load i32, ptr %6, align 4 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds float, ptr %161, i64 %163 store float 0.000000e+00, ptr %164, align 4 store i32 1, ptr %4, align 4 br label %165 165: ; preds = %207, %160 %166 = load i32, ptr %4, align 4 %167 = load i32, ptr %2, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %168 %170 = load i32, ptr %169, align 4 %171 = icmp sle i32 %166, %170 br i1 %171, label %172, label %210 172: ; preds = %165 %173 = load i32, ptr %4, align 4 %174 = load i32, ptr %6, align 4 %175 = icmp sgt i32 %173, %174 br i1 %175, label %176, label %179 176: ; preds = %172 %177 = load i32, ptr %6, align 4 store i32 %177, ptr %5, align 4 %178 = load i32, ptr %4, align 4 store i32 %178, ptr %7, align 4 br label %182 179: ; preds = %172 %180 = load i32, ptr %4, align 4 store i32 %180, ptr %5, align 4 %181 = load i32, ptr %6, align 4 store i32 %181, ptr %7, align 4 br label %182 182: ; preds = %179, %176 %183 = load ptr, ptr %12, align 8 %184 = load i32, ptr %7, align 4 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds ptr, ptr %183, i64 %185 %187 = load ptr, ptr %186, align 8 %188 = load i32, ptr %5, align 4 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds float, ptr %187, i64 %189 %191 = load float, ptr %190, align 4 %192 = load ptr, ptr %11, align 8 %193 = load i32, ptr %4, align 4 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds ptr, ptr %192, i64 %194 %196 = load ptr, ptr %195, align 8 %197 = load i32, ptr %3, align 4 %198 = sext i32 %197 to i64 %199 = getelementptr inbounds float, ptr %196, i64 %198 %200 = load float, ptr %199, align 4 %201 = load ptr, ptr %10, align 8 %202 = load i32, ptr %6, align 4 %203 = sext i32 %202 to i64 %204 = getelementptr inbounds float, ptr %201, i64 %203 %205 = load float, ptr %204, align 4 %206 = call float @llvm.fmuladd.f32(float %191, float %200, float %205) store float %206, ptr %204, align 4 br label %207 207: ; preds = %182 %208 = load i32, ptr %4, align 4 %209 = add nsw i32 %208, 1 store i32 %209, ptr %4, align 4 br label %165, !llvm.loop !10 210: ; preds = %165 br label %211 211: ; preds = %210 %212 = load i32, ptr %6, align 4 %213 = add nsw i32 %212, 1 store i32 %213, ptr %6, align 4 br label %153, !llvm.loop !11 214: ; preds = %153 %215 = load i32, ptr %3, align 4 %216 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %215) %217 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef @.str.11, ptr noundef @.str.12, ptr noundef @.str.13) store i32 1, ptr %6, align 4 br label %218 218: ; preds = %259, %214 %219 = load i32, ptr %6, align 4 %220 = load i32, ptr %2, align 4 %221 = sext i32 %220 to i64 %222 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %221 %223 = load i32, ptr %222, align 4 %224 = icmp sle i32 %219, %223 br i1 %224, label %225, label %262 225: ; preds = %218 %226 = load ptr, ptr %11, align 8 %227 = load i32, ptr %6, align 4 %228 = sext i32 %227 to i64 %229 = getelementptr inbounds ptr, ptr %226, i64 %228 %230 = load ptr, ptr %229, align 8 %231 = load i32, ptr %3, align 4 %232 = sext i32 %231 to i64 %233 = getelementptr inbounds float, ptr %230, i64 %232 %234 = load float, ptr %233, align 4 %235 = fpext float %234 to double %236 = load ptr, ptr %10, align 8 %237 = load i32, ptr %6, align 4 %238 = sext i32 %237 to i64 %239 = getelementptr inbounds float, ptr %236, i64 %238 %240 = load float, ptr %239, align 4 %241 = fpext float %240 to double %242 = load ptr, ptr %10, align 8 %243 = load i32, ptr %6, align 4 %244 = sext i32 %243 to i64 %245 = getelementptr inbounds float, ptr %242, i64 %244 %246 = load float, ptr %245, align 4 %247 = load ptr, ptr %11, align 8 %248 = load i32, ptr %6, align 4 %249 = sext i32 %248 to i64 %250 = getelementptr inbounds ptr, ptr %247, i64 %249 %251 = load ptr, ptr %250, align 8 %252 = load i32, ptr %3, align 4 %253 = sext i32 %252 to i64 %254 = getelementptr inbounds float, ptr %251, i64 %253 %255 = load float, ptr %254, align 4 %256 = fdiv float %246, %255 %257 = fpext float %256 to double %258 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, double noundef %235, double noundef %241, double noundef %257) br label %259 259: ; preds = %225 %260 = load i32, ptr %6, align 4 %261 = add nsw i32 %260, 1 store i32 %261, ptr %6, align 4 br label %218, !llvm.loop !12 262: ; preds = %218 br label %263 263: ; preds = %262 %264 = load i32, ptr %3, align 4 %265 = add nsw i32 %264, 1 store i32 %265, ptr %3, align 4 br label %145, !llvm.loop !13 266: ; preds = %145 %267 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %268 = call i32 (...) @getchar() %269 = load ptr, ptr %12, align 8 %270 = load i32, ptr %2, align 4 %271 = sext i32 %270 to i64 %272 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %271 %273 = load i32, ptr %272, align 4 %274 = load i32, ptr %2, align 4 %275 = sext i32 %274 to i64 %276 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %275 %277 = load i32, ptr %276, align 4 %278 = call i32 @free_convert_matrix(ptr noundef %269, i32 noundef 1, i32 noundef %273, i32 noundef 1, i32 noundef %277) br label %279 279: ; preds = %266 %280 = load i32, ptr %2, align 4 %281 = add nsw i32 %280, 1 store i32 %281, ptr %2, align 4 br label %16, !llvm.loop !14 282: ; preds = %16 %283 = load ptr, ptr %11, align 8 %284 = call i32 @free_matrix(ptr noundef %283, i32 noundef 1, i32 noundef 10, i32 noundef 1, i32 noundef 10) %285 = load ptr, ptr %10, align 8 %286 = call i32 @free_vector(ptr noundef %285, i32 noundef 1, i32 noundef 10) %287 = load ptr, ptr %9, align 8 %288 = call i32 @free_vector(ptr noundef %287, i32 noundef 1, i32 noundef 10) ret i32 0 } declare ptr @vector(i32 noundef, i32 noundef) #1 declare ptr @matrix(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @convert_matrix(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @jacobi(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @getchar(...) #1 declare i32 @free_convert_matrix(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @free_matrix(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @free_vector(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" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf7cunh02.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @main.a = internal global [3 x [3 x float]] [[3 x float] [float 1.000000e+00, float 2.000000e+00, float 3.000000e+00], [3 x float] [float 2.000000e+00, float 2.000000e+00, float 3.000000e+00], [3 x float] [float 3.000000e+00, float 3.000000e+00, float 3.000000e+00]], align 16 @main.b = internal global [5 x [5 x float]] [[5 x float] [float -2.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 2.000000e+00], [5 x float] [float -1.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 2.000000e+00], [5 x float] [float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 1.000000e+00, float 2.000000e+00], [5 x float] [float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 2.000000e+00], [5 x float] [float 2.000000e+00, float 2.000000e+00, float 2.000000e+00, float 2.000000e+00, float 2.000000e+00]], align 16 @main.c = internal global [10 x [10 x float]] [[10 x float] [float 5.000000e+00, float 0x4011333340000000, float 3.000000e+00, float 2.000000e+00, float 1.000000e+00, float 0.000000e+00, float -1.000000e+00, float -2.000000e+00, float -3.000000e+00, float -4.000000e+00], [10 x float] [float 0x4011333340000000, float 0x4014666660000000, float 4.000000e+00, float 3.000000e+00, float 2.000000e+00, float 1.000000e+00, float 0.000000e+00, float -1.000000e+00, float -2.000000e+00, float -3.000000e+00], [10 x float] [float 3.000000e+00, float 4.000000e+00, float 5.000000e+00, float 4.000000e+00, float 3.000000e+00, float 2.000000e+00, float 1.000000e+00, float 0.000000e+00, float -1.000000e+00, float -2.000000e+00], [10 x float] [float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00, float 4.000000e+00, float 3.000000e+00, float 2.000000e+00, float 1.000000e+00, float 0.000000e+00, float -1.000000e+00], [10 x float] [float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00, float 4.000000e+00, float 3.000000e+00, float 2.000000e+00, float 1.000000e+00, float 0.000000e+00], [10 x float] [float 0.000000e+00, float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00, float 4.000000e+00, float 3.000000e+00, float 2.000000e+00, float 1.000000e+00], [10 x float] [float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00, float 4.000000e+00, float 3.000000e+00, float 2.000000e+00], [10 x float] [float -2.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00, float 4.000000e+00, float 3.000000e+00], [10 x float] [float -3.000000e+00, float -2.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00, float 4.000000e+00], [10 x float] [float -4.000000e+00, float -3.000000e+00, float -2.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00]], align 16 @main.num = internal global [4 x i32] [i32 0, i32 3, i32 5, i32 10], align 16 @.str = private unnamed_addr constant [19 x i8] c"matrix number %2d\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"number of JACOBI rotations: %3d\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"eigenvalues: \0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"%12.6f\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"\0Aeigenvectors:\0A\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"%9s %3d \0A\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"number\00", align 1 @.str.8 = private unnamed_addr constant [18 x i8] c"eigenvector test\0A\00", align 1 @.str.9 = private unnamed_addr constant [19 x i8] c"vector number %3d\0A\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c"%11s %14s %10s\0A\00", align 1 @.str.11 = private unnamed_addr constant [7 x i8] c"vector\00", align 1 @.str.12 = private unnamed_addr constant [10 x i8] c"mtrx*vec.\00", align 1 @.str.13 = private unnamed_addr constant [6 x i8] c"ratio\00", align 1 @.str.14 = private unnamed_addr constant [22 x i8] c"%12.6f %12.6f %12.6f\0A\00", align 1 @.str.15 = private unnamed_addr constant [29 x i8] c"press RETURN to continue...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %13 = call ptr @vector(i32 noundef 1, i32 noundef 10) store ptr %13, ptr %9, align 8 %14 = call ptr @vector(i32 noundef 1, i32 noundef 10) store ptr %14, ptr %10, align 8 %15 = call ptr @matrix(i32 noundef 1, i32 noundef 10, i32 noundef 1, i32 noundef 10) store ptr %15, ptr %11, align 8 store i32 1, ptr %2, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp sle i32 %16, 3 br i1 %17, label %.lr.ph20, label %318 .lr.ph20: ; preds = %0 br label %18 18: ; preds = %.lr.ph20, %313 %19 = load i32, ptr %2, align 4 %20 = icmp eq i32 %19, 1 br i1 %20, label %21, label %31 21: ; preds = %18 %22 = load i32, ptr %2, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %23 %25 = load i32, ptr %24, align 4 %26 = load i32, ptr %2, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %27 %29 = load i32, ptr %28, align 4 %30 = call ptr @convert_matrix(ptr noundef @main.a, i32 noundef 1, i32 noundef %25, i32 noundef 1, i32 noundef %29) store ptr %30, ptr %12, align 8 br label %59 31: ; preds = %18 %32 = load i32, ptr %2, align 4 %33 = icmp eq i32 %32, 2 br i1 %33, label %34, label %44 34: ; preds = %31 %35 = load i32, ptr %2, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %36 %38 = load i32, ptr %37, align 4 %39 = load i32, ptr %2, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %40 %42 = load i32, ptr %41, align 4 %43 = call ptr @convert_matrix(ptr noundef @main.b, i32 noundef 1, i32 noundef %38, i32 noundef 1, i32 noundef %42) store ptr %43, ptr %12, align 8 br label %58 44: ; preds = %31 %45 = load i32, ptr %2, align 4 %46 = icmp eq i32 %45, 3 br i1 %46, label %47, label %57 47: ; preds = %44 %48 = load i32, ptr %2, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %49 %51 = load i32, ptr %50, align 4 %52 = load i32, ptr %2, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = call ptr @convert_matrix(ptr noundef @main.c, i32 noundef 1, i32 noundef %51, i32 noundef 1, i32 noundef %55) store ptr %56, ptr %12, align 8 br label %57 57: ; preds = %47, %44 br label %58 58: ; preds = %57, %34 br label %59 59: ; preds = %58, %21 %60 = load ptr, ptr %12, align 8 %61 = load i32, ptr %2, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %62 %64 = load i32, ptr %63, align 4 %65 = load ptr, ptr %9, align 8 %66 = load ptr, ptr %11, align 8 %67 = call i32 @jacobi(ptr noundef %60, i32 noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %8) %68 = load i32, ptr %2, align 4 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %68) %70 = load i32, ptr %8, align 4 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %70) %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %3, align 4 %73 = load i32, ptr %3, align 4 %74 = load i32, ptr %2, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %75 %77 = load i32, ptr %76, align 4 %78 = icmp sle i32 %73, %77 br i1 %78, label %.lr.ph, label %102 .lr.ph: ; preds = %59 br label %79 79: ; preds = %.lr.ph, %93 %80 = load ptr, ptr %9, align 8 %81 = load i32, ptr %3, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds float, ptr %80, i64 %82 %84 = load float, ptr %83, align 4 %85 = fpext float %84 to double %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %85) %87 = load i32, ptr %3, align 4 %88 = srem i32 %87, 5 %89 = icmp eq i32 %88, 0 br i1 %89, label %90, label %92 90: ; preds = %79 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %92 92: ; preds = %90, %79 br label %93 93: ; preds = %92 %94 = load i32, ptr %3, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %3, align 4 %96 = load i32, ptr %3, align 4 %97 = load i32, ptr %2, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %98 %100 = load i32, ptr %99, align 4 %101 = icmp sle i32 %96, %100 br i1 %101, label %79, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %93 br label %102 102: ; preds = %._crit_edge, %59 %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 1, ptr %3, align 4 %104 = load i32, ptr %3, align 4 %105 = load i32, ptr %2, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %106 %108 = load i32, ptr %107, align 4 %109 = icmp sle i32 %104, %108 br i1 %109, label %.lr.ph5, label %157 .lr.ph5: ; preds = %102 br label %110 110: ; preds = %.lr.ph5, %148 %111 = load i32, ptr %3, align 4 %112 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef @.str.7, i32 noundef %111) store i32 1, ptr %4, align 4 %113 = load i32, ptr %4, align 4 %114 = load i32, ptr %2, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %115 %117 = load i32, ptr %116, align 4 %118 = icmp sle i32 %113, %117 br i1 %118, label %.lr.ph2, label %146 .lr.ph2: ; preds = %110 br label %119 119: ; preds = %.lr.ph2, %137 %120 = load ptr, ptr %11, align 8 %121 = load i32, ptr %4, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds ptr, ptr %120, i64 %122 %124 = load ptr, ptr %123, align 8 %125 = load i32, ptr %3, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds float, ptr %124, i64 %126 %128 = load float, ptr %127, align 4 %129 = fpext float %128 to double %130 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %129) %131 = load i32, ptr %4, align 4 %132 = srem i32 %131, 5 %133 = icmp eq i32 %132, 0 br i1 %133, label %134, label %136 134: ; preds = %119 %135 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %136 136: ; preds = %134, %119 br label %137 137: ; preds = %136 %138 = load i32, ptr %4, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %4, align 4 %140 = load i32, ptr %4, align 4 %141 = load i32, ptr %2, align 4 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %142 %144 = load i32, ptr %143, align 4 %145 = icmp sle i32 %140, %144 br i1 %145, label %119, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %137 br label %146 146: ; preds = %._crit_edge3, %110 %147 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %148 148: ; preds = %146 %149 = load i32, ptr %3, align 4 %150 = add nsw i32 %149, 1 store i32 %150, ptr %3, align 4 %151 = load i32, ptr %3, align 4 %152 = load i32, ptr %2, align 4 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %153 %155 = load i32, ptr %154, align 4 %156 = icmp sle i32 %151, %155 br i1 %156, label %110, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %148 br label %157 157: ; preds = %._crit_edge6, %102 %158 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) store i32 1, ptr %3, align 4 %159 = load i32, ptr %3, align 4 %160 = load i32, ptr %2, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %161 %163 = load i32, ptr %162, align 4 %164 = icmp sle i32 %159, %163 br i1 %164, label %.lr.ph17, label %300 .lr.ph17: ; preds = %157 br label %165 165: ; preds = %.lr.ph17, %291 store i32 1, ptr %6, align 4 %166 = load i32, ptr %6, align 4 %167 = load i32, ptr %2, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %168 %170 = load i32, ptr %169, align 4 %171 = icmp sle i32 %166, %170 br i1 %171, label %.lr.ph11, label %237 .lr.ph11: ; preds = %165 br label %172 172: ; preds = %.lr.ph11, %228 %173 = load ptr, ptr %10, align 8 %174 = load i32, ptr %6, align 4 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds float, ptr %173, i64 %175 store float 0.000000e+00, ptr %176, align 4 store i32 1, ptr %4, align 4 %177 = load i32, ptr %4, align 4 %178 = load i32, ptr %2, align 4 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %179 %181 = load i32, ptr %180, align 4 %182 = icmp sle i32 %177, %181 br i1 %182, label %.lr.ph8, label %227 .lr.ph8: ; preds = %172 br label %183 183: ; preds = %.lr.ph8, %218 %184 = load i32, ptr %4, align 4 %185 = load i32, ptr %6, align 4 %186 = icmp sgt i32 %184, %185 br i1 %186, label %187, label %190 187: ; preds = %183 %188 = load i32, ptr %6, align 4 store i32 %188, ptr %5, align 4 %189 = load i32, ptr %4, align 4 store i32 %189, ptr %7, align 4 br label %193 190: ; preds = %183 %191 = load i32, ptr %4, align 4 store i32 %191, ptr %5, align 4 %192 = load i32, ptr %6, align 4 store i32 %192, ptr %7, align 4 br label %193 193: ; preds = %190, %187 %194 = load ptr, ptr %12, align 8 %195 = load i32, ptr %7, align 4 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds ptr, ptr %194, i64 %196 %198 = load ptr, ptr %197, align 8 %199 = load i32, ptr %5, align 4 %200 = sext i32 %199 to i64 %201 = getelementptr inbounds float, ptr %198, i64 %200 %202 = load float, ptr %201, align 4 %203 = load ptr, ptr %11, align 8 %204 = load i32, ptr %4, align 4 %205 = sext i32 %204 to i64 %206 = getelementptr inbounds ptr, ptr %203, i64 %205 %207 = load ptr, ptr %206, align 8 %208 = load i32, ptr %3, align 4 %209 = sext i32 %208 to i64 %210 = getelementptr inbounds float, ptr %207, i64 %209 %211 = load float, ptr %210, align 4 %212 = load ptr, ptr %10, align 8 %213 = load i32, ptr %6, align 4 %214 = sext i32 %213 to i64 %215 = getelementptr inbounds float, ptr %212, i64 %214 %216 = load float, ptr %215, align 4 %217 = call float @llvm.fmuladd.f32(float %202, float %211, float %216) store float %217, ptr %215, align 4 br label %218 218: ; preds = %193 %219 = load i32, ptr %4, align 4 %220 = add nsw i32 %219, 1 store i32 %220, ptr %4, align 4 %221 = load i32, ptr %4, align 4 %222 = load i32, ptr %2, align 4 %223 = sext i32 %222 to i64 %224 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %223 %225 = load i32, ptr %224, align 4 %226 = icmp sle i32 %221, %225 br i1 %226, label %183, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %218 br label %227 227: ; preds = %._crit_edge9, %172 br label %228 228: ; preds = %227 %229 = load i32, ptr %6, align 4 %230 = add nsw i32 %229, 1 store i32 %230, ptr %6, align 4 %231 = load i32, ptr %6, align 4 %232 = load i32, ptr %2, align 4 %233 = sext i32 %232 to i64 %234 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %233 %235 = load i32, ptr %234, align 4 %236 = icmp sle i32 %231, %235 br i1 %236, label %172, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %228 br label %237 237: ; preds = %._crit_edge12, %165 %238 = load i32, ptr %3, align 4 %239 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %238) %240 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef @.str.11, ptr noundef @.str.12, ptr noundef @.str.13) store i32 1, ptr %6, align 4 %241 = load i32, ptr %6, align 4 %242 = load i32, ptr %2, align 4 %243 = sext i32 %242 to i64 %244 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %243 %245 = load i32, ptr %244, align 4 %246 = icmp sle i32 %241, %245 br i1 %246, label %.lr.ph14, label %290 .lr.ph14: ; preds = %237 br label %247 247: ; preds = %.lr.ph14, %281 %248 = load ptr, ptr %11, align 8 %249 = load i32, ptr %6, align 4 %250 = sext i32 %249 to i64 %251 = getelementptr inbounds ptr, ptr %248, i64 %250 %252 = load ptr, ptr %251, align 8 %253 = load i32, ptr %3, align 4 %254 = sext i32 %253 to i64 %255 = getelementptr inbounds float, ptr %252, i64 %254 %256 = load float, ptr %255, align 4 %257 = fpext float %256 to double %258 = load ptr, ptr %10, align 8 %259 = load i32, ptr %6, align 4 %260 = sext i32 %259 to i64 %261 = getelementptr inbounds float, ptr %258, i64 %260 %262 = load float, ptr %261, align 4 %263 = fpext float %262 to double %264 = load ptr, ptr %10, align 8 %265 = load i32, ptr %6, align 4 %266 = sext i32 %265 to i64 %267 = getelementptr inbounds float, ptr %264, i64 %266 %268 = load float, ptr %267, align 4 %269 = load ptr, ptr %11, align 8 %270 = load i32, ptr %6, align 4 %271 = sext i32 %270 to i64 %272 = getelementptr inbounds ptr, ptr %269, i64 %271 %273 = load ptr, ptr %272, align 8 %274 = load i32, ptr %3, align 4 %275 = sext i32 %274 to i64 %276 = getelementptr inbounds float, ptr %273, i64 %275 %277 = load float, ptr %276, align 4 %278 = fdiv float %268, %277 %279 = fpext float %278 to double %280 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, double noundef %257, double noundef %263, double noundef %279) br label %281 281: ; preds = %247 %282 = load i32, ptr %6, align 4 %283 = add nsw i32 %282, 1 store i32 %283, ptr %6, align 4 %284 = load i32, ptr %6, align 4 %285 = load i32, ptr %2, align 4 %286 = sext i32 %285 to i64 %287 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %286 %288 = load i32, ptr %287, align 4 %289 = icmp sle i32 %284, %288 br i1 %289, label %247, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %281 br label %290 290: ; preds = %._crit_edge15, %237 br label %291 291: ; preds = %290 %292 = load i32, ptr %3, align 4 %293 = add nsw i32 %292, 1 store i32 %293, ptr %3, align 4 %294 = load i32, ptr %3, align 4 %295 = load i32, ptr %2, align 4 %296 = sext i32 %295 to i64 %297 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %296 %298 = load i32, ptr %297, align 4 %299 = icmp sle i32 %294, %298 br i1 %299, label %165, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %291 br label %300 300: ; preds = %._crit_edge18, %157 %301 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %302 = call i32 (...) @getchar() %303 = load ptr, ptr %12, align 8 %304 = load i32, ptr %2, align 4 %305 = sext i32 %304 to i64 %306 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %305 %307 = load i32, ptr %306, align 4 %308 = load i32, ptr %2, align 4 %309 = sext i32 %308 to i64 %310 = getelementptr inbounds [4 x i32], ptr @main.num, i64 0, i64 %309 %311 = load i32, ptr %310, align 4 %312 = call i32 @free_convert_matrix(ptr noundef %303, i32 noundef 1, i32 noundef %307, i32 noundef 1, i32 noundef %311) br label %313 313: ; preds = %300 %314 = load i32, ptr %2, align 4 %315 = add nsw i32 %314, 1 store i32 %315, ptr %2, align 4 %316 = load i32, ptr %2, align 4 %317 = icmp sle i32 %316, 3 br i1 %317, label %18, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %313 br label %318 318: ; preds = %._crit_edge21, %0 %319 = load ptr, ptr %11, align 8 %320 = call i32 @free_matrix(ptr noundef %319, i32 noundef 1, i32 noundef 10, i32 noundef 1, i32 noundef 10) %321 = load ptr, ptr %10, align 8 %322 = call i32 @free_vector(ptr noundef %321, i32 noundef 1, i32 noundef 10) %323 = load ptr, ptr %9, align 8 %324 = call i32 @free_vector(ptr noundef %323, i32 noundef 1, i32 noundef 10) ret i32 0 } declare ptr @vector(i32 noundef, i32 noundef) #1 declare ptr @matrix(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @convert_matrix(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @jacobi(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @getchar(...) #1 declare i32 @free_convert_matrix(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @free_matrix(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @free_vector(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" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '/tmp/tmptu11d5pd.c' source_filename = "/tmp/tmptu11d5pd.c" target datalayout = "e-m:e-p270: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/tmptu11d5pd.c" target datalayout = "e-m:e-p270: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/tmpyp9w3gcv.c' source_filename = "/tmp/tmpyp9w3gcv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.a = private unnamed_addr constant [10 x i32] [i32 10, i32 9, i32 8, i32 7, i32 6, i32 5, i32 4, i32 3, i32 2, i32 1], align 16 @__const.main.b = private unnamed_addr constant [10 x i32] [i32 10, i32 9, i32 8, i32 7, i32 6, i32 5, i32 4, i32 3, i32 2, i32 1], align 16 @.str = private unnamed_addr constant [4 x i8] c"%4d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"-----------------------------------------\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca [10 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 40, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.b, i64 40, i1 false) %4 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %5 = call i32 @sort1(ptr noundef %4, i32 noundef 10) store i32 0, ptr %1, align 4 br label %6 6: ; preds = %15, %0 %7 = load i32, ptr %1, align 4 %8 = icmp slt i32 %7, 10 br i1 %8, label %9, label %18 9: ; preds = %6 %10 = load i32, ptr %1, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %11 %13 = load i32, ptr %12, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %13) br label %15 15: ; preds = %9 %16 = load i32, ptr %1, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %1, align 4 br label %6, !llvm.loop !6 18: ; preds = %6 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %22 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0 %23 = call i32 @sort2(ptr noundef %22, i32 noundef 10) store i32 0, ptr %1, align 4 br label %24 24: ; preds = %33, %18 %25 = load i32, ptr %1, align 4 %26 = icmp slt i32 %25, 10 br i1 %26, label %27, label %36 27: ; preds = %24 %28 = load i32, ptr %1, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %29 %31 = load i32, ptr %30, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %31) br label %33 33: ; preds = %27 %34 = load i32, ptr %1, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %1, align 4 br label %24, !llvm.loop !8 36: ; preds = %24 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @sort1(ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @sort2(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyp9w3gcv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.a = private unnamed_addr constant [10 x i32] [i32 10, i32 9, i32 8, i32 7, i32 6, i32 5, i32 4, i32 3, i32 2, i32 1], align 16 @__const.main.b = private unnamed_addr constant [10 x i32] [i32 10, i32 9, i32 8, i32 7, i32 6, i32 5, i32 4, i32 3, i32 2, i32 1], align 16 @.str = private unnamed_addr constant [4 x i8] c"%4d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"-----------------------------------------\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca [10 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 40, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.b, i64 40, i1 false) %4 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %5 = call i32 @sort1(ptr noundef %4, i32 noundef 10) store i32 0, ptr %1, align 4 %6 = load i32, ptr %1, align 4 %7 = icmp slt i32 %6, 10 br i1 %7, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %14 %9 = load i32, ptr %1, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %10 %12 = load i32, ptr %11, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %12) br label %14 14: ; preds = %8 %15 = load i32, ptr %1, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %1, align 4 %17 = load i32, ptr %1, align 4 %18 = icmp slt i32 %17, 10 br i1 %18, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %19 19: ; preds = %._crit_edge, %0 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %23 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0 %24 = call i32 @sort2(ptr noundef %23, i32 noundef 10) store i32 0, ptr %1, align 4 %25 = load i32, ptr %1, align 4 %26 = icmp slt i32 %25, 10 br i1 %26, label %.lr.ph2, label %38 .lr.ph2: ; preds = %19 br label %27 27: ; preds = %.lr.ph2, %33 %28 = load i32, ptr %1, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %29 %31 = load i32, ptr %30, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %31) br label %33 33: ; preds = %27 %34 = load i32, ptr %1, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %1, align 4 %36 = load i32, ptr %1, align 4 %37 = icmp slt i32 %36, 10 br i1 %37, label %27, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %33 br label %38 38: ; preds = %._crit_edge3, %19 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @sort1(ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @sort2(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp5ykoelm2.c' source_filename = "/tmp/tmp5ykoelm2.c" target datalayout = "e-m:e-p270: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 [293 x i8] c"Test AY/YM library programm.\0AVisit http://libayemu.sourceforge.net for detalis\0AUsage: test [option(s)]\0A -y --ym\09ym chip test (default ay)\0A -t --test <number>\09start test number (default 0)\0A -s --seconds <number>\09number of seconds to each test (default 1)\0A -h --help\0A -u --usage\09this help\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5ykoelm2.c" target datalayout = "e-m:e-p270: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 [293 x i8] c"Test AY/YM library programm.\0AVisit http://libayemu.sourceforge.net for detalis\0AUsage: test [option(s)]\0A -y --ym\09ym chip test (default ay)\0A -t --test <number>\09start test number (default 0)\0A -s --seconds <number>\09number of seconds to each test (default 1)\0A -h --help\0A -u --usage\09this help\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzfw3vc0h.c' source_filename = "/tmp/tmpzfw3vc0h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strlen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store i64 0, ptr %3, align 8 br label %4 4: ; preds = %10, %1 %5 = load ptr, ptr %2, align 8 %6 = load i64, ptr %3, align 8 %7 = getelementptr inbounds i8, ptr %5, i64 %6 %8 = load i8, ptr %7, align 1 %9 = icmp ne i8 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %4 %11 = load i64, ptr %3, align 8 %12 = add i64 %11, 1 store i64 %12, ptr %3, align 8 br label %4, !llvm.loop !6 13: ; preds = %4 %14 = load i64, ptr %3, align 8 ret i64 %14 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpzfw3vc0h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strlen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store i64 0, ptr %3, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i64, ptr %3, align 8 %6 = getelementptr inbounds i8, ptr %4, i64 %5 %7 = load i8, ptr %6, align 1 %8 = icmp ne i8 %7, 0 br i1 %8, label %.lr.ph, label %17 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %9 %10 = load i64, ptr %3, align 8 %11 = add i64 %10, 1 store i64 %11, ptr %3, align 8 %12 = load ptr, ptr %2, align 8 %13 = load i64, ptr %3, align 8 %14 = getelementptr inbounds i8, ptr %12, i64 %13 %15 = load i8, ptr %14, align 1 %16 = icmp ne i8 %15, 0 br i1 %16, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %17 17: ; preds = %._crit_edge, %1 %18 = load i64, ptr %3, align 8 ret i64 %18 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpht2_a578.c' source_filename = "/tmp/tmpht2_a578.c" target datalayout = "e-m:e-p270: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 %s\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = alloca [100 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %8 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %7, ptr noundef %8) store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %10 10: ; preds = %17, %0 %11 = load i32, ptr %4, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %10 %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 br label %21 21: ; preds = %28, %20 %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %21 %29 = load i32, ptr %5, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %5, align 4 br label %21, !llvm.loop !8 31: ; preds = %21 %32 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %33 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %34 = load i32, ptr %4, align 4 %35 = call i32 @find_sub(ptr noundef %32, ptr noundef %33, i32 noundef 0, i32 noundef %34) store i32 %35, ptr %6, align 4 br label %36 36: ; preds = %57, %31 %37 = load i32, ptr %6, align 4 %38 = load i32, ptr %4, align 4 %39 = add nsw i32 %37, %38 %40 = load i32, ptr %5, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %42, label %65 42: ; preds = %36 %43 = load i32, ptr %6, align 4 %44 = icmp slt i32 %43, 0 br i1 %44, label %45, label %46 45: ; preds = %42 br label %65 46: ; preds = %42 %47 = load i32, ptr %6, align 4 %48 = icmp sge i32 %47, 0 br i1 %48, label %49, label %57 49: ; preds = %46 %50 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %51 = load i32, ptr %6, align 4 %52 = load i32, ptr %4, align 4 %53 = load i32, ptr %6, align 4 %54 = add nsw i32 %52, %53 %55 = sub nsw i32 %54, 1 %56 = call i32 @rev_sub(ptr noundef %50, i32 noundef %51, i32 noundef %55) br label %57 57: ; preds = %49, %46 %58 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %59 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %60 = load i32, ptr %6, align 4 %61 = load i32, ptr %4, align 4 %62 = add nsw i32 %60, %61 %63 = load i32, ptr %4, align 4 %64 = call i32 @find_sub(ptr noundef %58, ptr noundef %59, i32 noundef %62, i32 noundef %63) store i32 %64, ptr %6, align 4 br label %36, !llvm.loop !9 65: ; preds = %45, %36 %66 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %67 = call i32 @printf(ptr noundef @.str.1, ptr noundef %66) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @find_sub(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @rev_sub(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpht2_a578.c" target datalayout = "e-m:e-p270: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 %s\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = alloca [100 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %8 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %7, ptr noundef %8) store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br i1 %15, label %.lr.ph, label %25 .lr.ph: ; preds = %0 br label %16 16: ; preds = %.lr.ph, %16 %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 = sext i32 %19 to i64 %21 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp ne i32 %23, 0 br i1 %24, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %25 25: ; preds = %._crit_edge, %0 %26 = load i32, ptr %5, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp ne i32 %30, 0 br i1 %31, label %.lr.ph2, label %41 .lr.ph2: ; preds = %25 br label %32 32: ; preds = %.lr.ph2, %32 %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 = sext i32 %35 to i64 %37 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp ne i32 %39, 0 br i1 %40, label %32, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %32 br label %41 41: ; preds = %._crit_edge3, %25 %42 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %43 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %44 = load i32, ptr %4, align 4 %45 = call i32 @find_sub(ptr noundef %42, ptr noundef %43, i32 noundef 0, i32 noundef %44) store i32 %45, ptr %6, align 4 %46 = load i32, ptr %6, align 4 %47 = load i32, ptr %4, align 4 %48 = add nsw i32 %46, %47 %49 = load i32, ptr %5, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %.lr.ph5, label %.loopexit .lr.ph5: ; preds = %41 br label %51 51: ; preds = %.lr.ph5, %66 %52 = load i32, ptr %6, align 4 %53 = icmp slt i32 %52, 0 br i1 %53, label %54, label %55 54: ; preds = %51 br label %79 55: ; preds = %51 %56 = load i32, ptr %6, align 4 %57 = icmp sge i32 %56, 0 br i1 %57, label %58, label %66 58: ; preds = %55 %59 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %60 = load i32, ptr %6, align 4 %61 = load i32, ptr %4, align 4 %62 = load i32, ptr %6, align 4 %63 = add nsw i32 %61, %62 %64 = sub nsw i32 %63, 1 %65 = call i32 @rev_sub(ptr noundef %59, i32 noundef %60, i32 noundef %64) br label %66 66: ; preds = %58, %55 %67 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %68 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %69 = load i32, ptr %6, align 4 %70 = load i32, ptr %4, align 4 %71 = add nsw i32 %69, %70 %72 = load i32, ptr %4, align 4 %73 = call i32 @find_sub(ptr noundef %67, ptr noundef %68, i32 noundef %71, i32 noundef %72) store i32 %73, ptr %6, align 4 %74 = load i32, ptr %6, align 4 %75 = load i32, ptr %4, align 4 %76 = add nsw i32 %74, %75 %77 = load i32, ptr %5, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %51, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %66 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %41 br label %79 79: ; preds = %.loopexit, %54 %80 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %81 = call i32 @printf(ptr noundef @.str.1, ptr noundef %80) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @find_sub(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @rev_sub(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmprnha4aie.c' source_filename = "/tmp/tmprnha4aie.c" target datalayout = "e-m:e-p270: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 [28 x i8] c"invalid state reached %s:%d\00", align 1 @.str.1 = private unnamed_addr constant [171 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/GaloisInc/hacrypto/refs/heads/master/src/C/libressl/libressl-2.3.1/ssl/d1_both.c\00", align 1 @BIO_FLAGS_READ = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dtls1_read_failed(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 1018) store i32 1, ptr %3, align 4 br label %30 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = call i32 @dtls1_is_timer_expired(ptr noundef %12) %14 = icmp ne i32 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %11 %16 = load i32, ptr %5, align 4 store i32 %16, ptr %3, align 4 br label %30 17: ; preds = %11 %18 = load ptr, ptr %4, align 8 %19 = call i32 @SSL_in_init(ptr noundef %18) %20 = icmp ne i32 %19, 0 br i1 %20, label %27, label %21 21: ; preds = %17 %22 = load ptr, ptr %4, align 8 %23 = call i32 @SSL_get_rbio(ptr noundef %22) %24 = load i32, ptr @BIO_FLAGS_READ, align 4 %25 = call i32 @BIO_set_flags(i32 noundef %23, i32 noundef %24) %26 = load i32, ptr %5, align 4 store i32 %26, ptr %3, align 4 br label %30 27: ; preds = %17 %28 = load ptr, ptr %4, align 8 %29 = call i32 @dtls1_handle_timeout(ptr noundef %28) store i32 %29, ptr %3, align 4 br label %30 30: ; preds = %27, %21, %15, %8 %31 = load i32, ptr %3, align 4 ret i32 %31 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @dtls1_is_timer_expired(ptr noundef) #1 declare i32 @SSL_in_init(ptr noundef) #1 declare i32 @BIO_set_flags(i32 noundef, i32 noundef) #1 declare i32 @SSL_get_rbio(ptr noundef) #1 declare i32 @dtls1_handle_timeout(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/tmprnha4aie.c" target datalayout = "e-m:e-p270: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 [28 x i8] c"invalid state reached %s:%d\00", align 1 @.str.1 = private unnamed_addr constant [171 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/GaloisInc/hacrypto/refs/heads/master/src/C/libressl/libressl-2.3.1/ssl/d1_both.c\00", align 1 @BIO_FLAGS_READ = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dtls1_read_failed(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 1018) store i32 1, ptr %3, align 4 br label %30 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = call i32 @dtls1_is_timer_expired(ptr noundef %12) %14 = icmp ne i32 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %11 %16 = load i32, ptr %5, align 4 store i32 %16, ptr %3, align 4 br label %30 17: ; preds = %11 %18 = load ptr, ptr %4, align 8 %19 = call i32 @SSL_in_init(ptr noundef %18) %20 = icmp ne i32 %19, 0 br i1 %20, label %27, label %21 21: ; preds = %17 %22 = load ptr, ptr %4, align 8 %23 = call i32 @SSL_get_rbio(ptr noundef %22) %24 = load i32, ptr @BIO_FLAGS_READ, align 4 %25 = call i32 @BIO_set_flags(i32 noundef %23, i32 noundef %24) %26 = load i32, ptr %5, align 4 store i32 %26, ptr %3, align 4 br label %30 27: ; preds = %17 %28 = load ptr, ptr %4, align 8 %29 = call i32 @dtls1_handle_timeout(ptr noundef %28) store i32 %29, ptr %3, align 4 br label %30 30: ; preds = %27, %21, %15, %8 %31 = load i32, ptr %3, align 4 ret i32 %31 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @dtls1_is_timer_expired(ptr noundef) #1 declare i32 @SSL_in_init(ptr noundef) #1 declare i32 @BIO_set_flags(i32 noundef, i32 noundef) #1 declare i32 @SSL_get_rbio(ptr noundef) #1 declare i32 @dtls1_handle_timeout(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/tmppzy3nuoo.c' source_filename = "/tmp/tmppzy3nuoo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"This is the best momoment of the world\0A\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"This is the worst moment of the world\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) %7 = call i32 @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppzy3nuoo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"This is the best momoment of the world\0A\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"This is the worst moment of the world\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) %7 = call i32 @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdrcnb1dg.c' source_filename = "/tmp/tmpdrcnb1dg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @mpu_read_int_status() #0 { %1 = alloca i8, align 1 %2 = call i32 @I2C_Get(i32 noundef 166, i32 noundef 48, ptr noundef %1) %3 = load i8, ptr %1, align 1 ret i8 %3 } declare i32 @I2C_Get(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdrcnb1dg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @mpu_read_int_status() #0 { %1 = alloca i8, align 1 %2 = call i32 @I2C_Get(i32 noundef 166, i32 noundef 48, ptr noundef %1) %3 = load i8, ptr %1, align 1 ret i8 %3 } declare i32 @I2C_Get(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp35oj8pi_.c' source_filename = "/tmp/tmp35oj8pi_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sample_unif_dir() #0 { %1 = alloca i32, align 4 %2 = call double (...) @rand_norm() %3 = fmul double %2, 4.000000e+00 %4 = fptosi double %3 to i32 store i32 %4, ptr %1, align 4 %5 = load i32, ptr %1, align 4 %6 = icmp sge i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %0 %8 = load i32, ptr %1, align 4 %9 = icmp sle i32 %8, 4 br label %10 10: ; preds = %7, %0 %11 = phi i1 [ false, %0 ], [ %9, %7 ] %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) %14 = load i32, ptr %1, align 4 %15 = icmp eq i32 %14, 4 br i1 %15, label %16, label %17 16: ; preds = %10 store i32 3, ptr %1, align 4 br label %17 17: ; preds = %16, %10 %18 = load i32, ptr %1, align 4 ret i32 %18 } declare double @rand_norm(...) #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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp35oj8pi_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sample_unif_dir() #0 { %1 = alloca i32, align 4 %2 = call double (...) @rand_norm() %3 = fmul double %2, 4.000000e+00 %4 = fptosi double %3 to i32 store i32 %4, ptr %1, align 4 %5 = load i32, ptr %1, align 4 %6 = icmp sge i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %0 %8 = load i32, ptr %1, align 4 %9 = icmp sle i32 %8, 4 br label %10 10: ; preds = %7, %0 %11 = phi i1 [ false, %0 ], [ %9, %7 ] %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) %14 = load i32, ptr %1, align 4 %15 = icmp eq i32 %14, 4 br i1 %15, label %16, label %17 16: ; preds = %10 store i32 3, ptr %1, align 4 br label %17 17: ; preds = %16, %10 %18 = load i32, ptr %1, align 4 ret i32 %18 } declare double @rand_norm(...) #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"}
; ModuleID = '/tmp/tmpyn70gtku.c' source_filename = "/tmp/tmpyn70gtku.c" target datalayout = "e-m:e-p270: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"nsq.in\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [8 x i8] c"nsq.out\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [12 x i8] c"%I64d %I64d\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"%I64d\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"%.10lf\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 i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca [100010 x i64], align 16 %10 = alloca double, align 8 %11 = 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 %12 = load i32, ptr @stdin, align 4 %13 = call i32 @freopen(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %12) %14 = load i32, ptr @stdout, align 4 %15 = call i32 @freopen(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef %14) %16 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7, ptr noundef %8) store double 0.000000e+00, ptr %10, align 8 %17 = load i64, ptr %7, align 8 %18 = sitofp i64 %17 to double %19 = fdiv double 1.000000e+00, %18 store double %19, ptr %11, align 8 store i64 0, ptr %6, align 8 br label %20 20: ; preds = %34, %2 %21 = load i64, ptr %6, align 8 %22 = load i64, ptr %7, align 8 %23 = icmp slt i64 %21, %22 br i1 %23, label %24, label %37 24: ; preds = %20 %25 = load i64, ptr %6, align 8 %26 = getelementptr inbounds [100010 x i64], ptr %9, i64 0, i64 %25 %27 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %26) %28 = load i64, ptr %6, align 8 %29 = getelementptr inbounds [100010 x i64], ptr %9, i64 0, i64 %28 %30 = load i64, ptr %29, align 8 %31 = sitofp i64 %30 to double %32 = load double, ptr %11, align 8 %33 = fmul double %32, %31 store double %33, ptr %11, align 8 br label %34 34: ; preds = %24 %35 = load i64, ptr %6, align 8 %36 = add nsw i64 %35, 1 store i64 %36, ptr %6, align 8 br label %20, !llvm.loop !6 37: ; preds = %20 store i64 0, ptr %6, align 8 br label %38 38: ; preds = %62, %37 %39 = load i64, ptr %6, align 8 %40 = load i64, ptr %7, align 8 %41 = icmp slt i64 %39, %40 br i1 %41, label %42, label %65 42: ; preds = %38 %43 = load double, ptr %11, align 8 %44 = fmul double %43, 1.000000e+00 %45 = load i64, ptr %6, align 8 %46 = getelementptr inbounds [100010 x i64], ptr %9, i64 0, i64 %45 %47 = load i64, ptr %46, align 8 %48 = sitofp i64 %47 to double %49 = fdiv double %44, %48 %50 = load double, ptr %10, align 8 %51 = fadd double %50, %49 store double %51, ptr %10, align 8 %52 = load double, ptr %10, align 8 %53 = load i64, ptr %8, align 8 %54 = sitofp i64 %53 to double %55 = fcmp ogt double %52, %54 br i1 %55, label %56, label %61 56: ; preds = %42 %57 = load i64, ptr %8, align 8 %58 = sitofp i64 %57 to double %59 = load double, ptr %10, align 8 %60 = fsub double %59, %58 store double %60, ptr %10, align 8 br label %61 61: ; preds = %56, %42 br label %62 62: ; preds = %61 %63 = load i64, ptr %6, align 8 %64 = add nsw i64 %63, 1 store i64 %64, ptr %6, align 8 br label %38, !llvm.loop !8 65: ; preds = %38 %66 = load double, ptr %10, align 8 %67 = call i32 @printf(ptr noundef @.str.6, double noundef %66) ret i32 0 } declare i32 @freopen(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyn70gtku.c" target datalayout = "e-m:e-p270: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"nsq.in\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [8 x i8] c"nsq.out\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [12 x i8] c"%I64d %I64d\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"%I64d\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"%.10lf\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 i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca [100010 x i64], align 16 %10 = alloca double, align 8 %11 = 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 %12 = load i32, ptr @stdin, align 4 %13 = call i32 @freopen(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %12) %14 = load i32, ptr @stdout, align 4 %15 = call i32 @freopen(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef %14) %16 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7, ptr noundef %8) store double 0.000000e+00, ptr %10, align 8 %17 = load i64, ptr %7, align 8 %18 = sitofp i64 %17 to double %19 = fdiv double 1.000000e+00, %18 store double %19, ptr %11, align 8 store i64 0, ptr %6, align 8 %20 = load i64, ptr %6, align 8 %21 = load i64, ptr %7, align 8 %22 = icmp slt i64 %20, %21 br i1 %22, label %.lr.ph, label %39 .lr.ph: ; preds = %2 br label %23 23: ; preds = %.lr.ph, %33 %24 = load i64, ptr %6, align 8 %25 = getelementptr inbounds [100010 x i64], ptr %9, i64 0, i64 %24 %26 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %25) %27 = load i64, ptr %6, align 8 %28 = getelementptr inbounds [100010 x i64], ptr %9, i64 0, i64 %27 %29 = load i64, ptr %28, align 8 %30 = sitofp i64 %29 to double %31 = load double, ptr %11, align 8 %32 = fmul double %31, %30 store double %32, ptr %11, align 8 br label %33 33: ; preds = %23 %34 = load i64, ptr %6, align 8 %35 = add nsw i64 %34, 1 store i64 %35, ptr %6, align 8 %36 = load i64, ptr %6, align 8 %37 = load i64, ptr %7, align 8 %38 = icmp slt i64 %36, %37 br i1 %38, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %39 39: ; preds = %._crit_edge, %2 store i64 0, ptr %6, align 8 %40 = load i64, ptr %6, align 8 %41 = load i64, ptr %7, align 8 %42 = icmp slt i64 %40, %41 br i1 %42, label %.lr.ph2, label %69 .lr.ph2: ; preds = %39 br label %43 43: ; preds = %.lr.ph2, %63 %44 = load double, ptr %11, align 8 %45 = fmul double %44, 1.000000e+00 %46 = load i64, ptr %6, align 8 %47 = getelementptr inbounds [100010 x i64], ptr %9, i64 0, i64 %46 %48 = load i64, ptr %47, align 8 %49 = sitofp i64 %48 to double %50 = fdiv double %45, %49 %51 = load double, ptr %10, align 8 %52 = fadd double %51, %50 store double %52, ptr %10, align 8 %53 = load double, ptr %10, align 8 %54 = load i64, ptr %8, align 8 %55 = sitofp i64 %54 to double %56 = fcmp ogt double %53, %55 br i1 %56, label %57, label %62 57: ; preds = %43 %58 = load i64, ptr %8, align 8 %59 = sitofp i64 %58 to double %60 = load double, ptr %10, align 8 %61 = fsub double %60, %59 store double %61, ptr %10, align 8 br label %62 62: ; preds = %57, %43 br label %63 63: ; preds = %62 %64 = load i64, ptr %6, align 8 %65 = add nsw i64 %64, 1 store i64 %65, ptr %6, align 8 %66 = load i64, ptr %6, align 8 %67 = load i64, ptr %7, align 8 %68 = icmp slt i64 %66, %67 br i1 %68, label %43, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %63 br label %69 69: ; preds = %._crit_edge3, %39 %70 = load double, ptr %10, align 8 %71 = call i32 @printf(ptr noundef @.str.6, double noundef %70) ret i32 0 } declare i32 @freopen(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpkvqe3wn1.c' source_filename = "/tmp/tmpkvqe3wn1.c" target datalayout = "e-m:e-p270: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/tmpkvqe3wn1.c" target datalayout = "e-m:e-p270: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/tmp1uzlfour.c' source_filename = "/tmp/tmp1uzlfour.c" target datalayout = "e-m:e-p270: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/tmp1uzlfour.c" target datalayout = "e-m:e-p270: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/tmpm9z37c0u.c' source_filename = "/tmp/tmpm9z37c0u.c" target datalayout = "e-m:e-p270: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"m:\00", align 1 @EOF = dso_local global i32 0, align 4 @optarg = dso_local global i32 0, align 4 @optind = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\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 [128 x i8], align 16 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1440, ptr %6, align 4 br label %9 9: ; preds = %22, %2 %10 = load i32, ptr %4, align 4 %11 = load ptr, ptr %5, align 8 %12 = call i32 @getopt(i32 noundef %10, ptr noundef %11, ptr noundef @.str) store i32 %12, ptr %8, align 4 %13 = load i32, ptr @EOF, align 4 %14 = icmp ne i32 %12, %13 br i1 %14, label %15, label %23 15: ; preds = %9 %16 = load i32, ptr %8, align 4 switch i32 %16, label %21 [ i32 109, label %17 ] 17: ; preds = %15 %18 = load i32, ptr @optarg, align 4 %19 = call i64 @atoi(i32 noundef %18) %20 = trunc i64 %19 to i32 store i32 %20, ptr %6, align 4 br label %22 21: ; preds = %15 br label %22 22: ; preds = %21, %17 br label %9, !llvm.loop !6 23: ; preds = %9 %24 = load i32, ptr @optind, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %43 27: ; preds = %23 br label %28 28: ; preds = %32, %27 %29 = load i32, ptr @optind, align 4 %30 = load i32, ptr %4, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %32, label %42 32: ; preds = %28 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr @optind, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr @optind, align 4 %36 = sext i32 %34 to i64 %37 = getelementptr inbounds ptr, ptr %33, i64 %36 %38 = load ptr, ptr %37, align 8 %39 = load i32, ptr %6, align 4 %40 = call i32 @hash(ptr noundef %38, i32 noundef %39) %41 = call i32 @printf(ptr noundef @.str.1, i32 noundef %40) br label %28, !llvm.loop !8 42: ; preds = %28 br label %54 43: ; preds = %23 %44 = call i64 @time(ptr noundef null) %45 = trunc i64 %44 to i32 %46 = call i32 @srand(i32 noundef %45) %47 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %48 = call i32 (...) @rand() %49 = call i32 @sprintf(ptr noundef %47, ptr noundef @.str.2, i32 noundef %48) %50 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %51 = load i32, ptr %6, align 4 %52 = call i32 @hash(ptr noundef %50, i32 noundef %51) %53 = call i32 @printf(ptr noundef @.str.1, i32 noundef %52) br label %54 54: ; preds = %43, %42 %55 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @atoi(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @hash(ptr noundef, i32 noundef) #1 declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @rand(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm9z37c0u.c" target datalayout = "e-m:e-p270: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"m:\00", align 1 @EOF = dso_local global i32 0, align 4 @optarg = dso_local global i32 0, align 4 @optind = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\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 [128 x i8], align 16 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1440, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = load ptr, ptr %5, align 8 %11 = call i32 @getopt(i32 noundef %9, ptr noundef %10, ptr noundef @.str) store i32 %11, ptr %8, align 4 %12 = load i32, ptr @EOF, align 4 %13 = icmp ne i32 %11, %12 br i1 %13, label %.lr.ph, label %27 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %21 %15 = load i32, ptr %8, align 4 switch i32 %15, label %20 [ i32 109, label %16 ] 16: ; preds = %14 %17 = load i32, ptr @optarg, align 4 %18 = call i64 @atoi(i32 noundef %17) %19 = trunc i64 %18 to i32 store i32 %19, ptr %6, align 4 br label %21 20: ; preds = %14 br label %21 21: ; preds = %20, %16 %22 = load i32, ptr %4, align 4 %23 = load ptr, ptr %5, align 8 %24 = call i32 @getopt(i32 noundef %22, ptr noundef %23, ptr noundef @.str) store i32 %24, ptr %8, align 4 %25 = load i32, ptr @EOF, align 4 %26 = icmp ne i32 %24, %25 br i1 %26, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %2 %28 = load i32, ptr @optind, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %49 31: ; preds = %27 %32 = load i32, ptr @optind, align 4 %33 = load i32, ptr %4, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph2, label %48 .lr.ph2: ; preds = %31 br label %35 35: ; preds = %.lr.ph2, %35 %36 = load ptr, ptr %5, align 8 %37 = load i32, ptr @optind, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr @optind, align 4 %39 = sext i32 %37 to i64 %40 = getelementptr inbounds ptr, ptr %36, i64 %39 %41 = load ptr, ptr %40, align 8 %42 = load i32, ptr %6, align 4 %43 = call i32 @hash(ptr noundef %41, i32 noundef %42) %44 = call i32 @printf(ptr noundef @.str.1, i32 noundef %43) %45 = load i32, ptr @optind, align 4 %46 = load i32, ptr %4, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %35, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %35 br label %48 48: ; preds = %._crit_edge3, %31 br label %60 49: ; preds = %27 %50 = call i64 @time(ptr noundef null) %51 = trunc i64 %50 to i32 %52 = call i32 @srand(i32 noundef %51) %53 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %54 = call i32 (...) @rand() %55 = call i32 @sprintf(ptr noundef %53, ptr noundef @.str.2, i32 noundef %54) %56 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %57 = load i32, ptr %6, align 4 %58 = call i32 @hash(ptr noundef %56, i32 noundef %57) %59 = call i32 @printf(ptr noundef @.str.1, i32 noundef %58) br label %60 60: ; preds = %49, %48 %61 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @atoi(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @hash(ptr noundef, i32 noundef) #1 declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @rand(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp1peivylh.c' source_filename = "/tmp/tmp1peivylh.c" target datalayout = "e-m:e-p270: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/tmp1peivylh.c" target datalayout = "e-m:e-p270: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/tmpgqr4yd64.c' source_filename = "/tmp/tmpgqr4yd64.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BatchInterpolatedValue3DZeroWarp(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, double noundef %5, double noundef %6, double noundef %7, ptr noundef %8, double noundef %9, double noundef %10, double noundef %11, ptr noundef %12, double noundef %13, double noundef %14, double noundef %15, ptr noundef %16, i64 noundef %17) #0 { %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca i64, align 8 %22 = alloca i64, align 8 %23 = alloca i64, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca ptr, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca ptr, align 8 %32 = alloca double, align 8 %33 = alloca double, align 8 %34 = alloca double, align 8 %35 = alloca ptr, align 8 %36 = alloca i64, align 8 %37 = alloca double, align 8 %38 = alloca double, align 8 %39 = alloca double, align 8 %40 = alloca i64, align 8 %41 = alloca i64, align 8 %42 = alloca i64, align 8 %43 = alloca i64, align 8 store ptr %0, ptr %19, align 8 store ptr %1, ptr %20, align 8 store i64 %2, ptr %21, align 8 store i64 %3, ptr %22, align 8 store i64 %4, ptr %23, align 8 store double %5, ptr %24, align 8 store double %6, ptr %25, align 8 store double %7, ptr %26, align 8 store ptr %8, ptr %27, align 8 store double %9, ptr %28, align 8 store double %10, ptr %29, align 8 store double %11, ptr %30, align 8 store ptr %12, ptr %31, align 8 store double %13, ptr %32, align 8 store double %14, ptr %33, align 8 store double %15, ptr %34, align 8 store ptr %16, ptr %35, align 8 store i64 %17, ptr %36, align 8 store i64 0, ptr %40, align 8 store i64 0, ptr %43, align 8 br label %44 44: ; preds = %119, %18 %45 = load i64, ptr %43, align 8 %46 = sitofp i64 %45 to double %47 = load double, ptr %32, align 8 %48 = fcmp olt double %46, %47 br i1 %48, label %49, label %122 49: ; preds = %44 store i64 0, ptr %42, align 8 br label %50 50: ; preds = %115, %49 %51 = load i64, ptr %42, align 8 %52 = sitofp i64 %51 to double %53 = load double, ptr %28, align 8 %54 = fcmp olt double %52, %53 br i1 %54, label %55, label %118 55: ; preds = %50 store i64 0, ptr %41, align 8 br label %56 56: ; preds = %111, %55 %57 = load i64, ptr %41, align 8 %58 = sitofp i64 %57 to double %59 = load double, ptr %24, align 8 %60 = fcmp olt double %58, %59 br i1 %60, label %61, label %114 61: ; preds = %56 %62 = load i64, ptr %41, align 8 %63 = sitofp i64 %62 to float %64 = load ptr, ptr %27, align 8 %65 = load i64, ptr %40, align 8 %66 = getelementptr inbounds float, ptr %64, i64 %65 %67 = load float, ptr %66, align 4 %68 = fadd float %63, %67 %69 = fpext float %68 to double %70 = load double, ptr %25, align 8 %71 = fsub double %69, %70 %72 = load double, ptr %26, align 8 %73 = fdiv double %71, %72 store double %73, ptr %37, align 8 %74 = load i64, ptr %42, align 8 %75 = sitofp i64 %74 to float %76 = load ptr, ptr %31, align 8 %77 = load i64, ptr %40, align 8 %78 = getelementptr inbounds float, ptr %76, i64 %77 %79 = load float, ptr %78, align 4 %80 = fadd float %75, %79 %81 = fpext float %80 to double %82 = load double, ptr %29, align 8 %83 = fsub double %81, %82 %84 = load double, ptr %30, align 8 %85 = fdiv double %83, %84 store double %85, ptr %38, align 8 %86 = load i64, ptr %43, align 8 %87 = sitofp i64 %86 to float %88 = load ptr, ptr %35, align 8 %89 = load i64, ptr %40, align 8 %90 = getelementptr inbounds float, ptr %88, i64 %89 %91 = load float, ptr %90, align 4 %92 = fadd float %87, %91 %93 = fpext float %92 to double %94 = load double, ptr %33, align 8 %95 = fsub double %93, %94 %96 = load double, ptr %34, align 8 %97 = fdiv double %95, %96 store double %97, ptr %39, align 8 %98 = load ptr, ptr %20, align 8 %99 = load i64, ptr %21, align 8 %100 = load i64, ptr %22, align 8 %101 = load i64, ptr %23, align 8 %102 = load double, ptr %37, align 8 %103 = load double, ptr %38, align 8 %104 = load double, ptr %39, align 8 %105 = load i64, ptr %36, align 8 %106 = call float @InterpolatedValue3DZero(ptr noundef %98, i64 noundef %99, i64 noundef %100, i64 noundef %101, double noundef %102, double noundef %103, double noundef %104, i64 noundef %105) %107 = load ptr, ptr %19, align 8 %108 = load i64, ptr %40, align 8 %109 = add nsw i64 %108, 1 store i64 %109, ptr %40, align 8 %110 = getelementptr inbounds float, ptr %107, i64 %108 store float %106, ptr %110, align 4 br label %111 111: ; preds = %61 %112 = load i64, ptr %41, align 8 %113 = add nsw i64 %112, 1 store i64 %113, ptr %41, align 8 br label %56, !llvm.loop !6 114: ; preds = %56 br label %115 115: ; preds = %114 %116 = load i64, ptr %42, align 8 %117 = add nsw i64 %116, 1 store i64 %117, ptr %42, align 8 br label %50, !llvm.loop !8 118: ; preds = %50 br label %119 119: ; preds = %118 %120 = load i64, ptr %43, align 8 %121 = add nsw i64 %120, 1 store i64 %121, ptr %43, align 8 br label %44, !llvm.loop !9 122: ; preds = %44 ret void } declare float @InterpolatedValue3DZero(ptr noundef, i64 noundef, i64 noundef, i64 noundef, double noundef, double noundef, double noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgqr4yd64.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BatchInterpolatedValue3DZeroWarp(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, double noundef %5, double noundef %6, double noundef %7, ptr noundef %8, double noundef %9, double noundef %10, double noundef %11, ptr noundef %12, double noundef %13, double noundef %14, double noundef %15, ptr noundef %16, i64 noundef %17) #0 { %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca i64, align 8 %22 = alloca i64, align 8 %23 = alloca i64, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca ptr, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca ptr, align 8 %32 = alloca double, align 8 %33 = alloca double, align 8 %34 = alloca double, align 8 %35 = alloca ptr, align 8 %36 = alloca i64, align 8 %37 = alloca double, align 8 %38 = alloca double, align 8 %39 = alloca double, align 8 %40 = alloca i64, align 8 %41 = alloca i64, align 8 %42 = alloca i64, align 8 %43 = alloca i64, align 8 store ptr %0, ptr %19, align 8 store ptr %1, ptr %20, align 8 store i64 %2, ptr %21, align 8 store i64 %3, ptr %22, align 8 store i64 %4, ptr %23, align 8 store double %5, ptr %24, align 8 store double %6, ptr %25, align 8 store double %7, ptr %26, align 8 store ptr %8, ptr %27, align 8 store double %9, ptr %28, align 8 store double %10, ptr %29, align 8 store double %11, ptr %30, align 8 store ptr %12, ptr %31, align 8 store double %13, ptr %32, align 8 store double %14, ptr %33, align 8 store double %15, ptr %34, align 8 store ptr %16, ptr %35, align 8 store i64 %17, ptr %36, align 8 store i64 0, ptr %40, align 8 store i64 0, ptr %43, align 8 %44 = load i64, ptr %43, align 8 %45 = sitofp i64 %44 to double %46 = load double, ptr %32, align 8 %47 = fcmp olt double %45, %46 br i1 %47, label %.lr.ph5, label %131 .lr.ph5: ; preds = %18 br label %48 48: ; preds = %.lr.ph5, %124 store i64 0, ptr %42, align 8 %49 = load i64, ptr %42, align 8 %50 = sitofp i64 %49 to double %51 = load double, ptr %28, align 8 %52 = fcmp olt double %50, %51 br i1 %52, label %.lr.ph2, label %123 .lr.ph2: ; preds = %48 br label %53 53: ; preds = %.lr.ph2, %116 store i64 0, ptr %41, align 8 %54 = load i64, ptr %41, align 8 %55 = sitofp i64 %54 to double %56 = load double, ptr %24, align 8 %57 = fcmp olt double %55, %56 br i1 %57, label %.lr.ph, label %115 .lr.ph: ; preds = %53 br label %58 58: ; preds = %.lr.ph, %108 %59 = load i64, ptr %41, align 8 %60 = sitofp i64 %59 to float %61 = load ptr, ptr %27, align 8 %62 = load i64, ptr %40, align 8 %63 = getelementptr inbounds float, ptr %61, i64 %62 %64 = load float, ptr %63, align 4 %65 = fadd float %60, %64 %66 = fpext float %65 to double %67 = load double, ptr %25, align 8 %68 = fsub double %66, %67 %69 = load double, ptr %26, align 8 %70 = fdiv double %68, %69 store double %70, ptr %37, align 8 %71 = load i64, ptr %42, align 8 %72 = sitofp i64 %71 to float %73 = load ptr, ptr %31, align 8 %74 = load i64, ptr %40, align 8 %75 = getelementptr inbounds float, ptr %73, i64 %74 %76 = load float, ptr %75, align 4 %77 = fadd float %72, %76 %78 = fpext float %77 to double %79 = load double, ptr %29, align 8 %80 = fsub double %78, %79 %81 = load double, ptr %30, align 8 %82 = fdiv double %80, %81 store double %82, ptr %38, align 8 %83 = load i64, ptr %43, align 8 %84 = sitofp i64 %83 to float %85 = load ptr, ptr %35, align 8 %86 = load i64, ptr %40, align 8 %87 = getelementptr inbounds float, ptr %85, i64 %86 %88 = load float, ptr %87, align 4 %89 = fadd float %84, %88 %90 = fpext float %89 to double %91 = load double, ptr %33, align 8 %92 = fsub double %90, %91 %93 = load double, ptr %34, align 8 %94 = fdiv double %92, %93 store double %94, ptr %39, align 8 %95 = load ptr, ptr %20, align 8 %96 = load i64, ptr %21, align 8 %97 = load i64, ptr %22, align 8 %98 = load i64, ptr %23, align 8 %99 = load double, ptr %37, align 8 %100 = load double, ptr %38, align 8 %101 = load double, ptr %39, align 8 %102 = load i64, ptr %36, align 8 %103 = call float @InterpolatedValue3DZero(ptr noundef %95, i64 noundef %96, i64 noundef %97, i64 noundef %98, double noundef %99, double noundef %100, double noundef %101, i64 noundef %102) %104 = load ptr, ptr %19, align 8 %105 = load i64, ptr %40, align 8 %106 = add nsw i64 %105, 1 store i64 %106, ptr %40, align 8 %107 = getelementptr inbounds float, ptr %104, i64 %105 store float %103, ptr %107, align 4 br label %108 108: ; preds = %58 %109 = load i64, ptr %41, align 8 %110 = add nsw i64 %109, 1 store i64 %110, ptr %41, align 8 %111 = load i64, ptr %41, align 8 %112 = sitofp i64 %111 to double %113 = load double, ptr %24, align 8 %114 = fcmp olt double %112, %113 br i1 %114, label %58, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %108 br label %115 115: ; preds = %._crit_edge, %53 br label %116 116: ; preds = %115 %117 = load i64, ptr %42, align 8 %118 = add nsw i64 %117, 1 store i64 %118, ptr %42, align 8 %119 = load i64, ptr %42, align 8 %120 = sitofp i64 %119 to double %121 = load double, ptr %28, align 8 %122 = fcmp olt double %120, %121 br i1 %122, label %53, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %116 br label %123 123: ; preds = %._crit_edge3, %48 br label %124 124: ; preds = %123 %125 = load i64, ptr %43, align 8 %126 = add nsw i64 %125, 1 store i64 %126, ptr %43, align 8 %127 = load i64, ptr %43, align 8 %128 = sitofp i64 %127 to double %129 = load double, ptr %32, align 8 %130 = fcmp olt double %128, %129 br i1 %130, label %48, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %124 br label %131 131: ; preds = %._crit_edge6, %18 ret void } declare float @InterpolatedValue3DZero(ptr noundef, i64 noundef, i64 noundef, i64 noundef, double noundef, double noundef, double noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpql1wh63i.c' source_filename = "/tmp/tmpql1wh63i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel220nf_f77_single(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 { %32 = alloca ptr, align 8 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 %35 = alloca ptr, align 8 %36 = alloca ptr, align 8 %37 = alloca ptr, align 8 %38 = alloca ptr, align 8 %39 = alloca ptr, align 8 %40 = alloca ptr, align 8 %41 = alloca ptr, align 8 %42 = alloca ptr, align 8 %43 = alloca ptr, align 8 %44 = alloca ptr, align 8 %45 = alloca ptr, align 8 %46 = alloca ptr, align 8 %47 = alloca ptr, align 8 %48 = alloca ptr, align 8 %49 = alloca ptr, align 8 %50 = alloca ptr, align 8 %51 = alloca ptr, align 8 %52 = alloca ptr, align 8 %53 = alloca ptr, align 8 %54 = alloca ptr, align 8 %55 = alloca ptr, align 8 %56 = alloca ptr, align 8 %57 = alloca ptr, align 8 %58 = alloca ptr, align 8 %59 = alloca ptr, align 8 %60 = alloca ptr, align 8 %61 = alloca ptr, align 8 %62 = alloca ptr, align 8 store ptr %0, ptr %32, align 8 store ptr %1, ptr %33, align 8 store ptr %2, ptr %34, align 8 store ptr %3, ptr %35, align 8 store ptr %4, ptr %36, align 8 store ptr %5, ptr %37, align 8 store ptr %6, ptr %38, align 8 store ptr %7, ptr %39, align 8 store ptr %8, ptr %40, align 8 store ptr %9, ptr %41, align 8 store ptr %10, ptr %42, align 8 store ptr %11, ptr %43, align 8 store ptr %12, ptr %44, align 8 store ptr %13, ptr %45, align 8 store ptr %14, ptr %46, align 8 store ptr %15, ptr %47, align 8 store ptr %16, ptr %48, align 8 store ptr %17, ptr %49, align 8 store ptr %18, ptr %50, align 8 store ptr %19, ptr %51, align 8 store ptr %20, ptr %52, align 8 store ptr %21, ptr %53, align 8 store ptr %22, ptr %54, align 8 store ptr %23, ptr %55, align 8 store ptr %24, ptr %56, align 8 store ptr %25, ptr %57, align 8 store ptr %26, ptr %58, align 8 store ptr %27, ptr %59, align 8 store ptr %28, ptr %60, align 8 store ptr %29, ptr %61, align 8 store ptr %30, ptr %62, align 8 %63 = load ptr, ptr %32, align 8 %64 = load ptr, ptr %33, align 8 %65 = load ptr, ptr %34, align 8 %66 = load ptr, ptr %35, align 8 %67 = load ptr, ptr %36, align 8 %68 = load ptr, ptr %37, align 8 %69 = load ptr, ptr %38, align 8 %70 = load ptr, ptr %39, align 8 %71 = load ptr, ptr %40, align 8 %72 = load ptr, ptr %41, align 8 %73 = load ptr, ptr %42, align 8 %74 = load ptr, ptr %43, align 8 %75 = load ptr, ptr %44, align 8 %76 = load ptr, ptr %45, align 8 %77 = load ptr, ptr %46, align 8 %78 = load ptr, ptr %47, align 8 %79 = load ptr, ptr %48, align 8 %80 = load ptr, ptr %49, align 8 %81 = load ptr, ptr %50, align 8 %82 = load ptr, ptr %51, align 8 %83 = load ptr, ptr %52, align 8 %84 = load ptr, ptr %53, align 8 %85 = load ptr, ptr %54, align 8 %86 = load ptr, ptr %55, align 8 %87 = load ptr, ptr %56, align 8 %88 = load ptr, ptr %57, align 8 %89 = load ptr, ptr %58, align 8 %90 = load ptr, ptr %59, align 8 %91 = load ptr, ptr %60, align 8 %92 = load ptr, ptr %61, align 8 %93 = load ptr, ptr %62, align 8 %94 = call i32 @f77skernel220nf_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93) ret void } declare i32 @f77skernel220nf_(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, 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, 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/tmpql1wh63i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel220nf_f77_single(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 { %32 = alloca ptr, align 8 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 %35 = alloca ptr, align 8 %36 = alloca ptr, align 8 %37 = alloca ptr, align 8 %38 = alloca ptr, align 8 %39 = alloca ptr, align 8 %40 = alloca ptr, align 8 %41 = alloca ptr, align 8 %42 = alloca ptr, align 8 %43 = alloca ptr, align 8 %44 = alloca ptr, align 8 %45 = alloca ptr, align 8 %46 = alloca ptr, align 8 %47 = alloca ptr, align 8 %48 = alloca ptr, align 8 %49 = alloca ptr, align 8 %50 = alloca ptr, align 8 %51 = alloca ptr, align 8 %52 = alloca ptr, align 8 %53 = alloca ptr, align 8 %54 = alloca ptr, align 8 %55 = alloca ptr, align 8 %56 = alloca ptr, align 8 %57 = alloca ptr, align 8 %58 = alloca ptr, align 8 %59 = alloca ptr, align 8 %60 = alloca ptr, align 8 %61 = alloca ptr, align 8 %62 = alloca ptr, align 8 store ptr %0, ptr %32, align 8 store ptr %1, ptr %33, align 8 store ptr %2, ptr %34, align 8 store ptr %3, ptr %35, align 8 store ptr %4, ptr %36, align 8 store ptr %5, ptr %37, align 8 store ptr %6, ptr %38, align 8 store ptr %7, ptr %39, align 8 store ptr %8, ptr %40, align 8 store ptr %9, ptr %41, align 8 store ptr %10, ptr %42, align 8 store ptr %11, ptr %43, align 8 store ptr %12, ptr %44, align 8 store ptr %13, ptr %45, align 8 store ptr %14, ptr %46, align 8 store ptr %15, ptr %47, align 8 store ptr %16, ptr %48, align 8 store ptr %17, ptr %49, align 8 store ptr %18, ptr %50, align 8 store ptr %19, ptr %51, align 8 store ptr %20, ptr %52, align 8 store ptr %21, ptr %53, align 8 store ptr %22, ptr %54, align 8 store ptr %23, ptr %55, align 8 store ptr %24, ptr %56, align 8 store ptr %25, ptr %57, align 8 store ptr %26, ptr %58, align 8 store ptr %27, ptr %59, align 8 store ptr %28, ptr %60, align 8 store ptr %29, ptr %61, align 8 store ptr %30, ptr %62, align 8 %63 = load ptr, ptr %32, align 8 %64 = load ptr, ptr %33, align 8 %65 = load ptr, ptr %34, align 8 %66 = load ptr, ptr %35, align 8 %67 = load ptr, ptr %36, align 8 %68 = load ptr, ptr %37, align 8 %69 = load ptr, ptr %38, align 8 %70 = load ptr, ptr %39, align 8 %71 = load ptr, ptr %40, align 8 %72 = load ptr, ptr %41, align 8 %73 = load ptr, ptr %42, align 8 %74 = load ptr, ptr %43, align 8 %75 = load ptr, ptr %44, align 8 %76 = load ptr, ptr %45, align 8 %77 = load ptr, ptr %46, align 8 %78 = load ptr, ptr %47, align 8 %79 = load ptr, ptr %48, align 8 %80 = load ptr, ptr %49, align 8 %81 = load ptr, ptr %50, align 8 %82 = load ptr, ptr %51, align 8 %83 = load ptr, ptr %52, align 8 %84 = load ptr, ptr %53, align 8 %85 = load ptr, ptr %54, align 8 %86 = load ptr, ptr %55, align 8 %87 = load ptr, ptr %56, align 8 %88 = load ptr, ptr %57, align 8 %89 = load ptr, ptr %58, align 8 %90 = load ptr, ptr %59, align 8 %91 = load ptr, ptr %60, align 8 %92 = load ptr, ptr %61, align 8 %93 = load ptr, ptr %62, align 8 %94 = call i32 @f77skernel220nf_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93) ret void } declare i32 @f77skernel220nf_(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, 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, 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/tmpexlxjila.c' source_filename = "/tmp/tmpexlxjila.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lcdWriteStrC(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %7, %1 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = icmp ne i8 %5, 0 br i1 %6, label %7, label %13 7: ; preds = %3 %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds i8, ptr %8, i32 1 store ptr %9, ptr %2, align 8 %10 = load i8, ptr %8, align 1 %11 = sext i8 %10 to i32 %12 = call i32 @lcdWriteChar(i32 noundef %11) br label %3, !llvm.loop !6 13: ; preds = %3 ret void } declare i32 @lcdWriteChar(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/tmpexlxjila.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lcdWriteStrC(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i8, ptr %3, align 1 %5 = icmp ne i8 %4, 0 br i1 %5, label %.lr.ph, label %15 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %6 %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds i8, ptr %7, i32 1 store ptr %8, ptr %2, align 8 %9 = load i8, ptr %7, align 1 %10 = sext i8 %9 to i32 %11 = call i32 @lcdWriteChar(i32 noundef %10) %12 = load ptr, ptr %2, align 8 %13 = load i8, ptr %12, align 1 %14 = icmp ne i8 %13, 0 br i1 %14, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %15 15: ; preds = %._crit_edge, %1 ret void } declare i32 @lcdWriteChar(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/tmp9ipdlv5a.c' source_filename = "/tmp/tmp9ipdlv5a.c" target datalayout = "e-m:e-p270: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/tmp9ipdlv5a.c" target datalayout = "e-m:e-p270: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/tmpcvcj2x18.c' source_filename = "/tmp/tmpcvcj2x18.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline noreturn nounwind sspstrong uwtable define dso_local void @exit(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @sys_exit(i32 noundef %3) unreachable } declare i32 @sys_exit(i32 noundef) #1 attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcvcj2x18.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline noreturn nounwind sspstrong uwtable define dso_local void @exit(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @sys_exit(i32 noundef %3) unreachable } declare i32 @sys_exit(i32 noundef) #1 attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzg3kph3v.c' source_filename = "/tmp/tmpzg3kph3v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call ptr @malloc(i32 noundef 4) store ptr %5, ptr %2, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp eq i32 %6, 4711 br i1 %7, label %8, label %9 8: ; preds = %0 store ptr %3, ptr %2, align 8 br label %9 9: ; preds = %8, %0 %10 = load ptr, ptr %2, align 8 %11 = call i32 @free(ptr noundef %10) %12 = load i32, ptr %1, align 4 ret i32 %12 } declare ptr @malloc(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/tmpzg3kph3v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call ptr @malloc(i32 noundef 4) store ptr %5, ptr %2, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp eq i32 %6, 4711 br i1 %7, label %8, label %9 8: ; preds = %0 store ptr %3, ptr %2, align 8 br label %9 9: ; preds = %8, %0 %10 = load ptr, ptr %2, align 8 %11 = call i32 @free(ptr noundef %10) %12 = load i32, ptr %1, align 4 ret i32 %12 } declare ptr @malloc(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/tmpzz8_hcg7.c' source_filename = "/tmp/tmpzz8_hcg7.c" target datalayout = "e-m:e-p270: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/tmpzz8_hcg7.c" target datalayout = "e-m:e-p270: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/tmpw9pmdr7c.c' source_filename = "/tmp/tmpw9pmdr7c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @process_event() #0 { %1 = call i32 (...) @twoDsim_processEvent() ret void } declare i32 @twoDsim_processEvent(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw9pmdr7c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @process_event() #0 { %1 = call i32 (...) @twoDsim_processEvent() ret void } declare i32 @twoDsim_processEvent(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpanjk40s4.c' source_filename = "/tmp/tmpanjk40s4.c" target datalayout = "e-m:e-p270: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_INFO = dso_local global i32 0, align 4 @LOG_ERR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [39 x i8] c"Starting Validator Service... pid:[%d]\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"purchase_service.db\00", align 1 @.str.2 = private unnamed_addr constant [52 x i8] c"[Validator Service]: Error can not open database...\00", align 1 @.str.3 = private unnamed_addr constant [65 x i8] c"select id,customer_id,amount,status from requests where status=0\00", align 1 @SQLITE_ROW = dso_local global i64 0, align 8 @.str.4 = private unnamed_addr constant [12 x i8] c"status: %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [95 x i8] c"update requests SET status=1 WHERE id =?1\00", align 1 @.str.6 = private unnamed_addr constant [47 x i8] c"select saldo from cuentas where customer_id=?1\00", align 1 @.str.7 = private unnamed_addr constant [103 x i8] c"update cuentas SET saldo=?1 WHERE customer_id =?2\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @validator_service() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca 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 %15 = load i32, ptr @LOG_INFO, align 4 %16 = load i32, ptr @LOG_ERR, align 4 %17 = or i32 %15, %16 %18 = call i32 @LOG_UPTO(i32 noundef %17) %19 = call i32 @setlogmask(i32 noundef %18) %20 = load i32, ptr @LOG_INFO, align 4 %21 = call i32 (...) @getpid() %22 = call i32 (i32, ptr, ...) @syslog(i32 noundef %20, ptr noundef @.str, i32 noundef %21) store ptr null, ptr %5, align 8 store i32 0, ptr %7, align 4 %23 = call i32 @sqlite3_open(ptr noundef @.str.1, ptr noundef %1) store i32 %23, ptr %14, align 4 %24 = load i32, ptr %14, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %30 26: ; preds = %0 %27 = load i32, ptr @LOG_ERR, align 4 %28 = call i32 (i32, ptr, ...) @syslog(i32 noundef %27, ptr noundef @.str.2) %29 = call i32 @exit(i32 noundef 0) #3 unreachable 30: ; preds = %0 br label %31 31: ; preds = %30, %86 %32 = load ptr, ptr %1, align 8 %33 = call i32 @sqlite3_prepare_v2(ptr noundef %32, ptr noundef @.str.3, i32 noundef 1000, ptr noundef %2, ptr noundef null) %34 = load ptr, ptr %2, align 8 %35 = call i64 @sqlite3_step(ptr noundef %34) %36 = load i64, ptr @SQLITE_ROW, align 8 %37 = icmp eq i64 %35, %36 br i1 %37, label %38, label %86 38: ; preds = %31 %39 = load ptr, ptr %2, align 8 %40 = call i32 @sqlite3_column_int(ptr noundef %39, i32 noundef 0) store i32 %40, ptr %8, align 4 %41 = load ptr, ptr %2, align 8 %42 = call i32 @sqlite3_column_int(ptr noundef %41, i32 noundef 1) store i32 %42, ptr %9, align 4 %43 = load ptr, ptr %2, align 8 %44 = call i32 @sqlite3_column_int(ptr noundef %43, i32 noundef 2) store i32 %44, ptr %10, align 4 %45 = load ptr, ptr %2, align 8 %46 = call i32 @sqlite3_column_int(ptr noundef %45, i32 noundef 3) store i32 %46, ptr %12, align 4 %47 = load i32, ptr %12, align 4 %48 = call i32 @printf(ptr noundef @.str.4, i32 noundef %47) %49 = load ptr, ptr %1, align 8 %50 = call i32 @sqlite3_prepare_v2(ptr noundef %49, ptr noundef @.str.5, i32 noundef -1, ptr noundef %2, ptr noundef null) %51 = load ptr, ptr %2, align 8 %52 = load i32, ptr %8, align 4 %53 = call i32 @sqlite3_bind_int(ptr noundef %51, i32 noundef 1, i32 noundef %52) %54 = load ptr, ptr %2, align 8 %55 = call i64 @sqlite3_step(ptr noundef %54) %56 = load ptr, ptr %1, align 8 %57 = call i32 @sqlite3_prepare_v2(ptr noundef %56, ptr noundef @.str.6, i32 noundef 1000, ptr noundef %3, ptr noundef null) %58 = load ptr, ptr %3, align 8 %59 = load i32, ptr %9, align 4 %60 = call i32 @sqlite3_bind_int(ptr noundef %58, i32 noundef 1, i32 noundef %59) %61 = load ptr, ptr %3, align 8 %62 = call i64 @sqlite3_step(ptr noundef %61) %63 = load ptr, ptr %3, align 8 %64 = call i32 @sqlite3_column_int(ptr noundef %63, i32 noundef 0) store i32 %64, ptr %11, align 4 %65 = load i32, ptr %11, align 4 %66 = load i32, ptr %10, align 4 %67 = sub nsw i32 %65, %66 store i32 %67, ptr %13, align 4 %68 = load i32, ptr %13, align 4 %69 = icmp sge i32 %68, 0 br i1 %69, label %70, label %82 70: ; preds = %38 %71 = load ptr, ptr %1, align 8 %72 = call i32 @sqlite3_prepare_v2(ptr noundef %71, ptr noundef @.str.7, i32 noundef -1, ptr noundef %3, ptr noundef null) %73 = load ptr, ptr %3, align 8 %74 = load i32, ptr %13, align 4 %75 = call i32 @sqlite3_bind_int(ptr noundef %73, i32 noundef 1, i32 noundef %74) %76 = load ptr, ptr %3, align 8 %77 = load i32, ptr %9, align 4 %78 = call i32 @sqlite3_bind_int(ptr noundef %76, i32 noundef 2, i32 noundef %77) %79 = load ptr, ptr %3, align 8 %80 = call i64 @sqlite3_step(ptr noundef %79) %81 = call i32 @correo(i32 noundef 1) br label %84 82: ; preds = %38 %83 = call i32 @correo(i32 noundef 0) br label %84 84: ; preds = %82, %70 %85 = call i32 @sleep(i32 noundef 10) br label %86 86: ; preds = %84, %31 br label %31 } declare i32 @setlogmask(i32 noundef) #1 declare i32 @LOG_UPTO(i32 noundef) #1 declare i32 @syslog(i32 noundef, ptr noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @sqlite3_open(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @sqlite3_prepare_v2(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @sqlite3_step(ptr noundef) #1 declare i32 @sqlite3_column_int(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @sqlite3_bind_int(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @correo(i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpanjk40s4.c" target datalayout = "e-m:e-p270: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_INFO = dso_local global i32 0, align 4 @LOG_ERR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [39 x i8] c"Starting Validator Service... pid:[%d]\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"purchase_service.db\00", align 1 @.str.2 = private unnamed_addr constant [52 x i8] c"[Validator Service]: Error can not open database...\00", align 1 @.str.3 = private unnamed_addr constant [65 x i8] c"select id,customer_id,amount,status from requests where status=0\00", align 1 @SQLITE_ROW = dso_local global i64 0, align 8 @.str.4 = private unnamed_addr constant [12 x i8] c"status: %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [95 x i8] c"update requests SET status=1 WHERE id =?1\00", align 1 @.str.6 = private unnamed_addr constant [47 x i8] c"select saldo from cuentas where customer_id=?1\00", align 1 @.str.7 = private unnamed_addr constant [103 x i8] c"update cuentas SET saldo=?1 WHERE customer_id =?2\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @validator_service() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca 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 %15 = load i32, ptr @LOG_INFO, align 4 %16 = load i32, ptr @LOG_ERR, align 4 %17 = or i32 %15, %16 %18 = call i32 @LOG_UPTO(i32 noundef %17) %19 = call i32 @setlogmask(i32 noundef %18) %20 = load i32, ptr @LOG_INFO, align 4 %21 = call i32 (...) @getpid() %22 = call i32 (i32, ptr, ...) @syslog(i32 noundef %20, ptr noundef @.str, i32 noundef %21) store ptr null, ptr %5, align 8 store i32 0, ptr %7, align 4 %23 = call i32 @sqlite3_open(ptr noundef @.str.1, ptr noundef %1) store i32 %23, ptr %14, align 4 %24 = load i32, ptr %14, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %30 26: ; preds = %0 %27 = load i32, ptr @LOG_ERR, align 4 %28 = call i32 (i32, ptr, ...) @syslog(i32 noundef %27, ptr noundef @.str.2) %29 = call i32 @exit(i32 noundef 0) #3 unreachable 30: ; preds = %0 br label %31 31: ; preds = %86, %30 %32 = load ptr, ptr %1, align 8 %33 = call i32 @sqlite3_prepare_v2(ptr noundef %32, ptr noundef @.str.3, i32 noundef 1000, ptr noundef %2, ptr noundef null) %34 = load ptr, ptr %2, align 8 %35 = call i64 @sqlite3_step(ptr noundef %34) %36 = load i64, ptr @SQLITE_ROW, align 8 %37 = icmp eq i64 %35, %36 br i1 %37, label %38, label %86 38: ; preds = %31 %39 = load ptr, ptr %2, align 8 %40 = call i32 @sqlite3_column_int(ptr noundef %39, i32 noundef 0) store i32 %40, ptr %8, align 4 %41 = load ptr, ptr %2, align 8 %42 = call i32 @sqlite3_column_int(ptr noundef %41, i32 noundef 1) store i32 %42, ptr %9, align 4 %43 = load ptr, ptr %2, align 8 %44 = call i32 @sqlite3_column_int(ptr noundef %43, i32 noundef 2) store i32 %44, ptr %10, align 4 %45 = load ptr, ptr %2, align 8 %46 = call i32 @sqlite3_column_int(ptr noundef %45, i32 noundef 3) store i32 %46, ptr %12, align 4 %47 = load i32, ptr %12, align 4 %48 = call i32 @printf(ptr noundef @.str.4, i32 noundef %47) %49 = load ptr, ptr %1, align 8 %50 = call i32 @sqlite3_prepare_v2(ptr noundef %49, ptr noundef @.str.5, i32 noundef -1, ptr noundef %2, ptr noundef null) %51 = load ptr, ptr %2, align 8 %52 = load i32, ptr %8, align 4 %53 = call i32 @sqlite3_bind_int(ptr noundef %51, i32 noundef 1, i32 noundef %52) %54 = load ptr, ptr %2, align 8 %55 = call i64 @sqlite3_step(ptr noundef %54) %56 = load ptr, ptr %1, align 8 %57 = call i32 @sqlite3_prepare_v2(ptr noundef %56, ptr noundef @.str.6, i32 noundef 1000, ptr noundef %3, ptr noundef null) %58 = load ptr, ptr %3, align 8 %59 = load i32, ptr %9, align 4 %60 = call i32 @sqlite3_bind_int(ptr noundef %58, i32 noundef 1, i32 noundef %59) %61 = load ptr, ptr %3, align 8 %62 = call i64 @sqlite3_step(ptr noundef %61) %63 = load ptr, ptr %3, align 8 %64 = call i32 @sqlite3_column_int(ptr noundef %63, i32 noundef 0) store i32 %64, ptr %11, align 4 %65 = load i32, ptr %11, align 4 %66 = load i32, ptr %10, align 4 %67 = sub nsw i32 %65, %66 store i32 %67, ptr %13, align 4 %68 = load i32, ptr %13, align 4 %69 = icmp sge i32 %68, 0 br i1 %69, label %70, label %82 70: ; preds = %38 %71 = load ptr, ptr %1, align 8 %72 = call i32 @sqlite3_prepare_v2(ptr noundef %71, ptr noundef @.str.7, i32 noundef -1, ptr noundef %3, ptr noundef null) %73 = load ptr, ptr %3, align 8 %74 = load i32, ptr %13, align 4 %75 = call i32 @sqlite3_bind_int(ptr noundef %73, i32 noundef 1, i32 noundef %74) %76 = load ptr, ptr %3, align 8 %77 = load i32, ptr %9, align 4 %78 = call i32 @sqlite3_bind_int(ptr noundef %76, i32 noundef 2, i32 noundef %77) %79 = load ptr, ptr %3, align 8 %80 = call i64 @sqlite3_step(ptr noundef %79) %81 = call i32 @correo(i32 noundef 1) br label %84 82: ; preds = %38 %83 = call i32 @correo(i32 noundef 0) br label %84 84: ; preds = %82, %70 %85 = call i32 @sleep(i32 noundef 10) br label %86 86: ; preds = %84, %31 br label %31 } declare i32 @setlogmask(i32 noundef) #1 declare i32 @LOG_UPTO(i32 noundef) #1 declare i32 @syslog(i32 noundef, ptr noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @sqlite3_open(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @sqlite3_prepare_v2(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @sqlite3_step(ptr noundef) #1 declare i32 @sqlite3_column_int(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @sqlite3_bind_int(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @correo(i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp99cg6zgp.c' source_filename = "/tmp/tmp99cg6zgp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp99cg6zgp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu_fguvec.c' source_filename = "/tmp/tmpu_fguvec.c" target datalayout = "e-m:e-p270: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/tmpu_fguvec.c" target datalayout = "e-m:e-p270: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/tmpaqo55fi5.c' source_filename = "/tmp/tmpaqo55fi5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XButtonPressedEvent_subwindow(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i64 %5, ptr %7, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaqo55fi5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XButtonPressedEvent_subwindow(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i64 %5, ptr %7, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9n3d2wrz.c' source_filename = "/tmp/tmp9n3d2wrz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"socket create or bind fail.\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 = call i64 (...) @server_init() %8 = icmp slt i64 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %2 store i32 -1, ptr %3, align 4 br label %23 10: ; preds = %2 %11 = call i32 @create_server_proc(ptr noundef @.str, i32 noundef 8787) store i32 %11, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %10 %15 = load i32, ptr @stderr, align 4 %16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.1) br label %21 17: ; preds = %10 %18 = load i32, ptr %6, align 4 %19 = call i32 @handle_client_proc(i32 noundef %18) %20 = call i32 (...) @server_uninit() store i32 0, ptr %3, align 4 br label %23 21: ; preds = %14 %22 = call i32 (...) @server_uninit() store i32 -1, ptr %3, align 4 br label %23 23: ; preds = %21, %17, %9 %24 = load i32, ptr %3, align 4 ret i32 %24 } declare i64 @server_init(...) #1 declare i32 @create_server_proc(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @handle_client_proc(i32 noundef) #1 declare i32 @server_uninit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9n3d2wrz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"socket create or bind fail.\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 = call i64 (...) @server_init() %8 = icmp slt i64 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %2 store i32 -1, ptr %3, align 4 br label %23 10: ; preds = %2 %11 = call i32 @create_server_proc(ptr noundef @.str, i32 noundef 8787) store i32 %11, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %10 %15 = load i32, ptr @stderr, align 4 %16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.1) br label %21 17: ; preds = %10 %18 = load i32, ptr %6, align 4 %19 = call i32 @handle_client_proc(i32 noundef %18) %20 = call i32 (...) @server_uninit() store i32 0, ptr %3, align 4 br label %23 21: ; preds = %14 %22 = call i32 (...) @server_uninit() store i32 -1, ptr %3, align 4 br label %23 23: ; preds = %21, %17, %9 %24 = load i32, ptr %3, align 4 ret i32 %24 } declare i64 @server_init(...) #1 declare i32 @create_server_proc(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @handle_client_proc(i32 noundef) #1 declare i32 @server_uninit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7voxrx8l.c' source_filename = "/tmp/tmp7voxrx8l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUFSIZ = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"[Error %s] \00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [54 x i8] c"Error receiving data socket. Please try again later.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @recvMsg(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %5 = load i32, ptr @BUFSIZ, align 4 %6 = call ptr @malloc(i32 noundef %5) store ptr %6, ptr %4, align 8 %7 = load i32, ptr %2, align 4 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr @BUFSIZ, align 4 %10 = call i32 @recv(i32 noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef 0) store i32 %10, ptr %3, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %19 12: ; preds = %1 %13 = load i32, ptr @stderr, align 4 %14 = load i32, ptr @errno, align 4 %15 = call ptr @strerror(i32 noundef %14) %16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str, ptr noundef %15) %17 = load i32, ptr @stderr, align 4 %18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.1) br label %19 19: ; preds = %12, %1 %20 = load ptr, ptr %4, align 8 ret ptr %20 } declare ptr @malloc(i32 noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7voxrx8l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUFSIZ = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"[Error %s] \00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [54 x i8] c"Error receiving data socket. Please try again later.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @recvMsg(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %5 = load i32, ptr @BUFSIZ, align 4 %6 = call ptr @malloc(i32 noundef %5) store ptr %6, ptr %4, align 8 %7 = load i32, ptr %2, align 4 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr @BUFSIZ, align 4 %10 = call i32 @recv(i32 noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef 0) store i32 %10, ptr %3, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %19 12: ; preds = %1 %13 = load i32, ptr @stderr, align 4 %14 = load i32, ptr @errno, align 4 %15 = call ptr @strerror(i32 noundef %14) %16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str, ptr noundef %15) %17 = load i32, ptr @stderr, align 4 %18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.1) br label %19 19: ; preds = %12, %1 %20 = load ptr, ptr %4, align 8 ret ptr %20 } declare ptr @malloc(i32 noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd0xxld5p.c' source_filename = "/tmp/tmpd0xxld5p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bitCount_fun_int16_t(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = and i32 %4, 1 store i32 %5, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = ashr i32 %6, 1 %8 = and i32 %7, 32767 store i32 %8, ptr %2, align 4 br label %9 9: ; preds = %17, %1 %10 = load i32, ptr %2, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %20 12: ; preds = %9 %13 = load i32, ptr %2, align 4 %14 = and i32 %13, 1 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, %14 store i32 %16, ptr %3, align 4 br label %17 17: ; preds = %12 %18 = load i32, ptr %2, align 4 %19 = ashr i32 %18, 1 store i32 %19, ptr %2, align 4 br label %9, !llvm.loop !6 20: ; preds = %9 %21 = load i32, ptr %3, align 4 ret i32 %21 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpd0xxld5p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bitCount_fun_int16_t(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = and i32 %4, 1 store i32 %5, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = ashr i32 %6, 1 %8 = and i32 %7, 32767 store i32 %8, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp ne i32 %9, 0 br i1 %10, label %.lr.ph, label %21 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %16 %12 = load i32, ptr %2, align 4 %13 = and i32 %12, 1 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, %13 store i32 %15, ptr %3, align 4 br label %16 16: ; preds = %11 %17 = load i32, ptr %2, align 4 %18 = ashr i32 %17, 1 store i32 %18, ptr %2, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %1 %22 = load i32, ptr %3, align 4 ret i32 %22 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpfk25f67s.c' source_filename = "/tmp/tmpfk25f67s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %9, align 4 %10 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %7) %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %7, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %19 15: ; preds = %2 %16 = load i32, ptr %6, align 4 store i32 %16, ptr %8, align 4 %17 = load i32, ptr %7, align 4 store i32 %17, ptr %6, align 4 %18 = load i32, ptr %8, align 4 store i32 %18, ptr %7, align 4 br label %19 19: ; preds = %15, %2 br label %20 20: ; preds = %23, %19 %21 = load i32, ptr %9, align 4 %22 = icmp sgt i32 %21, 0 br i1 %22, label %23, label %29 23: ; preds = %20 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %7, align 4 %26 = srem i32 %24, %25 store i32 %26, ptr %9, align 4 %27 = load i32, ptr %7, align 4 store i32 %27, ptr %6, align 4 %28 = load i32, ptr %9, align 4 store i32 %28, ptr %7, align 4 br label %20, !llvm.loop !6 29: ; preds = %20 %30 = load i32, ptr %6, align 4 %31 = call i32 @printf(ptr noundef @.str.1, i32 noundef %30) 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfk25f67s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %9, align 4 %10 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %7) %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %7, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %19 15: ; preds = %2 %16 = load i32, ptr %6, align 4 store i32 %16, ptr %8, align 4 %17 = load i32, ptr %7, align 4 store i32 %17, ptr %6, align 4 %18 = load i32, ptr %8, align 4 store i32 %18, ptr %7, align 4 br label %19 19: ; preds = %15, %2 %20 = load i32, ptr %9, align 4 %21 = icmp sgt i32 %20, 0 br i1 %21, label %.lr.ph, label %30 .lr.ph: ; preds = %19 br label %22 22: ; preds = %.lr.ph, %22 %23 = load i32, ptr %6, align 4 %24 = load i32, ptr %7, align 4 %25 = srem i32 %23, %24 store i32 %25, ptr %9, align 4 %26 = load i32, ptr %7, align 4 store i32 %26, ptr %6, align 4 %27 = load i32, ptr %9, align 4 store i32 %27, ptr %7, align 4 %28 = load i32, ptr %9, align 4 %29 = icmp sgt i32 %28, 0 br i1 %29, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %30 30: ; preds = %._crit_edge, %19 %31 = load i32, ptr %6, align 4 %32 = call i32 @printf(ptr noundef @.str.1, i32 noundef %31) 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpodlyfpkf.c' source_filename = "/tmp/tmpodlyfpkf.c" target datalayout = "e-m:e-p270: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/tmpodlyfpkf.c" target datalayout = "e-m:e-p270: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/tmpqtmrvlg2.c' source_filename = "/tmp/tmpqtmrvlg2.c" target datalayout = "e-m:e-p270: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 { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @getTimeNowUs() #0 { %1 = alloca %struct.timeval, align 4 %2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null) %3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %4 = load i32, ptr %3, align 4 %5 = call i64 @timevalToUll(i32 %4) ret i64 %5 } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i64 @timevalToUll(i32) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqtmrvlg2.c" target datalayout = "e-m:e-p270: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 { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @getTimeNowUs() #0 { %1 = alloca %struct.timeval, align 4 %2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null) %3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %4 = load i32, ptr %3, align 4 %5 = call i64 @timevalToUll(i32 %4) ret i64 %5 } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i64 @timevalToUll(i32) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptr1krx0o.c' source_filename = "/tmp/tmptr1krx0o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @momrand_genrand_res53() #0 { %1 = alloca i64, align 8 %2 = alloca i64, align 8 %3 = call i32 (...) @momrand_genrand_int32() %4 = ashr i32 %3, 5 %5 = sext i32 %4 to i64 store i64 %5, ptr %1, align 8 %6 = call i32 (...) @momrand_genrand_int32() %7 = ashr i32 %6, 6 %8 = sext i32 %7 to i64 store i64 %8, ptr %2, align 8 %9 = load i64, ptr %1, align 8 %10 = uitofp i64 %9 to double %11 = load i64, ptr %2, align 8 %12 = uitofp i64 %11 to double %13 = call double @llvm.fmuladd.f64(double %10, double 0x4190000000000000, double %12) %14 = fmul double %13, 0x3CA0000000000000 ret double %14 } declare i32 @momrand_genrand_int32(...) #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/tmptr1krx0o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @momrand_genrand_res53() #0 { %1 = alloca i64, align 8 %2 = alloca i64, align 8 %3 = call i32 (...) @momrand_genrand_int32() %4 = ashr i32 %3, 5 %5 = sext i32 %4 to i64 store i64 %5, ptr %1, align 8 %6 = call i32 (...) @momrand_genrand_int32() %7 = ashr i32 %6, 6 %8 = sext i32 %7 to i64 store i64 %8, ptr %2, align 8 %9 = load i64, ptr %1, align 8 %10 = uitofp i64 %9 to double %11 = load i64, ptr %2, align 8 %12 = uitofp i64 %11 to double %13 = call double @llvm.fmuladd.f64(double %10, double 0x4190000000000000, double %12) %14 = fmul double %13, 0x3CA0000000000000 ret double %14 } declare i32 @momrand_genrand_int32(...) #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/tmpghrkzxhe.c' source_filename = "/tmp/tmpghrkzxhe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SYS_gettid = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [56 x i8] c"%s - PID: %i - TID(lib): %lu - TID(sys): %lu - (0x%x) \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_id(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = call i32 (...) @getpid() store i32 %6, ptr %3, align 4 %7 = call i32 (...) @pthread_self() store i32 %7, ptr %4, align 4 %8 = load i32, ptr @SYS_gettid, align 4 %9 = call i32 @syscall(i32 noundef %8) store i32 %9, ptr %5, align 4 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %4, align 4 %15 = call i32 @printf(ptr noundef @.str, ptr noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14) ret void } declare i32 @getpid(...) #1 declare i32 @pthread_self(...) #1 declare i32 @syscall(i32 noundef) #1 declare i32 @printf(ptr noundef, ptr 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/tmpghrkzxhe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SYS_gettid = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [56 x i8] c"%s - PID: %i - TID(lib): %lu - TID(sys): %lu - (0x%x) \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_id(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = call i32 (...) @getpid() store i32 %6, ptr %3, align 4 %7 = call i32 (...) @pthread_self() store i32 %7, ptr %4, align 4 %8 = load i32, ptr @SYS_gettid, align 4 %9 = call i32 @syscall(i32 noundef %8) store i32 %9, ptr %5, align 4 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %4, align 4 %15 = call i32 @printf(ptr noundef @.str, ptr noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14) ret void } declare i32 @getpid(...) #1 declare i32 @pthread_self(...) #1 declare i32 @syscall(i32 noundef) #1 declare i32 @printf(ptr noundef, ptr 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/tmpsc367emt.c' source_filename = "/tmp/tmpsc367emt.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getdelims(ptr noalias noundef %0, ptr noundef %1, ptr noalias noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i64 0, ptr %9, align 8 store i64 129, ptr %8, align 8 %12 = load i64, ptr %8, align 8 %13 = call ptr @malloc_or_die(i64 noundef %12) %14 = load ptr, ptr %5, align 8 store ptr %13, ptr %14, align 8 %15 = load ptr, ptr %5, align 8 %16 = load ptr, ptr %15, align 8 store ptr %16, ptr %11, align 8 br label %17 17: ; preds = %50, %3 %18 = load ptr, ptr %7, align 8 %19 = call i32 @getc(ptr noundef %18) store i32 %19, ptr %10, align 4 %20 = load i64, ptr %9, align 8 %21 = load i64, ptr %8, align 8 %22 = icmp eq i64 %20, %21 br i1 %22, label %23, label %35 23: ; preds = %17 %24 = load i64, ptr %8, align 8 %25 = add i64 %24, 128 store i64 %25, ptr %8, align 8 %26 = load ptr, ptr %5, align 8 %27 = load ptr, ptr %26, align 8 %28 = load i64, ptr %8, align 8 %29 = call ptr @realloc_or_die(ptr noundef %27, i64 noundef %28) %30 = load ptr, ptr %5, align 8 store ptr %29, ptr %30, align 8 %31 = load ptr, ptr %5, align 8 %32 = load ptr, ptr %31, align 8 %33 = load i64, ptr %9, align 8 %34 = getelementptr inbounds i8, ptr %32, i64 %33 store ptr %34, ptr %11, align 8 br label %35 35: ; preds = %23, %17 %36 = load ptr, ptr %6, align 8 %37 = load i32, ptr %10, align 4 %38 = call ptr @strchr(ptr noundef %36, i32 noundef %37) %39 = icmp ne ptr %38, null br i1 %39, label %40, label %41 40: ; preds = %35 br label %58 41: ; preds = %35 %42 = load i32, ptr %10, align 4 %43 = load i32, ptr @EOF, align 4 %44 = icmp eq i32 %42, %43 br i1 %44, label %45, label %50 45: ; preds = %41 %46 = load i64, ptr %9, align 8 %47 = icmp eq i64 %46, 0 br i1 %47, label %48, label %49 48: ; preds = %45 store i32 -1, ptr %4, align 4 br label %62 49: ; preds = %45 br label %58 50: ; preds = %41 %51 = load i32, ptr %10, align 4 %52 = trunc i32 %51 to i8 %53 = load ptr, ptr %11, align 8 store i8 %52, ptr %53, align 1 %54 = load ptr, ptr %11, align 8 %55 = getelementptr inbounds i8, ptr %54, i32 1 store ptr %55, ptr %11, align 8 %56 = load i64, ptr %9, align 8 %57 = add i64 %56, 1 store i64 %57, ptr %9, align 8 br label %17 58: ; preds = %49, %40 %59 = load ptr, ptr %11, align 8 store i8 0, ptr %59, align 1 %60 = load i64, ptr %9, align 8 %61 = trunc i64 %60 to i32 store i32 %61, ptr %4, align 4 br label %62 62: ; preds = %58, %48 %63 = load i32, ptr %4, align 4 ret i32 %63 } declare ptr @malloc_or_die(i64 noundef) #1 declare i32 @getc(ptr noundef) #1 declare ptr @realloc_or_die(ptr noundef, i64 noundef) #1 declare ptr @strchr(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/tmpsc367emt.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getdelims(ptr noalias noundef %0, ptr noundef %1, ptr noalias noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i64 0, ptr %9, align 8 store i64 129, ptr %8, align 8 %12 = load i64, ptr %8, align 8 %13 = call ptr @malloc_or_die(i64 noundef %12) %14 = load ptr, ptr %5, align 8 store ptr %13, ptr %14, align 8 %15 = load ptr, ptr %5, align 8 %16 = load ptr, ptr %15, align 8 store ptr %16, ptr %11, align 8 br label %17 17: ; preds = %50, %3 %18 = load ptr, ptr %7, align 8 %19 = call i32 @getc(ptr noundef %18) store i32 %19, ptr %10, align 4 %20 = load i64, ptr %9, align 8 %21 = load i64, ptr %8, align 8 %22 = icmp eq i64 %20, %21 br i1 %22, label %23, label %35 23: ; preds = %17 %24 = load i64, ptr %8, align 8 %25 = add i64 %24, 128 store i64 %25, ptr %8, align 8 %26 = load ptr, ptr %5, align 8 %27 = load ptr, ptr %26, align 8 %28 = load i64, ptr %8, align 8 %29 = call ptr @realloc_or_die(ptr noundef %27, i64 noundef %28) %30 = load ptr, ptr %5, align 8 store ptr %29, ptr %30, align 8 %31 = load ptr, ptr %5, align 8 %32 = load ptr, ptr %31, align 8 %33 = load i64, ptr %9, align 8 %34 = getelementptr inbounds i8, ptr %32, i64 %33 store ptr %34, ptr %11, align 8 br label %35 35: ; preds = %23, %17 %36 = load ptr, ptr %6, align 8 %37 = load i32, ptr %10, align 4 %38 = call ptr @strchr(ptr noundef %36, i32 noundef %37) %39 = icmp ne ptr %38, null br i1 %39, label %40, label %41 40: ; preds = %35 br label %58 41: ; preds = %35 %42 = load i32, ptr %10, align 4 %43 = load i32, ptr @EOF, align 4 %44 = icmp eq i32 %42, %43 br i1 %44, label %45, label %50 45: ; preds = %41 %46 = load i64, ptr %9, align 8 %47 = icmp eq i64 %46, 0 br i1 %47, label %48, label %49 48: ; preds = %45 store i32 -1, ptr %4, align 4 br label %62 49: ; preds = %45 br label %58 50: ; preds = %41 %51 = load i32, ptr %10, align 4 %52 = trunc i32 %51 to i8 %53 = load ptr, ptr %11, align 8 store i8 %52, ptr %53, align 1 %54 = load ptr, ptr %11, align 8 %55 = getelementptr inbounds i8, ptr %54, i32 1 store ptr %55, ptr %11, align 8 %56 = load i64, ptr %9, align 8 %57 = add i64 %56, 1 store i64 %57, ptr %9, align 8 br label %17 58: ; preds = %49, %40 %59 = load ptr, ptr %11, align 8 store i8 0, ptr %59, align 1 %60 = load i64, ptr %9, align 8 %61 = trunc i64 %60 to i32 store i32 %61, ptr %4, align 4 br label %62 62: ; preds = %58, %48 %63 = load i32, ptr %4, align 4 ret i32 %63 } declare ptr @malloc_or_die(i64 noundef) #1 declare i32 @getc(ptr noundef) #1 declare ptr @realloc_or_die(ptr noundef, i64 noundef) #1 declare ptr @strchr(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/tmpthbdqndy.c' source_filename = "/tmp/tmpthbdqndy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @catmc_atomic_signed_short_destroy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @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/tmpthbdqndy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @catmc_atomic_signed_short_destroy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @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/tmpcebdelri.c' source_filename = "/tmp/tmpcebdelri.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @death(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 = call i32 @printf(ptr noundef %7) %9 = load ptr, ptr %5, align 8 %10 = call i32 @fclose(ptr noundef %9) %11 = load ptr, ptr %6, align 8 %12 = call i32 @unlink(ptr noundef %11) %13 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @unlink(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/tmpcebdelri.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @death(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 = call i32 @printf(ptr noundef %7) %9 = load ptr, ptr %5, align 8 %10 = call i32 @fclose(ptr noundef %9) %11 = load ptr, ptr %6, align 8 %12 = call i32 @unlink(ptr noundef %11) %13 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @unlink(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/tmpzrzmsrie.c' source_filename = "/tmp/tmpzrzmsrie.c" target datalayout = "e-m:e-p270: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_isupper.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isupper should be 1 for S\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isupper_0x53() #0 { %1 = call i32 @isupper(i32 noundef 83) #3 %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 420, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @isupper(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzrzmsrie.c" target datalayout = "e-m:e-p270: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_isupper.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isupper should be 1 for S\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isupper_0x53() #0 { %1 = call i32 @isupper(i32 noundef 83) #3 %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 420, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @isupper(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp612a_87f.c' source_filename = "/tmp/tmp612a_87f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aioSleep(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @aioPoll(i32 noundef %3) ret i32 %4 } declare i32 @aioPoll(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/tmp612a_87f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aioSleep(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @aioPoll(i32 noundef %3) ret i32 %4 } declare i32 @aioPoll(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/tmpx6lpynjr.c' source_filename = "/tmp/tmpx6lpynjr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"\0AFalha ao criar processo filho\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @errFork(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @err_template(i32 noundef %3, ptr noundef @.str) ret void } declare i32 @err_template(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/tmpx6lpynjr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"\0AFalha ao criar processo filho\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @errFork(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @err_template(i32 noundef %3, ptr noundef @.str) ret void } declare i32 @err_template(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/tmpzyqzosk6.c' source_filename = "/tmp/tmpzyqzosk6.c" target datalayout = "e-m:e-p270: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 [16 x i8] c"fork() failed!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @daemonize() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = call i64 (...) @fork() store i64 %3, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = icmp sgt i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @exit(i32 noundef 0) #3 unreachable 8: ; preds = %0 %9 = load i64, ptr %2, align 8 %10 = icmp slt i64 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %8 %12 = load i32, ptr @stderr, align 4 %13 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str) store i32 0, ptr %1, align 4 br label %15 14: ; preds = %8 store i32 1, ptr %1, align 4 br label %15 15: ; preds = %14, %11 %16 = load i32, ptr %1, align 4 ret i32 %16 } declare i64 @fork(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 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" } 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/tmpzyqzosk6.c" target datalayout = "e-m:e-p270: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 [16 x i8] c"fork() failed!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @daemonize() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = call i64 (...) @fork() store i64 %3, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = icmp sgt i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @exit(i32 noundef 0) #3 unreachable 8: ; preds = %0 %9 = load i64, ptr %2, align 8 %10 = icmp slt i64 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %8 %12 = load i32, ptr @stderr, align 4 %13 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str) store i32 0, ptr %1, align 4 br label %15 14: ; preds = %8 store i32 1, ptr %1, align 4 br label %15 15: ; preds = %14, %11 %16 = load i32, ptr %1, align 4 ret i32 %16 } declare i64 @fork(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 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" } 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/tmpv351qgkv.c' source_filename = "/tmp/tmpv351qgkv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Name of System Map file missing.\0A\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"Name of vmlinux file missing.\0A\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"Name of vmlinux output file missing.\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.4 = private unnamed_addr constant [38 x i8] c"System Map file \22%s\22 failed to open.\0A\00", align 1 @.str.5 = private unnamed_addr constant [35 x i8] c"vmlinux file \22%s\22 failed to open.\0A\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.7 = private unnamed_addr constant [42 x i8] c"output vmlinux file \22%s\22 failed to open.\0A\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [20 x i8] c"%s file size = %ld\0A\00", align 1 @.str.9 = private unnamed_addr constant [63 x i8] c"Rounding System Map file up to a multiple of 4096, adding %ld\0A\00", align 1 @.str.10 = private unnamed_addr constant [32 x i8] c"Rounded System Map size is %ld\0A\00", align 1 @.str.11 = private unnamed_addr constant [24 x i8] c"kernel file size = %ld\0A\00", align 1 @.str.12 = private unnamed_addr constant [51 x i8] c"You must have a linux kernel specified as argv[2]\0A\00", align 1 @.str.13 = private unnamed_addr constant [47 x i8] c"actual kernel length (minus ELF header) = %ld\0A\00", align 1 @.str.14 = private unnamed_addr constant [56 x i8] c"actual kernel length rounded up to a 4k multiple = %ld\0A\00", align 1 @.str.15 = private unnamed_addr constant [32 x i8] c"System map pages to copy = %ld\0A\00", align 1 @.str.16 = private unnamed_addr constant [39 x i8] c"Storing embedded_sysmap_start at 0x3c\0A\00", align 1 @.str.17 = private unnamed_addr constant [37 x i8] c"Storing embedded_sysmap_end at 0x44\0A\00", align 1 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @S_IXUSR = dso_local global i32 0, align 4 @S_IRGRP = dso_local global i32 0, align 4 @S_IXGRP = dso_local global i32 0, align 4 @S_IROTH = dso_local global i32 0, align 4 @S_IXOTH = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [4096 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca i64, align 8 %19 = alloca i64, align 8 %20 = alloca i64, align 8 %21 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %7, align 8 store ptr null, ptr %8, align 8 store ptr null, ptr %9, align 8 store i32 0, ptr %10, align 4 store i64 0, ptr %11, align 8 store i64 0, ptr %12, align 8 store i64 0, ptr %13, align 8 store i64 0, ptr %14, align 8 store i64 0, ptr %15, align 8 store i64 0, ptr %16, align 8 store i64 0, ptr %17, align 8 store i64 0, ptr %18, align 8 store i64 0, ptr %19, align 8 store i64 0, ptr %20, align 8 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %22, 2 br i1 %23, label %24, label %27 24: ; preds = %2 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str) %26 = call i32 @exit(i32 noundef 1) #3 unreachable 27: ; preds = %2 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %28, 3 br i1 %29, label %30, label %33 30: ; preds = %27 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %32 = call i32 @exit(i32 noundef 1) #3 unreachable 33: ; preds = %27 %34 = load i32, ptr %4, align 4 %35 = icmp slt i32 %34, 4 br i1 %35, label %36, label %39 36: ; preds = %33 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %38 = call i32 @exit(i32 noundef 1) #3 unreachable 39: ; preds = %33 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds ptr, ptr %40, i64 1 %42 = load ptr, ptr %41, align 8 %43 = call ptr @fopen(ptr noundef %42, ptr noundef @.str.3) store ptr %43, ptr %7, align 8 %44 = load ptr, ptr %7, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %52, label %46 46: ; preds = %39 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds ptr, ptr %47, i64 1 %49 = load ptr, ptr %48, align 8 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %49) %51 = call i32 @exit(i32 noundef 1) #3 unreachable 52: ; preds = %39 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds ptr, ptr %53, i64 2 %55 = load ptr, ptr %54, align 8 %56 = call ptr @fopen(ptr noundef %55, ptr noundef @.str.3) store ptr %56, ptr %8, align 8 %57 = load ptr, ptr %8, align 8 %58 = icmp ne ptr %57, null br i1 %58, label %65, label %59 59: ; preds = %52 %60 = load ptr, ptr %5, align 8 %61 = getelementptr inbounds ptr, ptr %60, i64 2 %62 = load ptr, ptr %61, align 8 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %62) %64 = call i32 @exit(i32 noundef 1) #3 unreachable 65: ; preds = %52 %66 = load ptr, ptr %5, align 8 %67 = getelementptr inbounds ptr, ptr %66, i64 3 %68 = load ptr, ptr %67, align 8 %69 = call ptr @fopen(ptr noundef %68, ptr noundef @.str.6) store ptr %69, ptr %9, align 8 %70 = load ptr, ptr %9, align 8 %71 = icmp ne ptr %70, null br i1 %71, label %78, label %72 72: ; preds = %65 %73 = load ptr, ptr %5, align 8 %74 = getelementptr inbounds ptr, ptr %73, i64 3 %75 = load ptr, ptr %74, align 8 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %75) %77 = call i32 @exit(i32 noundef 1) #3 unreachable 78: ; preds = %65 %79 = load ptr, ptr %7, align 8 %80 = load i32, ptr @SEEK_END, align 4 %81 = call i32 @fseek(ptr noundef %79, i32 noundef 0, i32 noundef %80) %82 = load ptr, ptr %7, align 8 %83 = call i64 @ftell(ptr noundef %82) store i64 %83, ptr %11, align 8 %84 = load ptr, ptr %7, align 8 %85 = load i32, ptr @SEEK_SET, align 4 %86 = call i32 @fseek(ptr noundef %84, i32 noundef 0, i32 noundef %85) %87 = load ptr, ptr %5, align 8 %88 = getelementptr inbounds ptr, ptr %87, i64 1 %89 = load ptr, ptr %88, align 8 %90 = load i64, ptr %11, align 8 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %89, i64 noundef %90) %92 = load i64, ptr %11, align 8 store i64 %92, ptr %12, align 8 %93 = load i64, ptr %12, align 8 %94 = urem i64 %93, 4096 %95 = sub i64 4096, %94 store i64 %95, ptr %13, align 8 %96 = load i64, ptr %13, align 8 %97 = icmp ne i64 %96, 0 br i1 %97, label %98, label %104 98: ; preds = %78 %99 = load i64, ptr %13, align 8 %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i64 noundef %99) %101 = load i64, ptr %13, align 8 %102 = load i64, ptr %12, align 8 %103 = add i64 %102, %101 store i64 %103, ptr %12, align 8 br label %104 104: ; preds = %98, %78 %105 = load i64, ptr %12, align 8 %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i64 noundef %105) %107 = load ptr, ptr %8, align 8 %108 = load i32, ptr @SEEK_END, align 4 %109 = call i32 @fseek(ptr noundef %107, i32 noundef 0, i32 noundef %108) %110 = load ptr, ptr %8, align 8 %111 = call i64 @ftell(ptr noundef %110) store i64 %111, ptr %14, align 8 %112 = load ptr, ptr %8, align 8 %113 = load i32, ptr @SEEK_SET, align 4 %114 = call i32 @fseek(ptr noundef %112, i32 noundef 0, i32 noundef %113) %115 = load i64, ptr %14, align 8 %116 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i64 noundef %115) %117 = load i64, ptr %14, align 8 %118 = icmp eq i64 %117, 0 br i1 %118, label %119, label %122 119: ; preds = %104 %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %121 = call i32 @exit(i32 noundef 1) #3 unreachable 122: ; preds = %104 %123 = load i64, ptr %14, align 8 %124 = sub i64 %123, 65536 store i64 %124, ptr %15, align 8 %125 = load i64, ptr %15, align 8 %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i64 noundef %125) %127 = load i64, ptr %15, align 8 %128 = urem i64 %127, 4096 store i64 %128, ptr %16, align 8 %129 = load i64, ptr %15, align 8 store i64 %129, ptr %17, align 8 %130 = load i64, ptr %16, align 8 %131 = icmp ne i64 %130, 0 br i1 %131, label %132, label %137 132: ; preds = %122 %133 = load i64, ptr %16, align 8 %134 = sub i64 4096, %133 %135 = load i64, ptr %17, align 8 %136 = add i64 %135, %134 store i64 %136, ptr %17, align 8 br label %137 137: ; preds = %132, %122 %138 = load i64, ptr %17, align 8 %139 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i64 noundef %138) %140 = load i64, ptr %17, align 8 store i64 %140, ptr %18, align 8 %141 = load i64, ptr %12, align 8 %142 = udiv i64 %141, 4096 store i64 %142, ptr %19, align 8 %143 = load i64, ptr %19, align 8 %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i64 noundef %143) store i32 0, ptr %10, align 4 br label %145 145: ; preds = %155, %137 %146 = load i32, ptr %10, align 4 %147 = icmp ult i32 %146, 16 br i1 %147, label %148, label %158 148: ; preds = %145 %149 = load ptr, ptr %8, align 8 %150 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %151 = call i32 @get4k(ptr noundef %149, ptr noundef %150) %152 = load ptr, ptr %9, align 8 %153 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %154 = call i32 @put4k(ptr noundef %152, ptr noundef %153) br label %155 155: ; preds = %148 %156 = load i32, ptr %10, align 4 %157 = add i32 %156, 1 store i32 %157, ptr %10, align 4 br label %145, !llvm.loop !6 158: ; preds = %145 %159 = load i64, ptr %17, align 8 %160 = udiv i64 %159, 4096 store i64 %160, ptr %20, align 8 %161 = load ptr, ptr %8, align 8 %162 = load i32, ptr @SEEK_SET, align 4 %163 = call i32 @fseek(ptr noundef %161, i32 noundef 65536, i32 noundef %162) store i32 0, ptr %10, align 4 br label %164 164: ; preds = %192, %158 %165 = load i32, ptr %10, align 4 %166 = zext i32 %165 to i64 %167 = load i64, ptr %20, align 8 %168 = icmp ult i64 %166, %167 br i1 %168, label %169, label %195 169: ; preds = %164 %170 = load ptr, ptr %8, align 8 %171 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %172 = call i32 @get4k(ptr noundef %170, ptr noundef %171) %173 = load i32, ptr %10, align 4 %174 = icmp eq i32 %173, 0 br i1 %174, label %175, label %188 175: ; preds = %169 %176 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %177 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %178 = getelementptr inbounds i8, ptr %177, i64 60 store ptr %178, ptr %21, align 8 %179 = load i64, ptr %18, align 8 %180 = load ptr, ptr %21, align 8 store i64 %179, ptr %180, align 8 %181 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %182 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %183 = getelementptr inbounds i8, ptr %182, i64 68 store ptr %183, ptr %21, align 8 %184 = load i64, ptr %18, align 8 %185 = load i64, ptr %11, align 8 %186 = add i64 %184, %185 %187 = load ptr, ptr %21, align 8 store i64 %186, ptr %187, align 8 br label %188 188: ; preds = %175, %169 %189 = load ptr, ptr %9, align 8 %190 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %191 = call i32 @put4k(ptr noundef %189, ptr noundef %190) br label %192 192: ; preds = %188 %193 = load i32, ptr %10, align 4 %194 = add i32 %193, 1 store i32 %194, ptr %10, align 4 br label %164, !llvm.loop !8 195: ; preds = %164 store i32 0, ptr %10, align 4 br label %196 196: ; preds = %208, %195 %197 = load i32, ptr %10, align 4 %198 = zext i32 %197 to i64 %199 = load i64, ptr %19, align 8 %200 = icmp ult i64 %198, %199 br i1 %200, label %201, label %211 201: ; preds = %196 %202 = load ptr, ptr %7, align 8 %203 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %204 = call i32 @get4k(ptr noundef %202, ptr noundef %203) %205 = load ptr, ptr %9, align 8 %206 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %207 = call i32 @put4k(ptr noundef %205, ptr noundef %206) br label %208 208: ; preds = %201 %209 = load i32, ptr %10, align 4 %210 = add i32 %209, 1 store i32 %210, ptr %10, align 4 br label %196, !llvm.loop !9 211: ; preds = %196 %212 = load ptr, ptr %7, align 8 %213 = call i32 @fclose(ptr noundef %212) %214 = load ptr, ptr %8, align 8 %215 = call i32 @fclose(ptr noundef %214) %216 = load ptr, ptr %9, align 8 %217 = call i32 @fclose(ptr noundef %216) %218 = load ptr, ptr %5, align 8 %219 = getelementptr inbounds ptr, ptr %218, i64 3 %220 = load ptr, ptr %219, align 8 %221 = load i32, ptr @S_IRUSR, align 4 %222 = load i32, ptr @S_IWUSR, align 4 %223 = or i32 %221, %222 %224 = load i32, ptr @S_IXUSR, align 4 %225 = or i32 %223, %224 %226 = load i32, ptr @S_IRGRP, align 4 %227 = or i32 %225, %226 %228 = load i32, ptr @S_IXGRP, align 4 %229 = or i32 %227, %228 %230 = load i32, ptr @S_IROTH, align 4 %231 = or i32 %229, %230 %232 = load i32, ptr @S_IXOTH, align 4 %233 = or i32 %231, %232 %234 = call i32 @chmod(ptr noundef %220, i32 noundef %233) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare i32 @get4k(ptr noundef, ptr noundef) #1 declare i32 @put4k(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @chmod(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv351qgkv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Name of System Map file missing.\0A\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"Name of vmlinux file missing.\0A\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"Name of vmlinux output file missing.\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.4 = private unnamed_addr constant [38 x i8] c"System Map file \22%s\22 failed to open.\0A\00", align 1 @.str.5 = private unnamed_addr constant [35 x i8] c"vmlinux file \22%s\22 failed to open.\0A\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.7 = private unnamed_addr constant [42 x i8] c"output vmlinux file \22%s\22 failed to open.\0A\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [20 x i8] c"%s file size = %ld\0A\00", align 1 @.str.9 = private unnamed_addr constant [63 x i8] c"Rounding System Map file up to a multiple of 4096, adding %ld\0A\00", align 1 @.str.10 = private unnamed_addr constant [32 x i8] c"Rounded System Map size is %ld\0A\00", align 1 @.str.11 = private unnamed_addr constant [24 x i8] c"kernel file size = %ld\0A\00", align 1 @.str.12 = private unnamed_addr constant [51 x i8] c"You must have a linux kernel specified as argv[2]\0A\00", align 1 @.str.13 = private unnamed_addr constant [47 x i8] c"actual kernel length (minus ELF header) = %ld\0A\00", align 1 @.str.14 = private unnamed_addr constant [56 x i8] c"actual kernel length rounded up to a 4k multiple = %ld\0A\00", align 1 @.str.15 = private unnamed_addr constant [32 x i8] c"System map pages to copy = %ld\0A\00", align 1 @.str.16 = private unnamed_addr constant [39 x i8] c"Storing embedded_sysmap_start at 0x3c\0A\00", align 1 @.str.17 = private unnamed_addr constant [37 x i8] c"Storing embedded_sysmap_end at 0x44\0A\00", align 1 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @S_IXUSR = dso_local global i32 0, align 4 @S_IRGRP = dso_local global i32 0, align 4 @S_IXGRP = dso_local global i32 0, align 4 @S_IROTH = dso_local global i32 0, align 4 @S_IXOTH = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [4096 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca i64, align 8 %19 = alloca i64, align 8 %20 = alloca i64, align 8 %21 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %7, align 8 store ptr null, ptr %8, align 8 store ptr null, ptr %9, align 8 store i32 0, ptr %10, align 4 store i64 0, ptr %11, align 8 store i64 0, ptr %12, align 8 store i64 0, ptr %13, align 8 store i64 0, ptr %14, align 8 store i64 0, ptr %15, align 8 store i64 0, ptr %16, align 8 store i64 0, ptr %17, align 8 store i64 0, ptr %18, align 8 store i64 0, ptr %19, align 8 store i64 0, ptr %20, align 8 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %22, 2 br i1 %23, label %24, label %27 24: ; preds = %2 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str) %26 = call i32 @exit(i32 noundef 1) #3 unreachable 27: ; preds = %2 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %28, 3 br i1 %29, label %30, label %33 30: ; preds = %27 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %32 = call i32 @exit(i32 noundef 1) #3 unreachable 33: ; preds = %27 %34 = load i32, ptr %4, align 4 %35 = icmp slt i32 %34, 4 br i1 %35, label %36, label %39 36: ; preds = %33 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %38 = call i32 @exit(i32 noundef 1) #3 unreachable 39: ; preds = %33 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds ptr, ptr %40, i64 1 %42 = load ptr, ptr %41, align 8 %43 = call ptr @fopen(ptr noundef %42, ptr noundef @.str.3) store ptr %43, ptr %7, align 8 %44 = load ptr, ptr %7, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %52, label %46 46: ; preds = %39 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds ptr, ptr %47, i64 1 %49 = load ptr, ptr %48, align 8 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %49) %51 = call i32 @exit(i32 noundef 1) #3 unreachable 52: ; preds = %39 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds ptr, ptr %53, i64 2 %55 = load ptr, ptr %54, align 8 %56 = call ptr @fopen(ptr noundef %55, ptr noundef @.str.3) store ptr %56, ptr %8, align 8 %57 = load ptr, ptr %8, align 8 %58 = icmp ne ptr %57, null br i1 %58, label %65, label %59 59: ; preds = %52 %60 = load ptr, ptr %5, align 8 %61 = getelementptr inbounds ptr, ptr %60, i64 2 %62 = load ptr, ptr %61, align 8 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %62) %64 = call i32 @exit(i32 noundef 1) #3 unreachable 65: ; preds = %52 %66 = load ptr, ptr %5, align 8 %67 = getelementptr inbounds ptr, ptr %66, i64 3 %68 = load ptr, ptr %67, align 8 %69 = call ptr @fopen(ptr noundef %68, ptr noundef @.str.6) store ptr %69, ptr %9, align 8 %70 = load ptr, ptr %9, align 8 %71 = icmp ne ptr %70, null br i1 %71, label %78, label %72 72: ; preds = %65 %73 = load ptr, ptr %5, align 8 %74 = getelementptr inbounds ptr, ptr %73, i64 3 %75 = load ptr, ptr %74, align 8 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %75) %77 = call i32 @exit(i32 noundef 1) #3 unreachable 78: ; preds = %65 %79 = load ptr, ptr %7, align 8 %80 = load i32, ptr @SEEK_END, align 4 %81 = call i32 @fseek(ptr noundef %79, i32 noundef 0, i32 noundef %80) %82 = load ptr, ptr %7, align 8 %83 = call i64 @ftell(ptr noundef %82) store i64 %83, ptr %11, align 8 %84 = load ptr, ptr %7, align 8 %85 = load i32, ptr @SEEK_SET, align 4 %86 = call i32 @fseek(ptr noundef %84, i32 noundef 0, i32 noundef %85) %87 = load ptr, ptr %5, align 8 %88 = getelementptr inbounds ptr, ptr %87, i64 1 %89 = load ptr, ptr %88, align 8 %90 = load i64, ptr %11, align 8 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %89, i64 noundef %90) %92 = load i64, ptr %11, align 8 store i64 %92, ptr %12, align 8 %93 = load i64, ptr %12, align 8 %94 = urem i64 %93, 4096 %95 = sub i64 4096, %94 store i64 %95, ptr %13, align 8 %96 = load i64, ptr %13, align 8 %97 = icmp ne i64 %96, 0 br i1 %97, label %98, label %104 98: ; preds = %78 %99 = load i64, ptr %13, align 8 %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i64 noundef %99) %101 = load i64, ptr %13, align 8 %102 = load i64, ptr %12, align 8 %103 = add i64 %102, %101 store i64 %103, ptr %12, align 8 br label %104 104: ; preds = %98, %78 %105 = load i64, ptr %12, align 8 %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i64 noundef %105) %107 = load ptr, ptr %8, align 8 %108 = load i32, ptr @SEEK_END, align 4 %109 = call i32 @fseek(ptr noundef %107, i32 noundef 0, i32 noundef %108) %110 = load ptr, ptr %8, align 8 %111 = call i64 @ftell(ptr noundef %110) store i64 %111, ptr %14, align 8 %112 = load ptr, ptr %8, align 8 %113 = load i32, ptr @SEEK_SET, align 4 %114 = call i32 @fseek(ptr noundef %112, i32 noundef 0, i32 noundef %113) %115 = load i64, ptr %14, align 8 %116 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i64 noundef %115) %117 = load i64, ptr %14, align 8 %118 = icmp eq i64 %117, 0 br i1 %118, label %119, label %122 119: ; preds = %104 %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %121 = call i32 @exit(i32 noundef 1) #3 unreachable 122: ; preds = %104 %123 = load i64, ptr %14, align 8 %124 = sub i64 %123, 65536 store i64 %124, ptr %15, align 8 %125 = load i64, ptr %15, align 8 %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i64 noundef %125) %127 = load i64, ptr %15, align 8 %128 = urem i64 %127, 4096 store i64 %128, ptr %16, align 8 %129 = load i64, ptr %15, align 8 store i64 %129, ptr %17, align 8 %130 = load i64, ptr %16, align 8 %131 = icmp ne i64 %130, 0 br i1 %131, label %132, label %137 132: ; preds = %122 %133 = load i64, ptr %16, align 8 %134 = sub i64 4096, %133 %135 = load i64, ptr %17, align 8 %136 = add i64 %135, %134 store i64 %136, ptr %17, align 8 br label %137 137: ; preds = %132, %122 %138 = load i64, ptr %17, align 8 %139 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i64 noundef %138) %140 = load i64, ptr %17, align 8 store i64 %140, ptr %18, align 8 %141 = load i64, ptr %12, align 8 %142 = udiv i64 %141, 4096 store i64 %142, ptr %19, align 8 %143 = load i64, ptr %19, align 8 %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i64 noundef %143) store i32 0, ptr %10, align 4 %145 = load i32, ptr %10, align 4 %146 = icmp ult i32 %145, 16 br i1 %146, label %.lr.ph, label %159 .lr.ph: ; preds = %137 br label %147 147: ; preds = %.lr.ph, %154 %148 = load ptr, ptr %8, align 8 %149 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %150 = call i32 @get4k(ptr noundef %148, ptr noundef %149) %151 = load ptr, ptr %9, align 8 %152 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %153 = call i32 @put4k(ptr noundef %151, ptr noundef %152) br label %154 154: ; preds = %147 %155 = load i32, ptr %10, align 4 %156 = add i32 %155, 1 store i32 %156, ptr %10, align 4 %157 = load i32, ptr %10, align 4 %158 = icmp ult i32 %157, 16 br i1 %158, label %147, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %154 br label %159 159: ; preds = %._crit_edge, %137 %160 = load i64, ptr %17, align 8 %161 = udiv i64 %160, 4096 store i64 %161, ptr %20, align 8 %162 = load ptr, ptr %8, align 8 %163 = load i32, ptr @SEEK_SET, align 4 %164 = call i32 @fseek(ptr noundef %162, i32 noundef 65536, i32 noundef %163) store i32 0, ptr %10, align 4 %165 = load i32, ptr %10, align 4 %166 = zext i32 %165 to i64 %167 = load i64, ptr %20, align 8 %168 = icmp ult i64 %166, %167 br i1 %168, label %.lr.ph2, label %199 .lr.ph2: ; preds = %159 br label %169 169: ; preds = %.lr.ph2, %192 %170 = load ptr, ptr %8, align 8 %171 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %172 = call i32 @get4k(ptr noundef %170, ptr noundef %171) %173 = load i32, ptr %10, align 4 %174 = icmp eq i32 %173, 0 br i1 %174, label %175, label %188 175: ; preds = %169 %176 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %177 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %178 = getelementptr inbounds i8, ptr %177, i64 60 store ptr %178, ptr %21, align 8 %179 = load i64, ptr %18, align 8 %180 = load ptr, ptr %21, align 8 store i64 %179, ptr %180, align 8 %181 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %182 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %183 = getelementptr inbounds i8, ptr %182, i64 68 store ptr %183, ptr %21, align 8 %184 = load i64, ptr %18, align 8 %185 = load i64, ptr %11, align 8 %186 = add i64 %184, %185 %187 = load ptr, ptr %21, align 8 store i64 %186, ptr %187, align 8 br label %188 188: ; preds = %175, %169 %189 = load ptr, ptr %9, align 8 %190 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %191 = call i32 @put4k(ptr noundef %189, ptr noundef %190) br label %192 192: ; preds = %188 %193 = load i32, ptr %10, align 4 %194 = add i32 %193, 1 store i32 %194, ptr %10, align 4 %195 = load i32, ptr %10, align 4 %196 = zext i32 %195 to i64 %197 = load i64, ptr %20, align 8 %198 = icmp ult i64 %196, %197 br i1 %198, label %169, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %192 br label %199 199: ; preds = %._crit_edge3, %159 store i32 0, ptr %10, align 4 %200 = load i32, ptr %10, align 4 %201 = zext i32 %200 to i64 %202 = load i64, ptr %19, align 8 %203 = icmp ult i64 %201, %202 br i1 %203, label %.lr.ph5, label %218 .lr.ph5: ; preds = %199 br label %204 204: ; preds = %.lr.ph5, %211 %205 = load ptr, ptr %7, align 8 %206 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %207 = call i32 @get4k(ptr noundef %205, ptr noundef %206) %208 = load ptr, ptr %9, align 8 %209 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %210 = call i32 @put4k(ptr noundef %208, ptr noundef %209) br label %211 211: ; preds = %204 %212 = load i32, ptr %10, align 4 %213 = add i32 %212, 1 store i32 %213, ptr %10, align 4 %214 = load i32, ptr %10, align 4 %215 = zext i32 %214 to i64 %216 = load i64, ptr %19, align 8 %217 = icmp ult i64 %215, %216 br i1 %217, label %204, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %211 br label %218 218: ; preds = %._crit_edge6, %199 %219 = load ptr, ptr %7, align 8 %220 = call i32 @fclose(ptr noundef %219) %221 = load ptr, ptr %8, align 8 %222 = call i32 @fclose(ptr noundef %221) %223 = load ptr, ptr %9, align 8 %224 = call i32 @fclose(ptr noundef %223) %225 = load ptr, ptr %5, align 8 %226 = getelementptr inbounds ptr, ptr %225, i64 3 %227 = load ptr, ptr %226, align 8 %228 = load i32, ptr @S_IRUSR, align 4 %229 = load i32, ptr @S_IWUSR, align 4 %230 = or i32 %228, %229 %231 = load i32, ptr @S_IXUSR, align 4 %232 = or i32 %230, %231 %233 = load i32, ptr @S_IRGRP, align 4 %234 = or i32 %232, %233 %235 = load i32, ptr @S_IXGRP, align 4 %236 = or i32 %234, %235 %237 = load i32, ptr @S_IROTH, align 4 %238 = or i32 %236, %237 %239 = load i32, ptr @S_IXOTH, align 4 %240 = or i32 %238, %239 %241 = call i32 @chmod(ptr noundef %227, i32 noundef %240) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare i32 @get4k(ptr noundef, ptr noundef) #1 declare i32 @put4k(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @chmod(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpdsms9cth.c' source_filename = "/tmp/tmpdsms9cth.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"recvfrom() failed\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @read_from_client(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 4, ptr %6, align 4 %7 = call i64 @malloc(i32 noundef 7) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %5, align 8 %9 = load i32, ptr %3, align 4 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i64 @recvfrom(i32 noundef %9, ptr noundef %10, i32 noundef 7, i32 noundef 0, ptr noundef %11, ptr noundef %6) %13 = icmp slt i64 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = load i32, ptr %3, align 4 %16 = call i32 @dieError(ptr noundef @.str, i32 noundef %15) br label %17 17: ; preds = %14, %2 %18 = load ptr, ptr %5, align 8 ret ptr %18 } declare i64 @malloc(i32 noundef) #1 declare i64 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @dieError(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/tmpdsms9cth.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"recvfrom() failed\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @read_from_client(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 4, ptr %6, align 4 %7 = call i64 @malloc(i32 noundef 7) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %5, align 8 %9 = load i32, ptr %3, align 4 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i64 @recvfrom(i32 noundef %9, ptr noundef %10, i32 noundef 7, i32 noundef 0, ptr noundef %11, ptr noundef %6) %13 = icmp slt i64 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = load i32, ptr %3, align 4 %16 = call i32 @dieError(ptr noundef @.str, i32 noundef %15) br label %17 17: ; preds = %14, %2 %18 = load ptr, ptr %5, align 8 ret ptr %18 } declare i64 @malloc(i32 noundef) #1 declare i64 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @dieError(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/tmp1uaycgon.c' source_filename = "/tmp/tmp1uaycgon.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 0, ptr %1, align 4 %2 = call i32 @iopl(i32 noundef 3) %3 = call i32 (...) @checkAllBusesPrint() %4 = call i32 (...) @checkAllBusesWright() ret i32 0 } declare i32 @iopl(i32 noundef) #1 declare i32 @checkAllBusesPrint(...) #1 declare i32 @checkAllBusesWright(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1uaycgon.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 0, ptr %1, align 4 %2 = call i32 @iopl(i32 noundef 3) %3 = call i32 (...) @checkAllBusesPrint() %4 = call i32 (...) @checkAllBusesWright() ret i32 0 } declare i32 @iopl(i32 noundef) #1 declare i32 @checkAllBusesPrint(...) #1 declare i32 @checkAllBusesWright(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprhlf0vjn.c' source_filename = "/tmp/tmprhlf0vjn.c" target datalayout = "e-m:e-p270: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 [34 x i8] c"The SVC library is not available\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 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr @stderr, align 4 %6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str) ret i32 0 } 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/tmprhlf0vjn.c" target datalayout = "e-m:e-p270: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 [34 x i8] c"The SVC library is not available\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 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr @stderr, align 4 %6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str) ret i32 0 } 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/tmpucqxb14_.c' source_filename = "/tmp/tmpucqxb14_.c" target datalayout = "e-m:e-p270: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"Error reading sequence length\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @readSequenceLength(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [8 x i8], align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = call i32 @htons(i32 noundef 1) %7 = icmp eq i32 %6, 1 br i1 %7, label %8, label %16 8: ; preds = %2 %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i32 @fread(ptr noundef %9, i32 noundef 1, i32 noundef 1, ptr noundef %10) %12 = icmp ne i32 %11, 1 br i1 %12, label %13, label %15 13: ; preds = %8 %14 = call i32 @terror(ptr noundef @.str) br label %15 15: ; preds = %13, %8 br label %27 16: ; preds = %2 %17 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0 %18 = load ptr, ptr %4, align 8 %19 = call i32 @fread(ptr noundef %17, i32 noundef 1, i32 noundef 1, ptr noundef %18) %20 = icmp ne i32 %19, 1 br i1 %20, label %21, label %23 21: ; preds = %16 %22 = call i32 @terror(ptr noundef @.str) br label %23 23: ; preds = %21, %16 %24 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0 %25 = load ptr, ptr %3, align 8 %26 = call i32 @endianessConversion(ptr noundef %24, ptr noundef %25, i32 noundef 1) br label %27 27: ; preds = %23, %15 ret void } declare i32 @htons(i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @terror(ptr noundef) #1 declare i32 @endianessConversion(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/tmpucqxb14_.c" target datalayout = "e-m:e-p270: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"Error reading sequence length\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @readSequenceLength(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [8 x i8], align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = call i32 @htons(i32 noundef 1) %7 = icmp eq i32 %6, 1 br i1 %7, label %8, label %16 8: ; preds = %2 %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i32 @fread(ptr noundef %9, i32 noundef 1, i32 noundef 1, ptr noundef %10) %12 = icmp ne i32 %11, 1 br i1 %12, label %13, label %15 13: ; preds = %8 %14 = call i32 @terror(ptr noundef @.str) br label %15 15: ; preds = %13, %8 br label %27 16: ; preds = %2 %17 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0 %18 = load ptr, ptr %4, align 8 %19 = call i32 @fread(ptr noundef %17, i32 noundef 1, i32 noundef 1, ptr noundef %18) %20 = icmp ne i32 %19, 1 br i1 %20, label %21, label %23 21: ; preds = %16 %22 = call i32 @terror(ptr noundef @.str) br label %23 23: ; preds = %21, %16 %24 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0 %25 = load ptr, ptr %3, align 8 %26 = call i32 @endianessConversion(ptr noundef %24, ptr noundef %25, i32 noundef 1) br label %27 27: ; preds = %23, %15 ret void } declare i32 @htons(i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @terror(ptr noundef) #1 declare i32 @endianessConversion(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/tmpu6nws4vu.c' source_filename = "/tmp/tmpu6nws4vu.c" target datalayout = "e-m:e-p270: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 [29 x i8] c"\0APlease enter first number:\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"\0APlease enter second number:\0A\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"Please enter non-zero numbers.\0A\00", align 1 @.str.4 = private unnamed_addr constant [49 x i8] c"The greatest common divisor of %d and %d is %d.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %35, %2 %9 = load i32, ptr %4, align 4 %10 = icmp eq i32 %9, 3 br i1 %10, label %11, label %20 11: ; preds = %8 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i32 @atoi(ptr noundef %14) store i32 %15, ptr %6, align 4 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 2 %18 = load ptr, ptr %17, align 8 %19 = call i32 @atoi(ptr noundef %18) store i32 %19, ptr %7, align 4 br label %25 20: ; preds = %8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str) %22 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %24 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7) br label %25 25: ; preds = %20, %11 %26 = load i32, ptr %6, align 4 %27 = icmp eq i32 %26, 0 br i1 %27, label %31, label %28 28: ; preds = %25 %29 = load i32, ptr %7, align 4 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %33 31: ; preds = %28, %25 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %34 33: ; preds = %28 br label %36 34: ; preds = %31 br label %35 35: ; preds = %34 br i1 true, label %8, label %36 36: ; preds = %35, %33 %37 = load i32, ptr %6, align 4 %38 = load i32, ptr %7, align 4 %39 = load i32, ptr %6, align 4 %40 = load i32, ptr %7, align 4 %41 = call i32 @gcdGen(i32 noundef %39, i32 noundef %40) %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %37, i32 noundef %38, i32 noundef %41) ret i32 0 } declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @gcdGen(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/tmpu6nws4vu.c" target datalayout = "e-m:e-p270: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 [29 x i8] c"\0APlease enter first number:\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"\0APlease enter second number:\0A\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"Please enter non-zero numbers.\0A\00", align 1 @.str.4 = private unnamed_addr constant [49 x i8] c"The greatest common divisor of %d and %d is %d.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %35, %2 %9 = load i32, ptr %4, align 4 %10 = icmp eq i32 %9, 3 br i1 %10, label %11, label %20 11: ; preds = %8 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i32 @atoi(ptr noundef %14) store i32 %15, ptr %6, align 4 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 2 %18 = load ptr, ptr %17, align 8 %19 = call i32 @atoi(ptr noundef %18) store i32 %19, ptr %7, align 4 br label %25 20: ; preds = %8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str) %22 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %24 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7) br label %25 25: ; preds = %20, %11 %26 = load i32, ptr %6, align 4 %27 = icmp eq i32 %26, 0 br i1 %27, label %31, label %28 28: ; preds = %25 %29 = load i32, ptr %7, align 4 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %33 31: ; preds = %28, %25 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %34 33: ; preds = %28 br label %36 34: ; preds = %31 br label %35 35: ; preds = %34 br i1 true, label %8, label %.loopexit .loopexit: ; preds = %35 br label %36 36: ; preds = %.loopexit, %33 %37 = load i32, ptr %6, align 4 %38 = load i32, ptr %7, align 4 %39 = load i32, ptr %6, align 4 %40 = load i32, ptr %7, align 4 %41 = call i32 @gcdGen(i32 noundef %39, i32 noundef %40) %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %37, i32 noundef %38, i32 noundef %41) ret i32 0 } declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @gcdGen(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/tmptm1gfond.c' source_filename = "/tmp/tmptm1gfond.c" target datalayout = "e-m:e-p270: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"Atleast one argument expected\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%d %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 i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %11, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp eq i32 %13, 3 br i1 %14, label %15, label %27 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = call i32 @atoi(ptr noundef %18) %20 = sext i32 %19 to i64 store i64 %20, ptr %7, 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 i32 @atoi(ptr noundef %23) %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 store i64 %26, ptr %8, align 8 br label %42 27: ; preds = %2 %28 = load i32, ptr %4, align 4 %29 = icmp eq i32 %28, 2 br i1 %29, label %30, label %38 30: ; preds = %27 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 1 %33 = load ptr, ptr %32, align 8 %34 = call i32 @atoi(ptr noundef %33) %35 = sext i32 %34 to i64 store i64 %35, ptr %7, align 8 %36 = load i64, ptr %7, align 8 %37 = add i64 %36, 1 store i64 %37, ptr %8, align 8 br label %41 38: ; preds = %27 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str) %40 = call i32 @exit(i32 noundef 0) #3 unreachable 41: ; preds = %30 br label %42 42: ; preds = %41, %15 %43 = load i64, ptr %7, align 8 store i64 %43, ptr %6, align 8 br label %44 44: ; preds = %106, %42 %45 = load i64, ptr %6, align 8 %46 = load i64, ptr %8, align 8 %47 = icmp ule i64 %45, %46 br i1 %47, label %48, label %109 48: ; preds = %44 %49 = load i64, ptr %6, align 8 %50 = trunc i64 %49 to i32 store i32 %50, ptr %9, align 4 store i32 1, ptr %12, align 4 br label %51 51: ; preds = %95, %48 %52 = load i64, ptr %6, align 8 %53 = icmp ne i64 %52, 1 br i1 %53, label %54, label %96 54: ; preds = %51 %55 = load i64, ptr %6, align 8 %56 = urem i64 %55, 2 %57 = icmp eq i64 %56, 0 br i1 %57, label %58, label %89 58: ; preds = %54 %59 = load i64, ptr %6, align 8 %60 = icmp ne i64 %59, 0 %61 = zext i1 %60 to i32 %62 = load i64, ptr %6, align 8 %63 = icmp ne i64 %62, 0 br i1 %63, label %64, label %68 64: ; preds = %58 %65 = load i64, ptr %6, align 8 %66 = sub i64 %65, 1 %67 = icmp ne i64 %66, 0 br label %68 68: ; preds = %64, %58 %69 = phi i1 [ false, %58 ], [ %67, %64 ] %70 = zext i1 %69 to i32 %71 = icmp eq i32 %70, 0 %72 = zext i1 %71 to i32 %73 = and i32 %61, %72 %74 = icmp ne i32 %73, 0 br i1 %74, label %75, label %83 75: ; preds = %68 %76 = load i64, ptr %6, align 8 %77 = trunc i64 %76 to i32 %78 = call i32 @log(i32 noundef %77) %79 = call i32 @log(i32 noundef 2) %80 = sdiv i32 %78, %79 %81 = load i32, ptr %12, align 4 %82 = add nsw i32 %81, %80 store i32 %82, ptr %12, align 4 br label %96 83: ; preds = %68 %84 = load i64, ptr %6, align 8 %85 = udiv i64 %84, 2 store i64 %85, ptr %6, align 8 %86 = load i32, ptr %12, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %12, align 4 br label %88 88: ; preds = %83 br label %95 89: ; preds = %54 %90 = load i64, ptr %6, align 8 %91 = mul i64 3, %90 %92 = add i64 %91, 1 store i64 %92, ptr %6, align 8 %93 = load i32, ptr %12, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %12, align 4 br label %95 95: ; preds = %89, %88 br label %51, !llvm.loop !6 96: ; preds = %75, %51 %97 = load i32, ptr %12, align 4 %98 = load i32, ptr %11, align 4 %99 = icmp sgt i32 %97, %98 br i1 %99, label %100, label %103 100: ; preds = %96 %101 = load i32, ptr %12, align 4 store i32 %101, ptr %11, align 4 %102 = load i32, ptr %9, align 4 store i32 %102, ptr %10, align 4 br label %103 103: ; preds = %100, %96 %104 = load i32, ptr %9, align 4 %105 = sext i32 %104 to i64 store i64 %105, ptr %6, align 8 br label %106 106: ; preds = %103 %107 = load i64, ptr %6, align 8 %108 = add i64 %107, 1 store i64 %108, ptr %6, align 8 br label %44, !llvm.loop !8 109: ; preds = %44 %110 = load i64, ptr %7, align 8 %111 = load i64, ptr %8, align 8 %112 = load i32, ptr %11, align 4 %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %110, i64 noundef %111, i32 noundef %112) %114 = load i32, ptr %3, align 4 ret i32 %114 } declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @log(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptm1gfond.c" target datalayout = "e-m:e-p270: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"Atleast one argument expected\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%d %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 i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %11, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp eq i32 %13, 3 br i1 %14, label %15, label %27 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = call i32 @atoi(ptr noundef %18) %20 = sext i32 %19 to i64 store i64 %20, ptr %7, 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 i32 @atoi(ptr noundef %23) %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 store i64 %26, ptr %8, align 8 br label %42 27: ; preds = %2 %28 = load i32, ptr %4, align 4 %29 = icmp eq i32 %28, 2 br i1 %29, label %30, label %38 30: ; preds = %27 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 1 %33 = load ptr, ptr %32, align 8 %34 = call i32 @atoi(ptr noundef %33) %35 = sext i32 %34 to i64 store i64 %35, ptr %7, align 8 %36 = load i64, ptr %7, align 8 %37 = add i64 %36, 1 store i64 %37, ptr %8, align 8 br label %41 38: ; preds = %27 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str) %40 = call i32 @exit(i32 noundef 0) #3 unreachable 41: ; preds = %30 br label %42 42: ; preds = %41, %15 %43 = load i64, ptr %7, align 8 store i64 %43, ptr %6, align 8 %44 = load i64, ptr %6, align 8 %45 = load i64, ptr %8, align 8 %46 = icmp ule i64 %44, %45 br i1 %46, label %.lr.ph1, label %112 .lr.ph1: ; preds = %42 br label %47 47: ; preds = %.lr.ph1, %106 %48 = load i64, ptr %6, align 8 %49 = trunc i64 %48 to i32 store i32 %49, ptr %9, align 4 store i32 1, ptr %12, align 4 %50 = load i64, ptr %6, align 8 %51 = icmp ne i64 %50, 1 br i1 %51, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %47 br label %52 52: ; preds = %.lr.ph, %93 %53 = load i64, ptr %6, align 8 %54 = urem i64 %53, 2 %55 = icmp eq i64 %54, 0 br i1 %55, label %56, label %87 56: ; preds = %52 %57 = load i64, ptr %6, align 8 %58 = icmp ne i64 %57, 0 %59 = zext i1 %58 to i32 %60 = load i64, ptr %6, align 8 %61 = icmp ne i64 %60, 0 br i1 %61, label %62, label %66 62: ; preds = %56 %63 = load i64, ptr %6, align 8 %64 = sub i64 %63, 1 %65 = icmp ne i64 %64, 0 br label %66 66: ; preds = %62, %56 %67 = phi i1 [ false, %56 ], [ %65, %62 ] %68 = zext i1 %67 to i32 %69 = icmp eq i32 %68, 0 %70 = zext i1 %69 to i32 %71 = and i32 %59, %70 %72 = icmp ne i32 %71, 0 br i1 %72, label %73, label %81 73: ; preds = %66 %74 = load i64, ptr %6, align 8 %75 = trunc i64 %74 to i32 %76 = call i32 @log(i32 noundef %75) %77 = call i32 @log(i32 noundef 2) %78 = sdiv i32 %76, %77 %79 = load i32, ptr %12, align 4 %80 = add nsw i32 %79, %78 store i32 %80, ptr %12, align 4 br label %96 81: ; preds = %66 %82 = load i64, ptr %6, align 8 %83 = udiv i64 %82, 2 store i64 %83, ptr %6, align 8 %84 = load i32, ptr %12, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %12, align 4 br label %86 86: ; preds = %81 br label %93 87: ; preds = %52 %88 = load i64, ptr %6, align 8 %89 = mul i64 3, %88 %90 = add i64 %89, 1 store i64 %90, ptr %6, align 8 %91 = load i32, ptr %12, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %12, align 4 br label %93 93: ; preds = %87, %86 %94 = load i64, ptr %6, align 8 %95 = icmp ne i64 %94, 1 br i1 %95, label %52, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %93 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %47 br label %96 96: ; preds = %.loopexit, %73 %97 = load i32, ptr %12, align 4 %98 = load i32, ptr %11, align 4 %99 = icmp sgt i32 %97, %98 br i1 %99, label %100, label %103 100: ; preds = %96 %101 = load i32, ptr %12, align 4 store i32 %101, ptr %11, align 4 %102 = load i32, ptr %9, align 4 store i32 %102, ptr %10, align 4 br label %103 103: ; preds = %100, %96 %104 = load i32, ptr %9, align 4 %105 = sext i32 %104 to i64 store i64 %105, ptr %6, align 8 br label %106 106: ; preds = %103 %107 = load i64, ptr %6, align 8 %108 = add i64 %107, 1 store i64 %108, ptr %6, align 8 %109 = load i64, ptr %6, align 8 %110 = load i64, ptr %8, align 8 %111 = icmp ule i64 %109, %110 br i1 %111, label %47, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %106 br label %112 112: ; preds = %._crit_edge, %42 %113 = load i64, ptr %7, align 8 %114 = load i64, ptr %8, align 8 %115 = load i32, ptr %11, align 4 %116 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %113, i64 noundef %114, i32 noundef %115) %117 = load i32, ptr %3, align 4 ret i32 %117 } declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @log(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp8evws52z.c' source_filename = "/tmp/tmp8evws52z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__NR_write = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"foo\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"bar\0A\00", align 1 @errno = dso_local global i32 0, align 4 @EBADF = dso_local global i32 0, align 4 ; 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 %4 = load i32, ptr @__NR_write, align 4 %5 = call i32 @syscall(i32 noundef %4, i32 noundef 1, ptr noundef @.str, i32 noundef 4) %6 = load i32, ptr @__NR_write, align 4 %7 = call i32 @syscall(i32 noundef %6, i32 noundef 23, ptr noundef @.str.1, i32 noundef 4) store i32 %7, ptr %2, align 4 %8 = load i32, ptr @errno, align 4 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp eq i32 %9, -1 %11 = zext i1 %10 to i32 %12 = call i32 @assert(i32 noundef %11) %13 = load i32, ptr %3, align 4 %14 = load i32, ptr @EBADF, align 4 %15 = icmp eq i32 %13, %14 %16 = zext i1 %15 to i32 %17 = call i32 @assert(i32 noundef %16) ret i32 0 } declare i32 @syscall(i32 noundef, i32 noundef, ptr noundef, 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8evws52z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__NR_write = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"foo\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"bar\0A\00", align 1 @errno = dso_local global i32 0, align 4 @EBADF = dso_local global i32 0, align 4 ; 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 %4 = load i32, ptr @__NR_write, align 4 %5 = call i32 @syscall(i32 noundef %4, i32 noundef 1, ptr noundef @.str, i32 noundef 4) %6 = load i32, ptr @__NR_write, align 4 %7 = call i32 @syscall(i32 noundef %6, i32 noundef 23, ptr noundef @.str.1, i32 noundef 4) store i32 %7, ptr %2, align 4 %8 = load i32, ptr @errno, align 4 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp eq i32 %9, -1 %11 = zext i1 %10 to i32 %12 = call i32 @assert(i32 noundef %11) %13 = load i32, ptr %3, align 4 %14 = load i32, ptr @EBADF, align 4 %15 = icmp eq i32 %13, %14 %16 = zext i1 %15 to i32 %17 = call i32 @assert(i32 noundef %16) ret i32 0 } declare i32 @syscall(i32 noundef, i32 noundef, ptr noundef, 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"}
; ModuleID = '/tmp/tmpx4zrxsgf.c' source_filename = "/tmp/tmpx4zrxsgf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getkeyval(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = call i32 (...) @echo() %6 = call i32 @curs_set(i32 noundef 1) %7 = call i32 @move(i32 noundef 1, i32 noundef 5) %8 = load ptr, ptr %3, align 8 %9 = call i32 @getstr(ptr noundef %8) %10 = call i32 @move(i32 noundef 2, i32 noundef 7) %11 = load ptr, ptr %4, align 8 %12 = call i32 @getstr(ptr noundef %11) ret void } declare i32 @echo(...) #1 declare i32 @curs_set(i32 noundef) #1 declare i32 @move(i32 noundef, i32 noundef) #1 declare i32 @getstr(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/tmpx4zrxsgf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getkeyval(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = call i32 (...) @echo() %6 = call i32 @curs_set(i32 noundef 1) %7 = call i32 @move(i32 noundef 1, i32 noundef 5) %8 = load ptr, ptr %3, align 8 %9 = call i32 @getstr(ptr noundef %8) %10 = call i32 @move(i32 noundef 2, i32 noundef 7) %11 = load ptr, ptr %4, align 8 %12 = call i32 @getstr(ptr noundef %11) ret void } declare i32 @echo(...) #1 declare i32 @curs_set(i32 noundef) #1 declare i32 @move(i32 noundef, i32 noundef) #1 declare i32 @getstr(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"}