llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpf3ux62np.c' source_filename = "/tmp/tmpf3ux62np.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @hs2i(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 zeroext i8 @hs2i13(ptr noundef %3) ret i8 %4 } declare zeroext i8 @hs2i13(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/tmpf3ux62np.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @hs2i(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 zeroext i8 @hs2i13(ptr noundef %3) ret i8 %4 } declare zeroext i8 @hs2i13(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/tmpec4pn8m3.c' source_filename = "/tmp/tmpec4pn8m3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-r\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"/run/netreport/%d\00", align 1 @O_EXCL = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_WRONLY = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @O_NOFOLLOW = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 @EEXIST = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [32 x i8] c"Could not create netreport file\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 [64 x i8], align 16 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp sgt i32 %9, 2 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 (...) @usage() br label %13 13: ; preds = %11, %2 %14 = load i32, ptr %4, align 4 %15 = icmp sgt i32 %14, 1 br i1 %15, label %16, label %29 16: ; preds = %13 %17 = load i32, ptr %4, align 4 %18 = icmp eq i32 %17, 2 br i1 %18, label %19, label %26 19: ; preds = %16 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call i64 @strcmp(ptr noundef %22, ptr noundef @.str) %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %19 store i32 0, ptr %6, align 4 br label %28 26: ; preds = %19, %16 %27 = call i32 (...) @usage() br label %28 28: ; preds = %26, %25 br label %29 29: ; preds = %28, %13 %30 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %31 = call i32 (...) @getppid() %32 = call i32 @snprintf(ptr noundef %30, i32 noundef 64, ptr noundef @.str.1, i32 noundef %31) %33 = load i32, ptr %6, align 4 %34 = icmp eq i32 %33, 1 br i1 %34, label %35, label %61 35: ; preds = %29 %36 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %37 = load i32, ptr @O_EXCL, align 4 %38 = load i32, ptr @O_CREAT, align 4 %39 = or i32 %37, %38 %40 = load i32, ptr @O_WRONLY, align 4 %41 = or i32 %39, %40 %42 = load i32, ptr @O_TRUNC, align 4 %43 = or i32 %41, %42 %44 = load i32, ptr @O_NOFOLLOW, align 4 %45 = or i32 %43, %44 %46 = call i32 @open(ptr noundef %36, i32 noundef %45, i32 noundef 0) store i32 %46, ptr %8, align 4 %47 = load i32, ptr %8, align 4 %48 = icmp eq i32 %47, -1 br i1 %48, label %49, label %57 49: ; preds = %35 %50 = load i64, ptr @errno, align 8 %51 = load i64, ptr @EEXIST, align 8 %52 = icmp ne i64 %50, %51 br i1 %52, label %53, label %56 53: ; preds = %49 %54 = call i32 @perror(ptr noundef @.str.2) %55 = call i32 @exit(i32 noundef 1) #3 unreachable 56: ; preds = %49 br label %60 57: ; preds = %35 %58 = load i32, ptr %8, align 4 %59 = call i32 @close(i32 noundef %58) br label %60 60: ; preds = %57, %56 br label %64 61: ; preds = %29 %62 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %63 = call i32 @unlink(ptr noundef %62) br label %64 64: ; preds = %61, %60 ret i32 0 } declare i32 @usage(...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @getppid(...) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @close(i32 noundef) #1 declare i32 @unlink(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/tmpec4pn8m3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-r\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"/run/netreport/%d\00", align 1 @O_EXCL = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_WRONLY = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @O_NOFOLLOW = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 @EEXIST = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [32 x i8] c"Could not create netreport file\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 [64 x i8], align 16 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp sgt i32 %9, 2 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 (...) @usage() br label %13 13: ; preds = %11, %2 %14 = load i32, ptr %4, align 4 %15 = icmp sgt i32 %14, 1 br i1 %15, label %16, label %29 16: ; preds = %13 %17 = load i32, ptr %4, align 4 %18 = icmp eq i32 %17, 2 br i1 %18, label %19, label %26 19: ; preds = %16 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call i64 @strcmp(ptr noundef %22, ptr noundef @.str) %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %19 store i32 0, ptr %6, align 4 br label %28 26: ; preds = %19, %16 %27 = call i32 (...) @usage() br label %28 28: ; preds = %26, %25 br label %29 29: ; preds = %28, %13 %30 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %31 = call i32 (...) @getppid() %32 = call i32 @snprintf(ptr noundef %30, i32 noundef 64, ptr noundef @.str.1, i32 noundef %31) %33 = load i32, ptr %6, align 4 %34 = icmp eq i32 %33, 1 br i1 %34, label %35, label %61 35: ; preds = %29 %36 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %37 = load i32, ptr @O_EXCL, align 4 %38 = load i32, ptr @O_CREAT, align 4 %39 = or i32 %37, %38 %40 = load i32, ptr @O_WRONLY, align 4 %41 = or i32 %39, %40 %42 = load i32, ptr @O_TRUNC, align 4 %43 = or i32 %41, %42 %44 = load i32, ptr @O_NOFOLLOW, align 4 %45 = or i32 %43, %44 %46 = call i32 @open(ptr noundef %36, i32 noundef %45, i32 noundef 0) store i32 %46, ptr %8, align 4 %47 = load i32, ptr %8, align 4 %48 = icmp eq i32 %47, -1 br i1 %48, label %49, label %57 49: ; preds = %35 %50 = load i64, ptr @errno, align 8 %51 = load i64, ptr @EEXIST, align 8 %52 = icmp ne i64 %50, %51 br i1 %52, label %53, label %56 53: ; preds = %49 %54 = call i32 @perror(ptr noundef @.str.2) %55 = call i32 @exit(i32 noundef 1) #3 unreachable 56: ; preds = %49 br label %60 57: ; preds = %35 %58 = load i32, ptr %8, align 4 %59 = call i32 @close(i32 noundef %58) br label %60 60: ; preds = %57, %56 br label %64 61: ; preds = %29 %62 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %63 = call i32 @unlink(ptr noundef %62) br label %64 64: ; preds = %61, %60 ret i32 0 } declare i32 @usage(...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @getppid(...) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @close(i32 noundef) #1 declare i32 @unlink(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/tmpr2f6usei.c' source_filename = "/tmp/tmpr2f6usei.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func1() #0 { %1 = call i32 (...) @a() ret void } declare i32 @a(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr2f6usei.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func1() #0 { %1 = call i32 (...) @a() ret void } declare i32 @a(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmph2pgw92w.c' source_filename = "/tmp/tmph2pgw92w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (...) @__VERIFIER_nondet_int() store i32 %6, ptr %2, align 4 %7 = call i32 (...) @__VERIFIER_nondet_int() store i32 %7, ptr %3, align 4 %8 = call i32 (...) @__VERIFIER_nondet_int() store i32 %8, ptr %4, align 4 %9 = call i32 (...) @__VERIFIER_nondet_int() store i32 %9, ptr %5, align 4 br label %10 10: ; preds = %33, %0 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = icmp sge i32 %11, %12 br i1 %13, label %14, label %20 14: ; preds = %10 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %4, align 4 %18 = add nsw i32 %16, %17 %19 = icmp sle i32 %15, %18 br label %20 20: ; preds = %14, %10 %21 = phi i1 [ false, %10 ], [ %19, %14 ] br i1 %21, label %22, label %34 22: ; preds = %20 %23 = call i32 (...) @__VERIFIER_nondet_int() %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %30 25: ; preds = %22 %26 = load i32, ptr %4, align 4 %27 = sub nsw i32 %26, 1 store i32 %27, ptr %4, align 4 %28 = load i32, ptr %2, align 4 store i32 %28, ptr %5, align 4 %29 = call i32 (...) @__VERIFIER_nondet_int() store i32 %29, ptr %2, align 4 br label %33 30: ; preds = %22 %31 = load i32, ptr %3, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %3, align 4 br label %33 33: ; preds = %30, %25 br label %10, !llvm.loop !6 34: ; preds = %20 ret i32 0 } declare i32 @__VERIFIER_nondet_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph2pgw92w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (...) @__VERIFIER_nondet_int() store i32 %6, ptr %2, align 4 %7 = call i32 (...) @__VERIFIER_nondet_int() store i32 %7, ptr %3, align 4 %8 = call i32 (...) @__VERIFIER_nondet_int() store i32 %8, ptr %4, align 4 %9 = call i32 (...) @__VERIFIER_nondet_int() store i32 %9, ptr %5, align 4 br label %10 10: ; preds = %33, %0 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = icmp sge i32 %11, %12 br i1 %13, label %14, label %20 14: ; preds = %10 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %4, align 4 %18 = add nsw i32 %16, %17 %19 = icmp sle i32 %15, %18 br label %20 20: ; preds = %14, %10 %21 = phi i1 [ false, %10 ], [ %19, %14 ] br i1 %21, label %22, label %34 22: ; preds = %20 %23 = call i32 (...) @__VERIFIER_nondet_int() %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %30 25: ; preds = %22 %26 = load i32, ptr %4, align 4 %27 = sub nsw i32 %26, 1 store i32 %27, ptr %4, align 4 %28 = load i32, ptr %2, align 4 store i32 %28, ptr %5, align 4 %29 = call i32 (...) @__VERIFIER_nondet_int() store i32 %29, ptr %2, align 4 br label %33 30: ; preds = %22 %31 = load i32, ptr %3, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %3, align 4 br label %33 33: ; preds = %30, %25 br label %10, !llvm.loop !6 34: ; preds = %20 ret i32 0 } declare i32 @__VERIFIER_nondet_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp287krxyv.c' source_filename = "/tmp/tmp287krxyv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @extended_gcd(i64 noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i64, align 8 %13 = alloca %struct.TYPE_2__, align 8 store i64 %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %14 = load i64, ptr %7, align 8 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %20 16: ; preds = %4 %17 = load ptr, ptr %8, align 8 store i32 0, ptr %17, align 4 %18 = load ptr, ptr %9, align 8 store i32 1, ptr %18, align 4 %19 = load i64, ptr %6, align 8 store i64 %19, ptr %5, align 8 br label %43 20: ; preds = %4 %21 = load i64, ptr %7, align 8 %22 = load i64, ptr %6, align 8 %23 = load i64, ptr %7, align 8 %24 = call i64 @ldiv(i64 noundef %22, i64 noundef %23) %25 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i32 0, i32 0 store i64 %24, ptr %25, align 8 %26 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i32 0, i32 0 %27 = load i64, ptr %26, align 8 %28 = call i64 @extended_gcd(i64 noundef %21, i64 noundef %27, ptr noundef %10, ptr noundef %11) store i64 %28, ptr %12, align 8 %29 = load i32, ptr %11, align 4 %30 = sext i32 %29 to i64 %31 = load i64, ptr %6, align 8 %32 = load i64, ptr %7, align 8 %33 = udiv i64 %31, %32 %34 = load i32, ptr %10, align 4 %35 = sext i32 %34 to i64 %36 = mul i64 %33, %35 %37 = sub i64 %30, %36 %38 = trunc i64 %37 to i32 %39 = load ptr, ptr %8, align 8 store i32 %38, ptr %39, align 4 %40 = load i32, ptr %10, align 4 %41 = load ptr, ptr %9, align 8 store i32 %40, ptr %41, align 4 %42 = load i64, ptr %12, align 8 store i64 %42, ptr %5, align 8 br label %43 43: ; preds = %20, %16 %44 = load i64, ptr %5, align 8 ret i64 %44 } declare i64 @ldiv(i64 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/tmp287krxyv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @extended_gcd(i64 noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i64, align 8 %13 = alloca %struct.TYPE_2__, align 8 store i64 %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %14 = load i64, ptr %7, align 8 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %20 16: ; preds = %4 %17 = load ptr, ptr %8, align 8 store i32 0, ptr %17, align 4 %18 = load ptr, ptr %9, align 8 store i32 1, ptr %18, align 4 %19 = load i64, ptr %6, align 8 store i64 %19, ptr %5, align 8 br label %43 20: ; preds = %4 %21 = load i64, ptr %7, align 8 %22 = load i64, ptr %6, align 8 %23 = load i64, ptr %7, align 8 %24 = call i64 @ldiv(i64 noundef %22, i64 noundef %23) %25 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i32 0, i32 0 store i64 %24, ptr %25, align 8 %26 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i32 0, i32 0 %27 = load i64, ptr %26, align 8 %28 = call i64 @extended_gcd(i64 noundef %21, i64 noundef %27, ptr noundef %10, ptr noundef %11) store i64 %28, ptr %12, align 8 %29 = load i32, ptr %11, align 4 %30 = sext i32 %29 to i64 %31 = load i64, ptr %6, align 8 %32 = load i64, ptr %7, align 8 %33 = udiv i64 %31, %32 %34 = load i32, ptr %10, align 4 %35 = sext i32 %34 to i64 %36 = mul i64 %33, %35 %37 = sub i64 %30, %36 %38 = trunc i64 %37 to i32 %39 = load ptr, ptr %8, align 8 store i32 %38, ptr %39, align 4 %40 = load i32, ptr %10, align 4 %41 = load ptr, ptr %9, align 8 store i32 %40, ptr %41, align 4 %42 = load i64, ptr %12, align 8 store i64 %42, ptr %5, align 8 br label %43 43: ; preds = %20, %16 %44 = load i64, ptr %5, align 8 ret i64 %44 } declare i64 @ldiv(i64 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/tmpyby22aq0.c' source_filename = "/tmp/tmpyby22aq0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"input cipher code:\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"\0Acipher code:%s\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"\0Aoriginal text :\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [80 x i8], align 16 %5 = alloca [80 x i8], align 16 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0 %8 = call i32 @gets(ptr noundef %7) %9 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %9) store i32 0, ptr %2, align 4 br label %11 11: ; preds = %77, %0 %12 = load i32, ptr %2, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %80 18: ; preds = %11 %19 = load i32, ptr %2, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp sge i32 %23, 65 br i1 %24, label %25, label %43 25: ; preds = %18 %26 = load i32, ptr %2, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp sle i32 %30, 90 br i1 %31, label %32, label %43 32: ; preds = %25 %33 = load i32, ptr %2, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 %34 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = sub nsw i32 155, %37 %39 = trunc i32 %38 to i8 %40 = load i32, ptr %2, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 %41 store i8 %39, ptr %42, align 1 br label %77 43: ; preds = %25, %18 %44 = load i32, ptr %2, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 %45 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = icmp sge i32 %48, 97 br i1 %49, label %50, label %68 50: ; preds = %43 %51 = load i32, ptr %2, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 %52 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp sle i32 %55, 122 br i1 %56, label %57, label %68 57: ; preds = %50 %58 = load i32, ptr %2, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 %59 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = sub nsw i32 219, %62 %64 = trunc i32 %63 to i8 %65 = load i32, ptr %2, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 %66 store i8 %64, ptr %67, align 1 br label %76 68: ; preds = %50, %43 %69 = load i32, ptr %2, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 %70 %72 = load i8, ptr %71, align 1 %73 = load i32, ptr %2, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 %74 store i8 %72, ptr %75, align 1 br label %76 76: ; preds = %68, %57 br label %77 77: ; preds = %76, %32 %78 = load i32, ptr %2, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %2, align 4 br label %11, !llvm.loop !6 80: ; preds = %11 %81 = load i32, ptr %2, align 4 store i32 %81, ptr %3, align 4 %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %2, align 4 br label %83 83: ; preds = %93, %80 %84 = load i32, ptr %2, align 4 %85 = load i32, ptr %3, align 4 %86 = icmp slt i32 %84, %85 br i1 %86, label %87, label %96 87: ; preds = %83 %88 = load i32, ptr %2, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 %89 %91 = load i8, ptr %90, align 1 %92 = call i32 @putchar(i8 noundef signext %91) br label %93 93: ; preds = %87 %94 = load i32, ptr %2, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %2, align 4 br label %83, !llvm.loop !8 96: ; preds = %83 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @gets(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyby22aq0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"input cipher code:\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"\0Acipher code:%s\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"\0Aoriginal text :\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [80 x i8], align 16 %5 = alloca [80 x i8], align 16 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0 %8 = call i32 @gets(ptr noundef %7) %9 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %9) store i32 0, ptr %2, align 4 %11 = load i32, ptr %2, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br i1 %16, label %.lr.ph, label %85 .lr.ph: ; preds = %0 br label %17 17: ; preds = %.lr.ph, %76 %18 = load i32, ptr %2, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp sge i32 %22, 65 br i1 %23, label %24, label %42 24: ; preds = %17 %25 = load i32, ptr %2, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 %26 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp sle i32 %29, 90 br i1 %30, label %31, label %42 31: ; preds = %24 %32 = load i32, ptr %2, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = sub nsw i32 155, %36 %38 = trunc i32 %37 to i8 %39 = load i32, ptr %2, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 %40 store i8 %38, ptr %41, align 1 br label %76 42: ; preds = %24, %17 %43 = load i32, ptr %2, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp sge i32 %47, 97 br i1 %48, label %49, label %67 49: ; preds = %42 %50 = load i32, ptr %2, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 %51 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp sle i32 %54, 122 br i1 %55, label %56, label %67 56: ; preds = %49 %57 = load i32, ptr %2, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 %58 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = sub nsw i32 219, %61 %63 = trunc i32 %62 to i8 %64 = load i32, ptr %2, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 %65 store i8 %63, ptr %66, align 1 br label %75 67: ; preds = %49, %42 %68 = load i32, ptr %2, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 %69 %71 = load i8, ptr %70, align 1 %72 = load i32, ptr %2, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 %73 store i8 %71, ptr %74, align 1 br label %75 75: ; preds = %67, %56 br label %76 76: ; preds = %75, %31 %77 = load i32, ptr %2, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %2, align 4 %79 = load i32, ptr %2, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 %80 %82 = load i8, ptr %81, align 1 %83 = sext i8 %82 to i32 %84 = icmp ne i32 %83, 0 br i1 %84, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %76 br label %85 85: ; preds = %._crit_edge, %0 %86 = load i32, ptr %2, align 4 store i32 %86, ptr %3, align 4 %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %2, align 4 %88 = load i32, ptr %2, align 4 %89 = load i32, ptr %3, align 4 %90 = icmp slt i32 %88, %89 br i1 %90, label %.lr.ph2, label %103 .lr.ph2: ; preds = %85 br label %91 91: ; preds = %.lr.ph2, %97 %92 = load i32, ptr %2, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 %93 %95 = load i8, ptr %94, align 1 %96 = call i32 @putchar(i8 noundef signext %95) br label %97 97: ; preds = %91 %98 = load i32, ptr %2, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %2, align 4 %100 = load i32, ptr %2, align 4 %101 = load i32, ptr %3, align 4 %102 = icmp slt i32 %100, %101 br i1 %102, label %91, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %97 br label %103 103: ; preds = %._crit_edge3, %85 %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @gets(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmppngf0w1f.c' source_filename = "/tmp/tmppngf0w1f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lace_compat_sh_exec(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds ptr, ptr %3, i64 0 %5 = load ptr, ptr %4, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @execvp(ptr noundef %5, ptr noundef %6) ret void } declare i32 @execvp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppngf0w1f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lace_compat_sh_exec(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds ptr, ptr %3, i64 0 %5 = load ptr, ptr %4, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @execvp(ptr noundef %5, ptr noundef %6) ret void } declare i32 @execvp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpngy_idb1.c' source_filename = "/tmp/tmpngy_idb1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"perl\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c" #comment\00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"#comment\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_perl_comments() #0 { %1 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 @test_parser_verify_parse(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 0) ret void } declare i32 @test_parser_verify_parse(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @test_parser_sourcefile(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/tmpngy_idb1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"perl\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c" #comment\00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"#comment\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_perl_comments() #0 { %1 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 @test_parser_verify_parse(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 0) ret void } declare i32 @test_parser_verify_parse(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @test_parser_sourcefile(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/tmp_17l8ks8.c' source_filename = "/tmp/tmp_17l8ks8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TCIFLUSH = dso_local global i32 0, align 4 @TCOFLUSH = dso_local global i32 0, align 4 @TCIOFLUSH = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @SetFlush(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 switch i32 %5, label %18 [ i32 1, label %6 i32 2, label %10 i32 3, label %14 ] 6: ; preds = %2 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr @TCIFLUSH, align 4 %9 = call i32 @tcflush(i32 noundef %7, i32 noundef %8) br label %18 10: ; preds = %2 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr @TCOFLUSH, align 4 %13 = call i32 @tcflush(i32 noundef %11, i32 noundef %12) br label %18 14: ; preds = %2 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr @TCIOFLUSH, align 4 %17 = call i32 @tcflush(i32 noundef %15, i32 noundef %16) br label %18 18: ; preds = %2, %14, %10, %6 ret void } declare i32 @tcflush(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/tmp_17l8ks8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TCIFLUSH = dso_local global i32 0, align 4 @TCOFLUSH = dso_local global i32 0, align 4 @TCIOFLUSH = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @SetFlush(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 switch i32 %5, label %18 [ i32 1, label %6 i32 2, label %10 i32 3, label %14 ] 6: ; preds = %2 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr @TCIFLUSH, align 4 %9 = call i32 @tcflush(i32 noundef %7, i32 noundef %8) br label %18 10: ; preds = %2 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr @TCOFLUSH, align 4 %13 = call i32 @tcflush(i32 noundef %11, i32 noundef %12) br label %18 14: ; preds = %2 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr @TCIOFLUSH, align 4 %17 = call i32 @tcflush(i32 noundef %15, i32 noundef %16) br label %18 18: ; preds = %14, %10, %6, %2 ret void } declare i32 @tcflush(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/tmpj7ysav5v.c' source_filename = "/tmp/tmpj7ysav5v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @first_3_of_5(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp sge i32 %4, 0 %6 = zext i1 %5 to i32 %7 = call i32 @assert(i32 noundef %6) %8 = load i32, ptr %3, align 4 %9 = icmp sge i32 %8, 100000 br i1 %9, label %10, label %13 10: ; preds = %1 %11 = load i32, ptr %3, align 4 %12 = sdiv i32 %11, 1000 store i32 %12, ptr %2, align 4 br label %27 13: ; preds = %1 %14 = load i32, ptr %3, align 4 %15 = icmp sge i32 %14, 10000 br i1 %15, label %16, label %19 16: ; preds = %13 %17 = load i32, ptr %3, align 4 %18 = sdiv i32 %17, 100 store i32 %18, ptr %2, align 4 br label %27 19: ; preds = %13 %20 = load i32, ptr %3, align 4 %21 = icmp sge i32 %20, 1000 br i1 %21, label %22, label %25 22: ; preds = %19 %23 = load i32, ptr %3, align 4 %24 = sdiv i32 %23, 10 store i32 %24, ptr %2, align 4 br label %27 25: ; preds = %19 %26 = load i32, ptr %3, align 4 store i32 %26, ptr %2, align 4 br label %27 27: ; preds = %25, %22, %16, %10 %28 = load i32, ptr %2, align 4 ret i32 %28 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj7ysav5v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @first_3_of_5(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp sge i32 %4, 0 %6 = zext i1 %5 to i32 %7 = call i32 @assert(i32 noundef %6) %8 = load i32, ptr %3, align 4 %9 = icmp sge i32 %8, 100000 br i1 %9, label %10, label %13 10: ; preds = %1 %11 = load i32, ptr %3, align 4 %12 = sdiv i32 %11, 1000 store i32 %12, ptr %2, align 4 br label %27 13: ; preds = %1 %14 = load i32, ptr %3, align 4 %15 = icmp sge i32 %14, 10000 br i1 %15, label %16, label %19 16: ; preds = %13 %17 = load i32, ptr %3, align 4 %18 = sdiv i32 %17, 100 store i32 %18, ptr %2, align 4 br label %27 19: ; preds = %13 %20 = load i32, ptr %3, align 4 %21 = icmp sge i32 %20, 1000 br i1 %21, label %22, label %25 22: ; preds = %19 %23 = load i32, ptr %3, align 4 %24 = sdiv i32 %23, 10 store i32 %24, ptr %2, align 4 br label %27 25: ; preds = %19 %26 = load i32, ptr %3, align 4 store i32 %26, ptr %2, align 4 br label %27 27: ; preds = %25, %22, %16, %10 %28 = load i32, ptr %2, align 4 ret i32 %28 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4vws8tda.c' source_filename = "/tmp/tmp4vws8tda.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wfree(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/tmp4vws8tda.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wfree(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/tmpb4mcgl7r.c' source_filename = "/tmp/tmpb4mcgl7r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello net world!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = 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/tmpb4mcgl7r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello net world!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = 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/tmpdihgn7np.c' source_filename = "/tmp/tmpdihgn7np.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [150 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/rajeshaavuty/twemperf_vbox/refs/heads/master/src/mcp_util.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"assert '%s' failed @ (%s, %d)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mcp_assert(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 br label %9 9: ; preds = %4 %10 = call i64 @log_loggable(i32 noundef 1) %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %17 12: ; preds = %9 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %6, align 8 %15 = load i32, ptr %7, align 4 %16 = call i32 @_log(ptr noundef @.str, i32 noundef 428, i32 noundef 0, ptr noundef @.str.1, ptr noundef %13, ptr noundef %14, i32 noundef %15) br label %17 17: ; preds = %12, %9 br label %18 18: ; preds = %17 %19 = load i32, ptr %8, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %18 %22 = call i32 @mcp_stacktrace(i32 noundef 1) %23 = call i32 (...) @abort() #3 unreachable 24: ; preds = %18 ret void } declare i64 @log_loggable(i32 noundef) #1 declare i32 @_log(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @mcp_stacktrace(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdihgn7np.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [150 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/rajeshaavuty/twemperf_vbox/refs/heads/master/src/mcp_util.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"assert '%s' failed @ (%s, %d)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mcp_assert(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 br label %9 9: ; preds = %4 %10 = call i64 @log_loggable(i32 noundef 1) %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %17 12: ; preds = %9 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %6, align 8 %15 = load i32, ptr %7, align 4 %16 = call i32 @_log(ptr noundef @.str, i32 noundef 428, i32 noundef 0, ptr noundef @.str.1, ptr noundef %13, ptr noundef %14, i32 noundef %15) br label %17 17: ; preds = %12, %9 br label %18 18: ; preds = %17 %19 = load i32, ptr %8, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %18 %22 = call i32 @mcp_stacktrace(i32 noundef 1) %23 = call i32 (...) @abort() #3 unreachable 24: ; preds = %18 ret void } declare i64 @log_loggable(i32 noundef) #1 declare i32 @_log(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @mcp_stacktrace(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcj6_gin6.c' source_filename = "/tmp/tmpcj6_gin6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sigsuspend(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcj6_gin6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sigsuspend(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyox754ju.c' source_filename = "/tmp/tmpyox754ju.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CHAR_BIT = dso_local global i8 0, align 1 @INT_MIN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test() #0 { %1 = alloca i8, align 1 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i64, align 8 store i8 0, ptr %1, align 1 store i8 0, ptr %1, align 1 store i8 1, ptr %1, align 1 store i8 1, ptr %1, align 1 store i8 1, ptr %1, align 1 store i8 poison, ptr %1, align 1 store i8 poison, ptr %1, align 1 store i8 poison, ptr %1, align 1 store i8 poison, ptr %1, align 1 %5 = load i8, ptr %1, align 1 %6 = sext i8 %5 to i32 %7 = shl i32 1, %6 %8 = trunc i32 %7 to i8 store i8 %8, ptr %1, align 1 %9 = load i8, ptr %1, align 1 %10 = sext i8 %9 to i32 %11 = shl i32 %10, 0 %12 = trunc i32 %11 to i8 store i8 %12, ptr %1, align 1 %13 = load i8, ptr %1, align 1 %14 = sext i8 %13 to i32 %15 = ashr i32 %14, 0 %16 = trunc i32 %15 to i8 store i8 %16, ptr %1, align 1 %17 = load i8, ptr %1, align 1 %18 = sext i8 %17 to i32 %19 = shl i32 %18, 1 %20 = trunc i32 %19 to i8 store i8 %20, ptr %1, align 1 %21 = load i8, ptr %1, align 1 %22 = sext i8 %21 to i32 %23 = ashr i32 %22, 1 %24 = trunc i32 %23 to i8 store i8 %24, ptr %1, align 1 %25 = load i8, ptr %1, align 1 %26 = sext i8 %25 to i32 %27 = shl i32 %26, -1 %28 = trunc i32 %27 to i8 store i8 %28, ptr %1, align 1 %29 = load i8, ptr %1, align 1 %30 = sext i8 %29 to i32 %31 = ashr i32 %30, -1 %32 = trunc i32 %31 to i8 store i8 %32, ptr %1, align 1 %33 = load i8, ptr %1, align 1 %34 = sext i8 %33 to i32 %35 = shl i32 %34, 999999 %36 = trunc i32 %35 to i8 store i8 %36, ptr %1, align 1 %37 = load i8, ptr %1, align 1 %38 = sext i8 %37 to i32 %39 = ashr i32 %38, 999999 %40 = trunc i32 %39 to i8 store i8 %40, ptr %1, align 1 %41 = load i8, ptr @CHAR_BIT, align 1 %42 = sext i8 %41 to i32 %43 = load i8, ptr %1, align 1 %44 = sext i8 %43 to i32 %45 = shl i32 %44, %42 %46 = trunc i32 %45 to i8 store i8 %46, ptr %1, align 1 %47 = load i8, ptr @CHAR_BIT, align 1 %48 = sext i8 %47 to i32 %49 = load i8, ptr %1, align 1 %50 = sext i8 %49 to i32 %51 = ashr i32 %50, %48 %52 = trunc i32 %51 to i8 store i8 %52, ptr %1, align 1 %53 = load i8, ptr @CHAR_BIT, align 1 %54 = sext i8 %53 to i32 %55 = add nsw i32 %54, 1 %56 = load i8, ptr %1, align 1 %57 = sext i8 %56 to i32 %58 = shl i32 %57, %55 %59 = trunc i32 %58 to i8 store i8 %59, ptr %1, align 1 %60 = load i8, ptr @CHAR_BIT, align 1 %61 = sext i8 %60 to i32 %62 = add nsw i32 %61, 1 %63 = load i8, ptr %1, align 1 %64 = sext i8 %63 to i32 %65 = ashr i32 %64, %62 %66 = trunc i32 %65 to i8 store i8 %66, ptr %1, align 1 %67 = load i8, ptr %1, align 1 %68 = sext i8 %67 to i64 %69 = load i8, ptr @CHAR_BIT, align 1 %70 = sext i8 %69 to i32 %71 = zext i32 %70 to i64 %72 = shl i64 %68, %71 %73 = load i8, ptr @CHAR_BIT, align 1 %74 = sext i8 %73 to i64 %75 = mul i64 4, %74 %76 = sub i64 %75, 2 %77 = trunc i64 %76 to i32 %78 = shl i32 1, %77 store i32 %78, ptr %2, align 4 %79 = load i8, ptr @CHAR_BIT, align 1 %80 = sext i8 %79 to i64 %81 = mul i64 4, %80 %82 = sub i64 %81, 1 %83 = trunc i64 %82 to i32 %84 = shl i32 2, %83 store i32 %84, ptr %2, align 4 %85 = load i8, ptr @CHAR_BIT, align 1 %86 = sext i8 %85 to i64 %87 = mul i64 4, %86 %88 = sub i64 %87, 1 %89 = trunc i64 %88 to i32 %90 = shl i32 1, %89 store i32 %90, ptr %2, align 4 %91 = load i8, ptr @CHAR_BIT, align 1 %92 = sext i8 %91 to i64 %93 = mul i64 4, %92 %94 = sub i64 %93, 1 %95 = trunc i64 %94 to i32 %96 = shl i32 -1, %95 store i32 %96, ptr %2, align 4 store i32 -1, ptr %2, align 4 %97 = load i8, ptr @CHAR_BIT, align 1 %98 = sext i8 %97 to i64 %99 = mul i64 4, %98 %100 = sub i64 %99, 1 %101 = trunc i64 %100 to i32 %102 = shl i32 0, %101 store i32 %102, ptr %2, align 4 %103 = load i8, ptr @CHAR_BIT, align 1 %104 = sext i8 %103 to i64 %105 = mul i64 4, %104 %106 = sub i64 %105, 2 %107 = trunc i64 %106 to i32 %108 = shl i32 1, %107 store i32 %108, ptr %2, align 4 %109 = load i8, ptr @CHAR_BIT, align 1 %110 = sext i8 %109 to i64 %111 = mul i64 4, %110 %112 = sub i64 %111, 1 %113 = trunc i64 %112 to i32 %114 = shl i32 1, %113 store i32 %114, ptr %3, align 4 %115 = load i8, ptr @CHAR_BIT, align 1 %116 = sext i8 %115 to i64 %117 = mul i64 4, %116 %118 = sub i64 %117, 1 %119 = trunc i64 %118 to i32 %120 = shl i32 5, %119 store i32 %120, ptr %3, align 4 %121 = load i32, ptr @INT_MIN, align 4 %122 = shl i32 %121, 2 %123 = sext i32 %122 to i64 store i64 %123, ptr %4, align 8 %124 = load i8, ptr @CHAR_BIT, align 1 %125 = sext i8 %124 to i64 %126 = mul i64 8, %125 %127 = sub i64 %126, 2 %128 = shl i64 1, %127 store i64 %128, ptr %4, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyox754ju.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CHAR_BIT = dso_local global i8 0, align 1 @INT_MIN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test() #0 { %1 = alloca i8, align 1 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i64, align 8 store i8 0, ptr %1, align 1 store i8 0, ptr %1, align 1 store i8 1, ptr %1, align 1 store i8 1, ptr %1, align 1 store i8 1, ptr %1, align 1 store i8 poison, ptr %1, align 1 store i8 poison, ptr %1, align 1 store i8 poison, ptr %1, align 1 store i8 poison, ptr %1, align 1 %5 = load i8, ptr %1, align 1 %6 = sext i8 %5 to i32 %7 = shl i32 1, %6 %8 = trunc i32 %7 to i8 store i8 %8, ptr %1, align 1 %9 = load i8, ptr %1, align 1 %10 = sext i8 %9 to i32 %11 = shl i32 %10, 0 %12 = trunc i32 %11 to i8 store i8 %12, ptr %1, align 1 %13 = load i8, ptr %1, align 1 %14 = sext i8 %13 to i32 %15 = ashr i32 %14, 0 %16 = trunc i32 %15 to i8 store i8 %16, ptr %1, align 1 %17 = load i8, ptr %1, align 1 %18 = sext i8 %17 to i32 %19 = shl i32 %18, 1 %20 = trunc i32 %19 to i8 store i8 %20, ptr %1, align 1 %21 = load i8, ptr %1, align 1 %22 = sext i8 %21 to i32 %23 = ashr i32 %22, 1 %24 = trunc i32 %23 to i8 store i8 %24, ptr %1, align 1 %25 = load i8, ptr %1, align 1 %26 = sext i8 %25 to i32 %27 = shl i32 %26, -1 %28 = trunc i32 %27 to i8 store i8 %28, ptr %1, align 1 %29 = load i8, ptr %1, align 1 %30 = sext i8 %29 to i32 %31 = ashr i32 %30, -1 %32 = trunc i32 %31 to i8 store i8 %32, ptr %1, align 1 %33 = load i8, ptr %1, align 1 %34 = sext i8 %33 to i32 %35 = shl i32 %34, 999999 %36 = trunc i32 %35 to i8 store i8 %36, ptr %1, align 1 %37 = load i8, ptr %1, align 1 %38 = sext i8 %37 to i32 %39 = ashr i32 %38, 999999 %40 = trunc i32 %39 to i8 store i8 %40, ptr %1, align 1 %41 = load i8, ptr @CHAR_BIT, align 1 %42 = sext i8 %41 to i32 %43 = load i8, ptr %1, align 1 %44 = sext i8 %43 to i32 %45 = shl i32 %44, %42 %46 = trunc i32 %45 to i8 store i8 %46, ptr %1, align 1 %47 = load i8, ptr @CHAR_BIT, align 1 %48 = sext i8 %47 to i32 %49 = load i8, ptr %1, align 1 %50 = sext i8 %49 to i32 %51 = ashr i32 %50, %48 %52 = trunc i32 %51 to i8 store i8 %52, ptr %1, align 1 %53 = load i8, ptr @CHAR_BIT, align 1 %54 = sext i8 %53 to i32 %55 = add nsw i32 %54, 1 %56 = load i8, ptr %1, align 1 %57 = sext i8 %56 to i32 %58 = shl i32 %57, %55 %59 = trunc i32 %58 to i8 store i8 %59, ptr %1, align 1 %60 = load i8, ptr @CHAR_BIT, align 1 %61 = sext i8 %60 to i32 %62 = add nsw i32 %61, 1 %63 = load i8, ptr %1, align 1 %64 = sext i8 %63 to i32 %65 = ashr i32 %64, %62 %66 = trunc i32 %65 to i8 store i8 %66, ptr %1, align 1 %67 = load i8, ptr %1, align 1 %68 = sext i8 %67 to i64 %69 = load i8, ptr @CHAR_BIT, align 1 %70 = sext i8 %69 to i32 %71 = zext i32 %70 to i64 %72 = shl i64 %68, %71 %73 = load i8, ptr @CHAR_BIT, align 1 %74 = sext i8 %73 to i64 %75 = mul i64 4, %74 %76 = sub i64 %75, 2 %77 = trunc i64 %76 to i32 %78 = shl i32 1, %77 store i32 %78, ptr %2, align 4 %79 = load i8, ptr @CHAR_BIT, align 1 %80 = sext i8 %79 to i64 %81 = mul i64 4, %80 %82 = sub i64 %81, 1 %83 = trunc i64 %82 to i32 %84 = shl i32 2, %83 store i32 %84, ptr %2, align 4 %85 = load i8, ptr @CHAR_BIT, align 1 %86 = sext i8 %85 to i64 %87 = mul i64 4, %86 %88 = sub i64 %87, 1 %89 = trunc i64 %88 to i32 %90 = shl i32 1, %89 store i32 %90, ptr %2, align 4 %91 = load i8, ptr @CHAR_BIT, align 1 %92 = sext i8 %91 to i64 %93 = mul i64 4, %92 %94 = sub i64 %93, 1 %95 = trunc i64 %94 to i32 %96 = shl i32 -1, %95 store i32 %96, ptr %2, align 4 store i32 -1, ptr %2, align 4 %97 = load i8, ptr @CHAR_BIT, align 1 %98 = sext i8 %97 to i64 %99 = mul i64 4, %98 %100 = sub i64 %99, 1 %101 = trunc i64 %100 to i32 %102 = shl i32 0, %101 store i32 %102, ptr %2, align 4 %103 = load i8, ptr @CHAR_BIT, align 1 %104 = sext i8 %103 to i64 %105 = mul i64 4, %104 %106 = sub i64 %105, 2 %107 = trunc i64 %106 to i32 %108 = shl i32 1, %107 store i32 %108, ptr %2, align 4 %109 = load i8, ptr @CHAR_BIT, align 1 %110 = sext i8 %109 to i64 %111 = mul i64 4, %110 %112 = sub i64 %111, 1 %113 = trunc i64 %112 to i32 %114 = shl i32 1, %113 store i32 %114, ptr %3, align 4 %115 = load i8, ptr @CHAR_BIT, align 1 %116 = sext i8 %115 to i64 %117 = mul i64 4, %116 %118 = sub i64 %117, 1 %119 = trunc i64 %118 to i32 %120 = shl i32 5, %119 store i32 %120, ptr %3, align 4 %121 = load i32, ptr @INT_MIN, align 4 %122 = shl i32 %121, 2 %123 = sext i32 %122 to i64 store i64 %123, ptr %4, align 8 %124 = load i8, ptr @CHAR_BIT, align 1 %125 = sext i8 %124 to i64 %126 = mul i64 8, %125 %127 = sub i64 %126, 2 %128 = shl i64 1, %127 store i64 %128, ptr %4, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpt81jtnxl.c' source_filename = "/tmp/tmpt81jtnxl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @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/tmpt81jtnxl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @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/tmpsqd853ou.c' source_filename = "/tmp/tmpsqd853ou.c" target datalayout = "e-m:e-p270: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/tmpsqd853ou.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6ufts7__.c' source_filename = "/tmp/tmp6ufts7__.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quadEdge_isWall(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 @edge_orig(ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call ptr @edge_lNext(ptr noundef %5) %7 = call i32 @edge_orig(ptr noundef %6) %8 = call i64 @point_compare(i32 noundef %4, i32 noundef %7) %9 = icmp sge i64 %8, 0 br i1 %9, label %10, label %19 10: ; preds = %1 %11 = load ptr, ptr %2, align 8 %12 = call ptr @edge_lNext(ptr noundef %11) %13 = call i32 @edge_orig(ptr noundef %12) %14 = load ptr, ptr %2, align 8 %15 = call ptr @edge_lPrev(ptr noundef %14) %16 = call i32 @edge_orig(ptr noundef %15) %17 = call i64 @point_compare(i32 noundef %13, i32 noundef %16) %18 = icmp sgt i64 %17, 0 br label %19 19: ; preds = %10, %1 %20 = phi i1 [ false, %1 ], [ %18, %10 ] %21 = zext i1 %20 to i32 ret i32 %21 } declare i64 @point_compare(i32 noundef, i32 noundef) #1 declare i32 @edge_orig(ptr noundef) #1 declare ptr @edge_lNext(ptr noundef) #1 declare ptr @edge_lPrev(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/tmp6ufts7__.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quadEdge_isWall(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 @edge_orig(ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call ptr @edge_lNext(ptr noundef %5) %7 = call i32 @edge_orig(ptr noundef %6) %8 = call i64 @point_compare(i32 noundef %4, i32 noundef %7) %9 = icmp sge i64 %8, 0 br i1 %9, label %10, label %19 10: ; preds = %1 %11 = load ptr, ptr %2, align 8 %12 = call ptr @edge_lNext(ptr noundef %11) %13 = call i32 @edge_orig(ptr noundef %12) %14 = load ptr, ptr %2, align 8 %15 = call ptr @edge_lPrev(ptr noundef %14) %16 = call i32 @edge_orig(ptr noundef %15) %17 = call i64 @point_compare(i32 noundef %13, i32 noundef %16) %18 = icmp sgt i64 %17, 0 br label %19 19: ; preds = %10, %1 %20 = phi i1 [ false, %1 ], [ %18, %10 ] %21 = zext i1 %20 to i32 ret i32 %21 } declare i64 @point_compare(i32 noundef, i32 noundef) #1 declare i32 @edge_orig(ptr noundef) #1 declare ptr @edge_lNext(ptr noundef) #1 declare ptr @edge_lPrev(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/tmp6uhcfswh.c' source_filename = "/tmp/tmp6uhcfswh.c" target datalayout = "e-m:e-p270: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/tmp6uhcfswh.c" target datalayout = "e-m:e-p270: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/tmpssdw8hpp.c' source_filename = "/tmp/tmpssdw8hpp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"0x%08x,0x%08x,0x%08x\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%u,%u,%u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 268439552, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 32, ptr %8, align 4 store i32 0, ptr %8, align 4 br label %9 9: ; preds = %21, %2 %10 = load i32, ptr %8, align 4 %11 = icmp slt i32 %10, 32 br i1 %11, label %12, label %24 12: ; preds = %9 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %7, align 4 %17 = mul nsw i32 %15, %16 %18 = call i32 @printf(ptr noundef @.str, i32 noundef %13, i32 noundef %14, i32 noundef %17) %19 = load i32, ptr %7, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %7, align 4 br label %21 21: ; preds = %12 %22 = load i32, ptr %8, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %8, align 4 br label %9, !llvm.loop !6 24: ; preds = %9 store i32 268439552, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 32, ptr %8, align 4 store i32 0, ptr %8, align 4 br label %25 25: ; preds = %37, %24 %26 = load i32, ptr %8, align 4 %27 = icmp slt i32 %26, 32 br i1 %27, label %28, label %40 28: ; preds = %25 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %7, align 4 %31 = load i32, ptr %6, align 4 %32 = load i32, ptr %7, align 4 %33 = mul nsw i32 %31, %32 %34 = call i32 @printf(ptr noundef @.str.1, i32 noundef %29, i32 noundef %30, i32 noundef %33) %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %7, align 4 br label %37 37: ; preds = %28 %38 = load i32, ptr %8, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %8, align 4 br label %25, !llvm.loop !8 40: ; preds = %25 ret i32 0 } 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpssdw8hpp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"0x%08x,0x%08x,0x%08x\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%u,%u,%u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 268439552, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 32, ptr %8, align 4 store i32 0, ptr %8, align 4 %9 = load i32, ptr %8, align 4 %10 = icmp slt i32 %9, 32 br i1 %10, label %.lr.ph, label %25 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %20 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %7, align 4 %16 = mul nsw i32 %14, %15 %17 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %13, i32 noundef %16) %18 = load i32, ptr %7, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %7, align 4 br label %20 20: ; preds = %11 %21 = load i32, ptr %8, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %8, align 4 %23 = load i32, ptr %8, align 4 %24 = icmp slt i32 %23, 32 br i1 %24, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %25 25: ; preds = %._crit_edge, %2 store i32 268439552, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 32, ptr %8, align 4 store i32 0, ptr %8, align 4 %26 = load i32, ptr %8, align 4 %27 = icmp slt i32 %26, 32 br i1 %27, label %.lr.ph2, label %42 .lr.ph2: ; preds = %25 br label %28 28: ; preds = %.lr.ph2, %37 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %7, align 4 %31 = load i32, ptr %6, align 4 %32 = load i32, ptr %7, align 4 %33 = mul nsw i32 %31, %32 %34 = call i32 @printf(ptr noundef @.str.1, i32 noundef %29, i32 noundef %30, i32 noundef %33) %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %7, align 4 br label %37 37: ; preds = %28 %38 = load i32, ptr %8, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %8, align 4 %40 = load i32, ptr %8, align 4 %41 = icmp slt i32 %40, 32 br i1 %41, label %28, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %37 br label %42 42: ; preds = %._crit_edge3, %25 ret i32 0 } 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp0l65n3ue.c' source_filename = "/tmp/tmp0l65n3ue.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"bg:l:\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"My name is zhangrongxiang.\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Her name is null.\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"Her name is %s.\0A\00", align 1 @optarg = dso_local global ptr null, align 8 @.str.4 = private unnamed_addr constant [16 x i8] c"Our love is %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 br label %8 8: ; preds = %25, %2 %9 = load i32, ptr %4, align 4 %10 = load ptr, ptr %5, align 8 %11 = call i32 @getopt(i32 noundef %9, ptr noundef %10, ptr noundef @.str) store i32 %11, ptr %6, align 4 %12 = icmp ne i32 %11, -1 br i1 %12, label %13, label %26 13: ; preds = %8 %14 = load i32, ptr %6, align 4 switch i32 %14, label %25 [ i32 98, label %15 i32 103, label %17 i32 108, label %21 ] 15: ; preds = %13 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %25 17: ; preds = %13 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %19 = load ptr, ptr @optarg, align 8 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %19) br label %25 21: ; preds = %13 %22 = load ptr, ptr @optarg, align 8 store ptr %22, ptr %7, align 8 %23 = load ptr, ptr @optarg, align 8 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %23) br label %25 25: ; preds = %13, %21, %17, %15 br label %8, !llvm.loop !6 26: ; preds = %8 ret i32 0 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0l65n3ue.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"bg:l:\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"My name is zhangrongxiang.\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Her name is null.\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"Her name is %s.\0A\00", align 1 @optarg = dso_local global ptr null, align 8 @.str.4 = private unnamed_addr constant [16 x i8] c"Our love is %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca 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 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = call i32 @getopt(i32 noundef %8, ptr noundef %9, ptr noundef @.str) store i32 %10, ptr %6, align 4 %11 = icmp ne i32 %10, -1 br i1 %11, label %.lr.ph, label %29 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %24 %13 = load i32, ptr %6, align 4 switch i32 %13, label %24 [ i32 98, label %14 i32 103, label %16 i32 108, label %20 ] 14: ; preds = %12 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %24 16: ; preds = %12 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %18 = load ptr, ptr @optarg, align 8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %18) br label %24 20: ; preds = %12 %21 = load ptr, ptr @optarg, align 8 store ptr %21, ptr %7, align 8 %22 = load ptr, ptr @optarg, align 8 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %22) br label %24 24: ; preds = %20, %16, %14, %12 %25 = load i32, ptr %4, align 4 %26 = load ptr, ptr %5, align 8 %27 = call i32 @getopt(i32 noundef %25, ptr noundef %26, ptr noundef @.str) store i32 %27, ptr %6, align 4 %28 = icmp ne i32 %27, -1 br i1 %28, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %29 29: ; preds = %._crit_edge, %2 ret i32 0 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8ay3t5r9.c' source_filename = "/tmp/tmp8ay3t5r9.c" target datalayout = "e-m:e-p270: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/tmp8ay3t5r9.c" target datalayout = "e-m:e-p270: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/tmpg_06z2rn.c' source_filename = "/tmp/tmpg_06z2rn.c" target datalayout = "e-m:e-p270: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/tmpg_06z2rn.c" target datalayout = "e-m:e-p270: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/tmpgzd39o3h.c' source_filename = "/tmp/tmpgzd39o3h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @StrUtil_tokenize(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [1024 x i8], align 16 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 store ptr %10, ptr %8, align 8 store i32 0, ptr %9, align 4 %11 = load ptr, ptr %4, align 8 store ptr null, ptr %11, align 8 br label %12 12: ; preds = %41, %3 %13 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %14 = load ptr, ptr %8, align 8 %15 = call i64 @StrUtil_gettok(ptr noundef %13, ptr noundef %8, ptr noundef %14, i32 noundef 1024) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %50 17: ; preds = %12 %18 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %19 = call i32 @strlen(ptr noundef %18) %20 = icmp ne i32 %19, 0 br i1 %20, label %22, label %21 21: ; preds = %17 br label %50 22: ; preds = %17 %23 = load i32, ptr %9, align 4 %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %30 25: ; preds = %22 %26 = load i32, ptr %9, align 4 %27 = add nsw i32 %26, 1 %28 = srem i32 %27, 10 %29 = icmp ne i32 %28, 0 br i1 %29, label %41, label %30 30: ; preds = %25, %22 %31 = load ptr, ptr %4, align 8 %32 = load ptr, ptr %31, align 8 %33 = load i32, ptr %9, align 4 %34 = add nsw i32 %33, 10 %35 = sext i32 %34 to i64 %36 = mul i64 %35, 8 %37 = trunc i64 %36 to i32 %38 = call i64 @realloc(ptr noundef %32, i32 noundef %37) %39 = inttoptr i64 %38 to ptr %40 = load ptr, ptr %4, align 8 store ptr %39, ptr %40, align 8 br label %41 41: ; preds = %30, %25 %42 = load ptr, ptr %4, align 8 %43 = load ptr, ptr %42, align 8 %44 = load i32, ptr %9, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %9, align 4 %46 = sext i32 %44 to i64 %47 = getelementptr inbounds ptr, ptr %43, i64 %46 %48 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %49 = call i32 @StrUtil_copyString(ptr noundef %47, ptr noundef %48, i32 noundef 0) br label %12, !llvm.loop !6 50: ; preds = %21, %12 %51 = load i32, ptr %9, align 4 %52 = load ptr, ptr %5, align 8 store i32 %51, ptr %52, align 4 ret i32 1 } declare i64 @StrUtil_gettok(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @realloc(ptr noundef, i32 noundef) #1 declare i32 @StrUtil_copyString(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/tmpgzd39o3h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @StrUtil_tokenize(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [1024 x i8], align 16 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 store ptr %10, ptr %8, align 8 store i32 0, ptr %9, align 4 %11 = load ptr, ptr %4, align 8 store ptr null, ptr %11, align 8 %12 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %13 = load ptr, ptr %8, align 8 %14 = call i64 @StrUtil_gettok(ptr noundef %12, ptr noundef %8, ptr noundef %13, i32 noundef 1024) %15 = icmp ne i64 %14, 0 br i1 %15, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %3 br label %16 16: ; preds = %.lr.ph, %40 %17 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %18 = call i32 @strlen(ptr noundef %17) %19 = icmp ne i32 %18, 0 br i1 %19, label %21, label %20 20: ; preds = %16 br label %52 21: ; preds = %16 %22 = load i32, ptr %9, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %29 24: ; preds = %21 %25 = load i32, ptr %9, align 4 %26 = add nsw i32 %25, 1 %27 = srem i32 %26, 10 %28 = icmp ne i32 %27, 0 br i1 %28, label %40, label %29 29: ; preds = %24, %21 %30 = load ptr, ptr %4, align 8 %31 = load ptr, ptr %30, align 8 %32 = load i32, ptr %9, align 4 %33 = add nsw i32 %32, 10 %34 = sext i32 %33 to i64 %35 = mul i64 %34, 8 %36 = trunc i64 %35 to i32 %37 = call i64 @realloc(ptr noundef %31, i32 noundef %36) %38 = inttoptr i64 %37 to ptr %39 = load ptr, ptr %4, align 8 store ptr %38, ptr %39, align 8 br label %40 40: ; preds = %29, %24 %41 = load ptr, ptr %4, align 8 %42 = load ptr, ptr %41, align 8 %43 = load i32, ptr %9, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %9, align 4 %45 = sext i32 %43 to i64 %46 = getelementptr inbounds ptr, ptr %42, i64 %45 %47 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %48 = call i32 @StrUtil_copyString(ptr noundef %46, ptr noundef %47, i32 noundef 0) %49 = load ptr, ptr %8, align 8 %50 = call i64 @StrUtil_gettok(ptr noundef %12, ptr noundef %8, ptr noundef %49, i32 noundef 1024) %51 = icmp ne i64 %50, 0 br i1 %51, label %16, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %40 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %3 br label %52 52: ; preds = %.loopexit, %20 %53 = load i32, ptr %9, align 4 %54 = load ptr, ptr %5, align 8 store i32 %53, ptr %54, align 4 ret i32 1 } declare i64 @StrUtil_gettok(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @realloc(ptr noundef, i32 noundef) #1 declare i32 @StrUtil_copyString(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/tmpp2eckxa7.c' source_filename = "/tmp/tmpp2eckxa7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%s %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"qn24b XeonPhiNative\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"version 1.0.0 2013-08-03\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"Usage: %s n\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"board size range: %d-%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set_problem_size(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2) %7 = load i32, ptr %3, align 4 %8 = icmp ne i32 %7, 2 br i1 %8, label %9, label %15 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %12) %14 = call i32 @exit(i32 noundef 0) #3 unreachable 15: ; preds = %2 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = call i32 @atoi(ptr noundef %18) store i32 %19, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = icmp sgt i32 2, %20 br i1 %21, label %25, label %22 22: ; preds = %15 %23 = load i32, ptr %5, align 4 %24 = icmp slt i32 29, %23 br i1 %24, label %25, label %28 25: ; preds = %22, %15 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 2, i32 noundef 29) %27 = call i32 @exit(i32 noundef 0) #3 unreachable 28: ; preds = %22 %29 = load i32, ptr %5, align 4 ret i32 %29 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpp2eckxa7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%s %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"qn24b XeonPhiNative\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"version 1.0.0 2013-08-03\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"Usage: %s n\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"board size range: %d-%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set_problem_size(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2) %7 = load i32, ptr %3, align 4 %8 = icmp ne i32 %7, 2 br i1 %8, label %9, label %15 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %12) %14 = call i32 @exit(i32 noundef 0) #3 unreachable 15: ; preds = %2 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = call i32 @atoi(ptr noundef %18) store i32 %19, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = icmp sgt i32 2, %20 br i1 %21, label %25, label %22 22: ; preds = %15 %23 = load i32, ptr %5, align 4 %24 = icmp slt i32 29, %23 br i1 %24, label %25, label %28 25: ; preds = %22, %15 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 2, i32 noundef 29) %27 = call i32 @exit(i32 noundef 0) #3 unreachable 28: ; preds = %22 %29 = load i32, ptr %5, align 4 ret i32 %29 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp422qmn9j.c' source_filename = "/tmp/tmp422qmn9j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"chdir(): dir=%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"(null)\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [12 x i8] c"\09\09ret = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"\09Succeeded Phase 1\0A\00", align 1 @.str.4 = private unnamed_addr constant [53 x i8] c"\09Failed Phase 1: returned undefined value! ret = %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [43 x i8] c"Internal syscalltester error: passed = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @chdir_test(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %9 8: ; preds = %1 br label %11 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 br label %11 11: ; preds = %9, %8 %12 = phi ptr [ @.str.1, %8 ], [ %10, %9 ] %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %12) %14 = call i32 @fflush(ptr noundef null) %15 = load ptr, ptr %2, align 8 %16 = call i32 @chdir(ptr noundef %15) store i32 %16, ptr %3, align 4 %17 = call i32 @handle_zng(i32 noundef %16) store i32 %17, ptr %5, align 4 %18 = load i32, ptr @errno, align 4 store i32 %18, ptr %4, align 4 %19 = load i32, ptr %5, align 4 switch i32 %19, label %29 [ i32 -1, label %20 i32 0, label %20 i32 -2, label %25 ] 20: ; preds = %11, %11 %21 = load i32, ptr %3, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %21) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %24 = call i32 @fflush(ptr noundef null) br label %33 25: ; preds = %11 %26 = load i32, ptr %3, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %26) %28 = call i32 @fflush(ptr noundef null) br label %33 29: ; preds = %11 %30 = load i32, ptr %5, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %30) %32 = call i32 @fflush(ptr noundef null) br label %33 33: ; preds = %29, %25, %20 %34 = load i32, ptr %4, align 4 store i32 %34, ptr @errno, align 4 %35 = load i32, ptr %3, align 4 ret i32 %35 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fflush(ptr noundef) #1 declare i32 @handle_zng(i32 noundef) #1 declare i32 @chdir(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/tmp422qmn9j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"chdir(): dir=%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"(null)\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [12 x i8] c"\09\09ret = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"\09Succeeded Phase 1\0A\00", align 1 @.str.4 = private unnamed_addr constant [53 x i8] c"\09Failed Phase 1: returned undefined value! ret = %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [43 x i8] c"Internal syscalltester error: passed = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @chdir_test(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %9 8: ; preds = %1 br label %11 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 br label %11 11: ; preds = %9, %8 %12 = phi ptr [ @.str.1, %8 ], [ %10, %9 ] %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %12) %14 = call i32 @fflush(ptr noundef null) %15 = load ptr, ptr %2, align 8 %16 = call i32 @chdir(ptr noundef %15) store i32 %16, ptr %3, align 4 %17 = call i32 @handle_zng(i32 noundef %16) store i32 %17, ptr %5, align 4 %18 = load i32, ptr @errno, align 4 store i32 %18, ptr %4, align 4 %19 = load i32, ptr %5, align 4 switch i32 %19, label %29 [ i32 -1, label %20 i32 0, label %20 i32 -2, label %25 ] 20: ; preds = %11, %11 %21 = load i32, ptr %3, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %21) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %24 = call i32 @fflush(ptr noundef null) br label %33 25: ; preds = %11 %26 = load i32, ptr %3, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %26) %28 = call i32 @fflush(ptr noundef null) br label %33 29: ; preds = %11 %30 = load i32, ptr %5, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %30) %32 = call i32 @fflush(ptr noundef null) br label %33 33: ; preds = %29, %25, %20 %34 = load i32, ptr %4, align 4 store i32 %34, ptr @errno, align 4 %35 = load i32, ptr %3, align 4 ret i32 %35 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fflush(ptr noundef) #1 declare i32 @handle_zng(i32 noundef) #1 declare i32 @chdir(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/tmpcow2nbxo.c' source_filename = "/tmp/tmpcow2nbxo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @run_tests() #0 { %1 = call i32 (...) @test_reverse() ret void } declare i32 @test_reverse(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcow2nbxo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @run_tests() #0 { %1 = call i32 (...) @test_reverse() ret void } declare i32 @test_reverse(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9bn0yy0a.c' source_filename = "/tmp/tmp9bn0yy0a.c" target datalayout = "e-m:e-p270: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/tmp9bn0yy0a.c" target datalayout = "e-m:e-p270: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/tmp5wbhr465.c' source_filename = "/tmp/tmp5wbhr465.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"#\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 1, ptr %3, align 4 br label %6 6: ; preds = %34, %0 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp sle i32 %7, %8 br i1 %9, label %10, label %37 10: ; preds = %6 store i32 1, ptr %4, align 4 br label %11 11: ; preds = %19, %10 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %3, align 4 %15 = sub nsw i32 %13, %14 %16 = icmp sle i32 %12, %15 br i1 %16, label %17, label %22 17: ; preds = %11 %18 = call i32 @printf(ptr noundef @.str.1) br label %19 19: ; preds = %17 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %4, align 4 br label %11, !llvm.loop !6 22: ; preds = %11 store i32 1, ptr %4, align 4 br label %23 23: ; preds = %29, %22 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %3, align 4 %26 = icmp sle i32 %24, %25 br i1 %26, label %27, label %32 27: ; preds = %23 %28 = call i32 @printf(ptr noundef @.str.2) br label %29 29: ; preds = %27 %30 = load i32, ptr %4, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %4, align 4 br label %23, !llvm.loop !8 32: ; preds = %23 %33 = call i32 @printf(ptr noundef @.str.3) br label %34 34: ; preds = %32 %35 = load i32, ptr %3, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %3, align 4 br label %6, !llvm.loop !9 37: ; preds = %6 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5wbhr465.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"#\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 1, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp sle i32 %6, %7 br i1 %8, label %.lr.ph5, label %45 .lr.ph5: ; preds = %0 br label %9 9: ; preds = %.lr.ph5, %39 store i32 1, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = sub nsw i32 %11, %12 %14 = icmp sle i32 %10, %13 br i1 %14, label %.lr.ph, label %25 .lr.ph: ; preds = %9 br label %15 15: ; preds = %.lr.ph, %17 %16 = call i32 @printf(ptr noundef @.str.1) br label %17 17: ; preds = %15 %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 = load i32, ptr %3, align 4 %23 = sub nsw i32 %21, %22 %24 = icmp sle i32 %20, %23 br i1 %24, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %25 25: ; preds = %._crit_edge, %9 store i32 1, ptr %4, align 4 %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %3, align 4 %28 = icmp sle i32 %26, %27 br i1 %28, label %.lr.ph2, label %37 .lr.ph2: ; preds = %25 br label %29 29: ; preds = %.lr.ph2, %31 %30 = call i32 @printf(ptr noundef @.str.2) br label %31 31: ; preds = %29 %32 = load i32, ptr %4, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %4, align 4 %34 = load i32, ptr %4, align 4 %35 = load i32, ptr %3, align 4 %36 = icmp sle i32 %34, %35 br i1 %36, label %29, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %31 br label %37 37: ; preds = %._crit_edge3, %25 %38 = call i32 @printf(ptr noundef @.str.3) br label %39 39: ; preds = %37 %40 = load i32, ptr %3, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %3, align 4 %42 = load i32, ptr %3, align 4 %43 = load i32, ptr %2, align 4 %44 = icmp sle i32 %42, %43 br i1 %44, label %9, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %39 br label %45 45: ; preds = %._crit_edge6, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp1uy7bxgv.c' source_filename = "/tmp/tmp1uy7bxgv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GPIO_get_many(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = load volatile i64, ptr inttoptr (i64 2097208 to ptr), align 8 %5 = trunc i64 %4 to i32 %6 = shl i32 %5, 32 %7 = load volatile i64, ptr inttoptr (i64 2097204 to ptr), align 8 %8 = trunc i64 %7 to i32 %9 = or i32 %6, %8 %10 = and i32 %3, %9 ret i32 %10 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1uy7bxgv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GPIO_get_many(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = load volatile i64, ptr inttoptr (i64 2097208 to ptr), align 8 %5 = trunc i64 %4 to i32 %6 = shl i32 %5, 32 %7 = load volatile i64, ptr inttoptr (i64 2097204 to ptr), align 8 %8 = trunc i64 %7 to i32 %9 = or i32 %6, %8 %10 = and i32 %3, %9 ret i32 %10 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3uwo3q_j.c' source_filename = "/tmp/tmp3uwo3q_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" @.str = private unnamed_addr constant [8 x i8] c"--quite\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-q\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [56 x i8] c"%s: Can't open NULL_DEVICE, used in quite mode testing.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @command_test_verify(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 i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = load ptr, ptr %5, align 8 %11 = call i32 @is_parameter_defined(i32 noundef %9, ptr noundef %10, ptr noundef @.str) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp ne i32 %12, 0 br i1 %13, label %18, label %14 14: ; preds = %2 %15 = load i32, ptr %4, align 4 %16 = load ptr, ptr %5, align 8 %17 = call i32 @is_parameter_defined(i32 noundef %15, ptr noundef %16, ptr noundef @.str.1) store i32 %17, ptr %7, align 4 br label %18 18: ; preds = %14, %2 %19 = load i32, ptr %7, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %33 21: ; preds = %18 %22 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %22, ptr %6, align 8 %23 = load ptr, ptr %6, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %32 25: ; preds = %21 %26 = load i32, ptr @stderr, align 4 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 0 %29 = load ptr, ptr %28, align 8 %30 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.4, ptr noundef %29) %31 = call i32 @exit(i32 noundef 2) #3 unreachable 32: ; preds = %21 br label %37 33: ; preds = %18 %34 = load i32, ptr %4, align 4 %35 = load ptr, ptr %5, align 8 %36 = call ptr @get_output(i32 noundef %34, ptr noundef %35) store ptr %36, ptr %6, align 8 br label %37 37: ; preds = %33, %32 %38 = load ptr, ptr %6, align 8 %39 = call i32 @test_verification(ptr noundef %38) store i32 %39, ptr %8, align 4 %40 = load ptr, ptr %6, align 8 %41 = call i32 @fclose(ptr noundef %40) %42 = load i32, ptr %8, align 4 %43 = icmp ne i32 %42, 0 br i1 %43, label %44, label %45 44: ; preds = %37 store i32 0, ptr %3, align 4 br label %46 45: ; preds = %37 store i32 1, ptr %3, align 4 br label %46 46: ; preds = %45, %44 %47 = load i32, ptr %3, align 4 ret i32 %47 } declare i32 @is_parameter_defined(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @get_output(i32 noundef, ptr noundef) #1 declare i32 @test_verification(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/tmp3uwo3q_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" @.str = private unnamed_addr constant [8 x i8] c"--quite\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-q\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [56 x i8] c"%s: Can't open NULL_DEVICE, used in quite mode testing.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @command_test_verify(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 i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = load ptr, ptr %5, align 8 %11 = call i32 @is_parameter_defined(i32 noundef %9, ptr noundef %10, ptr noundef @.str) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp ne i32 %12, 0 br i1 %13, label %18, label %14 14: ; preds = %2 %15 = load i32, ptr %4, align 4 %16 = load ptr, ptr %5, align 8 %17 = call i32 @is_parameter_defined(i32 noundef %15, ptr noundef %16, ptr noundef @.str.1) store i32 %17, ptr %7, align 4 br label %18 18: ; preds = %14, %2 %19 = load i32, ptr %7, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %33 21: ; preds = %18 %22 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %22, ptr %6, align 8 %23 = load ptr, ptr %6, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %32 25: ; preds = %21 %26 = load i32, ptr @stderr, align 4 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 0 %29 = load ptr, ptr %28, align 8 %30 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.4, ptr noundef %29) %31 = call i32 @exit(i32 noundef 2) #3 unreachable 32: ; preds = %21 br label %37 33: ; preds = %18 %34 = load i32, ptr %4, align 4 %35 = load ptr, ptr %5, align 8 %36 = call ptr @get_output(i32 noundef %34, ptr noundef %35) store ptr %36, ptr %6, align 8 br label %37 37: ; preds = %33, %32 %38 = load ptr, ptr %6, align 8 %39 = call i32 @test_verification(ptr noundef %38) store i32 %39, ptr %8, align 4 %40 = load ptr, ptr %6, align 8 %41 = call i32 @fclose(ptr noundef %40) %42 = load i32, ptr %8, align 4 %43 = icmp ne i32 %42, 0 br i1 %43, label %44, label %45 44: ; preds = %37 store i32 0, ptr %3, align 4 br label %46 45: ; preds = %37 store i32 1, ptr %3, align 4 br label %46 46: ; preds = %45, %44 %47 = load i32, ptr %3, align 4 ret i32 %47 } declare i32 @is_parameter_defined(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @get_output(i32 noundef, ptr noundef) #1 declare i32 @test_verification(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/tmp6e28q1kh.c' source_filename = "/tmp/tmp6e28q1kh.c" target datalayout = "e-m:e-p270: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/tmp6e28q1kh.c" target datalayout = "e-m:e-p270: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/tmptybjbij7.c' source_filename = "/tmp/tmptybjbij7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yaml_queue_extend(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 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 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %11, align 8 %13 = load ptr, ptr %7, align 8 %14 = load ptr, ptr %13, align 8 %15 = icmp eq ptr %12, %14 br i1 %15, label %16, label %72 16: ; preds = %4 %17 = load ptr, ptr %8, align 8 %18 = load ptr, ptr %17, align 8 %19 = load ptr, ptr %9, align 8 %20 = load ptr, ptr %19, align 8 %21 = icmp eq ptr %18, %20 br i1 %21, label %22, label %72 22: ; preds = %16 %23 = load ptr, ptr %6, align 8 %24 = load ptr, ptr %23, align 8 %25 = load ptr, ptr %9, align 8 %26 = load ptr, ptr %25, align 8 %27 = load ptr, ptr %6, align 8 %28 = load ptr, ptr %27, align 8 %29 = ptrtoint ptr %26 to i64 %30 = ptrtoint ptr %28 to i64 %31 = sub i64 %29, %30 %32 = mul nsw i64 %31, 2 %33 = trunc i64 %32 to i32 %34 = call ptr @yaml_realloc(ptr noundef %24, i32 noundef %33) store ptr %34, ptr %10, align 8 %35 = load ptr, ptr %10, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %38, label %37 37: ; preds = %22 store i32 0, ptr %5, align 4 br label %114 38: ; preds = %22 %39 = load ptr, ptr %10, align 8 %40 = load ptr, ptr %7, align 8 %41 = load ptr, ptr %40, align 8 %42 = load ptr, ptr %6, align 8 %43 = load ptr, ptr %42, align 8 %44 = ptrtoint ptr %41 to i64 %45 = ptrtoint ptr %43 to i64 %46 = sub i64 %44, %45 %47 = getelementptr inbounds i8, ptr %39, i64 %46 %48 = load ptr, ptr %7, align 8 store ptr %47, ptr %48, align 8 %49 = load ptr, ptr %10, align 8 %50 = load ptr, ptr %8, align 8 %51 = load ptr, ptr %50, align 8 %52 = load ptr, ptr %6, align 8 %53 = load ptr, ptr %52, align 8 %54 = ptrtoint ptr %51 to i64 %55 = ptrtoint ptr %53 to i64 %56 = sub i64 %54, %55 %57 = getelementptr inbounds i8, ptr %49, i64 %56 %58 = load ptr, ptr %8, align 8 store ptr %57, ptr %58, align 8 %59 = load ptr, ptr %10, align 8 %60 = load ptr, ptr %9, align 8 %61 = load ptr, ptr %60, align 8 %62 = load ptr, ptr %6, align 8 %63 = load ptr, ptr %62, align 8 %64 = ptrtoint ptr %61 to i64 %65 = ptrtoint ptr %63 to i64 %66 = sub i64 %64, %65 %67 = mul nsw i64 %66, 2 %68 = getelementptr inbounds i8, ptr %59, i64 %67 %69 = load ptr, ptr %9, align 8 store ptr %68, ptr %69, align 8 %70 = load ptr, ptr %10, align 8 %71 = load ptr, ptr %6, align 8 store ptr %70, ptr %71, align 8 br label %72 72: ; preds = %38, %16, %4 %73 = load ptr, ptr %8, align 8 %74 = load ptr, ptr %73, align 8 %75 = load ptr, ptr %9, align 8 %76 = load ptr, ptr %75, align 8 %77 = icmp eq ptr %74, %76 br i1 %77, label %78, label %113 78: ; preds = %72 %79 = load ptr, ptr %7, align 8 %80 = load ptr, ptr %79, align 8 %81 = load ptr, ptr %8, align 8 %82 = load ptr, ptr %81, align 8 %83 = icmp ne ptr %80, %82 br i1 %83, label %84, label %98 84: ; preds = %78 %85 = load ptr, ptr %6, align 8 %86 = load ptr, ptr %85, align 8 %87 = load ptr, ptr %7, align 8 %88 = load ptr, ptr %87, align 8 %89 = load ptr, ptr %8, align 8 %90 = load ptr, ptr %89, align 8 %91 = load ptr, ptr %7, align 8 %92 = load ptr, ptr %91, align 8 %93 = ptrtoint ptr %90 to i64 %94 = ptrtoint ptr %92 to i64 %95 = sub i64 %93, %94 %96 = trunc i64 %95 to i32 %97 = call i32 @memmove(ptr noundef %86, ptr noundef %88, i32 noundef %96) br label %98 98: ; preds = %84, %78 %99 = load ptr, ptr %8, align 8 %100 = load ptr, ptr %99, align 8 %101 = load ptr, ptr %7, align 8 %102 = load ptr, ptr %101, align 8 %103 = ptrtoint ptr %100 to i64 %104 = ptrtoint ptr %102 to i64 %105 = sub i64 %103, %104 %106 = load ptr, ptr %6, align 8 %107 = load ptr, ptr %106, align 8 %108 = getelementptr inbounds i8, ptr %107, i64 %105 %109 = load ptr, ptr %8, align 8 store ptr %108, ptr %109, align 8 %110 = load ptr, ptr %6, align 8 %111 = load ptr, ptr %110, align 8 %112 = load ptr, ptr %7, align 8 store ptr %111, ptr %112, align 8 br label %113 113: ; preds = %98, %72 store i32 1, ptr %5, align 4 br label %114 114: ; preds = %113, %37 %115 = load i32, ptr %5, align 4 ret i32 %115 } declare ptr @yaml_realloc(ptr noundef, i32 noundef) #1 declare i32 @memmove(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/tmptybjbij7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yaml_queue_extend(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 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 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %11, align 8 %13 = load ptr, ptr %7, align 8 %14 = load ptr, ptr %13, align 8 %15 = icmp eq ptr %12, %14 br i1 %15, label %16, label %72 16: ; preds = %4 %17 = load ptr, ptr %8, align 8 %18 = load ptr, ptr %17, align 8 %19 = load ptr, ptr %9, align 8 %20 = load ptr, ptr %19, align 8 %21 = icmp eq ptr %18, %20 br i1 %21, label %22, label %72 22: ; preds = %16 %23 = load ptr, ptr %6, align 8 %24 = load ptr, ptr %23, align 8 %25 = load ptr, ptr %9, align 8 %26 = load ptr, ptr %25, align 8 %27 = load ptr, ptr %6, align 8 %28 = load ptr, ptr %27, align 8 %29 = ptrtoint ptr %26 to i64 %30 = ptrtoint ptr %28 to i64 %31 = sub i64 %29, %30 %32 = mul nsw i64 %31, 2 %33 = trunc i64 %32 to i32 %34 = call ptr @yaml_realloc(ptr noundef %24, i32 noundef %33) store ptr %34, ptr %10, align 8 %35 = load ptr, ptr %10, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %38, label %37 37: ; preds = %22 store i32 0, ptr %5, align 4 br label %114 38: ; preds = %22 %39 = load ptr, ptr %10, align 8 %40 = load ptr, ptr %7, align 8 %41 = load ptr, ptr %40, align 8 %42 = load ptr, ptr %6, align 8 %43 = load ptr, ptr %42, align 8 %44 = ptrtoint ptr %41 to i64 %45 = ptrtoint ptr %43 to i64 %46 = sub i64 %44, %45 %47 = getelementptr inbounds i8, ptr %39, i64 %46 %48 = load ptr, ptr %7, align 8 store ptr %47, ptr %48, align 8 %49 = load ptr, ptr %10, align 8 %50 = load ptr, ptr %8, align 8 %51 = load ptr, ptr %50, align 8 %52 = load ptr, ptr %6, align 8 %53 = load ptr, ptr %52, align 8 %54 = ptrtoint ptr %51 to i64 %55 = ptrtoint ptr %53 to i64 %56 = sub i64 %54, %55 %57 = getelementptr inbounds i8, ptr %49, i64 %56 %58 = load ptr, ptr %8, align 8 store ptr %57, ptr %58, align 8 %59 = load ptr, ptr %10, align 8 %60 = load ptr, ptr %9, align 8 %61 = load ptr, ptr %60, align 8 %62 = load ptr, ptr %6, align 8 %63 = load ptr, ptr %62, align 8 %64 = ptrtoint ptr %61 to i64 %65 = ptrtoint ptr %63 to i64 %66 = sub i64 %64, %65 %67 = mul nsw i64 %66, 2 %68 = getelementptr inbounds i8, ptr %59, i64 %67 %69 = load ptr, ptr %9, align 8 store ptr %68, ptr %69, align 8 %70 = load ptr, ptr %10, align 8 %71 = load ptr, ptr %6, align 8 store ptr %70, ptr %71, align 8 br label %72 72: ; preds = %38, %16, %4 %73 = load ptr, ptr %8, align 8 %74 = load ptr, ptr %73, align 8 %75 = load ptr, ptr %9, align 8 %76 = load ptr, ptr %75, align 8 %77 = icmp eq ptr %74, %76 br i1 %77, label %78, label %113 78: ; preds = %72 %79 = load ptr, ptr %7, align 8 %80 = load ptr, ptr %79, align 8 %81 = load ptr, ptr %8, align 8 %82 = load ptr, ptr %81, align 8 %83 = icmp ne ptr %80, %82 br i1 %83, label %84, label %98 84: ; preds = %78 %85 = load ptr, ptr %6, align 8 %86 = load ptr, ptr %85, align 8 %87 = load ptr, ptr %7, align 8 %88 = load ptr, ptr %87, align 8 %89 = load ptr, ptr %8, align 8 %90 = load ptr, ptr %89, align 8 %91 = load ptr, ptr %7, align 8 %92 = load ptr, ptr %91, align 8 %93 = ptrtoint ptr %90 to i64 %94 = ptrtoint ptr %92 to i64 %95 = sub i64 %93, %94 %96 = trunc i64 %95 to i32 %97 = call i32 @memmove(ptr noundef %86, ptr noundef %88, i32 noundef %96) br label %98 98: ; preds = %84, %78 %99 = load ptr, ptr %8, align 8 %100 = load ptr, ptr %99, align 8 %101 = load ptr, ptr %7, align 8 %102 = load ptr, ptr %101, align 8 %103 = ptrtoint ptr %100 to i64 %104 = ptrtoint ptr %102 to i64 %105 = sub i64 %103, %104 %106 = load ptr, ptr %6, align 8 %107 = load ptr, ptr %106, align 8 %108 = getelementptr inbounds i8, ptr %107, i64 %105 %109 = load ptr, ptr %8, align 8 store ptr %108, ptr %109, align 8 %110 = load ptr, ptr %6, align 8 %111 = load ptr, ptr %110, align 8 %112 = load ptr, ptr %7, align 8 store ptr %111, ptr %112, align 8 br label %113 113: ; preds = %98, %72 store i32 1, ptr %5, align 4 br label %114 114: ; preds = %113, %37 %115 = load i32, ptr %5, align 4 ret i32 %115 } declare ptr @yaml_realloc(ptr noundef, i32 noundef) #1 declare i32 @memmove(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/tmpt0cqhxcc.c' source_filename = "/tmp/tmpt0cqhxcc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [72 x i8] c"Invoke: UpnpMediaRenderer_AVTransport_GetCurrentTransportActions(%u);\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"Sample String\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @UpnpMediaRenderer_AVTransport_GetCurrentTransportActions(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = call i32 @printf(ptr noundef @.str, i32 noundef %5) %7 = load ptr, ptr %3, align 8 %8 = call i32 @UpnpResponse_MediaRenderer_AVTransport_GetCurrentTransportActions(ptr noundef %7, ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @UpnpResponse_MediaRenderer_AVTransport_GetCurrentTransportActions(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/tmpt0cqhxcc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [72 x i8] c"Invoke: UpnpMediaRenderer_AVTransport_GetCurrentTransportActions(%u);\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"Sample String\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @UpnpMediaRenderer_AVTransport_GetCurrentTransportActions(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = call i32 @printf(ptr noundef @.str, i32 noundef %5) %7 = load ptr, ptr %3, align 8 %8 = call i32 @UpnpResponse_MediaRenderer_AVTransport_GetCurrentTransportActions(ptr noundef %7, ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @UpnpResponse_MediaRenderer_AVTransport_GetCurrentTransportActions(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/tmp_v10aec4.c' source_filename = "/tmp/tmp_v10aec4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINTR = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_v10aec4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINTR = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4vdhy497.c' source_filename = "/tmp/tmp4vdhy497.c" target datalayout = "e-m:e-p270: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/tmp4vdhy497.c" target datalayout = "e-m:e-p270: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/tmp99963nt8.c' source_filename = "/tmp/tmp99963nt8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @c_intel_benchmark(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [176 x i32], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds [176 x i32], ptr %7, i64 0, i64 0 %10 = call i32 @AES_128_Key_Expansion(ptr noundef %8, ptr noundef %9) %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %6, align 8 %13 = getelementptr inbounds [176 x i32], ptr %7, i64 0, i64 0 %14 = call i32 @AES_ECB_encrypt(ptr noundef %11, ptr noundef %12, ptr noundef %13) ret void } declare i32 @AES_128_Key_Expansion(ptr noundef, ptr noundef) #1 declare i32 @AES_ECB_encrypt(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp99963nt8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @c_intel_benchmark(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [176 x i32], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds [176 x i32], ptr %7, i64 0, i64 0 %10 = call i32 @AES_128_Key_Expansion(ptr noundef %8, ptr noundef %9) %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %6, align 8 %13 = getelementptr inbounds [176 x i32], ptr %7, i64 0, i64 0 %14 = call i32 @AES_ECB_encrypt(ptr noundef %11, ptr noundef %12, ptr noundef %13) ret void } declare i32 @AES_128_Key_Expansion(ptr noundef, ptr noundef) #1 declare i32 @AES_ECB_encrypt(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpisobq7wj.c' source_filename = "/tmp/tmpisobq7wj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"1: Suco s/acucar\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fraseum(i8 noundef signext %0, i8 noundef signext %1) #0 { %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i8 %0, ptr %3, align 1 store i8 %1, ptr %4, align 1 %5 = call i32 (...) @limpamlc() %6 = load i8, ptr %3, align 1 %7 = call i32 @sprintf(i8 noundef signext %6, ptr noundef @.str) %8 = load i8, ptr %3, align 1 %9 = call i32 @mostraplinha(i8 noundef signext %8) %10 = load i8, ptr %4, align 1 %11 = call i32 @mostrapenter(i8 noundef signext %10) ret void } declare i32 @limpamlc(...) #1 declare i32 @sprintf(i8 noundef signext, ptr noundef) #1 declare i32 @mostraplinha(i8 noundef signext) #1 declare i32 @mostrapenter(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/tmpisobq7wj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"1: Suco s/acucar\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fraseum(i8 noundef signext %0, i8 noundef signext %1) #0 { %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i8 %0, ptr %3, align 1 store i8 %1, ptr %4, align 1 %5 = call i32 (...) @limpamlc() %6 = load i8, ptr %3, align 1 %7 = call i32 @sprintf(i8 noundef signext %6, ptr noundef @.str) %8 = load i8, ptr %3, align 1 %9 = call i32 @mostraplinha(i8 noundef signext %8) %10 = load i8, ptr %4, align 1 %11 = call i32 @mostrapenter(i8 noundef signext %10) ret void } declare i32 @limpamlc(...) #1 declare i32 @sprintf(i8 noundef signext, ptr noundef) #1 declare i32 @mostraplinha(i8 noundef signext) #1 declare i32 @mostrapenter(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/tmphu0dw87e.c' source_filename = "/tmp/tmphu0dw87e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtol(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i64 @strtoll(ptr noundef %7, ptr noundef %8, i32 noundef %9) ret i64 %10 } declare i64 @strtoll(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/tmphu0dw87e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtol(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i64 @strtoll(ptr noundef %7, ptr noundef %8, i32 noundef %9) ret i64 %10 } declare i64 @strtoll(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/tmpa10r11rh.c' source_filename = "/tmp/tmpa10r11rh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_new_with_size(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [65536 x i8], align 16 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %26, %2 %8 = load i32, ptr %6, align 4 %9 = sext i32 %8 to i64 %10 = icmp ult i64 %9, 65536 br i1 %10, label %11, label %15 11: ; preds = %7 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %12, %13 br label %15 15: ; preds = %11, %7 %16 = phi i1 [ false, %7 ], [ %14, %11 ] br i1 %16, label %17, label %29 17: ; preds = %15 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [65536 x i8], ptr %5, i64 0, i64 %24 store i8 %22, ptr %25, align 1 br label %26 26: ; preds = %17 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %6, align 4 br label %7, !llvm.loop !6 29: ; preds = %15 %30 = load i32, ptr %6, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [65536 x i8], ptr %5, i64 0, i64 %31 store i8 0, ptr %32, align 1 %33 = getelementptr inbounds [65536 x i8], ptr %5, i64 0, i64 0 %34 = call i64 @string_new(ptr noundef %33) ret i64 %34 } declare i64 @string_new(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/tmpa10r11rh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_new_with_size(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [65536 x i8], align 16 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %26, %2 %8 = load i32, ptr %6, align 4 %9 = sext i32 %8 to i64 %10 = icmp ult i64 %9, 65536 br i1 %10, label %11, label %15 11: ; preds = %7 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %12, %13 br label %15 15: ; preds = %11, %7 %16 = phi i1 [ false, %7 ], [ %14, %11 ] br i1 %16, label %17, label %29 17: ; preds = %15 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [65536 x i8], ptr %5, i64 0, i64 %24 store i8 %22, ptr %25, align 1 br label %26 26: ; preds = %17 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %6, align 4 br label %7, !llvm.loop !6 29: ; preds = %15 %30 = load i32, ptr %6, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [65536 x i8], ptr %5, i64 0, i64 %31 store i8 0, ptr %32, align 1 %33 = getelementptr inbounds [65536 x i8], ptr %5, i64 0, i64 0 %34 = call i64 @string_new(ptr noundef %33) ret i64 %34 } declare i64 @string_new(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/tmpcsciezuh.c' source_filename = "/tmp/tmpcsciezuh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ci_enter_menu(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = call i32 @ci_send_obj(i32 noundef %6, i32 noundef 10455040, ptr noundef null, i32 noundef 0) %8 = load i32, ptr %3, align 4 %9 = call i32 @ci_send_obj(i32 noundef %8, i32 noundef 10453026, ptr noundef null, i32 noundef 0) store i32 %9, ptr %5, align 4 %10 = call i32 @sleep(i32 noundef 3) %11 = load i32, ptr %5, align 4 ret i32 %11 } declare i32 @ci_send_obj(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcsciezuh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ci_enter_menu(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = call i32 @ci_send_obj(i32 noundef %6, i32 noundef 10455040, ptr noundef null, i32 noundef 0) %8 = load i32, ptr %3, align 4 %9 = call i32 @ci_send_obj(i32 noundef %8, i32 noundef 10453026, ptr noundef null, i32 noundef 0) store i32 %9, ptr %5, align 4 %10 = call i32 @sleep(i32 noundef 3) %11 = load i32, ptr %5, align 4 ret i32 %11 } declare i32 @ci_send_obj(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpci_6xti2.c' source_filename = "/tmp/tmpci_6xti2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [51 x i8] c"\0A\0ANow I print every third number from 1000 to 0:\0A\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 void @thirdNum() #0 { %1 = alloca i32, align 4 %2 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1000, ptr %1, align 4 br label %3 3: ; preds = %11, %0 %4 = load i32, ptr %1, align 4 %5 = icmp sge i32 %4, 0 br i1 %5, label %6, label %14 6: ; preds = %3 %7 = load i32, ptr %1, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7) %9 = load i32, ptr %1, align 4 %10 = sub nsw i32 %9, 2 store i32 %10, ptr %1, align 4 br label %11 11: ; preds = %6 %12 = load i32, ptr %1, align 4 %13 = add nsw i32 %12, -1 store i32 %13, ptr %1, align 4 br label %3, !llvm.loop !6 14: ; preds = %3 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpci_6xti2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [51 x i8] c"\0A\0ANow I print every third number from 1000 to 0:\0A\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 void @thirdNum() #0 { %1 = alloca i32, align 4 %2 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1000, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = icmp sge i32 %3, 0 br i1 %4, label %.lr.ph, label %15 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %10 %6 = load i32, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6) %8 = load i32, ptr %1, align 4 %9 = sub nsw i32 %8, 2 store i32 %9, ptr %1, align 4 br label %10 10: ; preds = %5 %11 = load i32, ptr %1, align 4 %12 = add nsw i32 %11, -1 store i32 %12, ptr %1, align 4 %13 = load i32, ptr %1, align 4 %14 = icmp sge i32 %13, 0 br i1 %14, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %15 15: ; preds = %._crit_edge, %0 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmphl_os670.c' source_filename = "/tmp/tmphl_os670.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @minuscola(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %12, %1 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = icmp ne i8 %5, 0 br i1 %6, label %7, label %15 7: ; preds = %3 %8 = load ptr, ptr %2, align 8 %9 = load i8, ptr %8, align 1 %10 = call signext i8 @tolower(i8 noundef signext %9) %11 = load ptr, ptr %2, align 8 store i8 %10, ptr %11, align 1 br label %12 12: ; preds = %7 %13 = load ptr, ptr %2, align 8 %14 = getelementptr inbounds i8, ptr %13, i32 1 store ptr %14, ptr %2, align 8 br label %3, !llvm.loop !6 15: ; preds = %3 ret void } declare signext i8 @tolower(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/tmphl_os670.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @minuscola(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i8, ptr %3, align 1 %5 = icmp ne i8 %4, 0 br i1 %5, label %.lr.ph, label %17 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %11 %7 = load ptr, ptr %2, align 8 %8 = load i8, ptr %7, align 1 %9 = call signext i8 @tolower(i8 noundef signext %8) %10 = load ptr, ptr %2, align 8 store i8 %9, ptr %10, align 1 br label %11 11: ; preds = %6 %12 = load ptr, ptr %2, align 8 %13 = getelementptr inbounds i8, ptr %12, i32 1 store ptr %13, ptr %2, align 8 %14 = load ptr, ptr %2, align 8 %15 = load i8, ptr %14, align 1 %16 = icmp ne i8 %15, 0 br i1 %16, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %17 17: ; preds = %._crit_edge, %1 ret void } declare signext i8 @tolower(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/tmpwy7ccn2m.c' source_filename = "/tmp/tmpwy7ccn2m.c" target datalayout = "e-m:e-p270: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/tmpwy7ccn2m.c" target datalayout = "e-m:e-p270: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/tmpydautsgw.c' source_filename = "/tmp/tmpydautsgw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @enough_capacity(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i64 %0, ptr %2, align 8 store i64 1, ptr %3, align 8 br label %4 4: ; preds = %8, %1 %5 = load i64, ptr %3, align 8 %6 = load i64, ptr %2, align 8 %7 = icmp ult i64 %5, %6 br i1 %7, label %8, label %11 8: ; preds = %4 %9 = load i64, ptr %3, align 8 %10 = mul i64 %9, 2 store i64 %10, ptr %3, align 8 br label %4, !llvm.loop !6 11: ; preds = %4 %12 = load i64, ptr %3, align 8 ret i64 %12 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpydautsgw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @enough_capacity(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i64 %0, ptr %2, align 8 store i64 1, ptr %3, align 8 %4 = load i64, ptr %3, align 8 %5 = load i64, ptr %2, align 8 %6 = icmp ult i64 %4, %5 br i1 %6, label %.lr.ph, label %13 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %7 %8 = load i64, ptr %3, align 8 %9 = mul i64 %8, 2 store i64 %9, ptr %3, align 8 %10 = load i64, ptr %3, align 8 %11 = load i64, ptr %2, align 8 %12 = icmp ult i64 %10, %11 br i1 %12, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %13 13: ; preds = %._crit_edge, %1 %14 = load i64, ptr %3, align 8 ret i64 %14 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpby5z3x3d.c' source_filename = "/tmp/tmpby5z3x3d.c" target datalayout = "e-m:e-p270: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/tmpby5z3x3d.c" target datalayout = "e-m:e-p270: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/tmpun961l28.c' source_filename = "/tmp/tmpun961l28.c" target datalayout = "e-m:e-p270: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/tmpun961l28.c" target datalayout = "e-m:e-p270: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/tmpxdn4lvnf.c' source_filename = "/tmp/tmpxdn4lvnf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PermuteString(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %13 = load i32, ptr %8, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %73 16: ; preds = %5 store i32 0, ptr %11, align 4 br label %17 17: ; preds = %69, %16 %18 = load i32, ptr %11, align 4 %19 = load i32, ptr %7, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %72 21: ; preds = %17 %22 = load ptr, ptr %10, align 8 %23 = load i32, ptr %11, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 %26 = load i32, ptr %25, align 4 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %68 28: ; preds = %21 %29 = load ptr, ptr %6, align 8 %30 = load i32, ptr %11, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = load ptr, ptr %9, align 8 %35 = load i32, ptr %8, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 store i8 %33, ptr %37, align 1 %38 = load ptr, ptr %10, align 8 %39 = load i32, ptr %11, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %38, i64 %40 store i32 1, ptr %41, align 4 %42 = load ptr, ptr %6, align 8 %43 = load i32, ptr %7, align 4 %44 = load i32, ptr %8, align 4 %45 = add nsw i32 %44, 1 %46 = load ptr, ptr %9, align 8 %47 = load ptr, ptr %10, align 8 call void @PermuteString(ptr noundef %42, i32 noundef %43, i32 noundef %45, ptr noundef %46, ptr noundef %47) %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr %11, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %48, i64 %50 %52 = load i8, ptr %51, align 1 %53 = call signext i8 @toupper(i8 noundef signext %52) %54 = load ptr, ptr %9, align 8 %55 = load i32, ptr %8, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %54, i64 %56 store i8 %53, ptr %57, align 1 %58 = load ptr, ptr %6, align 8 %59 = load i32, ptr %7, align 4 %60 = load i32, ptr %8, align 4 %61 = add nsw i32 %60, 1 %62 = load ptr, ptr %9, align 8 %63 = load ptr, ptr %10, align 8 call void @PermuteString(ptr noundef %58, i32 noundef %59, i32 noundef %61, ptr noundef %62, ptr noundef %63) %64 = load ptr, ptr %10, align 8 %65 = load i32, ptr %11, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i32, ptr %64, i64 %66 store i32 0, ptr %67, align 4 br label %68 68: ; preds = %28, %21 br label %69 69: ; preds = %68 %70 = load i32, ptr %11, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %11, align 4 br label %17, !llvm.loop !6 72: ; preds = %17 br label %91 73: ; preds = %5 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %12, align 4 br label %75 75: ; preds = %87, %73 %76 = load i32, ptr %12, align 4 %77 = load i32, ptr %7, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %79, label %90 79: ; preds = %75 %80 = load ptr, ptr %9, align 8 %81 = load i32, ptr %12, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i8, ptr %80, i64 %82 %84 = load i8, ptr %83, align 1 %85 = sext i8 %84 to i32 %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %85) br label %87 87: ; preds = %79 %88 = load i32, ptr %12, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %12, align 4 br label %75, !llvm.loop !8 90: ; preds = %75 br label %91 91: ; preds = %90, %72 ret void } declare signext i8 @toupper(i8 noundef signext) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxdn4lvnf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PermuteString(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %13 = load i32, ptr %8, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %75 16: ; preds = %5 store i32 0, ptr %11, align 4 %17 = load i32, ptr %11, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %.lr.ph2, label %74 .lr.ph2: ; preds = %16 br label %20 20: ; preds = %.lr.ph2, %68 %21 = load ptr, ptr %10, align 8 %22 = load i32, ptr %11, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %21, i64 %23 %25 = load i32, ptr %24, align 4 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %67 27: ; preds = %20 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %11, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = load ptr, ptr %9, align 8 %34 = load i32, ptr %8, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 store i8 %32, ptr %36, align 1 %37 = load ptr, ptr %10, align 8 %38 = load i32, ptr %11, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %37, i64 %39 store i32 1, ptr %40, align 4 %41 = load ptr, ptr %6, align 8 %42 = load i32, ptr %7, align 4 %43 = load i32, ptr %8, align 4 %44 = add nsw i32 %43, 1 %45 = load ptr, ptr %9, align 8 %46 = load ptr, ptr %10, align 8 call void @PermuteString(ptr noundef %41, i32 noundef %42, i32 noundef %44, ptr noundef %45, ptr noundef %46) %47 = load ptr, ptr %6, align 8 %48 = load i32, ptr %11, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 %51 = load i8, ptr %50, align 1 %52 = call signext i8 @toupper(i8 noundef signext %51) %53 = load ptr, ptr %9, align 8 %54 = load i32, ptr %8, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %53, i64 %55 store i8 %52, ptr %56, align 1 %57 = load ptr, ptr %6, align 8 %58 = load i32, ptr %7, align 4 %59 = load i32, ptr %8, align 4 %60 = add nsw i32 %59, 1 %61 = load ptr, ptr %9, align 8 %62 = load ptr, ptr %10, align 8 call void @PermuteString(ptr noundef %57, i32 noundef %58, i32 noundef %60, ptr noundef %61, ptr noundef %62) %63 = load ptr, ptr %10, align 8 %64 = load i32, ptr %11, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i32, ptr %63, i64 %65 store i32 0, ptr %66, align 4 br label %67 67: ; preds = %27, %20 br label %68 68: ; preds = %67 %69 = load i32, ptr %11, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %11, align 4 %71 = load i32, ptr %11, align 4 %72 = load i32, ptr %7, align 4 %73 = icmp slt i32 %71, %72 br i1 %73, label %20, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %68 br label %74 74: ; preds = %._crit_edge3, %16 br label %95 75: ; preds = %5 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %12, align 4 %77 = load i32, ptr %12, align 4 %78 = load i32, ptr %7, align 4 %79 = icmp slt i32 %77, %78 br i1 %79, label %.lr.ph, label %94 .lr.ph: ; preds = %75 br label %80 80: ; preds = %.lr.ph, %88 %81 = load ptr, ptr %9, align 8 %82 = load i32, ptr %12, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i8, ptr %81, i64 %83 %85 = load i8, ptr %84, align 1 %86 = sext i8 %85 to i32 %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %86) br label %88 88: ; preds = %80 %89 = load i32, ptr %12, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %12, align 4 %91 = load i32, ptr %12, align 4 %92 = load i32, ptr %7, align 4 %93 = icmp slt i32 %91, %92 br i1 %93, label %80, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %88 br label %94 94: ; preds = %._crit_edge, %75 br label %95 95: ; preds = %94, %74 ret void } declare signext i8 @toupper(i8 noundef signext) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp5wt8_t86.c' source_filename = "/tmp/tmp5wt8_t86.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"HELLO\0A\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fn(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) %4 = load i32, ptr @stdout, align 4 %5 = call i32 @fflush(i32 noundef %4) %6 = load ptr, ptr %2, align 8 call void (...) %6() ret void } declare i32 @printf(ptr noundef) #1 declare i32 @fflush(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/tmp5wt8_t86.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"HELLO\0A\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fn(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) %4 = load i32, ptr @stdout, align 4 %5 = call i32 @fflush(i32 noundef %4) %6 = load ptr, ptr %2, align 8 call void (...) %6() ret void } declare i32 @printf(ptr noundef) #1 declare i32 @fflush(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/tmp1ztoqeeb.c' source_filename = "/tmp/tmp1ztoqeeb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"/data/local/tmp/arm_arthook.log\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"a+\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"cippa dentro epoll arm \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @my_epoll_wait_arm(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %10 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %10, ptr %9, align 8 %11 = load ptr, ptr %9, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %18 13: ; preds = %4 %14 = load ptr, ptr %9, align 8 %15 = call i32 @fprintf(ptr noundef %14, ptr noundef @.str.2) %16 = load ptr, ptr %9, align 8 %17 = call i32 @fclose(ptr noundef %16) br label %18 18: ; preds = %13, %4 %19 = load i32, ptr %5, align 4 %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %8, align 4 %23 = call i32 @my_epoll_wait(i32 noundef %19, ptr noundef %20, i32 noundef %21, i32 noundef %22) ret i32 %23 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @my_epoll_wait(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1ztoqeeb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"/data/local/tmp/arm_arthook.log\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"a+\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"cippa dentro epoll arm \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @my_epoll_wait_arm(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %10 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %10, ptr %9, align 8 %11 = load ptr, ptr %9, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %18 13: ; preds = %4 %14 = load ptr, ptr %9, align 8 %15 = call i32 @fprintf(ptr noundef %14, ptr noundef @.str.2) %16 = load ptr, ptr %9, align 8 %17 = call i32 @fclose(ptr noundef %16) br label %18 18: ; preds = %13, %4 %19 = load i32, ptr %5, align 4 %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %8, align 4 %23 = call i32 @my_epoll_wait(i32 noundef %19, ptr noundef %20, i32 noundef %21, i32 noundef %22) ret i32 %23 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @my_epoll_wait(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk1zag_r2.c' source_filename = "/tmp/tmpk1zag_r2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 100, ptr %2, align 4 br label %3 3: ; preds = %14, %0 %4 = load i32, ptr %2, align 4 %5 = icmp sle i32 %4, 200 br i1 %5, label %6, label %17 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = srem i32 %7, 3 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %6 br label %14 11: ; preds = %6 %12 = load i32, ptr %2, align 4 %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) br label %14 14: ; preds = %11, %10 %15 = load i32, ptr %2, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %2, align 4 br label %3, !llvm.loop !6 17: ; preds = %3 %18 = call i32 @putchar(i8 noundef signext 10) ret i32 0 } declare i32 @printf(ptr noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk1zag_r2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 100, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp sle i32 %3, 200 br i1 %4, label %.lr.ph, label %18 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %13 %6 = load i32, ptr %2, align 4 %7 = srem i32 %6, 3 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %5 br label %13 10: ; preds = %5 %11 = load i32, ptr %2, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %11) br label %13 13: ; preds = %10, %9 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %2, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp sle i32 %16, 200 br i1 %17, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %18 18: ; preds = %._crit_edge, %0 %19 = call i32 @putchar(i8 noundef signext 10) ret i32 0 } declare i32 @printf(ptr noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1vd_qsqz.c' source_filename = "/tmp/tmp1vd_qsqz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1vd_qsqz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4q2wy6rc.c' source_filename = "/tmp/tmp4q2wy6rc.c" target datalayout = "e-m:e-p270: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/tmp4q2wy6rc.c" target datalayout = "e-m:e-p270: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/tmpsapckj8r.c' source_filename = "/tmp/tmpsapckj8r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aux_readline(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %10 = load ptr, ptr %7, align 8 %11 = load i64, ptr %8, align 8 %12 = load ptr, ptr %6, align 8 %13 = call ptr @fgets(ptr noundef %10, i64 noundef %11, ptr noundef %12) %14 = icmp eq ptr %13, null br i1 %14, label %15, label %16 15: ; preds = %4 store i32 0, ptr %5, align 4 br label %34 16: ; preds = %4 %17 = load ptr, ptr %7, align 8 %18 = call ptr @strchr(ptr noundef %17, i8 noundef signext 10) %19 = icmp ne ptr %18, null br i1 %19, label %20, label %23 20: ; preds = %16 %21 = load ptr, ptr %7, align 8 %22 = call ptr @strchr(ptr noundef %21, i8 noundef signext 10) store i8 0, ptr %22, align 1 br label %23 23: ; preds = %20, %16 %24 = load ptr, ptr %7, align 8 %25 = call ptr @strchr(ptr noundef %24, i8 noundef signext 13) %26 = icmp ne ptr %25, null br i1 %26, label %27, label %30 27: ; preds = %23 %28 = load ptr, ptr %7, align 8 %29 = call ptr @strchr(ptr noundef %28, i8 noundef signext 10) store i8 0, ptr %29, align 1 br label %30 30: ; preds = %27, %23 %31 = load ptr, ptr %9, align 8 %32 = load i32, ptr %31, align 4 %33 = add i32 %32, 1 store i32 %33, ptr %31, align 4 store i32 1, ptr %5, align 4 br label %34 34: ; preds = %30, %15 %35 = load i32, ptr %5, align 4 ret i32 %35 } declare ptr @fgets(ptr noundef, i64 noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsapckj8r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aux_readline(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %10 = load ptr, ptr %7, align 8 %11 = load i64, ptr %8, align 8 %12 = load ptr, ptr %6, align 8 %13 = call ptr @fgets(ptr noundef %10, i64 noundef %11, ptr noundef %12) %14 = icmp eq ptr %13, null br i1 %14, label %15, label %16 15: ; preds = %4 store i32 0, ptr %5, align 4 br label %34 16: ; preds = %4 %17 = load ptr, ptr %7, align 8 %18 = call ptr @strchr(ptr noundef %17, i8 noundef signext 10) %19 = icmp ne ptr %18, null br i1 %19, label %20, label %23 20: ; preds = %16 %21 = load ptr, ptr %7, align 8 %22 = call ptr @strchr(ptr noundef %21, i8 noundef signext 10) store i8 0, ptr %22, align 1 br label %23 23: ; preds = %20, %16 %24 = load ptr, ptr %7, align 8 %25 = call ptr @strchr(ptr noundef %24, i8 noundef signext 13) %26 = icmp ne ptr %25, null br i1 %26, label %27, label %30 27: ; preds = %23 %28 = load ptr, ptr %7, align 8 %29 = call ptr @strchr(ptr noundef %28, i8 noundef signext 10) store i8 0, ptr %29, align 1 br label %30 30: ; preds = %27, %23 %31 = load ptr, ptr %9, align 8 %32 = load i32, ptr %31, align 4 %33 = add i32 %32, 1 store i32 %33, ptr %31, align 4 store i32 1, ptr %5, align 4 br label %34 34: ; preds = %30, %15 %35 = load i32, ptr %5, align 4 ret i32 %35 } declare ptr @fgets(ptr noundef, i64 noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg3na6h1h.c' source_filename = "/tmp/tmpg3na6h1h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"InitPwm\0A\0D\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"echo 0 > /sys/class/pwm/pwmchip0/export\00", align 1 @.str.2 = private unnamed_addr constant [40 x i8] c"echo 1 > /sys/class/pwm/pwmchip0/export\00", align 1 @.str.3 = private unnamed_addr constant [52 x i8] c"echo 20000000 > /sys/class/pwm/pwmchip0/pwm0/period\00", align 1 @.str.4 = private unnamed_addr constant [52 x i8] c"echo 20000000 > /sys/class/pwm/pwmchip0/pwm1/period\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @initPwm() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @system(ptr noundef @.str.1) %3 = call i32 @system(ptr noundef @.str.2) %4 = call i32 @system(ptr noundef @.str.3) %5 = call i32 @system(ptr noundef @.str.4) %6 = call i32 (...) @pwmOff() ret void } declare i32 @printf(ptr noundef) #1 declare i32 @system(ptr noundef) #1 declare i32 @pwmOff(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg3na6h1h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"InitPwm\0A\0D\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"echo 0 > /sys/class/pwm/pwmchip0/export\00", align 1 @.str.2 = private unnamed_addr constant [40 x i8] c"echo 1 > /sys/class/pwm/pwmchip0/export\00", align 1 @.str.3 = private unnamed_addr constant [52 x i8] c"echo 20000000 > /sys/class/pwm/pwmchip0/pwm0/period\00", align 1 @.str.4 = private unnamed_addr constant [52 x i8] c"echo 20000000 > /sys/class/pwm/pwmchip0/pwm1/period\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @initPwm() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @system(ptr noundef @.str.1) %3 = call i32 @system(ptr noundef @.str.2) %4 = call i32 @system(ptr noundef @.str.3) %5 = call i32 @system(ptr noundef @.str.4) %6 = call i32 (...) @pwmOff() ret void } declare i32 @printf(ptr noundef) #1 declare i32 @system(ptr noundef) #1 declare i32 @pwmOff(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu0t986x0.c' source_filename = "/tmp/tmpu0t986x0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prefix_def_value(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr %7, align 4 %13 = call ptr @prefix_make_value_binding(ptr noundef %10, ptr noundef %11, i32 noundef %12) store ptr %13, ptr %9, align 8 %14 = load ptr, ptr %9, align 8 %15 = load ptr, ptr %8, align 8 %16 = call i32 @hash_map_sym_push_value(ptr noundef %14, ptr noundef %15) ret void } declare ptr @prefix_make_value_binding(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @hash_map_sym_push_value(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/tmpu0t986x0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prefix_def_value(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr %7, align 4 %13 = call ptr @prefix_make_value_binding(ptr noundef %10, ptr noundef %11, i32 noundef %12) store ptr %13, ptr %9, align 8 %14 = load ptr, ptr %9, align 8 %15 = load ptr, ptr %8, align 8 %16 = call i32 @hash_map_sym_push_value(ptr noundef %14, ptr noundef %15) ret void } declare ptr @prefix_make_value_binding(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @hash_map_sym_push_value(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/tmpulgwxb8h.c' source_filename = "/tmp/tmpulgwxb8h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LexHashIncPos(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load ptr, ptr %3, align 8 %9 = call i32 @LexGetRawToken(ptr noundef %8, i32 noundef 0, i32 noundef 1) br label %10 10: ; preds = %7, %2 ret void } declare i32 @LexGetRawToken(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpulgwxb8h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LexHashIncPos(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load ptr, ptr %3, align 8 %9 = call i32 @LexGetRawToken(ptr noundef %8, i32 noundef 0, i32 noundef 1) br label %10 10: ; preds = %7, %2 ret void } declare i32 @LexGetRawToken(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy77an8ka.c' source_filename = "/tmp/tmpy77an8ka.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @vrandr(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp slt i32 %12, 1 br i1 %13, label %14, label %15 14: ; preds = %3 store ptr null, ptr %4, align 8 br label %77 15: ; preds = %3 %16 = load i32, ptr %7, align 4 %17 = sext i32 %16 to i64 %18 = mul i64 %17, 4 %19 = trunc i64 %18 to i32 %20 = call i64 @malloc(i32 noundef %19) %21 = inttoptr i64 %20 to ptr store ptr %21, ptr %8, align 8 %22 = call double (...) @rand() store i32 0, ptr %9, align 4 br label %23 23: ; preds = %45, %15 %24 = load i32, ptr %9, align 4 %25 = load i32, ptr %7, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %48 27: ; preds = %23 %28 = load i32, ptr %6, align 4 %29 = load i32, ptr %5, align 4 %30 = sub nsw i32 %28, %29 %31 = add nsw i32 %30, 1 %32 = sitofp i32 %31 to double %33 = call double (...) @rand() %34 = load double, ptr @RAND_MAX, align 8 %35 = fadd double %34, 1.000000e+00 %36 = fdiv double %33, %35 %37 = load i32, ptr %5, align 4 %38 = sitofp i32 %37 to double %39 = call double @llvm.fmuladd.f64(double %32, double %36, double %38) %40 = fptosi double %39 to i32 %41 = load ptr, ptr %8, align 8 %42 = load i32, ptr %9, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %41, i64 %43 store i32 %40, ptr %44, align 4 br label %45 45: ; preds = %27 %46 = load i32, ptr %9, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %9, align 4 br label %23, !llvm.loop !6 48: ; preds = %23 %49 = load i32, ptr %7, align 4 %50 = sext i32 %49 to i64 %51 = mul i64 %50, 4 %52 = trunc i64 %51 to i32 %53 = call i64 @malloc(i32 noundef %52) %54 = inttoptr i64 %53 to ptr store ptr %54, ptr %10, align 8 store i32 0, ptr %11, align 4 br label %55 55: ; preds = %70, %48 %56 = load i32, ptr %11, align 4 %57 = load i32, ptr %7, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %59, label %73 59: ; preds = %55 %60 = load ptr, ptr %8, align 8 %61 = load i32, ptr %11, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %60, i64 %62 %64 = load i32, ptr %63, align 4 %65 = sitofp i32 %64 to float %66 = load ptr, ptr %10, align 8 %67 = load i32, ptr %11, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds float, ptr %66, i64 %68 store float %65, ptr %69, align 4 br label %70 70: ; preds = %59 %71 = load i32, ptr %11, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %11, align 4 br label %55, !llvm.loop !8 73: ; preds = %55 %74 = load ptr, ptr %8, align 8 %75 = call i32 @free(ptr noundef %74) %76 = load ptr, ptr %10, align 8 store ptr %76, ptr %4, align 8 br label %77 77: ; preds = %73, %14 %78 = load ptr, ptr %4, align 8 ret ptr %78 } declare i64 @malloc(i32 noundef) #1 declare double @rand(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy77an8ka.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @vrandr(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp slt i32 %12, 1 br i1 %13, label %14, label %15 14: ; preds = %3 store ptr null, ptr %4, align 8 br label %81 15: ; preds = %3 %16 = load i32, ptr %7, align 4 %17 = sext i32 %16 to i64 %18 = mul i64 %17, 4 %19 = trunc i64 %18 to i32 %20 = call i64 @malloc(i32 noundef %19) %21 = inttoptr i64 %20 to ptr store ptr %21, ptr %8, align 8 %22 = call double (...) @rand() store i32 0, ptr %9, align 4 %23 = load i32, ptr %9, align 4 %24 = load i32, ptr %7, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %.lr.ph, label %50 .lr.ph: ; preds = %15 br label %26 26: ; preds = %.lr.ph, %44 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %5, align 4 %29 = sub nsw i32 %27, %28 %30 = add nsw i32 %29, 1 %31 = sitofp i32 %30 to double %32 = call double (...) @rand() %33 = load double, ptr @RAND_MAX, align 8 %34 = fadd double %33, 1.000000e+00 %35 = fdiv double %32, %34 %36 = load i32, ptr %5, align 4 %37 = sitofp i32 %36 to double %38 = call double @llvm.fmuladd.f64(double %31, double %35, double %37) %39 = fptosi double %38 to i32 %40 = load ptr, ptr %8, align 8 %41 = load i32, ptr %9, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %40, i64 %42 store i32 %39, ptr %43, align 4 br label %44 44: ; preds = %26 %45 = load i32, ptr %9, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %9, align 4 %47 = load i32, ptr %9, align 4 %48 = load i32, ptr %7, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %44 br label %50 50: ; preds = %._crit_edge, %15 %51 = load i32, ptr %7, align 4 %52 = sext i32 %51 to i64 %53 = mul i64 %52, 4 %54 = trunc i64 %53 to i32 %55 = call i64 @malloc(i32 noundef %54) %56 = inttoptr i64 %55 to ptr store ptr %56, ptr %10, align 8 store i32 0, ptr %11, align 4 %57 = load i32, ptr %11, align 4 %58 = load i32, ptr %7, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %.lr.ph2, label %77 .lr.ph2: ; preds = %50 br label %60 60: ; preds = %.lr.ph2, %71 %61 = load ptr, ptr %8, align 8 %62 = load i32, ptr %11, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i32, ptr %61, i64 %63 %65 = load i32, ptr %64, align 4 %66 = sitofp i32 %65 to float %67 = load ptr, ptr %10, align 8 %68 = load i32, ptr %11, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds float, ptr %67, i64 %69 store float %66, ptr %70, align 4 br label %71 71: ; preds = %60 %72 = load i32, ptr %11, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %11, align 4 %74 = load i32, ptr %11, align 4 %75 = load i32, ptr %7, align 4 %76 = icmp slt i32 %74, %75 br i1 %76, label %60, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %71 br label %77 77: ; preds = %._crit_edge3, %50 %78 = load ptr, ptr %8, align 8 %79 = call i32 @free(ptr noundef %78) %80 = load ptr, ptr %10, align 8 store ptr %80, ptr %4, align 8 br label %81 81: ; preds = %77, %14 %82 = load ptr, ptr %4, align 8 ret ptr %82 } declare i64 @malloc(i32 noundef) #1 declare double @rand(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 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}
; ModuleID = '/tmp/tmplgy8r10v.c' source_filename = "/tmp/tmplgy8r10v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @WatchdogResetDisable(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = icmp eq i64 %3, 1073741824 br i1 %4, label %8, label %5 5: ; preds = %1 %6 = load i64, ptr %2, align 8 %7 = icmp eq i64 %6, 1073745920 br label %8 8: ; preds = %5, %1 %9 = phi i1 [ true, %1 ], [ %7, %5 ] %10 = zext i1 %9 to i32 %11 = call i32 @DEBUG_ASSERT(i32 noundef %10) %12 = load i64, ptr %2, align 8 %13 = add i64 %12, 8 %14 = inttoptr i64 %13 to ptr %15 = load volatile i64, ptr %14, align 8 %16 = and i64 %15, -3 store volatile i64 %16, ptr %14, align 8 ret void } declare i32 @DEBUG_ASSERT(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplgy8r10v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @WatchdogResetDisable(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = icmp eq i64 %3, 1073741824 br i1 %4, label %8, label %5 5: ; preds = %1 %6 = load i64, ptr %2, align 8 %7 = icmp eq i64 %6, 1073745920 br label %8 8: ; preds = %5, %1 %9 = phi i1 [ true, %1 ], [ %7, %5 ] %10 = zext i1 %9 to i32 %11 = call i32 @DEBUG_ASSERT(i32 noundef %10) %12 = load i64, ptr %2, align 8 %13 = add i64 %12, 8 %14 = inttoptr i64 %13 to ptr %15 = load volatile i64, ptr %14, align 8 %16 = and i64 %15, -3 store volatile i64 %16, ptr %14, align 8 ret void } declare i32 @DEBUG_ASSERT(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8c55v4k2.c' source_filename = "/tmp/tmp8c55v4k2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 300, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %5 = load i32, ptr %3, align 4 %6 = sdiv i32 %5, 300 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8c55v4k2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 300, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %5 = load i32, ptr %3, align 4 %6 = sdiv i32 %5, 300 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp54uxew74.c' source_filename = "/tmp/tmp54uxew74.c" target datalayout = "e-m:e-p270: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/tmp54uxew74.c" target datalayout = "e-m:e-p270: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/tmpilsaukc_.c' source_filename = "/tmp/tmpilsaukc_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"Invalid Number %d. It must be positive.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @f(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp sle i32 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %1 %9 = load i32, ptr %3, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %9) store i32 -1, ptr %2, align 4 br label %29 11: ; preds = %1 %12 = load i32, ptr %3, align 4 %13 = icmp eq i32 %12, 1 br i1 %13, label %14, label %15 14: ; preds = %11 store i32 2, ptr %2, align 4 br label %29 15: ; preds = %11 %16 = load i32, ptr %3, align 4 %17 = icmp eq i32 %16, 2 br i1 %17, label %18, label %19 18: ; preds = %15 store i32 3, ptr %2, align 4 br label %29 19: ; preds = %15 %20 = load i32, ptr %3, align 4 %21 = sub nsw i32 %20, 1 %22 = call i32 @f(i32 noundef %21) store i32 %22, ptr %4, align 4 %23 = load i32, ptr %3, align 4 %24 = sub nsw i32 %23, 2 %25 = call i32 @f(i32 noundef %24) store i32 %25, ptr %5, align 4 %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %26, %27 store i32 %28, ptr %2, align 4 br label %29 29: ; preds = %19, %18, %14, %8 %30 = load i32, ptr %2, align 4 ret i32 %30 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpilsaukc_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"Invalid Number %d. It must be positive.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @f(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp sle i32 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %1 %9 = load i32, ptr %3, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %9) store i32 -1, ptr %2, align 4 br label %29 11: ; preds = %1 %12 = load i32, ptr %3, align 4 %13 = icmp eq i32 %12, 1 br i1 %13, label %14, label %15 14: ; preds = %11 store i32 2, ptr %2, align 4 br label %29 15: ; preds = %11 %16 = load i32, ptr %3, align 4 %17 = icmp eq i32 %16, 2 br i1 %17, label %18, label %19 18: ; preds = %15 store i32 3, ptr %2, align 4 br label %29 19: ; preds = %15 %20 = load i32, ptr %3, align 4 %21 = sub nsw i32 %20, 1 %22 = call i32 @f(i32 noundef %21) store i32 %22, ptr %4, align 4 %23 = load i32, ptr %3, align 4 %24 = sub nsw i32 %23, 2 %25 = call i32 @f(i32 noundef %24) store i32 %25, ptr %5, align 4 %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %26, %27 store i32 %28, ptr %2, align 4 br label %29 29: ; preds = %19, %18, %14, %8 %30 = load i32, ptr %2, align 4 ret i32 %30 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpt3j_a_sd.c' source_filename = "/tmp/tmpt3j_a_sd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @DEBUG_TRACE = external global i32, align 4 @.str = private unnamed_addr constant [26 x i8] c"<Entering input_queries>\0A\00", align 1 @ARCHITECTURE = external global i32, align 4 @PROMPT = external global i32, align 4 @.str.1 = private unnamed_addr constant [19 x i8] c"Graph input file: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"Graph file `%s' not found.\0A\00", align 1 @OUTPUT_ASSIGN = external global i32, align 4 @SEQUENCE = external global i32, align 4 @.str.5 = private unnamed_addr constant [25 x i8] c"Assignment output file: \00", align 1 @ECHO = external global i32, align 4 @.str.6 = private unnamed_addr constant [35 x i8] c"File name for saving run results: \00", align 1 @.str.7 = private unnamed_addr constant [29 x i8] c"Global partitioning method:\0A\00", align 1 @.str.8 = private unnamed_addr constant [21 x i8] c" (1) Multilevel-KL\0A\00", align 1 @.str.9 = private unnamed_addr constant [16 x i8] c" (2) Spectral\0A\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c" (3) Inertial\0A\00", align 1 @.str.11 = private unnamed_addr constant [14 x i8] c" (4) Linear\0A\00", align 1 @.str.12 = private unnamed_addr constant [14 x i8] c" (5) Random\0A\00", align 1 @.str.13 = private unnamed_addr constant [17 x i8] c" (6) Scattered\0A\00", align 1 @.str.14 = private unnamed_addr constant [22 x i8] c" (7) Read-from-file\0A\00", align 1 @.str.15 = private unnamed_addr constant [24 x i8] c"Assignment input file: \00", align 1 @.str.16 = private unnamed_addr constant [33 x i8] c"Assignment file `%s' not found.\0A\00", align 1 @.str.17 = private unnamed_addr constant [27 x i8] c"Geometry input file name: \00", align 1 @.str.18 = private unnamed_addr constant [37 x i8] c"Geometry input file `%s' not found.\0A\00", align 1 @.str.19 = private unnamed_addr constant [14 x i8] c"Eigensolver:\0A\00", align 1 @.str.20 = private unnamed_addr constant [29 x i8] c" (1) Multilevel RQI/Symmlq\0A\00", align 1 @.str.21 = private unnamed_addr constant [15 x i8] c" (2) Lanczos\0A\00", align 1 @MATCH_TYPE = external global i32, align 4 @.str.22 = private unnamed_addr constant [40 x i8] c"Number of vertices to coarsen down to: \00", align 1 @.str.23 = private unnamed_addr constant [26 x i8] c"Local refinement method:\0A\00", align 1 @.str.24 = private unnamed_addr constant [21 x i8] c" (1) Kernighan-Lin\0A\00", align 1 @.str.25 = private unnamed_addr constant [12 x i8] c" (2) None\0A\00", align 1 @.str.26 = private unnamed_addr constant [46 x i8] c"Total number of target hypercube dimensions: \00", align 1 @.str.27 = private unnamed_addr constant [41 x i8] c" Number of divisions must be at least 1\0A\00", align 1 @.str.28 = private unnamed_addr constant [32 x i8] c"X and Y extent of of 2-D mesh: \00", align 1 @.str.29 = private unnamed_addr constant [32 x i8] c"X, Y and Z extent of 3-D mesh: \00", align 1 @.str.30 = private unnamed_addr constant [19 x i8] c"Size of 1-D mesh: \00", align 1 @.str.31 = private unnamed_addr constant [26 x i8] c"Partitioning dimension: \0A\00", align 1 @.str.32 = private unnamed_addr constant [17 x i8] c" (1) Bisection\0A\00", align 1 @.str.33 = private unnamed_addr constant [21 x i8] c" (2) Quadrisection\0A\00", align 1 @.str.34 = private unnamed_addr constant [19 x i8] c" (3) Octasection\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @input_queries(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15) #0 { %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 %26 = alloca ptr, align 8 %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca ptr, align 8 %30 = alloca ptr, align 8 %31 = alloca ptr, align 8 %32 = alloca ptr, align 8 %33 = alloca i32, align 4 %34 = alloca i32, align 4 store ptr %0, ptr %17, align 8 store ptr %1, ptr %18, align 8 store ptr %2, ptr %19, align 8 store ptr %3, ptr %20, align 8 store ptr %4, ptr %21, align 8 store ptr %5, ptr %22, align 8 store ptr %6, ptr %23, align 8 store ptr %7, ptr %24, align 8 store ptr %8, ptr %25, align 8 store ptr %9, ptr %26, align 8 store ptr %10, ptr %27, align 8 store ptr %11, ptr %28, align 8 store ptr %12, ptr %29, align 8 store ptr %13, ptr %30, align 8 store ptr %14, ptr %31, align 8 store ptr %15, ptr %32, align 8 %35 = load i32, ptr @DEBUG_TRACE, align 4 %36 = icmp sgt i32 %35, 0 br i1 %36, label %37, label %39 37: ; preds = %16 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %39 39: ; preds = %37, %16 %40 = load i32, ptr @ARCHITECTURE, align 4 %41 = load ptr, ptr %25, align 8 store i32 %40, ptr %41, align 4 %42 = load ptr, ptr %17, align 8 store ptr null, ptr %42, align 8 br label %43 43: ; preds = %64, %39 %44 = load ptr, ptr %17, align 8 %45 = load ptr, ptr %44, align 8 %46 = icmp eq ptr %45, null br i1 %46, label %47, label %65 47: ; preds = %43 %48 = load i32, ptr @PROMPT, align 4 %49 = icmp ne i32 %48, 0 br i1 %49, label %50, label %52 50: ; preds = %47 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %52 52: ; preds = %50, %47 %53 = load ptr, ptr %20, align 8 %54 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %53) %55 = load ptr, ptr %20, align 8 %56 = call ptr @fopen(ptr noundef %55, ptr noundef @.str.3) %57 = load ptr, ptr %17, align 8 store ptr %56, ptr %57, align 8 %58 = load ptr, ptr %17, align 8 %59 = load ptr, ptr %58, align 8 %60 = icmp eq ptr %59, null br i1 %60, label %61, label %64 61: ; preds = %52 %62 = load ptr, ptr %20, align 8 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %62) br label %64 64: ; preds = %61, %52 br label %43, !llvm.loop !6 65: ; preds = %43 %66 = load i32, ptr @OUTPUT_ASSIGN, align 4 %67 = icmp ne i32 %66, 0 br i1 %67, label %68, label %79 68: ; preds = %65 %69 = load i32, ptr @SEQUENCE, align 4 %70 = icmp ne i32 %69, 0 br i1 %70, label %79, label %71 71: ; preds = %68 %72 = load i32, ptr @PROMPT, align 4 %73 = icmp ne i32 %72, 0 br i1 %73, label %74, label %76 74: ; preds = %71 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %76 76: ; preds = %74, %71 %77 = load ptr, ptr %23, align 8 %78 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %77) br label %79 79: ; preds = %76, %68, %65 %80 = load i32, ptr @ECHO, align 4 %81 = icmp slt i32 %80, 0 br i1 %81, label %82, label %90 82: ; preds = %79 %83 = load i32, ptr @PROMPT, align 4 %84 = icmp ne i32 %83, 0 br i1 %84, label %85, label %87 85: ; preds = %82 %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %87 87: ; preds = %85, %82 %88 = load ptr, ptr %24, align 8 %89 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %88) br label %90 90: ; preds = %87, %79 %91 = load ptr, ptr %30, align 8 store i32 0, ptr %91, align 4 %92 = load ptr, ptr %28, align 8 store i32 0, ptr %92, align 4 %93 = load ptr, ptr %18, align 8 store ptr null, ptr %93, align 8 %94 = load ptr, ptr %19, align 8 store ptr null, ptr %94, align 8 %95 = load i32, ptr @SEQUENCE, align 4 %96 = icmp ne i32 %95, 0 br i1 %96, label %97, label %99 97: ; preds = %90 %98 = load ptr, ptr %28, align 8 store i32 2, ptr %98, align 4 br label %126 99: ; preds = %90 br label %100 100: ; preds = %122, %99 %101 = load ptr, ptr %28, align 8 %102 = load i32, ptr %101, align 4 %103 = icmp slt i32 %102, 1 br i1 %103, label %108, label %104 104: ; preds = %100 %105 = load ptr, ptr %28, align 8 %106 = load i32, ptr %105, align 4 %107 = icmp sgt i32 %106, 7 br label %108 108: ; preds = %104, %100 %109 = phi i1 [ true, %100 ], [ %107, %104 ] br i1 %109, label %110, label %125 110: ; preds = %108 %111 = load i32, ptr @PROMPT, align 4 %112 = icmp ne i32 %111, 0 br i1 %112, label %113, label %122 113: ; preds = %110 %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %115 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %116 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %118 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %119 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %121 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) br label %122 122: ; preds = %113, %110 %123 = call i32 (...) @input_int() %124 = load ptr, ptr %28, align 8 store i32 %123, ptr %124, align 4 br label %100, !llvm.loop !8 125: ; preds = %108 br label %126 126: ; preds = %125, %97 %127 = load ptr, ptr %28, align 8 %128 = load i32, ptr %127, align 4 %129 = icmp eq i32 %128, 7 br i1 %129, label %130, label %154 130: ; preds = %126 br label %131 131: ; preds = %152, %130 %132 = load ptr, ptr %19, align 8 %133 = load ptr, ptr %132, align 8 %134 = icmp eq ptr %133, null br i1 %134, label %135, label %153 135: ; preds = %131 %136 = load i32, ptr @PROMPT, align 4 %137 = icmp ne i32 %136, 0 br i1 %137, label %138, label %140 138: ; preds = %135 %139 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) br label %140 140: ; preds = %138, %135 %141 = load ptr, ptr %22, align 8 %142 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %141) %143 = load ptr, ptr %22, align 8 %144 = call ptr @fopen(ptr noundef %143, ptr noundef @.str.3) %145 = load ptr, ptr %19, align 8 store ptr %144, ptr %145, align 8 %146 = load ptr, ptr %19, align 8 %147 = load ptr, ptr %146, align 8 %148 = icmp eq ptr %147, null br i1 %148, label %149, label %152 149: ; preds = %140 %150 = load ptr, ptr %22, align 8 %151 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, ptr noundef %150) br label %152 152: ; preds = %149, %140 br label %131, !llvm.loop !9 153: ; preds = %131 br label %300 154: ; preds = %126 %155 = load ptr, ptr %28, align 8 %156 = load i32, ptr %155, align 4 %157 = icmp eq i32 %156, 3 br i1 %157, label %158, label %182 158: ; preds = %154 br label %159 159: ; preds = %180, %158 %160 = load ptr, ptr %18, align 8 %161 = load ptr, ptr %160, align 8 %162 = icmp eq ptr %161, null br i1 %162, label %163, label %181 163: ; preds = %159 %164 = load i32, ptr @PROMPT, align 4 %165 = icmp ne i32 %164, 0 br i1 %165, label %166, label %168 166: ; preds = %163 %167 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) br label %168 168: ; preds = %166, %163 %169 = load ptr, ptr %21, align 8 %170 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %169) %171 = load ptr, ptr %21, align 8 %172 = call ptr @fopen(ptr noundef %171, ptr noundef @.str.3) %173 = load ptr, ptr %18, align 8 store ptr %172, ptr %173, align 8 %174 = load ptr, ptr %18, align 8 %175 = load ptr, ptr %174, align 8 %176 = icmp eq ptr %175, null br i1 %176, label %177, label %180 177: ; preds = %168 %178 = load ptr, ptr %21, align 8 %179 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef %178) br label %180 180: ; preds = %177, %168 br label %159, !llvm.loop !10 181: ; preds = %159 br label %299 182: ; preds = %154 %183 = load ptr, ptr %28, align 8 %184 = load i32, ptr %183, align 4 %185 = icmp eq i32 %184, 2 br i1 %185, label %186, label %251 186: ; preds = %182 store i32 0, ptr %33, align 4 br label %187 187: ; preds = %202, %186 %188 = load i32, ptr %33, align 4 %189 = icmp slt i32 %188, 1 br i1 %189, label %193, label %190 190: ; preds = %187 %191 = load i32, ptr %33, align 4 %192 = icmp sgt i32 %191, 2 br label %193 193: ; preds = %190, %187 %194 = phi i1 [ true, %187 ], [ %192, %190 ] br i1 %194, label %195, label %204 195: ; preds = %193 %196 = load i32, ptr @PROMPT, align 4 %197 = icmp ne i32 %196, 0 br i1 %197, label %198, label %202 198: ; preds = %195 %199 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %200 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) %201 = call i32 (ptr, ...) @printf(ptr noundef @.str.21) br label %202 202: ; preds = %198, %195 %203 = call i32 (...) @input_int() store i32 %203, ptr %33, align 4 br label %187, !llvm.loop !11 204: ; preds = %193 %205 = load i32, ptr %33, align 4 %206 = icmp eq i32 %205, 1 br i1 %206, label %207, label %250 207: ; preds = %204 %208 = load i32, ptr @MATCH_TYPE, align 4 %209 = icmp eq i32 %208, 5 br i1 %209, label %210, label %234 210: ; preds = %207 br label %211 211: ; preds = %232, %210 %212 = load ptr, ptr %18, align 8 %213 = load ptr, ptr %212, align 8 %214 = icmp eq ptr %213, null br i1 %214, label %215, label %233 215: ; preds = %211 %216 = load i32, ptr @PROMPT, align 4 %217 = icmp ne i32 %216, 0 br i1 %217, label %218, label %220 218: ; preds = %215 %219 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) br label %220 220: ; preds = %218, %215 %221 = load ptr, ptr %21, align 8 %222 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %221) %223 = load ptr, ptr %21, align 8 %224 = call ptr @fopen(ptr noundef %223, ptr noundef @.str.3) %225 = load ptr, ptr %18, align 8 store ptr %224, ptr %225, align 8 %226 = load ptr, ptr %18, align 8 %227 = load ptr, ptr %226, align 8 %228 = icmp eq ptr %227, null br i1 %228, label %229, label %232 229: ; preds = %220 %230 = load ptr, ptr %21, align 8 %231 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef %230) br label %232 232: ; preds = %229, %220 br label %211, !llvm.loop !12 233: ; preds = %211 br label %234 234: ; preds = %233, %207 %235 = load ptr, ptr %30, align 8 store i32 1, ptr %235, align 4 %236 = load ptr, ptr %31, align 8 store i32 0, ptr %236, align 4 br label %237 237: ; preds = %246, %234 %238 = load ptr, ptr %31, align 8 %239 = load i32, ptr %238, align 4 %240 = icmp sle i32 %239, 0 br i1 %240, label %241, label %249 241: ; preds = %237 %242 = load i32, ptr @PROMPT, align 4 %243 = icmp ne i32 %242, 0 br i1 %243, label %244, label %246 244: ; preds = %241 %245 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) br label %246 246: ; preds = %244, %241 %247 = call i32 (...) @input_int() %248 = load ptr, ptr %31, align 8 store i32 %247, ptr %248, align 4 br label %237, !llvm.loop !13 249: ; preds = %237 br label %250 250: ; preds = %249, %204 br label %298 251: ; preds = %182 %252 = load ptr, ptr %28, align 8 %253 = load i32, ptr %252, align 4 %254 = icmp eq i32 %253, 1 br i1 %254, label %255, label %297 255: ; preds = %251 %256 = load i32, ptr @MATCH_TYPE, align 4 %257 = icmp eq i32 %256, 5 br i1 %257, label %258, label %282 258: ; preds = %255 br label %259 259: ; preds = %280, %258 %260 = load ptr, ptr %18, align 8 %261 = load ptr, ptr %260, align 8 %262 = icmp eq ptr %261, null br i1 %262, label %263, label %281 263: ; preds = %259 %264 = load i32, ptr @PROMPT, align 4 %265 = icmp ne i32 %264, 0 br i1 %265, label %266, label %268 266: ; preds = %263 %267 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) br label %268 268: ; preds = %266, %263 %269 = load ptr, ptr %21, align 8 %270 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %269) %271 = load ptr, ptr %21, align 8 %272 = call ptr @fopen(ptr noundef %271, ptr noundef @.str.3) %273 = load ptr, ptr %18, align 8 store ptr %272, ptr %273, align 8 %274 = load ptr, ptr %18, align 8 %275 = load ptr, ptr %274, align 8 %276 = icmp eq ptr %275, null br i1 %276, label %277, label %280 277: ; preds = %268 %278 = load ptr, ptr %21, align 8 %279 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef %278) br label %280 280: ; preds = %277, %268 br label %259, !llvm.loop !14 281: ; preds = %259 br label %282 282: ; preds = %281, %255 %283 = load ptr, ptr %31, align 8 store i32 0, ptr %283, align 4 br label %284 284: ; preds = %293, %282 %285 = load ptr, ptr %31, align 8 %286 = load i32, ptr %285, align 4 %287 = icmp sle i32 %286, 1 br i1 %287, label %288, label %296 288: ; preds = %284 %289 = load i32, ptr @PROMPT, align 4 %290 = icmp ne i32 %289, 0 br i1 %290, label %291, label %293 291: ; preds = %288 %292 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) br label %293 293: ; preds = %291, %288 %294 = call i32 (...) @input_int() %295 = load ptr, ptr %31, align 8 store i32 %294, ptr %295, align 4 br label %284, !llvm.loop !15 296: ; preds = %284 br label %297 297: ; preds = %296, %251 br label %298 298: ; preds = %297, %250 br label %299 299: ; preds = %298, %181 br label %300 300: ; preds = %299, %153 %301 = load i32, ptr @SEQUENCE, align 4 %302 = icmp ne i32 %301, 0 br i1 %302, label %303, label %324 303: ; preds = %300 %304 = load ptr, ptr %29, align 8 store i32 2, ptr %304, align 4 %305 = load ptr, ptr %25, align 8 %306 = load i32, ptr %305, align 4 %307 = icmp eq i32 %306, 0 br i1 %307, label %308, label %310 308: ; preds = %303 %309 = load ptr, ptr %26, align 8 store i32 1, ptr %309, align 4 br label %322 310: ; preds = %303 %311 = load ptr, ptr %25, align 8 %312 = load i32, ptr %311, align 4 %313 = icmp sgt i32 %312, 0 br i1 %313, label %314, label %321 314: ; preds = %310 %315 = load ptr, ptr %27, align 8 %316 = getelementptr inbounds i32, ptr %315, i64 0 store i32 2, ptr %316, align 4 %317 = load ptr, ptr %27, align 8 %318 = getelementptr inbounds i32, ptr %317, i64 2 store i32 1, ptr %318, align 4 %319 = load ptr, ptr %27, align 8 %320 = getelementptr inbounds i32, ptr %319, i64 1 store i32 1, ptr %320, align 4 br label %321 321: ; preds = %314, %310 br label %322 322: ; preds = %321, %308 %323 = load ptr, ptr %32, align 8 store i32 1, ptr %323, align 4 br label %507 324: ; preds = %300 %325 = load ptr, ptr %29, align 8 store i32 0, ptr %325, align 4 %326 = load ptr, ptr %28, align 8 %327 = load i32, ptr %326, align 4 %328 = icmp eq i32 %327, 1 br i1 %328, label %329, label %331 329: ; preds = %324 %330 = load ptr, ptr %29, align 8 store i32 1, ptr %330, align 4 br label %353 331: ; preds = %324 br label %332 332: ; preds = %349, %331 %333 = load ptr, ptr %29, align 8 %334 = load i32, ptr %333, align 4 %335 = icmp slt i32 %334, 1 br i1 %335, label %340, label %336 336: ; preds = %332 %337 = load ptr, ptr %29, align 8 %338 = load i32, ptr %337, align 4 %339 = icmp sgt i32 %338, 2 br label %340 340: ; preds = %336, %332 %341 = phi i1 [ true, %332 ], [ %339, %336 ] br i1 %341, label %342, label %352 342: ; preds = %340 %343 = load i32, ptr @PROMPT, align 4 %344 = icmp ne i32 %343, 0 br i1 %344, label %345, label %349 345: ; preds = %342 %346 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %347 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) %348 = call i32 (ptr, ...) @printf(ptr noundef @.str.25) br label %349 349: ; preds = %345, %342 %350 = call i32 (...) @input_int() %351 = load ptr, ptr %29, align 8 store i32 %350, ptr %351, align 4 br label %332, !llvm.loop !16 352: ; preds = %340 br label %353 353: ; preds = %352, %329 %354 = load ptr, ptr %25, align 8 %355 = load i32, ptr %354, align 4 %356 = icmp eq i32 %355, 0 br i1 %356, label %357, label %381 357: ; preds = %353 %358 = load ptr, ptr %26, align 8 store i32 0, ptr %358, align 4 br label %359 359: ; preds = %376, %357 %360 = load ptr, ptr %26, align 8 %361 = load i32, ptr %360, align 4 %362 = icmp slt i32 %361, 1 br i1 %362, label %363, label %377 363: ; preds = %359 %364 = load i32, ptr @PROMPT, align 4 %365 = icmp ne i32 %364, 0 br i1 %365, label %366, label %368 366: ; preds = %363 %367 = call i32 (ptr, ...) @printf(ptr noundef @.str.26) br label %368 368: ; preds = %366, %363 %369 = call i32 (...) @input_int() %370 = load ptr, ptr %26, align 8 store i32 %369, ptr %370, align 4 %371 = load ptr, ptr %26, align 8 %372 = load i32, ptr %371, align 4 %373 = icmp slt i32 %372, 1 br i1 %373, label %374, label %376 374: ; preds = %368 %375 = call i32 (ptr, ...) @printf(ptr noundef @.str.27) br label %376 376: ; preds = %374, %368 br label %359, !llvm.loop !17 377: ; preds = %359 %378 = load ptr, ptr %26, align 8 %379 = load i32, ptr %378, align 4 %380 = shl i32 1, %379 store i32 %380, ptr %34, align 4 br label %443 381: ; preds = %353 %382 = load ptr, ptr %27, align 8 %383 = getelementptr inbounds i32, ptr %382, i64 2 store i32 1, ptr %383, align 4 %384 = load ptr, ptr %27, align 8 %385 = getelementptr inbounds i32, ptr %384, i64 1 store i32 1, ptr %385, align 4 %386 = load ptr, ptr %25, align 8 %387 = load i32, ptr %386, align 4 %388 = icmp eq i32 %387, 2 br i1 %388, label %389, label %401 389: ; preds = %381 %390 = load i32, ptr @PROMPT, align 4 %391 = icmp ne i32 %390, 0 br i1 %391, label %392, label %394 392: ; preds = %389 %393 = call i32 (ptr, ...) @printf(ptr noundef @.str.28) br label %394 394: ; preds = %392, %389 %395 = call i32 (...) @input_int() %396 = load ptr, ptr %27, align 8 %397 = getelementptr inbounds i32, ptr %396, i64 0 store i32 %395, ptr %397, align 4 %398 = call i32 (...) @input_int() %399 = load ptr, ptr %27, align 8 %400 = getelementptr inbounds i32, ptr %399, i64 1 store i32 %398, ptr %400, align 4 br label %431 401: ; preds = %381 %402 = load ptr, ptr %25, align 8 %403 = load i32, ptr %402, align 4 %404 = icmp eq i32 %403, 3 br i1 %404, label %405, label %420 405: ; preds = %401 %406 = load i32, ptr @PROMPT, align 4 %407 = icmp ne i32 %406, 0 br i1 %407, label %408, label %410 408: ; preds = %405 %409 = call i32 (ptr, ...) @printf(ptr noundef @.str.29) br label %410 410: ; preds = %408, %405 %411 = call i32 (...) @input_int() %412 = load ptr, ptr %27, align 8 %413 = getelementptr inbounds i32, ptr %412, i64 0 store i32 %411, ptr %413, align 4 %414 = call i32 (...) @input_int() %415 = load ptr, ptr %27, align 8 %416 = getelementptr inbounds i32, ptr %415, i64 1 store i32 %414, ptr %416, align 4 %417 = call i32 (...) @input_int() %418 = load ptr, ptr %27, align 8 %419 = getelementptr inbounds i32, ptr %418, i64 2 store i32 %417, ptr %419, align 4 br label %430 420: ; preds = %401 %421 = load i32, ptr @PROMPT, align 4 %422 = icmp ne i32 %421, 0 br i1 %422, label %423, label %425 423: ; preds = %420 %424 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) br label %425 425: ; preds = %423, %420 %426 = call i32 (...) @input_int() %427 = load ptr, ptr %27, align 8 %428 = getelementptr inbounds i32, ptr %427, i64 0 store i32 %426, ptr %428, align 4 %429 = load ptr, ptr %25, align 8 store i32 1, ptr %429, align 4 br label %430 430: ; preds = %425, %410 br label %431 431: ; preds = %430, %394 %432 = load ptr, ptr %27, align 8 %433 = getelementptr inbounds i32, ptr %432, i64 0 %434 = load i32, ptr %433, align 4 %435 = load ptr, ptr %27, align 8 %436 = getelementptr inbounds i32, ptr %435, i64 1 %437 = load i32, ptr %436, align 4 %438 = mul nsw i32 %434, %437 %439 = load ptr, ptr %27, align 8 %440 = getelementptr inbounds i32, ptr %439, i64 2 %441 = load i32, ptr %440, align 4 %442 = mul nsw i32 %438, %441 store i32 %442, ptr %34, align 4 br label %443 443: ; preds = %431, %377 %444 = load ptr, ptr %32, align 8 store i32 0, ptr %444, align 4 %445 = load i32, ptr %34, align 4 %446 = icmp sle i32 %445, 3 br i1 %446, label %447, label %449 447: ; preds = %443 %448 = load ptr, ptr %32, align 8 store i32 1, ptr %448, align 4 br label %506 449: ; preds = %443 %450 = load i32, ptr %34, align 4 %451 = icmp sle i32 %450, 7 br i1 %451, label %452, label %478 452: ; preds = %449 %453 = load i32, ptr @PROMPT, align 4 %454 = icmp ne i32 %453, 0 br i1 %454, label %455, label %457 455: ; preds = %452 %456 = call i32 (ptr, ...) @printf(ptr noundef @.str.31) br label %457 457: ; preds = %455, %452 br label %458 458: ; preds = %474, %457 %459 = load ptr, ptr %32, align 8 %460 = load i32, ptr %459, align 4 %461 = icmp slt i32 %460, 1 br i1 %461, label %466, label %462 462: ; preds = %458 %463 = load ptr, ptr %32, align 8 %464 = load i32, ptr %463, align 4 %465 = icmp sgt i32 %464, 2 br label %466 466: ; preds = %462, %458 %467 = phi i1 [ true, %458 ], [ %465, %462 ] br i1 %467, label %468, label %477 468: ; preds = %466 %469 = load i32, ptr @PROMPT, align 4 %470 = icmp ne i32 %469, 0 br i1 %470, label %471, label %474 471: ; preds = %468 %472 = call i32 (ptr, ...) @printf(ptr noundef @.str.32) %473 = call i32 (ptr, ...) @printf(ptr noundef @.str.33) br label %474 474: ; preds = %471, %468 %475 = call i32 (...) @input_int() %476 = load ptr, ptr %32, align 8 store i32 %475, ptr %476, align 4 br label %458, !llvm.loop !18 477: ; preds = %466 br label %505 478: ; preds = %449 %479 = load i32, ptr @PROMPT, align 4 %480 = icmp ne i32 %479, 0 br i1 %480, label %481, label %483 481: ; preds = %478 %482 = call i32 (ptr, ...) @printf(ptr noundef @.str.31) br label %483 483: ; preds = %481, %478 br label %484 484: ; preds = %501, %483 %485 = load ptr, ptr %32, align 8 %486 = load i32, ptr %485, align 4 %487 = icmp slt i32 %486, 1 br i1 %487, label %492, label %488 488: ; preds = %484 %489 = load ptr, ptr %32, align 8 %490 = load i32, ptr %489, align 4 %491 = icmp sgt i32 %490, 3 br label %492 492: ; preds = %488, %484 %493 = phi i1 [ true, %484 ], [ %491, %488 ] br i1 %493, label %494, label %504 494: ; preds = %492 %495 = load i32, ptr @PROMPT, align 4 %496 = icmp ne i32 %495, 0 br i1 %496, label %497, label %501 497: ; preds = %494 %498 = call i32 (ptr, ...) @printf(ptr noundef @.str.32) %499 = call i32 (ptr, ...) @printf(ptr noundef @.str.33) %500 = call i32 (ptr, ...) @printf(ptr noundef @.str.34) br label %501 501: ; preds = %497, %494 %502 = call i32 (...) @input_int() %503 = load ptr, ptr %32, align 8 store i32 %502, ptr %503, align 4 br label %484, !llvm.loop !19 504: ; preds = %492 br label %505 505: ; preds = %504, %477 br label %506 506: ; preds = %505, %447 br label %507 507: ; preds = %506, %322 %508 = load ptr, ptr %28, align 8 %509 = load i32, ptr %508, align 4 %510 = icmp eq i32 %509, 1 br i1 %510, label %515, label %511 511: ; preds = %507 %512 = load ptr, ptr %30, align 8 %513 = load i32, ptr %512, align 4 %514 = icmp ne i32 %513, 0 br i1 %514, label %515, label %530 515: ; preds = %511, %507 %516 = load ptr, ptr %31, align 8 %517 = load i32, ptr %516, align 4 %518 = load ptr, ptr %32, align 8 %519 = load i32, ptr %518, align 4 %520 = shl i32 1, %519 %521 = mul nsw i32 2, %520 %522 = icmp slt i32 %517, %521 br i1 %522, label %523, label %529 523: ; preds = %515 %524 = load ptr, ptr %32, align 8 %525 = load i32, ptr %524, align 4 %526 = shl i32 1, %525 %527 = mul nsw i32 2, %526 %528 = load ptr, ptr %31, align 8 store i32 %527, ptr %528, align 4 br label %529 529: ; preds = %523, %515 br label %530 530: ; preds = %529, %511 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @input_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !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/tmpt3j_a_sd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @DEBUG_TRACE = external global i32, align 4 @.str = private unnamed_addr constant [26 x i8] c"<Entering input_queries>\0A\00", align 1 @ARCHITECTURE = external global i32, align 4 @PROMPT = external global i32, align 4 @.str.1 = private unnamed_addr constant [19 x i8] c"Graph input file: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"Graph file `%s' not found.\0A\00", align 1 @OUTPUT_ASSIGN = external global i32, align 4 @SEQUENCE = external global i32, align 4 @.str.5 = private unnamed_addr constant [25 x i8] c"Assignment output file: \00", align 1 @ECHO = external global i32, align 4 @.str.6 = private unnamed_addr constant [35 x i8] c"File name for saving run results: \00", align 1 @.str.7 = private unnamed_addr constant [29 x i8] c"Global partitioning method:\0A\00", align 1 @.str.8 = private unnamed_addr constant [21 x i8] c" (1) Multilevel-KL\0A\00", align 1 @.str.9 = private unnamed_addr constant [16 x i8] c" (2) Spectral\0A\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c" (3) Inertial\0A\00", align 1 @.str.11 = private unnamed_addr constant [14 x i8] c" (4) Linear\0A\00", align 1 @.str.12 = private unnamed_addr constant [14 x i8] c" (5) Random\0A\00", align 1 @.str.13 = private unnamed_addr constant [17 x i8] c" (6) Scattered\0A\00", align 1 @.str.14 = private unnamed_addr constant [22 x i8] c" (7) Read-from-file\0A\00", align 1 @.str.15 = private unnamed_addr constant [24 x i8] c"Assignment input file: \00", align 1 @.str.16 = private unnamed_addr constant [33 x i8] c"Assignment file `%s' not found.\0A\00", align 1 @.str.17 = private unnamed_addr constant [27 x i8] c"Geometry input file name: \00", align 1 @.str.18 = private unnamed_addr constant [37 x i8] c"Geometry input file `%s' not found.\0A\00", align 1 @.str.19 = private unnamed_addr constant [14 x i8] c"Eigensolver:\0A\00", align 1 @.str.20 = private unnamed_addr constant [29 x i8] c" (1) Multilevel RQI/Symmlq\0A\00", align 1 @.str.21 = private unnamed_addr constant [15 x i8] c" (2) Lanczos\0A\00", align 1 @MATCH_TYPE = external global i32, align 4 @.str.22 = private unnamed_addr constant [40 x i8] c"Number of vertices to coarsen down to: \00", align 1 @.str.23 = private unnamed_addr constant [26 x i8] c"Local refinement method:\0A\00", align 1 @.str.24 = private unnamed_addr constant [21 x i8] c" (1) Kernighan-Lin\0A\00", align 1 @.str.25 = private unnamed_addr constant [12 x i8] c" (2) None\0A\00", align 1 @.str.26 = private unnamed_addr constant [46 x i8] c"Total number of target hypercube dimensions: \00", align 1 @.str.27 = private unnamed_addr constant [41 x i8] c" Number of divisions must be at least 1\0A\00", align 1 @.str.28 = private unnamed_addr constant [32 x i8] c"X and Y extent of of 2-D mesh: \00", align 1 @.str.29 = private unnamed_addr constant [32 x i8] c"X, Y and Z extent of 3-D mesh: \00", align 1 @.str.30 = private unnamed_addr constant [19 x i8] c"Size of 1-D mesh: \00", align 1 @.str.31 = private unnamed_addr constant [26 x i8] c"Partitioning dimension: \0A\00", align 1 @.str.32 = private unnamed_addr constant [17 x i8] c" (1) Bisection\0A\00", align 1 @.str.33 = private unnamed_addr constant [21 x i8] c" (2) Quadrisection\0A\00", align 1 @.str.34 = private unnamed_addr constant [19 x i8] c" (3) Octasection\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @input_queries(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15) #0 { %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 %26 = alloca ptr, align 8 %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca ptr, align 8 %30 = alloca ptr, align 8 %31 = alloca ptr, align 8 %32 = alloca ptr, align 8 %33 = alloca i32, align 4 %34 = alloca i32, align 4 store ptr %0, ptr %17, align 8 store ptr %1, ptr %18, align 8 store ptr %2, ptr %19, align 8 store ptr %3, ptr %20, align 8 store ptr %4, ptr %21, align 8 store ptr %5, ptr %22, align 8 store ptr %6, ptr %23, align 8 store ptr %7, ptr %24, align 8 store ptr %8, ptr %25, align 8 store ptr %9, ptr %26, align 8 store ptr %10, ptr %27, align 8 store ptr %11, ptr %28, align 8 store ptr %12, ptr %29, align 8 store ptr %13, ptr %30, align 8 store ptr %14, ptr %31, align 8 store ptr %15, ptr %32, align 8 %35 = load i32, ptr @DEBUG_TRACE, align 4 %36 = icmp sgt i32 %35, 0 br i1 %36, label %37, label %39 37: ; preds = %16 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %39 39: ; preds = %37, %16 %40 = load i32, ptr @ARCHITECTURE, align 4 %41 = load ptr, ptr %25, align 8 store i32 %40, ptr %41, align 4 %42 = load ptr, ptr %17, align 8 store ptr null, ptr %42, align 8 %43 = load ptr, ptr %17, align 8 %44 = load ptr, ptr %43, align 8 %45 = icmp eq ptr %44, null br i1 %45, label %.lr.ph, label %67 .lr.ph: ; preds = %39 br label %46 46: ; preds = %.lr.ph, %63 %47 = load i32, ptr @PROMPT, align 4 %48 = icmp ne i32 %47, 0 br i1 %48, label %49, label %51 49: ; preds = %46 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %51 51: ; preds = %49, %46 %52 = load ptr, ptr %20, align 8 %53 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %52) %54 = load ptr, ptr %20, align 8 %55 = call ptr @fopen(ptr noundef %54, ptr noundef @.str.3) %56 = load ptr, ptr %17, align 8 store ptr %55, ptr %56, align 8 %57 = load ptr, ptr %17, align 8 %58 = load ptr, ptr %57, align 8 %59 = icmp eq ptr %58, null br i1 %59, label %60, label %63 60: ; preds = %51 %61 = load ptr, ptr %20, align 8 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %61) br label %63 63: ; preds = %60, %51 %64 = load ptr, ptr %17, align 8 %65 = load ptr, ptr %64, align 8 %66 = icmp eq ptr %65, null br i1 %66, label %46, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %63 br label %67 67: ; preds = %._crit_edge, %39 %68 = load i32, ptr @OUTPUT_ASSIGN, align 4 %69 = icmp ne i32 %68, 0 br i1 %69, label %70, label %81 70: ; preds = %67 %71 = load i32, ptr @SEQUENCE, align 4 %72 = icmp ne i32 %71, 0 br i1 %72, label %81, label %73 73: ; preds = %70 %74 = load i32, ptr @PROMPT, align 4 %75 = icmp ne i32 %74, 0 br i1 %75, label %76, label %78 76: ; preds = %73 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %78 78: ; preds = %76, %73 %79 = load ptr, ptr %23, align 8 %80 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %79) br label %81 81: ; preds = %78, %70, %67 %82 = load i32, ptr @ECHO, align 4 %83 = icmp slt i32 %82, 0 br i1 %83, label %84, label %92 84: ; preds = %81 %85 = load i32, ptr @PROMPT, align 4 %86 = icmp ne i32 %85, 0 br i1 %86, label %87, label %89 87: ; preds = %84 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %89 89: ; preds = %87, %84 %90 = load ptr, ptr %24, align 8 %91 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %90) br label %92 92: ; preds = %89, %81 %93 = load ptr, ptr %30, align 8 store i32 0, ptr %93, align 4 %94 = load ptr, ptr %28, align 8 store i32 0, ptr %94, align 4 %95 = load ptr, ptr %18, align 8 store ptr null, ptr %95, align 8 %96 = load ptr, ptr %19, align 8 store ptr null, ptr %96, align 8 %97 = load i32, ptr @SEQUENCE, align 4 %98 = icmp ne i32 %97, 0 br i1 %98, label %99, label %101 99: ; preds = %92 %100 = load ptr, ptr %28, align 8 store i32 2, ptr %100, align 4 br label %128 101: ; preds = %92 br label %102 102: ; preds = %124, %101 %103 = load ptr, ptr %28, align 8 %104 = load i32, ptr %103, align 4 %105 = icmp slt i32 %104, 1 br i1 %105, label %110, label %106 106: ; preds = %102 %107 = load ptr, ptr %28, align 8 %108 = load i32, ptr %107, align 4 %109 = icmp sgt i32 %108, 7 br label %110 110: ; preds = %106, %102 %111 = phi i1 [ true, %102 ], [ %109, %106 ] br i1 %111, label %112, label %127 112: ; preds = %110 %113 = load i32, ptr @PROMPT, align 4 %114 = icmp ne i32 %113, 0 br i1 %114, label %115, label %124 115: ; preds = %112 %116 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %118 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %119 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %121 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %122 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) br label %124 124: ; preds = %115, %112 %125 = call i32 (...) @input_int() %126 = load ptr, ptr %28, align 8 store i32 %125, ptr %126, align 4 br label %102, !llvm.loop !8 127: ; preds = %110 br label %128 128: ; preds = %127, %99 %129 = load ptr, ptr %28, align 8 %130 = load i32, ptr %129, align 4 %131 = icmp eq i32 %130, 7 br i1 %131, label %132, label %158 132: ; preds = %128 %133 = load ptr, ptr %19, align 8 %134 = load ptr, ptr %133, align 8 %135 = icmp eq ptr %134, null br i1 %135, label %.lr.ph17, label %157 .lr.ph17: ; preds = %132 br label %136 136: ; preds = %.lr.ph17, %153 %137 = load i32, ptr @PROMPT, align 4 %138 = icmp ne i32 %137, 0 br i1 %138, label %139, label %141 139: ; preds = %136 %140 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) br label %141 141: ; preds = %139, %136 %142 = load ptr, ptr %22, align 8 %143 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %142) %144 = load ptr, ptr %22, align 8 %145 = call ptr @fopen(ptr noundef %144, ptr noundef @.str.3) %146 = load ptr, ptr %19, align 8 store ptr %145, ptr %146, align 8 %147 = load ptr, ptr %19, align 8 %148 = load ptr, ptr %147, align 8 %149 = icmp eq ptr %148, null br i1 %149, label %150, label %153 150: ; preds = %141 %151 = load ptr, ptr %22, align 8 %152 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, ptr noundef %151) br label %153 153: ; preds = %150, %141 %154 = load ptr, ptr %19, align 8 %155 = load ptr, ptr %154, align 8 %156 = icmp eq ptr %155, null br i1 %156, label %136, label %._crit_edge18, !llvm.loop !9 ._crit_edge18: ; preds = %153 br label %157 157: ; preds = %._crit_edge18, %132 br label %314 158: ; preds = %128 %159 = load ptr, ptr %28, align 8 %160 = load i32, ptr %159, align 4 %161 = icmp eq i32 %160, 3 br i1 %161, label %162, label %188 162: ; preds = %158 %163 = load ptr, ptr %18, align 8 %164 = load ptr, ptr %163, align 8 %165 = icmp eq ptr %164, null br i1 %165, label %.lr.ph14, label %187 .lr.ph14: ; preds = %162 br label %166 166: ; preds = %.lr.ph14, %183 %167 = load i32, ptr @PROMPT, align 4 %168 = icmp ne i32 %167, 0 br i1 %168, label %169, label %171 169: ; preds = %166 %170 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) br label %171 171: ; preds = %169, %166 %172 = load ptr, ptr %21, align 8 %173 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %172) %174 = load ptr, ptr %21, align 8 %175 = call ptr @fopen(ptr noundef %174, ptr noundef @.str.3) %176 = load ptr, ptr %18, align 8 store ptr %175, ptr %176, align 8 %177 = load ptr, ptr %18, align 8 %178 = load ptr, ptr %177, align 8 %179 = icmp eq ptr %178, null br i1 %179, label %180, label %183 180: ; preds = %171 %181 = load ptr, ptr %21, align 8 %182 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef %181) br label %183 183: ; preds = %180, %171 %184 = load ptr, ptr %18, align 8 %185 = load ptr, ptr %184, align 8 %186 = icmp eq ptr %185, null br i1 %186, label %166, label %._crit_edge15, !llvm.loop !10 ._crit_edge15: ; preds = %183 br label %187 187: ; preds = %._crit_edge15, %162 br label %313 188: ; preds = %158 %189 = load ptr, ptr %28, align 8 %190 = load i32, ptr %189, align 4 %191 = icmp eq i32 %190, 2 br i1 %191, label %192, label %261 192: ; preds = %188 store i32 0, ptr %33, align 4 br label %193 193: ; preds = %208, %192 %194 = load i32, ptr %33, align 4 %195 = icmp slt i32 %194, 1 br i1 %195, label %199, label %196 196: ; preds = %193 %197 = load i32, ptr %33, align 4 %198 = icmp sgt i32 %197, 2 br label %199 199: ; preds = %196, %193 %200 = phi i1 [ true, %193 ], [ %198, %196 ] br i1 %200, label %201, label %210 201: ; preds = %199 %202 = load i32, ptr @PROMPT, align 4 %203 = icmp ne i32 %202, 0 br i1 %203, label %204, label %208 204: ; preds = %201 %205 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %206 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) %207 = call i32 (ptr, ...) @printf(ptr noundef @.str.21) br label %208 208: ; preds = %204, %201 %209 = call i32 (...) @input_int() store i32 %209, ptr %33, align 4 br label %193, !llvm.loop !11 210: ; preds = %199 %211 = load i32, ptr %33, align 4 %212 = icmp eq i32 %211, 1 br i1 %212, label %213, label %260 213: ; preds = %210 %214 = load i32, ptr @MATCH_TYPE, align 4 %215 = icmp eq i32 %214, 5 br i1 %215, label %216, label %242 216: ; preds = %213 %217 = load ptr, ptr %18, align 8 %218 = load ptr, ptr %217, align 8 %219 = icmp eq ptr %218, null br i1 %219, label %.lr.ph8, label %241 .lr.ph8: ; preds = %216 br label %220 220: ; preds = %.lr.ph8, %237 %221 = load i32, ptr @PROMPT, align 4 %222 = icmp ne i32 %221, 0 br i1 %222, label %223, label %225 223: ; preds = %220 %224 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) br label %225 225: ; preds = %223, %220 %226 = load ptr, ptr %21, align 8 %227 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %226) %228 = load ptr, ptr %21, align 8 %229 = call ptr @fopen(ptr noundef %228, ptr noundef @.str.3) %230 = load ptr, ptr %18, align 8 store ptr %229, ptr %230, align 8 %231 = load ptr, ptr %18, align 8 %232 = load ptr, ptr %231, align 8 %233 = icmp eq ptr %232, null br i1 %233, label %234, label %237 234: ; preds = %225 %235 = load ptr, ptr %21, align 8 %236 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef %235) br label %237 237: ; preds = %234, %225 %238 = load ptr, ptr %18, align 8 %239 = load ptr, ptr %238, align 8 %240 = icmp eq ptr %239, null br i1 %240, label %220, label %._crit_edge9, !llvm.loop !12 ._crit_edge9: ; preds = %237 br label %241 241: ; preds = %._crit_edge9, %216 br label %242 242: ; preds = %241, %213 %243 = load ptr, ptr %30, align 8 store i32 1, ptr %243, align 4 %244 = load ptr, ptr %31, align 8 store i32 0, ptr %244, align 4 %245 = load ptr, ptr %31, align 8 %246 = load i32, ptr %245, align 4 %247 = icmp sle i32 %246, 0 br i1 %247, label %.lr.ph11, label %259 .lr.ph11: ; preds = %242 br label %248 248: ; preds = %.lr.ph11, %253 %249 = load i32, ptr @PROMPT, align 4 %250 = icmp ne i32 %249, 0 br i1 %250, label %251, label %253 251: ; preds = %248 %252 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) br label %253 253: ; preds = %251, %248 %254 = call i32 (...) @input_int() %255 = load ptr, ptr %31, align 8 store i32 %254, ptr %255, align 4 %256 = load ptr, ptr %31, align 8 %257 = load i32, ptr %256, align 4 %258 = icmp sle i32 %257, 0 br i1 %258, label %248, label %._crit_edge12, !llvm.loop !13 ._crit_edge12: ; preds = %253 br label %259 259: ; preds = %._crit_edge12, %242 br label %260 260: ; preds = %259, %210 br label %312 261: ; preds = %188 %262 = load ptr, ptr %28, align 8 %263 = load i32, ptr %262, align 4 %264 = icmp eq i32 %263, 1 br i1 %264, label %265, label %311 265: ; preds = %261 %266 = load i32, ptr @MATCH_TYPE, align 4 %267 = icmp eq i32 %266, 5 br i1 %267, label %268, label %294 268: ; preds = %265 %269 = load ptr, ptr %18, align 8 %270 = load ptr, ptr %269, align 8 %271 = icmp eq ptr %270, null br i1 %271, label %.lr.ph2, label %293 .lr.ph2: ; preds = %268 br label %272 272: ; preds = %.lr.ph2, %289 %273 = load i32, ptr @PROMPT, align 4 %274 = icmp ne i32 %273, 0 br i1 %274, label %275, label %277 275: ; preds = %272 %276 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) br label %277 277: ; preds = %275, %272 %278 = load ptr, ptr %21, align 8 %279 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %278) %280 = load ptr, ptr %21, align 8 %281 = call ptr @fopen(ptr noundef %280, ptr noundef @.str.3) %282 = load ptr, ptr %18, align 8 store ptr %281, ptr %282, align 8 %283 = load ptr, ptr %18, align 8 %284 = load ptr, ptr %283, align 8 %285 = icmp eq ptr %284, null br i1 %285, label %286, label %289 286: ; preds = %277 %287 = load ptr, ptr %21, align 8 %288 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef %287) br label %289 289: ; preds = %286, %277 %290 = load ptr, ptr %18, align 8 %291 = load ptr, ptr %290, align 8 %292 = icmp eq ptr %291, null br i1 %292, label %272, label %._crit_edge3, !llvm.loop !14 ._crit_edge3: ; preds = %289 br label %293 293: ; preds = %._crit_edge3, %268 br label %294 294: ; preds = %293, %265 %295 = load ptr, ptr %31, align 8 store i32 0, ptr %295, align 4 %296 = load ptr, ptr %31, align 8 %297 = load i32, ptr %296, align 4 %298 = icmp sle i32 %297, 1 br i1 %298, label %.lr.ph5, label %310 .lr.ph5: ; preds = %294 br label %299 299: ; preds = %.lr.ph5, %304 %300 = load i32, ptr @PROMPT, align 4 %301 = icmp ne i32 %300, 0 br i1 %301, label %302, label %304 302: ; preds = %299 %303 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) br label %304 304: ; preds = %302, %299 %305 = call i32 (...) @input_int() %306 = load ptr, ptr %31, align 8 store i32 %305, ptr %306, align 4 %307 = load ptr, ptr %31, align 8 %308 = load i32, ptr %307, align 4 %309 = icmp sle i32 %308, 1 br i1 %309, label %299, label %._crit_edge6, !llvm.loop !15 ._crit_edge6: ; preds = %304 br label %310 310: ; preds = %._crit_edge6, %294 br label %311 311: ; preds = %310, %261 br label %312 312: ; preds = %311, %260 br label %313 313: ; preds = %312, %187 br label %314 314: ; preds = %313, %157 %315 = load i32, ptr @SEQUENCE, align 4 %316 = icmp ne i32 %315, 0 br i1 %316, label %317, label %338 317: ; preds = %314 %318 = load ptr, ptr %29, align 8 store i32 2, ptr %318, align 4 %319 = load ptr, ptr %25, align 8 %320 = load i32, ptr %319, align 4 %321 = icmp eq i32 %320, 0 br i1 %321, label %322, label %324 322: ; preds = %317 %323 = load ptr, ptr %26, align 8 store i32 1, ptr %323, align 4 br label %336 324: ; preds = %317 %325 = load ptr, ptr %25, align 8 %326 = load i32, ptr %325, align 4 %327 = icmp sgt i32 %326, 0 br i1 %327, label %328, label %335 328: ; preds = %324 %329 = load ptr, ptr %27, align 8 %330 = getelementptr inbounds i32, ptr %329, i64 0 store i32 2, ptr %330, align 4 %331 = load ptr, ptr %27, align 8 %332 = getelementptr inbounds i32, ptr %331, i64 2 store i32 1, ptr %332, align 4 %333 = load ptr, ptr %27, align 8 %334 = getelementptr inbounds i32, ptr %333, i64 1 store i32 1, ptr %334, align 4 br label %335 335: ; preds = %328, %324 br label %336 336: ; preds = %335, %322 %337 = load ptr, ptr %32, align 8 store i32 1, ptr %337, align 4 br label %523 338: ; preds = %314 %339 = load ptr, ptr %29, align 8 store i32 0, ptr %339, align 4 %340 = load ptr, ptr %28, align 8 %341 = load i32, ptr %340, align 4 %342 = icmp eq i32 %341, 1 br i1 %342, label %343, label %345 343: ; preds = %338 %344 = load ptr, ptr %29, align 8 store i32 1, ptr %344, align 4 br label %367 345: ; preds = %338 br label %346 346: ; preds = %363, %345 %347 = load ptr, ptr %29, align 8 %348 = load i32, ptr %347, align 4 %349 = icmp slt i32 %348, 1 br i1 %349, label %354, label %350 350: ; preds = %346 %351 = load ptr, ptr %29, align 8 %352 = load i32, ptr %351, align 4 %353 = icmp sgt i32 %352, 2 br label %354 354: ; preds = %350, %346 %355 = phi i1 [ true, %346 ], [ %353, %350 ] br i1 %355, label %356, label %366 356: ; preds = %354 %357 = load i32, ptr @PROMPT, align 4 %358 = icmp ne i32 %357, 0 br i1 %358, label %359, label %363 359: ; preds = %356 %360 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %361 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) %362 = call i32 (ptr, ...) @printf(ptr noundef @.str.25) br label %363 363: ; preds = %359, %356 %364 = call i32 (...) @input_int() %365 = load ptr, ptr %29, align 8 store i32 %364, ptr %365, align 4 br label %346, !llvm.loop !16 366: ; preds = %354 br label %367 367: ; preds = %366, %343 %368 = load ptr, ptr %25, align 8 %369 = load i32, ptr %368, align 4 %370 = icmp eq i32 %369, 0 br i1 %370, label %371, label %397 371: ; preds = %367 %372 = load ptr, ptr %26, align 8 store i32 0, ptr %372, align 4 %373 = load ptr, ptr %26, align 8 %374 = load i32, ptr %373, align 4 %375 = icmp slt i32 %374, 1 br i1 %375, label %.lr.ph20, label %393 .lr.ph20: ; preds = %371 br label %376 376: ; preds = %.lr.ph20, %389 %377 = load i32, ptr @PROMPT, align 4 %378 = icmp ne i32 %377, 0 br i1 %378, label %379, label %381 379: ; preds = %376 %380 = call i32 (ptr, ...) @printf(ptr noundef @.str.26) br label %381 381: ; preds = %379, %376 %382 = call i32 (...) @input_int() %383 = load ptr, ptr %26, align 8 store i32 %382, ptr %383, align 4 %384 = load ptr, ptr %26, align 8 %385 = load i32, ptr %384, align 4 %386 = icmp slt i32 %385, 1 br i1 %386, label %387, label %389 387: ; preds = %381 %388 = call i32 (ptr, ...) @printf(ptr noundef @.str.27) br label %389 389: ; preds = %387, %381 %390 = load ptr, ptr %26, align 8 %391 = load i32, ptr %390, align 4 %392 = icmp slt i32 %391, 1 br i1 %392, label %376, label %._crit_edge21, !llvm.loop !17 ._crit_edge21: ; preds = %389 br label %393 393: ; preds = %._crit_edge21, %371 %394 = load ptr, ptr %26, align 8 %395 = load i32, ptr %394, align 4 %396 = shl i32 1, %395 store i32 %396, ptr %34, align 4 br label %459 397: ; preds = %367 %398 = load ptr, ptr %27, align 8 %399 = getelementptr inbounds i32, ptr %398, i64 2 store i32 1, ptr %399, align 4 %400 = load ptr, ptr %27, align 8 %401 = getelementptr inbounds i32, ptr %400, i64 1 store i32 1, ptr %401, align 4 %402 = load ptr, ptr %25, align 8 %403 = load i32, ptr %402, align 4 %404 = icmp eq i32 %403, 2 br i1 %404, label %405, label %417 405: ; preds = %397 %406 = load i32, ptr @PROMPT, align 4 %407 = icmp ne i32 %406, 0 br i1 %407, label %408, label %410 408: ; preds = %405 %409 = call i32 (ptr, ...) @printf(ptr noundef @.str.28) br label %410 410: ; preds = %408, %405 %411 = call i32 (...) @input_int() %412 = load ptr, ptr %27, align 8 %413 = getelementptr inbounds i32, ptr %412, i64 0 store i32 %411, ptr %413, align 4 %414 = call i32 (...) @input_int() %415 = load ptr, ptr %27, align 8 %416 = getelementptr inbounds i32, ptr %415, i64 1 store i32 %414, ptr %416, align 4 br label %447 417: ; preds = %397 %418 = load ptr, ptr %25, align 8 %419 = load i32, ptr %418, align 4 %420 = icmp eq i32 %419, 3 br i1 %420, label %421, label %436 421: ; preds = %417 %422 = load i32, ptr @PROMPT, align 4 %423 = icmp ne i32 %422, 0 br i1 %423, label %424, label %426 424: ; preds = %421 %425 = call i32 (ptr, ...) @printf(ptr noundef @.str.29) br label %426 426: ; preds = %424, %421 %427 = call i32 (...) @input_int() %428 = load ptr, ptr %27, align 8 %429 = getelementptr inbounds i32, ptr %428, i64 0 store i32 %427, ptr %429, align 4 %430 = call i32 (...) @input_int() %431 = load ptr, ptr %27, align 8 %432 = getelementptr inbounds i32, ptr %431, i64 1 store i32 %430, ptr %432, align 4 %433 = call i32 (...) @input_int() %434 = load ptr, ptr %27, align 8 %435 = getelementptr inbounds i32, ptr %434, i64 2 store i32 %433, ptr %435, align 4 br label %446 436: ; preds = %417 %437 = load i32, ptr @PROMPT, align 4 %438 = icmp ne i32 %437, 0 br i1 %438, label %439, label %441 439: ; preds = %436 %440 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) br label %441 441: ; preds = %439, %436 %442 = call i32 (...) @input_int() %443 = load ptr, ptr %27, align 8 %444 = getelementptr inbounds i32, ptr %443, i64 0 store i32 %442, ptr %444, align 4 %445 = load ptr, ptr %25, align 8 store i32 1, ptr %445, align 4 br label %446 446: ; preds = %441, %426 br label %447 447: ; preds = %446, %410 %448 = load ptr, ptr %27, align 8 %449 = getelementptr inbounds i32, ptr %448, i64 0 %450 = load i32, ptr %449, align 4 %451 = load ptr, ptr %27, align 8 %452 = getelementptr inbounds i32, ptr %451, i64 1 %453 = load i32, ptr %452, align 4 %454 = mul nsw i32 %450, %453 %455 = load ptr, ptr %27, align 8 %456 = getelementptr inbounds i32, ptr %455, i64 2 %457 = load i32, ptr %456, align 4 %458 = mul nsw i32 %454, %457 store i32 %458, ptr %34, align 4 br label %459 459: ; preds = %447, %393 %460 = load ptr, ptr %32, align 8 store i32 0, ptr %460, align 4 %461 = load i32, ptr %34, align 4 %462 = icmp sle i32 %461, 3 br i1 %462, label %463, label %465 463: ; preds = %459 %464 = load ptr, ptr %32, align 8 store i32 1, ptr %464, align 4 br label %522 465: ; preds = %459 %466 = load i32, ptr %34, align 4 %467 = icmp sle i32 %466, 7 br i1 %467, label %468, label %494 468: ; preds = %465 %469 = load i32, ptr @PROMPT, align 4 %470 = icmp ne i32 %469, 0 br i1 %470, label %471, label %473 471: ; preds = %468 %472 = call i32 (ptr, ...) @printf(ptr noundef @.str.31) br label %473 473: ; preds = %471, %468 br label %474 474: ; preds = %490, %473 %475 = load ptr, ptr %32, align 8 %476 = load i32, ptr %475, align 4 %477 = icmp slt i32 %476, 1 br i1 %477, label %482, label %478 478: ; preds = %474 %479 = load ptr, ptr %32, align 8 %480 = load i32, ptr %479, align 4 %481 = icmp sgt i32 %480, 2 br label %482 482: ; preds = %478, %474 %483 = phi i1 [ true, %474 ], [ %481, %478 ] br i1 %483, label %484, label %493 484: ; preds = %482 %485 = load i32, ptr @PROMPT, align 4 %486 = icmp ne i32 %485, 0 br i1 %486, label %487, label %490 487: ; preds = %484 %488 = call i32 (ptr, ...) @printf(ptr noundef @.str.32) %489 = call i32 (ptr, ...) @printf(ptr noundef @.str.33) br label %490 490: ; preds = %487, %484 %491 = call i32 (...) @input_int() %492 = load ptr, ptr %32, align 8 store i32 %491, ptr %492, align 4 br label %474, !llvm.loop !18 493: ; preds = %482 br label %521 494: ; preds = %465 %495 = load i32, ptr @PROMPT, align 4 %496 = icmp ne i32 %495, 0 br i1 %496, label %497, label %499 497: ; preds = %494 %498 = call i32 (ptr, ...) @printf(ptr noundef @.str.31) br label %499 499: ; preds = %497, %494 br label %500 500: ; preds = %517, %499 %501 = load ptr, ptr %32, align 8 %502 = load i32, ptr %501, align 4 %503 = icmp slt i32 %502, 1 br i1 %503, label %508, label %504 504: ; preds = %500 %505 = load ptr, ptr %32, align 8 %506 = load i32, ptr %505, align 4 %507 = icmp sgt i32 %506, 3 br label %508 508: ; preds = %504, %500 %509 = phi i1 [ true, %500 ], [ %507, %504 ] br i1 %509, label %510, label %520 510: ; preds = %508 %511 = load i32, ptr @PROMPT, align 4 %512 = icmp ne i32 %511, 0 br i1 %512, label %513, label %517 513: ; preds = %510 %514 = call i32 (ptr, ...) @printf(ptr noundef @.str.32) %515 = call i32 (ptr, ...) @printf(ptr noundef @.str.33) %516 = call i32 (ptr, ...) @printf(ptr noundef @.str.34) br label %517 517: ; preds = %513, %510 %518 = call i32 (...) @input_int() %519 = load ptr, ptr %32, align 8 store i32 %518, ptr %519, align 4 br label %500, !llvm.loop !19 520: ; preds = %508 br label %521 521: ; preds = %520, %493 br label %522 522: ; preds = %521, %463 br label %523 523: ; preds = %522, %336 %524 = load ptr, ptr %28, align 8 %525 = load i32, ptr %524, align 4 %526 = icmp eq i32 %525, 1 br i1 %526, label %531, label %527 527: ; preds = %523 %528 = load ptr, ptr %30, align 8 %529 = load i32, ptr %528, align 4 %530 = icmp ne i32 %529, 0 br i1 %530, label %531, label %546 531: ; preds = %527, %523 %532 = load ptr, ptr %31, align 8 %533 = load i32, ptr %532, align 4 %534 = load ptr, ptr %32, align 8 %535 = load i32, ptr %534, align 4 %536 = shl i32 1, %535 %537 = mul nsw i32 2, %536 %538 = icmp slt i32 %533, %537 br i1 %538, label %539, label %545 539: ; preds = %531 %540 = load ptr, ptr %32, align 8 %541 = load i32, ptr %540, align 4 %542 = shl i32 1, %541 %543 = mul nsw i32 2, %542 %544 = load ptr, ptr %31, align 8 store i32 %543, ptr %544, align 4 br label %545 545: ; preds = %539, %531 br label %546 546: ; preds = %545, %527 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @input_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !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/tmpvs_sa94d.c' source_filename = "/tmp/tmpvs_sa94d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PiToParam(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %5, align 8 %9 = icmp ne ptr null, %8 %10 = zext i1 %9 to i32 %11 = call i32 @assert(i32 noundef %10) %12 = load ptr, ptr %4, align 8 %13 = icmp ne ptr null, %12 %14 = zext i1 %13 to i32 %15 = call i32 @assert(i32 noundef %14) %16 = load i32, ptr %6, align 4 %17 = icmp sgt i32 %16, 0 %18 = zext i1 %17 to i32 %19 = call i32 @assert(i32 noundef %18) store i32 1, ptr %7, align 4 br label %20 20: ; preds = %39, %3 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %6, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %42 24: ; preds = %20 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %7, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds double, ptr %25, i64 %27 %29 = load double, ptr %28, align 8 %30 = load ptr, ptr %4, align 8 %31 = getelementptr inbounds double, ptr %30, i64 0 %32 = load double, ptr %31, align 8 %33 = fdiv double %29, %32 %34 = load ptr, ptr %5, align 8 %35 = load i32, ptr %7, align 4 %36 = sub nsw i32 %35, 1 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds double, ptr %34, i64 %37 store double %33, ptr %38, align 8 br label %39 39: ; preds = %24 %40 = load i32, ptr %7, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %7, align 4 br label %20, !llvm.loop !6 42: ; preds = %20 ret void } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvs_sa94d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PiToParam(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %5, align 8 %9 = icmp ne ptr null, %8 %10 = zext i1 %9 to i32 %11 = call i32 @assert(i32 noundef %10) %12 = load ptr, ptr %4, align 8 %13 = icmp ne ptr null, %12 %14 = zext i1 %13 to i32 %15 = call i32 @assert(i32 noundef %14) %16 = load i32, ptr %6, align 4 %17 = icmp sgt i32 %16, 0 %18 = zext i1 %17 to i32 %19 = call i32 @assert(i32 noundef %18) store i32 1, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %6, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph, label %44 .lr.ph: ; preds = %3 br label %23 23: ; preds = %.lr.ph, %38 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %7, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds double, ptr %24, i64 %26 %28 = load double, ptr %27, align 8 %29 = load ptr, ptr %4, align 8 %30 = getelementptr inbounds double, ptr %29, i64 0 %31 = load double, ptr %30, align 8 %32 = fdiv double %28, %31 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %7, align 4 %35 = sub nsw i32 %34, 1 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds double, ptr %33, i64 %36 store double %32, ptr %37, align 8 br label %38 38: ; preds = %23 %39 = load i32, ptr %7, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %7, align 4 %41 = load i32, ptr %7, align 4 %42 = load i32, ptr %6, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %44 44: ; preds = %._crit_edge, %3 ret void } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpay9szxx9.c' source_filename = "/tmp/tmpay9szxx9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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: \00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Sum of evens: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"Sum of odds: %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 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %21, %0 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = load i32, ptr @stdout, align 4 %8 = call i32 @fflush(i32 noundef %7) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %10 = load i32, ptr %2, align 4 %11 = srem i32 %10, 2 switch i32 %11, label %16 [ i32 0, label %12 ] 12: ; preds = %5 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, %13 store i32 %15, ptr %3, align 4 br label %20 16: ; preds = %5 %17 = load i32, ptr %2, align 4 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, %17 store i32 %19, ptr %4, align 4 br label %20 20: ; preds = %16, %12 br label %21 21: ; preds = %20 %22 = load i32, ptr %2, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %5, label %24, !llvm.loop !6 24: ; preds = %21 %25 = load i32, ptr %3, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %25) %27 = load i32, ptr %4, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %27) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fflush(i32 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/tmpay9szxx9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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: \00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Sum of evens: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"Sum of odds: %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 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %21, %0 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = load i32, ptr @stdout, align 4 %8 = call i32 @fflush(i32 noundef %7) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %10 = load i32, ptr %2, align 4 %11 = srem i32 %10, 2 switch i32 %11, label %16 [ i32 0, label %12 ] 12: ; preds = %5 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, %13 store i32 %15, ptr %3, align 4 br label %20 16: ; preds = %5 %17 = load i32, ptr %2, align 4 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, %17 store i32 %19, ptr %4, align 4 br label %20 20: ; preds = %16, %12 br label %21 21: ; preds = %20 %22 = load i32, ptr %2, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %5, label %24, !llvm.loop !6 24: ; preds = %21 %25 = load i32, ptr %3, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %25) %27 = load i32, ptr %4, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %27) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fflush(i32 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/tmpvamyr6wv.c' source_filename = "/tmp/tmpvamyr6wv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clGetEventInfo(i64 noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca [5 x i32], align 16 store i64 %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %12 = load i64, ptr %6, align 8 %13 = trunc i64 %12 to i32 %14 = getelementptr inbounds [5 x i32], ptr %11, i64 0, i64 0 store i32 %13, ptr %14, align 16 %15 = load i64, ptr %7, align 8 %16 = trunc i64 %15 to i32 %17 = getelementptr inbounds [5 x i32], ptr %11, i64 0, i64 1 store i32 %16, ptr %17, align 4 %18 = load i64, ptr %8, align 8 %19 = trunc i64 %18 to i32 %20 = getelementptr inbounds [5 x i32], ptr %11, i64 0, i64 2 store i32 %19, ptr %20, align 8 %21 = load ptr, ptr %9, align 8 %22 = ptrtoint ptr %21 to i32 %23 = getelementptr inbounds [5 x i32], ptr %11, i64 0, i64 3 store i32 %22, ptr %23, align 4 %24 = load ptr, ptr %10, align 8 %25 = ptrtoint ptr %24 to i32 %26 = getelementptr inbounds [5 x i32], ptr %11, i64 0, i64 4 store i32 %25, ptr %26, align 16 %27 = getelementptr inbounds [5 x i32], ptr %11, i64 0, i64 0 %28 = call i32 @syscall(i32 noundef 325, i32 noundef 1044, ptr noundef %27) ret i32 %28 } declare i32 @syscall(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/tmpvamyr6wv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clGetEventInfo(i64 noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca [5 x i32], align 16 store i64 %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %12 = load i64, ptr %6, align 8 %13 = trunc i64 %12 to i32 %14 = getelementptr inbounds [5 x i32], ptr %11, i64 0, i64 0 store i32 %13, ptr %14, align 16 %15 = load i64, ptr %7, align 8 %16 = trunc i64 %15 to i32 %17 = getelementptr inbounds [5 x i32], ptr %11, i64 0, i64 1 store i32 %16, ptr %17, align 4 %18 = load i64, ptr %8, align 8 %19 = trunc i64 %18 to i32 %20 = getelementptr inbounds [5 x i32], ptr %11, i64 0, i64 2 store i32 %19, ptr %20, align 8 %21 = load ptr, ptr %9, align 8 %22 = ptrtoint ptr %21 to i32 %23 = getelementptr inbounds [5 x i32], ptr %11, i64 0, i64 3 store i32 %22, ptr %23, align 4 %24 = load ptr, ptr %10, align 8 %25 = ptrtoint ptr %24 to i32 %26 = getelementptr inbounds [5 x i32], ptr %11, i64 0, i64 4 store i32 %25, ptr %26, align 16 %27 = getelementptr inbounds [5 x i32], ptr %11, i64 0, i64 0 %28 = call i32 @syscall(i32 noundef 325, i32 noundef 1044, ptr noundef %27) ret i32 %28 } declare i32 @syscall(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/tmpjf4p_zzj.c' source_filename = "/tmp/tmpjf4p_zzj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.string = private unnamed_addr constant [14 x i8] c"Hello, world!\00", align 1 @.str = private unnamed_addr constant [4 x i8] c"Ok\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"Piped\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 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 [2 x i32], align 4 %3 = alloca i64, align 8 %4 = alloca [14 x i8], align 1 %5 = alloca [50 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.string, i64 14, i1 false) store i32 14, ptr %6, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %10 = call i64 @pipe(ptr noundef %9) %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %32 12: ; preds = %0 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %14 = call i32 (...) @fork() store i32 %14, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %17, label %23 17: ; preds = %12 %18 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %19 = load i32, ptr %18, align 4 %20 = getelementptr inbounds [14 x i8], ptr %4, i64 0, i64 0 %21 = load i32, ptr %6, align 4 %22 = call i64 @write(i32 noundef %19, ptr noundef %20, i32 noundef %21) store i64 %22, ptr %3, align 8 br label %31 23: ; preds = %12 %24 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %25 = load i32, ptr %24, align 4 %26 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %27 = load i32, ptr %6, align 4 %28 = call i64 @read(i32 noundef %25, ptr noundef %26, i32 noundef %27) store i64 %28, ptr %3, align 8 %29 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %29) br label %31 31: ; preds = %23, %17 br label %32 32: ; preds = %31, %0 %33 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %34 = load i32, ptr %33, align 4 %35 = call i32 @close(i32 noundef %34) %36 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %37 = load i32, ptr %36, align 4 %38 = call i32 @close(i32 noundef %37) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare i64 @pipe(ptr noundef) #2 declare i32 @fork(...) #2 declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #2 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @close(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjf4p_zzj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.string = private unnamed_addr constant [14 x i8] c"Hello, world!\00", align 1 @.str = private unnamed_addr constant [4 x i8] c"Ok\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"Piped\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 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 [2 x i32], align 4 %3 = alloca i64, align 8 %4 = alloca [14 x i8], align 1 %5 = alloca [50 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.string, i64 14, i1 false) store i32 14, ptr %6, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %10 = call i64 @pipe(ptr noundef %9) %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %32 12: ; preds = %0 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %14 = call i32 (...) @fork() store i32 %14, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %17, label %23 17: ; preds = %12 %18 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %19 = load i32, ptr %18, align 4 %20 = getelementptr inbounds [14 x i8], ptr %4, i64 0, i64 0 %21 = load i32, ptr %6, align 4 %22 = call i64 @write(i32 noundef %19, ptr noundef %20, i32 noundef %21) store i64 %22, ptr %3, align 8 br label %31 23: ; preds = %12 %24 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %25 = load i32, ptr %24, align 4 %26 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %27 = load i32, ptr %6, align 4 %28 = call i64 @read(i32 noundef %25, ptr noundef %26, i32 noundef %27) store i64 %28, ptr %3, align 8 %29 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %29) br label %31 31: ; preds = %23, %17 br label %32 32: ; preds = %31, %0 %33 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %34 = load i32, ptr %33, align 4 %35 = call i32 @close(i32 noundef %34) %36 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %37 = load i32, ptr %36, align 4 %38 = call i32 @close(i32 noundef %37) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare i64 @pipe(ptr noundef) #2 declare i32 @fork(...) #2 declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #2 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @close(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp51iaejpy.c' source_filename = "/tmp/tmp51iaejpy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @rand_pixel(i32 noundef %0, i32 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 %1, ptr %4, align 4 %6 = call ptr @malloc(i32 noundef 8) store ptr %6, ptr %5, align 8 %7 = load i32, ptr %3, align 4 %8 = sitofp i32 %7 to double %9 = call double (...) @rand() %10 = load double, ptr @RAND_MAX, align 8 %11 = fadd double %10, 1.000000e+00 %12 = fdiv double %9, %11 %13 = fmul double %8, %12 %14 = fptosi double %13 to i32 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds i32, ptr %15, i64 0 store i32 %14, ptr %16, align 4 %17 = load i32, ptr %4, align 4 %18 = sitofp i32 %17 to double %19 = call double (...) @rand() %20 = load double, ptr @RAND_MAX, align 8 %21 = fadd double %20, 1.000000e+00 %22 = fdiv double %19, %21 %23 = fmul double %18, %22 %24 = fptosi double %23 to i32 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds i32, ptr %25, i64 1 store i32 %24, ptr %26, align 4 %27 = load ptr, ptr %5, align 8 ret ptr %27 } declare ptr @malloc(i32 noundef) #1 declare double @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/tmp51iaejpy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @rand_pixel(i32 noundef %0, i32 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 %1, ptr %4, align 4 %6 = call ptr @malloc(i32 noundef 8) store ptr %6, ptr %5, align 8 %7 = load i32, ptr %3, align 4 %8 = sitofp i32 %7 to double %9 = call double (...) @rand() %10 = load double, ptr @RAND_MAX, align 8 %11 = fadd double %10, 1.000000e+00 %12 = fdiv double %9, %11 %13 = fmul double %8, %12 %14 = fptosi double %13 to i32 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds i32, ptr %15, i64 0 store i32 %14, ptr %16, align 4 %17 = load i32, ptr %4, align 4 %18 = sitofp i32 %17 to double %19 = call double (...) @rand() %20 = load double, ptr @RAND_MAX, align 8 %21 = fadd double %20, 1.000000e+00 %22 = fdiv double %19, %21 %23 = fmul double %18, %22 %24 = fptosi double %23 to i32 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds i32, ptr %25, i64 1 store i32 %24, ptr %26, align 4 %27 = load ptr, ptr %5, align 8 ret ptr %27 } declare ptr @malloc(i32 noundef) #1 declare double @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/tmpe7xprlvx.c' source_filename = "/tmp/tmpe7xprlvx.c" target datalayout = "e-m:e-p270: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/tmpe7xprlvx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp_0em73n.c' source_filename = "/tmp/tmpp_0em73n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @celcon_set_type_of_mixture(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 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %6, align 8 %9 = call i32 @_ada_use_c2phc4c(i32 noundef 91, ptr noundef %3, ptr noundef %7, ptr noundef %8, i32 noundef 0) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 ret i32 %10 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp_0em73n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @celcon_set_type_of_mixture(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 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %6, align 8 %9 = call i32 @_ada_use_c2phc4c(i32 noundef 91, ptr noundef %3, ptr noundef %7, ptr noundef %8, i32 noundef 0) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 ret i32 %10 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpycxxoyre.c' source_filename = "/tmp/tmpycxxoyre.c" target datalayout = "e-m:e-p270: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/tmpycxxoyre.c" target datalayout = "e-m:e-p270: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/tmpztpcf3md.c' source_filename = "/tmp/tmpztpcf3md.c" target datalayout = "e-m:e-p270: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/tmpztpcf3md.c" target datalayout = "e-m:e-p270: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/tmpm5ne2f77.c' source_filename = "/tmp/tmpm5ne2f77.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"#include \22raid6.h\22\0A\00", align 1 @.str.1 = private unnamed_addr constant [68 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfmul[256][256] =\0A{\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"\09{\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"\09\09\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"0x%02x,%c\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"\09},\0A\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"};\0A\00", align 1 @.str.7 = private unnamed_addr constant [62 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexp[256] =\0A{\0A\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"\09\00", align 1 @.str.9 = private unnamed_addr constant [62 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfinv[256] =\0A{\0A\00", align 1 @.str.10 = private unnamed_addr constant [62 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexi[256] =\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 i32, align 4 %10 = alloca [256 x i32], align 16 %11 = alloca [256 x i32], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %6, align 4 br label %14 14: ; preds = %47, %2 %15 = load i32, ptr %6, align 4 %16 = icmp slt i32 %15, 256 br i1 %16, label %17, label %50 17: ; preds = %14 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %7, align 4 br label %19 19: ; preds = %42, %17 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %20, 256 br i1 %21, label %22, label %45 22: ; preds = %19 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %8, align 4 br label %24 24: ; preds = %38, %22 %25 = load i32, ptr %8, align 4 %26 = icmp slt i32 %25, 8 br i1 %26, label %27, label %41 27: ; preds = %24 %28 = load i32, ptr %6, align 4 %29 = load i32, ptr %7, align 4 %30 = load i32, ptr %8, align 4 %31 = add nsw i32 %29, %30 %32 = call i32 @gfmul(i32 noundef %28, i32 noundef %31) %33 = load i32, ptr %8, align 4 %34 = icmp eq i32 %33, 7 %35 = zext i1 %34 to i64 %36 = select i1 %34, i32 10, i32 32 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %32, i32 noundef %36) br label %38 38: ; preds = %27 %39 = load i32, ptr %8, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %8, align 4 br label %24, !llvm.loop !6 41: ; preds = %24 br label %42 42: ; preds = %41 %43 = load i32, ptr %7, align 4 %44 = add nsw i32 %43, 8 store i32 %44, ptr %7, align 4 br label %19, !llvm.loop !8 45: ; preds = %19 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %47 47: ; preds = %45 %48 = load i32, ptr %6, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %6, align 4 br label %14, !llvm.loop !9 50: ; preds = %14 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 1, ptr %9, align 4 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 0, ptr %6, align 4 br label %53 53: ; preds = %84, %50 %54 = load i32, ptr %6, align 4 %55 = icmp slt i32 %54, 256 br i1 %55, label %56, label %87 56: ; preds = %53 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) store i32 0, ptr %7, align 4 br label %58 58: ; preds = %80, %56 %59 = load i32, ptr %7, align 4 %60 = icmp slt i32 %59, 8 br i1 %60, label %61, label %83 61: ; preds = %58 %62 = load i32, ptr %9, align 4 %63 = load i32, ptr %6, align 4 %64 = load i32, ptr %7, align 4 %65 = add nsw i32 %63, %64 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [256 x i32], ptr %10, i64 0, i64 %66 store i32 %62, ptr %67, align 4 %68 = load i32, ptr %9, align 4 %69 = load i32, ptr %7, align 4 %70 = icmp eq i32 %69, 7 %71 = zext i1 %70 to i64 %72 = select i1 %70, i32 10, i32 32 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %68, i32 noundef %72) %74 = load i32, ptr %9, align 4 %75 = call i32 @gfmul(i32 noundef %74, i32 noundef 2) store i32 %75, ptr %9, align 4 %76 = load i32, ptr %9, align 4 %77 = icmp eq i32 %76, 1 br i1 %77, label %78, label %79 78: ; preds = %61 store i32 0, ptr %9, align 4 br label %79 79: ; preds = %78, %61 br label %80 80: ; preds = %79 %81 = load i32, ptr %7, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %7, align 4 br label %58, !llvm.loop !10 83: ; preds = %58 br label %84 84: ; preds = %83 %85 = load i32, ptr %6, align 4 %86 = add nsw i32 %85, 8 store i32 %86, ptr %6, align 4 br label %53, !llvm.loop !11 87: ; preds = %53 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) store i32 0, ptr %6, align 4 br label %90 90: ; preds = %118, %87 %91 = load i32, ptr %6, align 4 %92 = icmp slt i32 %91, 256 br i1 %92, label %93, label %121 93: ; preds = %90 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) store i32 0, ptr %7, align 4 br label %95 95: ; preds = %114, %93 %96 = load i32, ptr %7, align 4 %97 = icmp slt i32 %96, 8 br i1 %97, label %98, label %117 98: ; preds = %95 %99 = load i32, ptr %6, align 4 %100 = load i32, ptr %7, align 4 %101 = add nsw i32 %99, %100 %102 = call i32 @gfpow(i32 noundef %101, i32 noundef 254) store i32 %102, ptr %9, align 4 %103 = load i32, ptr %6, align 4 %104 = load i32, ptr %7, align 4 %105 = add nsw i32 %103, %104 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds [256 x i32], ptr %11, i64 0, i64 %106 store i32 %102, ptr %107, align 4 %108 = load i32, ptr %9, align 4 %109 = load i32, ptr %7, align 4 %110 = icmp eq i32 %109, 7 %111 = zext i1 %110 to i64 %112 = select i1 %110, i32 10, i32 32 %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %108, i32 noundef %112) br label %114 114: ; preds = %98 %115 = load i32, ptr %7, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %7, align 4 br label %95, !llvm.loop !12 117: ; preds = %95 br label %118 118: ; preds = %117 %119 = load i32, ptr %6, align 4 %120 = add nsw i32 %119, 8 store i32 %120, ptr %6, align 4 br label %90, !llvm.loop !13 121: ; preds = %90 %122 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) store i32 0, ptr %6, align 4 br label %124 124: ; preds = %152, %121 %125 = load i32, ptr %6, align 4 %126 = icmp slt i32 %125, 256 br i1 %126, label %127, label %155 127: ; preds = %124 %128 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) store i32 0, ptr %7, align 4 br label %129 129: ; preds = %148, %127 %130 = load i32, ptr %7, align 4 %131 = icmp slt i32 %130, 8 br i1 %131, label %132, label %151 132: ; preds = %129 %133 = load i32, ptr %6, align 4 %134 = load i32, ptr %7, align 4 %135 = add nsw i32 %133, %134 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds [256 x i32], ptr %10, i64 0, i64 %136 %138 = load i32, ptr %137, align 4 %139 = xor i32 %138, 1 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds [256 x i32], ptr %11, i64 0, i64 %140 %142 = load i32, ptr %141, align 4 %143 = load i32, ptr %7, align 4 %144 = icmp eq i32 %143, 7 %145 = zext i1 %144 to i64 %146 = select i1 %144, i32 10, i32 32 %147 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %142, i32 noundef %146) br label %148 148: ; preds = %132 %149 = load i32, ptr %7, align 4 %150 = add nsw i32 %149, 1 store i32 %150, ptr %7, align 4 br label %129, !llvm.loop !14 151: ; preds = %129 br label %152 152: ; preds = %151 %153 = load i32, ptr %6, align 4 %154 = add nsw i32 %153, 8 store i32 %154, ptr %6, align 4 br label %124, !llvm.loop !15 155: ; preds = %124 %156 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @gfmul(i32 noundef, i32 noundef) #1 declare i32 @gfpow(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm5ne2f77.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"#include \22raid6.h\22\0A\00", align 1 @.str.1 = private unnamed_addr constant [68 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfmul[256][256] =\0A{\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"\09{\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"\09\09\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"0x%02x,%c\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"\09},\0A\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"};\0A\00", align 1 @.str.7 = private unnamed_addr constant [62 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexp[256] =\0A{\0A\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"\09\00", align 1 @.str.9 = private unnamed_addr constant [62 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfinv[256] =\0A{\0A\00", align 1 @.str.10 = private unnamed_addr constant [62 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexi[256] =\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 i32, align 4 %10 = alloca [256 x i32], align 16 %11 = alloca [256 x i32], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %14, 256 br i1 %15, label %.lr.ph5, label %53 .lr.ph5: ; preds = %2 br label %16 16: ; preds = %.lr.ph5, %48 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %7, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp slt i32 %18, 256 br i1 %19, label %.lr.ph2, label %46 .lr.ph2: ; preds = %16 br label %20 20: ; preds = %.lr.ph2, %41 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %8, align 4 %22 = load i32, ptr %8, align 4 %23 = icmp slt i32 %22, 8 br i1 %23, label %.lr.ph, label %40 .lr.ph: ; preds = %20 br label %24 24: ; preds = %.lr.ph, %35 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %8, align 4 %28 = add nsw i32 %26, %27 %29 = call i32 @gfmul(i32 noundef %25, i32 noundef %28) %30 = load i32, ptr %8, align 4 %31 = icmp eq i32 %30, 7 %32 = zext i1 %31 to i64 %33 = select i1 %31, i32 10, i32 32 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %29, i32 noundef %33) br label %35 35: ; preds = %24 %36 = load i32, ptr %8, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %8, align 4 %38 = load i32, ptr %8, align 4 %39 = icmp slt i32 %38, 8 br i1 %39, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %40 40: ; preds = %._crit_edge, %20 br label %41 41: ; preds = %40 %42 = load i32, ptr %7, align 4 %43 = add nsw i32 %42, 8 store i32 %43, ptr %7, align 4 %44 = load i32, ptr %7, align 4 %45 = icmp slt i32 %44, 256 br i1 %45, label %20, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %41 br label %46 46: ; preds = %._crit_edge3, %16 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %48 48: ; preds = %46 %49 = load i32, ptr %6, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %6, align 4 %51 = load i32, ptr %6, align 4 %52 = icmp slt i32 %51, 256 br i1 %52, label %16, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %48 br label %53 53: ; preds = %._crit_edge6, %2 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 1, ptr %9, align 4 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 0, ptr %6, align 4 %56 = load i32, ptr %6, align 4 %57 = icmp slt i32 %56, 256 br i1 %57, label %.lr.ph11, label %92 .lr.ph11: ; preds = %53 br label %58 58: ; preds = %.lr.ph11, %87 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) store i32 0, ptr %7, align 4 %60 = load i32, ptr %7, align 4 %61 = icmp slt i32 %60, 8 br i1 %61, label %.lr.ph8, label %86 .lr.ph8: ; preds = %58 br label %62 62: ; preds = %.lr.ph8, %81 %63 = load i32, ptr %9, align 4 %64 = load i32, ptr %6, align 4 %65 = load i32, ptr %7, align 4 %66 = add nsw i32 %64, %65 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [256 x i32], ptr %10, i64 0, i64 %67 store i32 %63, ptr %68, align 4 %69 = load i32, ptr %9, align 4 %70 = load i32, ptr %7, align 4 %71 = icmp eq i32 %70, 7 %72 = zext i1 %71 to i64 %73 = select i1 %71, i32 10, i32 32 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %69, i32 noundef %73) %75 = load i32, ptr %9, align 4 %76 = call i32 @gfmul(i32 noundef %75, i32 noundef 2) store i32 %76, ptr %9, align 4 %77 = load i32, ptr %9, align 4 %78 = icmp eq i32 %77, 1 br i1 %78, label %79, label %80 79: ; preds = %62 store i32 0, ptr %9, align 4 br label %80 80: ; preds = %79, %62 br label %81 81: ; preds = %80 %82 = load i32, ptr %7, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %7, align 4 %84 = load i32, ptr %7, align 4 %85 = icmp slt i32 %84, 8 br i1 %85, label %62, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %81 br label %86 86: ; preds = %._crit_edge9, %58 br label %87 87: ; preds = %86 %88 = load i32, ptr %6, align 4 %89 = add nsw i32 %88, 8 store i32 %89, ptr %6, align 4 %90 = load i32, ptr %6, align 4 %91 = icmp slt i32 %90, 256 br i1 %91, label %58, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %87 br label %92 92: ; preds = %._crit_edge12, %53 %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) store i32 0, ptr %6, align 4 %95 = load i32, ptr %6, align 4 %96 = icmp slt i32 %95, 256 br i1 %96, label %.lr.ph17, label %128 .lr.ph17: ; preds = %92 br label %97 97: ; preds = %.lr.ph17, %123 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) store i32 0, ptr %7, align 4 %99 = load i32, ptr %7, align 4 %100 = icmp slt i32 %99, 8 br i1 %100, label %.lr.ph14, label %122 .lr.ph14: ; preds = %97 br label %101 101: ; preds = %.lr.ph14, %117 %102 = load i32, ptr %6, align 4 %103 = load i32, ptr %7, align 4 %104 = add nsw i32 %102, %103 %105 = call i32 @gfpow(i32 noundef %104, i32 noundef 254) store i32 %105, ptr %9, align 4 %106 = load i32, ptr %6, align 4 %107 = load i32, ptr %7, align 4 %108 = add nsw i32 %106, %107 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds [256 x i32], ptr %11, i64 0, i64 %109 store i32 %105, ptr %110, align 4 %111 = load i32, ptr %9, align 4 %112 = load i32, ptr %7, align 4 %113 = icmp eq i32 %112, 7 %114 = zext i1 %113 to i64 %115 = select i1 %113, i32 10, i32 32 %116 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %111, i32 noundef %115) br label %117 117: ; preds = %101 %118 = load i32, ptr %7, align 4 %119 = add nsw i32 %118, 1 store i32 %119, ptr %7, align 4 %120 = load i32, ptr %7, align 4 %121 = icmp slt i32 %120, 8 br i1 %121, label %101, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %117 br label %122 122: ; preds = %._crit_edge15, %97 br label %123 123: ; preds = %122 %124 = load i32, ptr %6, align 4 %125 = add nsw i32 %124, 8 store i32 %125, ptr %6, align 4 %126 = load i32, ptr %6, align 4 %127 = icmp slt i32 %126, 256 br i1 %127, label %97, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %123 br label %128 128: ; preds = %._crit_edge18, %92 %129 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %130 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) store i32 0, ptr %6, align 4 %131 = load i32, ptr %6, align 4 %132 = icmp slt i32 %131, 256 br i1 %132, label %.lr.ph23, label %164 .lr.ph23: ; preds = %128 br label %133 133: ; preds = %.lr.ph23, %159 %134 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) store i32 0, ptr %7, align 4 %135 = load i32, ptr %7, align 4 %136 = icmp slt i32 %135, 8 br i1 %136, label %.lr.ph20, label %158 .lr.ph20: ; preds = %133 br label %137 137: ; preds = %.lr.ph20, %153 %138 = load i32, ptr %6, align 4 %139 = load i32, ptr %7, align 4 %140 = add nsw i32 %138, %139 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds [256 x i32], ptr %10, i64 0, i64 %141 %143 = load i32, ptr %142, align 4 %144 = xor i32 %143, 1 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds [256 x i32], ptr %11, i64 0, i64 %145 %147 = load i32, ptr %146, align 4 %148 = load i32, ptr %7, align 4 %149 = icmp eq i32 %148, 7 %150 = zext i1 %149 to i64 %151 = select i1 %149, i32 10, i32 32 %152 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %147, i32 noundef %151) br label %153 153: ; preds = %137 %154 = load i32, ptr %7, align 4 %155 = add nsw i32 %154, 1 store i32 %155, ptr %7, align 4 %156 = load i32, ptr %7, align 4 %157 = icmp slt i32 %156, 8 br i1 %157, label %137, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %153 br label %158 158: ; preds = %._crit_edge21, %133 br label %159 159: ; preds = %158 %160 = load i32, ptr %6, align 4 %161 = add nsw i32 %160, 8 store i32 %161, ptr %6, align 4 %162 = load i32, ptr %6, align 4 %163 = icmp slt i32 %162, 256 br i1 %163, label %133, label %._crit_edge24, !llvm.loop !15 ._crit_edge24: ; preds = %159 br label %164 164: ; preds = %._crit_edge24, %128 %165 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @gfmul(i32 noundef, i32 noundef) #1 declare i32 @gfpow(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7}
; ModuleID = '/tmp/tmpf8i9dd_s.c' source_filename = "/tmp/tmpf8i9dd_s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_DUPFD = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @my_dup(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 = load i32, ptr @F_DUPFD, align 4 %6 = call i32 @fcntl(i32 noundef %4, i32 noundef %5) store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 ret i32 %7 } declare i32 @fcntl(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/tmpf8i9dd_s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_DUPFD = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @my_dup(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 = load i32, ptr @F_DUPFD, align 4 %6 = call i32 @fcntl(i32 noundef %4, i32 noundef %5) store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 ret i32 %7 } declare i32 @fcntl(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/tmpwx7uwuv8.c' source_filename = "/tmp/tmpwx7uwuv8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%[^\0A]s\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [160 x i8], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 %6 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 0 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) %8 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 0 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %10 10: ; preds = %216, %0 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %219 14: ; preds = %10 %15 = load i32, ptr %3, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 97 br i1 %20, label %77, label %21 21: ; preds = %14 %22 = load i32, ptr %3, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 100 br i1 %27, label %77, label %28 28: ; preds = %21 %29 = load i32, ptr %3, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 103 br i1 %34, label %77, label %35 35: ; preds = %28 %36 = load i32, ptr %3, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 106 br i1 %41, label %77, label %42 42: ; preds = %35 %43 = load i32, ptr %3, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp eq i32 %47, 109 br i1 %48, label %77, label %49 49: ; preds = %42 %50 = load i32, ptr %3, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %51 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp eq i32 %54, 112 br i1 %55, label %77, label %56 56: ; preds = %49 %57 = load i32, ptr %3, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %58 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = icmp eq i32 %61, 116 br i1 %62, label %77, label %63 63: ; preds = %56 %64 = load i32, ptr %3, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %65 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = icmp eq i32 %68, 119 br i1 %69, label %77, label %70 70: ; preds = %63 %71 = load i32, ptr %3, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %72 %74 = load i8, ptr %73, align 1 %75 = sext i8 %74 to i32 %76 = icmp eq i32 %75, 32 br i1 %76, label %77, label %80 77: ; preds = %70, %63, %56, %49, %42, %35, %28, %21, %14 %78 = load i32, ptr %4, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %4, align 4 br label %80 80: ; preds = %77, %70 %81 = load i32, ptr %3, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %82 %84 = load i8, ptr %83, align 1 %85 = sext i8 %84 to i32 %86 = icmp eq i32 %85, 98 br i1 %86, label %136, label %87 87: ; preds = %80 %88 = load i32, ptr %3, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %89 %91 = load i8, ptr %90, align 1 %92 = sext i8 %91 to i32 %93 = icmp eq i32 %92, 101 br i1 %93, label %136, label %94 94: ; preds = %87 %95 = load i32, ptr %3, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %96 %98 = load i8, ptr %97, align 1 %99 = sext i8 %98 to i32 %100 = icmp eq i32 %99, 104 br i1 %100, label %136, label %101 101: ; preds = %94 %102 = load i32, ptr %3, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %103 %105 = load i8, ptr %104, align 1 %106 = sext i8 %105 to i32 %107 = icmp eq i32 %106, 107 br i1 %107, label %136, label %108 108: ; preds = %101 %109 = load i32, ptr %3, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %110 %112 = load i8, ptr %111, align 1 %113 = sext i8 %112 to i32 %114 = icmp eq i32 %113, 110 br i1 %114, label %136, label %115 115: ; preds = %108 %116 = load i32, ptr %3, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %117 %119 = load i8, ptr %118, align 1 %120 = sext i8 %119 to i32 %121 = icmp eq i32 %120, 113 br i1 %121, label %136, label %122 122: ; preds = %115 %123 = load i32, ptr %3, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %124 %126 = load i8, ptr %125, align 1 %127 = sext i8 %126 to i32 %128 = icmp eq i32 %127, 117 br i1 %128, label %136, label %129 129: ; preds = %122 %130 = load i32, ptr %3, align 4 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %131 %133 = load i8, ptr %132, align 1 %134 = sext i8 %133 to i32 %135 = icmp eq i32 %134, 120 br i1 %135, label %136, label %139 136: ; preds = %129, %122, %115, %108, %101, %94, %87, %80 %137 = load i32, ptr %4, align 4 %138 = add nsw i32 %137, 2 store i32 %138, ptr %4, align 4 br label %139 139: ; preds = %136, %129 %140 = load i32, ptr %3, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %141 %143 = load i8, ptr %142, align 1 %144 = sext i8 %143 to i32 %145 = icmp eq i32 %144, 99 br i1 %145, label %195, label %146 146: ; preds = %139 %147 = load i32, ptr %3, align 4 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %148 %150 = load i8, ptr %149, align 1 %151 = sext i8 %150 to i32 %152 = icmp eq i32 %151, 102 br i1 %152, label %195, label %153 153: ; preds = %146 %154 = load i32, ptr %3, align 4 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %155 %157 = load i8, ptr %156, align 1 %158 = sext i8 %157 to i32 %159 = icmp eq i32 %158, 105 br i1 %159, label %195, label %160 160: ; preds = %153 %161 = load i32, ptr %3, align 4 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %162 %164 = load i8, ptr %163, align 1 %165 = sext i8 %164 to i32 %166 = icmp eq i32 %165, 108 br i1 %166, label %195, label %167 167: ; preds = %160 %168 = load i32, ptr %3, align 4 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %169 %171 = load i8, ptr %170, align 1 %172 = sext i8 %171 to i32 %173 = icmp eq i32 %172, 111 br i1 %173, label %195, label %174 174: ; preds = %167 %175 = load i32, ptr %3, align 4 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %176 %178 = load i8, ptr %177, align 1 %179 = sext i8 %178 to i32 %180 = icmp eq i32 %179, 114 br i1 %180, label %195, label %181 181: ; preds = %174 %182 = load i32, ptr %3, align 4 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %183 %185 = load i8, ptr %184, align 1 %186 = sext i8 %185 to i32 %187 = icmp eq i32 %186, 118 br i1 %187, label %195, label %188 188: ; preds = %181 %189 = load i32, ptr %3, align 4 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %190 %192 = load i8, ptr %191, align 1 %193 = sext i8 %192 to i32 %194 = icmp eq i32 %193, 121 br i1 %194, label %195, label %198 195: ; preds = %188, %181, %174, %167, %160, %153, %146, %139 %196 = load i32, ptr %4, align 4 %197 = add nsw i32 %196, 3 store i32 %197, ptr %4, align 4 br label %198 198: ; preds = %195, %188 %199 = load i32, ptr %3, align 4 %200 = sext i32 %199 to i64 %201 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %200 %202 = load i8, ptr %201, align 1 %203 = sext i8 %202 to i32 %204 = icmp eq i32 %203, 115 br i1 %204, label %212, label %205 205: ; preds = %198 %206 = load i32, ptr %3, align 4 %207 = sext i32 %206 to i64 %208 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %207 %209 = load i8, ptr %208, align 1 %210 = sext i8 %209 to i32 %211 = icmp eq i32 %210, 122 br i1 %211, label %212, label %215 212: ; preds = %205, %198 %213 = load i32, ptr %4, align 4 %214 = add nsw i32 %213, 4 store i32 %214, ptr %4, align 4 br label %215 215: ; preds = %212, %205 br label %216 216: ; preds = %215 %217 = load i32, ptr %3, align 4 %218 = add nsw i32 %217, 1 store i32 %218, ptr %3, align 4 br label %10, !llvm.loop !6 219: ; preds = %10 %220 = load i32, ptr %4, align 4 %221 = call i32 @printf(ptr noundef @.str.1, i32 noundef %220) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwx7uwuv8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%[^\0A]s\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [160 x i8], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 %6 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 0 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) %8 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 0 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %2, align 4 store i32 0, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %221 .lr.ph: ; preds = %0 br label %13 13: ; preds = %.lr.ph, %215 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 97 br i1 %19, label %76, label %20 20: ; preds = %13 %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 100 br i1 %26, label %76, label %27 27: ; preds = %20 %28 = load i32, ptr %3, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 103 br i1 %33, label %76, label %34 34: ; preds = %27 %35 = load i32, ptr %3, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 106 br i1 %40, label %76, label %41 41: ; preds = %34 %42 = load i32, ptr %3, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %43 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp eq i32 %46, 109 br i1 %47, label %76, label %48 48: ; preds = %41 %49 = load i32, ptr %3, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %50 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = icmp eq i32 %53, 112 br i1 %54, label %76, label %55 55: ; preds = %48 %56 = load i32, ptr %3, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %57 %59 = load i8, ptr %58, align 1 %60 = sext i8 %59 to i32 %61 = icmp eq i32 %60, 116 br i1 %61, label %76, label %62 62: ; preds = %55 %63 = load i32, ptr %3, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %64 %66 = load i8, ptr %65, align 1 %67 = sext i8 %66 to i32 %68 = icmp eq i32 %67, 119 br i1 %68, label %76, label %69 69: ; preds = %62 %70 = load i32, ptr %3, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %71 %73 = load i8, ptr %72, align 1 %74 = sext i8 %73 to i32 %75 = icmp eq i32 %74, 32 br i1 %75, label %76, label %79 76: ; preds = %69, %62, %55, %48, %41, %34, %27, %20, %13 %77 = load i32, ptr %4, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %4, align 4 br label %79 79: ; preds = %76, %69 %80 = load i32, ptr %3, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %81 %83 = load i8, ptr %82, align 1 %84 = sext i8 %83 to i32 %85 = icmp eq i32 %84, 98 br i1 %85, label %135, label %86 86: ; preds = %79 %87 = load i32, ptr %3, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %88 %90 = load i8, ptr %89, align 1 %91 = sext i8 %90 to i32 %92 = icmp eq i32 %91, 101 br i1 %92, label %135, label %93 93: ; preds = %86 %94 = load i32, ptr %3, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %95 %97 = load i8, ptr %96, align 1 %98 = sext i8 %97 to i32 %99 = icmp eq i32 %98, 104 br i1 %99, label %135, label %100 100: ; preds = %93 %101 = load i32, ptr %3, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %102 %104 = load i8, ptr %103, align 1 %105 = sext i8 %104 to i32 %106 = icmp eq i32 %105, 107 br i1 %106, label %135, label %107 107: ; preds = %100 %108 = load i32, ptr %3, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %109 %111 = load i8, ptr %110, align 1 %112 = sext i8 %111 to i32 %113 = icmp eq i32 %112, 110 br i1 %113, label %135, label %114 114: ; preds = %107 %115 = load i32, ptr %3, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %116 %118 = load i8, ptr %117, align 1 %119 = sext i8 %118 to i32 %120 = icmp eq i32 %119, 113 br i1 %120, label %135, label %121 121: ; preds = %114 %122 = load i32, ptr %3, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %123 %125 = load i8, ptr %124, align 1 %126 = sext i8 %125 to i32 %127 = icmp eq i32 %126, 117 br i1 %127, label %135, label %128 128: ; preds = %121 %129 = load i32, ptr %3, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %130 %132 = load i8, ptr %131, align 1 %133 = sext i8 %132 to i32 %134 = icmp eq i32 %133, 120 br i1 %134, label %135, label %138 135: ; preds = %128, %121, %114, %107, %100, %93, %86, %79 %136 = load i32, ptr %4, align 4 %137 = add nsw i32 %136, 2 store i32 %137, ptr %4, align 4 br label %138 138: ; preds = %135, %128 %139 = load i32, ptr %3, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %140 %142 = load i8, ptr %141, align 1 %143 = sext i8 %142 to i32 %144 = icmp eq i32 %143, 99 br i1 %144, label %194, label %145 145: ; preds = %138 %146 = load i32, ptr %3, align 4 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %147 %149 = load i8, ptr %148, align 1 %150 = sext i8 %149 to i32 %151 = icmp eq i32 %150, 102 br i1 %151, label %194, label %152 152: ; preds = %145 %153 = load i32, ptr %3, align 4 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %154 %156 = load i8, ptr %155, align 1 %157 = sext i8 %156 to i32 %158 = icmp eq i32 %157, 105 br i1 %158, label %194, label %159 159: ; preds = %152 %160 = load i32, ptr %3, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %161 %163 = load i8, ptr %162, align 1 %164 = sext i8 %163 to i32 %165 = icmp eq i32 %164, 108 br i1 %165, label %194, label %166 166: ; preds = %159 %167 = load i32, ptr %3, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %168 %170 = load i8, ptr %169, align 1 %171 = sext i8 %170 to i32 %172 = icmp eq i32 %171, 111 br i1 %172, label %194, label %173 173: ; preds = %166 %174 = load i32, ptr %3, align 4 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %175 %177 = load i8, ptr %176, align 1 %178 = sext i8 %177 to i32 %179 = icmp eq i32 %178, 114 br i1 %179, label %194, label %180 180: ; preds = %173 %181 = load i32, ptr %3, align 4 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %182 %184 = load i8, ptr %183, align 1 %185 = sext i8 %184 to i32 %186 = icmp eq i32 %185, 118 br i1 %186, label %194, label %187 187: ; preds = %180 %188 = load i32, ptr %3, align 4 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %189 %191 = load i8, ptr %190, align 1 %192 = sext i8 %191 to i32 %193 = icmp eq i32 %192, 121 br i1 %193, label %194, label %197 194: ; preds = %187, %180, %173, %166, %159, %152, %145, %138 %195 = load i32, ptr %4, align 4 %196 = add nsw i32 %195, 3 store i32 %196, ptr %4, align 4 br label %197 197: ; preds = %194, %187 %198 = load i32, ptr %3, align 4 %199 = sext i32 %198 to i64 %200 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %199 %201 = load i8, ptr %200, align 1 %202 = sext i8 %201 to i32 %203 = icmp eq i32 %202, 115 br i1 %203, label %211, label %204 204: ; preds = %197 %205 = load i32, ptr %3, align 4 %206 = sext i32 %205 to i64 %207 = getelementptr inbounds [160 x i8], ptr %5, i64 0, i64 %206 %208 = load i8, ptr %207, align 1 %209 = sext i8 %208 to i32 %210 = icmp eq i32 %209, 122 br i1 %210, label %211, label %214 211: ; preds = %204, %197 %212 = load i32, ptr %4, align 4 %213 = add nsw i32 %212, 4 store i32 %213, ptr %4, align 4 br label %214 214: ; preds = %211, %204 br label %215 215: ; preds = %214 %216 = load i32, ptr %3, align 4 %217 = add nsw i32 %216, 1 store i32 %217, ptr %3, align 4 %218 = load i32, ptr %3, align 4 %219 = load i32, ptr %2, align 4 %220 = icmp slt i32 %218, %219 br i1 %220, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %215 br label %221 221: ; preds = %._crit_edge, %0 %222 = load i32, ptr %4, align 4 %223 = call i32 @printf(ptr noundef @.str.1, i32 noundef %222) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpkdwic65b.c' source_filename = "/tmp/tmpkdwic65b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sexToDegree(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca [40 x i8], align 16 %11 = alloca [40 x i8], align 16 %12 = alloca [10 x ptr], align 16 %13 = alloca [40 x i8], align 16 %14 = alloca [40 x i8], align 16 %15 = alloca [40 x i8], align 16 %16 = alloca [40 x i8], align 16 %17 = alloca [40 x i8], align 16 %18 = alloca [40 x i8], align 16 %19 = alloca i8, align 1 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca i32, align 4 %34 = alloca i32, align 4 %35 = alloca i32, align 4 %36 = alloca i32, align 4 %37 = alloca i32, align 4 %38 = alloca i32, align 4 %39 = alloca i32, align 4 %40 = 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 ptr %3, ptr %9, align 8 %41 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 0 %42 = load ptr, ptr %6, align 8 %43 = call i32 @strcpy(ptr noundef %41, ptr noundef %42) %44 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 0 %45 = load ptr, ptr %7, align 8 %46 = call i32 @strcpy(ptr noundef %44, ptr noundef %45) store i32 0, ptr %22, align 4 store double 0.000000e+00, ptr %28, align 8 store double 0.000000e+00, ptr %30, align 8 store double 0.000000e+00, ptr %31, align 8 %47 = getelementptr inbounds [40 x i8], ptr %15, i64 0, i64 0 %48 = call i32 @strcpy(ptr noundef %47, ptr noundef @.str) %49 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %50 = call i32 @strcpy(ptr noundef %49, ptr noundef @.str) %51 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %52 = call i32 @strcpy(ptr noundef %51, ptr noundef @.str) %53 = getelementptr inbounds [40 x i8], ptr %14, i64 0, i64 0 %54 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 0 %55 = call i32 @strcpy(ptr noundef %53, ptr noundef %54) store i32 1, ptr %35, align 4 %56 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 0 %57 = call i32 @strlen(ptr noundef %56) store i32 %57, ptr %34, align 4 store i32 0, ptr %33, align 4 br label %58 58: ; preds = %65, %4 %59 = load i32, ptr %33, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 %60 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = icmp eq i32 %63, 32 br i1 %64, label %65, label %68 65: ; preds = %58 %66 = load i32, ptr %33, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %33, align 4 br label %58, !llvm.loop !6 68: ; preds = %58 %69 = load i32, ptr %33, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 %70 %72 = load i8, ptr %71, align 1 %73 = sext i8 %72 to i32 %74 = icmp eq i32 %73, 45 br i1 %74, label %75, label %79 75: ; preds = %68 store i32 -1, ptr %35, align 4 %76 = load i32, ptr %33, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 %77 store i8 32, ptr %78, align 1 br label %91 79: ; preds = %68 %80 = load i32, ptr %33, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 %81 %83 = load i8, ptr %82, align 1 %84 = sext i8 %83 to i32 %85 = icmp eq i32 %84, 43 br i1 %85, label %86, label %90 86: ; preds = %79 %87 = load i32, ptr %33, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 %88 store i8 32, ptr %89, align 1 br label %90 90: ; preds = %86, %79 br label %91 91: ; preds = %90, %75 store i32 0, ptr %38, align 4 store i32 -1, ptr %37, align 4 store i32 -1, ptr %39, align 4 store i32 -1, ptr %40, align 4 %92 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 0 %93 = call i32 @strlen(ptr noundef %92) store i32 %93, ptr %34, align 4 store i32 0, ptr %33, align 4 br label %94 94: ; preds = %145, %91 %95 = load i32, ptr %33, align 4 %96 = load i32, ptr %34, align 4 %97 = sub nsw i32 %96, 1 %98 = icmp sle i32 %95, %97 br i1 %98, label %99, label %148 99: ; preds = %94 %100 = load i32, ptr %33, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 %101 %103 = load i8, ptr %102, align 1 store i8 %103, ptr %19, align 1 %104 = load i8, ptr %19, align 1 %105 = sext i8 %104 to i32 %106 = icmp eq i32 %105, 104 br i1 %106, label %111, label %107 107: ; preds = %99 %108 = load i8, ptr %19, align 1 %109 = sext i8 %108 to i32 %110 = icmp eq i32 %109, 72 br i1 %110, label %111, label %113 111: ; preds = %107, %99 %112 = load i32, ptr %33, align 4 store i32 %112, ptr %37, align 4 br label %124 113: ; preds = %107 %114 = load i8, ptr %19, align 1 %115 = sext i8 %114 to i32 %116 = icmp eq i32 %115, 100 br i1 %116, label %121, label %117 117: ; preds = %113 %118 = load i8, ptr %19, align 1 %119 = sext i8 %118 to i32 %120 = icmp eq i32 %119, 68 br i1 %120, label %121, label %123 121: ; preds = %117, %113 store i32 1, ptr %22, align 4 %122 = load i32, ptr %33, align 4 store i32 %122, ptr %37, align 4 br label %123 123: ; preds = %121, %117 br label %124 124: ; preds = %123, %111 %125 = load i8, ptr %19, align 1 %126 = sext i8 %125 to i32 %127 = icmp eq i32 %126, 109 br i1 %127, label %132, label %128 128: ; preds = %124 %129 = load i8, ptr %19, align 1 %130 = sext i8 %129 to i32 %131 = icmp eq i32 %130, 77 br i1 %131, label %132, label %134 132: ; preds = %128, %124 %133 = load i32, ptr %33, align 4 store i32 %133, ptr %39, align 4 br label %134 134: ; preds = %132, %128 %135 = load i8, ptr %19, align 1 %136 = sext i8 %135 to i32 %137 = icmp eq i32 %136, 115 br i1 %137, label %142, label %138 138: ; preds = %134 %139 = load i8, ptr %19, align 1 %140 = sext i8 %139 to i32 %141 = icmp eq i32 %140, 83 br i1 %141, label %142, label %144 142: ; preds = %138, %134 %143 = load i32, ptr %33, align 4 store i32 %143, ptr %40, align 4 br label %144 144: ; preds = %142, %138 br label %145 145: ; preds = %144 %146 = load i32, ptr %33, align 4 %147 = add nsw i32 %146, 1 store i32 %147, ptr %33, align 4 br label %94, !llvm.loop !8 148: ; preds = %94 %149 = load i32, ptr %37, align 4 %150 = icmp sgt i32 %149, 0 br i1 %150, label %151, label %158 151: ; preds = %148 %152 = load i32, ptr %39, align 4 %153 = icmp sgt i32 %152, 0 br i1 %153, label %154, label %158 154: ; preds = %151 %155 = load i32, ptr %37, align 4 %156 = load i32, ptr %39, align 4 %157 = icmp sgt i32 %155, %156 br i1 %157, label %178, label %158 158: ; preds = %154, %151, %148 %159 = load i32, ptr %37, align 4 %160 = icmp sgt i32 %159, 0 br i1 %160, label %161, label %168 161: ; preds = %158 %162 = load i32, ptr %40, align 4 %163 = icmp sgt i32 %162, 0 br i1 %163, label %164, label %168 164: ; preds = %161 %165 = load i32, ptr %37, align 4 %166 = load i32, ptr %40, align 4 %167 = icmp sgt i32 %165, %166 br i1 %167, label %178, label %168 168: ; preds = %164, %161, %158 %169 = load i32, ptr %39, align 4 %170 = icmp sgt i32 %169, 0 br i1 %170, label %171, label %179 171: ; preds = %168 %172 = load i32, ptr %40, align 4 %173 = icmp sgt i32 %172, 0 br i1 %173, label %174, label %179 174: ; preds = %171 %175 = load i32, ptr %39, align 4 %176 = load i32, ptr %40, align 4 %177 = icmp sgt i32 %175, %176 br i1 %177, label %178, label %179 178: ; preds = %174, %164, %154 store i32 1, ptr %5, align 4 br label %958 179: ; preds = %174, %171, %168 %180 = load i32, ptr %37, align 4 %181 = icmp sgt i32 %180, 0 br i1 %181, label %182, label %190 182: ; preds = %179 %183 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 0 store ptr %183, ptr %20, align 8 %184 = getelementptr inbounds [40 x i8], ptr %15, i64 0, i64 0 %185 = load ptr, ptr %20, align 8 %186 = call i32 @strcpy(ptr noundef %184, ptr noundef %185) %187 = load i32, ptr %37, align 4 %188 = sext i32 %187 to i64 %189 = getelementptr inbounds [40 x i8], ptr %15, i64 0, i64 %188 store i8 0, ptr %189, align 1 br label %190 190: ; preds = %182, %179 %191 = load i32, ptr %39, align 4 %192 = icmp sgt i32 %191, 0 br i1 %192, label %193, label %225 193: ; preds = %190 %194 = load i32, ptr %37, align 4 %195 = icmp sgt i32 %194, 0 br i1 %195, label %196, label %216 196: ; preds = %193 %197 = load i32, ptr %39, align 4 %198 = sub nsw i32 %197, 1 %199 = load i32, ptr %37, align 4 %200 = icmp sgt i32 %198, %199 br i1 %200, label %201, label %216 201: ; preds = %196 %202 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 0 %203 = load i32, ptr %37, align 4 %204 = sext i32 %203 to i64 %205 = getelementptr inbounds i8, ptr %202, i64 %204 %206 = getelementptr inbounds i8, ptr %205, i64 1 store ptr %206, ptr %20, align 8 %207 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %208 = load ptr, ptr %20, align 8 %209 = call i32 @strcpy(ptr noundef %207, ptr noundef %208) %210 = load i32, ptr %39, align 4 %211 = load i32, ptr %37, align 4 %212 = sub nsw i32 %210, %211 %213 = sub nsw i32 %212, 1 %214 = sext i32 %213 to i64 %215 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 %214 store i8 0, ptr %215, align 1 br label %224 216: ; preds = %196, %193 %217 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 0 store ptr %217, ptr %20, align 8 %218 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %219 = load ptr, ptr %20, align 8 %220 = call i32 @strcpy(ptr noundef %218, ptr noundef %219) %221 = load i32, ptr %39, align 4 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 %222 store i8 0, ptr %223, align 1 br label %224 224: ; preds = %216, %201 br label %225 225: ; preds = %224, %190 %226 = load i32, ptr %40, align 4 %227 = icmp sgt i32 %226, 0 br i1 %227, label %228, label %284 228: ; preds = %225 %229 = load i32, ptr %39, align 4 %230 = icmp sgt i32 %229, 0 br i1 %230, label %231, label %251 231: ; preds = %228 %232 = load i32, ptr %40, align 4 %233 = sub nsw i32 %232, 1 %234 = load i32, ptr %39, align 4 %235 = icmp sgt i32 %233, %234 br i1 %235, label %236, label %251 236: ; preds = %231 %237 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 0 %238 = load i32, ptr %39, align 4 %239 = sext i32 %238 to i64 %240 = getelementptr inbounds i8, ptr %237, i64 %239 %241 = getelementptr inbounds i8, ptr %240, i64 1 store ptr %241, ptr %20, align 8 %242 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %243 = load ptr, ptr %20, align 8 %244 = call i32 @strcpy(ptr noundef %242, ptr noundef %243) %245 = load i32, ptr %40, align 4 %246 = load i32, ptr %39, align 4 %247 = sub nsw i32 %245, %246 %248 = sub nsw i32 %247, 1 %249 = sext i32 %248 to i64 %250 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 %249 store i8 0, ptr %250, align 1 br label %283 251: ; preds = %231, %228 %252 = load i32, ptr %37, align 4 %253 = icmp sgt i32 %252, 0 br i1 %253, label %254, label %274 254: ; preds = %251 %255 = load i32, ptr %40, align 4 %256 = sub nsw i32 %255, 1 %257 = load i32, ptr %37, align 4 %258 = icmp sgt i32 %256, %257 br i1 %258, label %259, label %274 259: ; preds = %254 %260 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 0 %261 = load i32, ptr %37, align 4 %262 = sext i32 %261 to i64 %263 = getelementptr inbounds i8, ptr %260, i64 %262 %264 = getelementptr inbounds i8, ptr %263, i64 1 store ptr %264, ptr %20, align 8 %265 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %266 = load ptr, ptr %20, align 8 %267 = call i32 @strcpy(ptr noundef %265, ptr noundef %266) %268 = load i32, ptr %40, align 4 %269 = load i32, ptr %37, align 4 %270 = sub nsw i32 %268, %269 %271 = sub nsw i32 %270, 1 %272 = sext i32 %271 to i64 %273 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 %272 store i8 0, ptr %273, align 1 br label %282 274: ; preds = %254, %251 %275 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 0 store ptr %275, ptr %20, align 8 %276 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %277 = load ptr, ptr %20, align 8 %278 = call i32 @strcpy(ptr noundef %276, ptr noundef %277) %279 = load i32, ptr %40, align 4 %280 = sext i32 %279 to i64 %281 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 %280 store i8 0, ptr %281, align 1 br label %282 282: ; preds = %274, %259 br label %283 283: ; preds = %282, %236 br label %284 284: ; preds = %283, %225 store i32 0, ptr %36, align 4 %285 = load i32, ptr %37, align 4 %286 = icmp eq i32 %285, -1 br i1 %286, label %287, label %333 287: ; preds = %284 %288 = load i32, ptr %39, align 4 %289 = icmp eq i32 %288, -1 br i1 %289, label %290, label %333 290: ; preds = %287 %291 = load i32, ptr %40, align 4 %292 = icmp eq i32 %291, -1 br i1 %292, label %293, label %333 293: ; preds = %290 %294 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 0 %295 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %296 = call i32 @getSubstrings(ptr noundef %294, ptr noundef %295, ptr noundef %36) %297 = load i32, ptr %36, align 4 %298 = icmp sge i32 %297, 3 br i1 %298, label %299, label %312 299: ; preds = %293 %300 = getelementptr inbounds [40 x i8], ptr %15, i64 0, i64 0 %301 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %302 = load ptr, ptr %301, align 16 %303 = call i32 @strcpy(ptr noundef %300, ptr noundef %302) %304 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %305 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 1 %306 = load ptr, ptr %305, align 8 %307 = call i32 @strcpy(ptr noundef %304, ptr noundef %306) %308 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %309 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 2 %310 = load ptr, ptr %309, align 16 %311 = call i32 @strcpy(ptr noundef %308, ptr noundef %310) br label %312 312: ; preds = %299, %293 %313 = load i32, ptr %36, align 4 %314 = icmp eq i32 %313, 2 br i1 %314, label %315, label %324 315: ; preds = %312 %316 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %317 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %318 = load ptr, ptr %317, align 16 %319 = call i32 @strcpy(ptr noundef %316, ptr noundef %318) %320 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %321 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 1 %322 = load ptr, ptr %321, align 8 %323 = call i32 @strcpy(ptr noundef %320, ptr noundef %322) br label %324 324: ; preds = %315, %312 %325 = load i32, ptr %36, align 4 %326 = icmp eq i32 %325, 1 br i1 %326, label %327, label %332 327: ; preds = %324 %328 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %329 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %330 = load ptr, ptr %329, align 16 %331 = call i32 @strcpy(ptr noundef %328, ptr noundef %330) br label %332 332: ; preds = %327, %324 br label %388 333: ; preds = %290, %287, %284 %334 = load i32, ptr %39, align 4 %335 = icmp eq i32 %334, -1 br i1 %335, label %336, label %367 336: ; preds = %333 %337 = load i32, ptr %40, align 4 %338 = icmp eq i32 %337, -1 br i1 %338, label %339, label %367 339: ; preds = %336 %340 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 0 %341 = load i32, ptr %37, align 4 %342 = sext i32 %341 to i64 %343 = getelementptr inbounds i8, ptr %340, i64 %342 %344 = getelementptr inbounds i8, ptr %343, i64 1 %345 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %346 = call i32 @getSubstrings(ptr noundef %344, ptr noundef %345, ptr noundef %36) %347 = load i32, ptr %36, align 4 %348 = icmp eq i32 %347, 2 br i1 %348, label %349, label %358 349: ; preds = %339 %350 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %351 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %352 = load ptr, ptr %351, align 16 %353 = call i32 @strcpy(ptr noundef %350, ptr noundef %352) %354 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %355 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 1 %356 = load ptr, ptr %355, align 8 %357 = call i32 @strcpy(ptr noundef %354, ptr noundef %356) br label %358 358: ; preds = %349, %339 %359 = load i32, ptr %36, align 4 %360 = icmp eq i32 %359, 1 br i1 %360, label %361, label %366 361: ; preds = %358 %362 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %363 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %364 = load ptr, ptr %363, align 16 %365 = call i32 @strcpy(ptr noundef %362, ptr noundef %364) br label %366 366: ; preds = %361, %358 br label %387 367: ; preds = %336, %333 %368 = load i32, ptr %40, align 4 %369 = icmp eq i32 %368, -1 br i1 %369, label %370, label %386 370: ; preds = %367 %371 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 0 %372 = load i32, ptr %39, align 4 %373 = sext i32 %372 to i64 %374 = getelementptr inbounds i8, ptr %371, i64 %373 %375 = getelementptr inbounds i8, ptr %374, i64 1 %376 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %377 = call i32 @getSubstrings(ptr noundef %375, ptr noundef %376, ptr noundef %36) %378 = load i32, ptr %36, align 4 %379 = icmp eq i32 %378, 1 br i1 %379, label %380, label %385 380: ; preds = %370 %381 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %382 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %383 = load ptr, ptr %382, align 16 %384 = call i32 @strcpy(ptr noundef %381, ptr noundef %383) br label %385 385: ; preds = %380, %370 br label %386 386: ; preds = %385, %367 br label %387 387: ; preds = %386, %366 br label %388 388: ; preds = %387, %332 %389 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %390 = call i32 @checkFormat(ptr noundef %389) store i32 %390, ptr %23, align 4 %391 = load i32, ptr %23, align 4 %392 = icmp eq i32 %391, 1 br i1 %392, label %393, label %398 393: ; preds = %388 %394 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %395 = call i32 @checkFormat(ptr noundef %394) store i32 %395, ptr %23, align 4 %396 = getelementptr inbounds [40 x i8], ptr %15, i64 0, i64 0 %397 = call i32 @checkFormat(ptr noundef %396) store i32 %397, ptr %23, align 4 br label %398 398: ; preds = %393, %388 %399 = load i32, ptr %23, align 4 store i32 %399, ptr %24, align 4 %400 = load i32, ptr %23, align 4 %401 = icmp eq i32 %400, 1 br i1 %401, label %402, label %436 402: ; preds = %398 %403 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %404 = call double @atof(ptr noundef %403) store double %404, ptr %31, align 8 %405 = load double, ptr %31, align 8 %406 = fcmp ogt double %405, 6.000000e+01 br i1 %406, label %407, label %428 407: ; preds = %402 %408 = load double, ptr %31, align 8 %409 = fdiv double %408, 1.000000e+04 %410 = fptosi double %409 to i32 store i32 %410, ptr %33, align 4 %411 = load i32, ptr %33, align 4 %412 = sitofp i32 %411 to double store double %412, ptr %28, align 8 %413 = load double, ptr %31, align 8 %414 = load double, ptr %28, align 8 %415 = fneg double %414 %416 = call double @llvm.fmuladd.f64(double %415, double 1.000000e+04, double %413) %417 = fdiv double %416, 1.000000e+02 %418 = fptosi double %417 to i32 store i32 %418, ptr %33, align 4 %419 = load i32, ptr %33, align 4 %420 = sitofp i32 %419 to double store double %420, ptr %30, align 8 %421 = load double, ptr %31, align 8 %422 = load double, ptr %28, align 8 %423 = fneg double %422 %424 = call double @llvm.fmuladd.f64(double %423, double 1.000000e+04, double %421) %425 = load double, ptr %30, align 8 %426 = fneg double %425 %427 = call double @llvm.fmuladd.f64(double %426, double 1.000000e+02, double %424) store double %427, ptr %31, align 8 br label %435 428: ; preds = %402 %429 = getelementptr inbounds [40 x i8], ptr %15, i64 0, i64 0 %430 = call double @atof(ptr noundef %429) store double %430, ptr %28, align 8 %431 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %432 = call double @atof(ptr noundef %431) store double %432, ptr %30, align 8 %433 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %434 = call double @atof(ptr noundef %433) store double %434, ptr %31, align 8 br label %435 435: ; preds = %428, %407 br label %436 436: ; preds = %435, %398 store double 1.500000e+01, ptr %27, align 8 %437 = load i32, ptr %22, align 4 %438 = icmp eq i32 %437, 1 br i1 %438, label %439, label %440 439: ; preds = %436 store double 1.000000e+00, ptr %27, align 8 br label %440 440: ; preds = %439, %436 %441 = load i32, ptr %35, align 4 %442 = sitofp i32 %441 to double %443 = load double, ptr %27, align 8 %444 = fmul double %442, %443 %445 = load double, ptr %28, align 8 %446 = load double, ptr %30, align 8 %447 = fdiv double %446, 6.000000e+01 %448 = fadd double %445, %447 %449 = load double, ptr %31, align 8 %450 = fdiv double %449, 3.600000e+03 %451 = fadd double %448, %450 %452 = fmul double %444, %451 %453 = load ptr, ptr %8, align 8 store double %452, ptr %453, align 8 %454 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %455 = getelementptr inbounds [40 x i8], ptr %14, i64 0, i64 0 %456 = call i32 @strcpy(ptr noundef %454, ptr noundef %455) %457 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %458 = call i32 @strlen(ptr noundef %457) store i32 %458, ptr %26, align 4 %459 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %460 = call double @strtod(ptr noundef %459, ptr noundef %21) store double %460, ptr %32, align 8 store i32 0, ptr %33, align 4 br label %461 461: ; preds = %478, %440 %462 = load i32, ptr %33, align 4 %463 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %464 = call i32 @strlen(ptr noundef %463) %465 = icmp slt i32 %462, %464 br i1 %465, label %466, label %481 466: ; preds = %461 %467 = load i32, ptr %33, align 4 %468 = sext i32 %467 to i64 %469 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 %468 %470 = load i8, ptr %469, align 1 %471 = sext i8 %470 to i32 %472 = icmp eq i32 %471, 46 br i1 %472, label %473, label %477 473: ; preds = %466 %474 = load i32, ptr %33, align 4 %475 = sext i32 %474 to i64 %476 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 %475 store i8 0, ptr %476, align 1 br label %477 477: ; preds = %473, %466 br label %478 478: ; preds = %477 %479 = load i32, ptr %33, align 4 %480 = add nsw i32 %479, 1 store i32 %480, ptr %33, align 4 br label %461, !llvm.loop !9 481: ; preds = %461 %482 = load ptr, ptr %21, align 8 %483 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %484 = load i32, ptr %26, align 4 %485 = sext i32 %484 to i64 %486 = getelementptr inbounds i8, ptr %483, i64 %485 %487 = icmp eq ptr %482, %486 br i1 %487, label %488, label %495 488: ; preds = %481 %489 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %490 = call i32 @strlen(ptr noundef %489) %491 = icmp slt i32 %490, 5 br i1 %491, label %492, label %495 492: ; preds = %488 %493 = load double, ptr %32, align 8 %494 = load ptr, ptr %8, align 8 store double %493, ptr %494, align 8 store i32 0, ptr %24, align 4 br label %495 495: ; preds = %492, %488, %481 store double 0.000000e+00, ptr %29, align 8 store double 0.000000e+00, ptr %30, align 8 store double 0.000000e+00, ptr %31, align 8 %496 = getelementptr inbounds [40 x i8], ptr %16, i64 0, i64 0 %497 = call i32 @strcpy(ptr noundef %496, ptr noundef @.str) %498 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %499 = call i32 @strcpy(ptr noundef %498, ptr noundef @.str) %500 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %501 = call i32 @strcpy(ptr noundef %500, ptr noundef @.str) %502 = getelementptr inbounds [40 x i8], ptr %14, i64 0, i64 0 %503 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 0 %504 = call i32 @strcpy(ptr noundef %502, ptr noundef %503) store i32 1, ptr %35, align 4 %505 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 0 %506 = call i32 @strlen(ptr noundef %505) store i32 %506, ptr %34, align 4 store i32 0, ptr %33, align 4 br label %507 507: ; preds = %514, %495 %508 = load i32, ptr %33, align 4 %509 = sext i32 %508 to i64 %510 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 %509 %511 = load i8, ptr %510, align 1 %512 = sext i8 %511 to i32 %513 = icmp eq i32 %512, 32 br i1 %513, label %514, label %517 514: ; preds = %507 %515 = load i32, ptr %33, align 4 %516 = add nsw i32 %515, 1 store i32 %516, ptr %33, align 4 br label %507, !llvm.loop !10 517: ; preds = %507 %518 = load i32, ptr %33, align 4 %519 = sext i32 %518 to i64 %520 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 %519 %521 = load i8, ptr %520, align 1 %522 = sext i8 %521 to i32 %523 = icmp eq i32 %522, 45 br i1 %523, label %524, label %528 524: ; preds = %517 store i32 -1, ptr %35, align 4 %525 = load i32, ptr %33, align 4 %526 = sext i32 %525 to i64 %527 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 %526 store i8 32, ptr %527, align 1 br label %540 528: ; preds = %517 %529 = load i32, ptr %33, align 4 %530 = sext i32 %529 to i64 %531 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 %530 %532 = load i8, ptr %531, align 1 %533 = sext i8 %532 to i32 %534 = icmp eq i32 %533, 43 br i1 %534, label %535, label %539 535: ; preds = %528 %536 = load i32, ptr %33, align 4 %537 = sext i32 %536 to i64 %538 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 %537 store i8 32, ptr %538, align 1 br label %539 539: ; preds = %535, %528 br label %540 540: ; preds = %539, %524 store i32 -1, ptr %38, align 4 store i32 -1, ptr %39, align 4 store i32 -1, ptr %40, align 4 %541 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 0 %542 = call i32 @strlen(ptr noundef %541) store i32 %542, ptr %34, align 4 store i32 0, ptr %33, align 4 br label %543 543: ; preds = %583, %540 %544 = load i32, ptr %33, align 4 %545 = load i32, ptr %34, align 4 %546 = sub nsw i32 %545, 1 %547 = icmp sle i32 %544, %546 br i1 %547, label %548, label %586 548: ; preds = %543 %549 = load i32, ptr %33, align 4 %550 = sext i32 %549 to i64 %551 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 %550 %552 = load i8, ptr %551, align 1 store i8 %552, ptr %19, align 1 %553 = load i8, ptr %19, align 1 %554 = sext i8 %553 to i32 %555 = icmp eq i32 %554, 100 br i1 %555, label %560, label %556 556: ; preds = %548 %557 = load i8, ptr %19, align 1 %558 = sext i8 %557 to i32 %559 = icmp eq i32 %558, 68 br i1 %559, label %560, label %562 560: ; preds = %556, %548 %561 = load i32, ptr %33, align 4 store i32 %561, ptr %38, align 4 br label %562 562: ; preds = %560, %556 %563 = load i8, ptr %19, align 1 %564 = sext i8 %563 to i32 %565 = icmp eq i32 %564, 109 br i1 %565, label %570, label %566 566: ; preds = %562 %567 = load i8, ptr %19, align 1 %568 = sext i8 %567 to i32 %569 = icmp eq i32 %568, 77 br i1 %569, label %570, label %572 570: ; preds = %566, %562 %571 = load i32, ptr %33, align 4 store i32 %571, ptr %39, align 4 br label %572 572: ; preds = %570, %566 %573 = load i8, ptr %19, align 1 %574 = sext i8 %573 to i32 %575 = icmp eq i32 %574, 115 br i1 %575, label %580, label %576 576: ; preds = %572 %577 = load i8, ptr %19, align 1 %578 = sext i8 %577 to i32 %579 = icmp eq i32 %578, 83 br i1 %579, label %580, label %582 580: ; preds = %576, %572 %581 = load i32, ptr %33, align 4 store i32 %581, ptr %40, align 4 br label %582 582: ; preds = %580, %576 br label %583 583: ; preds = %582 %584 = load i32, ptr %33, align 4 %585 = add nsw i32 %584, 1 store i32 %585, ptr %33, align 4 br label %543, !llvm.loop !11 586: ; preds = %543 %587 = load i32, ptr %38, align 4 %588 = icmp sgt i32 %587, 0 br i1 %588, label %589, label %596 589: ; preds = %586 %590 = load i32, ptr %39, align 4 %591 = icmp sgt i32 %590, 0 br i1 %591, label %592, label %596 592: ; preds = %589 %593 = load i32, ptr %38, align 4 %594 = load i32, ptr %39, align 4 %595 = icmp sgt i32 %593, %594 br i1 %595, label %616, label %596 596: ; preds = %592, %589, %586 %597 = load i32, ptr %38, align 4 %598 = icmp sgt i32 %597, 0 br i1 %598, label %599, label %606 599: ; preds = %596 %600 = load i32, ptr %40, align 4 %601 = icmp sgt i32 %600, 0 br i1 %601, label %602, label %606 602: ; preds = %599 %603 = load i32, ptr %38, align 4 %604 = load i32, ptr %40, align 4 %605 = icmp sgt i32 %603, %604 br i1 %605, label %616, label %606 606: ; preds = %602, %599, %596 %607 = load i32, ptr %39, align 4 %608 = icmp sgt i32 %607, 0 br i1 %608, label %609, label %617 609: ; preds = %606 %610 = load i32, ptr %40, align 4 %611 = icmp sgt i32 %610, 0 br i1 %611, label %612, label %617 612: ; preds = %609 %613 = load i32, ptr %39, align 4 %614 = load i32, ptr %40, align 4 %615 = icmp sgt i32 %613, %614 br i1 %615, label %616, label %617 616: ; preds = %612, %602, %592 store i32 1, ptr %5, align 4 br label %958 617: ; preds = %612, %609, %606 %618 = load i32, ptr %38, align 4 %619 = icmp sgt i32 %618, 0 br i1 %619, label %620, label %628 620: ; preds = %617 %621 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 0 store ptr %621, ptr %20, align 8 %622 = getelementptr inbounds [40 x i8], ptr %16, i64 0, i64 0 %623 = load ptr, ptr %20, align 8 %624 = call i32 @strcpy(ptr noundef %622, ptr noundef %623) %625 = load i32, ptr %38, align 4 %626 = sext i32 %625 to i64 %627 = getelementptr inbounds [40 x i8], ptr %16, i64 0, i64 %626 store i8 0, ptr %627, align 1 br label %628 628: ; preds = %620, %617 %629 = load i32, ptr %39, align 4 %630 = icmp sgt i32 %629, 0 br i1 %630, label %631, label %663 631: ; preds = %628 %632 = load i32, ptr %38, align 4 %633 = icmp sgt i32 %632, 0 br i1 %633, label %634, label %654 634: ; preds = %631 %635 = load i32, ptr %39, align 4 %636 = sub nsw i32 %635, 1 %637 = load i32, ptr %38, align 4 %638 = icmp sgt i32 %636, %637 br i1 %638, label %639, label %654 639: ; preds = %634 %640 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 0 %641 = load i32, ptr %38, align 4 %642 = sext i32 %641 to i64 %643 = getelementptr inbounds i8, ptr %640, i64 %642 %644 = getelementptr inbounds i8, ptr %643, i64 1 store ptr %644, ptr %20, align 8 %645 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %646 = load ptr, ptr %20, align 8 %647 = call i32 @strcpy(ptr noundef %645, ptr noundef %646) %648 = load i32, ptr %39, align 4 %649 = load i32, ptr %38, align 4 %650 = sub nsw i32 %648, %649 %651 = sub nsw i32 %650, 1 %652 = sext i32 %651 to i64 %653 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 %652 store i8 0, ptr %653, align 1 br label %662 654: ; preds = %634, %631 %655 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 0 store ptr %655, ptr %20, align 8 %656 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %657 = load ptr, ptr %20, align 8 %658 = call i32 @strcpy(ptr noundef %656, ptr noundef %657) %659 = load i32, ptr %39, align 4 %660 = sext i32 %659 to i64 %661 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 %660 store i8 0, ptr %661, align 1 br label %662 662: ; preds = %654, %639 br label %663 663: ; preds = %662, %628 %664 = load i32, ptr %40, align 4 %665 = icmp sgt i32 %664, 0 br i1 %665, label %666, label %722 666: ; preds = %663 %667 = load i32, ptr %39, align 4 %668 = icmp sgt i32 %667, 0 br i1 %668, label %669, label %689 669: ; preds = %666 %670 = load i32, ptr %40, align 4 %671 = sub nsw i32 %670, 1 %672 = load i32, ptr %39, align 4 %673 = icmp sgt i32 %671, %672 br i1 %673, label %674, label %689 674: ; preds = %669 %675 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 0 %676 = load i32, ptr %39, align 4 %677 = sext i32 %676 to i64 %678 = getelementptr inbounds i8, ptr %675, i64 %677 %679 = getelementptr inbounds i8, ptr %678, i64 1 store ptr %679, ptr %20, align 8 %680 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %681 = load ptr, ptr %20, align 8 %682 = call i32 @strcpy(ptr noundef %680, ptr noundef %681) %683 = load i32, ptr %40, align 4 %684 = load i32, ptr %39, align 4 %685 = sub nsw i32 %683, %684 %686 = sub nsw i32 %685, 1 %687 = sext i32 %686 to i64 %688 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 %687 store i8 0, ptr %688, align 1 br label %721 689: ; preds = %669, %666 %690 = load i32, ptr %38, align 4 %691 = icmp sgt i32 %690, 0 br i1 %691, label %692, label %712 692: ; preds = %689 %693 = load i32, ptr %40, align 4 %694 = sub nsw i32 %693, 1 %695 = load i32, ptr %38, align 4 %696 = icmp sgt i32 %694, %695 br i1 %696, label %697, label %712 697: ; preds = %692 %698 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 0 %699 = load i32, ptr %38, align 4 %700 = sext i32 %699 to i64 %701 = getelementptr inbounds i8, ptr %698, i64 %700 %702 = getelementptr inbounds i8, ptr %701, i64 1 store ptr %702, ptr %20, align 8 %703 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %704 = load ptr, ptr %20, align 8 %705 = call i32 @strcpy(ptr noundef %703, ptr noundef %704) %706 = load i32, ptr %40, align 4 %707 = load i32, ptr %38, align 4 %708 = sub nsw i32 %706, %707 %709 = sub nsw i32 %708, 1 %710 = sext i32 %709 to i64 %711 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 %710 store i8 0, ptr %711, align 1 br label %720 712: ; preds = %692, %689 %713 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 0 store ptr %713, ptr %20, align 8 %714 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %715 = load ptr, ptr %20, align 8 %716 = call i32 @strcpy(ptr noundef %714, ptr noundef %715) %717 = load i32, ptr %40, align 4 %718 = sext i32 %717 to i64 %719 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 %718 store i8 0, ptr %719, align 1 br label %720 720: ; preds = %712, %697 br label %721 721: ; preds = %720, %674 br label %722 722: ; preds = %721, %663 store i32 0, ptr %36, align 4 %723 = load i32, ptr %38, align 4 %724 = icmp eq i32 %723, -1 br i1 %724, label %725, label %771 725: ; preds = %722 %726 = load i32, ptr %39, align 4 %727 = icmp eq i32 %726, -1 br i1 %727, label %728, label %771 728: ; preds = %725 %729 = load i32, ptr %40, align 4 %730 = icmp eq i32 %729, -1 br i1 %730, label %731, label %771 731: ; preds = %728 %732 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 0 %733 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %734 = call i32 @getSubstrings(ptr noundef %732, ptr noundef %733, ptr noundef %36) %735 = load i32, ptr %36, align 4 %736 = icmp sge i32 %735, 3 br i1 %736, label %737, label %750 737: ; preds = %731 %738 = getelementptr inbounds [40 x i8], ptr %16, i64 0, i64 0 %739 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %740 = load ptr, ptr %739, align 16 %741 = call i32 @strcpy(ptr noundef %738, ptr noundef %740) %742 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %743 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 1 %744 = load ptr, ptr %743, align 8 %745 = call i32 @strcpy(ptr noundef %742, ptr noundef %744) %746 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %747 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 2 %748 = load ptr, ptr %747, align 16 %749 = call i32 @strcpy(ptr noundef %746, ptr noundef %748) br label %750 750: ; preds = %737, %731 %751 = load i32, ptr %36, align 4 %752 = icmp eq i32 %751, 2 br i1 %752, label %753, label %762 753: ; preds = %750 %754 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %755 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %756 = load ptr, ptr %755, align 16 %757 = call i32 @strcpy(ptr noundef %754, ptr noundef %756) %758 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %759 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 1 %760 = load ptr, ptr %759, align 8 %761 = call i32 @strcpy(ptr noundef %758, ptr noundef %760) br label %762 762: ; preds = %753, %750 %763 = load i32, ptr %36, align 4 %764 = icmp eq i32 %763, 1 br i1 %764, label %765, label %770 765: ; preds = %762 %766 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %767 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %768 = load ptr, ptr %767, align 16 %769 = call i32 @strcpy(ptr noundef %766, ptr noundef %768) br label %770 770: ; preds = %765, %762 br label %830 771: ; preds = %728, %725, %722 %772 = load i32, ptr %39, align 4 %773 = icmp eq i32 %772, -1 br i1 %773, label %774, label %809 774: ; preds = %771 %775 = load i32, ptr %40, align 4 %776 = icmp eq i32 %775, -1 br i1 %776, label %777, label %809 777: ; preds = %774 %778 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 0 %779 = load i32, ptr %38, align 4 %780 = sext i32 %779 to i64 %781 = getelementptr inbounds i8, ptr %778, i64 %780 %782 = getelementptr inbounds i8, ptr %781, i64 1 %783 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %784 = call i32 @getSubstrings(ptr noundef %782, ptr noundef %783, ptr noundef %36) %785 = load i32, ptr %36, align 4 %786 = icmp eq i32 %785, 2 br i1 %786, label %787, label %800 787: ; preds = %777 %788 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %789 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %790 = load ptr, ptr %789, align 16 %791 = call i32 @strcpy(ptr noundef %788, ptr noundef %790) %792 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %793 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %794 = load ptr, ptr %793, align 16 %795 = call i32 @strcpy(ptr noundef %792, ptr noundef %794) %796 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %797 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 1 %798 = load ptr, ptr %797, align 8 %799 = call i32 @strcpy(ptr noundef %796, ptr noundef %798) br label %800 800: ; preds = %787, %777 %801 = load i32, ptr %36, align 4 %802 = icmp eq i32 %801, 1 br i1 %802, label %803, label %808 803: ; preds = %800 %804 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %805 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %806 = load ptr, ptr %805, align 16 %807 = call i32 @strcpy(ptr noundef %804, ptr noundef %806) br label %808 808: ; preds = %803, %800 br label %829 809: ; preds = %774, %771 %810 = load i32, ptr %40, align 4 %811 = icmp eq i32 %810, -1 br i1 %811, label %812, label %828 812: ; preds = %809 %813 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 0 %814 = load i32, ptr %39, align 4 %815 = sext i32 %814 to i64 %816 = getelementptr inbounds i8, ptr %813, i64 %815 %817 = getelementptr inbounds i8, ptr %816, i64 1 %818 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %819 = call i32 @getSubstrings(ptr noundef %817, ptr noundef %818, ptr noundef %36) %820 = load i32, ptr %36, align 4 %821 = icmp eq i32 %820, 1 br i1 %821, label %822, label %827 822: ; preds = %812 %823 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %824 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %825 = load ptr, ptr %824, align 16 %826 = call i32 @strcpy(ptr noundef %823, ptr noundef %825) br label %827 827: ; preds = %822, %812 br label %828 828: ; preds = %827, %809 br label %829 829: ; preds = %828, %808 br label %830 830: ; preds = %829, %770 %831 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %832 = call i32 @checkFormat(ptr noundef %831) store i32 %832, ptr %23, align 4 %833 = load i32, ptr %23, align 4 %834 = icmp eq i32 %833, 1 br i1 %834, label %835, label %838 835: ; preds = %830 %836 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %837 = call i32 @checkFormat(ptr noundef %836) store i32 %837, ptr %23, align 4 br label %838 838: ; preds = %835, %830 %839 = load i32, ptr %23, align 4 %840 = icmp eq i32 %839, 1 br i1 %840, label %841, label %844 841: ; preds = %838 %842 = getelementptr inbounds [40 x i8], ptr %16, i64 0, i64 0 %843 = call i32 @checkFormat(ptr noundef %842) store i32 %843, ptr %23, align 4 br label %844 844: ; preds = %841, %838 %845 = load i32, ptr %23, align 4 store i32 %845, ptr %25, align 4 %846 = load i32, ptr %23, align 4 %847 = icmp eq i32 %846, 1 br i1 %847, label %848, label %882 848: ; preds = %844 %849 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %850 = call double @atof(ptr noundef %849) store double %850, ptr %31, align 8 %851 = load double, ptr %31, align 8 %852 = fcmp ogt double %851, 6.000000e+01 br i1 %852, label %853, label %874 853: ; preds = %848 %854 = load double, ptr %31, align 8 %855 = fdiv double %854, 1.000000e+04 %856 = fptosi double %855 to i32 store i32 %856, ptr %33, align 4 %857 = load i32, ptr %33, align 4 %858 = sitofp i32 %857 to double store double %858, ptr %29, align 8 %859 = load double, ptr %31, align 8 %860 = load double, ptr %29, align 8 %861 = fneg double %860 %862 = call double @llvm.fmuladd.f64(double %861, double 1.000000e+04, double %859) %863 = fdiv double %862, 1.000000e+02 %864 = fptosi double %863 to i32 store i32 %864, ptr %33, align 4 %865 = load i32, ptr %33, align 4 %866 = sitofp i32 %865 to double store double %866, ptr %30, align 8 %867 = load double, ptr %31, align 8 %868 = load double, ptr %29, align 8 %869 = fneg double %868 %870 = call double @llvm.fmuladd.f64(double %869, double 1.000000e+04, double %867) %871 = load double, ptr %30, align 8 %872 = fneg double %871 %873 = call double @llvm.fmuladd.f64(double %872, double 1.000000e+02, double %870) store double %873, ptr %31, align 8 br label %881 874: ; preds = %848 %875 = getelementptr inbounds [40 x i8], ptr %16, i64 0, i64 0 %876 = call double @atof(ptr noundef %875) store double %876, ptr %29, align 8 %877 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %878 = call double @atof(ptr noundef %877) store double %878, ptr %30, align 8 %879 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %880 = call double @atof(ptr noundef %879) store double %880, ptr %31, align 8 br label %881 881: ; preds = %874, %853 br label %882 882: ; preds = %881, %844 %883 = load i32, ptr %35, align 4 %884 = sitofp i32 %883 to double %885 = load double, ptr %29, align 8 %886 = load double, ptr %30, align 8 %887 = fdiv double %886, 6.000000e+01 %888 = fadd double %885, %887 %889 = load double, ptr %31, align 8 %890 = fdiv double %889, 3.600000e+03 %891 = fadd double %888, %890 %892 = fmul double %884, %891 %893 = load ptr, ptr %9, align 8 store double %892, ptr %893, align 8 %894 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %895 = getelementptr inbounds [40 x i8], ptr %14, i64 0, i64 0 %896 = call i32 @strcpy(ptr noundef %894, ptr noundef %895) %897 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %898 = call i32 @strlen(ptr noundef %897) store i32 %898, ptr %26, align 4 %899 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %900 = call double @strtod(ptr noundef %899, ptr noundef %21) store double %900, ptr %32, align 8 store i32 0, ptr %33, align 4 br label %901 901: ; preds = %918, %882 %902 = load i32, ptr %33, align 4 %903 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %904 = call i32 @strlen(ptr noundef %903) %905 = icmp slt i32 %902, %904 br i1 %905, label %906, label %921 906: ; preds = %901 %907 = load i32, ptr %33, align 4 %908 = sext i32 %907 to i64 %909 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 %908 %910 = load i8, ptr %909, align 1 %911 = sext i8 %910 to i32 %912 = icmp eq i32 %911, 46 br i1 %912, label %913, label %917 913: ; preds = %906 %914 = load i32, ptr %33, align 4 %915 = sext i32 %914 to i64 %916 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 %915 store i8 0, ptr %916, align 1 br label %917 917: ; preds = %913, %906 br label %918 918: ; preds = %917 %919 = load i32, ptr %33, align 4 %920 = add nsw i32 %919, 1 store i32 %920, ptr %33, align 4 br label %901, !llvm.loop !12 921: ; preds = %901 %922 = load ptr, ptr %21, align 8 %923 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %924 = load i32, ptr %26, align 4 %925 = sext i32 %924 to i64 %926 = getelementptr inbounds i8, ptr %923, i64 %925 %927 = icmp eq ptr %922, %926 br i1 %927, label %928, label %942 928: ; preds = %921 %929 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %930 = call i32 @strlen(ptr noundef %929) %931 = icmp slt i32 %930, 5 br i1 %931, label %932, label %942 932: ; preds = %928 %933 = load double, ptr %32, align 8 %934 = load ptr, ptr %9, align 8 store double %933, ptr %934, align 8 store i32 1, ptr %25, align 4 %935 = load ptr, ptr %9, align 8 %936 = load double, ptr %935, align 8 %937 = call i32 @fabs(double noundef %936) %938 = sitofp i32 %937 to double %939 = fcmp ogt double %938, 9.000000e+01 br i1 %939, label %940, label %941 940: ; preds = %932 store i32 0, ptr %25, align 4 br label %941 941: ; preds = %940, %932 br label %942 942: ; preds = %941, %928, %921 %943 = load i32, ptr %24, align 4 %944 = icmp eq i32 %943, 0 br i1 %944, label %945, label %949 945: ; preds = %942 %946 = load i32, ptr %25, align 4 %947 = icmp eq i32 %946, 0 br i1 %947, label %948, label %949 948: ; preds = %945 store i32 3, ptr %5, align 4 br label %958 949: ; preds = %945, %942 %950 = load i32, ptr %24, align 4 %951 = icmp eq i32 %950, 0 br i1 %951, label %952, label %953 952: ; preds = %949 store i32 1, ptr %5, align 4 br label %958 953: ; preds = %949 %954 = load i32, ptr %25, align 4 %955 = icmp eq i32 %954, 0 br i1 %955, label %956, label %957 956: ; preds = %953 store i32 2, ptr %5, align 4 br label %958 957: ; preds = %953 store i32 0, ptr %5, align 4 br label %958 958: ; preds = %957, %956, %952, %948, %616, %178 %959 = load i32, ptr %5, align 4 ret i32 %959 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @getSubstrings(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @checkFormat(ptr noundef) #1 declare double @atof(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @strtod(ptr noundef, ptr noundef) #1 declare i32 @fabs(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpkdwic65b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sexToDegree(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca [40 x i8], align 16 %11 = alloca [40 x i8], align 16 %12 = alloca [10 x ptr], align 16 %13 = alloca [40 x i8], align 16 %14 = alloca [40 x i8], align 16 %15 = alloca [40 x i8], align 16 %16 = alloca [40 x i8], align 16 %17 = alloca [40 x i8], align 16 %18 = alloca [40 x i8], align 16 %19 = alloca i8, align 1 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca i32, align 4 %34 = alloca i32, align 4 %35 = alloca i32, align 4 %36 = alloca i32, align 4 %37 = alloca i32, align 4 %38 = alloca i32, align 4 %39 = alloca i32, align 4 %40 = 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 ptr %3, ptr %9, align 8 %41 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 0 %42 = load ptr, ptr %6, align 8 %43 = call i32 @strcpy(ptr noundef %41, ptr noundef %42) %44 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 0 %45 = load ptr, ptr %7, align 8 %46 = call i32 @strcpy(ptr noundef %44, ptr noundef %45) store i32 0, ptr %22, align 4 store double 0.000000e+00, ptr %28, align 8 store double 0.000000e+00, ptr %30, align 8 store double 0.000000e+00, ptr %31, align 8 %47 = getelementptr inbounds [40 x i8], ptr %15, i64 0, i64 0 %48 = call i32 @strcpy(ptr noundef %47, ptr noundef @.str) %49 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %50 = call i32 @strcpy(ptr noundef %49, ptr noundef @.str) %51 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %52 = call i32 @strcpy(ptr noundef %51, ptr noundef @.str) %53 = getelementptr inbounds [40 x i8], ptr %14, i64 0, i64 0 %54 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 0 %55 = call i32 @strcpy(ptr noundef %53, ptr noundef %54) store i32 1, ptr %35, align 4 %56 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 0 %57 = call i32 @strlen(ptr noundef %56) store i32 %57, ptr %34, align 4 store i32 0, ptr %33, align 4 %58 = load i32, ptr %33, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 %59 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = icmp eq i32 %62, 32 br i1 %63, label %.lr.ph, label %73 .lr.ph: ; preds = %4 br label %64 64: ; preds = %.lr.ph, %64 %65 = load i32, ptr %33, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %33, align 4 %67 = load i32, ptr %33, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 %68 %70 = load i8, ptr %69, align 1 %71 = sext i8 %70 to i32 %72 = icmp eq i32 %71, 32 br i1 %72, label %64, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %64 br label %73 73: ; preds = %._crit_edge, %4 %74 = load i32, ptr %33, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 %75 %77 = load i8, ptr %76, align 1 %78 = sext i8 %77 to i32 %79 = icmp eq i32 %78, 45 br i1 %79, label %80, label %84 80: ; preds = %73 store i32 -1, ptr %35, align 4 %81 = load i32, ptr %33, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 %82 store i8 32, ptr %83, align 1 br label %96 84: ; preds = %73 %85 = load i32, ptr %33, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 %86 %88 = load i8, ptr %87, align 1 %89 = sext i8 %88 to i32 %90 = icmp eq i32 %89, 43 br i1 %90, label %91, label %95 91: ; preds = %84 %92 = load i32, ptr %33, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 %93 store i8 32, ptr %94, align 1 br label %95 95: ; preds = %91, %84 br label %96 96: ; preds = %95, %80 store i32 0, ptr %38, align 4 store i32 -1, ptr %37, align 4 store i32 -1, ptr %39, align 4 store i32 -1, ptr %40, align 4 %97 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 0 %98 = call i32 @strlen(ptr noundef %97) store i32 %98, ptr %34, align 4 store i32 0, ptr %33, align 4 %99 = load i32, ptr %33, align 4 %100 = load i32, ptr %34, align 4 %101 = sub nsw i32 %100, 1 %102 = icmp sle i32 %99, %101 br i1 %102, label %.lr.ph2, label %156 .lr.ph2: ; preds = %96 br label %103 103: ; preds = %.lr.ph2, %149 %104 = load i32, ptr %33, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 %105 %107 = load i8, ptr %106, align 1 store i8 %107, ptr %19, align 1 %108 = load i8, ptr %19, align 1 %109 = sext i8 %108 to i32 %110 = icmp eq i32 %109, 104 br i1 %110, label %115, label %111 111: ; preds = %103 %112 = load i8, ptr %19, align 1 %113 = sext i8 %112 to i32 %114 = icmp eq i32 %113, 72 br i1 %114, label %115, label %117 115: ; preds = %111, %103 %116 = load i32, ptr %33, align 4 store i32 %116, ptr %37, align 4 br label %128 117: ; preds = %111 %118 = load i8, ptr %19, align 1 %119 = sext i8 %118 to i32 %120 = icmp eq i32 %119, 100 br i1 %120, label %125, label %121 121: ; preds = %117 %122 = load i8, ptr %19, align 1 %123 = sext i8 %122 to i32 %124 = icmp eq i32 %123, 68 br i1 %124, label %125, label %127 125: ; preds = %121, %117 store i32 1, ptr %22, align 4 %126 = load i32, ptr %33, align 4 store i32 %126, ptr %37, align 4 br label %127 127: ; preds = %125, %121 br label %128 128: ; preds = %127, %115 %129 = load i8, ptr %19, align 1 %130 = sext i8 %129 to i32 %131 = icmp eq i32 %130, 109 br i1 %131, label %136, label %132 132: ; preds = %128 %133 = load i8, ptr %19, align 1 %134 = sext i8 %133 to i32 %135 = icmp eq i32 %134, 77 br i1 %135, label %136, label %138 136: ; preds = %132, %128 %137 = load i32, ptr %33, align 4 store i32 %137, ptr %39, align 4 br label %138 138: ; preds = %136, %132 %139 = load i8, ptr %19, align 1 %140 = sext i8 %139 to i32 %141 = icmp eq i32 %140, 115 br i1 %141, label %146, label %142 142: ; preds = %138 %143 = load i8, ptr %19, align 1 %144 = sext i8 %143 to i32 %145 = icmp eq i32 %144, 83 br i1 %145, label %146, label %148 146: ; preds = %142, %138 %147 = load i32, ptr %33, align 4 store i32 %147, ptr %40, align 4 br label %148 148: ; preds = %146, %142 br label %149 149: ; preds = %148 %150 = load i32, ptr %33, align 4 %151 = add nsw i32 %150, 1 store i32 %151, ptr %33, align 4 %152 = load i32, ptr %33, align 4 %153 = load i32, ptr %34, align 4 %154 = sub nsw i32 %153, 1 %155 = icmp sle i32 %152, %154 br i1 %155, label %103, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %149 br label %156 156: ; preds = %._crit_edge3, %96 %157 = load i32, ptr %37, align 4 %158 = icmp sgt i32 %157, 0 br i1 %158, label %159, label %166 159: ; preds = %156 %160 = load i32, ptr %39, align 4 %161 = icmp sgt i32 %160, 0 br i1 %161, label %162, label %166 162: ; preds = %159 %163 = load i32, ptr %37, align 4 %164 = load i32, ptr %39, align 4 %165 = icmp sgt i32 %163, %164 br i1 %165, label %186, label %166 166: ; preds = %162, %159, %156 %167 = load i32, ptr %37, align 4 %168 = icmp sgt i32 %167, 0 br i1 %168, label %169, label %176 169: ; preds = %166 %170 = load i32, ptr %40, align 4 %171 = icmp sgt i32 %170, 0 br i1 %171, label %172, label %176 172: ; preds = %169 %173 = load i32, ptr %37, align 4 %174 = load i32, ptr %40, align 4 %175 = icmp sgt i32 %173, %174 br i1 %175, label %186, label %176 176: ; preds = %172, %169, %166 %177 = load i32, ptr %39, align 4 %178 = icmp sgt i32 %177, 0 br i1 %178, label %179, label %187 179: ; preds = %176 %180 = load i32, ptr %40, align 4 %181 = icmp sgt i32 %180, 0 br i1 %181, label %182, label %187 182: ; preds = %179 %183 = load i32, ptr %39, align 4 %184 = load i32, ptr %40, align 4 %185 = icmp sgt i32 %183, %184 br i1 %185, label %186, label %187 186: ; preds = %182, %172, %162 store i32 1, ptr %5, align 4 br label %978 187: ; preds = %182, %179, %176 %188 = load i32, ptr %37, align 4 %189 = icmp sgt i32 %188, 0 br i1 %189, label %190, label %198 190: ; preds = %187 %191 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 0 store ptr %191, ptr %20, align 8 %192 = getelementptr inbounds [40 x i8], ptr %15, i64 0, i64 0 %193 = load ptr, ptr %20, align 8 %194 = call i32 @strcpy(ptr noundef %192, ptr noundef %193) %195 = load i32, ptr %37, align 4 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds [40 x i8], ptr %15, i64 0, i64 %196 store i8 0, ptr %197, align 1 br label %198 198: ; preds = %190, %187 %199 = load i32, ptr %39, align 4 %200 = icmp sgt i32 %199, 0 br i1 %200, label %201, label %233 201: ; preds = %198 %202 = load i32, ptr %37, align 4 %203 = icmp sgt i32 %202, 0 br i1 %203, label %204, label %224 204: ; preds = %201 %205 = load i32, ptr %39, align 4 %206 = sub nsw i32 %205, 1 %207 = load i32, ptr %37, align 4 %208 = icmp sgt i32 %206, %207 br i1 %208, label %209, label %224 209: ; preds = %204 %210 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 0 %211 = load i32, ptr %37, align 4 %212 = sext i32 %211 to i64 %213 = getelementptr inbounds i8, ptr %210, i64 %212 %214 = getelementptr inbounds i8, ptr %213, i64 1 store ptr %214, ptr %20, align 8 %215 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %216 = load ptr, ptr %20, align 8 %217 = call i32 @strcpy(ptr noundef %215, ptr noundef %216) %218 = load i32, ptr %39, align 4 %219 = load i32, ptr %37, align 4 %220 = sub nsw i32 %218, %219 %221 = sub nsw i32 %220, 1 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 %222 store i8 0, ptr %223, align 1 br label %232 224: ; preds = %204, %201 %225 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 0 store ptr %225, ptr %20, align 8 %226 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %227 = load ptr, ptr %20, align 8 %228 = call i32 @strcpy(ptr noundef %226, ptr noundef %227) %229 = load i32, ptr %39, align 4 %230 = sext i32 %229 to i64 %231 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 %230 store i8 0, ptr %231, align 1 br label %232 232: ; preds = %224, %209 br label %233 233: ; preds = %232, %198 %234 = load i32, ptr %40, align 4 %235 = icmp sgt i32 %234, 0 br i1 %235, label %236, label %292 236: ; preds = %233 %237 = load i32, ptr %39, align 4 %238 = icmp sgt i32 %237, 0 br i1 %238, label %239, label %259 239: ; preds = %236 %240 = load i32, ptr %40, align 4 %241 = sub nsw i32 %240, 1 %242 = load i32, ptr %39, align 4 %243 = icmp sgt i32 %241, %242 br i1 %243, label %244, label %259 244: ; preds = %239 %245 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 0 %246 = load i32, ptr %39, align 4 %247 = sext i32 %246 to i64 %248 = getelementptr inbounds i8, ptr %245, i64 %247 %249 = getelementptr inbounds i8, ptr %248, i64 1 store ptr %249, ptr %20, align 8 %250 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %251 = load ptr, ptr %20, align 8 %252 = call i32 @strcpy(ptr noundef %250, ptr noundef %251) %253 = load i32, ptr %40, align 4 %254 = load i32, ptr %39, align 4 %255 = sub nsw i32 %253, %254 %256 = sub nsw i32 %255, 1 %257 = sext i32 %256 to i64 %258 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 %257 store i8 0, ptr %258, align 1 br label %291 259: ; preds = %239, %236 %260 = load i32, ptr %37, align 4 %261 = icmp sgt i32 %260, 0 br i1 %261, label %262, label %282 262: ; preds = %259 %263 = load i32, ptr %40, align 4 %264 = sub nsw i32 %263, 1 %265 = load i32, ptr %37, align 4 %266 = icmp sgt i32 %264, %265 br i1 %266, label %267, label %282 267: ; preds = %262 %268 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 0 %269 = load i32, ptr %37, align 4 %270 = sext i32 %269 to i64 %271 = getelementptr inbounds i8, ptr %268, i64 %270 %272 = getelementptr inbounds i8, ptr %271, i64 1 store ptr %272, ptr %20, align 8 %273 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %274 = load ptr, ptr %20, align 8 %275 = call i32 @strcpy(ptr noundef %273, ptr noundef %274) %276 = load i32, ptr %40, align 4 %277 = load i32, ptr %37, align 4 %278 = sub nsw i32 %276, %277 %279 = sub nsw i32 %278, 1 %280 = sext i32 %279 to i64 %281 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 %280 store i8 0, ptr %281, align 1 br label %290 282: ; preds = %262, %259 %283 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 0 store ptr %283, ptr %20, align 8 %284 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %285 = load ptr, ptr %20, align 8 %286 = call i32 @strcpy(ptr noundef %284, ptr noundef %285) %287 = load i32, ptr %40, align 4 %288 = sext i32 %287 to i64 %289 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 %288 store i8 0, ptr %289, align 1 br label %290 290: ; preds = %282, %267 br label %291 291: ; preds = %290, %244 br label %292 292: ; preds = %291, %233 store i32 0, ptr %36, align 4 %293 = load i32, ptr %37, align 4 %294 = icmp eq i32 %293, -1 br i1 %294, label %295, label %341 295: ; preds = %292 %296 = load i32, ptr %39, align 4 %297 = icmp eq i32 %296, -1 br i1 %297, label %298, label %341 298: ; preds = %295 %299 = load i32, ptr %40, align 4 %300 = icmp eq i32 %299, -1 br i1 %300, label %301, label %341 301: ; preds = %298 %302 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 0 %303 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %304 = call i32 @getSubstrings(ptr noundef %302, ptr noundef %303, ptr noundef %36) %305 = load i32, ptr %36, align 4 %306 = icmp sge i32 %305, 3 br i1 %306, label %307, label %320 307: ; preds = %301 %308 = getelementptr inbounds [40 x i8], ptr %15, i64 0, i64 0 %309 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %310 = load ptr, ptr %309, align 16 %311 = call i32 @strcpy(ptr noundef %308, ptr noundef %310) %312 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %313 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 1 %314 = load ptr, ptr %313, align 8 %315 = call i32 @strcpy(ptr noundef %312, ptr noundef %314) %316 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %317 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 2 %318 = load ptr, ptr %317, align 16 %319 = call i32 @strcpy(ptr noundef %316, ptr noundef %318) br label %320 320: ; preds = %307, %301 %321 = load i32, ptr %36, align 4 %322 = icmp eq i32 %321, 2 br i1 %322, label %323, label %332 323: ; preds = %320 %324 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %325 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %326 = load ptr, ptr %325, align 16 %327 = call i32 @strcpy(ptr noundef %324, ptr noundef %326) %328 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %329 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 1 %330 = load ptr, ptr %329, align 8 %331 = call i32 @strcpy(ptr noundef %328, ptr noundef %330) br label %332 332: ; preds = %323, %320 %333 = load i32, ptr %36, align 4 %334 = icmp eq i32 %333, 1 br i1 %334, label %335, label %340 335: ; preds = %332 %336 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %337 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %338 = load ptr, ptr %337, align 16 %339 = call i32 @strcpy(ptr noundef %336, ptr noundef %338) br label %340 340: ; preds = %335, %332 br label %396 341: ; preds = %298, %295, %292 %342 = load i32, ptr %39, align 4 %343 = icmp eq i32 %342, -1 br i1 %343, label %344, label %375 344: ; preds = %341 %345 = load i32, ptr %40, align 4 %346 = icmp eq i32 %345, -1 br i1 %346, label %347, label %375 347: ; preds = %344 %348 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 0 %349 = load i32, ptr %37, align 4 %350 = sext i32 %349 to i64 %351 = getelementptr inbounds i8, ptr %348, i64 %350 %352 = getelementptr inbounds i8, ptr %351, i64 1 %353 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %354 = call i32 @getSubstrings(ptr noundef %352, ptr noundef %353, ptr noundef %36) %355 = load i32, ptr %36, align 4 %356 = icmp eq i32 %355, 2 br i1 %356, label %357, label %366 357: ; preds = %347 %358 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %359 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %360 = load ptr, ptr %359, align 16 %361 = call i32 @strcpy(ptr noundef %358, ptr noundef %360) %362 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %363 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 1 %364 = load ptr, ptr %363, align 8 %365 = call i32 @strcpy(ptr noundef %362, ptr noundef %364) br label %366 366: ; preds = %357, %347 %367 = load i32, ptr %36, align 4 %368 = icmp eq i32 %367, 1 br i1 %368, label %369, label %374 369: ; preds = %366 %370 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %371 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %372 = load ptr, ptr %371, align 16 %373 = call i32 @strcpy(ptr noundef %370, ptr noundef %372) br label %374 374: ; preds = %369, %366 br label %395 375: ; preds = %344, %341 %376 = load i32, ptr %40, align 4 %377 = icmp eq i32 %376, -1 br i1 %377, label %378, label %394 378: ; preds = %375 %379 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 0 %380 = load i32, ptr %39, align 4 %381 = sext i32 %380 to i64 %382 = getelementptr inbounds i8, ptr %379, i64 %381 %383 = getelementptr inbounds i8, ptr %382, i64 1 %384 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %385 = call i32 @getSubstrings(ptr noundef %383, ptr noundef %384, ptr noundef %36) %386 = load i32, ptr %36, align 4 %387 = icmp eq i32 %386, 1 br i1 %387, label %388, label %393 388: ; preds = %378 %389 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %390 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %391 = load ptr, ptr %390, align 16 %392 = call i32 @strcpy(ptr noundef %389, ptr noundef %391) br label %393 393: ; preds = %388, %378 br label %394 394: ; preds = %393, %375 br label %395 395: ; preds = %394, %374 br label %396 396: ; preds = %395, %340 %397 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %398 = call i32 @checkFormat(ptr noundef %397) store i32 %398, ptr %23, align 4 %399 = load i32, ptr %23, align 4 %400 = icmp eq i32 %399, 1 br i1 %400, label %401, label %406 401: ; preds = %396 %402 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %403 = call i32 @checkFormat(ptr noundef %402) store i32 %403, ptr %23, align 4 %404 = getelementptr inbounds [40 x i8], ptr %15, i64 0, i64 0 %405 = call i32 @checkFormat(ptr noundef %404) store i32 %405, ptr %23, align 4 br label %406 406: ; preds = %401, %396 %407 = load i32, ptr %23, align 4 store i32 %407, ptr %24, align 4 %408 = load i32, ptr %23, align 4 %409 = icmp eq i32 %408, 1 br i1 %409, label %410, label %444 410: ; preds = %406 %411 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %412 = call double @atof(ptr noundef %411) store double %412, ptr %31, align 8 %413 = load double, ptr %31, align 8 %414 = fcmp ogt double %413, 6.000000e+01 br i1 %414, label %415, label %436 415: ; preds = %410 %416 = load double, ptr %31, align 8 %417 = fdiv double %416, 1.000000e+04 %418 = fptosi double %417 to i32 store i32 %418, ptr %33, align 4 %419 = load i32, ptr %33, align 4 %420 = sitofp i32 %419 to double store double %420, ptr %28, align 8 %421 = load double, ptr %31, align 8 %422 = load double, ptr %28, align 8 %423 = fneg double %422 %424 = call double @llvm.fmuladd.f64(double %423, double 1.000000e+04, double %421) %425 = fdiv double %424, 1.000000e+02 %426 = fptosi double %425 to i32 store i32 %426, ptr %33, align 4 %427 = load i32, ptr %33, align 4 %428 = sitofp i32 %427 to double store double %428, ptr %30, align 8 %429 = load double, ptr %31, align 8 %430 = load double, ptr %28, align 8 %431 = fneg double %430 %432 = call double @llvm.fmuladd.f64(double %431, double 1.000000e+04, double %429) %433 = load double, ptr %30, align 8 %434 = fneg double %433 %435 = call double @llvm.fmuladd.f64(double %434, double 1.000000e+02, double %432) store double %435, ptr %31, align 8 br label %443 436: ; preds = %410 %437 = getelementptr inbounds [40 x i8], ptr %15, i64 0, i64 0 %438 = call double @atof(ptr noundef %437) store double %438, ptr %28, align 8 %439 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %440 = call double @atof(ptr noundef %439) store double %440, ptr %30, align 8 %441 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %442 = call double @atof(ptr noundef %441) store double %442, ptr %31, align 8 br label %443 443: ; preds = %436, %415 br label %444 444: ; preds = %443, %406 store double 1.500000e+01, ptr %27, align 8 %445 = load i32, ptr %22, align 4 %446 = icmp eq i32 %445, 1 br i1 %446, label %447, label %448 447: ; preds = %444 store double 1.000000e+00, ptr %27, align 8 br label %448 448: ; preds = %447, %444 %449 = load i32, ptr %35, align 4 %450 = sitofp i32 %449 to double %451 = load double, ptr %27, align 8 %452 = fmul double %450, %451 %453 = load double, ptr %28, align 8 %454 = load double, ptr %30, align 8 %455 = fdiv double %454, 6.000000e+01 %456 = fadd double %453, %455 %457 = load double, ptr %31, align 8 %458 = fdiv double %457, 3.600000e+03 %459 = fadd double %456, %458 %460 = fmul double %452, %459 %461 = load ptr, ptr %8, align 8 store double %460, ptr %461, align 8 %462 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %463 = getelementptr inbounds [40 x i8], ptr %14, i64 0, i64 0 %464 = call i32 @strcpy(ptr noundef %462, ptr noundef %463) %465 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %466 = call i32 @strlen(ptr noundef %465) store i32 %466, ptr %26, align 4 %467 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %468 = call double @strtod(ptr noundef %467, ptr noundef %21) store double %468, ptr %32, align 8 store i32 0, ptr %33, align 4 %469 = load i32, ptr %33, align 4 %470 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %471 = call i32 @strlen(ptr noundef %470) %472 = icmp slt i32 %469, %471 br i1 %472, label %.lr.ph5, label %491 .lr.ph5: ; preds = %448 br label %473 473: ; preds = %.lr.ph5, %485 %474 = load i32, ptr %33, align 4 %475 = sext i32 %474 to i64 %476 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 %475 %477 = load i8, ptr %476, align 1 %478 = sext i8 %477 to i32 %479 = icmp eq i32 %478, 46 br i1 %479, label %480, label %484 480: ; preds = %473 %481 = load i32, ptr %33, align 4 %482 = sext i32 %481 to i64 %483 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 %482 store i8 0, ptr %483, align 1 br label %484 484: ; preds = %480, %473 br label %485 485: ; preds = %484 %486 = load i32, ptr %33, align 4 %487 = add nsw i32 %486, 1 store i32 %487, ptr %33, align 4 %488 = load i32, ptr %33, align 4 %489 = call i32 @strlen(ptr noundef %470) %490 = icmp slt i32 %488, %489 br i1 %490, label %473, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %485 br label %491 491: ; preds = %._crit_edge6, %448 %492 = load ptr, ptr %21, align 8 %493 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %494 = load i32, ptr %26, align 4 %495 = sext i32 %494 to i64 %496 = getelementptr inbounds i8, ptr %493, i64 %495 %497 = icmp eq ptr %492, %496 br i1 %497, label %498, label %505 498: ; preds = %491 %499 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %500 = call i32 @strlen(ptr noundef %499) %501 = icmp slt i32 %500, 5 br i1 %501, label %502, label %505 502: ; preds = %498 %503 = load double, ptr %32, align 8 %504 = load ptr, ptr %8, align 8 store double %503, ptr %504, align 8 store i32 0, ptr %24, align 4 br label %505 505: ; preds = %502, %498, %491 store double 0.000000e+00, ptr %29, align 8 store double 0.000000e+00, ptr %30, align 8 store double 0.000000e+00, ptr %31, align 8 %506 = getelementptr inbounds [40 x i8], ptr %16, i64 0, i64 0 %507 = call i32 @strcpy(ptr noundef %506, ptr noundef @.str) %508 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %509 = call i32 @strcpy(ptr noundef %508, ptr noundef @.str) %510 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %511 = call i32 @strcpy(ptr noundef %510, ptr noundef @.str) %512 = getelementptr inbounds [40 x i8], ptr %14, i64 0, i64 0 %513 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 0 %514 = call i32 @strcpy(ptr noundef %512, ptr noundef %513) store i32 1, ptr %35, align 4 %515 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 0 %516 = call i32 @strlen(ptr noundef %515) store i32 %516, ptr %34, align 4 store i32 0, ptr %33, align 4 %517 = load i32, ptr %33, align 4 %518 = sext i32 %517 to i64 %519 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 %518 %520 = load i8, ptr %519, align 1 %521 = sext i8 %520 to i32 %522 = icmp eq i32 %521, 32 br i1 %522, label %.lr.ph8, label %532 .lr.ph8: ; preds = %505 br label %523 523: ; preds = %.lr.ph8, %523 %524 = load i32, ptr %33, align 4 %525 = add nsw i32 %524, 1 store i32 %525, ptr %33, align 4 %526 = load i32, ptr %33, align 4 %527 = sext i32 %526 to i64 %528 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 %527 %529 = load i8, ptr %528, align 1 %530 = sext i8 %529 to i32 %531 = icmp eq i32 %530, 32 br i1 %531, label %523, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %523 br label %532 532: ; preds = %._crit_edge9, %505 %533 = load i32, ptr %33, align 4 %534 = sext i32 %533 to i64 %535 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 %534 %536 = load i8, ptr %535, align 1 %537 = sext i8 %536 to i32 %538 = icmp eq i32 %537, 45 br i1 %538, label %539, label %543 539: ; preds = %532 store i32 -1, ptr %35, align 4 %540 = load i32, ptr %33, align 4 %541 = sext i32 %540 to i64 %542 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 %541 store i8 32, ptr %542, align 1 br label %555 543: ; preds = %532 %544 = load i32, ptr %33, align 4 %545 = sext i32 %544 to i64 %546 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 %545 %547 = load i8, ptr %546, align 1 %548 = sext i8 %547 to i32 %549 = icmp eq i32 %548, 43 br i1 %549, label %550, label %554 550: ; preds = %543 %551 = load i32, ptr %33, align 4 %552 = sext i32 %551 to i64 %553 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 %552 store i8 32, ptr %553, align 1 br label %554 554: ; preds = %550, %543 br label %555 555: ; preds = %554, %539 store i32 -1, ptr %38, align 4 store i32 -1, ptr %39, align 4 store i32 -1, ptr %40, align 4 %556 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 0 %557 = call i32 @strlen(ptr noundef %556) store i32 %557, ptr %34, align 4 store i32 0, ptr %33, align 4 %558 = load i32, ptr %33, align 4 %559 = load i32, ptr %34, align 4 %560 = sub nsw i32 %559, 1 %561 = icmp sle i32 %558, %560 br i1 %561, label %.lr.ph11, label %604 .lr.ph11: ; preds = %555 br label %562 562: ; preds = %.lr.ph11, %597 %563 = load i32, ptr %33, align 4 %564 = sext i32 %563 to i64 %565 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 %564 %566 = load i8, ptr %565, align 1 store i8 %566, ptr %19, align 1 %567 = load i8, ptr %19, align 1 %568 = sext i8 %567 to i32 %569 = icmp eq i32 %568, 100 br i1 %569, label %574, label %570 570: ; preds = %562 %571 = load i8, ptr %19, align 1 %572 = sext i8 %571 to i32 %573 = icmp eq i32 %572, 68 br i1 %573, label %574, label %576 574: ; preds = %570, %562 %575 = load i32, ptr %33, align 4 store i32 %575, ptr %38, align 4 br label %576 576: ; preds = %574, %570 %577 = load i8, ptr %19, align 1 %578 = sext i8 %577 to i32 %579 = icmp eq i32 %578, 109 br i1 %579, label %584, label %580 580: ; preds = %576 %581 = load i8, ptr %19, align 1 %582 = sext i8 %581 to i32 %583 = icmp eq i32 %582, 77 br i1 %583, label %584, label %586 584: ; preds = %580, %576 %585 = load i32, ptr %33, align 4 store i32 %585, ptr %39, align 4 br label %586 586: ; preds = %584, %580 %587 = load i8, ptr %19, align 1 %588 = sext i8 %587 to i32 %589 = icmp eq i32 %588, 115 br i1 %589, label %594, label %590 590: ; preds = %586 %591 = load i8, ptr %19, align 1 %592 = sext i8 %591 to i32 %593 = icmp eq i32 %592, 83 br i1 %593, label %594, label %596 594: ; preds = %590, %586 %595 = load i32, ptr %33, align 4 store i32 %595, ptr %40, align 4 br label %596 596: ; preds = %594, %590 br label %597 597: ; preds = %596 %598 = load i32, ptr %33, align 4 %599 = add nsw i32 %598, 1 store i32 %599, ptr %33, align 4 %600 = load i32, ptr %33, align 4 %601 = load i32, ptr %34, align 4 %602 = sub nsw i32 %601, 1 %603 = icmp sle i32 %600, %602 br i1 %603, label %562, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %597 br label %604 604: ; preds = %._crit_edge12, %555 %605 = load i32, ptr %38, align 4 %606 = icmp sgt i32 %605, 0 br i1 %606, label %607, label %614 607: ; preds = %604 %608 = load i32, ptr %39, align 4 %609 = icmp sgt i32 %608, 0 br i1 %609, label %610, label %614 610: ; preds = %607 %611 = load i32, ptr %38, align 4 %612 = load i32, ptr %39, align 4 %613 = icmp sgt i32 %611, %612 br i1 %613, label %634, label %614 614: ; preds = %610, %607, %604 %615 = load i32, ptr %38, align 4 %616 = icmp sgt i32 %615, 0 br i1 %616, label %617, label %624 617: ; preds = %614 %618 = load i32, ptr %40, align 4 %619 = icmp sgt i32 %618, 0 br i1 %619, label %620, label %624 620: ; preds = %617 %621 = load i32, ptr %38, align 4 %622 = load i32, ptr %40, align 4 %623 = icmp sgt i32 %621, %622 br i1 %623, label %634, label %624 624: ; preds = %620, %617, %614 %625 = load i32, ptr %39, align 4 %626 = icmp sgt i32 %625, 0 br i1 %626, label %627, label %635 627: ; preds = %624 %628 = load i32, ptr %40, align 4 %629 = icmp sgt i32 %628, 0 br i1 %629, label %630, label %635 630: ; preds = %627 %631 = load i32, ptr %39, align 4 %632 = load i32, ptr %40, align 4 %633 = icmp sgt i32 %631, %632 br i1 %633, label %634, label %635 634: ; preds = %630, %620, %610 store i32 1, ptr %5, align 4 br label %978 635: ; preds = %630, %627, %624 %636 = load i32, ptr %38, align 4 %637 = icmp sgt i32 %636, 0 br i1 %637, label %638, label %646 638: ; preds = %635 %639 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 0 store ptr %639, ptr %20, align 8 %640 = getelementptr inbounds [40 x i8], ptr %16, i64 0, i64 0 %641 = load ptr, ptr %20, align 8 %642 = call i32 @strcpy(ptr noundef %640, ptr noundef %641) %643 = load i32, ptr %38, align 4 %644 = sext i32 %643 to i64 %645 = getelementptr inbounds [40 x i8], ptr %16, i64 0, i64 %644 store i8 0, ptr %645, align 1 br label %646 646: ; preds = %638, %635 %647 = load i32, ptr %39, align 4 %648 = icmp sgt i32 %647, 0 br i1 %648, label %649, label %681 649: ; preds = %646 %650 = load i32, ptr %38, align 4 %651 = icmp sgt i32 %650, 0 br i1 %651, label %652, label %672 652: ; preds = %649 %653 = load i32, ptr %39, align 4 %654 = sub nsw i32 %653, 1 %655 = load i32, ptr %38, align 4 %656 = icmp sgt i32 %654, %655 br i1 %656, label %657, label %672 657: ; preds = %652 %658 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 0 %659 = load i32, ptr %38, align 4 %660 = sext i32 %659 to i64 %661 = getelementptr inbounds i8, ptr %658, i64 %660 %662 = getelementptr inbounds i8, ptr %661, i64 1 store ptr %662, ptr %20, align 8 %663 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %664 = load ptr, ptr %20, align 8 %665 = call i32 @strcpy(ptr noundef %663, ptr noundef %664) %666 = load i32, ptr %39, align 4 %667 = load i32, ptr %38, align 4 %668 = sub nsw i32 %666, %667 %669 = sub nsw i32 %668, 1 %670 = sext i32 %669 to i64 %671 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 %670 store i8 0, ptr %671, align 1 br label %680 672: ; preds = %652, %649 %673 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 0 store ptr %673, ptr %20, align 8 %674 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %675 = load ptr, ptr %20, align 8 %676 = call i32 @strcpy(ptr noundef %674, ptr noundef %675) %677 = load i32, ptr %39, align 4 %678 = sext i32 %677 to i64 %679 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 %678 store i8 0, ptr %679, align 1 br label %680 680: ; preds = %672, %657 br label %681 681: ; preds = %680, %646 %682 = load i32, ptr %40, align 4 %683 = icmp sgt i32 %682, 0 br i1 %683, label %684, label %740 684: ; preds = %681 %685 = load i32, ptr %39, align 4 %686 = icmp sgt i32 %685, 0 br i1 %686, label %687, label %707 687: ; preds = %684 %688 = load i32, ptr %40, align 4 %689 = sub nsw i32 %688, 1 %690 = load i32, ptr %39, align 4 %691 = icmp sgt i32 %689, %690 br i1 %691, label %692, label %707 692: ; preds = %687 %693 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 0 %694 = load i32, ptr %39, align 4 %695 = sext i32 %694 to i64 %696 = getelementptr inbounds i8, ptr %693, i64 %695 %697 = getelementptr inbounds i8, ptr %696, i64 1 store ptr %697, ptr %20, align 8 %698 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %699 = load ptr, ptr %20, align 8 %700 = call i32 @strcpy(ptr noundef %698, ptr noundef %699) %701 = load i32, ptr %40, align 4 %702 = load i32, ptr %39, align 4 %703 = sub nsw i32 %701, %702 %704 = sub nsw i32 %703, 1 %705 = sext i32 %704 to i64 %706 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 %705 store i8 0, ptr %706, align 1 br label %739 707: ; preds = %687, %684 %708 = load i32, ptr %38, align 4 %709 = icmp sgt i32 %708, 0 br i1 %709, label %710, label %730 710: ; preds = %707 %711 = load i32, ptr %40, align 4 %712 = sub nsw i32 %711, 1 %713 = load i32, ptr %38, align 4 %714 = icmp sgt i32 %712, %713 br i1 %714, label %715, label %730 715: ; preds = %710 %716 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 0 %717 = load i32, ptr %38, align 4 %718 = sext i32 %717 to i64 %719 = getelementptr inbounds i8, ptr %716, i64 %718 %720 = getelementptr inbounds i8, ptr %719, i64 1 store ptr %720, ptr %20, align 8 %721 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %722 = load ptr, ptr %20, align 8 %723 = call i32 @strcpy(ptr noundef %721, ptr noundef %722) %724 = load i32, ptr %40, align 4 %725 = load i32, ptr %38, align 4 %726 = sub nsw i32 %724, %725 %727 = sub nsw i32 %726, 1 %728 = sext i32 %727 to i64 %729 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 %728 store i8 0, ptr %729, align 1 br label %738 730: ; preds = %710, %707 %731 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 0 store ptr %731, ptr %20, align 8 %732 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %733 = load ptr, ptr %20, align 8 %734 = call i32 @strcpy(ptr noundef %732, ptr noundef %733) %735 = load i32, ptr %40, align 4 %736 = sext i32 %735 to i64 %737 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 %736 store i8 0, ptr %737, align 1 br label %738 738: ; preds = %730, %715 br label %739 739: ; preds = %738, %692 br label %740 740: ; preds = %739, %681 store i32 0, ptr %36, align 4 %741 = load i32, ptr %38, align 4 %742 = icmp eq i32 %741, -1 br i1 %742, label %743, label %789 743: ; preds = %740 %744 = load i32, ptr %39, align 4 %745 = icmp eq i32 %744, -1 br i1 %745, label %746, label %789 746: ; preds = %743 %747 = load i32, ptr %40, align 4 %748 = icmp eq i32 %747, -1 br i1 %748, label %749, label %789 749: ; preds = %746 %750 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 0 %751 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %752 = call i32 @getSubstrings(ptr noundef %750, ptr noundef %751, ptr noundef %36) %753 = load i32, ptr %36, align 4 %754 = icmp sge i32 %753, 3 br i1 %754, label %755, label %768 755: ; preds = %749 %756 = getelementptr inbounds [40 x i8], ptr %16, i64 0, i64 0 %757 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %758 = load ptr, ptr %757, align 16 %759 = call i32 @strcpy(ptr noundef %756, ptr noundef %758) %760 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %761 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 1 %762 = load ptr, ptr %761, align 8 %763 = call i32 @strcpy(ptr noundef %760, ptr noundef %762) %764 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %765 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 2 %766 = load ptr, ptr %765, align 16 %767 = call i32 @strcpy(ptr noundef %764, ptr noundef %766) br label %768 768: ; preds = %755, %749 %769 = load i32, ptr %36, align 4 %770 = icmp eq i32 %769, 2 br i1 %770, label %771, label %780 771: ; preds = %768 %772 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %773 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %774 = load ptr, ptr %773, align 16 %775 = call i32 @strcpy(ptr noundef %772, ptr noundef %774) %776 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %777 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 1 %778 = load ptr, ptr %777, align 8 %779 = call i32 @strcpy(ptr noundef %776, ptr noundef %778) br label %780 780: ; preds = %771, %768 %781 = load i32, ptr %36, align 4 %782 = icmp eq i32 %781, 1 br i1 %782, label %783, label %788 783: ; preds = %780 %784 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %785 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %786 = load ptr, ptr %785, align 16 %787 = call i32 @strcpy(ptr noundef %784, ptr noundef %786) br label %788 788: ; preds = %783, %780 br label %848 789: ; preds = %746, %743, %740 %790 = load i32, ptr %39, align 4 %791 = icmp eq i32 %790, -1 br i1 %791, label %792, label %827 792: ; preds = %789 %793 = load i32, ptr %40, align 4 %794 = icmp eq i32 %793, -1 br i1 %794, label %795, label %827 795: ; preds = %792 %796 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 0 %797 = load i32, ptr %38, align 4 %798 = sext i32 %797 to i64 %799 = getelementptr inbounds i8, ptr %796, i64 %798 %800 = getelementptr inbounds i8, ptr %799, i64 1 %801 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %802 = call i32 @getSubstrings(ptr noundef %800, ptr noundef %801, ptr noundef %36) %803 = load i32, ptr %36, align 4 %804 = icmp eq i32 %803, 2 br i1 %804, label %805, label %818 805: ; preds = %795 %806 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %807 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %808 = load ptr, ptr %807, align 16 %809 = call i32 @strcpy(ptr noundef %806, ptr noundef %808) %810 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %811 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %812 = load ptr, ptr %811, align 16 %813 = call i32 @strcpy(ptr noundef %810, ptr noundef %812) %814 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %815 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 1 %816 = load ptr, ptr %815, align 8 %817 = call i32 @strcpy(ptr noundef %814, ptr noundef %816) br label %818 818: ; preds = %805, %795 %819 = load i32, ptr %36, align 4 %820 = icmp eq i32 %819, 1 br i1 %820, label %821, label %826 821: ; preds = %818 %822 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %823 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %824 = load ptr, ptr %823, align 16 %825 = call i32 @strcpy(ptr noundef %822, ptr noundef %824) br label %826 826: ; preds = %821, %818 br label %847 827: ; preds = %792, %789 %828 = load i32, ptr %40, align 4 %829 = icmp eq i32 %828, -1 br i1 %829, label %830, label %846 830: ; preds = %827 %831 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 0 %832 = load i32, ptr %39, align 4 %833 = sext i32 %832 to i64 %834 = getelementptr inbounds i8, ptr %831, i64 %833 %835 = getelementptr inbounds i8, ptr %834, i64 1 %836 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %837 = call i32 @getSubstrings(ptr noundef %835, ptr noundef %836, ptr noundef %36) %838 = load i32, ptr %36, align 4 %839 = icmp eq i32 %838, 1 br i1 %839, label %840, label %845 840: ; preds = %830 %841 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %842 = getelementptr inbounds [10 x ptr], ptr %12, i64 0, i64 0 %843 = load ptr, ptr %842, align 16 %844 = call i32 @strcpy(ptr noundef %841, ptr noundef %843) br label %845 845: ; preds = %840, %830 br label %846 846: ; preds = %845, %827 br label %847 847: ; preds = %846, %826 br label %848 848: ; preds = %847, %788 %849 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %850 = call i32 @checkFormat(ptr noundef %849) store i32 %850, ptr %23, align 4 %851 = load i32, ptr %23, align 4 %852 = icmp eq i32 %851, 1 br i1 %852, label %853, label %856 853: ; preds = %848 %854 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %855 = call i32 @checkFormat(ptr noundef %854) store i32 %855, ptr %23, align 4 br label %856 856: ; preds = %853, %848 %857 = load i32, ptr %23, align 4 %858 = icmp eq i32 %857, 1 br i1 %858, label %859, label %862 859: ; preds = %856 %860 = getelementptr inbounds [40 x i8], ptr %16, i64 0, i64 0 %861 = call i32 @checkFormat(ptr noundef %860) store i32 %861, ptr %23, align 4 br label %862 862: ; preds = %859, %856 %863 = load i32, ptr %23, align 4 store i32 %863, ptr %25, align 4 %864 = load i32, ptr %23, align 4 %865 = icmp eq i32 %864, 1 br i1 %865, label %866, label %900 866: ; preds = %862 %867 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %868 = call double @atof(ptr noundef %867) store double %868, ptr %31, align 8 %869 = load double, ptr %31, align 8 %870 = fcmp ogt double %869, 6.000000e+01 br i1 %870, label %871, label %892 871: ; preds = %866 %872 = load double, ptr %31, align 8 %873 = fdiv double %872, 1.000000e+04 %874 = fptosi double %873 to i32 store i32 %874, ptr %33, align 4 %875 = load i32, ptr %33, align 4 %876 = sitofp i32 %875 to double store double %876, ptr %29, align 8 %877 = load double, ptr %31, align 8 %878 = load double, ptr %29, align 8 %879 = fneg double %878 %880 = call double @llvm.fmuladd.f64(double %879, double 1.000000e+04, double %877) %881 = fdiv double %880, 1.000000e+02 %882 = fptosi double %881 to i32 store i32 %882, ptr %33, align 4 %883 = load i32, ptr %33, align 4 %884 = sitofp i32 %883 to double store double %884, ptr %30, align 8 %885 = load double, ptr %31, align 8 %886 = load double, ptr %29, align 8 %887 = fneg double %886 %888 = call double @llvm.fmuladd.f64(double %887, double 1.000000e+04, double %885) %889 = load double, ptr %30, align 8 %890 = fneg double %889 %891 = call double @llvm.fmuladd.f64(double %890, double 1.000000e+02, double %888) store double %891, ptr %31, align 8 br label %899 892: ; preds = %866 %893 = getelementptr inbounds [40 x i8], ptr %16, i64 0, i64 0 %894 = call double @atof(ptr noundef %893) store double %894, ptr %29, align 8 %895 = getelementptr inbounds [40 x i8], ptr %17, i64 0, i64 0 %896 = call double @atof(ptr noundef %895) store double %896, ptr %30, align 8 %897 = getelementptr inbounds [40 x i8], ptr %18, i64 0, i64 0 %898 = call double @atof(ptr noundef %897) store double %898, ptr %31, align 8 br label %899 899: ; preds = %892, %871 br label %900 900: ; preds = %899, %862 %901 = load i32, ptr %35, align 4 %902 = sitofp i32 %901 to double %903 = load double, ptr %29, align 8 %904 = load double, ptr %30, align 8 %905 = fdiv double %904, 6.000000e+01 %906 = fadd double %903, %905 %907 = load double, ptr %31, align 8 %908 = fdiv double %907, 3.600000e+03 %909 = fadd double %906, %908 %910 = fmul double %902, %909 %911 = load ptr, ptr %9, align 8 store double %910, ptr %911, align 8 %912 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %913 = getelementptr inbounds [40 x i8], ptr %14, i64 0, i64 0 %914 = call i32 @strcpy(ptr noundef %912, ptr noundef %913) %915 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %916 = call i32 @strlen(ptr noundef %915) store i32 %916, ptr %26, align 4 %917 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %918 = call double @strtod(ptr noundef %917, ptr noundef %21) store double %918, ptr %32, align 8 store i32 0, ptr %33, align 4 %919 = load i32, ptr %33, align 4 %920 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %921 = call i32 @strlen(ptr noundef %920) %922 = icmp slt i32 %919, %921 br i1 %922, label %.lr.ph14, label %941 .lr.ph14: ; preds = %900 br label %923 923: ; preds = %.lr.ph14, %935 %924 = load i32, ptr %33, align 4 %925 = sext i32 %924 to i64 %926 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 %925 %927 = load i8, ptr %926, align 1 %928 = sext i8 %927 to i32 %929 = icmp eq i32 %928, 46 br i1 %929, label %930, label %934 930: ; preds = %923 %931 = load i32, ptr %33, align 4 %932 = sext i32 %931 to i64 %933 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 %932 store i8 0, ptr %933, align 1 br label %934 934: ; preds = %930, %923 br label %935 935: ; preds = %934 %936 = load i32, ptr %33, align 4 %937 = add nsw i32 %936, 1 store i32 %937, ptr %33, align 4 %938 = load i32, ptr %33, align 4 %939 = call i32 @strlen(ptr noundef %920) %940 = icmp slt i32 %938, %939 br i1 %940, label %923, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %935 br label %941 941: ; preds = %._crit_edge15, %900 %942 = load ptr, ptr %21, align 8 %943 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %944 = load i32, ptr %26, align 4 %945 = sext i32 %944 to i64 %946 = getelementptr inbounds i8, ptr %943, i64 %945 %947 = icmp eq ptr %942, %946 br i1 %947, label %948, label %962 948: ; preds = %941 %949 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %950 = call i32 @strlen(ptr noundef %949) %951 = icmp slt i32 %950, 5 br i1 %951, label %952, label %962 952: ; preds = %948 %953 = load double, ptr %32, align 8 %954 = load ptr, ptr %9, align 8 store double %953, ptr %954, align 8 store i32 1, ptr %25, align 4 %955 = load ptr, ptr %9, align 8 %956 = load double, ptr %955, align 8 %957 = call i32 @fabs(double noundef %956) %958 = sitofp i32 %957 to double %959 = fcmp ogt double %958, 9.000000e+01 br i1 %959, label %960, label %961 960: ; preds = %952 store i32 0, ptr %25, align 4 br label %961 961: ; preds = %960, %952 br label %962 962: ; preds = %961, %948, %941 %963 = load i32, ptr %24, align 4 %964 = icmp eq i32 %963, 0 br i1 %964, label %965, label %969 965: ; preds = %962 %966 = load i32, ptr %25, align 4 %967 = icmp eq i32 %966, 0 br i1 %967, label %968, label %969 968: ; preds = %965 store i32 3, ptr %5, align 4 br label %978 969: ; preds = %965, %962 %970 = load i32, ptr %24, align 4 %971 = icmp eq i32 %970, 0 br i1 %971, label %972, label %973 972: ; preds = %969 store i32 1, ptr %5, align 4 br label %978 973: ; preds = %969 %974 = load i32, ptr %25, align 4 %975 = icmp eq i32 %974, 0 br i1 %975, label %976, label %977 976: ; preds = %973 store i32 2, ptr %5, align 4 br label %978 977: ; preds = %973 store i32 0, ptr %5, align 4 br label %978 978: ; preds = %977, %976, %972, %968, %634, %186 %979 = load i32, ptr %5, align 4 ret i32 %979 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @getSubstrings(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @checkFormat(ptr noundef) #1 declare double @atof(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @strtod(ptr noundef, ptr noundef) #1 declare i32 @fabs(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp3yxf3jkx.c' source_filename = "/tmp/tmp3yxf3jkx.c" target datalayout = "e-m:e-p270: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 [29 x i8] c"liw_strncpy failed for <%s>\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_ncpy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [16 x i8], align 16 %4 = alloca [16 x i8], align 16 store ptr %0, ptr %2, align 8 %5 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 0 %6 = call i32 @memset(ptr noundef %5, i32 noundef 66, i32 noundef 16) %7 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 0 %8 = load ptr, ptr %2, align 8 %9 = call i32 @strncpy(ptr noundef %7, ptr noundef %8, i32 noundef 16) %10 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %11 = call i32 @memset(ptr noundef %10, i32 noundef 66, i32 noundef 16) %12 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %13 = load ptr, ptr %2, align 8 %14 = call i32 @liw_strncpy(ptr noundef %12, ptr noundef %13, i32 noundef 16) %15 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 0 %16 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %17 = call i64 @memcmp(ptr noundef %15, ptr noundef %16, i32 noundef 16) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %25 19: ; preds = %1 %20 = load i32, ptr @stderr, align 4 %21 = load ptr, ptr %2, align 8 %22 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str, ptr noundef %21) %23 = load i32, ptr @EXIT_FAILURE, align 4 %24 = call i32 @exit(i32 noundef %23) #3 unreachable 25: ; preds = %1 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @liw_strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3yxf3jkx.c" target datalayout = "e-m:e-p270: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 [29 x i8] c"liw_strncpy failed for <%s>\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_ncpy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [16 x i8], align 16 %4 = alloca [16 x i8], align 16 store ptr %0, ptr %2, align 8 %5 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 0 %6 = call i32 @memset(ptr noundef %5, i32 noundef 66, i32 noundef 16) %7 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 0 %8 = load ptr, ptr %2, align 8 %9 = call i32 @strncpy(ptr noundef %7, ptr noundef %8, i32 noundef 16) %10 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %11 = call i32 @memset(ptr noundef %10, i32 noundef 66, i32 noundef 16) %12 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %13 = load ptr, ptr %2, align 8 %14 = call i32 @liw_strncpy(ptr noundef %12, ptr noundef %13, i32 noundef 16) %15 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 0 %16 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %17 = call i64 @memcmp(ptr noundef %15, ptr noundef %16, i32 noundef 16) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %25 19: ; preds = %1 %20 = load i32, ptr @stderr, align 4 %21 = load ptr, ptr %2, align 8 %22 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str, ptr noundef %21) %23 = load i32, ptr @EXIT_FAILURE, align 4 %24 = call i32 @exit(i32 noundef %23) #3 unreachable 25: ; preds = %1 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @liw_strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8c3yt27n.c' source_filename = "/tmp/tmp8c3yt27n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gpgme_addrspec_from_uid(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @_gpgme_mailbox_from_userid(ptr noundef %3) ret ptr %4 } declare ptr @_gpgme_mailbox_from_userid(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/tmp8c3yt27n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gpgme_addrspec_from_uid(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @_gpgme_mailbox_from_userid(ptr noundef %3) ret ptr %4 } declare ptr @_gpgme_mailbox_from_userid(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/tmplyhjc40y.c' source_filename = "/tmp/tmplyhjc40y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @DT_BLK = dso_local global i64 0, align 8 @DT_CHR = dso_local global i64 0, align 8 @DT_DIR = dso_local global i64 0, align 8 @DT_FIFO = dso_local global i64 0, align 8 @DT_REG = dso_local global i64 0, align 8 @DT_SOCK = dso_local global i64 0, align 8 @S_IFBLK = dso_local global i64 0, align 8 @S_IFCHR = dso_local global i64 0, align 8 @S_IFDIR = dso_local global i64 0, align 8 @S_IFIFO = dso_local global i64 0, align 8 @S_IFREG = dso_local global i64 0, align 8 @S_IFSOCK = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplyhjc40y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @DT_BLK = dso_local global i64 0, align 8 @DT_CHR = dso_local global i64 0, align 8 @DT_DIR = dso_local global i64 0, align 8 @DT_FIFO = dso_local global i64 0, align 8 @DT_REG = dso_local global i64 0, align 8 @DT_SOCK = dso_local global i64 0, align 8 @S_IFBLK = dso_local global i64 0, align 8 @S_IFCHR = dso_local global i64 0, align 8 @S_IFDIR = dso_local global i64 0, align 8 @S_IFIFO = dso_local global i64 0, align 8 @S_IFREG = dso_local global i64 0, align 8 @S_IFSOCK = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl8ynxdof.c' source_filename = "/tmp/tmpl8ynxdof.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unicode_string_length_utf8(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @assert(ptr noundef %5) %7 = load ptr, ptr %3, align 8 %8 = load i64, ptr %4, align 8 %9 = call ptr @unicode_is_well_formed_utf8(ptr noundef %7, i64 noundef %8) %10 = call i32 @assert(ptr noundef %9) %11 = load ptr, ptr %3, align 8 %12 = load i64, ptr %4, align 8 %13 = call i32 @unicode_string_length_utf8_imp(ptr noundef %11, i64 noundef %12) ret i32 %13 } declare i32 @assert(ptr noundef) #1 declare ptr @unicode_is_well_formed_utf8(ptr noundef, i64 noundef) #1 declare i32 @unicode_string_length_utf8_imp(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/tmpl8ynxdof.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unicode_string_length_utf8(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @assert(ptr noundef %5) %7 = load ptr, ptr %3, align 8 %8 = load i64, ptr %4, align 8 %9 = call ptr @unicode_is_well_formed_utf8(ptr noundef %7, i64 noundef %8) %10 = call i32 @assert(ptr noundef %9) %11 = load ptr, ptr %3, align 8 %12 = load i64, ptr %4, align 8 %13 = call i32 @unicode_string_length_utf8_imp(ptr noundef %11, i64 noundef %12) ret i32 %13 } declare i32 @assert(ptr noundef) #1 declare ptr @unicode_is_well_formed_utf8(ptr noundef, i64 noundef) #1 declare i32 @unicode_string_length_utf8_imp(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/tmpdx6_gbla.c' source_filename = "/tmp/tmpdx6_gbla.c" target datalayout = "e-m:e-p270: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/tmpdx6_gbla.c" target datalayout = "e-m:e-p270: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/tmpyicxvcas.c' source_filename = "/tmp/tmpyicxvcas.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @e_cmp_zpx() #0 { %1 = call i32 (...) @e_zpx() %2 = call i32 (...) @e_cmp() ret void } declare i32 @e_zpx(...) #1 declare i32 @e_cmp(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyicxvcas.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @e_cmp_zpx() #0 { %1 = call i32 (...) @e_zpx() %2 = call i32 (...) @e_cmp() ret void } declare i32 @e_zpx(...) #1 declare i32 @e_cmp(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpixz4epzm.c' source_filename = "/tmp/tmpixz4epzm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %6, align 8 store ptr %11, ptr %9, align 8 br label %12 12: ; preds = %37, %3 %13 = load i64, ptr %7, align 8 %14 = add i64 %13, -1 store i64 %14, ptr %7, align 8 %15 = icmp ne i64 %13, 0 br i1 %15, label %16, label %38 16: ; preds = %12 %17 = load ptr, ptr %8, align 8 %18 = load i8, ptr %17, align 1 %19 = zext i8 %18 to i32 %20 = load ptr, ptr %9, align 8 %21 = load i8, ptr %20, align 1 %22 = zext i8 %21 to i32 %23 = icmp eq i32 %19, %22 br i1 %23, label %24, label %29 24: ; preds = %16 %25 = load ptr, ptr %8, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %8, align 8 %27 = load ptr, ptr %9, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %9, align 8 br label %37 29: ; preds = %16 %30 = load ptr, ptr %8, align 8 %31 = load i8, ptr %30, align 1 %32 = zext i8 %31 to i32 %33 = load ptr, ptr %9, align 8 %34 = load i8, ptr %33, align 1 %35 = zext i8 %34 to i32 %36 = sub nsw i32 %32, %35 store i32 %36, ptr %4, align 4 br label %39 37: ; preds = %24 br label %12, !llvm.loop !6 38: ; preds = %12 store i32 0, ptr %4, align 4 br label %39 39: ; preds = %38, %29 %40 = load i32, ptr %4, align 4 ret i32 %40 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpixz4epzm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %6, align 8 store ptr %11, ptr %9, align 8 %12 = load i64, ptr %7, align 8 %13 = add i64 %12, -1 store i64 %13, ptr %7, align 8 %14 = icmp ne i64 %12, 0 br i1 %14, label %.lr.ph, label %40 .lr.ph: ; preds = %3 br label %15 15: ; preds = %.lr.ph, %36 %16 = load ptr, ptr %8, align 8 %17 = load i8, ptr %16, align 1 %18 = zext i8 %17 to i32 %19 = load ptr, ptr %9, align 8 %20 = load i8, ptr %19, align 1 %21 = zext i8 %20 to i32 %22 = icmp eq i32 %18, %21 br i1 %22, label %23, label %28 23: ; preds = %15 %24 = load ptr, ptr %8, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %8, align 8 %26 = load ptr, ptr %9, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %9, align 8 br label %36 28: ; preds = %15 %29 = load ptr, ptr %8, align 8 %30 = load i8, ptr %29, align 1 %31 = zext i8 %30 to i32 %32 = load ptr, ptr %9, align 8 %33 = load i8, ptr %32, align 1 %34 = zext i8 %33 to i32 %35 = sub nsw i32 %31, %34 store i32 %35, ptr %4, align 4 br label %41 36: ; preds = %23 %37 = load i64, ptr %7, align 8 %38 = add i64 %37, -1 store i64 %38, ptr %7, align 8 %39 = icmp ne i64 %37, 0 br i1 %39, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %40 40: ; preds = %._crit_edge, %3 store i32 0, ptr %4, align 4 br label %41 41: ; preds = %40, %28 %42 = load i32, ptr %4, align 4 ret i32 %42 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpwsaddnyr.c' source_filename = "/tmp/tmpwsaddnyr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [51 x i8] c"Usage: autoscript_test DELIM TYPE [LIST OF FILES]\0A\00", align 1 @.str.1 = private unnamed_addr constant [54 x i8] c" DELIM : path separation delimiter (e.g. '/')\0A\00", align 1 @.str.2 = private unnamed_addr constant [58 x i8] c" TYPE : base type for parsing (e.g. \22benchmark\22)\0A\00", align 1 @.str.3 = private unnamed_addr constant [67 x i8] c" [LIST] : list of auto-script files, named MYPACKAGE_TYPE.h\0A\00", align 1 @.str.4 = private unnamed_addr constant [65 x i8] c" with internal scripts \22void TYPE_MYSCRIPT(...)\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwsaddnyr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [51 x i8] c"Usage: autoscript_test DELIM TYPE [LIST OF FILES]\0A\00", align 1 @.str.1 = private unnamed_addr constant [54 x i8] c" DELIM : path separation delimiter (e.g. '/')\0A\00", align 1 @.str.2 = private unnamed_addr constant [58 x i8] c" TYPE : base type for parsing (e.g. \22benchmark\22)\0A\00", align 1 @.str.3 = private unnamed_addr constant [67 x i8] c" [LIST] : list of auto-script files, named MYPACKAGE_TYPE.h\0A\00", align 1 @.str.4 = private unnamed_addr constant [65 x i8] c" with internal scripts \22void TYPE_MYSCRIPT(...)\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj1gzpxrn.c' source_filename = "/tmp/tmpj1gzpxrn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BLKGETSIZE64 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @linux_get_block_dev_size(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 = load i32, ptr @BLKGETSIZE64, align 4 %6 = call i32 @ioctl(i32 noundef %4, i32 noundef %5, ptr noundef %3) %7 = load i32, ptr %3, align 4 ret i32 %7 } declare i32 @ioctl(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/tmpj1gzpxrn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BLKGETSIZE64 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @linux_get_block_dev_size(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 = load i32, ptr @BLKGETSIZE64, align 4 %6 = call i32 @ioctl(i32 noundef %4, i32 noundef %5, ptr noundef %3) %7 = load i32, ptr %3, align 4 ret i32 %7 } declare i32 @ioctl(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/tmpirnsptek.c' source_filename = "/tmp/tmpirnsptek.c" target datalayout = "e-m:e-p270: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/tmpirnsptek.c" target datalayout = "e-m:e-p270: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/tmpru92tkoz.c' source_filename = "/tmp/tmpru92tkoz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = 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/tmpru92tkoz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = 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/tmp44eowbqu.c' source_filename = "/tmp/tmp44eowbqu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"$ForceMove %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @redirect_all(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [141 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = getelementptr inbounds [141 x i8], ptr %5, i64 0, i64 0 %7 = load ptr, ptr %3, align 8 %8 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, ptr noundef %7) %9 = getelementptr inbounds [141 x i8], ptr %5, i64 0, i64 0 %10 = load ptr, ptr %4, align 8 %11 = call i32 @send_to_humans(ptr noundef %9, i32 noundef 28, ptr noundef %10) %12 = call i32 @remove_all(i32 noundef 31, i32 noundef 1, i32 noundef 1) %13 = getelementptr inbounds [141 x i8], ptr %5, i64 0, i64 0 %14 = load ptr, ptr %4, align 8 %15 = call i32 @send_to_non_humans(ptr noundef %13, i32 noundef 128, ptr noundef %14) ret void } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @send_to_humans(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @remove_all(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @send_to_non_humans(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp44eowbqu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"$ForceMove %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @redirect_all(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [141 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = getelementptr inbounds [141 x i8], ptr %5, i64 0, i64 0 %7 = load ptr, ptr %3, align 8 %8 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, ptr noundef %7) %9 = getelementptr inbounds [141 x i8], ptr %5, i64 0, i64 0 %10 = load ptr, ptr %4, align 8 %11 = call i32 @send_to_humans(ptr noundef %9, i32 noundef 28, ptr noundef %10) %12 = call i32 @remove_all(i32 noundef 31, i32 noundef 1, i32 noundef 1) %13 = getelementptr inbounds [141 x i8], ptr %5, i64 0, i64 0 %14 = load ptr, ptr %4, align 8 %15 = call i32 @send_to_non_humans(ptr noundef %13, i32 noundef 128, ptr noundef %14) ret void } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @send_to_humans(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @remove_all(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @send_to_non_humans(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpt1z__rkv.c' source_filename = "/tmp/tmpt1z__rkv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"[C Code] Running test\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 (...) @orchestrator_initStates() ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @orchestrator_initStates(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt1z__rkv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"[C Code] Running test\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 (...) @orchestrator_initStates() ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @orchestrator_initStates(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphciazdh8.c' source_filename = "/tmp/tmphciazdh8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ds1337_clear_alarm1_flag() #0 { %1 = alloca i8, align 1 %2 = call zeroext i8 @ds1337_read_register(i32 noundef 15) store i8 %2, ptr %1, align 1 %3 = load i8, ptr %1, align 1 %4 = zext i8 %3 to i32 %5 = and i32 %4, 254 %6 = trunc i32 %5 to i8 store i8 %6, ptr %1, align 1 %7 = load i8, ptr %1, align 1 %8 = call i32 @ds1337_write_register(i32 noundef 15, i8 noundef zeroext %7) ret void } declare zeroext i8 @ds1337_read_register(i32 noundef) #1 declare i32 @ds1337_write_register(i32 noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphciazdh8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ds1337_clear_alarm1_flag() #0 { %1 = alloca i8, align 1 %2 = call zeroext i8 @ds1337_read_register(i32 noundef 15) store i8 %2, ptr %1, align 1 %3 = load i8, ptr %1, align 1 %4 = zext i8 %3 to i32 %5 = and i32 %4, 254 %6 = trunc i32 %5 to i8 store i8 %6, ptr %1, align 1 %7 = load i8, ptr %1, align 1 %8 = call i32 @ds1337_write_register(i32 noundef 15, i8 noundef zeroext %7) ret void } declare zeroext i8 @ds1337_read_register(i32 noundef) #1 declare i32 @ds1337_write_register(i32 noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvs3rk1in.c' source_filename = "/tmp/tmpvs3rk1in.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i - %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ImprimeMenu(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %20, %2 %7 = load i32, ptr %5, align 4 %8 = sext i32 %7 to i64 %9 = load i64, ptr %4, align 8 %10 = icmp ult i64 %8, %9 br i1 %10, label %11, label %23 11: ; preds = %6 %12 = load i32, ptr %5, align 4 %13 = add nsw i32 %12, 1 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds ptr, ptr %14, i64 %16 %18 = load ptr, ptr %17, align 8 %19 = call i32 @printf(ptr noundef @.str, i32 noundef %13, ptr noundef %18) br label %20 20: ; preds = %11 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 br label %6, !llvm.loop !6 23: ; preds = %6 ret void } declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvs3rk1in.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i - %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ImprimeMenu(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = sext i32 %6 to i64 %8 = load i64, ptr %4, align 8 %9 = icmp ult i64 %7, %8 br i1 %9, label %.lr.ph, label %26 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %19 %11 = load i32, ptr %5, align 4 %12 = add nsw i32 %11, 1 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds ptr, ptr %13, i64 %15 %17 = load ptr, ptr %16, align 8 %18 = call i32 @printf(ptr noundef @.str, i32 noundef %12, ptr noundef %17) br label %19 19: ; preds = %10 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = load i64, ptr %4, align 8 %25 = icmp ult i64 %23, %24 br i1 %25, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %26 26: ; preds = %._crit_edge, %2 ret void } declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp4sit1hbl.c' source_filename = "/tmp/tmp4sit1hbl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 store i32 5, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4sit1hbl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 store i32 5, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpthv827_y.c' source_filename = "/tmp/tmpthv827_y.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [34 x i8] c"Enciphering with DES in CBC mode\0A\00", align 1 @.str.1 = private unnamed_addr constant [49 x i8] c"deskey: %02x %02x %02x %02x %02x %02x %02x %02x\0A\00", align 1 @.str.2 = private unnamed_addr constant [65 x i8] c"-> destmp[%03d]=%02x, desctx[%03d]=%02x, desptx[%03d]=%02x (OK)\0A\00", align 1 @.str.3 = private unnamed_addr constant [68 x i8] c"-> destmp[%03d]=%02x, desctx[%03d]=%02x, desptx[%03d]=%02x (ERROR)\0A\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"Enciphering OK\0A\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"Enciphering Error: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1000 x i8], align 16 %7 = alloca [1000 x i8], align 16 %8 = alloca [1000 x i8], align 16 %9 = alloca [8 x i8], align 1 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %11, align 4 %12 = load i32, ptr @stdout, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str) %14 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0 store i8 1, ptr %14, align 1 %15 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 1 store i8 -15, ptr %15, align 1 %16 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 2 store i8 35, ptr %16, align 1 %17 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 3 store i8 74, ptr %17, align 1 %18 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 4 store i8 31, ptr %18, align 1 %19 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 5 store i8 34, ptr %19, align 1 %20 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 6 store i8 0, ptr %20, align 1 %21 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 7 store i8 -18, ptr %21, align 1 store i32 0, ptr %10, align 4 br label %22 22: ; preds = %33, %2 %23 = load i32, ptr %10, align 4 %24 = icmp slt i32 %23, 1000 br i1 %24, label %25, label %36 25: ; preds = %22 %26 = load i32, ptr %10, align 4 %27 = mul nsw i32 %26, 23 %28 = srem i32 %27, 256 %29 = trunc i32 %28 to i8 %30 = load i32, ptr %10, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 %31 store i8 %29, ptr %32, align 1 br label %33 33: ; preds = %25 %34 = load i32, ptr %10, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %10, align 4 br label %22, !llvm.loop !6 36: ; preds = %22 %37 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0 %38 = getelementptr inbounds [1000 x i8], ptr %8, i64 0, i64 0 %39 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0 %40 = call i32 @cbc_encipher(ptr noundef %37, ptr noundef %38, ptr noundef %39, i32 noundef 1000) %41 = getelementptr inbounds [1000 x i8], ptr %8, i64 0, i64 0 %42 = getelementptr inbounds [1000 x i8], ptr %7, i64 0, i64 0 %43 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0 %44 = call i32 @cbc_decipher(ptr noundef %41, ptr noundef %42, ptr noundef %43, i32 noundef 1000) %45 = load i32, ptr @stdout, align 4 %46 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0 %47 = load i8, ptr %46, align 1 %48 = zext i8 %47 to i32 %49 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 1 %50 = load i8, ptr %49, align 1 %51 = zext i8 %50 to i32 %52 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 2 %53 = load i8, ptr %52, align 1 %54 = zext i8 %53 to i32 %55 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 3 %56 = load i8, ptr %55, align 1 %57 = zext i8 %56 to i32 %58 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 4 %59 = load i8, ptr %58, align 1 %60 = zext i8 %59 to i32 %61 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 5 %62 = load i8, ptr %61, align 1 %63 = zext i8 %62 to i32 %64 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 6 %65 = load i8, ptr %64, align 1 %66 = zext i8 %65 to i32 %67 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 7 %68 = load i8, ptr %67, align 1 %69 = zext i8 %68 to i32 %70 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %45, ptr noundef @.str.1, i32 noundef %48, i32 noundef %51, i32 noundef %54, i32 noundef %57, i32 noundef %60, i32 noundef %63, i32 noundef %66, i32 noundef %69) store i32 0, ptr %10, align 4 br label %71 71: ; preds = %131, %36 %72 = load i32, ptr %10, align 4 %73 = icmp slt i32 %72, 1000 br i1 %73, label %74, label %134 74: ; preds = %71 %75 = load i32, ptr %10, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 %76 %78 = load i8, ptr %77, align 1 %79 = zext i8 %78 to i32 %80 = load i32, ptr %10, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [1000 x i8], ptr %7, i64 0, i64 %81 %83 = load i8, ptr %82, align 1 %84 = zext i8 %83 to i32 %85 = icmp eq i32 %79, %84 br i1 %85, label %86, label %107 86: ; preds = %74 %87 = load i32, ptr @stdout, align 4 %88 = load i32, ptr %10, align 4 %89 = load i32, ptr %10, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 %90 %92 = load i8, ptr %91, align 1 %93 = zext i8 %92 to i32 %94 = load i32, ptr %10, align 4 %95 = load i32, ptr %10, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds [1000 x i8], ptr %8, i64 0, i64 %96 %98 = load i8, ptr %97, align 1 %99 = zext i8 %98 to i32 %100 = load i32, ptr %10, align 4 %101 = load i32, ptr %10, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds [1000 x i8], ptr %7, i64 0, i64 %102 %104 = load i8, ptr %103, align 1 %105 = zext i8 %104 to i32 %106 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %87, ptr noundef @.str.2, i32 noundef %88, i32 noundef %93, i32 noundef %94, i32 noundef %99, i32 noundef %100, i32 noundef %105) br label %130 107: ; preds = %74 %108 = load i32, ptr %11, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %11, align 4 %110 = load i32, ptr @stdout, align 4 %111 = load i32, ptr %10, align 4 %112 = load i32, ptr %10, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 %113 %115 = load i8, ptr %114, align 1 %116 = zext i8 %115 to i32 %117 = load i32, ptr %10, align 4 %118 = load i32, ptr %10, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds [1000 x i8], ptr %8, i64 0, i64 %119 %121 = load i8, ptr %120, align 1 %122 = zext i8 %121 to i32 %123 = load i32, ptr %10, align 4 %124 = load i32, ptr %10, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds [1000 x i8], ptr %7, i64 0, i64 %125 %127 = load i8, ptr %126, align 1 %128 = zext i8 %127 to i32 %129 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %110, ptr noundef @.str.3, i32 noundef %111, i32 noundef %116, i32 noundef %117, i32 noundef %122, i32 noundef %123, i32 noundef %128) br label %130 130: ; preds = %107, %86 br label %131 131: ; preds = %130 %132 = load i32, ptr %10, align 4 %133 = add nsw i32 %132, 1 store i32 %133, ptr %10, align 4 br label %71, !llvm.loop !8 134: ; preds = %71 %135 = load i32, ptr %11, align 4 %136 = icmp eq i32 %135, 0 br i1 %136, label %137, label %140 137: ; preds = %134 %138 = load i32, ptr @stdout, align 4 %139 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %138, ptr noundef @.str.4) br label %144 140: ; preds = %134 %141 = load i32, ptr @stdout, align 4 %142 = load i32, ptr %11, align 4 %143 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %141, ptr noundef @.str.5, i32 noundef %142) br label %144 144: ; preds = %140, %137 ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @cbc_encipher(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @cbc_decipher(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpthv827_y.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [34 x i8] c"Enciphering with DES in CBC mode\0A\00", align 1 @.str.1 = private unnamed_addr constant [49 x i8] c"deskey: %02x %02x %02x %02x %02x %02x %02x %02x\0A\00", align 1 @.str.2 = private unnamed_addr constant [65 x i8] c"-> destmp[%03d]=%02x, desctx[%03d]=%02x, desptx[%03d]=%02x (OK)\0A\00", align 1 @.str.3 = private unnamed_addr constant [68 x i8] c"-> destmp[%03d]=%02x, desctx[%03d]=%02x, desptx[%03d]=%02x (ERROR)\0A\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"Enciphering OK\0A\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"Enciphering Error: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1000 x i8], align 16 %7 = alloca [1000 x i8], align 16 %8 = alloca [1000 x i8], align 16 %9 = alloca [8 x i8], align 1 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %11, align 4 %12 = load i32, ptr @stdout, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str) %14 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0 store i8 1, ptr %14, align 1 %15 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 1 store i8 -15, ptr %15, align 1 %16 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 2 store i8 35, ptr %16, align 1 %17 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 3 store i8 74, ptr %17, align 1 %18 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 4 store i8 31, ptr %18, align 1 %19 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 5 store i8 34, ptr %19, align 1 %20 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 6 store i8 0, ptr %20, align 1 %21 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 7 store i8 -18, ptr %21, align 1 store i32 0, ptr %10, align 4 %22 = load i32, ptr %10, align 4 %23 = icmp slt i32 %22, 1000 br i1 %23, label %.lr.ph, label %37 .lr.ph: ; preds = %2 br label %24 24: ; preds = %.lr.ph, %32 %25 = load i32, ptr %10, align 4 %26 = mul nsw i32 %25, 23 %27 = srem i32 %26, 256 %28 = trunc i32 %27 to i8 %29 = load i32, ptr %10, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 %30 store i8 %28, ptr %31, align 1 br label %32 32: ; preds = %24 %33 = load i32, ptr %10, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %10, align 4 %35 = load i32, ptr %10, align 4 %36 = icmp slt i32 %35, 1000 br i1 %36, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %37 37: ; preds = %._crit_edge, %2 %38 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1000 x i8], ptr %8, i64 0, i64 0 %40 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0 %41 = call i32 @cbc_encipher(ptr noundef %38, ptr noundef %39, ptr noundef %40, i32 noundef 1000) %42 = getelementptr inbounds [1000 x i8], ptr %8, i64 0, i64 0 %43 = getelementptr inbounds [1000 x i8], ptr %7, i64 0, i64 0 %44 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0 %45 = call i32 @cbc_decipher(ptr noundef %42, ptr noundef %43, ptr noundef %44, i32 noundef 1000) %46 = load i32, ptr @stdout, align 4 %47 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0 %48 = load i8, ptr %47, align 1 %49 = zext i8 %48 to i32 %50 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 1 %51 = load i8, ptr %50, align 1 %52 = zext i8 %51 to i32 %53 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 2 %54 = load i8, ptr %53, align 1 %55 = zext i8 %54 to i32 %56 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 3 %57 = load i8, ptr %56, align 1 %58 = zext i8 %57 to i32 %59 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 4 %60 = load i8, ptr %59, align 1 %61 = zext i8 %60 to i32 %62 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 5 %63 = load i8, ptr %62, align 1 %64 = zext i8 %63 to i32 %65 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 6 %66 = load i8, ptr %65, align 1 %67 = zext i8 %66 to i32 %68 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 7 %69 = load i8, ptr %68, align 1 %70 = zext i8 %69 to i32 %71 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %46, ptr noundef @.str.1, i32 noundef %49, i32 noundef %52, i32 noundef %55, i32 noundef %58, i32 noundef %61, i32 noundef %64, i32 noundef %67, i32 noundef %70) store i32 0, ptr %10, align 4 %72 = load i32, ptr %10, align 4 %73 = icmp slt i32 %72, 1000 br i1 %73, label %.lr.ph2, label %136 .lr.ph2: ; preds = %37 br label %74 74: ; preds = %.lr.ph2, %131 %75 = load i32, ptr %10, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 %76 %78 = load i8, ptr %77, align 1 %79 = zext i8 %78 to i32 %80 = load i32, ptr %10, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [1000 x i8], ptr %7, i64 0, i64 %81 %83 = load i8, ptr %82, align 1 %84 = zext i8 %83 to i32 %85 = icmp eq i32 %79, %84 br i1 %85, label %86, label %107 86: ; preds = %74 %87 = load i32, ptr @stdout, align 4 %88 = load i32, ptr %10, align 4 %89 = load i32, ptr %10, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 %90 %92 = load i8, ptr %91, align 1 %93 = zext i8 %92 to i32 %94 = load i32, ptr %10, align 4 %95 = load i32, ptr %10, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds [1000 x i8], ptr %8, i64 0, i64 %96 %98 = load i8, ptr %97, align 1 %99 = zext i8 %98 to i32 %100 = load i32, ptr %10, align 4 %101 = load i32, ptr %10, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds [1000 x i8], ptr %7, i64 0, i64 %102 %104 = load i8, ptr %103, align 1 %105 = zext i8 %104 to i32 %106 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %87, ptr noundef @.str.2, i32 noundef %88, i32 noundef %93, i32 noundef %94, i32 noundef %99, i32 noundef %100, i32 noundef %105) br label %130 107: ; preds = %74 %108 = load i32, ptr %11, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %11, align 4 %110 = load i32, ptr @stdout, align 4 %111 = load i32, ptr %10, align 4 %112 = load i32, ptr %10, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 %113 %115 = load i8, ptr %114, align 1 %116 = zext i8 %115 to i32 %117 = load i32, ptr %10, align 4 %118 = load i32, ptr %10, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds [1000 x i8], ptr %8, i64 0, i64 %119 %121 = load i8, ptr %120, align 1 %122 = zext i8 %121 to i32 %123 = load i32, ptr %10, align 4 %124 = load i32, ptr %10, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds [1000 x i8], ptr %7, i64 0, i64 %125 %127 = load i8, ptr %126, align 1 %128 = zext i8 %127 to i32 %129 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %110, ptr noundef @.str.3, i32 noundef %111, i32 noundef %116, i32 noundef %117, i32 noundef %122, i32 noundef %123, i32 noundef %128) br label %130 130: ; preds = %107, %86 br label %131 131: ; preds = %130 %132 = load i32, ptr %10, align 4 %133 = add nsw i32 %132, 1 store i32 %133, ptr %10, align 4 %134 = load i32, ptr %10, align 4 %135 = icmp slt i32 %134, 1000 br i1 %135, label %74, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %131 br label %136 136: ; preds = %._crit_edge3, %37 %137 = load i32, ptr %11, align 4 %138 = icmp eq i32 %137, 0 br i1 %138, label %139, label %142 139: ; preds = %136 %140 = load i32, ptr @stdout, align 4 %141 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %140, ptr noundef @.str.4) br label %146 142: ; preds = %136 %143 = load i32, ptr @stdout, align 4 %144 = load i32, ptr %11, align 4 %145 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %143, ptr noundef @.str.5, i32 noundef %144) br label %146 146: ; preds = %142, %139 ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @cbc_encipher(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @cbc_decipher(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpcyr4pkf2.c' source_filename = "/tmp/tmpcyr4pkf2.c" target datalayout = "e-m:e-p270: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.servent = type { i32 } @getservbyname.se = internal global %struct.servent zeroinitializer, align 4 @getservbyname.buf = internal global [4 x i64] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getservbyname(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i64 @getservbyname_r(ptr noundef %7, ptr noundef %8, ptr noundef @getservbyname.se, ptr noundef @getservbyname.buf, i32 noundef 32, ptr noundef %6) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %2 store ptr null, ptr %3, align 8 br label %13 12: ; preds = %2 store ptr @getservbyname.se, ptr %3, align 8 br label %13 13: ; preds = %12, %11 %14 = load ptr, ptr %3, align 8 ret ptr %14 } declare i64 @getservbyname_r(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcyr4pkf2.c" target datalayout = "e-m:e-p270: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.servent = type { i32 } @getservbyname.se = internal global %struct.servent zeroinitializer, align 4 @getservbyname.buf = internal global [4 x i64] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getservbyname(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i64 @getservbyname_r(ptr noundef %7, ptr noundef %8, ptr noundef @getservbyname.se, ptr noundef @getservbyname.buf, i32 noundef 32, ptr noundef %6) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %2 store ptr null, ptr %3, align 8 br label %13 12: ; preds = %2 store ptr @getservbyname.se, ptr %3, align 8 br label %13 13: ; preds = %12, %11 %14 = load ptr, ptr %3, align 8 ret ptr %14 } declare i64 @getservbyname_r(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplk5gwy0_.c' source_filename = "/tmp/tmplk5gwy0_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @consultar() #0 { %1 = call i32 (...) @consultador() ret void } declare i32 @consultador(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplk5gwy0_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @consultar() #0 { %1 = call i32 (...) @consultador() ret void } declare i32 @consultador(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo7ms3br1.c' source_filename = "/tmp/tmpo7ms3br1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @call_fib() #0 { %1 = call i32 @fib(i32 noundef 42) ret void } declare i32 @fib(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/tmpo7ms3br1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @call_fib() #0 { %1 = call i32 @fib(i32 noundef 42) ret void } declare i32 @fib(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/tmprglzm_xl.c' source_filename = "/tmp/tmprglzm_xl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init_rng(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 = %11, %1 %5 = load i32, ptr %3, align 4 %6 = call i32 (...) @get_core_id() %7 = icmp ult i32 %5, %6 br i1 %7, label %8, label %14 8: ; preds = %4 %9 = load ptr, ptr %2, align 8 %10 = call i32 @rand_r(ptr noundef %9) br label %11 11: ; preds = %8 %12 = load i32, ptr %3, align 4 %13 = add i32 %12, 1 store i32 %13, ptr %3, align 4 br label %4, !llvm.loop !6 14: ; preds = %4 ret void } declare i32 @get_core_id(...) #1 declare i32 @rand_r(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/tmprglzm_xl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init_rng(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 = call i32 (...) @get_core_id() %6 = icmp ult i32 %4, %5 br i1 %6, label %.lr.ph, label %16 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %10 %8 = load ptr, ptr %2, align 8 %9 = call i32 @rand_r(ptr noundef %8) br label %10 10: ; preds = %7 %11 = load i32, ptr %3, align 4 %12 = add i32 %11, 1 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = call i32 (...) @get_core_id() %15 = icmp ult i32 %13, %14 br i1 %15, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %16 16: ; preds = %._crit_edge, %1 ret void } declare i32 @get_core_id(...) #1 declare i32 @rand_r(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/tmp864od109.c' source_filename = "/tmp/tmp864od109.c" target datalayout = "e-m:e-p270: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.anon = type { i8, ptr, i64 } @escape_html.tags = internal constant [5 x %struct.anon] [%struct.anon { i8 60, ptr @.str, i64 4 }, %struct.anon { i8 62, ptr @.str.1, i64 4 }, %struct.anon { i8 38, ptr @.str.2, i64 5 }, %struct.anon { i8 34, ptr @.str.3, i64 6 }, %struct.anon { i8 39, ptr @.str.4, i64 5 }], align 16 @.str = private unnamed_addr constant [5 x i8] c"&lt;\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"&gt;\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"&amp;\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"&quot;\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"&#39;\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"<>&'\22\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @escape_html(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 store ptr %7, ptr %3, align 8 store ptr null, ptr %4, align 8 br label %8 8: ; preds = %134, %1 %9 = load ptr, ptr %3, align 8 %10 = call i64 @strcspn(ptr noundef %9, ptr noundef @.str.5) store i64 %10, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %25, label %13 13: ; preds = %8 %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds i64, ptr %14, i64 -2 %16 = getelementptr inbounds i64, ptr %15, i64 1 %17 = load i64, ptr %16, align 8 %18 = load i64, ptr %5, align 8 %19 = add i64 %17, %18 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds i64, ptr %20, i64 -2 %22 = getelementptr inbounds i64, ptr %21, i64 0 %23 = load i64, ptr %22, align 8 %24 = icmp uge i64 %19, %23 br i1 %24, label %25, label %30 25: ; preds = %13, %8 %26 = load ptr, ptr %4, align 8 %27 = load i64, ptr %5, align 8 %28 = trunc i64 %27 to i32 %29 = call ptr @stb__sbgrowf(ptr noundef %26, i32 noundef %28, i32 noundef 1) store ptr %29, ptr %4, align 8 br label %31 30: ; preds = %13 br label %31 31: ; preds = %30, %25 %32 = phi ptr [ %29, %25 ], [ null, %30 ] %33 = load i64, ptr %5, align 8 %34 = load ptr, ptr %4, align 8 %35 = getelementptr inbounds i64, ptr %34, i64 -2 %36 = getelementptr inbounds i64, ptr %35, i64 1 %37 = load i64, ptr %36, align 8 %38 = add i64 %37, %33 store i64 %38, ptr %36, align 8 %39 = load ptr, ptr %4, align 8 %40 = load ptr, ptr %4, align 8 %41 = getelementptr inbounds i64, ptr %40, i64 -2 %42 = getelementptr inbounds i64, ptr %41, i64 1 %43 = load i64, ptr %42, align 8 %44 = load i64, ptr %5, align 8 %45 = sub i64 %43, %44 %46 = getelementptr inbounds i8, ptr %39, i64 %45 %47 = load ptr, ptr %3, align 8 %48 = load i64, ptr %5, align 8 %49 = call i32 @memcpy(ptr noundef %46, ptr noundef %47, i64 noundef %48) %50 = load i64, ptr %5, align 8 %51 = load ptr, ptr %3, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 %50 store ptr %52, ptr %3, align 8 %53 = load ptr, ptr %3, align 8 %54 = load i8, ptr %53, align 1 %55 = icmp ne i8 %54, 0 br i1 %55, label %57, label %56 56: ; preds = %31 br label %137 57: ; preds = %31 store i64 0, ptr %6, align 8 br label %58 58: ; preds = %130, %57 %59 = load i64, ptr %6, align 8 %60 = icmp ult i64 %59, 5 br i1 %60, label %61, label %133 61: ; preds = %58 %62 = load ptr, ptr %3, align 8 %63 = load i8, ptr %62, align 1 %64 = sext i8 %63 to i32 %65 = load i64, ptr %6, align 8 %66 = getelementptr inbounds [5 x %struct.anon], ptr @escape_html.tags, i64 0, i64 %65 %67 = getelementptr inbounds %struct.anon, ptr %66, i32 0, i32 0 %68 = load i8, ptr %67, align 8 %69 = sext i8 %68 to i32 %70 = icmp eq i32 %64, %69 br i1 %70, label %71, label %129 71: ; preds = %61 %72 = load ptr, ptr %4, align 8 %73 = icmp eq ptr %72, null br i1 %73, label %89, label %74 74: ; preds = %71 %75 = load ptr, ptr %4, align 8 %76 = getelementptr inbounds i64, ptr %75, i64 -2 %77 = getelementptr inbounds i64, ptr %76, i64 1 %78 = load i64, ptr %77, align 8 %79 = load i64, ptr %6, align 8 %80 = getelementptr inbounds [5 x %struct.anon], ptr @escape_html.tags, i64 0, i64 %79 %81 = getelementptr inbounds %struct.anon, ptr %80, i32 0, i32 2 %82 = load i64, ptr %81, align 8 %83 = add i64 %78, %82 %84 = load ptr, ptr %4, align 8 %85 = getelementptr inbounds i64, ptr %84, i64 -2 %86 = getelementptr inbounds i64, ptr %85, i64 0 %87 = load i64, ptr %86, align 8 %88 = icmp uge i64 %83, %87 br i1 %88, label %89, label %97 89: ; preds = %74, %71 %90 = load ptr, ptr %4, align 8 %91 = load i64, ptr %6, align 8 %92 = getelementptr inbounds [5 x %struct.anon], ptr @escape_html.tags, i64 0, i64 %91 %93 = getelementptr inbounds %struct.anon, ptr %92, i32 0, i32 2 %94 = load i64, ptr %93, align 8 %95 = trunc i64 %94 to i32 %96 = call ptr @stb__sbgrowf(ptr noundef %90, i32 noundef %95, i32 noundef 1) store ptr %96, ptr %4, align 8 br label %98 97: ; preds = %74 br label %98 98: ; preds = %97, %89 %99 = phi ptr [ %96, %89 ], [ null, %97 ] %100 = load i64, ptr %6, align 8 %101 = getelementptr inbounds [5 x %struct.anon], ptr @escape_html.tags, i64 0, i64 %100 %102 = getelementptr inbounds %struct.anon, ptr %101, i32 0, i32 2 %103 = load i64, ptr %102, align 8 %104 = load ptr, ptr %4, align 8 %105 = getelementptr inbounds i64, ptr %104, i64 -2 %106 = getelementptr inbounds i64, ptr %105, i64 1 %107 = load i64, ptr %106, align 8 %108 = add i64 %107, %103 store i64 %108, ptr %106, align 8 %109 = load ptr, ptr %4, align 8 %110 = load ptr, ptr %4, align 8 %111 = getelementptr inbounds i64, ptr %110, i64 -2 %112 = getelementptr inbounds i64, ptr %111, i64 1 %113 = load i64, ptr %112, align 8 %114 = load i64, ptr %6, align 8 %115 = getelementptr inbounds [5 x %struct.anon], ptr @escape_html.tags, i64 0, i64 %114 %116 = getelementptr inbounds %struct.anon, ptr %115, i32 0, i32 2 %117 = load i64, ptr %116, align 8 %118 = sub i64 %113, %117 %119 = getelementptr inbounds i8, ptr %109, i64 %118 %120 = load i64, ptr %6, align 8 %121 = getelementptr inbounds [5 x %struct.anon], ptr @escape_html.tags, i64 0, i64 %120 %122 = getelementptr inbounds %struct.anon, ptr %121, i32 0, i32 1 %123 = load ptr, ptr %122, align 8 %124 = load i64, ptr %6, align 8 %125 = getelementptr inbounds [5 x %struct.anon], ptr @escape_html.tags, i64 0, i64 %124 %126 = getelementptr inbounds %struct.anon, ptr %125, i32 0, i32 2 %127 = load i64, ptr %126, align 8 %128 = call i32 @memcpy(ptr noundef %119, ptr noundef %123, i64 noundef %127) br label %133 129: ; preds = %61 br label %130 130: ; preds = %129 %131 = load i64, ptr %6, align 8 %132 = add i64 %131, 1 store i64 %132, ptr %6, align 8 br label %58, !llvm.loop !6 133: ; preds = %98, %58 br label %134 134: ; preds = %133 %135 = load ptr, ptr %3, align 8 %136 = getelementptr inbounds i8, ptr %135, i32 1 store ptr %136, ptr %3, align 8 br label %8 137: ; preds = %56 %138 = load ptr, ptr %4, align 8 %139 = icmp eq ptr %138, null br i1 %139, label %151, label %140 140: ; preds = %137 %141 = load ptr, ptr %4, align 8 %142 = getelementptr inbounds i64, ptr %141, i64 -2 %143 = getelementptr inbounds i64, ptr %142, i64 1 %144 = load i64, ptr %143, align 8 %145 = add i64 %144, 1 %146 = load ptr, ptr %4, align 8 %147 = getelementptr inbounds i64, ptr %146, i64 -2 %148 = getelementptr inbounds i64, ptr %147, i64 0 %149 = load i64, ptr %148, align 8 %150 = icmp uge i64 %145, %149 br i1 %150, label %151, label %154 151: ; preds = %140, %137 %152 = load ptr, ptr %4, align 8 %153 = call ptr @stb__sbgrowf(ptr noundef %152, i32 noundef 1, i32 noundef 1) store ptr %153, ptr %4, align 8 br label %155 154: ; preds = %140 br label %155 155: ; preds = %154, %151 %156 = phi ptr [ %153, %151 ], [ null, %154 ] %157 = load ptr, ptr %4, align 8 %158 = load ptr, ptr %4, align 8 %159 = getelementptr inbounds i64, ptr %158, i64 -2 %160 = getelementptr inbounds i64, ptr %159, i64 1 %161 = load i64, ptr %160, align 8 %162 = add i64 %161, 1 store i64 %162, ptr %160, align 8 %163 = getelementptr inbounds i8, ptr %157, i64 %161 store i8 0, ptr %163, align 1 %164 = load ptr, ptr %4, align 8 ret ptr %164 } declare i64 @strcspn(ptr noundef, ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 declare ptr @stb__sbgrowf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp864od109.c" target datalayout = "e-m:e-p270: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.anon = type { i8, ptr, i64 } @escape_html.tags = internal constant [5 x %struct.anon] [%struct.anon { i8 60, ptr @.str, i64 4 }, %struct.anon { i8 62, ptr @.str.1, i64 4 }, %struct.anon { i8 38, ptr @.str.2, i64 5 }, %struct.anon { i8 34, ptr @.str.3, i64 6 }, %struct.anon { i8 39, ptr @.str.4, i64 5 }], align 16 @.str = private unnamed_addr constant [5 x i8] c"&lt;\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"&gt;\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"&amp;\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"&quot;\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"&#39;\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"<>&'\22\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @escape_html(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 store ptr %7, ptr %3, align 8 store ptr null, ptr %4, align 8 br label %8 8: ; preds = %135, %1 %9 = load ptr, ptr %3, align 8 %10 = call i64 @strcspn(ptr noundef %9, ptr noundef @.str.5) store i64 %10, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %25, label %13 13: ; preds = %8 %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds i64, ptr %14, i64 -2 %16 = getelementptr inbounds i64, ptr %15, i64 1 %17 = load i64, ptr %16, align 8 %18 = load i64, ptr %5, align 8 %19 = add i64 %17, %18 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds i64, ptr %20, i64 -2 %22 = getelementptr inbounds i64, ptr %21, i64 0 %23 = load i64, ptr %22, align 8 %24 = icmp uge i64 %19, %23 br i1 %24, label %25, label %30 25: ; preds = %13, %8 %26 = load ptr, ptr %4, align 8 %27 = load i64, ptr %5, align 8 %28 = trunc i64 %27 to i32 %29 = call ptr @stb__sbgrowf(ptr noundef %26, i32 noundef %28, i32 noundef 1) store ptr %29, ptr %4, align 8 br label %31 30: ; preds = %13 br label %31 31: ; preds = %30, %25 %32 = phi ptr [ %29, %25 ], [ null, %30 ] %33 = load i64, ptr %5, align 8 %34 = load ptr, ptr %4, align 8 %35 = getelementptr inbounds i64, ptr %34, i64 -2 %36 = getelementptr inbounds i64, ptr %35, i64 1 %37 = load i64, ptr %36, align 8 %38 = add i64 %37, %33 store i64 %38, ptr %36, align 8 %39 = load ptr, ptr %4, align 8 %40 = load ptr, ptr %4, align 8 %41 = getelementptr inbounds i64, ptr %40, i64 -2 %42 = getelementptr inbounds i64, ptr %41, i64 1 %43 = load i64, ptr %42, align 8 %44 = load i64, ptr %5, align 8 %45 = sub i64 %43, %44 %46 = getelementptr inbounds i8, ptr %39, i64 %45 %47 = load ptr, ptr %3, align 8 %48 = load i64, ptr %5, align 8 %49 = call i32 @memcpy(ptr noundef %46, ptr noundef %47, i64 noundef %48) %50 = load i64, ptr %5, align 8 %51 = load ptr, ptr %3, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 %50 store ptr %52, ptr %3, align 8 %53 = load ptr, ptr %3, align 8 %54 = load i8, ptr %53, align 1 %55 = icmp ne i8 %54, 0 br i1 %55, label %57, label %56 56: ; preds = %31 br label %138 57: ; preds = %31 store i64 0, ptr %6, align 8 %58 = load i64, ptr %6, align 8 %59 = icmp ult i64 %58, 5 br i1 %59, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %57 br label %60 60: ; preds = %.lr.ph, %129 %61 = load ptr, ptr %3, align 8 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = load i64, ptr %6, align 8 %65 = getelementptr inbounds [5 x %struct.anon], ptr @escape_html.tags, i64 0, i64 %64 %66 = getelementptr inbounds %struct.anon, ptr %65, i32 0, i32 0 %67 = load i8, ptr %66, align 8 %68 = sext i8 %67 to i32 %69 = icmp eq i32 %63, %68 br i1 %69, label %70, label %128 70: ; preds = %60 %71 = load ptr, ptr %4, align 8 %72 = icmp eq ptr %71, null br i1 %72, label %88, label %73 73: ; preds = %70 %74 = load ptr, ptr %4, align 8 %75 = getelementptr inbounds i64, ptr %74, i64 -2 %76 = getelementptr inbounds i64, ptr %75, i64 1 %77 = load i64, ptr %76, align 8 %78 = load i64, ptr %6, align 8 %79 = getelementptr inbounds [5 x %struct.anon], ptr @escape_html.tags, i64 0, i64 %78 %80 = getelementptr inbounds %struct.anon, ptr %79, i32 0, i32 2 %81 = load i64, ptr %80, align 8 %82 = add i64 %77, %81 %83 = load ptr, ptr %4, align 8 %84 = getelementptr inbounds i64, ptr %83, i64 -2 %85 = getelementptr inbounds i64, ptr %84, i64 0 %86 = load i64, ptr %85, align 8 %87 = icmp uge i64 %82, %86 br i1 %87, label %88, label %96 88: ; preds = %73, %70 %89 = load ptr, ptr %4, align 8 %90 = load i64, ptr %6, align 8 %91 = getelementptr inbounds [5 x %struct.anon], ptr @escape_html.tags, i64 0, i64 %90 %92 = getelementptr inbounds %struct.anon, ptr %91, i32 0, i32 2 %93 = load i64, ptr %92, align 8 %94 = trunc i64 %93 to i32 %95 = call ptr @stb__sbgrowf(ptr noundef %89, i32 noundef %94, i32 noundef 1) store ptr %95, ptr %4, align 8 br label %97 96: ; preds = %73 br label %97 97: ; preds = %96, %88 %98 = phi ptr [ %95, %88 ], [ null, %96 ] %99 = load i64, ptr %6, align 8 %100 = getelementptr inbounds [5 x %struct.anon], ptr @escape_html.tags, i64 0, i64 %99 %101 = getelementptr inbounds %struct.anon, ptr %100, i32 0, i32 2 %102 = load i64, ptr %101, align 8 %103 = load ptr, ptr %4, align 8 %104 = getelementptr inbounds i64, ptr %103, i64 -2 %105 = getelementptr inbounds i64, ptr %104, i64 1 %106 = load i64, ptr %105, align 8 %107 = add i64 %106, %102 store i64 %107, ptr %105, align 8 %108 = load ptr, ptr %4, align 8 %109 = load ptr, ptr %4, align 8 %110 = getelementptr inbounds i64, ptr %109, i64 -2 %111 = getelementptr inbounds i64, ptr %110, i64 1 %112 = load i64, ptr %111, align 8 %113 = load i64, ptr %6, align 8 %114 = getelementptr inbounds [5 x %struct.anon], ptr @escape_html.tags, i64 0, i64 %113 %115 = getelementptr inbounds %struct.anon, ptr %114, i32 0, i32 2 %116 = load i64, ptr %115, align 8 %117 = sub i64 %112, %116 %118 = getelementptr inbounds i8, ptr %108, i64 %117 %119 = load i64, ptr %6, align 8 %120 = getelementptr inbounds [5 x %struct.anon], ptr @escape_html.tags, i64 0, i64 %119 %121 = getelementptr inbounds %struct.anon, ptr %120, i32 0, i32 1 %122 = load ptr, ptr %121, align 8 %123 = load i64, ptr %6, align 8 %124 = getelementptr inbounds [5 x %struct.anon], ptr @escape_html.tags, i64 0, i64 %123 %125 = getelementptr inbounds %struct.anon, ptr %124, i32 0, i32 2 %126 = load i64, ptr %125, align 8 %127 = call i32 @memcpy(ptr noundef %118, ptr noundef %122, i64 noundef %126) br label %134 128: ; preds = %60 br label %129 129: ; preds = %128 %130 = load i64, ptr %6, align 8 %131 = add i64 %130, 1 store i64 %131, ptr %6, align 8 %132 = load i64, ptr %6, align 8 %133 = icmp ult i64 %132, 5 br i1 %133, label %60, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %129 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %57 br label %134 134: ; preds = %.loopexit, %97 br label %135 135: ; preds = %134 %136 = load ptr, ptr %3, align 8 %137 = getelementptr inbounds i8, ptr %136, i32 1 store ptr %137, ptr %3, align 8 br label %8 138: ; preds = %56 %139 = load ptr, ptr %4, align 8 %140 = icmp eq ptr %139, null br i1 %140, label %152, label %141 141: ; preds = %138 %142 = load ptr, ptr %4, align 8 %143 = getelementptr inbounds i64, ptr %142, i64 -2 %144 = getelementptr inbounds i64, ptr %143, i64 1 %145 = load i64, ptr %144, align 8 %146 = add i64 %145, 1 %147 = load ptr, ptr %4, align 8 %148 = getelementptr inbounds i64, ptr %147, i64 -2 %149 = getelementptr inbounds i64, ptr %148, i64 0 %150 = load i64, ptr %149, align 8 %151 = icmp uge i64 %146, %150 br i1 %151, label %152, label %155 152: ; preds = %141, %138 %153 = load ptr, ptr %4, align 8 %154 = call ptr @stb__sbgrowf(ptr noundef %153, i32 noundef 1, i32 noundef 1) store ptr %154, ptr %4, align 8 br label %156 155: ; preds = %141 br label %156 156: ; preds = %155, %152 %157 = phi ptr [ %154, %152 ], [ null, %155 ] %158 = load ptr, ptr %4, align 8 %159 = load ptr, ptr %4, align 8 %160 = getelementptr inbounds i64, ptr %159, i64 -2 %161 = getelementptr inbounds i64, ptr %160, i64 1 %162 = load i64, ptr %161, align 8 %163 = add i64 %162, 1 store i64 %163, ptr %161, align 8 %164 = getelementptr inbounds i8, ptr %158, i64 %162 store i8 0, ptr %164, align 1 %165 = load ptr, ptr %4, align 8 ret ptr %165 } declare i64 @strcspn(ptr noundef, ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 declare ptr @stb__sbgrowf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp5aodd_89.c' source_filename = "/tmp/tmp5aodd_89.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"This should pass\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"This should fail\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"This should pass and not exit\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"This should fail and then exit\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call ptr (...) @newtest() store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @test(ptr noundef %4, i32 noundef 1, ptr noundef @.str) %6 = load ptr, ptr %2, align 8 %7 = call i32 @test(ptr noundef %6, i32 noundef 0, ptr noundef @.str.1) %8 = load ptr, ptr %2, align 8 %9 = call i32 @testf(ptr noundef %8, i32 noundef 1, ptr noundef @.str.2) %10 = load ptr, ptr %2, align 8 %11 = call i32 @testf(ptr noundef %10, i32 noundef 0, ptr noundef @.str.3) ret i32 0 } declare ptr @newtest(...) #1 declare i32 @test(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @testf(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5aodd_89.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"This should pass\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"This should fail\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"This should pass and not exit\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"This should fail and then exit\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call ptr (...) @newtest() store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @test(ptr noundef %4, i32 noundef 1, ptr noundef @.str) %6 = load ptr, ptr %2, align 8 %7 = call i32 @test(ptr noundef %6, i32 noundef 0, ptr noundef @.str.1) %8 = load ptr, ptr %2, align 8 %9 = call i32 @testf(ptr noundef %8, i32 noundef 1, ptr noundef @.str.2) %10 = load ptr, ptr %2, align 8 %11 = call i32 @testf(ptr noundef %10, i32 noundef 0, ptr noundef @.str.3) ret i32 0 } declare ptr @newtest(...) #1 declare i32 @test(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @testf(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmbe8euof.c' source_filename = "/tmp/tmpmbe8euof.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_EMRPOLYPOLYLINE_swap(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @core2_swap(ptr noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @core2_swap(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/tmpmbe8euof.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_EMRPOLYPOLYLINE_swap(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @core2_swap(ptr noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @core2_swap(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"}