llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmppty8z97v.c' source_filename = "/tmp/tmppty8z97v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mem_calloc(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @calloc(i64 noundef %6, i64 noundef %7) #3 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %2 %12 = load i64, ptr %4, align 8 %13 = call i32 @die_oom(i64 noundef %12) br label %14 14: ; preds = %11, %2 %15 = load ptr, ptr %5, align 8 ret ptr %15 } ; Function Attrs: allocsize(0,1) declare ptr @calloc(i64 noundef, i64 noundef) #1 declare i32 @die_oom(i64 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 = { allocsize(0,1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0,1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppty8z97v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mem_calloc(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @calloc(i64 noundef %6, i64 noundef %7) #3 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %2 %12 = load i64, ptr %4, align 8 %13 = call i32 @die_oom(i64 noundef %12) br label %14 14: ; preds = %11, %2 %15 = load ptr, ptr %5, align 8 ret ptr %15 } ; Function Attrs: allocsize(0,1) declare ptr @calloc(i64 noundef, i64 noundef) #1 declare i32 @die_oom(i64 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 = { allocsize(0,1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0,1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpepeitwb7.c' source_filename = "/tmp/tmpepeitwb7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"Error - no random function available !\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @sys_random() #0 { %1 = call i32 @DEBUG(i32 noundef 0, ptr noundef @.str) %2 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @DEBUG(i32 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/tmpepeitwb7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"Error - no random function available !\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @sys_random() #0 { %1 = call i32 @DEBUG(i32 noundef 0, ptr noundef @.str) %2 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @DEBUG(i32 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/tmpl21et_wa.c' source_filename = "/tmp/tmpl21et_wa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PutUnsignedInt(ptr noundef %0, i8 noundef signext %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i8 %1, ptr %6, align 1 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 %10 = load i32, ptr %7, align 4 %11 = add nsw i32 %10, -1 store i32 %11, ptr %7, align 4 %12 = load i32, ptr %8, align 4 %13 = udiv i32 %12, 10 %14 = icmp ugt i32 %13, 0 br i1 %14, label %15, label %26 15: ; preds = %4 %16 = load ptr, ptr %5, align 8 %17 = load i8, ptr %6, align 1 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %8, align 4 %20 = udiv i32 %19, 10 %21 = call i32 @PutUnsignedInt(ptr noundef %16, i8 noundef signext %17, i32 noundef %18, i32 noundef %20) store i32 %21, ptr %9, align 4 %22 = load i32, ptr %9, align 4 %23 = load ptr, ptr %5, align 8 %24 = sext i32 %22 to i64 %25 = getelementptr inbounds i8, ptr %23, i64 %24 store ptr %25, ptr %5, align 8 br label %42 26: ; preds = %4 br label %27 27: ; preds = %30, %26 %28 = load i32, ptr %7, align 4 %29 = icmp sgt i32 %28, 0 br i1 %29, label %30, label %41 30: ; preds = %27 %31 = load ptr, ptr %5, align 8 %32 = load i8, ptr %6, align 1 %33 = sext i8 %32 to i32 %34 = call i64 @PutChar(ptr noundef %31, i32 noundef %33) %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds i8, ptr %35, i32 1 store ptr %36, ptr %5, align 8 %37 = load i32, ptr %9, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %9, align 4 %39 = load i32, ptr %7, align 4 %40 = add nsw i32 %39, -1 store i32 %40, ptr %7, align 4 br label %27, !llvm.loop !6 41: ; preds = %27 br label %42 42: ; preds = %41, %15 %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %8, align 4 %45 = urem i32 %44, 10 %46 = add i32 %45, 48 %47 = call i64 @PutChar(ptr noundef %43, i32 noundef %46) %48 = load i32, ptr %9, align 4 %49 = sext i32 %48 to i64 %50 = add nsw i64 %49, %47 %51 = trunc i64 %50 to i32 store i32 %51, ptr %9, align 4 %52 = load i32, ptr %9, align 4 ret i32 %52 } declare i64 @PutChar(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/tmpl21et_wa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PutUnsignedInt(ptr noundef %0, i8 noundef signext %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i8 %1, ptr %6, align 1 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 %10 = load i32, ptr %7, align 4 %11 = add nsw i32 %10, -1 store i32 %11, ptr %7, align 4 %12 = load i32, ptr %8, align 4 %13 = udiv i32 %12, 10 %14 = icmp ugt i32 %13, 0 br i1 %14, label %15, label %26 15: ; preds = %4 %16 = load ptr, ptr %5, align 8 %17 = load i8, ptr %6, align 1 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %8, align 4 %20 = udiv i32 %19, 10 %21 = call i32 @PutUnsignedInt(ptr noundef %16, i8 noundef signext %17, i32 noundef %18, i32 noundef %20) store i32 %21, ptr %9, align 4 %22 = load i32, ptr %9, align 4 %23 = load ptr, ptr %5, align 8 %24 = sext i32 %22 to i64 %25 = getelementptr inbounds i8, ptr %23, i64 %24 store ptr %25, ptr %5, align 8 br label %43 26: ; preds = %4 %27 = load i32, ptr %7, align 4 %28 = icmp sgt i32 %27, 0 br i1 %28, label %.lr.ph, label %42 .lr.ph: ; preds = %26 br label %29 29: ; preds = %.lr.ph, %29 %30 = load ptr, ptr %5, align 8 %31 = load i8, ptr %6, align 1 %32 = sext i8 %31 to i32 %33 = call i64 @PutChar(ptr noundef %30, i32 noundef %32) %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds i8, ptr %34, i32 1 store ptr %35, ptr %5, align 8 %36 = load i32, ptr %9, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %9, align 4 %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 = icmp sgt i32 %40, 0 br i1 %41, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %42 42: ; preds = %._crit_edge, %26 br label %43 43: ; preds = %42, %15 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr %8, align 4 %46 = urem i32 %45, 10 %47 = add i32 %46, 48 %48 = call i64 @PutChar(ptr noundef %44, i32 noundef %47) %49 = load i32, ptr %9, align 4 %50 = sext i32 %49 to i64 %51 = add nsw i64 %50, %48 %52 = trunc i64 %51 to i32 store i32 %52, ptr %9, align 4 %53 = load i32, ptr %9, align 4 ret i32 %53 } declare i64 @PutChar(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/tmpdqocqsu7.c' source_filename = "/tmp/tmpdqocqsu7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 50, ptr %5, align 4 store i32 40, ptr %6, align 4 %14 = load i32, ptr %5, align 4 %15 = zext i32 %14 to i64 %16 = load i32, ptr %6, align 4 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %7, align 8 %19 = mul nuw i64 %15, %17 %20 = alloca [30 x i32], i64 %19, align 16 store i64 %15, ptr %8, align 8 store i64 %17, ptr %9, align 8 %21 = load i32, ptr %5, align 4 %22 = zext i32 %21 to i64 %23 = load i32, ptr %6, align 4 %24 = zext i32 %23 to i64 %25 = mul nuw i64 %22, %24 %26 = alloca [30 x i32], i64 %25, align 16 store i64 %22, ptr %10, align 8 store i64 %24, ptr %11, align 8 %27 = load i32, ptr %5, align 4 %28 = zext i32 %27 to i64 %29 = load i32, ptr %6, align 4 %30 = zext i32 %29 to i64 %31 = mul nuw i64 %28, %30 %32 = alloca [30 x i32], i64 %31, align 16 store i64 %28, ptr %12, align 8 store i64 %30, ptr %13, align 8 store i32 0, ptr %2, align 4 br label %33 33: ; preds = %84, %0 %34 = load i32, ptr %2, align 4 %35 = load i32, ptr %5, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %37, label %87 37: ; preds = %33 store i32 0, ptr %3, align 4 br label %38 38: ; preds = %80, %37 %39 = load i32, ptr %3, align 4 %40 = load i32, ptr %6, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %42, label %83 42: ; preds = %38 store i32 0, ptr %4, align 4 br label %43 43: ; preds = %76, %42 %44 = load i32, ptr %4, align 4 %45 = icmp slt i32 %44, 30 br i1 %45, label %46, label %79 46: ; preds = %43 %47 = load i32, ptr %2, align 4 %48 = load i32, ptr %3, align 4 %49 = mul nsw i32 %47, %48 %50 = load i32, ptr %4, align 4 %51 = add nsw i32 %49, %50 %52 = load i32, ptr %2, align 4 %53 = sext i32 %52 to i64 %54 = mul nsw i64 %53, %17 %55 = getelementptr inbounds [30 x i32], ptr %20, i64 %54 %56 = load i32, ptr %3, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [30 x i32], ptr %55, i64 %57 %59 = load i32, ptr %4, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [30 x i32], ptr %58, i64 0, i64 %60 store i32 %51, ptr %61, align 4 %62 = load i32, ptr %4, align 4 %63 = sdiv i32 %62, 4 %64 = sub nsw i32 0, %63 %65 = add nsw i32 %64, 6 %66 = load i32, ptr %2, align 4 %67 = sext i32 %66 to i64 %68 = mul nsw i64 %67, %24 %69 = getelementptr inbounds [30 x i32], ptr %26, i64 %68 %70 = load i32, ptr %3, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [30 x i32], ptr %69, i64 %71 %73 = load i32, ptr %4, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [30 x i32], ptr %72, i64 0, i64 %74 store i32 %65, ptr %75, align 4 br label %76 76: ; preds = %46 %77 = load i32, ptr %4, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %4, align 4 br label %43, !llvm.loop !6 79: ; preds = %43 br label %80 80: ; preds = %79 %81 = load i32, ptr %3, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %3, align 4 br label %38, !llvm.loop !8 83: ; preds = %38 br label %84 84: ; preds = %83 %85 = load i32, ptr %2, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %2, align 4 br label %33, !llvm.loop !9 87: ; preds = %33 store i32 0, ptr %2, align 4 br label %88 88: ; preds = %143, %87 %89 = load i32, ptr %2, align 4 %90 = load i32, ptr %5, align 4 %91 = icmp slt i32 %89, %90 br i1 %91, label %92, label %146 92: ; preds = %88 store i32 0, ptr %3, align 4 br label %93 93: ; preds = %139, %92 %94 = load i32, ptr %3, align 4 %95 = load i32, ptr %6, align 4 %96 = icmp slt i32 %94, %95 br i1 %96, label %97, label %142 97: ; preds = %93 store i32 0, ptr %4, align 4 br label %98 98: ; preds = %135, %97 %99 = load i32, ptr %4, align 4 %100 = icmp slt i32 %99, 30 br i1 %100, label %101, label %138 101: ; preds = %98 %102 = load i32, ptr %2, align 4 %103 = sext i32 %102 to i64 %104 = mul nsw i64 %103, %17 %105 = getelementptr inbounds [30 x i32], ptr %20, i64 %104 %106 = load i32, ptr %3, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds [30 x i32], ptr %105, i64 %107 %109 = load i32, ptr %4, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds [30 x i32], ptr %108, i64 0, i64 %110 %112 = load i32, ptr %111, align 4 %113 = load i32, ptr %2, align 4 %114 = sext i32 %113 to i64 %115 = mul nsw i64 %114, %24 %116 = getelementptr inbounds [30 x i32], ptr %26, i64 %115 %117 = load i32, ptr %3, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds [30 x i32], ptr %116, i64 %118 %120 = load i32, ptr %4, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds [30 x i32], ptr %119, i64 0, i64 %121 %123 = load i32, ptr %122, align 4 %124 = add nsw i32 %112, %123 %125 = load i32, ptr %2, align 4 %126 = sext i32 %125 to i64 %127 = mul nsw i64 %126, %30 %128 = getelementptr inbounds [30 x i32], ptr %32, i64 %127 %129 = load i32, ptr %3, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds [30 x i32], ptr %128, i64 %130 %132 = load i32, ptr %4, align 4 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds [30 x i32], ptr %131, i64 0, i64 %133 store i32 %124, ptr %134, align 4 br label %135 135: ; preds = %101 %136 = load i32, ptr %4, align 4 %137 = add nsw i32 %136, 1 store i32 %137, ptr %4, align 4 br label %98, !llvm.loop !10 138: ; preds = %98 br label %139 139: ; preds = %138 %140 = load i32, ptr %3, align 4 %141 = add nsw i32 %140, 1 store i32 %141, ptr %3, align 4 br label %93, !llvm.loop !11 142: ; preds = %93 br label %143 143: ; preds = %142 %144 = load i32, ptr %2, align 4 %145 = add nsw i32 %144, 1 store i32 %145, ptr %2, align 4 br label %88, !llvm.loop !12 146: ; preds = %88 %147 = load i32, ptr @stdout, align 4 %148 = call i32 @fflush(i32 noundef %147) store i32 0, ptr %1, align 4 %149 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %149) %150 = load i32, ptr %1, align 4 ret i32 %150 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @fflush(i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdqocqsu7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 50, ptr %5, align 4 store i32 40, ptr %6, align 4 %14 = load i32, ptr %5, align 4 %15 = zext i32 %14 to i64 %16 = load i32, ptr %6, align 4 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %7, align 8 %19 = mul nuw i64 %15, %17 %20 = alloca [30 x i32], i64 %19, align 16 store i64 %15, ptr %8, align 8 store i64 %17, ptr %9, align 8 %21 = load i32, ptr %5, align 4 %22 = zext i32 %21 to i64 %23 = load i32, ptr %6, align 4 %24 = zext i32 %23 to i64 %25 = mul nuw i64 %22, %24 %26 = alloca [30 x i32], i64 %25, align 16 store i64 %22, ptr %10, align 8 store i64 %24, ptr %11, align 8 %27 = load i32, ptr %5, align 4 %28 = zext i32 %27 to i64 %29 = load i32, ptr %6, align 4 %30 = zext i32 %29 to i64 %31 = mul nuw i64 %28, %30 %32 = alloca [30 x i32], i64 %31, align 16 store i64 %28, ptr %12, align 8 store i64 %30, ptr %13, align 8 store i32 0, ptr %2, align 4 %33 = load i32, ptr %2, align 4 %34 = load i32, ptr %5, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %.lr.ph5, label %92 .lr.ph5: ; preds = %0 br label %36 36: ; preds = %.lr.ph5, %86 store i32 0, ptr %3, align 4 %37 = load i32, ptr %3, align 4 %38 = load i32, ptr %6, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %.lr.ph2, label %85 .lr.ph2: ; preds = %36 br label %40 40: ; preds = %.lr.ph2, %79 store i32 0, ptr %4, align 4 %41 = load i32, ptr %4, align 4 %42 = icmp slt i32 %41, 30 br i1 %42, label %.lr.ph, label %78 .lr.ph: ; preds = %40 br label %43 43: ; preds = %.lr.ph, %73 %44 = load i32, ptr %2, align 4 %45 = load i32, ptr %3, align 4 %46 = mul nsw i32 %44, %45 %47 = load i32, ptr %4, align 4 %48 = add nsw i32 %46, %47 %49 = load i32, ptr %2, align 4 %50 = sext i32 %49 to i64 %51 = mul nsw i64 %50, %17 %52 = getelementptr inbounds [30 x i32], ptr %20, i64 %51 %53 = load i32, ptr %3, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [30 x i32], ptr %52, i64 %54 %56 = load i32, ptr %4, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [30 x i32], ptr %55, i64 0, i64 %57 store i32 %48, ptr %58, align 4 %59 = load i32, ptr %4, align 4 %60 = sdiv i32 %59, 4 %61 = sub nsw i32 0, %60 %62 = add nsw i32 %61, 6 %63 = load i32, ptr %2, align 4 %64 = sext i32 %63 to i64 %65 = mul nsw i64 %64, %24 %66 = getelementptr inbounds [30 x i32], ptr %26, i64 %65 %67 = load i32, ptr %3, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [30 x i32], ptr %66, i64 %68 %70 = load i32, ptr %4, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [30 x i32], ptr %69, i64 0, i64 %71 store i32 %62, ptr %72, align 4 br label %73 73: ; preds = %43 %74 = load i32, ptr %4, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %4, align 4 %76 = load i32, ptr %4, align 4 %77 = icmp slt i32 %76, 30 br i1 %77, label %43, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %73 br label %78 78: ; preds = %._crit_edge, %40 br label %79 79: ; preds = %78 %80 = load i32, ptr %3, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %3, align 4 %82 = load i32, ptr %3, align 4 %83 = load i32, ptr %6, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %40, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %79 br label %85 85: ; preds = %._crit_edge3, %36 br label %86 86: ; preds = %85 %87 = load i32, ptr %2, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %2, align 4 %89 = load i32, ptr %2, align 4 %90 = load i32, ptr %5, align 4 %91 = icmp slt i32 %89, %90 br i1 %91, label %36, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %86 br label %92 92: ; preds = %._crit_edge6, %0 store i32 0, ptr %2, align 4 %93 = load i32, ptr %2, align 4 %94 = load i32, ptr %5, align 4 %95 = icmp slt i32 %93, %94 br i1 %95, label %.lr.ph14, label %156 .lr.ph14: ; preds = %92 br label %96 96: ; preds = %.lr.ph14, %150 store i32 0, ptr %3, align 4 %97 = load i32, ptr %3, align 4 %98 = load i32, ptr %6, align 4 %99 = icmp slt i32 %97, %98 br i1 %99, label %.lr.ph11, label %149 .lr.ph11: ; preds = %96 br label %100 100: ; preds = %.lr.ph11, %143 store i32 0, ptr %4, align 4 %101 = load i32, ptr %4, align 4 %102 = icmp slt i32 %101, 30 br i1 %102, label %.lr.ph8, label %142 .lr.ph8: ; preds = %100 br label %103 103: ; preds = %.lr.ph8, %137 %104 = load i32, ptr %2, align 4 %105 = sext i32 %104 to i64 %106 = mul nsw i64 %105, %17 %107 = getelementptr inbounds [30 x i32], ptr %20, i64 %106 %108 = load i32, ptr %3, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds [30 x i32], ptr %107, i64 %109 %111 = load i32, ptr %4, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds [30 x i32], ptr %110, i64 0, i64 %112 %114 = load i32, ptr %113, align 4 %115 = load i32, ptr %2, align 4 %116 = sext i32 %115 to i64 %117 = mul nsw i64 %116, %24 %118 = getelementptr inbounds [30 x i32], ptr %26, i64 %117 %119 = load i32, ptr %3, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds [30 x i32], ptr %118, i64 %120 %122 = load i32, ptr %4, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds [30 x i32], ptr %121, i64 0, i64 %123 %125 = load i32, ptr %124, align 4 %126 = add nsw i32 %114, %125 %127 = load i32, ptr %2, align 4 %128 = sext i32 %127 to i64 %129 = mul nsw i64 %128, %30 %130 = getelementptr inbounds [30 x i32], ptr %32, i64 %129 %131 = load i32, ptr %3, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds [30 x i32], ptr %130, i64 %132 %134 = load i32, ptr %4, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds [30 x i32], ptr %133, i64 0, i64 %135 store i32 %126, ptr %136, align 4 br label %137 137: ; preds = %103 %138 = load i32, ptr %4, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %4, align 4 %140 = load i32, ptr %4, align 4 %141 = icmp slt i32 %140, 30 br i1 %141, label %103, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %137 br label %142 142: ; preds = %._crit_edge9, %100 br label %143 143: ; preds = %142 %144 = load i32, ptr %3, align 4 %145 = add nsw i32 %144, 1 store i32 %145, ptr %3, align 4 %146 = load i32, ptr %3, align 4 %147 = load i32, ptr %6, align 4 %148 = icmp slt i32 %146, %147 br i1 %148, label %100, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %143 br label %149 149: ; preds = %._crit_edge12, %96 br label %150 150: ; preds = %149 %151 = load i32, ptr %2, align 4 %152 = add nsw i32 %151, 1 store i32 %152, ptr %2, align 4 %153 = load i32, ptr %2, align 4 %154 = load i32, ptr %5, align 4 %155 = icmp slt i32 %153, %154 br i1 %155, label %96, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %150 br label %156 156: ; preds = %._crit_edge15, %92 %157 = load i32, ptr @stdout, align 4 %158 = call i32 @fflush(i32 noundef %157) store i32 0, ptr %1, align 4 %159 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %159) %160 = load i32, ptr %1, align 4 ret i32 %160 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @fflush(i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmpo716ftvv.c' source_filename = "/tmp/tmpo716ftvv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @cvtfloat() %3 = call i32 (...) @cvtdouble() %4 = sub nsw i32 %2, %3 ret i32 %4 } declare i32 @cvtfloat(...) #1 declare i32 @cvtdouble(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo716ftvv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @cvtfloat() %3 = call i32 (...) @cvtdouble() %4 = sub nsw i32 %2, %3 ret i32 %4 } declare i32 @cvtfloat(...) #1 declare i32 @cvtdouble(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp26dqce19.c' source_filename = "/tmp/tmp26dqce19.c" target datalayout = "e-m:e-p270: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/tmp26dqce19.c" target datalayout = "e-m:e-p270: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/tmp0s7vo3cq.c' source_filename = "/tmp/tmp0s7vo3cq.c" target datalayout = "e-m:e-p270: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/tmp0s7vo3cq.c" target datalayout = "e-m:e-p270: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/tmpf32ucjs8.c' source_filename = "/tmp/tmpf32ucjs8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CL_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @clReleaseKernels(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %14, %1 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 1 br i1 %6, label %7, label %17 7: ; preds = %4 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i32, ptr %8, i64 %10 %12 = load i32, ptr %11, align 4 %13 = call i32 @clReleaseKernel(i32 noundef %12) br label %14 14: ; preds = %7 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 br label %4, !llvm.loop !6 17: ; preds = %4 %18 = load i32, ptr @CL_SUCCESS, align 4 ret i32 %18 } declare i32 @clReleaseKernel(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/tmpf32ucjs8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CL_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @clReleaseKernels(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 1 br i1 %5, label %.lr.ph, label %18 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %13 %7 = load ptr, ptr %2, align 8 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i32, ptr %7, i64 %9 %11 = load i32, ptr %10, align 4 %12 = call i32 @clReleaseKernel(i32 noundef %11) br label %13 13: ; preds = %6 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %16, 1 br i1 %17, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %18 18: ; preds = %._crit_edge, %1 %19 = load i32, ptr @CL_SUCCESS, align 4 ret i32 %19 } declare i32 @clReleaseKernel(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/tmpiahxnpb3.c' source_filename = "/tmp/tmpiahxnpb3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i64 42, ptr %3, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %8 8: ; preds = %25, %1 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %28 12: ; preds = %8 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %5, 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 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 %21 = mul nsw i32 %18, %20 %22 = sext i32 %21 to i64 %23 = load i64, ptr %3, align 8 %24 = add nsw i64 %23, %22 store i64 %24, ptr %3, align 8 br label %25 25: ; preds = %12 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 br label %8, !llvm.loop !6 28: ; preds = %8 %29 = load i64, ptr %3, align 8 ret i64 %29 } 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/tmpiahxnpb3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i64 42, ptr %3, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %4, align 4 store i32 0, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %30 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %24 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %5, 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 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 %20 = mul nsw i32 %17, %19 %21 = sext i32 %20 to i64 %22 = load i64, ptr %3, align 8 %23 = add nsw i64 %22, %21 store i64 %23, ptr %3, align 8 br label %24 24: ; preds = %11 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %30 30: ; preds = %._crit_edge, %1 %31 = load i64, ptr %3, align 8 ret i64 %31 } 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/tmpj9ekka16.c' source_filename = "/tmp/tmpj9ekka16.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rcomment(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %4, 47 br i1 %5, label %6, label %25 6: ; preds = %1 %7 = call i32 (...) @getchar() store i32 %7, ptr %3, align 4 %8 = icmp eq i32 %7, 42 br i1 %8, label %9, label %11 9: ; preds = %6 %10 = call i32 (...) @in_comment() br label %24 11: ; preds = %6 %12 = load i32, ptr %3, align 4 %13 = icmp eq i32 %12, 47 br i1 %13, label %14, label %18 14: ; preds = %11 %15 = load i32, ptr %2, align 4 %16 = call i32 @putchar(i32 noundef %15) %17 = load i32, ptr %3, align 4 call void @rcomment(i32 noundef %17) br label %23 18: ; preds = %11 %19 = load i32, ptr %2, align 4 %20 = call i32 @putchar(i32 noundef %19) %21 = load i32, ptr %3, align 4 %22 = call i32 @putchar(i32 noundef %21) br label %23 23: ; preds = %18, %14 br label %24 24: ; preds = %23, %9 br label %38 25: ; preds = %1 %26 = load i32, ptr %2, align 4 %27 = icmp eq i32 %26, 39 br i1 %27, label %31, label %28 28: ; preds = %25 %29 = load i32, ptr %2, align 4 %30 = icmp eq i32 %29, 34 br i1 %30, label %31, label %34 31: ; preds = %28, %25 %32 = load i32, ptr %2, align 4 %33 = call i32 @echo_quote(i32 noundef %32) br label %37 34: ; preds = %28 %35 = load i32, ptr %2, align 4 %36 = call i32 @putchar(i32 noundef %35) br label %37 37: ; preds = %34, %31 br label %38 38: ; preds = %37, %24 ret void } declare i32 @getchar(...) #1 declare i32 @in_comment(...) #1 declare i32 @putchar(i32 noundef) #1 declare i32 @echo_quote(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/tmpj9ekka16.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rcomment(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %4, 47 br i1 %5, label %6, label %25 6: ; preds = %1 %7 = call i32 (...) @getchar() store i32 %7, ptr %3, align 4 %8 = icmp eq i32 %7, 42 br i1 %8, label %9, label %11 9: ; preds = %6 %10 = call i32 (...) @in_comment() br label %24 11: ; preds = %6 %12 = load i32, ptr %3, align 4 %13 = icmp eq i32 %12, 47 br i1 %13, label %14, label %18 14: ; preds = %11 %15 = load i32, ptr %2, align 4 %16 = call i32 @putchar(i32 noundef %15) %17 = load i32, ptr %3, align 4 call void @rcomment(i32 noundef %17) br label %23 18: ; preds = %11 %19 = load i32, ptr %2, align 4 %20 = call i32 @putchar(i32 noundef %19) %21 = load i32, ptr %3, align 4 %22 = call i32 @putchar(i32 noundef %21) br label %23 23: ; preds = %18, %14 br label %24 24: ; preds = %23, %9 br label %38 25: ; preds = %1 %26 = load i32, ptr %2, align 4 %27 = icmp eq i32 %26, 39 br i1 %27, label %31, label %28 28: ; preds = %25 %29 = load i32, ptr %2, align 4 %30 = icmp eq i32 %29, 34 br i1 %30, label %31, label %34 31: ; preds = %28, %25 %32 = load i32, ptr %2, align 4 %33 = call i32 @echo_quote(i32 noundef %32) br label %37 34: ; preds = %28 %35 = load i32, ptr %2, align 4 %36 = call i32 @putchar(i32 noundef %35) br label %37 37: ; preds = %34, %31 br label %38 38: ; preds = %37, %24 ret void } declare i32 @getchar(...) #1 declare i32 @in_comment(...) #1 declare i32 @putchar(i32 noundef) #1 declare i32 @echo_quote(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/tmpea405j7r.c' source_filename = "/tmp/tmpea405j7r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32, i32 } @S_IFMT = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"%s-mknod%07o\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"%s: ERROR mknod %s: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [22 x i8] c"%s: ERROR stat %s: %s\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"%s: ERROR mode %s: %o != %o\00", align 1 @.str.4 = private unnamed_addr constant [34 x i8] c"%s: ERROR rdev %s: %llu != 0x1234\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"%s: ERROR unlink %s: %s\00", align 1 @.str.6 = private unnamed_addr constant [23 x i8] c"%s: ERROR: %s created\0A\00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"%s-creat%07o\00", align 1 @O_CREAT = dso_local global i32 0, align 4 @O_RDONLY = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [24 x i8] c"%s: ERROR creat %s: %s\0A\00", align 1 @.str.9 = private unnamed_addr constant [25 x i8] c"%s: ERROR unlink %s: %s\0A\00", align 1 @.str.10 = private unnamed_addr constant [13 x i8] c"%s-mkdir%06o\00", align 1 @.str.11 = private unnamed_addr constant [24 x i8] c"%s: ERROR mkdir %s: %s\0A\00", align 1 @S_IFDIR = dso_local global i32 0, align 4 @.str.12 = private unnamed_addr constant [24 x i8] c"%s: ERROR rmdir %s: %s\0A\00", align 1 @.str.13 = private unnamed_addr constant [13 x i8] c"%s: SUCCESS\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 [4096 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca %struct.stat, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca %struct.stat, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca %struct.stat, align 4 %16 = 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 %17 = load i32, ptr %4, align 4 %18 = icmp ne i32 %17, 2 br i1 %18, label %19, label %24 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 0 %22 = load ptr, ptr %21, align 8 %23 = call i32 @usage(ptr noundef %22) br label %24 24: ; preds = %19, %2 %25 = call i32 @umask(i32 noundef 0) store i32 0, ptr %7, align 4 br label %26 26: ; preds = %149, %24 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr @S_IFMT, align 4 %29 = icmp sle i32 %27, %28 br i1 %29, label %30, label %152 30: ; preds = %26 %31 = load i32, ptr %7, align 4 %32 = or i32 %31, 420 store i32 %32, ptr %9, align 4 %33 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 1 %36 = load ptr, ptr %35, align 8 %37 = load i32, ptr %9, align 4 %38 = call i32 @sprintf(ptr noundef %33, ptr noundef @.str, ptr noundef %36, i32 noundef %37) %39 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %40 = load i32, ptr %9, align 4 %41 = call i32 @mknod(ptr noundef %39, i32 noundef %40, i32 noundef 4660) store i32 %41, ptr %10, align 4 %42 = load i32, ptr %7, align 4 switch i32 %42, label %136 [ i32 0, label %43 i32 129, label %46 i32 131, label %46 i32 132, label %46 i32 128, label %54 i32 130, label %54 ] 43: ; preds = %30 %44 = load i32, ptr %9, align 4 %45 = or i32 %44, 129 store i32 %45, ptr %9, align 4 br label %46 46: ; preds = %30, %30, %30, %43 %47 = load i32, ptr %10, align 4 %48 = icmp slt i32 %47, 0 br i1 %48, label %49, label %53 49: ; preds = %46 %50 = call i32 (...) @getuid() %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %53 52: ; preds = %49 br label %149 53: ; preds = %49, %46 br label %54 54: ; preds = %30, %30, %53 %55 = load i32, ptr %10, align 4 %56 = icmp slt i32 %55, 0 br i1 %56, label %57, label %67 57: ; preds = %54 %58 = load i32, ptr @stderr, align 4 %59 = load ptr, ptr %5, align 8 %60 = getelementptr inbounds ptr, ptr %59, i64 0 %61 = load ptr, ptr %60, align 8 %62 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %63 = load i32, ptr @errno, align 4 %64 = call ptr @strerror(i32 noundef %63) %65 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %58, ptr noundef @.str.1, ptr noundef %61, ptr noundef %62, ptr noundef %64) %66 = call i32 @exit(i32 noundef 10) #3 unreachable 67: ; preds = %54 %68 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %69 = call i32 @stat(ptr noundef %68, ptr noundef %8) store i32 %69, ptr %10, align 4 %70 = load i32, ptr %10, align 4 %71 = icmp slt i32 %70, 0 br i1 %71, label %72, label %82 72: ; preds = %67 %73 = load i32, ptr @stderr, align 4 %74 = load ptr, ptr %5, align 8 %75 = getelementptr inbounds ptr, ptr %74, i64 0 %76 = load ptr, ptr %75, align 8 %77 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %78 = load i32, ptr @errno, align 4 %79 = call ptr @strerror(i32 noundef %78) %80 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %73, ptr noundef @.str.2, ptr noundef %76, ptr noundef %77, ptr noundef %79) %81 = call i32 @exit(i32 noundef 11) #3 unreachable 82: ; preds = %67 %83 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0 %84 = load i32, ptr %83, align 4 %85 = load i32, ptr %9, align 4 %86 = icmp ne i32 %84, %85 br i1 %86, label %87, label %98 87: ; preds = %82 %88 = load i32, ptr @stderr, align 4 %89 = load ptr, ptr %5, align 8 %90 = getelementptr inbounds ptr, ptr %89, i64 0 %91 = load ptr, ptr %90, align 8 %92 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %93 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0 %94 = load i32, ptr %93, align 4 %95 = load i32, ptr %9, align 4 %96 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %88, ptr noundef @.str.3, ptr noundef %91, ptr noundef %92, i32 noundef %94, i32 noundef %95) %97 = call i32 @exit(i32 noundef 12) #3 unreachable 98: ; preds = %82 %99 = load i32, ptr %7, align 4 %100 = icmp eq i32 %99, 131 br i1 %100, label %104, label %101 101: ; preds = %98 %102 = load i32, ptr %7, align 4 %103 = icmp eq i32 %102, 132 br i1 %103, label %104, label %120 104: ; preds = %101, %98 %105 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 1 %106 = load i32, ptr %105, align 4 %107 = icmp ne i32 %106, 4660 br i1 %107, label %108, label %119 108: ; preds = %104 %109 = load i32, ptr @stderr, align 4 %110 = load ptr, ptr %5, align 8 %111 = getelementptr inbounds ptr, ptr %110, i64 0 %112 = load ptr, ptr %111, align 8 %113 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %114 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 1 %115 = load i32, ptr %114, align 4 %116 = sext i32 %115 to i64 %117 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %109, ptr noundef @.str.4, ptr noundef %112, ptr noundef %113, i64 noundef %116) %118 = call i32 @exit(i32 noundef 13) #3 unreachable 119: ; preds = %104 br label %120 120: ; preds = %119, %101 %121 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %122 = call i32 @unlink(ptr noundef %121) store i32 %122, ptr %10, align 4 %123 = load i32, ptr %10, align 4 %124 = icmp slt i32 %123, 0 br i1 %124, label %125, label %135 125: ; preds = %120 %126 = load i32, ptr @stderr, align 4 %127 = load ptr, ptr %5, align 8 %128 = getelementptr inbounds ptr, ptr %127, i64 0 %129 = load ptr, ptr %128, align 8 %130 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %131 = load i32, ptr @errno, align 4 %132 = call ptr @strerror(i32 noundef %131) %133 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %126, ptr noundef @.str.5, ptr noundef %129, ptr noundef %130, ptr noundef %132) %134 = call i32 @exit(i32 noundef 14) #3 unreachable 135: ; preds = %120 br label %148 136: ; preds = %30 %137 = load i32, ptr %10, align 4 %138 = icmp eq i32 %137, 0 br i1 %138, label %139, label %147 139: ; preds = %136 %140 = load i32, ptr @stderr, align 4 %141 = load ptr, ptr %5, align 8 %142 = getelementptr inbounds ptr, ptr %141, i64 0 %143 = load ptr, ptr %142, align 8 %144 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %145 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %140, ptr noundef @.str.6, ptr noundef %143, ptr noundef %144) %146 = call i32 @exit(i32 noundef 15) #3 unreachable 147: ; preds = %136 br label %148 148: ; preds = %147, %135 br label %149 149: ; preds = %148, %52 %150 = load i32, ptr %7, align 4 %151 = add nsw i32 %150, 4096 store i32 %151, ptr %7, align 4 br label %26, !llvm.loop !6 152: ; preds = %26 store i32 0, ptr %7, align 4 br label %153 153: ; preds = %236, %152 %154 = load i32, ptr %7, align 4 %155 = load i32, ptr @S_IFMT, align 4 %156 = icmp sle i32 %154, %155 br i1 %156, label %157, label %239 157: ; preds = %153 %158 = load i32, ptr %7, align 4 %159 = or i32 %158, 420 store i32 %159, ptr %12, align 4 %160 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %161 = load ptr, ptr %5, align 8 %162 = getelementptr inbounds ptr, ptr %161, i64 1 %163 = load ptr, ptr %162, align 8 %164 = load i32, ptr %12, align 4 %165 = call i32 @sprintf(ptr noundef %160, ptr noundef @.str.7, ptr noundef %163, i32 noundef %164) %166 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %167 = load i32, ptr @O_CREAT, align 4 %168 = load i32, ptr @O_RDONLY, align 4 %169 = or i32 %167, %168 %170 = load i32, ptr %12, align 4 %171 = call i32 @open(ptr noundef %166, i32 noundef %169, i32 noundef %170) store i32 %171, ptr %13, align 4 %172 = load i32, ptr %13, align 4 %173 = icmp slt i32 %172, 0 br i1 %173, label %174, label %184 174: ; preds = %157 %175 = load i32, ptr @stderr, align 4 %176 = load ptr, ptr %5, align 8 %177 = getelementptr inbounds ptr, ptr %176, i64 0 %178 = load ptr, ptr %177, align 8 %179 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %180 = load i32, ptr @errno, align 4 %181 = call ptr @strerror(i32 noundef %180) %182 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %175, ptr noundef @.str.8, ptr noundef %178, ptr noundef %179, ptr noundef %181) %183 = call i32 @exit(i32 noundef 21) #3 unreachable 184: ; preds = %157 %185 = load i32, ptr %13, align 4 %186 = call i32 @close(i32 noundef %185) %187 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %188 = call i32 @stat(ptr noundef %187, ptr noundef %11) store i32 %188, ptr %14, align 4 %189 = load i32, ptr %14, align 4 %190 = icmp slt i32 %189, 0 br i1 %190, label %191, label %201 191: ; preds = %184 %192 = load i32, ptr @stderr, align 4 %193 = load ptr, ptr %5, align 8 %194 = getelementptr inbounds ptr, ptr %193, i64 0 %195 = load ptr, ptr %194, align 8 %196 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %197 = load i32, ptr @errno, align 4 %198 = call ptr @strerror(i32 noundef %197) %199 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %192, ptr noundef @.str.2, ptr noundef %195, ptr noundef %196, ptr noundef %198) %200 = call i32 @exit(i32 noundef 11) #3 unreachable 201: ; preds = %184 %202 = getelementptr inbounds %struct.stat, ptr %11, i32 0, i32 0 %203 = load i32, ptr %202, align 4 %204 = load i32, ptr @S_IFMT, align 4 %205 = and i32 %203, %204 %206 = call i32 @S_ISREG(i32 noundef %205) %207 = icmp ne i32 %206, 0 br i1 %207, label %220, label %208 208: ; preds = %201 %209 = load i32, ptr @stderr, align 4 %210 = load ptr, ptr %5, align 8 %211 = getelementptr inbounds ptr, ptr %210, i64 0 %212 = load ptr, ptr %211, align 8 %213 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %214 = getelementptr inbounds %struct.stat, ptr %11, i32 0, i32 0 %215 = load i32, ptr %214, align 4 %216 = load i32, ptr @S_IFMT, align 4 %217 = and i32 %215, %216 %218 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %209, ptr noundef @.str.3, ptr noundef %212, ptr noundef %213, i32 noundef %217, i32 noundef 129) %219 = call i32 @exit(i32 noundef 12) #3 unreachable 220: ; preds = %201 %221 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %222 = call i32 @unlink(ptr noundef %221) store i32 %222, ptr %14, align 4 %223 = load i32, ptr %14, align 4 %224 = icmp slt i32 %223, 0 br i1 %224, label %225, label %235 225: ; preds = %220 %226 = load i32, ptr @stderr, align 4 %227 = load ptr, ptr %5, align 8 %228 = getelementptr inbounds ptr, ptr %227, i64 0 %229 = load ptr, ptr %228, align 8 %230 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %231 = load i32, ptr @errno, align 4 %232 = call ptr @strerror(i32 noundef %231) %233 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %226, ptr noundef @.str.9, ptr noundef %229, ptr noundef %230, ptr noundef %232) %234 = call i32 @exit(i32 noundef 20) #3 unreachable 235: ; preds = %220 br label %236 236: ; preds = %235 %237 = load i32, ptr %7, align 4 %238 = add nsw i32 %237, 4096 store i32 %238, ptr %7, align 4 br label %153, !llvm.loop !8 239: ; preds = %153 store i32 0, ptr %7, align 4 br label %240 240: ; preds = %317, %239 %241 = load i32, ptr %7, align 4 %242 = load i32, ptr @S_IFMT, align 4 %243 = icmp sle i32 %241, %242 br i1 %243, label %244, label %320 244: ; preds = %240 %245 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %246 = load ptr, ptr %5, align 8 %247 = getelementptr inbounds ptr, ptr %246, i64 1 %248 = load ptr, ptr %247, align 8 %249 = load i32, ptr %7, align 4 %250 = or i32 %249, 420 %251 = call i32 @sprintf(ptr noundef %245, ptr noundef @.str.10, ptr noundef %248, i32 noundef %250) %252 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %253 = load i32, ptr %7, align 4 %254 = or i32 %253, 436 %255 = call i32 @mkdir(ptr noundef %252, i32 noundef %254) store i32 %255, ptr %16, align 4 %256 = load i32, ptr %16, align 4 %257 = icmp slt i32 %256, 0 br i1 %257, label %258, label %268 258: ; preds = %244 %259 = load i32, ptr @stderr, align 4 %260 = load ptr, ptr %5, align 8 %261 = getelementptr inbounds ptr, ptr %260, i64 0 %262 = load ptr, ptr %261, align 8 %263 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %264 = load i32, ptr @errno, align 4 %265 = call ptr @strerror(i32 noundef %264) %266 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %259, ptr noundef @.str.11, ptr noundef %262, ptr noundef %263, ptr noundef %265) %267 = call i32 @exit(i32 noundef 30) #3 unreachable 268: ; preds = %244 %269 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %270 = call i32 @stat(ptr noundef %269, ptr noundef %15) store i32 %270, ptr %16, align 4 %271 = load i32, ptr %16, align 4 %272 = icmp slt i32 %271, 0 br i1 %272, label %273, label %283 273: ; preds = %268 %274 = load i32, ptr @stderr, align 4 %275 = load ptr, ptr %5, align 8 %276 = getelementptr inbounds ptr, ptr %275, i64 0 %277 = load ptr, ptr %276, align 8 %278 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %279 = load i32, ptr @errno, align 4 %280 = call ptr @strerror(i32 noundef %279) %281 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %274, ptr noundef @.str.2, ptr noundef %277, ptr noundef %278, ptr noundef %280) %282 = call i32 @exit(i32 noundef 11) #3 unreachable 283: ; preds = %268 %284 = getelementptr inbounds %struct.stat, ptr %15, i32 0, i32 0 %285 = load i32, ptr %284, align 4 %286 = call i32 @S_ISDIR(i32 noundef %285) %287 = icmp ne i32 %286, 0 br i1 %287, label %301, label %288 288: ; preds = %283 %289 = load i32, ptr @stderr, align 4 %290 = load ptr, ptr %5, align 8 %291 = getelementptr inbounds ptr, ptr %290, i64 0 %292 = load ptr, ptr %291, align 8 %293 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %294 = getelementptr inbounds %struct.stat, ptr %15, i32 0, i32 0 %295 = load i32, ptr %294, align 4 %296 = load i32, ptr @S_IFMT, align 4 %297 = and i32 %295, %296 %298 = load i32, ptr @S_IFDIR, align 4 %299 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %289, ptr noundef @.str.3, ptr noundef %292, ptr noundef %293, i32 noundef %297, i32 noundef %298) %300 = call i32 @exit(i32 noundef 12) #3 unreachable 301: ; preds = %283 %302 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %303 = call i32 @rmdir(ptr noundef %302) store i32 %303, ptr %16, align 4 %304 = load i32, ptr %16, align 4 %305 = icmp slt i32 %304, 0 br i1 %305, label %306, label %316 306: ; preds = %301 %307 = load i32, ptr @stderr, align 4 %308 = load ptr, ptr %5, align 8 %309 = getelementptr inbounds ptr, ptr %308, i64 0 %310 = load ptr, ptr %309, align 8 %311 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %312 = load i32, ptr @errno, align 4 %313 = call ptr @strerror(i32 noundef %312) %314 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %307, ptr noundef @.str.12, ptr noundef %310, ptr noundef %311, ptr noundef %313) %315 = call i32 @exit(i32 noundef 31) #3 unreachable 316: ; preds = %301 br label %317 317: ; preds = %316 %318 = load i32, ptr %7, align 4 %319 = add nsw i32 %318, 4096 store i32 %319, ptr %7, align 4 br label %240, !llvm.loop !9 320: ; preds = %240 %321 = load ptr, ptr %5, align 8 %322 = getelementptr inbounds ptr, ptr %321, i64 0 %323 = load ptr, ptr %322, align 8 %324 = call i32 @printf(ptr noundef @.str.13, ptr noundef %323) ret i32 0 } declare i32 @usage(ptr noundef) #1 declare i32 @umask(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @mknod(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getuid(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @unlink(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @S_ISREG(i32 noundef) #1 declare i32 @mkdir(ptr noundef, i32 noundef) #1 declare i32 @S_ISDIR(i32 noundef) #1 declare i32 @rmdir(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpea405j7r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32, i32 } @S_IFMT = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"%s-mknod%07o\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"%s: ERROR mknod %s: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [22 x i8] c"%s: ERROR stat %s: %s\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"%s: ERROR mode %s: %o != %o\00", align 1 @.str.4 = private unnamed_addr constant [34 x i8] c"%s: ERROR rdev %s: %llu != 0x1234\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"%s: ERROR unlink %s: %s\00", align 1 @.str.6 = private unnamed_addr constant [23 x i8] c"%s: ERROR: %s created\0A\00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"%s-creat%07o\00", align 1 @O_CREAT = dso_local global i32 0, align 4 @O_RDONLY = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [24 x i8] c"%s: ERROR creat %s: %s\0A\00", align 1 @.str.9 = private unnamed_addr constant [25 x i8] c"%s: ERROR unlink %s: %s\0A\00", align 1 @.str.10 = private unnamed_addr constant [13 x i8] c"%s-mkdir%06o\00", align 1 @.str.11 = private unnamed_addr constant [24 x i8] c"%s: ERROR mkdir %s: %s\0A\00", align 1 @S_IFDIR = dso_local global i32 0, align 4 @.str.12 = private unnamed_addr constant [24 x i8] c"%s: ERROR rmdir %s: %s\0A\00", align 1 @.str.13 = private unnamed_addr constant [13 x i8] c"%s: SUCCESS\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 [4096 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca %struct.stat, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca %struct.stat, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca %struct.stat, align 4 %16 = 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 %17 = load i32, ptr %4, align 4 %18 = icmp ne i32 %17, 2 br i1 %18, label %19, label %24 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 0 %22 = load ptr, ptr %21, align 8 %23 = call i32 @usage(ptr noundef %22) br label %24 24: ; preds = %19, %2 %25 = call i32 @umask(i32 noundef 0) store i32 0, ptr %7, align 4 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr @S_IFMT, align 4 %28 = icmp sle i32 %26, %27 br i1 %28, label %.lr.ph, label %154 .lr.ph: ; preds = %24 br label %29 29: ; preds = %.lr.ph, %148 %30 = load i32, ptr %7, align 4 %31 = or i32 %30, 420 store i32 %31, ptr %9, align 4 %32 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 1 %35 = load ptr, ptr %34, align 8 %36 = load i32, ptr %9, align 4 %37 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str, ptr noundef %35, i32 noundef %36) %38 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %39 = load i32, ptr %9, align 4 %40 = call i32 @mknod(ptr noundef %38, i32 noundef %39, i32 noundef 4660) store i32 %40, ptr %10, align 4 %41 = load i32, ptr %7, align 4 switch i32 %41, label %135 [ i32 0, label %42 i32 129, label %45 i32 131, label %45 i32 132, label %45 i32 128, label %53 i32 130, label %53 ] 42: ; preds = %29 %43 = load i32, ptr %9, align 4 %44 = or i32 %43, 129 store i32 %44, ptr %9, align 4 br label %45 45: ; preds = %42, %29, %29, %29 %46 = load i32, ptr %10, align 4 %47 = icmp slt i32 %46, 0 br i1 %47, label %48, label %52 48: ; preds = %45 %49 = call i32 (...) @getuid() %50 = icmp ne i32 %49, 0 br i1 %50, label %51, label %52 51: ; preds = %48 br label %148 52: ; preds = %48, %45 br label %53 53: ; preds = %52, %29, %29 %54 = load i32, ptr %10, align 4 %55 = icmp slt i32 %54, 0 br i1 %55, label %56, label %66 56: ; preds = %53 %57 = load i32, ptr @stderr, align 4 %58 = load ptr, ptr %5, align 8 %59 = getelementptr inbounds ptr, ptr %58, i64 0 %60 = load ptr, ptr %59, align 8 %61 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %62 = load i32, ptr @errno, align 4 %63 = call ptr @strerror(i32 noundef %62) %64 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %57, ptr noundef @.str.1, ptr noundef %60, ptr noundef %61, ptr noundef %63) %65 = call i32 @exit(i32 noundef 10) #3 unreachable 66: ; preds = %53 %67 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %68 = call i32 @stat(ptr noundef %67, ptr noundef %8) store i32 %68, ptr %10, align 4 %69 = load i32, ptr %10, align 4 %70 = icmp slt i32 %69, 0 br i1 %70, label %71, label %81 71: ; preds = %66 %72 = load i32, ptr @stderr, align 4 %73 = load ptr, ptr %5, align 8 %74 = getelementptr inbounds ptr, ptr %73, i64 0 %75 = load ptr, ptr %74, align 8 %76 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %77 = load i32, ptr @errno, align 4 %78 = call ptr @strerror(i32 noundef %77) %79 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %72, ptr noundef @.str.2, ptr noundef %75, ptr noundef %76, ptr noundef %78) %80 = call i32 @exit(i32 noundef 11) #3 unreachable 81: ; preds = %66 %82 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0 %83 = load i32, ptr %82, align 4 %84 = load i32, ptr %9, align 4 %85 = icmp ne i32 %83, %84 br i1 %85, label %86, label %97 86: ; preds = %81 %87 = load i32, ptr @stderr, align 4 %88 = load ptr, ptr %5, align 8 %89 = getelementptr inbounds ptr, ptr %88, i64 0 %90 = load ptr, ptr %89, align 8 %91 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %92 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0 %93 = load i32, ptr %92, align 4 %94 = load i32, ptr %9, align 4 %95 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %87, ptr noundef @.str.3, ptr noundef %90, ptr noundef %91, i32 noundef %93, i32 noundef %94) %96 = call i32 @exit(i32 noundef 12) #3 unreachable 97: ; preds = %81 %98 = load i32, ptr %7, align 4 %99 = icmp eq i32 %98, 131 br i1 %99, label %103, label %100 100: ; preds = %97 %101 = load i32, ptr %7, align 4 %102 = icmp eq i32 %101, 132 br i1 %102, label %103, label %119 103: ; preds = %100, %97 %104 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 1 %105 = load i32, ptr %104, align 4 %106 = icmp ne i32 %105, 4660 br i1 %106, label %107, label %118 107: ; preds = %103 %108 = load i32, ptr @stderr, align 4 %109 = load ptr, ptr %5, align 8 %110 = getelementptr inbounds ptr, ptr %109, i64 0 %111 = load ptr, ptr %110, align 8 %112 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %113 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 1 %114 = load i32, ptr %113, align 4 %115 = sext i32 %114 to i64 %116 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %108, ptr noundef @.str.4, ptr noundef %111, ptr noundef %112, i64 noundef %115) %117 = call i32 @exit(i32 noundef 13) #3 unreachable 118: ; preds = %103 br label %119 119: ; preds = %118, %100 %120 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %121 = call i32 @unlink(ptr noundef %120) store i32 %121, ptr %10, align 4 %122 = load i32, ptr %10, align 4 %123 = icmp slt i32 %122, 0 br i1 %123, label %124, label %134 124: ; preds = %119 %125 = load i32, ptr @stderr, align 4 %126 = load ptr, ptr %5, align 8 %127 = getelementptr inbounds ptr, ptr %126, i64 0 %128 = load ptr, ptr %127, align 8 %129 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %130 = load i32, ptr @errno, align 4 %131 = call ptr @strerror(i32 noundef %130) %132 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %125, ptr noundef @.str.5, ptr noundef %128, ptr noundef %129, ptr noundef %131) %133 = call i32 @exit(i32 noundef 14) #3 unreachable 134: ; preds = %119 br label %147 135: ; preds = %29 %136 = load i32, ptr %10, align 4 %137 = icmp eq i32 %136, 0 br i1 %137, label %138, label %146 138: ; preds = %135 %139 = load i32, ptr @stderr, align 4 %140 = load ptr, ptr %5, align 8 %141 = getelementptr inbounds ptr, ptr %140, i64 0 %142 = load ptr, ptr %141, align 8 %143 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %144 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %139, ptr noundef @.str.6, ptr noundef %142, ptr noundef %143) %145 = call i32 @exit(i32 noundef 15) #3 unreachable 146: ; preds = %135 br label %147 147: ; preds = %146, %134 br label %148 148: ; preds = %147, %51 %149 = load i32, ptr %7, align 4 %150 = add nsw i32 %149, 4096 store i32 %150, ptr %7, align 4 %151 = load i32, ptr %7, align 4 %152 = load i32, ptr @S_IFMT, align 4 %153 = icmp sle i32 %151, %152 br i1 %153, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %148 br label %154 154: ; preds = %._crit_edge, %24 store i32 0, ptr %7, align 4 %155 = load i32, ptr %7, align 4 %156 = load i32, ptr @S_IFMT, align 4 %157 = icmp sle i32 %155, %156 br i1 %157, label %.lr.ph2, label %243 .lr.ph2: ; preds = %154 br label %158 158: ; preds = %.lr.ph2, %237 %159 = load i32, ptr %7, align 4 %160 = or i32 %159, 420 store i32 %160, ptr %12, align 4 %161 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %162 = load ptr, ptr %5, align 8 %163 = getelementptr inbounds ptr, ptr %162, i64 1 %164 = load ptr, ptr %163, align 8 %165 = load i32, ptr %12, align 4 %166 = call i32 @sprintf(ptr noundef %161, ptr noundef @.str.7, ptr noundef %164, i32 noundef %165) %167 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %168 = load i32, ptr @O_CREAT, align 4 %169 = load i32, ptr @O_RDONLY, align 4 %170 = or i32 %168, %169 %171 = load i32, ptr %12, align 4 %172 = call i32 @open(ptr noundef %167, i32 noundef %170, i32 noundef %171) store i32 %172, ptr %13, align 4 %173 = load i32, ptr %13, align 4 %174 = icmp slt i32 %173, 0 br i1 %174, label %175, label %185 175: ; preds = %158 %176 = load i32, ptr @stderr, align 4 %177 = load ptr, ptr %5, align 8 %178 = getelementptr inbounds ptr, ptr %177, i64 0 %179 = load ptr, ptr %178, align 8 %180 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %181 = load i32, ptr @errno, align 4 %182 = call ptr @strerror(i32 noundef %181) %183 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %176, ptr noundef @.str.8, ptr noundef %179, ptr noundef %180, ptr noundef %182) %184 = call i32 @exit(i32 noundef 21) #3 unreachable 185: ; preds = %158 %186 = load i32, ptr %13, align 4 %187 = call i32 @close(i32 noundef %186) %188 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %189 = call i32 @stat(ptr noundef %188, ptr noundef %11) store i32 %189, ptr %14, align 4 %190 = load i32, ptr %14, align 4 %191 = icmp slt i32 %190, 0 br i1 %191, label %192, label %202 192: ; preds = %185 %193 = load i32, ptr @stderr, align 4 %194 = load ptr, ptr %5, align 8 %195 = getelementptr inbounds ptr, ptr %194, i64 0 %196 = load ptr, ptr %195, align 8 %197 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %198 = load i32, ptr @errno, align 4 %199 = call ptr @strerror(i32 noundef %198) %200 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %193, ptr noundef @.str.2, ptr noundef %196, ptr noundef %197, ptr noundef %199) %201 = call i32 @exit(i32 noundef 11) #3 unreachable 202: ; preds = %185 %203 = getelementptr inbounds %struct.stat, ptr %11, i32 0, i32 0 %204 = load i32, ptr %203, align 4 %205 = load i32, ptr @S_IFMT, align 4 %206 = and i32 %204, %205 %207 = call i32 @S_ISREG(i32 noundef %206) %208 = icmp ne i32 %207, 0 br i1 %208, label %221, label %209 209: ; preds = %202 %210 = load i32, ptr @stderr, align 4 %211 = load ptr, ptr %5, align 8 %212 = getelementptr inbounds ptr, ptr %211, i64 0 %213 = load ptr, ptr %212, align 8 %214 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %215 = getelementptr inbounds %struct.stat, ptr %11, i32 0, i32 0 %216 = load i32, ptr %215, align 4 %217 = load i32, ptr @S_IFMT, align 4 %218 = and i32 %216, %217 %219 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %210, ptr noundef @.str.3, ptr noundef %213, ptr noundef %214, i32 noundef %218, i32 noundef 129) %220 = call i32 @exit(i32 noundef 12) #3 unreachable 221: ; preds = %202 %222 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %223 = call i32 @unlink(ptr noundef %222) store i32 %223, ptr %14, align 4 %224 = load i32, ptr %14, align 4 %225 = icmp slt i32 %224, 0 br i1 %225, label %226, label %236 226: ; preds = %221 %227 = load i32, ptr @stderr, align 4 %228 = load ptr, ptr %5, align 8 %229 = getelementptr inbounds ptr, ptr %228, i64 0 %230 = load ptr, ptr %229, align 8 %231 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %232 = load i32, ptr @errno, align 4 %233 = call ptr @strerror(i32 noundef %232) %234 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %227, ptr noundef @.str.9, ptr noundef %230, ptr noundef %231, ptr noundef %233) %235 = call i32 @exit(i32 noundef 20) #3 unreachable 236: ; preds = %221 br label %237 237: ; preds = %236 %238 = load i32, ptr %7, align 4 %239 = add nsw i32 %238, 4096 store i32 %239, ptr %7, align 4 %240 = load i32, ptr %7, align 4 %241 = load i32, ptr @S_IFMT, align 4 %242 = icmp sle i32 %240, %241 br i1 %242, label %158, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %237 br label %243 243: ; preds = %._crit_edge3, %154 store i32 0, ptr %7, align 4 %244 = load i32, ptr %7, align 4 %245 = load i32, ptr @S_IFMT, align 4 %246 = icmp sle i32 %244, %245 br i1 %246, label %.lr.ph5, label %326 .lr.ph5: ; preds = %243 br label %247 247: ; preds = %.lr.ph5, %320 %248 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %249 = load ptr, ptr %5, align 8 %250 = getelementptr inbounds ptr, ptr %249, i64 1 %251 = load ptr, ptr %250, align 8 %252 = load i32, ptr %7, align 4 %253 = or i32 %252, 420 %254 = call i32 @sprintf(ptr noundef %248, ptr noundef @.str.10, ptr noundef %251, i32 noundef %253) %255 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %256 = load i32, ptr %7, align 4 %257 = or i32 %256, 436 %258 = call i32 @mkdir(ptr noundef %255, i32 noundef %257) store i32 %258, ptr %16, align 4 %259 = load i32, ptr %16, align 4 %260 = icmp slt i32 %259, 0 br i1 %260, label %261, label %271 261: ; preds = %247 %262 = load i32, ptr @stderr, align 4 %263 = load ptr, ptr %5, align 8 %264 = getelementptr inbounds ptr, ptr %263, i64 0 %265 = load ptr, ptr %264, align 8 %266 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %267 = load i32, ptr @errno, align 4 %268 = call ptr @strerror(i32 noundef %267) %269 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %262, ptr noundef @.str.11, ptr noundef %265, ptr noundef %266, ptr noundef %268) %270 = call i32 @exit(i32 noundef 30) #3 unreachable 271: ; preds = %247 %272 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %273 = call i32 @stat(ptr noundef %272, ptr noundef %15) store i32 %273, ptr %16, align 4 %274 = load i32, ptr %16, align 4 %275 = icmp slt i32 %274, 0 br i1 %275, label %276, label %286 276: ; preds = %271 %277 = load i32, ptr @stderr, align 4 %278 = load ptr, ptr %5, align 8 %279 = getelementptr inbounds ptr, ptr %278, i64 0 %280 = load ptr, ptr %279, align 8 %281 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %282 = load i32, ptr @errno, align 4 %283 = call ptr @strerror(i32 noundef %282) %284 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %277, ptr noundef @.str.2, ptr noundef %280, ptr noundef %281, ptr noundef %283) %285 = call i32 @exit(i32 noundef 11) #3 unreachable 286: ; preds = %271 %287 = getelementptr inbounds %struct.stat, ptr %15, i32 0, i32 0 %288 = load i32, ptr %287, align 4 %289 = call i32 @S_ISDIR(i32 noundef %288) %290 = icmp ne i32 %289, 0 br i1 %290, label %304, label %291 291: ; preds = %286 %292 = load i32, ptr @stderr, align 4 %293 = load ptr, ptr %5, align 8 %294 = getelementptr inbounds ptr, ptr %293, i64 0 %295 = load ptr, ptr %294, align 8 %296 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %297 = getelementptr inbounds %struct.stat, ptr %15, i32 0, i32 0 %298 = load i32, ptr %297, align 4 %299 = load i32, ptr @S_IFMT, align 4 %300 = and i32 %298, %299 %301 = load i32, ptr @S_IFDIR, align 4 %302 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %292, ptr noundef @.str.3, ptr noundef %295, ptr noundef %296, i32 noundef %300, i32 noundef %301) %303 = call i32 @exit(i32 noundef 12) #3 unreachable 304: ; preds = %286 %305 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %306 = call i32 @rmdir(ptr noundef %305) store i32 %306, ptr %16, align 4 %307 = load i32, ptr %16, align 4 %308 = icmp slt i32 %307, 0 br i1 %308, label %309, label %319 309: ; preds = %304 %310 = load i32, ptr @stderr, align 4 %311 = load ptr, ptr %5, align 8 %312 = getelementptr inbounds ptr, ptr %311, i64 0 %313 = load ptr, ptr %312, align 8 %314 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %315 = load i32, ptr @errno, align 4 %316 = call ptr @strerror(i32 noundef %315) %317 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %310, ptr noundef @.str.12, ptr noundef %313, ptr noundef %314, ptr noundef %316) %318 = call i32 @exit(i32 noundef 31) #3 unreachable 319: ; preds = %304 br label %320 320: ; preds = %319 %321 = load i32, ptr %7, align 4 %322 = add nsw i32 %321, 4096 store i32 %322, ptr %7, align 4 %323 = load i32, ptr %7, align 4 %324 = load i32, ptr @S_IFMT, align 4 %325 = icmp sle i32 %323, %324 br i1 %325, label %247, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %320 br label %326 326: ; preds = %._crit_edge6, %243 %327 = load ptr, ptr %5, align 8 %328 = getelementptr inbounds ptr, ptr %327, i64 0 %329 = load ptr, ptr %328, align 8 %330 = call i32 @printf(ptr noundef @.str.13, ptr noundef %329) ret i32 0 } declare i32 @usage(ptr noundef) #1 declare i32 @umask(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @mknod(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getuid(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @unlink(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @S_ISREG(i32 noundef) #1 declare i32 @mkdir(ptr noundef, i32 noundef) #1 declare i32 @S_ISDIR(i32 noundef) #1 declare i32 @rmdir(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpb9lsshcx.c' source_filename = "/tmp/tmpb9lsshcx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter text: \00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"Enter search string: \00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [80 x i8], align 16 %3 = alloca [80 x i8], align 16 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @getLine(ptr noundef %6, i32 noundef 80) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %9 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0 %10 = call i32 @getLine(ptr noundef %9, i32 noundef 80) %11 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %12 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0 %13 = call ptr @strstr(ptr noundef %11, ptr noundef %12) store ptr %13, ptr %4, align 8 br label %14 14: ; preds = %17, %0 %15 = load ptr, ptr %4, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %24 17: ; preds = %14 %18 = load ptr, ptr %4, align 8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %18) %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 1 %22 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0 %23 = call ptr @strstr(ptr noundef %21, ptr noundef %22) store ptr %23, ptr %4, align 8 br label %14, !llvm.loop !6 24: ; preds = %14 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @getLine(ptr noundef, i32 noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb9lsshcx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter text: \00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"Enter search string: \00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [80 x i8], align 16 %3 = alloca [80 x i8], align 16 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @getLine(ptr noundef %6, i32 noundef 80) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %9 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0 %10 = call i32 @getLine(ptr noundef %9, i32 noundef 80) %11 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %12 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0 %13 = call ptr @strstr(ptr noundef %11, ptr noundef %12) store ptr %13, ptr %4, align 8 %14 = load ptr, ptr %4, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %.lr.ph, label %25 .lr.ph: ; preds = %0 br label %16 16: ; preds = %.lr.ph, %16 %17 = load ptr, ptr %4, align 8 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %17) %19 = load ptr, ptr %4, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 1 %21 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0 %22 = call ptr @strstr(ptr noundef %20, ptr noundef %21) store ptr %22, ptr %4, align 8 %23 = load ptr, ptr %4, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %25 25: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @getLine(ptr noundef, i32 noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp5t05u5t9.c' source_filename = "/tmp/tmp5t05u5t9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @in_spheres(i32 noundef %0, ptr noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca double, align 8 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store double %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %14 = load i32, ptr %7, align 4 %15 = sub nsw i32 %14, 1 store i32 %15, ptr %12, align 4 br label %16 16: ; preds = %39, %5 %17 = load i32, ptr %12, align 4 %18 = icmp sge i32 %17, 0 br i1 %18, label %19, label %42 19: ; preds = %16 %20 = load ptr, ptr %11, align 8 %21 = load double, ptr %20, align 8 %22 = load double, ptr %9, align 8 %23 = fadd double %21, %22 store double %23, ptr %13, align 8 %24 = load ptr, ptr %10, align 8 %25 = load ptr, ptr %8, align 8 %26 = call double @distance_sq(ptr noundef %24, ptr noundef %25) %27 = load double, ptr %13, align 8 %28 = load double, ptr %13, align 8 %29 = fneg double %27 %30 = call double @llvm.fmuladd.f64(double %29, double %28, double %26) store double %30, ptr %13, align 8 %31 = load double, ptr %13, align 8 %32 = fcmp olt double %31, -1.000000e-10 br i1 %32, label %33, label %34 33: ; preds = %19 store i32 -1, ptr %6, align 4 br label %43 34: ; preds = %19 %35 = load ptr, ptr %10, align 8 %36 = getelementptr inbounds double, ptr %35, i64 3 store ptr %36, ptr %10, align 8 %37 = load ptr, ptr %11, align 8 %38 = getelementptr inbounds double, ptr %37, i32 1 store ptr %38, ptr %11, align 8 br label %39 39: ; preds = %34 %40 = load i32, ptr %12, align 4 %41 = add nsw i32 %40, -1 store i32 %41, ptr %12, align 4 br label %16, !llvm.loop !6 42: ; preds = %16 store i32 0, ptr %6, align 4 br label %43 43: ; preds = %42, %33 %44 = load i32, ptr %6, align 4 ret i32 %44 } declare double @distance_sq(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5t05u5t9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @in_spheres(i32 noundef %0, ptr noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca double, align 8 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store double %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %14 = load i32, ptr %7, align 4 %15 = sub nsw i32 %14, 1 store i32 %15, ptr %12, align 4 %16 = load i32, ptr %12, align 4 %17 = icmp sge i32 %16, 0 br i1 %17, label %.lr.ph, label %43 .lr.ph: ; preds = %5 br label %18 18: ; preds = %.lr.ph, %38 %19 = load ptr, ptr %11, align 8 %20 = load double, ptr %19, align 8 %21 = load double, ptr %9, align 8 %22 = fadd double %20, %21 store double %22, ptr %13, align 8 %23 = load ptr, ptr %10, align 8 %24 = load ptr, ptr %8, align 8 %25 = call double @distance_sq(ptr noundef %23, ptr noundef %24) %26 = load double, ptr %13, align 8 %27 = load double, ptr %13, align 8 %28 = fneg double %26 %29 = call double @llvm.fmuladd.f64(double %28, double %27, double %25) store double %29, ptr %13, align 8 %30 = load double, ptr %13, align 8 %31 = fcmp olt double %30, -1.000000e-10 br i1 %31, label %32, label %33 32: ; preds = %18 store i32 -1, ptr %6, align 4 br label %44 33: ; preds = %18 %34 = load ptr, ptr %10, align 8 %35 = getelementptr inbounds double, ptr %34, i64 3 store ptr %35, ptr %10, align 8 %36 = load ptr, ptr %11, align 8 %37 = getelementptr inbounds double, ptr %36, i32 1 store ptr %37, ptr %11, align 8 br label %38 38: ; preds = %33 %39 = load i32, ptr %12, align 4 %40 = add nsw i32 %39, -1 store i32 %40, ptr %12, align 4 %41 = load i32, ptr %12, align 4 %42 = icmp sge i32 %41, 0 br i1 %42, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %43 43: ; preds = %._crit_edge, %5 store i32 0, ptr %6, align 4 br label %44 44: ; preds = %43, %32 %45 = load i32, ptr %6, align 4 ret i32 %45 } declare double @distance_sq(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpykti0pps.c' source_filename = "/tmp/tmpykti0pps.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gloc_fs_read() #0 { %1 = call i32 @exit(i32 noundef 1) #2 unreachable } ; 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/tmpykti0pps.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gloc_fs_read() #0 { %1 = call i32 @exit(i32 noundef 1) #2 unreachable } ; 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/tmpg37rs6c2.c' source_filename = "/tmp/tmpg37rs6c2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strchr(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 br label %6 6: ; preds = %21, %2 %7 = load ptr, ptr %4, align 8 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = load i32, ptr %5, align 4 %11 = trunc i32 %10 to i8 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %9, %12 br i1 %13, label %14, label %19 14: ; preds = %6 %15 = load ptr, ptr %4, align 8 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 0 br label %19 19: ; preds = %14, %6 %20 = phi i1 [ false, %6 ], [ %18, %14 ] br i1 %20, label %21, label %24 21: ; preds = %19 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %4, align 8 br label %6, !llvm.loop !6 24: ; preds = %19 %25 = load ptr, ptr %4, align 8 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = load i32, ptr %5, align 4 %29 = trunc i32 %28 to i8 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %27, %30 br i1 %31, label %32, label %34 32: ; preds = %24 %33 = load ptr, ptr %4, align 8 store ptr %33, ptr %3, align 8 br label %35 34: ; preds = %24 store ptr null, ptr %3, align 8 br label %35 35: ; preds = %34, %32 %36 = load ptr, ptr %3, align 8 ret ptr %36 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpg37rs6c2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strchr(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 br label %6 6: ; preds = %21, %2 %7 = load ptr, ptr %4, align 8 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = load i32, ptr %5, align 4 %11 = trunc i32 %10 to i8 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %9, %12 br i1 %13, label %14, label %19 14: ; preds = %6 %15 = load ptr, ptr %4, align 8 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 0 br label %19 19: ; preds = %14, %6 %20 = phi i1 [ false, %6 ], [ %18, %14 ] br i1 %20, label %21, label %24 21: ; preds = %19 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %4, align 8 br label %6, !llvm.loop !6 24: ; preds = %19 %25 = load ptr, ptr %4, align 8 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = load i32, ptr %5, align 4 %29 = trunc i32 %28 to i8 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %27, %30 br i1 %31, label %32, label %34 32: ; preds = %24 %33 = load ptr, ptr %4, align 8 store ptr %33, ptr %3, align 8 br label %35 34: ; preds = %24 store ptr null, ptr %3, align 8 br label %35 35: ; preds = %34, %32 %36 = load ptr, ptr %3, align 8 ret ptr %36 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp6s5fe3p3.c' source_filename = "/tmp/tmp6s5fe3p3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(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/tmp6s5fe3p3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(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/tmpo1gz_9bq.c' source_filename = "/tmp/tmpo1gz_9bq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = call i32 @fat(i32 noundef %4) %6 = call i32 @printf(ptr noundef @.str, i32 noundef %5) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @fat(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/tmpo1gz_9bq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = call i32 @fat(i32 noundef %4) %6 = call i32 @printf(ptr noundef @.str, i32 noundef %5) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @fat(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/tmpp1sxzce5.c' source_filename = "/tmp/tmpp1sxzce5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %8 = call i32 (...) @rand() %9 = and i32 %8, 31 store i32 %9, ptr %5, align 4 %10 = call i32 (...) @rand() %11 = and i32 %10, 31 store i32 %11, ptr %6, align 4 %12 = call i32 (...) @rand() %13 = and i32 %12, 31 store i32 %13, ptr %7, align 4 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %6, align 4 %16 = add nsw i32 %14, %15 %17 = load i32, ptr %7, align 4 %18 = add nsw i32 %16, %17 %19 = load i32, ptr %4, align 4 %20 = mul nsw i32 %18, %19 %21 = load i32, ptr %3, align 4 %22 = ashr i32 %20, %21 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %23, %24 %26 = load i32, ptr %7, align 4 %27 = add nsw i32 %25, %26 %28 = sdiv i32 %27, 9 %29 = icmp eq i32 %22, %28 %30 = zext i1 %29 to i32 ret i32 %30 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp1sxzce5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %8 = call i32 (...) @rand() %9 = and i32 %8, 31 store i32 %9, ptr %5, align 4 %10 = call i32 (...) @rand() %11 = and i32 %10, 31 store i32 %11, ptr %6, align 4 %12 = call i32 (...) @rand() %13 = and i32 %12, 31 store i32 %13, ptr %7, align 4 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %6, align 4 %16 = add nsw i32 %14, %15 %17 = load i32, ptr %7, align 4 %18 = add nsw i32 %16, %17 %19 = load i32, ptr %4, align 4 %20 = mul nsw i32 %18, %19 %21 = load i32, ptr %3, align 4 %22 = ashr i32 %20, %21 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %23, %24 %26 = load i32, ptr %7, align 4 %27 = add nsw i32 %25, %26 %28 = sdiv i32 %27, 9 %29 = icmp eq i32 %22, %28 %30 = zext i1 %29 to i32 ret i32 %30 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxm79guru.c' source_filename = "/tmp/tmpxm79guru.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"h\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [22 x i8] c"Unknown option '-%c'\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @optind = 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 [2 x i8] c"r\00", align 1 @nwsin = external global ptr, align 8 @.str.4 = private unnamed_addr constant [32 x i8] c"Usage: %s [-bhIL] <filename|->\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_params(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 br label %7 7: ; preds = %2 %8 = load i32, ptr %3, align 4 %9 = load ptr, ptr %4, align 8 %10 = call i32 @getopt(i32 noundef %8, ptr noundef %9, ptr noundef @.str) store i32 %10, ptr %5, align 4 %11 = icmp ne i32 %10, -1 br i1 %11, label %12, label %25 12: ; preds = %7 %13 = load i32, ptr %5, align 4 switch i32 %13, label %19 [ i32 104, label %14 ] 14: ; preds = %12 %15 = load ptr, ptr %4, align 8 %16 = call i32 @help(ptr noundef %15) %17 = load i32, ptr @EXIT_SUCCESS, align 4 %18 = call i32 @exit(i32 noundef %17) #3 unreachable 19: ; preds = %12 %20 = load i32, ptr @stderr, align 4 %21 = load i32, ptr %5, align 4 %22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.1, i32 noundef %21) %23 = load i32, ptr @EXIT_FAILURE, align 4 %24 = call i32 @exit(i32 noundef %23) #3 unreachable 25: ; preds = %7 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr @optind, align 4 %28 = sub nsw i32 %26, %27 %29 = icmp eq i32 %28, 1 br i1 %29, label %30, label %54 30: ; preds = %25 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr @optind, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds ptr, ptr %31, i64 %33 %35 = load ptr, ptr %34, align 8 %36 = call i64 @strcmp(ptr noundef @.str.2, ptr noundef %35) %37 = icmp ne i64 0, %36 br i1 %37, label %38, label %53 38: ; preds = %30 %39 = load ptr, ptr %4, align 8 %40 = load i32, ptr @optind, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds ptr, ptr %39, i64 %41 %43 = load ptr, ptr %42, align 8 %44 = call ptr @fopen(ptr noundef %43, ptr noundef @.str.3) store ptr %44, ptr %6, align 8 %45 = load ptr, ptr %6, align 8 %46 = icmp eq ptr null, %45 br i1 %46, label %47, label %51 47: ; preds = %38 %48 = call i32 @perror(ptr noundef null) %49 = load i32, ptr @EXIT_FAILURE, align 4 %50 = call i32 @exit(i32 noundef %49) #3 unreachable 51: ; preds = %38 %52 = load ptr, ptr %6, align 8 store ptr %52, ptr @nwsin, align 8 br label %53 53: ; preds = %51, %30 br label %62 54: ; preds = %25 %55 = load i32, ptr @stderr, align 4 %56 = load ptr, ptr %4, align 8 %57 = getelementptr inbounds ptr, ptr %56, i64 0 %58 = load ptr, ptr %57, align 8 %59 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %55, ptr noundef @.str.4, ptr noundef %58) %60 = load i32, ptr @EXIT_FAILURE, align 4 %61 = call i32 @exit(i32 noundef %60) #3 unreachable 62: ; preds = %53 ret void } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @help(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpxm79guru.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"h\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [22 x i8] c"Unknown option '-%c'\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @optind = 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 [2 x i8] c"r\00", align 1 @nwsin = external global ptr, align 8 @.str.4 = private unnamed_addr constant [32 x i8] c"Usage: %s [-bhIL] <filename|->\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_params(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 br label %7 7: ; preds = %2 %8 = load i32, ptr %3, align 4 %9 = load ptr, ptr %4, align 8 %10 = call i32 @getopt(i32 noundef %8, ptr noundef %9, ptr noundef @.str) store i32 %10, ptr %5, align 4 %11 = icmp ne i32 %10, -1 br i1 %11, label %12, label %25 12: ; preds = %7 %13 = load i32, ptr %5, align 4 switch i32 %13, label %19 [ i32 104, label %14 ] 14: ; preds = %12 %15 = load ptr, ptr %4, align 8 %16 = call i32 @help(ptr noundef %15) %17 = load i32, ptr @EXIT_SUCCESS, align 4 %18 = call i32 @exit(i32 noundef %17) #3 unreachable 19: ; preds = %12 %20 = load i32, ptr @stderr, align 4 %21 = load i32, ptr %5, align 4 %22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.1, i32 noundef %21) %23 = load i32, ptr @EXIT_FAILURE, align 4 %24 = call i32 @exit(i32 noundef %23) #3 unreachable 25: ; preds = %7 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr @optind, align 4 %28 = sub nsw i32 %26, %27 %29 = icmp eq i32 %28, 1 br i1 %29, label %30, label %54 30: ; preds = %25 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr @optind, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds ptr, ptr %31, i64 %33 %35 = load ptr, ptr %34, align 8 %36 = call i64 @strcmp(ptr noundef @.str.2, ptr noundef %35) %37 = icmp ne i64 0, %36 br i1 %37, label %38, label %53 38: ; preds = %30 %39 = load ptr, ptr %4, align 8 %40 = load i32, ptr @optind, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds ptr, ptr %39, i64 %41 %43 = load ptr, ptr %42, align 8 %44 = call ptr @fopen(ptr noundef %43, ptr noundef @.str.3) store ptr %44, ptr %6, align 8 %45 = load ptr, ptr %6, align 8 %46 = icmp eq ptr null, %45 br i1 %46, label %47, label %51 47: ; preds = %38 %48 = call i32 @perror(ptr noundef null) %49 = load i32, ptr @EXIT_FAILURE, align 4 %50 = call i32 @exit(i32 noundef %49) #3 unreachable 51: ; preds = %38 %52 = load ptr, ptr %6, align 8 store ptr %52, ptr @nwsin, align 8 br label %53 53: ; preds = %51, %30 br label %62 54: ; preds = %25 %55 = load i32, ptr @stderr, align 4 %56 = load ptr, ptr %4, align 8 %57 = getelementptr inbounds ptr, ptr %56, i64 0 %58 = load ptr, ptr %57, align 8 %59 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %55, ptr noundef @.str.4, ptr noundef %58) %60 = load i32, ptr @EXIT_FAILURE, align 4 %61 = call i32 @exit(i32 noundef %60) #3 unreachable 62: ; preds = %53 ret void } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @help(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpi5y6lsv9.c' source_filename = "/tmp/tmpi5y6lsv9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"s s=%d r=%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @okapi_show(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i64 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i64, align 8 %15 = alloca [1024 x i8], align 16 %16 = alloca [10240 x i8], align 16 %17 = alloca ptr, align 8 %18 = alloca i64, align 8 %19 = alloca i64, align 8 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store i64 %4, ptr %11, align 8 %20 = load i64, ptr %11, align 8 store i64 %20, ptr %14, align 8 %21 = load ptr, ptr %10, align 8 store ptr %21, ptr %17, align 8 store i32 0, ptr %12, align 4 br label %22 22: ; preds = %78, %5 %23 = load i32, ptr %12, align 4 %24 = load i32, ptr %9, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %81 26: ; preds = %22 %27 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 %28 = load i32, ptr %7, align 4 %29 = load i32, ptr %8, align 4 %30 = load i32, ptr %12, align 4 %31 = add nsw i32 %29, %30 %32 = call i32 @sprintf(ptr noundef %27, ptr noundef @.str, i32 noundef %28, i32 noundef %31) %33 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 %34 = getelementptr inbounds [10240 x i8], ptr %16, i64 0, i64 0 %35 = call i32 @i0(ptr noundef %33, ptr noundef %34) store i32 %35, ptr %13, align 4 %36 = icmp ne i32 %35, 0 br i1 %36, label %37, label %40 37: ; preds = %26 %38 = load ptr, ptr %17, align 8 store i8 0, ptr %38, align 1 %39 = load i32, ptr %12, align 4 store i32 %39, ptr %6, align 4 br label %84 40: ; preds = %26 %41 = getelementptr inbounds [10240 x i8], ptr %16, i64 0, i64 0 %42 = call i64 @strlen(ptr noundef %41) store i64 %42, ptr %19, align 8 %43 = load i64, ptr %19, align 8 %44 = add i64 %43, 2 %45 = add i64 %44, 1 %46 = load i64, ptr %14, align 8 %47 = icmp ugt i64 %45, %46 br i1 %47, label %48, label %52 48: ; preds = %40 %49 = load i64, ptr %14, align 8 %50 = sub i64 %49, 2 %51 = sub i64 %50, 1 br label %54 52: ; preds = %40 %53 = load i64, ptr %19, align 8 br label %54 54: ; preds = %52, %48 %55 = phi i64 [ %51, %48 ], [ %53, %52 ] store i64 %55, ptr %18, align 8 %56 = load ptr, ptr %17, align 8 %57 = getelementptr inbounds [10240 x i8], ptr %16, i64 0, i64 0 %58 = load i64, ptr %18, align 8 %59 = trunc i64 %58 to i32 %60 = call i32 @strncpy(ptr noundef %56, ptr noundef %57, i32 noundef %59) %61 = load i64, ptr %18, align 8 %62 = load ptr, ptr %17, align 8 %63 = getelementptr inbounds i8, ptr %62, i64 %61 store ptr %63, ptr %17, align 8 %64 = load ptr, ptr %17, align 8 %65 = call i32 @strncpy(ptr noundef %64, ptr noundef @.str.1, i32 noundef 2) %66 = load ptr, ptr %17, align 8 %67 = getelementptr inbounds i8, ptr %66, i64 2 store ptr %67, ptr %17, align 8 %68 = load i64, ptr %14, align 8 %69 = load i64, ptr %18, align 8 %70 = sub i64 %68, %69 %71 = sub i64 %70, 2 store i64 %71, ptr %14, align 8 %72 = load i64, ptr %14, align 8 %73 = icmp eq i64 %72, 1 br i1 %73, label %74, label %77 74: ; preds = %54 %75 = load i32, ptr %12, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %12, align 4 br label %81 77: ; preds = %54 br label %78 78: ; preds = %77 %79 = load i32, ptr %12, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %12, align 4 br label %22, !llvm.loop !6 81: ; preds = %74, %22 %82 = load ptr, ptr %17, align 8 store i8 0, ptr %82, align 1 %83 = load i32, ptr %12, align 4 store i32 %83, ptr %6, align 4 br label %84 84: ; preds = %81, %37 %85 = load i32, ptr %6, align 4 ret i32 %85 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @i0(ptr noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi5y6lsv9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"s s=%d r=%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @okapi_show(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i64 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i64, align 8 %15 = alloca [1024 x i8], align 16 %16 = alloca [10240 x i8], align 16 %17 = alloca ptr, align 8 %18 = alloca i64, align 8 %19 = alloca i64, align 8 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store i64 %4, ptr %11, align 8 %20 = load i64, ptr %11, align 8 store i64 %20, ptr %14, align 8 %21 = load ptr, ptr %10, align 8 store ptr %21, ptr %17, align 8 store i32 0, ptr %12, align 4 %22 = load i32, ptr %12, align 4 %23 = load i32, ptr %9, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %5 br label %25 25: ; preds = %.lr.ph, %77 %26 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %8, align 4 %29 = load i32, ptr %12, align 4 %30 = add nsw i32 %28, %29 %31 = call i32 @sprintf(ptr noundef %26, ptr noundef @.str, i32 noundef %27, i32 noundef %30) %32 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 %33 = getelementptr inbounds [10240 x i8], ptr %16, i64 0, i64 0 %34 = call i32 @i0(ptr noundef %32, ptr noundef %33) store i32 %34, ptr %13, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %25 %37 = load ptr, ptr %17, align 8 store i8 0, ptr %37, align 1 %38 = load i32, ptr %12, align 4 store i32 %38, ptr %6, align 4 br label %86 39: ; preds = %25 %40 = getelementptr inbounds [10240 x i8], ptr %16, i64 0, i64 0 %41 = call i64 @strlen(ptr noundef %40) store i64 %41, ptr %19, align 8 %42 = load i64, ptr %19, align 8 %43 = add i64 %42, 2 %44 = add i64 %43, 1 %45 = load i64, ptr %14, align 8 %46 = icmp ugt i64 %44, %45 br i1 %46, label %47, label %51 47: ; preds = %39 %48 = load i64, ptr %14, align 8 %49 = sub i64 %48, 2 %50 = sub i64 %49, 1 br label %53 51: ; preds = %39 %52 = load i64, ptr %19, align 8 br label %53 53: ; preds = %51, %47 %54 = phi i64 [ %50, %47 ], [ %52, %51 ] store i64 %54, ptr %18, align 8 %55 = load ptr, ptr %17, align 8 %56 = getelementptr inbounds [10240 x i8], ptr %16, i64 0, i64 0 %57 = load i64, ptr %18, align 8 %58 = trunc i64 %57 to i32 %59 = call i32 @strncpy(ptr noundef %55, ptr noundef %56, i32 noundef %58) %60 = load i64, ptr %18, align 8 %61 = load ptr, ptr %17, align 8 %62 = getelementptr inbounds i8, ptr %61, i64 %60 store ptr %62, ptr %17, align 8 %63 = load ptr, ptr %17, align 8 %64 = call i32 @strncpy(ptr noundef %63, ptr noundef @.str.1, i32 noundef 2) %65 = load ptr, ptr %17, align 8 %66 = getelementptr inbounds i8, ptr %65, i64 2 store ptr %66, ptr %17, align 8 %67 = load i64, ptr %14, align 8 %68 = load i64, ptr %18, align 8 %69 = sub i64 %67, %68 %70 = sub i64 %69, 2 store i64 %70, ptr %14, align 8 %71 = load i64, ptr %14, align 8 %72 = icmp eq i64 %71, 1 br i1 %72, label %73, label %76 73: ; preds = %53 %74 = load i32, ptr %12, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %12, align 4 br label %83 76: ; preds = %53 br label %77 77: ; preds = %76 %78 = load i32, ptr %12, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %12, align 4 %80 = load i32, ptr %12, align 4 %81 = load i32, ptr %9, align 4 %82 = icmp slt i32 %80, %81 br i1 %82, label %25, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %77 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %5 br label %83 83: ; preds = %.loopexit, %73 %84 = load ptr, ptr %17, align 8 store i8 0, ptr %84, align 1 %85 = load i32, ptr %12, align 4 store i32 %85, ptr %6, align 4 br label %86 86: ; preds = %83, %36 %87 = load i32, ptr %6, align 4 ret i32 %87 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @i0(ptr noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp84qhe3z3.c' source_filename = "/tmp/tmp84qhe3z3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Producer '%d' Produced: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @producer(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store i32 %5, ptr %12, align 4 %15 = load ptr, ptr %11, align 8 %16 = getelementptr inbounds i32, ptr %15, i64 -2 store ptr %16, ptr %14, align 8 br label %17 17: ; preds = %6, %17 %18 = load ptr, ptr %7, align 8 %19 = call i32 @down(ptr noundef %18) %20 = load ptr, ptr %9, align 8 %21 = call i32 @down(ptr noundef %20) %22 = load ptr, ptr %14, align 8 %23 = load i32, ptr %22, align 4 store i32 %23, ptr %13, align 4 %24 = load i32, ptr %13, align 4 %25 = load ptr, ptr %11, align 8 %26 = load i32, ptr %13, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %25, i64 %27 store i32 %24, ptr %28, align 4 %29 = load i32, ptr %13, align 4 %30 = add nsw i32 %29, 1 %31 = load i32, ptr %10, align 4 %32 = srem i32 %30, %31 %33 = load ptr, ptr %14, align 8 store i32 %32, ptr %33, align 4 %34 = load i32, ptr %12, align 4 %35 = load i32, ptr %13, align 4 %36 = call i32 @printf(ptr noundef @.str, i32 noundef %34, i32 noundef %35) %37 = load ptr, ptr %9, align 8 %38 = call i32 @up(ptr noundef %37) %39 = load ptr, ptr %8, align 8 %40 = call i32 @up(ptr noundef %39) br label %17 } declare i32 @down(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @up(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp84qhe3z3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Producer '%d' Produced: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @producer(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store i32 %5, ptr %12, align 4 %15 = load ptr, ptr %11, align 8 %16 = getelementptr inbounds i32, ptr %15, i64 -2 store ptr %16, ptr %14, align 8 br label %17 17: ; preds = %17, %6 %18 = load ptr, ptr %7, align 8 %19 = call i32 @down(ptr noundef %18) %20 = load ptr, ptr %9, align 8 %21 = call i32 @down(ptr noundef %20) %22 = load ptr, ptr %14, align 8 %23 = load i32, ptr %22, align 4 store i32 %23, ptr %13, align 4 %24 = load i32, ptr %13, align 4 %25 = load ptr, ptr %11, align 8 %26 = load i32, ptr %13, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %25, i64 %27 store i32 %24, ptr %28, align 4 %29 = load i32, ptr %13, align 4 %30 = add nsw i32 %29, 1 %31 = load i32, ptr %10, align 4 %32 = srem i32 %30, %31 %33 = load ptr, ptr %14, align 8 store i32 %32, ptr %33, align 4 %34 = load i32, ptr %12, align 4 %35 = load i32, ptr %13, align 4 %36 = call i32 @printf(ptr noundef @.str, i32 noundef %34, i32 noundef %35) %37 = load ptr, ptr %9, align 8 %38 = call i32 @up(ptr noundef %37) %39 = load ptr, ptr %8, align 8 %40 = call i32 @up(ptr noundef %39) br label %17 } declare i32 @down(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @up(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxayxvop2.c' source_filename = "/tmp/tmpxayxvop2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ufree(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxayxvop2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ufree(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjkyzbg0e.c' source_filename = "/tmp/tmpjkyzbg0e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @myatof(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca float, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %20, %1 %9 = load ptr, ptr %2, align 8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp eq i32 %11, 32 br i1 %12, label %18, label %13 13: ; preds = %8 %14 = load ptr, ptr %2, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 9 br label %18 18: ; preds = %13, %8 %19 = phi i1 [ true, %8 ], [ %17, %13 ] br i1 %19, label %20, label %23 20: ; preds = %18 %21 = load ptr, ptr %2, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %2, align 8 br label %8, !llvm.loop !6 23: ; preds = %18 %24 = load ptr, ptr %2, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 45 br i1 %27, label %28, label %31 28: ; preds = %23 store i32 1, ptr %7, align 4 %29 = load ptr, ptr %2, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %2, align 8 br label %40 31: ; preds = %23 %32 = load ptr, ptr %2, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 43 br i1 %35, label %36, label %39 36: ; preds = %31 %37 = load ptr, ptr %2, align 8 %38 = getelementptr inbounds i8, ptr %37, i32 1 store ptr %38, ptr %2, align 8 br label %39 39: ; preds = %36, %31 br label %40 40: ; preds = %39, %28 br label %41 41: ; preds = %53, %40 %42 = load ptr, ptr %2, align 8 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp sge i32 %44, 48 br i1 %45, label %46, label %51 46: ; preds = %41 %47 = load ptr, ptr %2, align 8 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp sle i32 %49, 57 br label %51 51: ; preds = %46, %41 %52 = phi i1 [ false, %41 ], [ %50, %46 ] br i1 %52, label %53, label %63 53: ; preds = %51 %54 = load i32, ptr %4, align 4 %55 = mul nsw i32 %54, 10 store i32 %55, ptr %4, align 4 %56 = load ptr, ptr %2, align 8 %57 = getelementptr inbounds i8, ptr %56, i32 1 store ptr %57, ptr %2, align 8 %58 = load i8, ptr %56, align 1 %59 = sext i8 %58 to i32 %60 = sub nsw i32 %59, 48 %61 = load i32, ptr %4, align 4 %62 = add nsw i32 %61, %60 store i32 %62, ptr %4, align 4 br label %41, !llvm.loop !8 63: ; preds = %51 %64 = load i32, ptr %4, align 4 %65 = sitofp i32 %64 to float store float %65, ptr %3, align 4 %66 = load ptr, ptr %2, align 8 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = icmp eq i32 %68, 46 br i1 %69, label %70, label %110 70: ; preds = %63 %71 = load ptr, ptr %2, align 8 %72 = getelementptr inbounds i8, ptr %71, i32 1 store ptr %72, ptr %2, align 8 %73 = load i8, ptr %71, align 1 br label %74 74: ; preds = %86, %70 %75 = load ptr, ptr %2, align 8 %76 = load i8, ptr %75, align 1 %77 = sext i8 %76 to i32 %78 = icmp sge i32 %77, 48 br i1 %78, label %79, label %84 79: ; preds = %74 %80 = load ptr, ptr %2, align 8 %81 = load i8, ptr %80, align 1 %82 = sext i8 %81 to i32 %83 = icmp sle i32 %82, 57 br label %84 84: ; preds = %79, %74 %85 = phi i1 [ false, %74 ], [ %83, %79 ] br i1 %85, label %86, label %98 86: ; preds = %84 %87 = load i32, ptr %5, align 4 %88 = mul nsw i32 %87, 10 store i32 %88, ptr %5, align 4 %89 = load ptr, ptr %2, align 8 %90 = getelementptr inbounds i8, ptr %89, i32 1 store ptr %90, ptr %2, align 8 %91 = load i8, ptr %89, align 1 %92 = sext i8 %91 to i32 %93 = sub nsw i32 %92, 48 %94 = load i32, ptr %5, align 4 %95 = add nsw i32 %94, %93 store i32 %95, ptr %5, align 4 %96 = load i32, ptr %6, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %6, align 4 br label %74, !llvm.loop !9 98: ; preds = %84 %99 = load i32, ptr %6, align 4 %100 = icmp ne i32 %99, 0 br i1 %100, label %101, label %109 101: ; preds = %98 %102 = load i32, ptr %5, align 4 %103 = load i32, ptr %6, align 4 %104 = call i32 @Exp10(i32 noundef %103) %105 = sdiv i32 %102, %104 %106 = sitofp i32 %105 to float %107 = load float, ptr %3, align 4 %108 = fadd float %107, %106 store float %108, ptr %3, align 4 br label %109 109: ; preds = %101, %98 br label %110 110: ; preds = %109, %63 %111 = load i32, ptr %7, align 4 %112 = icmp ne i32 %111, 0 br i1 %112, label %113, label %116 113: ; preds = %110 %114 = load float, ptr %3, align 4 %115 = fneg float %114 store float %115, ptr %3, align 4 br label %116 116: ; preds = %113, %110 %117 = load float, ptr %3, align 4 ret float %117 } declare i32 @Exp10(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/tmpjkyzbg0e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @myatof(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca float, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %20, %1 %9 = load ptr, ptr %2, align 8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp eq i32 %11, 32 br i1 %12, label %18, label %13 13: ; preds = %8 %14 = load ptr, ptr %2, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 9 br label %18 18: ; preds = %13, %8 %19 = phi i1 [ true, %8 ], [ %17, %13 ] br i1 %19, label %20, label %23 20: ; preds = %18 %21 = load ptr, ptr %2, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %2, align 8 br label %8, !llvm.loop !6 23: ; preds = %18 %24 = load ptr, ptr %2, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 45 br i1 %27, label %28, label %31 28: ; preds = %23 store i32 1, ptr %7, align 4 %29 = load ptr, ptr %2, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %2, align 8 br label %40 31: ; preds = %23 %32 = load ptr, ptr %2, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 43 br i1 %35, label %36, label %39 36: ; preds = %31 %37 = load ptr, ptr %2, align 8 %38 = getelementptr inbounds i8, ptr %37, i32 1 store ptr %38, ptr %2, align 8 br label %39 39: ; preds = %36, %31 br label %40 40: ; preds = %39, %28 br label %41 41: ; preds = %53, %40 %42 = load ptr, ptr %2, align 8 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp sge i32 %44, 48 br i1 %45, label %46, label %51 46: ; preds = %41 %47 = load ptr, ptr %2, align 8 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp sle i32 %49, 57 br label %51 51: ; preds = %46, %41 %52 = phi i1 [ false, %41 ], [ %50, %46 ] br i1 %52, label %53, label %63 53: ; preds = %51 %54 = load i32, ptr %4, align 4 %55 = mul nsw i32 %54, 10 store i32 %55, ptr %4, align 4 %56 = load ptr, ptr %2, align 8 %57 = getelementptr inbounds i8, ptr %56, i32 1 store ptr %57, ptr %2, align 8 %58 = load i8, ptr %56, align 1 %59 = sext i8 %58 to i32 %60 = sub nsw i32 %59, 48 %61 = load i32, ptr %4, align 4 %62 = add nsw i32 %61, %60 store i32 %62, ptr %4, align 4 br label %41, !llvm.loop !8 63: ; preds = %51 %64 = load i32, ptr %4, align 4 %65 = sitofp i32 %64 to float store float %65, ptr %3, align 4 %66 = load ptr, ptr %2, align 8 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = icmp eq i32 %68, 46 br i1 %69, label %70, label %110 70: ; preds = %63 %71 = load ptr, ptr %2, align 8 %72 = getelementptr inbounds i8, ptr %71, i32 1 store ptr %72, ptr %2, align 8 %73 = load i8, ptr %71, align 1 br label %74 74: ; preds = %86, %70 %75 = load ptr, ptr %2, align 8 %76 = load i8, ptr %75, align 1 %77 = sext i8 %76 to i32 %78 = icmp sge i32 %77, 48 br i1 %78, label %79, label %84 79: ; preds = %74 %80 = load ptr, ptr %2, align 8 %81 = load i8, ptr %80, align 1 %82 = sext i8 %81 to i32 %83 = icmp sle i32 %82, 57 br label %84 84: ; preds = %79, %74 %85 = phi i1 [ false, %74 ], [ %83, %79 ] br i1 %85, label %86, label %98 86: ; preds = %84 %87 = load i32, ptr %5, align 4 %88 = mul nsw i32 %87, 10 store i32 %88, ptr %5, align 4 %89 = load ptr, ptr %2, align 8 %90 = getelementptr inbounds i8, ptr %89, i32 1 store ptr %90, ptr %2, align 8 %91 = load i8, ptr %89, align 1 %92 = sext i8 %91 to i32 %93 = sub nsw i32 %92, 48 %94 = load i32, ptr %5, align 4 %95 = add nsw i32 %94, %93 store i32 %95, ptr %5, align 4 %96 = load i32, ptr %6, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %6, align 4 br label %74, !llvm.loop !9 98: ; preds = %84 %99 = load i32, ptr %6, align 4 %100 = icmp ne i32 %99, 0 br i1 %100, label %101, label %109 101: ; preds = %98 %102 = load i32, ptr %5, align 4 %103 = load i32, ptr %6, align 4 %104 = call i32 @Exp10(i32 noundef %103) %105 = sdiv i32 %102, %104 %106 = sitofp i32 %105 to float %107 = load float, ptr %3, align 4 %108 = fadd float %107, %106 store float %108, ptr %3, align 4 br label %109 109: ; preds = %101, %98 br label %110 110: ; preds = %109, %63 %111 = load i32, ptr %7, align 4 %112 = icmp ne i32 %111, 0 br i1 %112, label %113, label %116 113: ; preds = %110 %114 = load float, ptr %3, align 4 %115 = fneg float %114 store float %115, ptr %3, align 4 br label %116 116: ; preds = %113, %110 %117 = load float, ptr %3, align 4 ret float %117 } declare i32 @Exp10(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/tmp3bmhqt20.c' source_filename = "/tmp/tmp3bmhqt20.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0ADigite uma expressao: \00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"Expressao sintaticamente correta\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [100 x i8], align 16 %2 = call i32 @printf(ptr noundef @.str) %3 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %4 = call i32 @gets(ptr noundef %3) %5 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %6 = call i32 @parser(ptr noundef %5) %7 = call i32 @printf(ptr noundef @.str.1) %8 = call i32 @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @gets(ptr noundef) #1 declare i32 @parser(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3bmhqt20.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0ADigite uma expressao: \00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"Expressao sintaticamente correta\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [100 x i8], align 16 %2 = call i32 @printf(ptr noundef @.str) %3 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %4 = call i32 @gets(ptr noundef %3) %5 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %6 = call i32 @parser(ptr noundef %5) %7 = call i32 @printf(ptr noundef @.str.1) %8 = call i32 @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @gets(ptr noundef) #1 declare i32 @parser(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl33xsm9v.c' source_filename = "/tmp/tmpl33xsm9v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @leaf = dso_local global i64 0, align 8 @postorder = dso_local global i64 0, align 8 @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/tmpl33xsm9v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @leaf = dso_local global i64 0, align 8 @postorder = dso_local global i64 0, align 8 @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/tmp9rbgr46l.c' source_filename = "/tmp/tmp9rbgr46l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mbLog(float noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca float, align 4 %4 = alloca i32, align 4 store float %0, ptr %3, align 4 %5 = load float, ptr %3, align 4 %6 = fcmp ole float %5, 0x38100FB320000000 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 -37928, ptr %2, align 4 br label %14 8: ; preds = %1 %9 = load float, ptr %3, align 4 %10 = call double @log10(float noundef %9) %11 = call double @llvm.fmuladd.f64(double 1.000000e+03, double %10, double 5.000000e-01) %12 = fptosi double %11 to i32 store i32 %12, ptr %4, align 4 %13 = load i32, ptr %4, align 4 store i32 %13, ptr %2, align 4 br label %14 14: ; preds = %8, %7 %15 = load i32, ptr %2, align 4 ret i32 %15 } declare double @log10(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9rbgr46l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mbLog(float noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca float, align 4 %4 = alloca i32, align 4 store float %0, ptr %3, align 4 %5 = load float, ptr %3, align 4 %6 = fcmp ole float %5, 0x38100FB320000000 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 -37928, ptr %2, align 4 br label %14 8: ; preds = %1 %9 = load float, ptr %3, align 4 %10 = call double @log10(float noundef %9) %11 = call double @llvm.fmuladd.f64(double 1.000000e+03, double %10, double 5.000000e-01) %12 = fptosi double %11 to i32 store i32 %12, ptr %4, align 4 %13 = load i32, ptr %4, align 4 store i32 %13, ptr %2, align 4 br label %14 14: ; preds = %8, %7 %15 = load i32, ptr %2, align 4 ret i32 %15 } declare double @log10(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5b4wuqv_.c' source_filename = "/tmp/tmp5b4wuqv_.c" target datalayout = "e-m:e-p270: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/tmp5b4wuqv_.c" target datalayout = "e-m:e-p270: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/tmpfpozd3bz.c' source_filename = "/tmp/tmpfpozd3bz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SPUplayCDDAchannel(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %9, label %8 8: ; preds = %2 store i32 -1, ptr %3, align 4 br label %17 9: ; preds = %2 %10 = load i32, ptr %5, align 4 %11 = icmp sle i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %9 store i32 -1, ptr %3, align 4 br label %17 13: ; preds = %9 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %5, align 4 %16 = call i32 @FeedCDDA(ptr noundef %14, i32 noundef %15) store i32 %16, ptr %3, align 4 br label %17 17: ; preds = %13, %12, %8 %18 = load i32, ptr %3, align 4 ret i32 %18 } declare i32 @FeedCDDA(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/tmpfpozd3bz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SPUplayCDDAchannel(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %9, label %8 8: ; preds = %2 store i32 -1, ptr %3, align 4 br label %17 9: ; preds = %2 %10 = load i32, ptr %5, align 4 %11 = icmp sle i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %9 store i32 -1, ptr %3, align 4 br label %17 13: ; preds = %9 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %5, align 4 %16 = call i32 @FeedCDDA(ptr noundef %14, i32 noundef %15) store i32 %16, ptr %3, align 4 br label %17 17: ; preds = %13, %12, %8 %18 = load i32, ptr %3, align 4 ret i32 %18 } declare i32 @FeedCDDA(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/tmp9tq4y5sm.c' source_filename = "/tmp/tmp9tq4y5sm.c" target datalayout = "e-m:e-p270: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/tmp9tq4y5sm.c" target datalayout = "e-m:e-p270: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/tmpg0dp_daf.c' source_filename = "/tmp/tmpg0dp_daf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\09%s\09\09\09%s\09\09%s\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"ID\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Description\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"Type\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"Price\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @storage_print_header_all_holidays() #0 { %1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4) %2 = call i32 (...) @print_eol() %3 = call i32 (...) @print_eol() ret void } declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @print_eol(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg0dp_daf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\09%s\09\09\09%s\09\09%s\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"ID\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Description\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"Type\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"Price\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @storage_print_header_all_holidays() #0 { %1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4) %2 = call i32 (...) @print_eol() %3 = call i32 (...) @print_eol() ret void } declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @print_eol(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmzxlvklc.c' source_filename = "/tmp/tmpmzxlvklc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i32 @print_str(ptr noundef %4) %6 = call i32 @putchar(i8 noundef signext 10) %7 = load i32, ptr %2, align 4 ret i32 %7 } declare i32 @print_str(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/tmpmzxlvklc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i32 @print_str(ptr noundef %4) %6 = call i32 @putchar(i8 noundef signext 10) %7 = load i32, ptr %2, align 4 ret i32 %7 } declare i32 @print_str(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/tmpfw1sj7za.c' source_filename = "/tmp/tmpfw1sj7za.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.test_only_duplicates.input = private unnamed_addr constant [5 x i8] c"aaaa\00", align 1 @.str = private unnamed_addr constant [2 x i8] c"a\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_only_duplicates() #0 { %1 = alloca [5 x i8], align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.test_only_duplicates.input, i64 5, i1 false) %2 = getelementptr inbounds [5 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @remove_duplicates(ptr noundef %2) %4 = getelementptr inbounds [5 x i8], ptr %1, i64 0, i64 0 %5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str) %6 = icmp eq i64 %5, 0 %7 = zext i1 %6 to i32 ret i32 %7 } ; 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 @remove_duplicates(ptr noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfw1sj7za.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.test_only_duplicates.input = private unnamed_addr constant [5 x i8] c"aaaa\00", align 1 @.str = private unnamed_addr constant [2 x i8] c"a\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_only_duplicates() #0 { %1 = alloca [5 x i8], align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.test_only_duplicates.input, i64 5, i1 false) %2 = getelementptr inbounds [5 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @remove_duplicates(ptr noundef %2) %4 = getelementptr inbounds [5 x i8], ptr %1, i64 0, i64 0 %5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str) %6 = icmp eq i64 %5, 0 %7 = zext i1 %6 to i32 ret i32 %7 } ; 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 @remove_duplicates(ptr noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpid7x85n5.c' source_filename = "/tmp/tmpid7x85n5.c" target datalayout = "e-m:e-p270: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/tmpid7x85n5.c" target datalayout = "e-m:e-p270: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/tmp93mo9zms.c' source_filename = "/tmp/tmp93mo9zms.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Bir sayi giriniz:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Basamak sayisi = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) store i32 0, ptr %4, align 4 %8 = load i32, ptr %2, align 4 store i32 %8, ptr %5, align 4 br label %9 9: ; preds = %12, %0 %10 = load i32, ptr %5, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %18 12: ; preds = %9 %13 = load i32, ptr %5, align 4 %14 = sdiv i32 %13, 10 store i32 %14, ptr %3, align 4 %15 = load i32, ptr %3, align 4 store i32 %15, ptr %5, align 4 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %4, align 4 br label %9, !llvm.loop !6 18: ; preds = %9 %19 = load i32, ptr %4, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %19) %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %4, align 4 %23 = call i32 @basamak_ayirma(i32 noundef %21, i32 noundef %22) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @basamak_ayirma(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp93mo9zms.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Bir sayi giriniz:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Basamak sayisi = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) store i32 0, ptr %4, align 4 %8 = load i32, ptr %2, align 4 store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp ne i32 %9, 0 br i1 %10, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %11 %12 = load i32, ptr %5, align 4 %13 = sdiv i32 %12, 10 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 store i32 %14, ptr %5, align 4 %15 = load i32, ptr %4, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %4, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %19 19: ; preds = %._crit_edge, %0 %20 = load i32, ptr %4, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20) %22 = load i32, ptr %2, align 4 %23 = load i32, ptr %4, align 4 %24 = call i32 @basamak_ayirma(i32 noundef %22, i32 noundef %23) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @basamak_ayirma(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp5hv6apfh.c' source_filename = "/tmp/tmp5hv6apfh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"I allocated the %3d buffer \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %14, %2 %8 = load i32, ptr %6, align 4 %9 = icmp slt i32 %8, 10 br i1 %9, label %10, label %17 10: ; preds = %7 %11 = call i32 (...) @doit() %12 = load i32, ptr %6, align 4 %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) br label %14 14: ; preds = %10 %15 = load i32, ptr %6, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %6, align 4 br label %7, !llvm.loop !6 17: ; preds = %7 %18 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @doit(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5hv6apfh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"I allocated the %3d buffer \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = icmp slt i32 %7, 10 br i1 %8, label %.lr.ph, label %18 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %13 %10 = call i32 (...) @doit() %11 = load i32, ptr %6, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %11) br label %13 13: ; preds = %9 %14 = load i32, ptr %6, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %16, 10 br i1 %17, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %18 18: ; preds = %._crit_edge, %2 %19 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @doit(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbky_8n87.c' source_filename = "/tmp/tmpbky_8n87.c" target datalayout = "e-m:e-p270: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/tmpbky_8n87.c" target datalayout = "e-m:e-p270: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/tmpt_brr7ze.c' source_filename = "/tmp/tmpt_brr7ze.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_COLOR_BUFFER_BIT = dso_local global i32 0, align 4 @GL_POLYGON = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @display() #0 { %1 = load i32, ptr @GL_COLOR_BUFFER_BIT, align 4 %2 = call i32 @glClear(i32 noundef %1) %3 = call i32 @glColor3f(float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00) %4 = load i32, ptr @GL_POLYGON, align 4 %5 = call i32 @glBegin(i32 noundef %4) %6 = call i32 @glColor3f(float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00) %7 = call i32 @glVertex3f(double noundef 2.500000e-01, double noundef 2.500000e-01, double noundef 0.000000e+00) %8 = call i32 @glColor3f(float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00) %9 = call i32 @glVertex3f(double noundef 7.500000e-01, double noundef 2.500000e-01, double noundef 0.000000e+00) %10 = call i32 @glColor3f(float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00) %11 = call i32 @glVertex3f(double noundef 7.500000e-01, double noundef 7.500000e-01, double noundef 0.000000e+00) %12 = call i32 @glColor3f(float noundef 0x3FC99999A0000000, float noundef 5.000000e-01, float noundef 0x3FB99999A0000000) %13 = call i32 @glVertex3f(double noundef 2.500000e-01, double noundef 7.500000e-01, double noundef 0.000000e+00) %14 = call i32 (...) @glEnd() %15 = call i32 (...) @glFlush() ret void } declare i32 @glClear(i32 noundef) #1 declare i32 @glColor3f(float noundef, float noundef, float noundef) #1 declare i32 @glBegin(i32 noundef) #1 declare i32 @glVertex3f(double noundef, double noundef, double noundef) #1 declare i32 @glEnd(...) #1 declare i32 @glFlush(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt_brr7ze.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_COLOR_BUFFER_BIT = dso_local global i32 0, align 4 @GL_POLYGON = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @display() #0 { %1 = load i32, ptr @GL_COLOR_BUFFER_BIT, align 4 %2 = call i32 @glClear(i32 noundef %1) %3 = call i32 @glColor3f(float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00) %4 = load i32, ptr @GL_POLYGON, align 4 %5 = call i32 @glBegin(i32 noundef %4) %6 = call i32 @glColor3f(float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00) %7 = call i32 @glVertex3f(double noundef 2.500000e-01, double noundef 2.500000e-01, double noundef 0.000000e+00) %8 = call i32 @glColor3f(float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00) %9 = call i32 @glVertex3f(double noundef 7.500000e-01, double noundef 2.500000e-01, double noundef 0.000000e+00) %10 = call i32 @glColor3f(float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00) %11 = call i32 @glVertex3f(double noundef 7.500000e-01, double noundef 7.500000e-01, double noundef 0.000000e+00) %12 = call i32 @glColor3f(float noundef 0x3FC99999A0000000, float noundef 5.000000e-01, float noundef 0x3FB99999A0000000) %13 = call i32 @glVertex3f(double noundef 2.500000e-01, double noundef 7.500000e-01, double noundef 0.000000e+00) %14 = call i32 (...) @glEnd() %15 = call i32 (...) @glFlush() ret void } declare i32 @glClear(i32 noundef) #1 declare i32 @glColor3f(float noundef, float noundef, float noundef) #1 declare i32 @glBegin(i32 noundef) #1 declare i32 @glVertex3f(double noundef, double noundef, double noundef) #1 declare i32 @glEnd(...) #1 declare i32 @glFlush(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplxztaiwt.c' source_filename = "/tmp/tmplxztaiwt.c" target datalayout = "e-m:e-p270: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/tmplxztaiwt.c" target datalayout = "e-m:e-p270: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/tmpmg7s_u9v.c' source_filename = "/tmp/tmpmg7s_u9v.c" target datalayout = "e-m:e-p270: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.passwd = type { ptr } %struct.spwd = type { i32 } @.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"Error: bad args\0A\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"Usage: %s user password [ip]\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"%Y-%m-%d %H:%M:%S \00", align 1 @.str.4 = private unnamed_addr constant [30 x i8] c"/usr/local/vesta/log/auth.log\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"a+\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"Error: can not open file %s \0A\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.8 = private unnamed_addr constant [26 x i8] c" successfully logged in \0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [27 x i8] c"Error: password missmatch\0A\00", align 1 @.str.10 = private unnamed_addr constant [19 x i8] c" failed to login \0A\00", align 1 @.str.11 = private unnamed_addr constant [21 x i8] c"Error: no such user\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca [280 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %6, align 8 %14 = load i32, ptr %4, align 4 %15 = icmp sgt i32 3, %14 br i1 %15, label %16, label %26 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %19) %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 0 %23 = load ptr, ptr %22, align 8 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %23) %25 = call i32 @exit(i32 noundef 1) #3 unreachable 26: ; preds = %2 %27 = load i32, ptr %4, align 4 %28 = icmp sle i32 4, %27 br i1 %28, label %29, label %41 29: ; preds = %26 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 3 %32 = load ptr, ptr %31, align 8 %33 = call i32 @strlen(ptr noundef %32) %34 = call i64 @malloc(i32 noundef %33) %35 = inttoptr i64 %34 to ptr store ptr %35, ptr %6, align 8 %36 = load ptr, ptr %6, align 8 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 3 %39 = load ptr, ptr %38, align 8 %40 = call i32 @strcpy(ptr noundef %36, ptr noundef %39) br label %41 41: ; preds = %29, %26 %42 = call i32 @time(ptr noundef null) store i32 %42, ptr %7, align 4 %43 = call ptr @localtime(ptr noundef %7) store ptr %43, ptr %8, align 8 %44 = getelementptr inbounds [280 x i8], ptr %9, i64 0, i64 0 %45 = load ptr, ptr %8, align 8 %46 = call i32 @strftime(ptr noundef %44, i32 noundef 100, ptr noundef @.str.3, ptr noundef %45) %47 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.5) store ptr %47, ptr %10, align 8 %48 = load ptr, ptr %10, align 8 %49 = icmp eq ptr null, %48 br i1 %49, label %50, label %56 50: ; preds = %41 %51 = load ptr, ptr %5, align 8 %52 = getelementptr inbounds ptr, ptr %51, i64 0 %53 = load ptr, ptr %52, align 8 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %53) %55 = call i32 @exit(i32 noundef 12) #3 unreachable 56: ; preds = %41 %57 = load ptr, ptr %5, align 8 %58 = getelementptr inbounds ptr, ptr %57, i64 1 %59 = load ptr, ptr %58, align 8 %60 = call ptr @getpwnam(ptr noundef %59) store ptr %60, ptr %11, align 8 %61 = load ptr, ptr %11, align 8 %62 = icmp ne ptr null, %61 br i1 %62, label %63, label %132 63: ; preds = %56 %64 = load ptr, ptr %11, align 8 %65 = getelementptr inbounds %struct.passwd, ptr %64, i32 0, i32 0 %66 = load ptr, ptr %65, align 8 %67 = call ptr @getspnam(ptr noundef %66) store ptr %67, ptr %12, align 8 %68 = load ptr, ptr %12, align 8 %69 = icmp ne ptr null, %68 br i1 %69, label %70, label %131 70: ; preds = %63 %71 = load ptr, ptr %5, align 8 %72 = getelementptr inbounds ptr, ptr %71, i64 2 %73 = load ptr, ptr %72, align 8 %74 = load ptr, ptr %12, align 8 %75 = getelementptr inbounds %struct.spwd, ptr %74, i32 0, i32 0 %76 = load i32, ptr %75, align 4 %77 = call i64 @crypt(ptr noundef %73, i32 noundef %76) %78 = inttoptr i64 %77 to ptr store ptr %78, ptr %13, align 8 %79 = load ptr, ptr %12, align 8 %80 = getelementptr inbounds %struct.spwd, ptr %79, i32 0, i32 0 %81 = load i32, ptr %80, align 4 %82 = load ptr, ptr %5, align 8 %83 = getelementptr inbounds ptr, ptr %82, i64 2 %84 = load ptr, ptr %83, align 8 %85 = load ptr, ptr %12, align 8 %86 = getelementptr inbounds %struct.spwd, ptr %85, i32 0, i32 0 %87 = load i32, ptr %86, align 4 %88 = call i64 @crypt(ptr noundef %84, i32 noundef %87) %89 = call i64 @strcmp(i32 noundef %81, i64 noundef %88) %90 = icmp eq i64 %89, 0 br i1 %90, label %91, label %111 91: ; preds = %70 %92 = getelementptr inbounds [280 x i8], ptr %9, i64 0, i64 0 %93 = load ptr, ptr %11, align 8 %94 = getelementptr inbounds %struct.passwd, ptr %93, i32 0, i32 0 %95 = load ptr, ptr %94, align 8 %96 = call i32 @strcat(ptr noundef %92, ptr noundef %95) %97 = getelementptr inbounds [280 x i8], ptr %9, i64 0, i64 0 %98 = call i32 @strcat(ptr noundef %97, ptr noundef @.str.7) %99 = getelementptr inbounds [280 x i8], ptr %9, i64 0, i64 0 %100 = load ptr, ptr %6, align 8 %101 = call i32 @strcat(ptr noundef %99, ptr noundef %100) %102 = getelementptr inbounds [280 x i8], ptr %9, i64 0, i64 0 %103 = call i32 @strcat(ptr noundef %102, ptr noundef @.str.8) %104 = getelementptr inbounds [280 x i8], ptr %9, i64 0, i64 0 %105 = load ptr, ptr %10, align 8 %106 = call i32 @fputs(ptr noundef %104, ptr noundef %105) %107 = load ptr, ptr %10, align 8 %108 = call i32 @fclose(ptr noundef %107) %109 = load i32, ptr @EXIT_SUCCESS, align 4 %110 = call i32 @exit(i32 noundef %109) #3 unreachable 111: ; preds = %70 %112 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %113 = getelementptr inbounds [280 x i8], ptr %9, i64 0, i64 0 %114 = load ptr, ptr %11, align 8 %115 = getelementptr inbounds %struct.passwd, ptr %114, i32 0, i32 0 %116 = load ptr, ptr %115, align 8 %117 = call i32 @strcat(ptr noundef %113, ptr noundef %116) %118 = getelementptr inbounds [280 x i8], ptr %9, i64 0, i64 0 %119 = call i32 @strcat(ptr noundef %118, ptr noundef @.str.7) %120 = getelementptr inbounds [280 x i8], ptr %9, i64 0, i64 0 %121 = load ptr, ptr %6, align 8 %122 = call i32 @strcat(ptr noundef %120, ptr noundef %121) %123 = getelementptr inbounds [280 x i8], ptr %9, i64 0, i64 0 %124 = call i32 @strcat(ptr noundef %123, ptr noundef @.str.10) %125 = getelementptr inbounds [280 x i8], ptr %9, i64 0, i64 0 %126 = load ptr, ptr %10, align 8 %127 = call i32 @fputs(ptr noundef %125, ptr noundef %126) %128 = load ptr, ptr %10, align 8 %129 = call i32 @fclose(ptr noundef %128) %130 = call i32 @exit(i32 noundef 9) #3 unreachable 131: ; preds = %63 br label %138 132: ; preds = %56 %133 = load ptr, ptr %5, align 8 %134 = getelementptr inbounds ptr, ptr %133, i64 1 %135 = load ptr, ptr %134, align 8 %136 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %135) %137 = call i32 @exit(i32 noundef 3) #3 unreachable 138: ; preds = %131 %139 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %139 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @getpwnam(ptr noundef) #1 declare ptr @getspnam(ptr noundef) #1 declare i64 @crypt(ptr noundef, i32 noundef) #1 declare i64 @strcmp(i32 noundef, i64 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @fputs(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpmg7s_u9v.c" target datalayout = "e-m:e-p270: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.passwd = type { ptr } %struct.spwd = type { i32 } @.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"Error: bad args\0A\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"Usage: %s user password [ip]\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"%Y-%m-%d %H:%M:%S \00", align 1 @.str.4 = private unnamed_addr constant [30 x i8] c"/usr/local/vesta/log/auth.log\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"a+\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"Error: can not open file %s \0A\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.8 = private unnamed_addr constant [26 x i8] c" successfully logged in \0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [27 x i8] c"Error: password missmatch\0A\00", align 1 @.str.10 = private unnamed_addr constant [19 x i8] c" failed to login \0A\00", align 1 @.str.11 = private unnamed_addr constant [21 x i8] c"Error: no such user\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca [280 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %6, align 8 %14 = load i32, ptr %4, align 4 %15 = icmp sgt i32 3, %14 br i1 %15, label %16, label %26 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %19) %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 0 %23 = load ptr, ptr %22, align 8 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %23) %25 = call i32 @exit(i32 noundef 1) #3 unreachable 26: ; preds = %2 %27 = load i32, ptr %4, align 4 %28 = icmp sle i32 4, %27 br i1 %28, label %29, label %41 29: ; preds = %26 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 3 %32 = load ptr, ptr %31, align 8 %33 = call i32 @strlen(ptr noundef %32) %34 = call i64 @malloc(i32 noundef %33) %35 = inttoptr i64 %34 to ptr store ptr %35, ptr %6, align 8 %36 = load ptr, ptr %6, align 8 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 3 %39 = load ptr, ptr %38, align 8 %40 = call i32 @strcpy(ptr noundef %36, ptr noundef %39) br label %41 41: ; preds = %29, %26 %42 = call i32 @time(ptr noundef null) store i32 %42, ptr %7, align 4 %43 = call ptr @localtime(ptr noundef %7) store ptr %43, ptr %8, align 8 %44 = getelementptr inbounds [280 x i8], ptr %9, i64 0, i64 0 %45 = load ptr, ptr %8, align 8 %46 = call i32 @strftime(ptr noundef %44, i32 noundef 100, ptr noundef @.str.3, ptr noundef %45) %47 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.5) store ptr %47, ptr %10, align 8 %48 = load ptr, ptr %10, align 8 %49 = icmp eq ptr null, %48 br i1 %49, label %50, label %56 50: ; preds = %41 %51 = load ptr, ptr %5, align 8 %52 = getelementptr inbounds ptr, ptr %51, i64 0 %53 = load ptr, ptr %52, align 8 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %53) %55 = call i32 @exit(i32 noundef 12) #3 unreachable 56: ; preds = %41 %57 = load ptr, ptr %5, align 8 %58 = getelementptr inbounds ptr, ptr %57, i64 1 %59 = load ptr, ptr %58, align 8 %60 = call ptr @getpwnam(ptr noundef %59) store ptr %60, ptr %11, align 8 %61 = load ptr, ptr %11, align 8 %62 = icmp ne ptr null, %61 br i1 %62, label %63, label %132 63: ; preds = %56 %64 = load ptr, ptr %11, align 8 %65 = getelementptr inbounds %struct.passwd, ptr %64, i32 0, i32 0 %66 = load ptr, ptr %65, align 8 %67 = call ptr @getspnam(ptr noundef %66) store ptr %67, ptr %12, align 8 %68 = load ptr, ptr %12, align 8 %69 = icmp ne ptr null, %68 br i1 %69, label %70, label %131 70: ; preds = %63 %71 = load ptr, ptr %5, align 8 %72 = getelementptr inbounds ptr, ptr %71, i64 2 %73 = load ptr, ptr %72, align 8 %74 = load ptr, ptr %12, align 8 %75 = getelementptr inbounds %struct.spwd, ptr %74, i32 0, i32 0 %76 = load i32, ptr %75, align 4 %77 = call i64 @crypt(ptr noundef %73, i32 noundef %76) %78 = inttoptr i64 %77 to ptr store ptr %78, ptr %13, align 8 %79 = load ptr, ptr %12, align 8 %80 = getelementptr inbounds %struct.spwd, ptr %79, i32 0, i32 0 %81 = load i32, ptr %80, align 4 %82 = load ptr, ptr %5, align 8 %83 = getelementptr inbounds ptr, ptr %82, i64 2 %84 = load ptr, ptr %83, align 8 %85 = load ptr, ptr %12, align 8 %86 = getelementptr inbounds %struct.spwd, ptr %85, i32 0, i32 0 %87 = load i32, ptr %86, align 4 %88 = call i64 @crypt(ptr noundef %84, i32 noundef %87) %89 = call i64 @strcmp(i32 noundef %81, i64 noundef %88) %90 = icmp eq i64 %89, 0 br i1 %90, label %91, label %111 91: ; preds = %70 %92 = getelementptr inbounds [280 x i8], ptr %9, i64 0, i64 0 %93 = load ptr, ptr %11, align 8 %94 = getelementptr inbounds %struct.passwd, ptr %93, i32 0, i32 0 %95 = load ptr, ptr %94, align 8 %96 = call i32 @strcat(ptr noundef %92, ptr noundef %95) %97 = getelementptr inbounds [280 x i8], ptr %9, i64 0, i64 0 %98 = call i32 @strcat(ptr noundef %97, ptr noundef @.str.7) %99 = getelementptr inbounds [280 x i8], ptr %9, i64 0, i64 0 %100 = load ptr, ptr %6, align 8 %101 = call i32 @strcat(ptr noundef %99, ptr noundef %100) %102 = getelementptr inbounds [280 x i8], ptr %9, i64 0, i64 0 %103 = call i32 @strcat(ptr noundef %102, ptr noundef @.str.8) %104 = getelementptr inbounds [280 x i8], ptr %9, i64 0, i64 0 %105 = load ptr, ptr %10, align 8 %106 = call i32 @fputs(ptr noundef %104, ptr noundef %105) %107 = load ptr, ptr %10, align 8 %108 = call i32 @fclose(ptr noundef %107) %109 = load i32, ptr @EXIT_SUCCESS, align 4 %110 = call i32 @exit(i32 noundef %109) #3 unreachable 111: ; preds = %70 %112 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %113 = getelementptr inbounds [280 x i8], ptr %9, i64 0, i64 0 %114 = load ptr, ptr %11, align 8 %115 = getelementptr inbounds %struct.passwd, ptr %114, i32 0, i32 0 %116 = load ptr, ptr %115, align 8 %117 = call i32 @strcat(ptr noundef %113, ptr noundef %116) %118 = getelementptr inbounds [280 x i8], ptr %9, i64 0, i64 0 %119 = call i32 @strcat(ptr noundef %118, ptr noundef @.str.7) %120 = getelementptr inbounds [280 x i8], ptr %9, i64 0, i64 0 %121 = load ptr, ptr %6, align 8 %122 = call i32 @strcat(ptr noundef %120, ptr noundef %121) %123 = getelementptr inbounds [280 x i8], ptr %9, i64 0, i64 0 %124 = call i32 @strcat(ptr noundef %123, ptr noundef @.str.10) %125 = getelementptr inbounds [280 x i8], ptr %9, i64 0, i64 0 %126 = load ptr, ptr %10, align 8 %127 = call i32 @fputs(ptr noundef %125, ptr noundef %126) %128 = load ptr, ptr %10, align 8 %129 = call i32 @fclose(ptr noundef %128) %130 = call i32 @exit(i32 noundef 9) #3 unreachable 131: ; preds = %63 br label %138 132: ; preds = %56 %133 = load ptr, ptr %5, align 8 %134 = getelementptr inbounds ptr, ptr %133, i64 1 %135 = load ptr, ptr %134, align 8 %136 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %135) %137 = call i32 @exit(i32 noundef 3) #3 unreachable 138: ; preds = %131 %139 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %139 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @getpwnam(ptr noundef) #1 declare ptr @getspnam(ptr noundef) #1 declare i64 @crypt(ptr noundef, i32 noundef) #1 declare i64 @strcmp(i32 noundef, i64 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @fputs(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpp0l0eg9x.c' source_filename = "/tmp/tmpp0l0eg9x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"------------------\0A\00", align 1 @.str.1 = private unnamed_addr constant [58 x i8] c"| Reez Patel |\0A| 512,UB |\0A| Chennai-602302 |\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 @printf(ptr noundef @.str.1) %4 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp0l0eg9x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"------------------\0A\00", align 1 @.str.1 = private unnamed_addr constant [58 x i8] c"| Reez Patel |\0A| 512,UB |\0A| Chennai-602302 |\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 @printf(ptr noundef @.str.1) %4 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw5s1c8xf.c' source_filename = "/tmp/tmpw5s1c8xf.c" target datalayout = "e-m:e-p270: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/tmpw5s1c8xf.c" target datalayout = "e-m:e-p270: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/tmpzx5dgxr0.c' source_filename = "/tmp/tmpzx5dgxr0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A%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 %3 = alloca [101 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca [51 x i32], align 16 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %4, align 4 store i32 0, ptr %13, align 4 store i32 -1, ptr %16, align 4 store i32 0, ptr %17, align 4 %19 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %5, align 4 br label %20 20: ; preds = %29, %0 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %2, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %32 24: ; preds = %20 %25 = load i32, ptr %5, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %26 %28 = call i32 @scanf(ptr noundef @.str, ptr noundef %27) br label %29 29: ; preds = %24 %30 = load i32, ptr %5, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %5, align 4 br label %20, !llvm.loop !6 32: ; preds = %20 store i32 0, ptr %5, align 4 br label %33 33: ; preds = %97, %32 %34 = load i32, ptr %5, align 4 %35 = load i32, ptr %2, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %37, label %100 37: ; preds = %33 store i32 0, ptr %11, align 4 %38 = load i32, ptr %5, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %39 %41 = load i32, ptr %40, align 4 %42 = icmp slt i32 %41, 0 br i1 %42, label %43, label %67 43: ; preds = %37 %44 = load i32, ptr %2, align 4 %45 = sub nsw i32 %44, 1 store i32 %45, ptr %6, align 4 br label %46 46: ; preds = %63, %43 %47 = load i32, ptr %6, align 4 %48 = load i32, ptr %5, align 4 %49 = icmp sgt i32 %47, %48 br i1 %49, label %50, label %66 50: ; preds = %46 %51 = load i32, ptr %5, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %52 %54 = load i32, ptr %53, align 4 %55 = load i32, ptr %6, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %56 %58 = load i32, ptr %57, align 4 %59 = sub nsw i32 0, %58 %60 = icmp eq i32 %54, %59 br i1 %60, label %61, label %62 61: ; preds = %50 store i32 1, ptr %11, align 4 br label %66 62: ; preds = %50 br label %63 63: ; preds = %62 %64 = load i32, ptr %6, align 4 %65 = add nsw i32 %64, -1 store i32 %65, ptr %6, align 4 br label %46, !llvm.loop !8 66: ; preds = %61, %46 br label %89 67: ; preds = %37 store i32 0, ptr %6, align 4 br label %68 68: ; preds = %85, %67 %69 = load i32, ptr %6, align 4 %70 = load i32, ptr %5, align 4 %71 = icmp slt i32 %69, %70 br i1 %71, label %72, label %88 72: ; preds = %68 %73 = load i32, ptr %5, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %74 %76 = load i32, ptr %75, align 4 %77 = load i32, ptr %6, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %78 %80 = load i32, ptr %79, align 4 %81 = sub nsw i32 0, %80 %82 = icmp eq i32 %76, %81 br i1 %82, label %83, label %84 83: ; preds = %72 store i32 1, ptr %11, align 4 br label %88 84: ; preds = %72 br label %85 85: ; preds = %84 %86 = load i32, ptr %6, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %6, align 4 br label %68, !llvm.loop !9 88: ; preds = %83, %68 br label %89 89: ; preds = %88, %66 %90 = load i32, ptr %11, align 4 %91 = icmp ne i32 %90, 0 br i1 %91, label %96, label %92 92: ; preds = %89 %93 = load i32, ptr %5, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %94 store i32 0, ptr %95, align 4 br label %96 96: ; preds = %92, %89 br label %97 97: ; preds = %96 %98 = load i32, ptr %5, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %5, align 4 br label %33, !llvm.loop !10 100: ; preds = %33 store i32 0, ptr %5, align 4 br label %101 101: ; preds = %143, %100 %102 = load i32, ptr %5, align 4 %103 = load i32, ptr %2, align 4 %104 = icmp slt i32 %102, %103 br i1 %104, label %105, label %146 105: ; preds = %101 %106 = load i32, ptr %5, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %107 %109 = load i32, ptr %108, align 4 %110 = icmp eq i32 %109, 0 br i1 %110, label %111, label %133 111: ; preds = %105 %112 = load i32, ptr %5, align 4 store i32 %112, ptr %6, align 4 br label %113 113: ; preds = %127, %111 %114 = load i32, ptr %6, align 4 %115 = load i32, ptr %2, align 4 %116 = sub nsw i32 %115, 1 %117 = icmp slt i32 %114, %116 br i1 %117, label %118, label %130 118: ; preds = %113 %119 = load i32, ptr %6, align 4 %120 = add nsw i32 %119, 1 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %121 %123 = load i32, ptr %122, align 4 %124 = load i32, ptr %6, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %125 store i32 %123, ptr %126, align 4 br label %127 127: ; preds = %118 %128 = load i32, ptr %6, align 4 %129 = add nsw i32 %128, 1 store i32 %129, ptr %6, align 4 br label %113, !llvm.loop !11 130: ; preds = %113 %131 = load i32, ptr %2, align 4 %132 = add nsw i32 %131, -1 store i32 %132, ptr %2, align 4 br label %133 133: ; preds = %130, %105 %134 = load i32, ptr %5, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %135 %137 = load i32, ptr %136, align 4 %138 = icmp eq i32 %137, 0 br i1 %138, label %139, label %142 139: ; preds = %133 %140 = load i32, ptr %5, align 4 %141 = add nsw i32 %140, -1 store i32 %141, ptr %5, align 4 br label %142 142: ; preds = %139, %133 br label %143 143: ; preds = %142 %144 = load i32, ptr %5, align 4 %145 = add nsw i32 %144, 1 store i32 %145, ptr %5, align 4 br label %101, !llvm.loop !12 146: ; preds = %101 %147 = load i32, ptr %2, align 4 %148 = sub nsw i32 %147, 1 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %149 %151 = load i32, ptr %150, align 4 %152 = icmp eq i32 %151, 0 br i1 %152, label %153, label %156 153: ; preds = %146 %154 = load i32, ptr %2, align 4 %155 = add nsw i32 %154, -1 store i32 %155, ptr %2, align 4 br label %156 156: ; preds = %153, %146 %157 = load i32, ptr %2, align 4 %158 = sdiv i32 %157, 2 %159 = call i32 @pow(i32 noundef 2, i32 noundef %158) store i32 %159, ptr %18, align 4 store i32 0, ptr %5, align 4 br label %160 160: ; preds = %224, %156 %161 = load i32, ptr %5, align 4 %162 = load i32, ptr %2, align 4 %163 = icmp slt i32 %161, %162 br i1 %163, label %164, label %227 164: ; preds = %160 br label %165 165: ; preds = %177, %164 %166 = load i32, ptr %5, align 4 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %167 %169 = load i32, ptr %168, align 4 %170 = icmp slt i32 %169, 0 br i1 %170, label %171, label %175 171: ; preds = %165 %172 = load i32, ptr %5, align 4 %173 = load i32, ptr %2, align 4 %174 = icmp slt i32 %172, %173 br label %175 175: ; preds = %171, %165 %176 = phi i1 [ false, %165 ], [ %174, %171 ] br i1 %176, label %177, label %180 177: ; preds = %175 %178 = load i32, ptr %5, align 4 %179 = add nsw i32 %178, 1 store i32 %179, ptr %5, align 4 br label %165, !llvm.loop !13 180: ; preds = %175 %181 = load i32, ptr %5, align 4 %182 = sub nsw i32 %181, 1 store i32 %182, ptr %6, align 4 br label %183 183: ; preds = %214, %180 %184 = load i32, ptr %6, align 4 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %185 %187 = load i32, ptr %186, align 4 %188 = load i32, ptr %5, align 4 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %189 %191 = load i32, ptr %190, align 4 %192 = sub nsw i32 0, %191 %193 = icmp eq i32 %187, %192 br i1 %193, label %194, label %200 194: ; preds = %183 %195 = load i32, ptr %6, align 4 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %196 %198 = load i32, ptr %197, align 4 %199 = icmp ne i32 %198, 0 br i1 %199, label %203, label %200 200: ; preds = %194, %183 %201 = load i32, ptr %6, align 4 %202 = icmp sge i32 %201, 0 br label %203 203: ; preds = %200, %194 %204 = phi i1 [ false, %194 ], [ %202, %200 ] br i1 %204, label %205, label %217 205: ; preds = %203 %206 = load i32, ptr %6, align 4 %207 = sext i32 %206 to i64 %208 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %207 %209 = load i32, ptr %208, align 4 %210 = icmp ne i32 %209, 0 br i1 %210, label %211, label %214 211: ; preds = %205 %212 = load i32, ptr %17, align 4 %213 = add nsw i32 %212, 1 store i32 %213, ptr %17, align 4 br label %214 214: ; preds = %211, %205 %215 = load i32, ptr %6, align 4 %216 = add nsw i32 %215, -1 store i32 %216, ptr %6, align 4 br label %183, !llvm.loop !14 217: ; preds = %203 %218 = load i32, ptr %6, align 4 %219 = sext i32 %218 to i64 %220 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %219 store i32 0, ptr %220, align 4 %221 = load i32, ptr %5, align 4 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %222 store i32 0, ptr %223, align 4 br label %224 224: ; preds = %217 %225 = load i32, ptr %5, align 4 %226 = add nsw i32 %225, 1 store i32 %226, ptr %5, align 4 br label %160, !llvm.loop !15 227: ; preds = %160 store i32 0, ptr %5, align 4 br label %228 228: ; preds = %291, %227 %229 = load i32, ptr %5, align 4 %230 = load i32, ptr %2, align 4 %231 = sdiv i32 %230, 2 %232 = icmp sle i32 %229, %231 br i1 %232, label %233, label %294 233: ; preds = %228 store i32 1, ptr %4, align 4 %234 = load i32, ptr %2, align 4 %235 = sdiv i32 %234, 2 store i32 %235, ptr %6, align 4 br label %236 236: ; preds = %240, %233 %237 = load i32, ptr %6, align 4 %238 = add nsw i32 %237, -1 store i32 %238, ptr %6, align 4 %239 = icmp ne i32 %237, 0 br i1 %239, label %240, label %245 240: ; preds = %236 %241 = load i32, ptr %4, align 4 %242 = load i32, ptr %6, align 4 %243 = add nsw i32 %242, 1 %244 = mul nsw i32 %241, %243 store i32 %244, ptr %4, align 4 br label %236, !llvm.loop !16 245: ; preds = %236 %246 = load i32, ptr %5, align 4 store i32 %246, ptr %6, align 4 br label %247 247: ; preds = %251, %245 %248 = load i32, ptr %6, align 4 %249 = add nsw i32 %248, -1 store i32 %249, ptr %6, align 4 %250 = icmp ne i32 %248, 0 br i1 %250, label %251, label %256 251: ; preds = %247 %252 = load i32, ptr %4, align 4 %253 = load i32, ptr %6, align 4 %254 = add nsw i32 %253, 1 %255 = sdiv i32 %252, %254 store i32 %255, ptr %4, align 4 br label %247, !llvm.loop !17 256: ; preds = %247 %257 = load i32, ptr %2, align 4 %258 = sdiv i32 %257, 2 %259 = load i32, ptr %5, align 4 %260 = sub nsw i32 %258, %259 store i32 %260, ptr %6, align 4 br label %261 261: ; preds = %265, %256 %262 = load i32, ptr %6, align 4 %263 = add nsw i32 %262, -1 store i32 %263, ptr %6, align 4 %264 = icmp ne i32 %262, 0 br i1 %264, label %265, label %270 265: ; preds = %261 %266 = load i32, ptr %4, align 4 %267 = load i32, ptr %6, align 4 %268 = add nsw i32 %267, 1 %269 = sdiv i32 %266, %268 store i32 %269, ptr %4, align 4 br label %261, !llvm.loop !18 270: ; preds = %261 %271 = load i32, ptr %5, align 4 %272 = icmp sgt i32 %271, 1 br i1 %272, label %273, label %287 273: ; preds = %270 %274 = load i32, ptr %4, align 4 %275 = load i32, ptr %17, align 4 %276 = icmp sge i32 %274, %275 br i1 %276, label %277, label %282 277: ; preds = %273 %278 = load i32, ptr %14, align 4 %279 = load i32, ptr %17, align 4 %280 = add nsw i32 %279, 1 store i32 %280, ptr %17, align 4 %281 = sub nsw i32 %278, %279 store i32 %281, ptr %14, align 4 br label %286 282: ; preds = %273 %283 = load i32, ptr %14, align 4 %284 = load i32, ptr %4, align 4 %285 = sub nsw i32 %283, %284 store i32 %285, ptr %14, align 4 br label %286 286: ; preds = %282, %277 br label %287 287: ; preds = %286, %270 %288 = load i32, ptr %4, align 4 %289 = load i32, ptr %14, align 4 %290 = add nsw i32 %289, %288 store i32 %290, ptr %14, align 4 br label %291 291: ; preds = %287 %292 = load i32, ptr %5, align 4 %293 = add nsw i32 %292, 1 store i32 %293, ptr %5, align 4 br label %228, !llvm.loop !19 294: ; preds = %228 %295 = load i32, ptr %14, align 4 %296 = call i32 @printf(ptr noundef @.str.1, i32 noundef %295) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @pow(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7} !19 = distinct !{!19, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzx5dgxr0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A%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 %3 = alloca [101 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca [51 x i32], align 16 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %4, align 4 store i32 0, ptr %13, align 4 store i32 -1, ptr %16, align 4 store i32 0, ptr %17, align 4 %19 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %2, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph, label %34 .lr.ph: ; preds = %0 br label %23 23: ; preds = %.lr.ph, %28 %24 = load i32, ptr %5, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %25 %27 = call i32 @scanf(ptr noundef @.str, ptr noundef %26) br label %28 28: ; preds = %23 %29 = load i32, ptr %5, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %5, align 4 %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %2, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %0 store i32 0, ptr %5, align 4 %35 = load i32, ptr %5, align 4 %36 = load i32, ptr %2, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %.lr.ph7, label %108 .lr.ph7: ; preds = %34 br label %38 38: ; preds = %.lr.ph7, %102 store i32 0, ptr %11, align 4 %39 = load i32, ptr %5, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %40 %42 = load i32, ptr %41, align 4 %43 = icmp slt i32 %42, 0 br i1 %43, label %44, label %70 44: ; preds = %38 %45 = load i32, ptr %2, align 4 %46 = sub nsw i32 %45, 1 store i32 %46, ptr %6, align 4 %47 = load i32, ptr %6, align 4 %48 = load i32, ptr %5, align 4 %49 = icmp sgt i32 %47, %48 br i1 %49, label %.lr.ph5, label %.loopexit .lr.ph5: ; preds = %44 br label %50 50: ; preds = %.lr.ph5, %63 %51 = load i32, ptr %5, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %52 %54 = load i32, ptr %53, align 4 %55 = load i32, ptr %6, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %56 %58 = load i32, ptr %57, align 4 %59 = sub nsw i32 0, %58 %60 = icmp eq i32 %54, %59 br i1 %60, label %61, label %62 61: ; preds = %50 store i32 1, ptr %11, align 4 br label %69 62: ; preds = %50 br label %63 63: ; preds = %62 %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 %5, align 4 %68 = icmp sgt i32 %66, %67 br i1 %68, label %50, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %63 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %44 br label %69 69: ; preds = %.loopexit, %61 br label %94 70: ; preds = %38 store i32 0, ptr %6, align 4 %71 = load i32, ptr %6, align 4 %72 = load i32, ptr %5, align 4 %73 = icmp slt i32 %71, %72 br i1 %73, label %.lr.ph3, label %.loopexit1 .lr.ph3: ; preds = %70 br label %74 74: ; preds = %.lr.ph3, %87 %75 = load i32, ptr %5, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %76 %78 = load i32, ptr %77, align 4 %79 = load i32, ptr %6, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %80 %82 = load i32, ptr %81, align 4 %83 = sub nsw i32 0, %82 %84 = icmp eq i32 %78, %83 br i1 %84, label %85, label %86 85: ; preds = %74 store i32 1, ptr %11, align 4 br label %93 86: ; preds = %74 br label %87 87: ; preds = %86 %88 = load i32, ptr %6, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %6, align 4 %90 = load i32, ptr %6, align 4 %91 = load i32, ptr %5, align 4 %92 = icmp slt i32 %90, %91 br i1 %92, label %74, label %..loopexit1_crit_edge, !llvm.loop !9 ..loopexit1_crit_edge: ; preds = %87 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %70 br label %93 93: ; preds = %.loopexit1, %85 br label %94 94: ; preds = %93, %69 %95 = load i32, ptr %11, align 4 %96 = icmp ne i32 %95, 0 br i1 %96, label %101, label %97 97: ; preds = %94 %98 = load i32, ptr %5, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %99 store i32 0, ptr %100, align 4 br label %101 101: ; preds = %97, %94 br label %102 102: ; preds = %101 %103 = load i32, ptr %5, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %5, align 4 %105 = load i32, ptr %5, align 4 %106 = load i32, ptr %2, align 4 %107 = icmp slt i32 %105, %106 br i1 %107, label %38, label %._crit_edge8, !llvm.loop !10 ._crit_edge8: ; preds = %102 br label %108 108: ; preds = %._crit_edge8, %34 store i32 0, ptr %5, align 4 %109 = load i32, ptr %5, align 4 %110 = load i32, ptr %2, align 4 %111 = icmp slt i32 %109, %110 br i1 %111, label %.lr.ph13, label %159 .lr.ph13: ; preds = %108 br label %112 112: ; preds = %.lr.ph13, %153 %113 = load i32, ptr %5, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %114 %116 = load i32, ptr %115, align 4 %117 = icmp eq i32 %116, 0 br i1 %117, label %118, label %143 118: ; preds = %112 %119 = load i32, ptr %5, align 4 store i32 %119, ptr %6, align 4 %120 = load i32, ptr %6, align 4 %121 = load i32, ptr %2, align 4 %122 = sub nsw i32 %121, 1 %123 = icmp slt i32 %120, %122 br i1 %123, label %.lr.ph10, label %140 .lr.ph10: ; preds = %118 br label %124 124: ; preds = %.lr.ph10, %133 %125 = load i32, ptr %6, align 4 %126 = add nsw i32 %125, 1 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %127 %129 = load i32, ptr %128, align 4 %130 = load i32, ptr %6, align 4 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %131 store i32 %129, ptr %132, align 4 br label %133 133: ; preds = %124 %134 = load i32, ptr %6, align 4 %135 = add nsw i32 %134, 1 store i32 %135, ptr %6, align 4 %136 = load i32, ptr %6, align 4 %137 = load i32, ptr %2, align 4 %138 = sub nsw i32 %137, 1 %139 = icmp slt i32 %136, %138 br i1 %139, label %124, label %._crit_edge11, !llvm.loop !11 ._crit_edge11: ; preds = %133 br label %140 140: ; preds = %._crit_edge11, %118 %141 = load i32, ptr %2, align 4 %142 = add nsw i32 %141, -1 store i32 %142, ptr %2, align 4 br label %143 143: ; preds = %140, %112 %144 = load i32, ptr %5, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %145 %147 = load i32, ptr %146, align 4 %148 = icmp eq i32 %147, 0 br i1 %148, label %149, label %152 149: ; preds = %143 %150 = load i32, ptr %5, align 4 %151 = add nsw i32 %150, -1 store i32 %151, ptr %5, align 4 br label %152 152: ; preds = %149, %143 br label %153 153: ; preds = %152 %154 = load i32, ptr %5, align 4 %155 = add nsw i32 %154, 1 store i32 %155, ptr %5, align 4 %156 = load i32, ptr %5, align 4 %157 = load i32, ptr %2, align 4 %158 = icmp slt i32 %156, %157 br i1 %158, label %112, label %._crit_edge14, !llvm.loop !12 ._crit_edge14: ; preds = %153 br label %159 159: ; preds = %._crit_edge14, %108 %160 = load i32, ptr %2, align 4 %161 = sub nsw i32 %160, 1 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %162 %164 = load i32, ptr %163, align 4 %165 = icmp eq i32 %164, 0 br i1 %165, label %166, label %169 166: ; preds = %159 %167 = load i32, ptr %2, align 4 %168 = add nsw i32 %167, -1 store i32 %168, ptr %2, align 4 br label %169 169: ; preds = %166, %159 %170 = load i32, ptr %2, align 4 %171 = sdiv i32 %170, 2 %172 = call i32 @pow(i32 noundef 2, i32 noundef %171) store i32 %172, ptr %18, align 4 store i32 0, ptr %5, align 4 %173 = load i32, ptr %5, align 4 %174 = load i32, ptr %2, align 4 %175 = icmp slt i32 %173, %174 br i1 %175, label %.lr.ph16, label %242 .lr.ph16: ; preds = %169 br label %176 176: ; preds = %.lr.ph16, %236 br label %177 177: ; preds = %189, %176 %178 = load i32, ptr %5, align 4 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %179 %181 = load i32, ptr %180, align 4 %182 = icmp slt i32 %181, 0 br i1 %182, label %183, label %187 183: ; preds = %177 %184 = load i32, ptr %5, align 4 %185 = load i32, ptr %2, align 4 %186 = icmp slt i32 %184, %185 br label %187 187: ; preds = %183, %177 %188 = phi i1 [ false, %177 ], [ %186, %183 ] br i1 %188, label %189, label %192 189: ; preds = %187 %190 = load i32, ptr %5, align 4 %191 = add nsw i32 %190, 1 store i32 %191, ptr %5, align 4 br label %177, !llvm.loop !13 192: ; preds = %187 %193 = load i32, ptr %5, align 4 %194 = sub nsw i32 %193, 1 store i32 %194, ptr %6, align 4 br label %195 195: ; preds = %226, %192 %196 = load i32, ptr %6, align 4 %197 = sext i32 %196 to i64 %198 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %197 %199 = load i32, ptr %198, align 4 %200 = load i32, ptr %5, align 4 %201 = sext i32 %200 to i64 %202 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %201 %203 = load i32, ptr %202, align 4 %204 = sub nsw i32 0, %203 %205 = icmp eq i32 %199, %204 br i1 %205, label %206, label %212 206: ; preds = %195 %207 = load i32, ptr %6, align 4 %208 = sext i32 %207 to i64 %209 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %208 %210 = load i32, ptr %209, align 4 %211 = icmp ne i32 %210, 0 br i1 %211, label %215, label %212 212: ; preds = %206, %195 %213 = load i32, ptr %6, align 4 %214 = icmp sge i32 %213, 0 br label %215 215: ; preds = %212, %206 %216 = phi i1 [ false, %206 ], [ %214, %212 ] br i1 %216, label %217, label %229 217: ; preds = %215 %218 = load i32, ptr %6, align 4 %219 = sext i32 %218 to i64 %220 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %219 %221 = load i32, ptr %220, align 4 %222 = icmp ne i32 %221, 0 br i1 %222, label %223, label %226 223: ; preds = %217 %224 = load i32, ptr %17, align 4 %225 = add nsw i32 %224, 1 store i32 %225, ptr %17, align 4 br label %226 226: ; preds = %223, %217 %227 = load i32, ptr %6, align 4 %228 = add nsw i32 %227, -1 store i32 %228, ptr %6, align 4 br label %195, !llvm.loop !14 229: ; preds = %215 %230 = load i32, ptr %6, align 4 %231 = sext i32 %230 to i64 %232 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %231 store i32 0, ptr %232, align 4 %233 = load i32, ptr %5, align 4 %234 = sext i32 %233 to i64 %235 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %234 store i32 0, ptr %235, align 4 br label %236 236: ; preds = %229 %237 = load i32, ptr %5, align 4 %238 = add nsw i32 %237, 1 store i32 %238, ptr %5, align 4 %239 = load i32, ptr %5, align 4 %240 = load i32, ptr %2, align 4 %241 = icmp slt i32 %239, %240 br i1 %241, label %176, label %._crit_edge17, !llvm.loop !15 ._crit_edge17: ; preds = %236 br label %242 242: ; preds = %._crit_edge17, %169 store i32 0, ptr %5, align 4 %243 = load i32, ptr %5, align 4 %244 = load i32, ptr %2, align 4 %245 = sdiv i32 %244, 2 %246 = icmp sle i32 %243, %245 br i1 %246, label %.lr.ph28, label %318 .lr.ph28: ; preds = %242 br label %247 247: ; preds = %.lr.ph28, %311 store i32 1, ptr %4, align 4 %248 = load i32, ptr %2, align 4 %249 = sdiv i32 %248, 2 store i32 %249, ptr %6, align 4 %250 = load i32, ptr %6, align 4 %251 = add nsw i32 %250, -1 store i32 %251, ptr %6, align 4 %252 = icmp ne i32 %250, 0 br i1 %252, label %.lr.ph19, label %261 .lr.ph19: ; preds = %247 br label %253 253: ; preds = %.lr.ph19, %253 %254 = load i32, ptr %4, align 4 %255 = load i32, ptr %6, align 4 %256 = add nsw i32 %255, 1 %257 = mul nsw i32 %254, %256 store i32 %257, ptr %4, align 4 %258 = load i32, ptr %6, align 4 %259 = add nsw i32 %258, -1 store i32 %259, ptr %6, align 4 %260 = icmp ne i32 %258, 0 br i1 %260, label %253, label %._crit_edge20, !llvm.loop !16 ._crit_edge20: ; preds = %253 br label %261 261: ; preds = %._crit_edge20, %247 %262 = load i32, ptr %5, align 4 store i32 %262, ptr %6, align 4 %263 = load i32, ptr %6, align 4 %264 = add nsw i32 %263, -1 store i32 %264, ptr %6, align 4 %265 = icmp ne i32 %263, 0 br i1 %265, label %.lr.ph22, label %274 .lr.ph22: ; preds = %261 br label %266 266: ; preds = %.lr.ph22, %266 %267 = load i32, ptr %4, align 4 %268 = load i32, ptr %6, align 4 %269 = add nsw i32 %268, 1 %270 = sdiv i32 %267, %269 store i32 %270, ptr %4, align 4 %271 = load i32, ptr %6, align 4 %272 = add nsw i32 %271, -1 store i32 %272, ptr %6, align 4 %273 = icmp ne i32 %271, 0 br i1 %273, label %266, label %._crit_edge23, !llvm.loop !17 ._crit_edge23: ; preds = %266 br label %274 274: ; preds = %._crit_edge23, %261 %275 = load i32, ptr %2, align 4 %276 = sdiv i32 %275, 2 %277 = load i32, ptr %5, align 4 %278 = sub nsw i32 %276, %277 store i32 %278, ptr %6, align 4 %279 = load i32, ptr %6, align 4 %280 = add nsw i32 %279, -1 store i32 %280, ptr %6, align 4 %281 = icmp ne i32 %279, 0 br i1 %281, label %.lr.ph25, label %290 .lr.ph25: ; preds = %274 br label %282 282: ; preds = %.lr.ph25, %282 %283 = load i32, ptr %4, align 4 %284 = load i32, ptr %6, align 4 %285 = add nsw i32 %284, 1 %286 = sdiv i32 %283, %285 store i32 %286, ptr %4, align 4 %287 = load i32, ptr %6, align 4 %288 = add nsw i32 %287, -1 store i32 %288, ptr %6, align 4 %289 = icmp ne i32 %287, 0 br i1 %289, label %282, label %._crit_edge26, !llvm.loop !18 ._crit_edge26: ; preds = %282 br label %290 290: ; preds = %._crit_edge26, %274 %291 = load i32, ptr %5, align 4 %292 = icmp sgt i32 %291, 1 br i1 %292, label %293, label %307 293: ; preds = %290 %294 = load i32, ptr %4, align 4 %295 = load i32, ptr %17, align 4 %296 = icmp sge i32 %294, %295 br i1 %296, label %297, label %302 297: ; preds = %293 %298 = load i32, ptr %14, align 4 %299 = load i32, ptr %17, align 4 %300 = add nsw i32 %299, 1 store i32 %300, ptr %17, align 4 %301 = sub nsw i32 %298, %299 store i32 %301, ptr %14, align 4 br label %306 302: ; preds = %293 %303 = load i32, ptr %14, align 4 %304 = load i32, ptr %4, align 4 %305 = sub nsw i32 %303, %304 store i32 %305, ptr %14, align 4 br label %306 306: ; preds = %302, %297 br label %307 307: ; preds = %306, %290 %308 = load i32, ptr %4, align 4 %309 = load i32, ptr %14, align 4 %310 = add nsw i32 %309, %308 store i32 %310, ptr %14, align 4 br label %311 311: ; preds = %307 %312 = load i32, ptr %5, align 4 %313 = add nsw i32 %312, 1 store i32 %313, ptr %5, align 4 %314 = load i32, ptr %5, align 4 %315 = load i32, ptr %2, align 4 %316 = sdiv i32 %315, 2 %317 = icmp sle i32 %314, %316 br i1 %317, label %247, label %._crit_edge29, !llvm.loop !19 ._crit_edge29: ; preds = %311 br label %318 318: ; preds = %._crit_edge29, %242 %319 = load i32, ptr %14, align 4 %320 = call i32 @printf(ptr noundef @.str.1, i32 noundef %319) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @pow(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7} !19 = distinct !{!19, !7}
; ModuleID = '/tmp/tmp6ngknmyv.c' source_filename = "/tmp/tmp6ngknmyv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cis_fun_short(i16 noundef signext %0) #0 { %2 = alloca i16, align 2 store i16 %0, ptr %2, align 2 %3 = load i16, ptr %2, align 2 %4 = call i32 @cosf(i16 noundef signext %3) %5 = call i32 @roundf(i32 noundef %4) %6 = load i16, ptr %2, align 2 %7 = call i32 @sinf(i16 noundef signext %6) %8 = call i32 @roundf(i32 noundef %7) %9 = call i32 @_pack2(i32 noundef %5, i32 noundef %8) ret i32 %9 } declare i32 @_pack2(i32 noundef, i32 noundef) #1 declare i32 @roundf(i32 noundef) #1 declare i32 @cosf(i16 noundef signext) #1 declare i32 @sinf(i16 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6ngknmyv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cis_fun_short(i16 noundef signext %0) #0 { %2 = alloca i16, align 2 store i16 %0, ptr %2, align 2 %3 = load i16, ptr %2, align 2 %4 = call i32 @cosf(i16 noundef signext %3) %5 = call i32 @roundf(i32 noundef %4) %6 = load i16, ptr %2, align 2 %7 = call i32 @sinf(i16 noundef signext %6) %8 = call i32 @roundf(i32 noundef %7) %9 = call i32 @_pack2(i32 noundef %5, i32 noundef %8) ret i32 %9 } declare i32 @_pack2(i32 noundef, i32 noundef) #1 declare i32 @roundf(i32 noundef) #1 declare i32 @cosf(i16 noundef signext) #1 declare i32 @sinf(i16 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpiydf1ilt.c' source_filename = "/tmp/tmpiydf1ilt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @proctal_scan_address_next(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @proctal_implementation_scan_address_next(ptr noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @proctal_implementation_scan_address_next(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/tmpiydf1ilt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @proctal_scan_address_next(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @proctal_implementation_scan_address_next(ptr noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @proctal_implementation_scan_address_next(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/tmpf6k8r_0w.c' source_filename = "/tmp/tmpf6k8r_0w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @change_endian32(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = shl i32 %3, 24 %5 = load i32, ptr %2, align 4 %6 = ashr i32 %5, 24 %7 = or i32 %4, %6 %8 = load i32, ptr %2, align 4 %9 = and i32 %8, 65280 %10 = shl i32 %9, 8 %11 = or i32 %7, %10 %12 = load i32, ptr %2, align 4 %13 = and i32 %12, 16711680 %14 = ashr i32 %13, 8 %15 = or i32 %11, %14 ret i32 %15 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf6k8r_0w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @change_endian32(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = shl i32 %3, 24 %5 = load i32, ptr %2, align 4 %6 = ashr i32 %5, 24 %7 = or i32 %4, %6 %8 = load i32, ptr %2, align 4 %9 = and i32 %8, 65280 %10 = shl i32 %9, 8 %11 = or i32 %7, %10 %12 = load i32, ptr %2, align 4 %13 = and i32 %12, 16711680 %14 = ashr i32 %13, 8 %15 = or i32 %11, %14 ret i32 %15 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcdtfev_f.c' source_filename = "/tmp/tmpcdtfev_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"sin\00", align 1 @.str.1 = private unnamed_addr constant [57 x i8] c"/* This file was generated by libavcodec/costablegen */\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"#include \22libavcodec/%s\22\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"rdft.h\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"fft.h\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"%s(%i) = {\0A \00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"SINTABLE\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"COSTABLE\00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c" %.18e,\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"\0A \00", align 1 @.str.10 = private unnamed_addr constant [11 x i8] c" %.18e\0A};\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca double, align 8 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = icmp eq i32 %13, 2 br i1 %14, label %15, label %22 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = call i32 @strcmp(ptr noundef %18, ptr noundef @.str) %20 = icmp ne i32 %19, 0 %21 = xor i1 %20, true br label %22 22: ; preds = %15, %2 %23 = phi i1 [ false, %2 ], [ %21, %15 ] %24 = zext i1 %23 to i32 store i32 %24, ptr %8, align 4 %25 = load i32, ptr %8, align 4 %26 = icmp ne i32 %25, 0 %27 = zext i1 %26 to i64 %28 = select i1 %26, ptr @sin, ptr @cos store ptr %28, ptr %9, align 8 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %30 = load i32, ptr %8, align 4 %31 = icmp ne i32 %30, 0 %32 = zext i1 %31 to i64 %33 = select i1 %31, ptr @.str.3, ptr @.str.4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %33) store i32 4, ptr %6, align 4 br label %35 35: ; preds = %117, %22 %36 = load i32, ptr %6, align 4 %37 = icmp sle i32 %36, 16 br i1 %37, label %38, label %120 38: ; preds = %35 %39 = load i32, ptr %6, align 4 %40 = shl i32 1, %39 store i32 %40, ptr %10, align 4 %41 = load i32, ptr %10, align 4 %42 = sitofp i32 %41 to double %43 = fdiv double 0x401921FB54442D18, %42 store double %43, ptr %11, align 8 %44 = load i32, ptr %8, align 4 %45 = icmp ne i32 %44, 0 %46 = zext i1 %45 to i64 %47 = select i1 %45, ptr @.str.6, ptr @.str.7 %48 = load i32, ptr %10, align 4 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %47, i32 noundef %48) store i32 0, ptr %7, align 4 br label %50 50: ; preds = %96, %38 %51 = load i32, ptr %7, align 4 %52 = load i32, ptr %10, align 4 %53 = sdiv i32 %52, 2 %54 = sub nsw i32 %53, 1 %55 = icmp slt i32 %51, %54 br i1 %55, label %56, label %99 56: ; preds = %50 %57 = load i32, ptr %7, align 4 %58 = load i32, ptr %10, align 4 %59 = sdiv i32 %58, 4 %60 = icmp sgt i32 %57, %59 br i1 %60, label %61, label %66 61: ; preds = %56 %62 = load i32, ptr %10, align 4 %63 = sdiv i32 %62, 2 %64 = load i32, ptr %7, align 4 %65 = sub nsw i32 %63, %64 br label %68 66: ; preds = %56 %67 = load i32, ptr %7, align 4 br label %68 68: ; preds = %66, %61 %69 = phi i32 [ %65, %61 ], [ %67, %66 ] store i32 %69, ptr %12, align 4 %70 = load i32, ptr %8, align 4 %71 = icmp ne i32 %70, 0 br i1 %71, label %72, label %82 72: ; preds = %68 %73 = load i32, ptr %7, align 4 %74 = load i32, ptr %10, align 4 %75 = sdiv i32 %74, 4 %76 = icmp sge i32 %73, %75 br i1 %76, label %77, label %82 77: ; preds = %72 %78 = load i32, ptr %10, align 4 %79 = sdiv i32 %78, 4 %80 = load i32, ptr %7, align 4 %81 = sub nsw i32 %79, %80 store i32 %81, ptr %12, align 4 br label %82 82: ; preds = %77, %72, %68 %83 = load ptr, ptr %9, align 8 %84 = load i32, ptr %12, align 4 %85 = sitofp i32 %84 to double %86 = load double, ptr %11, align 8 %87 = fmul double %85, %86 %88 = call double %83(double noundef %87) %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %88) %90 = load i32, ptr %7, align 4 %91 = and i32 %90, 3 %92 = icmp eq i32 %91, 3 br i1 %92, label %93, label %95 93: ; preds = %82 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %95 95: ; preds = %93, %82 br label %96 96: ; preds = %95 %97 = load i32, ptr %7, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %7, align 4 br label %50, !llvm.loop !6 99: ; preds = %50 %100 = load ptr, ptr %9, align 8 %101 = load i32, ptr %8, align 4 %102 = icmp ne i32 %101, 0 br i1 %102, label %103, label %111 103: ; preds = %99 %104 = load i32, ptr %10, align 4 %105 = sdiv i32 %104, 4 %106 = sub nsw i32 %105, 1 %107 = sub nsw i32 0, %106 %108 = sitofp i32 %107 to double %109 = load double, ptr %11, align 8 %110 = fmul double %108, %109 br label %113 111: ; preds = %99 %112 = load double, ptr %11, align 8 br label %113 113: ; preds = %111, %103 %114 = phi double [ %110, %103 ], [ %112, %111 ] %115 = call double %100(double noundef %114) %116 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %115) br label %117 117: ; preds = %113 %118 = load i32, ptr %6, align 4 %119 = add nsw i32 %118, 1 store i32 %119, ptr %6, align 4 br label %35, !llvm.loop !8 120: ; preds = %35 ret i32 0 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #2 ; Function Attrs: nounwind declare double @cos(double noundef) #2 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpcdtfev_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"sin\00", align 1 @.str.1 = private unnamed_addr constant [57 x i8] c"/* This file was generated by libavcodec/costablegen */\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"#include \22libavcodec/%s\22\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"rdft.h\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"fft.h\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"%s(%i) = {\0A \00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"SINTABLE\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"COSTABLE\00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c" %.18e,\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"\0A \00", align 1 @.str.10 = private unnamed_addr constant [11 x i8] c" %.18e\0A};\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca double, align 8 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = icmp eq i32 %13, 2 br i1 %14, label %15, label %22 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = call i32 @strcmp(ptr noundef %18, ptr noundef @.str) %20 = icmp ne i32 %19, 0 %21 = xor i1 %20, true br label %22 22: ; preds = %15, %2 %23 = phi i1 [ false, %2 ], [ %21, %15 ] %24 = zext i1 %23 to i32 store i32 %24, ptr %8, align 4 %25 = load i32, ptr %8, align 4 %26 = icmp ne i32 %25, 0 %27 = zext i1 %26 to i64 %28 = select i1 %26, ptr @sin, ptr @cos store ptr %28, ptr %9, align 8 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %30 = load i32, ptr %8, align 4 %31 = icmp ne i32 %30, 0 %32 = zext i1 %31 to i64 %33 = select i1 %31, ptr @.str.3, ptr @.str.4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %33) store i32 4, ptr %6, align 4 %35 = load i32, ptr %6, align 4 %36 = icmp sle i32 %35, 16 br i1 %36, label %.lr.ph2, label %125 .lr.ph2: ; preds = %22 br label %37 37: ; preds = %.lr.ph2, %120 %38 = load i32, ptr %6, align 4 %39 = shl i32 1, %38 store i32 %39, ptr %10, align 4 %40 = load i32, ptr %10, align 4 %41 = sitofp i32 %40 to double %42 = fdiv double 0x401921FB54442D18, %41 store double %42, ptr %11, align 8 %43 = load i32, ptr %8, align 4 %44 = icmp ne i32 %43, 0 %45 = zext i1 %44 to i64 %46 = select i1 %44, ptr @.str.6, ptr @.str.7 %47 = load i32, ptr %10, align 4 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %46, i32 noundef %47) store i32 0, ptr %7, align 4 %49 = load i32, ptr %7, align 4 %50 = load i32, ptr %10, align 4 %51 = sdiv i32 %50, 2 %52 = sub nsw i32 %51, 1 %53 = icmp slt i32 %49, %52 br i1 %53, label %.lr.ph, label %102 .lr.ph: ; preds = %37 br label %54 54: ; preds = %.lr.ph, %94 %55 = load i32, ptr %7, align 4 %56 = load i32, ptr %10, align 4 %57 = sdiv i32 %56, 4 %58 = icmp sgt i32 %55, %57 br i1 %58, label %59, label %64 59: ; preds = %54 %60 = load i32, ptr %10, align 4 %61 = sdiv i32 %60, 2 %62 = load i32, ptr %7, align 4 %63 = sub nsw i32 %61, %62 br label %66 64: ; preds = %54 %65 = load i32, ptr %7, align 4 br label %66 66: ; preds = %64, %59 %67 = phi i32 [ %63, %59 ], [ %65, %64 ] store i32 %67, ptr %12, align 4 %68 = load i32, ptr %8, align 4 %69 = icmp ne i32 %68, 0 br i1 %69, label %70, label %80 70: ; preds = %66 %71 = load i32, ptr %7, align 4 %72 = load i32, ptr %10, align 4 %73 = sdiv i32 %72, 4 %74 = icmp sge i32 %71, %73 br i1 %74, label %75, label %80 75: ; preds = %70 %76 = load i32, ptr %10, align 4 %77 = sdiv i32 %76, 4 %78 = load i32, ptr %7, align 4 %79 = sub nsw i32 %77, %78 store i32 %79, ptr %12, align 4 br label %80 80: ; preds = %75, %70, %66 %81 = load ptr, ptr %9, align 8 %82 = load i32, ptr %12, align 4 %83 = sitofp i32 %82 to double %84 = load double, ptr %11, align 8 %85 = fmul double %83, %84 %86 = call double %81(double noundef %85) %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %86) %88 = load i32, ptr %7, align 4 %89 = and i32 %88, 3 %90 = icmp eq i32 %89, 3 br i1 %90, label %91, label %93 91: ; preds = %80 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %93 93: ; preds = %91, %80 br label %94 94: ; preds = %93 %95 = load i32, ptr %7, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %7, align 4 %97 = load i32, ptr %7, align 4 %98 = load i32, ptr %10, align 4 %99 = sdiv i32 %98, 2 %100 = sub nsw i32 %99, 1 %101 = icmp slt i32 %97, %100 br i1 %101, label %54, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %94 br label %102 102: ; preds = %._crit_edge, %37 %103 = load ptr, ptr %9, align 8 %104 = load i32, ptr %8, align 4 %105 = icmp ne i32 %104, 0 br i1 %105, label %106, label %114 106: ; preds = %102 %107 = load i32, ptr %10, align 4 %108 = sdiv i32 %107, 4 %109 = sub nsw i32 %108, 1 %110 = sub nsw i32 0, %109 %111 = sitofp i32 %110 to double %112 = load double, ptr %11, align 8 %113 = fmul double %111, %112 br label %116 114: ; preds = %102 %115 = load double, ptr %11, align 8 br label %116 116: ; preds = %114, %106 %117 = phi double [ %113, %106 ], [ %115, %114 ] %118 = call double %103(double noundef %117) %119 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %118) br label %120 120: ; preds = %116 %121 = load i32, ptr %6, align 4 %122 = add nsw i32 %121, 1 store i32 %122, ptr %6, align 4 %123 = load i32, ptr %6, align 4 %124 = icmp sle i32 %123, 16 br i1 %124, label %37, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %120 br label %125 125: ; preds = %._crit_edge3, %22 ret i32 0 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #2 ; Function Attrs: nounwind declare double @cos(double noundef) #2 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpbsg9jpr2.c' source_filename = "/tmp/tmpbsg9jpr2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Data file created\0A\00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"problem during %s data file creation\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Result file created\0A\00", align 1 @.str.3 = private unnamed_addr constant [40 x i8] c"problem during %s result file creation\0A\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"Bad arglist code for: '%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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp sgt i32 %6, 1 br i1 %7, label %8, label %41 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = call i32 @atoi(ptr noundef %11) switch i32 %12, label %35 [ i32 1, label %13 i32 2, label %24 ] 13: ; preds = %8 %14 = call i64 (...) @create_Data_file() %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %13 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %23 18: ; preds = %13 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 0 %21 = load ptr, ptr %20, align 8 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %21) br label %23 23: ; preds = %18, %16 br label %40 24: ; preds = %8 %25 = call i64 (...) @create_Result_file() %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %24 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %34 29: ; preds = %24 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 0 %32 = load ptr, ptr %31, align 8 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %32) br label %34 34: ; preds = %29, %27 br label %40 35: ; preds = %8 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 0 %38 = load ptr, ptr %37, align 8 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %38) store i32 -1, ptr %3, align 4 br label %59 40: ; preds = %34, %23 br label %58 41: ; preds = %2 %42 = call i64 (...) @create_Data_file() %43 = icmp ne i64 %42, 0 br i1 %43, label %44, label %49 44: ; preds = %41 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 0 %47 = load ptr, ptr %46, align 8 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %47) br label %49 49: ; preds = %44, %41 %50 = call i64 (...) @create_Result_file() %51 = icmp ne i64 %50, 0 br i1 %51, label %52, label %57 52: ; preds = %49 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds ptr, ptr %53, i64 0 %55 = load ptr, ptr %54, align 8 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %55) br label %57 57: ; preds = %52, %49 br label %58 58: ; preds = %57, %40 store i32 0, ptr %3, align 4 br label %59 59: ; preds = %58, %35 %60 = load i32, ptr %3, align 4 ret i32 %60 } declare i32 @atoi(ptr noundef) #1 declare i64 @create_Data_file(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @create_Result_file(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbsg9jpr2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Data file created\0A\00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"problem during %s data file creation\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Result file created\0A\00", align 1 @.str.3 = private unnamed_addr constant [40 x i8] c"problem during %s result file creation\0A\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"Bad arglist code for: '%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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp sgt i32 %6, 1 br i1 %7, label %8, label %41 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = call i32 @atoi(ptr noundef %11) switch i32 %12, label %35 [ i32 1, label %13 i32 2, label %24 ] 13: ; preds = %8 %14 = call i64 (...) @create_Data_file() %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %13 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %23 18: ; preds = %13 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 0 %21 = load ptr, ptr %20, align 8 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %21) br label %23 23: ; preds = %18, %16 br label %40 24: ; preds = %8 %25 = call i64 (...) @create_Result_file() %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %24 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %34 29: ; preds = %24 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 0 %32 = load ptr, ptr %31, align 8 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %32) br label %34 34: ; preds = %29, %27 br label %40 35: ; preds = %8 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 0 %38 = load ptr, ptr %37, align 8 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %38) store i32 -1, ptr %3, align 4 br label %59 40: ; preds = %34, %23 br label %58 41: ; preds = %2 %42 = call i64 (...) @create_Data_file() %43 = icmp ne i64 %42, 0 br i1 %43, label %44, label %49 44: ; preds = %41 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 0 %47 = load ptr, ptr %46, align 8 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %47) br label %49 49: ; preds = %44, %41 %50 = call i64 (...) @create_Result_file() %51 = icmp ne i64 %50, 0 br i1 %51, label %52, label %57 52: ; preds = %49 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds ptr, ptr %53, i64 0 %55 = load ptr, ptr %54, align 8 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %55) br label %57 57: ; preds = %52, %49 br label %58 58: ; preds = %57, %40 store i32 0, ptr %3, align 4 br label %59 59: ; preds = %58, %35 %60 = load i32, ptr %3, align 4 ret i32 %60 } declare i32 @atoi(ptr noundef) #1 declare i64 @create_Data_file(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @create_Result_file(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnalst_90.c' source_filename = "/tmp/tmpnalst_90.c" target datalayout = "e-m:e-p270: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/tmpnalst_90.c" target datalayout = "e-m:e-p270: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/tmp2b4o5y1f.c' source_filename = "/tmp/tmp2b4o5y1f.c" target datalayout = "e-m:e-p270: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/tmp2b4o5y1f.c" target datalayout = "e-m:e-p270: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/tmpnnl8kzsb.c' source_filename = "/tmp/tmpnnl8kzsb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pgmRead(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 ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %10 = load ptr, ptr %5, align 8 ret ptr %10 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnnl8kzsb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pgmRead(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 ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %10 = load ptr, ptr %5, align 8 ret ptr %10 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbg9dunhh.c' source_filename = "/tmp/tmpbg9dunhh.c" target datalayout = "e-m:e-p270: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 [47 x i8] c"Usage: %s -c <cores> -s <scheme> <input file>\0A\00", align 1 @.str.1 = private unnamed_addr constant [43 x i8] c" %s -c 2 -s fcfs examples/proc1.csv\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [57 x i8] c"Acceptable schemes are: fcfs, sjf, psjf, pri, ppri, rr#\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @stderr, align 4 %7 = load ptr, ptr %2, align 8 %8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1, ptr noundef %7) %9 = load i32, ptr @stderr, align 4 %10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str.2) %11 = load i32, ptr @stderr, align 4 %12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.3) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbg9dunhh.c" target datalayout = "e-m:e-p270: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 [47 x i8] c"Usage: %s -c <cores> -s <scheme> <input file>\0A\00", align 1 @.str.1 = private unnamed_addr constant [43 x i8] c" %s -c 2 -s fcfs examples/proc1.csv\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [57 x i8] c"Acceptable schemes are: fcfs, sjf, psjf, pri, ppri, rr#\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @stderr, align 4 %7 = load ptr, ptr %2, align 8 %8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1, ptr noundef %7) %9 = load i32, ptr @stderr, align 4 %10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str.2) %11 = load i32, ptr @stderr, align 4 %12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.3) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyihdx3py.c' source_filename = "/tmp/tmpyihdx3py.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @particle_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyihdx3py.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @particle_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3lva_nu1.c' source_filename = "/tmp/tmp3lva_nu1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__gnat_safe_gethostbyname(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %7, align 8 %15 = load ptr, ptr %8, align 8 %16 = load i64, ptr %9, align 8 %17 = load ptr, ptr %10, align 8 %18 = call i32 @gethostbyname_r(ptr noundef %13, ptr noundef %14, ptr noundef %15, i64 noundef %16, ptr noundef %11, ptr noundef %17) %19 = load ptr, ptr %11, align 8 %20 = icmp eq ptr %19, null %21 = zext i1 %20 to i64 %22 = select i1 %20, i32 -1, i32 0 store i32 %22, ptr %12, align 4 %23 = load i32, ptr %12, align 4 ret i32 %23 } declare i32 @gethostbyname_r(ptr noundef, ptr 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/tmp3lva_nu1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__gnat_safe_gethostbyname(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %7, align 8 %15 = load ptr, ptr %8, align 8 %16 = load i64, ptr %9, align 8 %17 = load ptr, ptr %10, align 8 %18 = call i32 @gethostbyname_r(ptr noundef %13, ptr noundef %14, ptr noundef %15, i64 noundef %16, ptr noundef %11, ptr noundef %17) %19 = load ptr, ptr %11, align 8 %20 = icmp eq ptr %19, null %21 = zext i1 %20 to i64 %22 = select i1 %20, i32 -1, i32 0 store i32 %22, ptr %12, align 4 %23 = load i32, ptr %12, align 4 ret i32 %23 } declare i32 @gethostbyname_r(ptr noundef, ptr 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/tmpdxw9gf7f.c' source_filename = "/tmp/tmpdxw9gf7f.c" target datalayout = "e-m:e-p270: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/tmpdxw9gf7f.c" target datalayout = "e-m:e-p270: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/tmphvm80xk1.c' source_filename = "/tmp/tmphvm80xk1.c" target datalayout = "e-m:e-p270: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/tmphvm80xk1.c" target datalayout = "e-m:e-p270: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/tmpxamb502r.c' source_filename = "/tmp/tmpxamb502r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i8 0, align 1 @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %9, %0 %4 = call signext i8 (...) @getchar() store i8 %4, ptr %2, align 1 %5 = sext i8 %4 to i32 %6 = load i8, ptr @EOF, align 1 %7 = sext i8 %6 to i32 %8 = icmp ne i32 %5, %7 br i1 %8, label %9, label %12 9: ; preds = %3 %10 = load i8, ptr %2, align 1 %11 = call i32 @printf(ptr noundef @.str, i8 noundef signext %10) br label %3, !llvm.loop !6 12: ; preds = %3 ret i32 0 } declare signext i8 @getchar(...) #1 declare i32 @printf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxamb502r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i8 0, align 1 @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 store i32 0, ptr %1, align 4 %3 = call signext i8 (...) @getchar() store i8 %3, ptr %2, align 1 %4 = sext i8 %3 to i32 %5 = load i8, ptr @EOF, align 1 %6 = sext i8 %5 to i32 %7 = icmp ne i32 %4, %6 br i1 %7, label %.lr.ph, label %16 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %8 %9 = load i8, ptr %2, align 1 %10 = call i32 @printf(ptr noundef @.str, i8 noundef signext %9) %11 = call signext i8 (...) @getchar() store i8 %11, ptr %2, align 1 %12 = sext i8 %11 to i32 %13 = load i8, ptr @EOF, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %12, %14 br i1 %15, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %16 16: ; preds = %._crit_edge, %0 ret i32 0 } declare signext i8 @getchar(...) #1 declare i32 @printf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpumijzwph.c' source_filename = "/tmp/tmpumijzwph.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/misc\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [6 x i8] c"%d %s\00", align 1 @ENODEV = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @lookup_dev(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [32 x i8], align 16 %7 = alloca [32 x i8], align 16 store ptr %0, ptr %3, align 8 %8 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %14 11: ; preds = %1 %12 = load i32, ptr @errno, align 4 %13 = sub nsw i32 0, %12 store i32 %13, ptr %2, align 4 br label %45 14: ; preds = %1 br label %15 15: ; preds = %32, %14 %16 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0 %17 = load ptr, ptr %4, align 8 %18 = call ptr @fgets(ptr noundef %16, i32 noundef 32, ptr noundef %17) %19 = icmp ne ptr %18, null br i1 %19, label %20, label %33 20: ; preds = %15 %21 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0 %22 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0 %23 = call i32 @sscanf(ptr noundef %21, ptr noundef @.str.2, ptr noundef %5, ptr noundef %22) %24 = icmp eq i32 %23, 2 br i1 %24, label %25, label %32 25: ; preds = %20 %26 = load ptr, ptr %3, align 8 %27 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0 %28 = call i64 @strcmp(ptr noundef %26, ptr noundef %27) %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %25 br label %33 31: ; preds = %25 br label %32 32: ; preds = %31, %20 br label %15, !llvm.loop !6 33: ; preds = %30, %15 %34 = load ptr, ptr %4, align 8 %35 = call i32 @fclose(ptr noundef %34) %36 = load ptr, ptr %3, align 8 %37 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0 %38 = call i64 @strcmp(ptr noundef %36, ptr noundef %37) %39 = icmp eq i64 %38, 0 br i1 %39, label %40, label %42 40: ; preds = %33 %41 = load i32, ptr %5, align 4 store i32 %41, ptr %2, align 4 br label %45 42: ; preds = %33 %43 = load i32, ptr @ENODEV, align 4 %44 = sub nsw i32 0, %43 store i32 %44, ptr %2, align 4 br label %45 45: ; preds = %42, %40, %11 %46 = load i32, ptr %2, align 4 ret i32 %46 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpumijzwph.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/misc\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [6 x i8] c"%d %s\00", align 1 @ENODEV = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @lookup_dev(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [32 x i8], align 16 %7 = alloca [32 x i8], align 16 store ptr %0, ptr %3, align 8 %8 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %14 11: ; preds = %1 %12 = load i32, ptr @errno, align 4 %13 = sub nsw i32 0, %12 store i32 %13, ptr %2, align 4 br label %47 14: ; preds = %1 %15 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0 %16 = load ptr, ptr %4, align 8 %17 = call ptr @fgets(ptr noundef %15, i32 noundef 32, ptr noundef %16) %18 = icmp ne ptr %17, null br i1 %18, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %14 br label %19 19: ; preds = %.lr.ph, %31 %20 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0 %21 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0 %22 = call i32 @sscanf(ptr noundef %20, ptr noundef @.str.2, ptr noundef %5, ptr noundef %21) %23 = icmp eq i32 %22, 2 br i1 %23, label %24, label %31 24: ; preds = %19 %25 = load ptr, ptr %3, align 8 %26 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0 %27 = call i64 @strcmp(ptr noundef %25, ptr noundef %26) %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %24 br label %35 30: ; preds = %24 br label %31 31: ; preds = %30, %19 %32 = load ptr, ptr %4, align 8 %33 = call ptr @fgets(ptr noundef %15, i32 noundef 32, ptr noundef %32) %34 = icmp ne ptr %33, null br i1 %34, label %19, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %31 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %14 br label %35 35: ; preds = %.loopexit, %29 %36 = load ptr, ptr %4, align 8 %37 = call i32 @fclose(ptr noundef %36) %38 = load ptr, ptr %3, align 8 %39 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0 %40 = call i64 @strcmp(ptr noundef %38, ptr noundef %39) %41 = icmp eq i64 %40, 0 br i1 %41, label %42, label %44 42: ; preds = %35 %43 = load i32, ptr %5, align 4 store i32 %43, ptr %2, align 4 br label %47 44: ; preds = %35 %45 = load i32, ptr @ENODEV, align 4 %46 = sub nsw i32 0, %45 store i32 %46, ptr %2, align 4 br label %47 47: ; preds = %44, %42, %11 %48 = load i32, ptr %2, align 4 ret i32 %48 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpmjph92fs.c' source_filename = "/tmp/tmpmjph92fs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [44 x i8] c"\0A\0ANumber is %d converted to DECIMAL is %s\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"Number is %d converted to HEX is %s\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"Number is %d converted to OCT is %s\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store i32 114473, ptr %1, align 4 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = load i32, ptr %1, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @num_to_string(i32 noundef %5, i32 noundef 0, ptr noundef %6) %8 = load i32, ptr %1, align 4 %9 = load ptr, ptr %2, align 8 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %8, ptr noundef %9) %11 = load i32, ptr %1, align 4 %12 = load ptr, ptr %3, align 8 %13 = call i32 @num_to_string(i32 noundef %11, i32 noundef 1, ptr noundef %12) %14 = load i32, ptr %1, align 4 %15 = load ptr, ptr %2, align 8 %16 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14, ptr noundef %15) %17 = load i32, ptr %1, align 4 %18 = load ptr, ptr %3, align 8 %19 = call i32 @num_to_string(i32 noundef %17, i32 noundef 2, ptr noundef %18) %20 = load i32, ptr %1, align 4 %21 = load ptr, ptr %2, align 8 %22 = call i32 @printf(ptr noundef @.str.2, i32 noundef %20, ptr noundef %21) %23 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @num_to_string(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 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/tmpmjph92fs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [44 x i8] c"\0A\0ANumber is %d converted to DECIMAL is %s\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"Number is %d converted to HEX is %s\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"Number is %d converted to OCT is %s\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store i32 114473, ptr %1, align 4 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = load i32, ptr %1, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @num_to_string(i32 noundef %5, i32 noundef 0, ptr noundef %6) %8 = load i32, ptr %1, align 4 %9 = load ptr, ptr %2, align 8 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %8, ptr noundef %9) %11 = load i32, ptr %1, align 4 %12 = load ptr, ptr %3, align 8 %13 = call i32 @num_to_string(i32 noundef %11, i32 noundef 1, ptr noundef %12) %14 = load i32, ptr %1, align 4 %15 = load ptr, ptr %2, align 8 %16 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14, ptr noundef %15) %17 = load i32, ptr %1, align 4 %18 = load ptr, ptr %3, align 8 %19 = call i32 @num_to_string(i32 noundef %17, i32 noundef 2, ptr noundef %18) %20 = load i32, ptr %1, align 4 %21 = load ptr, ptr %2, align 8 %22 = call i32 @printf(ptr noundef @.str.2, i32 noundef %20, ptr noundef %21) %23 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @num_to_string(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 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/tmpxsrusxlz.c' source_filename = "/tmp/tmpxsrusxlz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CuStrAlloc(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = sext i32 %4 to i64 %6 = mul i64 1, %5 %7 = trunc i64 %6 to i32 %8 = call i64 @malloc(i32 noundef %7) %9 = inttoptr i64 %8 to ptr store ptr %9, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 ret ptr %10 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxsrusxlz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CuStrAlloc(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = sext i32 %4 to i64 %6 = mul i64 1, %5 %7 = trunc i64 %6 to i32 %8 = call i64 @malloc(i32 noundef %7) %9 = inttoptr i64 %8 to ptr store ptr %9, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 ret ptr %10 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqo7e32kh.c' source_filename = "/tmp/tmpqo7e32kh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.a = private unnamed_addr constant [6 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 6], align 16 @.str = private unnamed_addr constant [4 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 [6 x i32], align 16 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 24, i1 false) %7 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 0 store ptr %7, ptr %3, align 8 %8 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 5 store ptr %8, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %5, align 4 br label %9 9: ; preds = %24, %0 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 3 br i1 %11, label %12, label %27 12: ; preds = %9 store i32 0, ptr %6, align 4 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %13, align 4 store i32 %14, ptr %6, align 4 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %15, align 4 %17 = load ptr, ptr %3, align 8 store i32 %16, ptr %17, align 4 %18 = load i32, ptr %6, align 4 %19 = load ptr, ptr %4, align 8 store i32 %18, ptr %19, align 4 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds i32, ptr %20, i32 1 store ptr %21, ptr %3, align 8 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds i32, ptr %22, i32 -1 store ptr %23, ptr %4, align 8 br label %24 24: ; preds = %12 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %5, align 4 br label %9, !llvm.loop !6 27: ; preds = %9 store i32 0, ptr %5, align 4 br label %28 28: ; preds = %37, %27 %29 = load i32, ptr %5, align 4 %30 = icmp slt i32 %29, 6 br i1 %30, label %31, label %40 31: ; preds = %28 %32 = load i32, ptr %5, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %33 %35 = load i32, ptr %34, align 4 %36 = call i32 @printf(ptr noundef @.str, i32 noundef %35) br label %37 37: ; preds = %31 %38 = load i32, ptr %5, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %5, align 4 br label %28, !llvm.loop !8 40: ; preds = %28 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqo7e32kh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.a = private unnamed_addr constant [6 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 6], align 16 @.str = private unnamed_addr constant [4 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 [6 x i32], align 16 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 24, i1 false) %7 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 0 store ptr %7, ptr %3, align 8 %8 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 5 store ptr %8, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 3 br i1 %10, label %.lr.ph, label %28 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %23 store i32 0, ptr %6, align 4 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %12, align 4 store i32 %13, ptr %6, align 4 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %14, align 4 %16 = load ptr, ptr %3, align 8 store i32 %15, ptr %16, align 4 %17 = load i32, ptr %6, align 4 %18 = load ptr, ptr %4, align 8 store i32 %17, ptr %18, align 4 %19 = load ptr, ptr %3, align 8 %20 = getelementptr inbounds i32, ptr %19, i32 1 store ptr %20, ptr %3, align 8 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i32, ptr %21, i32 -1 store ptr %22, ptr %4, align 8 br label %23 23: ; preds = %11 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %5, align 4 %26 = load i32, ptr %5, align 4 %27 = icmp slt i32 %26, 3 br i1 %27, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %28 28: ; preds = %._crit_edge, %0 store i32 0, ptr %5, align 4 %29 = load i32, ptr %5, align 4 %30 = icmp slt i32 %29, 6 br i1 %30, label %.lr.ph2, label %42 .lr.ph2: ; preds = %28 br label %31 31: ; preds = %.lr.ph2, %37 %32 = load i32, ptr %5, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %33 %35 = load i32, ptr %34, align 4 %36 = call i32 @printf(ptr noundef @.str, i32 noundef %35) br label %37 37: ; preds = %31 %38 = load i32, ptr %5, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %5, align 4 %40 = load i32, ptr %5, align 4 %41 = icmp slt i32 %40, 6 br i1 %41, label %31, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %37 br label %42 42: ; preds = %._crit_edge3, %28 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpao26vigx.c' source_filename = "/tmp/tmpao26vigx.c" target datalayout = "e-m:e-p270: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/tmpao26vigx.c" target datalayout = "e-m:e-p270: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/tmpze4pg9c8.c' source_filename = "/tmp/tmpze4pg9c8.c" target datalayout = "e-m:e-p270: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/tmpze4pg9c8.c" target datalayout = "e-m:e-p270: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/tmp01yu20_4.c' source_filename = "/tmp/tmp01yu20_4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Error reading from file.\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Error sending file.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Return_Resource(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 i8, align 1 %8 = 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 br label %9 9: ; preds = %24, %3 %10 = load i32, ptr %5, align 4 %11 = call i32 @read(i32 noundef %10, ptr noundef %7, i32 noundef 1) store i32 %11, ptr %8, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %25 13: ; preds = %9 %14 = load i32, ptr %8, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %13 %17 = call i32 @Error_Quit(ptr noundef @.str) br label %18 18: ; preds = %16, %13 %19 = load i32, ptr %4, align 4 %20 = call i32 @write(i32 noundef %19, ptr noundef %7, i32 noundef 1) %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %24 22: ; preds = %18 %23 = call i32 @Error_Quit(ptr noundef @.str.1) br label %24 24: ; preds = %22, %18 br label %9, !llvm.loop !6 25: ; preds = %9 ret i32 0 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @Error_Quit(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp01yu20_4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Error reading from file.\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Error sending file.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Return_Resource(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 i8, align 1 %8 = 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 %9 = load i32, ptr %5, align 4 %10 = call i32 @read(i32 noundef %9, ptr noundef %7, i32 noundef 1) store i32 %10, ptr %8, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %.lr.ph, label %27 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %23 %13 = load i32, ptr %8, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %12 %16 = call i32 @Error_Quit(ptr noundef @.str) br label %17 17: ; preds = %15, %12 %18 = load i32, ptr %4, align 4 %19 = call i32 @write(i32 noundef %18, ptr noundef %7, i32 noundef 1) %20 = icmp slt i32 %19, 1 br i1 %20, label %21, label %23 21: ; preds = %17 %22 = call i32 @Error_Quit(ptr noundef @.str.1) br label %23 23: ; preds = %21, %17 %24 = load i32, ptr %5, align 4 %25 = call i32 @read(i32 noundef %24, ptr noundef %7, i32 noundef 1) store i32 %25, ptr %8, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %27 27: ; preds = %._crit_edge, %3 ret i32 0 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @Error_Quit(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp9pnmsk00.c' source_filename = "/tmp/tmp9pnmsk00.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"El 200vo numero triangular es %i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 1, ptr %2, align 4 br label %4 4: ; preds = %11, %0 %5 = load i32, ptr %2, align 4 %6 = icmp sle i32 %5, 200 br i1 %6, label %7, label %14 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = add nsw i32 %9, %8 store i32 %10, ptr %3, align 4 br label %11 11: ; preds = %7 %12 = load i32, ptr %2, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %2, align 4 br label %4, !llvm.loop !6 14: ; preds = %4 %15 = load i32, ptr %3, align 4 %16 = call i32 @printf(ptr noundef @.str, i32 noundef %15) 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/tmp9pnmsk00.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"El 200vo numero triangular es %i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 1, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp sle i32 %4, 200 br i1 %5, label %.lr.ph, label %15 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %10 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %3, align 4 %9 = add nsw i32 %8, %7 store i32 %9, ptr %3, align 4 br label %10 10: ; preds = %6 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %2, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp sle i32 %13, 200 br i1 %14, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %15 15: ; preds = %._crit_edge, %0 %16 = load i32, ptr %3, align 4 %17 = call i32 @printf(ptr noundef @.str, i32 noundef %16) 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/tmpogjgfgvk.c' source_filename = "/tmp/tmpogjgfgvk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"101, 103\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"103, 107\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"0, 0\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"359, 367\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @dotest(i32 noundef 2, i32 noundef 100, i32 noundef 110, ptr noundef @.str) %2 = call i32 @dotest(i32 noundef 4, i32 noundef 100, i32 noundef 110, ptr noundef @.str.1) %3 = call i32 @dotest(i32 noundef 6, i32 noundef 100, i32 noundef 110, ptr noundef @.str.2) %4 = call i32 @dotest(i32 noundef 8, i32 noundef 300, i32 noundef 400, ptr noundef @.str.3) ret i32 0 } declare i32 @dotest(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpogjgfgvk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"101, 103\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"103, 107\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"0, 0\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"359, 367\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @dotest(i32 noundef 2, i32 noundef 100, i32 noundef 110, ptr noundef @.str) %2 = call i32 @dotest(i32 noundef 4, i32 noundef 100, i32 noundef 110, ptr noundef @.str.1) %3 = call i32 @dotest(i32 noundef 6, i32 noundef 100, i32 noundef 110, ptr noundef @.str.2) %4 = call i32 @dotest(i32 noundef 8, i32 noundef 300, i32 noundef 400, ptr noundef @.str.3) ret i32 0 } declare i32 @dotest(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfacncoai.c' source_filename = "/tmp/tmpfacncoai.c" target datalayout = "e-m:e-p270: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/tmpfacncoai.c" target datalayout = "e-m:e-p270: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/tmp7q9jk1r2.c' source_filename = "/tmp/tmp7q9jk1r2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cleanup() #0 { %1 = call i32 (...) @tty_cleanup() ret void } declare i32 @tty_cleanup(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7q9jk1r2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cleanup() #0 { %1 = call i32 (...) @tty_cleanup() ret void } declare i32 @tty_cleanup(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgaypbybk.c' source_filename = "/tmp/tmpgaypbybk.c" target datalayout = "e-m:e-p270: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/tmpgaypbybk.c" target datalayout = "e-m:e-p270: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/tmp79f4dfnj.c' source_filename = "/tmp/tmp79f4dfnj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = load i32, ptr %4, align 4 %15 = load ptr, ptr %5, align 8 %16 = call i32 @validaParametrosInput(i32 noundef %14, ptr noundef %15) %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i32 @atoi(ptr noundef %19) store i32 %20, ptr %10, align 4 store i32 0, ptr %11, align 4 %21 = call i32 (...) @random_init() %22 = call i32 @creo_clave(i32 noundef 755) store i32 %22, ptr %6, align 4 %23 = call i32 @creo_clave(i32 noundef 655) store i32 %23, ptr %7, align 4 %24 = load i32, ptr %6, align 4 %25 = call i32 @sem_mutex_create(i32 noundef %24) store i32 %25, ptr %8, align 4 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %10, align 4 %28 = sext i32 %27 to i64 %29 = mul i64 4, %28 %30 = trunc i64 %29 to i32 %31 = call ptr @createShareMemory(i32 noundef %26, i32 noundef %30) store ptr %31, ptr %9, align 8 %32 = load ptr, ptr %9, align 8 %33 = load i32, ptr %10, align 4 %34 = call i32 @inicializarMemoria(ptr noundef %32, i32 noundef %33) %35 = call i32 @sem_mutex_init(ptr noundef %8, i32 noundef 1) br label %36 36: ; preds = %2, %85 store i32 0, ptr %12, align 4 %37 = call i32 @random_generate(i32 noundef 100, i32 noundef 5000) store i32 %37, ptr %13, align 4 store i32 0, ptr %12, align 4 br label %38 38: ; preds = %82, %36 %39 = load i32, ptr %12, align 4 %40 = load i32, ptr %10, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %42, label %85 42: ; preds = %38 %43 = call i32 @sem_mutex_wait(ptr noundef %8) %44 = load ptr, ptr %9, align 8 %45 = load i32, ptr %12, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 %48 = load i32, ptr %47, align 4 %49 = icmp sgt i32 %48, 10 br i1 %49, label %50, label %59 50: ; preds = %42 %51 = load ptr, ptr %9, align 8 %52 = load i32, ptr %12, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %51, i64 %53 store i32 0, ptr %54, align 4 %55 = load i32, ptr %11, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %11, align 4 %57 = load i32, ptr %11, align 4 %58 = call i32 @informarViaLlena(i32 noundef %57) br label %74 59: ; preds = %42 %60 = load ptr, ptr %9, align 8 %61 = load i32, ptr %12, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %60, i64 %62 %64 = load i32, ptr %63, align 4 %65 = icmp sgt i32 %64, 0 br i1 %65, label %66, label %73 66: ; preds = %59 %67 = load ptr, ptr %9, align 8 %68 = load i32, ptr %12, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i32, ptr %67, i64 %69 %71 = load i32, ptr %70, align 4 %72 = add nsw i32 %71, -1 store i32 %72, ptr %70, align 4 br label %73 73: ; preds = %66, %59 br label %74 74: ; preds = %73, %50 %75 = load ptr, ptr %9, align 8 %76 = load i32, ptr %10, align 4 %77 = call i32 @mostrarVias(ptr noundef %75, i32 noundef %76) %78 = call i32 @sem_mutex_post(ptr noundef %8) %79 = load i32, ptr %13, align 4 %80 = mul nsw i32 1000, %79 %81 = call i32 @usleep(i32 noundef %80) br label %82 82: ; preds = %74 %83 = load i32, ptr %12, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %12, align 4 br label %38, !llvm.loop !6 85: ; preds = %38 br label %36 } declare i32 @validaParametrosInput(i32 noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @random_init(...) #1 declare i32 @creo_clave(i32 noundef) #1 declare i32 @sem_mutex_create(i32 noundef) #1 declare ptr @createShareMemory(i32 noundef, i32 noundef) #1 declare i32 @inicializarMemoria(ptr noundef, i32 noundef) #1 declare i32 @sem_mutex_init(ptr noundef, i32 noundef) #1 declare i32 @random_generate(i32 noundef, i32 noundef) #1 declare i32 @sem_mutex_wait(ptr noundef) #1 declare i32 @informarViaLlena(i32 noundef) #1 declare i32 @mostrarVias(ptr noundef, i32 noundef) #1 declare i32 @sem_mutex_post(ptr noundef) #1 declare i32 @usleep(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/tmp79f4dfnj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = load i32, ptr %4, align 4 %15 = load ptr, ptr %5, align 8 %16 = call i32 @validaParametrosInput(i32 noundef %14, ptr noundef %15) %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i32 @atoi(ptr noundef %19) store i32 %20, ptr %10, align 4 store i32 0, ptr %11, align 4 %21 = call i32 (...) @random_init() %22 = call i32 @creo_clave(i32 noundef 755) store i32 %22, ptr %6, align 4 %23 = call i32 @creo_clave(i32 noundef 655) store i32 %23, ptr %7, align 4 %24 = load i32, ptr %6, align 4 %25 = call i32 @sem_mutex_create(i32 noundef %24) store i32 %25, ptr %8, align 4 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %10, align 4 %28 = sext i32 %27 to i64 %29 = mul i64 4, %28 %30 = trunc i64 %29 to i32 %31 = call ptr @createShareMemory(i32 noundef %26, i32 noundef %30) store ptr %31, ptr %9, align 8 %32 = load ptr, ptr %9, align 8 %33 = load i32, ptr %10, align 4 %34 = call i32 @inicializarMemoria(ptr noundef %32, i32 noundef %33) %35 = call i32 @sem_mutex_init(ptr noundef %8, i32 noundef 1) br label %36 36: ; preds = %87, %2 store i32 0, ptr %12, align 4 %37 = call i32 @random_generate(i32 noundef 100, i32 noundef 5000) store i32 %37, ptr %13, align 4 store i32 0, ptr %12, align 4 %38 = load i32, ptr %12, align 4 %39 = load i32, ptr %10, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %.lr.ph, label %87 .lr.ph: ; preds = %36 br label %41 41: ; preds = %.lr.ph, %81 %42 = call i32 @sem_mutex_wait(ptr noundef %8) %43 = load ptr, ptr %9, align 8 %44 = load i32, ptr %12, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 %47 = load i32, ptr %46, align 4 %48 = icmp sgt i32 %47, 10 br i1 %48, label %49, label %58 49: ; preds = %41 %50 = load ptr, ptr %9, align 8 %51 = load i32, ptr %12, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %50, i64 %52 store i32 0, ptr %53, align 4 %54 = load i32, ptr %11, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %11, align 4 %56 = load i32, ptr %11, align 4 %57 = call i32 @informarViaLlena(i32 noundef %56) br label %73 58: ; preds = %41 %59 = load ptr, ptr %9, align 8 %60 = load i32, ptr %12, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i32, ptr %59, i64 %61 %63 = load i32, ptr %62, align 4 %64 = icmp sgt i32 %63, 0 br i1 %64, label %65, label %72 65: ; preds = %58 %66 = load ptr, ptr %9, align 8 %67 = load i32, ptr %12, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i32, ptr %66, i64 %68 %70 = load i32, ptr %69, align 4 %71 = add nsw i32 %70, -1 store i32 %71, ptr %69, align 4 br label %72 72: ; preds = %65, %58 br label %73 73: ; preds = %72, %49 %74 = load ptr, ptr %9, align 8 %75 = load i32, ptr %10, align 4 %76 = call i32 @mostrarVias(ptr noundef %74, i32 noundef %75) %77 = call i32 @sem_mutex_post(ptr noundef %8) %78 = load i32, ptr %13, align 4 %79 = mul nsw i32 1000, %78 %80 = call i32 @usleep(i32 noundef %79) br label %81 81: ; preds = %73 %82 = load i32, ptr %12, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %12, align 4 %84 = load i32, ptr %12, align 4 %85 = load i32, ptr %10, align 4 %86 = icmp slt i32 %84, %85 br i1 %86, label %41, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %81 br label %87 87: ; preds = %._crit_edge, %36 br label %36 } declare i32 @validaParametrosInput(i32 noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @random_init(...) #1 declare i32 @creo_clave(i32 noundef) #1 declare i32 @sem_mutex_create(i32 noundef) #1 declare ptr @createShareMemory(i32 noundef, i32 noundef) #1 declare i32 @inicializarMemoria(ptr noundef, i32 noundef) #1 declare i32 @sem_mutex_init(ptr noundef, i32 noundef) #1 declare i32 @random_generate(i32 noundef, i32 noundef) #1 declare i32 @sem_mutex_wait(ptr noundef) #1 declare i32 @informarViaLlena(i32 noundef) #1 declare i32 @mostrarVias(ptr noundef, i32 noundef) #1 declare i32 @sem_mutex_post(ptr noundef) #1 declare i32 @usleep(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/tmpwgy7m3uy.c' source_filename = "/tmp/tmpwgy7m3uy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1001 x i8] c"7316717653133062491922511967442657474235534919493496983520312774506326239578318016984801869478851843858615607891129494954595017379583319528532088055111254069874715852386305071569329096329522744304355766896648950445244523161731856403098711121722383113622298934233803081353362766142828064444866452387493035890729629049156044077239071381051585930796086670172427121883998797908792274921901699720888093776657273330010533678812202354218097512545405947522435258490771167055601360483958644670632441572215539753697817977846174064955149290862569321978468622482839722413756570560574902614079729686524145351004748216637048440319989000889524345065854122758866688116427171479924442928230863465674813919123162824586178664583591245665294765456828489128831426076900422421902267105562632111110937054421750694165896040807198403850962455444362981230987879927244284909188845801561660979191338754992005240636899125607176060588611646710940507754100225698315520005593572972571636269561882670428252483600823257530420752963450\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%llu\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 i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i64 0, ptr %4, align 8 store ptr @.str, ptr %5, align 8 store i32 0, ptr %1, align 4 br label %6 6: ; preds = %46, %0 %7 = load i32, ptr %1, align 4 %8 = icmp slt i32 %7, 1000 br i1 %8, label %9, label %49 9: ; preds = %6 %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr %1, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = sub nsw i32 %15, 48 %17 = sext i32 %16 to i64 store i64 %17, ptr %3, align 8 %18 = load i32, ptr %1, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %2, align 4 br label %20 20: ; preds = %36, %9 %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %1, align 4 %23 = add nsw i32 %22, 13 %24 = icmp slt i32 %21, %23 br i1 %24, label %25, label %39 25: ; preds = %20 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %2, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = sub nsw i32 %31, 48 %33 = sext i32 %32 to i64 %34 = load i64, ptr %3, align 8 %35 = mul i64 %34, %33 store i64 %35, ptr %3, align 8 br label %36 36: ; preds = %25 %37 = load i32, ptr %2, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %2, align 4 br label %20, !llvm.loop !6 39: ; preds = %20 %40 = load i64, ptr %3, align 8 %41 = load i64, ptr %4, align 8 %42 = icmp ugt i64 %40, %41 br i1 %42, label %43, label %45 43: ; preds = %39 %44 = load i64, ptr %3, align 8 store i64 %44, ptr %4, align 8 br label %45 45: ; preds = %43, %39 br label %46 46: ; preds = %45 %47 = load i32, ptr %1, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %1, align 4 br label %6, !llvm.loop !8 49: ; preds = %6 %50 = load i64, ptr %4, align 8 %51 = call i32 @printf(ptr noundef @.str.1, i64 noundef %50) ret void } 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpwgy7m3uy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1001 x i8] c"7316717653133062491922511967442657474235534919493496983520312774506326239578318016984801869478851843858615607891129494954595017379583319528532088055111254069874715852386305071569329096329522744304355766896648950445244523161731856403098711121722383113622298934233803081353362766142828064444866452387493035890729629049156044077239071381051585930796086670172427121883998797908792274921901699720888093776657273330010533678812202354218097512545405947522435258490771167055601360483958644670632441572215539753697817977846174064955149290862569321978468622482839722413756570560574902614079729686524145351004748216637048440319989000889524345065854122758866688116427171479924442928230863465674813919123162824586178664583591245665294765456828489128831426076900422421902267105562632111110937054421750694165896040807198403850962455444362981230987879927244284909188845801561660979191338754992005240636899125607176060588611646710940507754100225698315520005593572972571636269561882670428252483600823257530420752963450\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%llu\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 i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i64 0, ptr %4, align 8 store ptr @.str, ptr %5, align 8 store i32 0, ptr %1, align 4 %6 = load i32, ptr %1, align 4 %7 = icmp slt i32 %6, 1000 br i1 %7, label %.lr.ph2, label %53 .lr.ph2: ; preds = %0 br label %8 8: ; preds = %.lr.ph2, %48 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %1, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = sub nsw i32 %14, 48 %16 = sext i32 %15 to i64 store i64 %16, ptr %3, align 8 %17 = load i32, ptr %1, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %2, align 4 %19 = load i32, ptr %2, align 4 %20 = load i32, ptr %1, align 4 %21 = add nsw i32 %20, 13 %22 = icmp slt i32 %19, %21 br i1 %22, label %.lr.ph, label %41 .lr.ph: ; preds = %8 br label %23 23: ; preds = %.lr.ph, %34 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %2, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = sub nsw i32 %29, 48 %31 = sext i32 %30 to i64 %32 = load i64, ptr %3, align 8 %33 = mul i64 %32, %31 store i64 %33, ptr %3, align 8 br label %34 34: ; preds = %23 %35 = load i32, ptr %2, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %2, align 4 %37 = load i32, ptr %2, align 4 %38 = load i32, ptr %1, align 4 %39 = add nsw i32 %38, 13 %40 = icmp slt i32 %37, %39 br i1 %40, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %41 41: ; preds = %._crit_edge, %8 %42 = load i64, ptr %3, align 8 %43 = load i64, ptr %4, align 8 %44 = icmp ugt i64 %42, %43 br i1 %44, label %45, label %47 45: ; preds = %41 %46 = load i64, ptr %3, align 8 store i64 %46, ptr %4, align 8 br label %47 47: ; preds = %45, %41 br label %48 48: ; preds = %47 %49 = load i32, ptr %1, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %1, align 4 %51 = load i32, ptr %1, align 4 %52 = icmp slt i32 %51, 1000 br i1 %52, label %8, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %48 br label %53 53: ; preds = %._crit_edge3, %0 %54 = load i64, ptr %4, align 8 %55 = call i32 @printf(ptr noundef @.str.1, i64 noundef %54) ret void } 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmplntzeibd.c' source_filename = "/tmp/tmplntzeibd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cfs_stub_setxattr(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %11 = load i32, ptr @ENOSYS, align 4 store i32 %11, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplntzeibd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cfs_stub_setxattr(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %11 = load i32, ptr @ENOSYS, align 4 store i32 %11, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx33vgw5u.c' source_filename = "/tmp/tmpx33vgw5u.c" target datalayout = "e-m:e-p270: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/tmpx33vgw5u.c" target datalayout = "e-m:e-p270: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/tmpxtnbwjhq.c' source_filename = "/tmp/tmpxtnbwjhq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utlispunct(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 sle i32 %3, 255 br i1 %4, label %5, label %9 5: ; preds = %1 %6 = load i32, ptr %2, align 4 %7 = call i64 @ispunct(i32 noundef %6) %8 = icmp ne i64 %7, 0 br label %9 9: ; preds = %5, %1 %10 = phi i1 [ false, %1 ], [ %8, %5 ] %11 = zext i1 %10 to i32 ret i32 %11 } declare i64 @ispunct(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/tmpxtnbwjhq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utlispunct(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 sle i32 %3, 255 br i1 %4, label %5, label %9 5: ; preds = %1 %6 = load i32, ptr %2, align 4 %7 = call i64 @ispunct(i32 noundef %6) %8 = icmp ne i64 %7, 0 br label %9 9: ; preds = %5, %1 %10 = phi i1 [ false, %1 ], [ %8, %5 ] %11 = zext i1 %10 to i32 ret i32 %11 } declare i64 @ispunct(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/tmpzygljjhy.c' source_filename = "/tmp/tmpzygljjhy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trapz_threeCell(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, double noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca double, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store double %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %26 = load i32, ptr %9, align 4 %27 = load i32, ptr %9, align 4 %28 = mul nsw i32 %26, %27 store i32 %28, ptr %20, align 4 %29 = load i32, ptr %9, align 4 %30 = load i32, ptr %20, align 4 %31 = mul nsw i32 %29, %30 %32 = sext i32 %31 to i64 %33 = mul i64 %32, 8 %34 = trunc i64 %33 to i32 %35 = call i64 @malloc(i32 noundef %34) %36 = inttoptr i64 %35 to ptr store ptr %36, ptr %24, align 8 %37 = icmp eq ptr %36, null br i1 %37, label %38, label %40 38: ; preds = %6 %39 = call i32 (...) @memoryError() br label %40 40: ; preds = %38, %6 %41 = load i32, ptr %9, align 4 %42 = load i32, ptr %20, align 4 %43 = mul nsw i32 %41, %42 %44 = sext i32 %43 to i64 %45 = mul i64 %44, 8 %46 = trunc i64 %45 to i32 %47 = call i64 @malloc(i32 noundef %46) %48 = inttoptr i64 %47 to ptr store ptr %48, ptr %25, align 8 %49 = icmp eq ptr %48, null br i1 %49, label %50, label %52 50: ; preds = %40 %51 = call i32 (...) @memoryError() br label %52 52: ; preds = %50, %40 store i32 0, ptr %13, align 4 br label %53 53: ; preds = %200, %52 %54 = load i32, ptr %13, align 4 %55 = load i32, ptr %9, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %57, label %203 57: ; preds = %53 store i32 0, ptr %14, align 4 br label %58 58: ; preds = %196, %57 %59 = load i32, ptr %14, align 4 %60 = load i32, ptr %9, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %62, label %199 62: ; preds = %58 store i32 0, ptr %15, align 4 br label %63 63: ; preds = %192, %62 %64 = load i32, ptr %15, align 4 %65 = load i32, ptr %9, align 4 %66 = icmp slt i32 %64, %65 br i1 %66, label %67, label %195 67: ; preds = %63 %68 = load ptr, ptr %7, align 8 %69 = load i32, ptr %13, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds double, ptr %68, i64 %70 %72 = load double, ptr %71, align 8 %73 = load ptr, ptr %10, align 8 %74 = getelementptr inbounds double, ptr %73, i64 0 %75 = load double, ptr %74, align 8 %76 = load ptr, ptr %8, align 8 %77 = load i32, ptr %9, align 4 %78 = load i32, ptr %13, align 4 %79 = mul nsw i32 %77, %78 %80 = load i32, ptr %14, align 4 %81 = add nsw i32 %79, %80 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds double, ptr %76, i64 %82 %84 = load double, ptr %83, align 8 %85 = load ptr, ptr %10, align 8 %86 = getelementptr inbounds double, ptr %85, i64 1 %87 = load double, ptr %86, align 8 %88 = load ptr, ptr %8, align 8 %89 = load i32, ptr %9, align 4 %90 = load i32, ptr %13, align 4 %91 = mul nsw i32 %89, %90 %92 = load i32, ptr %15, align 4 %93 = add nsw i32 %91, %92 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds double, ptr %88, i64 %94 %96 = load double, ptr %95, align 8 %97 = fmul double %87, %96 %98 = call double @llvm.fmuladd.f64(double %75, double %84, double %97) %99 = fmul double %72, %98 store double %99, ptr %21, align 8 %100 = load double, ptr %21, align 8 %101 = load ptr, ptr %7, align 8 %102 = load i32, ptr %14, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds double, ptr %101, i64 %103 %105 = load double, ptr %104, align 8 %106 = load ptr, ptr %10, align 8 %107 = getelementptr inbounds double, ptr %106, i64 2 %108 = load double, ptr %107, align 8 %109 = load ptr, ptr %8, align 8 %110 = load i32, ptr %9, align 4 %111 = load i32, ptr %14, align 4 %112 = mul nsw i32 %110, %111 %113 = load i32, ptr %13, align 4 %114 = add nsw i32 %112, %113 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds double, ptr %109, i64 %115 %117 = load double, ptr %116, align 8 %118 = load ptr, ptr %10, align 8 %119 = getelementptr inbounds double, ptr %118, i64 3 %120 = load double, ptr %119, align 8 %121 = load ptr, ptr %8, align 8 %122 = load i32, ptr %9, align 4 %123 = load i32, ptr %14, align 4 %124 = mul nsw i32 %122, %123 %125 = load i32, ptr %15, align 4 %126 = add nsw i32 %124, %125 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds double, ptr %121, i64 %127 %129 = load double, ptr %128, align 8 %130 = fmul double %120, %129 %131 = call double @llvm.fmuladd.f64(double %108, double %117, double %130) %132 = fneg double %105 %133 = call double @llvm.fmuladd.f64(double %132, double %131, double %100) %134 = load ptr, ptr %24, align 8 %135 = load i32, ptr %13, align 4 %136 = load i32, ptr %20, align 4 %137 = mul nsw i32 %135, %136 %138 = load i32, ptr %14, align 4 %139 = load i32, ptr %9, align 4 %140 = mul nsw i32 %138, %139 %141 = add nsw i32 %137, %140 %142 = load i32, ptr %15, align 4 %143 = add nsw i32 %141, %142 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds double, ptr %134, i64 %144 store double %133, ptr %145, align 8 %146 = load double, ptr %21, align 8 %147 = load ptr, ptr %7, align 8 %148 = load i32, ptr %15, align 4 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds double, ptr %147, i64 %149 %151 = load double, ptr %150, align 8 %152 = load ptr, ptr %10, align 8 %153 = getelementptr inbounds double, ptr %152, i64 4 %154 = load double, ptr %153, align 8 %155 = load ptr, ptr %8, align 8 %156 = load i32, ptr %9, align 4 %157 = load i32, ptr %15, align 4 %158 = mul nsw i32 %156, %157 %159 = load i32, ptr %13, align 4 %160 = add nsw i32 %158, %159 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds double, ptr %155, i64 %161 %163 = load double, ptr %162, align 8 %164 = load ptr, ptr %10, align 8 %165 = getelementptr inbounds double, ptr %164, i64 5 %166 = load double, ptr %165, align 8 %167 = load ptr, ptr %8, align 8 %168 = load i32, ptr %9, align 4 %169 = load i32, ptr %15, align 4 %170 = mul nsw i32 %168, %169 %171 = load i32, ptr %14, align 4 %172 = add nsw i32 %170, %171 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds double, ptr %167, i64 %173 %175 = load double, ptr %174, align 8 %176 = fmul double %166, %175 %177 = call double @llvm.fmuladd.f64(double %154, double %163, double %176) %178 = fneg double %151 %179 = call double @llvm.fmuladd.f64(double %178, double %177, double %146) %180 = load ptr, ptr %25, align 8 %181 = load i32, ptr %13, align 4 %182 = load i32, ptr %20, align 4 %183 = mul nsw i32 %181, %182 %184 = load i32, ptr %14, align 4 %185 = load i32, ptr %9, align 4 %186 = mul nsw i32 %184, %185 %187 = add nsw i32 %183, %186 %188 = load i32, ptr %15, align 4 %189 = add nsw i32 %187, %188 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds double, ptr %180, i64 %190 store double %179, ptr %191, align 8 br label %192 192: ; preds = %67 %193 = load i32, ptr %15, align 4 %194 = add nsw i32 %193, 1 store i32 %194, ptr %15, align 4 br label %63, !llvm.loop !6 195: ; preds = %63 br label %196 196: ; preds = %195 %197 = load i32, ptr %14, align 4 %198 = add nsw i32 %197, 1 store i32 %198, ptr %14, align 4 br label %58, !llvm.loop !8 199: ; preds = %58 br label %200 200: ; preds = %199 %201 = load i32, ptr %13, align 4 %202 = add nsw i32 %201, 1 store i32 %202, ptr %13, align 4 br label %53, !llvm.loop !9 203: ; preds = %53 store i32 0, ptr %16, align 4 br label %204 204: ; preds = %303, %203 %205 = load i32, ptr %16, align 4 %206 = load i32, ptr %9, align 4 %207 = icmp slt i32 %205, %206 br i1 %207, label %208, label %306 208: ; preds = %204 store i32 0, ptr %17, align 4 br label %209 209: ; preds = %299, %208 %210 = load i32, ptr %17, align 4 %211 = load i32, ptr %9, align 4 %212 = icmp slt i32 %210, %211 br i1 %212, label %213, label %302 213: ; preds = %209 store i32 0, ptr %15, align 4 br label %214 214: ; preds = %271, %213 %215 = load i32, ptr %15, align 4 %216 = load i32, ptr %9, align 4 %217 = icmp slt i32 %215, %216 br i1 %217, label %218, label %274 218: ; preds = %214 %219 = load i32, ptr %15, align 4 %220 = load i32, ptr %16, align 4 %221 = sub nsw i32 %219, %220 %222 = load i32, ptr %9, align 4 %223 = call i32 @mod(i32 noundef %221, i32 noundef %222) store i32 %223, ptr %18, align 4 %224 = load i32, ptr %15, align 4 %225 = load i32, ptr %17, align 4 %226 = sub nsw i32 %224, %225 %227 = load i32, ptr %9, align 4 %228 = call i32 @mod(i32 noundef %226, i32 noundef %227) store i32 %228, ptr %19, align 4 %229 = load i32, ptr %15, align 4 %230 = sitofp i32 %229 to double %231 = load double, ptr %22, align 8 %232 = load ptr, ptr %24, align 8 %233 = load i32, ptr %15, align 4 %234 = load i32, ptr %20, align 4 %235 = mul nsw i32 %233, %234 %236 = load i32, ptr %18, align 4 %237 = load i32, ptr %9, align 4 %238 = mul nsw i32 %236, %237 %239 = add nsw i32 %235, %238 %240 = load i32, ptr %19, align 4 %241 = add nsw i32 %239, %240 %242 = sext i32 %241 to i64 %243 = getelementptr inbounds double, ptr %232, i64 %242 %244 = load double, ptr %243, align 8 %245 = call double @llvm.fmuladd.f64(double %230, double %231, double %244) %246 = load i32, ptr %15, align 4 %247 = add nsw i32 %246, 1 %248 = sitofp i32 %247 to double %249 = fdiv double %245, %248 store double %249, ptr %22, align 8 %250 = load i32, ptr %15, align 4 %251 = sitofp i32 %250 to double %252 = load double, ptr %23, align 8 %253 = load ptr, ptr %25, align 8 %254 = load i32, ptr %15, align 4 %255 = load i32, ptr %20, align 4 %256 = mul nsw i32 %254, %255 %257 = load i32, ptr %18, align 4 %258 = load i32, ptr %9, align 4 %259 = mul nsw i32 %257, %258 %260 = add nsw i32 %256, %259 %261 = load i32, ptr %19, align 4 %262 = add nsw i32 %260, %261 %263 = sext i32 %262 to i64 %264 = getelementptr inbounds double, ptr %253, i64 %263 %265 = load double, ptr %264, align 8 %266 = call double @llvm.fmuladd.f64(double %251, double %252, double %265) %267 = load i32, ptr %15, align 4 %268 = add nsw i32 %267, 1 %269 = sitofp i32 %268 to double %270 = fdiv double %266, %269 store double %270, ptr %23, align 8 br label %271 271: ; preds = %218 %272 = load i32, ptr %15, align 4 %273 = add nsw i32 %272, 1 store i32 %273, ptr %15, align 4 br label %214, !llvm.loop !10 274: ; preds = %214 %275 = load double, ptr %11, align 8 %276 = load double, ptr %22, align 8 %277 = fmul double %275, %276 %278 = load ptr, ptr %12, align 8 %279 = load i32, ptr %16, align 4 %280 = load i32, ptr %9, align 4 %281 = mul nsw i32 %279, %280 %282 = load i32, ptr %17, align 4 %283 = add nsw i32 %281, %282 %284 = sext i32 %283 to i64 %285 = getelementptr inbounds double, ptr %278, i64 %284 store double %277, ptr %285, align 8 %286 = load double, ptr %11, align 8 %287 = load double, ptr %23, align 8 %288 = fmul double %286, %287 %289 = load ptr, ptr %12, align 8 %290 = load i32, ptr %16, align 4 %291 = load i32, ptr %9, align 4 %292 = mul nsw i32 %290, %291 %293 = load i32, ptr %17, align 4 %294 = add nsw i32 %292, %293 %295 = load i32, ptr %20, align 4 %296 = add nsw i32 %294, %295 %297 = sext i32 %296 to i64 %298 = getelementptr inbounds double, ptr %289, i64 %297 store double %288, ptr %298, align 8 br label %299 299: ; preds = %274 %300 = load i32, ptr %17, align 4 %301 = add nsw i32 %300, 1 store i32 %301, ptr %17, align 4 br label %209, !llvm.loop !11 302: ; preds = %209 br label %303 303: ; preds = %302 %304 = load i32, ptr %16, align 4 %305 = add nsw i32 %304, 1 store i32 %305, ptr %16, align 4 br label %204, !llvm.loop !12 306: ; preds = %204 %307 = load ptr, ptr %24, align 8 %308 = call i32 @free(ptr noundef %307) %309 = load ptr, ptr %25, align 8 %310 = call i32 @free(ptr noundef %309) ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @memoryError(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @mod(i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzygljjhy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trapz_threeCell(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, double noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca double, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store double %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %26 = load i32, ptr %9, align 4 %27 = load i32, ptr %9, align 4 %28 = mul nsw i32 %26, %27 store i32 %28, ptr %20, align 4 %29 = load i32, ptr %9, align 4 %30 = load i32, ptr %20, align 4 %31 = mul nsw i32 %29, %30 %32 = sext i32 %31 to i64 %33 = mul i64 %32, 8 %34 = trunc i64 %33 to i32 %35 = call i64 @malloc(i32 noundef %34) %36 = inttoptr i64 %35 to ptr store ptr %36, ptr %24, align 8 %37 = icmp eq ptr %36, null br i1 %37, label %38, label %40 38: ; preds = %6 %39 = call i32 (...) @memoryError() br label %40 40: ; preds = %38, %6 %41 = load i32, ptr %9, align 4 %42 = load i32, ptr %20, align 4 %43 = mul nsw i32 %41, %42 %44 = sext i32 %43 to i64 %45 = mul i64 %44, 8 %46 = trunc i64 %45 to i32 %47 = call i64 @malloc(i32 noundef %46) %48 = inttoptr i64 %47 to ptr store ptr %48, ptr %25, align 8 %49 = icmp eq ptr %48, null br i1 %49, label %50, label %52 50: ; preds = %40 %51 = call i32 (...) @memoryError() br label %52 52: ; preds = %50, %40 store i32 0, ptr %13, align 4 %53 = load i32, ptr %13, align 4 %54 = load i32, ptr %9, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %.lr.ph5, label %209 .lr.ph5: ; preds = %52 br label %56 56: ; preds = %.lr.ph5, %203 store i32 0, ptr %14, align 4 %57 = load i32, ptr %14, align 4 %58 = load i32, ptr %9, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %.lr.ph2, label %202 .lr.ph2: ; preds = %56 br label %60 60: ; preds = %.lr.ph2, %196 store i32 0, ptr %15, align 4 %61 = load i32, ptr %15, align 4 %62 = load i32, ptr %9, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %.lr.ph, label %195 .lr.ph: ; preds = %60 br label %64 64: ; preds = %.lr.ph, %189 %65 = load ptr, ptr %7, align 8 %66 = load i32, ptr %13, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds double, ptr %65, i64 %67 %69 = load double, ptr %68, align 8 %70 = load ptr, ptr %10, align 8 %71 = getelementptr inbounds double, ptr %70, i64 0 %72 = load double, ptr %71, align 8 %73 = load ptr, ptr %8, align 8 %74 = load i32, ptr %9, align 4 %75 = load i32, ptr %13, align 4 %76 = mul nsw i32 %74, %75 %77 = load i32, ptr %14, align 4 %78 = add nsw i32 %76, %77 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds double, ptr %73, i64 %79 %81 = load double, ptr %80, align 8 %82 = load ptr, ptr %10, align 8 %83 = getelementptr inbounds double, ptr %82, i64 1 %84 = load double, ptr %83, align 8 %85 = load ptr, ptr %8, align 8 %86 = load i32, ptr %9, align 4 %87 = load i32, ptr %13, align 4 %88 = mul nsw i32 %86, %87 %89 = load i32, ptr %15, align 4 %90 = add nsw i32 %88, %89 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds double, ptr %85, i64 %91 %93 = load double, ptr %92, align 8 %94 = fmul double %84, %93 %95 = call double @llvm.fmuladd.f64(double %72, double %81, double %94) %96 = fmul double %69, %95 store double %96, ptr %21, align 8 %97 = load double, ptr %21, align 8 %98 = load ptr, ptr %7, align 8 %99 = load i32, ptr %14, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds double, ptr %98, i64 %100 %102 = load double, ptr %101, align 8 %103 = load ptr, ptr %10, align 8 %104 = getelementptr inbounds double, ptr %103, i64 2 %105 = load double, ptr %104, align 8 %106 = load ptr, ptr %8, align 8 %107 = load i32, ptr %9, align 4 %108 = load i32, ptr %14, align 4 %109 = mul nsw i32 %107, %108 %110 = load i32, ptr %13, align 4 %111 = add nsw i32 %109, %110 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds double, ptr %106, i64 %112 %114 = load double, ptr %113, align 8 %115 = load ptr, ptr %10, align 8 %116 = getelementptr inbounds double, ptr %115, i64 3 %117 = load double, ptr %116, align 8 %118 = load ptr, ptr %8, align 8 %119 = load i32, ptr %9, align 4 %120 = load i32, ptr %14, align 4 %121 = mul nsw i32 %119, %120 %122 = load i32, ptr %15, align 4 %123 = add nsw i32 %121, %122 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds double, ptr %118, i64 %124 %126 = load double, ptr %125, align 8 %127 = fmul double %117, %126 %128 = call double @llvm.fmuladd.f64(double %105, double %114, double %127) %129 = fneg double %102 %130 = call double @llvm.fmuladd.f64(double %129, double %128, double %97) %131 = load ptr, ptr %24, align 8 %132 = load i32, ptr %13, align 4 %133 = load i32, ptr %20, align 4 %134 = mul nsw i32 %132, %133 %135 = load i32, ptr %14, align 4 %136 = load i32, ptr %9, align 4 %137 = mul nsw i32 %135, %136 %138 = add nsw i32 %134, %137 %139 = load i32, ptr %15, align 4 %140 = add nsw i32 %138, %139 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds double, ptr %131, i64 %141 store double %130, ptr %142, align 8 %143 = load double, ptr %21, align 8 %144 = load ptr, ptr %7, align 8 %145 = load i32, ptr %15, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds double, ptr %144, i64 %146 %148 = load double, ptr %147, align 8 %149 = load ptr, ptr %10, align 8 %150 = getelementptr inbounds double, ptr %149, i64 4 %151 = load double, ptr %150, align 8 %152 = load ptr, ptr %8, align 8 %153 = load i32, ptr %9, align 4 %154 = load i32, ptr %15, align 4 %155 = mul nsw i32 %153, %154 %156 = load i32, ptr %13, align 4 %157 = add nsw i32 %155, %156 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds double, ptr %152, i64 %158 %160 = load double, ptr %159, align 8 %161 = load ptr, ptr %10, align 8 %162 = getelementptr inbounds double, ptr %161, i64 5 %163 = load double, ptr %162, align 8 %164 = load ptr, ptr %8, align 8 %165 = load i32, ptr %9, align 4 %166 = load i32, ptr %15, align 4 %167 = mul nsw i32 %165, %166 %168 = load i32, ptr %14, align 4 %169 = add nsw i32 %167, %168 %170 = sext i32 %169 to i64 %171 = getelementptr inbounds double, ptr %164, i64 %170 %172 = load double, ptr %171, align 8 %173 = fmul double %163, %172 %174 = call double @llvm.fmuladd.f64(double %151, double %160, double %173) %175 = fneg double %148 %176 = call double @llvm.fmuladd.f64(double %175, double %174, double %143) %177 = load ptr, ptr %25, align 8 %178 = load i32, ptr %13, align 4 %179 = load i32, ptr %20, align 4 %180 = mul nsw i32 %178, %179 %181 = load i32, ptr %14, align 4 %182 = load i32, ptr %9, align 4 %183 = mul nsw i32 %181, %182 %184 = add nsw i32 %180, %183 %185 = load i32, ptr %15, align 4 %186 = add nsw i32 %184, %185 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds double, ptr %177, i64 %187 store double %176, ptr %188, align 8 br label %189 189: ; preds = %64 %190 = load i32, ptr %15, align 4 %191 = add nsw i32 %190, 1 store i32 %191, ptr %15, align 4 %192 = load i32, ptr %15, align 4 %193 = load i32, ptr %9, align 4 %194 = icmp slt i32 %192, %193 br i1 %194, label %64, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %189 br label %195 195: ; preds = %._crit_edge, %60 br label %196 196: ; preds = %195 %197 = load i32, ptr %14, align 4 %198 = add nsw i32 %197, 1 store i32 %198, ptr %14, align 4 %199 = load i32, ptr %14, align 4 %200 = load i32, ptr %9, align 4 %201 = icmp slt i32 %199, %200 br i1 %201, label %60, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %196 br label %202 202: ; preds = %._crit_edge3, %56 br label %203 203: ; preds = %202 %204 = load i32, ptr %13, align 4 %205 = add nsw i32 %204, 1 store i32 %205, ptr %13, align 4 %206 = load i32, ptr %13, align 4 %207 = load i32, ptr %9, align 4 %208 = icmp slt i32 %206, %207 br i1 %208, label %56, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %203 br label %209 209: ; preds = %._crit_edge6, %52 store i32 0, ptr %16, align 4 %210 = load i32, ptr %16, align 4 %211 = load i32, ptr %9, align 4 %212 = icmp slt i32 %210, %211 br i1 %212, label %.lr.ph14, label %318 .lr.ph14: ; preds = %209 br label %213 213: ; preds = %.lr.ph14, %312 store i32 0, ptr %17, align 4 %214 = load i32, ptr %17, align 4 %215 = load i32, ptr %9, align 4 %216 = icmp slt i32 %214, %215 br i1 %216, label %.lr.ph11, label %311 .lr.ph11: ; preds = %213 br label %217 217: ; preds = %.lr.ph11, %305 store i32 0, ptr %15, align 4 %218 = load i32, ptr %15, align 4 %219 = load i32, ptr %9, align 4 %220 = icmp slt i32 %218, %219 br i1 %220, label %.lr.ph8, label %280 .lr.ph8: ; preds = %217 br label %221 221: ; preds = %.lr.ph8, %274 %222 = load i32, ptr %15, align 4 %223 = load i32, ptr %16, align 4 %224 = sub nsw i32 %222, %223 %225 = load i32, ptr %9, align 4 %226 = call i32 @mod(i32 noundef %224, i32 noundef %225) store i32 %226, ptr %18, align 4 %227 = load i32, ptr %15, align 4 %228 = load i32, ptr %17, align 4 %229 = sub nsw i32 %227, %228 %230 = load i32, ptr %9, align 4 %231 = call i32 @mod(i32 noundef %229, i32 noundef %230) store i32 %231, ptr %19, align 4 %232 = load i32, ptr %15, align 4 %233 = sitofp i32 %232 to double %234 = load double, ptr %22, align 8 %235 = load ptr, ptr %24, align 8 %236 = load i32, ptr %15, align 4 %237 = load i32, ptr %20, align 4 %238 = mul nsw i32 %236, %237 %239 = load i32, ptr %18, align 4 %240 = load i32, ptr %9, align 4 %241 = mul nsw i32 %239, %240 %242 = add nsw i32 %238, %241 %243 = load i32, ptr %19, align 4 %244 = add nsw i32 %242, %243 %245 = sext i32 %244 to i64 %246 = getelementptr inbounds double, ptr %235, i64 %245 %247 = load double, ptr %246, align 8 %248 = call double @llvm.fmuladd.f64(double %233, double %234, double %247) %249 = load i32, ptr %15, align 4 %250 = add nsw i32 %249, 1 %251 = sitofp i32 %250 to double %252 = fdiv double %248, %251 store double %252, ptr %22, align 8 %253 = load i32, ptr %15, align 4 %254 = sitofp i32 %253 to double %255 = load double, ptr %23, align 8 %256 = load ptr, ptr %25, align 8 %257 = load i32, ptr %15, align 4 %258 = load i32, ptr %20, align 4 %259 = mul nsw i32 %257, %258 %260 = load i32, ptr %18, align 4 %261 = load i32, ptr %9, align 4 %262 = mul nsw i32 %260, %261 %263 = add nsw i32 %259, %262 %264 = load i32, ptr %19, align 4 %265 = add nsw i32 %263, %264 %266 = sext i32 %265 to i64 %267 = getelementptr inbounds double, ptr %256, i64 %266 %268 = load double, ptr %267, align 8 %269 = call double @llvm.fmuladd.f64(double %254, double %255, double %268) %270 = load i32, ptr %15, align 4 %271 = add nsw i32 %270, 1 %272 = sitofp i32 %271 to double %273 = fdiv double %269, %272 store double %273, ptr %23, align 8 br label %274 274: ; preds = %221 %275 = load i32, ptr %15, align 4 %276 = add nsw i32 %275, 1 store i32 %276, ptr %15, align 4 %277 = load i32, ptr %15, align 4 %278 = load i32, ptr %9, align 4 %279 = icmp slt i32 %277, %278 br i1 %279, label %221, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %274 br label %280 280: ; preds = %._crit_edge9, %217 %281 = load double, ptr %11, align 8 %282 = load double, ptr %22, align 8 %283 = fmul double %281, %282 %284 = load ptr, ptr %12, align 8 %285 = load i32, ptr %16, align 4 %286 = load i32, ptr %9, align 4 %287 = mul nsw i32 %285, %286 %288 = load i32, ptr %17, align 4 %289 = add nsw i32 %287, %288 %290 = sext i32 %289 to i64 %291 = getelementptr inbounds double, ptr %284, i64 %290 store double %283, ptr %291, align 8 %292 = load double, ptr %11, align 8 %293 = load double, ptr %23, align 8 %294 = fmul double %292, %293 %295 = load ptr, ptr %12, align 8 %296 = load i32, ptr %16, align 4 %297 = load i32, ptr %9, align 4 %298 = mul nsw i32 %296, %297 %299 = load i32, ptr %17, align 4 %300 = add nsw i32 %298, %299 %301 = load i32, ptr %20, align 4 %302 = add nsw i32 %300, %301 %303 = sext i32 %302 to i64 %304 = getelementptr inbounds double, ptr %295, i64 %303 store double %294, ptr %304, align 8 br label %305 305: ; preds = %280 %306 = load i32, ptr %17, align 4 %307 = add nsw i32 %306, 1 store i32 %307, ptr %17, align 4 %308 = load i32, ptr %17, align 4 %309 = load i32, ptr %9, align 4 %310 = icmp slt i32 %308, %309 br i1 %310, label %217, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %305 br label %311 311: ; preds = %._crit_edge12, %213 br label %312 312: ; preds = %311 %313 = load i32, ptr %16, align 4 %314 = add nsw i32 %313, 1 store i32 %314, ptr %16, align 4 %315 = load i32, ptr %16, align 4 %316 = load i32, ptr %9, align 4 %317 = icmp slt i32 %315, %316 br i1 %317, label %213, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %312 br label %318 318: ; preds = %._crit_edge15, %209 %319 = load ptr, ptr %24, align 8 %320 = call i32 @free(ptr noundef %319) %321 = load ptr, ptr %25, align 8 %322 = call i32 @free(ptr noundef %321) ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @memoryError(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @mod(i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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}
; ModuleID = '/tmp/tmp37mlqzkf.c' source_filename = "/tmp/tmp37mlqzkf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter an integer:\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %6, 10 store i32 %7, ptr %3, align 4 br label %8 8: ; preds = %12, %0 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp sle i32 %9, %10 br i1 %11, label %12, label %16 12: ; preds = %8 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %2, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13) br label %8, !llvm.loop !6 16: ; preds = %8 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp37mlqzkf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter an integer:\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %6, 10 store i32 %7, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp sle i32 %8, %9 br i1 %10, label %.lr.ph, label %18 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %11 %12 = load i32, ptr %2, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %2, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %12) %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp sle i32 %15, %16 br i1 %17, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %18 18: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp2r710g45.c' source_filename = "/tmp/tmp2r710g45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @strncmp(ptr noundef %5, ptr noundef %6, i64 noundef -1) ret i32 %7 } declare i32 @strncmp(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2r710g45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @strncmp(ptr noundef %5, ptr noundef %6, i64 noundef -1) ret i32 %7 } declare i32 @strncmp(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpt1pzfnul.c' source_filename = "/tmp/tmpt1pzfnul.c" target datalayout = "e-m:e-p270: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/tmpt1pzfnul.c" target datalayout = "e-m:e-p270: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/tmpmb2llzig.c' source_filename = "/tmp/tmpmb2llzig.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quaddobl_test(i32 noundef %0, i32 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 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %9 = load i32, ptr %3, align 4 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %5, align 8 %12 = alloca i32, i64 %10, align 16 store i64 %10, ptr %6, align 8 %13 = load i32, ptr %3, align 4 %14 = mul nsw i32 4, %13 %15 = load i32, ptr %4, align 4 %16 = mul nsw i32 %14, %15 %17 = zext i32 %16 to i64 %18 = alloca double, i64 %17, align 16 store i64 %17, ptr %7, align 8 %19 = load i32, ptr %3, align 4 %20 = mul nsw i32 4, %19 %21 = zext i32 %20 to i64 %22 = alloca double, i64 %21, align 16 store i64 %21, ptr %8, align 8 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr %4, align 4 %25 = call i32 @quaddobl_generate(i32 noundef %23, i32 noundef %24, ptr noundef %12, ptr noundef %18, ptr noundef %22) %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %4, align 4 %28 = call i32 @quaddobl_operate(i32 noundef %26, i32 noundef %27, ptr noundef %12, ptr noundef %18, ptr noundef %22) %29 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %29) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @quaddobl_generate(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @quaddobl_operate(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmb2llzig.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quaddobl_test(i32 noundef %0, i32 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 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %9 = load i32, ptr %3, align 4 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %5, align 8 %12 = alloca i32, i64 %10, align 16 store i64 %10, ptr %6, align 8 %13 = load i32, ptr %3, align 4 %14 = mul nsw i32 4, %13 %15 = load i32, ptr %4, align 4 %16 = mul nsw i32 %14, %15 %17 = zext i32 %16 to i64 %18 = alloca double, i64 %17, align 16 store i64 %17, ptr %7, align 8 %19 = load i32, ptr %3, align 4 %20 = mul nsw i32 4, %19 %21 = zext i32 %20 to i64 %22 = alloca double, i64 %21, align 16 store i64 %21, ptr %8, align 8 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr %4, align 4 %25 = call i32 @quaddobl_generate(i32 noundef %23, i32 noundef %24, ptr noundef %12, ptr noundef %18, ptr noundef %22) %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %4, align 4 %28 = call i32 @quaddobl_operate(i32 noundef %26, i32 noundef %27, ptr noundef %12, ptr noundef %18, ptr noundef %22) %29 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %29) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @quaddobl_generate(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @quaddobl_operate(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptczs0wsz.c' source_filename = "/tmp/tmptczs0wsz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pseudo_header_initial(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, 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 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %12 = load ptr, ptr %4, align 8 store ptr %12, ptr %6, align 8 %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds i32, ptr %13, i64 0 %15 = load i32, ptr %14, align 4 %16 = and i32 %15, 240 %17 = ashr i32 %16, 4 store i32 %17, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp eq i32 %18, 4 br i1 %19, label %20, label %29 20: ; preds = %2 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i32, ptr %21, i64 9 %23 = load i32, ptr %22, align 4 store i32 %23, ptr %8, align 4 %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds i32, ptr %24, i64 0 %26 = load i32, ptr %25, align 4 %27 = and i32 %26, 15 %28 = mul nsw i32 %27, 4 store i32 %28, ptr %9, align 4 br label %38 29: ; preds = %2 %30 = load i32, ptr %7, align 4 %31 = icmp eq i32 %30, 6 br i1 %31, label %32, label %36 32: ; preds = %29 %33 = load ptr, ptr %4, align 8 %34 = getelementptr inbounds i32, ptr %33, i64 6 %35 = load i32, ptr %34, align 4 store i32 %35, ptr %8, align 4 store i32 40, ptr %9, align 4 br label %37 36: ; preds = %29 store i32 -65535, ptr %3, align 4 br label %138 37: ; preds = %32 br label %38 38: ; preds = %37, %20 %39 = load i32, ptr %8, align 4 %40 = icmp eq i32 %39, 6 br i1 %40, label %44, label %41 41: ; preds = %38 %42 = load i32, ptr %8, align 4 %43 = icmp eq i32 %42, 17 br i1 %43, label %44, label %137 44: ; preds = %41, %38 store i32 0, ptr %10, align 4 %45 = load i32, ptr %9, align 4 %46 = sext i32 %45 to i64 %47 = load i64, ptr %5, align 8 %48 = sub i64 %47, %46 store i64 %48, ptr %5, align 8 %49 = load i32, ptr %7, align 4 %50 = icmp eq i32 %49, 4 br i1 %50, label %51, label %80 51: ; preds = %44 %52 = load ptr, ptr %4, align 8 %53 = load i32, ptr %9, align 4 %54 = call i64 @cksum_generic(ptr noundef %52, i32 noundef %53, i32 noundef 0) %55 = icmp ne i64 %54, 0 br i1 %55, label %56, label %57 56: ; preds = %51 store i32 -65534, ptr %3, align 4 br label %138 57: ; preds = %51 %58 = load i64, ptr %5, align 8 %59 = and i64 %58, 65535 %60 = call i32 @htons(i64 noundef %59) %61 = load i32, ptr %8, align 4 %62 = shl i32 %61, 8 %63 = add nsw i32 %60, %62 %64 = load ptr, ptr %6, align 8 %65 = getelementptr inbounds i32, ptr %64, i64 6 %66 = load i32, ptr %65, align 4 %67 = add nsw i32 %63, %66 %68 = load ptr, ptr %6, align 8 %69 = getelementptr inbounds i32, ptr %68, i64 7 %70 = load i32, ptr %69, align 4 %71 = add nsw i32 %67, %70 %72 = load ptr, ptr %6, align 8 %73 = getelementptr inbounds i32, ptr %72, i64 8 %74 = load i32, ptr %73, align 4 %75 = add nsw i32 %71, %74 %76 = load ptr, ptr %6, align 8 %77 = getelementptr inbounds i32, ptr %76, i64 9 %78 = load i32, ptr %77, align 4 %79 = add nsw i32 %75, %78 store i32 %79, ptr %10, align 4 br label %123 80: ; preds = %44 %81 = load ptr, ptr %6, align 8 %82 = getelementptr inbounds i32, ptr %81, i64 2 %83 = load i32, ptr %82, align 4 %84 = load i32, ptr %8, align 4 %85 = shl i32 %84, 8 %86 = add nsw i32 %83, %85 store i32 %86, ptr %10, align 4 store i32 4, ptr %11, align 4 br label %87 87: ; preds = %119, %80 %88 = load i32, ptr %11, align 4 %89 = icmp slt i32 %88, 20 br i1 %89, label %90, label %122 90: ; preds = %87 %91 = load ptr, ptr %6, align 8 %92 = load i32, ptr %11, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i32, ptr %91, i64 %93 %95 = load i32, ptr %94, align 4 %96 = load ptr, ptr %6, align 8 %97 = load i32, ptr %11, align 4 %98 = add nsw i32 %97, 1 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i32, ptr %96, i64 %99 %101 = load i32, ptr %100, align 4 %102 = add nsw i32 %95, %101 %103 = load ptr, ptr %6, align 8 %104 = load i32, ptr %11, align 4 %105 = add nsw i32 %104, 2 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds i32, ptr %103, i64 %106 %108 = load i32, ptr %107, align 4 %109 = add nsw i32 %102, %108 %110 = load ptr, ptr %6, align 8 %111 = load i32, ptr %11, align 4 %112 = add nsw i32 %111, 3 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds i32, ptr %110, i64 %113 %115 = load i32, ptr %114, align 4 %116 = add nsw i32 %109, %115 %117 = load i32, ptr %10, align 4 %118 = add nsw i32 %117, %116 store i32 %118, ptr %10, align 4 br label %119 119: ; preds = %90 %120 = load i32, ptr %11, align 4 %121 = add nsw i32 %120, 4 store i32 %121, ptr %11, align 4 br label %87, !llvm.loop !6 122: ; preds = %87 br label %123 123: ; preds = %122, %57 %124 = load i32, ptr %10, align 4 %125 = and i32 %124, -65536 %126 = lshr i32 %125, 16 %127 = load i32, ptr %10, align 4 %128 = and i32 %127, 65535 %129 = add i32 %126, %128 store i32 %129, ptr %10, align 4 %130 = load i32, ptr %10, align 4 %131 = and i32 %130, -65536 %132 = lshr i32 %131, 16 %133 = load i32, ptr %10, align 4 %134 = and i32 %133, 65535 %135 = add i32 %132, %134 store i32 %135, ptr %10, align 4 %136 = load i32, ptr %10, align 4 store i32 %136, ptr %3, align 4 br label %138 137: ; preds = %41 store i32 -65535, ptr %3, align 4 br label %138 138: ; preds = %137, %123, %56, %36 %139 = load i32, ptr %3, align 4 ret i32 %139 } declare i64 @cksum_generic(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptczs0wsz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pseudo_header_initial(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, 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 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %12 = load ptr, ptr %4, align 8 store ptr %12, ptr %6, align 8 %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds i32, ptr %13, i64 0 %15 = load i32, ptr %14, align 4 %16 = and i32 %15, 240 %17 = ashr i32 %16, 4 store i32 %17, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp eq i32 %18, 4 br i1 %19, label %20, label %29 20: ; preds = %2 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i32, ptr %21, i64 9 %23 = load i32, ptr %22, align 4 store i32 %23, ptr %8, align 4 %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds i32, ptr %24, i64 0 %26 = load i32, ptr %25, align 4 %27 = and i32 %26, 15 %28 = mul nsw i32 %27, 4 store i32 %28, ptr %9, align 4 br label %38 29: ; preds = %2 %30 = load i32, ptr %7, align 4 %31 = icmp eq i32 %30, 6 br i1 %31, label %32, label %36 32: ; preds = %29 %33 = load ptr, ptr %4, align 8 %34 = getelementptr inbounds i32, ptr %33, i64 6 %35 = load i32, ptr %34, align 4 store i32 %35, ptr %8, align 4 store i32 40, ptr %9, align 4 br label %37 36: ; preds = %29 store i32 -65535, ptr %3, align 4 br label %139 37: ; preds = %32 br label %38 38: ; preds = %37, %20 %39 = load i32, ptr %8, align 4 %40 = icmp eq i32 %39, 6 br i1 %40, label %44, label %41 41: ; preds = %38 %42 = load i32, ptr %8, align 4 %43 = icmp eq i32 %42, 17 br i1 %43, label %44, label %138 44: ; preds = %41, %38 store i32 0, ptr %10, align 4 %45 = load i32, ptr %9, align 4 %46 = sext i32 %45 to i64 %47 = load i64, ptr %5, align 8 %48 = sub i64 %47, %46 store i64 %48, ptr %5, align 8 %49 = load i32, ptr %7, align 4 %50 = icmp eq i32 %49, 4 br i1 %50, label %51, label %80 51: ; preds = %44 %52 = load ptr, ptr %4, align 8 %53 = load i32, ptr %9, align 4 %54 = call i64 @cksum_generic(ptr noundef %52, i32 noundef %53, i32 noundef 0) %55 = icmp ne i64 %54, 0 br i1 %55, label %56, label %57 56: ; preds = %51 store i32 -65534, ptr %3, align 4 br label %139 57: ; preds = %51 %58 = load i64, ptr %5, align 8 %59 = and i64 %58, 65535 %60 = call i32 @htons(i64 noundef %59) %61 = load i32, ptr %8, align 4 %62 = shl i32 %61, 8 %63 = add nsw i32 %60, %62 %64 = load ptr, ptr %6, align 8 %65 = getelementptr inbounds i32, ptr %64, i64 6 %66 = load i32, ptr %65, align 4 %67 = add nsw i32 %63, %66 %68 = load ptr, ptr %6, align 8 %69 = getelementptr inbounds i32, ptr %68, i64 7 %70 = load i32, ptr %69, align 4 %71 = add nsw i32 %67, %70 %72 = load ptr, ptr %6, align 8 %73 = getelementptr inbounds i32, ptr %72, i64 8 %74 = load i32, ptr %73, align 4 %75 = add nsw i32 %71, %74 %76 = load ptr, ptr %6, align 8 %77 = getelementptr inbounds i32, ptr %76, i64 9 %78 = load i32, ptr %77, align 4 %79 = add nsw i32 %75, %78 store i32 %79, ptr %10, align 4 br label %124 80: ; preds = %44 %81 = load ptr, ptr %6, align 8 %82 = getelementptr inbounds i32, ptr %81, i64 2 %83 = load i32, ptr %82, align 4 %84 = load i32, ptr %8, align 4 %85 = shl i32 %84, 8 %86 = add nsw i32 %83, %85 store i32 %86, ptr %10, align 4 store i32 4, ptr %11, align 4 %87 = load i32, ptr %11, align 4 %88 = icmp slt i32 %87, 20 br i1 %88, label %.lr.ph, label %123 .lr.ph: ; preds = %80 br label %89 89: ; preds = %.lr.ph, %118 %90 = load ptr, ptr %6, align 8 %91 = load i32, ptr %11, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i32, ptr %90, i64 %92 %94 = load i32, ptr %93, align 4 %95 = load ptr, ptr %6, align 8 %96 = load i32, ptr %11, align 4 %97 = add nsw i32 %96, 1 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds i32, ptr %95, i64 %98 %100 = load i32, ptr %99, align 4 %101 = add nsw i32 %94, %100 %102 = load ptr, ptr %6, align 8 %103 = load i32, ptr %11, align 4 %104 = add nsw i32 %103, 2 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds i32, ptr %102, i64 %105 %107 = load i32, ptr %106, align 4 %108 = add nsw i32 %101, %107 %109 = load ptr, ptr %6, align 8 %110 = load i32, ptr %11, align 4 %111 = add nsw i32 %110, 3 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i32, ptr %109, i64 %112 %114 = load i32, ptr %113, align 4 %115 = add nsw i32 %108, %114 %116 = load i32, ptr %10, align 4 %117 = add nsw i32 %116, %115 store i32 %117, ptr %10, align 4 br label %118 118: ; preds = %89 %119 = load i32, ptr %11, align 4 %120 = add nsw i32 %119, 4 store i32 %120, ptr %11, align 4 %121 = load i32, ptr %11, align 4 %122 = icmp slt i32 %121, 20 br i1 %122, label %89, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %118 br label %123 123: ; preds = %._crit_edge, %80 br label %124 124: ; preds = %123, %57 %125 = load i32, ptr %10, align 4 %126 = and i32 %125, -65536 %127 = lshr i32 %126, 16 %128 = load i32, ptr %10, align 4 %129 = and i32 %128, 65535 %130 = add i32 %127, %129 store i32 %130, ptr %10, align 4 %131 = load i32, ptr %10, align 4 %132 = and i32 %131, -65536 %133 = lshr i32 %132, 16 %134 = load i32, ptr %10, align 4 %135 = and i32 %134, 65535 %136 = add i32 %133, %135 store i32 %136, ptr %10, align 4 %137 = load i32, ptr %10, align 4 store i32 %137, ptr %3, align 4 br label %139 138: ; preds = %41 store i32 -65535, ptr %3, align 4 br label %139 139: ; preds = %138, %124, %56, %36 %140 = load i32, ptr %3, align 4 ret i32 %140 } declare i64 @cksum_generic(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(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"}
; ModuleID = '/tmp/tmpi6qpb3t2.c' source_filename = "/tmp/tmpi6qpb3t2.c" target datalayout = "e-m:e-p270: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.tm = type { i32, i32, i32, i32, i32, i32 } @.str = private unnamed_addr constant [47 x i8] c"Set Time (UTC): %02d:%02d:%02d %02d-%02d-%04d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @setProtonTime(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %8 = call ptr @gmtime(ptr noundef %3) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds %struct.tm, ptr %9, i32 0, i32 0 %11 = load i32, ptr %10, align 4 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds %struct.tm, ptr %12, i32 0, i32 1 %14 = load i32, ptr %13, align 4 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 2 %17 = load i32, ptr %16, align 4 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds %struct.tm, ptr %18, i32 0, i32 3 %20 = load i32, ptr %19, align 4 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds %struct.tm, ptr %21, i32 0, i32 4 %23 = load i32, ptr %22, align 4 %24 = add nsw i32 %23, 1 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds %struct.tm, ptr %25, i32 0, i32 5 %27 = load i32, ptr %26, align 4 %28 = add nsw i32 %27, 1900 %29 = call i32 @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %14, i32 noundef %17, i32 noundef %20, i32 noundef %24, i32 noundef %28) %30 = load ptr, ptr %5, align 8 %31 = call double @modJulianDate(ptr noundef %30) store double %31, ptr %6, align 8 %32 = load double, ptr %6, align 8 %33 = fptosi double %32 to i32 store i32 %33, ptr %7, align 4 %34 = load i32, ptr %7, align 4 %35 = ashr i32 %34, 8 %36 = trunc i32 %35 to i8 %37 = load ptr, ptr %4, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 0 store i8 %36, ptr %38, align 1 %39 = load i32, ptr %7, align 4 %40 = and i32 %39, 255 %41 = trunc i32 %40 to i8 %42 = load ptr, ptr %4, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 1 store i8 %41, ptr %43, align 1 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds %struct.tm, ptr %44, i32 0, i32 0 %46 = load i32, ptr %45, align 4 %47 = trunc i32 %46 to i8 %48 = load ptr, ptr %4, align 8 %49 = getelementptr inbounds i8, ptr %48, i64 2 store i8 %47, ptr %49, align 1 %50 = load ptr, ptr %5, align 8 %51 = getelementptr inbounds %struct.tm, ptr %50, i32 0, i32 1 %52 = load i32, ptr %51, align 4 %53 = trunc i32 %52 to i8 %54 = load ptr, ptr %4, align 8 %55 = getelementptr inbounds i8, ptr %54, i64 3 store i8 %53, ptr %55, align 1 %56 = load ptr, ptr %5, align 8 %57 = getelementptr inbounds %struct.tm, ptr %56, i32 0, i32 2 %58 = load i32, ptr %57, align 4 %59 = trunc i32 %58 to i8 %60 = load ptr, ptr %4, align 8 %61 = getelementptr inbounds i8, ptr %60, i64 4 store i8 %59, ptr %61, align 1 ret void } declare ptr @gmtime(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare double @modJulianDate(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi6qpb3t2.c" target datalayout = "e-m:e-p270: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.tm = type { i32, i32, i32, i32, i32, i32 } @.str = private unnamed_addr constant [47 x i8] c"Set Time (UTC): %02d:%02d:%02d %02d-%02d-%04d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @setProtonTime(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %8 = call ptr @gmtime(ptr noundef %3) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds %struct.tm, ptr %9, i32 0, i32 0 %11 = load i32, ptr %10, align 4 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds %struct.tm, ptr %12, i32 0, i32 1 %14 = load i32, ptr %13, align 4 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 2 %17 = load i32, ptr %16, align 4 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds %struct.tm, ptr %18, i32 0, i32 3 %20 = load i32, ptr %19, align 4 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds %struct.tm, ptr %21, i32 0, i32 4 %23 = load i32, ptr %22, align 4 %24 = add nsw i32 %23, 1 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds %struct.tm, ptr %25, i32 0, i32 5 %27 = load i32, ptr %26, align 4 %28 = add nsw i32 %27, 1900 %29 = call i32 @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %14, i32 noundef %17, i32 noundef %20, i32 noundef %24, i32 noundef %28) %30 = load ptr, ptr %5, align 8 %31 = call double @modJulianDate(ptr noundef %30) store double %31, ptr %6, align 8 %32 = load double, ptr %6, align 8 %33 = fptosi double %32 to i32 store i32 %33, ptr %7, align 4 %34 = load i32, ptr %7, align 4 %35 = ashr i32 %34, 8 %36 = trunc i32 %35 to i8 %37 = load ptr, ptr %4, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 0 store i8 %36, ptr %38, align 1 %39 = load i32, ptr %7, align 4 %40 = and i32 %39, 255 %41 = trunc i32 %40 to i8 %42 = load ptr, ptr %4, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 1 store i8 %41, ptr %43, align 1 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds %struct.tm, ptr %44, i32 0, i32 0 %46 = load i32, ptr %45, align 4 %47 = trunc i32 %46 to i8 %48 = load ptr, ptr %4, align 8 %49 = getelementptr inbounds i8, ptr %48, i64 2 store i8 %47, ptr %49, align 1 %50 = load ptr, ptr %5, align 8 %51 = getelementptr inbounds %struct.tm, ptr %50, i32 0, i32 1 %52 = load i32, ptr %51, align 4 %53 = trunc i32 %52 to i8 %54 = load ptr, ptr %4, align 8 %55 = getelementptr inbounds i8, ptr %54, i64 3 store i8 %53, ptr %55, align 1 %56 = load ptr, ptr %5, align 8 %57 = getelementptr inbounds %struct.tm, ptr %56, i32 0, i32 2 %58 = load i32, ptr %57, align 4 %59 = trunc i32 %58 to i8 %60 = load ptr, ptr %4, align 8 %61 = getelementptr inbounds i8, ptr %60, i64 4 store i8 %59, ptr %61, align 1 ret void } declare ptr @gmtime(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare double @modJulianDate(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_xqkdfe7.c' source_filename = "/tmp/tmp_xqkdfe7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Found: %d + %d = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @find_target_sum(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %11 = load i32, ptr %6, align 4 %12 = sub nsw i32 %11, 1 store i32 %12, ptr %10, align 4 br label %13 13: ; preds = %65, %3 %14 = load i32, ptr %9, align 4 %15 = load i32, ptr %10, align 4 %16 = icmp sle i32 %14, %15 br i1 %16, label %17, label %66 17: ; preds = %13 %18 = load i32, ptr %7, align 4 %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %9, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 %23 = load i32, ptr %22, align 4 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %10, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i32, ptr %27, align 4 %29 = add nsw i32 %23, %28 %30 = icmp eq i32 %18, %29 br i1 %30, label %31, label %44 31: ; preds = %17 %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %9, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %32, i64 %34 %36 = load i32, ptr %35, align 4 %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr %10, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %37, i64 %39 %41 = load i32, ptr %40, align 4 %42 = load i32, ptr %7, align 4 %43 = call i32 @printf(ptr noundef @.str, i32 noundef %36, i32 noundef %41, i32 noundef %42) store i32 1, ptr %4, align 4 br label %68 44: ; preds = %17 %45 = load i32, ptr %7, align 4 %46 = load ptr, ptr %5, align 8 %47 = load i32, ptr %9, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 %50 = load i32, ptr %49, align 4 %51 = load ptr, ptr %5, align 8 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %51, i64 %53 %55 = load i32, ptr %54, align 4 %56 = add nsw i32 %50, %55 %57 = icmp slt i32 %45, %56 br i1 %57, label %58, label %61 58: ; preds = %44 %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, -1 store i32 %60, ptr %10, align 4 br label %64 61: ; preds = %44 %62 = load i32, ptr %9, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %9, align 4 br label %64 64: ; preds = %61, %58 br label %65 65: ; preds = %64 br label %13, !llvm.loop !6 66: ; preds = %13 %67 = load i32, ptr %8, align 4 store i32 %67, ptr %4, align 4 br label %68 68: ; preds = %66, %31 %69 = load i32, ptr %4, align 4 ret i32 %69 } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_xqkdfe7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Found: %d + %d = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @find_target_sum(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %11 = load i32, ptr %6, align 4 %12 = sub nsw i32 %11, 1 store i32 %12, ptr %10, align 4 %13 = load i32, ptr %9, align 4 %14 = load i32, ptr %10, align 4 %15 = icmp sle i32 %13, %14 br i1 %15, label %.lr.ph, label %68 .lr.ph: ; preds = %3 br label %16 16: ; preds = %.lr.ph, %64 %17 = load i32, ptr %7, align 4 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %9, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 %22 = load i32, ptr %21, align 4 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %10, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 %27 = load i32, ptr %26, align 4 %28 = add nsw i32 %22, %27 %29 = icmp eq i32 %17, %28 br i1 %29, label %30, label %43 30: ; preds = %16 %31 = load ptr, ptr %5, align 8 %32 = load i32, ptr %9, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %31, i64 %33 %35 = load i32, ptr %34, align 4 %36 = load ptr, ptr %5, align 8 %37 = load i32, ptr %10, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %36, i64 %38 %40 = load i32, ptr %39, align 4 %41 = load i32, ptr %7, align 4 %42 = call i32 @printf(ptr noundef @.str, i32 noundef %35, i32 noundef %40, i32 noundef %41) store i32 1, ptr %4, align 4 br label %70 43: ; preds = %16 %44 = load i32, ptr %7, align 4 %45 = load ptr, ptr %5, align 8 %46 = load i32, ptr %9, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 %49 = load i32, ptr %48, align 4 %50 = load ptr, ptr %5, align 8 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %50, i64 %52 %54 = load i32, ptr %53, align 4 %55 = add nsw i32 %49, %54 %56 = icmp slt i32 %44, %55 br i1 %56, label %57, label %60 57: ; preds = %43 %58 = load i32, ptr %10, align 4 %59 = add nsw i32 %58, -1 store i32 %59, ptr %10, align 4 br label %63 60: ; preds = %43 %61 = load i32, ptr %9, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %9, align 4 br label %63 63: ; preds = %60, %57 br label %64 64: ; preds = %63 %65 = load i32, ptr %9, align 4 %66 = load i32, ptr %10, align 4 %67 = icmp sle i32 %65, %66 br i1 %67, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %64 br label %68 68: ; preds = %._crit_edge, %3 %69 = load i32, ptr %8, align 4 store i32 %69, ptr %4, align 4 br label %70 70: ; preds = %68, %30 %71 = load i32, ptr %4, align 4 ret i32 %71 } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp4fmmg8rb.c' source_filename = "/tmp/tmp4fmmg8rb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } %struct.hostent = type { i32, ptr } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"Could not gethostbyname(%s)\0A\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [5 x i8] c"bind\00", align 1 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [11 x i8] c"setsockopt\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"listen\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @create_tcp_listener(ptr noundef %0, i32 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 %struct.sockaddr_in, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 1, ptr %9, align 4 %10 = load i32, ptr @AF_INET, align 4 %11 = load i32, ptr @SOCK_STREAM, align 4 %12 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef 0) store i32 %12, ptr %6, align 4 %13 = icmp eq i32 %12, -1 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %71 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 %18 = call ptr @gethostbyname(ptr noundef %17) store ptr %18, ptr %8, align 8 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %24 20: ; preds = %16 %21 = load i32, ptr @stderr, align 4 %22 = load ptr, ptr %4, align 8 %23 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str.1, ptr noundef %22) store i32 -1, ptr %3, align 4 br label %71 24: ; preds = %16 %25 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 %26 = load ptr, ptr %8, align 8 %27 = getelementptr inbounds %struct.hostent, ptr %26, i32 0, i32 1 %28 = load ptr, ptr %27, align 8 %29 = getelementptr inbounds i32, ptr %28, i64 0 %30 = load i32, ptr %29, align 4 %31 = load ptr, ptr %8, align 8 %32 = getelementptr inbounds %struct.hostent, ptr %31, i32 0, i32 0 %33 = load i32, ptr %32, align 8 %34 = call i32 @memcpy(ptr noundef %25, i32 noundef %30, i32 noundef %33) %35 = load i32, ptr @AF_INET, align 4 %36 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %35, ptr %36, align 4 %37 = load i32, ptr %5, align 4 %38 = trunc i32 %37 to i16 %39 = call i32 @htons(i16 noundef signext %38) %40 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 store i32 %39, ptr %40, align 4 %41 = load i32, ptr @INADDR_ANY, align 4 %42 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 %43 = getelementptr inbounds %struct.TYPE_2__, ptr %42, i32 0, i32 0 store i32 %41, ptr %43, align 4 %44 = load i32, ptr %6, align 4 %45 = call i32 @bind(i32 noundef %44, ptr noundef %7, i32 noundef 12) %46 = icmp eq i32 %45, -1 br i1 %46, label %47, label %51 47: ; preds = %24 %48 = call i32 @perror(ptr noundef @.str.2) %49 = load i32, ptr %6, align 4 %50 = call i32 @close(i32 noundef %49) store i32 -1, ptr %3, align 4 br label %71 51: ; preds = %24 %52 = load i32, ptr %6, align 4 %53 = load i32, ptr @SOL_SOCKET, align 4 %54 = load i32, ptr @SO_REUSEADDR, align 4 %55 = call i32 @setsockopt(i32 noundef %52, i32 noundef %53, i32 noundef %54, ptr noundef %9, i32 noundef 4) %56 = icmp eq i32 %55, -1 br i1 %56, label %57, label %61 57: ; preds = %51 %58 = call i32 @perror(ptr noundef @.str.3) %59 = load i32, ptr %6, align 4 %60 = call i32 @close(i32 noundef %59) store i32 -1, ptr %3, align 4 br label %71 61: ; preds = %51 %62 = load i32, ptr %6, align 4 %63 = call i32 @listen(i32 noundef %62, i32 noundef 10) %64 = icmp eq i32 %63, -1 br i1 %64, label %65, label %69 65: ; preds = %61 %66 = call i32 @perror(ptr noundef @.str.4) %67 = load i32, ptr %6, align 4 %68 = call i32 @close(i32 noundef %67) store i32 -1, ptr %3, align 4 br label %71 69: ; preds = %61 %70 = load i32, ptr %6, align 4 store i32 %70, ptr %3, align 4 br label %71 71: ; preds = %69, %65, %57, %47, %20, %14 %72 = load i32, ptr %3, align 4 ret i32 %72 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @gethostbyname(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i16 noundef signext) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(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/tmp4fmmg8rb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } %struct.hostent = type { i32, ptr } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"Could not gethostbyname(%s)\0A\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [5 x i8] c"bind\00", align 1 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [11 x i8] c"setsockopt\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"listen\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @create_tcp_listener(ptr noundef %0, i32 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 %struct.sockaddr_in, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 1, ptr %9, align 4 %10 = load i32, ptr @AF_INET, align 4 %11 = load i32, ptr @SOCK_STREAM, align 4 %12 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef 0) store i32 %12, ptr %6, align 4 %13 = icmp eq i32 %12, -1 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %71 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 %18 = call ptr @gethostbyname(ptr noundef %17) store ptr %18, ptr %8, align 8 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %24 20: ; preds = %16 %21 = load i32, ptr @stderr, align 4 %22 = load ptr, ptr %4, align 8 %23 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str.1, ptr noundef %22) store i32 -1, ptr %3, align 4 br label %71 24: ; preds = %16 %25 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 %26 = load ptr, ptr %8, align 8 %27 = getelementptr inbounds %struct.hostent, ptr %26, i32 0, i32 1 %28 = load ptr, ptr %27, align 8 %29 = getelementptr inbounds i32, ptr %28, i64 0 %30 = load i32, ptr %29, align 4 %31 = load ptr, ptr %8, align 8 %32 = getelementptr inbounds %struct.hostent, ptr %31, i32 0, i32 0 %33 = load i32, ptr %32, align 8 %34 = call i32 @memcpy(ptr noundef %25, i32 noundef %30, i32 noundef %33) %35 = load i32, ptr @AF_INET, align 4 %36 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %35, ptr %36, align 4 %37 = load i32, ptr %5, align 4 %38 = trunc i32 %37 to i16 %39 = call i32 @htons(i16 noundef signext %38) %40 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 store i32 %39, ptr %40, align 4 %41 = load i32, ptr @INADDR_ANY, align 4 %42 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 %43 = getelementptr inbounds %struct.TYPE_2__, ptr %42, i32 0, i32 0 store i32 %41, ptr %43, align 4 %44 = load i32, ptr %6, align 4 %45 = call i32 @bind(i32 noundef %44, ptr noundef %7, i32 noundef 12) %46 = icmp eq i32 %45, -1 br i1 %46, label %47, label %51 47: ; preds = %24 %48 = call i32 @perror(ptr noundef @.str.2) %49 = load i32, ptr %6, align 4 %50 = call i32 @close(i32 noundef %49) store i32 -1, ptr %3, align 4 br label %71 51: ; preds = %24 %52 = load i32, ptr %6, align 4 %53 = load i32, ptr @SOL_SOCKET, align 4 %54 = load i32, ptr @SO_REUSEADDR, align 4 %55 = call i32 @setsockopt(i32 noundef %52, i32 noundef %53, i32 noundef %54, ptr noundef %9, i32 noundef 4) %56 = icmp eq i32 %55, -1 br i1 %56, label %57, label %61 57: ; preds = %51 %58 = call i32 @perror(ptr noundef @.str.3) %59 = load i32, ptr %6, align 4 %60 = call i32 @close(i32 noundef %59) store i32 -1, ptr %3, align 4 br label %71 61: ; preds = %51 %62 = load i32, ptr %6, align 4 %63 = call i32 @listen(i32 noundef %62, i32 noundef 10) %64 = icmp eq i32 %63, -1 br i1 %64, label %65, label %69 65: ; preds = %61 %66 = call i32 @perror(ptr noundef @.str.4) %67 = load i32, ptr %6, align 4 %68 = call i32 @close(i32 noundef %67) store i32 -1, ptr %3, align 4 br label %71 69: ; preds = %61 %70 = load i32, ptr %6, align 4 store i32 %70, ptr %3, align 4 br label %71 71: ; preds = %69, %65, %57, %47, %20, %14 %72 = load i32, ptr %3, align 4 ret i32 %72 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @gethostbyname(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i16 noundef signext) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(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/tmp4rm86dhy.c' source_filename = "/tmp/tmp4rm86dhy.c" target datalayout = "e-m:e-p270: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/tmp4rm86dhy.c" target datalayout = "e-m:e-p270: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/tmpjez6jsqb.c' source_filename = "/tmp/tmpjez6jsqb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"shlq\09$3,%rcx\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cgscale2() #0 { %1 = call i32 @gen(ptr noundef @.str) ret void } declare i32 @gen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjez6jsqb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"shlq\09$3,%rcx\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cgscale2() #0 { %1 = call i32 @gen(ptr noundef @.str) ret void } declare i32 @gen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfbq2vvzu.c' source_filename = "/tmp/tmpfbq2vvzu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sock_op_get_fds(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 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = call i32 (...) @abort() #2 unreachable } ; Function Attrs: noreturn declare i32 @abort(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfbq2vvzu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sock_op_get_fds(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 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = call i32 (...) @abort() #2 unreachable } ; Function Attrs: noreturn declare i32 @abort(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4vi7ug6p.c' source_filename = "/tmp/tmp4vi7ug6p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"fork error\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"./print-pid\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"print-pid\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"google-chrome\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"--new-window\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"exec failed\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [27 x i8] c"Created child with pid %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [39 x i8] c"Parent waiting for child to finish...\0A\00", align 1 @.str.8 = private unnamed_addr constant [14 x i8] c"waitpid error\00", align 1 @.str.9 = private unnamed_addr constant [16 x i8] c"Parent exiting\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 i64, align 8 %7 = 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 %8 = call i64 (...) @fork() store i64 %8, ptr %6, align 8 %9 = icmp slt i64 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 @err_sys(ptr noundef @.str) br label %36 12: ; preds = %2 %13 = load i64, ptr %6, align 8 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %35 15: ; preds = %12 %16 = load i32, ptr %4, align 4 %17 = icmp eq i32 %16, 1 br i1 %17, label %18, label %20 18: ; preds = %15 %19 = call i32 (ptr, ptr, ptr, ...) @execlp(ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef null) br label %31 20: ; preds = %15 %21 = load i32, ptr %4, align 4 %22 = icmp eq i32 %21, 2 br i1 %22, label %23, label %30 23: ; preds = %20 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 %27 = call ptr @buildQueryUrl(ptr noundef %26) store ptr %27, ptr %7, align 8 %28 = load ptr, ptr %7, align 8 %29 = call i32 (ptr, ptr, ptr, ...) @execlp(ptr noundef @.str.3, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef %28, ptr noundef null) br label %30 30: ; preds = %23, %20 br label %31 31: ; preds = %30, %18 %32 = call i32 @err_sys(ptr noundef @.str.5) %33 = load i32, ptr @EXIT_FAILURE, align 4 %34 = call i32 @exit(i32 noundef %33) #3 unreachable 35: ; preds = %12 br label %36 36: ; preds = %35, %10 %37 = load i64, ptr %6, align 8 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %37) %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %40 = load i64, ptr %6, align 8 %41 = call i64 @waitpid(i64 noundef %40, ptr noundef null, i32 noundef 0) %42 = load i64, ptr %6, align 8 %43 = icmp ne i64 %41, %42 br i1 %43, label %44, label %46 44: ; preds = %36 %45 = call i32 @err_sys(ptr noundef @.str.8) br label %46 46: ; preds = %44, %36 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %48 = load i32, ptr @EXIT_SUCCESS, align 4 %49 = call i32 @exit(i32 noundef %48) #3 unreachable } declare i64 @fork(...) #1 declare i32 @err_sys(ptr noundef) #1 declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @buildQueryUrl(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #1 declare i64 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4vi7ug6p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"fork error\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"./print-pid\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"print-pid\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"google-chrome\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"--new-window\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"exec failed\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [27 x i8] c"Created child with pid %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [39 x i8] c"Parent waiting for child to finish...\0A\00", align 1 @.str.8 = private unnamed_addr constant [14 x i8] c"waitpid error\00", align 1 @.str.9 = private unnamed_addr constant [16 x i8] c"Parent exiting\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 i64, align 8 %7 = 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 %8 = call i64 (...) @fork() store i64 %8, ptr %6, align 8 %9 = icmp slt i64 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 @err_sys(ptr noundef @.str) br label %36 12: ; preds = %2 %13 = load i64, ptr %6, align 8 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %35 15: ; preds = %12 %16 = load i32, ptr %4, align 4 %17 = icmp eq i32 %16, 1 br i1 %17, label %18, label %20 18: ; preds = %15 %19 = call i32 (ptr, ptr, ptr, ...) @execlp(ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef null) br label %31 20: ; preds = %15 %21 = load i32, ptr %4, align 4 %22 = icmp eq i32 %21, 2 br i1 %22, label %23, label %30 23: ; preds = %20 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 %27 = call ptr @buildQueryUrl(ptr noundef %26) store ptr %27, ptr %7, align 8 %28 = load ptr, ptr %7, align 8 %29 = call i32 (ptr, ptr, ptr, ...) @execlp(ptr noundef @.str.3, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef %28, ptr noundef null) br label %30 30: ; preds = %23, %20 br label %31 31: ; preds = %30, %18 %32 = call i32 @err_sys(ptr noundef @.str.5) %33 = load i32, ptr @EXIT_FAILURE, align 4 %34 = call i32 @exit(i32 noundef %33) #3 unreachable 35: ; preds = %12 br label %36 36: ; preds = %35, %10 %37 = load i64, ptr %6, align 8 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %37) %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %40 = load i64, ptr %6, align 8 %41 = call i64 @waitpid(i64 noundef %40, ptr noundef null, i32 noundef 0) %42 = load i64, ptr %6, align 8 %43 = icmp ne i64 %41, %42 br i1 %43, label %44, label %46 44: ; preds = %36 %45 = call i32 @err_sys(ptr noundef @.str.8) br label %46 46: ; preds = %44, %36 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %48 = load i32, ptr @EXIT_SUCCESS, align 4 %49 = call i32 @exit(i32 noundef %48) #3 unreachable } declare i64 @fork(...) #1 declare i32 @err_sys(ptr noundef) #1 declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @buildQueryUrl(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #1 declare i64 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7htsxcre.c' source_filename = "/tmp/tmp7htsxcre.c" target datalayout = "e-m:e-p270: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/tmp7htsxcre.c" target datalayout = "e-m:e-p270: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/tmp5e411thz.c' source_filename = "/tmp/tmp5e411thz.c" target datalayout = "e-m:e-p270: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/tmp5e411thz.c" target datalayout = "e-m:e-p270: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/tmpzg10ly_j.c' source_filename = "/tmp/tmpzg10ly_j.c" target datalayout = "e-m:e-p270: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.T = type { ptr, ptr, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr null, ptr %2, align 8 store ptr null, ptr %3, align 8 br label %5 5: ; preds = %23, %0 %6 = call i64 (...) @__nondet() %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %25 8: ; preds = %5 %9 = call ptr @malloc(i32 noundef 24) store ptr %9, ptr %3, align 8 %10 = load ptr, ptr %2, align 8 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds %struct.T, ptr %11, i32 0, i32 0 store ptr %10, ptr %12, align 8 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds %struct.T, ptr %13, i32 0, i32 1 store ptr null, ptr %14, align 8 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds %struct.T, ptr %15, i32 0, i32 2 store i32 0, ptr %16, align 8 %17 = load ptr, ptr %2, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %23 19: ; preds = %8 %20 = load ptr, ptr %3, align 8 %21 = load ptr, ptr %2, align 8 %22 = getelementptr inbounds %struct.T, ptr %21, i32 0, i32 1 store ptr %20, ptr %22, align 8 br label %23 23: ; preds = %19, %8 %24 = load ptr, ptr %3, align 8 store ptr %24, ptr %2, align 8 br label %5, !llvm.loop !6 25: ; preds = %5 %26 = load ptr, ptr %2, align 8 store ptr %26, ptr %3, align 8 br label %27 27: ; preds = %57, %25 %28 = load ptr, ptr %3, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %61 30: ; preds = %27 %31 = call i64 (...) @__nondet() %32 = icmp ne i64 %31, 0 br i1 %32, label %33, label %57 33: ; preds = %30 %34 = call ptr @malloc(i32 noundef 24) store ptr %34, ptr %4, align 8 %35 = load ptr, ptr %3, align 8 %36 = getelementptr inbounds %struct.T, ptr %35, i32 0, i32 0 %37 = load ptr, ptr %36, align 8 %38 = load ptr, ptr %4, align 8 %39 = getelementptr inbounds %struct.T, ptr %38, i32 0, i32 0 store ptr %37, ptr %39, align 8 %40 = load ptr, ptr %3, align 8 %41 = load ptr, ptr %4, align 8 %42 = getelementptr inbounds %struct.T, ptr %41, i32 0, i32 1 store ptr %40, ptr %42, align 8 %43 = load ptr, ptr %4, align 8 %44 = load ptr, ptr %3, align 8 %45 = getelementptr inbounds %struct.T, ptr %44, i32 0, i32 0 store ptr %43, ptr %45, align 8 %46 = load ptr, ptr %4, align 8 %47 = getelementptr inbounds %struct.T, ptr %46, i32 0, i32 0 %48 = load ptr, ptr %47, align 8 %49 = icmp ne ptr %48, null br i1 %49, label %50, label %56 50: ; preds = %33 %51 = load ptr, ptr %4, align 8 %52 = load ptr, ptr %4, align 8 %53 = getelementptr inbounds %struct.T, ptr %52, i32 0, i32 0 %54 = load ptr, ptr %53, align 8 %55 = getelementptr inbounds %struct.T, ptr %54, i32 0, i32 1 store ptr %51, ptr %55, align 8 br label %56 56: ; preds = %50, %33 br label %61 57: ; preds = %30 %58 = load ptr, ptr %3, align 8 %59 = getelementptr inbounds %struct.T, ptr %58, i32 0, i32 0 %60 = load ptr, ptr %59, align 8 store ptr %60, ptr %3, align 8 br label %27, !llvm.loop !8 61: ; preds = %56, %27 br label %62 62: ; preds = %65, %61 %63 = load ptr, ptr %2, align 8 %64 = icmp ne ptr %63, null br i1 %64, label %65, label %72 65: ; preds = %62 %66 = load ptr, ptr %2, align 8 store ptr %66, ptr %3, align 8 %67 = load ptr, ptr %2, align 8 %68 = getelementptr inbounds %struct.T, ptr %67, i32 0, i32 0 %69 = load ptr, ptr %68, align 8 store ptr %69, ptr %2, align 8 %70 = load ptr, ptr %3, align 8 %71 = call i32 @free(ptr noundef %70) br label %62, !llvm.loop !9 72: ; preds = %62 ret i32 0 } declare i64 @__nondet(...) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzg10ly_j.c" target datalayout = "e-m:e-p270: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.T = type { ptr, ptr, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr null, ptr %2, align 8 store ptr null, ptr %3, align 8 %5 = call i64 (...) @__nondet() %6 = icmp ne i64 %5, 0 br i1 %6, label %.lr.ph, label %26 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %22 %8 = call ptr @malloc(i32 noundef 24) store ptr %8, ptr %3, align 8 %9 = load ptr, ptr %2, align 8 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds %struct.T, ptr %10, i32 0, i32 0 store ptr %9, ptr %11, align 8 %12 = load ptr, ptr %3, align 8 %13 = getelementptr inbounds %struct.T, ptr %12, i32 0, i32 1 store ptr null, ptr %13, align 8 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds %struct.T, ptr %14, i32 0, i32 2 store i32 0, ptr %15, align 8 %16 = load ptr, ptr %2, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %22 18: ; preds = %7 %19 = load ptr, ptr %3, align 8 %20 = load ptr, ptr %2, align 8 %21 = getelementptr inbounds %struct.T, ptr %20, i32 0, i32 1 store ptr %19, ptr %21, align 8 br label %22 22: ; preds = %18, %7 %23 = load ptr, ptr %3, align 8 store ptr %23, ptr %2, align 8 %24 = call i64 (...) @__nondet() %25 = icmp ne i64 %24, 0 br i1 %25, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %26 26: ; preds = %._crit_edge, %0 %27 = load ptr, ptr %2, align 8 store ptr %27, ptr %3, align 8 %28 = load ptr, ptr %3, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %26 br label %30 30: ; preds = %.lr.ph2, %57 %31 = call i64 (...) @__nondet() %32 = icmp ne i64 %31, 0 br i1 %32, label %33, label %57 33: ; preds = %30 %34 = call ptr @malloc(i32 noundef 24) store ptr %34, ptr %4, align 8 %35 = load ptr, ptr %3, align 8 %36 = getelementptr inbounds %struct.T, ptr %35, i32 0, i32 0 %37 = load ptr, ptr %36, align 8 %38 = load ptr, ptr %4, align 8 %39 = getelementptr inbounds %struct.T, ptr %38, i32 0, i32 0 store ptr %37, ptr %39, align 8 %40 = load ptr, ptr %3, align 8 %41 = load ptr, ptr %4, align 8 %42 = getelementptr inbounds %struct.T, ptr %41, i32 0, i32 1 store ptr %40, ptr %42, align 8 %43 = load ptr, ptr %4, align 8 %44 = load ptr, ptr %3, align 8 %45 = getelementptr inbounds %struct.T, ptr %44, i32 0, i32 0 store ptr %43, ptr %45, align 8 %46 = load ptr, ptr %4, align 8 %47 = getelementptr inbounds %struct.T, ptr %46, i32 0, i32 0 %48 = load ptr, ptr %47, align 8 %49 = icmp ne ptr %48, null br i1 %49, label %50, label %56 50: ; preds = %33 %51 = load ptr, ptr %4, align 8 %52 = load ptr, ptr %4, align 8 %53 = getelementptr inbounds %struct.T, ptr %52, i32 0, i32 0 %54 = load ptr, ptr %53, align 8 %55 = getelementptr inbounds %struct.T, ptr %54, i32 0, i32 1 store ptr %51, ptr %55, align 8 br label %56 56: ; preds = %50, %33 br label %63 57: ; preds = %30 %58 = load ptr, ptr %3, align 8 %59 = getelementptr inbounds %struct.T, ptr %58, i32 0, i32 0 %60 = load ptr, ptr %59, align 8 store ptr %60, ptr %3, align 8 %61 = load ptr, ptr %3, align 8 %62 = icmp ne ptr %61, null br i1 %62, label %30, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %57 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %26 br label %63 63: ; preds = %.loopexit, %56 %64 = load ptr, ptr %2, align 8 %65 = icmp ne ptr %64, null br i1 %65, label %.lr.ph4, label %75 .lr.ph4: ; preds = %63 br label %66 66: ; preds = %.lr.ph4, %66 %67 = load ptr, ptr %2, align 8 store ptr %67, ptr %3, align 8 %68 = load ptr, ptr %2, align 8 %69 = getelementptr inbounds %struct.T, ptr %68, i32 0, i32 0 %70 = load ptr, ptr %69, align 8 store ptr %70, ptr %2, align 8 %71 = load ptr, ptr %3, align 8 %72 = call i32 @free(ptr noundef %71) %73 = load ptr, ptr %2, align 8 %74 = icmp ne ptr %73, null br i1 %74, label %66, label %._crit_edge5, !llvm.loop !9 ._crit_edge5: ; preds = %66 br label %75 75: ; preds = %._crit_edge5, %63 ret i32 0 } declare i64 @__nondet(...) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp5jtm_tvm.c' source_filename = "/tmp/tmp5jtm_tvm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_put_oct_S(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 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @my_strlen(ptr noundef %7) store i32 %8, ptr %6, align 4 %9 = call i32 @my_putchar(i8 noundef signext 92) %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %16 12: ; preds = %2 %13 = call i32 @my_putchar(i8 noundef signext 45) %14 = load i32, ptr %3, align 4 %15 = mul nsw i32 %14, -1 store i32 %15, ptr %3, align 4 br label %16 16: ; preds = %12, %2 store i32 1, ptr %5, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp sle i32 %17, 31 br i1 %18, label %19, label %22 19: ; preds = %16 %20 = load i32, ptr %3, align 4 %21 = call i32 @aff_0(i32 noundef %20) br label %22 22: ; preds = %19, %16 br label %23 23: ; preds = %29, %22 %24 = load i32, ptr %3, align 4 %25 = load i32, ptr %5, align 4 %26 = sdiv i32 %24, %25 %27 = load i32, ptr %6, align 4 %28 = icmp sge i32 %26, %27 br i1 %28, label %29, label %33 29: ; preds = %23 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %5, align 4 %32 = mul nsw i32 %31, %30 store i32 %32, ptr %5, align 4 br label %23, !llvm.loop !6 33: ; preds = %23 br label %34 34: ; preds = %37, %33 %35 = load i32, ptr %5, align 4 %36 = icmp sgt i32 %35, 0 br i1 %36, label %37, label %51 37: ; preds = %34 %38 = load ptr, ptr %4, align 8 %39 = load i32, ptr %3, align 4 %40 = load i32, ptr %5, align 4 %41 = sdiv i32 %39, %40 %42 = load i32, ptr %6, align 4 %43 = srem i32 %41, %42 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %38, i64 %44 %46 = load i8, ptr %45, align 1 %47 = call i32 @my_putchar(i8 noundef signext %46) %48 = load i32, ptr %6, align 4 %49 = load i32, ptr %5, align 4 %50 = sdiv i32 %49, %48 store i32 %50, ptr %5, align 4 br label %34, !llvm.loop !8 51: ; preds = %34 ret i32 1 } declare i32 @my_strlen(ptr noundef) #1 declare i32 @my_putchar(i8 noundef signext) #1 declare i32 @aff_0(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/tmp5jtm_tvm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_put_oct_S(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 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @my_strlen(ptr noundef %7) store i32 %8, ptr %6, align 4 %9 = call i32 @my_putchar(i8 noundef signext 92) %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %16 12: ; preds = %2 %13 = call i32 @my_putchar(i8 noundef signext 45) %14 = load i32, ptr %3, align 4 %15 = mul nsw i32 %14, -1 store i32 %15, ptr %3, align 4 br label %16 16: ; preds = %12, %2 store i32 1, ptr %5, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp sle i32 %17, 31 br i1 %18, label %19, label %22 19: ; preds = %16 %20 = load i32, ptr %3, align 4 %21 = call i32 @aff_0(i32 noundef %20) br label %22 22: ; preds = %19, %16 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr %5, align 4 %25 = sdiv i32 %23, %24 %26 = load i32, ptr %6, align 4 %27 = icmp sge i32 %25, %26 br i1 %27, label %.lr.ph, label %37 .lr.ph: ; preds = %22 br label %28 28: ; preds = %.lr.ph, %28 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %5, align 4 %31 = mul nsw i32 %30, %29 store i32 %31, ptr %5, align 4 %32 = load i32, ptr %3, align 4 %33 = load i32, ptr %5, align 4 %34 = sdiv i32 %32, %33 %35 = load i32, ptr %6, align 4 %36 = icmp sge i32 %34, %35 br i1 %36, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %37 37: ; preds = %._crit_edge, %22 %38 = load i32, ptr %5, align 4 %39 = icmp sgt i32 %38, 0 br i1 %39, label %.lr.ph2, label %56 .lr.ph2: ; preds = %37 br label %40 40: ; preds = %.lr.ph2, %40 %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %3, align 4 %43 = load i32, ptr %5, align 4 %44 = sdiv i32 %42, %43 %45 = load i32, ptr %6, align 4 %46 = srem i32 %44, %45 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %41, i64 %47 %49 = load i8, ptr %48, align 1 %50 = call i32 @my_putchar(i8 noundef signext %49) %51 = load i32, ptr %6, align 4 %52 = load i32, ptr %5, align 4 %53 = sdiv i32 %52, %51 store i32 %53, ptr %5, align 4 %54 = load i32, ptr %5, align 4 %55 = icmp sgt i32 %54, 0 br i1 %55, label %40, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %40 br label %56 56: ; preds = %._crit_edge3, %37 ret i32 1 } declare i32 @my_strlen(ptr noundef) #1 declare i32 @my_putchar(i8 noundef signext) #1 declare i32 @aff_0(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/tmp6hcy76dk.c' source_filename = "/tmp/tmp6hcy76dk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @WNOHANG = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"! %d\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @thread_code(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %6 6: ; preds = %17, %1 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 1000 br i1 %8, label %9, label %20 9: ; preds = %6 %10 = call i32 (...) @fork() store i32 %10, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %9 br label %14 14: ; preds = %13, %14 %15 = call i32 @sleep(i32 noundef 1000) br label %14 16: ; preds = %9 br label %17 17: ; preds = %16 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 br label %6, !llvm.loop !6 20: ; preds = %6 br label %21 21: ; preds = %20, %28 %22 = load i32, ptr @WNOHANG, align 4 %23 = call i64 @waitpid(i32 noundef -1, ptr noundef %5, i32 noundef %22) %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %21 %26 = load i32, ptr @errno, align 4 %27 = call i32 @printf(ptr noundef @.str, i32 noundef %26) br label %28 28: ; preds = %25, %21 br label %21 } declare i32 @fork(...) #1 declare i32 @sleep(i32 noundef) #1 declare i64 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6hcy76dk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @WNOHANG = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"! %d\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @thread_code(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 1000 br i1 %7, label %.lr.ph, label %21 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %16 %9 = call i32 (...) @fork() store i32 %9, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %8 br label %13 13: ; preds = %13, %12 %14 = call i32 @sleep(i32 noundef 1000) br label %13 15: ; preds = %8 br label %16 16: ; preds = %15 %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 slt i32 %19, 1000 br i1 %20, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %1 br label %22 22: ; preds = %29, %21 %23 = load i32, ptr @WNOHANG, align 4 %24 = call i64 @waitpid(i32 noundef -1, ptr noundef %5, i32 noundef %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %22 %27 = load i32, ptr @errno, align 4 %28 = call i32 @printf(ptr noundef @.str, i32 noundef %27) br label %29 29: ; preds = %26, %22 br label %22 } declare i32 @fork(...) #1 declare i32 @sleep(i32 noundef) #1 declare i64 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8rheisab.c' source_filename = "/tmp/tmp8rheisab.c" target datalayout = "e-m:e-p270: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/tmp8rheisab.c" target datalayout = "e-m:e-p270: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/tmpz5nb92ht.c' source_filename = "/tmp/tmpz5nb92ht.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @m_ftoa(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca ptr, align 8 store float %0, ptr %2, align 4 %4 = call i64 @malloc(i32 noundef 16) %5 = inttoptr i64 %4 to ptr store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %2, align 4 %8 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef %7) %9 = load ptr, ptr %3, align 8 ret ptr %9 } declare i64 @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz5nb92ht.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @m_ftoa(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca ptr, align 8 store float %0, ptr %2, align 4 %4 = call i64 @malloc(i32 noundef 16) %5 = inttoptr i64 %4 to ptr store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %2, align 4 %8 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef %7) %9 = load ptr, ptr %3, align 8 ret ptr %9 } declare i64 @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvo7hfkfk.c' source_filename = "/tmp/tmpvo7hfkfk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CreateData(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call i64 @malloc(i32 noundef %5) %7 = inttoptr i64 %6 to ptr store ptr %7, ptr %3, align 8 %8 = load i32, ptr %2, align 4 store i32 %8, ptr %4, align 4 store i32 0, ptr %4, align 4 br label %9 9: ; preds = %18, %1 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %21 13: ; preds = %9 %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 store i8 0, ptr %17, align 1 br label %18 18: ; preds = %13 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %4, align 4 br label %9, !llvm.loop !6 21: ; preds = %9 %22 = load ptr, ptr %3, align 8 ret ptr %22 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvo7hfkfk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CreateData(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call i64 @malloc(i32 noundef %5) %7 = inttoptr i64 %6 to ptr store ptr %7, ptr %3, align 8 %8 = load i32, ptr %2, align 4 store i32 %8, ptr %4, align 4 store i32 0, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %23 .lr.ph: ; preds = %1 br label %12 12: ; preds = %.lr.ph, %17 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %4, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 store i8 0, ptr %16, align 1 br label %17 17: ; preds = %12 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %2, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %1 %24 = load ptr, ptr %3, align 8 ret ptr %24 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnk3glgtn.c' source_filename = "/tmp/tmpnk3glgtn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Enter the depth(in metres)\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [65 x i8] c"Enter the current mix -> e.g for EAN36 enter 36 or air enter 21\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"PP02 is %.2f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %8 = load float, ptr %3, align 4 %9 = fdiv float %8, 1.000000e+01 %10 = fadd float %9, 1.000000e+00 store float %10, ptr %5, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %13 = load float, ptr %2, align 4 %14 = fdiv float %13, 1.000000e+02 store float %14, ptr %2, align 4 %15 = load float, ptr %5, align 4 %16 = load float, ptr %2, align 4 %17 = fmul float %15, %16 store float %17, ptr %4, align 4 %18 = load float, ptr %4, align 4 %19 = fpext float %18 to double %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %19) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnk3glgtn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Enter the depth(in metres)\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [65 x i8] c"Enter the current mix -> e.g for EAN36 enter 36 or air enter 21\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"PP02 is %.2f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %8 = load float, ptr %3, align 4 %9 = fdiv float %8, 1.000000e+01 %10 = fadd float %9, 1.000000e+00 store float %10, ptr %5, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %13 = load float, ptr %2, align 4 %14 = fdiv float %13, 1.000000e+02 store float %14, ptr %2, align 4 %15 = load float, ptr %5, align 4 %16 = load float, ptr %2, align 4 %17 = fmul float %15, %16 store float %17, ptr %4, align 4 %18 = load float, ptr %4, align 4 %19 = fpext float %18 to double %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %19) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp59tcw3eu.c' source_filename = "/tmp/tmp59tcw3eu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @SendAsync_Sample() ret i32 0 } declare i32 @SendAsync_Sample(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp59tcw3eu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @SendAsync_Sample() ret i32 0 } declare i32 @SendAsync_Sample(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwnire0ff.c' source_filename = "/tmp/tmpwnire0ff.c" target datalayout = "e-m:e-p270: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/tmpwnire0ff.c" target datalayout = "e-m:e-p270: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/tmplcyqz2u4.c' source_filename = "/tmp/tmplcyqz2u4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"serial_dbg_t32\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Console_Init() #0 { %1 = alloca i32, align 4 %2 = call i32 @Console_SetDevice(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @Console_SetDevice(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplcyqz2u4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"serial_dbg_t32\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Console_Init() #0 { %1 = alloca i32, align 4 %2 = call i32 @Console_SetDevice(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @Console_SetDevice(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw3bm6x21.c' source_filename = "/tmp/tmpw3bm6x21.c" target datalayout = "e-m:e-p270: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/tmpw3bm6x21.c" target datalayout = "e-m:e-p270: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/tmpuqb8a16k.c' source_filename = "/tmp/tmpuqb8a16k.c" target datalayout = "e-m:e-p270: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/tmpuqb8a16k.c" target datalayout = "e-m:e-p270: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"}