llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpwwxnky_l.c' source_filename = "/tmp/tmpwwxnky_l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"/dev/zero\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [65 x i8] c"Cannot open /dev/zero for READ+WRITE. Check permissions! error: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @mmap_anon(ptr noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i64 %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 %14 = load i32, ptr @O_RDWR, align 4 %15 = call i32 @open(ptr noundef @.str, i32 noundef %14) store i32 %15, ptr %13, align 4 %16 = load i32, ptr %13, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %5 %19 = call i32 @perror(ptr noundef @.str.1) store ptr null, ptr %6, align 8 br label %31 20: ; preds = %5 %21 = load ptr, ptr %7, align 8 %22 = load i64, ptr %8, align 8 %23 = load i32, ptr %9, align 4 %24 = load i32, ptr %10, align 4 %25 = load i32, ptr %13, align 4 %26 = load i32, ptr %11, align 4 %27 = call ptr @mmap(ptr noundef %21, i64 noundef %22, i32 noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26) store ptr %27, ptr %12, align 8 %28 = load i32, ptr %13, align 4 %29 = call i32 @close(i32 noundef %28) %30 = load ptr, ptr %12, align 8 store ptr %30, ptr %6, align 8 br label %31 31: ; preds = %20, %18 %32 = load ptr, ptr %6, align 8 ret ptr %32 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwwxnky_l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"/dev/zero\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [65 x i8] c"Cannot open /dev/zero for READ+WRITE. Check permissions! error: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @mmap_anon(ptr noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i64 %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 %14 = load i32, ptr @O_RDWR, align 4 %15 = call i32 @open(ptr noundef @.str, i32 noundef %14) store i32 %15, ptr %13, align 4 %16 = load i32, ptr %13, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %5 %19 = call i32 @perror(ptr noundef @.str.1) store ptr null, ptr %6, align 8 br label %31 20: ; preds = %5 %21 = load ptr, ptr %7, align 8 %22 = load i64, ptr %8, align 8 %23 = load i32, ptr %9, align 4 %24 = load i32, ptr %10, align 4 %25 = load i32, ptr %13, align 4 %26 = load i32, ptr %11, align 4 %27 = call ptr @mmap(ptr noundef %21, i64 noundef %22, i32 noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26) store ptr %27, ptr %12, align 8 %28 = load i32, ptr %13, align 4 %29 = call i32 @close(i32 noundef %28) %30 = load ptr, ptr %12, align 8 store ptr %30, ptr %6, align 8 br label %31 31: ; preds = %20, %18 %32 = load ptr, ptr %6, align 8 ret ptr %32 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3_7vpi53.c' source_filename = "/tmp/tmp3_7vpi53.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ungets(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) %6 = sub nsw i32 %5, 1 store i32 %6, ptr %3, align 4 br label %7 7: ; preds = %17, %1 %8 = load i32, ptr %3, align 4 %9 = icmp sge i32 %8, 0 br i1 %9, label %10, label %20 10: ; preds = %7 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = call i32 @ungetch(i8 noundef signext %15) br label %17 17: ; preds = %10 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, -1 store i32 %19, ptr %3, align 4 br label %7, !llvm.loop !6 20: ; preds = %7 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @ungetch(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3_7vpi53.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ungets(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) %6 = sub nsw i32 %5, 1 store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp sge i32 %7, 0 br i1 %8, label %.lr.ph, label %21 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %16 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = call i32 @ungetch(i8 noundef signext %14) br label %16 16: ; preds = %9 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, -1 store i32 %18, ptr %3, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp sge i32 %19, 0 br i1 %20, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %1 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @ungetch(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp3ekm02mj.c' source_filename = "/tmp/tmp3ekm02mj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @or_m32_reg32(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 = call i32 @put8(i32 noundef 9) %6 = load i32, ptr %4, align 4 %7 = shl i32 %6, 3 %8 = or i32 %7, 5 %9 = call i32 @put8(i32 noundef %8) %10 = load ptr, ptr %3, align 8 %11 = ptrtoint ptr %10 to i32 %12 = call i32 @put32(i32 noundef %11) ret void } declare i32 @put8(i32 noundef) #1 declare i32 @put32(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/tmp3ekm02mj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @or_m32_reg32(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 = call i32 @put8(i32 noundef 9) %6 = load i32, ptr %4, align 4 %7 = shl i32 %6, 3 %8 = or i32 %7, 5 %9 = call i32 @put8(i32 noundef %8) %10 = load ptr, ptr %3, align 8 %11 = ptrtoint ptr %10 to i32 %12 = call i32 @put32(i32 noundef %11) ret void } declare i32 @put8(i32 noundef) #1 declare i32 @put32(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/tmp4diz32hc.c' source_filename = "/tmp/tmp4diz32hc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%c%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @satid2no(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %7, ptr noundef @.str, ptr noundef %5) %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %38 10: ; preds = %1 %11 = load i32, ptr %5, align 4 %12 = icmp sle i32 1, %11 br i1 %12, label %13, label %17 13: ; preds = %10 %14 = load i32, ptr %5, align 4 %15 = icmp sle i32 %14, 32 br i1 %15, label %16, label %17 16: ; preds = %13 store i32 1, ptr %4, align 4 br label %34 17: ; preds = %13, %10 %18 = load i32, ptr %5, align 4 %19 = icmp sle i32 120, %18 br i1 %19, label %20, label %24 20: ; preds = %17 %21 = load i32, ptr %5, align 4 %22 = icmp sle i32 %21, 142 br i1 %22, label %23, label %24 23: ; preds = %20 store i32 2, ptr %4, align 4 br label %33 24: ; preds = %20, %17 %25 = load i32, ptr %5, align 4 %26 = icmp sle i32 0, %25 br i1 %26, label %27, label %31 27: ; preds = %24 %28 = load i32, ptr %5, align 4 %29 = icmp sle i32 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %27 store i32 16, ptr %4, align 4 br label %32 31: ; preds = %27, %24 store i32 0, ptr %2, align 4 br label %72 32: ; preds = %30 br label %33 33: ; preds = %32, %23 br label %34 34: ; preds = %33, %16 %35 = load i32, ptr %4, align 4 %36 = load i32, ptr %5, align 4 %37 = call i32 @satno(i32 noundef %35, i32 noundef %36) store i32 %37, ptr %2, align 4 br label %72 38: ; preds = %1 %39 = load ptr, ptr %3, align 8 %40 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %39, ptr noundef @.str.1, ptr noundef %6, ptr noundef %5) %41 = icmp slt i32 %40, 2 br i1 %41, label %42, label %43 42: ; preds = %38 store i32 0, ptr %2, align 4 br label %72 43: ; preds = %38 %44 = load i8, ptr %6, align 1 %45 = sext i8 %44 to i32 switch i32 %45, label %67 [ i32 71, label %46 i32 82, label %49 i32 69, label %52 i32 74, label %55 i32 67, label %58 i32 76, label %61 i32 83, label %64 ] 46: ; preds = %43 store i32 1, ptr %4, align 4 %47 = load i32, ptr %5, align 4 %48 = add nsw i32 %47, 0 store i32 %48, ptr %5, align 4 br label %68 49: ; preds = %43 store i32 4, ptr %4, align 4 %50 = load i32, ptr %5, align 4 %51 = add nsw i32 %50, 0 store i32 %51, ptr %5, align 4 br label %68 52: ; preds = %43 store i32 8, ptr %4, align 4 %53 = load i32, ptr %5, align 4 %54 = add nsw i32 %53, -1 store i32 %54, ptr %5, align 4 br label %68 55: ; preds = %43 store i32 16, ptr %4, align 4 %56 = load i32, ptr %5, align 4 %57 = add nsw i32 %56, -1 store i32 %57, ptr %5, align 4 br label %68 58: ; preds = %43 store i32 32, ptr %4, align 4 %59 = load i32, ptr %5, align 4 %60 = add nsw i32 %59, 0 store i32 %60, ptr %5, align 4 br label %68 61: ; preds = %43 store i32 64, ptr %4, align 4 %62 = load i32, ptr %5, align 4 %63 = add nsw i32 %62, -1 store i32 %63, ptr %5, align 4 br label %68 64: ; preds = %43 store i32 2, ptr %4, align 4 %65 = load i32, ptr %5, align 4 %66 = add nsw i32 %65, 100 store i32 %66, ptr %5, align 4 br label %68 67: ; preds = %43 store i32 0, ptr %2, align 4 br label %72 68: ; preds = %64, %61, %58, %55, %52, %49, %46 %69 = load i32, ptr %4, align 4 %70 = load i32, ptr %5, align 4 %71 = call i32 @satno(i32 noundef %69, i32 noundef %70) store i32 %71, ptr %2, align 4 br label %72 72: ; preds = %68, %67, %42, %34, %31 %73 = load i32, ptr %2, align 4 ret i32 %73 } declare i32 @sscanf(ptr noundef, ptr noundef, ...) #1 declare i32 @satno(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/tmp4diz32hc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%c%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @satid2no(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %7, ptr noundef @.str, ptr noundef %5) %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %38 10: ; preds = %1 %11 = load i32, ptr %5, align 4 %12 = icmp sle i32 1, %11 br i1 %12, label %13, label %17 13: ; preds = %10 %14 = load i32, ptr %5, align 4 %15 = icmp sle i32 %14, 32 br i1 %15, label %16, label %17 16: ; preds = %13 store i32 1, ptr %4, align 4 br label %34 17: ; preds = %13, %10 %18 = load i32, ptr %5, align 4 %19 = icmp sle i32 120, %18 br i1 %19, label %20, label %24 20: ; preds = %17 %21 = load i32, ptr %5, align 4 %22 = icmp sle i32 %21, 142 br i1 %22, label %23, label %24 23: ; preds = %20 store i32 2, ptr %4, align 4 br label %33 24: ; preds = %20, %17 %25 = load i32, ptr %5, align 4 %26 = icmp sle i32 0, %25 br i1 %26, label %27, label %31 27: ; preds = %24 %28 = load i32, ptr %5, align 4 %29 = icmp sle i32 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %27 store i32 16, ptr %4, align 4 br label %32 31: ; preds = %27, %24 store i32 0, ptr %2, align 4 br label %72 32: ; preds = %30 br label %33 33: ; preds = %32, %23 br label %34 34: ; preds = %33, %16 %35 = load i32, ptr %4, align 4 %36 = load i32, ptr %5, align 4 %37 = call i32 @satno(i32 noundef %35, i32 noundef %36) store i32 %37, ptr %2, align 4 br label %72 38: ; preds = %1 %39 = load ptr, ptr %3, align 8 %40 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %39, ptr noundef @.str.1, ptr noundef %6, ptr noundef %5) %41 = icmp slt i32 %40, 2 br i1 %41, label %42, label %43 42: ; preds = %38 store i32 0, ptr %2, align 4 br label %72 43: ; preds = %38 %44 = load i8, ptr %6, align 1 %45 = sext i8 %44 to i32 switch i32 %45, label %67 [ i32 71, label %46 i32 82, label %49 i32 69, label %52 i32 74, label %55 i32 67, label %58 i32 76, label %61 i32 83, label %64 ] 46: ; preds = %43 store i32 1, ptr %4, align 4 %47 = load i32, ptr %5, align 4 %48 = add nsw i32 %47, 0 store i32 %48, ptr %5, align 4 br label %68 49: ; preds = %43 store i32 4, ptr %4, align 4 %50 = load i32, ptr %5, align 4 %51 = add nsw i32 %50, 0 store i32 %51, ptr %5, align 4 br label %68 52: ; preds = %43 store i32 8, ptr %4, align 4 %53 = load i32, ptr %5, align 4 %54 = add nsw i32 %53, -1 store i32 %54, ptr %5, align 4 br label %68 55: ; preds = %43 store i32 16, ptr %4, align 4 %56 = load i32, ptr %5, align 4 %57 = add nsw i32 %56, -1 store i32 %57, ptr %5, align 4 br label %68 58: ; preds = %43 store i32 32, ptr %4, align 4 %59 = load i32, ptr %5, align 4 %60 = add nsw i32 %59, 0 store i32 %60, ptr %5, align 4 br label %68 61: ; preds = %43 store i32 64, ptr %4, align 4 %62 = load i32, ptr %5, align 4 %63 = add nsw i32 %62, -1 store i32 %63, ptr %5, align 4 br label %68 64: ; preds = %43 store i32 2, ptr %4, align 4 %65 = load i32, ptr %5, align 4 %66 = add nsw i32 %65, 100 store i32 %66, ptr %5, align 4 br label %68 67: ; preds = %43 store i32 0, ptr %2, align 4 br label %72 68: ; preds = %64, %61, %58, %55, %52, %49, %46 %69 = load i32, ptr %4, align 4 %70 = load i32, ptr %5, align 4 %71 = call i32 @satno(i32 noundef %69, i32 noundef %70) store i32 %71, ptr %2, align 4 br label %72 72: ; preds = %68, %67, %42, %34, %31 %73 = load i32, ptr %2, align 4 ret i32 %73 } declare i32 @sscanf(ptr noundef, ptr noundef, ...) #1 declare i32 @satno(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/tmpkrtkh0bd.c' source_filename = "/tmp/tmpkrtkh0bd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sumString(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %4, align 4 store i64 0, ptr %5, align 8 store i32 0, ptr %3, align 4 br label %8 8: ; preds = %21, %1 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %24 12: ; preds = %8 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i64 %19 = load i64, ptr %5, align 8 %20 = add i64 %19, %18 store i64 %20, ptr %5, align 8 br label %21 21: ; preds = %12 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %3, align 4 br label %8, !llvm.loop !6 24: ; preds = %8 %25 = load i64, ptr %5, align 8 ret i64 %25 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkrtkh0bd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sumString(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %4, align 4 store i64 0, ptr %5, align 8 store i32 0, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %26 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %20 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i64 %18 = load i64, ptr %5, align 8 %19 = add i64 %18, %17 store i64 %19, ptr %5, align 8 br label %20 20: ; preds = %11 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %3, align 4 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %26 26: ; preds = %._crit_edge, %1 %27 = load i64, ptr %5, align 8 ret i64 %27 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpo0sfng72.c' source_filename = "/tmp/tmpo0sfng72.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a = %d, b = %d, c = %d\0A\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 store i32 1, ptr %1, align 4 store i32 2, ptr %2, align 4 store i32 3, ptr %3, align 4 %4 = call i32 @decode(ptr noundef %1, ptr noundef %2, ptr noundef %3) %5 = load i32, ptr %1, align 4 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %3, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6, i32 noundef %7) ret void } declare i32 @decode(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo0sfng72.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a = %d, b = %d, c = %d\0A\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 store i32 1, ptr %1, align 4 store i32 2, ptr %2, align 4 store i32 3, ptr %3, align 4 %4 = call i32 @decode(ptr noundef %1, ptr noundef %2, ptr noundef %3) %5 = load i32, ptr %1, align 4 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %3, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6, i32 noundef %7) ret void } declare i32 @decode(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpul67u_if.c' source_filename = "/tmp/tmpul67u_if.c" target datalayout = "e-m:e-p270: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.ether_addr = type { ptr } @ETH_ALEN = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"%02X:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @snprintfMacAdress(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %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 i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store ptr null, ptr %7, align 8 %10 = load ptr, ptr %4, align 8 store ptr %10, ptr %7, align 8 store i32 0, ptr %8, align 4 br label %11 11: ; preds = %35, %3 %12 = load i32, ptr %8, align 4 %13 = load i32, ptr @ETH_ALEN, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %38 15: ; preds = %11 %16 = load ptr, ptr %7, align 8 %17 = load i64, ptr %5, align 8 %18 = load ptr, ptr %7, align 8 %19 = load ptr, ptr %4, align 8 %20 = ptrtoint ptr %18 to i64 %21 = ptrtoint ptr %19 to i64 %22 = sub i64 %20, %21 %23 = sub i64 %17, %22 %24 = load ptr, ptr %6, align 8 %25 = getelementptr inbounds %struct.ether_addr, ptr %24, i32 0, i32 0 %26 = load ptr, ptr %25, align 8 %27 = load i32, ptr %8, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %26, i64 %28 %30 = load i32, ptr %29, align 4 %31 = call i32 @snprintf(ptr noundef %16, i64 noundef %23, ptr noundef @.str, i32 noundef %30) %32 = load ptr, ptr %7, align 8 %33 = sext i32 %31 to i64 %34 = getelementptr inbounds i8, ptr %32, i64 %33 store ptr %34, ptr %7, align 8 br label %35 35: ; preds = %15 %36 = load i32, ptr %8, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %8, align 4 br label %11, !llvm.loop !6 38: ; preds = %11 %39 = load ptr, ptr %7, align 8 %40 = load ptr, ptr %4, align 8 %41 = ptrtoint ptr %39 to i64 %42 = ptrtoint ptr %40 to i64 %43 = sub i64 %41, %42 %44 = icmp sgt i64 %43, 0 br i1 %44, label %45, label %49 45: ; preds = %38 %46 = load ptr, ptr %7, align 8 %47 = getelementptr inbounds i8, ptr %46, i32 -1 store ptr %47, ptr %7, align 8 %48 = load ptr, ptr %7, align 8 store i8 0, ptr %48, align 1 br label %49 49: ; preds = %45, %38 %50 = load ptr, ptr %4, align 8 %51 = call i32 @strlen(ptr noundef %50) store i32 %51, ptr %9, align 4 %52 = load i32, ptr %9, align 4 ret i32 %52 } declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpul67u_if.c" target datalayout = "e-m:e-p270: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.ether_addr = type { ptr } @ETH_ALEN = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"%02X:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @snprintfMacAdress(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %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 i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store ptr null, ptr %7, align 8 %10 = load ptr, ptr %4, align 8 store ptr %10, ptr %7, align 8 store i32 0, ptr %8, align 4 %11 = load i32, ptr %8, align 4 %12 = load i32, ptr @ETH_ALEN, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %40 .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %34 %15 = load ptr, ptr %7, align 8 %16 = load i64, ptr %5, align 8 %17 = load ptr, ptr %7, align 8 %18 = load ptr, ptr %4, align 8 %19 = ptrtoint ptr %17 to i64 %20 = ptrtoint ptr %18 to i64 %21 = sub i64 %19, %20 %22 = sub i64 %16, %21 %23 = load ptr, ptr %6, align 8 %24 = getelementptr inbounds %struct.ether_addr, ptr %23, i32 0, i32 0 %25 = load ptr, ptr %24, align 8 %26 = load i32, ptr %8, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %25, i64 %27 %29 = load i32, ptr %28, align 4 %30 = call i32 @snprintf(ptr noundef %15, i64 noundef %22, ptr noundef @.str, i32 noundef %29) %31 = load ptr, ptr %7, align 8 %32 = sext i32 %30 to i64 %33 = getelementptr inbounds i8, ptr %31, i64 %32 store ptr %33, ptr %7, align 8 br label %34 34: ; preds = %14 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 %37 = load i32, ptr %8, align 4 %38 = load i32, ptr @ETH_ALEN, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %40 40: ; preds = %._crit_edge, %3 %41 = load ptr, ptr %7, align 8 %42 = load ptr, ptr %4, align 8 %43 = ptrtoint ptr %41 to i64 %44 = ptrtoint ptr %42 to i64 %45 = sub i64 %43, %44 %46 = icmp sgt i64 %45, 0 br i1 %46, label %47, label %51 47: ; preds = %40 %48 = load ptr, ptr %7, align 8 %49 = getelementptr inbounds i8, ptr %48, i32 -1 store ptr %49, ptr %7, align 8 %50 = load ptr, ptr %7, align 8 store i8 0, ptr %50, align 1 br label %51 51: ; preds = %47, %40 %52 = load ptr, ptr %4, align 8 %53 = call i32 @strlen(ptr noundef %52) store i32 %53, ptr %9, align 4 %54 = load i32, ptr %9, align 4 ret i32 %54 } declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmptt1qcvlp.c' source_filename = "/tmp/tmptt1qcvlp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"P6 %d %d 255\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 1024, ptr %6, align 8 store i64 1024, ptr %7, align 8 %13 = call ptr @malloc(i64 noundef 3145728) store ptr %13, ptr %10, align 8 %14 = call i32 @printf(ptr noundef @.str, i64 noundef 1024, i64 noundef 1024) %15 = call i32 @fflush(ptr noundef null) store i64 0, ptr %8, align 8 br label %16 16: ; preds = %55, %2 %17 = load i64, ptr %8, align 8 %18 = icmp slt i64 %17, 1024 br i1 %18, label %19, label %58 19: ; preds = %16 store i64 0, ptr %9, align 8 br label %20 20: ; preds = %51, %19 %21 = load i64, ptr %9, align 8 %22 = icmp slt i64 %21, 1024 br i1 %22, label %23, label %54 23: ; preds = %20 %24 = call i64 @int_to_fix(i32 noundef -2) %25 = load i64, ptr %9, align 8 %26 = call i64 @int_to_fix(i32 noundef 4) %27 = sdiv i64 %26, 1024 %28 = mul nsw i64 %25, %27 %29 = add nsw i64 %24, %28 %30 = call i64 @int_to_fix(i32 noundef -2) %31 = load i64, ptr %8, align 8 %32 = call i64 @int_to_fix(i32 noundef 4) %33 = sdiv i64 %32, 1024 %34 = mul nsw i64 %31, %33 %35 = add nsw i64 %30, %34 %36 = call i64 @escape_iteration_count(i64 noundef %29, i64 noundef %35) store i64 %36, ptr %11, align 8 %37 = load i64, ptr %11, align 8 %38 = icmp eq i64 %37, -1 br i1 %38, label %39, label %40 39: ; preds = %23 br label %42 40: ; preds = %23 %41 = load i64, ptr %11, align 8 br label %42 42: ; preds = %40, %39 %43 = phi i64 [ 0, %39 ], [ %41, %40 ] store i64 %43, ptr %12, align 8 %44 = load ptr, ptr %10, align 8 %45 = load i64, ptr %9, align 8 %46 = load i64, ptr %8, align 8 %47 = load i64, ptr %12, align 8 %48 = load i64, ptr %12, align 8 %49 = load i64, ptr %12, align 8 %50 = call i32 @putrgb(ptr noundef %44, i64 noundef 1024, i64 noundef %45, i64 noundef %46, i64 noundef %47, i64 noundef %48, i64 noundef %49) br label %51 51: ; preds = %42 %52 = load i64, ptr %9, align 8 %53 = add nsw i64 %52, 1 store i64 %53, ptr %9, align 8 br label %20, !llvm.loop !6 54: ; preds = %20 br label %55 55: ; preds = %54 %56 = load i64, ptr %8, align 8 %57 = add nsw i64 %56, 1 store i64 %57, ptr %8, align 8 br label %16, !llvm.loop !8 58: ; preds = %16 %59 = load ptr, ptr %10, align 8 %60 = call i32 @write(i32 noundef 1, ptr noundef %59, i64 noundef 3145728) ret i32 0 } declare ptr @malloc(i64 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef, i64 noundef) #1 declare i32 @fflush(ptr noundef) #1 declare i64 @escape_iteration_count(i64 noundef, i64 noundef) #1 declare i64 @int_to_fix(i32 noundef) #1 declare i32 @putrgb(ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmptt1qcvlp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"P6 %d %d 255\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 1024, ptr %6, align 8 store i64 1024, ptr %7, align 8 %13 = call ptr @malloc(i64 noundef 3145728) store ptr %13, ptr %10, align 8 %14 = call i32 @printf(ptr noundef @.str, i64 noundef 1024, i64 noundef 1024) %15 = call i32 @fflush(ptr noundef null) store i64 0, ptr %8, align 8 %16 = load i64, ptr %8, align 8 %17 = icmp slt i64 %16, 1024 br i1 %17, label %.lr.ph2, label %60 .lr.ph2: ; preds = %2 br label %18 18: ; preds = %.lr.ph2, %55 store i64 0, ptr %9, align 8 %19 = load i64, ptr %9, align 8 %20 = icmp slt i64 %19, 1024 br i1 %20, label %.lr.ph, label %54 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %49 %22 = call i64 @int_to_fix(i32 noundef -2) %23 = load i64, ptr %9, align 8 %24 = call i64 @int_to_fix(i32 noundef 4) %25 = sdiv i64 %24, 1024 %26 = mul nsw i64 %23, %25 %27 = add nsw i64 %22, %26 %28 = call i64 @int_to_fix(i32 noundef -2) %29 = load i64, ptr %8, align 8 %30 = call i64 @int_to_fix(i32 noundef 4) %31 = sdiv i64 %30, 1024 %32 = mul nsw i64 %29, %31 %33 = add nsw i64 %28, %32 %34 = call i64 @escape_iteration_count(i64 noundef %27, i64 noundef %33) store i64 %34, ptr %11, align 8 %35 = load i64, ptr %11, align 8 %36 = icmp eq i64 %35, -1 br i1 %36, label %37, label %38 37: ; preds = %21 br label %40 38: ; preds = %21 %39 = load i64, ptr %11, align 8 br label %40 40: ; preds = %38, %37 %41 = phi i64 [ 0, %37 ], [ %39, %38 ] store i64 %41, ptr %12, align 8 %42 = load ptr, ptr %10, align 8 %43 = load i64, ptr %9, align 8 %44 = load i64, ptr %8, align 8 %45 = load i64, ptr %12, align 8 %46 = load i64, ptr %12, align 8 %47 = load i64, ptr %12, align 8 %48 = call i32 @putrgb(ptr noundef %42, i64 noundef 1024, i64 noundef %43, i64 noundef %44, i64 noundef %45, i64 noundef %46, i64 noundef %47) br label %49 49: ; preds = %40 %50 = load i64, ptr %9, align 8 %51 = add nsw i64 %50, 1 store i64 %51, ptr %9, align 8 %52 = load i64, ptr %9, align 8 %53 = icmp slt i64 %52, 1024 br i1 %53, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %49 br label %54 54: ; preds = %._crit_edge, %18 br label %55 55: ; preds = %54 %56 = load i64, ptr %8, align 8 %57 = add nsw i64 %56, 1 store i64 %57, ptr %8, align 8 %58 = load i64, ptr %8, align 8 %59 = icmp slt i64 %58, 1024 br i1 %59, label %18, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %55 br label %60 60: ; preds = %._crit_edge3, %2 %61 = load ptr, ptr %10, align 8 %62 = call i32 @write(i32 noundef 1, ptr noundef %61, i64 noundef 3145728) ret i32 0 } declare ptr @malloc(i64 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef, i64 noundef) #1 declare i32 @fflush(ptr noundef) #1 declare i64 @escape_iteration_count(i64 noundef, i64 noundef) #1 declare i64 @int_to_fix(i32 noundef) #1 declare i32 @putrgb(ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpeco0a98d.c' source_filename = "/tmp/tmpeco0a98d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @af2d() #0 { %1 = alloca ptr, align 8 %2 = call ptr @my_malloc(i32 noundef 12) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = call i32 @free(ptr noundef %3) %5 = load ptr, ptr %1, align 8 %6 = call i32 @my_hold2(i32 noundef 0, i32 noundef 0, ptr noundef %5) ret void } declare ptr @my_malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @my_hold2(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeco0a98d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @af2d() #0 { %1 = alloca ptr, align 8 %2 = call ptr @my_malloc(i32 noundef 12) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = call i32 @free(ptr noundef %3) %5 = load ptr, ptr %1, align 8 %6 = call i32 @my_hold2(i32 noundef 0, i32 noundef 0, ptr noundef %5) ret void } declare ptr @my_malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @my_hold2(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpksa8b8t4.c' source_filename = "/tmp/tmpksa8b8t4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_SC_PAGE_SIZE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"Cannot get page size\00", align 1 @O_CREAT = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @S_IRWXU = dso_local global i32 0, align 4 @S_IRWXG = dso_local global i32 0, align 4 @S_IRWXO = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"Cannot open file\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"Write error. \00", align 1 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @.str.4 = private unnamed_addr constant [12 x i8] c"Map error. \00", align 1 @MS_SYNC = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [25 x i8] c"msync failed with error:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_msync(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %13 = load i32, ptr @_SC_PAGE_SIZE, align 4 %14 = call i32 @sysconf(i32 noundef %13) store i32 %14, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %3 %18 = call i32 @perror(ptr noundef @.str) br label %78 19: ; preds = %3 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr @O_CREAT, align 4 %22 = load i32, ptr @O_TRUNC, align 4 %23 = or i32 %21, %22 %24 = load i32, ptr @O_RDWR, align 4 %25 = or i32 %23, %24 %26 = load i32, ptr @S_IRWXU, align 4 %27 = load i32, ptr @S_IRWXG, align 4 %28 = or i32 %26, %27 %29 = load i32, ptr @S_IRWXO, align 4 %30 = or i32 %28, %29 %31 = call i32 @open(ptr noundef %20, i32 noundef %25, i32 noundef %30) store i32 %31, ptr %8, align 4 %32 = load i32, ptr %8, align 4 %33 = icmp slt i32 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %19 %35 = call i32 @perror(ptr noundef @.str.1) br label %78 36: ; preds = %19 %37 = load i32, ptr %8, align 4 %38 = load i32, ptr %7, align 4 %39 = load i32, ptr @SEEK_SET, align 4 %40 = call i32 @lseek(i32 noundef %37, i32 noundef %38, i32 noundef %39) store i32 %40, ptr %9, align 4 %41 = load i32, ptr %8, align 4 %42 = call i32 @write(i32 noundef %41, ptr noundef @.str.2, i32 noundef 1) store i32 %42, ptr %10, align 4 %43 = load i32, ptr %10, align 4 %44 = icmp ne i32 %43, 1 br i1 %44, label %45, label %49 45: ; preds = %36 %46 = call i32 @perror(ptr noundef @.str.3) %47 = load i32, ptr %8, align 4 %48 = call i32 @close(i32 noundef %47) br label %78 49: ; preds = %36 store i32 0, ptr %11, align 4 %50 = load i32, ptr %7, align 4 %51 = load i32, ptr @PROT_WRITE, align 4 %52 = load i32, ptr @MAP_SHARED, align 4 %53 = load i32, ptr %8, align 4 %54 = load i32, ptr %11, align 4 %55 = call ptr @mmap(ptr noundef null, i32 noundef %50, i32 noundef %51, i32 noundef %52, i32 noundef %53, i32 noundef %54) store ptr %55, ptr %12, align 8 %56 = load ptr, ptr %12, align 8 %57 = load ptr, ptr @MAP_FAILED, align 8 %58 = icmp eq ptr %56, %57 br i1 %58, label %59, label %63 59: ; preds = %49 %60 = call i32 @perror(ptr noundef @.str.4) %61 = load i32, ptr %8, align 4 %62 = call i32 @close(i32 noundef %61) br label %78 63: ; preds = %49 %64 = load ptr, ptr %12, align 8 %65 = load ptr, ptr %5, align 8 %66 = call i32 @strcpy(ptr noundef %64, ptr noundef %65) %67 = load ptr, ptr %12, align 8 %68 = load i32, ptr %7, align 4 %69 = load i32, ptr @MS_SYNC, align 4 %70 = call i64 @msync(ptr noundef %67, i32 noundef %68, i32 noundef %69) %71 = icmp slt i64 %70, 0 br i1 %71, label %72, label %74 72: ; preds = %63 %73 = call i32 @perror(ptr noundef @.str.5) br label %74 74: ; preds = %72, %63 %75 = load i32, ptr %8, align 4 %76 = call i32 @close(i32 noundef %75) %77 = call i32 @sleep(i32 noundef 5) br label %78 78: ; preds = %74, %59, %45, %34, %17 ret void } declare i32 @sysconf(i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i64 @msync(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpksa8b8t4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_SC_PAGE_SIZE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"Cannot get page size\00", align 1 @O_CREAT = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @S_IRWXU = dso_local global i32 0, align 4 @S_IRWXG = dso_local global i32 0, align 4 @S_IRWXO = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"Cannot open file\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"Write error. \00", align 1 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @.str.4 = private unnamed_addr constant [12 x i8] c"Map error. \00", align 1 @MS_SYNC = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [25 x i8] c"msync failed with error:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_msync(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %13 = load i32, ptr @_SC_PAGE_SIZE, align 4 %14 = call i32 @sysconf(i32 noundef %13) store i32 %14, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %3 %18 = call i32 @perror(ptr noundef @.str) br label %78 19: ; preds = %3 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr @O_CREAT, align 4 %22 = load i32, ptr @O_TRUNC, align 4 %23 = or i32 %21, %22 %24 = load i32, ptr @O_RDWR, align 4 %25 = or i32 %23, %24 %26 = load i32, ptr @S_IRWXU, align 4 %27 = load i32, ptr @S_IRWXG, align 4 %28 = or i32 %26, %27 %29 = load i32, ptr @S_IRWXO, align 4 %30 = or i32 %28, %29 %31 = call i32 @open(ptr noundef %20, i32 noundef %25, i32 noundef %30) store i32 %31, ptr %8, align 4 %32 = load i32, ptr %8, align 4 %33 = icmp slt i32 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %19 %35 = call i32 @perror(ptr noundef @.str.1) br label %78 36: ; preds = %19 %37 = load i32, ptr %8, align 4 %38 = load i32, ptr %7, align 4 %39 = load i32, ptr @SEEK_SET, align 4 %40 = call i32 @lseek(i32 noundef %37, i32 noundef %38, i32 noundef %39) store i32 %40, ptr %9, align 4 %41 = load i32, ptr %8, align 4 %42 = call i32 @write(i32 noundef %41, ptr noundef @.str.2, i32 noundef 1) store i32 %42, ptr %10, align 4 %43 = load i32, ptr %10, align 4 %44 = icmp ne i32 %43, 1 br i1 %44, label %45, label %49 45: ; preds = %36 %46 = call i32 @perror(ptr noundef @.str.3) %47 = load i32, ptr %8, align 4 %48 = call i32 @close(i32 noundef %47) br label %78 49: ; preds = %36 store i32 0, ptr %11, align 4 %50 = load i32, ptr %7, align 4 %51 = load i32, ptr @PROT_WRITE, align 4 %52 = load i32, ptr @MAP_SHARED, align 4 %53 = load i32, ptr %8, align 4 %54 = load i32, ptr %11, align 4 %55 = call ptr @mmap(ptr noundef null, i32 noundef %50, i32 noundef %51, i32 noundef %52, i32 noundef %53, i32 noundef %54) store ptr %55, ptr %12, align 8 %56 = load ptr, ptr %12, align 8 %57 = load ptr, ptr @MAP_FAILED, align 8 %58 = icmp eq ptr %56, %57 br i1 %58, label %59, label %63 59: ; preds = %49 %60 = call i32 @perror(ptr noundef @.str.4) %61 = load i32, ptr %8, align 4 %62 = call i32 @close(i32 noundef %61) br label %78 63: ; preds = %49 %64 = load ptr, ptr %12, align 8 %65 = load ptr, ptr %5, align 8 %66 = call i32 @strcpy(ptr noundef %64, ptr noundef %65) %67 = load ptr, ptr %12, align 8 %68 = load i32, ptr %7, align 4 %69 = load i32, ptr @MS_SYNC, align 4 %70 = call i64 @msync(ptr noundef %67, i32 noundef %68, i32 noundef %69) %71 = icmp slt i64 %70, 0 br i1 %71, label %72, label %74 72: ; preds = %63 %73 = call i32 @perror(ptr noundef @.str.5) br label %74 74: ; preds = %72, %63 %75 = load i32, ptr %8, align 4 %76 = call i32 @close(i32 noundef %75) %77 = call i32 @sleep(i32 noundef 5) br label %78 78: ; preds = %74, %59, %45, %34, %17 ret void } declare i32 @sysconf(i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i64 @msync(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp333lbbvs.c' source_filename = "/tmp/tmp333lbbvs.c" target datalayout = "e-m:e-p270: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/tmp333lbbvs.c" target datalayout = "e-m:e-p270: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/tmpvycnnwuo.c' source_filename = "/tmp/tmpvycnnwuo.c" target datalayout = "e-m:e-p270: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/tmpvycnnwuo.c" target datalayout = "e-m:e-p270: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/tmpzddml3p2.c' source_filename = "/tmp/tmpzddml3p2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter The No of Vertices\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"Enter the Adjacency Matrix\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"Topological sort is :\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [10 x [10 x i32]], align 16 %10 = alloca [10 x i32], align 16 %11 = alloca [10 x i32], align 16 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 40, i1 false) store i32 0, ptr %12, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %7, align 4 br label %16 16: ; preds = %52, %2 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %55 20: ; preds = %16 store i32 0, ptr %8, align 4 br label %21 21: ; preds = %48, %20 %22 = load i32, ptr %8, align 4 %23 = load i32, ptr %6, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %51 25: ; preds = %21 %26 = load i32, ptr %7, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [10 x [10 x i32]], ptr %9, i64 0, i64 %27 %29 = load i32, ptr %8, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [10 x i32], ptr %28, i64 0, i64 %30 %32 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %31) %33 = load i32, ptr %7, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [10 x [10 x i32]], ptr %9, i64 0, i64 %34 %36 = load i32, ptr %8, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [10 x i32], ptr %35, i64 0, i64 %37 %39 = load i32, ptr %38, align 4 %40 = icmp ne i32 %39, 0 br i1 %40, label %41, label %47 41: ; preds = %25 %42 = load i32, ptr %8, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %43 %45 = load i32, ptr %44, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %44, align 4 br label %47 47: ; preds = %41, %25 br label %48 48: ; preds = %47 %49 = load i32, ptr %8, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %8, align 4 br label %21, !llvm.loop !6 51: ; preds = %21 br label %52 52: ; preds = %51 %53 = load i32, ptr %7, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %7, align 4 br label %16, !llvm.loop !8 55: ; preds = %16 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %57 57: ; preds = %115, %55 %58 = load i32, ptr %12, align 4 %59 = load i32, ptr %6, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %61, label %116 61: ; preds = %57 store i32 0, ptr %7, align 4 br label %62 62: ; preds = %112, %61 %63 = load i32, ptr %7, align 4 %64 = load i32, ptr %6, align 4 %65 = icmp slt i32 %63, %64 br i1 %65, label %66, label %115 66: ; preds = %62 %67 = load i32, ptr %7, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %68 %70 = load i32, ptr %69, align 4 %71 = icmp eq i32 %70, 0 br i1 %71, label %72, label %111 72: ; preds = %66 %73 = load i32, ptr %7, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [10 x i32], ptr %11, i64 0, i64 %74 %76 = load i32, ptr %75, align 4 %77 = icmp eq i32 %76, 0 br i1 %77, label %78, label %111 78: ; preds = %72 %79 = load i32, ptr %7, align 4 %80 = add nsw i32 %79, 1 %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %80) %82 = load i32, ptr %7, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [10 x i32], ptr %11, i64 0, i64 %83 store i32 1, ptr %84, align 4 %85 = load i32, ptr %12, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %12, align 4 store i32 0, ptr %8, align 4 br label %87 87: ; preds = %107, %78 %88 = load i32, ptr %8, align 4 %89 = load i32, ptr %6, align 4 %90 = icmp slt i32 %88, %89 br i1 %90, label %91, label %110 91: ; preds = %87 %92 = load i32, ptr %7, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [10 x [10 x i32]], ptr %9, i64 0, i64 %93 %95 = load i32, ptr %8, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds [10 x i32], ptr %94, i64 0, i64 %96 %98 = load i32, ptr %97, align 4 %99 = icmp ne i32 %98, 0 br i1 %99, label %100, label %106 100: ; preds = %91 %101 = load i32, ptr %8, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %102 %104 = load i32, ptr %103, align 4 %105 = add nsw i32 %104, -1 store i32 %105, ptr %103, align 4 br label %106 106: ; preds = %100, %91 br label %107 107: ; preds = %106 %108 = load i32, ptr %8, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %8, align 4 br label %87, !llvm.loop !9 110: ; preds = %87 br label %111 111: ; preds = %110, %72, %66 br label %112 112: ; preds = %111 %113 = load i32, ptr %7, align 4 %114 = add nsw i32 %113, 1 store i32 %114, ptr %7, align 4 br label %62, !llvm.loop !10 115: ; preds = %62 br label %57, !llvm.loop !11 116: ; preds = %57 ret i32 0 } ; 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 @printf(ptr noundef, ...) #2 declare i32 @scanf(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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"} !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/tmpzddml3p2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter The No of Vertices\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"Enter the Adjacency Matrix\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"Topological sort is :\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [10 x [10 x i32]], align 16 %10 = alloca [10 x i32], align 16 %11 = alloca [10 x i32], align 16 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 40, i1 false) store i32 0, ptr %12, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %7, align 4 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph2, label %59 .lr.ph2: ; preds = %2 br label %19 19: ; preds = %.lr.ph2, %53 store i32 0, ptr %8, align 4 %20 = load i32, ptr %8, align 4 %21 = load i32, ptr %6, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph, label %52 .lr.ph: ; preds = %19 br label %23 23: ; preds = %.lr.ph, %46 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [10 x [10 x i32]], ptr %9, i64 0, i64 %25 %27 = load i32, ptr %8, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [10 x i32], ptr %26, i64 0, i64 %28 %30 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %29) %31 = load i32, ptr %7, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [10 x [10 x i32]], ptr %9, i64 0, i64 %32 %34 = load i32, ptr %8, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [10 x i32], ptr %33, i64 0, i64 %35 %37 = load i32, ptr %36, align 4 %38 = icmp ne i32 %37, 0 br i1 %38, label %39, label %45 39: ; preds = %23 %40 = load i32, ptr %8, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %41 %43 = load i32, ptr %42, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %42, align 4 br label %45 45: ; preds = %39, %23 br label %46 46: ; preds = %45 %47 = load i32, ptr %8, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %8, align 4 %49 = load i32, ptr %8, align 4 %50 = load i32, ptr %6, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %46 br label %52 52: ; preds = %._crit_edge, %19 br label %53 53: ; preds = %52 %54 = load i32, ptr %7, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %7, align 4 %56 = load i32, ptr %7, align 4 %57 = load i32, ptr %6, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %19, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %53 br label %59 59: ; preds = %._crit_edge3, %2 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %61 = load i32, ptr %12, align 4 %62 = load i32, ptr %6, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %.lr.ph11, label %126 .lr.ph11: ; preds = %59 br label %64 64: ; preds = %.lr.ph11, %122 store i32 0, ptr %7, align 4 %65 = load i32, ptr %7, align 4 %66 = load i32, ptr %6, align 4 %67 = icmp slt i32 %65, %66 br i1 %67, label %.lr.ph8, label %122 .lr.ph8: ; preds = %64 br label %68 68: ; preds = %.lr.ph8, %116 %69 = load i32, ptr %7, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %70 %72 = load i32, ptr %71, align 4 %73 = icmp eq i32 %72, 0 br i1 %73, label %74, label %115 74: ; preds = %68 %75 = load i32, ptr %7, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [10 x i32], ptr %11, i64 0, i64 %76 %78 = load i32, ptr %77, align 4 %79 = icmp eq i32 %78, 0 br i1 %79, label %80, label %115 80: ; preds = %74 %81 = load i32, ptr %7, align 4 %82 = add nsw i32 %81, 1 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %82) %84 = load i32, ptr %7, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds [10 x i32], ptr %11, i64 0, i64 %85 store i32 1, ptr %86, align 4 %87 = load i32, ptr %12, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %12, align 4 store i32 0, ptr %8, align 4 %89 = load i32, ptr %8, align 4 %90 = load i32, ptr %6, align 4 %91 = icmp slt i32 %89, %90 br i1 %91, label %.lr.ph5, label %114 .lr.ph5: ; preds = %80 br label %92 92: ; preds = %.lr.ph5, %108 %93 = load i32, ptr %7, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds [10 x [10 x i32]], ptr %9, i64 0, i64 %94 %96 = load i32, ptr %8, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds [10 x i32], ptr %95, i64 0, i64 %97 %99 = load i32, ptr %98, align 4 %100 = icmp ne i32 %99, 0 br i1 %100, label %101, label %107 101: ; preds = %92 %102 = load i32, ptr %8, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %103 %105 = load i32, ptr %104, align 4 %106 = add nsw i32 %105, -1 store i32 %106, ptr %104, align 4 br label %107 107: ; preds = %101, %92 br label %108 108: ; preds = %107 %109 = load i32, ptr %8, align 4 %110 = add nsw i32 %109, 1 store i32 %110, ptr %8, align 4 %111 = load i32, ptr %8, align 4 %112 = load i32, ptr %6, align 4 %113 = icmp slt i32 %111, %112 br i1 %113, label %92, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %108 br label %114 114: ; preds = %._crit_edge6, %80 br label %115 115: ; preds = %114, %74, %68 br label %116 116: ; preds = %115 %117 = load i32, ptr %7, align 4 %118 = add nsw i32 %117, 1 store i32 %118, ptr %7, align 4 %119 = load i32, ptr %7, align 4 %120 = load i32, ptr %6, align 4 %121 = icmp slt i32 %119, %120 br i1 %121, label %68, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %116 br label %122 122: ; preds = %._crit_edge9, %64 %123 = load i32, ptr %12, align 4 %124 = load i32, ptr %6, align 4 %125 = icmp slt i32 %123, %124 br i1 %125, label %64, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %122 br label %126 126: ; preds = %._crit_edge12, %59 ret i32 0 } ; 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 @printf(ptr noundef, ...) #2 declare i32 @scanf(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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"} !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/tmp1neszxsv.c' source_filename = "/tmp/tmp1neszxsv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @j(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 @f(i32 noundef %3) %5 = mul nsw i32 2, %4 ret i32 %5 } declare i32 @f(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/tmp1neszxsv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @j(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 @f(i32 noundef %3) %5 = mul nsw i32 2, %4 ret i32 %5 } declare i32 @f(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/tmpj6afw0ng.c' source_filename = "/tmp/tmpj6afw0ng.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c": %s\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @err_doit(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [4096 x i8], align 16 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %12 = load i32, ptr @errno, align 4 store i32 %12, ptr %9, align 4 %13 = getelementptr inbounds [4096 x i8], ptr %11, i64 0, i64 0 %14 = load ptr, ptr %7, align 8 %15 = load i32, ptr %8, align 4 %16 = call i32 @vsnprintf(ptr noundef %13, i32 noundef 4096, ptr noundef %14, i32 noundef %15) %17 = getelementptr inbounds [4096 x i8], ptr %11, i64 0, i64 0 %18 = call i32 @strnlen(ptr noundef %17, i32 noundef 4096) store i32 %18, ptr %10, align 4 %19 = load i32, ptr %5, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %33 21: ; preds = %4 %22 = getelementptr inbounds [4096 x i8], ptr %11, i64 0, i64 0 %23 = load i32, ptr %10, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = load i32, ptr %10, align 4 %27 = sext i32 %26 to i64 %28 = sub i64 4096, %27 %29 = trunc i64 %28 to i32 %30 = load i32, ptr %9, align 4 %31 = call ptr @strerror(i32 noundef %30) %32 = call i32 @snprintf(ptr noundef %25, i32 noundef %29, ptr noundef @.str, ptr noundef %31) br label %33 33: ; preds = %21, %4 %34 = getelementptr inbounds [4096 x i8], ptr %11, i64 0, i64 0 %35 = call i32 @strcat(ptr noundef %34, ptr noundef @.str.1) %36 = load i32, ptr @stdout, align 4 %37 = call i32 @fflush(i32 noundef %36) %38 = getelementptr inbounds [4096 x i8], ptr %11, i64 0, i64 0 %39 = load i32, ptr @stderr, align 4 %40 = call i32 @fputs(ptr noundef %38, i32 noundef %39) %41 = load i32, ptr @stderr, align 4 %42 = call i32 @fflush(i32 noundef %41) ret void } declare i32 @vsnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strnlen(ptr noundef, i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @fputs(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/tmpj6afw0ng.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c": %s\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @err_doit(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [4096 x i8], align 16 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %12 = load i32, ptr @errno, align 4 store i32 %12, ptr %9, align 4 %13 = getelementptr inbounds [4096 x i8], ptr %11, i64 0, i64 0 %14 = load ptr, ptr %7, align 8 %15 = load i32, ptr %8, align 4 %16 = call i32 @vsnprintf(ptr noundef %13, i32 noundef 4096, ptr noundef %14, i32 noundef %15) %17 = getelementptr inbounds [4096 x i8], ptr %11, i64 0, i64 0 %18 = call i32 @strnlen(ptr noundef %17, i32 noundef 4096) store i32 %18, ptr %10, align 4 %19 = load i32, ptr %5, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %33 21: ; preds = %4 %22 = getelementptr inbounds [4096 x i8], ptr %11, i64 0, i64 0 %23 = load i32, ptr %10, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = load i32, ptr %10, align 4 %27 = sext i32 %26 to i64 %28 = sub i64 4096, %27 %29 = trunc i64 %28 to i32 %30 = load i32, ptr %9, align 4 %31 = call ptr @strerror(i32 noundef %30) %32 = call i32 @snprintf(ptr noundef %25, i32 noundef %29, ptr noundef @.str, ptr noundef %31) br label %33 33: ; preds = %21, %4 %34 = getelementptr inbounds [4096 x i8], ptr %11, i64 0, i64 0 %35 = call i32 @strcat(ptr noundef %34, ptr noundef @.str.1) %36 = load i32, ptr @stdout, align 4 %37 = call i32 @fflush(i32 noundef %36) %38 = getelementptr inbounds [4096 x i8], ptr %11, i64 0, i64 0 %39 = load i32, ptr @stderr, align 4 %40 = call i32 @fputs(ptr noundef %38, i32 noundef %39) %41 = load i32, ptr @stderr, align 4 %42 = call i32 @fflush(i32 noundef %41) ret void } declare i32 @vsnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strnlen(ptr noundef, i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @fputs(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/tmpco2fxfta.c' source_filename = "/tmp/tmpco2fxfta.c" target datalayout = "e-m:e-p270: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/tmpco2fxfta.c" target datalayout = "e-m:e-p270: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/tmpykr4i_yv.c' source_filename = "/tmp/tmpykr4i_yv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\09.long 0x%x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x x86_fp80], align 16 %3 = alloca [5 x [5 x x86_fp80]], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca x86_fp80, align 16 %7 = alloca x86_fp80, align 16 %8 = alloca x86_fp80, align 16 %9 = alloca x86_fp80, align 16 %10 = alloca x86_fp80, align 16 %11 = alloca x86_fp80, align 16 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca x86_fp80, align 16 %17 = alloca x86_fp80, align 16 %18 = alloca x86_fp80, align 16 %19 = alloca x86_fp80, align 16 %20 = alloca x86_fp80, align 16 %21 = alloca x86_fp80, align 16 %22 = alloca x86_fp80, align 16 store i32 0, ptr %1, align 4 store x86_fp80 0xK3FF98000000000000000, ptr %10, align 16 %23 = load x86_fp80, ptr %10, align 16 %24 = fmul x86_fp80 %23, 0xK3FFE8000000000000000 store x86_fp80 %24, ptr %11, align 16 %25 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 0 %26 = call i32 @memset(ptr noundef %25, i32 noundef 0, i32 noundef 400) %27 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 0 %28 = getelementptr inbounds [5 x x86_fp80], ptr %27, i64 0, i64 0 store x86_fp80 0xK3FFF8000000000000000, ptr %28, align 16 store i32 1, ptr %4, align 4 br label %29 29: ; preds = %43, %0 %30 = load i32, ptr %4, align 4 %31 = icmp slt i32 %30, 5 br i1 %31, label %32, label %46 32: ; preds = %29 %33 = load i32, ptr %4, align 4 %34 = sub nsw i32 %33, 1 %35 = shl i32 1, %34 %36 = sitofp i32 %35 to x86_fp80 %37 = load i32, ptr %4, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 %38 %40 = load i32, ptr %4, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [5 x x86_fp80], ptr %39, i64 0, i64 %41 store x86_fp80 %36, ptr %42, align 16 br label %43 43: ; preds = %32 %44 = load i32, ptr %4, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %4, align 4 br label %29, !llvm.loop !6 46: ; preds = %29 %47 = load x86_fp80, ptr %11, align 16 %48 = fneg x86_fp80 %47 %49 = load x86_fp80, ptr %11, align 16 %50 = fmul x86_fp80 %48, %49 %51 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 2 %52 = getelementptr inbounds [5 x x86_fp80], ptr %51, i64 0, i64 0 store x86_fp80 %50, ptr %52, align 16 store x86_fp80 0xK3FFF8000000000000000, ptr %6, align 16 br label %53 53: ; preds = %292, %46 %54 = load x86_fp80, ptr %6, align 16 %55 = fcmp olt x86_fp80 %54, 0xK40008000000000000000 br i1 %55, label %56, label %296 56: ; preds = %53 %57 = load x86_fp80, ptr %6, align 16 %58 = load x86_fp80, ptr %10, align 16 %59 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %58, x86_fp80 0xK3FFE8000000000000000, x86_fp80 %57) store x86_fp80 %59, ptr %7, align 16 %60 = load x86_fp80, ptr %6, align 16 %61 = load x86_fp80, ptr %10, align 16 %62 = fadd x86_fp80 %60, %61 store x86_fp80 %62, ptr %8, align 16 %63 = load x86_fp80, ptr %11, align 16 %64 = load x86_fp80, ptr %7, align 16 %65 = fdiv x86_fp80 %63, %64 store x86_fp80 %65, ptr %9, align 16 %66 = load x86_fp80, ptr %7, align 16 %67 = fdiv x86_fp80 0xK3FFF8000000000000000, %66 %68 = getelementptr inbounds [5 x x86_fp80], ptr %2, i64 0, i64 0 store x86_fp80 %67, ptr %68, align 16 store i32 1, ptr %4, align 4 br label %69 69: ; preds = %85, %56 %70 = load i32, ptr %4, align 4 %71 = icmp slt i32 %70, 5 br i1 %71, label %72, label %88 72: ; preds = %69 %73 = load i32, ptr %4, align 4 %74 = sub nsw i32 %73, 1 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [5 x x86_fp80], ptr %2, i64 0, i64 %75 %77 = load x86_fp80, ptr %76, align 16 %78 = getelementptr inbounds [5 x x86_fp80], ptr %2, i64 0, i64 0 %79 = load x86_fp80, ptr %78, align 16 %80 = fneg x86_fp80 %79 %81 = fmul x86_fp80 %77, %80 %82 = load i32, ptr %4, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [5 x x86_fp80], ptr %2, i64 0, i64 %83 store x86_fp80 %81, ptr %84, align 16 br label %85 85: ; preds = %72 %86 = load i32, ptr %4, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %4, align 4 br label %69, !llvm.loop !8 88: ; preds = %69 %89 = load x86_fp80, ptr %9, align 16 %90 = load x86_fp80, ptr %11, align 16 %91 = fmul x86_fp80 %89, %90 %92 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 1 %93 = getelementptr inbounds [5 x x86_fp80], ptr %92, i64 0, i64 0 store x86_fp80 %91, ptr %93, align 16 %94 = load x86_fp80, ptr %9, align 16 %95 = load x86_fp80, ptr %11, align 16 %96 = fmul x86_fp80 %94, %95 %97 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 2 %98 = getelementptr inbounds [5 x x86_fp80], ptr %97, i64 0, i64 1 store x86_fp80 %96, ptr %98, align 16 store i32 3, ptr %4, align 4 br label %99 99: ; preds = %156, %88 %100 = load i32, ptr %4, align 4 %101 = icmp slt i32 %100, 5 br i1 %101, label %102, label %159 102: ; preds = %99 %103 = load x86_fp80, ptr %11, align 16 %104 = fneg x86_fp80 %103 %105 = load x86_fp80, ptr %11, align 16 %106 = fmul x86_fp80 %104, %105 %107 = load i32, ptr %4, align 4 %108 = sub nsw i32 %107, 2 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 %109 %111 = getelementptr inbounds [5 x x86_fp80], ptr %110, i64 0, i64 0 %112 = load x86_fp80, ptr %111, align 16 %113 = fmul x86_fp80 %106, %112 %114 = load i32, ptr %4, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 %115 %117 = getelementptr inbounds [5 x x86_fp80], ptr %116, i64 0, i64 0 store x86_fp80 %113, ptr %117, align 16 store i32 1, ptr %5, align 4 br label %118 118: ; preds = %152, %102 %119 = load i32, ptr %5, align 4 %120 = load i32, ptr %4, align 4 %121 = icmp slt i32 %119, %120 br i1 %121, label %122, label %155 122: ; preds = %118 %123 = load i32, ptr %4, align 4 %124 = sub nsw i32 %123, 1 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 %125 %127 = load i32, ptr %5, align 4 %128 = sub nsw i32 %127, 1 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds [5 x x86_fp80], ptr %126, i64 0, i64 %129 %131 = load x86_fp80, ptr %130, align 16 %132 = load x86_fp80, ptr %11, align 16 %133 = load x86_fp80, ptr %11, align 16 %134 = fmul x86_fp80 %132, %133 %135 = load i32, ptr %4, align 4 %136 = sub nsw i32 %135, 2 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 %137 %139 = load i32, ptr %5, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds [5 x x86_fp80], ptr %138, i64 0, i64 %140 %142 = load x86_fp80, ptr %141, align 16 %143 = fmul x86_fp80 %134, %142 %144 = fneg x86_fp80 %143 %145 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 0xK40008000000000000000, x86_fp80 %131, x86_fp80 %144) %146 = load i32, ptr %4, align 4 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 %147 %149 = load i32, ptr %5, align 4 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds [5 x x86_fp80], ptr %148, i64 0, i64 %150 store x86_fp80 %145, ptr %151, align 16 br label %152 152: ; preds = %122 %153 = load i32, ptr %5, align 4 %154 = add nsw i32 %153, 1 store i32 %154, ptr %5, align 4 br label %118, !llvm.loop !9 155: ; preds = %118 br label %156 156: ; preds = %155 %157 = load i32, ptr %4, align 4 %158 = add nsw i32 %157, 1 store i32 %158, ptr %4, align 4 br label %99, !llvm.loop !10 159: ; preds = %99 store i32 4, ptr %4, align 4 br label %160 160: ; preds = %199, %159 %161 = load i32, ptr %4, align 4 %162 = icmp sgt i32 %161, 1 br i1 %162, label %163, label %202 163: ; preds = %160 %164 = load i32, ptr %4, align 4 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds [5 x x86_fp80], ptr %2, i64 0, i64 %165 %167 = load x86_fp80, ptr %166, align 16 %168 = load i32, ptr %4, align 4 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 %169 %171 = load i32, ptr %4, align 4 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds [5 x x86_fp80], ptr %170, i64 0, i64 %172 %174 = load x86_fp80, ptr %173, align 16 %175 = fdiv x86_fp80 %167, %174 store x86_fp80 %175, ptr %16, align 16 store i32 0, ptr %5, align 4 br label %176 176: ; preds = %195, %163 %177 = load i32, ptr %5, align 4 %178 = load i32, ptr %4, align 4 %179 = icmp slt i32 %177, %178 br i1 %179, label %180, label %198 180: ; preds = %176 %181 = load x86_fp80, ptr %16, align 16 %182 = load i32, ptr %4, align 4 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 %183 %185 = load i32, ptr %5, align 4 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds [5 x x86_fp80], ptr %184, i64 0, i64 %186 %188 = load x86_fp80, ptr %187, align 16 %189 = load i32, ptr %5, align 4 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds [5 x x86_fp80], ptr %2, i64 0, i64 %190 %192 = load x86_fp80, ptr %191, align 16 %193 = fneg x86_fp80 %181 %194 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %193, x86_fp80 %188, x86_fp80 %192) store x86_fp80 %194, ptr %191, align 16 br label %195 195: ; preds = %180 %196 = load i32, ptr %5, align 4 %197 = add nsw i32 %196, 1 store i32 %197, ptr %5, align 4 br label %176, !llvm.loop !11 198: ; preds = %176 br label %199 199: ; preds = %198 %200 = load i32, ptr %4, align 4 %201 = add nsw i32 %200, -1 store i32 %201, ptr %4, align 4 br label %160, !llvm.loop !12 202: ; preds = %160 store i64 0, ptr %14, align 8 store i32 0, ptr %4, align 4 store i64 0, ptr %12, align 8 br label %203 203: ; preds = %254, %202 %204 = load i32, ptr %4, align 4 %205 = icmp slt i32 %204, 4 br i1 %205, label %206, label %257 206: ; preds = %203 %207 = getelementptr inbounds [5 x x86_fp80], ptr %2, i64 0, i64 1 %208 = load x86_fp80, ptr %207, align 16 %209 = load i64, ptr %12, align 8 %210 = sitofp i64 %209 to x86_fp80 %211 = fdiv x86_fp80 %210, 0xK40138000000000000000 %212 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %208, x86_fp80 0xK400B8000000000000000, x86_fp80 %211) %213 = fsub x86_fp80 %212, 0xK3FFE8000000000000000 %214 = fptosi x86_fp80 %213 to i64 store i64 %214, ptr %13, align 8 %215 = load i64, ptr %13, align 8 %216 = sub nsw i64 0, %215 %217 = and i64 %216, 4095 %218 = sub nsw i64 0, %217 store i64 %218, ptr %13, align 8 %219 = load i64, ptr %13, align 8 %220 = sub nsw i64 0, %219 %221 = shl i64 %220, 20 %222 = trunc i64 %221 to i32 %223 = zext i32 %222 to i64 %224 = load i64, ptr %12, align 8 %225 = or i64 %223, %224 %226 = sitofp i64 %225 to x86_fp80 %227 = fdiv x86_fp80 %226, 0xKC01F8000000000000000 store x86_fp80 %227, ptr %18, align 16 %228 = getelementptr inbounds [5 x x86_fp80], ptr %2, i64 0, i64 0 %229 = load x86_fp80, ptr %228, align 16 %230 = getelementptr inbounds [5 x x86_fp80], ptr %2, i64 0, i64 1 %231 = load x86_fp80, ptr %230, align 16 %232 = load x86_fp80, ptr %18, align 16 %233 = fsub x86_fp80 %231, %232 %234 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 1 %235 = getelementptr inbounds [5 x x86_fp80], ptr %234, i64 0, i64 1 %236 = load x86_fp80, ptr %235, align 16 %237 = fdiv x86_fp80 %233, %236 %238 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 1 %239 = getelementptr inbounds [5 x x86_fp80], ptr %238, i64 0, i64 0 %240 = load x86_fp80, ptr %239, align 16 %241 = fneg x86_fp80 %237 %242 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %241, x86_fp80 %240, x86_fp80 %229) %243 = load x86_fp80, ptr %7, align 16 %244 = fsub x86_fp80 %243, 0xK3FFF8000000000000000 %245 = load x86_fp80, ptr %18, align 16 %246 = fneg x86_fp80 %244 %247 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %246, x86_fp80 %245, x86_fp80 %242) store x86_fp80 %247, ptr %17, align 16 %248 = load x86_fp80, ptr %17, align 16 %249 = fmul x86_fp80 %248, 0xK40098000000000000000 %250 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %249, x86_fp80 0xK40098000000000000000, x86_fp80 0xK3FFE8000000000000000) %251 = fptosi x86_fp80 %250 to i64 store i64 %251, ptr %12, align 8 %252 = load i64, ptr %12, align 8 %253 = and i64 %252, 1048575 store i64 %253, ptr %12, align 8 br label %254 254: ; preds = %206 %255 = load i32, ptr %4, align 4 %256 = add nsw i32 %255, 1 store i32 %256, ptr %4, align 4 br label %203, !llvm.loop !13 257: ; preds = %203 %258 = load i64, ptr %13, align 8 %259 = sub nsw i64 0, %258 %260 = shl i64 %259, 20 %261 = trunc i64 %260 to i32 %262 = zext i32 %261 to i64 %263 = load i64, ptr %12, align 8 %264 = or i64 %262, %263 store i64 %264, ptr %15, align 8 %265 = load i64, ptr %15, align 8 %266 = trunc i64 %265 to i32 %267 = uitofp i32 %266 to double %268 = fdiv double %267, -6.553600e+04 %269 = fdiv double %268, 6.553600e+04 %270 = fpext double %269 to x86_fp80 store x86_fp80 %270, ptr %19, align 16 %271 = load i64, ptr %15, align 8 %272 = shl i64 %271, 12 %273 = trunc i64 %272 to i32 %274 = uitofp i32 %273 to double %275 = fdiv double %274, 6.553600e+04 %276 = fdiv double %275, 6.553600e+04 %277 = fpext double %276 to x86_fp80 store x86_fp80 %277, ptr %20, align 16 %278 = load x86_fp80, ptr %19, align 16 %279 = fneg x86_fp80 %278 %280 = call i32 @sqrt(x86_fp80 noundef %279) %281 = sitofp i32 %280 to double %282 = fdiv double 1.000000e+00, %281 %283 = fpext double %282 to x86_fp80 store x86_fp80 %283, ptr %21, align 16 %284 = load x86_fp80, ptr %20, align 16 %285 = fneg x86_fp80 %284 %286 = fmul x86_fp80 0xK3FFE8000000000000000, %285 %287 = load x86_fp80, ptr %19, align 16 %288 = fdiv x86_fp80 %286, %287 %289 = fadd x86_fp80 0xK3FFE8000000000000000, %288 store x86_fp80 %289, ptr %22, align 16 %290 = load i64, ptr %15, align 8 %291 = call i32 @printf(ptr noundef @.str, i64 noundef %290) br label %292 292: ; preds = %257 %293 = load x86_fp80, ptr %10, align 16 %294 = load x86_fp80, ptr %6, align 16 %295 = fadd x86_fp80 %294, %293 store x86_fp80 %295, ptr %6, align 16 br label %53, !llvm.loop !14 296: ; preds = %53 ret i32 0 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #2 declare i32 @sqrt(x86_fp80 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpykr4i_yv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\09.long 0x%x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x x86_fp80], align 16 %3 = alloca [5 x [5 x x86_fp80]], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca x86_fp80, align 16 %7 = alloca x86_fp80, align 16 %8 = alloca x86_fp80, align 16 %9 = alloca x86_fp80, align 16 %10 = alloca x86_fp80, align 16 %11 = alloca x86_fp80, align 16 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca x86_fp80, align 16 %17 = alloca x86_fp80, align 16 %18 = alloca x86_fp80, align 16 %19 = alloca x86_fp80, align 16 %20 = alloca x86_fp80, align 16 %21 = alloca x86_fp80, align 16 %22 = alloca x86_fp80, align 16 store i32 0, ptr %1, align 4 store x86_fp80 0xK3FF98000000000000000, ptr %10, align 16 %23 = load x86_fp80, ptr %10, align 16 %24 = fmul x86_fp80 %23, 0xK3FFE8000000000000000 store x86_fp80 %24, ptr %11, align 16 %25 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 0 %26 = call i32 @memset(ptr noundef %25, i32 noundef 0, i32 noundef 400) %27 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 0 %28 = getelementptr inbounds [5 x x86_fp80], ptr %27, i64 0, i64 0 store x86_fp80 0xK3FFF8000000000000000, ptr %28, align 16 store i32 1, ptr %4, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp slt i32 %29, 5 br i1 %30, label %.lr.ph, label %47 .lr.ph: ; preds = %0 br label %31 31: ; preds = %.lr.ph, %42 %32 = load i32, ptr %4, align 4 %33 = sub nsw i32 %32, 1 %34 = shl i32 1, %33 %35 = sitofp i32 %34 to x86_fp80 %36 = load i32, ptr %4, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 %37 %39 = load i32, ptr %4, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [5 x x86_fp80], ptr %38, i64 0, i64 %40 store x86_fp80 %35, ptr %41, align 16 br label %42 42: ; preds = %31 %43 = load i32, ptr %4, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %4, align 4 %45 = load i32, ptr %4, align 4 %46 = icmp slt i32 %45, 5 br i1 %46, label %31, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %47 47: ; preds = %._crit_edge, %0 %48 = load x86_fp80, ptr %11, align 16 %49 = fneg x86_fp80 %48 %50 = load x86_fp80, ptr %11, align 16 %51 = fmul x86_fp80 %49, %50 %52 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 2 %53 = getelementptr inbounds [5 x x86_fp80], ptr %52, i64 0, i64 0 store x86_fp80 %51, ptr %53, align 16 store x86_fp80 0xK3FFF8000000000000000, ptr %6, align 16 %54 = load x86_fp80, ptr %6, align 16 %55 = fcmp olt x86_fp80 %54, 0xK40008000000000000000 br i1 %55, label %.lr.ph20, label %306 .lr.ph20: ; preds = %47 br label %56 56: ; preds = %.lr.ph20, %300 %57 = load x86_fp80, ptr %6, align 16 %58 = load x86_fp80, ptr %10, align 16 %59 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %58, x86_fp80 0xK3FFE8000000000000000, x86_fp80 %57) store x86_fp80 %59, ptr %7, align 16 %60 = load x86_fp80, ptr %6, align 16 %61 = load x86_fp80, ptr %10, align 16 %62 = fadd x86_fp80 %60, %61 store x86_fp80 %62, ptr %8, align 16 %63 = load x86_fp80, ptr %11, align 16 %64 = load x86_fp80, ptr %7, align 16 %65 = fdiv x86_fp80 %63, %64 store x86_fp80 %65, ptr %9, align 16 %66 = load x86_fp80, ptr %7, align 16 %67 = fdiv x86_fp80 0xK3FFF8000000000000000, %66 %68 = getelementptr inbounds [5 x x86_fp80], ptr %2, i64 0, i64 0 store x86_fp80 %67, ptr %68, align 16 store i32 1, ptr %4, align 4 %69 = load i32, ptr %4, align 4 %70 = icmp slt i32 %69, 5 br i1 %70, label %.lr.ph2, label %89 .lr.ph2: ; preds = %56 br label %71 71: ; preds = %.lr.ph2, %84 %72 = load i32, ptr %4, align 4 %73 = sub nsw i32 %72, 1 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [5 x x86_fp80], ptr %2, i64 0, i64 %74 %76 = load x86_fp80, ptr %75, align 16 %77 = getelementptr inbounds [5 x x86_fp80], ptr %2, i64 0, i64 0 %78 = load x86_fp80, ptr %77, align 16 %79 = fneg x86_fp80 %78 %80 = fmul x86_fp80 %76, %79 %81 = load i32, ptr %4, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds [5 x x86_fp80], ptr %2, i64 0, i64 %82 store x86_fp80 %80, ptr %83, align 16 br label %84 84: ; preds = %71 %85 = load i32, ptr %4, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %4, align 4 %87 = load i32, ptr %4, align 4 %88 = icmp slt i32 %87, 5 br i1 %88, label %71, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %84 br label %89 89: ; preds = %._crit_edge3, %56 %90 = load x86_fp80, ptr %9, align 16 %91 = load x86_fp80, ptr %11, align 16 %92 = fmul x86_fp80 %90, %91 %93 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 1 %94 = getelementptr inbounds [5 x x86_fp80], ptr %93, i64 0, i64 0 store x86_fp80 %92, ptr %94, align 16 %95 = load x86_fp80, ptr %9, align 16 %96 = load x86_fp80, ptr %11, align 16 %97 = fmul x86_fp80 %95, %96 %98 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 2 %99 = getelementptr inbounds [5 x x86_fp80], ptr %98, i64 0, i64 1 store x86_fp80 %97, ptr %99, align 16 store i32 3, ptr %4, align 4 %100 = load i32, ptr %4, align 4 %101 = icmp slt i32 %100, 5 br i1 %101, label %.lr.ph8, label %163 .lr.ph8: ; preds = %89 br label %102 102: ; preds = %.lr.ph8, %158 %103 = load x86_fp80, ptr %11, align 16 %104 = fneg x86_fp80 %103 %105 = load x86_fp80, ptr %11, align 16 %106 = fmul x86_fp80 %104, %105 %107 = load i32, ptr %4, align 4 %108 = sub nsw i32 %107, 2 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 %109 %111 = getelementptr inbounds [5 x x86_fp80], ptr %110, i64 0, i64 0 %112 = load x86_fp80, ptr %111, align 16 %113 = fmul x86_fp80 %106, %112 %114 = load i32, ptr %4, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 %115 %117 = getelementptr inbounds [5 x x86_fp80], ptr %116, i64 0, i64 0 store x86_fp80 %113, ptr %117, align 16 store i32 1, ptr %5, align 4 %118 = load i32, ptr %5, align 4 %119 = load i32, ptr %4, align 4 %120 = icmp slt i32 %118, %119 br i1 %120, label %.lr.ph5, label %157 .lr.ph5: ; preds = %102 br label %121 121: ; preds = %.lr.ph5, %151 %122 = load i32, ptr %4, align 4 %123 = sub nsw i32 %122, 1 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 %124 %126 = load i32, ptr %5, align 4 %127 = sub nsw i32 %126, 1 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds [5 x x86_fp80], ptr %125, i64 0, i64 %128 %130 = load x86_fp80, ptr %129, align 16 %131 = load x86_fp80, ptr %11, align 16 %132 = load x86_fp80, ptr %11, align 16 %133 = fmul x86_fp80 %131, %132 %134 = load i32, ptr %4, align 4 %135 = sub nsw i32 %134, 2 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 %136 %138 = load i32, ptr %5, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds [5 x x86_fp80], ptr %137, i64 0, i64 %139 %141 = load x86_fp80, ptr %140, align 16 %142 = fmul x86_fp80 %133, %141 %143 = fneg x86_fp80 %142 %144 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 0xK40008000000000000000, x86_fp80 %130, x86_fp80 %143) %145 = load i32, ptr %4, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 %146 %148 = load i32, ptr %5, align 4 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds [5 x x86_fp80], ptr %147, i64 0, i64 %149 store x86_fp80 %144, ptr %150, align 16 br label %151 151: ; preds = %121 %152 = load i32, ptr %5, align 4 %153 = add nsw i32 %152, 1 store i32 %153, ptr %5, align 4 %154 = load i32, ptr %5, align 4 %155 = load i32, ptr %4, align 4 %156 = icmp slt i32 %154, %155 br i1 %156, label %121, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %151 br label %157 157: ; preds = %._crit_edge6, %102 br label %158 158: ; preds = %157 %159 = load i32, ptr %4, align 4 %160 = add nsw i32 %159, 1 store i32 %160, ptr %4, align 4 %161 = load i32, ptr %4, align 4 %162 = icmp slt i32 %161, 5 br i1 %162, label %102, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %158 br label %163 163: ; preds = %._crit_edge9, %89 store i32 4, ptr %4, align 4 %164 = load i32, ptr %4, align 4 %165 = icmp sgt i32 %164, 1 br i1 %165, label %.lr.ph14, label %209 .lr.ph14: ; preds = %163 br label %166 166: ; preds = %.lr.ph14, %204 %167 = load i32, ptr %4, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds [5 x x86_fp80], ptr %2, i64 0, i64 %168 %170 = load x86_fp80, ptr %169, align 16 %171 = load i32, ptr %4, align 4 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 %172 %174 = load i32, ptr %4, align 4 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds [5 x x86_fp80], ptr %173, i64 0, i64 %175 %177 = load x86_fp80, ptr %176, align 16 %178 = fdiv x86_fp80 %170, %177 store x86_fp80 %178, ptr %16, align 16 store i32 0, ptr %5, align 4 %179 = load i32, ptr %5, align 4 %180 = load i32, ptr %4, align 4 %181 = icmp slt i32 %179, %180 br i1 %181, label %.lr.ph11, label %203 .lr.ph11: ; preds = %166 br label %182 182: ; preds = %.lr.ph11, %197 %183 = load x86_fp80, ptr %16, align 16 %184 = load i32, ptr %4, align 4 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 %185 %187 = load i32, ptr %5, align 4 %188 = sext i32 %187 to i64 %189 = getelementptr inbounds [5 x x86_fp80], ptr %186, i64 0, i64 %188 %190 = load x86_fp80, ptr %189, align 16 %191 = load i32, ptr %5, align 4 %192 = sext i32 %191 to i64 %193 = getelementptr inbounds [5 x x86_fp80], ptr %2, i64 0, i64 %192 %194 = load x86_fp80, ptr %193, align 16 %195 = fneg x86_fp80 %183 %196 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %195, x86_fp80 %190, x86_fp80 %194) store x86_fp80 %196, ptr %193, align 16 br label %197 197: ; preds = %182 %198 = load i32, ptr %5, align 4 %199 = add nsw i32 %198, 1 store i32 %199, ptr %5, align 4 %200 = load i32, ptr %5, align 4 %201 = load i32, ptr %4, align 4 %202 = icmp slt i32 %200, %201 br i1 %202, label %182, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %197 br label %203 203: ; preds = %._crit_edge12, %166 br label %204 204: ; preds = %203 %205 = load i32, ptr %4, align 4 %206 = add nsw i32 %205, -1 store i32 %206, ptr %4, align 4 %207 = load i32, ptr %4, align 4 %208 = icmp sgt i32 %207, 1 br i1 %208, label %166, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %204 br label %209 209: ; preds = %._crit_edge15, %163 store i64 0, ptr %14, align 8 store i32 0, ptr %4, align 4 store i64 0, ptr %12, align 8 %210 = load i32, ptr %4, align 4 %211 = icmp slt i32 %210, 4 br i1 %211, label %.lr.ph17, label %265 .lr.ph17: ; preds = %209 br label %212 212: ; preds = %.lr.ph17, %260 %213 = getelementptr inbounds [5 x x86_fp80], ptr %2, i64 0, i64 1 %214 = load x86_fp80, ptr %213, align 16 %215 = load i64, ptr %12, align 8 %216 = sitofp i64 %215 to x86_fp80 %217 = fdiv x86_fp80 %216, 0xK40138000000000000000 %218 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %214, x86_fp80 0xK400B8000000000000000, x86_fp80 %217) %219 = fsub x86_fp80 %218, 0xK3FFE8000000000000000 %220 = fptosi x86_fp80 %219 to i64 store i64 %220, ptr %13, align 8 %221 = load i64, ptr %13, align 8 %222 = sub nsw i64 0, %221 %223 = and i64 %222, 4095 %224 = sub nsw i64 0, %223 store i64 %224, ptr %13, align 8 %225 = load i64, ptr %13, align 8 %226 = sub nsw i64 0, %225 %227 = shl i64 %226, 20 %228 = trunc i64 %227 to i32 %229 = zext i32 %228 to i64 %230 = load i64, ptr %12, align 8 %231 = or i64 %229, %230 %232 = sitofp i64 %231 to x86_fp80 %233 = fdiv x86_fp80 %232, 0xKC01F8000000000000000 store x86_fp80 %233, ptr %18, align 16 %234 = getelementptr inbounds [5 x x86_fp80], ptr %2, i64 0, i64 0 %235 = load x86_fp80, ptr %234, align 16 %236 = getelementptr inbounds [5 x x86_fp80], ptr %2, i64 0, i64 1 %237 = load x86_fp80, ptr %236, align 16 %238 = load x86_fp80, ptr %18, align 16 %239 = fsub x86_fp80 %237, %238 %240 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 1 %241 = getelementptr inbounds [5 x x86_fp80], ptr %240, i64 0, i64 1 %242 = load x86_fp80, ptr %241, align 16 %243 = fdiv x86_fp80 %239, %242 %244 = getelementptr inbounds [5 x [5 x x86_fp80]], ptr %3, i64 0, i64 1 %245 = getelementptr inbounds [5 x x86_fp80], ptr %244, i64 0, i64 0 %246 = load x86_fp80, ptr %245, align 16 %247 = fneg x86_fp80 %243 %248 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %247, x86_fp80 %246, x86_fp80 %235) %249 = load x86_fp80, ptr %7, align 16 %250 = fsub x86_fp80 %249, 0xK3FFF8000000000000000 %251 = load x86_fp80, ptr %18, align 16 %252 = fneg x86_fp80 %250 %253 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %252, x86_fp80 %251, x86_fp80 %248) store x86_fp80 %253, ptr %17, align 16 %254 = load x86_fp80, ptr %17, align 16 %255 = fmul x86_fp80 %254, 0xK40098000000000000000 %256 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %255, x86_fp80 0xK40098000000000000000, x86_fp80 0xK3FFE8000000000000000) %257 = fptosi x86_fp80 %256 to i64 store i64 %257, ptr %12, align 8 %258 = load i64, ptr %12, align 8 %259 = and i64 %258, 1048575 store i64 %259, ptr %12, align 8 br label %260 260: ; preds = %212 %261 = load i32, ptr %4, align 4 %262 = add nsw i32 %261, 1 store i32 %262, ptr %4, align 4 %263 = load i32, ptr %4, align 4 %264 = icmp slt i32 %263, 4 br i1 %264, label %212, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %260 br label %265 265: ; preds = %._crit_edge18, %209 %266 = load i64, ptr %13, align 8 %267 = sub nsw i64 0, %266 %268 = shl i64 %267, 20 %269 = trunc i64 %268 to i32 %270 = zext i32 %269 to i64 %271 = load i64, ptr %12, align 8 %272 = or i64 %270, %271 store i64 %272, ptr %15, align 8 %273 = load i64, ptr %15, align 8 %274 = trunc i64 %273 to i32 %275 = uitofp i32 %274 to double %276 = fdiv double %275, -6.553600e+04 %277 = fdiv double %276, 6.553600e+04 %278 = fpext double %277 to x86_fp80 store x86_fp80 %278, ptr %19, align 16 %279 = load i64, ptr %15, align 8 %280 = shl i64 %279, 12 %281 = trunc i64 %280 to i32 %282 = uitofp i32 %281 to double %283 = fdiv double %282, 6.553600e+04 %284 = fdiv double %283, 6.553600e+04 %285 = fpext double %284 to x86_fp80 store x86_fp80 %285, ptr %20, align 16 %286 = load x86_fp80, ptr %19, align 16 %287 = fneg x86_fp80 %286 %288 = call i32 @sqrt(x86_fp80 noundef %287) %289 = sitofp i32 %288 to double %290 = fdiv double 1.000000e+00, %289 %291 = fpext double %290 to x86_fp80 store x86_fp80 %291, ptr %21, align 16 %292 = load x86_fp80, ptr %20, align 16 %293 = fneg x86_fp80 %292 %294 = fmul x86_fp80 0xK3FFE8000000000000000, %293 %295 = load x86_fp80, ptr %19, align 16 %296 = fdiv x86_fp80 %294, %295 %297 = fadd x86_fp80 0xK3FFE8000000000000000, %296 store x86_fp80 %297, ptr %22, align 16 %298 = load i64, ptr %15, align 8 %299 = call i32 @printf(ptr noundef @.str, i64 noundef %298) br label %300 300: ; preds = %265 %301 = load x86_fp80, ptr %10, align 16 %302 = load x86_fp80, ptr %6, align 16 %303 = fadd x86_fp80 %302, %301 store x86_fp80 %303, ptr %6, align 16 %304 = load x86_fp80, ptr %6, align 16 %305 = fcmp olt x86_fp80 %304, 0xK40008000000000000000 br i1 %305, label %56, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %300 br label %306 306: ; preds = %._crit_edge21, %47 ret i32 0 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #2 declare i32 @sqrt(x86_fp80 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '/tmp/tmpc66t3e6s.c' source_filename = "/tmp/tmpc66t3e6s.c" target datalayout = "e-m:e-p270: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/tmpc66t3e6s.c" target datalayout = "e-m:e-p270: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/tmpp_irnp0a.c' source_filename = "/tmp/tmpp_irnp0a.c" target datalayout = "e-m:e-p270: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/tmpp_irnp0a.c" target datalayout = "e-m:e-p270: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/tmpet6srx87.c' source_filename = "/tmp/tmpet6srx87.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strspn(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %5, align 8 br label %8 8: ; preds = %37, %2 %9 = load ptr, ptr %5, align 8 %10 = load i8, ptr %9, align 1 %11 = icmp ne i8 %10, 0 br i1 %11, label %12, label %40 12: ; preds = %8 %13 = load ptr, ptr %4, align 8 store ptr %13, ptr %6, align 8 br label %14 14: ; preds = %28, %12 %15 = load ptr, ptr %6, align 8 %16 = load i8, ptr %15, align 1 %17 = icmp ne i8 %16, 0 br i1 %17, label %18, label %31 18: ; preds = %14 %19 = load ptr, ptr %5, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = load ptr, ptr %6, align 8 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %21, %24 br i1 %25, label %26, label %27 26: ; preds = %18 br label %31 27: ; preds = %18 br label %28 28: ; preds = %27 %29 = load ptr, ptr %6, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %6, align 8 br label %14, !llvm.loop !6 31: ; preds = %26, %14 %32 = load ptr, ptr %6, align 8 %33 = load i8, ptr %32, align 1 %34 = icmp ne i8 %33, 0 br i1 %34, label %36, label %35 35: ; preds = %31 br label %40 36: ; preds = %31 br label %37 37: ; preds = %36 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds i8, ptr %38, i32 1 store ptr %39, ptr %5, align 8 br label %8, !llvm.loop !8 40: ; preds = %35, %8 %41 = load ptr, ptr %5, align 8 %42 = load ptr, ptr %3, align 8 %43 = ptrtoint ptr %41 to i64 %44 = ptrtoint ptr %42 to i64 %45 = sub i64 %43, %44 ret i64 %45 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpet6srx87.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strspn(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i8, ptr %8, align 1 %10 = icmp ne i8 %9, 0 br i1 %10, label %.lr.ph2, label %.loopexit1 .lr.ph2: ; preds = %2 br label %11 11: ; preds = %.lr.ph2, %38 %12 = load ptr, ptr %4, align 8 store ptr %12, ptr %6, align 8 %13 = load ptr, ptr %6, align 8 %14 = load i8, ptr %13, align 1 %15 = icmp ne i8 %14, 0 br i1 %15, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %11 br label %16 16: ; preds = %.lr.ph, %26 %17 = load ptr, ptr %5, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = load ptr, ptr %6, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %19, %22 br i1 %23, label %24, label %25 24: ; preds = %16 br label %32 25: ; preds = %16 br label %26 26: ; preds = %25 %27 = load ptr, ptr %6, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %6, align 8 %29 = load ptr, ptr %6, align 8 %30 = load i8, ptr %29, align 1 %31 = icmp ne i8 %30, 0 br i1 %31, label %16, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %26 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %11 br label %32 32: ; preds = %.loopexit, %24 %33 = load ptr, ptr %6, align 8 %34 = load i8, ptr %33, align 1 %35 = icmp ne i8 %34, 0 br i1 %35, label %37, label %36 36: ; preds = %32 br label %44 37: ; preds = %32 br label %38 38: ; preds = %37 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds i8, ptr %39, i32 1 store ptr %40, ptr %5, align 8 %41 = load ptr, ptr %5, align 8 %42 = load i8, ptr %41, align 1 %43 = icmp ne i8 %42, 0 br i1 %43, label %11, label %..loopexit1_crit_edge, !llvm.loop !8 ..loopexit1_crit_edge: ; preds = %38 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %2 br label %44 44: ; preds = %.loopexit1, %36 %45 = load ptr, ptr %5, align 8 %46 = load ptr, ptr %3, align 8 %47 = ptrtoint ptr %45 to i64 %48 = ptrtoint ptr %46 to i64 %49 = sub i64 %47, %48 ret i64 %49 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpi1h1shdv.c' source_filename = "/tmp/tmpi1h1shdv.c" target datalayout = "e-m:e-p270: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/tmpi1h1shdv.c" target datalayout = "e-m:e-p270: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/tmpj3wp2txb.c' source_filename = "/tmp/tmpj3wp2txb.c" target datalayout = "e-m:e-p270: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/tmpj3wp2txb.c" target datalayout = "e-m:e-p270: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/tmp6zg31j55.c' source_filename = "/tmp/tmp6zg31j55.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @get_XEvent_xproperty_atom(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 ret i64 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6zg31j55.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @get_XEvent_xproperty_atom(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 ret i64 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppjo4wcwl.c' source_filename = "/tmp/tmppjo4wcwl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"<>\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"-=&|<>\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"<>!&+-*/%^|\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"=&|^\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"!+-*%/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @opt_code(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %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 store ptr %0, ptr %3, align 8 %12 = load ptr, ptr %3, align 8 %13 = call i32 @str_length(ptr noundef %12) store i32 %13, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp eq i32 %14, 3 br i1 %15, label %16, label %54 16: ; preds = %1 store ptr @.str, ptr %7, align 8 store i32 0, ptr %6, align 4 br label %17 17: ; preds = %50, %16 %18 = load i32, ptr %6, align 4 %19 = icmp slt i32 %18, 2 br i1 %19, label %20, label %53 20: ; preds = %17 %21 = load ptr, ptr %3, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 0 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = load ptr, ptr %3, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 1 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %24, %28 br i1 %29, label %30, label %49 30: ; preds = %20 %31 = load ptr, ptr %3, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 0 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %6, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %34, %40 br i1 %41, label %42, label %49 42: ; preds = %30 %43 = load ptr, ptr %3, align 8 %44 = getelementptr inbounds i8, ptr %43, i64 2 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp eq i32 %46, 61 br i1 %47, label %48, label %49 48: ; preds = %42 store i32 0, ptr %2, align 4 br label %194 49: ; preds = %42, %30, %20 br label %50 50: ; preds = %49 %51 = load i32, ptr %6, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %6, align 4 br label %17, !llvm.loop !6 53: ; preds = %17 br label %54 54: ; preds = %53, %1 %55 = load i32, ptr %4, align 4 %56 = icmp sgt i32 %55, 2 br i1 %56, label %57, label %58 57: ; preds = %54 store i32 -1, ptr %2, align 4 br label %194 58: ; preds = %54 store ptr @.str.1, ptr %8, align 8 %59 = load ptr, ptr %8, align 8 %60 = call i32 @str_length(ptr noundef %59) store i32 %60, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %61 61: ; preds = %89, %58 %62 = load i32, ptr %6, align 4 %63 = load i32, ptr %5, align 4 %64 = icmp slt i32 %62, %63 br i1 %64, label %65, label %92 65: ; preds = %61 %66 = load ptr, ptr %3, align 8 %67 = getelementptr inbounds i8, ptr %66, i64 0 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = load ptr, ptr %3, align 8 %71 = getelementptr inbounds i8, ptr %70, i64 1 %72 = load i8, ptr %71, align 1 %73 = sext i8 %72 to i32 %74 = icmp eq i32 %69, %73 br i1 %74, label %75, label %88 75: ; preds = %65 %76 = load ptr, ptr %3, align 8 %77 = getelementptr inbounds i8, ptr %76, i64 1 %78 = load i8, ptr %77, align 1 %79 = sext i8 %78 to i32 %80 = load ptr, ptr %8, align 8 %81 = load i32, ptr %6, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i8, ptr %80, i64 %82 %84 = load i8, ptr %83, align 1 %85 = sext i8 %84 to i32 %86 = icmp eq i32 %79, %85 br i1 %86, label %87, label %88 87: ; preds = %75 store i32 0, ptr %2, align 4 br label %194 88: ; preds = %75, %65 br label %89 89: ; preds = %88 %90 = load i32, ptr %6, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %6, align 4 br label %61, !llvm.loop !8 92: ; preds = %61 store ptr @.str.2, ptr %9, align 8 %93 = load ptr, ptr %9, align 8 %94 = call i32 @str_length(ptr noundef %93) store i32 %94, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %95 95: ; preds = %119, %92 %96 = load i32, ptr %6, align 4 %97 = load i32, ptr %5, align 4 %98 = icmp slt i32 %96, %97 br i1 %98, label %99, label %122 99: ; preds = %95 %100 = load ptr, ptr %3, align 8 %101 = getelementptr inbounds i8, ptr %100, i64 0 %102 = load i8, ptr %101, align 1 %103 = sext i8 %102 to i32 %104 = load ptr, ptr %9, align 8 %105 = load i32, ptr %6, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds i8, ptr %104, i64 %106 %108 = load i8, ptr %107, align 1 %109 = sext i8 %108 to i32 %110 = icmp eq i32 %103, %109 br i1 %110, label %111, label %118 111: ; preds = %99 %112 = load ptr, ptr %3, align 8 %113 = getelementptr inbounds i8, ptr %112, i64 1 %114 = load i8, ptr %113, align 1 %115 = sext i8 %114 to i32 %116 = icmp eq i32 %115, 61 br i1 %116, label %117, label %118 117: ; preds = %111 store i32 0, ptr %2, align 4 br label %194 118: ; preds = %111, %99 br label %119 119: ; preds = %118 %120 = load i32, ptr %6, align 4 %121 = add nsw i32 %120, 1 store i32 %121, ptr %6, align 4 br label %95, !llvm.loop !9 122: ; preds = %95 %123 = load ptr, ptr %3, align 8 %124 = getelementptr inbounds i8, ptr %123, i64 0 %125 = load i8, ptr %124, align 1 %126 = sext i8 %125 to i32 %127 = load ptr, ptr %3, align 8 %128 = getelementptr inbounds i8, ptr %127, i64 1 %129 = load i8, ptr %128, align 1 %130 = sext i8 %129 to i32 %131 = icmp eq i32 %126, %130 br i1 %131, label %132, label %139 132: ; preds = %122 %133 = load ptr, ptr %3, align 8 %134 = getelementptr inbounds i8, ptr %133, i64 1 %135 = load i8, ptr %134, align 1 %136 = sext i8 %135 to i32 %137 = icmp eq i32 %136, 43 br i1 %137, label %138, label %139 138: ; preds = %132 store i32 1, ptr %2, align 4 br label %194 139: ; preds = %132, %122 %140 = load i32, ptr %4, align 4 %141 = icmp sgt i32 %140, 1 br i1 %141, label %142, label %143 142: ; preds = %139 store i32 -1, ptr %2, align 4 br label %194 143: ; preds = %139 store ptr @.str.3, ptr %10, align 8 %144 = load ptr, ptr %10, align 8 %145 = call i32 @str_length(ptr noundef %144) store i32 %145, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %146 146: ; preds = %164, %143 %147 = load i32, ptr %6, align 4 %148 = load i32, ptr %5, align 4 %149 = icmp slt i32 %147, %148 br i1 %149, label %150, label %167 150: ; preds = %146 %151 = load ptr, ptr %3, align 8 %152 = getelementptr inbounds i8, ptr %151, i64 0 %153 = load i8, ptr %152, align 1 %154 = sext i8 %153 to i32 %155 = load ptr, ptr %10, align 8 %156 = load i32, ptr %6, align 4 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds i8, ptr %155, i64 %157 %159 = load i8, ptr %158, align 1 %160 = sext i8 %159 to i32 %161 = icmp eq i32 %154, %160 br i1 %161, label %162, label %163 162: ; preds = %150 store i32 0, ptr %2, align 4 br label %194 163: ; preds = %150 br label %164 164: ; preds = %163 %165 = load i32, ptr %6, align 4 %166 = add nsw i32 %165, 1 store i32 %166, ptr %6, align 4 br label %146, !llvm.loop !10 167: ; preds = %146 store ptr @.str.4, ptr %11, align 8 %168 = load ptr, ptr %11, align 8 %169 = call i32 @str_length(ptr noundef %168) store i32 %169, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %170 170: ; preds = %190, %167 %171 = load i32, ptr %6, align 4 %172 = load i32, ptr %5, align 4 %173 = icmp slt i32 %171, %172 br i1 %173, label %174, label %193 174: ; preds = %170 %175 = load ptr, ptr %3, align 8 %176 = getelementptr inbounds i8, ptr %175, i64 0 %177 = load i8, ptr %176, align 1 %178 = sext i8 %177 to i32 %179 = load ptr, ptr %11, align 8 %180 = load i32, ptr %6, align 4 %181 = sext i32 %180 to i64 %182 = getelementptr inbounds i8, ptr %179, i64 %181 %183 = load i8, ptr %182, align 1 %184 = sext i8 %183 to i32 %185 = icmp eq i32 %178, %184 br i1 %185, label %186, label %189 186: ; preds = %174 %187 = load i32, ptr %6, align 4 %188 = add nsw i32 %187, 2 store i32 %188, ptr %2, align 4 br label %194 189: ; preds = %174 br label %190 190: ; preds = %189 %191 = load i32, ptr %6, align 4 %192 = add nsw i32 %191, 1 store i32 %192, ptr %6, align 4 br label %170, !llvm.loop !11 193: ; preds = %170 store i32 -1, ptr %2, align 4 br label %194 194: ; preds = %193, %186, %162, %142, %138, %117, %87, %57, %48 %195 = load i32, ptr %2, align 4 ret i32 %195 } declare i32 @str_length(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppjo4wcwl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"<>\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"-=&|<>\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"<>!&+-*/%^|\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"=&|^\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"!+-*%/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @opt_code(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %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 store ptr %0, ptr %3, align 8 %12 = load ptr, ptr %3, align 8 %13 = call i32 @str_length(ptr noundef %12) store i32 %13, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp eq i32 %14, 3 br i1 %15, label %16, label %55 16: ; preds = %1 store ptr @.str, ptr %7, align 8 store i32 0, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp slt i32 %17, 2 br i1 %18, label %.lr.ph, label %54 .lr.ph: ; preds = %16 br label %19 19: ; preds = %.lr.ph, %49 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 0 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 1 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %23, %27 br i1 %28, label %29, label %48 29: ; preds = %19 %30 = load ptr, ptr %3, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 0 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = load ptr, ptr %7, align 8 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %33, %39 br i1 %40, label %41, label %48 41: ; preds = %29 %42 = load ptr, ptr %3, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 2 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 61 br i1 %46, label %47, label %48 47: ; preds = %41 store i32 0, ptr %2, align 4 br label %203 48: ; preds = %41, %29, %19 br label %49 49: ; preds = %48 %50 = load i32, ptr %6, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %6, align 4 %52 = load i32, ptr %6, align 4 %53 = icmp slt i32 %52, 2 br i1 %53, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %49 br label %54 54: ; preds = %._crit_edge, %16 br label %55 55: ; preds = %54, %1 %56 = load i32, ptr %4, align 4 %57 = icmp sgt i32 %56, 2 br i1 %57, label %58, label %59 58: ; preds = %55 store i32 -1, ptr %2, align 4 br label %203 59: ; preds = %55 store ptr @.str.1, ptr %8, align 8 %60 = load ptr, ptr %8, align 8 %61 = call i32 @str_length(ptr noundef %60) store i32 %61, ptr %5, align 4 store i32 0, ptr %6, align 4 %62 = load i32, ptr %6, align 4 %63 = load i32, ptr %5, align 4 %64 = icmp slt i32 %62, %63 br i1 %64, label %.lr.ph2, label %95 .lr.ph2: ; preds = %59 br label %65 65: ; preds = %.lr.ph2, %89 %66 = load ptr, ptr %3, align 8 %67 = getelementptr inbounds i8, ptr %66, i64 0 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = load ptr, ptr %3, align 8 %71 = getelementptr inbounds i8, ptr %70, i64 1 %72 = load i8, ptr %71, align 1 %73 = sext i8 %72 to i32 %74 = icmp eq i32 %69, %73 br i1 %74, label %75, label %88 75: ; preds = %65 %76 = load ptr, ptr %3, align 8 %77 = getelementptr inbounds i8, ptr %76, i64 1 %78 = load i8, ptr %77, align 1 %79 = sext i8 %78 to i32 %80 = load ptr, ptr %8, align 8 %81 = load i32, ptr %6, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i8, ptr %80, i64 %82 %84 = load i8, ptr %83, align 1 %85 = sext i8 %84 to i32 %86 = icmp eq i32 %79, %85 br i1 %86, label %87, label %88 87: ; preds = %75 store i32 0, ptr %2, align 4 br label %203 88: ; preds = %75, %65 br label %89 89: ; preds = %88 %90 = load i32, ptr %6, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %6, align 4 %92 = load i32, ptr %6, align 4 %93 = load i32, ptr %5, align 4 %94 = icmp slt i32 %92, %93 br i1 %94, label %65, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %89 br label %95 95: ; preds = %._crit_edge3, %59 store ptr @.str.2, ptr %9, align 8 %96 = load ptr, ptr %9, align 8 %97 = call i32 @str_length(ptr noundef %96) store i32 %97, ptr %5, align 4 store i32 0, ptr %6, align 4 %98 = load i32, ptr %6, align 4 %99 = load i32, ptr %5, align 4 %100 = icmp slt i32 %98, %99 br i1 %100, label %.lr.ph5, label %127 .lr.ph5: ; preds = %95 br label %101 101: ; preds = %.lr.ph5, %121 %102 = load ptr, ptr %3, align 8 %103 = getelementptr inbounds i8, ptr %102, i64 0 %104 = load i8, ptr %103, align 1 %105 = sext i8 %104 to i32 %106 = load ptr, ptr %9, align 8 %107 = load i32, ptr %6, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds i8, ptr %106, i64 %108 %110 = load i8, ptr %109, align 1 %111 = sext i8 %110 to i32 %112 = icmp eq i32 %105, %111 br i1 %112, label %113, label %120 113: ; preds = %101 %114 = load ptr, ptr %3, align 8 %115 = getelementptr inbounds i8, ptr %114, i64 1 %116 = load i8, ptr %115, align 1 %117 = sext i8 %116 to i32 %118 = icmp eq i32 %117, 61 br i1 %118, label %119, label %120 119: ; preds = %113 store i32 0, ptr %2, align 4 br label %203 120: ; preds = %113, %101 br label %121 121: ; preds = %120 %122 = load i32, ptr %6, align 4 %123 = add nsw i32 %122, 1 store i32 %123, ptr %6, align 4 %124 = load i32, ptr %6, align 4 %125 = load i32, ptr %5, align 4 %126 = icmp slt i32 %124, %125 br i1 %126, label %101, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %121 br label %127 127: ; preds = %._crit_edge6, %95 %128 = load ptr, ptr %3, align 8 %129 = getelementptr inbounds i8, ptr %128, i64 0 %130 = load i8, ptr %129, align 1 %131 = sext i8 %130 to i32 %132 = load ptr, ptr %3, align 8 %133 = getelementptr inbounds i8, ptr %132, i64 1 %134 = load i8, ptr %133, align 1 %135 = sext i8 %134 to i32 %136 = icmp eq i32 %131, %135 br i1 %136, label %137, label %144 137: ; preds = %127 %138 = load ptr, ptr %3, align 8 %139 = getelementptr inbounds i8, ptr %138, i64 1 %140 = load i8, ptr %139, align 1 %141 = sext i8 %140 to i32 %142 = icmp eq i32 %141, 43 br i1 %142, label %143, label %144 143: ; preds = %137 store i32 1, ptr %2, align 4 br label %203 144: ; preds = %137, %127 %145 = load i32, ptr %4, align 4 %146 = icmp sgt i32 %145, 1 br i1 %146, label %147, label %148 147: ; preds = %144 store i32 -1, ptr %2, align 4 br label %203 148: ; preds = %144 store ptr @.str.3, ptr %10, align 8 %149 = load ptr, ptr %10, align 8 %150 = call i32 @str_length(ptr noundef %149) store i32 %150, ptr %5, align 4 store i32 0, ptr %6, align 4 %151 = load i32, ptr %6, align 4 %152 = load i32, ptr %5, align 4 %153 = icmp slt i32 %151, %152 br i1 %153, label %.lr.ph8, label %174 .lr.ph8: ; preds = %148 br label %154 154: ; preds = %.lr.ph8, %168 %155 = load ptr, ptr %3, align 8 %156 = getelementptr inbounds i8, ptr %155, i64 0 %157 = load i8, ptr %156, align 1 %158 = sext i8 %157 to i32 %159 = load ptr, ptr %10, align 8 %160 = load i32, ptr %6, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds i8, ptr %159, i64 %161 %163 = load i8, ptr %162, align 1 %164 = sext i8 %163 to i32 %165 = icmp eq i32 %158, %164 br i1 %165, label %166, label %167 166: ; preds = %154 store i32 0, ptr %2, align 4 br label %203 167: ; preds = %154 br label %168 168: ; preds = %167 %169 = load i32, ptr %6, align 4 %170 = add nsw i32 %169, 1 store i32 %170, ptr %6, align 4 %171 = load i32, ptr %6, align 4 %172 = load i32, ptr %5, align 4 %173 = icmp slt i32 %171, %172 br i1 %173, label %154, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %168 br label %174 174: ; preds = %._crit_edge9, %148 store ptr @.str.4, ptr %11, align 8 %175 = load ptr, ptr %11, align 8 %176 = call i32 @str_length(ptr noundef %175) store i32 %176, ptr %5, align 4 store i32 0, ptr %6, align 4 %177 = load i32, ptr %6, align 4 %178 = load i32, ptr %5, align 4 %179 = icmp slt i32 %177, %178 br i1 %179, label %.lr.ph11, label %202 .lr.ph11: ; preds = %174 br label %180 180: ; preds = %.lr.ph11, %196 %181 = load ptr, ptr %3, align 8 %182 = getelementptr inbounds i8, ptr %181, i64 0 %183 = load i8, ptr %182, align 1 %184 = sext i8 %183 to i32 %185 = load ptr, ptr %11, align 8 %186 = load i32, ptr %6, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds i8, ptr %185, i64 %187 %189 = load i8, ptr %188, align 1 %190 = sext i8 %189 to i32 %191 = icmp eq i32 %184, %190 br i1 %191, label %192, label %195 192: ; preds = %180 %193 = load i32, ptr %6, align 4 %194 = add nsw i32 %193, 2 store i32 %194, ptr %2, align 4 br label %203 195: ; preds = %180 br label %196 196: ; preds = %195 %197 = load i32, ptr %6, align 4 %198 = add nsw i32 %197, 1 store i32 %198, ptr %6, align 4 %199 = load i32, ptr %6, align 4 %200 = load i32, ptr %5, align 4 %201 = icmp slt i32 %199, %200 br i1 %201, label %180, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %196 br label %202 202: ; preds = %._crit_edge12, %174 store i32 -1, ptr %2, align 4 br label %203 203: ; preds = %202, %192, %166, %147, %143, %119, %87, %58, %47 %204 = load i32, ptr %2, align 4 ret i32 %204 } declare i32 @str_length(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmp12n_81jm.c' source_filename = "/tmp/tmp12n_81jm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [15 x i8] c"Right Triangle\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"Acute Triangle\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"Obtuse Triangle\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"Invalid Triangle\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 store i32 0, ptr %1, align 4 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4) %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp sgt i32 %10, %11 br i1 %12, label %13, label %19 13: ; preds = %0 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp sgt i32 %14, %15 br i1 %16, label %17, label %19 17: ; preds = %13 %18 = load i32, ptr %2, align 4 store i32 %18, ptr %5, align 4 br label %19 19: ; preds = %17, %13, %0 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp sgt i32 %20, %21 br i1 %22, label %23, label %29 23: ; preds = %19 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %2, align 4 %26 = icmp sgt i32 %24, %25 br i1 %26, label %27, label %29 27: ; preds = %23 %28 = load i32, ptr %4, align 4 store i32 %28, ptr %5, align 4 br label %29 29: ; preds = %27, %23, %19 %30 = load i32, ptr %3, align 4 %31 = load i32, ptr %4, align 4 %32 = icmp sgt i32 %30, %31 br i1 %32, label %33, label %39 33: ; preds = %29 %34 = load i32, ptr %3, align 4 %35 = load i32, ptr %2, align 4 %36 = icmp sgt i32 %34, %35 br i1 %36, label %37, label %39 37: ; preds = %33 %38 = load i32, ptr %3, align 4 store i32 %38, ptr %5, align 4 br label %39 39: ; preds = %37, %33, %29 %40 = load i32, ptr %2, align 4 %41 = load i32, ptr %3, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %43, label %49 43: ; preds = %39 %44 = load i32, ptr %2, align 4 %45 = load i32, ptr %4, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %47, label %49 47: ; preds = %43 %48 = load i32, ptr %2, align 4 store i32 %48, ptr %6, align 4 br label %49 49: ; preds = %47, %43, %39 %50 = load i32, ptr %4, align 4 %51 = load i32, ptr %3, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %53, label %59 53: ; preds = %49 %54 = load i32, ptr %4, align 4 %55 = load i32, ptr %2, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %57, label %59 57: ; preds = %53 %58 = load i32, ptr %4, align 4 store i32 %58, ptr %6, align 4 br label %59 59: ; preds = %57, %53, %49 %60 = load i32, ptr %3, align 4 %61 = load i32, ptr %4, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %63, label %69 63: ; preds = %59 %64 = load i32, ptr %3, align 4 %65 = load i32, ptr %2, align 4 %66 = icmp slt i32 %64, %65 br i1 %66, label %67, label %69 67: ; preds = %63 %68 = load i32, ptr %3, align 4 store i32 %68, ptr %6, align 4 br label %69 69: ; preds = %67, %63, %59 %70 = load i32, ptr %2, align 4 %71 = load i32, ptr %6, align 4 %72 = icmp ne i32 %70, %71 br i1 %72, label %73, label %79 73: ; preds = %69 %74 = load i32, ptr %2, align 4 %75 = load i32, ptr %5, align 4 %76 = icmp ne i32 %74, %75 br i1 %76, label %77, label %79 77: ; preds = %73 %78 = load i32, ptr %2, align 4 store i32 %78, ptr %7, align 4 br label %79 79: ; preds = %77, %73, %69 %80 = load i32, ptr %3, align 4 %81 = load i32, ptr %6, align 4 %82 = icmp ne i32 %80, %81 br i1 %82, label %83, label %89 83: ; preds = %79 %84 = load i32, ptr %3, align 4 %85 = load i32, ptr %5, align 4 %86 = icmp ne i32 %84, %85 br i1 %86, label %87, label %89 87: ; preds = %83 %88 = load i32, ptr %3, align 4 store i32 %88, ptr %7, align 4 br label %89 89: ; preds = %87, %83, %79 %90 = load i32, ptr %4, align 4 %91 = load i32, ptr %6, align 4 %92 = icmp ne i32 %90, %91 br i1 %92, label %93, label %99 93: ; preds = %89 %94 = load i32, ptr %4, align 4 %95 = load i32, ptr %5, align 4 %96 = icmp ne i32 %94, %95 br i1 %96, label %97, label %99 97: ; preds = %93 %98 = load i32, ptr %4, align 4 store i32 %98, ptr %7, align 4 br label %99 99: ; preds = %97, %93, %89 %100 = load i32, ptr %6, align 4 %101 = load i32, ptr %7, align 4 %102 = add nsw i32 %100, %101 %103 = load i32, ptr %5, align 4 %104 = icmp sgt i32 %102, %103 br i1 %104, label %105, label %132 105: ; preds = %99 %106 = load i32, ptr %6, align 4 %107 = load i32, ptr %6, align 4 %108 = mul nsw i32 %106, %107 %109 = load i32, ptr %7, align 4 %110 = load i32, ptr %7, align 4 %111 = mul nsw i32 %109, %110 %112 = add nsw i32 %108, %111 %113 = load i32, ptr %5, align 4 %114 = load i32, ptr %5, align 4 %115 = mul nsw i32 %113, %114 %116 = sub nsw i32 %112, %115 store i32 %116, ptr %8, align 4 %117 = load i32, ptr %8, align 4 %118 = icmp eq i32 %117, 0 br i1 %118, label %119, label %121 119: ; preds = %105 %120 = call i32 @printf(ptr noundef @.str.1) br label %121 121: ; preds = %119, %105 %122 = load i32, ptr %8, align 4 %123 = icmp sgt i32 %122, 0 br i1 %123, label %124, label %126 124: ; preds = %121 %125 = call i32 @printf(ptr noundef @.str.2) br label %126 126: ; preds = %124, %121 %127 = load i32, ptr %8, align 4 %128 = icmp slt i32 %127, 0 br i1 %128, label %129, label %131 129: ; preds = %126 %130 = call i32 @printf(ptr noundef @.str.3) br label %131 131: ; preds = %129, %126 br label %134 132: ; preds = %99 %133 = call i32 @printf(ptr noundef @.str.4) br label %134 134: ; preds = %132, %131 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp12n_81jm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [15 x i8] c"Right Triangle\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"Acute Triangle\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"Obtuse Triangle\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"Invalid Triangle\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 store i32 0, ptr %1, align 4 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4) %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp sgt i32 %10, %11 br i1 %12, label %13, label %19 13: ; preds = %0 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp sgt i32 %14, %15 br i1 %16, label %17, label %19 17: ; preds = %13 %18 = load i32, ptr %2, align 4 store i32 %18, ptr %5, align 4 br label %19 19: ; preds = %17, %13, %0 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp sgt i32 %20, %21 br i1 %22, label %23, label %29 23: ; preds = %19 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %2, align 4 %26 = icmp sgt i32 %24, %25 br i1 %26, label %27, label %29 27: ; preds = %23 %28 = load i32, ptr %4, align 4 store i32 %28, ptr %5, align 4 br label %29 29: ; preds = %27, %23, %19 %30 = load i32, ptr %3, align 4 %31 = load i32, ptr %4, align 4 %32 = icmp sgt i32 %30, %31 br i1 %32, label %33, label %39 33: ; preds = %29 %34 = load i32, ptr %3, align 4 %35 = load i32, ptr %2, align 4 %36 = icmp sgt i32 %34, %35 br i1 %36, label %37, label %39 37: ; preds = %33 %38 = load i32, ptr %3, align 4 store i32 %38, ptr %5, align 4 br label %39 39: ; preds = %37, %33, %29 %40 = load i32, ptr %2, align 4 %41 = load i32, ptr %3, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %43, label %49 43: ; preds = %39 %44 = load i32, ptr %2, align 4 %45 = load i32, ptr %4, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %47, label %49 47: ; preds = %43 %48 = load i32, ptr %2, align 4 store i32 %48, ptr %6, align 4 br label %49 49: ; preds = %47, %43, %39 %50 = load i32, ptr %4, align 4 %51 = load i32, ptr %3, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %53, label %59 53: ; preds = %49 %54 = load i32, ptr %4, align 4 %55 = load i32, ptr %2, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %57, label %59 57: ; preds = %53 %58 = load i32, ptr %4, align 4 store i32 %58, ptr %6, align 4 br label %59 59: ; preds = %57, %53, %49 %60 = load i32, ptr %3, align 4 %61 = load i32, ptr %4, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %63, label %69 63: ; preds = %59 %64 = load i32, ptr %3, align 4 %65 = load i32, ptr %2, align 4 %66 = icmp slt i32 %64, %65 br i1 %66, label %67, label %69 67: ; preds = %63 %68 = load i32, ptr %3, align 4 store i32 %68, ptr %6, align 4 br label %69 69: ; preds = %67, %63, %59 %70 = load i32, ptr %2, align 4 %71 = load i32, ptr %6, align 4 %72 = icmp ne i32 %70, %71 br i1 %72, label %73, label %79 73: ; preds = %69 %74 = load i32, ptr %2, align 4 %75 = load i32, ptr %5, align 4 %76 = icmp ne i32 %74, %75 br i1 %76, label %77, label %79 77: ; preds = %73 %78 = load i32, ptr %2, align 4 store i32 %78, ptr %7, align 4 br label %79 79: ; preds = %77, %73, %69 %80 = load i32, ptr %3, align 4 %81 = load i32, ptr %6, align 4 %82 = icmp ne i32 %80, %81 br i1 %82, label %83, label %89 83: ; preds = %79 %84 = load i32, ptr %3, align 4 %85 = load i32, ptr %5, align 4 %86 = icmp ne i32 %84, %85 br i1 %86, label %87, label %89 87: ; preds = %83 %88 = load i32, ptr %3, align 4 store i32 %88, ptr %7, align 4 br label %89 89: ; preds = %87, %83, %79 %90 = load i32, ptr %4, align 4 %91 = load i32, ptr %6, align 4 %92 = icmp ne i32 %90, %91 br i1 %92, label %93, label %99 93: ; preds = %89 %94 = load i32, ptr %4, align 4 %95 = load i32, ptr %5, align 4 %96 = icmp ne i32 %94, %95 br i1 %96, label %97, label %99 97: ; preds = %93 %98 = load i32, ptr %4, align 4 store i32 %98, ptr %7, align 4 br label %99 99: ; preds = %97, %93, %89 %100 = load i32, ptr %6, align 4 %101 = load i32, ptr %7, align 4 %102 = add nsw i32 %100, %101 %103 = load i32, ptr %5, align 4 %104 = icmp sgt i32 %102, %103 br i1 %104, label %105, label %132 105: ; preds = %99 %106 = load i32, ptr %6, align 4 %107 = load i32, ptr %6, align 4 %108 = mul nsw i32 %106, %107 %109 = load i32, ptr %7, align 4 %110 = load i32, ptr %7, align 4 %111 = mul nsw i32 %109, %110 %112 = add nsw i32 %108, %111 %113 = load i32, ptr %5, align 4 %114 = load i32, ptr %5, align 4 %115 = mul nsw i32 %113, %114 %116 = sub nsw i32 %112, %115 store i32 %116, ptr %8, align 4 %117 = load i32, ptr %8, align 4 %118 = icmp eq i32 %117, 0 br i1 %118, label %119, label %121 119: ; preds = %105 %120 = call i32 @printf(ptr noundef @.str.1) br label %121 121: ; preds = %119, %105 %122 = load i32, ptr %8, align 4 %123 = icmp sgt i32 %122, 0 br i1 %123, label %124, label %126 124: ; preds = %121 %125 = call i32 @printf(ptr noundef @.str.2) br label %126 126: ; preds = %124, %121 %127 = load i32, ptr %8, align 4 %128 = icmp slt i32 %127, 0 br i1 %128, label %129, label %131 129: ; preds = %126 %130 = call i32 @printf(ptr noundef @.str.3) br label %131 131: ; preds = %129, %126 br label %134 132: ; preds = %99 %133 = call i32 @printf(ptr noundef @.str.4) br label %134 134: ; preds = %132, %131 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvqh98tz7.c' source_filename = "/tmp/tmpvqh98tz7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"power3() = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 1 %8 = load ptr, ptr %7, align 8 %9 = call i32 @atoi(ptr noundef %8) %10 = call i32 @power3(i32 noundef %9) %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @power3(i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvqh98tz7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"power3() = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 1 %8 = load ptr, ptr %7, align 8 %9 = call i32 @atoi(ptr noundef %8) %10 = call i32 @power3(i32 noundef %9) %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @power3(i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_tyit78l.c' source_filename = "/tmp/tmp_tyit78l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_coretype() #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 = call i32 (...) @have_cpuid() %8 = icmp ne i32 %7, 0 br i1 %8, label %10, label %9 9: ; preds = %0 store i32 1, ptr %1, align 4 br label %86 10: ; preds = %0 %11 = call i32 @get_cputype(i32 noundef 4) store i32 %11, ptr %2, align 4 %12 = call i32 @get_cputype(i32 noundef 1) store i32 %12, ptr %3, align 4 %13 = call i32 @get_cputype(i32 noundef 5) store i32 %13, ptr %4, align 4 %14 = call i32 @get_cputype(i32 noundef 2) store i32 %14, ptr %5, align 4 %15 = call i32 (...) @get_vendor() store i32 %15, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp eq i32 %16, 1 br i1 %17, label %18, label %55 18: ; preds = %10 %19 = load i32, ptr %2, align 4 switch i32 %19, label %54 [ i32 4, label %20 i32 5, label %21 i32 6, label %22 i32 15, label %49 ] 20: ; preds = %18 store i32 1, ptr %1, align 4 br label %86 21: ; preds = %18 store i32 2, ptr %1, align 4 br label %86 22: ; preds = %18 %23 = load i32, ptr %5, align 4 switch i32 %23, label %48 [ i32 0, label %24 i32 1, label %32 i32 2, label %40 ] 24: ; preds = %22 %25 = load i32, ptr %4, align 4 switch i32 %25, label %31 [ i32 0, label %26 i32 1, label %26 i32 2, label %26 i32 3, label %26 i32 4, label %26 i32 5, label %26 i32 6, label %26 i32 7, label %27 i32 8, label %28 i32 10, label %28 i32 11, label %28 i32 9, label %29 i32 13, label %29 i32 14, label %29 i32 15, label %30 ] 26: ; preds = %24, %24, %24, %24, %24, %24, %24 store i32 3, ptr %1, align 4 br label %86 27: ; preds = %24 store i32 4, ptr %1, align 4 br label %86 28: ; preds = %24, %24, %24 store i32 5, ptr %1, align 4 br label %86 29: ; preds = %24, %24, %24 store i32 8, ptr %1, align 4 br label %86 30: ; preds = %24 store i32 14, ptr %1, align 4 br label %86 31: ; preds = %24 br label %48 32: ; preds = %22 %33 = load i32, ptr %4, align 4 switch i32 %33, label %39 [ i32 6, label %34 i32 7, label %35 i32 10, label %36 i32 11, label %36 i32 14, label %36 i32 15, label %36 i32 12, label %37 i32 13, label %38 ] 34: ; preds = %32 store i32 14, ptr %1, align 4 br label %86 35: ; preds = %32 store i32 15, ptr %1, align 4 br label %86 36: ; preds = %32, %32, %32, %32 store i32 17, ptr %1, align 4 br label %86 37: ; preds = %32 store i32 18, ptr %1, align 4 br label %86 38: ; preds = %32 store i32 16, ptr %1, align 4 br label %86 39: ; preds = %32 br label %48 40: ; preds = %22 %41 = load i32, ptr %4, align 4 switch i32 %41, label %47 [ i32 5, label %42 i32 10, label %43 i32 12, label %44 i32 13, label %45 i32 15, label %46 ] 42: ; preds = %40 store i32 17, ptr %1, align 4 br label %86 43: ; preds = %40 store i32 17, ptr %1, align 4 br label %86 44: ; preds = %40 store i32 17, ptr %1, align 4 br label %86 45: ; preds = %40 store i32 17, ptr %1, align 4 br label %86 46: ; preds = %40 store i32 17, ptr %1, align 4 br label %86 47: ; preds = %40 br label %48 48: ; preds = %22, %47, %39, %31 br label %54 49: ; preds = %18 %50 = load i32, ptr %4, align 4 %51 = icmp sle i32 %50, 2 br i1 %51, label %52, label %53 52: ; preds = %49 store i32 6, ptr %1, align 4 br label %86 53: ; preds = %49 store i32 7, ptr %1, align 4 br label %86 54: ; preds = %18, %48 br label %55 55: ; preds = %54, %10 %56 = load i32, ptr %6, align 4 %57 = icmp eq i32 %56, 3 br i1 %57, label %58, label %78 58: ; preds = %55 %59 = load i32, ptr %2, align 4 %60 = icmp sle i32 %59, 5 br i1 %60, label %61, label %62 61: ; preds = %58 store i32 1, ptr %1, align 4 br label %86 62: ; preds = %58 %63 = load i32, ptr %2, align 4 %64 = icmp sle i32 %63, 14 br i1 %64, label %65, label %66 65: ; preds = %62 store i32 9, ptr %1, align 4 br label %86 66: ; preds = %62 %67 = load i32, ptr %2, align 4 %68 = icmp eq i32 %67, 15 br i1 %68, label %69, label %77 69: ; preds = %66 %70 = load i32, ptr %3, align 4 %71 = icmp eq i32 %70, 0 br i1 %71, label %75, label %72 72: ; preds = %69 %73 = load i32, ptr %3, align 4 %74 = icmp eq i32 %73, 2 br i1 %74, label %75, label %76 75: ; preds = %72, %69 store i32 10, ptr %1, align 4 br label %86 76: ; preds = %72 store i32 11, ptr %1, align 4 br label %86 77: ; preds = %66 br label %78 78: ; preds = %77, %55 %79 = load i32, ptr %6, align 4 %80 = icmp eq i32 %79, 6 br i1 %80, label %81, label %85 81: ; preds = %78 %82 = load i32, ptr %2, align 4 switch i32 %82, label %84 [ i32 6, label %83 ] 83: ; preds = %81 store i32 19, ptr %1, align 4 br label %86 84: ; preds = %81 store i32 12, ptr %1, align 4 br label %86 85: ; preds = %78 store i32 0, ptr %1, align 4 br label %86 86: ; preds = %85, %84, %83, %76, %75, %65, %61, %53, %52, %46, %45, %44, %43, %42, %38, %37, %36, %35, %34, %30, %29, %28, %27, %26, %21, %20, %9 %87 = load i32, ptr %1, align 4 ret i32 %87 } declare i32 @have_cpuid(...) #1 declare i32 @get_cputype(i32 noundef) #1 declare i32 @get_vendor(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_tyit78l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_coretype() #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 = call i32 (...) @have_cpuid() %8 = icmp ne i32 %7, 0 br i1 %8, label %10, label %9 9: ; preds = %0 store i32 1, ptr %1, align 4 br label %86 10: ; preds = %0 %11 = call i32 @get_cputype(i32 noundef 4) store i32 %11, ptr %2, align 4 %12 = call i32 @get_cputype(i32 noundef 1) store i32 %12, ptr %3, align 4 %13 = call i32 @get_cputype(i32 noundef 5) store i32 %13, ptr %4, align 4 %14 = call i32 @get_cputype(i32 noundef 2) store i32 %14, ptr %5, align 4 %15 = call i32 (...) @get_vendor() store i32 %15, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp eq i32 %16, 1 br i1 %17, label %18, label %55 18: ; preds = %10 %19 = load i32, ptr %2, align 4 switch i32 %19, label %54 [ i32 4, label %20 i32 5, label %21 i32 6, label %22 i32 15, label %49 ] 20: ; preds = %18 store i32 1, ptr %1, align 4 br label %86 21: ; preds = %18 store i32 2, ptr %1, align 4 br label %86 22: ; preds = %18 %23 = load i32, ptr %5, align 4 switch i32 %23, label %48 [ i32 0, label %24 i32 1, label %32 i32 2, label %40 ] 24: ; preds = %22 %25 = load i32, ptr %4, align 4 switch i32 %25, label %31 [ i32 0, label %26 i32 1, label %26 i32 2, label %26 i32 3, label %26 i32 4, label %26 i32 5, label %26 i32 6, label %26 i32 7, label %27 i32 8, label %28 i32 10, label %28 i32 11, label %28 i32 9, label %29 i32 13, label %29 i32 14, label %29 i32 15, label %30 ] 26: ; preds = %24, %24, %24, %24, %24, %24, %24 store i32 3, ptr %1, align 4 br label %86 27: ; preds = %24 store i32 4, ptr %1, align 4 br label %86 28: ; preds = %24, %24, %24 store i32 5, ptr %1, align 4 br label %86 29: ; preds = %24, %24, %24 store i32 8, ptr %1, align 4 br label %86 30: ; preds = %24 store i32 14, ptr %1, align 4 br label %86 31: ; preds = %24 br label %48 32: ; preds = %22 %33 = load i32, ptr %4, align 4 switch i32 %33, label %39 [ i32 6, label %34 i32 7, label %35 i32 10, label %36 i32 11, label %36 i32 14, label %36 i32 15, label %36 i32 12, label %37 i32 13, label %38 ] 34: ; preds = %32 store i32 14, ptr %1, align 4 br label %86 35: ; preds = %32 store i32 15, ptr %1, align 4 br label %86 36: ; preds = %32, %32, %32, %32 store i32 17, ptr %1, align 4 br label %86 37: ; preds = %32 store i32 18, ptr %1, align 4 br label %86 38: ; preds = %32 store i32 16, ptr %1, align 4 br label %86 39: ; preds = %32 br label %48 40: ; preds = %22 %41 = load i32, ptr %4, align 4 switch i32 %41, label %47 [ i32 5, label %42 i32 10, label %43 i32 12, label %44 i32 13, label %45 i32 15, label %46 ] 42: ; preds = %40 store i32 17, ptr %1, align 4 br label %86 43: ; preds = %40 store i32 17, ptr %1, align 4 br label %86 44: ; preds = %40 store i32 17, ptr %1, align 4 br label %86 45: ; preds = %40 store i32 17, ptr %1, align 4 br label %86 46: ; preds = %40 store i32 17, ptr %1, align 4 br label %86 47: ; preds = %40 br label %48 48: ; preds = %47, %39, %31, %22 br label %54 49: ; preds = %18 %50 = load i32, ptr %4, align 4 %51 = icmp sle i32 %50, 2 br i1 %51, label %52, label %53 52: ; preds = %49 store i32 6, ptr %1, align 4 br label %86 53: ; preds = %49 store i32 7, ptr %1, align 4 br label %86 54: ; preds = %48, %18 br label %55 55: ; preds = %54, %10 %56 = load i32, ptr %6, align 4 %57 = icmp eq i32 %56, 3 br i1 %57, label %58, label %78 58: ; preds = %55 %59 = load i32, ptr %2, align 4 %60 = icmp sle i32 %59, 5 br i1 %60, label %61, label %62 61: ; preds = %58 store i32 1, ptr %1, align 4 br label %86 62: ; preds = %58 %63 = load i32, ptr %2, align 4 %64 = icmp sle i32 %63, 14 br i1 %64, label %65, label %66 65: ; preds = %62 store i32 9, ptr %1, align 4 br label %86 66: ; preds = %62 %67 = load i32, ptr %2, align 4 %68 = icmp eq i32 %67, 15 br i1 %68, label %69, label %77 69: ; preds = %66 %70 = load i32, ptr %3, align 4 %71 = icmp eq i32 %70, 0 br i1 %71, label %75, label %72 72: ; preds = %69 %73 = load i32, ptr %3, align 4 %74 = icmp eq i32 %73, 2 br i1 %74, label %75, label %76 75: ; preds = %72, %69 store i32 10, ptr %1, align 4 br label %86 76: ; preds = %72 store i32 11, ptr %1, align 4 br label %86 77: ; preds = %66 br label %78 78: ; preds = %77, %55 %79 = load i32, ptr %6, align 4 %80 = icmp eq i32 %79, 6 br i1 %80, label %81, label %85 81: ; preds = %78 %82 = load i32, ptr %2, align 4 switch i32 %82, label %84 [ i32 6, label %83 ] 83: ; preds = %81 store i32 19, ptr %1, align 4 br label %86 84: ; preds = %81 store i32 12, ptr %1, align 4 br label %86 85: ; preds = %78 store i32 0, ptr %1, align 4 br label %86 86: ; preds = %85, %84, %83, %76, %75, %65, %61, %53, %52, %46, %45, %44, %43, %42, %38, %37, %36, %35, %34, %30, %29, %28, %27, %26, %21, %20, %9 %87 = load i32, ptr %1, align 4 ret i32 %87 } declare i32 @have_cpuid(...) #1 declare i32 @get_cputype(i32 noundef) #1 declare i32 @get_vendor(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy7pi_9g6.c' source_filename = "/tmp/tmpy7pi_9g6.c" target datalayout = "e-m:e-p270: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/tmpy7pi_9g6.c" target datalayout = "e-m:e-p270: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/tmpb93h42hy.c' source_filename = "/tmp/tmpb93h42hy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @agcanon(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = load ptr, ptr %4, align 8 %8 = call ptr @getoutputbuffer(ptr noundef %7) store ptr %8, ptr %6, align 8 %9 = load i32, ptr %5, align 4 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %6, align 8 %14 = call ptr @agcanonhtmlstr(ptr noundef %12, ptr noundef %13) store ptr %14, ptr %3, align 8 br label %19 15: ; preds = %2 %16 = load ptr, ptr %4, align 8 %17 = load ptr, ptr %6, align 8 %18 = call ptr @_agstrcanon(ptr noundef %16, ptr noundef %17) store ptr %18, ptr %3, align 8 br label %19 19: ; preds = %15, %11 %20 = load ptr, ptr %3, align 8 ret ptr %20 } declare ptr @getoutputbuffer(ptr noundef) #1 declare ptr @agcanonhtmlstr(ptr noundef, ptr noundef) #1 declare ptr @_agstrcanon(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/tmpb93h42hy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @agcanon(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = load ptr, ptr %4, align 8 %8 = call ptr @getoutputbuffer(ptr noundef %7) store ptr %8, ptr %6, align 8 %9 = load i32, ptr %5, align 4 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %6, align 8 %14 = call ptr @agcanonhtmlstr(ptr noundef %12, ptr noundef %13) store ptr %14, ptr %3, align 8 br label %19 15: ; preds = %2 %16 = load ptr, ptr %4, align 8 %17 = load ptr, ptr %6, align 8 %18 = call ptr @_agstrcanon(ptr noundef %16, ptr noundef %17) store ptr %18, ptr %3, align 8 br label %19 19: ; preds = %15, %11 %20 = load ptr, ptr %3, align 8 ret ptr %20 } declare ptr @getoutputbuffer(ptr noundef) #1 declare ptr @agcanonhtmlstr(ptr noundef, ptr noundef) #1 declare ptr @_agstrcanon(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/tmp97su5fjg.c' source_filename = "/tmp/tmp97su5fjg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c_sgefa(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca double, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %17 = load ptr, ptr %10, align 8 store i32 0, ptr %17, align 4 %18 = load i32, ptr %8, align 4 %19 = sub nsw i32 %18, 1 store i32 %19, ptr %15, align 4 store i32 1, ptr %12, align 4 br label %20 20: ; preds = %229, %5 %21 = load i32, ptr %12, align 4 %22 = load i32, ptr %15, align 4 %23 = icmp sle i32 %21, %22 br i1 %23, label %24, label %232 24: ; preds = %20 %25 = load i32, ptr %12, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %13, align 4 %27 = load i32, ptr %8, align 4 %28 = load i32, ptr %12, align 4 %29 = sub nsw i32 %27, %28 %30 = add nsw i32 %29, 1 %31 = load ptr, ptr %6, align 8 %32 = load i32, ptr %12, align 4 %33 = sub nsw i32 %32, 1 %34 = load i32, ptr %12, align 4 %35 = sub nsw i32 %34, 1 %36 = load i32, ptr %7, align 4 %37 = mul nsw i32 %35, %36 %38 = add nsw i32 %33, %37 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds double, ptr %31, i64 %39 %41 = call i32 @c_isamax(i32 noundef %30, ptr noundef %40) %42 = load i32, ptr %12, align 4 %43 = add nsw i32 %41, %42 %44 = sub nsw i32 %43, 1 store i32 %44, ptr %14, align 4 %45 = load i32, ptr %14, align 4 %46 = load ptr, ptr %9, align 8 %47 = load i32, ptr %12, align 4 %48 = sub nsw i32 %47, 1 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %46, i64 %49 store i32 %45, ptr %50, align 4 %51 = load ptr, ptr %6, align 8 %52 = load i32, ptr %14, align 4 %53 = sub nsw i32 %52, 1 %54 = load i32, ptr %12, align 4 %55 = sub nsw i32 %54, 1 %56 = load i32, ptr %7, align 4 %57 = mul nsw i32 %55, %56 %58 = add nsw i32 %53, %57 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds double, ptr %51, i64 %59 %61 = load double, ptr %60, align 8 %62 = fcmp oeq double %61, 0.000000e+00 br i1 %62, label %63, label %66 63: ; preds = %24 %64 = load i32, ptr %12, align 4 %65 = load ptr, ptr %10, align 8 store i32 %64, ptr %65, align 4 br label %228 66: ; preds = %24 %67 = load i32, ptr %14, align 4 %68 = load i32, ptr %12, align 4 %69 = icmp ne i32 %67, %68 br i1 %69, label %70, label %114 70: ; preds = %66 %71 = load ptr, ptr %6, align 8 %72 = load i32, ptr %14, align 4 %73 = sub nsw i32 %72, 1 %74 = load i32, ptr %12, align 4 %75 = sub nsw i32 %74, 1 %76 = load i32, ptr %7, align 4 %77 = mul nsw i32 %75, %76 %78 = add nsw i32 %73, %77 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds double, ptr %71, i64 %79 %81 = load double, ptr %80, align 8 store double %81, ptr %16, align 8 %82 = load ptr, ptr %6, align 8 %83 = load i32, ptr %12, align 4 %84 = sub nsw i32 %83, 1 %85 = load i32, ptr %12, align 4 %86 = sub nsw i32 %85, 1 %87 = load i32, ptr %7, align 4 %88 = mul nsw i32 %86, %87 %89 = add nsw i32 %84, %88 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds double, ptr %82, i64 %90 %92 = load double, ptr %91, align 8 %93 = load ptr, ptr %6, align 8 %94 = load i32, ptr %14, align 4 %95 = sub nsw i32 %94, 1 %96 = load i32, ptr %12, align 4 %97 = sub nsw i32 %96, 1 %98 = load i32, ptr %7, align 4 %99 = mul nsw i32 %97, %98 %100 = add nsw i32 %95, %99 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds double, ptr %93, i64 %101 store double %92, ptr %102, align 8 %103 = load double, ptr %16, align 8 %104 = load ptr, ptr %6, align 8 %105 = load i32, ptr %12, align 4 %106 = sub nsw i32 %105, 1 %107 = load i32, ptr %12, align 4 %108 = sub nsw i32 %107, 1 %109 = load i32, ptr %7, align 4 %110 = mul nsw i32 %108, %109 %111 = add nsw i32 %106, %110 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds double, ptr %104, i64 %112 store double %103, ptr %113, align 8 br label %114 114: ; preds = %70, %66 %115 = load ptr, ptr %6, align 8 %116 = load i32, ptr %12, align 4 %117 = sub nsw i32 %116, 1 %118 = load i32, ptr %12, align 4 %119 = sub nsw i32 %118, 1 %120 = load i32, ptr %7, align 4 %121 = mul nsw i32 %119, %120 %122 = add nsw i32 %117, %121 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds double, ptr %115, i64 %123 %125 = load double, ptr %124, align 8 %126 = fdiv double -1.000000e+00, %125 store double %126, ptr %16, align 8 %127 = load i32, ptr %8, align 4 %128 = load i32, ptr %12, align 4 %129 = sub nsw i32 %127, %128 %130 = load double, ptr %16, align 8 %131 = load ptr, ptr %6, align 8 %132 = load i32, ptr %12, align 4 %133 = add nsw i32 %132, 1 %134 = sub nsw i32 %133, 1 %135 = load i32, ptr %12, align 4 %136 = sub nsw i32 %135, 1 %137 = load i32, ptr %7, align 4 %138 = mul nsw i32 %136, %137 %139 = add nsw i32 %134, %138 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds double, ptr %131, i64 %140 %142 = call i32 @c_sscal(i32 noundef %129, double noundef %130, ptr noundef %141) %143 = load i32, ptr %13, align 4 store i32 %143, ptr %11, align 4 br label %144 144: ; preds = %224, %114 %145 = load i32, ptr %11, align 4 %146 = load i32, ptr %8, align 4 %147 = icmp sle i32 %145, %146 br i1 %147, label %148, label %227 148: ; preds = %144 %149 = load ptr, ptr %6, align 8 %150 = load i32, ptr %14, align 4 %151 = sub nsw i32 %150, 1 %152 = load i32, ptr %11, align 4 %153 = sub nsw i32 %152, 1 %154 = load i32, ptr %7, align 4 %155 = mul nsw i32 %153, %154 %156 = add nsw i32 %151, %155 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds double, ptr %149, i64 %157 %159 = load double, ptr %158, align 8 store double %159, ptr %16, align 8 %160 = load i32, ptr %14, align 4 %161 = load i32, ptr %12, align 4 %162 = icmp ne i32 %160, %161 br i1 %162, label %163, label %196 163: ; preds = %148 %164 = load ptr, ptr %6, align 8 %165 = load i32, ptr %12, align 4 %166 = sub nsw i32 %165, 1 %167 = load i32, ptr %11, align 4 %168 = sub nsw i32 %167, 1 %169 = load i32, ptr %7, align 4 %170 = mul nsw i32 %168, %169 %171 = add nsw i32 %166, %170 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds double, ptr %164, i64 %172 %174 = load double, ptr %173, align 8 %175 = load ptr, ptr %6, align 8 %176 = load i32, ptr %14, align 4 %177 = sub nsw i32 %176, 1 %178 = load i32, ptr %11, align 4 %179 = sub nsw i32 %178, 1 %180 = load i32, ptr %7, align 4 %181 = mul nsw i32 %179, %180 %182 = add nsw i32 %177, %181 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds double, ptr %175, i64 %183 store double %174, ptr %184, align 8 %185 = load double, ptr %16, align 8 %186 = load ptr, ptr %6, align 8 %187 = load i32, ptr %12, align 4 %188 = sub nsw i32 %187, 1 %189 = load i32, ptr %11, align 4 %190 = sub nsw i32 %189, 1 %191 = load i32, ptr %7, align 4 %192 = mul nsw i32 %190, %191 %193 = add nsw i32 %188, %192 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds double, ptr %186, i64 %194 store double %185, ptr %195, align 8 br label %196 196: ; preds = %163, %148 %197 = load i32, ptr %8, align 4 %198 = load i32, ptr %12, align 4 %199 = sub nsw i32 %197, %198 %200 = load double, ptr %16, align 8 %201 = load ptr, ptr %6, align 8 %202 = load i32, ptr %12, align 4 %203 = add nsw i32 %202, 1 %204 = sub nsw i32 %203, 1 %205 = load i32, ptr %12, align 4 %206 = sub nsw i32 %205, 1 %207 = load i32, ptr %7, align 4 %208 = mul nsw i32 %206, %207 %209 = add nsw i32 %204, %208 %210 = sext i32 %209 to i64 %211 = getelementptr inbounds double, ptr %201, i64 %210 %212 = load ptr, ptr %6, align 8 %213 = load i32, ptr %12, align 4 %214 = add nsw i32 %213, 1 %215 = sub nsw i32 %214, 1 %216 = load i32, ptr %11, align 4 %217 = sub nsw i32 %216, 1 %218 = load i32, ptr %7, align 4 %219 = mul nsw i32 %217, %218 %220 = add nsw i32 %215, %219 %221 = sext i32 %220 to i64 %222 = getelementptr inbounds double, ptr %212, i64 %221 %223 = call i32 @c_saxpy(i32 noundef %199, double noundef %200, ptr noundef %211, ptr noundef %222) br label %224 224: ; preds = %196 %225 = load i32, ptr %11, align 4 %226 = add nsw i32 %225, 1 store i32 %226, ptr %11, align 4 br label %144, !llvm.loop !6 227: ; preds = %144 br label %228 228: ; preds = %227, %63 br label %229 229: ; preds = %228 %230 = load i32, ptr %12, align 4 %231 = add nsw i32 %230, 1 store i32 %231, ptr %12, align 4 br label %20, !llvm.loop !8 232: ; preds = %20 %233 = load i32, ptr %8, align 4 %234 = load ptr, ptr %9, align 8 %235 = load i32, ptr %8, align 4 %236 = sub nsw i32 %235, 1 %237 = sext i32 %236 to i64 %238 = getelementptr inbounds i32, ptr %234, i64 %237 store i32 %233, ptr %238, align 4 %239 = load ptr, ptr %6, align 8 %240 = load i32, ptr %8, align 4 %241 = sub nsw i32 %240, 1 %242 = load i32, ptr %8, align 4 %243 = sub nsw i32 %242, 1 %244 = load i32, ptr %7, align 4 %245 = mul nsw i32 %243, %244 %246 = add nsw i32 %241, %245 %247 = sext i32 %246 to i64 %248 = getelementptr inbounds double, ptr %239, i64 %247 %249 = load double, ptr %248, align 8 %250 = fcmp oeq double %249, 0.000000e+00 br i1 %250, label %251, label %254 251: ; preds = %232 %252 = load i32, ptr %8, align 4 %253 = load ptr, ptr %10, align 8 store i32 %252, ptr %253, align 4 br label %254 254: ; preds = %251, %232 ret void } declare i32 @c_isamax(i32 noundef, ptr noundef) #1 declare i32 @c_sscal(i32 noundef, double noundef, ptr noundef) #1 declare i32 @c_saxpy(i32 noundef, double noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp97su5fjg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c_sgefa(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca double, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %17 = load ptr, ptr %10, align 8 store i32 0, ptr %17, align 4 %18 = load i32, ptr %8, align 4 %19 = sub nsw i32 %18, 1 store i32 %19, ptr %15, align 4 store i32 1, ptr %12, align 4 %20 = load i32, ptr %12, align 4 %21 = load i32, ptr %15, align 4 %22 = icmp sle i32 %20, %21 br i1 %22, label %.lr.ph2, label %236 .lr.ph2: ; preds = %5 br label %23 23: ; preds = %.lr.ph2, %230 %24 = load i32, ptr %12, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %13, align 4 %26 = load i32, ptr %8, align 4 %27 = load i32, ptr %12, align 4 %28 = sub nsw i32 %26, %27 %29 = add nsw i32 %28, 1 %30 = load ptr, ptr %6, align 8 %31 = load i32, ptr %12, align 4 %32 = sub nsw i32 %31, 1 %33 = load i32, ptr %12, align 4 %34 = sub nsw i32 %33, 1 %35 = load i32, ptr %7, align 4 %36 = mul nsw i32 %34, %35 %37 = add nsw i32 %32, %36 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds double, ptr %30, i64 %38 %40 = call i32 @c_isamax(i32 noundef %29, ptr noundef %39) %41 = load i32, ptr %12, align 4 %42 = add nsw i32 %40, %41 %43 = sub nsw i32 %42, 1 store i32 %43, ptr %14, align 4 %44 = load i32, ptr %14, align 4 %45 = load ptr, ptr %9, align 8 %46 = load i32, ptr %12, align 4 %47 = sub nsw i32 %46, 1 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %45, i64 %48 store i32 %44, ptr %49, align 4 %50 = load ptr, ptr %6, align 8 %51 = load i32, ptr %14, align 4 %52 = sub nsw i32 %51, 1 %53 = load i32, ptr %12, align 4 %54 = sub nsw i32 %53, 1 %55 = load i32, ptr %7, align 4 %56 = mul nsw i32 %54, %55 %57 = add nsw i32 %52, %56 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds double, ptr %50, i64 %58 %60 = load double, ptr %59, align 8 %61 = fcmp oeq double %60, 0.000000e+00 br i1 %61, label %62, label %65 62: ; preds = %23 %63 = load i32, ptr %12, align 4 %64 = load ptr, ptr %10, align 8 store i32 %63, ptr %64, align 4 br label %229 65: ; preds = %23 %66 = load i32, ptr %14, align 4 %67 = load i32, ptr %12, align 4 %68 = icmp ne i32 %66, %67 br i1 %68, label %69, label %113 69: ; preds = %65 %70 = load ptr, ptr %6, align 8 %71 = load i32, ptr %14, align 4 %72 = sub nsw i32 %71, 1 %73 = load i32, ptr %12, align 4 %74 = sub nsw i32 %73, 1 %75 = load i32, ptr %7, align 4 %76 = mul nsw i32 %74, %75 %77 = add nsw i32 %72, %76 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds double, ptr %70, i64 %78 %80 = load double, ptr %79, align 8 store double %80, ptr %16, align 8 %81 = load ptr, ptr %6, align 8 %82 = load i32, ptr %12, align 4 %83 = sub nsw i32 %82, 1 %84 = load i32, ptr %12, align 4 %85 = sub nsw i32 %84, 1 %86 = load i32, ptr %7, align 4 %87 = mul nsw i32 %85, %86 %88 = add nsw i32 %83, %87 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds double, ptr %81, i64 %89 %91 = load double, ptr %90, align 8 %92 = load ptr, ptr %6, align 8 %93 = load i32, ptr %14, align 4 %94 = sub nsw i32 %93, 1 %95 = load i32, ptr %12, align 4 %96 = sub nsw i32 %95, 1 %97 = load i32, ptr %7, align 4 %98 = mul nsw i32 %96, %97 %99 = add nsw i32 %94, %98 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds double, ptr %92, i64 %100 store double %91, ptr %101, align 8 %102 = load double, ptr %16, align 8 %103 = load ptr, ptr %6, align 8 %104 = load i32, ptr %12, align 4 %105 = sub nsw i32 %104, 1 %106 = load i32, ptr %12, align 4 %107 = sub nsw i32 %106, 1 %108 = load i32, ptr %7, align 4 %109 = mul nsw i32 %107, %108 %110 = add nsw i32 %105, %109 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds double, ptr %103, i64 %111 store double %102, ptr %112, align 8 br label %113 113: ; preds = %69, %65 %114 = load ptr, ptr %6, align 8 %115 = load i32, ptr %12, align 4 %116 = sub nsw i32 %115, 1 %117 = load i32, ptr %12, align 4 %118 = sub nsw i32 %117, 1 %119 = load i32, ptr %7, align 4 %120 = mul nsw i32 %118, %119 %121 = add nsw i32 %116, %120 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds double, ptr %114, i64 %122 %124 = load double, ptr %123, align 8 %125 = fdiv double -1.000000e+00, %124 store double %125, ptr %16, align 8 %126 = load i32, ptr %8, align 4 %127 = load i32, ptr %12, align 4 %128 = sub nsw i32 %126, %127 %129 = load double, ptr %16, align 8 %130 = load ptr, ptr %6, align 8 %131 = load i32, ptr %12, align 4 %132 = add nsw i32 %131, 1 %133 = sub nsw i32 %132, 1 %134 = load i32, ptr %12, align 4 %135 = sub nsw i32 %134, 1 %136 = load i32, ptr %7, align 4 %137 = mul nsw i32 %135, %136 %138 = add nsw i32 %133, %137 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds double, ptr %130, i64 %139 %141 = call i32 @c_sscal(i32 noundef %128, double noundef %129, ptr noundef %140) %142 = load i32, ptr %13, align 4 store i32 %142, ptr %11, align 4 %143 = load i32, ptr %11, align 4 %144 = load i32, ptr %8, align 4 %145 = icmp sle i32 %143, %144 br i1 %145, label %.lr.ph, label %228 .lr.ph: ; preds = %113 br label %146 146: ; preds = %.lr.ph, %222 %147 = load ptr, ptr %6, align 8 %148 = load i32, ptr %14, align 4 %149 = sub nsw i32 %148, 1 %150 = load i32, ptr %11, align 4 %151 = sub nsw i32 %150, 1 %152 = load i32, ptr %7, align 4 %153 = mul nsw i32 %151, %152 %154 = add nsw i32 %149, %153 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds double, ptr %147, i64 %155 %157 = load double, ptr %156, align 8 store double %157, ptr %16, align 8 %158 = load i32, ptr %14, align 4 %159 = load i32, ptr %12, align 4 %160 = icmp ne i32 %158, %159 br i1 %160, label %161, label %194 161: ; preds = %146 %162 = load ptr, ptr %6, align 8 %163 = load i32, ptr %12, align 4 %164 = sub nsw i32 %163, 1 %165 = load i32, ptr %11, align 4 %166 = sub nsw i32 %165, 1 %167 = load i32, ptr %7, align 4 %168 = mul nsw i32 %166, %167 %169 = add nsw i32 %164, %168 %170 = sext i32 %169 to i64 %171 = getelementptr inbounds double, ptr %162, i64 %170 %172 = load double, ptr %171, align 8 %173 = load ptr, ptr %6, align 8 %174 = load i32, ptr %14, align 4 %175 = sub nsw i32 %174, 1 %176 = load i32, ptr %11, align 4 %177 = sub nsw i32 %176, 1 %178 = load i32, ptr %7, align 4 %179 = mul nsw i32 %177, %178 %180 = add nsw i32 %175, %179 %181 = sext i32 %180 to i64 %182 = getelementptr inbounds double, ptr %173, i64 %181 store double %172, ptr %182, align 8 %183 = load double, ptr %16, align 8 %184 = load ptr, ptr %6, align 8 %185 = load i32, ptr %12, align 4 %186 = sub nsw i32 %185, 1 %187 = load i32, ptr %11, align 4 %188 = sub nsw i32 %187, 1 %189 = load i32, ptr %7, align 4 %190 = mul nsw i32 %188, %189 %191 = add nsw i32 %186, %190 %192 = sext i32 %191 to i64 %193 = getelementptr inbounds double, ptr %184, i64 %192 store double %183, ptr %193, align 8 br label %194 194: ; preds = %161, %146 %195 = load i32, ptr %8, align 4 %196 = load i32, ptr %12, align 4 %197 = sub nsw i32 %195, %196 %198 = load double, ptr %16, align 8 %199 = load ptr, ptr %6, align 8 %200 = load i32, ptr %12, align 4 %201 = add nsw i32 %200, 1 %202 = sub nsw i32 %201, 1 %203 = load i32, ptr %12, align 4 %204 = sub nsw i32 %203, 1 %205 = load i32, ptr %7, align 4 %206 = mul nsw i32 %204, %205 %207 = add nsw i32 %202, %206 %208 = sext i32 %207 to i64 %209 = getelementptr inbounds double, ptr %199, i64 %208 %210 = load ptr, ptr %6, align 8 %211 = load i32, ptr %12, align 4 %212 = add nsw i32 %211, 1 %213 = sub nsw i32 %212, 1 %214 = load i32, ptr %11, align 4 %215 = sub nsw i32 %214, 1 %216 = load i32, ptr %7, align 4 %217 = mul nsw i32 %215, %216 %218 = add nsw i32 %213, %217 %219 = sext i32 %218 to i64 %220 = getelementptr inbounds double, ptr %210, i64 %219 %221 = call i32 @c_saxpy(i32 noundef %197, double noundef %198, ptr noundef %209, ptr noundef %220) br label %222 222: ; preds = %194 %223 = load i32, ptr %11, align 4 %224 = add nsw i32 %223, 1 store i32 %224, ptr %11, align 4 %225 = load i32, ptr %11, align 4 %226 = load i32, ptr %8, align 4 %227 = icmp sle i32 %225, %226 br i1 %227, label %146, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %222 br label %228 228: ; preds = %._crit_edge, %113 br label %229 229: ; preds = %228, %62 br label %230 230: ; preds = %229 %231 = load i32, ptr %12, align 4 %232 = add nsw i32 %231, 1 store i32 %232, ptr %12, align 4 %233 = load i32, ptr %12, align 4 %234 = load i32, ptr %15, align 4 %235 = icmp sle i32 %233, %234 br i1 %235, label %23, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %230 br label %236 236: ; preds = %._crit_edge3, %5 %237 = load i32, ptr %8, align 4 %238 = load ptr, ptr %9, align 8 %239 = load i32, ptr %8, align 4 %240 = sub nsw i32 %239, 1 %241 = sext i32 %240 to i64 %242 = getelementptr inbounds i32, ptr %238, i64 %241 store i32 %237, ptr %242, align 4 %243 = load ptr, ptr %6, align 8 %244 = load i32, ptr %8, align 4 %245 = sub nsw i32 %244, 1 %246 = load i32, ptr %8, align 4 %247 = sub nsw i32 %246, 1 %248 = load i32, ptr %7, align 4 %249 = mul nsw i32 %247, %248 %250 = add nsw i32 %245, %249 %251 = sext i32 %250 to i64 %252 = getelementptr inbounds double, ptr %243, i64 %251 %253 = load double, ptr %252, align 8 %254 = fcmp oeq double %253, 0.000000e+00 br i1 %254, label %255, label %258 255: ; preds = %236 %256 = load i32, ptr %8, align 4 %257 = load ptr, ptr %10, align 8 store i32 %256, ptr %257, align 4 br label %258 258: ; preds = %255, %236 ret void } declare i32 @c_isamax(i32 noundef, ptr noundef) #1 declare i32 @c_sscal(i32 noundef, double noundef, ptr noundef) #1 declare i32 @c_saxpy(i32 noundef, double noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpr2xzd0pd.c' source_filename = "/tmp/tmpr2xzd0pd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%d%5d\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 [10 x i32], align 16 %8 = alloca [10 x i32], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %2, align 4 br label %9 9: ; preds = %25, %0 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %10, 100 br i1 %11, label %12, label %28 12: ; preds = %9 %13 = load i32, ptr %2, align 4 %14 = srem i32 %13, 15 store i32 %14, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %24 17: ; preds = %12 %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %4, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %20 store i32 %18, ptr %21, align 4 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 br label %24 24: ; preds = %17, %12 br label %25 25: ; preds = %24 %26 = load i32, ptr %2, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %2, align 4 br label %9, !llvm.loop !6 28: ; preds = %9 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %29 29: ; preds = %45, %28 %30 = load i32, ptr %3, align 4 %31 = icmp slt i32 %30, 30 br i1 %31, label %32, label %48 32: ; preds = %29 %33 = load i32, ptr %3, align 4 %34 = srem i32 %33, 5 store i32 %34, ptr %6, align 4 %35 = load i32, ptr %6, align 4 %36 = icmp eq i32 %35, 0 br i1 %36, label %37, label %44 37: ; preds = %32 %38 = load i32, ptr %3, align 4 %39 = load i32, ptr %4, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 %40 store i32 %38, ptr %41, align 4 %42 = load i32, ptr %4, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %4, align 4 br label %44 44: ; preds = %37, %32 br label %45 45: ; preds = %44 %46 = load i32, ptr %3, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %3, align 4 br label %29, !llvm.loop !8 48: ; preds = %29 store i32 0, ptr %4, align 4 br label %49 49: ; preds = %62, %48 %50 = load i32, ptr %4, align 4 %51 = icmp slt i32 %50, 6 br i1 %51, label %52, label %65 52: ; preds = %49 %53 = load i32, ptr %4, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %54 %56 = load i32, ptr %55, align 4 %57 = load i32, ptr %4, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 %58 %60 = load i32, ptr %59, align 4 %61 = call i32 @printf(ptr noundef @.str, i32 noundef %56, i32 noundef %60) br label %62 62: ; preds = %52 %63 = load i32, ptr %4, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %4, align 4 br label %49, !llvm.loop !9 65: ; preds = %49 %66 = load i32, ptr %1, align 4 ret i32 %66 } 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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr2xzd0pd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%d%5d\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 [10 x i32], align 16 %8 = alloca [10 x i32], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %9, 100 br i1 %10, label %.lr.ph, label %29 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %24 %12 = load i32, ptr %2, align 4 %13 = srem i32 %12, 15 store i32 %13, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %23 16: ; preds = %11 %17 = load i32, ptr %2, align 4 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %19 store i32 %17, ptr %20, align 4 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 br label %23 23: ; preds = %16, %11 br label %24 24: ; preds = %23 %25 = load i32, ptr %2, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %2, align 4 %27 = load i32, ptr %2, align 4 %28 = icmp slt i32 %27, 100 br i1 %28, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %29 29: ; preds = %._crit_edge, %0 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = icmp slt i32 %30, 30 br i1 %31, label %.lr.ph2, label %50 .lr.ph2: ; preds = %29 br label %32 32: ; preds = %.lr.ph2, %45 %33 = load i32, ptr %3, align 4 %34 = srem i32 %33, 5 store i32 %34, ptr %6, align 4 %35 = load i32, ptr %6, align 4 %36 = icmp eq i32 %35, 0 br i1 %36, label %37, label %44 37: ; preds = %32 %38 = load i32, ptr %3, align 4 %39 = load i32, ptr %4, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 %40 store i32 %38, ptr %41, align 4 %42 = load i32, ptr %4, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %4, align 4 br label %44 44: ; preds = %37, %32 br label %45 45: ; preds = %44 %46 = load i32, ptr %3, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %3, align 4 %48 = load i32, ptr %3, align 4 %49 = icmp slt i32 %48, 30 br i1 %49, label %32, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %45 br label %50 50: ; preds = %._crit_edge3, %29 store i32 0, ptr %4, align 4 %51 = load i32, ptr %4, align 4 %52 = icmp slt i32 %51, 6 br i1 %52, label %.lr.ph5, label %68 .lr.ph5: ; preds = %50 br label %53 53: ; preds = %.lr.ph5, %63 %54 = load i32, ptr %4, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %55 %57 = load i32, ptr %56, align 4 %58 = load i32, ptr %4, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 %59 %61 = load i32, ptr %60, align 4 %62 = call i32 @printf(ptr noundef @.str, i32 noundef %57, i32 noundef %61) br label %63 63: ; preds = %53 %64 = load i32, ptr %4, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %4, align 4 %66 = load i32, ptr %4, align 4 %67 = icmp slt i32 %66, 6 br i1 %67, label %53, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %63 br label %68 68: ; preds = %._crit_edge6, %50 %69 = load i32, ptr %1, align 4 ret i32 %69 } 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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp7kv_bv51.c' source_filename = "/tmp/tmp7kv_bv51.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @double64_be_read(ptr noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca double, align 8 store ptr %0, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 0 %11 = load i8, ptr %10, align 1 %12 = zext i8 %11 to i32 %13 = and i32 %12, 128 %14 = icmp ne i32 %13, 0 %15 = zext i1 %14 to i64 %16 = select i1 %14, i32 1, i32 0 store i32 %16, ptr %5, align 4 %17 = load ptr, ptr %3, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 0 %19 = load i8, ptr %18, align 1 %20 = zext i8 %19 to i32 %21 = and i32 %20, 127 %22 = shl i32 %21, 4 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 1 %25 = load i8, ptr %24, align 1 %26 = zext i8 %25 to i32 %27 = ashr i32 %26, 4 %28 = and i32 %27, 15 %29 = or i32 %22, %28 store i32 %29, ptr %4, align 4 %30 = load ptr, ptr %3, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 1 %32 = load i8, ptr %31, align 1 %33 = zext i8 %32 to i32 %34 = and i32 %33, 15 %35 = shl i32 %34, 24 %36 = load ptr, ptr %3, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 2 %38 = load i8, ptr %37, align 1 %39 = zext i8 %38 to i32 %40 = shl i32 %39, 16 %41 = or i32 %35, %40 %42 = load ptr, ptr %3, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 3 %44 = load i8, ptr %43, align 1 %45 = zext i8 %44 to i32 %46 = shl i32 %45, 8 %47 = or i32 %41, %46 %48 = load ptr, ptr %3, align 8 %49 = getelementptr inbounds i8, ptr %48, i64 4 %50 = load i8, ptr %49, align 1 %51 = zext i8 %50 to i32 %52 = or i32 %47, %51 store i32 %52, ptr %6, align 4 %53 = load ptr, ptr %3, align 8 %54 = getelementptr inbounds i8, ptr %53, i64 5 %55 = load i8, ptr %54, align 1 %56 = zext i8 %55 to i32 %57 = shl i32 %56, 16 %58 = load ptr, ptr %3, align 8 %59 = getelementptr inbounds i8, ptr %58, i64 6 %60 = load i8, ptr %59, align 1 %61 = zext i8 %60 to i32 %62 = shl i32 %61, 8 %63 = or i32 %57, %62 %64 = load ptr, ptr %3, align 8 %65 = getelementptr inbounds i8, ptr %64, i64 7 %66 = load i8, ptr %65, align 1 %67 = zext i8 %66 to i32 %68 = or i32 %63, %67 store i32 %68, ptr %7, align 4 %69 = load i32, ptr %4, align 4 %70 = icmp eq i32 %69, 0 br i1 %70, label %71, label %78 71: ; preds = %1 %72 = load i32, ptr %6, align 4 %73 = icmp eq i32 %72, 0 br i1 %73, label %74, label %78 74: ; preds = %71 %75 = load i32, ptr %7, align 4 %76 = icmp eq i32 %75, 0 br i1 %76, label %77, label %78 77: ; preds = %74 store double 0.000000e+00, ptr %2, align 8 br label %116 78: ; preds = %74, %71, %1 %79 = load i32, ptr %6, align 4 %80 = sitofp i32 %79 to double %81 = load i32, ptr %7, align 4 %82 = sitofp i32 %81 to double %83 = fdiv double %82, 0x4170000000000000 %84 = fadd double %80, %83 store double %84, ptr %8, align 8 %85 = load double, ptr %8, align 8 %86 = fadd double %85, 0x41B0000000000000 store double %86, ptr %8, align 8 %87 = load i32, ptr %4, align 4 %88 = sub nsw i32 %87, 1023 store i32 %88, ptr %4, align 4 %89 = load double, ptr %8, align 8 %90 = fdiv double %89, 0x41B0000000000000 store double %90, ptr %8, align 8 %91 = load i32, ptr %5, align 4 %92 = icmp ne i32 %91, 0 br i1 %92, label %93, label %96 93: ; preds = %78 %94 = load double, ptr %8, align 8 %95 = fmul double %94, -1.000000e+00 store double %95, ptr %8, align 8 br label %96 96: ; preds = %93, %78 %97 = load i32, ptr %4, align 4 %98 = icmp sgt i32 %97, 0 br i1 %98, label %99, label %104 99: ; preds = %96 %100 = load i32, ptr %4, align 4 %101 = call double @pow(double noundef 2.000000e+00, i32 noundef %100) %102 = load double, ptr %8, align 8 %103 = fmul double %102, %101 store double %103, ptr %8, align 8 br label %114 104: ; preds = %96 %105 = load i32, ptr %4, align 4 %106 = icmp slt i32 %105, 0 br i1 %106, label %107, label %113 107: ; preds = %104 %108 = load i32, ptr %4, align 4 %109 = call i32 @abs(i32 noundef %108) #3 %110 = call double @pow(double noundef 2.000000e+00, i32 noundef %109) %111 = load double, ptr %8, align 8 %112 = fdiv double %111, %110 store double %112, ptr %8, align 8 br label %113 113: ; preds = %107, %104 br label %114 114: ; preds = %113, %99 %115 = load double, ptr %8, align 8 store double %115, ptr %2, align 8 br label %116 116: ; preds = %114, %77 %117 = load double, ptr %2, align 8 ret double %117 } declare double @pow(double noundef, i32 noundef) #1 ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(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(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7kv_bv51.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @double64_be_read(ptr noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca double, align 8 store ptr %0, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 0 %11 = load i8, ptr %10, align 1 %12 = zext i8 %11 to i32 %13 = and i32 %12, 128 %14 = icmp ne i32 %13, 0 %15 = zext i1 %14 to i64 %16 = select i1 %14, i32 1, i32 0 store i32 %16, ptr %5, align 4 %17 = load ptr, ptr %3, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 0 %19 = load i8, ptr %18, align 1 %20 = zext i8 %19 to i32 %21 = and i32 %20, 127 %22 = shl i32 %21, 4 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 1 %25 = load i8, ptr %24, align 1 %26 = zext i8 %25 to i32 %27 = ashr i32 %26, 4 %28 = and i32 %27, 15 %29 = or i32 %22, %28 store i32 %29, ptr %4, align 4 %30 = load ptr, ptr %3, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 1 %32 = load i8, ptr %31, align 1 %33 = zext i8 %32 to i32 %34 = and i32 %33, 15 %35 = shl i32 %34, 24 %36 = load ptr, ptr %3, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 2 %38 = load i8, ptr %37, align 1 %39 = zext i8 %38 to i32 %40 = shl i32 %39, 16 %41 = or i32 %35, %40 %42 = load ptr, ptr %3, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 3 %44 = load i8, ptr %43, align 1 %45 = zext i8 %44 to i32 %46 = shl i32 %45, 8 %47 = or i32 %41, %46 %48 = load ptr, ptr %3, align 8 %49 = getelementptr inbounds i8, ptr %48, i64 4 %50 = load i8, ptr %49, align 1 %51 = zext i8 %50 to i32 %52 = or i32 %47, %51 store i32 %52, ptr %6, align 4 %53 = load ptr, ptr %3, align 8 %54 = getelementptr inbounds i8, ptr %53, i64 5 %55 = load i8, ptr %54, align 1 %56 = zext i8 %55 to i32 %57 = shl i32 %56, 16 %58 = load ptr, ptr %3, align 8 %59 = getelementptr inbounds i8, ptr %58, i64 6 %60 = load i8, ptr %59, align 1 %61 = zext i8 %60 to i32 %62 = shl i32 %61, 8 %63 = or i32 %57, %62 %64 = load ptr, ptr %3, align 8 %65 = getelementptr inbounds i8, ptr %64, i64 7 %66 = load i8, ptr %65, align 1 %67 = zext i8 %66 to i32 %68 = or i32 %63, %67 store i32 %68, ptr %7, align 4 %69 = load i32, ptr %4, align 4 %70 = icmp eq i32 %69, 0 br i1 %70, label %71, label %78 71: ; preds = %1 %72 = load i32, ptr %6, align 4 %73 = icmp eq i32 %72, 0 br i1 %73, label %74, label %78 74: ; preds = %71 %75 = load i32, ptr %7, align 4 %76 = icmp eq i32 %75, 0 br i1 %76, label %77, label %78 77: ; preds = %74 store double 0.000000e+00, ptr %2, align 8 br label %116 78: ; preds = %74, %71, %1 %79 = load i32, ptr %6, align 4 %80 = sitofp i32 %79 to double %81 = load i32, ptr %7, align 4 %82 = sitofp i32 %81 to double %83 = fdiv double %82, 0x4170000000000000 %84 = fadd double %80, %83 store double %84, ptr %8, align 8 %85 = load double, ptr %8, align 8 %86 = fadd double %85, 0x41B0000000000000 store double %86, ptr %8, align 8 %87 = load i32, ptr %4, align 4 %88 = sub nsw i32 %87, 1023 store i32 %88, ptr %4, align 4 %89 = load double, ptr %8, align 8 %90 = fdiv double %89, 0x41B0000000000000 store double %90, ptr %8, align 8 %91 = load i32, ptr %5, align 4 %92 = icmp ne i32 %91, 0 br i1 %92, label %93, label %96 93: ; preds = %78 %94 = load double, ptr %8, align 8 %95 = fmul double %94, -1.000000e+00 store double %95, ptr %8, align 8 br label %96 96: ; preds = %93, %78 %97 = load i32, ptr %4, align 4 %98 = icmp sgt i32 %97, 0 br i1 %98, label %99, label %104 99: ; preds = %96 %100 = load i32, ptr %4, align 4 %101 = call double @pow(double noundef 2.000000e+00, i32 noundef %100) %102 = load double, ptr %8, align 8 %103 = fmul double %102, %101 store double %103, ptr %8, align 8 br label %114 104: ; preds = %96 %105 = load i32, ptr %4, align 4 %106 = icmp slt i32 %105, 0 br i1 %106, label %107, label %113 107: ; preds = %104 %108 = load i32, ptr %4, align 4 %109 = call i32 @abs(i32 noundef %108) #3 %110 = call double @pow(double noundef 2.000000e+00, i32 noundef %109) %111 = load double, ptr %8, align 8 %112 = fdiv double %111, %110 store double %112, ptr %8, align 8 br label %113 113: ; preds = %107, %104 br label %114 114: ; preds = %113, %99 %115 = load double, ptr %8, align 8 store double %115, ptr %2, align 8 br label %116 116: ; preds = %114, %77 %117 = load double, ptr %2, align 8 ret double %117 } declare double @pow(double noundef, i32 noundef) #1 ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(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(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp28s5tjx3.c' source_filename = "/tmp/tmp28s5tjx3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (...) @__VERIFIER_nondet_int() store i32 %4, ptr %2, align 4 %5 = call i32 (...) @__VERIFIER_nondet_int() store i32 %5, ptr %3, align 4 br label %6 6: ; preds = %9, %0 %7 = load i32, ptr %2, align 4 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %16 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = mul nsw i32 2, %11 %13 = sub nsw i32 %10, %12 store i32 %13, ptr %2, align 4 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %3, align 4 br label %6, !llvm.loop !6 16: ; preds = %6 ret i32 0 } declare i32 @__VERIFIER_nondet_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp28s5tjx3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (...) @__VERIFIER_nondet_int() store i32 %4, ptr %2, align 4 %5 = call i32 (...) @__VERIFIER_nondet_int() store i32 %5, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp sgt i32 %6, 0 br i1 %7, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %8 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = mul nsw i32 2, %10 %12 = sub nsw i32 %9, %11 store i32 %12, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %3, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %17 17: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @__VERIFIER_nondet_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpfe94iabm.c' source_filename = "/tmp/tmpfe94iabm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"semaphore value is correct\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"semaphore value is not correct\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @func_gval(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp eq i32 %3, 1 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = call i32 @tst_resm(i32 noundef 0, ptr noundef @.str) br label %9 7: ; preds = %1 %8 = call i32 @tst_resm(i32 noundef 1, ptr noundef @.str.1) br label %9 9: ; preds = %7, %5 ret void } declare i32 @tst_resm(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/tmpfe94iabm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"semaphore value is correct\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"semaphore value is not correct\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @func_gval(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp eq i32 %3, 1 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = call i32 @tst_resm(i32 noundef 0, ptr noundef @.str) br label %9 7: ; preds = %1 %8 = call i32 @tst_resm(i32 noundef 1, ptr noundef @.str.1) br label %9 9: ; preds = %7, %5 ret void } declare i32 @tst_resm(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/tmpqoyw9yee.c' source_filename = "/tmp/tmpqoyw9yee.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copyTile(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %25, %3 %9 = load i32, ptr %7, align 4 %10 = icmp slt i32 %9, 32 br i1 %10, label %11, label %28 11: ; preds = %8 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %13, align 8 %15 = call i32 @memcpy(ptr noundef %12, ptr noundef %14, i32 noundef 256) %16 = load ptr, ptr %5, align 8 %17 = load ptr, ptr %16, align 8 %18 = getelementptr inbounds i32, ptr %17, i64 64 %19 = load ptr, ptr %5, align 8 store ptr %18, ptr %19, align 8 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %6, align 4 %22 = mul nsw i32 %21, 64 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %20, i64 %23 store ptr %24, ptr %4, align 8 br label %25 25: ; preds = %11 %26 = load i32, ptr %7, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %7, align 4 br label %8, !llvm.loop !6 28: ; preds = %8 ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqoyw9yee.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copyTile(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = icmp slt i32 %8, 32 br i1 %9, label %.lr.ph, label %29 .lr.ph: ; preds = %3 br label %10 10: ; preds = %.lr.ph, %24 %11 = load ptr, ptr %4, align 8 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %12, align 8 %14 = call i32 @memcpy(ptr noundef %11, ptr noundef %13, i32 noundef 256) %15 = load ptr, ptr %5, align 8 %16 = load ptr, ptr %15, align 8 %17 = getelementptr inbounds i32, ptr %16, i64 64 %18 = load ptr, ptr %5, align 8 store ptr %17, ptr %18, align 8 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %6, align 4 %21 = mul nsw i32 %20, 64 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i32, ptr %19, i64 %22 store ptr %23, ptr %4, align 8 br label %24 24: ; preds = %10 %25 = load i32, ptr %7, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %7, align 4 %27 = load i32, ptr %7, align 4 %28 = icmp slt i32 %27, 32 br i1 %28, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %29 29: ; preds = %._crit_edge, %3 ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp3io0i_ee.c' source_filename = "/tmp/tmp3io0i_ee.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"nonull\00", align 1 @PATH_MAX = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [10 x i8] c"%s\0A-> %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = 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 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 %13 = load ptr, ptr %12, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 0 %16 = load ptr, ptr %15, align 8 %17 = call i32 @strlen(ptr noundef %16) %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %13, i64 %18 %20 = getelementptr inbounds i8, ptr %19, i64 -6 %21 = call i64 @strncasecmp(ptr noundef %20, ptr noundef @.str, i32 noundef 6) %22 = icmp ne i64 %21, 0 %23 = zext i1 %22 to i32 store i32 %23, ptr %7, align 4 store i32 1, ptr %6, align 4 br label %24 24: ; preds = %64, %2 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %67 28: ; preds = %24 %29 = load i32, ptr @PATH_MAX, align 4 %30 = add nsw i32 %29, 1 %31 = zext i32 %30 to i64 %32 = call ptr @llvm.stacksave() store ptr %32, ptr %8, align 8 %33 = alloca i8, i64 %31, align 16 store i64 %31, ptr %9, align 8 %34 = load ptr, ptr %5, align 8 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 %38 = load ptr, ptr %37, align 8 %39 = load i32, ptr %7, align 4 %40 = icmp ne i32 %39, 0 br i1 %40, label %41, label %42 41: ; preds = %28 br label %43 42: ; preds = %28 br label %43 43: ; preds = %42, %41 %44 = phi ptr [ null, %41 ], [ %33, %42 ] %45 = call ptr @realpath(ptr noundef %38, ptr noundef %44) store ptr %45, ptr %10, align 8 %46 = load ptr, ptr %10, align 8 %47 = icmp ne ptr %46, null br i1 %47, label %48, label %62 48: ; preds = %43 %49 = load ptr, ptr %5, align 8 %50 = load i32, ptr %6, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds ptr, ptr %49, i64 %51 %53 = load ptr, ptr %52, align 8 %54 = load ptr, ptr %10, align 8 %55 = call i32 @printf(ptr noundef @.str.1, ptr noundef %53, ptr noundef %54) %56 = load i32, ptr %7, align 4 %57 = icmp ne i32 %56, 0 br i1 %57, label %58, label %61 58: ; preds = %48 %59 = load ptr, ptr %10, align 8 %60 = call i32 @free(ptr noundef %59) br label %61 61: ; preds = %58, %48 br label %62 62: ; preds = %61, %43 %63 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %63) br label %64 64: ; preds = %62 %65 = load i32, ptr %6, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %6, align 4 br label %24, !llvm.loop !6 67: ; preds = %24 ret i32 0 } declare i64 @strncasecmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare ptr @realpath(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3io0i_ee.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"nonull\00", align 1 @PATH_MAX = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [10 x i8] c"%s\0A-> %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = 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 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 %13 = load ptr, ptr %12, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 0 %16 = load ptr, ptr %15, align 8 %17 = call i32 @strlen(ptr noundef %16) %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %13, i64 %18 %20 = getelementptr inbounds i8, ptr %19, i64 -6 %21 = call i64 @strncasecmp(ptr noundef %20, ptr noundef @.str, i32 noundef 6) %22 = icmp ne i64 %21, 0 %23 = zext i1 %22 to i32 store i32 %23, ptr %7, align 4 store i32 1, ptr %6, align 4 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %.lr.ph, label %69 .lr.ph: ; preds = %2 br label %27 27: ; preds = %.lr.ph, %63 %28 = load i32, ptr @PATH_MAX, align 4 %29 = add nsw i32 %28, 1 %30 = zext i32 %29 to i64 %31 = call ptr @llvm.stacksave() store ptr %31, ptr %8, align 8 %32 = alloca i8, i64 %30, align 16 store i64 %30, ptr %9, align 8 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %6, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds ptr, ptr %33, i64 %35 %37 = load ptr, ptr %36, align 8 %38 = load i32, ptr %7, align 4 %39 = icmp ne i32 %38, 0 br i1 %39, label %40, label %41 40: ; preds = %27 br label %42 41: ; preds = %27 br label %42 42: ; preds = %41, %40 %43 = phi ptr [ null, %40 ], [ %32, %41 ] %44 = call ptr @realpath(ptr noundef %37, ptr noundef %43) store ptr %44, ptr %10, align 8 %45 = load ptr, ptr %10, align 8 %46 = icmp ne ptr %45, null br i1 %46, label %47, label %61 47: ; preds = %42 %48 = load ptr, ptr %5, align 8 %49 = load i32, ptr %6, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds ptr, ptr %48, i64 %50 %52 = load ptr, ptr %51, align 8 %53 = load ptr, ptr %10, align 8 %54 = call i32 @printf(ptr noundef @.str.1, ptr noundef %52, ptr noundef %53) %55 = load i32, ptr %7, align 4 %56 = icmp ne i32 %55, 0 br i1 %56, label %57, label %60 57: ; preds = %47 %58 = load ptr, ptr %10, align 8 %59 = call i32 @free(ptr noundef %58) br label %60 60: ; preds = %57, %47 br label %61 61: ; preds = %60, %42 %62 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %62) br label %63 63: ; preds = %61 %64 = load i32, ptr %6, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %6, align 4 %66 = load i32, ptr %6, align 4 %67 = load i32, ptr %4, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %63 br label %69 69: ; preds = %._crit_edge, %2 ret i32 0 } declare i64 @strncasecmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare ptr @realpath(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(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"}
; ModuleID = '/tmp/tmpxp2wy5d6.c' source_filename = "/tmp/tmpxp2wy5d6.c" target datalayout = "e-m:e-p270: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 [33 x i8] c"%s [in gribfile] [out gribfile]\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"could not open file: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"memeory allocation failed\0A\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"expecting 00Z not %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"missing time %d %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [25 x i8] c"recompile with bigger N\0A\00", align 1 @.str.8 = private unnamed_addr constant [25 x i8] c"changed field parameter\0A\00", align 1 @.str.9 = private unnamed_addr constant [20 x i8] c"resolution change?\0A\00", align 1 @.str.10 = private unnamed_addr constant [15 x i8] c"processing %d\0A\00", align 1 @.str.11 = private unnamed_addr constant [45 x i8] c"unexpected time range %d p=(%d,%d) units=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca 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 i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca 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 i32, align 4 %28 = alloca i32, align 4 %29 = alloca i32, align 4 %30 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 0, ptr %7, align 8 %31 = load i32, ptr %4, align 4 %32 = icmp ne i32 %31, 3 br i1 %32, label %33, label %40 33: ; preds = %2 %34 = load i32, ptr @stderr, align 4 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds ptr, ptr %35, i64 0 %37 = load ptr, ptr %36, align 8 %38 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %34, ptr noundef @.str, ptr noundef %37) %39 = call i32 @exit(i32 noundef 8) #3 unreachable 40: ; preds = %2 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds ptr, ptr %41, i64 1 %43 = load ptr, ptr %42, align 8 %44 = call ptr @fopen(ptr noundef %43, ptr noundef @.str.1) store ptr %44, ptr %12, align 8 %45 = icmp eq ptr %44, null br i1 %45, label %46, label %53 46: ; preds = %40 %47 = load i32, ptr @stderr, align 4 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds ptr, ptr %48, i64 1 %50 = load ptr, ptr %49, align 8 %51 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %47, ptr noundef @.str.2, ptr noundef %50) %52 = call i32 @exit(i32 noundef 7) #3 unreachable 53: ; preds = %40 %54 = load ptr, ptr %5, align 8 %55 = getelementptr inbounds ptr, ptr %54, i64 2 %56 = load ptr, ptr %55, align 8 %57 = call ptr @fopen(ptr noundef %56, ptr noundef @.str.3) store ptr %57, ptr %13, align 8 %58 = icmp eq ptr %57, null br i1 %58, label %59, label %66 59: ; preds = %53 %60 = load i32, ptr @stderr, align 4 %61 = load ptr, ptr %5, align 8 %62 = getelementptr inbounds ptr, ptr %61, i64 2 %63 = load ptr, ptr %62, align 8 %64 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %60, ptr noundef @.str.2, ptr noundef %63) %65 = call i32 @exit(i32 noundef 7) #3 unreachable 66: ; preds = %53 %67 = call i64 @malloc(i32 noundef 800000) %68 = inttoptr i64 %67 to ptr store ptr %68, ptr %18, align 8 %69 = call i64 @malloc(i32 noundef 800000) %70 = inttoptr i64 %69 to ptr store ptr %70, ptr %17, align 8 %71 = call i64 @malloc(i32 noundef 800000) %72 = inttoptr i64 %71 to ptr store ptr %72, ptr %16, align 8 store i32 200000, ptr %19, align 4 %73 = load ptr, ptr %18, align 8 %74 = icmp eq ptr %73, null br i1 %74, label %81, label %75 75: ; preds = %66 %76 = load ptr, ptr %17, align 8 %77 = icmp eq ptr %76, null br i1 %77, label %81, label %78 78: ; preds = %75 %79 = load ptr, ptr %16, align 8 %80 = icmp eq ptr %79, null br i1 %80, label %81, label %85 81: ; preds = %78, %75, %66 %82 = load i32, ptr @stderr, align 4 %83 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %82, ptr noundef @.str.4) %84 = call i32 @exit(i32 noundef 8) #3 unreachable 85: ; preds = %78 store i64 0, ptr %7, align 8 br label %86 86: ; preds = %580, %541, %85 store i32 0, ptr %20, align 4 br label %87 87: ; preds = %431, %209, %120, %106, %86 %88 = load i32, ptr %20, align 4 %89 = icmp slt i32 %88, 24 br i1 %89, label %90, label %437 90: ; preds = %87 %91 = load ptr, ptr %12, align 8 %92 = load i64, ptr %7, align 8 %93 = call i64 @rd_grib_msg(ptr noundef %91, i64 noundef %92, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11) store i64 %93, ptr %6, align 8 %94 = load i64, ptr %6, align 8 %95 = icmp sle i64 %94, 0 br i1 %95, label %96, label %97 96: ; preds = %90 br label %437 97: ; preds = %90 %98 = load ptr, ptr %8, align 8 %99 = call i32 @get_InitYYYYMMDDHH(ptr noundef %98) store i32 %99, ptr %30, align 4 %100 = load i32, ptr %20, align 4 %101 = icmp eq i32 %100, 0 br i1 %101, label %102, label %114 102: ; preds = %97 %103 = load i32, ptr %30, align 4 %104 = urem i32 %103, 100 %105 = icmp ne i32 %104, 0 br i1 %105, label %106, label %113 106: ; preds = %102 %107 = load i32, ptr @stderr, align 4 %108 = load i32, ptr %30, align 4 %109 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %107, ptr noundef @.str.5, i32 noundef %108) %110 = load i64, ptr %6, align 8 %111 = load i64, ptr %7, align 8 %112 = add nsw i64 %111, %110 store i64 %112, ptr %7, align 8 br label %87, !llvm.loop !6 113: ; preds = %102 br label %128 114: ; preds = %97 %115 = load i32, ptr %30, align 4 %116 = load i32, ptr %29, align 4 %117 = load i32, ptr %20, align 4 %118 = add i32 %116, %117 %119 = icmp ne i32 %115, %118 br i1 %119, label %120, label %127 120: ; preds = %114 %121 = load i32, ptr @stderr, align 4 %122 = load i32, ptr %30, align 4 %123 = load i32, ptr %29, align 4 %124 = load i32, ptr %20, align 4 %125 = add i32 %123, %124 %126 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %121, ptr noundef @.str.6, i32 noundef %122, i32 noundef %125) store i32 0, ptr %20, align 4 br label %87, !llvm.loop !6 127: ; preds = %114 br label %128 128: ; preds = %127, %113 %129 = load i32, ptr %20, align 4 %130 = icmp eq i32 %129, 0 br i1 %130, label %131, label %184 131: ; preds = %128 %132 = load i32, ptr %30, align 4 store i32 %132, ptr %29, align 4 %133 = load ptr, ptr %8, align 8 %134 = load ptr, ptr %9, align 8 %135 = load ptr, ptr %10, align 8 %136 = load ptr, ptr %11, align 8 %137 = call i32 @get_nxny(ptr noundef %133, ptr noundef %134, ptr noundef %135, ptr noundef %136) store i32 %137, ptr %15, align 4 %138 = load i32, ptr %15, align 4 %139 = icmp sgt i32 %138, 200000 br i1 %139, label %140, label %144 140: ; preds = %131 %141 = load i32, ptr @stderr, align 4 %142 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %141, ptr noundef @.str.7) %143 = call i32 @exit(i32 noundef 8) #3 unreachable 144: ; preds = %131 store i32 0, ptr %14, align 4 br label %145 145: ; preds = %158, %144 %146 = load i32, ptr %14, align 4 %147 = load i32, ptr %15, align 4 %148 = icmp slt i32 %146, %147 br i1 %148, label %149, label %161 149: ; preds = %145 %150 = load ptr, ptr %18, align 8 %151 = load i32, ptr %14, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds i32, ptr %150, i64 %152 store i32 0, ptr %153, align 4 %154 = load ptr, ptr %17, align 8 %155 = load i32, ptr %14, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds float, ptr %154, i64 %156 store float 0.000000e+00, ptr %157, align 4 br label %158 158: ; preds = %149 %159 = load i32, ptr %14, align 4 %160 = add nsw i32 %159, 1 store i32 %160, ptr %14, align 4 br label %145, !llvm.loop !8 161: ; preds = %145 %162 = load ptr, ptr %8, align 8 %163 = getelementptr inbounds i8, ptr %162, i64 8 %164 = load i8, ptr %163, align 1 %165 = zext i8 %164 to i32 %166 = shl i32 %165, 24 %167 = load ptr, ptr %8, align 8 %168 = getelementptr inbounds i8, ptr %167, i64 9 %169 = load i8, ptr %168, align 1 %170 = zext i8 %169 to i32 %171 = shl i32 %170, 16 %172 = add nsw i32 %166, %171 %173 = load ptr, ptr %8, align 8 %174 = getelementptr inbounds i8, ptr %173, i64 10 %175 = load i8, ptr %174, align 1 %176 = zext i8 %175 to i32 %177 = shl i32 %176, 8 %178 = add nsw i32 %172, %177 %179 = load ptr, ptr %8, align 8 %180 = getelementptr inbounds i8, ptr %179, i64 11 %181 = load i8, ptr %180, align 1 %182 = zext i8 %181 to i32 %183 = add nsw i32 %178, %182 store i32 %183, ptr %28, align 4 br label %225 184: ; preds = %128 %185 = load i32, ptr %28, align 4 %186 = load ptr, ptr %8, align 8 %187 = getelementptr inbounds i8, ptr %186, i64 8 %188 = load i8, ptr %187, align 1 %189 = zext i8 %188 to i32 %190 = shl i32 %189, 24 %191 = load ptr, ptr %8, align 8 %192 = getelementptr inbounds i8, ptr %191, i64 9 %193 = load i8, ptr %192, align 1 %194 = zext i8 %193 to i32 %195 = shl i32 %194, 16 %196 = add nsw i32 %190, %195 %197 = load ptr, ptr %8, align 8 %198 = getelementptr inbounds i8, ptr %197, i64 10 %199 = load i8, ptr %198, align 1 %200 = zext i8 %199 to i32 %201 = shl i32 %200, 8 %202 = add nsw i32 %196, %201 %203 = load ptr, ptr %8, align 8 %204 = getelementptr inbounds i8, ptr %203, i64 11 %205 = load i8, ptr %204, align 1 %206 = zext i8 %205 to i32 %207 = add nsw i32 %202, %206 %208 = icmp ne i32 %185, %207 br i1 %208, label %209, label %212 209: ; preds = %184 %210 = load i32, ptr @stderr, align 4 %211 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %210, ptr noundef @.str.8) store i32 0, ptr %20, align 4 br label %87, !llvm.loop !6 212: ; preds = %184 %213 = load i32, ptr %15, align 4 %214 = load ptr, ptr %8, align 8 %215 = load ptr, ptr %9, align 8 %216 = load ptr, ptr %10, align 8 %217 = load ptr, ptr %11, align 8 %218 = call i32 @get_nxny(ptr noundef %214, ptr noundef %215, ptr noundef %216, ptr noundef %217) %219 = icmp ne i32 %213, %218 br i1 %219, label %220, label %224 220: ; preds = %212 %221 = load i32, ptr @stderr, align 4 %222 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %221, ptr noundef @.str.9) %223 = call i32 @exit(i32 noundef 8) #3 unreachable 224: ; preds = %212 br label %225 225: ; preds = %224, %161 %226 = load ptr, ptr %16, align 8 %227 = load ptr, ptr %8, align 8 %228 = load ptr, ptr %9, align 8 %229 = load ptr, ptr %10, align 8 %230 = load ptr, ptr %11, align 8 %231 = load i32, ptr %15, align 4 %232 = call i32 @unpk_bds(ptr noundef %226, ptr noundef %227, ptr noundef %228, ptr noundef %229, ptr noundef %230, i32 noundef %231) %233 = load ptr, ptr %8, align 8 %234 = getelementptr inbounds i8, ptr %233, i64 8 %235 = load i8, ptr %234, align 1 %236 = zext i8 %235 to i32 %237 = icmp eq i32 %236, 15 br i1 %237, label %238, label %309 238: ; preds = %225 store i32 0, ptr %14, align 4 br label %239 239: ; preds = %305, %238 %240 = load i32, ptr %14, align 4 %241 = load i32, ptr %15, align 4 %242 = icmp slt i32 %240, %241 br i1 %242, label %243, label %308 243: ; preds = %239 %244 = load ptr, ptr %16, align 8 %245 = load i32, ptr %14, align 4 %246 = sext i32 %245 to i64 %247 = getelementptr inbounds float, ptr %244, i64 %246 %248 = load float, ptr %247, align 4 %249 = fpext float %248 to double %250 = fcmp oge double %249, 0x444B1A2170AD88AA br i1 %250, label %251, label %259 251: ; preds = %243 %252 = load ptr, ptr %16, align 8 %253 = load i32, ptr %14, align 4 %254 = sext i32 %253 to i64 %255 = getelementptr inbounds float, ptr %252, i64 %254 %256 = load float, ptr %255, align 4 %257 = fpext float %256 to double %258 = fcmp ole double %257, 9.999100e+20 br i1 %258, label %304, label %259 259: ; preds = %251, %243 %260 = load ptr, ptr %18, align 8 %261 = load i32, ptr %14, align 4 %262 = sext i32 %261 to i64 %263 = getelementptr inbounds i32, ptr %260, i64 %262 %264 = load i32, ptr %263, align 4 %265 = icmp eq i32 %264, 0 br i1 %265, label %266, label %280 266: ; preds = %259 %267 = load ptr, ptr %16, align 8 %268 = load i32, ptr %14, align 4 %269 = sext i32 %268 to i64 %270 = getelementptr inbounds float, ptr %267, i64 %269 %271 = load float, ptr %270, align 4 %272 = load ptr, ptr %17, align 8 %273 = load i32, ptr %14, align 4 %274 = sext i32 %273 to i64 %275 = getelementptr inbounds float, ptr %272, i64 %274 store float %271, ptr %275, align 4 %276 = load ptr, ptr %18, align 8 %277 = load i32, ptr %14, align 4 %278 = sext i32 %277 to i64 %279 = getelementptr inbounds i32, ptr %276, i64 %278 store i32 1, ptr %279, align 4 br label %303 280: ; preds = %259 %281 = load ptr, ptr %17, align 8 %282 = load i32, ptr %14, align 4 %283 = sext i32 %282 to i64 %284 = getelementptr inbounds float, ptr %281, i64 %283 %285 = load float, ptr %284, align 4 %286 = load ptr, ptr %16, align 8 %287 = load i32, ptr %14, align 4 %288 = sext i32 %287 to i64 %289 = getelementptr inbounds float, ptr %286, i64 %288 %290 = load float, ptr %289, align 4 %291 = fcmp olt float %285, %290 br i1 %291, label %292, label %302 292: ; preds = %280 %293 = load ptr, ptr %16, align 8 %294 = load i32, ptr %14, align 4 %295 = sext i32 %294 to i64 %296 = getelementptr inbounds float, ptr %293, i64 %295 %297 = load float, ptr %296, align 4 %298 = load ptr, ptr %17, align 8 %299 = load i32, ptr %14, align 4 %300 = sext i32 %299 to i64 %301 = getelementptr inbounds float, ptr %298, i64 %300 store float %297, ptr %301, align 4 br label %302 302: ; preds = %292, %280 br label %303 303: ; preds = %302, %266 br label %304 304: ; preds = %303, %251 br label %305 305: ; preds = %304 %306 = load i32, ptr %14, align 4 %307 = add nsw i32 %306, 1 store i32 %307, ptr %14, align 4 br label %239, !llvm.loop !9 308: ; preds = %239 br label %431 309: ; preds = %225 %310 = load ptr, ptr %8, align 8 %311 = getelementptr inbounds i8, ptr %310, i64 8 %312 = load i8, ptr %311, align 1 %313 = zext i8 %312 to i32 %314 = icmp eq i32 %313, 16 br i1 %314, label %315, label %386 315: ; preds = %309 store i32 0, ptr %14, align 4 br label %316 316: ; preds = %382, %315 %317 = load i32, ptr %14, align 4 %318 = load i32, ptr %15, align 4 %319 = icmp slt i32 %317, %318 br i1 %319, label %320, label %385 320: ; preds = %316 %321 = load ptr, ptr %16, align 8 %322 = load i32, ptr %14, align 4 %323 = sext i32 %322 to i64 %324 = getelementptr inbounds float, ptr %321, i64 %323 %325 = load float, ptr %324, align 4 %326 = fpext float %325 to double %327 = fcmp oge double %326, 0x444B1A2170AD88AA br i1 %327, label %328, label %336 328: ; preds = %320 %329 = load ptr, ptr %16, align 8 %330 = load i32, ptr %14, align 4 %331 = sext i32 %330 to i64 %332 = getelementptr inbounds float, ptr %329, i64 %331 %333 = load float, ptr %332, align 4 %334 = fpext float %333 to double %335 = fcmp ole double %334, 9.999100e+20 br i1 %335, label %381, label %336 336: ; preds = %328, %320 %337 = load ptr, ptr %18, align 8 %338 = load i32, ptr %14, align 4 %339 = sext i32 %338 to i64 %340 = getelementptr inbounds i32, ptr %337, i64 %339 %341 = load i32, ptr %340, align 4 %342 = icmp eq i32 %341, 0 br i1 %342, label %343, label %357 343: ; preds = %336 %344 = load ptr, ptr %16, align 8 %345 = load i32, ptr %14, align 4 %346 = sext i32 %345 to i64 %347 = getelementptr inbounds float, ptr %344, i64 %346 %348 = load float, ptr %347, align 4 %349 = load ptr, ptr %17, align 8 %350 = load i32, ptr %14, align 4 %351 = sext i32 %350 to i64 %352 = getelementptr inbounds float, ptr %349, i64 %351 store float %348, ptr %352, align 4 %353 = load ptr, ptr %18, align 8 %354 = load i32, ptr %14, align 4 %355 = sext i32 %354 to i64 %356 = getelementptr inbounds i32, ptr %353, i64 %355 store i32 1, ptr %356, align 4 br label %380 357: ; preds = %336 %358 = load ptr, ptr %17, align 8 %359 = load i32, ptr %14, align 4 %360 = sext i32 %359 to i64 %361 = getelementptr inbounds float, ptr %358, i64 %360 %362 = load float, ptr %361, align 4 %363 = load ptr, ptr %16, align 8 %364 = load i32, ptr %14, align 4 %365 = sext i32 %364 to i64 %366 = getelementptr inbounds float, ptr %363, i64 %365 %367 = load float, ptr %366, align 4 %368 = fcmp ogt float %362, %367 br i1 %368, label %369, label %379 369: ; preds = %357 %370 = load ptr, ptr %16, align 8 %371 = load i32, ptr %14, align 4 %372 = sext i32 %371 to i64 %373 = getelementptr inbounds float, ptr %370, i64 %372 %374 = load float, ptr %373, align 4 %375 = load ptr, ptr %17, align 8 %376 = load i32, ptr %14, align 4 %377 = sext i32 %376 to i64 %378 = getelementptr inbounds float, ptr %375, i64 %377 store float %374, ptr %378, align 4 br label %379 379: ; preds = %369, %357 br label %380 380: ; preds = %379, %343 br label %381 381: ; preds = %380, %328 br label %382 382: ; preds = %381 %383 = load i32, ptr %14, align 4 %384 = add nsw i32 %383, 1 store i32 %384, ptr %14, align 4 br label %316, !llvm.loop !10 385: ; preds = %316 br label %430 386: ; preds = %309 store i32 0, ptr %14, align 4 br label %387 387: ; preds = %426, %386 %388 = load i32, ptr %14, align 4 %389 = load i32, ptr %15, align 4 %390 = icmp slt i32 %388, %389 br i1 %390, label %391, label %429 391: ; preds = %387 %392 = load ptr, ptr %16, align 8 %393 = load i32, ptr %14, align 4 %394 = sext i32 %393 to i64 %395 = getelementptr inbounds float, ptr %392, i64 %394 %396 = load float, ptr %395, align 4 %397 = fpext float %396 to double %398 = fcmp oge double %397, 0x444B1A2170AD88AA br i1 %398, label %399, label %407 399: ; preds = %391 %400 = load ptr, ptr %16, align 8 %401 = load i32, ptr %14, align 4 %402 = sext i32 %401 to i64 %403 = getelementptr inbounds float, ptr %400, i64 %402 %404 = load float, ptr %403, align 4 %405 = fpext float %404 to double %406 = fcmp ole double %405, 9.999100e+20 br i1 %406, label %425, label %407 407: ; preds = %399, %391 %408 = load ptr, ptr %16, align 8 %409 = load i32, ptr %14, align 4 %410 = sext i32 %409 to i64 %411 = getelementptr inbounds float, ptr %408, i64 %410 %412 = load float, ptr %411, align 4 %413 = load ptr, ptr %17, align 8 %414 = load i32, ptr %14, align 4 %415 = sext i32 %414 to i64 %416 = getelementptr inbounds float, ptr %413, i64 %415 %417 = load float, ptr %416, align 4 %418 = fadd float %417, %412 store float %418, ptr %416, align 4 %419 = load ptr, ptr %18, align 8 %420 = load i32, ptr %14, align 4 %421 = sext i32 %420 to i64 %422 = getelementptr inbounds i32, ptr %419, i64 %421 %423 = load i32, ptr %422, align 4 %424 = add nsw i32 %423, 1 store i32 %424, ptr %422, align 4 br label %425 425: ; preds = %407, %399 br label %426 426: ; preds = %425 %427 = load i32, ptr %14, align 4 %428 = add nsw i32 %427, 1 store i32 %428, ptr %14, align 4 br label %387, !llvm.loop !11 429: ; preds = %387 br label %430 430: ; preds = %429, %385 br label %431 431: ; preds = %430, %308 %432 = load i64, ptr %6, align 8 %433 = load i64, ptr %7, align 8 %434 = add nsw i64 %433, %432 store i64 %434, ptr %7, align 8 %435 = load i32, ptr %20, align 4 %436 = add nsw i32 %435, 6 store i32 %436, ptr %20, align 4 br label %87, !llvm.loop !6 437: ; preds = %96, %87 %438 = load i64, ptr %6, align 8 %439 = icmp sle i64 %438, 0 br i1 %439, label %440, label %441 440: ; preds = %437 br label %581 441: ; preds = %437 store i32 4, ptr %27, align 4 %442 = load ptr, ptr %8, align 8 %443 = getelementptr inbounds i8, ptr %442, i64 8 %444 = load i8, ptr %443, align 1 %445 = zext i8 %444 to i32 %446 = icmp eq i32 %445, 16 br i1 %446, label %453, label %447 447: ; preds = %441 %448 = load ptr, ptr %8, align 8 %449 = getelementptr inbounds i8, ptr %448, i64 8 %450 = load i8, ptr %449, align 1 %451 = zext i8 %450 to i32 %452 = icmp eq i32 %451, 15 br i1 %452, label %453, label %454 453: ; preds = %447, %441 store i32 1, ptr %27, align 4 br label %454 454: ; preds = %453, %447 store i32 0, ptr %14, align 4 br label %455 455: ; preds = %484, %454 %456 = load i32, ptr %14, align 4 %457 = load i32, ptr %15, align 4 %458 = icmp slt i32 %456, %457 br i1 %458, label %459, label %487 459: ; preds = %455 %460 = load ptr, ptr %18, align 8 %461 = load i32, ptr %14, align 4 %462 = sext i32 %461 to i64 %463 = getelementptr inbounds i32, ptr %460, i64 %462 %464 = load i32, ptr %463, align 4 %465 = load i32, ptr %27, align 4 %466 = icmp eq i32 %464, %465 br i1 %466, label %467, label %478 467: ; preds = %459 %468 = load i32, ptr %27, align 4 %469 = sitofp i32 %468 to double %470 = load ptr, ptr %17, align 8 %471 = load i32, ptr %14, align 4 %472 = sext i32 %471 to i64 %473 = getelementptr inbounds float, ptr %470, i64 %472 %474 = load float, ptr %473, align 4 %475 = fpext float %474 to double %476 = fdiv double %475, %469 %477 = fptrunc double %476 to float store float %477, ptr %473, align 4 br label %483 478: ; preds = %459 %479 = load ptr, ptr %17, align 8 %480 = load i32, ptr %14, align 4 %481 = sext i32 %480 to i64 %482 = getelementptr inbounds float, ptr %479, i64 %481 store float 0x444B1A3340000000, ptr %482, align 4 br label %483 483: ; preds = %478, %467 br label %484 484: ; preds = %483 %485 = load i32, ptr %14, align 4 %486 = add nsw i32 %485, 1 store i32 %486, ptr %14, align 4 br label %455, !llvm.loop !12 487: ; preds = %455 %488 = load i32, ptr %29, align 4 %489 = call i32 @printf(ptr noundef @.str.10, i32 noundef %488) %490 = load ptr, ptr %8, align 8 %491 = load i32, ptr %29, align 4 %492 = call i32 @set_InitYYYYMMDDHH(ptr noundef %490, i32 noundef %491) %493 = load ptr, ptr %8, align 8 %494 = call i32 @get_TimeRange(ptr noundef %493, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26) %495 = load i32, ptr %21, align 4 %496 = icmp eq i32 %495, 2 br i1 %496, label %497, label %507 497: ; preds = %487 %498 = load i32, ptr %22, align 4 %499 = icmp eq i32 %498, 0 br i1 %499, label %500, label %507 500: ; preds = %497 %501 = load i32, ptr %23, align 4 %502 = icmp eq i32 %501, 6 br i1 %502, label %503, label %507 503: ; preds = %500 %504 = load i32, ptr %24, align 4 %505 = icmp eq i32 %504, 1 br i1 %505, label %506, label %507 506: ; preds = %503 store i32 2, ptr %21, align 4 store i32 0, ptr %22, align 4 store i32 24, ptr %23, align 4 store i32 1, ptr %24, align 4 store i32 0, ptr %25, align 4 store i32 0, ptr %26, align 4 br label %551 507: ; preds = %503, %500, %497, %487 %508 = load i32, ptr %21, align 4 %509 = icmp eq i32 %508, 10 br i1 %509, label %510, label %532 510: ; preds = %507 %511 = load i32, ptr %22, align 4 %512 = icmp eq i32 %511, 0 br i1 %512, label %513, label %532 513: ; preds = %510 %514 = load i32, ptr %23, align 4 %515 = icmp eq i32 %514, 6 br i1 %515, label %516, label %532 516: ; preds = %513 %517 = load i32, ptr %24, align 4 %518 = icmp eq i32 %517, 1 br i1 %518, label %519, label %532 519: ; preds = %516 %520 = load ptr, ptr %8, align 8 %521 = getelementptr inbounds i8, ptr %520, i64 8 %522 = load i8, ptr %521, align 1 %523 = zext i8 %522 to i32 %524 = icmp eq i32 %523, 16 br i1 %524, label %531, label %525 525: ; preds = %519 %526 = load ptr, ptr %8, align 8 %527 = getelementptr inbounds i8, ptr %526, i64 8 %528 = load i8, ptr %527, align 1 %529 = zext i8 %528 to i32 %530 = icmp eq i32 %529, 15 br i1 %530, label %531, label %532 531: ; preds = %525, %519 store i32 2, ptr %21, align 4 store i32 0, ptr %22, align 4 store i32 24, ptr %23, align 4 store i32 1, ptr %24, align 4 store i32 0, ptr %25, align 4 store i32 0, ptr %26, align 4 br label %550 532: ; preds = %525, %516, %513, %510, %507 %533 = load i32, ptr %21, align 4 %534 = icmp eq i32 %533, 3 br i1 %534, label %535, label %536 535: ; preds = %532 store i32 0, ptr %22, align 4 store i32 24, ptr %23, align 4 store i32 1, ptr %24, align 4 store i32 4, ptr %25, align 4 store i32 0, ptr %26, align 4 br label %549 536: ; preds = %532 %537 = load i32, ptr %21, align 4 %538 = icmp eq i32 %537, 10 br i1 %538, label %539, label %541 539: ; preds = %536 store i32 113, ptr %21, align 4 %540 = load i32, ptr %23, align 4 store i32 %540, ptr %22, align 4 store i32 6, ptr %23, align 4 store i32 1, ptr %24, align 4 store i32 4, ptr %25, align 4 store i32 0, ptr %26, align 4 br label %548 541: ; preds = %536 %542 = load i32, ptr @stderr, align 4 %543 = load i32, ptr %21, align 4 %544 = load i32, ptr %22, align 4 %545 = load i32, ptr %23, align 4 %546 = load i32, ptr %24, align 4 %547 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %542, ptr noundef @.str.11, i32 noundef %543, i32 noundef %544, i32 noundef %545, i32 noundef %546) br label %86 548: ; preds = %539 br label %549 549: ; preds = %548, %535 br label %550 550: ; preds = %549, %531 br label %551 551: ; preds = %550, %506 %552 = load ptr, ptr %8, align 8 %553 = load i32, ptr %21, align 4 %554 = load i32, ptr %22, align 4 %555 = load i32, ptr %23, align 4 %556 = load i32, ptr %24, align 4 %557 = load i32, ptr %25, align 4 %558 = load i32, ptr %26, align 4 %559 = call i32 @set_TimeRange(ptr noundef %552, i32 noundef %553, i32 noundef %554, i32 noundef %555, i32 noundef %556, i32 noundef %557, i32 noundef %558) %560 = load ptr, ptr %8, align 8 %561 = load ptr, ptr %17, align 8 %562 = call ptr @mk_BMS(ptr noundef %560, ptr noundef %561, ptr noundef %15, double noundef 0x444B1A2170AD88AA, double noundef 9.999100e+20) store ptr %562, ptr %10, align 8 %563 = load ptr, ptr %8, align 8 %564 = load ptr, ptr %17, align 8 %565 = load i32, ptr %15, align 4 %566 = call ptr @mk_BDS(ptr noundef %563, ptr noundef %564, i32 noundef %565) store ptr %566, ptr %11, align 8 %567 = load ptr, ptr %13, align 8 %568 = load ptr, ptr %8, align 8 %569 = load ptr, ptr %9, align 8 %570 = load ptr, ptr %10, align 8 %571 = load ptr, ptr %11, align 8 %572 = call i32 @wrt_grib_msg(ptr noundef %567, ptr noundef %568, ptr noundef %569, ptr noundef %570, ptr noundef %571) %573 = load ptr, ptr %11, align 8 %574 = call i32 @free(ptr noundef %573) %575 = load ptr, ptr %10, align 8 %576 = icmp ne ptr %575, null br i1 %576, label %577, label %580 577: ; preds = %551 %578 = load ptr, ptr %10, align 8 %579 = call i32 @free(ptr noundef %578) br label %580 580: ; preds = %577, %551 br label %86 581: ; preds = %440 %582 = load ptr, ptr %13, align 8 %583 = call i32 @fclose(ptr noundef %582) %584 = load ptr, ptr %12, align 8 %585 = call i32 @fclose(ptr noundef %584) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i64 @rd_grib_msg(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @get_InitYYYYMMDDHH(ptr noundef) #1 declare i32 @get_nxny(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @unpk_bds(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @set_InitYYYYMMDDHH(ptr noundef, i32 noundef) #1 declare i32 @get_TimeRange(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @set_TimeRange(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @mk_BMS(ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef) #1 declare ptr @mk_BDS(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @wrt_grib_msg(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxp2wy5d6.c" target datalayout = "e-m:e-p270: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 [33 x i8] c"%s [in gribfile] [out gribfile]\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"could not open file: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"memeory allocation failed\0A\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"expecting 00Z not %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"missing time %d %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [25 x i8] c"recompile with bigger N\0A\00", align 1 @.str.8 = private unnamed_addr constant [25 x i8] c"changed field parameter\0A\00", align 1 @.str.9 = private unnamed_addr constant [20 x i8] c"resolution change?\0A\00", align 1 @.str.10 = private unnamed_addr constant [15 x i8] c"processing %d\0A\00", align 1 @.str.11 = private unnamed_addr constant [45 x i8] c"unexpected time range %d p=(%d,%d) units=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca 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 i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca 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 i32, align 4 %28 = alloca i32, align 4 %29 = alloca i32, align 4 %30 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 0, ptr %7, align 8 %31 = load i32, ptr %4, align 4 %32 = icmp ne i32 %31, 3 br i1 %32, label %33, label %40 33: ; preds = %2 %34 = load i32, ptr @stderr, align 4 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds ptr, ptr %35, i64 0 %37 = load ptr, ptr %36, align 8 %38 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %34, ptr noundef @.str, ptr noundef %37) %39 = call i32 @exit(i32 noundef 8) #3 unreachable 40: ; preds = %2 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds ptr, ptr %41, i64 1 %43 = load ptr, ptr %42, align 8 %44 = call ptr @fopen(ptr noundef %43, ptr noundef @.str.1) store ptr %44, ptr %12, align 8 %45 = icmp eq ptr %44, null br i1 %45, label %46, label %53 46: ; preds = %40 %47 = load i32, ptr @stderr, align 4 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds ptr, ptr %48, i64 1 %50 = load ptr, ptr %49, align 8 %51 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %47, ptr noundef @.str.2, ptr noundef %50) %52 = call i32 @exit(i32 noundef 7) #3 unreachable 53: ; preds = %40 %54 = load ptr, ptr %5, align 8 %55 = getelementptr inbounds ptr, ptr %54, i64 2 %56 = load ptr, ptr %55, align 8 %57 = call ptr @fopen(ptr noundef %56, ptr noundef @.str.3) store ptr %57, ptr %13, align 8 %58 = icmp eq ptr %57, null br i1 %58, label %59, label %66 59: ; preds = %53 %60 = load i32, ptr @stderr, align 4 %61 = load ptr, ptr %5, align 8 %62 = getelementptr inbounds ptr, ptr %61, i64 2 %63 = load ptr, ptr %62, align 8 %64 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %60, ptr noundef @.str.2, ptr noundef %63) %65 = call i32 @exit(i32 noundef 7) #3 unreachable 66: ; preds = %53 %67 = call i64 @malloc(i32 noundef 800000) %68 = inttoptr i64 %67 to ptr store ptr %68, ptr %18, align 8 %69 = call i64 @malloc(i32 noundef 800000) %70 = inttoptr i64 %69 to ptr store ptr %70, ptr %17, align 8 %71 = call i64 @malloc(i32 noundef 800000) %72 = inttoptr i64 %71 to ptr store ptr %72, ptr %16, align 8 store i32 200000, ptr %19, align 4 %73 = load ptr, ptr %18, align 8 %74 = icmp eq ptr %73, null br i1 %74, label %81, label %75 75: ; preds = %66 %76 = load ptr, ptr %17, align 8 %77 = icmp eq ptr %76, null br i1 %77, label %81, label %78 78: ; preds = %75 %79 = load ptr, ptr %16, align 8 %80 = icmp eq ptr %79, null br i1 %80, label %81, label %85 81: ; preds = %78, %75, %66 %82 = load i32, ptr @stderr, align 4 %83 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %82, ptr noundef @.str.4) %84 = call i32 @exit(i32 noundef 8) #3 unreachable 85: ; preds = %78 store i64 0, ptr %7, align 8 br label %86 86: ; preds = %.backedge1, %85 store i32 0, ptr %20, align 4 %87 = load i32, ptr %20, align 4 %88 = icmp slt i32 %87, 24 br i1 %88, label %.lr.ph12, label %.loopexit .lr.ph12: ; preds = %86 br label %89 89: ; preds = %.lr.ph12, %.backedge %90 = load ptr, ptr %12, align 8 %91 = load i64, ptr %7, align 8 %92 = call i64 @rd_grib_msg(ptr noundef %90, i64 noundef %91, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11) store i64 %92, ptr %6, align 8 %93 = load i64, ptr %6, align 8 %94 = icmp sle i64 %93, 0 br i1 %94, label %95, label %96 95: ; preds = %89 br label %446 96: ; preds = %89 %97 = load ptr, ptr %8, align 8 %98 = call i32 @get_InitYYYYMMDDHH(ptr noundef %97) store i32 %98, ptr %30, align 4 %99 = load i32, ptr %20, align 4 %100 = icmp eq i32 %99, 0 br i1 %100, label %101, label %115 101: ; preds = %96 %102 = load i32, ptr %30, align 4 %103 = urem i32 %102, 100 %104 = icmp ne i32 %103, 0 br i1 %104, label %105, label %114 105: ; preds = %101 %106 = load i32, ptr @stderr, align 4 %107 = load i32, ptr %30, align 4 %108 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %106, ptr noundef @.str.5, i32 noundef %107) %109 = load i64, ptr %6, align 8 %110 = load i64, ptr %7, align 8 %111 = add nsw i64 %110, %109 store i64 %111, ptr %7, align 8 br label %.backedge .backedge: ; preds = %105, %121, %212, %440 %112 = load i32, ptr %20, align 4 %113 = icmp slt i32 %112, 24 br i1 %113, label %89, label %..loopexit_crit_edge, !llvm.loop !6 114: ; preds = %101 br label %129 115: ; preds = %96 %116 = load i32, ptr %30, align 4 %117 = load i32, ptr %29, align 4 %118 = load i32, ptr %20, align 4 %119 = add i32 %117, %118 %120 = icmp ne i32 %116, %119 br i1 %120, label %121, label %128 121: ; preds = %115 %122 = load i32, ptr @stderr, align 4 %123 = load i32, ptr %30, align 4 %124 = load i32, ptr %29, align 4 %125 = load i32, ptr %20, align 4 %126 = add i32 %124, %125 %127 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %122, ptr noundef @.str.6, i32 noundef %123, i32 noundef %126) store i32 0, ptr %20, align 4 br label %.backedge 128: ; preds = %115 br label %129 129: ; preds = %128, %114 %130 = load i32, ptr %20, align 4 %131 = icmp eq i32 %130, 0 br i1 %131, label %132, label %187 132: ; preds = %129 %133 = load i32, ptr %30, align 4 store i32 %133, ptr %29, align 4 %134 = load ptr, ptr %8, align 8 %135 = load ptr, ptr %9, align 8 %136 = load ptr, ptr %10, align 8 %137 = load ptr, ptr %11, align 8 %138 = call i32 @get_nxny(ptr noundef %134, ptr noundef %135, ptr noundef %136, ptr noundef %137) store i32 %138, ptr %15, align 4 %139 = load i32, ptr %15, align 4 %140 = icmp sgt i32 %139, 200000 br i1 %140, label %141, label %145 141: ; preds = %132 %142 = load i32, ptr @stderr, align 4 %143 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %142, ptr noundef @.str.7) %144 = call i32 @exit(i32 noundef 8) #3 unreachable 145: ; preds = %132 store i32 0, ptr %14, align 4 %146 = load i32, ptr %14, align 4 %147 = load i32, ptr %15, align 4 %148 = icmp slt i32 %146, %147 br i1 %148, label %.lr.ph, label %164 .lr.ph: ; preds = %145 br label %149 149: ; preds = %.lr.ph, %158 %150 = load ptr, ptr %18, align 8 %151 = load i32, ptr %14, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds i32, ptr %150, i64 %152 store i32 0, ptr %153, align 4 %154 = load ptr, ptr %17, align 8 %155 = load i32, ptr %14, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds float, ptr %154, i64 %156 store float 0.000000e+00, ptr %157, align 4 br label %158 158: ; preds = %149 %159 = load i32, ptr %14, align 4 %160 = add nsw i32 %159, 1 store i32 %160, ptr %14, align 4 %161 = load i32, ptr %14, align 4 %162 = load i32, ptr %15, align 4 %163 = icmp slt i32 %161, %162 br i1 %163, label %149, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %158 br label %164 164: ; preds = %._crit_edge, %145 %165 = load ptr, ptr %8, align 8 %166 = getelementptr inbounds i8, ptr %165, i64 8 %167 = load i8, ptr %166, align 1 %168 = zext i8 %167 to i32 %169 = shl i32 %168, 24 %170 = load ptr, ptr %8, align 8 %171 = getelementptr inbounds i8, ptr %170, i64 9 %172 = load i8, ptr %171, align 1 %173 = zext i8 %172 to i32 %174 = shl i32 %173, 16 %175 = add nsw i32 %169, %174 %176 = load ptr, ptr %8, align 8 %177 = getelementptr inbounds i8, ptr %176, i64 10 %178 = load i8, ptr %177, align 1 %179 = zext i8 %178 to i32 %180 = shl i32 %179, 8 %181 = add nsw i32 %175, %180 %182 = load ptr, ptr %8, align 8 %183 = getelementptr inbounds i8, ptr %182, i64 11 %184 = load i8, ptr %183, align 1 %185 = zext i8 %184 to i32 %186 = add nsw i32 %181, %185 store i32 %186, ptr %28, align 4 br label %228 187: ; preds = %129 %188 = load i32, ptr %28, align 4 %189 = load ptr, ptr %8, align 8 %190 = getelementptr inbounds i8, ptr %189, i64 8 %191 = load i8, ptr %190, align 1 %192 = zext i8 %191 to i32 %193 = shl i32 %192, 24 %194 = load ptr, ptr %8, align 8 %195 = getelementptr inbounds i8, ptr %194, i64 9 %196 = load i8, ptr %195, align 1 %197 = zext i8 %196 to i32 %198 = shl i32 %197, 16 %199 = add nsw i32 %193, %198 %200 = load ptr, ptr %8, align 8 %201 = getelementptr inbounds i8, ptr %200, i64 10 %202 = load i8, ptr %201, align 1 %203 = zext i8 %202 to i32 %204 = shl i32 %203, 8 %205 = add nsw i32 %199, %204 %206 = load ptr, ptr %8, align 8 %207 = getelementptr inbounds i8, ptr %206, i64 11 %208 = load i8, ptr %207, align 1 %209 = zext i8 %208 to i32 %210 = add nsw i32 %205, %209 %211 = icmp ne i32 %188, %210 br i1 %211, label %212, label %215 212: ; preds = %187 %213 = load i32, ptr @stderr, align 4 %214 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %213, ptr noundef @.str.8) store i32 0, ptr %20, align 4 br label %.backedge 215: ; preds = %187 %216 = load i32, ptr %15, align 4 %217 = load ptr, ptr %8, align 8 %218 = load ptr, ptr %9, align 8 %219 = load ptr, ptr %10, align 8 %220 = load ptr, ptr %11, align 8 %221 = call i32 @get_nxny(ptr noundef %217, ptr noundef %218, ptr noundef %219, ptr noundef %220) %222 = icmp ne i32 %216, %221 br i1 %222, label %223, label %227 223: ; preds = %215 %224 = load i32, ptr @stderr, align 4 %225 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %224, ptr noundef @.str.9) %226 = call i32 @exit(i32 noundef 8) #3 unreachable 227: ; preds = %215 br label %228 228: ; preds = %227, %164 %229 = load ptr, ptr %16, align 8 %230 = load ptr, ptr %8, align 8 %231 = load ptr, ptr %9, align 8 %232 = load ptr, ptr %10, align 8 %233 = load ptr, ptr %11, align 8 %234 = load i32, ptr %15, align 4 %235 = call i32 @unpk_bds(ptr noundef %229, ptr noundef %230, ptr noundef %231, ptr noundef %232, ptr noundef %233, i32 noundef %234) %236 = load ptr, ptr %8, align 8 %237 = getelementptr inbounds i8, ptr %236, i64 8 %238 = load i8, ptr %237, align 1 %239 = zext i8 %238 to i32 %240 = icmp eq i32 %239, 15 br i1 %240, label %241, label %314 241: ; preds = %228 store i32 0, ptr %14, align 4 %242 = load i32, ptr %14, align 4 %243 = load i32, ptr %15, align 4 %244 = icmp slt i32 %242, %243 br i1 %244, label %.lr.ph9, label %313 .lr.ph9: ; preds = %241 br label %245 245: ; preds = %.lr.ph9, %307 %246 = load ptr, ptr %16, align 8 %247 = load i32, ptr %14, align 4 %248 = sext i32 %247 to i64 %249 = getelementptr inbounds float, ptr %246, i64 %248 %250 = load float, ptr %249, align 4 %251 = fpext float %250 to double %252 = fcmp oge double %251, 0x444B1A2170AD88AA br i1 %252, label %253, label %261 253: ; preds = %245 %254 = load ptr, ptr %16, align 8 %255 = load i32, ptr %14, align 4 %256 = sext i32 %255 to i64 %257 = getelementptr inbounds float, ptr %254, i64 %256 %258 = load float, ptr %257, align 4 %259 = fpext float %258 to double %260 = fcmp ole double %259, 9.999100e+20 br i1 %260, label %306, label %261 261: ; preds = %253, %245 %262 = load ptr, ptr %18, align 8 %263 = load i32, ptr %14, align 4 %264 = sext i32 %263 to i64 %265 = getelementptr inbounds i32, ptr %262, i64 %264 %266 = load i32, ptr %265, align 4 %267 = icmp eq i32 %266, 0 br i1 %267, label %268, label %282 268: ; preds = %261 %269 = load ptr, ptr %16, align 8 %270 = load i32, ptr %14, align 4 %271 = sext i32 %270 to i64 %272 = getelementptr inbounds float, ptr %269, i64 %271 %273 = load float, ptr %272, align 4 %274 = load ptr, ptr %17, align 8 %275 = load i32, ptr %14, align 4 %276 = sext i32 %275 to i64 %277 = getelementptr inbounds float, ptr %274, i64 %276 store float %273, ptr %277, align 4 %278 = load ptr, ptr %18, align 8 %279 = load i32, ptr %14, align 4 %280 = sext i32 %279 to i64 %281 = getelementptr inbounds i32, ptr %278, i64 %280 store i32 1, ptr %281, align 4 br label %305 282: ; preds = %261 %283 = load ptr, ptr %17, align 8 %284 = load i32, ptr %14, align 4 %285 = sext i32 %284 to i64 %286 = getelementptr inbounds float, ptr %283, i64 %285 %287 = load float, ptr %286, align 4 %288 = load ptr, ptr %16, align 8 %289 = load i32, ptr %14, align 4 %290 = sext i32 %289 to i64 %291 = getelementptr inbounds float, ptr %288, i64 %290 %292 = load float, ptr %291, align 4 %293 = fcmp olt float %287, %292 br i1 %293, label %294, label %304 294: ; preds = %282 %295 = load ptr, ptr %16, align 8 %296 = load i32, ptr %14, align 4 %297 = sext i32 %296 to i64 %298 = getelementptr inbounds float, ptr %295, i64 %297 %299 = load float, ptr %298, align 4 %300 = load ptr, ptr %17, align 8 %301 = load i32, ptr %14, align 4 %302 = sext i32 %301 to i64 %303 = getelementptr inbounds float, ptr %300, i64 %302 store float %299, ptr %303, align 4 br label %304 304: ; preds = %294, %282 br label %305 305: ; preds = %304, %268 br label %306 306: ; preds = %305, %253 br label %307 307: ; preds = %306 %308 = load i32, ptr %14, align 4 %309 = add nsw i32 %308, 1 store i32 %309, ptr %14, align 4 %310 = load i32, ptr %14, align 4 %311 = load i32, ptr %15, align 4 %312 = icmp slt i32 %310, %311 br i1 %312, label %245, label %._crit_edge10, !llvm.loop !9 ._crit_edge10: ; preds = %307 br label %313 313: ; preds = %._crit_edge10, %241 br label %440 314: ; preds = %228 %315 = load ptr, ptr %8, align 8 %316 = getelementptr inbounds i8, ptr %315, i64 8 %317 = load i8, ptr %316, align 1 %318 = zext i8 %317 to i32 %319 = icmp eq i32 %318, 16 br i1 %319, label %320, label %393 320: ; preds = %314 store i32 0, ptr %14, align 4 %321 = load i32, ptr %14, align 4 %322 = load i32, ptr %15, align 4 %323 = icmp slt i32 %321, %322 br i1 %323, label %.lr.ph6, label %392 .lr.ph6: ; preds = %320 br label %324 324: ; preds = %.lr.ph6, %386 %325 = load ptr, ptr %16, align 8 %326 = load i32, ptr %14, align 4 %327 = sext i32 %326 to i64 %328 = getelementptr inbounds float, ptr %325, i64 %327 %329 = load float, ptr %328, align 4 %330 = fpext float %329 to double %331 = fcmp oge double %330, 0x444B1A2170AD88AA br i1 %331, label %332, label %340 332: ; preds = %324 %333 = load ptr, ptr %16, align 8 %334 = load i32, ptr %14, align 4 %335 = sext i32 %334 to i64 %336 = getelementptr inbounds float, ptr %333, i64 %335 %337 = load float, ptr %336, align 4 %338 = fpext float %337 to double %339 = fcmp ole double %338, 9.999100e+20 br i1 %339, label %385, label %340 340: ; preds = %332, %324 %341 = load ptr, ptr %18, align 8 %342 = load i32, ptr %14, align 4 %343 = sext i32 %342 to i64 %344 = getelementptr inbounds i32, ptr %341, i64 %343 %345 = load i32, ptr %344, align 4 %346 = icmp eq i32 %345, 0 br i1 %346, label %347, label %361 347: ; preds = %340 %348 = load ptr, ptr %16, align 8 %349 = load i32, ptr %14, align 4 %350 = sext i32 %349 to i64 %351 = getelementptr inbounds float, ptr %348, i64 %350 %352 = load float, ptr %351, align 4 %353 = load ptr, ptr %17, align 8 %354 = load i32, ptr %14, align 4 %355 = sext i32 %354 to i64 %356 = getelementptr inbounds float, ptr %353, i64 %355 store float %352, ptr %356, align 4 %357 = load ptr, ptr %18, align 8 %358 = load i32, ptr %14, align 4 %359 = sext i32 %358 to i64 %360 = getelementptr inbounds i32, ptr %357, i64 %359 store i32 1, ptr %360, align 4 br label %384 361: ; preds = %340 %362 = load ptr, ptr %17, align 8 %363 = load i32, ptr %14, align 4 %364 = sext i32 %363 to i64 %365 = getelementptr inbounds float, ptr %362, i64 %364 %366 = load float, ptr %365, align 4 %367 = load ptr, ptr %16, align 8 %368 = load i32, ptr %14, align 4 %369 = sext i32 %368 to i64 %370 = getelementptr inbounds float, ptr %367, i64 %369 %371 = load float, ptr %370, align 4 %372 = fcmp ogt float %366, %371 br i1 %372, label %373, label %383 373: ; preds = %361 %374 = load ptr, ptr %16, align 8 %375 = load i32, ptr %14, align 4 %376 = sext i32 %375 to i64 %377 = getelementptr inbounds float, ptr %374, i64 %376 %378 = load float, ptr %377, align 4 %379 = load ptr, ptr %17, align 8 %380 = load i32, ptr %14, align 4 %381 = sext i32 %380 to i64 %382 = getelementptr inbounds float, ptr %379, i64 %381 store float %378, ptr %382, align 4 br label %383 383: ; preds = %373, %361 br label %384 384: ; preds = %383, %347 br label %385 385: ; preds = %384, %332 br label %386 386: ; preds = %385 %387 = load i32, ptr %14, align 4 %388 = add nsw i32 %387, 1 store i32 %388, ptr %14, align 4 %389 = load i32, ptr %14, align 4 %390 = load i32, ptr %15, align 4 %391 = icmp slt i32 %389, %390 br i1 %391, label %324, label %._crit_edge7, !llvm.loop !10 ._crit_edge7: ; preds = %386 br label %392 392: ; preds = %._crit_edge7, %320 br label %439 393: ; preds = %314 store i32 0, ptr %14, align 4 %394 = load i32, ptr %14, align 4 %395 = load i32, ptr %15, align 4 %396 = icmp slt i32 %394, %395 br i1 %396, label %.lr.ph3, label %438 .lr.ph3: ; preds = %393 br label %397 397: ; preds = %.lr.ph3, %432 %398 = load ptr, ptr %16, align 8 %399 = load i32, ptr %14, align 4 %400 = sext i32 %399 to i64 %401 = getelementptr inbounds float, ptr %398, i64 %400 %402 = load float, ptr %401, align 4 %403 = fpext float %402 to double %404 = fcmp oge double %403, 0x444B1A2170AD88AA br i1 %404, label %405, label %413 405: ; preds = %397 %406 = load ptr, ptr %16, align 8 %407 = load i32, ptr %14, align 4 %408 = sext i32 %407 to i64 %409 = getelementptr inbounds float, ptr %406, i64 %408 %410 = load float, ptr %409, align 4 %411 = fpext float %410 to double %412 = fcmp ole double %411, 9.999100e+20 br i1 %412, label %431, label %413 413: ; preds = %405, %397 %414 = load ptr, ptr %16, align 8 %415 = load i32, ptr %14, align 4 %416 = sext i32 %415 to i64 %417 = getelementptr inbounds float, ptr %414, i64 %416 %418 = load float, ptr %417, align 4 %419 = load ptr, ptr %17, align 8 %420 = load i32, ptr %14, align 4 %421 = sext i32 %420 to i64 %422 = getelementptr inbounds float, ptr %419, i64 %421 %423 = load float, ptr %422, align 4 %424 = fadd float %423, %418 store float %424, ptr %422, align 4 %425 = load ptr, ptr %18, align 8 %426 = load i32, ptr %14, align 4 %427 = sext i32 %426 to i64 %428 = getelementptr inbounds i32, ptr %425, i64 %427 %429 = load i32, ptr %428, align 4 %430 = add nsw i32 %429, 1 store i32 %430, ptr %428, align 4 br label %431 431: ; preds = %413, %405 br label %432 432: ; preds = %431 %433 = load i32, ptr %14, align 4 %434 = add nsw i32 %433, 1 store i32 %434, ptr %14, align 4 %435 = load i32, ptr %14, align 4 %436 = load i32, ptr %15, align 4 %437 = icmp slt i32 %435, %436 br i1 %437, label %397, label %._crit_edge4, !llvm.loop !11 ._crit_edge4: ; preds = %432 br label %438 438: ; preds = %._crit_edge4, %393 br label %439 439: ; preds = %438, %392 br label %440 440: ; preds = %439, %313 %441 = load i64, ptr %6, align 8 %442 = load i64, ptr %7, align 8 %443 = add nsw i64 %442, %441 store i64 %443, ptr %7, align 8 %444 = load i32, ptr %20, align 4 %445 = add nsw i32 %444, 6 store i32 %445, ptr %20, align 4 br label %.backedge ..loopexit_crit_edge: ; preds = %.backedge br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %86 br label %446 446: ; preds = %.loopexit, %95 %447 = load i64, ptr %6, align 8 %448 = icmp sle i64 %447, 0 br i1 %448, label %449, label %450 449: ; preds = %446 br label %592 450: ; preds = %446 store i32 4, ptr %27, align 4 %451 = load ptr, ptr %8, align 8 %452 = getelementptr inbounds i8, ptr %451, i64 8 %453 = load i8, ptr %452, align 1 %454 = zext i8 %453 to i32 %455 = icmp eq i32 %454, 16 br i1 %455, label %462, label %456 456: ; preds = %450 %457 = load ptr, ptr %8, align 8 %458 = getelementptr inbounds i8, ptr %457, i64 8 %459 = load i8, ptr %458, align 1 %460 = zext i8 %459 to i32 %461 = icmp eq i32 %460, 15 br i1 %461, label %462, label %463 462: ; preds = %456, %450 store i32 1, ptr %27, align 4 br label %463 463: ; preds = %462, %456 store i32 0, ptr %14, align 4 %464 = load i32, ptr %14, align 4 %465 = load i32, ptr %15, align 4 %466 = icmp slt i32 %464, %465 br i1 %466, label %.lr.ph14, label %498 .lr.ph14: ; preds = %463 br label %467 467: ; preds = %.lr.ph14, %492 %468 = load ptr, ptr %18, align 8 %469 = load i32, ptr %14, align 4 %470 = sext i32 %469 to i64 %471 = getelementptr inbounds i32, ptr %468, i64 %470 %472 = load i32, ptr %471, align 4 %473 = load i32, ptr %27, align 4 %474 = icmp eq i32 %472, %473 br i1 %474, label %475, label %486 475: ; preds = %467 %476 = load i32, ptr %27, align 4 %477 = sitofp i32 %476 to double %478 = load ptr, ptr %17, align 8 %479 = load i32, ptr %14, align 4 %480 = sext i32 %479 to i64 %481 = getelementptr inbounds float, ptr %478, i64 %480 %482 = load float, ptr %481, align 4 %483 = fpext float %482 to double %484 = fdiv double %483, %477 %485 = fptrunc double %484 to float store float %485, ptr %481, align 4 br label %491 486: ; preds = %467 %487 = load ptr, ptr %17, align 8 %488 = load i32, ptr %14, align 4 %489 = sext i32 %488 to i64 %490 = getelementptr inbounds float, ptr %487, i64 %489 store float 0x444B1A3340000000, ptr %490, align 4 br label %491 491: ; preds = %486, %475 br label %492 492: ; preds = %491 %493 = load i32, ptr %14, align 4 %494 = add nsw i32 %493, 1 store i32 %494, ptr %14, align 4 %495 = load i32, ptr %14, align 4 %496 = load i32, ptr %15, align 4 %497 = icmp slt i32 %495, %496 br i1 %497, label %467, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %492 br label %498 498: ; preds = %._crit_edge15, %463 %499 = load i32, ptr %29, align 4 %500 = call i32 @printf(ptr noundef @.str.10, i32 noundef %499) %501 = load ptr, ptr %8, align 8 %502 = load i32, ptr %29, align 4 %503 = call i32 @set_InitYYYYMMDDHH(ptr noundef %501, i32 noundef %502) %504 = load ptr, ptr %8, align 8 %505 = call i32 @get_TimeRange(ptr noundef %504, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26) %506 = load i32, ptr %21, align 4 %507 = icmp eq i32 %506, 2 br i1 %507, label %508, label %518 508: ; preds = %498 %509 = load i32, ptr %22, align 4 %510 = icmp eq i32 %509, 0 br i1 %510, label %511, label %518 511: ; preds = %508 %512 = load i32, ptr %23, align 4 %513 = icmp eq i32 %512, 6 br i1 %513, label %514, label %518 514: ; preds = %511 %515 = load i32, ptr %24, align 4 %516 = icmp eq i32 %515, 1 br i1 %516, label %517, label %518 517: ; preds = %514 store i32 2, ptr %21, align 4 store i32 0, ptr %22, align 4 store i32 24, ptr %23, align 4 store i32 1, ptr %24, align 4 store i32 0, ptr %25, align 4 store i32 0, ptr %26, align 4 br label %562 518: ; preds = %514, %511, %508, %498 %519 = load i32, ptr %21, align 4 %520 = icmp eq i32 %519, 10 br i1 %520, label %521, label %543 521: ; preds = %518 %522 = load i32, ptr %22, align 4 %523 = icmp eq i32 %522, 0 br i1 %523, label %524, label %543 524: ; preds = %521 %525 = load i32, ptr %23, align 4 %526 = icmp eq i32 %525, 6 br i1 %526, label %527, label %543 527: ; preds = %524 %528 = load i32, ptr %24, align 4 %529 = icmp eq i32 %528, 1 br i1 %529, label %530, label %543 530: ; preds = %527 %531 = load ptr, ptr %8, align 8 %532 = getelementptr inbounds i8, ptr %531, i64 8 %533 = load i8, ptr %532, align 1 %534 = zext i8 %533 to i32 %535 = icmp eq i32 %534, 16 br i1 %535, label %542, label %536 536: ; preds = %530 %537 = load ptr, ptr %8, align 8 %538 = getelementptr inbounds i8, ptr %537, i64 8 %539 = load i8, ptr %538, align 1 %540 = zext i8 %539 to i32 %541 = icmp eq i32 %540, 15 br i1 %541, label %542, label %543 542: ; preds = %536, %530 store i32 2, ptr %21, align 4 store i32 0, ptr %22, align 4 store i32 24, ptr %23, align 4 store i32 1, ptr %24, align 4 store i32 0, ptr %25, align 4 store i32 0, ptr %26, align 4 br label %561 543: ; preds = %536, %527, %524, %521, %518 %544 = load i32, ptr %21, align 4 %545 = icmp eq i32 %544, 3 br i1 %545, label %546, label %547 546: ; preds = %543 store i32 0, ptr %22, align 4 store i32 24, ptr %23, align 4 store i32 1, ptr %24, align 4 store i32 4, ptr %25, align 4 store i32 0, ptr %26, align 4 br label %560 547: ; preds = %543 %548 = load i32, ptr %21, align 4 %549 = icmp eq i32 %548, 10 br i1 %549, label %550, label %552 550: ; preds = %547 store i32 113, ptr %21, align 4 %551 = load i32, ptr %23, align 4 store i32 %551, ptr %22, align 4 store i32 6, ptr %23, align 4 store i32 1, ptr %24, align 4 store i32 4, ptr %25, align 4 store i32 0, ptr %26, align 4 br label %559 552: ; preds = %547 %553 = load i32, ptr @stderr, align 4 %554 = load i32, ptr %21, align 4 %555 = load i32, ptr %22, align 4 %556 = load i32, ptr %23, align 4 %557 = load i32, ptr %24, align 4 %558 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %553, ptr noundef @.str.11, i32 noundef %554, i32 noundef %555, i32 noundef %556, i32 noundef %557) br label %.backedge1 .backedge1: ; preds = %552, %591 br label %86 559: ; preds = %550 br label %560 560: ; preds = %559, %546 br label %561 561: ; preds = %560, %542 br label %562 562: ; preds = %561, %517 %563 = load ptr, ptr %8, align 8 %564 = load i32, ptr %21, align 4 %565 = load i32, ptr %22, align 4 %566 = load i32, ptr %23, align 4 %567 = load i32, ptr %24, align 4 %568 = load i32, ptr %25, align 4 %569 = load i32, ptr %26, align 4 %570 = call i32 @set_TimeRange(ptr noundef %563, i32 noundef %564, i32 noundef %565, i32 noundef %566, i32 noundef %567, i32 noundef %568, i32 noundef %569) %571 = load ptr, ptr %8, align 8 %572 = load ptr, ptr %17, align 8 %573 = call ptr @mk_BMS(ptr noundef %571, ptr noundef %572, ptr noundef %15, double noundef 0x444B1A2170AD88AA, double noundef 9.999100e+20) store ptr %573, ptr %10, align 8 %574 = load ptr, ptr %8, align 8 %575 = load ptr, ptr %17, align 8 %576 = load i32, ptr %15, align 4 %577 = call ptr @mk_BDS(ptr noundef %574, ptr noundef %575, i32 noundef %576) store ptr %577, ptr %11, align 8 %578 = load ptr, ptr %13, align 8 %579 = load ptr, ptr %8, align 8 %580 = load ptr, ptr %9, align 8 %581 = load ptr, ptr %10, align 8 %582 = load ptr, ptr %11, align 8 %583 = call i32 @wrt_grib_msg(ptr noundef %578, ptr noundef %579, ptr noundef %580, ptr noundef %581, ptr noundef %582) %584 = load ptr, ptr %11, align 8 %585 = call i32 @free(ptr noundef %584) %586 = load ptr, ptr %10, align 8 %587 = icmp ne ptr %586, null br i1 %587, label %588, label %591 588: ; preds = %562 %589 = load ptr, ptr %10, align 8 %590 = call i32 @free(ptr noundef %589) br label %591 591: ; preds = %588, %562 br label %.backedge1 592: ; preds = %449 %593 = load ptr, ptr %13, align 8 %594 = call i32 @fclose(ptr noundef %593) %595 = load ptr, ptr %12, align 8 %596 = call i32 @fclose(ptr noundef %595) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i64 @rd_grib_msg(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @get_InitYYYYMMDDHH(ptr noundef) #1 declare i32 @get_nxny(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @unpk_bds(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @set_InitYYYYMMDDHH(ptr noundef, i32 noundef) #1 declare i32 @get_TimeRange(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @set_TimeRange(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @mk_BMS(ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef) #1 declare ptr @mk_BDS(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @wrt_grib_msg(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmp9sxbjw0h.c' source_filename = "/tmp/tmp9sxbjw0h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @normal_01_cdf(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 store double %0, ptr %2, align 8 store double 0x3FD9884533DFE9B9, ptr %3, align 8 store double 0x3FD99804977BB02A, ptr %4, align 8 store double 0x401709113BE05594, ptr %5, align 8 store double 0x403DD2445F58EAA3, ptr %6, align 8 store double 0x4004FEA15D6FE126, ptr %7, align 8 store double 0x404859164D073A74, ptr %8, align 8 store double 0x4017B7265A7D0F22, ptr %9, align 8 store double 0x3FD9884533CFB1F8, ptr %10, align 8 store double 3.805200e-08, ptr %11, align 8 store double 0x3FF0000673B05093, ptr %12, align 8 store double 0x3F3A166B459C7B69, ptr %13, align 8 store double 0x3FFFC74938A68D3A, ptr %14, align 8 store double 0x3FC36A38A6B77CC0, ptr %15, align 8 store double 0x40152C57AFDD8769, ptr %16, align 8 store double 0x40135AB7AC36FCAD, ptr %17, align 8 store double 0x402E4D42675985A1, ptr %18, align 8 store double 0x3FE7C195A3BBD8E3, ptr %19, align 8 store double 0x403ECA390D230F60, ptr %20, align 8 store double 0x400FEBEAEBCA7F9D, ptr %21, align 8 %25 = load double, ptr %2, align 8 %26 = call double @llvm.fabs.f64(double %25) %27 = fcmp ole double %26, 1.280000e+00 br i1 %27, label %28, label %58 28: ; preds = %1 %29 = load double, ptr %2, align 8 %30 = fmul double 5.000000e-01, %29 %31 = load double, ptr %2, align 8 %32 = fmul double %30, %31 store double %32, ptr %24, align 8 %33 = load double, ptr %2, align 8 %34 = call double @llvm.fabs.f64(double %33) %35 = load double, ptr %3, align 8 %36 = load double, ptr %4, align 8 %37 = load double, ptr %24, align 8 %38 = fmul double %36, %37 %39 = load double, ptr %24, align 8 %40 = load double, ptr %5, align 8 %41 = fadd double %39, %40 %42 = load double, ptr %6, align 8 %43 = load double, ptr %24, align 8 %44 = load double, ptr %7, align 8 %45 = fadd double %43, %44 %46 = load double, ptr %8, align 8 %47 = load double, ptr %24, align 8 %48 = load double, ptr %9, align 8 %49 = fadd double %47, %48 %50 = fdiv double %46, %49 %51 = fadd double %45, %50 %52 = fdiv double %42, %51 %53 = fsub double %41, %52 %54 = fdiv double %38, %53 %55 = fsub double %35, %54 %56 = fneg double %34 %57 = call double @llvm.fmuladd.f64(double %56, double %55, double 5.000000e-01) store double %57, ptr %23, align 8 br label %114 58: ; preds = %1 %59 = load double, ptr %2, align 8 %60 = call double @llvm.fabs.f64(double %59) %61 = fcmp ole double %60, 1.270000e+01 br i1 %61, label %62, label %112 62: ; preds = %58 %63 = load double, ptr %2, align 8 %64 = fmul double 5.000000e-01, %63 %65 = load double, ptr %2, align 8 %66 = fmul double %64, %65 store double %66, ptr %24, align 8 %67 = load double, ptr %24, align 8 %68 = fneg double %67 %69 = call double @exp(double noundef %68) #3 %70 = load double, ptr %10, align 8 %71 = fmul double %69, %70 %72 = load double, ptr %2, align 8 %73 = call double @llvm.fabs.f64(double %72) %74 = load double, ptr %11, align 8 %75 = fsub double %73, %74 %76 = load double, ptr %12, align 8 %77 = load double, ptr %2, align 8 %78 = call double @llvm.fabs.f64(double %77) %79 = load double, ptr %13, align 8 %80 = fadd double %78, %79 %81 = load double, ptr %14, align 8 %82 = load double, ptr %2, align 8 %83 = call double @llvm.fabs.f64(double %82) %84 = load double, ptr %15, align 8 %85 = fsub double %83, %84 %86 = load double, ptr %16, align 8 %87 = load double, ptr %2, align 8 %88 = call double @llvm.fabs.f64(double %87) %89 = load double, ptr %17, align 8 %90 = fadd double %88, %89 %91 = load double, ptr %18, align 8 %92 = load double, ptr %2, align 8 %93 = call double @llvm.fabs.f64(double %92) %94 = load double, ptr %19, align 8 %95 = fadd double %93, %94 %96 = load double, ptr %20, align 8 %97 = load double, ptr %2, align 8 %98 = call double @llvm.fabs.f64(double %97) %99 = load double, ptr %21, align 8 %100 = fadd double %98, %99 %101 = fdiv double %96, %100 %102 = fadd double %95, %101 %103 = fdiv double %91, %102 %104 = fsub double %90, %103 %105 = fdiv double %86, %104 %106 = fadd double %85, %105 %107 = fdiv double %81, %106 %108 = fadd double %80, %107 %109 = fdiv double %76, %108 %110 = fadd double %75, %109 %111 = fdiv double %71, %110 store double %111, ptr %23, align 8 br label %113 112: ; preds = %58 store double 0.000000e+00, ptr %23, align 8 br label %113 113: ; preds = %112, %62 br label %114 114: ; preds = %113, %28 %115 = load double, ptr %2, align 8 %116 = fcmp olt double %115, 0.000000e+00 br i1 %116, label %117, label %119 117: ; preds = %114 %118 = load double, ptr %23, align 8 store double %118, ptr %22, align 8 br label %122 119: ; preds = %114 %120 = load double, ptr %23, align 8 %121 = fsub double 1.000000e+00, %120 store double %121, ptr %22, align 8 br label %122 122: ; preds = %119, %117 %123 = load double, ptr %22, align 8 ret double %123 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @exp(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9sxbjw0h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @normal_01_cdf(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 store double %0, ptr %2, align 8 store double 0x3FD9884533DFE9B9, ptr %3, align 8 store double 0x3FD99804977BB02A, ptr %4, align 8 store double 0x401709113BE05594, ptr %5, align 8 store double 0x403DD2445F58EAA3, ptr %6, align 8 store double 0x4004FEA15D6FE126, ptr %7, align 8 store double 0x404859164D073A74, ptr %8, align 8 store double 0x4017B7265A7D0F22, ptr %9, align 8 store double 0x3FD9884533CFB1F8, ptr %10, align 8 store double 3.805200e-08, ptr %11, align 8 store double 0x3FF0000673B05093, ptr %12, align 8 store double 0x3F3A166B459C7B69, ptr %13, align 8 store double 0x3FFFC74938A68D3A, ptr %14, align 8 store double 0x3FC36A38A6B77CC0, ptr %15, align 8 store double 0x40152C57AFDD8769, ptr %16, align 8 store double 0x40135AB7AC36FCAD, ptr %17, align 8 store double 0x402E4D42675985A1, ptr %18, align 8 store double 0x3FE7C195A3BBD8E3, ptr %19, align 8 store double 0x403ECA390D230F60, ptr %20, align 8 store double 0x400FEBEAEBCA7F9D, ptr %21, align 8 %25 = load double, ptr %2, align 8 %26 = call double @llvm.fabs.f64(double %25) %27 = fcmp ole double %26, 1.280000e+00 br i1 %27, label %28, label %58 28: ; preds = %1 %29 = load double, ptr %2, align 8 %30 = fmul double 5.000000e-01, %29 %31 = load double, ptr %2, align 8 %32 = fmul double %30, %31 store double %32, ptr %24, align 8 %33 = load double, ptr %2, align 8 %34 = call double @llvm.fabs.f64(double %33) %35 = load double, ptr %3, align 8 %36 = load double, ptr %4, align 8 %37 = load double, ptr %24, align 8 %38 = fmul double %36, %37 %39 = load double, ptr %24, align 8 %40 = load double, ptr %5, align 8 %41 = fadd double %39, %40 %42 = load double, ptr %6, align 8 %43 = load double, ptr %24, align 8 %44 = load double, ptr %7, align 8 %45 = fadd double %43, %44 %46 = load double, ptr %8, align 8 %47 = load double, ptr %24, align 8 %48 = load double, ptr %9, align 8 %49 = fadd double %47, %48 %50 = fdiv double %46, %49 %51 = fadd double %45, %50 %52 = fdiv double %42, %51 %53 = fsub double %41, %52 %54 = fdiv double %38, %53 %55 = fsub double %35, %54 %56 = fneg double %34 %57 = call double @llvm.fmuladd.f64(double %56, double %55, double 5.000000e-01) store double %57, ptr %23, align 8 br label %114 58: ; preds = %1 %59 = load double, ptr %2, align 8 %60 = call double @llvm.fabs.f64(double %59) %61 = fcmp ole double %60, 1.270000e+01 br i1 %61, label %62, label %112 62: ; preds = %58 %63 = load double, ptr %2, align 8 %64 = fmul double 5.000000e-01, %63 %65 = load double, ptr %2, align 8 %66 = fmul double %64, %65 store double %66, ptr %24, align 8 %67 = load double, ptr %24, align 8 %68 = fneg double %67 %69 = call double @exp(double noundef %68) #3 %70 = load double, ptr %10, align 8 %71 = fmul double %69, %70 %72 = load double, ptr %2, align 8 %73 = call double @llvm.fabs.f64(double %72) %74 = load double, ptr %11, align 8 %75 = fsub double %73, %74 %76 = load double, ptr %12, align 8 %77 = load double, ptr %2, align 8 %78 = call double @llvm.fabs.f64(double %77) %79 = load double, ptr %13, align 8 %80 = fadd double %78, %79 %81 = load double, ptr %14, align 8 %82 = load double, ptr %2, align 8 %83 = call double @llvm.fabs.f64(double %82) %84 = load double, ptr %15, align 8 %85 = fsub double %83, %84 %86 = load double, ptr %16, align 8 %87 = load double, ptr %2, align 8 %88 = call double @llvm.fabs.f64(double %87) %89 = load double, ptr %17, align 8 %90 = fadd double %88, %89 %91 = load double, ptr %18, align 8 %92 = load double, ptr %2, align 8 %93 = call double @llvm.fabs.f64(double %92) %94 = load double, ptr %19, align 8 %95 = fadd double %93, %94 %96 = load double, ptr %20, align 8 %97 = load double, ptr %2, align 8 %98 = call double @llvm.fabs.f64(double %97) %99 = load double, ptr %21, align 8 %100 = fadd double %98, %99 %101 = fdiv double %96, %100 %102 = fadd double %95, %101 %103 = fdiv double %91, %102 %104 = fsub double %90, %103 %105 = fdiv double %86, %104 %106 = fadd double %85, %105 %107 = fdiv double %81, %106 %108 = fadd double %80, %107 %109 = fdiv double %76, %108 %110 = fadd double %75, %109 %111 = fdiv double %71, %110 store double %111, ptr %23, align 8 br label %113 112: ; preds = %58 store double 0.000000e+00, ptr %23, align 8 br label %113 113: ; preds = %112, %62 br label %114 114: ; preds = %113, %28 %115 = load double, ptr %2, align 8 %116 = fcmp olt double %115, 0.000000e+00 br i1 %116, label %117, label %119 117: ; preds = %114 %118 = load double, ptr %23, align 8 store double %118, ptr %22, align 8 br label %122 119: ; preds = %114 %120 = load double, ptr %23, align 8 %121 = fsub double 1.000000e+00, %120 store double %121, ptr %22, align 8 br label %122 122: ; preds = %119, %117 %123 = load double, ptr %22, align 8 ret double %123 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @exp(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpijxuyij_.c' source_filename = "/tmp/tmpijxuyij_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninitvar_wprintf(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %5, align 8 %8 = load i32, ptr %6, align 4 %9 = call i32 (ptr, ...) @wprintf(ptr noundef %7, i32 noundef %8) %10 = load ptr, ptr %5, align 8 %11 = call i32 (ptr, ...) @wprintf(ptr noundef %10) %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = call i32 (ptr, ...) @wprintf(ptr noundef %12, i32 noundef %13) %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %6, align 4 %17 = call i32 (ptr, ...) @wprintf(ptr noundef %15, i32 noundef %16) %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %4, align 4 %20 = call i32 (ptr, ...) @wprintf(ptr noundef %18, i32 noundef %19) %21 = load ptr, ptr %3, align 8 %22 = call i32 (ptr, ...) @wprintf(ptr noundef %21) ret void } declare i32 @wprintf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpijxuyij_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninitvar_wprintf(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %5, align 8 %8 = load i32, ptr %6, align 4 %9 = call i32 (ptr, ...) @wprintf(ptr noundef %7, i32 noundef %8) %10 = load ptr, ptr %5, align 8 %11 = call i32 (ptr, ...) @wprintf(ptr noundef %10) %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = call i32 (ptr, ...) @wprintf(ptr noundef %12, i32 noundef %13) %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %6, align 4 %17 = call i32 (ptr, ...) @wprintf(ptr noundef %15, i32 noundef %16) %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %4, align 4 %20 = call i32 (ptr, ...) @wprintf(ptr noundef %18, i32 noundef %19) %21 = load ptr, ptr %3, align 8 %22 = call i32 (ptr, ...) @wprintf(ptr noundef %21) ret void } declare i32 @wprintf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl7z370el.c' source_filename = "/tmp/tmpl7z370el.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_mm_cmpnlt_pd(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @_mm_cmpnlt_pd(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @_mm_cmpnlt_pd(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/tmpl7z370el.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_mm_cmpnlt_pd(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @_mm_cmpnlt_pd(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @_mm_cmpnlt_pd(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/tmpn8tj_u59.c' source_filename = "/tmp/tmpn8tj_u59.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isascii.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isascii should be 0 for 0xa3\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isascii_0xa3() #0 { %1 = call i64 @isascii(i32 noundef 163) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 820, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isascii(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/tmpn8tj_u59.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isascii.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isascii should be 0 for 0xa3\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isascii_0xa3() #0 { %1 = call i64 @isascii(i32 noundef 163) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 820, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isascii(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/tmphgm40fjl.c' source_filename = "/tmp/tmphgm40fjl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPC_CREAT = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [31 x i8] c"Error getting shared memory id\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"Error attaching shared memory id\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Hello World\00", align 1 @IPC_RMID = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 123456, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr @IPC_CREAT, align 4 %10 = or i32 %9, 438 %11 = call i32 @shmget(i32 noundef %8, i32 noundef 11, i32 noundef %10) store i32 %11, ptr %5, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %2 %14 = call i32 @printf(ptr noundef @.str) %15 = call i32 @exit(i32 noundef 1) #3 unreachable 16: ; preds = %2 %17 = load i32, ptr %5, align 4 %18 = call ptr @shmat(i32 noundef %17, ptr noundef null, i32 noundef 0) store ptr %18, ptr %7, align 8 %19 = icmp eq ptr %18, inttoptr (i64 -1 to ptr) br i1 %19, label %20, label %23 20: ; preds = %16 %21 = call i32 @printf(ptr noundef @.str.1) %22 = call i32 @exit(i32 noundef 1) #3 unreachable 23: ; preds = %16 %24 = load ptr, ptr %7, align 8 %25 = call i32 @memcpy(ptr noundef %24, ptr noundef @.str.2, i32 noundef 12) %26 = call i32 @sleep(i32 noundef 10) %27 = load i32, ptr %5, align 4 %28 = call i32 @shmdt(i32 noundef %27) %29 = load i32, ptr %5, align 4 %30 = load i32, ptr @IPC_RMID, align 4 %31 = call i32 @shmctl(i32 noundef %29, i32 noundef %30, ptr noundef null) ret i32 0 } declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @shmat(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @shmdt(i32 noundef) #1 declare i32 @shmctl(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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/tmphgm40fjl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPC_CREAT = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [31 x i8] c"Error getting shared memory id\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"Error attaching shared memory id\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Hello World\00", align 1 @IPC_RMID = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 123456, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr @IPC_CREAT, align 4 %10 = or i32 %9, 438 %11 = call i32 @shmget(i32 noundef %8, i32 noundef 11, i32 noundef %10) store i32 %11, ptr %5, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %2 %14 = call i32 @printf(ptr noundef @.str) %15 = call i32 @exit(i32 noundef 1) #3 unreachable 16: ; preds = %2 %17 = load i32, ptr %5, align 4 %18 = call ptr @shmat(i32 noundef %17, ptr noundef null, i32 noundef 0) store ptr %18, ptr %7, align 8 %19 = icmp eq ptr %18, inttoptr (i64 -1 to ptr) br i1 %19, label %20, label %23 20: ; preds = %16 %21 = call i32 @printf(ptr noundef @.str.1) %22 = call i32 @exit(i32 noundef 1) #3 unreachable 23: ; preds = %16 %24 = load ptr, ptr %7, align 8 %25 = call i32 @memcpy(ptr noundef %24, ptr noundef @.str.2, i32 noundef 12) %26 = call i32 @sleep(i32 noundef 10) %27 = load i32, ptr %5, align 4 %28 = call i32 @shmdt(i32 noundef %27) %29 = load i32, ptr %5, align 4 %30 = load i32, ptr @IPC_RMID, align 4 %31 = call i32 @shmctl(i32 noundef %29, i32 noundef %30, ptr noundef null) ret i32 0 } declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @shmat(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @shmdt(i32 noundef) #1 declare i32 @shmctl(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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/tmp1p7obl49.c' source_filename = "/tmp/tmp1p7obl49.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wsf_mbed_os_critical_section_exit() #0 { %1 = call i32 (...) @core_util_critical_section_exit() ret void } declare i32 @core_util_critical_section_exit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1p7obl49.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wsf_mbed_os_critical_section_exit() #0 { %1 = call i32 (...) @core_util_critical_section_exit() ret void } declare i32 @core_util_critical_section_exit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvt9sgpl5.c' source_filename = "/tmp/tmpvt9sgpl5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"FLOAT:\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"%i dzielen, %f -> %e\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"DOUBLE:\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"LONG DOUBLE:\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"%i dzielen, %Lf -> %Le\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca float, align 4 %4 = alloca double, align 8 %5 = alloca x86_fp80, align 16 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store float 1.000000e+00, ptr %3, align 4 br label %7 7: ; preds = %12, %0 %8 = load float, ptr %3, align 4 %9 = fpext float %8 to double %10 = fadd double 1.000000e+00, %9 %11 = fcmp ogt double %10, 1.000000e+00 br i1 %11, label %12, label %19 12: ; preds = %7 %13 = load float, ptr %3, align 4 %14 = fpext float %13 to double %15 = fdiv double %14, 2.000000e+00 %16 = fptrunc double %15 to float store float %16, ptr %3, align 4 %17 = load i32, ptr %2, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %2, align 4 br label %7, !llvm.loop !6 19: ; preds = %7 %20 = load i32, ptr %2, align 4 %21 = load float, ptr %3, align 4 %22 = fpext float %21 to double %23 = load float, ptr %3, align 4 %24 = fpext float %23 to double %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20, double noundef %22, double noundef %24) store i32 1, ptr %2, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store double 1.000000e+00, ptr %4, align 8 br label %27 27: ; preds = %31, %19 %28 = load double, ptr %4, align 8 %29 = fadd double 1.000000e+00, %28 %30 = fcmp ogt double %29, 1.000000e+00 br i1 %30, label %31, label %36 31: ; preds = %27 %32 = load double, ptr %4, align 8 %33 = fdiv double %32, 2.000000e+00 store double %33, ptr %4, align 8 %34 = load i32, ptr %2, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %2, align 4 br label %27, !llvm.loop !8 36: ; preds = %27 %37 = load i32, ptr %2, align 4 %38 = load double, ptr %4, align 8 %39 = load double, ptr %4, align 8 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %37, double noundef %38, double noundef %39) store i32 1, ptr %2, align 4 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store x86_fp80 0xK3FFF8000000000000000, ptr %5, align 16 br label %42 42: ; preds = %46, %36 %43 = load x86_fp80, ptr %5, align 16 %44 = fadd x86_fp80 0xK3FFF8000000000000000, %43 %45 = fcmp ogt x86_fp80 %44, 0xK3FFF8000000000000000 br i1 %45, label %46, label %51 46: ; preds = %42 %47 = load x86_fp80, ptr %5, align 16 %48 = fdiv x86_fp80 %47, 0xK40008000000000000000 store x86_fp80 %48, ptr %5, align 16 %49 = load i32, ptr %2, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %2, align 4 br label %42, !llvm.loop !9 51: ; preds = %42 %52 = load i32, ptr %2, align 4 %53 = load x86_fp80, ptr %5, align 16 %54 = load x86_fp80, ptr %5, align 16 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %52, x86_fp80 noundef %53, x86_fp80 noundef %54) %56 = load i32, ptr %1, align 4 ret i32 %56 } 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/tmpvt9sgpl5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"FLOAT:\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"%i dzielen, %f -> %e\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"DOUBLE:\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"LONG DOUBLE:\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"%i dzielen, %Lf -> %Le\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca float, align 4 %4 = alloca double, align 8 %5 = alloca x86_fp80, align 16 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store float 1.000000e+00, ptr %3, align 4 %7 = load float, ptr %3, align 4 %8 = fpext float %7 to double %9 = fadd double 1.000000e+00, %8 %10 = fcmp ogt double %9, 1.000000e+00 br i1 %10, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %11 %12 = load float, ptr %3, align 4 %13 = fpext float %12 to double %14 = fdiv double %13, 2.000000e+00 %15 = fptrunc double %14 to float store float %15, ptr %3, align 4 %16 = load i32, ptr %2, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %2, align 4 %18 = load float, ptr %3, align 4 %19 = fpext float %18 to double %20 = fadd double 1.000000e+00, %19 %21 = fcmp ogt double %20, 1.000000e+00 br i1 %21, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %22 22: ; preds = %._crit_edge, %0 %23 = load i32, ptr %2, align 4 %24 = load float, ptr %3, align 4 %25 = fpext float %24 to double %26 = load float, ptr %3, align 4 %27 = fpext float %26 to double %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %23, double noundef %25, double noundef %27) store i32 1, ptr %2, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store double 1.000000e+00, ptr %4, align 8 %30 = load double, ptr %4, align 8 %31 = fadd double 1.000000e+00, %30 %32 = fcmp ogt double %31, 1.000000e+00 br i1 %32, label %.lr.ph2, label %41 .lr.ph2: ; preds = %22 br label %33 33: ; preds = %.lr.ph2, %33 %34 = load double, ptr %4, align 8 %35 = fdiv double %34, 2.000000e+00 store double %35, ptr %4, align 8 %36 = load i32, ptr %2, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %2, align 4 %38 = load double, ptr %4, align 8 %39 = fadd double 1.000000e+00, %38 %40 = fcmp ogt double %39, 1.000000e+00 br i1 %40, label %33, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %33 br label %41 41: ; preds = %._crit_edge3, %22 %42 = load i32, ptr %2, align 4 %43 = load double, ptr %4, align 8 %44 = load double, ptr %4, align 8 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %42, double noundef %43, double noundef %44) store i32 1, ptr %2, align 4 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store x86_fp80 0xK3FFF8000000000000000, ptr %5, align 16 %47 = load x86_fp80, ptr %5, align 16 %48 = fadd x86_fp80 0xK3FFF8000000000000000, %47 %49 = fcmp ogt x86_fp80 %48, 0xK3FFF8000000000000000 br i1 %49, label %.lr.ph5, label %58 .lr.ph5: ; preds = %41 br label %50 50: ; preds = %.lr.ph5, %50 %51 = load x86_fp80, ptr %5, align 16 %52 = fdiv x86_fp80 %51, 0xK40008000000000000000 store x86_fp80 %52, ptr %5, align 16 %53 = load i32, ptr %2, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %2, align 4 %55 = load x86_fp80, ptr %5, align 16 %56 = fadd x86_fp80 0xK3FFF8000000000000000, %55 %57 = fcmp ogt x86_fp80 %56, 0xK3FFF8000000000000000 br i1 %57, label %50, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %50 br label %58 58: ; preds = %._crit_edge6, %41 %59 = load i32, ptr %2, align 4 %60 = load x86_fp80, ptr %5, align 16 %61 = load x86_fp80, ptr %5, align 16 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %59, x86_fp80 noundef %60, x86_fp80 noundef %61) %63 = load i32, ptr %1, align 4 ret i32 %63 } 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/tmpyjm9won2.c' source_filename = "/tmp/tmpyjm9won2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"-d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"-en\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"-eo\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"Command not supported\0A\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"Filename not specified\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"\0ADone\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 (...) @Title() %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 2 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 (...) @Usage() br label %14 14: ; preds = %12, %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = call i32 @strcasecmp(ptr noundef %17, ptr noundef @.str) %19 = icmp ne i32 %18, 0 br i1 %19, label %21, label %20 20: ; preds = %14 store i32 0, ptr %6, align 4 br label %40 21: ; preds = %14 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call i32 @strcasecmp(ptr noundef %24, ptr noundef @.str.1) %26 = icmp ne i32 %25, 0 br i1 %26, label %28, label %27 27: ; preds = %21 store i32 1, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %39 28: ; preds = %21 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 1 %31 = load ptr, ptr %30, align 8 %32 = call i32 @strcasecmp(ptr noundef %31, ptr noundef @.str.2) %33 = icmp ne i32 %32, 0 br i1 %33, label %35, label %34 34: ; preds = %28 store i32 1, ptr %6, align 4 store i32 1, ptr %7, align 4 br label %38 35: ; preds = %28 %36 = call i32 @printf(ptr noundef @.str.3) %37 = call i32 @exit(i32 noundef -1) #3 unreachable 38: ; preds = %34 br label %39 39: ; preds = %38, %27 br label %40 40: ; preds = %39, %20 %41 = load i32, ptr %4, align 4 %42 = icmp slt i32 %41, 3 br i1 %42, label %43, label %46 43: ; preds = %40 %44 = call i32 @printf(ptr noundef @.str.4) %45 = call i32 @exit(i32 noundef -1) #3 unreachable 46: ; preds = %40 %47 = load i32, ptr %6, align 4 switch i32 %47, label %81 [ i32 0, label %48 i32 1, label %64 ] 48: ; preds = %46 store i32 2, ptr %8, align 4 br label %49 49: ; preds = %60, %48 %50 = load i32, ptr %8, align 4 %51 = load i32, ptr %4, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %53, label %63 53: ; preds = %49 %54 = load ptr, ptr %5, align 8 %55 = load i32, ptr %8, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds ptr, ptr %54, i64 %56 %58 = load ptr, ptr %57, align 8 %59 = call i32 @BLZ_Decode(ptr noundef %58) br label %60 60: ; preds = %53 %61 = load i32, ptr %8, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %8, align 4 br label %49, !llvm.loop !6 63: ; preds = %49 br label %82 64: ; preds = %46 store i32 2, ptr %8, align 4 br label %65 65: ; preds = %77, %64 %66 = load i32, ptr %8, align 4 %67 = load i32, ptr %4, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %69, label %80 69: ; preds = %65 %70 = load ptr, ptr %5, align 8 %71 = load i32, ptr %8, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds ptr, ptr %70, i64 %72 %74 = load ptr, ptr %73, align 8 %75 = load i32, ptr %7, align 4 %76 = call i32 @BLZ_Encode(ptr noundef %74, i32 noundef %75) br label %77 77: ; preds = %69 %78 = load i32, ptr %8, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %8, align 4 br label %65, !llvm.loop !8 80: ; preds = %65 br label %82 81: ; preds = %46 br label %82 82: ; preds = %81, %80, %63 %83 = call i32 @printf(ptr noundef @.str.5) ret i32 0 } declare i32 @Title(...) #1 declare i32 @Usage(...) #1 declare i32 @strcasecmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @BLZ_Decode(ptr noundef) #1 declare i32 @BLZ_Encode(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyjm9won2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"-d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"-en\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"-eo\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"Command not supported\0A\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"Filename not specified\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"\0ADone\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 (...) @Title() %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 2 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 (...) @Usage() br label %14 14: ; preds = %12, %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = call i32 @strcasecmp(ptr noundef %17, ptr noundef @.str) %19 = icmp ne i32 %18, 0 br i1 %19, label %21, label %20 20: ; preds = %14 store i32 0, ptr %6, align 4 br label %40 21: ; preds = %14 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call i32 @strcasecmp(ptr noundef %24, ptr noundef @.str.1) %26 = icmp ne i32 %25, 0 br i1 %26, label %28, label %27 27: ; preds = %21 store i32 1, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %39 28: ; preds = %21 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 1 %31 = load ptr, ptr %30, align 8 %32 = call i32 @strcasecmp(ptr noundef %31, ptr noundef @.str.2) %33 = icmp ne i32 %32, 0 br i1 %33, label %35, label %34 34: ; preds = %28 store i32 1, ptr %6, align 4 store i32 1, ptr %7, align 4 br label %38 35: ; preds = %28 %36 = call i32 @printf(ptr noundef @.str.3) %37 = call i32 @exit(i32 noundef -1) #3 unreachable 38: ; preds = %34 br label %39 39: ; preds = %38, %27 br label %40 40: ; preds = %39, %20 %41 = load i32, ptr %4, align 4 %42 = icmp slt i32 %41, 3 br i1 %42, label %43, label %46 43: ; preds = %40 %44 = call i32 @printf(ptr noundef @.str.4) %45 = call i32 @exit(i32 noundef -1) #3 unreachable 46: ; preds = %40 %47 = load i32, ptr %6, align 4 switch i32 %47, label %85 [ i32 0, label %48 i32 1, label %66 ] 48: ; preds = %46 store i32 2, ptr %8, align 4 %49 = load i32, ptr %8, align 4 %50 = load i32, ptr %4, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %.lr.ph2, label %65 .lr.ph2: ; preds = %48 br label %52 52: ; preds = %.lr.ph2, %59 %53 = load ptr, ptr %5, align 8 %54 = load i32, ptr %8, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds ptr, ptr %53, i64 %55 %57 = load ptr, ptr %56, align 8 %58 = call i32 @BLZ_Decode(ptr noundef %57) br label %59 59: ; preds = %52 %60 = load i32, ptr %8, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %8, align 4 %62 = load i32, ptr %8, align 4 %63 = load i32, ptr %4, align 4 %64 = icmp slt i32 %62, %63 br i1 %64, label %52, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %59 br label %65 65: ; preds = %._crit_edge3, %48 br label %86 66: ; preds = %46 store i32 2, ptr %8, align 4 %67 = load i32, ptr %8, align 4 %68 = load i32, ptr %4, align 4 %69 = icmp slt i32 %67, %68 br i1 %69, label %.lr.ph, label %84 .lr.ph: ; preds = %66 br label %70 70: ; preds = %.lr.ph, %78 %71 = load ptr, ptr %5, align 8 %72 = load i32, ptr %8, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds ptr, ptr %71, i64 %73 %75 = load ptr, ptr %74, align 8 %76 = load i32, ptr %7, align 4 %77 = call i32 @BLZ_Encode(ptr noundef %75, i32 noundef %76) br label %78 78: ; preds = %70 %79 = load i32, ptr %8, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %8, align 4 %81 = load i32, ptr %8, align 4 %82 = load i32, ptr %4, align 4 %83 = icmp slt i32 %81, %82 br i1 %83, label %70, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %78 br label %84 84: ; preds = %._crit_edge, %66 br label %86 85: ; preds = %46 br label %86 86: ; preds = %85, %84, %65 %87 = call i32 @printf(ptr noundef @.str.5) ret i32 0 } declare i32 @Title(...) #1 declare i32 @Usage(...) #1 declare i32 @strcasecmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @BLZ_Decode(ptr noundef) #1 declare i32 @BLZ_Encode(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpbx9hz3cr.c' source_filename = "/tmp/tmpbx9hz3cr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @puts(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 @puts_nonl(ptr noundef %3) %5 = call i32 @putchar(i8 noundef signext 10) ret i32 0 } declare i32 @puts_nonl(ptr noundef) #1 declare i32 @putchar(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbx9hz3cr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @puts(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 @puts_nonl(ptr noundef %3) %5 = call i32 @putchar(i8 noundef signext 10) ret i32 0 } declare i32 @puts_nonl(ptr noundef) #1 declare i32 @putchar(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"}
; ModuleID = '/tmp/tmpd4qnd93p.c' source_filename = "/tmp/tmpd4qnd93p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[Proceso %d] duerme %d segundos\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"[Proceso %d] finaliza\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i64 @time(ptr noundef %6) %9 = trunc i64 %8 to i32 %10 = call i32 @srand(i32 noundef %9) %11 = call i32 (...) @rand() %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i32 @atoi(ptr noundef %14) %16 = srem i32 %11, %15 %17 = add nsw i32 1, %16 store i32 %17, ptr %7, align 4 %18 = call i32 (...) @getpid() %19 = load i32, ptr %7, align 4 %20 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %18, i32 noundef %19) %21 = load i32, ptr %7, align 4 %22 = call i32 @sleep(i32 noundef %21) %23 = call i32 (...) @getpid() %24 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %23) %25 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %25 } declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd4qnd93p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[Proceso %d] duerme %d segundos\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"[Proceso %d] finaliza\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i64 @time(ptr noundef %6) %9 = trunc i64 %8 to i32 %10 = call i32 @srand(i32 noundef %9) %11 = call i32 (...) @rand() %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i32 @atoi(ptr noundef %14) %16 = srem i32 %11, %15 %17 = add nsw i32 1, %16 store i32 %17, ptr %7, align 4 %18 = call i32 (...) @getpid() %19 = load i32, ptr %7, align 4 %20 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %18, i32 noundef %19) %21 = load i32, ptr %7, align 4 %22 = call i32 @sleep(i32 noundef %21) %23 = call i32 (...) @getpid() %24 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %23) %25 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %25 } declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj9fs4tgk.c' source_filename = "/tmp/tmpj9fs4tgk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[10000;1H\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @penDown() #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/tmpj9fs4tgk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[10000;1H\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @penDown() #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/tmpjo5p3n_o.c' source_filename = "/tmp/tmpjo5p3n_o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"%3d %10ld %.14f % .14f % .14f\0A\00", align 1 @M_PI = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i64 2, ptr %3, align 8 %6 = call i32 @sqrt(i32 noundef 1) %7 = sitofp i32 %6 to double store double %7, ptr %4, align 8 %8 = load i64, ptr %3, align 8 %9 = sitofp i64 %8 to double %10 = load double, ptr %4, align 8 %11 = fdiv double %9, %10 store double %11, ptr %5, align 8 %12 = load i32, ptr %2, align 4 %13 = load i64, ptr %3, align 8 %14 = load double, ptr %4, align 8 %15 = load double, ptr %5, align 8 %16 = load i64, ptr @M_PI, align 8 %17 = sitofp i64 %16 to double %18 = load double, ptr %5, align 8 %19 = fsub double %17, %18 %20 = fptosi double %19 to i64 %21 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i64 noundef %13, double noundef %14, double noundef %15, i64 noundef %20) store i32 1, ptr %2, align 4 br label %22 22: ; preds = %64, %0 %23 = load i32, ptr %2, align 4 %24 = icmp slt i32 %23, 28 br i1 %24, label %25, label %67 25: ; preds = %22 %26 = load double, ptr %4, align 8 %27 = fmul double 2.000000e+00, %26 %28 = load double, ptr %4, align 8 %29 = load double, ptr %4, align 8 %30 = load double, ptr %4, align 8 %31 = fmul double %29, %30 %32 = load double, ptr %4, align 8 %33 = fmul double %31, %32 %34 = load double, ptr %4, align 8 %35 = load double, ptr %4, align 8 %36 = load double, ptr %4, align 8 %37 = fmul double %35, %36 %38 = fneg double %37 %39 = call double @llvm.fmuladd.f64(double %33, double %34, double %38) %40 = fptosi double %39 to i32 %41 = call i32 @sqrt(i32 noundef %40) %42 = mul nsw i32 2, %41 %43 = sitofp i32 %42 to double %44 = call double @llvm.fmuladd.f64(double %27, double %28, double %43) %45 = fptosi double %44 to i32 %46 = call i32 @sqrt(i32 noundef %45) %47 = sitofp i32 %46 to double store double %47, ptr %4, align 8 %48 = load i64, ptr %3, align 8 %49 = mul nsw i64 %48, 2 store i64 %49, ptr %3, align 8 %50 = load i64, ptr %3, align 8 %51 = sitofp i64 %50 to double %52 = load double, ptr %4, align 8 %53 = fdiv double %51, %52 store double %53, ptr %5, align 8 %54 = load i32, ptr %2, align 4 %55 = load i64, ptr %3, align 8 %56 = load double, ptr %4, align 8 %57 = load double, ptr %5, align 8 %58 = load i64, ptr @M_PI, align 8 %59 = sitofp i64 %58 to double %60 = load double, ptr %5, align 8 %61 = fsub double %59, %60 %62 = fptosi double %61 to i64 %63 = call i32 @printf(ptr noundef @.str, i32 noundef %54, i64 noundef %55, double noundef %56, double noundef %57, i64 noundef %62) br label %64 64: ; preds = %25 %65 = load i32, ptr %2, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %2, align 4 br label %22, !llvm.loop !6 67: ; preds = %22 ret i32 0 } declare i32 @sqrt(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i64 noundef, double noundef, double noundef, i64 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/tmpjo5p3n_o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"%3d %10ld %.14f % .14f % .14f\0A\00", align 1 @M_PI = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i64 2, ptr %3, align 8 %6 = call i32 @sqrt(i32 noundef 1) %7 = sitofp i32 %6 to double store double %7, ptr %4, align 8 %8 = load i64, ptr %3, align 8 %9 = sitofp i64 %8 to double %10 = load double, ptr %4, align 8 %11 = fdiv double %9, %10 store double %11, ptr %5, align 8 %12 = load i32, ptr %2, align 4 %13 = load i64, ptr %3, align 8 %14 = load double, ptr %4, align 8 %15 = load double, ptr %5, align 8 %16 = load i64, ptr @M_PI, align 8 %17 = sitofp i64 %16 to double %18 = load double, ptr %5, align 8 %19 = fsub double %17, %18 %20 = fptosi double %19 to i64 %21 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i64 noundef %13, double noundef %14, double noundef %15, i64 noundef %20) store i32 1, ptr %2, align 4 %22 = load i32, ptr %2, align 4 %23 = icmp slt i32 %22, 28 br i1 %23, label %.lr.ph, label %68 .lr.ph: ; preds = %0 br label %24 24: ; preds = %.lr.ph, %63 %25 = load double, ptr %4, align 8 %26 = fmul double 2.000000e+00, %25 %27 = load double, ptr %4, align 8 %28 = load double, ptr %4, align 8 %29 = load double, ptr %4, align 8 %30 = fmul double %28, %29 %31 = load double, ptr %4, align 8 %32 = fmul double %30, %31 %33 = load double, ptr %4, align 8 %34 = load double, ptr %4, align 8 %35 = load double, ptr %4, align 8 %36 = fmul double %34, %35 %37 = fneg double %36 %38 = call double @llvm.fmuladd.f64(double %32, double %33, double %37) %39 = fptosi double %38 to i32 %40 = call i32 @sqrt(i32 noundef %39) %41 = mul nsw i32 2, %40 %42 = sitofp i32 %41 to double %43 = call double @llvm.fmuladd.f64(double %26, double %27, double %42) %44 = fptosi double %43 to i32 %45 = call i32 @sqrt(i32 noundef %44) %46 = sitofp i32 %45 to double store double %46, ptr %4, align 8 %47 = load i64, ptr %3, align 8 %48 = mul nsw i64 %47, 2 store i64 %48, ptr %3, align 8 %49 = load i64, ptr %3, align 8 %50 = sitofp i64 %49 to double %51 = load double, ptr %4, align 8 %52 = fdiv double %50, %51 store double %52, ptr %5, align 8 %53 = load i32, ptr %2, align 4 %54 = load i64, ptr %3, align 8 %55 = load double, ptr %4, align 8 %56 = load double, ptr %5, align 8 %57 = load i64, ptr @M_PI, align 8 %58 = sitofp i64 %57 to double %59 = load double, ptr %5, align 8 %60 = fsub double %58, %59 %61 = fptosi double %60 to i64 %62 = call i32 @printf(ptr noundef @.str, i32 noundef %53, i64 noundef %54, double noundef %55, double noundef %56, i64 noundef %61) br label %63 63: ; preds = %24 %64 = load i32, ptr %2, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %2, align 4 %66 = load i32, ptr %2, align 4 %67 = icmp slt i32 %66, 28 br i1 %67, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %63 br label %68 68: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @sqrt(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i64 noundef, double noundef, double noundef, i64 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/tmprnfaw2wl.c' source_filename = "/tmp/tmprnfaw2wl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BRBIP32ParseMasterPrivKey(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 ret i64 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprnfaw2wl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BRBIP32ParseMasterPrivKey(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 ret i64 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmk_9nuw0.c' source_filename = "/tmp/tmpmk_9nuw0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readPacket(i32 noundef %0, i8 noundef signext %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 %7 = alloca i8, align 1 %8 = alloca i8, align 1 store i32 %0, ptr %4, align 4 store i8 %1, ptr %5, align 1 store ptr %2, ptr %6, align 8 %9 = load i32, ptr %4, align 4 %10 = call i32 @read(i32 noundef %9, ptr noundef %8, i32 noundef 1) %11 = load i8, ptr %8, align 1 %12 = sext i8 %11 to i32 %13 = load i8, ptr %5, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %12, %14 br i1 %15, label %16, label %20 16: ; preds = %3 %17 = load i32, ptr %4, align 4 %18 = load i8, ptr %5, align 1 %19 = call i32 @getSync(i32 noundef %17, i8 noundef signext %18) store i8 -1, ptr %7, align 1 br label %27 20: ; preds = %3 %21 = load i32, ptr %4, align 4 %22 = call i32 @readSerial(i32 noundef %21, ptr noundef %7, i8 noundef signext 1) %23 = load i32, ptr %4, align 4 %24 = load ptr, ptr %6, align 8 %25 = load i8, ptr %7, align 1 %26 = call i32 @readSerial(i32 noundef %23, ptr noundef %24, i8 noundef signext %25) br label %27 27: ; preds = %20, %16 %28 = load i8, ptr %7, align 1 %29 = sext i8 %28 to i32 ret i32 %29 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @getSync(i32 noundef, i8 noundef signext) #1 declare i32 @readSerial(i32 noundef, ptr noundef, 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmk_9nuw0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readPacket(i32 noundef %0, i8 noundef signext %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 %7 = alloca i8, align 1 %8 = alloca i8, align 1 store i32 %0, ptr %4, align 4 store i8 %1, ptr %5, align 1 store ptr %2, ptr %6, align 8 %9 = load i32, ptr %4, align 4 %10 = call i32 @read(i32 noundef %9, ptr noundef %8, i32 noundef 1) %11 = load i8, ptr %8, align 1 %12 = sext i8 %11 to i32 %13 = load i8, ptr %5, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %12, %14 br i1 %15, label %16, label %20 16: ; preds = %3 %17 = load i32, ptr %4, align 4 %18 = load i8, ptr %5, align 1 %19 = call i32 @getSync(i32 noundef %17, i8 noundef signext %18) store i8 -1, ptr %7, align 1 br label %27 20: ; preds = %3 %21 = load i32, ptr %4, align 4 %22 = call i32 @readSerial(i32 noundef %21, ptr noundef %7, i8 noundef signext 1) %23 = load i32, ptr %4, align 4 %24 = load ptr, ptr %6, align 8 %25 = load i8, ptr %7, align 1 %26 = call i32 @readSerial(i32 noundef %23, ptr noundef %24, i8 noundef signext %25) br label %27 27: ; preds = %20, %16 %28 = load i8, ptr %7, align 1 %29 = sext i8 %28 to i32 ret i32 %29 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @getSync(i32 noundef, i8 noundef signext) #1 declare i32 @readSerial(i32 noundef, ptr noundef, 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"}
; ModuleID = '/tmp/tmp8wis3uvz.c' source_filename = "/tmp/tmp8wis3uvz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32 } @CLOCK_REALTIME = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @timet_h(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca %struct.timespec, align 4 %8 = alloca i32, align 4 %9 = alloca [26 x i8], align 16 store ptr %0, ptr %2, align 8 %10 = load i32, ptr @CLOCK_REALTIME, align 4 %11 = load ptr, ptr %6, align 8 %12 = call i32 @clock_settime(i32 noundef %10, ptr noundef %11) %13 = load i32, ptr %3, align 4 %14 = load ptr, ptr %6, align 8 %15 = call i32 @clock_settime(i32 noundef %13, ptr noundef %14) %16 = load i32, ptr %4, align 4 %17 = load ptr, ptr %2, align 8 %18 = call i32 @clock_settime(i32 noundef %16, ptr noundef %17) %19 = load i32, ptr @CLOCK_REALTIME, align 4 %20 = call i32 @clock_settime(i32 noundef %19, ptr noundef %7) %21 = load i32, ptr %5, align 4 %22 = call i32 @clock_settime(i32 noundef %21, ptr noundef %7) %23 = call i32 @time(i32 noundef 0) store i32 %23, ptr %8, align 4 %24 = getelementptr inbounds [26 x i8], ptr %9, i64 0, i64 0 %25 = call i32 @ctime_r(ptr noundef %8, ptr noundef %24) ret void } declare i32 @clock_settime(i32 noundef, ptr noundef) #1 declare i32 @time(i32 noundef) #1 declare i32 @ctime_r(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/tmp8wis3uvz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32 } @CLOCK_REALTIME = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @timet_h(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca %struct.timespec, align 4 %8 = alloca i32, align 4 %9 = alloca [26 x i8], align 16 store ptr %0, ptr %2, align 8 %10 = load i32, ptr @CLOCK_REALTIME, align 4 %11 = load ptr, ptr %6, align 8 %12 = call i32 @clock_settime(i32 noundef %10, ptr noundef %11) %13 = load i32, ptr %3, align 4 %14 = load ptr, ptr %6, align 8 %15 = call i32 @clock_settime(i32 noundef %13, ptr noundef %14) %16 = load i32, ptr %4, align 4 %17 = load ptr, ptr %2, align 8 %18 = call i32 @clock_settime(i32 noundef %16, ptr noundef %17) %19 = load i32, ptr @CLOCK_REALTIME, align 4 %20 = call i32 @clock_settime(i32 noundef %19, ptr noundef %7) %21 = load i32, ptr %5, align 4 %22 = call i32 @clock_settime(i32 noundef %21, ptr noundef %7) %23 = call i32 @time(i32 noundef 0) store i32 %23, ptr %8, align 4 %24 = getelementptr inbounds [26 x i8], ptr %9, i64 0, i64 0 %25 = call i32 @ctime_r(ptr noundef %8, ptr noundef %24) ret void } declare i32 @clock_settime(i32 noundef, ptr noundef) #1 declare i32 @time(i32 noundef) #1 declare i32 @ctime_r(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/tmpq1dajzz6.c' source_filename = "/tmp/tmpq1dajzz6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @__VERIFIER_nondet_int() store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = call i32 @g(i32 noundef %3) ret i32 0 } declare i32 @__VERIFIER_nondet_int(...) #1 declare i32 @g(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/tmpq1dajzz6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @__VERIFIER_nondet_int() store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = call i32 @g(i32 noundef %3) ret i32 0 } declare i32 @__VERIFIER_nondet_int(...) #1 declare i32 @g(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/tmpe6qaqpt_.c' source_filename = "/tmp/tmpe6qaqpt_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_socket_fd() #0 { %1 = alloca i32, align 4 %2 = load i32, ptr @AF_INET, align 4 %3 = load i32, ptr @SOCK_STREAM, align 4 %4 = call i32 @socket(i32 noundef %2, i32 noundef %3, i32 noundef 0) store i32 %4, ptr %1, align 4 %5 = icmp slt i32 %4, 0 br i1 %5, label %6, label %10 6: ; preds = %0 %7 = load i32, ptr @errno, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %7) %9 = call i32 (...) @abort() #3 unreachable 10: ; preds = %0 %11 = load i32, ptr %1, align 4 ret i32 %11 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe6qaqpt_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_socket_fd() #0 { %1 = alloca i32, align 4 %2 = load i32, ptr @AF_INET, align 4 %3 = load i32, ptr @SOCK_STREAM, align 4 %4 = call i32 @socket(i32 noundef %2, i32 noundef %3, i32 noundef 0) store i32 %4, ptr %1, align 4 %5 = icmp slt i32 %4, 0 br i1 %5, label %6, label %10 6: ; preds = %0 %7 = load i32, ptr @errno, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %7) %9 = call i32 (...) @abort() #3 unreachable 10: ; preds = %0 %11 = load i32, ptr %1, align 4 ret i32 %11 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4_84wjqm.c' source_filename = "/tmp/tmp4_84wjqm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"EUID=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @geteuid() %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @geteuid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4_84wjqm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"EUID=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @geteuid() %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @geteuid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplfy9jw34.c' source_filename = "/tmp/tmplfy9jw34.c" target datalayout = "e-m:e-p270: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/tmplfy9jw34.c" target datalayout = "e-m:e-p270: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/tmp7_3ni4bb.c' source_filename = "/tmp/tmp7_3ni4bb.c" target datalayout = "e-m:e-p270: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/tmp7_3ni4bb.c" target datalayout = "e-m:e-p270: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/tmpfuu6_qwz.c' source_filename = "/tmp/tmpfuu6_qwz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"int m = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"float f= %f, f*2 = %f\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"float PI = %f, PI*2 = %f\0A\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"\0Aint z = %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca i32, align 4 store i32 3, ptr %1, align 4 store float 0x400921FB60000000, ptr %2, align 4 %4 = load i32, ptr %1, align 4 %5 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %4) %6 = load float, ptr %2, align 4 %7 = fptosi float %6 to i32 %8 = load float, ptr %2, align 4 %9 = fmul float %8, 2.000000e+00 %10 = fpext float %9 to double %11 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %7, double noundef %10) %12 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef 3, double noundef 0x401921FB54524550) store i32 4, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %13) ret void } declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfuu6_qwz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"int m = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"float f= %f, f*2 = %f\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"float PI = %f, PI*2 = %f\0A\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"\0Aint z = %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca i32, align 4 store i32 3, ptr %1, align 4 store float 0x400921FB60000000, ptr %2, align 4 %4 = load i32, ptr %1, align 4 %5 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %4) %6 = load float, ptr %2, align 4 %7 = fptosi float %6 to i32 %8 = load float, ptr %2, align 4 %9 = fmul float %8, 2.000000e+00 %10 = fpext float %9 to double %11 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %7, double noundef %10) %12 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef 3, double noundef 0x401921FB54524550) store i32 4, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %13) ret void } declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxelx0xs1.c' source_filename = "/tmp/tmpxelx0xs1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"filtered s1 = {\22%s\22}\0A\00", align 1 @.str.1 = private unnamed_addr constant [98 x i8] c"Please input at least 2 upper case letters to reset followed by a space and a \22reset\22 character.\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Or type \22No\22 to quit.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @strfilter(ptr noundef %0, ptr noundef %1, i8 noundef signext %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca [41 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i8 %2, ptr %6, align 1 call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 41, i1 false) store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %10 10: ; preds = %59, %3 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %8, align 4 %13 = zext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = call i64 @isUpperAlpha(i8 noundef signext %15) %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %62 18: ; preds = %10 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %8, align 4 %21 = zext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = getelementptr inbounds [41 x i8], ptr %7, i64 0, i64 0 %25 = load i32, ptr %8, align 4 %26 = zext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 store i8 %23, ptr %27, align 1 br label %28 28: ; preds = %56, %18 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %9, align 4 %31 = zext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = call i64 @isUpperAlpha(i8 noundef signext %33) %35 = icmp ne i64 %34, 0 br i1 %35, label %36, label %59 36: ; preds = %28 %37 = load ptr, ptr %4, align 8 %38 = load i32, ptr %8, align 4 %39 = zext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %9, align 4 %45 = zext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = icmp eq i32 %42, %48 br i1 %49, label %50, label %56 50: ; preds = %36 %51 = load i8, ptr %6, align 1 %52 = getelementptr inbounds [41 x i8], ptr %7, i64 0, i64 0 %53 = load i32, ptr %8, align 4 %54 = zext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %52, i64 %54 store i8 %51, ptr %55, align 1 br label %56 56: ; preds = %50, %36 %57 = load i32, ptr %9, align 4 %58 = add i32 %57, 1 store i32 %58, ptr %9, align 4 br label %28, !llvm.loop !6 59: ; preds = %28 %60 = load i32, ptr %8, align 4 %61 = add i32 %60, 1 store i32 %61, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %10, !llvm.loop !8 62: ; preds = %10 %63 = getelementptr inbounds [41 x i8], ptr %7, i64 0, i64 0 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %63) %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) 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 i64 @isUpperAlpha(i8 noundef signext) #2 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxelx0xs1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"filtered s1 = {\22%s\22}\0A\00", align 1 @.str.1 = private unnamed_addr constant [98 x i8] c"Please input at least 2 upper case letters to reset followed by a space and a \22reset\22 character.\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Or type \22No\22 to quit.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @strfilter(ptr noundef %0, ptr noundef %1, i8 noundef signext %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca [41 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i8 %2, ptr %6, align 1 call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 41, i1 false) store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %8, align 4 %12 = zext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = call i64 @isUpperAlpha(i8 noundef signext %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %.lr.ph2, label %74 .lr.ph2: ; preds = %3 br label %17 17: ; preds = %.lr.ph2, %64 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %8, align 4 %20 = zext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = getelementptr inbounds [41 x i8], ptr %7, i64 0, i64 0 %24 = load i32, ptr %8, align 4 %25 = zext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 store i8 %22, ptr %26, align 1 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %9, align 4 %29 = zext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = call i64 @isUpperAlpha(i8 noundef signext %31) %33 = icmp ne i64 %32, 0 br i1 %33, label %.lr.ph, label %64 .lr.ph: ; preds = %17 br label %34 34: ; preds = %.lr.ph, %54 %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %8, align 4 %37 = zext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = load ptr, ptr %5, align 8 %42 = load i32, ptr %9, align 4 %43 = zext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp eq i32 %40, %46 br i1 %47, label %48, label %54 48: ; preds = %34 %49 = load i8, ptr %6, align 1 %50 = getelementptr inbounds [41 x i8], ptr %7, i64 0, i64 0 %51 = load i32, ptr %8, align 4 %52 = zext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 store i8 %49, ptr %53, align 1 br label %54 54: ; preds = %48, %34 %55 = load i32, ptr %9, align 4 %56 = add i32 %55, 1 store i32 %56, ptr %9, align 4 %57 = load ptr, ptr %5, align 8 %58 = load i32, ptr %9, align 4 %59 = zext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %57, i64 %59 %61 = load i8, ptr %60, align 1 %62 = call i64 @isUpperAlpha(i8 noundef signext %61) %63 = icmp ne i64 %62, 0 br i1 %63, label %34, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %54 br label %64 64: ; preds = %._crit_edge, %17 %65 = load i32, ptr %8, align 4 %66 = add i32 %65, 1 store i32 %66, ptr %8, align 4 store i32 0, ptr %9, align 4 %67 = load ptr, ptr %4, align 8 %68 = load i32, ptr %8, align 4 %69 = zext i32 %68 to i64 %70 = getelementptr inbounds i8, ptr %67, i64 %69 %71 = load i8, ptr %70, align 1 %72 = call i64 @isUpperAlpha(i8 noundef signext %71) %73 = icmp ne i64 %72, 0 br i1 %73, label %17, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %64 br label %74 74: ; preds = %._crit_edge3, %3 %75 = getelementptr inbounds [41 x i8], ptr %7, i64 0, i64 0 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %75) %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) 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 i64 @isUpperAlpha(i8 noundef signext) #2 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp0lazabfd.c' source_filename = "/tmp/tmp0lazabfd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Hello World!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @myPrintHelloWorld() #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/tmp0lazabfd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Hello World!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @myPrintHelloWorld() #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/tmpa5vhn3uf.c' source_filename = "/tmp/tmpa5vhn3uf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i32] [i32 116, i32 114, i32 117, i32 101, i32 0], align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @_WLocale_true(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 ret ptr @.str } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa5vhn3uf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i32] [i32 116, i32 114, i32 117, i32 101, i32 0], align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @_WLocale_true(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 ret ptr @.str } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptorqa0kq.c' source_filename = "/tmp/tmptorqa0kq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @standard_scale_solutions(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = call i32 @_ada_use_c2phc(i32 noundef 594, ptr noundef %4, ptr noundef %5, ptr noundef %8) store i32 %9, ptr %7, align 4 %10 = load i32, ptr %7, align 4 ret i32 %10 } declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptorqa0kq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @standard_scale_solutions(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = call i32 @_ada_use_c2phc(i32 noundef 594, ptr noundef %4, ptr noundef %5, ptr noundef %8) store i32 %9, ptr %7, align 4 %10 = load i32, ptr %7, align 4 ret i32 %10 } declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk3_337a0.c' source_filename = "/tmp/tmpk3_337a0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Cmd_CheckParm: NULL\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Cmd_CheckParm(ptr noundef %0) #0 { %2 = alloca i32, align 4 %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 = icmp ne ptr %5, null br i1 %6, label %9, label %7 7: ; preds = %1 %8 = call i32 @Sys_Error(ptr noundef @.str) br label %9 9: ; preds = %7, %1 store i32 1, ptr %4, align 4 br label %10 10: ; preds = %23, %9 %11 = load i32, ptr %4, align 4 %12 = call i32 (...) @Cmd_Argc() %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %26 14: ; preds = %10 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %4, align 4 %17 = call i32 @Cmd_Argv(i32 noundef %16) %18 = call i32 @strcasecmp(ptr noundef %15, i32 noundef %17) %19 = icmp ne i32 %18, 0 br i1 %19, label %22, label %20 20: ; preds = %14 %21 = load i32, ptr %4, align 4 store i32 %21, ptr %2, align 4 br label %27 22: ; preds = %14 br label %23 23: ; preds = %22 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %4, align 4 br label %10, !llvm.loop !6 26: ; preds = %10 store i32 0, ptr %2, align 4 br label %27 27: ; preds = %26, %20 %28 = load i32, ptr %2, align 4 ret i32 %28 } declare i32 @Sys_Error(ptr noundef) #1 declare i32 @Cmd_Argc(...) #1 declare i32 @strcasecmp(ptr noundef, i32 noundef) #1 declare i32 @Cmd_Argv(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/tmpk3_337a0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Cmd_CheckParm: NULL\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Cmd_CheckParm(ptr noundef %0) #0 { %2 = alloca i32, align 4 %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 = icmp ne ptr %5, null br i1 %6, label %9, label %7 7: ; preds = %1 %8 = call i32 @Sys_Error(ptr noundef @.str) br label %9 9: ; preds = %7, %1 store i32 1, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 (...) @Cmd_Argc() %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %28 .lr.ph: ; preds = %9 br label %13 13: ; preds = %.lr.ph, %22 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %4, align 4 %16 = call i32 @Cmd_Argv(i32 noundef %15) %17 = call i32 @strcasecmp(ptr noundef %14, i32 noundef %16) %18 = icmp ne i32 %17, 0 br i1 %18, label %21, label %19 19: ; preds = %13 %20 = load i32, ptr %4, align 4 store i32 %20, ptr %2, align 4 br label %29 21: ; preds = %13 br label %22 22: ; preds = %21 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = call i32 (...) @Cmd_Argc() %27 = icmp slt i32 %25, %26 br i1 %27, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %9 store i32 0, ptr %2, align 4 br label %29 29: ; preds = %28, %19 %30 = load i32, ptr %2, align 4 ret i32 %30 } declare i32 @Sys_Error(ptr noundef) #1 declare i32 @Cmd_Argc(...) #1 declare i32 @strcasecmp(ptr noundef, i32 noundef) #1 declare i32 @Cmd_Argv(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/tmpcqcedl9e.c' source_filename = "/tmp/tmpcqcedl9e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"this is a book.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @fun(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) %4 = call i32 (...) @getchar() ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @fun(ptr noundef) #1 declare i32 @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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcqcedl9e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"this is a book.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @fun(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) %4 = call i32 (...) @getchar() ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @fun(ptr noundef) #1 declare i32 @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"}
; ModuleID = '/tmp/tmp_et85ebz.c' source_filename = "/tmp/tmp_et85ebz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TWIE_Send(i8 noundef zeroext %0, i8 noundef zeroext %1, i8 noundef zeroext %2) #0 { %4 = alloca i8, align 1 %5 = alloca i8, align 1 %6 = alloca i8, align 1 store i8 %0, ptr %4, align 1 store i8 %1, ptr %5, align 1 store i8 %2, ptr %6, align 1 %7 = call i32 (...) @TWIE_Start() %8 = load i8, ptr %4, align 1 %9 = zext i8 %8 to i32 %10 = shl i32 %9, 1 %11 = trunc i32 %10 to i8 %12 = call i32 @TWIE_Write(i8 noundef zeroext %11) %13 = load i8, ptr %5, align 1 %14 = call i32 @TWIE_Write(i8 noundef zeroext %13) %15 = load i8, ptr %6, align 1 %16 = call i32 @TWIE_Write(i8 noundef zeroext %15) %17 = call i32 (...) @TWIE_Stop() ret void } declare i32 @TWIE_Start(...) #1 declare i32 @TWIE_Write(i8 noundef zeroext) #1 declare i32 @TWIE_Stop(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_et85ebz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TWIE_Send(i8 noundef zeroext %0, i8 noundef zeroext %1, i8 noundef zeroext %2) #0 { %4 = alloca i8, align 1 %5 = alloca i8, align 1 %6 = alloca i8, align 1 store i8 %0, ptr %4, align 1 store i8 %1, ptr %5, align 1 store i8 %2, ptr %6, align 1 %7 = call i32 (...) @TWIE_Start() %8 = load i8, ptr %4, align 1 %9 = zext i8 %8 to i32 %10 = shl i32 %9, 1 %11 = trunc i32 %10 to i8 %12 = call i32 @TWIE_Write(i8 noundef zeroext %11) %13 = load i8, ptr %5, align 1 %14 = call i32 @TWIE_Write(i8 noundef zeroext %13) %15 = load i8, ptr %6, align 1 %16 = call i32 @TWIE_Write(i8 noundef zeroext %15) %17 = call i32 (...) @TWIE_Stop() ret void } declare i32 @TWIE_Start(...) #1 declare i32 @TWIE_Write(i8 noundef zeroext) #1 declare i32 @TWIE_Stop(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp42xsiazz.c' source_filename = "/tmp/tmp42xsiazz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Str2Lower(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i64 @strlen(ptr noundef %5) %7 = trunc i64 %6 to i32 store i32 %7, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %8 8: ; preds = %38, %1 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %41 12: ; preds = %8 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp sge i32 %18, 65 br i1 %19, label %20, label %37 20: ; preds = %12 %21 = load ptr, ptr %2, align 8 %22 = load i32, ptr %3, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp sle i32 %26, 90 br i1 %27, label %28, label %37 28: ; preds = %20 %29 = load ptr, ptr %2, align 8 %30 = load i32, ptr %3, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = add nsw i32 %34, 32 %36 = trunc i32 %35 to i8 store i8 %36, ptr %32, align 1 br label %37 37: ; preds = %28, %20, %12 br label %38 38: ; preds = %37 %39 = load i32, ptr %3, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %3, align 4 br label %8, !llvm.loop !6 41: ; preds = %8 ret void } declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp42xsiazz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Str2Lower(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i64 @strlen(ptr noundef %5) %7 = trunc i64 %6 to i32 store i32 %7, ptr %4, align 4 store i32 0, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %43 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %37 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp sge i32 %17, 65 br i1 %18, label %19, label %36 19: ; preds = %11 %20 = load ptr, ptr %2, align 8 %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp sle i32 %25, 90 br i1 %26, label %27, label %36 27: ; preds = %19 %28 = load ptr, ptr %2, align 8 %29 = load i32, ptr %3, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = add nsw i32 %33, 32 %35 = trunc i32 %34 to i8 store i8 %35, ptr %31, align 1 br label %36 36: ; preds = %27, %19, %11 br label %37 37: ; preds = %36 %38 = load i32, ptr %3, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %3, align 4 %40 = load i32, ptr %3, align 4 %41 = load i32, ptr %4, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %43 43: ; preds = %._crit_edge, %1 ret void } declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp2owg6u3x.c' source_filename = "/tmp/tmp2owg6u3x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"Yes\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"No\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 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 2, ptr %3, align 4 br label %7 7: ; preds = %26, %0 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = sub nsw i32 %9, 2 %11 = icmp sle i32 %8, %10 br i1 %11, label %12, label %29 12: ; preds = %7 %13 = load i32, ptr %3, align 4 %14 = call i32 @check_prime(i32 noundef %13) store i32 %14, ptr %4, align 4 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = sub nsw i32 %15, %16 %18 = call i32 @check_prime(i32 noundef %17) store i32 %18, ptr %5, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp eq i32 %19, 1 br i1 %20, label %21, label %25 21: ; preds = %12 %22 = load i32, ptr %5, align 4 %23 = icmp eq i32 %22, 1 br i1 %23, label %24, label %25 24: ; preds = %21 br label %29 25: ; preds = %21, %12 br label %26 26: ; preds = %25 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %3, align 4 br label %7, !llvm.loop !6 29: ; preds = %24, %7 %30 = load i32, ptr %4, align 4 %31 = icmp eq i32 %30, 1 br i1 %31, label %32, label %37 32: ; preds = %29 %33 = load i32, ptr %5, align 4 %34 = icmp eq i32 %33, 1 br i1 %34, label %35, label %37 35: ; preds = %32 %36 = call i32 @printf(ptr noundef @.str.1) br label %39 37: ; preds = %32, %29 %38 = call i32 @printf(ptr noundef @.str.2) br label %39 39: ; preds = %37, %35 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @check_prime(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/tmp2owg6u3x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"Yes\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"No\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 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 2, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = sub nsw i32 %8, 2 %10 = icmp sle i32 %7, %9 br i1 %10, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %25 %12 = load i32, ptr %3, align 4 %13 = call i32 @check_prime(i32 noundef %12) store i32 %13, ptr %4, align 4 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %3, align 4 %16 = sub nsw i32 %14, %15 %17 = call i32 @check_prime(i32 noundef %16) store i32 %17, ptr %5, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp eq i32 %18, 1 br i1 %19, label %20, label %24 20: ; preds = %11 %21 = load i32, ptr %5, align 4 %22 = icmp eq i32 %21, 1 br i1 %22, label %23, label %24 23: ; preds = %20 br label %32 24: ; preds = %20, %11 br label %25 25: ; preds = %24 %26 = load i32, ptr %3, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %3, align 4 %28 = load i32, ptr %3, align 4 %29 = load i32, ptr %2, align 4 %30 = sub nsw i32 %29, 2 %31 = icmp sle i32 %28, %30 br i1 %31, label %11, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %25 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %32 32: ; preds = %.loopexit, %23 %33 = load i32, ptr %4, align 4 %34 = icmp eq i32 %33, 1 br i1 %34, label %35, label %40 35: ; preds = %32 %36 = load i32, ptr %5, align 4 %37 = icmp eq i32 %36, 1 br i1 %37, label %38, label %40 38: ; preds = %35 %39 = call i32 @printf(ptr noundef @.str.1) br label %42 40: ; preds = %35, %32 %41 = call i32 @printf(ptr noundef @.str.2) br label %42 42: ; preds = %40, %38 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @check_prime(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/tmptvlyxa1q.c' source_filename = "/tmp/tmptvlyxa1q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"input age:\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%*[^\0A]\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%*c\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"input c:\0A\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"input income:\0A\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.8 = private unnamed_addr constant [27 x i8] c"\E4\BD\A0\E7\9A\84\E5\B9\B4\E9\BE\84\E6\98\AF%d, %s, %g\0A\00", align 1 @.str.9 = private unnamed_addr constant [4 x i8] c"\E5\A5\B3\00", align 1 @.str.10 = private unnamed_addr constant [4 x i8] c"\E7\94\B7\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 i8, align 1 %4 = alloca double, align 8 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2) %8 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %10 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %3) %11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2) %12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %14 = call i32 (ptr, ...) @scanf(ptr noundef @.str.7, ptr noundef %4) %15 = load i32, ptr %2, align 4 %16 = load i8, ptr %3, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 102 %19 = zext i1 %18 to i64 %20 = select i1 %18, ptr @.str.9, ptr @.str.10 %21 = load double, ptr %4, align 8 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %15, ptr noundef %20, double noundef %21) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptvlyxa1q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"input age:\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%*[^\0A]\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%*c\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"input c:\0A\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"input income:\0A\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.8 = private unnamed_addr constant [27 x i8] c"\E4\BD\A0\E7\9A\84\E5\B9\B4\E9\BE\84\E6\98\AF%d, %s, %g\0A\00", align 1 @.str.9 = private unnamed_addr constant [4 x i8] c"\E5\A5\B3\00", align 1 @.str.10 = private unnamed_addr constant [4 x i8] c"\E7\94\B7\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 i8, align 1 %4 = alloca double, align 8 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2) %8 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %10 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %3) %11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2) %12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %14 = call i32 (ptr, ...) @scanf(ptr noundef @.str.7, ptr noundef %4) %15 = load i32, ptr %2, align 4 %16 = load i8, ptr %3, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 102 %19 = zext i1 %18 to i64 %20 = select i1 %18, ptr @.str.9, ptr @.str.10 %21 = load double, ptr %4, align 8 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %15, ptr noundef %20, double noundef %21) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprema_otl.c' source_filename = "/tmp/tmprema_otl.c" target datalayout = "e-m:e-p270: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 [873 x i8] c"Usage: %s [OPTION] [FILE]...\0AAccess an X server selection for reading or writing.\0A\0A -i, -in read text into X selection from standard input or files\0A (default)\0A -o, -out prints the selection to standard out (generally for\0A piping to a file or program)\0A -l, -loops number of selection requests to wait for before exiting\0A -d, -display X display to connect to (eg localhost:0\22)\0A -h, -help usage information\0A -selection selection to access (\22primary\22, \22secondary\22, \22clipboard\22 or \22buffer-cut\22)\0A -noutf8 don't treat text as utf-8, use old unicode\0A -version version information\0A -silent errors only, run in background (default)\0A -quiet run in foreground, show what's happening\0A -verbose running commentary\0A\0AReport bugs to <[email protected]>\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @prhelp(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) %6 = load i32, ptr @EXIT_SUCCESS, align 4 %7 = call i32 @exit(i32 noundef %6) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprema_otl.c" target datalayout = "e-m:e-p270: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 [873 x i8] c"Usage: %s [OPTION] [FILE]...\0AAccess an X server selection for reading or writing.\0A\0A -i, -in read text into X selection from standard input or files\0A (default)\0A -o, -out prints the selection to standard out (generally for\0A piping to a file or program)\0A -l, -loops number of selection requests to wait for before exiting\0A -d, -display X display to connect to (eg localhost:0\22)\0A -h, -help usage information\0A -selection selection to access (\22primary\22, \22secondary\22, \22clipboard\22 or \22buffer-cut\22)\0A -noutf8 don't treat text as utf-8, use old unicode\0A -version version information\0A -silent errors only, run in background (default)\0A -quiet run in foreground, show what's happening\0A -verbose running commentary\0A\0AReport bugs to <[email protected]>\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @prhelp(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) %6 = load i32, ptr @EXIT_SUCCESS, align 4 %7 = call i32 @exit(i32 noundef %6) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvs10rns6.c' source_filename = "/tmp/tmpvs10rns6.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvs10rns6.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe2bjhcax.c' source_filename = "/tmp/tmpe2bjhcax.c" target datalayout = "e-m:e-p270: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/tmpe2bjhcax.c" target datalayout = "e-m:e-p270: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/tmp5yb_pwwv.c' source_filename = "/tmp/tmp5yb_pwwv.c" target datalayout = "e-m:e-p270: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.string = private unnamed_addr constant [40 x i8] c"blam blammo dam\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @__const.main.stringTwo = private unnamed_addr constant [40 x i8] c" blammo! \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @.str = private unnamed_addr constant [13 x i8] c"%s becomes: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"%s becomes: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [40 x i8], align 16 %2 = alloca [40 x i8], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.string, i64 40, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.stringTwo, i64 40, i1 false) %3 = getelementptr inbounds [40 x i8], ptr %1, i64 0, i64 0 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) %5 = getelementptr inbounds [40 x i8], ptr %1, i64 0, i64 0 %6 = call i32 @manipulateString(ptr noundef %5) %7 = getelementptr inbounds [40 x i8], ptr %1, i64 0, i64 0 %8 = call i32 @printf(ptr noundef @.str.1, ptr noundef %7) %9 = getelementptr inbounds [40 x i8], ptr %2, i64 0, i64 0 %10 = call i32 @printf(ptr noundef @.str.2, ptr noundef %9) %11 = getelementptr inbounds [40 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @manipulateString(ptr noundef %11) %13 = getelementptr inbounds [40 x i8], ptr %2, i64 0, i64 0 %14 = call i32 @printf(ptr noundef @.str.1, ptr noundef %13) 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, ptr noundef) #2 declare i32 @manipulateString(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5yb_pwwv.c" target datalayout = "e-m:e-p270: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.string = private unnamed_addr constant [40 x i8] c"blam blammo dam\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @__const.main.stringTwo = private unnamed_addr constant [40 x i8] c" blammo! \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @.str = private unnamed_addr constant [13 x i8] c"%s becomes: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"%s becomes: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [40 x i8], align 16 %2 = alloca [40 x i8], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.string, i64 40, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.stringTwo, i64 40, i1 false) %3 = getelementptr inbounds [40 x i8], ptr %1, i64 0, i64 0 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) %5 = getelementptr inbounds [40 x i8], ptr %1, i64 0, i64 0 %6 = call i32 @manipulateString(ptr noundef %5) %7 = getelementptr inbounds [40 x i8], ptr %1, i64 0, i64 0 %8 = call i32 @printf(ptr noundef @.str.1, ptr noundef %7) %9 = getelementptr inbounds [40 x i8], ptr %2, i64 0, i64 0 %10 = call i32 @printf(ptr noundef @.str.2, ptr noundef %9) %11 = getelementptr inbounds [40 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @manipulateString(ptr noundef %11) %13 = getelementptr inbounds [40 x i8], ptr %2, i64 0, i64 0 %14 = call i32 @printf(ptr noundef @.str.1, ptr noundef %13) 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, ptr noundef) #2 declare i32 @manipulateString(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp156n22t0.c' source_filename = "/tmp/tmp156n22t0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crypto_aead_decrypt(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5, i64 noundef %6, ptr 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 i64, align 8 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, 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 i64 %4, ptr %14, align 8 store ptr %5, ptr %15, align 8 store i64 %6, ptr %16, align 8 store ptr %7, ptr %17, align 8 store ptr %8, ptr %18, align 8 %19 = load ptr, ptr %10, align 8 %20 = load ptr, ptr %11, align 8 %21 = load ptr, ptr %12, align 8 %22 = load ptr, ptr %13, align 8 %23 = load i64, ptr %14, align 8 %24 = load ptr, ptr %15, align 8 %25 = load i64, ptr %16, align 8 %26 = load ptr, ptr %17, align 8 %27 = load ptr, ptr %18, align 8 %28 = call i32 @tiaoxin_optimized_decrypt(ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, i64 noundef %23, ptr noundef %24, i64 noundef %25, ptr noundef %26, ptr noundef %27) ret i32 %28 } declare i32 @tiaoxin_optimized_decrypt(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 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/tmp156n22t0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crypto_aead_decrypt(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5, i64 noundef %6, ptr 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 i64, align 8 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, 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 i64 %4, ptr %14, align 8 store ptr %5, ptr %15, align 8 store i64 %6, ptr %16, align 8 store ptr %7, ptr %17, align 8 store ptr %8, ptr %18, align 8 %19 = load ptr, ptr %10, align 8 %20 = load ptr, ptr %11, align 8 %21 = load ptr, ptr %12, align 8 %22 = load ptr, ptr %13, align 8 %23 = load i64, ptr %14, align 8 %24 = load ptr, ptr %15, align 8 %25 = load i64, ptr %16, align 8 %26 = load ptr, ptr %17, align 8 %27 = load ptr, ptr %18, align 8 %28 = call i32 @tiaoxin_optimized_decrypt(ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, i64 noundef %23, ptr noundef %24, i64 noundef %25, ptr noundef %26, ptr noundef %27) ret i32 %28 } declare i32 @tiaoxin_optimized_decrypt(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 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/tmpdcgumclq.c' source_filename = "/tmp/tmpdcgumclq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8vec_diff_norm_l2(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca double, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store double 0.000000e+00, ptr %8, align 8 store i32 0, ptr %7, align 4 br label %9 9: ; preds = %38, %3 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %41 13: ; preds = %9 %14 = load double, ptr %8, align 8 %15 = load ptr, ptr %5, 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 ptr, ptr %6, align 8 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds double, ptr %20, i64 %22 %24 = load double, ptr %23, align 8 %25 = fsub double %19, %24 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %7, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds double, ptr %26, i64 %28 %30 = load double, ptr %29, align 8 %31 = load ptr, ptr %6, align 8 %32 = load i32, ptr %7, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds double, ptr %31, i64 %33 %35 = load double, ptr %34, align 8 %36 = fsub double %30, %35 %37 = call double @llvm.fmuladd.f64(double %25, double %36, double %14) store double %37, ptr %8, align 8 br label %38 38: ; preds = %13 %39 = load i32, ptr %7, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %7, align 4 br label %9, !llvm.loop !6 41: ; preds = %9 %42 = load double, ptr %8, align 8 %43 = call double @sqrt(double noundef %42) #3 store double %43, ptr %8, align 8 %44 = load double, ptr %8, align 8 ret double %44 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdcgumclq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8vec_diff_norm_l2(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca double, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store double 0.000000e+00, ptr %8, align 8 store i32 0, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %43 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %37 %13 = load double, ptr %8, align 8 %14 = load ptr, ptr %5, align 8 %15 = load i32, ptr %7, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds double, ptr %14, i64 %16 %18 = load double, ptr %17, align 8 %19 = load ptr, ptr %6, align 8 %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds double, ptr %19, i64 %21 %23 = load double, ptr %22, align 8 %24 = fsub double %18, %23 %25 = load ptr, ptr %5, align 8 %26 = load i32, ptr %7, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds double, ptr %25, i64 %27 %29 = load double, ptr %28, align 8 %30 = load ptr, ptr %6, align 8 %31 = load i32, ptr %7, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds double, ptr %30, i64 %32 %34 = load double, ptr %33, align 8 %35 = fsub double %29, %34 %36 = call double @llvm.fmuladd.f64(double %24, double %35, double %13) store double %36, ptr %8, align 8 br label %37 37: ; preds = %12 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 %40 = load i32, ptr %7, align 4 %41 = load i32, ptr %4, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %43 43: ; preds = %._crit_edge, %3 %44 = load double, ptr %8, align 8 %45 = call double @sqrt(double noundef %44) #3 store double %45, ptr %8, align 8 %46 = load double, ptr %8, align 8 ret double %46 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnx7hpa9l.c' source_filename = "/tmp/tmpnx7hpa9l.c" target datalayout = "e-m:e-p270: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/tmpnx7hpa9l.c" target datalayout = "e-m:e-p270: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/tmp09nucuoo.c' source_filename = "/tmp/tmp09nucuoo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dequote(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %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 = load i8, ptr %5, align 1 %7 = sext i8 %6 to i32 %8 = icmp ne i32 %7, 34 br i1 %8, label %9, label %11 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 store ptr %10, ptr %2, align 8 br label %31 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = call i32 @strlen(ptr noundef %12) store i32 %13, ptr %4, align 4 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = getelementptr inbounds i8, ptr %17, i64 -1 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 34 br i1 %21, label %22, label %28 22: ; preds = %11 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %4, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = getelementptr inbounds i8, ptr %26, i64 -1 store i8 0, ptr %27, align 1 br label %28 28: ; preds = %22, %11 %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 1 store ptr %30, ptr %2, align 8 br label %31 31: ; preds = %28, %9 %32 = load ptr, ptr %2, align 8 ret ptr %32 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp09nucuoo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dequote(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %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 = load i8, ptr %5, align 1 %7 = sext i8 %6 to i32 %8 = icmp ne i32 %7, 34 br i1 %8, label %9, label %11 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 store ptr %10, ptr %2, align 8 br label %31 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = call i32 @strlen(ptr noundef %12) store i32 %13, ptr %4, align 4 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = getelementptr inbounds i8, ptr %17, i64 -1 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 34 br i1 %21, label %22, label %28 22: ; preds = %11 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %4, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = getelementptr inbounds i8, ptr %26, i64 -1 store i8 0, ptr %27, align 1 br label %28 28: ; preds = %22, %11 %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 1 store ptr %30, ptr %2, align 8 br label %31 31: ; preds = %28, %9 %32 = load ptr, ptr %2, align 8 ret ptr %32 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzghtyg13.c' source_filename = "/tmp/tmpzghtyg13.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I am task1 \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @task1() #0 { %1 = alloca i32, align 4 br label %2 2: ; preds = %0, %11 %3 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 br label %4 4: ; preds = %8, %2 %5 = load i32, ptr %1, align 4 %6 = icmp slt i32 %5, 19000 br i1 %6, label %7, label %11 7: ; preds = %4 br label %8 8: ; preds = %7 %9 = load i32, ptr %1, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %1, align 4 br label %4, !llvm.loop !6 11: ; preds = %4 %12 = call i32 (...) @waitTask() br label %2 } declare i32 @printf(ptr noundef) #1 declare i32 @waitTask(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpzghtyg13.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I am task1 \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @task1() #0 { %1 = alloca i32, align 4 br label %2 2: ; preds = %12, %0 %3 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = icmp slt i32 %4, 19000 br i1 %5, label %.lr.ph, label %12 .lr.ph: ; preds = %2 br label %6 6: ; preds = %.lr.ph, %7 br label %7 7: ; preds = %6 %8 = load i32, ptr %1, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %1, align 4 %10 = load i32, ptr %1, align 4 %11 = icmp slt i32 %10, 19000 br i1 %11, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %12 12: ; preds = %._crit_edge, %2 %13 = call i32 (...) @waitTask() br label %2 } declare i32 @printf(ptr noundef) #1 declare i32 @waitTask(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpvsl4kgow.c' source_filename = "/tmp/tmpvsl4kgow.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d - \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %6, %0 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 100 br i1 %5, label %6, label %11 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %9, 2 store i32 %10, ptr %2, align 4 br label %3, !llvm.loop !6 11: ; preds = %3 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvsl4kgow.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d - \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp slt i32 %3, 100 br i1 %4, label %.lr.ph, label %12 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %5 %6 = load i32, ptr %2, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) %8 = load i32, ptr %2, align 4 %9 = add nsw i32 %8, 2 store i32 %9, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %10, 100 br i1 %11, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %5 br label %12 12: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvz4lw2be.c' source_filename = "/tmp/tmpvz4lw2be.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"triangle.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [15 x i8] c"Solution: %d.\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %13, ptr %6, align 8 %14 = load ptr, ptr %6, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %18 16: ; preds = %2 %17 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %17, ptr %3, align 4 br label %101 18: ; preds = %2 %19 = load ptr, ptr %6, align 8 %20 = call ptr @readTriangle(ptr noundef %19, ptr noundef %7) store ptr %20, ptr %8, align 8 %21 = load ptr, ptr %6, align 8 %22 = call i32 @fclose(ptr noundef %21) %23 = load ptr, ptr %8, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %27 25: ; preds = %18 %26 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %26, ptr %3, align 4 br label %101 27: ; preds = %18 %28 = load i32, ptr %7, align 4 %29 = icmp sgt i32 %28, 0 br i1 %29, label %30, label %96 30: ; preds = %27 %31 = load i32, ptr %7, align 4 %32 = sub nsw i32 %31, 2 store i32 %32, ptr %9, align 4 br label %33 33: ; preds = %86, %30 %34 = load i32, ptr %9, align 4 %35 = icmp sge i32 %34, 0 br i1 %35, label %36, label %89 36: ; preds = %33 store i32 0, ptr %10, align 4 br label %37 37: ; preds = %82, %36 %38 = load i32, ptr %10, align 4 %39 = load i32, ptr %9, align 4 %40 = icmp sle i32 %38, %39 br i1 %40, label %41, label %85 41: ; preds = %37 %42 = load ptr, ptr %8, align 8 %43 = load i32, ptr %9, align 4 %44 = add nsw i32 %43, 1 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds ptr, ptr %42, i64 %45 %47 = load ptr, ptr %46, align 8 %48 = load i32, ptr %10, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %47, i64 %49 %51 = load i32, ptr %50, align 4 store i32 %51, ptr %11, align 4 %52 = load ptr, ptr %8, 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 = load i32, ptr %10, align 4 %59 = add nsw i32 %58, 1 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %57, i64 %60 %62 = load i32, ptr %61, align 4 store i32 %62, ptr %12, align 4 %63 = load i32, ptr %11, align 4 %64 = load i32, ptr %12, align 4 %65 = icmp sgt i32 %63, %64 br i1 %65, label %66, label %68 66: ; preds = %41 %67 = load i32, ptr %11, align 4 br label %70 68: ; preds = %41 %69 = load i32, ptr %12, align 4 br label %70 70: ; preds = %68, %66 %71 = phi i32 [ %67, %66 ], [ %69, %68 ] %72 = load ptr, ptr %8, align 8 %73 = load i32, ptr %9, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds ptr, ptr %72, i64 %74 %76 = load ptr, ptr %75, align 8 %77 = load i32, ptr %10, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i32, ptr %76, i64 %78 %80 = load i32, ptr %79, align 4 %81 = add nsw i32 %80, %71 store i32 %81, ptr %79, align 4 br label %82 82: ; preds = %70 %83 = load i32, ptr %10, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %10, align 4 br label %37, !llvm.loop !6 85: ; preds = %37 br label %86 86: ; preds = %85 %87 = load i32, ptr %9, align 4 %88 = add nsw i32 %87, -1 store i32 %88, ptr %9, align 4 br label %33, !llvm.loop !8 89: ; preds = %33 %90 = load ptr, ptr %8, align 8 %91 = getelementptr inbounds ptr, ptr %90, i64 0 %92 = load ptr, ptr %91, align 8 %93 = getelementptr inbounds i32, ptr %92, i64 0 %94 = load i32, ptr %93, align 4 %95 = call i32 @printf(ptr noundef @.str.2, i32 noundef %94) br label %96 96: ; preds = %89, %27 %97 = load ptr, ptr %8, align 8 %98 = load i32, ptr %7, align 4 %99 = call i32 @freeTriangle(ptr noundef %97, i32 noundef %98) %100 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %100, ptr %3, align 4 br label %101 101: ; preds = %96, %25, %16 %102 = load i32, ptr %3, align 4 ret i32 %102 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @readTriangle(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @freeTriangle(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvz4lw2be.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"triangle.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [15 x i8] c"Solution: %d.\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %13, ptr %6, align 8 %14 = load ptr, ptr %6, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %18 16: ; preds = %2 %17 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %17, ptr %3, align 4 br label %104 18: ; preds = %2 %19 = load ptr, ptr %6, align 8 %20 = call ptr @readTriangle(ptr noundef %19, ptr noundef %7) store ptr %20, ptr %8, align 8 %21 = load ptr, ptr %6, align 8 %22 = call i32 @fclose(ptr noundef %21) %23 = load ptr, ptr %8, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %27 25: ; preds = %18 %26 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %26, ptr %3, align 4 br label %104 27: ; preds = %18 %28 = load i32, ptr %7, align 4 %29 = icmp sgt i32 %28, 0 br i1 %29, label %30, label %99 30: ; preds = %27 %31 = load i32, ptr %7, align 4 %32 = sub nsw i32 %31, 2 store i32 %32, ptr %9, align 4 %33 = load i32, ptr %9, align 4 %34 = icmp sge i32 %33, 0 br i1 %34, label %.lr.ph2, label %92 .lr.ph2: ; preds = %30 br label %35 35: ; preds = %.lr.ph2, %87 store i32 0, ptr %10, align 4 %36 = load i32, ptr %10, align 4 %37 = load i32, ptr %9, align 4 %38 = icmp sle i32 %36, %37 br i1 %38, label %.lr.ph, label %86 .lr.ph: ; preds = %35 br label %39 39: ; preds = %.lr.ph, %80 %40 = load ptr, ptr %8, align 8 %41 = load i32, ptr %9, align 4 %42 = add nsw i32 %41, 1 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds ptr, ptr %40, i64 %43 %45 = load ptr, ptr %44, align 8 %46 = load i32, ptr %10, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 %49 = load i32, ptr %48, align 4 store i32 %49, ptr %11, align 4 %50 = load ptr, ptr %8, align 8 %51 = load i32, ptr %9, align 4 %52 = add nsw i32 %51, 1 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds ptr, ptr %50, i64 %53 %55 = load ptr, ptr %54, align 8 %56 = load i32, ptr %10, align 4 %57 = add nsw i32 %56, 1 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i32, ptr %55, i64 %58 %60 = load i32, ptr %59, align 4 store i32 %60, ptr %12, align 4 %61 = load i32, ptr %11, align 4 %62 = load i32, ptr %12, align 4 %63 = icmp sgt i32 %61, %62 br i1 %63, label %64, label %66 64: ; preds = %39 %65 = load i32, ptr %11, align 4 br label %68 66: ; preds = %39 %67 = load i32, ptr %12, align 4 br label %68 68: ; preds = %66, %64 %69 = phi i32 [ %65, %64 ], [ %67, %66 ] %70 = load ptr, ptr %8, align 8 %71 = load i32, ptr %9, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds ptr, ptr %70, i64 %72 %74 = load ptr, ptr %73, align 8 %75 = load i32, ptr %10, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i32, ptr %74, i64 %76 %78 = load i32, ptr %77, align 4 %79 = add nsw i32 %78, %69 store i32 %79, ptr %77, align 4 br label %80 80: ; preds = %68 %81 = load i32, ptr %10, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %10, align 4 %83 = load i32, ptr %10, align 4 %84 = load i32, ptr %9, align 4 %85 = icmp sle i32 %83, %84 br i1 %85, label %39, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %80 br label %86 86: ; preds = %._crit_edge, %35 br label %87 87: ; preds = %86 %88 = load i32, ptr %9, align 4 %89 = add nsw i32 %88, -1 store i32 %89, ptr %9, align 4 %90 = load i32, ptr %9, align 4 %91 = icmp sge i32 %90, 0 br i1 %91, label %35, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %87 br label %92 92: ; preds = %._crit_edge3, %30 %93 = load ptr, ptr %8, align 8 %94 = getelementptr inbounds ptr, ptr %93, i64 0 %95 = load ptr, ptr %94, align 8 %96 = getelementptr inbounds i32, ptr %95, i64 0 %97 = load i32, ptr %96, align 4 %98 = call i32 @printf(ptr noundef @.str.2, i32 noundef %97) br label %99 99: ; preds = %92, %27 %100 = load ptr, ptr %8, align 8 %101 = load i32, ptr %7, align 4 %102 = call i32 @freeTriangle(ptr noundef %100, i32 noundef %101) %103 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %103, ptr %3, align 4 br label %104 104: ; preds = %99, %25, %16 %105 = load i32, ptr %3, align 4 ret i32 %105 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @readTriangle(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @freeTriangle(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp65e98d3u.c' source_filename = "/tmp/tmp65e98d3u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clear_buffer() #0 { %1 = alloca i8, align 1 br label %2 2: ; preds = %6, %0 %3 = call signext i8 (...) @getchar() store i8 %3, ptr %1, align 1 %4 = sext i8 %3 to i32 %5 = icmp ne i32 %4, 10 br i1 %5, label %6, label %7 6: ; preds = %2 br label %2, !llvm.loop !6 7: ; preds = %2 ret void } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp65e98d3u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clear_buffer() #0 { %1 = alloca i8, align 1 br label %2 2: ; preds = %2, %0 %3 = call signext i8 (...) @getchar() store i8 %3, ptr %1, align 1 %4 = sext i8 %3 to i32 %5 = icmp ne i32 %4, 10 br i1 %5, label %2, label %6, !llvm.loop !6 6: ; preds = %2 ret void } 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"}
; ModuleID = '/tmp/tmplx7055ks.c' source_filename = "/tmp/tmplx7055ks.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_square(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call i64 @sqrt(i64 noundef %4) store i64 %5, ptr %3, align 8 %6 = load i64, ptr %3, align 8 %7 = load i64, ptr %3, align 8 %8 = mul i64 %6, %7 %9 = load i64, ptr %2, align 8 %10 = icmp eq i64 %8, %9 %11 = zext i1 %10 to i32 ret i32 %11 } declare i64 @sqrt(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/tmplx7055ks.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_square(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call i64 @sqrt(i64 noundef %4) store i64 %5, ptr %3, align 8 %6 = load i64, ptr %3, align 8 %7 = load i64, ptr %3, align 8 %8 = mul i64 %6, %7 %9 = load i64, ptr %2, align 8 %10 = icmp eq i64 %8, %9 %11 = zext i1 %10 to i32 ret i32 %11 } declare i64 @sqrt(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/tmp68h6d4sk.c' source_filename = "/tmp/tmp68h6d4sk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sgerand(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %10, align 4 br label %11 11: ; preds = %40, %4 %12 = load i32, ptr %10, align 4 %13 = load ptr, ptr %6, align 8 %14 = load i32, ptr %13, align 4 %15 = icmp slt i32 %12, %14 br i1 %15, label %16, label %43 16: ; preds = %11 store i32 0, ptr %9, align 4 br label %17 17: ; preds = %36, %16 %18 = load i32, ptr %9, align 4 %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %19, align 4 %21 = icmp slt i32 %18, %20 br i1 %21, label %22, label %39 22: ; preds = %17 %23 = call float (...) @rand() %24 = load i64, ptr @RAND_MAX, align 8 %25 = sitofp i64 %24 to float %26 = fdiv float %23, %25 %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %9, align 4 %29 = load i32, ptr %10, align 4 %30 = load ptr, ptr %8, align 8 %31 = load i32, ptr %30, align 4 %32 = mul nsw i32 %29, %31 %33 = add nsw i32 %28, %32 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds float, ptr %27, i64 %34 store float %26, ptr %35, align 4 br label %36 36: ; preds = %22 %37 = load i32, ptr %9, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %9, align 4 br label %17, !llvm.loop !6 39: ; preds = %17 br label %40 40: ; preds = %39 %41 = load i32, ptr %10, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %10, align 4 br label %11, !llvm.loop !8 43: ; preds = %11 ret void } declare float @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp68h6d4sk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sgerand(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %10, align 4 %11 = load i32, ptr %10, align 4 %12 = load ptr, ptr %6, align 8 %13 = load i32, ptr %12, align 4 %14 = icmp slt i32 %11, %13 br i1 %14, label %.lr.ph2, label %49 .lr.ph2: ; preds = %4 br label %15 15: ; preds = %.lr.ph2, %42 store i32 0, ptr %9, align 4 %16 = load i32, ptr %9, align 4 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %17, align 4 %19 = icmp slt i32 %16, %18 br i1 %19, label %.lr.ph, label %41 .lr.ph: ; preds = %15 br label %20 20: ; preds = %.lr.ph, %34 %21 = call float (...) @rand() %22 = load i64, ptr @RAND_MAX, align 8 %23 = sitofp i64 %22 to float %24 = fdiv float %21, %23 %25 = load ptr, ptr %7, align 8 %26 = load i32, ptr %9, align 4 %27 = load i32, ptr %10, align 4 %28 = load ptr, ptr %8, align 8 %29 = load i32, ptr %28, align 4 %30 = mul nsw i32 %27, %29 %31 = add nsw i32 %26, %30 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds float, ptr %25, i64 %32 store float %24, ptr %33, align 4 br label %34 34: ; preds = %20 %35 = load i32, ptr %9, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %9, align 4 %37 = load i32, ptr %9, align 4 %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %38, align 4 %40 = icmp slt i32 %37, %39 br i1 %40, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %41 41: ; preds = %._crit_edge, %15 br label %42 42: ; preds = %41 %43 = load i32, ptr %10, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %10, align 4 %45 = load i32, ptr %10, align 4 %46 = load ptr, ptr %6, align 8 %47 = load i32, ptr %46, align 4 %48 = icmp slt i32 %45, %47 br i1 %48, label %15, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %42 br label %49 49: ; preds = %._crit_edge3, %4 ret void } declare float @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpfismpwmi.c' source_filename = "/tmp/tmpfismpwmi.c" target datalayout = "e-m:e-p270: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 [24 x i8] c"Should never reach here\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @grpcsharp_channel_credentials_release() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 (...) @abort() #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfismpwmi.c" target datalayout = "e-m:e-p270: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 [24 x i8] c"Should never reach here\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @grpcsharp_channel_credentials_release() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 (...) @abort() #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp81zs96vx.c' source_filename = "/tmp/tmp81zs96vx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Type a string: \00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"Sorry, the string is too large.\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @EXIT_SUCCESS = 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 i8, align 1 %3 = alloca [50 x i8], align 16 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %6 6: ; preds = %23, %0 %7 = call signext i8 (...) @getchar() store i8 %7, ptr %2, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 10 br i1 %9, label %10, label %24 10: ; preds = %6 %11 = load i32, ptr %4, align 4 %12 = icmp ult i32 %11, 49 br i1 %12, label %13, label %19 13: ; preds = %10 %14 = load i8, ptr %2, align 1 %15 = load i32, ptr %4, align 4 %16 = add i32 %15, 1 store i32 %16, ptr %4, align 4 %17 = zext i32 %15 to i64 %18 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 %17 store i8 %14, ptr %18, align 1 br label %23 19: ; preds = %10 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %21 = load i32, ptr @EXIT_FAILURE, align 4 %22 = call i32 @exit(i32 noundef %21) #3 unreachable 23: ; preds = %13 br label %6, !llvm.loop !6 24: ; preds = %6 %25 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %25) %27 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %27 } declare i32 @printf(ptr noundef, ...) #1 declare signext i8 @getchar(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp81zs96vx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Type a string: \00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"Sorry, the string is too large.\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @EXIT_SUCCESS = 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 i8, align 1 %3 = alloca [50 x i8], align 16 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call signext i8 (...) @getchar() store i8 %6, ptr %2, align 1 %7 = sext i8 %6 to i32 %8 = icmp ne i32 %7, 10 br i1 %8, label %.lr.ph, label %26 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %22 %10 = load i32, ptr %4, align 4 %11 = icmp ult i32 %10, 49 br i1 %11, label %12, label %18 12: ; preds = %9 %13 = load i8, ptr %2, align 1 %14 = load i32, ptr %4, align 4 %15 = add i32 %14, 1 store i32 %15, ptr %4, align 4 %16 = zext i32 %14 to i64 %17 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 %16 store i8 %13, ptr %17, align 1 br label %22 18: ; preds = %9 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %20 = load i32, ptr @EXIT_FAILURE, align 4 %21 = call i32 @exit(i32 noundef %20) #3 unreachable 22: ; preds = %12 %23 = call signext i8 (...) @getchar() store i8 %23, ptr %2, align 1 %24 = sext i8 %23 to i32 %25 = icmp ne i32 %24, 10 br i1 %25, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %26 26: ; preds = %._crit_edge, %0 %27 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %27) %29 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %29 } declare i32 @printf(ptr noundef, ...) #1 declare signext i8 @getchar(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvymkklet.c' source_filename = "/tmp/tmpvymkklet.c" target datalayout = "e-m:e-p270: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/tmpvymkklet.c" target datalayout = "e-m:e-p270: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/tmpn3txlph5.c' source_filename = "/tmp/tmpn3txlph5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"chain_FI%d_I%d.xml\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\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 [100 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 5, ptr %4, align 4 br label %6 6: ; preds = %34, %0 %7 = load i32, ptr %4, align 4 %8 = icmp sle i32 %7, 10 br i1 %8, label %9, label %37 9: ; preds = %6 store i32 50, ptr %5, align 4 br label %10 10: ; preds = %30, %9 %11 = load i32, ptr %5, align 4 %12 = icmp sle i32 %11, 100 br i1 %12, label %13, label %33 13: ; preds = %10 %14 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %5, align 4 %17 = call i32 @sprintf(ptr noundef %14, ptr noundef @.str, i32 noundef %15, i32 noundef %16) %18 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str.1) store ptr %19, ptr %2, align 8 %20 = load ptr, ptr %2, align 8 %21 = call i32 @print_header(ptr noundef %20) %22 = load ptr, ptr %2, align 8 %23 = load i32, ptr %4, align 4 %24 = load i32, ptr %5, align 4 %25 = call i32 @print_clb(ptr noundef %22, i32 noundef %23, i32 noundef %24) %26 = load ptr, ptr %2, align 8 %27 = call i32 @print_footer(ptr noundef %26) %28 = load ptr, ptr %2, align 8 %29 = call i32 @fclose(ptr noundef %28) br label %30 30: ; preds = %13 %31 = load i32, ptr %5, align 4 %32 = add nsw i32 %31, 10 store i32 %32, ptr %5, align 4 br label %10, !llvm.loop !6 33: ; preds = %10 br label %34 34: ; preds = %33 %35 = load i32, ptr %4, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %4, align 4 br label %6, !llvm.loop !8 37: ; preds = %6 ret i32 0 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @print_header(ptr noundef) #1 declare i32 @print_clb(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @print_footer(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn3txlph5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"chain_FI%d_I%d.xml\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\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 [100 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 5, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp sle i32 %6, 10 br i1 %7, label %.lr.ph2, label %39 .lr.ph2: ; preds = %0 br label %8 8: ; preds = %.lr.ph2, %34 store i32 50, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp sle i32 %9, 100 br i1 %10, label %.lr.ph, label %33 .lr.ph: ; preds = %8 br label %11 11: ; preds = %.lr.ph, %28 %12 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %5, align 4 %15 = call i32 @sprintf(ptr noundef %12, ptr noundef @.str, i32 noundef %13, i32 noundef %14) %16 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %17 = call ptr @fopen(ptr noundef %16, ptr noundef @.str.1) store ptr %17, ptr %2, align 8 %18 = load ptr, ptr %2, align 8 %19 = call i32 @print_header(ptr noundef %18) %20 = load ptr, ptr %2, align 8 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %5, align 4 %23 = call i32 @print_clb(ptr noundef %20, i32 noundef %21, i32 noundef %22) %24 = load ptr, ptr %2, align 8 %25 = call i32 @print_footer(ptr noundef %24) %26 = load ptr, ptr %2, align 8 %27 = call i32 @fclose(ptr noundef %26) br label %28 28: ; preds = %11 %29 = load i32, ptr %5, align 4 %30 = add nsw i32 %29, 10 store i32 %30, ptr %5, align 4 %31 = load i32, ptr %5, align 4 %32 = icmp sle i32 %31, 100 br i1 %32, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %33 33: ; preds = %._crit_edge, %8 br label %34 34: ; preds = %33 %35 = load i32, ptr %4, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %4, align 4 %37 = load i32, ptr %4, align 4 %38 = icmp sle i32 %37, 10 br i1 %38, label %8, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %34 br label %39 39: ; preds = %._crit_edge3, %0 ret i32 0 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @print_header(ptr noundef) #1 declare i32 @print_clb(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @print_footer(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpafym5k63.c' source_filename = "/tmp/tmpafym5k63.c" target datalayout = "e-m:e-p270: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/tmpafym5k63.c" target datalayout = "e-m:e-p270: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/tmpet2yhagb.c' source_filename = "/tmp/tmpet2yhagb.c" target datalayout = "e-m:e-p270: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/tmpet2yhagb.c" target datalayout = "e-m:e-p270: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/tmpzy7f10vb.c' source_filename = "/tmp/tmpzy7f10vb.c" target datalayout = "e-m:e-p270: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/tmpzy7f10vb.c" target datalayout = "e-m:e-p270: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/tmpuckamb95.c' source_filename = "/tmp/tmpuckamb95.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGALRM = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuckamb95.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGALRM = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_9j5f267.c' source_filename = "/tmp/tmp_9j5f267.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_seed() #0 { %1 = call i32 @time(ptr noundef null) %2 = call i32 @srand(i32 noundef %1) ret void } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_9j5f267.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_seed() #0 { %1 = call i32 @time(ptr noundef null) %2 = call i32 @srand(i32 noundef %1) ret void } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfdgj_lx0.c' source_filename = "/tmp/tmpfdgj_lx0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcstol(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i64 @wcstoll(ptr noundef %7, ptr noundef %8, i32 noundef %9) ret i64 %10 } declare i64 @wcstoll(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/tmpfdgj_lx0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcstol(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i64 @wcstoll(ptr noundef %7, ptr noundef %8, i32 noundef %9) ret i64 %10 } declare i64 @wcstoll(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/tmpej_sw9vz.c' source_filename = "/tmp/tmpej_sw9vz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @handle_keypress(i8 noundef zeroext %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i8 %0, ptr %4, align 1 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i8, ptr %4, align 1 %8 = zext i8 %7 to i32 switch i32 %8, label %11 [ i32 27, label %9 ] 9: ; preds = %3 %10 = call i32 @exit(i32 noundef 0) #2 unreachable 11: ; preds = %3 ret void } ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpej_sw9vz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @handle_keypress(i8 noundef zeroext %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i8 %0, ptr %4, align 1 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i8, ptr %4, align 1 %8 = zext i8 %7 to i32 switch i32 %8, label %11 [ i32 27, label %9 ] 9: ; preds = %3 %10 = call i32 @exit(i32 noundef 0) #2 unreachable 11: ; preds = %3 ret void } ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3uxgkogt.c' source_filename = "/tmp/tmp3uxgkogt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c".cue\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"malloc\00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @replace_path_ext(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr @.str, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i64 @strlen(ptr noundef %7) %9 = add nsw i64 %8, 1 %10 = call ptr @malloc(i64 noundef %9) store ptr %10, ptr %5, align 8 %11 = load ptr, ptr %5, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %15 13: ; preds = %1 %14 = call i32 @perror(ptr noundef @.str.1) store ptr null, ptr %2, align 8 br label %45 15: ; preds = %1 %16 = load ptr, ptr %5, align 8 %17 = load ptr, ptr %3, align 8 %18 = call i32 @strcpy(ptr noundef %16, ptr noundef %17) %19 = load ptr, ptr %5, align 8 %20 = call ptr @strrchr(ptr noundef %19, i8 noundef signext 46) %21 = call i32 @strcpy(ptr noundef %20, ptr noundef @.str.2) %22 = load ptr, ptr %5, align 8 %23 = call i64 @strlen(ptr noundef %22) %24 = load ptr, ptr %4, align 8 %25 = call i64 @strlen(ptr noundef %24) %26 = add nsw i64 %23, %25 %27 = add nsw i64 %26, 1 %28 = call ptr @malloc(i64 noundef %27) store ptr %28, ptr %6, align 8 %29 = load ptr, ptr %6, align 8 %30 = icmp eq ptr %29, null br i1 %30, label %31, label %33 31: ; preds = %15 %32 = call i32 @perror(ptr noundef @.str.1) store ptr null, ptr %2, align 8 br label %45 33: ; preds = %15 %34 = load ptr, ptr %6, align 8 %35 = load ptr, ptr %5, align 8 %36 = call i32 @strcpy(ptr noundef %34, ptr noundef %35) %37 = load ptr, ptr %6, align 8 %38 = load ptr, ptr %4, align 8 %39 = load ptr, ptr %4, align 8 %40 = call i64 @strlen(ptr noundef %39) %41 = call i32 @strncat(ptr noundef %37, ptr noundef %38, i64 noundef %40) %42 = load ptr, ptr %5, align 8 %43 = call i32 @free(ptr noundef %42) %44 = load ptr, ptr %6, align 8 store ptr %44, ptr %2, align 8 br label %45 45: ; preds = %33, %31, %13 %46 = load ptr, ptr %2, align 8 ret ptr %46 } declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @strncat(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3uxgkogt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c".cue\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"malloc\00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @replace_path_ext(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr @.str, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i64 @strlen(ptr noundef %7) %9 = add nsw i64 %8, 1 %10 = call ptr @malloc(i64 noundef %9) store ptr %10, ptr %5, align 8 %11 = load ptr, ptr %5, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %15 13: ; preds = %1 %14 = call i32 @perror(ptr noundef @.str.1) store ptr null, ptr %2, align 8 br label %45 15: ; preds = %1 %16 = load ptr, ptr %5, align 8 %17 = load ptr, ptr %3, align 8 %18 = call i32 @strcpy(ptr noundef %16, ptr noundef %17) %19 = load ptr, ptr %5, align 8 %20 = call ptr @strrchr(ptr noundef %19, i8 noundef signext 46) %21 = call i32 @strcpy(ptr noundef %20, ptr noundef @.str.2) %22 = load ptr, ptr %5, align 8 %23 = call i64 @strlen(ptr noundef %22) %24 = load ptr, ptr %4, align 8 %25 = call i64 @strlen(ptr noundef %24) %26 = add nsw i64 %23, %25 %27 = add nsw i64 %26, 1 %28 = call ptr @malloc(i64 noundef %27) store ptr %28, ptr %6, align 8 %29 = load ptr, ptr %6, align 8 %30 = icmp eq ptr %29, null br i1 %30, label %31, label %33 31: ; preds = %15 %32 = call i32 @perror(ptr noundef @.str.1) store ptr null, ptr %2, align 8 br label %45 33: ; preds = %15 %34 = load ptr, ptr %6, align 8 %35 = load ptr, ptr %5, align 8 %36 = call i32 @strcpy(ptr noundef %34, ptr noundef %35) %37 = load ptr, ptr %6, align 8 %38 = load ptr, ptr %4, align 8 %39 = load ptr, ptr %4, align 8 %40 = call i64 @strlen(ptr noundef %39) %41 = call i32 @strncat(ptr noundef %37, ptr noundef %38, i64 noundef %40) %42 = load ptr, ptr %5, align 8 %43 = call i32 @free(ptr noundef %42) %44 = load ptr, ptr %6, align 8 store ptr %44, ptr %2, align 8 br label %45 45: ; preds = %33, %31, %13 %46 = load ptr, ptr %2, align 8 ret ptr %46 } declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @strncat(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7h9i53ui.c' source_filename = "/tmp/tmp7h9i53ui.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Create AMD Firmware combination\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/tmp7h9i53ui.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Create AMD Firmware combination\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/tmpm_xg4rp1.c' source_filename = "/tmp/tmpm_xg4rp1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LC_NUMERIC = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"C\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @UTILS_atof(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca double, align 8 store ptr %0, ptr %2, align 8 %4 = load i32, ptr @LC_NUMERIC, align 4 %5 = call i32 @setlocale(i32 noundef %4, ptr noundef @.str) %6 = load ptr, ptr %2, align 8 %7 = call double @atof(ptr noundef %6) store double %7, ptr %3, align 8 %8 = load i32, ptr @LC_NUMERIC, align 4 %9 = call i32 @setlocale(i32 noundef %8, ptr noundef @.str.1) %10 = load double, ptr %3, align 8 ret double %10 } declare i32 @setlocale(i32 noundef, ptr noundef) #1 declare double @atof(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm_xg4rp1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LC_NUMERIC = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"C\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @UTILS_atof(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca double, align 8 store ptr %0, ptr %2, align 8 %4 = load i32, ptr @LC_NUMERIC, align 4 %5 = call i32 @setlocale(i32 noundef %4, ptr noundef @.str) %6 = load ptr, ptr %2, align 8 %7 = call double @atof(ptr noundef %6) store double %7, ptr %3, align 8 %8 = load i32, ptr @LC_NUMERIC, align 4 %9 = call i32 @setlocale(i32 noundef %8, ptr noundef @.str.1) %10 = load double, ptr %3, align 8 ret double %10 } declare i32 @setlocale(i32 noundef, ptr noundef) #1 declare double @atof(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgev6sqow.c' source_filename = "/tmp/tmpgev6sqow.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @ERANGE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @expand_number(ptr 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 ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strtoumax(ptr noundef %9, ptr noundef %8, i32 noundef 0) store i32 %10, ptr %6, align 4 %11 = load ptr, ptr %8, align 8 %12 = load ptr, ptr %4, align 8 %13 = icmp eq ptr %11, %12 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = load i32, ptr @EINVAL, align 4 store i32 %15, ptr @errno, align 4 store i32 -1, ptr %3, align 4 br label %46 16: ; preds = %2 %17 = load ptr, ptr %8, align 8 %18 = load i8, ptr %17, align 1 %19 = call i32 @tolower(i8 noundef zeroext %18) switch i32 %19, label %29 [ i32 101, label %20 i32 112, label %21 i32 116, label %22 i32 103, label %23 i32 109, label %24 i32 107, label %25 i32 98, label %26 i32 0, label %26 ] 20: ; preds = %16 store i32 60, ptr %7, align 4 br label %31 21: ; preds = %16 store i32 50, ptr %7, align 4 br label %31 22: ; preds = %16 store i32 40, ptr %7, align 4 br label %31 23: ; preds = %16 store i32 30, ptr %7, align 4 br label %31 24: ; preds = %16 store i32 20, ptr %7, align 4 br label %31 25: ; preds = %16 store i32 10, ptr %7, align 4 br label %31 26: ; preds = %16, %16 %27 = load i32, ptr %6, align 4 %28 = load ptr, ptr %5, align 8 store i32 %27, ptr %28, align 4 store i32 0, ptr %3, align 4 br label %46 29: ; preds = %16 %30 = load i32, ptr @EINVAL, align 4 store i32 %30, ptr @errno, align 4 store i32 -1, ptr %3, align 4 br label %46 31: ; preds = %25, %24, %23, %22, %21, %20 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr %7, align 4 %34 = shl i32 %32, %33 %35 = load i32, ptr %7, align 4 %36 = lshr i32 %34, %35 %37 = load i32, ptr %6, align 4 %38 = icmp ne i32 %36, %37 br i1 %38, label %39, label %41 39: ; preds = %31 %40 = load i32, ptr @ERANGE, align 4 store i32 %40, ptr @errno, align 4 store i32 -1, ptr %3, align 4 br label %46 41: ; preds = %31 %42 = load i32, ptr %6, align 4 %43 = load i32, ptr %7, align 4 %44 = shl i32 %42, %43 %45 = load ptr, ptr %5, align 8 store i32 %44, ptr %45, align 4 store i32 0, ptr %3, align 4 br label %46 46: ; preds = %41, %39, %29, %26, %14 %47 = load i32, ptr %3, align 4 ret i32 %47 } declare i32 @strtoumax(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @tolower(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgev6sqow.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @ERANGE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @expand_number(ptr 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 ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strtoumax(ptr noundef %9, ptr noundef %8, i32 noundef 0) store i32 %10, ptr %6, align 4 %11 = load ptr, ptr %8, align 8 %12 = load ptr, ptr %4, align 8 %13 = icmp eq ptr %11, %12 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = load i32, ptr @EINVAL, align 4 store i32 %15, ptr @errno, align 4 store i32 -1, ptr %3, align 4 br label %46 16: ; preds = %2 %17 = load ptr, ptr %8, align 8 %18 = load i8, ptr %17, align 1 %19 = call i32 @tolower(i8 noundef zeroext %18) switch i32 %19, label %29 [ i32 101, label %20 i32 112, label %21 i32 116, label %22 i32 103, label %23 i32 109, label %24 i32 107, label %25 i32 98, label %26 i32 0, label %26 ] 20: ; preds = %16 store i32 60, ptr %7, align 4 br label %31 21: ; preds = %16 store i32 50, ptr %7, align 4 br label %31 22: ; preds = %16 store i32 40, ptr %7, align 4 br label %31 23: ; preds = %16 store i32 30, ptr %7, align 4 br label %31 24: ; preds = %16 store i32 20, ptr %7, align 4 br label %31 25: ; preds = %16 store i32 10, ptr %7, align 4 br label %31 26: ; preds = %16, %16 %27 = load i32, ptr %6, align 4 %28 = load ptr, ptr %5, align 8 store i32 %27, ptr %28, align 4 store i32 0, ptr %3, align 4 br label %46 29: ; preds = %16 %30 = load i32, ptr @EINVAL, align 4 store i32 %30, ptr @errno, align 4 store i32 -1, ptr %3, align 4 br label %46 31: ; preds = %25, %24, %23, %22, %21, %20 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr %7, align 4 %34 = shl i32 %32, %33 %35 = load i32, ptr %7, align 4 %36 = lshr i32 %34, %35 %37 = load i32, ptr %6, align 4 %38 = icmp ne i32 %36, %37 br i1 %38, label %39, label %41 39: ; preds = %31 %40 = load i32, ptr @ERANGE, align 4 store i32 %40, ptr @errno, align 4 store i32 -1, ptr %3, align 4 br label %46 41: ; preds = %31 %42 = load i32, ptr %6, align 4 %43 = load i32, ptr %7, align 4 %44 = shl i32 %42, %43 %45 = load ptr, ptr %5, align 8 store i32 %44, ptr %45, align 4 store i32 0, ptr %3, align 4 br label %46 46: ; preds = %41, %39, %29, %26, %14 %47 = load i32, ptr %3, align 4 ret i32 %47 } declare i32 @strtoumax(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @tolower(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp40a9sgz4.c' source_filename = "/tmp/tmp40a9sgz4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpufreq_get_hardware_limits(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @sysfsparser_cpufreq_get_hardware_limits(i32 noundef %7, ptr noundef %8, ptr noundef %9) ret i32 %10 } declare i32 @sysfsparser_cpufreq_get_hardware_limits(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/tmp40a9sgz4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpufreq_get_hardware_limits(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @sysfsparser_cpufreq_get_hardware_limits(i32 noundef %7, ptr noundef %8, ptr noundef %9) ret i32 %10 } declare i32 @sysfsparser_cpufreq_get_hardware_limits(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/tmpp0c4iwuv.c' source_filename = "/tmp/tmpp0c4iwuv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"L %s K %s \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"md5\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"md5 OK\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"md5 no\0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"sha1\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"sha1 OK\0A\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"sha1 no\0A\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"unknown\0A\00", align 1 @.str.8 = private unnamed_addr constant [16 x i8] c"Mismatch %s %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @checker(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [512 x i8], align 16 %9 = alloca [512 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %3, align 8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %10, ptr noundef %11) %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %15 = call ptr @lock_strip_alpha(ptr noundef %13, ptr noundef %14) store ptr %15, ptr %6, align 8 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %18 = call ptr @lock_strip_alpha(ptr noundef %16, ptr noundef %17) store ptr %18, ptr %7, align 8 %19 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %20 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %21 = call i32 @strcmp(ptr noundef %19, ptr noundef %20) %22 = icmp ne i32 %21, 0 br i1 %22, label %55, label %23 23: ; preds = %2 %24 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %25 = call i32 @strcmp(ptr noundef %24, ptr noundef @.str.1) %26 = icmp ne i32 %25, 0 br i1 %26, label %37, label %27 27: ; preds = %23 %28 = load ptr, ptr %6, align 8 %29 = load ptr, ptr %7, align 8 %30 = call i32 @md5_verify(ptr noundef %28, ptr noundef %29) %31 = icmp ne i32 %30, 0 br i1 %31, label %34, label %32 32: ; preds = %27 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %36 34: ; preds = %27 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %36 36: ; preds = %34, %32 br label %54 37: ; preds = %23 %38 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %39 = call i32 @strcmp(ptr noundef %38, ptr noundef @.str.4) %40 = icmp ne i32 %39, 0 br i1 %40, label %51, label %41 41: ; preds = %37 %42 = load ptr, ptr %6, align 8 %43 = load ptr, ptr %7, align 8 %44 = call i32 @sha_verify(ptr noundef %42, ptr noundef %43) %45 = icmp ne i32 %44, 0 br i1 %45, label %48, label %46 46: ; preds = %41 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %50 48: ; preds = %41 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %50 50: ; preds = %48, %46 br label %53 51: ; preds = %37 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %53 53: ; preds = %51, %50 br label %54 54: ; preds = %53, %36 br label %59 55: ; preds = %2 %56 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %57 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %56, ptr noundef %57) br label %59 59: ; preds = %55, %54 ret void } declare i32 @printf(ptr noundef, ...) #1 declare ptr @lock_strip_alpha(ptr noundef, ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @md5_verify(ptr noundef, ptr noundef) #1 declare i32 @sha_verify(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/tmpp0c4iwuv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"L %s K %s \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"md5\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"md5 OK\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"md5 no\0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"sha1\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"sha1 OK\0A\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"sha1 no\0A\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"unknown\0A\00", align 1 @.str.8 = private unnamed_addr constant [16 x i8] c"Mismatch %s %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @checker(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [512 x i8], align 16 %9 = alloca [512 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %3, align 8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %10, ptr noundef %11) %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %15 = call ptr @lock_strip_alpha(ptr noundef %13, ptr noundef %14) store ptr %15, ptr %6, align 8 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %18 = call ptr @lock_strip_alpha(ptr noundef %16, ptr noundef %17) store ptr %18, ptr %7, align 8 %19 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %20 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %21 = call i32 @strcmp(ptr noundef %19, ptr noundef %20) %22 = icmp ne i32 %21, 0 br i1 %22, label %55, label %23 23: ; preds = %2 %24 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %25 = call i32 @strcmp(ptr noundef %24, ptr noundef @.str.1) %26 = icmp ne i32 %25, 0 br i1 %26, label %37, label %27 27: ; preds = %23 %28 = load ptr, ptr %6, align 8 %29 = load ptr, ptr %7, align 8 %30 = call i32 @md5_verify(ptr noundef %28, ptr noundef %29) %31 = icmp ne i32 %30, 0 br i1 %31, label %34, label %32 32: ; preds = %27 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %36 34: ; preds = %27 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %36 36: ; preds = %34, %32 br label %54 37: ; preds = %23 %38 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %39 = call i32 @strcmp(ptr noundef %38, ptr noundef @.str.4) %40 = icmp ne i32 %39, 0 br i1 %40, label %51, label %41 41: ; preds = %37 %42 = load ptr, ptr %6, align 8 %43 = load ptr, ptr %7, align 8 %44 = call i32 @sha_verify(ptr noundef %42, ptr noundef %43) %45 = icmp ne i32 %44, 0 br i1 %45, label %48, label %46 46: ; preds = %41 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %50 48: ; preds = %41 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %50 50: ; preds = %48, %46 br label %53 51: ; preds = %37 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %53 53: ; preds = %51, %50 br label %54 54: ; preds = %53, %36 br label %59 55: ; preds = %2 %56 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %57 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %56, ptr noundef %57) br label %59 59: ; preds = %55, %54 ret void } declare i32 @printf(ptr noundef, ...) #1 declare ptr @lock_strip_alpha(ptr noundef, ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @md5_verify(ptr noundef, ptr noundef) #1 declare i32 @sha_verify(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/tmpgr159hpu.c' source_filename = "/tmp/tmpgr159hpu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isodigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isodigit should be 0 for 0x9d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isodigit_0x9d() #0 { %1 = call i64 @isodigit(i32 noundef 157) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 790, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isodigit(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/tmpgr159hpu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isodigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isodigit should be 0 for 0x9d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isodigit_0x9d() #0 { %1 = call i64 @isodigit(i32 noundef 157) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 790, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isodigit(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"}