llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpfidz08lz.c' source_filename = "/tmp/tmpfidz08lz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Usage: %s [options]\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"Options:\0A\00", align 1 @.str.2 = private unnamed_addr constant [53 x i8] c" -a Set cwd to app dir before starting\0A\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c" -d <number> Debuglevel (0-9)\0A\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c" -D <mod,mod..> Debug modules\0A\00", align 1 @.str.5 = private unnamed_addr constant [31 x i8] c" -m Disable mDNS\0A\00", align 1 @.str.6 = private unnamed_addr constant [43 x i8] c" -c <file> Use configfile specified\0A\00", align 1 @.str.7 = private unnamed_addr constant [50 x i8] c" -P <file> Write the PID ot specified file\0A\00", align 1 @.str.8 = private unnamed_addr constant [36 x i8] c" -f Run in foreground\0A\00", align 1 @.str.9 = private unnamed_addr constant [57 x i8] c" -y Yes, go ahead and run as non-root user\0A\00", align 1 @.str.10 = private unnamed_addr constant [39 x i8] c" -b <id> ffid to be broadcast\0A\00", align 1 @.str.11 = private unnamed_addr constant [46 x i8] c" -V Display version information\0A\00", align 1 @.str.12 = private unnamed_addr constant [59 x i8] c" -k Kill a running daemon (based on pidfile)\0A\00", align 1 @.str.13 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 @.str.14 = private unnamed_addr constant [22 x i8] c"Valid debug modules:\0A\00", align 1 @.str.15 = private unnamed_addr constant [52 x i8] c" config,webserver,database,scan,query,index,browse\0A\00", align 1 @.str.16 = private unnamed_addr constant [35 x i8] c" playlist,art,daap,main,rend,misc\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) 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/tmpfidz08lz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Usage: %s [options]\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"Options:\0A\00", align 1 @.str.2 = private unnamed_addr constant [53 x i8] c" -a Set cwd to app dir before starting\0A\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c" -d <number> Debuglevel (0-9)\0A\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c" -D <mod,mod..> Debug modules\0A\00", align 1 @.str.5 = private unnamed_addr constant [31 x i8] c" -m Disable mDNS\0A\00", align 1 @.str.6 = private unnamed_addr constant [43 x i8] c" -c <file> Use configfile specified\0A\00", align 1 @.str.7 = private unnamed_addr constant [50 x i8] c" -P <file> Write the PID ot specified file\0A\00", align 1 @.str.8 = private unnamed_addr constant [36 x i8] c" -f Run in foreground\0A\00", align 1 @.str.9 = private unnamed_addr constant [57 x i8] c" -y Yes, go ahead and run as non-root user\0A\00", align 1 @.str.10 = private unnamed_addr constant [39 x i8] c" -b <id> ffid to be broadcast\0A\00", align 1 @.str.11 = private unnamed_addr constant [46 x i8] c" -V Display version information\0A\00", align 1 @.str.12 = private unnamed_addr constant [59 x i8] c" -k Kill a running daemon (based on pidfile)\0A\00", align 1 @.str.13 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 @.str.14 = private unnamed_addr constant [22 x i8] c"Valid debug modules:\0A\00", align 1 @.str.15 = private unnamed_addr constant [52 x i8] c" config,webserver,database,scan,query,index,browse\0A\00", align 1 @.str.16 = private unnamed_addr constant [35 x i8] c" playlist,art,daap,main,rend,misc\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) 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/tmpwdlz4ejl.c' source_filename = "/tmp/tmpwdlz4ejl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"layout.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.4 = private unnamed_addr constant [67 x i8] c"H pinakida kai to diagramma theseon apothikeytikan sto layout.txt\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @writePlanFile(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %10 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %7, align 8 %12 = load ptr, ptr %6, align 8 %13 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef @.str.2, ptr noundef %12) store i32 0, ptr %8, align 4 br label %14 14: ; preds = %49, %3 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %5, align 4 %17 = sub nsw i32 %16, 5 %18 = icmp slt i32 %15, %17 br i1 %18, label %19, label %52 19: ; preds = %14 store i32 0, ptr %9, align 4 br label %20 20: ; preds = %43, %19 %21 = load i32, ptr %9, align 4 %22 = icmp sle i32 %21, 3 br i1 %22, label %23, label %46 23: ; preds = %20 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %8, align 4 %26 = load i32, ptr %9, align 4 %27 = add nsw i32 %25, %26 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %24, i64 %28 %30 = load i32, ptr %29, align 4 %31 = icmp ne i32 %30, 0 %32 = zext i1 %31 to i64 %33 = select i1 %31, i32 42, i32 95 %34 = trunc i32 %33 to i8 %35 = load ptr, ptr %7, align 8 %36 = call i32 @putc(i8 noundef signext %34, ptr noundef %35) %37 = load i32, ptr %9, align 4 %38 = icmp eq i32 %37, 1 br i1 %38, label %39, label %42 39: ; preds = %23 %40 = load ptr, ptr %7, align 8 %41 = call i32 @putc(i8 noundef signext 32, ptr noundef %40) br label %42 42: ; preds = %39, %23 br label %43 43: ; preds = %42 %44 = load i32, ptr %9, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %9, align 4 br label %20, !llvm.loop !6 46: ; preds = %20 %47 = load ptr, ptr %7, align 8 %48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str.3) br label %49 49: ; preds = %46 %50 = load i32, ptr %8, align 4 %51 = add nsw i32 %50, 4 store i32 %51, ptr %8, align 4 br label %14, !llvm.loop !8 52: ; preds = %14 %53 = load i32, ptr %5, align 4 %54 = sub nsw i32 %53, 5 store i32 %54, ptr %8, align 4 br label %55 55: ; preds = %71, %52 %56 = load i32, ptr %8, align 4 %57 = load i32, ptr %5, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %59, label %74 59: ; preds = %55 %60 = load ptr, ptr %4, align 8 %61 = load i32, ptr %8, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %60, i64 %62 %64 = load i32, ptr %63, align 4 %65 = icmp ne i32 %64, 0 %66 = zext i1 %65 to i64 %67 = select i1 %65, i32 42, i32 95 %68 = trunc i32 %67 to i8 %69 = load ptr, ptr %7, align 8 %70 = call i32 @putc(i8 noundef signext %68, ptr noundef %69) br label %71 71: ; preds = %59 %72 = load i32, ptr %8, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %8, align 4 br label %55, !llvm.loop !9 74: ; preds = %55 %75 = load ptr, ptr %7, align 8 %76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %75, ptr noundef @.str.3) %77 = load ptr, ptr %7, align 8 %78 = call i32 @fclose(ptr noundef %77) %79 = call i32 @printf(ptr noundef @.str.4) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @putc(i8 noundef signext, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwdlz4ejl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"layout.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.4 = private unnamed_addr constant [67 x i8] c"H pinakida kai to diagramma theseon apothikeytikan sto layout.txt\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @writePlanFile(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %10 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %7, align 8 %12 = load ptr, ptr %6, align 8 %13 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef @.str.2, ptr noundef %12) store i32 0, ptr %8, align 4 %14 = load i32, ptr %8, align 4 %15 = load i32, ptr %5, align 4 %16 = sub nsw i32 %15, 5 %17 = icmp slt i32 %14, %16 br i1 %17, label %.lr.ph2, label %56 .lr.ph2: ; preds = %3 br label %18 18: ; preds = %.lr.ph2, %49 store i32 0, ptr %9, align 4 %19 = load i32, ptr %9, align 4 %20 = icmp sle i32 %19, 3 br i1 %20, label %.lr.ph, label %46 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %41 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %8, align 4 %24 = load i32, ptr %9, align 4 %25 = add nsw i32 %23, %24 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %22, i64 %26 %28 = load i32, ptr %27, align 4 %29 = icmp ne i32 %28, 0 %30 = zext i1 %29 to i64 %31 = select i1 %29, i32 42, i32 95 %32 = trunc i32 %31 to i8 %33 = load ptr, ptr %7, align 8 %34 = call i32 @putc(i8 noundef signext %32, ptr noundef %33) %35 = load i32, ptr %9, align 4 %36 = icmp eq i32 %35, 1 br i1 %36, label %37, label %40 37: ; preds = %21 %38 = load ptr, ptr %7, align 8 %39 = call i32 @putc(i8 noundef signext 32, ptr noundef %38) br label %40 40: ; preds = %37, %21 br label %41 41: ; preds = %40 %42 = load i32, ptr %9, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %9, align 4 %44 = load i32, ptr %9, align 4 %45 = icmp sle i32 %44, 3 br i1 %45, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %46 46: ; preds = %._crit_edge, %18 %47 = load ptr, ptr %7, align 8 %48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str.3) br label %49 49: ; preds = %46 %50 = load i32, ptr %8, align 4 %51 = add nsw i32 %50, 4 store i32 %51, ptr %8, align 4 %52 = load i32, ptr %8, align 4 %53 = load i32, ptr %5, align 4 %54 = sub nsw i32 %53, 5 %55 = icmp slt i32 %52, %54 br i1 %55, label %18, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %49 br label %56 56: ; preds = %._crit_edge3, %3 %57 = load i32, ptr %5, align 4 %58 = sub nsw i32 %57, 5 store i32 %58, ptr %8, align 4 %59 = load i32, ptr %8, align 4 %60 = load i32, ptr %5, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %.lr.ph5, label %80 .lr.ph5: ; preds = %56 br label %62 62: ; preds = %.lr.ph5, %74 %63 = load ptr, ptr %4, align 8 %64 = load i32, ptr %8, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i32, ptr %63, i64 %65 %67 = load i32, ptr %66, align 4 %68 = icmp ne i32 %67, 0 %69 = zext i1 %68 to i64 %70 = select i1 %68, i32 42, i32 95 %71 = trunc i32 %70 to i8 %72 = load ptr, ptr %7, align 8 %73 = call i32 @putc(i8 noundef signext %71, ptr noundef %72) br label %74 74: ; preds = %62 %75 = load i32, ptr %8, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %8, align 4 %77 = load i32, ptr %8, align 4 %78 = load i32, ptr %5, align 4 %79 = icmp slt i32 %77, %78 br i1 %79, label %62, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %74 br label %80 80: ; preds = %._crit_edge6, %56 %81 = load ptr, ptr %7, align 8 %82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %81, ptr noundef @.str.3) %83 = load ptr, ptr %7, align 8 %84 = call i32 @fclose(ptr noundef %83) %85 = call i32 @printf(ptr noundef @.str.4) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @putc(i8 noundef signext, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp9gl4aai8.c' source_filename = "/tmp/tmp9gl4aai8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Invalid input string\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [35 x i8] c"Invalid input: line %d of section\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @parse_int8_t_array(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %9, align 4 %11 = load ptr, ptr %4, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %3 br label %14 14: ; preds = %13, %3 %15 = phi i1 [ false, %3 ], [ true, %13 ] %16 = zext i1 %15 to i32 %17 = call i32 @assert(i32 noundef %16) %18 = load ptr, ptr %4, align 8 %19 = call ptr @strtok(ptr noundef %18, ptr noundef @.str.1) store ptr %19, ptr %7, align 8 br label %20 20: ; preds = %41, %14 %21 = load ptr, ptr %7, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %23, label %27 23: ; preds = %20 %24 = load i32, ptr %9, align 4 %25 = load i32, ptr %6, align 4 %26 = icmp slt i32 %24, %25 br label %27 27: ; preds = %23, %20 %28 = phi i1 [ false, %20 ], [ %26, %23 ] br i1 %28, label %29, label %54 29: ; preds = %27 %30 = load ptr, ptr %7, align 8 store ptr %30, ptr %8, align 8 %31 = load ptr, ptr %7, align 8 %32 = call i64 @strtol(ptr noundef %31, ptr noundef %8, i32 noundef 10) store i64 %32, ptr %10, align 8 %33 = load ptr, ptr %8, align 8 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 %35, 0 br i1 %36, label %37, label %41 37: ; preds = %29 %38 = load i32, ptr @stderr, align 4 %39 = load i32, ptr %9, align 4 %40 = call i32 @fprintf(i32 noundef %38, ptr noundef @.str.2, i32 noundef %39) br label %41 41: ; preds = %37, %29 %42 = load i64, ptr %10, align 8 %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %9, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i64, ptr %43, i64 %45 store i64 %42, ptr %46, align 8 %47 = load i32, ptr %9, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %9, align 4 %49 = load ptr, ptr %7, align 8 %50 = load ptr, ptr %7, align 8 %51 = call i64 @strlen(ptr noundef %50) %52 = getelementptr inbounds i8, ptr %49, i64 %51 store i8 10, ptr %52, align 1 %53 = call ptr @strtok(ptr noundef null, ptr noundef @.str.1) store ptr %53, ptr %7, align 8 br label %20, !llvm.loop !6 54: ; preds = %27 %55 = load ptr, ptr %7, align 8 %56 = icmp ne ptr %55, null br i1 %56, label %57, label %62 57: ; preds = %54 %58 = load ptr, ptr %7, align 8 %59 = load ptr, ptr %7, align 8 %60 = call i64 @strlen(ptr noundef %59) %61 = getelementptr inbounds i8, ptr %58, i64 %60 store i8 10, ptr %61, align 1 br label %62 62: ; preds = %57, %54 ret i32 0 } declare i32 @assert(i32 noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp9gl4aai8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Invalid input string\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [35 x i8] c"Invalid input: line %d of section\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @parse_int8_t_array(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %9, align 4 %11 = load ptr, ptr %4, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %3 br label %14 14: ; preds = %13, %3 %15 = phi i1 [ false, %3 ], [ true, %13 ] %16 = zext i1 %15 to i32 %17 = call i32 @assert(i32 noundef %16) %18 = load ptr, ptr %4, align 8 %19 = call ptr @strtok(ptr noundef %18, ptr noundef @.str.1) store ptr %19, ptr %7, align 8 br label %20 20: ; preds = %41, %14 %21 = load ptr, ptr %7, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %23, label %27 23: ; preds = %20 %24 = load i32, ptr %9, align 4 %25 = load i32, ptr %6, align 4 %26 = icmp slt i32 %24, %25 br label %27 27: ; preds = %23, %20 %28 = phi i1 [ false, %20 ], [ %26, %23 ] br i1 %28, label %29, label %54 29: ; preds = %27 %30 = load ptr, ptr %7, align 8 store ptr %30, ptr %8, align 8 %31 = load ptr, ptr %7, align 8 %32 = call i64 @strtol(ptr noundef %31, ptr noundef %8, i32 noundef 10) store i64 %32, ptr %10, align 8 %33 = load ptr, ptr %8, align 8 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 %35, 0 br i1 %36, label %37, label %41 37: ; preds = %29 %38 = load i32, ptr @stderr, align 4 %39 = load i32, ptr %9, align 4 %40 = call i32 @fprintf(i32 noundef %38, ptr noundef @.str.2, i32 noundef %39) br label %41 41: ; preds = %37, %29 %42 = load i64, ptr %10, align 8 %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %9, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i64, ptr %43, i64 %45 store i64 %42, ptr %46, align 8 %47 = load i32, ptr %9, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %9, align 4 %49 = load ptr, ptr %7, align 8 %50 = load ptr, ptr %7, align 8 %51 = call i64 @strlen(ptr noundef %50) %52 = getelementptr inbounds i8, ptr %49, i64 %51 store i8 10, ptr %52, align 1 %53 = call ptr @strtok(ptr noundef null, ptr noundef @.str.1) store ptr %53, ptr %7, align 8 br label %20, !llvm.loop !6 54: ; preds = %27 %55 = load ptr, ptr %7, align 8 %56 = icmp ne ptr %55, null br i1 %56, label %57, label %62 57: ; preds = %54 %58 = load ptr, ptr %7, align 8 %59 = load ptr, ptr %7, align 8 %60 = call i64 @strlen(ptr noundef %59) %61 = getelementptr inbounds i8, ptr %58, i64 %60 store i8 10, ptr %61, align 1 br label %62 62: ; preds = %57, %54 ret i32 0 } declare i32 @assert(i32 noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmprbmpnwns.c' source_filename = "/tmp/tmprbmpnwns.c" target datalayout = "e-m:e-p270: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/tmprbmpnwns.c" target datalayout = "e-m:e-p270: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/tmp4vog_4rd.c' source_filename = "/tmp/tmp4vog_4rd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isSmallNumber(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 double @llvm.fabs.f64(double %3) %5 = fcmp olt double %4, 0x3E7AD7F29ABCAF48 %6 = zext i1 %5 to i32 ret i32 %6 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4vog_4rd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isSmallNumber(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 double @llvm.fabs.f64(double %3) %5 = fcmp olt double %4, 0x3E7AD7F29ABCAF48 %6 = zext i1 %5 to i32 ret i32 %6 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqhqm6icy.c' source_filename = "/tmp/tmpqhqm6icy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_getlong(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 %5 = load ptr, ptr %2, align 8 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds i32, ptr %6, i32 1 store ptr %7, ptr %3, align 8 %8 = load i32, ptr %6, align 4 store i32 %8, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = shl i32 %9, 8 store i32 %10, ptr %4, align 4 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds i32, ptr %11, i32 1 store ptr %12, ptr %3, align 8 %13 = load i32, ptr %11, align 4 %14 = load i32, ptr %4, align 4 %15 = or i32 %14, %13 store i32 %15, ptr %4, align 4 %16 = load i32, ptr %4, align 4 %17 = shl i32 %16, 8 store i32 %17, ptr %4, align 4 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds i32, ptr %18, i32 1 store ptr %19, ptr %3, align 8 %20 = load i32, ptr %18, align 4 %21 = load i32, ptr %4, align 4 %22 = or i32 %21, %20 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = shl i32 %23, 8 store i32 %24, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %26, align 4 %28 = or i32 %25, %27 ret i32 %28 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqhqm6icy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_getlong(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 %5 = load ptr, ptr %2, align 8 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds i32, ptr %6, i32 1 store ptr %7, ptr %3, align 8 %8 = load i32, ptr %6, align 4 store i32 %8, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = shl i32 %9, 8 store i32 %10, ptr %4, align 4 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds i32, ptr %11, i32 1 store ptr %12, ptr %3, align 8 %13 = load i32, ptr %11, align 4 %14 = load i32, ptr %4, align 4 %15 = or i32 %14, %13 store i32 %15, ptr %4, align 4 %16 = load i32, ptr %4, align 4 %17 = shl i32 %16, 8 store i32 %17, ptr %4, align 4 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds i32, ptr %18, i32 1 store ptr %19, ptr %3, align 8 %20 = load i32, ptr %18, align 4 %21 = load i32, ptr %4, align 4 %22 = or i32 %21, %20 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = shl i32 %23, 8 store i32 %24, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %26, align 4 %28 = or i32 %25, %27 ret i32 %28 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4tfadno8.c' source_filename = "/tmp/tmp4tfadno8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findleft() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @con_getch() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %0 %7 = load i32, ptr %2, align 4 %8 = icmp sgt i32 %7, 255 br i1 %8, label %9, label %10 9: ; preds = %6, %0 store i32 1, ptr %1, align 4 br label %13 10: ; preds = %6 %11 = load i32, ptr %2, align 4 %12 = call i32 @fleft(i32 noundef %11) store i32 %12, ptr %1, align 4 br label %13 13: ; preds = %10, %9 %14 = load i32, ptr %1, align 4 ret i32 %14 } declare i32 @con_getch(...) #1 declare i32 @fleft(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/tmp4tfadno8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findleft() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @con_getch() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %0 %7 = load i32, ptr %2, align 4 %8 = icmp sgt i32 %7, 255 br i1 %8, label %9, label %10 9: ; preds = %6, %0 store i32 1, ptr %1, align 4 br label %13 10: ; preds = %6 %11 = load i32, ptr %2, align 4 %12 = call i32 @fleft(i32 noundef %11) store i32 %12, ptr %1, align 4 br label %13 13: ; preds = %10, %9 %14 = load i32, ptr %1, align 4 ret i32 %14 } declare i32 @con_getch(...) #1 declare i32 @fleft(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/tmp6x6fnayo.c' source_filename = "/tmp/tmp6x6fnayo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_LN2 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @init_bit_table_const(i64 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i64 %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %11 = load i64, ptr %5, align 8 %12 = uitofp i64 %11 to double %13 = call i32 @log(double noundef %12) %14 = load i32, ptr @M_LN2, align 4 %15 = sdiv i32 %13, %14 store i32 %15, ptr %9, align 4 %16 = load i32, ptr %9, align 4 %17 = ashr i32 %16, 1 %18 = icmp sgt i32 5, %17 br i1 %18, label %19, label %20 19: ; preds = %4 br label %23 20: ; preds = %4 %21 = load i32, ptr %9, align 4 %22 = ashr i32 %21, 1 br label %23 23: ; preds = %20, %19 %24 = phi i32 [ 5, %19 ], [ %22, %20 ] %25 = load ptr, ptr %6, align 8 store i32 %24, ptr %25, align 4 %26 = load ptr, ptr %8, align 8 store i32 0, ptr %26, align 4 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr %27, align 4 %29 = and i32 %28, 31 %30 = shl i32 1, %29 %31 = load ptr, ptr %8, align 8 %32 = load ptr, ptr %6, align 8 %33 = load i32, ptr %32, align 4 %34 = ashr i32 %33, 5 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %31, i64 %35 %37 = load i32, ptr %36, align 4 %38 = or i32 %37, %30 store i32 %38, ptr %36, align 4 %39 = load ptr, ptr %8, align 8 %40 = load i32, ptr %39, align 4 %41 = add nsw i32 %40, -1 store i32 %41, ptr %39, align 4 %42 = load ptr, ptr %8, align 8 %43 = load i32, ptr %42, align 4 %44 = ashr i32 %43, 5 %45 = add nsw i32 %44, 1 %46 = load ptr, ptr %8, align 8 store i32 %45, ptr %46, align 4 %47 = load ptr, ptr %8, align 8 %48 = load i32, ptr %47, align 4 %49 = sitofp i32 %48 to double %50 = call i32 @log(double noundef %49) %51 = load i32, ptr @M_LN2, align 4 %52 = sdiv i32 %50, %51 store i32 %52, ptr %10, align 4 %53 = load ptr, ptr %8, align 8 %54 = load i32, ptr %53, align 4 %55 = shl i32 %54, 5 %56 = sub nsw i32 %55, 1 %57 = load ptr, ptr %7, align 8 store i32 %56, ptr %57, align 4 %58 = load i32, ptr %10, align 4 ret i32 %58 } declare i32 @log(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/tmp6x6fnayo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_LN2 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @init_bit_table_const(i64 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i64 %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %11 = load i64, ptr %5, align 8 %12 = uitofp i64 %11 to double %13 = call i32 @log(double noundef %12) %14 = load i32, ptr @M_LN2, align 4 %15 = sdiv i32 %13, %14 store i32 %15, ptr %9, align 4 %16 = load i32, ptr %9, align 4 %17 = ashr i32 %16, 1 %18 = icmp sgt i32 5, %17 br i1 %18, label %19, label %20 19: ; preds = %4 br label %23 20: ; preds = %4 %21 = load i32, ptr %9, align 4 %22 = ashr i32 %21, 1 br label %23 23: ; preds = %20, %19 %24 = phi i32 [ 5, %19 ], [ %22, %20 ] %25 = load ptr, ptr %6, align 8 store i32 %24, ptr %25, align 4 %26 = load ptr, ptr %8, align 8 store i32 0, ptr %26, align 4 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr %27, align 4 %29 = and i32 %28, 31 %30 = shl i32 1, %29 %31 = load ptr, ptr %8, align 8 %32 = load ptr, ptr %6, align 8 %33 = load i32, ptr %32, align 4 %34 = ashr i32 %33, 5 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %31, i64 %35 %37 = load i32, ptr %36, align 4 %38 = or i32 %37, %30 store i32 %38, ptr %36, align 4 %39 = load ptr, ptr %8, align 8 %40 = load i32, ptr %39, align 4 %41 = add nsw i32 %40, -1 store i32 %41, ptr %39, align 4 %42 = load ptr, ptr %8, align 8 %43 = load i32, ptr %42, align 4 %44 = ashr i32 %43, 5 %45 = add nsw i32 %44, 1 %46 = load ptr, ptr %8, align 8 store i32 %45, ptr %46, align 4 %47 = load ptr, ptr %8, align 8 %48 = load i32, ptr %47, align 4 %49 = sitofp i32 %48 to double %50 = call i32 @log(double noundef %49) %51 = load i32, ptr @M_LN2, align 4 %52 = sdiv i32 %50, %51 store i32 %52, ptr %10, align 4 %53 = load ptr, ptr %8, align 8 %54 = load i32, ptr %53, align 4 %55 = shl i32 %54, 5 %56 = sub nsw i32 %55, 1 %57 = load ptr, ptr %7, align 8 store i32 %56, ptr %57, align 4 %58 = load i32, ptr %10, align 4 ret i32 %58 } declare i32 @log(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/tmppn4ewt4o.c' source_filename = "/tmp/tmppn4ewt4o.c" target datalayout = "e-m:e-p270: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/tmppn4ewt4o.c" target datalayout = "e-m:e-p270: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/tmp1jy8ka6b.c' source_filename = "/tmp/tmp1jy8ka6b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Nuclear_5S(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %6 = load double, ptr %3, align 8 %7 = fdiv double 1.000000e+00, %6 %8 = load double, ptr %3, align 8 %9 = fmul double 2.551500e+04, %8 %10 = load double, ptr %4, align 8 %11 = call double @llvm.fmuladd.f64(double %9, double %10, double 1.417500e+04) %12 = load double, ptr %3, align 8 %13 = call i32 @pow(double noundef %12, double noundef 2.000000e+00) %14 = sitofp i32 %13 to double %15 = fmul double 2.268000e+04, %14 %16 = load double, ptr %4, align 8 %17 = call i32 @pow(double noundef %16, double noundef 2.000000e+00) %18 = sitofp i32 %17 to double %19 = call double @llvm.fmuladd.f64(double %15, double %18, double %11) %20 = load double, ptr %3, align 8 %21 = call i32 @pow(double noundef %20, double noundef 3.000000e+00) %22 = sitofp i32 %21 to double %23 = fmul double 1.323000e+04, %22 %24 = load double, ptr %4, align 8 %25 = call i32 @pow(double noundef %24, double noundef 3.000000e+00) %26 = sitofp i32 %25 to double %27 = call double @llvm.fmuladd.f64(double %23, double %26, double %19) %28 = load double, ptr %3, align 8 %29 = call i32 @pow(double noundef %28, double noundef 4.000000e+00) %30 = sitofp i32 %29 to double %31 = fmul double 5.670000e+03, %30 %32 = load double, ptr %4, align 8 %33 = call i32 @pow(double noundef %32, double noundef 4.000000e+00) %34 = sitofp i32 %33 to double %35 = call double @llvm.fmuladd.f64(double %31, double %34, double %27) %36 = load double, ptr %3, align 8 %37 = call i32 @pow(double noundef %36, double noundef 5.000000e+00) %38 = sitofp i32 %37 to double %39 = fmul double 1.890000e+03, %38 %40 = load double, ptr %4, align 8 %41 = call i32 @pow(double noundef %40, double noundef 5.000000e+00) %42 = sitofp i32 %41 to double %43 = call double @llvm.fmuladd.f64(double %39, double %42, double %35) %44 = load double, ptr %3, align 8 %45 = call i32 @pow(double noundef %44, double noundef 6.000000e+00) %46 = sitofp i32 %45 to double %47 = fmul double 5.040000e+02, %46 %48 = load double, ptr %4, align 8 %49 = call i32 @pow(double noundef %48, double noundef 6.000000e+00) %50 = sitofp i32 %49 to double %51 = call double @llvm.fmuladd.f64(double %47, double %50, double %43) %52 = load double, ptr %3, align 8 %53 = call i32 @pow(double noundef %52, double noundef 7.000000e+00) %54 = sitofp i32 %53 to double %55 = fmul double 1.080000e+02, %54 %56 = load double, ptr %4, align 8 %57 = call i32 @pow(double noundef %56, double noundef 7.000000e+00) %58 = sitofp i32 %57 to double %59 = call double @llvm.fmuladd.f64(double %55, double %58, double %51) %60 = load double, ptr %3, align 8 %61 = call i32 @pow(double noundef %60, double noundef 8.000000e+00) %62 = sitofp i32 %61 to double %63 = fmul double 1.800000e+01, %62 %64 = load double, ptr %4, align 8 %65 = call i32 @pow(double noundef %64, double noundef 8.000000e+00) %66 = sitofp i32 %65 to double %67 = call double @llvm.fmuladd.f64(double %63, double %66, double %59) %68 = load double, ptr %3, align 8 %69 = call i32 @pow(double noundef %68, double noundef 9.000000e+00) %70 = sitofp i32 %69 to double %71 = fmul double 2.000000e+00, %70 %72 = load double, ptr %4, align 8 %73 = call i32 @pow(double noundef %72, double noundef 9.000000e+00) %74 = sitofp i32 %73 to double %75 = call double @llvm.fmuladd.f64(double %71, double %74, double %67) %76 = load double, ptr %3, align 8 %77 = fmul double 2.000000e+00, %76 %78 = load double, ptr %4, align 8 %79 = fmul double %77, %78 %80 = call i32 @pow(double noundef 0x4005BF0A8B145769, double noundef %79) %81 = sitofp i32 %80 to double %82 = fmul double 1.417500e+04, %81 %83 = load double, ptr %3, align 8 %84 = fmul double %82, %83 %85 = fdiv double %75, %84 %86 = fsub double %7, %85 store double %86, ptr %5, align 8 %87 = load double, ptr %5, align 8 ret double %87 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @pow(double noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1jy8ka6b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Nuclear_5S(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %6 = load double, ptr %3, align 8 %7 = fdiv double 1.000000e+00, %6 %8 = load double, ptr %3, align 8 %9 = fmul double 2.551500e+04, %8 %10 = load double, ptr %4, align 8 %11 = call double @llvm.fmuladd.f64(double %9, double %10, double 1.417500e+04) %12 = load double, ptr %3, align 8 %13 = call i32 @pow(double noundef %12, double noundef 2.000000e+00) %14 = sitofp i32 %13 to double %15 = fmul double 2.268000e+04, %14 %16 = load double, ptr %4, align 8 %17 = call i32 @pow(double noundef %16, double noundef 2.000000e+00) %18 = sitofp i32 %17 to double %19 = call double @llvm.fmuladd.f64(double %15, double %18, double %11) %20 = load double, ptr %3, align 8 %21 = call i32 @pow(double noundef %20, double noundef 3.000000e+00) %22 = sitofp i32 %21 to double %23 = fmul double 1.323000e+04, %22 %24 = load double, ptr %4, align 8 %25 = call i32 @pow(double noundef %24, double noundef 3.000000e+00) %26 = sitofp i32 %25 to double %27 = call double @llvm.fmuladd.f64(double %23, double %26, double %19) %28 = load double, ptr %3, align 8 %29 = call i32 @pow(double noundef %28, double noundef 4.000000e+00) %30 = sitofp i32 %29 to double %31 = fmul double 5.670000e+03, %30 %32 = load double, ptr %4, align 8 %33 = call i32 @pow(double noundef %32, double noundef 4.000000e+00) %34 = sitofp i32 %33 to double %35 = call double @llvm.fmuladd.f64(double %31, double %34, double %27) %36 = load double, ptr %3, align 8 %37 = call i32 @pow(double noundef %36, double noundef 5.000000e+00) %38 = sitofp i32 %37 to double %39 = fmul double 1.890000e+03, %38 %40 = load double, ptr %4, align 8 %41 = call i32 @pow(double noundef %40, double noundef 5.000000e+00) %42 = sitofp i32 %41 to double %43 = call double @llvm.fmuladd.f64(double %39, double %42, double %35) %44 = load double, ptr %3, align 8 %45 = call i32 @pow(double noundef %44, double noundef 6.000000e+00) %46 = sitofp i32 %45 to double %47 = fmul double 5.040000e+02, %46 %48 = load double, ptr %4, align 8 %49 = call i32 @pow(double noundef %48, double noundef 6.000000e+00) %50 = sitofp i32 %49 to double %51 = call double @llvm.fmuladd.f64(double %47, double %50, double %43) %52 = load double, ptr %3, align 8 %53 = call i32 @pow(double noundef %52, double noundef 7.000000e+00) %54 = sitofp i32 %53 to double %55 = fmul double 1.080000e+02, %54 %56 = load double, ptr %4, align 8 %57 = call i32 @pow(double noundef %56, double noundef 7.000000e+00) %58 = sitofp i32 %57 to double %59 = call double @llvm.fmuladd.f64(double %55, double %58, double %51) %60 = load double, ptr %3, align 8 %61 = call i32 @pow(double noundef %60, double noundef 8.000000e+00) %62 = sitofp i32 %61 to double %63 = fmul double 1.800000e+01, %62 %64 = load double, ptr %4, align 8 %65 = call i32 @pow(double noundef %64, double noundef 8.000000e+00) %66 = sitofp i32 %65 to double %67 = call double @llvm.fmuladd.f64(double %63, double %66, double %59) %68 = load double, ptr %3, align 8 %69 = call i32 @pow(double noundef %68, double noundef 9.000000e+00) %70 = sitofp i32 %69 to double %71 = fmul double 2.000000e+00, %70 %72 = load double, ptr %4, align 8 %73 = call i32 @pow(double noundef %72, double noundef 9.000000e+00) %74 = sitofp i32 %73 to double %75 = call double @llvm.fmuladd.f64(double %71, double %74, double %67) %76 = load double, ptr %3, align 8 %77 = fmul double 2.000000e+00, %76 %78 = load double, ptr %4, align 8 %79 = fmul double %77, %78 %80 = call i32 @pow(double noundef 0x4005BF0A8B145769, double noundef %79) %81 = sitofp i32 %80 to double %82 = fmul double 1.417500e+04, %81 %83 = load double, ptr %3, align 8 %84 = fmul double %82, %83 %85 = fdiv double %75, %84 %86 = fsub double %7, %85 store double %86, ptr %5, align 8 %87 = load double, ptr %5, align 8 ret double %87 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @pow(double noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzi2jfin4.c' source_filename = "/tmp/tmpzi2jfin4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @load_utilization(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %18 = load i32, ptr %10, align 4 %19 = sext i32 %18 to i64 %20 = mul i64 %19, 8 %21 = trunc i64 %20 to i32 %22 = call i64 @malloc(i32 noundef %21) %23 = inttoptr i64 %22 to ptr store ptr %23, ptr %16, align 8 store i32 0, ptr %13, align 4 br label %24 24: ; preds = %271, %6 %25 = load i32, ptr %13, align 4 %26 = load i32, ptr %10, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %274 28: ; preds = %24 %29 = load i32, ptr %11, align 4 %30 = sext i32 %29 to i64 %31 = mul i64 %30, 8 %32 = trunc i64 %31 to i32 %33 = call i64 @malloc(i32 noundef %32) %34 = inttoptr i64 %33 to ptr store ptr %34, ptr %17, align 8 %35 = load i32, ptr %11, align 4 %36 = sext i32 %35 to i64 %37 = mul i64 %36, 8 %38 = trunc i64 %37 to i32 %39 = call i64 @malloc(i32 noundef %38) %40 = inttoptr i64 %39 to ptr %41 = load ptr, ptr %16, align 8 %42 = load i32, ptr %13, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds ptr, ptr %41, i64 %43 store ptr %40, ptr %44, align 8 store i32 0, ptr %15, align 4 br label %45 45: ; preds = %114, %28 %46 = load i32, ptr %15, align 4 %47 = load i32, ptr %11, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %49, label %117 49: ; preds = %45 %50 = call i64 @malloc(i32 noundef 12) %51 = inttoptr i64 %50 to ptr %52 = load ptr, ptr %17, align 8 %53 = load i32, ptr %15, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds ptr, ptr %52, i64 %54 store ptr %51, ptr %55, align 8 %56 = load ptr, ptr %17, align 8 %57 = load i32, ptr %15, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds ptr, ptr %56, i64 %58 %60 = load ptr, ptr %59, align 8 %61 = getelementptr inbounds i32, ptr %60, i64 2 store i32 0, ptr %61, align 4 %62 = load ptr, ptr %17, align 8 %63 = load i32, ptr %15, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds ptr, ptr %62, i64 %64 %66 = load ptr, ptr %65, align 8 %67 = getelementptr inbounds i32, ptr %66, i64 1 store i32 0, ptr %67, align 4 %68 = load ptr, ptr %17, align 8 %69 = load i32, ptr %15, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds ptr, ptr %68, i64 %70 %72 = load ptr, ptr %71, align 8 %73 = getelementptr inbounds i32, ptr %72, i64 0 store i32 0, ptr %73, align 4 %74 = call i64 @malloc(i32 noundef 12) %75 = inttoptr i64 %74 to ptr %76 = load ptr, ptr %16, align 8 %77 = load i32, ptr %13, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds ptr, ptr %76, i64 %78 %80 = load ptr, ptr %79, align 8 %81 = load i32, ptr %15, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds ptr, ptr %80, i64 %82 store ptr %75, ptr %83, align 8 %84 = load ptr, ptr %16, align 8 %85 = load i32, ptr %13, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds ptr, ptr %84, i64 %86 %88 = load ptr, ptr %87, align 8 %89 = load i32, ptr %15, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds ptr, ptr %88, i64 %90 %92 = load ptr, ptr %91, align 8 %93 = getelementptr inbounds i32, ptr %92, i64 2 store i32 0, ptr %93, align 4 %94 = load ptr, ptr %16, align 8 %95 = load i32, ptr %13, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds ptr, ptr %94, i64 %96 %98 = load ptr, ptr %97, align 8 %99 = load i32, ptr %15, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds ptr, ptr %98, i64 %100 %102 = load ptr, ptr %101, align 8 %103 = getelementptr inbounds i32, ptr %102, i64 1 store i32 0, ptr %103, align 4 %104 = load ptr, ptr %16, align 8 %105 = load i32, ptr %13, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds ptr, ptr %104, i64 %106 %108 = load ptr, ptr %107, align 8 %109 = load i32, ptr %15, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds ptr, ptr %108, i64 %110 %112 = load ptr, ptr %111, align 8 %113 = getelementptr inbounds i32, ptr %112, i64 0 store i32 0, ptr %113, align 4 br label %114 114: ; preds = %49 %115 = load i32, ptr %15, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %15, align 4 br label %45, !llvm.loop !6 117: ; preds = %45 store i32 0, ptr %14, align 4 br label %118 118: ; preds = %207, %117 %119 = load i32, ptr %14, align 4 %120 = load i32, ptr %12, align 4 %121 = icmp slt i32 %119, %120 br i1 %121, label %122, label %210 122: ; preds = %118 %123 = load ptr, ptr %7, align 8 %124 = load i32, ptr %13, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds ptr, ptr %123, i64 %125 %127 = load ptr, ptr %126, align 8 %128 = load i32, ptr %14, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds i32, ptr %127, i64 %129 %131 = load i32, ptr %130, align 4 %132 = icmp ne i32 %131, 0 br i1 %132, label %133, label %206 133: ; preds = %122 %134 = load ptr, ptr %9, align 8 %135 = load i32, ptr %14, align 4 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds ptr, ptr %134, i64 %136 %138 = load ptr, ptr %137, align 8 %139 = getelementptr inbounds i32, ptr %138, i64 0 %140 = load i32, ptr %139, align 4 %141 = load ptr, ptr %17, align 8 %142 = load ptr, ptr %7, align 8 %143 = load i32, ptr %13, align 4 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds ptr, ptr %142, i64 %144 %146 = load ptr, ptr %145, align 8 %147 = load i32, ptr %14, align 4 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds i32, ptr %146, i64 %148 %150 = load i32, ptr %149, align 4 %151 = sub nsw i32 %150, 1 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds ptr, ptr %141, i64 %152 %154 = load ptr, ptr %153, align 8 %155 = getelementptr inbounds i32, ptr %154, i64 0 %156 = load i32, ptr %155, align 4 %157 = add nsw i32 %156, %140 store i32 %157, ptr %155, align 4 %158 = load ptr, ptr %9, align 8 %159 = load i32, ptr %14, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds ptr, ptr %158, i64 %160 %162 = load ptr, ptr %161, align 8 %163 = getelementptr inbounds i32, ptr %162, i64 1 %164 = load i32, ptr %163, align 4 %165 = load ptr, ptr %17, align 8 %166 = load ptr, ptr %7, align 8 %167 = load i32, ptr %13, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds ptr, ptr %166, i64 %168 %170 = load ptr, ptr %169, align 8 %171 = load i32, ptr %14, align 4 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds i32, ptr %170, i64 %172 %174 = load i32, ptr %173, align 4 %175 = sub nsw i32 %174, 1 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds ptr, ptr %165, i64 %176 %178 = load ptr, ptr %177, align 8 %179 = getelementptr inbounds i32, ptr %178, i64 1 %180 = load i32, ptr %179, align 4 %181 = add nsw i32 %180, %164 store i32 %181, ptr %179, align 4 %182 = load ptr, ptr %9, align 8 %183 = load i32, ptr %14, align 4 %184 = sext i32 %183 to i64 %185 = getelementptr inbounds ptr, ptr %182, i64 %184 %186 = load ptr, ptr %185, align 8 %187 = getelementptr inbounds i32, ptr %186, i64 2 %188 = load i32, ptr %187, align 4 %189 = load ptr, ptr %17, align 8 %190 = load ptr, ptr %7, align 8 %191 = load i32, ptr %13, align 4 %192 = sext i32 %191 to i64 %193 = getelementptr inbounds ptr, ptr %190, i64 %192 %194 = load ptr, ptr %193, align 8 %195 = load i32, ptr %14, align 4 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds i32, ptr %194, i64 %196 %198 = load i32, ptr %197, align 4 %199 = sub nsw i32 %198, 1 %200 = sext i32 %199 to i64 %201 = getelementptr inbounds ptr, ptr %189, i64 %200 %202 = load ptr, ptr %201, align 8 %203 = getelementptr inbounds i32, ptr %202, i64 2 %204 = load i32, ptr %203, align 4 %205 = add nsw i32 %204, %188 store i32 %205, ptr %203, align 4 br label %206 206: ; preds = %133, %122 br label %207 207: ; preds = %206 %208 = load i32, ptr %14, align 4 %209 = add nsw i32 %208, 1 store i32 %209, ptr %14, align 4 br label %118, !llvm.loop !8 210: ; preds = %118 store i32 0, ptr %15, align 4 br label %211 211: ; preds = %267, %210 %212 = load i32, ptr %15, align 4 %213 = load i32, ptr %11, align 4 %214 = icmp slt i32 %212, %213 br i1 %214, label %215, label %270 215: ; preds = %211 %216 = load ptr, ptr %17, align 8 %217 = load i32, ptr %15, align 4 %218 = sext i32 %217 to i64 %219 = getelementptr inbounds ptr, ptr %216, i64 %218 %220 = load ptr, ptr %219, align 8 %221 = getelementptr inbounds i32, ptr %220, i64 0 %222 = load i32, ptr %221, align 4 %223 = load ptr, ptr %16, align 8 %224 = load i32, ptr %13, align 4 %225 = sext i32 %224 to i64 %226 = getelementptr inbounds ptr, ptr %223, i64 %225 %227 = load ptr, ptr %226, align 8 %228 = load i32, ptr %15, align 4 %229 = sext i32 %228 to i64 %230 = getelementptr inbounds ptr, ptr %227, i64 %229 %231 = load ptr, ptr %230, align 8 %232 = getelementptr inbounds i32, ptr %231, i64 0 store i32 %222, ptr %232, align 4 %233 = load ptr, ptr %17, align 8 %234 = load i32, ptr %15, align 4 %235 = sext i32 %234 to i64 %236 = getelementptr inbounds ptr, ptr %233, i64 %235 %237 = load ptr, ptr %236, align 8 %238 = getelementptr inbounds i32, ptr %237, i64 1 %239 = load i32, ptr %238, align 4 %240 = load ptr, ptr %16, align 8 %241 = load i32, ptr %13, align 4 %242 = sext i32 %241 to i64 %243 = getelementptr inbounds ptr, ptr %240, i64 %242 %244 = load ptr, ptr %243, align 8 %245 = load i32, ptr %15, align 4 %246 = sext i32 %245 to i64 %247 = getelementptr inbounds ptr, ptr %244, i64 %246 %248 = load ptr, ptr %247, align 8 %249 = getelementptr inbounds i32, ptr %248, i64 1 store i32 %239, ptr %249, align 4 %250 = load ptr, ptr %17, align 8 %251 = load i32, ptr %15, align 4 %252 = sext i32 %251 to i64 %253 = getelementptr inbounds ptr, ptr %250, i64 %252 %254 = load ptr, ptr %253, align 8 %255 = getelementptr inbounds i32, ptr %254, i64 2 %256 = load i32, ptr %255, align 4 %257 = load ptr, ptr %16, align 8 %258 = load i32, ptr %13, align 4 %259 = sext i32 %258 to i64 %260 = getelementptr inbounds ptr, ptr %257, i64 %259 %261 = load ptr, ptr %260, align 8 %262 = load i32, ptr %15, align 4 %263 = sext i32 %262 to i64 %264 = getelementptr inbounds ptr, ptr %261, i64 %263 %265 = load ptr, ptr %264, align 8 %266 = getelementptr inbounds i32, ptr %265, i64 2 store i32 %256, ptr %266, align 4 br label %267 267: ; preds = %215 %268 = load i32, ptr %15, align 4 %269 = add nsw i32 %268, 1 store i32 %269, ptr %15, align 4 br label %211, !llvm.loop !9 270: ; preds = %211 br label %271 271: ; preds = %270 %272 = load i32, ptr %13, align 4 %273 = add nsw i32 %272, 1 store i32 %273, ptr %13, align 4 br label %24, !llvm.loop !10 274: ; preds = %24 %275 = load ptr, ptr %16, align 8 ret ptr %275 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzi2jfin4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @load_utilization(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %18 = load i32, ptr %10, align 4 %19 = sext i32 %18 to i64 %20 = mul i64 %19, 8 %21 = trunc i64 %20 to i32 %22 = call i64 @malloc(i32 noundef %21) %23 = inttoptr i64 %22 to ptr store ptr %23, ptr %16, align 8 store i32 0, ptr %13, align 4 %24 = load i32, ptr %13, align 4 %25 = load i32, ptr %10, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %.lr.ph8, label %282 .lr.ph8: ; preds = %6 br label %27 27: ; preds = %.lr.ph8, %276 %28 = load i32, ptr %11, align 4 %29 = sext i32 %28 to i64 %30 = mul i64 %29, 8 %31 = trunc i64 %30 to i32 %32 = call i64 @malloc(i32 noundef %31) %33 = inttoptr i64 %32 to ptr store ptr %33, ptr %17, align 8 %34 = load i32, ptr %11, align 4 %35 = sext i32 %34 to i64 %36 = mul i64 %35, 8 %37 = trunc i64 %36 to i32 %38 = call i64 @malloc(i32 noundef %37) %39 = inttoptr i64 %38 to ptr %40 = load ptr, ptr %16, align 8 %41 = load i32, ptr %13, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds ptr, ptr %40, i64 %42 store ptr %39, ptr %43, align 8 store i32 0, ptr %15, align 4 %44 = load i32, ptr %15, align 4 %45 = load i32, ptr %11, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %.lr.ph, label %118 .lr.ph: ; preds = %27 br label %47 47: ; preds = %.lr.ph, %112 %48 = call i64 @malloc(i32 noundef 12) %49 = inttoptr i64 %48 to ptr %50 = load ptr, ptr %17, align 8 %51 = load i32, ptr %15, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds ptr, ptr %50, i64 %52 store ptr %49, ptr %53, align 8 %54 = load ptr, ptr %17, align 8 %55 = load i32, ptr %15, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds ptr, ptr %54, i64 %56 %58 = load ptr, ptr %57, align 8 %59 = getelementptr inbounds i32, ptr %58, i64 2 store i32 0, ptr %59, align 4 %60 = load ptr, ptr %17, align 8 %61 = load i32, ptr %15, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds ptr, ptr %60, i64 %62 %64 = load ptr, ptr %63, align 8 %65 = getelementptr inbounds i32, ptr %64, i64 1 store i32 0, ptr %65, align 4 %66 = load ptr, ptr %17, align 8 %67 = load i32, ptr %15, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds ptr, ptr %66, i64 %68 %70 = load ptr, ptr %69, align 8 %71 = getelementptr inbounds i32, ptr %70, i64 0 store i32 0, ptr %71, align 4 %72 = call i64 @malloc(i32 noundef 12) %73 = inttoptr i64 %72 to ptr %74 = load ptr, ptr %16, align 8 %75 = load i32, ptr %13, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds ptr, ptr %74, i64 %76 %78 = load ptr, ptr %77, align 8 %79 = load i32, ptr %15, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds ptr, ptr %78, i64 %80 store ptr %73, ptr %81, align 8 %82 = load ptr, ptr %16, align 8 %83 = load i32, ptr %13, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds ptr, ptr %82, i64 %84 %86 = load ptr, ptr %85, align 8 %87 = load i32, ptr %15, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds ptr, ptr %86, i64 %88 %90 = load ptr, ptr %89, align 8 %91 = getelementptr inbounds i32, ptr %90, i64 2 store i32 0, ptr %91, align 4 %92 = load ptr, ptr %16, align 8 %93 = load i32, ptr %13, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds ptr, ptr %92, i64 %94 %96 = load ptr, ptr %95, align 8 %97 = load i32, ptr %15, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds ptr, ptr %96, i64 %98 %100 = load ptr, ptr %99, align 8 %101 = getelementptr inbounds i32, ptr %100, i64 1 store i32 0, ptr %101, align 4 %102 = load ptr, ptr %16, align 8 %103 = load i32, ptr %13, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds ptr, ptr %102, i64 %104 %106 = load ptr, ptr %105, align 8 %107 = load i32, ptr %15, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds ptr, ptr %106, i64 %108 %110 = load ptr, ptr %109, align 8 %111 = getelementptr inbounds i32, ptr %110, i64 0 store i32 0, ptr %111, align 4 br label %112 112: ; preds = %47 %113 = load i32, ptr %15, align 4 %114 = add nsw i32 %113, 1 store i32 %114, ptr %15, align 4 %115 = load i32, ptr %15, align 4 %116 = load i32, ptr %11, align 4 %117 = icmp slt i32 %115, %116 br i1 %117, label %47, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %112 br label %118 118: ; preds = %._crit_edge, %27 store i32 0, ptr %14, align 4 %119 = load i32, ptr %14, align 4 %120 = load i32, ptr %12, align 4 %121 = icmp slt i32 %119, %120 br i1 %121, label %.lr.ph2, label %213 .lr.ph2: ; preds = %118 br label %122 122: ; preds = %.lr.ph2, %207 %123 = load ptr, ptr %7, align 8 %124 = load i32, ptr %13, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds ptr, ptr %123, i64 %125 %127 = load ptr, ptr %126, align 8 %128 = load i32, ptr %14, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds i32, ptr %127, i64 %129 %131 = load i32, ptr %130, align 4 %132 = icmp ne i32 %131, 0 br i1 %132, label %133, label %206 133: ; preds = %122 %134 = load ptr, ptr %9, align 8 %135 = load i32, ptr %14, align 4 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds ptr, ptr %134, i64 %136 %138 = load ptr, ptr %137, align 8 %139 = getelementptr inbounds i32, ptr %138, i64 0 %140 = load i32, ptr %139, align 4 %141 = load ptr, ptr %17, align 8 %142 = load ptr, ptr %7, align 8 %143 = load i32, ptr %13, align 4 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds ptr, ptr %142, i64 %144 %146 = load ptr, ptr %145, align 8 %147 = load i32, ptr %14, align 4 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds i32, ptr %146, i64 %148 %150 = load i32, ptr %149, align 4 %151 = sub nsw i32 %150, 1 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds ptr, ptr %141, i64 %152 %154 = load ptr, ptr %153, align 8 %155 = getelementptr inbounds i32, ptr %154, i64 0 %156 = load i32, ptr %155, align 4 %157 = add nsw i32 %156, %140 store i32 %157, ptr %155, align 4 %158 = load ptr, ptr %9, align 8 %159 = load i32, ptr %14, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds ptr, ptr %158, i64 %160 %162 = load ptr, ptr %161, align 8 %163 = getelementptr inbounds i32, ptr %162, i64 1 %164 = load i32, ptr %163, align 4 %165 = load ptr, ptr %17, align 8 %166 = load ptr, ptr %7, align 8 %167 = load i32, ptr %13, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds ptr, ptr %166, i64 %168 %170 = load ptr, ptr %169, align 8 %171 = load i32, ptr %14, align 4 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds i32, ptr %170, i64 %172 %174 = load i32, ptr %173, align 4 %175 = sub nsw i32 %174, 1 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds ptr, ptr %165, i64 %176 %178 = load ptr, ptr %177, align 8 %179 = getelementptr inbounds i32, ptr %178, i64 1 %180 = load i32, ptr %179, align 4 %181 = add nsw i32 %180, %164 store i32 %181, ptr %179, align 4 %182 = load ptr, ptr %9, align 8 %183 = load i32, ptr %14, align 4 %184 = sext i32 %183 to i64 %185 = getelementptr inbounds ptr, ptr %182, i64 %184 %186 = load ptr, ptr %185, align 8 %187 = getelementptr inbounds i32, ptr %186, i64 2 %188 = load i32, ptr %187, align 4 %189 = load ptr, ptr %17, align 8 %190 = load ptr, ptr %7, align 8 %191 = load i32, ptr %13, align 4 %192 = sext i32 %191 to i64 %193 = getelementptr inbounds ptr, ptr %190, i64 %192 %194 = load ptr, ptr %193, align 8 %195 = load i32, ptr %14, align 4 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds i32, ptr %194, i64 %196 %198 = load i32, ptr %197, align 4 %199 = sub nsw i32 %198, 1 %200 = sext i32 %199 to i64 %201 = getelementptr inbounds ptr, ptr %189, i64 %200 %202 = load ptr, ptr %201, align 8 %203 = getelementptr inbounds i32, ptr %202, i64 2 %204 = load i32, ptr %203, align 4 %205 = add nsw i32 %204, %188 store i32 %205, ptr %203, align 4 br label %206 206: ; preds = %133, %122 br label %207 207: ; preds = %206 %208 = load i32, ptr %14, align 4 %209 = add nsw i32 %208, 1 store i32 %209, ptr %14, align 4 %210 = load i32, ptr %14, align 4 %211 = load i32, ptr %12, align 4 %212 = icmp slt i32 %210, %211 br i1 %212, label %122, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %207 br label %213 213: ; preds = %._crit_edge3, %118 store i32 0, ptr %15, align 4 %214 = load i32, ptr %15, align 4 %215 = load i32, ptr %11, align 4 %216 = icmp slt i32 %214, %215 br i1 %216, label %.lr.ph5, label %275 .lr.ph5: ; preds = %213 br label %217 217: ; preds = %.lr.ph5, %269 %218 = load ptr, ptr %17, align 8 %219 = load i32, ptr %15, align 4 %220 = sext i32 %219 to i64 %221 = getelementptr inbounds ptr, ptr %218, i64 %220 %222 = load ptr, ptr %221, align 8 %223 = getelementptr inbounds i32, ptr %222, i64 0 %224 = load i32, ptr %223, align 4 %225 = load ptr, ptr %16, align 8 %226 = load i32, ptr %13, align 4 %227 = sext i32 %226 to i64 %228 = getelementptr inbounds ptr, ptr %225, i64 %227 %229 = load ptr, ptr %228, align 8 %230 = load i32, ptr %15, align 4 %231 = sext i32 %230 to i64 %232 = getelementptr inbounds ptr, ptr %229, i64 %231 %233 = load ptr, ptr %232, align 8 %234 = getelementptr inbounds i32, ptr %233, i64 0 store i32 %224, ptr %234, align 4 %235 = load ptr, ptr %17, align 8 %236 = load i32, ptr %15, align 4 %237 = sext i32 %236 to i64 %238 = getelementptr inbounds ptr, ptr %235, i64 %237 %239 = load ptr, ptr %238, align 8 %240 = getelementptr inbounds i32, ptr %239, i64 1 %241 = load i32, ptr %240, align 4 %242 = load ptr, ptr %16, align 8 %243 = load i32, ptr %13, align 4 %244 = sext i32 %243 to i64 %245 = getelementptr inbounds ptr, ptr %242, i64 %244 %246 = load ptr, ptr %245, align 8 %247 = load i32, ptr %15, align 4 %248 = sext i32 %247 to i64 %249 = getelementptr inbounds ptr, ptr %246, i64 %248 %250 = load ptr, ptr %249, align 8 %251 = getelementptr inbounds i32, ptr %250, i64 1 store i32 %241, ptr %251, align 4 %252 = load ptr, ptr %17, align 8 %253 = load i32, ptr %15, align 4 %254 = sext i32 %253 to i64 %255 = getelementptr inbounds ptr, ptr %252, i64 %254 %256 = load ptr, ptr %255, align 8 %257 = getelementptr inbounds i32, ptr %256, i64 2 %258 = load i32, ptr %257, align 4 %259 = load ptr, ptr %16, align 8 %260 = load i32, ptr %13, align 4 %261 = sext i32 %260 to i64 %262 = getelementptr inbounds ptr, ptr %259, i64 %261 %263 = load ptr, ptr %262, align 8 %264 = load i32, ptr %15, align 4 %265 = sext i32 %264 to i64 %266 = getelementptr inbounds ptr, ptr %263, i64 %265 %267 = load ptr, ptr %266, align 8 %268 = getelementptr inbounds i32, ptr %267, i64 2 store i32 %258, ptr %268, align 4 br label %269 269: ; preds = %217 %270 = load i32, ptr %15, align 4 %271 = add nsw i32 %270, 1 store i32 %271, ptr %15, align 4 %272 = load i32, ptr %15, align 4 %273 = load i32, ptr %11, align 4 %274 = icmp slt i32 %272, %273 br i1 %274, label %217, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %269 br label %275 275: ; preds = %._crit_edge6, %213 br label %276 276: ; preds = %275 %277 = load i32, ptr %13, align 4 %278 = add nsw i32 %277, 1 store i32 %278, ptr %13, align 4 %279 = load i32, ptr %13, align 4 %280 = load i32, ptr %10, align 4 %281 = icmp slt i32 %279, %280 br i1 %281, label %27, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %276 br label %282 282: ; preds = %._crit_edge9, %6 %283 = load ptr, ptr %16, align 8 ret ptr %283 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmprmzzf9tt.c' source_filename = "/tmp/tmprmzzf9tt.c" target datalayout = "e-m:e-p270: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/tmprmzzf9tt.c" target datalayout = "e-m:e-p270: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/tmpuhpq0kvx.c' source_filename = "/tmp/tmpuhpq0kvx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findprop(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = call i32 @getofield(i32 noundef %9, i32 noundef 6) store i32 %10, ptr %6, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %7, align 4 br label %11 11: ; preds = %28, %2 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %33 15: ; preds = %11 %16 = load i32, ptr %4, align 4 %17 = load i32, ptr %8, align 4 %18 = add nsw i32 8, %17 %19 = call i32 @getofield(i32 noundef %16, i32 noundef %18) %20 = and i32 %19, -32769 %21 = load i32, ptr %5, align 4 %22 = icmp eq i32 %20, %21 br i1 %22, label %23, label %27 23: ; preds = %15 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 8, %24 %26 = add nsw i32 %25, 2 store i32 %26, ptr %3, align 4 br label %34 27: ; preds = %15 br label %28 28: ; preds = %27 %29 = load i32, ptr %7, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %7, align 4 %31 = load i32, ptr %8, align 4 %32 = add nsw i32 %31, 4 store i32 %32, ptr %8, align 4 br label %11, !llvm.loop !6 33: ; preds = %11 store i32 0, ptr %3, align 4 br label %34 34: ; preds = %33, %23 %35 = load i32, ptr %3, align 4 ret i32 %35 } declare i32 @getofield(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuhpq0kvx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findprop(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = call i32 @getofield(i32 noundef %9, i32 noundef 6) store i32 %10, ptr %6, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %35 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %27 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %8, align 4 %17 = add nsw i32 8, %16 %18 = call i32 @getofield(i32 noundef %15, i32 noundef %17) %19 = and i32 %18, -32769 %20 = load i32, ptr %5, align 4 %21 = icmp eq i32 %19, %20 br i1 %21, label %22, label %26 22: ; preds = %14 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 8, %23 %25 = add nsw i32 %24, 2 store i32 %25, ptr %3, align 4 br label %36 26: ; preds = %14 br label %27 27: ; preds = %26 %28 = load i32, ptr %7, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %7, align 4 %30 = load i32, ptr %8, align 4 %31 = add nsw i32 %30, 4 store i32 %31, ptr %8, align 4 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %6, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %35 35: ; preds = %._crit_edge, %2 store i32 0, ptr %3, align 4 br label %36 36: ; preds = %35, %22 %37 = load i32, ptr %3, align 4 ret i32 %37 } declare i32 @getofield(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6g95w_x8.c' source_filename = "/tmp/tmp6g95w_x8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_get_umbrella_bias(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %8) #0 { %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 store ptr %0, ptr %10, align 8 store ptr %1, ptr %11, align 8 store ptr %2, ptr %12, align 8 store ptr %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store i32 %5, ptr %15, align 4 store i32 %6, ptr %16, align 4 store i32 %7, ptr %17, align 4 store ptr %8, ptr %18, align 8 %30 = load i32, ptr %17, align 4 %31 = load i32, ptr %17, align 4 %32 = mul nsw i32 %30, %31 store i32 %32, ptr %23, align 4 store i32 0, ptr %21, align 4 br label %33 33: ; preds = %158, %9 %34 = load i32, ptr %21, align 4 %35 = load i32, ptr %15, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %37, label %161 37: ; preds = %33 %38 = load i32, ptr %21, align 4 %39 = load i32, ptr %17, align 4 %40 = mul nsw i32 %38, %39 store i32 %40, ptr %26, align 4 store i32 0, ptr %22, align 4 br label %41 41: ; preds = %154, %37 %42 = load i32, ptr %22, align 4 %43 = load i32, ptr %16, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %45, label %157 45: ; preds = %41 store double 0.000000e+00, ptr %27, align 8 %46 = load i32, ptr %22, align 4 %47 = load i32, ptr %23, align 4 %48 = mul nsw i32 %46, %47 store i32 %48, ptr %24, align 4 %49 = load i32, ptr %22, align 4 %50 = load i32, ptr %17, align 4 %51 = mul nsw i32 %49, %50 store i32 %51, ptr %25, align 4 store i32 0, ptr %19, align 4 br label %52 52: ; preds = %140, %45 %53 = load i32, ptr %19, align 4 %54 = load i32, ptr %17, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %56, label %143 56: ; preds = %52 store double 0.000000e+00, ptr %28, align 8 store i32 0, ptr %20, align 4 br label %57 57: ; preds = %133, %56 %58 = load i32, ptr %20, align 4 %59 = load i32, ptr %17, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %61, label %136 61: ; preds = %57 %62 = load ptr, ptr %12, align 8 %63 = load i32, ptr %24, align 4 %64 = load i32, ptr %19, align 4 %65 = load i32, ptr %17, align 4 %66 = mul nsw i32 %64, %65 %67 = add nsw i32 %63, %66 %68 = load i32, ptr %20, align 4 %69 = add nsw i32 %67, %68 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds double, ptr %62, i64 %70 %72 = load double, ptr %71, align 8 store double %72, ptr %29, align 8 %73 = load double, ptr %29, align 8 %74 = fcmp oeq double 0.000000e+00, %73 br i1 %74, label %75, label %76 75: ; preds = %61 br label %133 76: ; preds = %61 %77 = load double, ptr %29, align 8 %78 = load ptr, ptr %10, align 8 %79 = load i32, ptr %26, align 4 %80 = load i32, ptr %19, align 4 %81 = add nsw i32 %79, %80 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds double, ptr %78, i64 %82 %84 = load double, ptr %83, align 8 %85 = load ptr, ptr %11, align 8 %86 = load i32, ptr %25, align 4 %87 = load i32, ptr %19, align 4 %88 = add nsw i32 %86, %87 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds double, ptr %85, i64 %89 %91 = load double, ptr %90, align 8 %92 = fsub double %84, %91 %93 = load ptr, ptr %13, align 8 %94 = load i32, ptr %19, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds double, ptr %93, i64 %95 %97 = load double, ptr %96, align 8 %98 = load ptr, ptr %14, align 8 %99 = load i32, ptr %19, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds double, ptr %98, i64 %100 %102 = load double, ptr %101, align 8 %103 = call double @wrap(double noundef %92, double noundef %97, double noundef %102) %104 = fmul double %77, %103 %105 = load ptr, ptr %10, align 8 %106 = load i32, ptr %26, align 4 %107 = load i32, ptr %20, align 4 %108 = add nsw i32 %106, %107 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds double, ptr %105, i64 %109 %111 = load double, ptr %110, align 8 %112 = load ptr, ptr %11, align 8 %113 = load i32, ptr %25, align 4 %114 = load i32, ptr %20, align 4 %115 = add nsw i32 %113, %114 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds double, ptr %112, i64 %116 %118 = load double, ptr %117, align 8 %119 = fsub double %111, %118 %120 = load ptr, ptr %13, align 8 %121 = load i32, ptr %20, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds double, ptr %120, i64 %122 %124 = load double, ptr %123, align 8 %125 = load ptr, ptr %14, align 8 %126 = load i32, ptr %20, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds double, ptr %125, i64 %127 %129 = load double, ptr %128, align 8 %130 = call double @wrap(double noundef %119, double noundef %124, double noundef %129) %131 = load double, ptr %28, align 8 %132 = call double @llvm.fmuladd.f64(double %104, double %130, double %131) store double %132, ptr %28, align 8 br label %133 133: ; preds = %76, %75 %134 = load i32, ptr %20, align 4 %135 = add nsw i32 %134, 1 store i32 %135, ptr %20, align 4 br label %57, !llvm.loop !6 136: ; preds = %57 %137 = load double, ptr %28, align 8 %138 = load double, ptr %27, align 8 %139 = fadd double %138, %137 store double %139, ptr %27, align 8 br label %140 140: ; preds = %136 %141 = load i32, ptr %19, align 4 %142 = add nsw i32 %141, 1 store i32 %142, ptr %19, align 4 br label %52, !llvm.loop !8 143: ; preds = %52 %144 = load double, ptr %27, align 8 %145 = fmul double 5.000000e-01, %144 %146 = load ptr, ptr %18, align 8 %147 = load i32, ptr %21, align 4 %148 = load i32, ptr %16, align 4 %149 = mul nsw i32 %147, %148 %150 = load i32, ptr %22, align 4 %151 = add nsw i32 %149, %150 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds double, ptr %146, i64 %152 store double %145, ptr %153, align 8 br label %154 154: ; preds = %143 %155 = load i32, ptr %22, align 4 %156 = add nsw i32 %155, 1 store i32 %156, ptr %22, align 4 br label %41, !llvm.loop !9 157: ; preds = %41 br label %158 158: ; preds = %157 %159 = load i32, ptr %21, align 4 %160 = add nsw i32 %159, 1 store i32 %160, ptr %21, align 4 br label %33, !llvm.loop !10 161: ; preds = %33 ret void } declare double @wrap(double noundef, double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6g95w_x8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_get_umbrella_bias(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %8) #0 { %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 store ptr %0, ptr %10, align 8 store ptr %1, ptr %11, align 8 store ptr %2, ptr %12, align 8 store ptr %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store i32 %5, ptr %15, align 4 store i32 %6, ptr %16, align 4 store i32 %7, ptr %17, align 4 store ptr %8, ptr %18, align 8 %30 = load i32, ptr %17, align 4 %31 = load i32, ptr %17, align 4 %32 = mul nsw i32 %30, %31 store i32 %32, ptr %23, align 4 store i32 0, ptr %21, align 4 %33 = load i32, ptr %21, align 4 %34 = load i32, ptr %15, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %.lr.ph8, label %169 .lr.ph8: ; preds = %9 br label %36 36: ; preds = %.lr.ph8, %163 %37 = load i32, ptr %21, align 4 %38 = load i32, ptr %17, align 4 %39 = mul nsw i32 %37, %38 store i32 %39, ptr %26, align 4 store i32 0, ptr %22, align 4 %40 = load i32, ptr %22, align 4 %41 = load i32, ptr %16, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %.lr.ph5, label %162 .lr.ph5: ; preds = %36 br label %43 43: ; preds = %.lr.ph5, %156 store double 0.000000e+00, ptr %27, align 8 %44 = load i32, ptr %22, align 4 %45 = load i32, ptr %23, align 4 %46 = mul nsw i32 %44, %45 store i32 %46, ptr %24, align 4 %47 = load i32, ptr %22, align 4 %48 = load i32, ptr %17, align 4 %49 = mul nsw i32 %47, %48 store i32 %49, ptr %25, align 4 store i32 0, ptr %19, align 4 %50 = load i32, ptr %19, align 4 %51 = load i32, ptr %17, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %.lr.ph2, label %145 .lr.ph2: ; preds = %43 br label %53 53: ; preds = %.lr.ph2, %139 store double 0.000000e+00, ptr %28, align 8 store i32 0, ptr %20, align 4 %54 = load i32, ptr %20, align 4 %55 = load i32, ptr %17, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %.lr.ph, label %135 .lr.ph: ; preds = %53 br label %57 57: ; preds = %.lr.ph, %129 %58 = load ptr, ptr %12, align 8 %59 = load i32, ptr %24, align 4 %60 = load i32, ptr %19, align 4 %61 = load i32, ptr %17, align 4 %62 = mul nsw i32 %60, %61 %63 = add nsw i32 %59, %62 %64 = load i32, ptr %20, align 4 %65 = add nsw i32 %63, %64 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds double, ptr %58, i64 %66 %68 = load double, ptr %67, align 8 store double %68, ptr %29, align 8 %69 = load double, ptr %29, align 8 %70 = fcmp oeq double 0.000000e+00, %69 br i1 %70, label %71, label %72 71: ; preds = %57 br label %129 72: ; preds = %57 %73 = load double, ptr %29, align 8 %74 = load ptr, ptr %10, align 8 %75 = load i32, ptr %26, align 4 %76 = load i32, ptr %19, align 4 %77 = add nsw i32 %75, %76 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds double, ptr %74, i64 %78 %80 = load double, ptr %79, align 8 %81 = load ptr, ptr %11, align 8 %82 = load i32, ptr %25, align 4 %83 = load i32, ptr %19, align 4 %84 = add nsw i32 %82, %83 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds double, ptr %81, i64 %85 %87 = load double, ptr %86, align 8 %88 = fsub double %80, %87 %89 = load ptr, ptr %13, align 8 %90 = load i32, ptr %19, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds double, ptr %89, i64 %91 %93 = load double, ptr %92, align 8 %94 = load ptr, ptr %14, align 8 %95 = load i32, ptr %19, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds double, ptr %94, i64 %96 %98 = load double, ptr %97, align 8 %99 = call double @wrap(double noundef %88, double noundef %93, double noundef %98) %100 = fmul double %73, %99 %101 = load ptr, ptr %10, align 8 %102 = load i32, ptr %26, align 4 %103 = load i32, ptr %20, align 4 %104 = add nsw i32 %102, %103 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds double, ptr %101, i64 %105 %107 = load double, ptr %106, align 8 %108 = load ptr, ptr %11, align 8 %109 = load i32, ptr %25, align 4 %110 = load i32, ptr %20, align 4 %111 = add nsw i32 %109, %110 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds double, ptr %108, i64 %112 %114 = load double, ptr %113, align 8 %115 = fsub double %107, %114 %116 = load ptr, ptr %13, align 8 %117 = load i32, ptr %20, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds double, ptr %116, i64 %118 %120 = load double, ptr %119, align 8 %121 = load ptr, ptr %14, align 8 %122 = load i32, ptr %20, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds double, ptr %121, i64 %123 %125 = load double, ptr %124, align 8 %126 = call double @wrap(double noundef %115, double noundef %120, double noundef %125) %127 = load double, ptr %28, align 8 %128 = call double @llvm.fmuladd.f64(double %100, double %126, double %127) store double %128, ptr %28, align 8 br label %129 129: ; preds = %72, %71 %130 = load i32, ptr %20, align 4 %131 = add nsw i32 %130, 1 store i32 %131, ptr %20, align 4 %132 = load i32, ptr %20, align 4 %133 = load i32, ptr %17, align 4 %134 = icmp slt i32 %132, %133 br i1 %134, label %57, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %129 br label %135 135: ; preds = %._crit_edge, %53 %136 = load double, ptr %28, align 8 %137 = load double, ptr %27, align 8 %138 = fadd double %137, %136 store double %138, ptr %27, align 8 br label %139 139: ; preds = %135 %140 = load i32, ptr %19, align 4 %141 = add nsw i32 %140, 1 store i32 %141, ptr %19, align 4 %142 = load i32, ptr %19, align 4 %143 = load i32, ptr %17, align 4 %144 = icmp slt i32 %142, %143 br i1 %144, label %53, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %139 br label %145 145: ; preds = %._crit_edge3, %43 %146 = load double, ptr %27, align 8 %147 = fmul double 5.000000e-01, %146 %148 = load ptr, ptr %18, align 8 %149 = load i32, ptr %21, align 4 %150 = load i32, ptr %16, align 4 %151 = mul nsw i32 %149, %150 %152 = load i32, ptr %22, align 4 %153 = add nsw i32 %151, %152 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds double, ptr %148, i64 %154 store double %147, ptr %155, align 8 br label %156 156: ; preds = %145 %157 = load i32, ptr %22, align 4 %158 = add nsw i32 %157, 1 store i32 %158, ptr %22, align 4 %159 = load i32, ptr %22, align 4 %160 = load i32, ptr %16, align 4 %161 = icmp slt i32 %159, %160 br i1 %161, label %43, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %156 br label %162 162: ; preds = %._crit_edge6, %36 br label %163 163: ; preds = %162 %164 = load i32, ptr %21, align 4 %165 = add nsw i32 %164, 1 store i32 %165, ptr %21, align 4 %166 = load i32, ptr %21, align 4 %167 = load i32, ptr %15, align 4 %168 = icmp slt i32 %166, %167 br i1 %168, label %36, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %163 br label %169 169: ; preds = %._crit_edge9, %9 ret void } declare double @wrap(double noundef, double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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}
; ModuleID = '/tmp/tmpmkkggvgm.c' source_filename = "/tmp/tmpmkkggvgm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spi_disable_blockprotect_at25f4096(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 @spi_disable_blockprotect_generic(ptr noundef %3, i32 noundef 28, i32 noundef 128, i32 noundef 0) ret i32 %4 } declare i32 @spi_disable_blockprotect_generic(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmkkggvgm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spi_disable_blockprotect_at25f4096(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 @spi_disable_blockprotect_generic(ptr noundef %3, i32 noundef 28, i32 noundef 128, i32 noundef 0) ret i32 %4 } declare i32 @spi_disable_blockprotect_generic(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa8ujpdoo.c' source_filename = "/tmp/tmpa8ujpdoo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"[%10s]: %s%s\0A\1B[0m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @EXPMarkTag(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 %6, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %3 store ptr @.str, ptr %6, align 8 br label %10 10: ; preds = %9, %3 %11 = load ptr, ptr %4, align 8 %12 = load ptr, ptr %6, align 8 %13 = load ptr, ptr %5, align 8 %14 = call i32 @printf(ptr noundef @.str.1, ptr noundef %11, ptr noundef %12, ptr noundef %13) ret void } declare i32 @printf(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/tmpa8ujpdoo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"[%10s]: %s%s\0A\1B[0m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @EXPMarkTag(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 %6, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %3 store ptr @.str, ptr %6, align 8 br label %10 10: ; preds = %9, %3 %11 = load ptr, ptr %4, align 8 %12 = load ptr, ptr %6, align 8 %13 = load ptr, ptr %5, align 8 %14 = call i32 @printf(ptr noundef @.str.1, ptr noundef %11, ptr noundef %12, ptr noundef %13) ret void } declare i32 @printf(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/tmpfyeog04e.c' source_filename = "/tmp/tmpfyeog04e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"-out\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [5 x i8] c"-err\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [3 x i8] c"--\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = 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 %11 = call i32 (...) @getpid() store i32 %11, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) %14 = call i32 @fflush(ptr noundef null) %15 = load i32, ptr %4, align 4 %16 = icmp sle i32 %15, 1 br i1 %16, label %17, label %23 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 0 %20 = load ptr, ptr %19, align 8 %21 = load i32, ptr @EXIT_SUCCESS, align 4 %22 = call i32 @print_usage_info_and_exit(ptr noundef %20, i32 noundef %21) br label %23 23: ; preds = %17, %2 store i32 0, ptr %7, align 4 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = mul i64 8, %26 %28 = trunc i64 %27 to i32 %29 = call ptr @malloc(i32 noundef %28) store ptr %29, ptr %8, align 8 %30 = load ptr, ptr %8, align 8 %31 = icmp eq ptr null, %30 br i1 %31, label %32, label %34 32: ; preds = %23 %33 = call i32 @exit(i32 noundef 901) #3 unreachable 34: ; preds = %23 store i32 1, ptr %9, align 4 store i32 1, ptr %10, align 4 br label %35 35: ; preds = %116, %34 %36 = load i32, ptr %9, align 4 %37 = load i32, ptr %4, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %39, label %117 39: ; preds = %35 %40 = load i32, ptr %10, align 4 %41 = icmp ne i32 %40, 0 br i1 %41, label %42, label %62 42: ; preds = %39 %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %9, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds ptr, ptr %43, i64 %45 %47 = load ptr, ptr %46, align 8 %48 = call i64 @strcmp(ptr noundef @.str.1, ptr noundef %47) %49 = icmp eq i64 0, %48 br i1 %49, label %50, label %62 50: ; preds = %42 %51 = load i32, ptr @stdout, align 4 %52 = call i32 @fileno(i32 noundef %51) %53 = load ptr, ptr %5, align 8 %54 = load i32, ptr %9, align 4 %55 = add nsw i32 %54, 1 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds ptr, ptr %53, i64 %56 %58 = load ptr, ptr %57, align 8 %59 = call i32 @redirect(i32 noundef %52, ptr noundef %58) %60 = load i32, ptr %9, align 4 %61 = add nsw i32 %60, 2 store i32 %61, ptr %9, align 4 br label %116 62: ; preds = %42, %39 %63 = load i32, ptr %10, align 4 %64 = icmp ne i32 %63, 0 br i1 %64, label %65, label %85 65: ; preds = %62 %66 = load ptr, ptr %5, align 8 %67 = load i32, ptr %9, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds ptr, ptr %66, i64 %68 %70 = load ptr, ptr %69, align 8 %71 = call i64 @strcmp(ptr noundef @.str.2, ptr noundef %70) %72 = icmp eq i64 0, %71 br i1 %72, label %73, label %85 73: ; preds = %65 %74 = load i32, ptr @stderr, align 4 %75 = call i32 @fileno(i32 noundef %74) %76 = load ptr, ptr %5, align 8 %77 = load i32, ptr %9, align 4 %78 = add nsw i32 %77, 1 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds ptr, ptr %76, i64 %79 %81 = load ptr, ptr %80, align 8 %82 = call i32 @redirect(i32 noundef %75, ptr noundef %81) %83 = load i32, ptr %9, align 4 %84 = add nsw i32 %83, 2 store i32 %84, ptr %9, align 4 br label %115 85: ; preds = %65, %62 %86 = load i32, ptr %10, align 4 %87 = icmp ne i32 %86, 0 br i1 %87, label %88, label %99 88: ; preds = %85 %89 = load ptr, ptr %5, align 8 %90 = load i32, ptr %9, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds ptr, ptr %89, i64 %91 %93 = load ptr, ptr %92, align 8 %94 = call i64 @strcmp(ptr noundef @.str.3, ptr noundef %93) %95 = icmp eq i64 0, %94 br i1 %95, label %96, label %99 96: ; preds = %88 store i32 0, ptr %10, align 4 %97 = load i32, ptr %9, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %9, align 4 br label %114 99: ; preds = %88, %85 %100 = load ptr, ptr %5, align 8 %101 = load i32, ptr %9, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds ptr, ptr %100, i64 %102 %104 = load ptr, ptr %103, align 8 %105 = call ptr @strdup(ptr noundef %104) %106 = load ptr, ptr %8, align 8 %107 = load i32, ptr %7, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds ptr, ptr %106, i64 %108 store ptr %105, ptr %109, align 8 %110 = load i32, ptr %7, align 4 %111 = add nsw i32 %110, 1 store i32 %111, ptr %7, align 4 %112 = load i32, ptr %9, align 4 %113 = add nsw i32 %112, 1 store i32 %113, ptr %9, align 4 br label %114 114: ; preds = %99, %96 br label %115 115: ; preds = %114, %73 br label %116 116: ; preds = %115, %50 br label %35, !llvm.loop !6 117: ; preds = %35 %118 = load i32, ptr %7, align 4 %119 = icmp eq i32 %118, 0 br i1 %119, label %120, label %126 120: ; preds = %117 %121 = load ptr, ptr %5, align 8 %122 = getelementptr inbounds ptr, ptr %121, i64 0 %123 = load ptr, ptr %122, align 8 %124 = load i32, ptr @EXIT_SUCCESS, align 4 %125 = call i32 @print_usage_info_and_exit(ptr noundef %123, i32 noundef %124) br label %126 126: ; preds = %120, %117 %127 = load ptr, ptr %8, align 8 %128 = load i32, ptr %7, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds ptr, ptr %127, i64 %129 store ptr null, ptr %130, align 8 %131 = load ptr, ptr %8, align 8 %132 = getelementptr inbounds ptr, ptr %131, i64 0 %133 = load ptr, ptr %132, align 8 %134 = load ptr, ptr %8, align 8 %135 = call i32 @execvp(ptr noundef %133, ptr noundef %134) %136 = call i32 @exit(i32 noundef 902) #3 unreachable } declare i32 @getpid(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @fflush(ptr noundef) #1 declare i32 @print_usage_info_and_exit(ptr noundef, i32 noundef) #1 declare ptr @malloc(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @redirect(i32 noundef, ptr noundef) #1 declare i32 @fileno(i32 noundef) #1 declare ptr @strdup(ptr noundef) #1 declare i32 @execvp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfyeog04e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"-out\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [5 x i8] c"-err\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [3 x i8] c"--\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = 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 %11 = call i32 (...) @getpid() store i32 %11, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) %14 = call i32 @fflush(ptr noundef null) %15 = load i32, ptr %4, align 4 %16 = icmp sle i32 %15, 1 br i1 %16, label %17, label %23 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 0 %20 = load ptr, ptr %19, align 8 %21 = load i32, ptr @EXIT_SUCCESS, align 4 %22 = call i32 @print_usage_info_and_exit(ptr noundef %20, i32 noundef %21) br label %23 23: ; preds = %17, %2 store i32 0, ptr %7, align 4 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = mul i64 8, %26 %28 = trunc i64 %27 to i32 %29 = call ptr @malloc(i32 noundef %28) store ptr %29, ptr %8, align 8 %30 = load ptr, ptr %8, align 8 %31 = icmp eq ptr null, %30 br i1 %31, label %32, label %34 32: ; preds = %23 %33 = call i32 @exit(i32 noundef 901) #3 unreachable 34: ; preds = %23 store i32 1, ptr %9, align 4 store i32 1, ptr %10, align 4 %35 = load i32, ptr %9, align 4 %36 = load i32, ptr %4, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %.lr.ph, label %119 .lr.ph: ; preds = %34 br label %38 38: ; preds = %.lr.ph, %115 %39 = load i32, ptr %10, align 4 %40 = icmp ne i32 %39, 0 br i1 %40, label %41, label %61 41: ; preds = %38 %42 = load ptr, ptr %5, align 8 %43 = load i32, ptr %9, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds ptr, ptr %42, i64 %44 %46 = load ptr, ptr %45, align 8 %47 = call i64 @strcmp(ptr noundef @.str.1, ptr noundef %46) %48 = icmp eq i64 0, %47 br i1 %48, label %49, label %61 49: ; preds = %41 %50 = load i32, ptr @stdout, align 4 %51 = call i32 @fileno(i32 noundef %50) %52 = load ptr, ptr %5, align 8 %53 = load i32, ptr %9, align 4 %54 = add nsw i32 %53, 1 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds ptr, ptr %52, i64 %55 %57 = load ptr, ptr %56, align 8 %58 = call i32 @redirect(i32 noundef %51, ptr noundef %57) %59 = load i32, ptr %9, align 4 %60 = add nsw i32 %59, 2 store i32 %60, ptr %9, align 4 br label %115 61: ; preds = %41, %38 %62 = load i32, ptr %10, align 4 %63 = icmp ne i32 %62, 0 br i1 %63, label %64, label %84 64: ; preds = %61 %65 = load ptr, ptr %5, align 8 %66 = load i32, ptr %9, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds ptr, ptr %65, i64 %67 %69 = load ptr, ptr %68, align 8 %70 = call i64 @strcmp(ptr noundef @.str.2, ptr noundef %69) %71 = icmp eq i64 0, %70 br i1 %71, label %72, label %84 72: ; preds = %64 %73 = load i32, ptr @stderr, align 4 %74 = call i32 @fileno(i32 noundef %73) %75 = load ptr, ptr %5, align 8 %76 = load i32, ptr %9, align 4 %77 = add nsw i32 %76, 1 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds ptr, ptr %75, i64 %78 %80 = load ptr, ptr %79, align 8 %81 = call i32 @redirect(i32 noundef %74, ptr noundef %80) %82 = load i32, ptr %9, align 4 %83 = add nsw i32 %82, 2 store i32 %83, ptr %9, align 4 br label %114 84: ; preds = %64, %61 %85 = load i32, ptr %10, align 4 %86 = icmp ne i32 %85, 0 br i1 %86, label %87, label %98 87: ; preds = %84 %88 = load ptr, ptr %5, align 8 %89 = load i32, ptr %9, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds ptr, ptr %88, i64 %90 %92 = load ptr, ptr %91, align 8 %93 = call i64 @strcmp(ptr noundef @.str.3, ptr noundef %92) %94 = icmp eq i64 0, %93 br i1 %94, label %95, label %98 95: ; preds = %87 store i32 0, ptr %10, align 4 %96 = load i32, ptr %9, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %9, align 4 br label %113 98: ; preds = %87, %84 %99 = load ptr, ptr %5, align 8 %100 = load i32, ptr %9, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds ptr, ptr %99, i64 %101 %103 = load ptr, ptr %102, align 8 %104 = call ptr @strdup(ptr noundef %103) %105 = load ptr, ptr %8, align 8 %106 = load i32, ptr %7, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds ptr, ptr %105, i64 %107 store ptr %104, ptr %108, align 8 %109 = load i32, ptr %7, align 4 %110 = add nsw i32 %109, 1 store i32 %110, ptr %7, align 4 %111 = load i32, ptr %9, align 4 %112 = add nsw i32 %111, 1 store i32 %112, ptr %9, align 4 br label %113 113: ; preds = %98, %95 br label %114 114: ; preds = %113, %72 br label %115 115: ; preds = %114, %49 %116 = load i32, ptr %9, align 4 %117 = load i32, ptr %4, align 4 %118 = icmp slt i32 %116, %117 br i1 %118, label %38, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %115 br label %119 119: ; preds = %._crit_edge, %34 %120 = load i32, ptr %7, align 4 %121 = icmp eq i32 %120, 0 br i1 %121, label %122, label %128 122: ; preds = %119 %123 = load ptr, ptr %5, align 8 %124 = getelementptr inbounds ptr, ptr %123, i64 0 %125 = load ptr, ptr %124, align 8 %126 = load i32, ptr @EXIT_SUCCESS, align 4 %127 = call i32 @print_usage_info_and_exit(ptr noundef %125, i32 noundef %126) br label %128 128: ; preds = %122, %119 %129 = load ptr, ptr %8, align 8 %130 = load i32, ptr %7, align 4 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds ptr, ptr %129, i64 %131 store ptr null, ptr %132, align 8 %133 = load ptr, ptr %8, align 8 %134 = getelementptr inbounds ptr, ptr %133, i64 0 %135 = load ptr, ptr %134, align 8 %136 = load ptr, ptr %8, align 8 %137 = call i32 @execvp(ptr noundef %135, ptr noundef %136) %138 = call i32 @exit(i32 noundef 902) #3 unreachable } declare i32 @getpid(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @fflush(ptr noundef) #1 declare i32 @print_usage_info_and_exit(ptr noundef, i32 noundef) #1 declare ptr @malloc(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @redirect(i32 noundef, ptr noundef) #1 declare i32 @fileno(i32 noundef) #1 declare ptr @strdup(ptr noundef) #1 declare i32 @execvp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpxhv40o8d.c' source_filename = "/tmp/tmpxhv40o8d.c" target datalayout = "e-m:e-p270: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/tmpxhv40o8d.c" target datalayout = "e-m:e-p270: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/tmp9b47mui4.c' source_filename = "/tmp/tmp9b47mui4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %6, %0 %4 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %5 = icmp ne i64 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %3 %7 = load double, ptr %2, align 8 %8 = call i32 @Temperature(double noundef %7) br label %3, !llvm.loop !6 9: ; preds = %3 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @Temperature(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9b47mui4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 store i32 0, ptr %1, align 4 %3 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %4 = icmp ne i64 %3, 0 br i1 %4, label %.lr.ph, label %10 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %5 %6 = load double, ptr %2, align 8 %7 = call i32 @Temperature(double noundef %6) %8 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %9 = icmp ne i64 %8, 0 br i1 %9, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %5 br label %10 10: ; preds = %._crit_edge, %0 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @Temperature(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp87z0pvvo.c' source_filename = "/tmp/tmp87z0pvvo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Sem espa\C3\A7o suficiente\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @append_plaintext(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = srem i32 %9, 8 %11 = sub nsw i32 8, %10 store i32 %11, ptr %5, align 4 %12 = load i32, ptr %5, align 4 %13 = icmp eq i32 %12, 8 br i1 %13, label %14, label %16 14: ; preds = %1 %15 = load ptr, ptr %3, align 8 store ptr %15, ptr %2, align 8 br label %54 16: ; preds = %1 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %18, %19 %21 = sext i32 %20 to i64 %22 = mul i64 %21, 1 %23 = trunc i64 %22 to i32 %24 = call i64 @realloc(ptr noundef %17, i32 noundef %23) %25 = inttoptr i64 %24 to ptr store ptr %25, ptr %3, align 8 %26 = load ptr, ptr %3, align 8 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %30 28: ; preds = %16 %29 = call i32 @printf(ptr noundef @.str) store ptr null, ptr %2, align 8 br label %54 30: ; preds = %16 %31 = load i32, ptr %4, align 4 store i32 %31, ptr %6, align 4 br label %32 32: ; preds = %43, %30 %33 = load i32, ptr %6, align 4 %34 = load i32, ptr %4, align 4 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %34, %35 %37 = icmp slt i32 %33, %36 br i1 %37, label %38, label %46 38: ; preds = %32 %39 = load ptr, ptr %3, align 8 %40 = load i32, ptr %6, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 store i8 42, ptr %42, align 1 br label %43 43: ; preds = %38 %44 = load i32, ptr %6, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %6, align 4 br label %32, !llvm.loop !6 46: ; preds = %32 %47 = load ptr, ptr %3, align 8 %48 = load i32, ptr %6, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 store i8 0, ptr %50, align 1 %51 = load ptr, ptr %3, align 8 %52 = call i32 @strlen(ptr noundef %51) store i32 %52, ptr %4, align 4 %53 = load ptr, ptr %3, align 8 store ptr %53, ptr %2, align 8 br label %54 54: ; preds = %46, %28, %14 %55 = load ptr, ptr %2, align 8 ret ptr %55 } declare i32 @strlen(ptr noundef) #1 declare i64 @realloc(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp87z0pvvo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Sem espa\C3\A7o suficiente\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @append_plaintext(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = srem i32 %9, 8 %11 = sub nsw i32 8, %10 store i32 %11, ptr %5, align 4 %12 = load i32, ptr %5, align 4 %13 = icmp eq i32 %12, 8 br i1 %13, label %14, label %16 14: ; preds = %1 %15 = load ptr, ptr %3, align 8 store ptr %15, ptr %2, align 8 br label %58 16: ; preds = %1 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %18, %19 %21 = sext i32 %20 to i64 %22 = mul i64 %21, 1 %23 = trunc i64 %22 to i32 %24 = call i64 @realloc(ptr noundef %17, i32 noundef %23) %25 = inttoptr i64 %24 to ptr store ptr %25, ptr %3, align 8 %26 = load ptr, ptr %3, align 8 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %30 28: ; preds = %16 %29 = call i32 @printf(ptr noundef @.str) store ptr null, ptr %2, align 8 br label %58 30: ; preds = %16 %31 = load i32, ptr %4, align 4 store i32 %31, ptr %6, align 4 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr %4, align 4 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %33, %34 %36 = icmp slt i32 %32, %35 br i1 %36, label %.lr.ph, label %50 .lr.ph: ; preds = %30 br label %37 37: ; preds = %.lr.ph, %42 %38 = load ptr, ptr %3, align 8 %39 = load i32, ptr %6, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 store i8 42, ptr %41, align 1 br label %42 42: ; preds = %37 %43 = load i32, ptr %6, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %6, align 4 %45 = load i32, ptr %6, align 4 %46 = load i32, ptr %4, align 4 %47 = load i32, ptr %5, align 4 %48 = add nsw i32 %46, %47 %49 = icmp slt i32 %45, %48 br i1 %49, label %37, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %50 50: ; preds = %._crit_edge, %30 %51 = load ptr, ptr %3, align 8 %52 = load i32, ptr %6, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 store i8 0, ptr %54, align 1 %55 = load ptr, ptr %3, align 8 %56 = call i32 @strlen(ptr noundef %55) store i32 %56, ptr %4, align 4 %57 = load ptr, ptr %3, align 8 store ptr %57, ptr %2, align 8 br label %58 58: ; preds = %50, %28, %14 %59 = load ptr, ptr %2, align 8 ret ptr %59 } declare i32 @strlen(ptr noundef) #1 declare i64 @realloc(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpyorkvsfw.c' source_filename = "/tmp/tmpyorkvsfw.c" target datalayout = "e-m:e-p270: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/tmpyorkvsfw.c" target datalayout = "e-m:e-p270: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/tmp5_r5kr0q.c' source_filename = "/tmp/tmp5_r5kr0q.c" target datalayout = "e-m:e-p270: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/tmp5_r5kr0q.c" target datalayout = "e-m:e-p270: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/tmpdih2q3y8.c' source_filename = "/tmp/tmpdih2q3y8.c" target datalayout = "e-m:e-p270: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.msghdr = type { ptr, i64, ptr } %struct.sockaddr_in = type { i32, i32 } %struct.cmsghdr = type { i64, i64, i64 } %struct.TYPE_2__ = type { i64 } @INET_ADDRSTRLEN = dso_local global i32 0, align 4 @AF_INET = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"UDP message received from: %s:%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"Ctrl len: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"Length: %d, level: %d, type: %d\0A\00", align 1 @IPPROTO_IP = dso_local global i64 0, align 8 @IP_TOS = dso_local global i64 0, align 8 @.str.3 = private unnamed_addr constant [14 x i8] c"ECN bits: %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"Msg len: %d \0A\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"Buffer dump: \00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%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 void @display_msg(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i16, align 2 %9 = alloca ptr, align 8 %10 = alloca i8, align 1 %11 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %12 = load i32, ptr @INET_ADDRSTRLEN, align 4 %13 = zext i32 %12 to i64 %14 = call ptr @llvm.stacksave() store ptr %14, ptr %6, align 8 %15 = alloca i8, i64 %13, align 16 store i64 %13, ptr %7, align 8 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds %struct.msghdr, ptr %16, i32 0, i32 2 %18 = load ptr, ptr %17, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %20, label %36 20: ; preds = %2 %21 = load i32, ptr @AF_INET, align 4 %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds %struct.msghdr, ptr %22, i32 0, i32 2 %24 = load ptr, ptr %23, align 8 %25 = getelementptr inbounds %struct.sockaddr_in, ptr %24, i32 0, i32 1 %26 = call i32 @inet_ntop(i32 noundef %21, ptr noundef %25, ptr noundef %15, i32 noundef 8) %27 = load ptr, ptr %3, align 8 %28 = getelementptr inbounds %struct.msghdr, ptr %27, i32 0, i32 2 %29 = load ptr, ptr %28, align 8 %30 = getelementptr inbounds %struct.sockaddr_in, ptr %29, i32 0, i32 0 %31 = load i32, ptr %30, align 4 %32 = call zeroext i16 @ntohs(i32 noundef %31) store i16 %32, ptr %8, align 2 %33 = load i16, ptr %8, align 2 %34 = zext i16 %33 to i32 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %15, i32 noundef %34) br label %36 36: ; preds = %20, %2 %37 = load ptr, ptr %3, align 8 %38 = getelementptr inbounds %struct.msghdr, ptr %37, i32 0, i32 1 %39 = load i64, ptr %38, align 8 %40 = trunc i64 %39 to i32 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %40) %42 = load ptr, ptr %3, align 8 %43 = call ptr @CMSG_FIRSTHDR(ptr noundef %42) store ptr %43, ptr %5, align 8 br label %44 44: ; preds = %84, %36 %45 = load ptr, ptr %5, align 8 %46 = icmp ne ptr %45, null br i1 %46, label %47, label %88 47: ; preds = %44 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds %struct.cmsghdr, ptr %48, i32 0, i32 2 %50 = load i64, ptr %49, align 8 %51 = trunc i64 %50 to i32 %52 = load ptr, ptr %5, align 8 %53 = getelementptr inbounds %struct.cmsghdr, ptr %52, i32 0, i32 0 %54 = load i64, ptr %53, align 8 %55 = trunc i64 %54 to i32 %56 = load ptr, ptr %5, align 8 %57 = getelementptr inbounds %struct.cmsghdr, ptr %56, i32 0, i32 1 %58 = load i64, ptr %57, align 8 %59 = trunc i64 %58 to i32 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %51, i32 noundef %55, i32 noundef %59) %61 = load ptr, ptr %5, align 8 %62 = getelementptr inbounds %struct.cmsghdr, ptr %61, i32 0, i32 0 %63 = load i64, ptr %62, align 8 %64 = load i64, ptr @IPPROTO_IP, align 8 %65 = icmp eq i64 %63, %64 br i1 %65, label %66, label %83 66: ; preds = %47 %67 = load ptr, ptr %5, align 8 %68 = getelementptr inbounds %struct.cmsghdr, ptr %67, i32 0, i32 1 %69 = load i64, ptr %68, align 8 %70 = load i64, ptr @IP_TOS, align 8 %71 = icmp eq i64 %69, %70 br i1 %71, label %72, label %83 72: ; preds = %66 %73 = load ptr, ptr %5, align 8 %74 = call i64 @CMSG_DATA(ptr noundef %73) %75 = inttoptr i64 %74 to ptr store ptr %75, ptr %9, align 8 %76 = load ptr, ptr %9, align 8 %77 = load i32, ptr %76, align 4 %78 = trunc i32 %77 to i8 store i8 %78, ptr %10, align 1 %79 = load i8, ptr %10, align 1 %80 = zext i8 %79 to i32 %81 = and i32 %80, 3 %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %81) br label %83 83: ; preds = %72, %66, %47 br label %84 84: ; preds = %83 %85 = load ptr, ptr %3, align 8 %86 = load ptr, ptr %5, align 8 %87 = call ptr @CMSG_NXTHDR(ptr noundef %85, ptr noundef %86) store ptr %87, ptr %5, align 8 br label %44, !llvm.loop !6 88: ; preds = %44 %89 = load i32, ptr %4, align 4 %90 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %89) %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 0, ptr %11, align 4 br label %92 92: ; preds = %110, %88 %93 = load i32, ptr %11, align 4 %94 = load i32, ptr %4, align 4 %95 = icmp ult i32 %93, %94 br i1 %95, label %96, label %113 96: ; preds = %92 %97 = load ptr, ptr %3, align 8 %98 = getelementptr inbounds %struct.msghdr, ptr %97, i32 0, i32 0 %99 = load ptr, ptr %98, align 8 %100 = getelementptr inbounds %struct.TYPE_2__, ptr %99, i64 0 %101 = getelementptr inbounds %struct.TYPE_2__, ptr %100, i32 0, i32 0 %102 = load i64, ptr %101, align 8 %103 = inttoptr i64 %102 to ptr %104 = load i32, ptr %11, align 4 %105 = zext i32 %104 to i64 %106 = getelementptr inbounds i8, ptr %103, i64 %105 %107 = load i8, ptr %106, align 1 %108 = sext i8 %107 to i32 %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %108) br label %110 110: ; preds = %96 %111 = load i32, ptr %11, align 4 %112 = add i32 %111, 1 store i32 %112, ptr %11, align 4 br label %92, !llvm.loop !8 113: ; preds = %92 %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %115 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %115) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @inet_ntop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #2 declare zeroext i16 @ntohs(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare ptr @CMSG_FIRSTHDR(ptr noundef) #2 declare i64 @CMSG_DATA(ptr noundef) #2 declare ptr @CMSG_NXTHDR(ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdih2q3y8.c" target datalayout = "e-m:e-p270: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.msghdr = type { ptr, i64, ptr } %struct.sockaddr_in = type { i32, i32 } %struct.cmsghdr = type { i64, i64, i64 } %struct.TYPE_2__ = type { i64 } @INET_ADDRSTRLEN = dso_local global i32 0, align 4 @AF_INET = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"UDP message received from: %s:%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"Ctrl len: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"Length: %d, level: %d, type: %d\0A\00", align 1 @IPPROTO_IP = dso_local global i64 0, align 8 @IP_TOS = dso_local global i64 0, align 8 @.str.3 = private unnamed_addr constant [14 x i8] c"ECN bits: %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"Msg len: %d \0A\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"Buffer dump: \00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%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 void @display_msg(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i16, align 2 %9 = alloca ptr, align 8 %10 = alloca i8, align 1 %11 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %12 = load i32, ptr @INET_ADDRSTRLEN, align 4 %13 = zext i32 %12 to i64 %14 = call ptr @llvm.stacksave() store ptr %14, ptr %6, align 8 %15 = alloca i8, i64 %13, align 16 store i64 %13, ptr %7, align 8 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds %struct.msghdr, ptr %16, i32 0, i32 2 %18 = load ptr, ptr %17, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %20, label %36 20: ; preds = %2 %21 = load i32, ptr @AF_INET, align 4 %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds %struct.msghdr, ptr %22, i32 0, i32 2 %24 = load ptr, ptr %23, align 8 %25 = getelementptr inbounds %struct.sockaddr_in, ptr %24, i32 0, i32 1 %26 = call i32 @inet_ntop(i32 noundef %21, ptr noundef %25, ptr noundef %15, i32 noundef 8) %27 = load ptr, ptr %3, align 8 %28 = getelementptr inbounds %struct.msghdr, ptr %27, i32 0, i32 2 %29 = load ptr, ptr %28, align 8 %30 = getelementptr inbounds %struct.sockaddr_in, ptr %29, i32 0, i32 0 %31 = load i32, ptr %30, align 4 %32 = call zeroext i16 @ntohs(i32 noundef %31) store i16 %32, ptr %8, align 2 %33 = load i16, ptr %8, align 2 %34 = zext i16 %33 to i32 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %15, i32 noundef %34) br label %36 36: ; preds = %20, %2 %37 = load ptr, ptr %3, align 8 %38 = getelementptr inbounds %struct.msghdr, ptr %37, i32 0, i32 1 %39 = load i64, ptr %38, align 8 %40 = trunc i64 %39 to i32 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %40) %42 = load ptr, ptr %3, align 8 %43 = call ptr @CMSG_FIRSTHDR(ptr noundef %42) store ptr %43, ptr %5, align 8 %44 = load ptr, ptr %5, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %.lr.ph, label %89 .lr.ph: ; preds = %36 br label %46 46: ; preds = %.lr.ph, %83 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds %struct.cmsghdr, ptr %47, i32 0, i32 2 %49 = load i64, ptr %48, align 8 %50 = trunc i64 %49 to i32 %51 = load ptr, ptr %5, align 8 %52 = getelementptr inbounds %struct.cmsghdr, ptr %51, i32 0, i32 0 %53 = load i64, ptr %52, align 8 %54 = trunc i64 %53 to i32 %55 = load ptr, ptr %5, align 8 %56 = getelementptr inbounds %struct.cmsghdr, ptr %55, i32 0, i32 1 %57 = load i64, ptr %56, align 8 %58 = trunc i64 %57 to i32 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %50, i32 noundef %54, i32 noundef %58) %60 = load ptr, ptr %5, align 8 %61 = getelementptr inbounds %struct.cmsghdr, ptr %60, i32 0, i32 0 %62 = load i64, ptr %61, align 8 %63 = load i64, ptr @IPPROTO_IP, align 8 %64 = icmp eq i64 %62, %63 br i1 %64, label %65, label %82 65: ; preds = %46 %66 = load ptr, ptr %5, align 8 %67 = getelementptr inbounds %struct.cmsghdr, ptr %66, i32 0, i32 1 %68 = load i64, ptr %67, align 8 %69 = load i64, ptr @IP_TOS, align 8 %70 = icmp eq i64 %68, %69 br i1 %70, label %71, label %82 71: ; preds = %65 %72 = load ptr, ptr %5, align 8 %73 = call i64 @CMSG_DATA(ptr noundef %72) %74 = inttoptr i64 %73 to ptr store ptr %74, ptr %9, align 8 %75 = load ptr, ptr %9, align 8 %76 = load i32, ptr %75, align 4 %77 = trunc i32 %76 to i8 store i8 %77, ptr %10, align 1 %78 = load i8, ptr %10, align 1 %79 = zext i8 %78 to i32 %80 = and i32 %79, 3 %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %80) br label %82 82: ; preds = %71, %65, %46 br label %83 83: ; preds = %82 %84 = load ptr, ptr %3, align 8 %85 = load ptr, ptr %5, align 8 %86 = call ptr @CMSG_NXTHDR(ptr noundef %84, ptr noundef %85) store ptr %86, ptr %5, align 8 %87 = load ptr, ptr %5, align 8 %88 = icmp ne ptr %87, null br i1 %88, label %46, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %83 br label %89 89: ; preds = %._crit_edge, %36 %90 = load i32, ptr %4, align 4 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %90) %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 0, ptr %11, align 4 %93 = load i32, ptr %11, align 4 %94 = load i32, ptr %4, align 4 %95 = icmp ult i32 %93, %94 br i1 %95, label %.lr.ph2, label %116 .lr.ph2: ; preds = %89 br label %96 96: ; preds = %.lr.ph2, %110 %97 = load ptr, ptr %3, align 8 %98 = getelementptr inbounds %struct.msghdr, ptr %97, i32 0, i32 0 %99 = load ptr, ptr %98, align 8 %100 = getelementptr inbounds %struct.TYPE_2__, ptr %99, i64 0 %101 = getelementptr inbounds %struct.TYPE_2__, ptr %100, i32 0, i32 0 %102 = load i64, ptr %101, align 8 %103 = inttoptr i64 %102 to ptr %104 = load i32, ptr %11, align 4 %105 = zext i32 %104 to i64 %106 = getelementptr inbounds i8, ptr %103, i64 %105 %107 = load i8, ptr %106, align 1 %108 = sext i8 %107 to i32 %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %108) br label %110 110: ; preds = %96 %111 = load i32, ptr %11, align 4 %112 = add i32 %111, 1 store i32 %112, ptr %11, align 4 %113 = load i32, ptr %11, align 4 %114 = load i32, ptr %4, align 4 %115 = icmp ult i32 %113, %114 br i1 %115, label %96, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %110 br label %116 116: ; preds = %._crit_edge3, %89 %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %118 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %118) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @inet_ntop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #2 declare zeroext i16 @ntohs(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare ptr @CMSG_FIRSTHDR(ptr noundef) #2 declare i64 @CMSG_DATA(ptr noundef) #2 declare ptr @CMSG_NXTHDR(ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp478x5i14.c' source_filename = "/tmp/tmp478x5i14.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i64 @execute(i32 noundef 1) %3 = icmp eq i64 %2, 0 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 (...) @abort() #3 unreachable 6: ; preds = %0 %7 = call i64 @execute2(i32 noundef 1, i32 noundef 2) %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %6 %10 = call i32 (...) @abort() #3 unreachable 11: ; preds = %6 ret i32 0 } declare i64 @execute(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i64 @execute2(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp478x5i14.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i64 @execute(i32 noundef 1) %3 = icmp eq i64 %2, 0 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 (...) @abort() #3 unreachable 6: ; preds = %0 %7 = call i64 @execute2(i32 noundef 1, i32 noundef 2) %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %6 %10 = call i32 (...) @abort() #3 unreachable 11: ; preds = %6 ret i32 0 } declare i64 @execute(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i64 @execute2(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpevfhre3n.c' source_filename = "/tmp/tmpevfhre3n.c" target datalayout = "e-m:e-p270: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/tmpevfhre3n.c" target datalayout = "e-m:e-p270: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/tmpn_oev2uw.c' source_filename = "/tmp/tmpn_oev2uw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Enter the input file name: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"rt\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"Failed to open the input file.\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"Enter the output file name: \00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"wt\00", align 1 @.str.6 = private unnamed_addr constant [32 x i8] c"Failed to open the output file.\00", align 1 @.str.7 = private unnamed_addr constant [14 x i8] c"File copied.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca [25 x i8], align 16 store i32 0, ptr %1, align 4 %5 = call i32 @printf(ptr noundef @.str) %6 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 0 %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %8 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 0 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str.2) store ptr %9, ptr %2, align 8 %10 = load ptr, ptr %2, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %14 12: ; preds = %0 %13 = call i32 @printf(ptr noundef @.str.3) store i32 1, ptr %1, align 4 br label %41 14: ; preds = %0 %15 = call i32 @printf(ptr noundef @.str.4) %16 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 0 %17 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %16) %18 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 0 %19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str.5) store ptr %19, ptr %3, align 8 %20 = load ptr, ptr %3, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %24 22: ; preds = %14 %23 = call i32 @printf(ptr noundef @.str.6) store i32 1, ptr %1, align 4 br label %41 24: ; preds = %14 br label %25 25: ; preds = %30, %24 %26 = load ptr, ptr %2, align 8 %27 = call i32 @feof(ptr noundef %26) %28 = icmp ne i32 %27, 0 %29 = xor i1 %28, true br i1 %29, label %30, label %35 30: ; preds = %25 %31 = load ptr, ptr %2, align 8 %32 = call i32 @fgetc(ptr noundef %31) %33 = load ptr, ptr %3, align 8 %34 = call i32 @fputc(i32 noundef %32, ptr noundef %33) br label %25, !llvm.loop !6 35: ; preds = %25 %36 = load ptr, ptr %2, align 8 %37 = call i32 @fclose(ptr noundef %36) %38 = load ptr, ptr %3, align 8 %39 = call i32 @fclose(ptr noundef %38) %40 = call i32 @printf(ptr noundef @.str.7) store i32 0, ptr %1, align 4 br label %41 41: ; preds = %35, %22, %12 %42 = load i32, ptr %1, align 4 ret i32 %42 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @fputc(i32 noundef, ptr noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn_oev2uw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Enter the input file name: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"rt\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"Failed to open the input file.\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"Enter the output file name: \00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"wt\00", align 1 @.str.6 = private unnamed_addr constant [32 x i8] c"Failed to open the output file.\00", align 1 @.str.7 = private unnamed_addr constant [14 x i8] c"File copied.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca [25 x i8], align 16 store i32 0, ptr %1, align 4 %5 = call i32 @printf(ptr noundef @.str) %6 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 0 %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %8 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 0 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str.2) store ptr %9, ptr %2, align 8 %10 = load ptr, ptr %2, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %14 12: ; preds = %0 %13 = call i32 @printf(ptr noundef @.str.3) store i32 1, ptr %1, align 4 br label %44 14: ; preds = %0 %15 = call i32 @printf(ptr noundef @.str.4) %16 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 0 %17 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %16) %18 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 0 %19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str.5) store ptr %19, ptr %3, align 8 %20 = load ptr, ptr %3, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %24 22: ; preds = %14 %23 = call i32 @printf(ptr noundef @.str.6) store i32 1, ptr %1, align 4 br label %44 24: ; preds = %14 %25 = load ptr, ptr %2, align 8 %26 = call i32 @feof(ptr noundef %25) %27 = icmp ne i32 %26, 0 %28 = xor i1 %27, true br i1 %28, label %.lr.ph, label %38 .lr.ph: ; preds = %24 br label %29 29: ; preds = %.lr.ph, %29 %30 = load ptr, ptr %2, align 8 %31 = call i32 @fgetc(ptr noundef %30) %32 = load ptr, ptr %3, align 8 %33 = call i32 @fputc(i32 noundef %31, ptr noundef %32) %34 = load ptr, ptr %2, align 8 %35 = call i32 @feof(ptr noundef %34) %36 = icmp ne i32 %35, 0 %37 = xor i1 %36, true br i1 %37, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %38 38: ; preds = %._crit_edge, %24 %39 = load ptr, ptr %2, align 8 %40 = call i32 @fclose(ptr noundef %39) %41 = load ptr, ptr %3, align 8 %42 = call i32 @fclose(ptr noundef %41) %43 = call i32 @printf(ptr noundef @.str.7) store i32 0, ptr %1, align 4 br label %44 44: ; preds = %38, %22, %12 %45 = load i32, ptr %1, align 4 ret i32 %45 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @fputc(i32 noundef, ptr noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1wixl4dj.c' source_filename = "/tmp/tmp1wixl4dj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [84 x i8] c"Usage:\0A\09readclusters [FILE]\0A\0ADescription:\0A\09Prints document ids of a given cluster.\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/tmp1wixl4dj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [84 x i8] c"Usage:\0A\09readclusters [FILE]\0A\0ADescription:\0A\09Prints document ids of a given cluster.\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/tmpryc72pln.c' source_filename = "/tmp/tmpryc72pln.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @posix_spawnattr_getsigdefault(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load i32, ptr @ENOSYS, align 4 store i32 %5, ptr @errno, align 4 ret 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpryc72pln.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @posix_spawnattr_getsigdefault(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load i32, ptr @ENOSYS, align 4 store i32 %5, ptr @errno, align 4 ret 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp58cyqm7w.c' source_filename = "/tmp/tmp58cyqm7w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8mat_l1_inverse(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 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = mul nsw i32 %9, %10 %12 = sext i32 %11 to i64 %13 = mul i64 %12, 8 %14 = trunc i64 %13 to i32 %15 = call i64 @malloc(i32 noundef %14) %16 = inttoptr i64 %15 to ptr store ptr %16, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %17 17: ; preds = %113, %2 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %116 21: ; preds = %17 store i32 0, ptr %7, align 4 br label %22 22: ; preds = %109, %21 %23 = load i32, ptr %7, align 4 %24 = load i32, ptr %3, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %112 26: ; preds = %22 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %7, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %39 30: ; preds = %26 %31 = load ptr, ptr %5, align 8 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr %7, align 4 %34 = load i32, ptr %3, align 4 %35 = mul nsw i32 %33, %34 %36 = add nsw i32 %32, %35 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds double, ptr %31, i64 %37 store double 0.000000e+00, ptr %38, align 8 br label %108 39: ; preds = %26 %40 = load i32, ptr %7, align 4 %41 = load i32, ptr %6, align 4 %42 = icmp eq i32 %40, %41 br i1 %42, label %43, label %52 43: ; preds = %39 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr %6, align 4 %46 = load i32, ptr %7, align 4 %47 = load i32, ptr %3, align 4 %48 = mul nsw i32 %46, %47 %49 = add nsw i32 %45, %48 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds double, ptr %44, i64 %50 store double 1.000000e+00, ptr %51, align 8 br label %107 52: ; preds = %39 %53 = load ptr, ptr %5, align 8 %54 = load i32, ptr %6, align 4 %55 = load i32, ptr %7, align 4 %56 = load i32, ptr %3, align 4 %57 = mul nsw i32 %55, %56 %58 = add nsw i32 %54, %57 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds double, ptr %53, i64 %59 store double 0.000000e+00, ptr %60, align 8 store i32 0, ptr %8, align 4 br label %61 61: ; preds = %103, %52 %62 = load i32, ptr %8, align 4 %63 = load i32, ptr %6, align 4 %64 = icmp slt i32 %62, %63 br i1 %64, label %65, label %106 65: ; preds = %61 %66 = load ptr, ptr %5, align 8 %67 = load i32, ptr %6, align 4 %68 = load i32, ptr %7, align 4 %69 = load i32, ptr %3, align 4 %70 = mul nsw i32 %68, %69 %71 = add nsw i32 %67, %70 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds double, ptr %66, i64 %72 %74 = load double, ptr %73, align 8 %75 = load ptr, ptr %4, align 8 %76 = load i32, ptr %6, align 4 %77 = load i32, ptr %8, align 4 %78 = load i32, ptr %3, align 4 %79 = mul nsw i32 %77, %78 %80 = add nsw i32 %76, %79 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds double, ptr %75, i64 %81 %83 = load double, ptr %82, align 8 %84 = load ptr, ptr %5, align 8 %85 = load i32, ptr %8, align 4 %86 = load i32, ptr %7, align 4 %87 = load i32, ptr %3, align 4 %88 = mul nsw i32 %86, %87 %89 = add nsw i32 %85, %88 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds double, ptr %84, i64 %90 %92 = load double, ptr %91, align 8 %93 = fneg double %83 %94 = call double @llvm.fmuladd.f64(double %93, double %92, double %74) %95 = load ptr, ptr %5, align 8 %96 = load i32, ptr %6, align 4 %97 = load i32, ptr %7, align 4 %98 = load i32, ptr %3, align 4 %99 = mul nsw i32 %97, %98 %100 = add nsw i32 %96, %99 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds double, ptr %95, i64 %101 store double %94, ptr %102, align 8 br label %103 103: ; preds = %65 %104 = load i32, ptr %8, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %8, align 4 br label %61, !llvm.loop !6 106: ; preds = %61 br label %107 107: ; preds = %106, %43 br label %108 108: ; preds = %107, %30 br label %109 109: ; preds = %108 %110 = load i32, ptr %7, align 4 %111 = add nsw i32 %110, 1 store i32 %111, ptr %7, align 4 br label %22, !llvm.loop !8 112: ; preds = %22 br label %113 113: ; preds = %112 %114 = load i32, ptr %6, align 4 %115 = add nsw i32 %114, 1 store i32 %115, ptr %6, align 4 br label %17, !llvm.loop !9 116: ; preds = %17 %117 = load ptr, ptr %5, align 8 ret ptr %117 } declare i64 @malloc(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp58cyqm7w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8mat_l1_inverse(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 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = mul nsw i32 %9, %10 %12 = sext i32 %11 to i64 %13 = mul i64 %12, 8 %14 = trunc i64 %13 to i32 %15 = call i64 @malloc(i32 noundef %14) %16 = inttoptr i64 %15 to ptr store ptr %16, ptr %5, align 8 store i32 0, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %.lr.ph5, label %122 .lr.ph5: ; preds = %2 br label %20 20: ; preds = %.lr.ph5, %116 store i32 0, ptr %7, align 4 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %3, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %.lr.ph2, label %115 .lr.ph2: ; preds = %20 br label %24 24: ; preds = %.lr.ph2, %109 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %7, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %37 28: ; preds = %24 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %7, align 4 %32 = load i32, ptr %3, align 4 %33 = mul nsw i32 %31, %32 %34 = add nsw i32 %30, %33 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds double, ptr %29, i64 %35 store double 0.000000e+00, ptr %36, align 8 br label %108 37: ; preds = %24 %38 = load i32, ptr %7, align 4 %39 = load i32, ptr %6, align 4 %40 = icmp eq i32 %38, %39 br i1 %40, label %41, label %50 41: ; preds = %37 %42 = load ptr, ptr %5, align 8 %43 = load i32, ptr %6, align 4 %44 = load i32, ptr %7, align 4 %45 = load i32, ptr %3, align 4 %46 = mul nsw i32 %44, %45 %47 = add nsw i32 %43, %46 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds double, ptr %42, i64 %48 store double 1.000000e+00, ptr %49, align 8 br label %107 50: ; preds = %37 %51 = load ptr, ptr %5, align 8 %52 = load i32, ptr %6, align 4 %53 = load i32, ptr %7, align 4 %54 = load i32, ptr %3, align 4 %55 = mul nsw i32 %53, %54 %56 = add nsw i32 %52, %55 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds double, ptr %51, i64 %57 store double 0.000000e+00, ptr %58, align 8 store i32 0, ptr %8, align 4 %59 = load i32, ptr %8, align 4 %60 = load i32, ptr %6, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %.lr.ph, label %106 .lr.ph: ; preds = %50 br label %62 62: ; preds = %.lr.ph, %100 %63 = load ptr, ptr %5, align 8 %64 = load i32, ptr %6, align 4 %65 = load i32, ptr %7, align 4 %66 = load i32, ptr %3, align 4 %67 = mul nsw i32 %65, %66 %68 = add nsw i32 %64, %67 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds double, ptr %63, i64 %69 %71 = load double, ptr %70, align 8 %72 = load ptr, ptr %4, align 8 %73 = load i32, ptr %6, align 4 %74 = load i32, ptr %8, align 4 %75 = load i32, ptr %3, align 4 %76 = mul nsw i32 %74, %75 %77 = add nsw i32 %73, %76 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds double, ptr %72, i64 %78 %80 = load double, ptr %79, align 8 %81 = load ptr, ptr %5, align 8 %82 = load i32, ptr %8, align 4 %83 = load i32, ptr %7, align 4 %84 = load i32, ptr %3, align 4 %85 = mul nsw i32 %83, %84 %86 = add nsw i32 %82, %85 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds double, ptr %81, i64 %87 %89 = load double, ptr %88, align 8 %90 = fneg double %80 %91 = call double @llvm.fmuladd.f64(double %90, double %89, double %71) %92 = load ptr, ptr %5, align 8 %93 = load i32, ptr %6, align 4 %94 = load i32, ptr %7, align 4 %95 = load i32, ptr %3, align 4 %96 = mul nsw i32 %94, %95 %97 = add nsw i32 %93, %96 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds double, ptr %92, i64 %98 store double %91, ptr %99, align 8 br label %100 100: ; preds = %62 %101 = load i32, ptr %8, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %8, align 4 %103 = load i32, ptr %8, align 4 %104 = load i32, ptr %6, align 4 %105 = icmp slt i32 %103, %104 br i1 %105, label %62, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %100 br label %106 106: ; preds = %._crit_edge, %50 br label %107 107: ; preds = %106, %41 br label %108 108: ; preds = %107, %28 br label %109 109: ; preds = %108 %110 = load i32, ptr %7, align 4 %111 = add nsw i32 %110, 1 store i32 %111, ptr %7, align 4 %112 = load i32, ptr %7, align 4 %113 = load i32, ptr %3, align 4 %114 = icmp slt i32 %112, %113 br i1 %114, label %24, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %109 br label %115 115: ; preds = %._crit_edge3, %20 br label %116 116: ; preds = %115 %117 = load i32, ptr %6, align 4 %118 = add nsw i32 %117, 1 store i32 %118, ptr %6, align 4 %119 = load i32, ptr %6, align 4 %120 = load i32, ptr %3, align 4 %121 = icmp slt i32 %119, %120 br i1 %121, label %20, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %116 br label %122 122: ; preds = %._crit_edge6, %2 %123 = load ptr, ptr %5, align 8 ret ptr %123 } declare i64 @malloc(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpp90jy09f.c' source_filename = "/tmp/tmpp90jy09f.c" target datalayout = "e-m:e-p270: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/tmpp90jy09f.c" target datalayout = "e-m:e-p270: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/tmpo2lvi7zc.c' source_filename = "/tmp/tmpo2lvi7zc.c" target datalayout = "e-m:e-p270: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/tmpo2lvi7zc.c" target datalayout = "e-m:e-p270: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/tmpq8waf9mz.c' source_filename = "/tmp/tmpq8waf9mz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cleanup() #0 { ret 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq8waf9mz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cleanup() #0 { ret 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvg87kggj.c' source_filename = "/tmp/tmpvg87kggj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Drawing the circle...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Circle(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %8 = call i32 @printf(ptr noundef @.str) %9 = load i32, ptr %7, align 4 %10 = icmp eq i32 %9, 2 br i1 %10, label %11, label %12 11: ; preds = %3 store i32 -1, ptr %4, align 4 br label %13 12: ; preds = %3 store i32 1, ptr %4, align 4 br label %13 13: ; preds = %12, %11 %14 = load i32, ptr %4, align 4 ret i32 %14 } 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/tmpvg87kggj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Drawing the circle...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Circle(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %8 = call i32 @printf(ptr noundef @.str) %9 = load i32, ptr %7, align 4 %10 = icmp eq i32 %9, 2 br i1 %10, label %11, label %12 11: ; preds = %3 store i32 -1, ptr %4, align 4 br label %13 12: ; preds = %3 store i32 1, ptr %4, align 4 br label %13 13: ; preds = %12, %11 %14 = load i32, ptr %4, align 4 ret i32 %14 } 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/tmppevc9_tt.c' source_filename = "/tmp/tmppevc9_tt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"All tests OK\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 1 br i1 %7, label %8, label %9 8: ; preds = %2 store i32 1, ptr %3, align 4 br label %27 9: ; preds = %2 %10 = load i32, ptr %4, align 4 %11 = icmp sgt i32 %10, 1 br i1 %11, label %12, label %15 12: ; preds = %9 %13 = call i32 (...) @test_execve_continue() %14 = call i32 @puts(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %27 15: ; preds = %9 br label %16 16: ; preds = %15 %17 = call i32 (...) @test_sigprocmask() %18 = call i32 (...) @clean_mask_and_pending_signals() %19 = call i32 (...) @test_multiple_pending() %20 = call i32 (...) @clean_mask_and_pending_signals() %21 = call i32 (...) @test_fork() %22 = call i32 (...) @clean_mask_and_pending_signals() %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 0 %25 = load ptr, ptr %24, align 8 %26 = call i32 @test_execve_start(ptr noundef %25) store i32 1, ptr %3, align 4 br label %27 27: ; preds = %16, %12, %8 %28 = load i32, ptr %3, align 4 ret i32 %28 } declare i32 @test_execve_continue(...) #1 declare i32 @puts(ptr noundef) #1 declare i32 @test_sigprocmask(...) #1 declare i32 @clean_mask_and_pending_signals(...) #1 declare i32 @test_multiple_pending(...) #1 declare i32 @test_fork(...) #1 declare i32 @test_execve_start(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppevc9_tt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"All tests OK\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 1 br i1 %7, label %8, label %9 8: ; preds = %2 store i32 1, ptr %3, align 4 br label %27 9: ; preds = %2 %10 = load i32, ptr %4, align 4 %11 = icmp sgt i32 %10, 1 br i1 %11, label %12, label %15 12: ; preds = %9 %13 = call i32 (...) @test_execve_continue() %14 = call i32 @puts(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %27 15: ; preds = %9 br label %16 16: ; preds = %15 %17 = call i32 (...) @test_sigprocmask() %18 = call i32 (...) @clean_mask_and_pending_signals() %19 = call i32 (...) @test_multiple_pending() %20 = call i32 (...) @clean_mask_and_pending_signals() %21 = call i32 (...) @test_fork() %22 = call i32 (...) @clean_mask_and_pending_signals() %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 0 %25 = load ptr, ptr %24, align 8 %26 = call i32 @test_execve_start(ptr noundef %25) store i32 1, ptr %3, align 4 br label %27 27: ; preds = %16, %12, %8 %28 = load i32, ptr %3, align 4 ret i32 %28 } declare i32 @test_execve_continue(...) #1 declare i32 @puts(ptr noundef) #1 declare i32 @test_sigprocmask(...) #1 declare i32 @clean_mask_and_pending_signals(...) #1 declare i32 @test_multiple_pending(...) #1 declare i32 @test_fork(...) #1 declare i32 @test_execve_start(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5w0mmwht.c' source_filename = "/tmp/tmp5w0mmwht.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BN_get_rfc2409_prime_768(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @get_rfc2409_prime_768(ptr noundef %3) ret ptr %4 } declare ptr @get_rfc2409_prime_768(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5w0mmwht.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BN_get_rfc2409_prime_768(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @get_rfc2409_prime_768(ptr noundef %3) ret ptr %4 } declare ptr @get_rfc2409_prime_768(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_q07h373.c' source_filename = "/tmp/tmp_q07h373.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stun_make_error_response(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 @stun_make_type(i32 noundef %3) %5 = or i32 %4, 272 ret i32 %5 } declare i32 @stun_make_type(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_q07h373.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stun_make_error_response(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 @stun_make_type(i32 noundef %3) %5 = or i32 %4, 272 ret i32 %5 } declare i32 @stun_make_type(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/tmpjfxzrgs2.c' source_filename = "/tmp/tmpjfxzrgs2.c" target datalayout = "e-m:e-p270: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/tmpjfxzrgs2.c" target datalayout = "e-m:e-p270: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/tmpyfj9jbrh.c' source_filename = "/tmp/tmpyfj9jbrh.c" target datalayout = "e-m:e-p270: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/tmpyfj9jbrh.c" target datalayout = "e-m:e-p270: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/tmpgqvn8bvz.c' source_filename = "/tmp/tmpgqvn8bvz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Merge Sort \0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Total Elements : \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"Invalid Input \0A\00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c"Unsorted Input \0A\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c"Sorted Output \0A\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"%d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %3) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %10, 1 br i1 %11, label %12, label %15 12: ; preds = %0 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %1, align 4 br label %56 15: ; preds = %0 %16 = load i32, ptr %3, align 4 %17 = call i64 @calloc(i32 noundef %16, i32 noundef 4) %18 = inttoptr i64 %17 to ptr store ptr %18, ptr %4, align 8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 0, ptr %2, align 4 br label %20 20: ; preds = %30, %15 %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %3, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %33 24: ; preds = %20 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %2, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %25, i64 %27 %29 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %28) br label %30 30: ; preds = %24 %31 = load i32, ptr %2, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %2, align 4 br label %20, !llvm.loop !6 33: ; preds = %20 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %3, align 4 %37 = sub nsw i32 %36, 1 %38 = call i32 @mergeSort(ptr noundef %35, i32 noundef 0, i32 noundef %37) %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 0, ptr %2, align 4 br label %40 40: ; preds = %51, %33 %41 = load i32, ptr %2, align 4 %42 = load i32, ptr %3, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %44, label %54 44: ; preds = %40 %45 = load ptr, ptr %4, align 8 %46 = load i32, ptr %2, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 %49 = load i32, ptr %48, align 4 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %49) br label %51 51: ; preds = %44 %52 = load i32, ptr %2, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %2, align 4 br label %40, !llvm.loop !8 54: ; preds = %40 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %1, align 4 br label %56 56: ; preds = %54, %12 %57 = load i32, ptr %1, align 4 ret i32 %57 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @mergeSort(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgqvn8bvz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Merge Sort \0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Total Elements : \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"Invalid Input \0A\00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c"Unsorted Input \0A\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c"Sorted Output \0A\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"%d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %3) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %10, 1 br i1 %11, label %12, label %15 12: ; preds = %0 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %1, align 4 br label %60 15: ; preds = %0 %16 = load i32, ptr %3, align 4 %17 = call i64 @calloc(i32 noundef %16, i32 noundef 4) %18 = inttoptr i64 %17 to ptr store ptr %18, ptr %4, align 8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 0, ptr %2, align 4 %20 = load i32, ptr %2, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph, label %35 .lr.ph: ; preds = %15 br label %23 23: ; preds = %.lr.ph, %29 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %2, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %27) br label %29 29: ; preds = %23 %30 = load i32, ptr %2, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %2, align 4 %32 = load i32, ptr %2, align 4 %33 = load i32, ptr %3, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %15 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %37 = load ptr, ptr %4, align 8 %38 = load i32, ptr %3, align 4 %39 = sub nsw i32 %38, 1 %40 = call i32 @mergeSort(ptr noundef %37, i32 noundef 0, i32 noundef %39) %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 0, ptr %2, align 4 %42 = load i32, ptr %2, align 4 %43 = load i32, ptr %3, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %.lr.ph2, label %58 .lr.ph2: ; preds = %35 br label %45 45: ; preds = %.lr.ph2, %52 %46 = load ptr, ptr %4, align 8 %47 = load i32, ptr %2, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 %50 = load i32, ptr %49, align 4 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %50) br label %52 52: ; preds = %45 %53 = load i32, ptr %2, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %2, align 4 %55 = load i32, ptr %2, align 4 %56 = load i32, ptr %3, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %45, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %52 br label %58 58: ; preds = %._crit_edge3, %35 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %1, align 4 br label %60 60: ; preds = %58, %12 %61 = load i32, ptr %1, align 4 ret i32 %61 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @mergeSort(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpgmp71n9_.c' source_filename = "/tmp/tmpgmp71n9_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%02x \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_array(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %17, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %20 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15) br label %17 17: ; preds = %10 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 br label %6, !llvm.loop !6 20: ; preds = %6 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgmp71n9_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%02x \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_array(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %16 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %13, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14) br label %16 16: ; preds = %9 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %2 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6wy4h3uj.c' source_filename = "/tmp/tmp6wy4h3uj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in6 = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { ptr } @PF_INET6 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gen_ipv6(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = call ptr @malloc(i32 noundef 24) store ptr %6, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %2 br label %43 10: ; preds = %2 %11 = load i32, ptr @PF_INET6, align 4 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds %struct.sockaddr_in6, ptr %12, i32 0, i32 2 store i32 %11, ptr %13, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds %struct.sockaddr_in6, ptr %14, i32 0, i32 1 %16 = getelementptr inbounds %struct.TYPE_2__, ptr %15, i32 0, i32 0 %17 = load ptr, ptr %16, align 8 %18 = getelementptr inbounds i64, ptr %17, i64 0 store i64 0, ptr %18, align 8 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds %struct.sockaddr_in6, ptr %19, i32 0, i32 1 %21 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i32 0, i32 0 %22 = load ptr, ptr %21, align 8 %23 = getelementptr inbounds i64, ptr %22, i64 1 store i64 0, ptr %23, align 8 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds %struct.sockaddr_in6, ptr %24, i32 0, i32 1 %26 = getelementptr inbounds %struct.TYPE_2__, ptr %25, i32 0, i32 0 %27 = load ptr, ptr %26, align 8 %28 = getelementptr inbounds i64, ptr %27, i64 2 store i64 0, ptr %28, align 8 %29 = call i64 @htonl(i32 noundef 1) %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds %struct.sockaddr_in6, ptr %30, i32 0, i32 1 %32 = getelementptr inbounds %struct.TYPE_2__, ptr %31, i32 0, i32 0 %33 = load ptr, ptr %32, align 8 %34 = getelementptr inbounds i64, ptr %33, i64 3 store i64 %29, ptr %34, align 8 %35 = call i32 (...) @rand() %36 = srem i32 %35, 65535 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds %struct.sockaddr_in6, ptr %37, i32 0, i32 0 store i32 %36, ptr %38, align 8 %39 = load ptr, ptr %5, align 8 %40 = ptrtoint ptr %39 to i64 %41 = load ptr, ptr %3, align 8 store i64 %40, ptr %41, align 8 %42 = load ptr, ptr %4, align 8 store i64 24, ptr %42, align 8 br label %43 43: ; preds = %10, %9 ret void } declare ptr @malloc(i32 noundef) #1 declare i64 @htonl(i32 noundef) #1 declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6wy4h3uj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in6 = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { ptr } @PF_INET6 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gen_ipv6(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = call ptr @malloc(i32 noundef 24) store ptr %6, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %2 br label %43 10: ; preds = %2 %11 = load i32, ptr @PF_INET6, align 4 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds %struct.sockaddr_in6, ptr %12, i32 0, i32 2 store i32 %11, ptr %13, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds %struct.sockaddr_in6, ptr %14, i32 0, i32 1 %16 = getelementptr inbounds %struct.TYPE_2__, ptr %15, i32 0, i32 0 %17 = load ptr, ptr %16, align 8 %18 = getelementptr inbounds i64, ptr %17, i64 0 store i64 0, ptr %18, align 8 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds %struct.sockaddr_in6, ptr %19, i32 0, i32 1 %21 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i32 0, i32 0 %22 = load ptr, ptr %21, align 8 %23 = getelementptr inbounds i64, ptr %22, i64 1 store i64 0, ptr %23, align 8 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds %struct.sockaddr_in6, ptr %24, i32 0, i32 1 %26 = getelementptr inbounds %struct.TYPE_2__, ptr %25, i32 0, i32 0 %27 = load ptr, ptr %26, align 8 %28 = getelementptr inbounds i64, ptr %27, i64 2 store i64 0, ptr %28, align 8 %29 = call i64 @htonl(i32 noundef 1) %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds %struct.sockaddr_in6, ptr %30, i32 0, i32 1 %32 = getelementptr inbounds %struct.TYPE_2__, ptr %31, i32 0, i32 0 %33 = load ptr, ptr %32, align 8 %34 = getelementptr inbounds i64, ptr %33, i64 3 store i64 %29, ptr %34, align 8 %35 = call i32 (...) @rand() %36 = srem i32 %35, 65535 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds %struct.sockaddr_in6, ptr %37, i32 0, i32 0 store i32 %36, ptr %38, align 8 %39 = load ptr, ptr %5, align 8 %40 = ptrtoint ptr %39 to i64 %41 = load ptr, ptr %3, align 8 store i64 %40, ptr %41, align 8 %42 = load ptr, ptr %4, align 8 store i64 24, ptr %42, align 8 br label %43 43: ; preds = %10, %9 ret void } declare ptr @malloc(i32 noundef) #1 declare i64 @htonl(i32 noundef) #1 declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2st_ovvl.c' source_filename = "/tmp/tmp2st_ovvl.c" target datalayout = "e-m:e-p270: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/tmp2st_ovvl.c" target datalayout = "e-m:e-p270: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/tmpa8hyy987.c' source_filename = "/tmp/tmpa8hyy987.c" target datalayout = "e-m:e-p270: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/tmpa8hyy987.c" target datalayout = "e-m:e-p270: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/tmp76p_ti1l.c' source_filename = "/tmp/tmp76p_ti1l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i16 @distanceDiagonal(i16 noundef signext %0, i16 noundef signext %1, i16 noundef signext %2, i16 noundef signext %3) #0 { %5 = alloca i16, align 2 %6 = alloca i16, align 2 %7 = alloca i16, align 2 %8 = alloca i16, align 2 store i16 %0, ptr %5, align 2 store i16 %1, ptr %6, align 2 store i16 %2, ptr %7, align 2 store i16 %3, ptr %8, align 2 %9 = load i16, ptr %5, align 2 %10 = sext i16 %9 to i32 %11 = load i16, ptr %7, align 2 %12 = sext i16 %11 to i32 %13 = sub nsw i32 %10, %12 %14 = trunc i32 %13 to i16 %15 = call signext i16 @abs(i16 noundef signext %14) %16 = sext i16 %15 to i32 %17 = load i16, ptr %6, align 2 %18 = sext i16 %17 to i32 %19 = load i16, ptr %8, align 2 %20 = sext i16 %19 to i32 %21 = sub nsw i32 %18, %20 %22 = trunc i32 %21 to i16 %23 = call signext i16 @abs(i16 noundef signext %22) %24 = sext i16 %23 to i32 %25 = icmp sgt i32 %16, %24 br i1 %25, label %26, label %35 26: ; preds = %4 %27 = load i16, ptr %5, align 2 %28 = sext i16 %27 to i32 %29 = load i16, ptr %7, align 2 %30 = sext i16 %29 to i32 %31 = sub nsw i32 %28, %30 %32 = trunc i32 %31 to i16 %33 = call signext i16 @abs(i16 noundef signext %32) %34 = sext i16 %33 to i32 br label %44 35: ; preds = %4 %36 = load i16, ptr %6, align 2 %37 = sext i16 %36 to i32 %38 = load i16, ptr %8, align 2 %39 = sext i16 %38 to i32 %40 = sub nsw i32 %37, %39 %41 = trunc i32 %40 to i16 %42 = call signext i16 @abs(i16 noundef signext %41) %43 = sext i16 %42 to i32 br label %44 44: ; preds = %35, %26 %45 = phi i32 [ %34, %26 ], [ %43, %35 ] %46 = trunc i32 %45 to i16 ret i16 %46 } declare signext i16 @abs(i16 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp76p_ti1l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i16 @distanceDiagonal(i16 noundef signext %0, i16 noundef signext %1, i16 noundef signext %2, i16 noundef signext %3) #0 { %5 = alloca i16, align 2 %6 = alloca i16, align 2 %7 = alloca i16, align 2 %8 = alloca i16, align 2 store i16 %0, ptr %5, align 2 store i16 %1, ptr %6, align 2 store i16 %2, ptr %7, align 2 store i16 %3, ptr %8, align 2 %9 = load i16, ptr %5, align 2 %10 = sext i16 %9 to i32 %11 = load i16, ptr %7, align 2 %12 = sext i16 %11 to i32 %13 = sub nsw i32 %10, %12 %14 = trunc i32 %13 to i16 %15 = call signext i16 @abs(i16 noundef signext %14) %16 = sext i16 %15 to i32 %17 = load i16, ptr %6, align 2 %18 = sext i16 %17 to i32 %19 = load i16, ptr %8, align 2 %20 = sext i16 %19 to i32 %21 = sub nsw i32 %18, %20 %22 = trunc i32 %21 to i16 %23 = call signext i16 @abs(i16 noundef signext %22) %24 = sext i16 %23 to i32 %25 = icmp sgt i32 %16, %24 br i1 %25, label %26, label %35 26: ; preds = %4 %27 = load i16, ptr %5, align 2 %28 = sext i16 %27 to i32 %29 = load i16, ptr %7, align 2 %30 = sext i16 %29 to i32 %31 = sub nsw i32 %28, %30 %32 = trunc i32 %31 to i16 %33 = call signext i16 @abs(i16 noundef signext %32) %34 = sext i16 %33 to i32 br label %44 35: ; preds = %4 %36 = load i16, ptr %6, align 2 %37 = sext i16 %36 to i32 %38 = load i16, ptr %8, align 2 %39 = sext i16 %38 to i32 %40 = sub nsw i32 %37, %39 %41 = trunc i32 %40 to i16 %42 = call signext i16 @abs(i16 noundef signext %41) %43 = sext i16 %42 to i32 br label %44 44: ; preds = %35, %26 %45 = phi i32 [ %34, %26 ], [ %43, %35 ] %46 = trunc i32 %45 to i16 ret i16 %46 } declare signext i16 @abs(i16 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"}
; ModuleID = '/tmp/tmpqyq6kove.c' source_filename = "/tmp/tmpqyq6kove.c" target datalayout = "e-m:e-p270: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/tmpqyq6kove.c" target datalayout = "e-m:e-p270: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/tmpqxugmc6h.c' source_filename = "/tmp/tmpqxugmc6h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"This is the message 3\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PrintMessage3() #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/tmpqxugmc6h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"This is the message 3\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PrintMessage3() #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/tmpldi4n6rh.c' source_filename = "/tmp/tmpldi4n6rh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @jeHambi(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca float, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr @M_PI, align 4 %9 = sdiv i32 %7, %8 %10 = sitofp i32 %9 to float store float %10, ptr %6, align 4 %11 = load float, ptr %6, align 4 %12 = load i32, ptr %5, align 4 %13 = sitofp i32 %12 to float %14 = fcmp ole float %11, %13 br i1 %14, label %15, label %16 15: ; preds = %2 store i32 1, ptr %3, align 4 br label %17 16: ; preds = %2 store i32 0, ptr %3, align 4 br label %17 17: ; preds = %16, %15 %18 = load i32, ptr %3, align 4 ret i32 %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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpldi4n6rh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @jeHambi(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca float, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr @M_PI, align 4 %9 = sdiv i32 %7, %8 %10 = sitofp i32 %9 to float store float %10, ptr %6, align 4 %11 = load float, ptr %6, align 4 %12 = load i32, ptr %5, align 4 %13 = sitofp i32 %12 to float %14 = fcmp ole float %11, %13 br i1 %14, label %15, label %16 15: ; preds = %2 store i32 1, ptr %3, align 4 br label %17 16: ; preds = %2 store i32 0, ptr %3, align 4 br label %17 17: ; preds = %16, %15 %18 = load i32, ptr %3, align 4 ret i32 %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"}
; ModuleID = '/tmp/tmpsrz67lac.c' source_filename = "/tmp/tmpsrz67lac.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"db\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"%d\09%s\09%s\09%s\0A\00", align 1 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @name_of(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [32 x i8], align 16 %7 = alloca [32 x i8], align 16 %8 = alloca [32 x i8], align 16 %9 = alloca [128 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr @.str, ptr %11, align 8 %13 = load ptr, ptr %11, align 8 %14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str.1) store ptr %14, ptr %12, align 8 %15 = load ptr, ptr %12, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %18, label %17 17: ; preds = %1 store ptr null, ptr %2, align 8 br label %57 18: ; preds = %1 %19 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0 %20 = load ptr, ptr %12, align 8 %21 = call ptr @fgets(ptr noundef %19, i32 noundef 128, ptr noundef %20) br label %22 22: ; preds = %46, %18 %23 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0 %24 = load ptr, ptr %12, align 8 %25 = call ptr @fgets(ptr noundef %23, i32 noundef 128, ptr noundef %24) %26 = icmp ne ptr %25, null br i1 %26, label %27, label %47 27: ; preds = %22 %28 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0 %29 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0 %30 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0 %31 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0 %32 = call i32 @sscanf(ptr noundef %28, ptr noundef @.str.2, ptr noundef %5, ptr noundef %29, ptr noundef %30, ptr noundef %31) %33 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0 %34 = load ptr, ptr %3, align 8 %35 = call i32 @strncmp(ptr noundef %33, ptr noundef %34, i32 noundef 32) %36 = icmp ne i32 %35, 0 br i1 %36, label %46, label %37 37: ; preds = %27 %38 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0 %39 = call i32 @strlen(ptr noundef %38) store i32 %39, ptr %4, align 4 %40 = load i32, ptr %4, align 4 %41 = call ptr @malloc(i32 noundef %40) store ptr %41, ptr %10, align 8 %42 = load ptr, ptr %10, align 8 %43 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0 %44 = load i32, ptr %4, align 4 %45 = call i32 @memcpy(ptr noundef %42, ptr noundef %43, i32 noundef %44) br label %47 46: ; preds = %27 br label %22, !llvm.loop !6 47: ; preds = %37, %22 %48 = load ptr, ptr %12, align 8 %49 = call i32 @fclose(ptr noundef %48) %50 = load ptr, ptr %10, align 8 %51 = icmp ne ptr %50, null br i1 %51, label %52, label %54 52: ; preds = %47 %53 = load ptr, ptr %10, align 8 br label %55 54: ; preds = %47 br label %55 55: ; preds = %54, %52 %56 = phi ptr [ %53, %52 ], [ @.str.3, %54 ] store ptr %56, ptr %2, align 8 br label %57 57: ; preds = %55, %17 %58 = load ptr, ptr %2, align 8 ret ptr %58 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsrz67lac.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"db\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"%d\09%s\09%s\09%s\0A\00", align 1 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @name_of(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [32 x i8], align 16 %7 = alloca [32 x i8], align 16 %8 = alloca [32 x i8], align 16 %9 = alloca [128 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr @.str, ptr %11, align 8 %13 = load ptr, ptr %11, align 8 %14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str.1) store ptr %14, ptr %12, align 8 %15 = load ptr, ptr %12, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %18, label %17 17: ; preds = %1 store ptr null, ptr %2, align 8 br label %59 18: ; preds = %1 %19 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0 %20 = load ptr, ptr %12, align 8 %21 = call ptr @fgets(ptr noundef %19, i32 noundef 128, ptr noundef %20) %22 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0 %23 = load ptr, ptr %12, align 8 %24 = call ptr @fgets(ptr noundef %22, i32 noundef 128, ptr noundef %23) %25 = icmp ne ptr %24, null br i1 %25, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %18 br label %30 26: ; preds = %30 %27 = load ptr, ptr %12, align 8 %28 = call ptr @fgets(ptr noundef %22, i32 noundef 128, ptr noundef %27) %29 = icmp ne ptr %28, null br i1 %29, label %30, label %..loopexit_crit_edge, !llvm.loop !6 30: ; preds = %.lr.ph, %26 %31 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0 %32 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0 %33 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0 %34 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0 %35 = call i32 @sscanf(ptr noundef %31, ptr noundef @.str.2, ptr noundef %5, ptr noundef %32, ptr noundef %33, ptr noundef %34) %36 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0 %37 = load ptr, ptr %3, align 8 %38 = call i32 @strncmp(ptr noundef %36, ptr noundef %37, i32 noundef 32) %39 = icmp ne i32 %38, 0 br i1 %39, label %26, label %40 40: ; preds = %30 %41 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0 %42 = call i32 @strlen(ptr noundef %41) store i32 %42, ptr %4, align 4 %43 = load i32, ptr %4, align 4 %44 = call ptr @malloc(i32 noundef %43) store ptr %44, ptr %10, align 8 %45 = load ptr, ptr %10, align 8 %46 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0 %47 = load i32, ptr %4, align 4 %48 = call i32 @memcpy(ptr noundef %45, ptr noundef %46, i32 noundef %47) br label %49 ..loopexit_crit_edge: ; preds = %26 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %18 br label %49 49: ; preds = %.loopexit, %40 %50 = load ptr, ptr %12, align 8 %51 = call i32 @fclose(ptr noundef %50) %52 = load ptr, ptr %10, align 8 %53 = icmp ne ptr %52, null br i1 %53, label %54, label %56 54: ; preds = %49 %55 = load ptr, ptr %10, align 8 br label %57 56: ; preds = %49 br label %57 57: ; preds = %56, %54 %58 = phi ptr [ %55, %54 ], [ @.str.3, %56 ] store ptr %58, ptr %2, align 8 br label %59 59: ; preds = %57, %17 %60 = load ptr, ptr %2, align 8 ret ptr %60 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpd8d0ei9u.c' source_filename = "/tmp/tmpd8d0ei9u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @i_printw(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @printw(ptr noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @printw(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/tmpd8d0ei9u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @i_printw(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @printw(ptr noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @printw(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/tmp7920khgo.c' source_filename = "/tmp/tmp7920khgo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @standardDeviation(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %8 = load i32, ptr %3, align 4 %9 = load ptr, ptr %4, align 8 %10 = call double @average(i32 noundef %8, ptr noundef %9) store double %10, ptr %5, align 8 store double 0.000000e+00, ptr %6, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %7, align 4 br label %11 11: ; preds = %32, %2 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %35 15: ; preds = %11 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %7, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds double, ptr %16, i64 %18 %20 = load double, ptr %19, align 8 %21 = load double, ptr %5, align 8 %22 = fsub double %20, %21 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds double, ptr %23, i64 %25 %27 = load double, ptr %26, align 8 %28 = load double, ptr %5, align 8 %29 = fsub double %27, %28 %30 = load double, ptr %6, align 8 %31 = call double @llvm.fmuladd.f64(double %22, double %29, double %30) store double %31, ptr %6, align 8 br label %32 32: ; preds = %15 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %7, align 4 br label %11, !llvm.loop !6 35: ; preds = %11 %36 = load double, ptr %6, align 8 %37 = load i32, ptr %3, align 4 %38 = sitofp i32 %37 to double %39 = fdiv double %36, %38 %40 = call double @sqrt(double noundef %39) #4 ret double %40 } declare double @average(i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7920khgo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @standardDeviation(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %8 = load i32, ptr %3, align 4 %9 = load ptr, ptr %4, align 8 %10 = call double @average(i32 noundef %8, ptr noundef %9) store double %10, ptr %5, align 8 store double 0.000000e+00, ptr %6, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %3, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %37 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %31 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %7, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds double, ptr %15, i64 %17 %19 = load double, ptr %18, align 8 %20 = load double, ptr %5, align 8 %21 = fsub double %19, %20 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %7, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds double, ptr %22, i64 %24 %26 = load double, ptr %25, align 8 %27 = load double, ptr %5, align 8 %28 = fsub double %26, %27 %29 = load double, ptr %6, align 8 %30 = call double @llvm.fmuladd.f64(double %21, double %28, double %29) store double %30, ptr %6, align 8 br label %31 31: ; preds = %14 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %7, align 4 %34 = load i32, ptr %7, align 4 %35 = load i32, ptr %3, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %37 37: ; preds = %._crit_edge, %2 %38 = load double, ptr %6, align 8 %39 = load i32, ptr %3, align 4 %40 = sitofp i32 %39 to double %41 = fdiv double %38, %40 %42 = call double @sqrt(double noundef %41) #4 ret double %42 } declare double @average(i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpe7q38thh.c' source_filename = "/tmp/tmpe7q38thh.c" target datalayout = "e-m:e-p270: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/tmpe7q38thh.c" target datalayout = "e-m:e-p270: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/tmp8rp1o4y8.c' source_filename = "/tmp/tmp8rp1o4y8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_ZN9__gnu_cxxmiIPPiSt6vectorIS1_SaIS1_EEEENS_17__normal_iteratorIT_T0_E15difference_typeERKS9_SC_(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %15 = load ptr, ptr %3, align 8 store ptr %15, ptr %6, align 8 %16 = load ptr, ptr %4, align 8 store ptr %16, ptr %7, align 8 %17 = load ptr, ptr %6, align 8 store ptr %17, ptr %8, align 8 %18 = load ptr, ptr %8, align 8 %19 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPiSt6vectorIS1_SaIS1_EEE4baseEv(ptr noundef %18) store ptr %19, ptr %9, align 8 %20 = load ptr, ptr %9, align 8 %21 = load ptr, ptr %20, align 8 store ptr %21, ptr %10, align 8 %22 = load ptr, ptr %7, align 8 store ptr %22, ptr %11, align 8 %23 = load ptr, ptr %11, align 8 %24 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPiSt6vectorIS1_SaIS1_EEE4baseEv(ptr noundef %23) store ptr %24, ptr %12, align 8 %25 = load ptr, ptr %12, align 8 %26 = load ptr, ptr %25, align 8 store ptr %26, ptr %13, align 8 %27 = load ptr, ptr %10, align 8 %28 = ptrtoint ptr %27 to i64 %29 = load ptr, ptr %13, align 8 %30 = ptrtoint ptr %29 to i64 %31 = sub i64 %28, %30 %32 = sdiv i64 %31, 8 store i64 %32, ptr %5, align 8 %33 = load i64, ptr %5, align 8 store i64 %33, ptr %14, align 8 %34 = load i64, ptr %14, align 8 ret i64 %34 } declare ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPiSt6vectorIS1_SaIS1_EEE4baseEv(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8rp1o4y8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_ZN9__gnu_cxxmiIPPiSt6vectorIS1_SaIS1_EEEENS_17__normal_iteratorIT_T0_E15difference_typeERKS9_SC_(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %15 = load ptr, ptr %3, align 8 store ptr %15, ptr %6, align 8 %16 = load ptr, ptr %4, align 8 store ptr %16, ptr %7, align 8 %17 = load ptr, ptr %6, align 8 store ptr %17, ptr %8, align 8 %18 = load ptr, ptr %8, align 8 %19 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPiSt6vectorIS1_SaIS1_EEE4baseEv(ptr noundef %18) store ptr %19, ptr %9, align 8 %20 = load ptr, ptr %9, align 8 %21 = load ptr, ptr %20, align 8 store ptr %21, ptr %10, align 8 %22 = load ptr, ptr %7, align 8 store ptr %22, ptr %11, align 8 %23 = load ptr, ptr %11, align 8 %24 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPiSt6vectorIS1_SaIS1_EEE4baseEv(ptr noundef %23) store ptr %24, ptr %12, align 8 %25 = load ptr, ptr %12, align 8 %26 = load ptr, ptr %25, align 8 store ptr %26, ptr %13, align 8 %27 = load ptr, ptr %10, align 8 %28 = ptrtoint ptr %27 to i64 %29 = load ptr, ptr %13, align 8 %30 = ptrtoint ptr %29 to i64 %31 = sub i64 %28, %30 %32 = sdiv i64 %31, 8 store i64 %32, ptr %5, align 8 %33 = load i64, ptr %5, align 8 store i64 %33, ptr %14, align 8 %34 = load i64, ptr %14, align 8 ret i64 %34 } declare ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPiSt6vectorIS1_SaIS1_EEE4baseEv(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqpxvgmry.c' source_filename = "/tmp/tmpqpxvgmry.c" target datalayout = "e-m:e-p270: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/tmpqpxvgmry.c" target datalayout = "e-m:e-p270: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/tmptr_iz25t.c' source_filename = "/tmp/tmptr_iz25t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [50 x i8] c"Usage: oggz <subcommand> [options] filename ...\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [260 x i8] c"oggz is a commandline tool for manipulating Ogg files. It supports\0Amultiplexed files conformant with RFC3533. Oggz can parse headers for\0ACELT, CMML, FLAC, Kate, Opus, PCM, Speex, Theora, Vorbis and VP8, and can read and write\0AOgg Skeleton logical bitstreams.\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"\0ACommands:\0A\00", align 1 @.str.3 = private unnamed_addr constant [79 x i8] c" help Display help for a specific subcommand (eg. \22oggz help chop\22)\0A\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"\0AReporting:\0A\00", align 1 @.str.5 = private unnamed_addr constant [109 x i8] c" codecs Display the list of codecs found in one or more files and\0A their bitstreams.\0A\00", align 1 @.str.6 = private unnamed_addr constant [78 x i8] c" diff Hexdump the packets of two Ogg files and output differences.\0A\00", align 1 @.str.7 = private unnamed_addr constant [108 x i8] c" dump Hexdump packets of an Ogg file, or revert an Ogg file from\0A such a hexdump.\0A\00", align 1 @.str.8 = private unnamed_addr constant [103 x i8] c" info Display information about one or more Ogg files and their\0A bitstreams.\0A\00", align 1 @.str.9 = private unnamed_addr constant [71 x i8] c" scan Scan an Ogg file and output characteristic landmarks.\0A\00", align 1 @.str.10 = private unnamed_addr constant [64 x i8] c" validate Validate the Ogg framing of one or more files.\0A\00", align 1 @.str.11 = private unnamed_addr constant [14 x i8] c"\0AExtraction:\0A\00", align 1 @.str.12 = private unnamed_addr constant [74 x i8] c" rip Extract one or more logical bitstreams from an Ogg file.\0A\00", align 1 @.str.13 = private unnamed_addr constant [11 x i8] c"\0AEditing:\0A\00", align 1 @.str.14 = private unnamed_addr constant [103 x i8] c" chop Extract the part of an Ogg file between given start and/or\0A end times.\0A\00", align 1 @.str.15 = private unnamed_addr constant [55 x i8] c" comment List or edit comments in an Ogg file.\0A\00", align 1 @.str.16 = private unnamed_addr constant [109 x i8] c" merge Merge Ogg files together, interleaving pages in order of\0A presentation time.\0A\00", align 1 @.str.17 = private unnamed_addr constant [78 x i8] c" sort Sort the pages of an Ogg file in order of presentation time.\0A\00", align 1 @.str.18 = private unnamed_addr constant [17 x i8] c"\0AMiscellaneous:\0A\00", align 1 @.str.19 = private unnamed_addr constant [59 x i8] c" known-codecs List codecs known by this version of oggz\0A\00", align 1 @.str.20 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.21 = private unnamed_addr constant [42 x i8] c"Please report bugs to <ogg-dev@xiph.org>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @printf(ptr noundef @.str.1) %5 = call i32 @printf(ptr noundef @.str.2) %6 = call i32 @printf(ptr noundef @.str.3) %7 = call i32 @printf(ptr noundef @.str.4) %8 = call i32 @printf(ptr noundef @.str.5) %9 = call i32 @printf(ptr noundef @.str.6) %10 = call i32 @printf(ptr noundef @.str.7) %11 = call i32 @printf(ptr noundef @.str.8) %12 = call i32 @printf(ptr noundef @.str.9) %13 = call i32 @printf(ptr noundef @.str.10) %14 = call i32 @printf(ptr noundef @.str.11) %15 = call i32 @printf(ptr noundef @.str.12) %16 = call i32 @printf(ptr noundef @.str.13) %17 = call i32 @printf(ptr noundef @.str.14) %18 = call i32 @printf(ptr noundef @.str.15) %19 = call i32 @printf(ptr noundef @.str.16) %20 = call i32 @printf(ptr noundef @.str.17) %21 = call i32 @printf(ptr noundef @.str.18) %22 = call i32 @printf(ptr noundef @.str.19) %23 = call i32 @printf(ptr noundef @.str.20) %24 = call i32 @printf(ptr noundef @.str.21) 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/tmptr_iz25t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [50 x i8] c"Usage: oggz <subcommand> [options] filename ...\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [260 x i8] c"oggz is a commandline tool for manipulating Ogg files. It supports\0Amultiplexed files conformant with RFC3533. Oggz can parse headers for\0ACELT, CMML, FLAC, Kate, Opus, PCM, Speex, Theora, Vorbis and VP8, and can read and write\0AOgg Skeleton logical bitstreams.\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"\0ACommands:\0A\00", align 1 @.str.3 = private unnamed_addr constant [79 x i8] c" help Display help for a specific subcommand (eg. \22oggz help chop\22)\0A\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"\0AReporting:\0A\00", align 1 @.str.5 = private unnamed_addr constant [109 x i8] c" codecs Display the list of codecs found in one or more files and\0A their bitstreams.\0A\00", align 1 @.str.6 = private unnamed_addr constant [78 x i8] c" diff Hexdump the packets of two Ogg files and output differences.\0A\00", align 1 @.str.7 = private unnamed_addr constant [108 x i8] c" dump Hexdump packets of an Ogg file, or revert an Ogg file from\0A such a hexdump.\0A\00", align 1 @.str.8 = private unnamed_addr constant [103 x i8] c" info Display information about one or more Ogg files and their\0A bitstreams.\0A\00", align 1 @.str.9 = private unnamed_addr constant [71 x i8] c" scan Scan an Ogg file and output characteristic landmarks.\0A\00", align 1 @.str.10 = private unnamed_addr constant [64 x i8] c" validate Validate the Ogg framing of one or more files.\0A\00", align 1 @.str.11 = private unnamed_addr constant [14 x i8] c"\0AExtraction:\0A\00", align 1 @.str.12 = private unnamed_addr constant [74 x i8] c" rip Extract one or more logical bitstreams from an Ogg file.\0A\00", align 1 @.str.13 = private unnamed_addr constant [11 x i8] c"\0AEditing:\0A\00", align 1 @.str.14 = private unnamed_addr constant [103 x i8] c" chop Extract the part of an Ogg file between given start and/or\0A end times.\0A\00", align 1 @.str.15 = private unnamed_addr constant [55 x i8] c" comment List or edit comments in an Ogg file.\0A\00", align 1 @.str.16 = private unnamed_addr constant [109 x i8] c" merge Merge Ogg files together, interleaving pages in order of\0A presentation time.\0A\00", align 1 @.str.17 = private unnamed_addr constant [78 x i8] c" sort Sort the pages of an Ogg file in order of presentation time.\0A\00", align 1 @.str.18 = private unnamed_addr constant [17 x i8] c"\0AMiscellaneous:\0A\00", align 1 @.str.19 = private unnamed_addr constant [59 x i8] c" known-codecs List codecs known by this version of oggz\0A\00", align 1 @.str.20 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.21 = private unnamed_addr constant [42 x i8] c"Please report bugs to <ogg-dev@xiph.org>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @printf(ptr noundef @.str.1) %5 = call i32 @printf(ptr noundef @.str.2) %6 = call i32 @printf(ptr noundef @.str.3) %7 = call i32 @printf(ptr noundef @.str.4) %8 = call i32 @printf(ptr noundef @.str.5) %9 = call i32 @printf(ptr noundef @.str.6) %10 = call i32 @printf(ptr noundef @.str.7) %11 = call i32 @printf(ptr noundef @.str.8) %12 = call i32 @printf(ptr noundef @.str.9) %13 = call i32 @printf(ptr noundef @.str.10) %14 = call i32 @printf(ptr noundef @.str.11) %15 = call i32 @printf(ptr noundef @.str.12) %16 = call i32 @printf(ptr noundef @.str.13) %17 = call i32 @printf(ptr noundef @.str.14) %18 = call i32 @printf(ptr noundef @.str.15) %19 = call i32 @printf(ptr noundef @.str.16) %20 = call i32 @printf(ptr noundef @.str.17) %21 = call i32 @printf(ptr noundef @.str.18) %22 = call i32 @printf(ptr noundef @.str.19) %23 = call i32 @printf(ptr noundef @.str.20) %24 = call i32 @printf(ptr noundef @.str.21) 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/tmpspfb4csn.c' source_filename = "/tmp/tmpspfb4csn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Insira a quantidade de metros\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"O valor em centimetros \C3\A9: %i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %6 = load i32, ptr %3, align 4 %7 = mul nsw i32 %6, 1000 store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpspfb4csn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Insira a quantidade de metros\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"O valor em centimetros \C3\A9: %i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %6 = load i32, ptr %3, align 4 %7 = mul nsw i32 %6, 1000 store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptrlwqtwz.c' source_filename = "/tmp/tmptrlwqtwz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @carmen_global_convert_degmin_to_double(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %2, align 8 %5 = load double, ptr %2, align 8 %6 = fdiv double %5, 1.000000e+02 %7 = call double @llvm.floor.f64(double %6) store double %7, ptr %3, align 8 %8 = load double, ptr %2, align 8 %9 = load double, ptr %3, align 8 %10 = fneg double %9 %11 = call double @llvm.fmuladd.f64(double %10, double 1.000000e+02, double %8) %12 = fdiv double %11, 6.000000e+01 store double %12, ptr %4, align 8 %13 = load double, ptr %3, align 8 %14 = load double, ptr %4, align 8 %15 = fadd double %13, %14 ret double %15 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.floor.f64(double) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptrlwqtwz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @carmen_global_convert_degmin_to_double(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %2, align 8 %5 = load double, ptr %2, align 8 %6 = fdiv double %5, 1.000000e+02 %7 = call double @llvm.floor.f64(double %6) store double %7, ptr %3, align 8 %8 = load double, ptr %2, align 8 %9 = load double, ptr %3, align 8 %10 = fneg double %9 %11 = call double @llvm.fmuladd.f64(double %10, double 1.000000e+02, double %8) %12 = fdiv double %11, 6.000000e+01 store double %12, ptr %4, align 8 %13 = load double, ptr %3, align 8 %14 = load double, ptr %4, align 8 %15 = fadd double %13, %14 ret double %15 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.floor.f64(double) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcrx8auko.c' source_filename = "/tmp/tmpcrx8auko.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [3 x i32], align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = 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 %11 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 0 %12 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 1 %13 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 2 %14 = call i32 @scanf(ptr noundef @.str, ptr noundef %11, ptr noundef %12, ptr noundef %13) store i32 3, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = zext i32 %15 to i64 %17 = call ptr @llvm.stacksave() store ptr %17, ptr %8, align 8 %18 = alloca i32, i64 %16, align 16 store i64 %16, ptr %9, align 8 %19 = call i32 @memcpy(ptr noundef %18, ptr noundef %6, i32 noundef 12) %20 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 0 %21 = load i32, ptr %7, align 4 %22 = call i32 @simple_sort(ptr noundef %20, i32 noundef %21) store i32 0, ptr %10, align 4 br label %23 23: ; preds = %33, %2 %24 = load i32, ptr %10, align 4 %25 = load i32, ptr %7, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %36 27: ; preds = %23 %28 = load i32, ptr %10, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 %29 %31 = load i32, ptr %30, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %31) br label %33 33: ; preds = %27 %34 = load i32, ptr %10, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %10, align 4 br label %23, !llvm.loop !6 36: ; preds = %23 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %10, align 4 br label %38 38: ; preds = %48, %36 %39 = load i32, ptr %10, align 4 %40 = load i32, ptr %7, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %42, label %51 42: ; preds = %38 %43 = load i32, ptr %10, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %18, i64 %44 %46 = load i32, ptr %45, align 4 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %46) br label %48 48: ; preds = %42 %49 = load i32, ptr %10, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %10, align 4 br label %38, !llvm.loop !8 51: ; preds = %38 store i32 0, ptr %3, align 4 %52 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %52) %53 = load i32, ptr %3, align 4 ret i32 %53 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @simple_sort(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #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 willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpcrx8auko.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [3 x i32], align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = 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 %11 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 0 %12 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 1 %13 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 2 %14 = call i32 @scanf(ptr noundef @.str, ptr noundef %11, ptr noundef %12, ptr noundef %13) store i32 3, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = zext i32 %15 to i64 %17 = call ptr @llvm.stacksave() store ptr %17, ptr %8, align 8 %18 = alloca i32, i64 %16, align 16 store i64 %16, ptr %9, align 8 %19 = call i32 @memcpy(ptr noundef %18, ptr noundef %6, i32 noundef 12) %20 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 0 %21 = load i32, ptr %7, align 4 %22 = call i32 @simple_sort(ptr noundef %20, i32 noundef %21) store i32 0, ptr %10, align 4 %23 = load i32, ptr %10, align 4 %24 = load i32, ptr %7, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %.lr.ph, label %38 .lr.ph: ; preds = %2 br label %26 26: ; preds = %.lr.ph, %32 %27 = load i32, ptr %10, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 %28 %30 = load i32, ptr %29, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %30) br label %32 32: ; preds = %26 %33 = load i32, ptr %10, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %10, align 4 %35 = load i32, ptr %10, align 4 %36 = load i32, ptr %7, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %38 38: ; preds = %._crit_edge, %2 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %10, align 4 %40 = load i32, ptr %10, align 4 %41 = load i32, ptr %7, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %.lr.ph2, label %55 .lr.ph2: ; preds = %38 br label %43 43: ; preds = %.lr.ph2, %49 %44 = load i32, ptr %10, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %18, i64 %45 %47 = load i32, ptr %46, align 4 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %47) br label %49 49: ; preds = %43 %50 = load i32, ptr %10, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %10, align 4 %52 = load i32, ptr %10, align 4 %53 = load i32, ptr %7, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %43, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %49 br label %55 55: ; preds = %._crit_edge3, %38 store i32 0, ptr %3, align 4 %56 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %56) %57 = load i32, ptr %3, align 4 ret i32 %57 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @simple_sort(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #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 willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpsuy59h6x.c' source_filename = "/tmp/tmpsuy59h6x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @odwroc(ptr noundef %0) #0 { %2 = alloca i8, align 1 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @strlen(ptr noundef %5) store i32 %6, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %4, align 4 %9 = call i32 @reverse(ptr noundef %7, i32 noundef %8) %10 = load i8, ptr %2, align 1 ret i8 %10 } declare i32 @strlen(ptr noundef) #1 declare i32 @reverse(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/tmpsuy59h6x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @odwroc(ptr noundef %0) #0 { %2 = alloca i8, align 1 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @strlen(ptr noundef %5) store i32 %6, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %4, align 4 %9 = call i32 @reverse(ptr noundef %7, i32 noundef %8) %10 = load i8, ptr %2, align 1 ret i8 %10 } declare i32 @strlen(ptr noundef) #1 declare i32 @reverse(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/tmpf2_uoqjz.c' source_filename = "/tmp/tmpf2_uoqjz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @POINT_CONVERSION_UNCOMPRESSED = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vg_encode_script_address(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca [69 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca [21 x i8], align 16 %12 = alloca [32 x i8], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %13 = getelementptr inbounds [69 x i8], ptr %9, i64 0, i64 0 %14 = getelementptr inbounds i8, ptr %13, i64 2 store ptr %14, ptr %10, align 8 call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 21, i1 false) %15 = getelementptr inbounds [69 x i8], ptr %9, i64 0, i64 0 store i8 81, ptr %15, align 16 %16 = getelementptr inbounds [69 x i8], ptr %9, i64 0, i64 1 store i8 65, ptr %16, align 1 %17 = getelementptr inbounds [69 x i8], ptr %9, i64 0, i64 67 store i8 81, ptr %17, align 1 %18 = getelementptr inbounds [69 x i8], ptr %9, i64 0, i64 68 store i8 -82, ptr %18, align 4 %19 = load ptr, ptr %6, align 8 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr @POINT_CONVERSION_UNCOMPRESSED, align 4 %22 = load ptr, ptr %10, align 8 %23 = call i32 @EC_POINT_point2oct(ptr noundef %19, ptr noundef %20, i32 noundef %21, ptr noundef %22, i32 noundef 65, ptr noundef null) %24 = load i32, ptr %7, align 4 %25 = trunc i32 %24 to i8 %26 = getelementptr inbounds [21 x i8], ptr %11, i64 0, i64 0 store i8 %25, ptr %26, align 16 %27 = getelementptr inbounds [69 x i8], ptr %9, i64 0, i64 0 %28 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0 %29 = call i32 @SHA256(ptr noundef %27, i32 noundef 69, ptr noundef %28) %30 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0 %31 = getelementptr inbounds [21 x i8], ptr %11, i64 0, i64 1 %32 = call i32 @RIPEMD160(ptr noundef %30, i32 noundef 32, ptr noundef %31) %33 = getelementptr inbounds [21 x i8], ptr %11, i64 0, i64 0 %34 = load ptr, ptr %8, align 8 %35 = call i32 @vg_b58_encode_check(ptr noundef %33, i32 noundef 21, ptr noundef %34) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @EC_POINT_point2oct(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @SHA256(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @RIPEMD160(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @vg_b58_encode_check(ptr noundef, i32 noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf2_uoqjz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @POINT_CONVERSION_UNCOMPRESSED = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vg_encode_script_address(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca [69 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca [21 x i8], align 16 %12 = alloca [32 x i8], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %13 = getelementptr inbounds [69 x i8], ptr %9, i64 0, i64 0 %14 = getelementptr inbounds i8, ptr %13, i64 2 store ptr %14, ptr %10, align 8 call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 21, i1 false) %15 = getelementptr inbounds [69 x i8], ptr %9, i64 0, i64 0 store i8 81, ptr %15, align 16 %16 = getelementptr inbounds [69 x i8], ptr %9, i64 0, i64 1 store i8 65, ptr %16, align 1 %17 = getelementptr inbounds [69 x i8], ptr %9, i64 0, i64 67 store i8 81, ptr %17, align 1 %18 = getelementptr inbounds [69 x i8], ptr %9, i64 0, i64 68 store i8 -82, ptr %18, align 4 %19 = load ptr, ptr %6, align 8 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr @POINT_CONVERSION_UNCOMPRESSED, align 4 %22 = load ptr, ptr %10, align 8 %23 = call i32 @EC_POINT_point2oct(ptr noundef %19, ptr noundef %20, i32 noundef %21, ptr noundef %22, i32 noundef 65, ptr noundef null) %24 = load i32, ptr %7, align 4 %25 = trunc i32 %24 to i8 %26 = getelementptr inbounds [21 x i8], ptr %11, i64 0, i64 0 store i8 %25, ptr %26, align 16 %27 = getelementptr inbounds [69 x i8], ptr %9, i64 0, i64 0 %28 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0 %29 = call i32 @SHA256(ptr noundef %27, i32 noundef 69, ptr noundef %28) %30 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0 %31 = getelementptr inbounds [21 x i8], ptr %11, i64 0, i64 1 %32 = call i32 @RIPEMD160(ptr noundef %30, i32 noundef 32, ptr noundef %31) %33 = getelementptr inbounds [21 x i8], ptr %11, i64 0, i64 0 %34 = load ptr, ptr %8, align 8 %35 = call i32 @vg_b58_encode_check(ptr noundef %33, i32 noundef 21, ptr noundef %34) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @EC_POINT_point2oct(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @SHA256(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @RIPEMD160(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @vg_b58_encode_check(ptr noundef, i32 noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptfx8lwqq.c' source_filename = "/tmp/tmptfx8lwqq.c" target datalayout = "e-m:e-p270: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/tmptfx8lwqq.c" target datalayout = "e-m:e-p270: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/tmp1m2w4_aa.c' source_filename = "/tmp/tmp1m2w4_aa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Celsius\09Fahr\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"%7.0f\09%4.1f\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 %3 = alloca float, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 300, ptr %5, align 4 store i32 20, ptr %6, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = load i32, ptr %4, align 4 %9 = sitofp i32 %8 to float store float %9, ptr %3, align 4 br label %10 10: ; preds = %15, %0 %11 = load float, ptr %3, align 4 %12 = load i32, ptr %5, align 4 %13 = sitofp i32 %12 to float %14 = fcmp ole float %11, %13 br i1 %14, label %15, label %29 15: ; preds = %10 %16 = load float, ptr %3, align 4 %17 = fpext float %16 to double %18 = call double @llvm.fmuladd.f64(double 1.800000e+00, double %17, double 3.200000e+01) %19 = fptrunc double %18 to float store float %19, ptr %2, align 4 %20 = load float, ptr %3, align 4 %21 = fpext float %20 to double %22 = load float, ptr %2, align 4 %23 = fpext float %22 to double %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %21, double noundef %23) %25 = load i32, ptr %6, align 4 %26 = sitofp i32 %25 to float %27 = load float, ptr %3, align 4 %28 = fadd float %27, %26 store float %28, ptr %3, align 4 br label %10, !llvm.loop !6 29: ; preds = %10 %30 = load i32, ptr %1, align 4 ret i32 %30 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1m2w4_aa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Celsius\09Fahr\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"%7.0f\09%4.1f\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 %3 = alloca float, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 300, ptr %5, align 4 store i32 20, ptr %6, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = load i32, ptr %4, align 4 %9 = sitofp i32 %8 to float store float %9, ptr %3, align 4 %10 = load float, ptr %3, align 4 %11 = load i32, ptr %5, align 4 %12 = sitofp i32 %11 to float %13 = fcmp ole float %10, %12 br i1 %13, label %.lr.ph, label %32 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %14 %15 = load float, ptr %3, align 4 %16 = fpext float %15 to double %17 = call double @llvm.fmuladd.f64(double 1.800000e+00, double %16, double 3.200000e+01) %18 = fptrunc double %17 to float store float %18, ptr %2, align 4 %19 = load float, ptr %3, align 4 %20 = fpext float %19 to double %21 = load float, ptr %2, align 4 %22 = fpext float %21 to double %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %20, double noundef %22) %24 = load i32, ptr %6, align 4 %25 = sitofp i32 %24 to float %26 = load float, ptr %3, align 4 %27 = fadd float %26, %25 store float %27, ptr %3, align 4 %28 = load float, ptr %3, align 4 %29 = load i32, ptr %5, align 4 %30 = sitofp i32 %29 to float %31 = fcmp ole float %28, %30 br i1 %31, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %32 32: ; preds = %._crit_edge, %0 %33 = load i32, ptr %1, align 4 ret i32 %33 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpj36pmu6r.c' source_filename = "/tmp/tmpj36pmu6r.c" target datalayout = "e-m:e-p270: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/tmpj36pmu6r.c" target datalayout = "e-m:e-p270: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/tmp2aufxz5u.c' source_filename = "/tmp/tmp2aufxz5u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @waitPid(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 -1, ptr %5, align 4 br label %6 6: ; preds = %23, %1 %7 = call i32 @wait(ptr noundef %4) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp ne i32 %8, -1 br i1 %9, label %10, label %14 10: ; preds = %6 %11 = load i32, ptr %4, align 4 %12 = ashr i32 %11, 8 %13 = and i32 %12, 255 store i32 %13, ptr %5, align 4 br label %15 14: ; preds = %6 store i32 -1, ptr %5, align 4 br label %15 15: ; preds = %14, %10 %16 = load i32, ptr %3, align 4 %17 = icmp eq i32 %16, -1 br i1 %17, label %22, label %18 18: ; preds = %15 %19 = load i32, ptr %3, align 4 %20 = load i32, ptr %2, align 4 %21 = icmp eq i32 %19, %20 br i1 %21, label %22, label %23 22: ; preds = %18, %15 br label %24 23: ; preds = %18 br label %6 24: ; preds = %22 %25 = load i32, ptr %5, align 4 ret i32 %25 } declare i32 @wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2aufxz5u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @waitPid(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 -1, ptr %5, align 4 br label %6 6: ; preds = %18, %1 %7 = call i32 @wait(ptr noundef %4) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp ne i32 %8, -1 br i1 %9, label %10, label %14 10: ; preds = %6 %11 = load i32, ptr %4, align 4 %12 = ashr i32 %11, 8 %13 = and i32 %12, 255 store i32 %13, ptr %5, align 4 br label %15 14: ; preds = %6 store i32 -1, ptr %5, align 4 br label %15 15: ; preds = %14, %10 %16 = load i32, ptr %3, align 4 %17 = icmp eq i32 %16, -1 br i1 %17, label %22, label %18 18: ; preds = %15 %19 = load i32, ptr %3, align 4 %20 = load i32, ptr %2, align 4 %21 = icmp eq i32 %19, %20 br i1 %21, label %22, label %6 22: ; preds = %18, %15 br label %23 23: ; preds = %22 %24 = load i32, ptr %5, align 4 ret i32 %24 } declare i32 @wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6s9bxwop.c' source_filename = "/tmp/tmp6s9bxwop.c" target datalayout = "e-m:e-p270: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/tmp6s9bxwop.c" target datalayout = "e-m:e-p270: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/tmptzlqmwgj.c' source_filename = "/tmp/tmptzlqmwgj.c" target datalayout = "e-m:e-p270: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/tmptzlqmwgj.c" target datalayout = "e-m:e-p270: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/tmp4nf2xdap.c' source_filename = "/tmp/tmp4nf2xdap.c" target datalayout = "e-m:e-p270: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"Usage: %s [-q]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4nf2xdap.c" target datalayout = "e-m:e-p270: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"Usage: %s [-q]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4umoj20m.c' source_filename = "/tmp/tmp4umoj20m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sam_blank_check(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 %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i32 @return_sense(i32 noundef 8, i32 noundef %5, ptr noundef null, ptr noundef %6) ret void } declare i32 @return_sense(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4umoj20m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sam_blank_check(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 %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i32 @return_sense(i32 noundef 8, i32 noundef %5, ptr noundef null, ptr noundef %6) ret void } declare i32 @return_sense(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp339irfn4.c' source_filename = "/tmp/tmp339irfn4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"credits\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @readCredits(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [4 x i32], align 16 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 0 %7 = call i32 @readTag(i32 noundef %5, ptr noundef @.str, ptr noundef %6, i32 noundef 16) %8 = icmp ne i32 %7, 4 br i1 %8, label %9, label %10 9: ; preds = %1 store i32 -1, ptr %2, align 4 br label %13 10: ; preds = %1 %11 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 0 %12 = call i32 @bufToUInt32(ptr noundef %11) store i32 %12, ptr %2, align 4 br label %13 13: ; preds = %10, %9 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i32 @readTag(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @bufToUInt32(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp339irfn4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"credits\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @readCredits(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [4 x i32], align 16 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 0 %7 = call i32 @readTag(i32 noundef %5, ptr noundef @.str, ptr noundef %6, i32 noundef 16) %8 = icmp ne i32 %7, 4 br i1 %8, label %9, label %10 9: ; preds = %1 store i32 -1, ptr %2, align 4 br label %13 10: ; preds = %1 %11 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 0 %12 = call i32 @bufToUInt32(ptr noundef %11) store i32 %12, ptr %2, align 4 br label %13 13: ; preds = %10, %9 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i32 @readTag(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @bufToUInt32(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmhk5qia2.c' source_filename = "/tmp/tmpmhk5qia2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do0x20() #0 { %1 = call i32 (...) @_I8080_() ret void } declare i32 @_I8080_(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmhk5qia2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do0x20() #0 { %1 = call i32 (...) @_I8080_() ret void } declare i32 @_I8080_(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb7fyr47j.c' source_filename = "/tmp/tmpb7fyr47j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%.1f\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 %3 = alloca float, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %8 = load float, ptr %4, align 4 %9 = load float, ptr %3, align 4 %10 = fcmp olt float %8, %9 br i1 %10, label %11, label %22 11: ; preds = %0 %12 = load float, ptr %2, align 4 %13 = load float, ptr %3, align 4 %14 = fcmp olt float %12, %13 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load float, ptr %3, align 4 %17 = call i32 @printf(ptr noundef @.str.1, float noundef %16) br label %21 18: ; preds = %11 %19 = load float, ptr %2, align 4 %20 = call i32 @printf(ptr noundef @.str.1, float noundef %19) br label %21 21: ; preds = %18, %15 br label %33 22: ; preds = %0 %23 = load float, ptr %4, align 4 %24 = load float, ptr %2, align 4 %25 = fcmp olt float %23, %24 br i1 %25, label %26, label %29 26: ; preds = %22 %27 = load float, ptr %2, align 4 %28 = call i32 @printf(ptr noundef @.str.1, float noundef %27) br label %32 29: ; preds = %22 %30 = load float, ptr %4, align 4 %31 = call i32 @printf(ptr noundef @.str.1, float noundef %30) br label %32 32: ; preds = %29, %26 br label %33 33: ; preds = %32, %21 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb7fyr47j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%.1f\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 %3 = alloca float, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %8 = load float, ptr %4, align 4 %9 = load float, ptr %3, align 4 %10 = fcmp olt float %8, %9 br i1 %10, label %11, label %22 11: ; preds = %0 %12 = load float, ptr %2, align 4 %13 = load float, ptr %3, align 4 %14 = fcmp olt float %12, %13 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load float, ptr %3, align 4 %17 = call i32 @printf(ptr noundef @.str.1, float noundef %16) br label %21 18: ; preds = %11 %19 = load float, ptr %2, align 4 %20 = call i32 @printf(ptr noundef @.str.1, float noundef %19) br label %21 21: ; preds = %18, %15 br label %33 22: ; preds = %0 %23 = load float, ptr %4, align 4 %24 = load float, ptr %2, align 4 %25 = fcmp olt float %23, %24 br i1 %25, label %26, label %29 26: ; preds = %22 %27 = load float, ptr %2, align 4 %28 = call i32 @printf(ptr noundef @.str.1, float noundef %27) br label %32 29: ; preds = %22 %30 = load float, ptr %4, align 4 %31 = call i32 @printf(ptr noundef @.str.1, float noundef %30) br label %32 32: ; preds = %29, %26 br label %33 33: ; preds = %32, %21 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqfrte2d9.c' source_filename = "/tmp/tmpqfrte2d9.c" target datalayout = "e-m:e-p270: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/tmpqfrte2d9.c" target datalayout = "e-m:e-p270: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/tmp7gekh0qy.c' source_filename = "/tmp/tmp7gekh0qy.c" target datalayout = "e-m:e-p270: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.sched_param = type { i32 } @.str = private unnamed_addr constant [36 x i8] c"An error occurs when calling fork()\00", align 1 @.str.1 = private unnamed_addr constant [46 x i8] c"An error occurs when calling sched_getparam()\00", align 1 @SIGUSR1 = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [50 x i8] c"An error occurs when calling sched_getscheduler()\00", align 1 @errno = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [13 x i8] c"Test PASSED\0A\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"The param does not change.\0A\00", align 1 @EPERM = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [67 x i8] c"The process have not permission to change the param of its child.\0A\00", align 1 @EINVAL = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [13 x i8] c"Unknow error\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 %struct.sched_param, align 4 store i32 0, ptr %1, align 4 %10 = call i32 (...) @fork() store i32 %10, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %15 13: ; preds = %0 %14 = call i32 @perror(ptr noundef @.str) store i32 2, ptr %1, align 4 br label %137 15: ; preds = %0 %16 = load i32, ptr %3, align 4 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %15 %19 = call i32 (...) @child_proc() br label %20 20: ; preds = %18, %15 br label %21 21: ; preds = %20 %22 = load i32, ptr %3, align 4 %23 = call i64 @sched_getparam(i32 noundef %22, ptr noundef %9) %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %30 25: ; preds = %21 %26 = call i32 @perror(ptr noundef @.str.1) %27 = load i32, ptr %3, align 4 %28 = load i32, ptr @SIGUSR1, align 4 %29 = call i32 @kill(i32 noundef %27, i32 noundef %28) store i32 2, ptr %1, align 4 br label %137 30: ; preds = %21 %31 = getelementptr inbounds %struct.sched_param, ptr %9, i32 0, i32 0 %32 = load i32, ptr %31, align 4 store i32 %32, ptr %8, align 4 %33 = call i32 @sched_getscheduler(i32 noundef 0) store i32 %33, ptr %5, align 4 %34 = load i32, ptr %5, align 4 %35 = icmp eq i32 %34, -1 br i1 %35, label %36, label %38 36: ; preds = %30 %37 = call i32 @perror(ptr noundef @.str.2) store i32 2, ptr %1, align 4 br label %137 38: ; preds = %30 %39 = load i32, ptr %5, align 4 %40 = call i32 @sched_get_priority_min(i32 noundef %39) store i32 %40, ptr %6, align 4 %41 = getelementptr inbounds %struct.sched_param, ptr %9, i32 0, i32 0 %42 = load i32, ptr %41, align 4 %43 = load i32, ptr %6, align 4 %44 = icmp eq i32 %42, %43 br i1 %44, label %45, label %49 45: ; preds = %38 %46 = load i32, ptr %5, align 4 %47 = call i32 @sched_get_priority_max(i32 noundef %46) %48 = getelementptr inbounds %struct.sched_param, ptr %9, i32 0, i32 0 store i32 %47, ptr %48, align 4 br label %52 49: ; preds = %38 %50 = load i32, ptr %6, align 4 %51 = getelementptr inbounds %struct.sched_param, ptr %9, i32 0, i32 0 store i32 %50, ptr %51, align 4 br label %52 52: ; preds = %49, %45 %53 = phi i32 [ %47, %45 ], [ %50, %49 ] store i32 %53, ptr %7, align 4 %54 = load i32, ptr %3, align 4 %55 = call i32 @sched_setparam(i32 noundef %54, ptr noundef %9) store i32 %55, ptr %2, align 4 %56 = load i32, ptr @errno, align 4 store i32 %56, ptr %4, align 4 %57 = load i32, ptr %3, align 4 %58 = call i64 @sched_getparam(i32 noundef %57, ptr noundef %9) %59 = icmp ne i64 %58, 0 br i1 %59, label %60, label %65 60: ; preds = %52 %61 = call i32 @perror(ptr noundef @.str.1) %62 = load i32, ptr %3, align 4 %63 = load i32, ptr @SIGUSR1, align 4 %64 = call i32 @kill(i32 noundef %62, i32 noundef %63) store i32 2, ptr %1, align 4 br label %137 65: ; preds = %52 %66 = load i32, ptr %2, align 4 %67 = icmp eq i32 %66, 0 br i1 %67, label %68, label %78 68: ; preds = %65 %69 = getelementptr inbounds %struct.sched_param, ptr %9, i32 0, i32 0 %70 = load i32, ptr %69, align 4 %71 = load i32, ptr %7, align 4 %72 = icmp eq i32 %70, %71 br i1 %72, label %73, label %78 73: ; preds = %68 %74 = call i32 @printf(ptr noundef @.str.3) %75 = load i32, ptr %3, align 4 %76 = load i32, ptr @SIGUSR1, align 4 %77 = call i32 @kill(i32 noundef %75, i32 noundef %76) store i32 0, ptr %1, align 4 br label %137 78: ; preds = %68, %65 %79 = load i32, ptr %2, align 4 %80 = icmp eq i32 %79, 0 br i1 %80, label %81, label %91 81: ; preds = %78 %82 = getelementptr inbounds %struct.sched_param, ptr %9, i32 0, i32 0 %83 = load i32, ptr %82, align 4 %84 = load i32, ptr %8, align 4 %85 = icmp eq i32 %83, %84 br i1 %85, label %86, label %91 86: ; preds = %81 %87 = call i32 @printf(ptr noundef @.str.4) %88 = load i32, ptr %3, align 4 %89 = load i32, ptr @SIGUSR1, align 4 %90 = call i32 @kill(i32 noundef %88, i32 noundef %89) store i32 1, ptr %1, align 4 br label %137 91: ; preds = %81, %78 %92 = load i32, ptr %2, align 4 %93 = icmp eq i32 %92, -1 br i1 %93, label %94, label %103 94: ; preds = %91 %95 = load i32, ptr %4, align 4 %96 = load i32, ptr @EPERM, align 4 %97 = icmp eq i32 %95, %96 br i1 %97, label %98, label %103 98: ; preds = %94 %99 = call i32 @printf(ptr noundef @.str.5) %100 = load i32, ptr %3, align 4 %101 = load i32, ptr @SIGUSR1, align 4 %102 = call i32 @kill(i32 noundef %100, i32 noundef %101) store i32 2, ptr %1, align 4 br label %137 103: ; preds = %94, %91 %104 = load i32, ptr %2, align 4 %105 = icmp eq i32 %104, -1 br i1 %105, label %106, label %129 106: ; preds = %103 %107 = load i32, ptr %4, align 4 %108 = load i32, ptr @EINVAL, align 4 %109 = icmp eq i32 %107, %108 br i1 %109, label %110, label %129 110: ; preds = %106 %111 = load i32, ptr %7, align 4 %112 = sub nsw i32 %111, 2 store i32 %112, ptr %7, align 4 %113 = getelementptr inbounds %struct.sched_param, ptr %9, i32 0, i32 0 store i32 %112, ptr %113, align 4 %114 = load i32, ptr %3, align 4 %115 = call i32 @sched_setparam(i32 noundef %114, ptr noundef %9) store i32 %115, ptr %2, align 4 %116 = load i32, ptr %2, align 4 %117 = icmp eq i32 %116, 0 br i1 %117, label %118, label %128 118: ; preds = %110 %119 = getelementptr inbounds %struct.sched_param, ptr %9, i32 0, i32 0 %120 = load i32, ptr %119, align 4 %121 = load i32, ptr %7, align 4 %122 = icmp eq i32 %120, %121 br i1 %122, label %123, label %128 123: ; preds = %118 %124 = call i32 @printf(ptr noundef @.str.3) %125 = load i32, ptr %3, align 4 %126 = load i32, ptr @SIGUSR1, align 4 %127 = call i32 @kill(i32 noundef %125, i32 noundef %126) store i32 0, ptr %1, align 4 br label %137 128: ; preds = %118, %110 br label %129 129: ; preds = %128, %106, %103 br label %130 130: ; preds = %129 br label %131 131: ; preds = %130 br label %132 132: ; preds = %131 %133 = call i32 @perror(ptr noundef @.str.6) %134 = load i32, ptr %3, align 4 %135 = load i32, ptr @SIGUSR1, align 4 %136 = call i32 @kill(i32 noundef %134, i32 noundef %135) store i32 1, ptr %1, align 4 br label %137 137: ; preds = %132, %123, %98, %86, %73, %60, %36, %25, %13 %138 = load i32, ptr %1, align 4 ret i32 %138 } declare i32 @fork(...) #1 declare i32 @perror(ptr noundef) #1 declare i32 @child_proc(...) #1 declare i64 @sched_getparam(i32 noundef, ptr noundef) #1 declare i32 @kill(i32 noundef, i32 noundef) #1 declare i32 @sched_getscheduler(i32 noundef) #1 declare i32 @sched_get_priority_min(i32 noundef) #1 declare i32 @sched_get_priority_max(i32 noundef) #1 declare i32 @sched_setparam(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/tmp7gekh0qy.c" target datalayout = "e-m:e-p270: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.sched_param = type { i32 } @.str = private unnamed_addr constant [36 x i8] c"An error occurs when calling fork()\00", align 1 @.str.1 = private unnamed_addr constant [46 x i8] c"An error occurs when calling sched_getparam()\00", align 1 @SIGUSR1 = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [50 x i8] c"An error occurs when calling sched_getscheduler()\00", align 1 @errno = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [13 x i8] c"Test PASSED\0A\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"The param does not change.\0A\00", align 1 @EPERM = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [67 x i8] c"The process have not permission to change the param of its child.\0A\00", align 1 @EINVAL = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [13 x i8] c"Unknow error\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 %struct.sched_param, align 4 store i32 0, ptr %1, align 4 %10 = call i32 (...) @fork() store i32 %10, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %15 13: ; preds = %0 %14 = call i32 @perror(ptr noundef @.str) store i32 2, ptr %1, align 4 br label %137 15: ; preds = %0 %16 = load i32, ptr %3, align 4 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %15 %19 = call i32 (...) @child_proc() br label %20 20: ; preds = %18, %15 br label %21 21: ; preds = %20 %22 = load i32, ptr %3, align 4 %23 = call i64 @sched_getparam(i32 noundef %22, ptr noundef %9) %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %30 25: ; preds = %21 %26 = call i32 @perror(ptr noundef @.str.1) %27 = load i32, ptr %3, align 4 %28 = load i32, ptr @SIGUSR1, align 4 %29 = call i32 @kill(i32 noundef %27, i32 noundef %28) store i32 2, ptr %1, align 4 br label %137 30: ; preds = %21 %31 = getelementptr inbounds %struct.sched_param, ptr %9, i32 0, i32 0 %32 = load i32, ptr %31, align 4 store i32 %32, ptr %8, align 4 %33 = call i32 @sched_getscheduler(i32 noundef 0) store i32 %33, ptr %5, align 4 %34 = load i32, ptr %5, align 4 %35 = icmp eq i32 %34, -1 br i1 %35, label %36, label %38 36: ; preds = %30 %37 = call i32 @perror(ptr noundef @.str.2) store i32 2, ptr %1, align 4 br label %137 38: ; preds = %30 %39 = load i32, ptr %5, align 4 %40 = call i32 @sched_get_priority_min(i32 noundef %39) store i32 %40, ptr %6, align 4 %41 = getelementptr inbounds %struct.sched_param, ptr %9, i32 0, i32 0 %42 = load i32, ptr %41, align 4 %43 = load i32, ptr %6, align 4 %44 = icmp eq i32 %42, %43 br i1 %44, label %45, label %49 45: ; preds = %38 %46 = load i32, ptr %5, align 4 %47 = call i32 @sched_get_priority_max(i32 noundef %46) %48 = getelementptr inbounds %struct.sched_param, ptr %9, i32 0, i32 0 store i32 %47, ptr %48, align 4 br label %52 49: ; preds = %38 %50 = load i32, ptr %6, align 4 %51 = getelementptr inbounds %struct.sched_param, ptr %9, i32 0, i32 0 store i32 %50, ptr %51, align 4 br label %52 52: ; preds = %49, %45 %53 = phi i32 [ %47, %45 ], [ %50, %49 ] store i32 %53, ptr %7, align 4 %54 = load i32, ptr %3, align 4 %55 = call i32 @sched_setparam(i32 noundef %54, ptr noundef %9) store i32 %55, ptr %2, align 4 %56 = load i32, ptr @errno, align 4 store i32 %56, ptr %4, align 4 %57 = load i32, ptr %3, align 4 %58 = call i64 @sched_getparam(i32 noundef %57, ptr noundef %9) %59 = icmp ne i64 %58, 0 br i1 %59, label %60, label %65 60: ; preds = %52 %61 = call i32 @perror(ptr noundef @.str.1) %62 = load i32, ptr %3, align 4 %63 = load i32, ptr @SIGUSR1, align 4 %64 = call i32 @kill(i32 noundef %62, i32 noundef %63) store i32 2, ptr %1, align 4 br label %137 65: ; preds = %52 %66 = load i32, ptr %2, align 4 %67 = icmp eq i32 %66, 0 br i1 %67, label %68, label %78 68: ; preds = %65 %69 = getelementptr inbounds %struct.sched_param, ptr %9, i32 0, i32 0 %70 = load i32, ptr %69, align 4 %71 = load i32, ptr %7, align 4 %72 = icmp eq i32 %70, %71 br i1 %72, label %73, label %78 73: ; preds = %68 %74 = call i32 @printf(ptr noundef @.str.3) %75 = load i32, ptr %3, align 4 %76 = load i32, ptr @SIGUSR1, align 4 %77 = call i32 @kill(i32 noundef %75, i32 noundef %76) store i32 0, ptr %1, align 4 br label %137 78: ; preds = %68, %65 %79 = load i32, ptr %2, align 4 %80 = icmp eq i32 %79, 0 br i1 %80, label %81, label %91 81: ; preds = %78 %82 = getelementptr inbounds %struct.sched_param, ptr %9, i32 0, i32 0 %83 = load i32, ptr %82, align 4 %84 = load i32, ptr %8, align 4 %85 = icmp eq i32 %83, %84 br i1 %85, label %86, label %91 86: ; preds = %81 %87 = call i32 @printf(ptr noundef @.str.4) %88 = load i32, ptr %3, align 4 %89 = load i32, ptr @SIGUSR1, align 4 %90 = call i32 @kill(i32 noundef %88, i32 noundef %89) store i32 1, ptr %1, align 4 br label %137 91: ; preds = %81, %78 %92 = load i32, ptr %2, align 4 %93 = icmp eq i32 %92, -1 br i1 %93, label %94, label %103 94: ; preds = %91 %95 = load i32, ptr %4, align 4 %96 = load i32, ptr @EPERM, align 4 %97 = icmp eq i32 %95, %96 br i1 %97, label %98, label %103 98: ; preds = %94 %99 = call i32 @printf(ptr noundef @.str.5) %100 = load i32, ptr %3, align 4 %101 = load i32, ptr @SIGUSR1, align 4 %102 = call i32 @kill(i32 noundef %100, i32 noundef %101) store i32 2, ptr %1, align 4 br label %137 103: ; preds = %94, %91 %104 = load i32, ptr %2, align 4 %105 = icmp eq i32 %104, -1 br i1 %105, label %106, label %129 106: ; preds = %103 %107 = load i32, ptr %4, align 4 %108 = load i32, ptr @EINVAL, align 4 %109 = icmp eq i32 %107, %108 br i1 %109, label %110, label %129 110: ; preds = %106 %111 = load i32, ptr %7, align 4 %112 = sub nsw i32 %111, 2 store i32 %112, ptr %7, align 4 %113 = getelementptr inbounds %struct.sched_param, ptr %9, i32 0, i32 0 store i32 %112, ptr %113, align 4 %114 = load i32, ptr %3, align 4 %115 = call i32 @sched_setparam(i32 noundef %114, ptr noundef %9) store i32 %115, ptr %2, align 4 %116 = load i32, ptr %2, align 4 %117 = icmp eq i32 %116, 0 br i1 %117, label %118, label %128 118: ; preds = %110 %119 = getelementptr inbounds %struct.sched_param, ptr %9, i32 0, i32 0 %120 = load i32, ptr %119, align 4 %121 = load i32, ptr %7, align 4 %122 = icmp eq i32 %120, %121 br i1 %122, label %123, label %128 123: ; preds = %118 %124 = call i32 @printf(ptr noundef @.str.3) %125 = load i32, ptr %3, align 4 %126 = load i32, ptr @SIGUSR1, align 4 %127 = call i32 @kill(i32 noundef %125, i32 noundef %126) store i32 0, ptr %1, align 4 br label %137 128: ; preds = %118, %110 br label %129 129: ; preds = %128, %106, %103 br label %130 130: ; preds = %129 br label %131 131: ; preds = %130 br label %132 132: ; preds = %131 %133 = call i32 @perror(ptr noundef @.str.6) %134 = load i32, ptr %3, align 4 %135 = load i32, ptr @SIGUSR1, align 4 %136 = call i32 @kill(i32 noundef %134, i32 noundef %135) store i32 1, ptr %1, align 4 br label %137 137: ; preds = %132, %123, %98, %86, %73, %60, %36, %25, %13 %138 = load i32, ptr %1, align 4 ret i32 %138 } declare i32 @fork(...) #1 declare i32 @perror(ptr noundef) #1 declare i32 @child_proc(...) #1 declare i64 @sched_getparam(i32 noundef, ptr noundef) #1 declare i32 @kill(i32 noundef, i32 noundef) #1 declare i32 @sched_getscheduler(i32 noundef) #1 declare i32 @sched_get_priority_min(i32 noundef) #1 declare i32 @sched_get_priority_max(i32 noundef) #1 declare i32 @sched_setparam(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/tmpdb89n7qw.c' source_filename = "/tmp/tmpdb89n7qw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"strdup: out of memory\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @enstrdup(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = call ptr @strdup(ptr noundef %6) store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %13, label %10 10: ; preds = %2 %11 = load i32, ptr %3, align 4 %12 = call i32 @enprintf(i32 noundef %11, ptr noundef @.str) br label %13 13: ; preds = %10, %2 %14 = load ptr, ptr %5, align 8 ret ptr %14 } declare ptr @strdup(ptr noundef) #1 declare i32 @enprintf(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/tmpdb89n7qw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"strdup: out of memory\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @enstrdup(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = call ptr @strdup(ptr noundef %6) store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %13, label %10 10: ; preds = %2 %11 = load i32, ptr %3, align 4 %12 = call i32 @enprintf(i32 noundef %11, ptr noundef @.str) br label %13 13: ; preds = %10, %2 %14 = load ptr, ptr %5, align 8 ret ptr %14 } declare ptr @strdup(ptr noundef) #1 declare i32 @enprintf(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/tmp70oedss8.c' source_filename = "/tmp/tmp70oedss8.c" target datalayout = "e-m:e-p270: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/tmp70oedss8.c" target datalayout = "e-m:e-p270: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/tmpz3y56in0.c' source_filename = "/tmp/tmpz3y56in0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getmouseposx() #0 { %1 = call i64 (...) @GetMousePosX290() ret i64 %1 } declare i64 @GetMousePosX290(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz3y56in0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getmouseposx() #0 { %1 = call i64 (...) @GetMousePosX290() ret i64 %1 } declare i64 @GetMousePosX290(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphiza0jut.c' source_filename = "/tmp/tmphiza0jut.c" target datalayout = "e-m:e-p270: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/tmphiza0jut.c" target datalayout = "e-m:e-p270: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/tmp2laemx96.c' source_filename = "/tmp/tmp2laemx96.c" target datalayout = "e-m:e-p270: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/tmp2laemx96.c" target datalayout = "e-m:e-p270: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/tmpu__tbkcw.c' source_filename = "/tmp/tmpu__tbkcw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strndup(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %4, align 8 %7 = add i64 %6, 1 %8 = call i64 @malloc(i64 noundef %7) %9 = inttoptr i64 %8 to ptr store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %20 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %3, align 8 %15 = load i64, ptr %4, align 8 %16 = call i32 @strncpy(ptr noundef %13, ptr noundef %14, i64 noundef %15) %17 = load ptr, ptr %5, align 8 %18 = load i64, ptr %4, align 8 %19 = getelementptr inbounds i8, ptr %17, i64 %18 store i8 0, ptr %19, align 1 br label %20 20: ; preds = %12, %2 %21 = load ptr, ptr %5, align 8 ret ptr %21 } declare i64 @malloc(i64 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu__tbkcw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strndup(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %4, align 8 %7 = add i64 %6, 1 %8 = call i64 @malloc(i64 noundef %7) %9 = inttoptr i64 %8 to ptr store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %20 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %3, align 8 %15 = load i64, ptr %4, align 8 %16 = call i32 @strncpy(ptr noundef %13, ptr noundef %14, i64 noundef %15) %17 = load ptr, ptr %5, align 8 %18 = load i64, ptr %4, align 8 %19 = getelementptr inbounds i8, ptr %17, i64 %18 store i8 0, ptr %19, align 1 br label %20 20: ; preds = %12, %2 %21 = load ptr, ptr %5, align 8 ret ptr %21 } declare i64 @malloc(i64 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1c67vkim.c' source_filename = "/tmp/tmp1c67vkim.c" target datalayout = "e-m:e-p270: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/tmp1c67vkim.c" target datalayout = "e-m:e-p270: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/tmphkx72xp6.c' source_filename = "/tmp/tmphkx72xp6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBDevLPMRemoteWake(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = add nsw i64 %3, 866 %5 = inttoptr i64 %4 to ptr %6 = load volatile i32, ptr %5, align 4 %7 = or i32 %6, 2 store volatile i32 %7, ptr %5, align 4 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/tmphkx72xp6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBDevLPMRemoteWake(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = add nsw i64 %3, 866 %5 = inttoptr i64 %4 to ptr %6 = load volatile i32, ptr %5, align 4 %7 = or i32 %6, 2 store volatile i32 %7, ptr %5, align 4 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/tmpeminn3s6.c' source_filename = "/tmp/tmpeminn3s6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @asserter_crash_if_equal(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp eq i32 %7, %8 %10 = zext i1 %9 to i32 %11 = load i32, ptr %6, align 4 %12 = call i32 @asserter_crash_if(i32 noundef %10, i32 noundef %11) ret void } declare i32 @asserter_crash_if(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/tmpeminn3s6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @asserter_crash_if_equal(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp eq i32 %7, %8 %10 = zext i1 %9 to i32 %11 = load i32, ptr %6, align 4 %12 = call i32 @asserter_crash_if(i32 noundef %10, i32 noundef %11) ret void } declare i32 @asserter_crash_if(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/tmp3emta5lb.c' source_filename = "/tmp/tmp3emta5lb.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 256, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = zext i32 %7 to i64 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %4, align 8 %10 = alloca i32, i64 %8, align 16 store i64 %8, ptr %5, align 8 %11 = load i32, ptr %3, align 4 %12 = zext i32 %11 to i64 %13 = alloca i32, i64 %12, align 16 store i64 %12, ptr %6, align 8 store i32 0, ptr %2, align 4 br label %14 14: ; preds = %28, %0 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %31 18: ; preds = %14 %19 = load i32, ptr %2, align 4 %20 = load i32, ptr %2, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %10, i64 %21 store i32 %19, ptr %22, align 4 %23 = load i32, ptr %2, align 4 %24 = add nsw i32 %23, 5 %25 = load i32, ptr %2, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %13, i64 %26 store i32 %24, ptr %27, align 4 br label %28 28: ; preds = %18 %29 = load i32, ptr %2, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %2, align 4 br label %14, !llvm.loop !6 31: ; preds = %14 store i32 2, ptr %2, align 4 br label %32 32: ; preds = %54, %31 %33 = load i32, ptr %2, align 4 %34 = load i32, ptr %3, align 4 %35 = sub nsw i32 %34, 1 %36 = icmp slt i32 %33, %35 br i1 %36, label %37, label %57 37: ; preds = %32 %38 = load i32, ptr %2, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %10, i64 %39 %41 = load i32, ptr %40, align 4 %42 = load i32, ptr %2, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %13, i64 %43 store i32 %41, ptr %44, align 4 %45 = load i32, ptr %2, align 4 %46 = add nsw i32 %45, 1 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %10, i64 %47 %49 = load i32, ptr %48, align 4 %50 = load i32, ptr %2, align 4 %51 = add nsw i32 %50, 1 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %13, i64 %52 store i32 %49, ptr %53, align 4 br label %54 54: ; preds = %37 %55 = load i32, ptr %2, align 4 %56 = add nsw i32 %55, 2 store i32 %56, ptr %2, align 4 br label %32, !llvm.loop !8 57: ; preds = %32 %58 = load i32, ptr @stdout, align 4 %59 = call i32 @fflush(i32 noundef %58) store i32 0, ptr %1, align 4 %60 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %60) %61 = load i32, ptr %1, align 4 ret i32 %61 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @fflush(i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3emta5lb.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 256, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = zext i32 %7 to i64 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %4, align 8 %10 = alloca i32, i64 %8, align 16 store i64 %8, ptr %5, align 8 %11 = load i32, ptr %3, align 4 %12 = zext i32 %11 to i64 %13 = alloca i32, i64 %12, align 16 store i64 %12, ptr %6, align 8 store i32 0, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %33 .lr.ph: ; preds = %0 br label %17 17: ; preds = %.lr.ph, %27 %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %2, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %10, i64 %20 store i32 %18, ptr %21, align 4 %22 = load i32, ptr %2, align 4 %23 = add nsw i32 %22, 5 %24 = load i32, ptr %2, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %13, i64 %25 store i32 %23, ptr %26, align 4 br label %27 27: ; preds = %17 %28 = load i32, ptr %2, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %2, align 4 %30 = load i32, ptr %2, align 4 %31 = load i32, ptr %3, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %0 store i32 2, ptr %2, align 4 %34 = load i32, ptr %2, align 4 %35 = load i32, ptr %3, align 4 %36 = sub nsw i32 %35, 1 %37 = icmp slt i32 %34, %36 br i1 %37, label %.lr.ph2, label %62 .lr.ph2: ; preds = %33 br label %38 38: ; preds = %.lr.ph2, %55 %39 = load i32, ptr %2, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %10, i64 %40 %42 = load i32, ptr %41, align 4 %43 = load i32, ptr %2, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %13, i64 %44 store i32 %42, ptr %45, align 4 %46 = load i32, ptr %2, align 4 %47 = add nsw i32 %46, 1 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %10, i64 %48 %50 = load i32, ptr %49, align 4 %51 = load i32, ptr %2, align 4 %52 = add nsw i32 %51, 1 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %13, i64 %53 store i32 %50, ptr %54, align 4 br label %55 55: ; preds = %38 %56 = load i32, ptr %2, align 4 %57 = add nsw i32 %56, 2 store i32 %57, ptr %2, align 4 %58 = load i32, ptr %2, align 4 %59 = load i32, ptr %3, align 4 %60 = sub nsw i32 %59, 1 %61 = icmp slt i32 %58, %60 br i1 %61, label %38, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %55 br label %62 62: ; preds = %._crit_edge3, %33 %63 = load i32, ptr @stdout, align 4 %64 = call i32 @fflush(i32 noundef %63) store i32 0, ptr %1, align 4 %65 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %65) %66 = load i32, ptr %1, align 4 ret i32 %66 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @fflush(i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpfb1vqsrb.c' source_filename = "/tmp/tmpfb1vqsrb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"\E8\AF\B7\E8\BE\93\E5\85\A5\E8\A1\8C\E6\95\B0\EF\BC\9A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"\E7\BB\93\E6\9E\9C\E5\A6\82\E4\B8\8B\EF\BC\9A\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.4 = 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 i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %7, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8) %14 = load i32, ptr %8, align 4 %15 = zext i32 %14 to i64 %16 = load i32, ptr %8, align 4 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %9, align 8 %19 = mul nuw i64 %15, %17 %20 = alloca i32, i64 %19, align 16 store i64 %15, ptr %10, align 8 store i64 %17, ptr %11, align 8 %21 = load i32, ptr %8, align 4 %22 = srem i32 %21, 2 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %27 24: ; preds = %0 %25 = load i32, ptr %8, align 4 %26 = sdiv i32 %25, 2 store i32 %26, ptr %2, align 4 br label %31 27: ; preds = %0 %28 = load i32, ptr %8, align 4 %29 = add nsw i32 %28, 1 %30 = sdiv i32 %29, 2 store i32 %30, ptr %2, align 4 br label %31 31: ; preds = %27, %24 store i32 1, ptr %3, align 4 br label %32 32: ; preds = %71, %31 %33 = load i32, ptr %3, align 4 %34 = load i32, ptr %2, align 4 %35 = icmp sle i32 %33, %34 br i1 %35, label %36, label %74 36: ; preds = %32 %37 = load i32, ptr %7, align 4 store i32 %37, ptr %5, align 4 br label %38 38: ; preds = %65, %36 %39 = load i32, ptr %5, align 4 %40 = load i32, ptr %8, align 4 %41 = load i32, ptr %7, align 4 %42 = sub nsw i32 %40, %41 %43 = icmp slt i32 %39, %42 br i1 %43, label %44, label %68 44: ; preds = %38 %45 = load i32, ptr %7, align 4 store i32 %45, ptr %6, align 4 br label %46 46: ; preds = %61, %44 %47 = load i32, ptr %6, align 4 %48 = load i32, ptr %8, align 4 %49 = load i32, ptr %7, align 4 %50 = sub nsw i32 %48, %49 %51 = icmp slt i32 %47, %50 br i1 %51, label %52, label %64 52: ; preds = %46 %53 = load i32, ptr %3, align 4 %54 = load i32, ptr %5, align 4 %55 = sext i32 %54 to i64 %56 = mul nsw i64 %55, %17 %57 = getelementptr inbounds i32, ptr %20, i64 %56 %58 = load i32, ptr %6, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %57, i64 %59 store i32 %53, ptr %60, align 4 br label %61 61: ; preds = %52 %62 = load i32, ptr %6, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %6, align 4 br label %46, !llvm.loop !6 64: ; preds = %46 br label %65 65: ; preds = %64 %66 = load i32, ptr %5, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %5, align 4 br label %38, !llvm.loop !8 68: ; preds = %38 %69 = load i32, ptr %7, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %7, align 4 br label %71 71: ; preds = %68 %72 = load i32, ptr %3, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %3, align 4 br label %32, !llvm.loop !9 74: ; preds = %32 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %76 76: ; preds = %100, %74 %77 = load i32, ptr %3, align 4 %78 = load i32, ptr %8, align 4 %79 = icmp slt i32 %77, %78 br i1 %79, label %80, label %103 80: ; preds = %76 store i32 0, ptr %4, align 4 br label %81 81: ; preds = %95, %80 %82 = load i32, ptr %4, align 4 %83 = load i32, ptr %8, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %85, label %98 85: ; preds = %81 %86 = load i32, ptr %3, align 4 %87 = sext i32 %86 to i64 %88 = mul nsw i64 %87, %17 %89 = getelementptr inbounds i32, ptr %20, i64 %88 %90 = load i32, ptr %4, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds i32, ptr %89, i64 %91 %93 = load i32, ptr %92, align 4 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %93) br label %95 95: ; preds = %85 %96 = load i32, ptr %4, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %4, align 4 br label %81, !llvm.loop !10 98: ; preds = %81 %99 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %100 100: ; preds = %98 %101 = load i32, ptr %3, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %3, align 4 br label %76, !llvm.loop !11 103: ; preds = %76 store i32 0, ptr %1, align 4 %104 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %104) %105 = load i32, ptr %1, align 4 ret i32 %105 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #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 willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpfb1vqsrb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"\E8\AF\B7\E8\BE\93\E5\85\A5\E8\A1\8C\E6\95\B0\EF\BC\9A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"\E7\BB\93\E6\9E\9C\E5\A6\82\E4\B8\8B\EF\BC\9A\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.4 = 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 i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %7, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8) %14 = load i32, ptr %8, align 4 %15 = zext i32 %14 to i64 %16 = load i32, ptr %8, align 4 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %9, align 8 %19 = mul nuw i64 %15, %17 %20 = alloca i32, i64 %19, align 16 store i64 %15, ptr %10, align 8 store i64 %17, ptr %11, align 8 %21 = load i32, ptr %8, align 4 %22 = srem i32 %21, 2 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %27 24: ; preds = %0 %25 = load i32, ptr %8, align 4 %26 = sdiv i32 %25, 2 store i32 %26, ptr %2, align 4 br label %31 27: ; preds = %0 %28 = load i32, ptr %8, align 4 %29 = add nsw i32 %28, 1 %30 = sdiv i32 %29, 2 store i32 %30, ptr %2, align 4 br label %31 31: ; preds = %27, %24 store i32 1, ptr %3, align 4 %32 = load i32, ptr %3, align 4 %33 = load i32, ptr %2, align 4 %34 = icmp sle i32 %32, %33 br i1 %34, label %.lr.ph5, label %84 .lr.ph5: ; preds = %31 br label %35 35: ; preds = %.lr.ph5, %78 %36 = load i32, ptr %7, align 4 store i32 %36, ptr %5, align 4 %37 = load i32, ptr %5, align 4 %38 = load i32, ptr %8, align 4 %39 = load i32, ptr %7, align 4 %40 = sub nsw i32 %38, %39 %41 = icmp slt i32 %37, %40 br i1 %41, label %.lr.ph2, label %75 .lr.ph2: ; preds = %35 br label %42 42: ; preds = %.lr.ph2, %67 %43 = load i32, ptr %7, align 4 store i32 %43, ptr %6, align 4 %44 = load i32, ptr %6, align 4 %45 = load i32, ptr %8, align 4 %46 = load i32, ptr %7, align 4 %47 = sub nsw i32 %45, %46 %48 = icmp slt i32 %44, %47 br i1 %48, label %.lr.ph, label %66 .lr.ph: ; preds = %42 br label %49 49: ; preds = %.lr.ph, %58 %50 = load i32, ptr %3, align 4 %51 = load i32, ptr %5, align 4 %52 = sext i32 %51 to i64 %53 = mul nsw i64 %52, %17 %54 = getelementptr inbounds i32, ptr %20, i64 %53 %55 = load i32, ptr %6, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i32, ptr %54, i64 %56 store i32 %50, ptr %57, align 4 br label %58 58: ; preds = %49 %59 = load i32, ptr %6, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %6, align 4 %61 = load i32, ptr %6, align 4 %62 = load i32, ptr %8, align 4 %63 = load i32, ptr %7, align 4 %64 = sub nsw i32 %62, %63 %65 = icmp slt i32 %61, %64 br i1 %65, label %49, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %58 br label %66 66: ; preds = %._crit_edge, %42 br label %67 67: ; preds = %66 %68 = load i32, ptr %5, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %5, align 4 %70 = load i32, ptr %5, align 4 %71 = load i32, ptr %8, align 4 %72 = load i32, ptr %7, align 4 %73 = sub nsw i32 %71, %72 %74 = icmp slt i32 %70, %73 br i1 %74, label %42, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %67 br label %75 75: ; preds = %._crit_edge3, %35 %76 = load i32, ptr %7, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %7, align 4 br label %78 78: ; preds = %75 %79 = load i32, ptr %3, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %3, align 4 %81 = load i32, ptr %3, align 4 %82 = load i32, ptr %2, align 4 %83 = icmp sle i32 %81, %82 br i1 %83, label %35, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %78 br label %84 84: ; preds = %._crit_edge6, %31 %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 %86 = load i32, ptr %3, align 4 %87 = load i32, ptr %8, align 4 %88 = icmp slt i32 %86, %87 br i1 %88, label %.lr.ph11, label %117 .lr.ph11: ; preds = %84 br label %89 89: ; preds = %.lr.ph11, %111 store i32 0, ptr %4, align 4 %90 = load i32, ptr %4, align 4 %91 = load i32, ptr %8, align 4 %92 = icmp slt i32 %90, %91 br i1 %92, label %.lr.ph8, label %109 .lr.ph8: ; preds = %89 br label %93 93: ; preds = %.lr.ph8, %103 %94 = load i32, ptr %3, align 4 %95 = sext i32 %94 to i64 %96 = mul nsw i64 %95, %17 %97 = getelementptr inbounds i32, ptr %20, i64 %96 %98 = load i32, ptr %4, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i32, ptr %97, i64 %99 %101 = load i32, ptr %100, align 4 %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %101) br label %103 103: ; preds = %93 %104 = load i32, ptr %4, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %4, align 4 %106 = load i32, ptr %4, align 4 %107 = load i32, ptr %8, align 4 %108 = icmp slt i32 %106, %107 br i1 %108, label %93, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %103 br label %109 109: ; preds = %._crit_edge9, %89 %110 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %111 111: ; preds = %109 %112 = load i32, ptr %3, align 4 %113 = add nsw i32 %112, 1 store i32 %113, ptr %3, align 4 %114 = load i32, ptr %3, align 4 %115 = load i32, ptr %8, align 4 %116 = icmp slt i32 %114, %115 br i1 %116, label %89, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %111 br label %117 117: ; preds = %._crit_edge12, %84 store i32 0, ptr %1, align 4 %118 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %118) %119 = load i32, ptr %1, align 4 ret i32 %119 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #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 willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp12r3c13m.c' source_filename = "/tmp/tmp12r3c13m.c" target datalayout = "e-m:e-p270: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 = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"%d, %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [256 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %7 = load i32, ptr @stdin, align 4 %8 = call i32 @fgets(ptr noundef %6, i32 noundef 256, i32 noundef %7) %9 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, -1 store i32 %12, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %13 13: ; preds = %49, %0 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %52 17: ; preds = %13 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp sge i32 %22, 97 br i1 %23, label %24, label %31 24: ; preds = %17 %25 = load i32, ptr %4, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 %26 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp sle i32 %29, 122 br i1 %30, label %45, label %31 31: ; preds = %24, %17 %32 = load i32, ptr %4, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp sge i32 %36, 65 br i1 %37, label %38, label %48 38: ; preds = %31 %39 = load i32, ptr %4, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 %40 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp sle i32 %43, 90 br i1 %44, label %45, label %48 45: ; preds = %38, %24 %46 = load i32, ptr %5, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %5, align 4 br label %48 48: ; preds = %45, %38, %31 br label %49 49: ; preds = %48 %50 = load i32, ptr %4, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %4, align 4 br label %13, !llvm.loop !6 52: ; preds = %13 %53 = load i32, ptr %3, align 4 %54 = load i32, ptr %5, align 4 %55 = call i32 @printf(ptr noundef @.str, i32 noundef %53, i32 noundef %54) ret i32 0 } declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp12r3c13m.c" target datalayout = "e-m:e-p270: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 = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"%d, %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [256 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %7 = load i32, ptr @stdin, align 4 %8 = call i32 @fgets(ptr noundef %6, i32 noundef 256, i32 noundef %7) %9 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, -1 store i32 %12, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %54 .lr.ph: ; preds = %0 br label %16 16: ; preds = %.lr.ph, %48 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp sge i32 %21, 97 br i1 %22, label %23, label %30 23: ; preds = %16 %24 = load i32, ptr %4, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp sle i32 %28, 122 br i1 %29, label %44, label %30 30: ; preds = %23, %16 %31 = load i32, ptr %4, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 %32 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp sge i32 %35, 65 br i1 %36, label %37, label %47 37: ; preds = %30 %38 = load i32, ptr %4, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 %39 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp sle i32 %42, 90 br i1 %43, label %44, label %47 44: ; preds = %37, %23 %45 = load i32, ptr %5, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %5, align 4 br label %47 47: ; preds = %44, %37, %30 br label %48 48: ; preds = %47 %49 = load i32, ptr %4, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %4, align 4 %51 = load i32, ptr %4, align 4 %52 = load i32, ptr %3, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %48 br label %54 54: ; preds = %._crit_edge, %0 %55 = load i32, ptr %3, align 4 %56 = load i32, ptr %5, align 4 %57 = call i32 @printf(ptr noundef @.str, i32 noundef %55, i32 noundef %56) ret i32 0 } declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp5ollv4bx.c' source_filename = "/tmp/tmp5ollv4bx.c" target datalayout = "e-m:e-p270: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/tmp5ollv4bx.c" target datalayout = "e-m:e-p270: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/tmpcim6d2lo.c' source_filename = "/tmp/tmpcim6d2lo.c" target datalayout = "e-m:e-p270: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/tmpcim6d2lo.c" target datalayout = "e-m:e-p270: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/tmpiec1q6xx.c' source_filename = "/tmp/tmpiec1q6xx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HuffmanCodes(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca [100 x i32], align 16 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %5, align 8 %12 = load i32, ptr %6, align 4 %13 = call ptr @buildHuffmanTree(ptr noundef %10, ptr noundef %11, i32 noundef %12) store ptr %13, ptr %7, align 8 store i32 0, ptr %9, align 4 %14 = load ptr, ptr %7, align 8 %15 = getelementptr inbounds [100 x i32], ptr %8, i64 0, i64 0 %16 = load i32, ptr %9, align 4 %17 = call i32 @printCodes(ptr noundef %14, ptr noundef %15, i32 noundef %16) ret void } declare ptr @buildHuffmanTree(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printCodes(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/tmpiec1q6xx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HuffmanCodes(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca [100 x i32], align 16 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %5, align 8 %12 = load i32, ptr %6, align 4 %13 = call ptr @buildHuffmanTree(ptr noundef %10, ptr noundef %11, i32 noundef %12) store ptr %13, ptr %7, align 8 store i32 0, ptr %9, align 4 %14 = load ptr, ptr %7, align 8 %15 = getelementptr inbounds [100 x i32], ptr %8, i64 0, i64 0 %16 = load i32, ptr %9, align 4 %17 = call i32 @printCodes(ptr noundef %14, ptr noundef %15, i32 noundef %16) ret void } declare ptr @buildHuffmanTree(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printCodes(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/tmpx4ad1918.c' source_filename = "/tmp/tmpx4ad1918.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isprint.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isprint should be 1 for f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isprint_0x66() #0 { %1 = call i32 @isprint(i32 noundef 102) #3 %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 515, 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 @isprint(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/tmpx4ad1918.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isprint.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isprint should be 1 for f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isprint_0x66() #0 { %1 = call i32 @isprint(i32 noundef 102) #3 %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 515, 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 @isprint(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/tmpo7ssi81p.c' source_filename = "/tmp/tmpo7ssi81p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @xilogbf(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca i32, align 4 store float %0, ptr %2, align 4 %4 = load float, ptr %2, align 4 %5 = call i32 @fabsfk(float noundef %4) %6 = call i32 @ilogbkf(i32 noundef %5) store i32 %6, ptr %3, align 4 %7 = load float, ptr %2, align 4 %8 = fcmp oeq float %7, 0.000000e+00 br i1 %8, label %9, label %10 9: ; preds = %1 br label %12 10: ; preds = %1 %11 = load i32, ptr %3, align 4 br label %12 12: ; preds = %10, %9 %13 = phi i32 [ -2147483648, %9 ], [ %11, %10 ] store i32 %13, ptr %3, align 4 %14 = load float, ptr %2, align 4 %15 = call i64 @xisnanf(float noundef %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %12 br label %20 18: ; preds = %12 %19 = load i32, ptr %3, align 4 br label %20 20: ; preds = %18, %17 %21 = phi i32 [ 2147483647, %17 ], [ %19, %18 ] store i32 %21, ptr %3, align 4 %22 = load float, ptr %2, align 4 %23 = call i64 @xisinff(float noundef %22) %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %20 %26 = load i32, ptr @INT_MAX, align 4 br label %29 27: ; preds = %20 %28 = load i32, ptr %3, align 4 br label %29 29: ; preds = %27, %25 %30 = phi i32 [ %26, %25 ], [ %28, %27 ] store i32 %30, ptr %3, align 4 %31 = load i32, ptr %3, align 4 ret i32 %31 } declare i32 @ilogbkf(i32 noundef) #1 declare i32 @fabsfk(float noundef) #1 declare i64 @xisnanf(float noundef) #1 declare i64 @xisinff(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/tmpo7ssi81p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @xilogbf(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca i32, align 4 store float %0, ptr %2, align 4 %4 = load float, ptr %2, align 4 %5 = call i32 @fabsfk(float noundef %4) %6 = call i32 @ilogbkf(i32 noundef %5) store i32 %6, ptr %3, align 4 %7 = load float, ptr %2, align 4 %8 = fcmp oeq float %7, 0.000000e+00 br i1 %8, label %9, label %10 9: ; preds = %1 br label %12 10: ; preds = %1 %11 = load i32, ptr %3, align 4 br label %12 12: ; preds = %10, %9 %13 = phi i32 [ -2147483648, %9 ], [ %11, %10 ] store i32 %13, ptr %3, align 4 %14 = load float, ptr %2, align 4 %15 = call i64 @xisnanf(float noundef %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %12 br label %20 18: ; preds = %12 %19 = load i32, ptr %3, align 4 br label %20 20: ; preds = %18, %17 %21 = phi i32 [ 2147483647, %17 ], [ %19, %18 ] store i32 %21, ptr %3, align 4 %22 = load float, ptr %2, align 4 %23 = call i64 @xisinff(float noundef %22) %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %20 %26 = load i32, ptr @INT_MAX, align 4 br label %29 27: ; preds = %20 %28 = load i32, ptr %3, align 4 br label %29 29: ; preds = %27, %25 %30 = phi i32 [ %26, %25 ], [ %28, %27 ] store i32 %30, ptr %3, align 4 %31 = load i32, ptr %3, align 4 ret i32 %31 } declare i32 @ilogbkf(i32 noundef) #1 declare i32 @fabsfk(float noundef) #1 declare i64 @xisnanf(float noundef) #1 declare i64 @xisinff(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/tmpke6dk9sq.c' source_filename = "/tmp/tmpke6dk9sq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strstrip(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i64 @strlen(ptr noundef %6) store i64 %7, ptr %4, align 8 %8 = load i64, ptr %4, align 8 %9 = icmp ne i64 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 store ptr %11, ptr %2, align 8 br label %51 12: ; preds = %1 %13 = load ptr, ptr %3, align 8 %14 = load i64, ptr %4, align 8 %15 = getelementptr inbounds i8, ptr %13, i64 %14 %16 = getelementptr inbounds i8, ptr %15, i64 -1 store ptr %16, ptr %5, align 8 br label %17 17: ; preds = %28, %12 %18 = load ptr, ptr %5, align 8 %19 = load ptr, ptr %3, align 8 %20 = icmp uge ptr %18, %19 br i1 %20, label %21, label %26 21: ; preds = %17 %22 = load ptr, ptr %5, align 8 %23 = load i8, ptr %22, align 1 %24 = call i64 @isspace(i8 noundef signext %23) %25 = icmp ne i64 %24, 0 br label %26 26: ; preds = %21, %17 %27 = phi i1 [ false, %17 ], [ %25, %21 ] br i1 %27, label %28, label %31 28: ; preds = %26 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 -1 store ptr %30, ptr %5, align 8 br label %17, !llvm.loop !6 31: ; preds = %26 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 1 store i8 0, ptr %33, align 1 br label %34 34: ; preds = %46, %31 %35 = load ptr, ptr %3, align 8 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp ne i32 %37, 0 br i1 %38, label %39, label %44 39: ; preds = %34 %40 = load ptr, ptr %3, align 8 %41 = load i8, ptr %40, align 1 %42 = call i64 @isspace(i8 noundef signext %41) %43 = icmp ne i64 %42, 0 br label %44 44: ; preds = %39, %34 %45 = phi i1 [ false, %34 ], [ %43, %39 ] br i1 %45, label %46, label %49 46: ; preds = %44 %47 = load ptr, ptr %3, align 8 %48 = getelementptr inbounds i8, ptr %47, i32 1 store ptr %48, ptr %3, align 8 br label %34, !llvm.loop !8 49: ; preds = %44 %50 = load ptr, ptr %3, align 8 store ptr %50, ptr %2, align 8 br label %51 51: ; preds = %49, %10 %52 = load ptr, ptr %2, align 8 ret ptr %52 } declare i64 @strlen(ptr noundef) #1 declare i64 @isspace(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpke6dk9sq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strstrip(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i64 @strlen(ptr noundef %6) store i64 %7, ptr %4, align 8 %8 = load i64, ptr %4, align 8 %9 = icmp ne i64 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 store ptr %11, ptr %2, align 8 br label %51 12: ; preds = %1 %13 = load ptr, ptr %3, align 8 %14 = load i64, ptr %4, align 8 %15 = getelementptr inbounds i8, ptr %13, i64 %14 %16 = getelementptr inbounds i8, ptr %15, i64 -1 store ptr %16, ptr %5, align 8 br label %17 17: ; preds = %28, %12 %18 = load ptr, ptr %5, align 8 %19 = load ptr, ptr %3, align 8 %20 = icmp uge ptr %18, %19 br i1 %20, label %21, label %26 21: ; preds = %17 %22 = load ptr, ptr %5, align 8 %23 = load i8, ptr %22, align 1 %24 = call i64 @isspace(i8 noundef signext %23) %25 = icmp ne i64 %24, 0 br label %26 26: ; preds = %21, %17 %27 = phi i1 [ false, %17 ], [ %25, %21 ] br i1 %27, label %28, label %31 28: ; preds = %26 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 -1 store ptr %30, ptr %5, align 8 br label %17, !llvm.loop !6 31: ; preds = %26 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 1 store i8 0, ptr %33, align 1 br label %34 34: ; preds = %46, %31 %35 = load ptr, ptr %3, align 8 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp ne i32 %37, 0 br i1 %38, label %39, label %44 39: ; preds = %34 %40 = load ptr, ptr %3, align 8 %41 = load i8, ptr %40, align 1 %42 = call i64 @isspace(i8 noundef signext %41) %43 = icmp ne i64 %42, 0 br label %44 44: ; preds = %39, %34 %45 = phi i1 [ false, %34 ], [ %43, %39 ] br i1 %45, label %46, label %49 46: ; preds = %44 %47 = load ptr, ptr %3, align 8 %48 = getelementptr inbounds i8, ptr %47, i32 1 store ptr %48, ptr %3, align 8 br label %34, !llvm.loop !8 49: ; preds = %44 %50 = load ptr, ptr %3, align 8 store ptr %50, ptr %2, align 8 br label %51 51: ; preds = %49, %10 %52 = load ptr, ptr %2, align 8 ret ptr %52 } declare i64 @strlen(ptr noundef) #1 declare i64 @isspace(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpqacra86a.c' source_filename = "/tmp/tmpqacra86a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"!s\00", align 1 @.str.1 = private unnamed_addr constant [146 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/01org/processor-trace/refs/heads/master/pttc/src/yasm.c\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"end <= s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @make_label(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null %10 = xor i1 %9, true %11 = zext i1 %10 to i32 %12 = call i64 @do_bug_on(i32 noundef %11, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 379) %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %2 store i32 0, ptr %3, align 4 br label %53 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = load ptr, ptr %4, align 8 %18 = icmp ule ptr %16, %17 %19 = zext i1 %18 to i32 %20 = call i64 @do_bug_on(i32 noundef %19, ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 382) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %15 store i32 0, ptr %3, align 4 br label %53 23: ; preds = %15 %24 = load ptr, ptr %5, align 8 %25 = ptrtoint ptr %24 to i64 %26 = load ptr, ptr %4, align 8 %27 = ptrtoint ptr %26 to i64 %28 = sub i64 %25, %27 store i64 %28, ptr %7, align 8 %29 = load ptr, ptr %4, align 8 %30 = load i64, ptr %7, align 8 %31 = call i64 @strnlen(ptr noundef %29, i64 noundef %30) store i64 %31, ptr %6, align 8 %32 = load i64, ptr %7, align 8 %33 = load i64, ptr %6, align 8 %34 = icmp ule i64 %32, %33 br i1 %34, label %35, label %36 35: ; preds = %23 store i32 0, ptr %3, align 4 br label %53 36: ; preds = %23 %37 = load i64, ptr %6, align 8 %38 = icmp eq i64 %37, 0 br i1 %38, label %47, label %39 39: ; preds = %36 %40 = load ptr, ptr %4, align 8 %41 = load i64, ptr %6, align 8 %42 = sub i64 %41, 1 %43 = getelementptr inbounds i8, ptr %40, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp ne i32 %45, 58 br i1 %46, label %47, label %48 47: ; preds = %39, %36 store i32 0, ptr %3, align 4 br label %53 48: ; preds = %39 %49 = load ptr, ptr %4, align 8 %50 = load i64, ptr %6, align 8 %51 = sub i64 %50, 1 %52 = getelementptr inbounds i8, ptr %49, i64 %51 store i8 0, ptr %52, align 1 store i32 1, ptr %3, align 4 br label %53 53: ; preds = %48, %47, %35, %22, %14 %54 = load i32, ptr %3, align 4 ret i32 %54 } declare i64 @do_bug_on(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @strnlen(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqacra86a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"!s\00", align 1 @.str.1 = private unnamed_addr constant [146 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/01org/processor-trace/refs/heads/master/pttc/src/yasm.c\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"end <= s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @make_label(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null %10 = xor i1 %9, true %11 = zext i1 %10 to i32 %12 = call i64 @do_bug_on(i32 noundef %11, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 379) %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %2 store i32 0, ptr %3, align 4 br label %53 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = load ptr, ptr %4, align 8 %18 = icmp ule ptr %16, %17 %19 = zext i1 %18 to i32 %20 = call i64 @do_bug_on(i32 noundef %19, ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 382) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %15 store i32 0, ptr %3, align 4 br label %53 23: ; preds = %15 %24 = load ptr, ptr %5, align 8 %25 = ptrtoint ptr %24 to i64 %26 = load ptr, ptr %4, align 8 %27 = ptrtoint ptr %26 to i64 %28 = sub i64 %25, %27 store i64 %28, ptr %7, align 8 %29 = load ptr, ptr %4, align 8 %30 = load i64, ptr %7, align 8 %31 = call i64 @strnlen(ptr noundef %29, i64 noundef %30) store i64 %31, ptr %6, align 8 %32 = load i64, ptr %7, align 8 %33 = load i64, ptr %6, align 8 %34 = icmp ule i64 %32, %33 br i1 %34, label %35, label %36 35: ; preds = %23 store i32 0, ptr %3, align 4 br label %53 36: ; preds = %23 %37 = load i64, ptr %6, align 8 %38 = icmp eq i64 %37, 0 br i1 %38, label %47, label %39 39: ; preds = %36 %40 = load ptr, ptr %4, align 8 %41 = load i64, ptr %6, align 8 %42 = sub i64 %41, 1 %43 = getelementptr inbounds i8, ptr %40, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp ne i32 %45, 58 br i1 %46, label %47, label %48 47: ; preds = %39, %36 store i32 0, ptr %3, align 4 br label %53 48: ; preds = %39 %49 = load ptr, ptr %4, align 8 %50 = load i64, ptr %6, align 8 %51 = sub i64 %50, 1 %52 = getelementptr inbounds i8, ptr %49, i64 %51 store i8 0, ptr %52, align 1 store i32 1, ptr %3, align 4 br label %53 53: ; preds = %48, %47, %35, %22, %14 %54 = load i32, ptr %3, align 4 ret i32 %54 } declare i64 @do_bug_on(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @strnlen(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv6rzmeo8.c' source_filename = "/tmp/tmpv6rzmeo8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initialize_quaddobl_solution(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i32 @_ada_use_c2phc4c(i32 noundef 505, ptr noundef %2, ptr noundef %6, ptr noundef %7, i32 noundef 0) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv6rzmeo8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initialize_quaddobl_solution(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i32 @_ada_use_c2phc4c(i32 noundef 505, ptr noundef %2, ptr noundef %6, ptr noundef %7, i32 noundef 0) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqxjgakdl.c' source_filename = "/tmp/tmpqxjgakdl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"fail: %d != %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @assertEquals(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 = icmp ne i32 %5, %6 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %10) br label %12 12: ; preds = %8, %2 ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqxjgakdl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"fail: %d != %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @assertEquals(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 = icmp ne i32 %5, %6 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %10) br label %12 12: ; preds = %8, %2 ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4uzb06pg.c' source_filename = "/tmp/tmp4uzb06pg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"getaddr\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @btcmsg_craft_getaddr(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 @btcmsg_craft_msgheader(ptr noundef %3, ptr noundef @.str, ptr noundef null) ret i32 %4 } declare i32 @btcmsg_craft_msgheader(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/tmp4uzb06pg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"getaddr\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @btcmsg_craft_getaddr(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 @btcmsg_craft_msgheader(ptr noundef %3, ptr noundef @.str, ptr noundef null) ret i32 %4 } declare i32 @btcmsg_craft_msgheader(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/tmp1egd359s.c' source_filename = "/tmp/tmp1egd359s.c" target datalayout = "e-m:e-p270: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.arr = private unnamed_addr constant [7 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 3, i32 6], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [7 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.arr, i64 28, i1 false) %3 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0 %4 = call i32 @findDuplicate(ptr noundef %3, i32 noundef 7) %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef) #2 declare i32 @findDuplicate(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1egd359s.c" target datalayout = "e-m:e-p270: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.arr = private unnamed_addr constant [7 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 3, i32 6], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [7 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.arr, i64 28, i1 false) %3 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0 %4 = call i32 @findDuplicate(ptr noundef %3, i32 noundef 7) %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef) #2 declare i32 @findDuplicate(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwyoy84ik.c' source_filename = "/tmp/tmpwyoy84ik.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"0 - Negro 8 - Gris Oscuro\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"1 - Azul 9 - Azul Claro\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"2 - Verde A - Verde Claro\0A\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c"3 - Celeste B - Celeste Claro\0A\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"4 - Rojo C - Rojo Claro\0A\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c"5 - Violeta D - Rosa\0A\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"6 - Marron E - Amarillo\0A\00", align 1 @.str.7 = private unnamed_addr constant [28 x i8] c"7 - Gris Claro F - Blanco\0A\00", align 1 @.str.8 = private unnamed_addr constant [26 x i8] c"Elija un color de texto: \00", align 1 @.str.9 = private unnamed_addr constant [15 x i8] c"Input Errado!\0A\00", align 1 @.str.10 = private unnamed_addr constant [26 x i8] c"Elija un color de fondo: \00", align 1 @.str.11 = private unnamed_addr constant [31 x i8] c"El texto y el fondo tienen que\00", align 1 @.str.12 = private unnamed_addr constant [27 x i8] c" tener colores distintos!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @change_text_color() #0 { %1 = alloca i8, align 1 %2 = alloca [100 x i8], align 16 %3 = alloca i8, align 1 %4 = alloca i8, align 1 %5 = alloca i8, align 1 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 100, i1 false) store i8 0, ptr %3, align 1 store i8 0, ptr %4, align 1 store i8 0, ptr %5, align 1 %6 = call i32 @printString(ptr noundef @.str) %7 = call i32 @printString(ptr noundef @.str.1) %8 = call i32 @printString(ptr noundef @.str.2) %9 = call i32 @printString(ptr noundef @.str.3) %10 = call i32 @printString(ptr noundef @.str.4) %11 = call i32 @printString(ptr noundef @.str.5) %12 = call i32 @printString(ptr noundef @.str.6) %13 = call i32 @printString(ptr noundef @.str.7) %14 = call i32 @printString(ptr noundef @.str.8) %15 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %16 = call i32 @getString(ptr noundef %15, i32 noundef 100) %17 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %18 = load i8, ptr %17, align 16 store i8 %18, ptr %1, align 1 %19 = load i8, ptr %1, align 1 %20 = zext i8 %19 to i32 %21 = icmp sge i32 %20, 48 br i1 %21, label %22, label %38 22: ; preds = %0 %23 = load i8, ptr %1, align 1 %24 = zext i8 %23 to i32 %25 = icmp sle i32 %24, 57 br i1 %25, label %26, label %38 26: ; preds = %22 %27 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %28 = load i8, ptr %27, align 16 %29 = zext i8 %28 to i32 %30 = sub nsw i32 %29, 48 %31 = trunc i32 %30 to i8 store i8 %31, ptr %3, align 1 %32 = load i8, ptr %3, align 1 %33 = zext i8 %32 to i32 %34 = load i8, ptr %5, align 1 %35 = zext i8 %34 to i32 %36 = add nsw i32 %35, %33 %37 = trunc i32 %36 to i8 store i8 %37, ptr %5, align 1 br label %61 38: ; preds = %22, %0 %39 = load i8, ptr %1, align 1 %40 = zext i8 %39 to i32 %41 = icmp sge i32 %40, 65 br i1 %41, label %42, label %58 42: ; preds = %38 %43 = load i8, ptr %1, align 1 %44 = zext i8 %43 to i32 %45 = icmp sle i32 %44, 70 br i1 %45, label %46, label %58 46: ; preds = %42 %47 = load i8, ptr %1, align 1 %48 = zext i8 %47 to i32 %49 = sub nsw i32 %48, 65 %50 = add nsw i32 %49, 10 %51 = trunc i32 %50 to i8 store i8 %51, ptr %3, align 1 %52 = load i8, ptr %3, align 1 %53 = zext i8 %52 to i32 %54 = load i8, ptr %5, align 1 %55 = zext i8 %54 to i32 %56 = add nsw i32 %55, %53 %57 = trunc i32 %56 to i8 store i8 %57, ptr %5, align 1 br label %60 58: ; preds = %42, %38 %59 = call i32 @printString(ptr noundef @.str.9) br label %60 60: ; preds = %58, %46 br label %61 61: ; preds = %60, %26 %62 = call i32 @printString(ptr noundef @.str.10) %63 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %64 = call i32 @getString(ptr noundef %63, i32 noundef 100) %65 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %66 = load i8, ptr %65, align 16 store i8 %66, ptr %1, align 1 %67 = load i8, ptr %1, align 1 %68 = zext i8 %67 to i32 %69 = icmp sge i32 %68, 48 br i1 %69, label %70, label %86 70: ; preds = %61 %71 = load i8, ptr %1, align 1 %72 = zext i8 %71 to i32 %73 = icmp sle i32 %72, 57 br i1 %73, label %74, label %86 74: ; preds = %70 %75 = load i8, ptr %1, align 1 %76 = zext i8 %75 to i32 %77 = sub nsw i32 %76, 48 %78 = trunc i32 %77 to i8 store i8 %78, ptr %4, align 1 %79 = load i8, ptr %4, align 1 %80 = zext i8 %79 to i32 %81 = mul nsw i32 %80, 16 %82 = load i8, ptr %5, align 1 %83 = zext i8 %82 to i32 %84 = add nsw i32 %83, %81 %85 = trunc i32 %84 to i8 store i8 %85, ptr %5, align 1 br label %110 86: ; preds = %70, %61 %87 = load i8, ptr %1, align 1 %88 = zext i8 %87 to i32 %89 = icmp sge i32 %88, 65 br i1 %89, label %90, label %107 90: ; preds = %86 %91 = load i8, ptr %1, align 1 %92 = zext i8 %91 to i32 %93 = icmp sle i32 %92, 70 br i1 %93, label %94, label %107 94: ; preds = %90 %95 = load i8, ptr %1, align 1 %96 = zext i8 %95 to i32 %97 = sub nsw i32 %96, 65 %98 = add nsw i32 %97, 10 %99 = trunc i32 %98 to i8 store i8 %99, ptr %4, align 1 %100 = load i8, ptr %4, align 1 %101 = zext i8 %100 to i32 %102 = mul nsw i32 %101, 16 %103 = load i8, ptr %5, align 1 %104 = zext i8 %103 to i32 %105 = add nsw i32 %104, %102 %106 = trunc i32 %105 to i8 store i8 %106, ptr %5, align 1 br label %109 107: ; preds = %90, %86 %108 = call i32 @printString(ptr noundef @.str.9) br label %109 109: ; preds = %107, %94 br label %110 110: ; preds = %109, %74 %111 = load i8, ptr %3, align 1 %112 = zext i8 %111 to i32 %113 = load i8, ptr %4, align 1 %114 = zext i8 %113 to i32 %115 = icmp eq i32 %112, %114 br i1 %115, label %116, label %119 116: ; preds = %110 %117 = call i32 @printString(ptr noundef @.str.11) %118 = call i32 @printString(ptr noundef @.str.12) br label %131 119: ; preds = %110 %120 = load i8, ptr %3, align 1 %121 = zext i8 %120 to i32 %122 = load i8, ptr %4, align 1 %123 = zext i8 %122 to i32 %124 = icmp eq i32 %121, %123 br i1 %124, label %125, label %128 125: ; preds = %119 %126 = call i32 @printString(ptr noundef @.str.11) %127 = call i32 @printString(ptr noundef @.str.12) br label %131 128: ; preds = %119 %129 = load i8, ptr %5, align 1 %130 = call i32 @change_color(i8 noundef zeroext %129) br label %131 131: ; preds = %128, %125, %116 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @printString(ptr noundef) #2 declare i32 @getString(ptr noundef, i32 noundef) #2 declare i32 @change_color(i8 noundef zeroext) #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: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwyoy84ik.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"0 - Negro 8 - Gris Oscuro\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"1 - Azul 9 - Azul Claro\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"2 - Verde A - Verde Claro\0A\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c"3 - Celeste B - Celeste Claro\0A\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"4 - Rojo C - Rojo Claro\0A\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c"5 - Violeta D - Rosa\0A\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"6 - Marron E - Amarillo\0A\00", align 1 @.str.7 = private unnamed_addr constant [28 x i8] c"7 - Gris Claro F - Blanco\0A\00", align 1 @.str.8 = private unnamed_addr constant [26 x i8] c"Elija un color de texto: \00", align 1 @.str.9 = private unnamed_addr constant [15 x i8] c"Input Errado!\0A\00", align 1 @.str.10 = private unnamed_addr constant [26 x i8] c"Elija un color de fondo: \00", align 1 @.str.11 = private unnamed_addr constant [31 x i8] c"El texto y el fondo tienen que\00", align 1 @.str.12 = private unnamed_addr constant [27 x i8] c" tener colores distintos!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @change_text_color() #0 { %1 = alloca i8, align 1 %2 = alloca [100 x i8], align 16 %3 = alloca i8, align 1 %4 = alloca i8, align 1 %5 = alloca i8, align 1 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 100, i1 false) store i8 0, ptr %3, align 1 store i8 0, ptr %4, align 1 store i8 0, ptr %5, align 1 %6 = call i32 @printString(ptr noundef @.str) %7 = call i32 @printString(ptr noundef @.str.1) %8 = call i32 @printString(ptr noundef @.str.2) %9 = call i32 @printString(ptr noundef @.str.3) %10 = call i32 @printString(ptr noundef @.str.4) %11 = call i32 @printString(ptr noundef @.str.5) %12 = call i32 @printString(ptr noundef @.str.6) %13 = call i32 @printString(ptr noundef @.str.7) %14 = call i32 @printString(ptr noundef @.str.8) %15 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %16 = call i32 @getString(ptr noundef %15, i32 noundef 100) %17 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %18 = load i8, ptr %17, align 16 store i8 %18, ptr %1, align 1 %19 = load i8, ptr %1, align 1 %20 = zext i8 %19 to i32 %21 = icmp sge i32 %20, 48 br i1 %21, label %22, label %38 22: ; preds = %0 %23 = load i8, ptr %1, align 1 %24 = zext i8 %23 to i32 %25 = icmp sle i32 %24, 57 br i1 %25, label %26, label %38 26: ; preds = %22 %27 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %28 = load i8, ptr %27, align 16 %29 = zext i8 %28 to i32 %30 = sub nsw i32 %29, 48 %31 = trunc i32 %30 to i8 store i8 %31, ptr %3, align 1 %32 = load i8, ptr %3, align 1 %33 = zext i8 %32 to i32 %34 = load i8, ptr %5, align 1 %35 = zext i8 %34 to i32 %36 = add nsw i32 %35, %33 %37 = trunc i32 %36 to i8 store i8 %37, ptr %5, align 1 br label %61 38: ; preds = %22, %0 %39 = load i8, ptr %1, align 1 %40 = zext i8 %39 to i32 %41 = icmp sge i32 %40, 65 br i1 %41, label %42, label %58 42: ; preds = %38 %43 = load i8, ptr %1, align 1 %44 = zext i8 %43 to i32 %45 = icmp sle i32 %44, 70 br i1 %45, label %46, label %58 46: ; preds = %42 %47 = load i8, ptr %1, align 1 %48 = zext i8 %47 to i32 %49 = sub nsw i32 %48, 65 %50 = add nsw i32 %49, 10 %51 = trunc i32 %50 to i8 store i8 %51, ptr %3, align 1 %52 = load i8, ptr %3, align 1 %53 = zext i8 %52 to i32 %54 = load i8, ptr %5, align 1 %55 = zext i8 %54 to i32 %56 = add nsw i32 %55, %53 %57 = trunc i32 %56 to i8 store i8 %57, ptr %5, align 1 br label %60 58: ; preds = %42, %38 %59 = call i32 @printString(ptr noundef @.str.9) br label %60 60: ; preds = %58, %46 br label %61 61: ; preds = %60, %26 %62 = call i32 @printString(ptr noundef @.str.10) %63 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %64 = call i32 @getString(ptr noundef %63, i32 noundef 100) %65 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %66 = load i8, ptr %65, align 16 store i8 %66, ptr %1, align 1 %67 = load i8, ptr %1, align 1 %68 = zext i8 %67 to i32 %69 = icmp sge i32 %68, 48 br i1 %69, label %70, label %86 70: ; preds = %61 %71 = load i8, ptr %1, align 1 %72 = zext i8 %71 to i32 %73 = icmp sle i32 %72, 57 br i1 %73, label %74, label %86 74: ; preds = %70 %75 = load i8, ptr %1, align 1 %76 = zext i8 %75 to i32 %77 = sub nsw i32 %76, 48 %78 = trunc i32 %77 to i8 store i8 %78, ptr %4, align 1 %79 = load i8, ptr %4, align 1 %80 = zext i8 %79 to i32 %81 = mul nsw i32 %80, 16 %82 = load i8, ptr %5, align 1 %83 = zext i8 %82 to i32 %84 = add nsw i32 %83, %81 %85 = trunc i32 %84 to i8 store i8 %85, ptr %5, align 1 br label %110 86: ; preds = %70, %61 %87 = load i8, ptr %1, align 1 %88 = zext i8 %87 to i32 %89 = icmp sge i32 %88, 65 br i1 %89, label %90, label %107 90: ; preds = %86 %91 = load i8, ptr %1, align 1 %92 = zext i8 %91 to i32 %93 = icmp sle i32 %92, 70 br i1 %93, label %94, label %107 94: ; preds = %90 %95 = load i8, ptr %1, align 1 %96 = zext i8 %95 to i32 %97 = sub nsw i32 %96, 65 %98 = add nsw i32 %97, 10 %99 = trunc i32 %98 to i8 store i8 %99, ptr %4, align 1 %100 = load i8, ptr %4, align 1 %101 = zext i8 %100 to i32 %102 = mul nsw i32 %101, 16 %103 = load i8, ptr %5, align 1 %104 = zext i8 %103 to i32 %105 = add nsw i32 %104, %102 %106 = trunc i32 %105 to i8 store i8 %106, ptr %5, align 1 br label %109 107: ; preds = %90, %86 %108 = call i32 @printString(ptr noundef @.str.9) br label %109 109: ; preds = %107, %94 br label %110 110: ; preds = %109, %74 %111 = load i8, ptr %3, align 1 %112 = zext i8 %111 to i32 %113 = load i8, ptr %4, align 1 %114 = zext i8 %113 to i32 %115 = icmp eq i32 %112, %114 br i1 %115, label %116, label %119 116: ; preds = %110 %117 = call i32 @printString(ptr noundef @.str.11) %118 = call i32 @printString(ptr noundef @.str.12) br label %131 119: ; preds = %110 %120 = load i8, ptr %3, align 1 %121 = zext i8 %120 to i32 %122 = load i8, ptr %4, align 1 %123 = zext i8 %122 to i32 %124 = icmp eq i32 %121, %123 br i1 %124, label %125, label %128 125: ; preds = %119 %126 = call i32 @printString(ptr noundef @.str.11) %127 = call i32 @printString(ptr noundef @.str.12) br label %131 128: ; preds = %119 %129 = load i8, ptr %5, align 1 %130 = call i32 @change_color(i8 noundef zeroext %129) br label %131 131: ; preds = %128, %125, %116 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @printString(ptr noundef) #2 declare i32 @getString(ptr noundef, i32 noundef) #2 declare i32 @change_color(i8 noundef zeroext) #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: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5yg02aeg.c' source_filename = "/tmp/tmp5yg02aeg.c" target datalayout = "e-m:e-p270: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/tmp5yg02aeg.c" target datalayout = "e-m:e-p270: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/tmpo6i1uszy.c' source_filename = "/tmp/tmpo6i1uszy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Enter the operation of your choice:\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"a. add\09\09s. subtract\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"m. multiply\09d. divide\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"q. quit\0A\00", align 1 @.str.4 = private unnamed_addr constant [38 x i8] c"Please respond with a, s, m, d, or q\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_choice() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %3, align 4 %4 = call i32 @printf(ptr noundef @.str) %5 = call i32 @printf(ptr noundef @.str.1) %6 = call i32 @printf(ptr noundef @.str.2) %7 = call i32 @printf(ptr noundef @.str.3) br label %8 8: ; preds = %26, %0 %9 = call signext i8 (...) @getchar() %10 = sext i8 %9 to i32 store i32 %10, ptr %2, align 4 br label %11 11: ; preds = %15, %8 %12 = call signext i8 (...) @getchar() %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 10 br i1 %14, label %15, label %16 15: ; preds = %11 br label %11, !llvm.loop !6 16: ; preds = %11 %17 = load i32, ptr %2, align 4 switch i32 %17, label %23 [ i32 97, label %18 i32 115, label %19 i32 109, label %20 i32 100, label %21 i32 113, label %22 ] 18: ; preds = %16 store i32 1, ptr %1, align 4 br label %30 19: ; preds = %16 store i32 2, ptr %1, align 4 br label %30 20: ; preds = %16 store i32 3, ptr %1, align 4 br label %30 21: ; preds = %16 store i32 4, ptr %1, align 4 br label %30 22: ; preds = %16 store i32 0, ptr %1, align 4 br label %30 23: ; preds = %16 %24 = call i32 @printf(ptr noundef @.str.4) store i32 1, ptr %3, align 4 br label %25 25: ; preds = %23 br label %26 26: ; preds = %25 %27 = load i32, ptr %3, align 4 %28 = icmp ne i32 %27, 0 br i1 %28, label %8, label %29, !llvm.loop !8 29: ; preds = %26 store i32 -1, ptr %1, align 4 br label %30 30: ; preds = %29, %22, %21, %20, %19, %18 %31 = load i32, ptr %1, align 4 ret i32 %31 } declare i32 @printf(ptr noundef) #1 declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpo6i1uszy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Enter the operation of your choice:\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"a. add\09\09s. subtract\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"m. multiply\09d. divide\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"q. quit\0A\00", align 1 @.str.4 = private unnamed_addr constant [38 x i8] c"Please respond with a, s, m, d, or q\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_choice() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %3, align 4 %4 = call i32 @printf(ptr noundef @.str) %5 = call i32 @printf(ptr noundef @.str.1) %6 = call i32 @printf(ptr noundef @.str.2) %7 = call i32 @printf(ptr noundef @.str.3) br label %8 8: ; preds = %25, %0 %9 = call signext i8 (...) @getchar() %10 = sext i8 %9 to i32 store i32 %10, ptr %2, align 4 br label %11 11: ; preds = %11, %8 %12 = call signext i8 (...) @getchar() %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 10 br i1 %14, label %11, label %15, !llvm.loop !6 15: ; preds = %11 %16 = load i32, ptr %2, align 4 switch i32 %16, label %22 [ i32 97, label %17 i32 115, label %18 i32 109, label %19 i32 100, label %20 i32 113, label %21 ] 17: ; preds = %15 store i32 1, ptr %1, align 4 br label %29 18: ; preds = %15 store i32 2, ptr %1, align 4 br label %29 19: ; preds = %15 store i32 3, ptr %1, align 4 br label %29 20: ; preds = %15 store i32 4, ptr %1, align 4 br label %29 21: ; preds = %15 store i32 0, ptr %1, align 4 br label %29 22: ; preds = %15 %23 = call i32 @printf(ptr noundef @.str.4) store i32 1, ptr %3, align 4 br label %24 24: ; preds = %22 br label %25 25: ; preds = %24 %26 = load i32, ptr %3, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %8, label %28, !llvm.loop !8 28: ; preds = %25 store i32 -1, ptr %1, align 4 br label %29 29: ; preds = %28, %21, %20, %19, %18, %17 %30 = load i32, ptr %1, align 4 ret i32 %30 } declare i32 @printf(ptr noundef) #1 declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpibiw2jeo.c' source_filename = "/tmp/tmpibiw2jeo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @heap_sort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 @build_max_heap(ptr noundef %6, i32 noundef %7) %9 = load i32, ptr %4, align 4 %10 = sub nsw i32 %9, 1 store i32 %10, ptr %5, align 4 br label %11 11: ; preds = %25, %2 %12 = load i32, ptr %5, align 4 %13 = icmp sgt i32 %12, 0 br i1 %13, label %14, label %28 14: ; preds = %11 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds i32, ptr %15, i64 0 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = call i32 @swap(ptr noundef %16, ptr noundef %20) %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %5, align 4 %24 = call i32 @max_heapify(ptr noundef %22, i32 noundef %23, i32 noundef 0) br label %25 25: ; preds = %14 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, -1 store i32 %27, ptr %5, align 4 br label %11, !llvm.loop !6 28: ; preds = %11 ret void } declare i32 @build_max_heap(ptr noundef, i32 noundef) #1 declare i32 @swap(ptr noundef, ptr noundef) #1 declare i32 @max_heapify(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpibiw2jeo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @heap_sort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 @build_max_heap(ptr noundef %6, i32 noundef %7) %9 = load i32, ptr %4, align 4 %10 = sub nsw i32 %9, 1 store i32 %10, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp sgt i32 %11, 0 br i1 %12, label %.lr.ph, label %29 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %24 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i32, ptr %14, i64 0 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 %20 = call i32 @swap(ptr noundef %15, ptr noundef %19) %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr %5, align 4 %23 = call i32 @max_heapify(ptr noundef %21, i32 noundef %22, i32 noundef 0) br label %24 24: ; preds = %13 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, -1 store i32 %26, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = icmp sgt i32 %27, 0 br i1 %28, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %29 29: ; preds = %._crit_edge, %2 ret void } declare i32 @build_max_heap(ptr noundef, i32 noundef) #1 declare i32 @swap(ptr noundef, ptr noundef) #1 declare i32 @max_heapify(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbkdjohss.c' source_filename = "/tmp/tmpbkdjohss.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"(le(i,j,k,n),le(i,j,k,n))\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %9, %0 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %1, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %9, label %15 9: ; preds = %5 %10 = call i32 @tmpl(ptr noundef @.str) %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, 2 store i32 %14, ptr %3, align 4 br label %5, !llvm.loop !6 15: ; preds = %5 store i32 0, ptr %4, align 4 br label %16 16: ; preds = %26, %15 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %1, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %31 20: ; preds = %16 %21 = call i32 @tmpl(ptr noundef @.str) %22 = load i32, ptr %3, align 4 %23 = icmp sle i32 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %20 br label %25 25: ; preds = %24 br label %26 26: ; preds = %25, %20 %27 = load i32, ptr %4, align 4 %28 = add nsw i32 %27, 2 store i32 %28, ptr %4, align 4 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, -1 store i32 %30, ptr %3, align 4 br label %16, !llvm.loop !8 31: ; preds = %16 ret void } declare i32 @tmpl(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpbkdjohss.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"(le(i,j,k,n),le(i,j,k,n))\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %1, align 4 %7 = icmp slt i32 %5, %6 br i1 %7, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %8 %9 = call i32 @tmpl(ptr noundef @.str) %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, 2 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %1, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %17 17: ; preds = %._crit_edge, %0 store i32 0, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %1, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph2, label %35 .lr.ph2: ; preds = %17 br label %21 21: ; preds = %.lr.ph2, %27 %22 = call i32 @tmpl(ptr noundef @.str) %23 = load i32, ptr %3, align 4 %24 = icmp sle i32 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %21 br label %26 26: ; preds = %25 br label %27 27: ; preds = %26, %21 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, 2 store i32 %29, ptr %4, align 4 %30 = load i32, ptr %3, align 4 %31 = add nsw i32 %30, -1 store i32 %31, ptr %3, align 4 %32 = load i32, ptr %4, align 4 %33 = load i32, ptr %1, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %21, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %27 br label %35 35: ; preds = %._crit_edge3, %17 ret void } declare i32 @tmpl(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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}