llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmptwuk9uoi.c' source_filename = "/tmp/tmptwuk9uoi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @no_instrument() #0 { %1 = call i32 (...) @foo() ret i32 %1 } declare i32 @foo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptwuk9uoi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @no_instrument() #0 { %1 = call i32 (...) @foo() ret i32 %1 } declare i32 @foo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpblyhu2l3.c' source_filename = "/tmp/tmpblyhu2l3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @codesize(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i64 %0, ptr %3, align 8 %4 = load i64, ptr %3, align 8 %5 = icmp ule i64 %4, 6 br i1 %5, label %6, label %11 6: ; preds = %1 %7 = load i64, ptr %3, align 8 %8 = mul i64 %7, 10 %9 = add i64 %8, 7 %10 = add i64 %9, 1 store i64 %10, ptr %2, align 8 br label %18 11: ; preds = %1 %12 = load i64, ptr %3, align 8 %13 = sub i64 %12, 6 %14 = mul i64 %13, 16 %15 = add i64 68, %14 %16 = add i64 %15, 7 %17 = add i64 %16, 2 store i64 %17, ptr %2, align 8 br label %18 18: ; preds = %11, %6 %19 = load i64, ptr %2, align 8 ret i64 %19 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpblyhu2l3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @codesize(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i64 %0, ptr %3, align 8 %4 = load i64, ptr %3, align 8 %5 = icmp ule i64 %4, 6 br i1 %5, label %6, label %11 6: ; preds = %1 %7 = load i64, ptr %3, align 8 %8 = mul i64 %7, 10 %9 = add i64 %8, 7 %10 = add i64 %9, 1 store i64 %10, ptr %2, align 8 br label %18 11: ; preds = %1 %12 = load i64, ptr %3, align 8 %13 = sub i64 %12, 6 %14 = mul i64 %13, 16 %15 = add i64 68, %14 %16 = add i64 %15, 7 %17 = add i64 %16, 2 store i64 %17, ptr %2, align 8 br label %18 18: ; preds = %11, %6 %19 = load i64, ptr %2, align 8 ret i64 %19 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv8xh3nsw.c' source_filename = "/tmp/tmpv8xh3nsw.c" target datalayout = "e-m:e-p270: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.dirent = type { ptr } @.str = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"open .\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c".TST\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [13 x i8] c"warning: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c" length\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c" double%d\0A\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"close .\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @test() #0 { %1 = alloca i8, align 1 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i64, align 8 %6 = call ptr @opendir(ptr noundef @.str) store ptr %6, ptr %2, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 @perror(ptr noundef @.str.1) store i8 0, ptr %1, align 1 br label %64 10: ; preds = %0 store i8 0, ptr %4, align 1 br label %11 11: ; preds = %50, %36, %32, %22, %10 %12 = load ptr, ptr %2, align 8 %13 = call ptr @readdir(ptr noundef %12) store ptr %13, ptr %3, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %56 15: ; preds = %11 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds %struct.dirent, ptr %16, i32 0, i32 0 %18 = load ptr, ptr %17, align 8 %19 = call i64 @strlen(ptr noundef %18) store i64 %19, ptr %5, align 8 %20 = load i64, ptr %5, align 8 %21 = icmp ult i64 %20, 4 br i1 %21, label %22, label %23 22: ; preds = %15 br label %11, !llvm.loop !6 23: ; preds = %15 %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds %struct.dirent, ptr %24, i32 0, i32 0 %26 = load ptr, ptr %25, align 8 %27 = load i64, ptr %5, align 8 %28 = getelementptr inbounds i8, ptr %26, i64 %27 %29 = getelementptr inbounds i8, ptr %28, i64 -4 %30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str.2) %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %33 32: ; preds = %23 br label %11, !llvm.loop !6 33: ; preds = %23 %34 = load i64, ptr %5, align 8 %35 = icmp ne i64 %34, 5 br i1 %35, label %36, label %43 36: ; preds = %33 %37 = load i32, ptr @stderr, align 4 %38 = load ptr, ptr %3, align 8 %39 = getelementptr inbounds %struct.dirent, ptr %38, i32 0, i32 0 %40 = load ptr, ptr %39, align 8 %41 = call i32 @fprintf(i32 noundef %37, ptr noundef @.str.3, ptr noundef %40) %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %11, !llvm.loop !6 43: ; preds = %33 %44 = load i8, ptr %4, align 1 %45 = icmp ne i8 %44, 0 br i1 %45, label %46, label %50 46: ; preds = %43 %47 = load i8, ptr %4, align 1 %48 = zext i8 %47 to i32 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %48) br label %50 50: ; preds = %46, %43 %51 = load ptr, ptr %3, align 8 %52 = getelementptr inbounds %struct.dirent, ptr %51, i32 0, i32 0 %53 = load ptr, ptr %52, align 8 %54 = getelementptr inbounds i8, ptr %53, i64 0 %55 = load i8, ptr %54, align 1 store i8 %55, ptr %4, align 1 br label %11, !llvm.loop !6 56: ; preds = %11 %57 = load ptr, ptr %2, align 8 %58 = call i64 @closedir(ptr noundef %57) %59 = icmp ne i64 %58, 0 br i1 %59, label %60, label %62 60: ; preds = %56 %61 = call i32 @perror(ptr noundef @.str.6) br label %62 62: ; preds = %60, %56 %63 = load i8, ptr %4, align 1 store i8 %63, ptr %1, align 1 br label %64 64: ; preds = %62, %8 %65 = load i8, ptr %1, align 1 ret i8 %65 } declare ptr @opendir(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @closedir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpv8xh3nsw.c" target datalayout = "e-m:e-p270: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.dirent = type { ptr } @.str = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"open .\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c".TST\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [13 x i8] c"warning: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c" length\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c" double%d\0A\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"close .\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @test() #0 { %1 = alloca i8, align 1 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i64, align 8 %6 = call ptr @opendir(ptr noundef @.str) store ptr %6, ptr %2, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 @perror(ptr noundef @.str.1) store i8 0, ptr %1, align 1 br label %66 10: ; preds = %0 store i8 0, ptr %4, align 1 %11 = load ptr, ptr %2, align 8 %12 = call ptr @readdir(ptr noundef %11) store ptr %12, ptr %3, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %.lr.ph, label %58 .lr.ph: ; preds = %10 br label %14 14: ; preds = %.lr.ph, %.backedge %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds %struct.dirent, ptr %15, i32 0, i32 0 %17 = load ptr, ptr %16, align 8 %18 = call i64 @strlen(ptr noundef %17) store i64 %18, ptr %5, align 8 %19 = load i64, ptr %5, align 8 %20 = icmp ult i64 %19, 4 br i1 %20, label %21, label %25 21: ; preds = %14 br label %.backedge .backedge: ; preds = %21, %34, %38, %52 %22 = load ptr, ptr %2, align 8 %23 = call ptr @readdir(ptr noundef %22) store ptr %23, ptr %3, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %14, label %._crit_edge, !llvm.loop !6 25: ; preds = %14 %26 = load ptr, ptr %3, align 8 %27 = getelementptr inbounds %struct.dirent, ptr %26, i32 0, i32 0 %28 = load ptr, ptr %27, align 8 %29 = load i64, ptr %5, align 8 %30 = getelementptr inbounds i8, ptr %28, i64 %29 %31 = getelementptr inbounds i8, ptr %30, i64 -4 %32 = call i64 @strcmp(ptr noundef %31, ptr noundef @.str.2) %33 = icmp ne i64 %32, 0 br i1 %33, label %34, label %35 34: ; preds = %25 br label %.backedge 35: ; preds = %25 %36 = load i64, ptr %5, align 8 %37 = icmp ne i64 %36, 5 br i1 %37, label %38, label %45 38: ; preds = %35 %39 = load i32, ptr @stderr, align 4 %40 = load ptr, ptr %3, align 8 %41 = getelementptr inbounds %struct.dirent, ptr %40, i32 0, i32 0 %42 = load ptr, ptr %41, align 8 %43 = call i32 @fprintf(i32 noundef %39, ptr noundef @.str.3, ptr noundef %42) %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %.backedge 45: ; preds = %35 %46 = load i8, ptr %4, align 1 %47 = icmp ne i8 %46, 0 br i1 %47, label %48, label %52 48: ; preds = %45 %49 = load i8, ptr %4, align 1 %50 = zext i8 %49 to i32 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %50) br label %52 52: ; preds = %48, %45 %53 = load ptr, ptr %3, align 8 %54 = getelementptr inbounds %struct.dirent, ptr %53, i32 0, i32 0 %55 = load ptr, ptr %54, align 8 %56 = getelementptr inbounds i8, ptr %55, i64 0 %57 = load i8, ptr %56, align 1 store i8 %57, ptr %4, align 1 br label %.backedge ._crit_edge: ; preds = %.backedge br label %58 58: ; preds = %._crit_edge, %10 %59 = load ptr, ptr %2, align 8 %60 = call i64 @closedir(ptr noundef %59) %61 = icmp ne i64 %60, 0 br i1 %61, label %62, label %64 62: ; preds = %58 %63 = call i32 @perror(ptr noundef @.str.6) br label %64 64: ; preds = %62, %58 %65 = load i8, ptr %4, align 1 store i8 %65, ptr %1, align 1 br label %66 66: ; preds = %64, %8 %67 = load i8, ptr %1, align 1 ret i8 %67 } declare ptr @opendir(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @closedir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmppc3c2n06.c' source_filename = "/tmp/tmppc3c2n06.c" target datalayout = "e-m:e-p270: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/tmppc3c2n06.c" target datalayout = "e-m:e-p270: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/tmpynqb7z4g.c' source_filename = "/tmp/tmpynqb7z4g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"ERROR: no memory! Exiting...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @expr_realloc(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 = load i64, ptr %4, align 8 %7 = call ptr @realloc(ptr noundef %5, i64 noundef %6) #4 store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %2 %11 = call i32 @printf(ptr noundef @.str) %12 = call i32 @exit(i32 noundef 1) #5 unreachable 13: ; preds = %2 %14 = load ptr, ptr %3, align 8 ret ptr %14 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @printf(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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 #4 = { allocsize(1) } attributes #5 = { 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/tmpynqb7z4g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"ERROR: no memory! Exiting...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @expr_realloc(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 = load i64, ptr %4, align 8 %7 = call ptr @realloc(ptr noundef %5, i64 noundef %6) #4 store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %2 %11 = call i32 @printf(ptr noundef @.str) %12 = call i32 @exit(i32 noundef 1) #5 unreachable 13: ; preds = %2 %14 = load ptr, ptr %3, align 8 ret ptr %14 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @printf(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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 #4 = { allocsize(1) } attributes #5 = { 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/tmp783wlrlk.c' source_filename = "/tmp/tmp783wlrlk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"CALL VLID=%d UDATA=%08lx RCID=%d TO=%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @phLinePlaceCall(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca [1000 x i8], align 16 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %10 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0 %11 = load ptr, ptr %7, align 8 %12 = ptrtoint ptr %11 to i64 %13 = load i32, ptr %8, align 4 %14 = load ptr, ptr %6, align 8 %15 = call i32 @snprintf(ptr noundef %10, i32 noundef 1000, ptr noundef @.str, i64 noundef %12, i32 noundef %13, ptr noundef %14) %16 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0 %17 = call i32 @ph_rpc(ptr noundef %16) ret i32 %17 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef) #1 declare i32 @ph_rpc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp783wlrlk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"CALL VLID=%d UDATA=%08lx RCID=%d TO=%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @phLinePlaceCall(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca [1000 x i8], align 16 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %10 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0 %11 = load ptr, ptr %7, align 8 %12 = ptrtoint ptr %11 to i64 %13 = load i32, ptr %8, align 4 %14 = load ptr, ptr %6, align 8 %15 = call i32 @snprintf(ptr noundef %10, i32 noundef 1000, ptr noundef @.str, i64 noundef %12, i32 noundef %13, ptr noundef %14) %16 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0 %17 = call i32 @ph_rpc(ptr noundef %16) ret i32 %17 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef) #1 declare i32 @ph_rpc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3f4nn6h7.c' source_filename = "/tmp/tmp3f4nn6h7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @get_next_argd(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @get_next_arg(ptr noundef %6, ptr noundef %7) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = call double @atof(ptr noundef %9) ret double %10 } declare ptr @get_next_arg(ptr noundef, ptr noundef) #1 declare double @atof(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3f4nn6h7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @get_next_argd(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @get_next_arg(ptr noundef %6, ptr noundef %7) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = call double @atof(ptr noundef %9) ret double %10 } declare ptr @get_next_arg(ptr noundef, ptr noundef) #1 declare double @atof(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcj_ilejc.c' source_filename = "/tmp/tmpcj_ilejc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @WidgetMutexInit(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 store i64 0, ptr %3, 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/tmpcj_ilejc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @WidgetMutexInit(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 store i64 0, ptr %3, 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/tmptkomw1pl.c' source_filename = "/tmp/tmptkomw1pl.c" target datalayout = "e-m:e-p270: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/tmptkomw1pl.c" target datalayout = "e-m:e-p270: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/tmpckgcz45y.c' source_filename = "/tmp/tmpckgcz45y.c" target datalayout = "e-m:e-p270: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 [44 x i8] c"usage: mkdir [-pv] [-m mode] directory ...\0A\00", align 1 @EX_USAGE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @EX_USAGE, align 4 %4 = call i32 @exit(i32 noundef %3) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpckgcz45y.c" target datalayout = "e-m:e-p270: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 [44 x i8] c"usage: mkdir [-pv] [-m mode] directory ...\0A\00", align 1 @EX_USAGE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @EX_USAGE, align 4 %4 = call i32 @exit(i32 noundef %3) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphtk0q6qh.c' source_filename = "/tmp/tmphtk0q6qh.c" target datalayout = "e-m:e-p270: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/tmphtk0q6qh.c" target datalayout = "e-m:e-p270: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/tmpz7xe7kio.c' source_filename = "/tmp/tmpz7xe7kio.c" target datalayout = "e-m:e-p270: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/tmpz7xe7kio.c" target datalayout = "e-m:e-p270: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/tmpb315ctl_.c' source_filename = "/tmp/tmpb315ctl_.c" target datalayout = "e-m:e-p270: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.optstring = private unnamed_addr constant [5 x i8] c"abcd\00", align 1 @EOF = dso_local global i8 0, align 1 @.str = private unnamed_addr constant [17 x i8] c"option a caught\0A\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"option b caugth\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"option c caught\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"option d caught\0A\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"Unkown options\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 [5 x i8], align 1 %7 = alloca i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.optstring, i64 5, i1 false) br label %8 8: ; preds = %30, %2 %9 = load i32, ptr %4, align 4 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0 %12 = call signext i8 @getopt(i32 noundef %9, ptr noundef %10, ptr noundef %11) store i8 %12, ptr %7, align 1 %13 = sext i8 %12 to i32 %14 = load i8, ptr @EOF, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %13, %15 br i1 %16, label %17, label %31 17: ; preds = %8 %18 = load i8, ptr %7, align 1 %19 = sext i8 %18 to i32 switch i32 %19, label %28 [ i32 97, label %20 i32 98, label %22 i32 99, label %24 i32 100, label %26 ] 20: ; preds = %17 %21 = call i32 @printf(ptr noundef @.str) br label %30 22: ; preds = %17 %23 = call i32 @printf(ptr noundef @.str.1) br label %30 24: ; preds = %17 %25 = call i32 @printf(ptr noundef @.str.2) br label %30 26: ; preds = %17 %27 = call i32 @printf(ptr noundef @.str.3) br label %30 28: ; preds = %17 %29 = call i32 @printf(ptr noundef @.str.4) br label %30 30: ; preds = %28, %26, %24, %22, %20 br label %8, !llvm.loop !6 31: ; preds = %8 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 signext i8 @getopt(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb315ctl_.c" target datalayout = "e-m:e-p270: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.optstring = private unnamed_addr constant [5 x i8] c"abcd\00", align 1 @EOF = dso_local global i8 0, align 1 @.str = private unnamed_addr constant [17 x i8] c"option a caught\0A\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"option b caugth\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"option c caught\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"option d caught\0A\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"Unkown options\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 [5 x i8], align 1 %7 = alloca i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.optstring, i64 5, i1 false) %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0 %11 = call signext i8 @getopt(i32 noundef %8, ptr noundef %9, ptr noundef %10) store i8 %11, ptr %7, align 1 %12 = sext i8 %11 to i32 %13 = load i8, ptr @EOF, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %12, %14 br i1 %15, label %.lr.ph, label %37 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %29 %17 = load i8, ptr %7, align 1 %18 = sext i8 %17 to i32 switch i32 %18, label %27 [ i32 97, label %19 i32 98, label %21 i32 99, label %23 i32 100, label %25 ] 19: ; preds = %16 %20 = call i32 @printf(ptr noundef @.str) br label %29 21: ; preds = %16 %22 = call i32 @printf(ptr noundef @.str.1) br label %29 23: ; preds = %16 %24 = call i32 @printf(ptr noundef @.str.2) br label %29 25: ; preds = %16 %26 = call i32 @printf(ptr noundef @.str.3) br label %29 27: ; preds = %16 %28 = call i32 @printf(ptr noundef @.str.4) br label %29 29: ; preds = %27, %25, %23, %21, %19 %30 = load i32, ptr %4, align 4 %31 = load ptr, ptr %5, align 8 %32 = call signext i8 @getopt(i32 noundef %30, ptr noundef %31, ptr noundef %10) store i8 %32, ptr %7, align 1 %33 = sext i8 %32 to i32 %34 = load i8, ptr @EOF, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 %33, %35 br i1 %36, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %37 37: ; preds = %._crit_edge, %2 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 signext i8 @getopt(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvaagup6i.c' source_filename = "/tmp/tmpvaagup6i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BatchInterpolatedGradX2DZero(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8, double noundef %9, i64 noundef %10) #0 { %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca i64, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca i64, align 8 %26 = alloca i64, align 8 %27 = alloca i64, align 8 store ptr %0, ptr %12, align 8 store ptr %1, ptr %13, align 8 store i64 %2, ptr %14, align 8 store i64 %3, ptr %15, align 8 store double %4, ptr %16, align 8 store double %5, ptr %17, align 8 store double %6, ptr %18, align 8 store double %7, ptr %19, align 8 store double %8, ptr %20, align 8 store double %9, ptr %21, align 8 store i64 %10, ptr %22, align 8 store i64 0, ptr %25, align 8 store i64 0, ptr %27, align 8 br label %28 28: ; preds = %70, %11 %29 = load i64, ptr %27, align 8 %30 = sitofp i64 %29 to double %31 = load double, ptr %19, align 8 %32 = fcmp olt double %30, %31 br i1 %32, label %33, label %73 33: ; preds = %28 store i64 0, ptr %26, align 8 br label %34 34: ; preds = %66, %33 %35 = load i64, ptr %26, align 8 %36 = sitofp i64 %35 to double %37 = load double, ptr %16, align 8 %38 = fcmp olt double %36, %37 br i1 %38, label %39, label %69 39: ; preds = %34 %40 = load i64, ptr %26, align 8 %41 = sitofp i64 %40 to double %42 = load double, ptr %17, align 8 %43 = fsub double %41, %42 %44 = load double, ptr %18, align 8 %45 = fdiv double %43, %44 store double %45, ptr %23, align 8 %46 = load i64, ptr %27, align 8 %47 = sitofp i64 %46 to double %48 = load double, ptr %20, align 8 %49 = fsub double %47, %48 %50 = load double, ptr %21, align 8 %51 = fdiv double %49, %50 store double %51, ptr %24, align 8 %52 = load ptr, ptr %13, align 8 %53 = load i64, ptr %14, align 8 %54 = load i64, ptr %15, align 8 %55 = load double, ptr %23, align 8 %56 = load double, ptr %24, align 8 %57 = load i64, ptr %22, align 8 %58 = call double @InterpolatedGradXZero(ptr noundef %52, i64 noundef %53, i64 noundef %54, double noundef %55, double noundef %56, i64 noundef %57) %59 = load double, ptr %18, align 8 %60 = fdiv double %58, %59 %61 = fptrunc double %60 to float %62 = load ptr, ptr %12, align 8 %63 = load i64, ptr %25, align 8 %64 = add nsw i64 %63, 1 store i64 %64, ptr %25, align 8 %65 = getelementptr inbounds float, ptr %62, i64 %63 store float %61, ptr %65, align 4 br label %66 66: ; preds = %39 %67 = load i64, ptr %26, align 8 %68 = add nsw i64 %67, 1 store i64 %68, ptr %26, align 8 br label %34, !llvm.loop !6 69: ; preds = %34 br label %70 70: ; preds = %69 %71 = load i64, ptr %27, align 8 %72 = add nsw i64 %71, 1 store i64 %72, ptr %27, align 8 br label %28, !llvm.loop !8 73: ; preds = %28 ret void } declare double @InterpolatedGradXZero(ptr noundef, i64 noundef, i64 noundef, double noundef, double noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvaagup6i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BatchInterpolatedGradX2DZero(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8, double noundef %9, i64 noundef %10) #0 { %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca i64, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca i64, align 8 %26 = alloca i64, align 8 %27 = alloca i64, align 8 store ptr %0, ptr %12, align 8 store ptr %1, ptr %13, align 8 store i64 %2, ptr %14, align 8 store i64 %3, ptr %15, align 8 store double %4, ptr %16, align 8 store double %5, ptr %17, align 8 store double %6, ptr %18, align 8 store double %7, ptr %19, align 8 store double %8, ptr %20, align 8 store double %9, ptr %21, align 8 store i64 %10, ptr %22, align 8 store i64 0, ptr %25, align 8 store i64 0, ptr %27, align 8 %28 = load i64, ptr %27, align 8 %29 = sitofp i64 %28 to double %30 = load double, ptr %19, align 8 %31 = fcmp olt double %29, %30 br i1 %31, label %.lr.ph2, label %79 .lr.ph2: ; preds = %11 br label %32 32: ; preds = %.lr.ph2, %72 store i64 0, ptr %26, align 8 %33 = load i64, ptr %26, align 8 %34 = sitofp i64 %33 to double %35 = load double, ptr %16, align 8 %36 = fcmp olt double %34, %35 br i1 %36, label %.lr.ph, label %71 .lr.ph: ; preds = %32 br label %37 37: ; preds = %.lr.ph, %64 %38 = load i64, ptr %26, align 8 %39 = sitofp i64 %38 to double %40 = load double, ptr %17, align 8 %41 = fsub double %39, %40 %42 = load double, ptr %18, align 8 %43 = fdiv double %41, %42 store double %43, ptr %23, align 8 %44 = load i64, ptr %27, align 8 %45 = sitofp i64 %44 to double %46 = load double, ptr %20, align 8 %47 = fsub double %45, %46 %48 = load double, ptr %21, align 8 %49 = fdiv double %47, %48 store double %49, ptr %24, align 8 %50 = load ptr, ptr %13, align 8 %51 = load i64, ptr %14, align 8 %52 = load i64, ptr %15, align 8 %53 = load double, ptr %23, align 8 %54 = load double, ptr %24, align 8 %55 = load i64, ptr %22, align 8 %56 = call double @InterpolatedGradXZero(ptr noundef %50, i64 noundef %51, i64 noundef %52, double noundef %53, double noundef %54, i64 noundef %55) %57 = load double, ptr %18, align 8 %58 = fdiv double %56, %57 %59 = fptrunc double %58 to float %60 = load ptr, ptr %12, align 8 %61 = load i64, ptr %25, align 8 %62 = add nsw i64 %61, 1 store i64 %62, ptr %25, align 8 %63 = getelementptr inbounds float, ptr %60, i64 %61 store float %59, ptr %63, align 4 br label %64 64: ; preds = %37 %65 = load i64, ptr %26, align 8 %66 = add nsw i64 %65, 1 store i64 %66, ptr %26, align 8 %67 = load i64, ptr %26, align 8 %68 = sitofp i64 %67 to double %69 = load double, ptr %16, align 8 %70 = fcmp olt double %68, %69 br i1 %70, label %37, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %64 br label %71 71: ; preds = %._crit_edge, %32 br label %72 72: ; preds = %71 %73 = load i64, ptr %27, align 8 %74 = add nsw i64 %73, 1 store i64 %74, ptr %27, align 8 %75 = load i64, ptr %27, align 8 %76 = sitofp i64 %75 to double %77 = load double, ptr %19, align 8 %78 = fcmp olt double %76, %77 br i1 %78, label %32, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %72 br label %79 79: ; preds = %._crit_edge3, %11 ret void } declare double @InterpolatedGradXZero(ptr noundef, i64 noundef, i64 noundef, double noundef, double noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpbuh7gdtp.c' source_filename = "/tmp/tmpbuh7gdtp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cmd_killchar(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = call i32 @check_arg_count(i32 noundef %5, i32 noundef 0) %7 = icmp eq i32 %6, 1 br i1 %7, label %8, label %9 8: ; preds = %2 br label %13 9: ; preds = %2 %10 = call i32 @report_count(i32 noundef 1) %11 = call i32 (...) @killchar() %12 = call i32 @report_int(i32 noundef %11) br label %13 13: ; preds = %9, %8 ret void } declare i32 @check_arg_count(i32 noundef, i32 noundef) #1 declare i32 @report_count(i32 noundef) #1 declare i32 @report_int(i32 noundef) #1 declare i32 @killchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbuh7gdtp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cmd_killchar(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = call i32 @check_arg_count(i32 noundef %5, i32 noundef 0) %7 = icmp eq i32 %6, 1 br i1 %7, label %8, label %9 8: ; preds = %2 br label %13 9: ; preds = %2 %10 = call i32 @report_count(i32 noundef 1) %11 = call i32 (...) @killchar() %12 = call i32 @report_int(i32 noundef %11) br label %13 13: ; preds = %9, %8 ret void } declare i32 @check_arg_count(i32 noundef, i32 noundef) #1 declare i32 @report_count(i32 noundef) #1 declare i32 @report_int(i32 noundef) #1 declare i32 @killchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpny9oen_v.c' source_filename = "/tmp/tmpny9oen_v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GC_init.initted = internal global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"/proc/self/stat\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [131 x i8] c"%*d %*s %*c %*d %*d %*d %*d %*d %*u %*lu %*lu %*lu %*lu %*lu %*lu %*ld %*ld %*ld %*ld %*ld %*ld %*llu %*lu %*ld %*lu %*lu %*lu %lu\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"stack_bottom: %u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @GC_init() #0 { %1 = alloca ptr, align 8 %2 = alloca i64, align 8 store i32 1, ptr @GC_init.initted, align 4 %3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %3, ptr %1, align 8 %4 = load ptr, ptr %1, align 8 %5 = icmp ne ptr %4, null %6 = zext i1 %5 to i32 %7 = call i32 @assert(i32 noundef %6) %8 = load ptr, ptr %1, align 8 %9 = call i32 @fscanf(ptr noundef %8, ptr noundef @.str.2, ptr noundef %2) %10 = load ptr, ptr %1, align 8 %11 = call i32 @fclose(ptr noundef %10) %12 = load i64, ptr %2, align 8 %13 = call i32 @printf(ptr noundef @.str.3, i64 noundef %12) %14 = load i64, ptr %2, align 8 ret i64 %14 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpny9oen_v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GC_init.initted = internal global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"/proc/self/stat\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [131 x i8] c"%*d %*s %*c %*d %*d %*d %*d %*d %*u %*lu %*lu %*lu %*lu %*lu %*lu %*ld %*ld %*ld %*ld %*ld %*ld %*llu %*lu %*ld %*lu %*lu %*lu %lu\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"stack_bottom: %u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @GC_init() #0 { %1 = alloca ptr, align 8 %2 = alloca i64, align 8 store i32 1, ptr @GC_init.initted, align 4 %3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %3, ptr %1, align 8 %4 = load ptr, ptr %1, align 8 %5 = icmp ne ptr %4, null %6 = zext i1 %5 to i32 %7 = call i32 @assert(i32 noundef %6) %8 = load ptr, ptr %1, align 8 %9 = call i32 @fscanf(ptr noundef %8, ptr noundef @.str.2, ptr noundef %2) %10 = load ptr, ptr %1, align 8 %11 = call i32 @fclose(ptr noundef %10) %12 = load i64, ptr %2, align 8 %13 = call i32 @printf(ptr noundef @.str.3, i64 noundef %12) %14 = load i64, ptr %2, align 8 ret i64 %14 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppmip_b7a.c' source_filename = "/tmp/tmppmip_b7a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @wurzel(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call double @sqrt(i32 noundef %3) ret double %4 } declare double @sqrt(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/tmppmip_b7a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @wurzel(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call double @sqrt(i32 noundef %3) ret double %4 } declare double @sqrt(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/tmp6vn0b6wl.c' source_filename = "/tmp/tmp6vn0b6wl.c" target datalayout = "e-m:e-p270: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/tmp6vn0b6wl.c" target datalayout = "e-m:e-p270: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/tmpf0j6vp0n.c' source_filename = "/tmp/tmpf0j6vp0n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_s_integer10(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %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 = icmp ne ptr %7, null br i1 %8, label %9, label %16 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %16 12: ; preds = %9 %13 = load ptr, ptr %4, align 8 %14 = load i8, ptr %13, align 1 %15 = icmp ne i8 %14, 0 br i1 %15, label %17, label %16 16: ; preds = %12, %9, %2 store i32 0, ptr %3, align 4 br label %31 17: ; preds = %12 store ptr null, ptr %6, align 8 %18 = load ptr, ptr %4, align 8 %19 = call i32 @strtol(ptr noundef %18, ptr noundef %6, i32 noundef 10) %20 = load ptr, ptr %5, align 8 store i32 %19, ptr %20, align 4 %21 = load ptr, ptr %6, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %23, label %28 23: ; preds = %17 %24 = load ptr, ptr %6, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 0 br label %28 28: ; preds = %23, %17 %29 = phi i1 [ false, %17 ], [ %27, %23 ] %30 = zext i1 %29 to i32 store i32 %30, ptr %3, align 4 br label %31 31: ; preds = %28, %16 %32 = load i32, ptr %3, align 4 ret i32 %32 } declare i32 @strtol(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/tmpf0j6vp0n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_s_integer10(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %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 = icmp ne ptr %7, null br i1 %8, label %9, label %16 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %16 12: ; preds = %9 %13 = load ptr, ptr %4, align 8 %14 = load i8, ptr %13, align 1 %15 = icmp ne i8 %14, 0 br i1 %15, label %17, label %16 16: ; preds = %12, %9, %2 store i32 0, ptr %3, align 4 br label %31 17: ; preds = %12 store ptr null, ptr %6, align 8 %18 = load ptr, ptr %4, align 8 %19 = call i32 @strtol(ptr noundef %18, ptr noundef %6, i32 noundef 10) %20 = load ptr, ptr %5, align 8 store i32 %19, ptr %20, align 4 %21 = load ptr, ptr %6, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %23, label %28 23: ; preds = %17 %24 = load ptr, ptr %6, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 0 br label %28 28: ; preds = %23, %17 %29 = phi i1 [ false, %17 ], [ %27, %23 ] %30 = zext i1 %29 to i32 store i32 %30, ptr %3, align 4 br label %31 31: ; preds = %28, %16 %32 = load i32, ptr %3, align 4 ret i32 %32 } declare i32 @strtol(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/tmpy51lty_0.c' source_filename = "/tmp/tmpy51lty_0.c" target datalayout = "e-m:e-p270: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.termios = type { i32, i32, i32, i32, ptr } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [49 x i8] c"\0AERROR: file descriptor %d is NOT a serial port\0A\00", align 1 @.str.1 = private unnamed_addr constant [47 x i8] c"\0AERROR: could not read configuration of fd %d\0A\00", align 1 @IGNBRK = dso_local global i32 0, align 4 @BRKINT = dso_local global i32 0, align 4 @ICRNL = dso_local global i32 0, align 4 @INLCR = dso_local global i32 0, align 4 @PARMRK = dso_local global i32 0, align 4 @INPCK = dso_local global i32 0, align 4 @ISTRIP = dso_local global i32 0, align 4 @IXON = dso_local global i32 0, align 4 @OCRNL = dso_local global i32 0, align 4 @ONLCR = dso_local global i32 0, align 4 @ONLRET = dso_local global i32 0, align 4 @ONOCR = dso_local global i32 0, align 4 @OFILL = dso_local global i32 0, align 4 @OPOST = dso_local global i32 0, align 4 @ECHO = dso_local global i32 0, align 4 @ECHONL = dso_local global i32 0, align 4 @ICANON = dso_local global i32 0, align 4 @IEXTEN = dso_local global i32 0, align 4 @ISIG = dso_local global i32 0, align 4 @CSIZE = dso_local global i32 0, align 4 @PARENB = dso_local global i32 0, align 4 @CS8 = dso_local global i32 0, align 4 @VMIN = dso_local global i64 0, align 8 @VTIME = dso_local global i64 0, align 8 @B1200 = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [52 x i8] c"\0AERROR: Could not set desired baud rate of %d Baud\0A\00", align 1 @B1800 = dso_local global i32 0, align 4 @B9600 = dso_local global i32 0, align 4 @B19200 = dso_local global i32 0, align 4 @B38400 = dso_local global i32 0, align 4 @B57600 = dso_local global i32 0, align 4 @B115200 = dso_local global i32 0, align 4 @B460800 = dso_local global i32 0, align 4 @B921600 = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [57 x i8] c"ERROR: Desired baud rate %d could not be set, aborting.\0A\00", align 1 @TCSAFLUSH = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [46 x i8] c"\0AERROR: could not set configuration of fd %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @setup_uart(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca %struct.termios, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 @isatty(i32 noundef %7) %9 = icmp ne i32 %8, 0 br i1 %9, label %14, label %10 10: ; preds = %2 %11 = load i32, ptr @stderr, align 4 %12 = load i32, ptr %4, align 4 %13 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, i32 noundef %12) store i32 -1, ptr %3, align 4 br label %197 14: ; preds = %2 %15 = load i32, ptr %4, align 4 %16 = call i64 @tcgetattr(i32 noundef %15, ptr noundef %6) %17 = icmp slt i64 %16, 0 br i1 %17, label %18, label %22 18: ; preds = %14 %19 = load i32, ptr @stderr, align 4 %20 = load i32, ptr %4, align 4 %21 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.1, i32 noundef %20) store i32 -1, ptr %3, align 4 br label %197 22: ; preds = %14 %23 = load i32, ptr @IGNBRK, align 4 %24 = load i32, ptr @BRKINT, align 4 %25 = or i32 %23, %24 %26 = load i32, ptr @ICRNL, align 4 %27 = or i32 %25, %26 %28 = load i32, ptr @INLCR, align 4 %29 = or i32 %27, %28 %30 = load i32, ptr @PARMRK, align 4 %31 = or i32 %29, %30 %32 = load i32, ptr @INPCK, align 4 %33 = or i32 %31, %32 %34 = load i32, ptr @ISTRIP, align 4 %35 = or i32 %33, %34 %36 = load i32, ptr @IXON, align 4 %37 = or i32 %35, %36 %38 = xor i32 %37, -1 %39 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0 %40 = load i32, ptr %39, align 8 %41 = and i32 %40, %38 store i32 %41, ptr %39, align 8 %42 = load i32, ptr @OCRNL, align 4 %43 = load i32, ptr @ONLCR, align 4 %44 = or i32 %42, %43 %45 = load i32, ptr @ONLRET, align 4 %46 = or i32 %44, %45 %47 = load i32, ptr @ONOCR, align 4 %48 = or i32 %46, %47 %49 = load i32, ptr @OFILL, align 4 %50 = or i32 %48, %49 %51 = load i32, ptr @OPOST, align 4 %52 = or i32 %50, %51 %53 = xor i32 %52, -1 %54 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 1 %55 = load i32, ptr %54, align 4 %56 = and i32 %55, %53 store i32 %56, ptr %54, align 4 %57 = load i32, ptr @ECHO, align 4 %58 = load i32, ptr @ECHONL, align 4 %59 = or i32 %57, %58 %60 = load i32, ptr @ICANON, align 4 %61 = or i32 %59, %60 %62 = load i32, ptr @IEXTEN, align 4 %63 = or i32 %61, %62 %64 = load i32, ptr @ISIG, align 4 %65 = or i32 %63, %64 %66 = xor i32 %65, -1 %67 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 2 %68 = load i32, ptr %67, align 8 %69 = and i32 %68, %66 store i32 %69, ptr %67, align 8 %70 = load i32, ptr @CSIZE, align 4 %71 = load i32, ptr @PARENB, align 4 %72 = or i32 %70, %71 %73 = xor i32 %72, -1 %74 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 3 %75 = load i32, ptr %74, align 4 %76 = and i32 %75, %73 store i32 %76, ptr %74, align 4 %77 = load i32, ptr @CS8, align 4 %78 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 3 %79 = load i32, ptr %78, align 4 %80 = or i32 %79, %77 store i32 %80, ptr %78, align 4 %81 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 4 %82 = load ptr, ptr %81, align 8 %83 = load i64, ptr @VMIN, align 8 %84 = getelementptr inbounds i32, ptr %82, i64 %83 store i32 1, ptr %84, align 4 %85 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 4 %86 = load ptr, ptr %85, align 8 %87 = load i64, ptr @VTIME, align 8 %88 = getelementptr inbounds i32, ptr %86, i64 %87 store i32 10, ptr %88, align 4 %89 = load i32, ptr %5, align 4 switch i32 %89, label %183 [ i32 1200, label %90 i32 1800, label %103 i32 9600, label %108 i32 19200, label %113 i32 38400, label %118 i32 57600, label %131 i32 115200, label %144 i32 460800, label %157 i32 921600, label %170 ] 90: ; preds = %22 %91 = load i32, ptr @B1200, align 4 %92 = call i32 @cfsetispeed(ptr noundef %6, i32 noundef %91) %93 = icmp slt i32 %92, 0 br i1 %93, label %98, label %94 94: ; preds = %90 %95 = load i32, ptr @B1200, align 4 %96 = call i32 @cfsetospeed(ptr noundef %6, i32 noundef %95) %97 = icmp slt i32 %96, 0 br i1 %97, label %98, label %102 98: ; preds = %94, %90 %99 = load i32, ptr @stderr, align 4 %100 = load i32, ptr %5, align 4 %101 = call i32 @fprintf(i32 noundef %99, ptr noundef @.str.2, i32 noundef %100) store i32 -1, ptr %3, align 4 br label %197 102: ; preds = %94 br label %187 103: ; preds = %22 %104 = load i32, ptr @B1800, align 4 %105 = call i32 @cfsetispeed(ptr noundef %6, i32 noundef %104) %106 = load i32, ptr @B1800, align 4 %107 = call i32 @cfsetospeed(ptr noundef %6, i32 noundef %106) br label %187 108: ; preds = %22 %109 = load i32, ptr @B9600, align 4 %110 = call i32 @cfsetispeed(ptr noundef %6, i32 noundef %109) %111 = load i32, ptr @B9600, align 4 %112 = call i32 @cfsetospeed(ptr noundef %6, i32 noundef %111) br label %187 113: ; preds = %22 %114 = load i32, ptr @B19200, align 4 %115 = call i32 @cfsetispeed(ptr noundef %6, i32 noundef %114) %116 = load i32, ptr @B19200, align 4 %117 = call i32 @cfsetospeed(ptr noundef %6, i32 noundef %116) br label %187 118: ; preds = %22 %119 = load i32, ptr @B38400, align 4 %120 = call i32 @cfsetispeed(ptr noundef %6, i32 noundef %119) %121 = icmp slt i32 %120, 0 br i1 %121, label %126, label %122 122: ; preds = %118 %123 = load i32, ptr @B38400, align 4 %124 = call i32 @cfsetospeed(ptr noundef %6, i32 noundef %123) %125 = icmp slt i32 %124, 0 br i1 %125, label %126, label %130 126: ; preds = %122, %118 %127 = load i32, ptr @stderr, align 4 %128 = load i32, ptr %5, align 4 %129 = call i32 @fprintf(i32 noundef %127, ptr noundef @.str.2, i32 noundef %128) store i32 -1, ptr %3, align 4 br label %197 130: ; preds = %122 br label %187 131: ; preds = %22 %132 = load i32, ptr @B57600, align 4 %133 = call i32 @cfsetispeed(ptr noundef %6, i32 noundef %132) %134 = icmp slt i32 %133, 0 br i1 %134, label %139, label %135 135: ; preds = %131 %136 = load i32, ptr @B57600, align 4 %137 = call i32 @cfsetospeed(ptr noundef %6, i32 noundef %136) %138 = icmp slt i32 %137, 0 br i1 %138, label %139, label %143 139: ; preds = %135, %131 %140 = load i32, ptr @stderr, align 4 %141 = load i32, ptr %5, align 4 %142 = call i32 @fprintf(i32 noundef %140, ptr noundef @.str.2, i32 noundef %141) store i32 -1, ptr %3, align 4 br label %197 143: ; preds = %135 br label %187 144: ; preds = %22 %145 = load i32, ptr @B115200, align 4 %146 = call i32 @cfsetispeed(ptr noundef %6, i32 noundef %145) %147 = icmp slt i32 %146, 0 br i1 %147, label %152, label %148 148: ; preds = %144 %149 = load i32, ptr @B115200, align 4 %150 = call i32 @cfsetospeed(ptr noundef %6, i32 noundef %149) %151 = icmp slt i32 %150, 0 br i1 %151, label %152, label %156 152: ; preds = %148, %144 %153 = load i32, ptr @stderr, align 4 %154 = load i32, ptr %5, align 4 %155 = call i32 @fprintf(i32 noundef %153, ptr noundef @.str.2, i32 noundef %154) store i32 -1, ptr %3, align 4 br label %197 156: ; preds = %148 br label %187 157: ; preds = %22 %158 = load i32, ptr @B460800, align 4 %159 = call i32 @cfsetispeed(ptr noundef %6, i32 noundef %158) %160 = icmp slt i32 %159, 0 br i1 %160, label %165, label %161 161: ; preds = %157 %162 = load i32, ptr @B460800, align 4 %163 = call i32 @cfsetospeed(ptr noundef %6, i32 noundef %162) %164 = icmp slt i32 %163, 0 br i1 %164, label %165, label %169 165: ; preds = %161, %157 %166 = load i32, ptr @stderr, align 4 %167 = load i32, ptr %5, align 4 %168 = call i32 @fprintf(i32 noundef %166, ptr noundef @.str.2, i32 noundef %167) store i32 -1, ptr %3, align 4 br label %197 169: ; preds = %161 br label %187 170: ; preds = %22 %171 = load i32, ptr @B921600, align 4 %172 = call i32 @cfsetispeed(ptr noundef %6, i32 noundef %171) %173 = icmp slt i32 %172, 0 br i1 %173, label %178, label %174 174: ; preds = %170 %175 = load i32, ptr @B921600, align 4 %176 = call i32 @cfsetospeed(ptr noundef %6, i32 noundef %175) %177 = icmp slt i32 %176, 0 br i1 %177, label %178, label %182 178: ; preds = %174, %170 %179 = load i32, ptr @stderr, align 4 %180 = load i32, ptr %5, align 4 %181 = call i32 @fprintf(i32 noundef %179, ptr noundef @.str.2, i32 noundef %180) store i32 -1, ptr %3, align 4 br label %197 182: ; preds = %174 br label %187 183: ; preds = %22 %184 = load i32, ptr @stderr, align 4 %185 = load i32, ptr %5, align 4 %186 = call i32 @fprintf(i32 noundef %184, ptr noundef @.str.3, i32 noundef %185) store i32 -1, ptr %3, align 4 br label %197 187: ; preds = %182, %169, %156, %143, %130, %113, %108, %103, %102 %188 = load i32, ptr %4, align 4 %189 = load i32, ptr @TCSAFLUSH, align 4 %190 = call i64 @tcsetattr(i32 noundef %188, i32 noundef %189, ptr noundef %6) %191 = icmp slt i64 %190, 0 br i1 %191, label %192, label %196 192: ; preds = %187 %193 = load i32, ptr @stderr, align 4 %194 = load i32, ptr %4, align 4 %195 = call i32 @fprintf(i32 noundef %193, ptr noundef @.str.4, i32 noundef %194) store i32 -1, ptr %3, align 4 br label %197 196: ; preds = %187 store i32 0, ptr %3, align 4 br label %197 197: ; preds = %196, %192, %183, %178, %165, %152, %139, %126, %98, %18, %10 %198 = load i32, ptr %3, align 4 ret i32 %198 } declare i32 @isatty(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @tcgetattr(i32 noundef, ptr noundef) #1 declare i32 @cfsetispeed(ptr noundef, i32 noundef) #1 declare i32 @cfsetospeed(ptr noundef, i32 noundef) #1 declare i64 @tcsetattr(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/tmpy51lty_0.c" target datalayout = "e-m:e-p270: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.termios = type { i32, i32, i32, i32, ptr } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [49 x i8] c"\0AERROR: file descriptor %d is NOT a serial port\0A\00", align 1 @.str.1 = private unnamed_addr constant [47 x i8] c"\0AERROR: could not read configuration of fd %d\0A\00", align 1 @IGNBRK = dso_local global i32 0, align 4 @BRKINT = dso_local global i32 0, align 4 @ICRNL = dso_local global i32 0, align 4 @INLCR = dso_local global i32 0, align 4 @PARMRK = dso_local global i32 0, align 4 @INPCK = dso_local global i32 0, align 4 @ISTRIP = dso_local global i32 0, align 4 @IXON = dso_local global i32 0, align 4 @OCRNL = dso_local global i32 0, align 4 @ONLCR = dso_local global i32 0, align 4 @ONLRET = dso_local global i32 0, align 4 @ONOCR = dso_local global i32 0, align 4 @OFILL = dso_local global i32 0, align 4 @OPOST = dso_local global i32 0, align 4 @ECHO = dso_local global i32 0, align 4 @ECHONL = dso_local global i32 0, align 4 @ICANON = dso_local global i32 0, align 4 @IEXTEN = dso_local global i32 0, align 4 @ISIG = dso_local global i32 0, align 4 @CSIZE = dso_local global i32 0, align 4 @PARENB = dso_local global i32 0, align 4 @CS8 = dso_local global i32 0, align 4 @VMIN = dso_local global i64 0, align 8 @VTIME = dso_local global i64 0, align 8 @B1200 = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [52 x i8] c"\0AERROR: Could not set desired baud rate of %d Baud\0A\00", align 1 @B1800 = dso_local global i32 0, align 4 @B9600 = dso_local global i32 0, align 4 @B19200 = dso_local global i32 0, align 4 @B38400 = dso_local global i32 0, align 4 @B57600 = dso_local global i32 0, align 4 @B115200 = dso_local global i32 0, align 4 @B460800 = dso_local global i32 0, align 4 @B921600 = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [57 x i8] c"ERROR: Desired baud rate %d could not be set, aborting.\0A\00", align 1 @TCSAFLUSH = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [46 x i8] c"\0AERROR: could not set configuration of fd %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @setup_uart(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca %struct.termios, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 @isatty(i32 noundef %7) %9 = icmp ne i32 %8, 0 br i1 %9, label %14, label %10 10: ; preds = %2 %11 = load i32, ptr @stderr, align 4 %12 = load i32, ptr %4, align 4 %13 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, i32 noundef %12) store i32 -1, ptr %3, align 4 br label %197 14: ; preds = %2 %15 = load i32, ptr %4, align 4 %16 = call i64 @tcgetattr(i32 noundef %15, ptr noundef %6) %17 = icmp slt i64 %16, 0 br i1 %17, label %18, label %22 18: ; preds = %14 %19 = load i32, ptr @stderr, align 4 %20 = load i32, ptr %4, align 4 %21 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.1, i32 noundef %20) store i32 -1, ptr %3, align 4 br label %197 22: ; preds = %14 %23 = load i32, ptr @IGNBRK, align 4 %24 = load i32, ptr @BRKINT, align 4 %25 = or i32 %23, %24 %26 = load i32, ptr @ICRNL, align 4 %27 = or i32 %25, %26 %28 = load i32, ptr @INLCR, align 4 %29 = or i32 %27, %28 %30 = load i32, ptr @PARMRK, align 4 %31 = or i32 %29, %30 %32 = load i32, ptr @INPCK, align 4 %33 = or i32 %31, %32 %34 = load i32, ptr @ISTRIP, align 4 %35 = or i32 %33, %34 %36 = load i32, ptr @IXON, align 4 %37 = or i32 %35, %36 %38 = xor i32 %37, -1 %39 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0 %40 = load i32, ptr %39, align 8 %41 = and i32 %40, %38 store i32 %41, ptr %39, align 8 %42 = load i32, ptr @OCRNL, align 4 %43 = load i32, ptr @ONLCR, align 4 %44 = or i32 %42, %43 %45 = load i32, ptr @ONLRET, align 4 %46 = or i32 %44, %45 %47 = load i32, ptr @ONOCR, align 4 %48 = or i32 %46, %47 %49 = load i32, ptr @OFILL, align 4 %50 = or i32 %48, %49 %51 = load i32, ptr @OPOST, align 4 %52 = or i32 %50, %51 %53 = xor i32 %52, -1 %54 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 1 %55 = load i32, ptr %54, align 4 %56 = and i32 %55, %53 store i32 %56, ptr %54, align 4 %57 = load i32, ptr @ECHO, align 4 %58 = load i32, ptr @ECHONL, align 4 %59 = or i32 %57, %58 %60 = load i32, ptr @ICANON, align 4 %61 = or i32 %59, %60 %62 = load i32, ptr @IEXTEN, align 4 %63 = or i32 %61, %62 %64 = load i32, ptr @ISIG, align 4 %65 = or i32 %63, %64 %66 = xor i32 %65, -1 %67 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 2 %68 = load i32, ptr %67, align 8 %69 = and i32 %68, %66 store i32 %69, ptr %67, align 8 %70 = load i32, ptr @CSIZE, align 4 %71 = load i32, ptr @PARENB, align 4 %72 = or i32 %70, %71 %73 = xor i32 %72, -1 %74 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 3 %75 = load i32, ptr %74, align 4 %76 = and i32 %75, %73 store i32 %76, ptr %74, align 4 %77 = load i32, ptr @CS8, align 4 %78 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 3 %79 = load i32, ptr %78, align 4 %80 = or i32 %79, %77 store i32 %80, ptr %78, align 4 %81 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 4 %82 = load ptr, ptr %81, align 8 %83 = load i64, ptr @VMIN, align 8 %84 = getelementptr inbounds i32, ptr %82, i64 %83 store i32 1, ptr %84, align 4 %85 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 4 %86 = load ptr, ptr %85, align 8 %87 = load i64, ptr @VTIME, align 8 %88 = getelementptr inbounds i32, ptr %86, i64 %87 store i32 10, ptr %88, align 4 %89 = load i32, ptr %5, align 4 switch i32 %89, label %183 [ i32 1200, label %90 i32 1800, label %103 i32 9600, label %108 i32 19200, label %113 i32 38400, label %118 i32 57600, label %131 i32 115200, label %144 i32 460800, label %157 i32 921600, label %170 ] 90: ; preds = %22 %91 = load i32, ptr @B1200, align 4 %92 = call i32 @cfsetispeed(ptr noundef %6, i32 noundef %91) %93 = icmp slt i32 %92, 0 br i1 %93, label %98, label %94 94: ; preds = %90 %95 = load i32, ptr @B1200, align 4 %96 = call i32 @cfsetospeed(ptr noundef %6, i32 noundef %95) %97 = icmp slt i32 %96, 0 br i1 %97, label %98, label %102 98: ; preds = %94, %90 %99 = load i32, ptr @stderr, align 4 %100 = load i32, ptr %5, align 4 %101 = call i32 @fprintf(i32 noundef %99, ptr noundef @.str.2, i32 noundef %100) store i32 -1, ptr %3, align 4 br label %197 102: ; preds = %94 br label %187 103: ; preds = %22 %104 = load i32, ptr @B1800, align 4 %105 = call i32 @cfsetispeed(ptr noundef %6, i32 noundef %104) %106 = load i32, ptr @B1800, align 4 %107 = call i32 @cfsetospeed(ptr noundef %6, i32 noundef %106) br label %187 108: ; preds = %22 %109 = load i32, ptr @B9600, align 4 %110 = call i32 @cfsetispeed(ptr noundef %6, i32 noundef %109) %111 = load i32, ptr @B9600, align 4 %112 = call i32 @cfsetospeed(ptr noundef %6, i32 noundef %111) br label %187 113: ; preds = %22 %114 = load i32, ptr @B19200, align 4 %115 = call i32 @cfsetispeed(ptr noundef %6, i32 noundef %114) %116 = load i32, ptr @B19200, align 4 %117 = call i32 @cfsetospeed(ptr noundef %6, i32 noundef %116) br label %187 118: ; preds = %22 %119 = load i32, ptr @B38400, align 4 %120 = call i32 @cfsetispeed(ptr noundef %6, i32 noundef %119) %121 = icmp slt i32 %120, 0 br i1 %121, label %126, label %122 122: ; preds = %118 %123 = load i32, ptr @B38400, align 4 %124 = call i32 @cfsetospeed(ptr noundef %6, i32 noundef %123) %125 = icmp slt i32 %124, 0 br i1 %125, label %126, label %130 126: ; preds = %122, %118 %127 = load i32, ptr @stderr, align 4 %128 = load i32, ptr %5, align 4 %129 = call i32 @fprintf(i32 noundef %127, ptr noundef @.str.2, i32 noundef %128) store i32 -1, ptr %3, align 4 br label %197 130: ; preds = %122 br label %187 131: ; preds = %22 %132 = load i32, ptr @B57600, align 4 %133 = call i32 @cfsetispeed(ptr noundef %6, i32 noundef %132) %134 = icmp slt i32 %133, 0 br i1 %134, label %139, label %135 135: ; preds = %131 %136 = load i32, ptr @B57600, align 4 %137 = call i32 @cfsetospeed(ptr noundef %6, i32 noundef %136) %138 = icmp slt i32 %137, 0 br i1 %138, label %139, label %143 139: ; preds = %135, %131 %140 = load i32, ptr @stderr, align 4 %141 = load i32, ptr %5, align 4 %142 = call i32 @fprintf(i32 noundef %140, ptr noundef @.str.2, i32 noundef %141) store i32 -1, ptr %3, align 4 br label %197 143: ; preds = %135 br label %187 144: ; preds = %22 %145 = load i32, ptr @B115200, align 4 %146 = call i32 @cfsetispeed(ptr noundef %6, i32 noundef %145) %147 = icmp slt i32 %146, 0 br i1 %147, label %152, label %148 148: ; preds = %144 %149 = load i32, ptr @B115200, align 4 %150 = call i32 @cfsetospeed(ptr noundef %6, i32 noundef %149) %151 = icmp slt i32 %150, 0 br i1 %151, label %152, label %156 152: ; preds = %148, %144 %153 = load i32, ptr @stderr, align 4 %154 = load i32, ptr %5, align 4 %155 = call i32 @fprintf(i32 noundef %153, ptr noundef @.str.2, i32 noundef %154) store i32 -1, ptr %3, align 4 br label %197 156: ; preds = %148 br label %187 157: ; preds = %22 %158 = load i32, ptr @B460800, align 4 %159 = call i32 @cfsetispeed(ptr noundef %6, i32 noundef %158) %160 = icmp slt i32 %159, 0 br i1 %160, label %165, label %161 161: ; preds = %157 %162 = load i32, ptr @B460800, align 4 %163 = call i32 @cfsetospeed(ptr noundef %6, i32 noundef %162) %164 = icmp slt i32 %163, 0 br i1 %164, label %165, label %169 165: ; preds = %161, %157 %166 = load i32, ptr @stderr, align 4 %167 = load i32, ptr %5, align 4 %168 = call i32 @fprintf(i32 noundef %166, ptr noundef @.str.2, i32 noundef %167) store i32 -1, ptr %3, align 4 br label %197 169: ; preds = %161 br label %187 170: ; preds = %22 %171 = load i32, ptr @B921600, align 4 %172 = call i32 @cfsetispeed(ptr noundef %6, i32 noundef %171) %173 = icmp slt i32 %172, 0 br i1 %173, label %178, label %174 174: ; preds = %170 %175 = load i32, ptr @B921600, align 4 %176 = call i32 @cfsetospeed(ptr noundef %6, i32 noundef %175) %177 = icmp slt i32 %176, 0 br i1 %177, label %178, label %182 178: ; preds = %174, %170 %179 = load i32, ptr @stderr, align 4 %180 = load i32, ptr %5, align 4 %181 = call i32 @fprintf(i32 noundef %179, ptr noundef @.str.2, i32 noundef %180) store i32 -1, ptr %3, align 4 br label %197 182: ; preds = %174 br label %187 183: ; preds = %22 %184 = load i32, ptr @stderr, align 4 %185 = load i32, ptr %5, align 4 %186 = call i32 @fprintf(i32 noundef %184, ptr noundef @.str.3, i32 noundef %185) store i32 -1, ptr %3, align 4 br label %197 187: ; preds = %182, %169, %156, %143, %130, %113, %108, %103, %102 %188 = load i32, ptr %4, align 4 %189 = load i32, ptr @TCSAFLUSH, align 4 %190 = call i64 @tcsetattr(i32 noundef %188, i32 noundef %189, ptr noundef %6) %191 = icmp slt i64 %190, 0 br i1 %191, label %192, label %196 192: ; preds = %187 %193 = load i32, ptr @stderr, align 4 %194 = load i32, ptr %4, align 4 %195 = call i32 @fprintf(i32 noundef %193, ptr noundef @.str.4, i32 noundef %194) store i32 -1, ptr %3, align 4 br label %197 196: ; preds = %187 store i32 0, ptr %3, align 4 br label %197 197: ; preds = %196, %192, %183, %178, %165, %152, %139, %126, %98, %18, %10 %198 = load i32, ptr %3, align 4 ret i32 %198 } declare i32 @isatty(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @tcgetattr(i32 noundef, ptr noundef) #1 declare i32 @cfsetispeed(ptr noundef, i32 noundef) #1 declare i32 @cfsetospeed(ptr noundef, i32 noundef) #1 declare i64 @tcsetattr(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/tmpmk54k3b3.c' source_filename = "/tmp/tmpmk54k3b3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"=#<>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @isRelop(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = call ptr @strchr(ptr noundef @.str, i8 noundef signext %3) %5 = icmp ne ptr %4, null %6 = zext i1 %5 to i32 ret i32 %6 } 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/tmpmk54k3b3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"=#<>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @isRelop(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = call ptr @strchr(ptr noundef @.str, i8 noundef signext %3) %5 = icmp ne ptr %4, null %6 = zext i1 %5 to i32 ret i32 %6 } 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/tmpgh3cf7ee.c' source_filename = "/tmp/tmpgh3cf7ee.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vbidata_init(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, double noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca double, align 8 %12 = alloca i64, align 8 %13 = alloca ptr, align 8 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store double %4, ptr %11, align 8 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %10, align 4 %18 = load double, ptr %11, align 8 %19 = call i64 @_vbidata_init(ptr noundef null, i32 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17, double noundef %18) store i64 %19, ptr %12, align 8 %20 = load i64, ptr %12, align 8 %21 = call ptr @malloc(i64 noundef %20) store ptr %21, ptr %13, align 8 %22 = load ptr, ptr %13, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %25, label %24 24: ; preds = %5 store ptr null, ptr %6, align 8 br label %34 25: ; preds = %5 %26 = load ptr, ptr %13, align 8 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %8, align 4 %29 = load i32, ptr %9, align 4 %30 = load i32, ptr %10, align 4 %31 = load double, ptr %11, align 8 %32 = call i64 @_vbidata_init(ptr noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef %29, i32 noundef %30, double noundef %31) %33 = load ptr, ptr %13, align 8 store ptr %33, ptr %6, align 8 br label %34 34: ; preds = %25, %24 %35 = load ptr, ptr %6, align 8 ret ptr %35 } declare i64 @_vbidata_init(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef) #1 declare ptr @malloc(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/tmpgh3cf7ee.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vbidata_init(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, double noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca double, align 8 %12 = alloca i64, align 8 %13 = alloca ptr, align 8 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store double %4, ptr %11, align 8 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %10, align 4 %18 = load double, ptr %11, align 8 %19 = call i64 @_vbidata_init(ptr noundef null, i32 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17, double noundef %18) store i64 %19, ptr %12, align 8 %20 = load i64, ptr %12, align 8 %21 = call ptr @malloc(i64 noundef %20) store ptr %21, ptr %13, align 8 %22 = load ptr, ptr %13, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %25, label %24 24: ; preds = %5 store ptr null, ptr %6, align 8 br label %34 25: ; preds = %5 %26 = load ptr, ptr %13, align 8 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %8, align 4 %29 = load i32, ptr %9, align 4 %30 = load i32, ptr %10, align 4 %31 = load double, ptr %11, align 8 %32 = call i64 @_vbidata_init(ptr noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef %29, i32 noundef %30, double noundef %31) %33 = load ptr, ptr %13, align 8 store ptr %33, ptr %6, align 8 br label %34 34: ; preds = %25, %24 %35 = load ptr, ptr %6, align 8 ret ptr %35 } declare i64 @_vbidata_init(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef) #1 declare ptr @malloc(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/tmpxun6ui9q.c' source_filename = "/tmp/tmpxun6ui9q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fatalError(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxun6ui9q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fatalError(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbhm8yo8q.c' source_filename = "/tmp/tmpbhm8yo8q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_strdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = add nsw i32 %6, 1 %8 = sext i32 %7 to i64 store i64 %8, ptr %3, align 8 %9 = load i64, ptr %3, align 8 %10 = call ptr @malloc(i64 noundef %9) store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %18 13: ; preds = %1 %14 = load ptr, ptr %4, align 8 %15 = load ptr, ptr %2, align 8 %16 = load i64, ptr %3, align 8 %17 = call i32 @memcpy(ptr noundef %14, ptr noundef %15, i64 noundef %16) br label %18 18: ; preds = %13, %1 %19 = load ptr, ptr %4, align 8 ret ptr %19 } declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbhm8yo8q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_strdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = add nsw i32 %6, 1 %8 = sext i32 %7 to i64 store i64 %8, ptr %3, align 8 %9 = load i64, ptr %3, align 8 %10 = call ptr @malloc(i64 noundef %9) store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %18 13: ; preds = %1 %14 = load ptr, ptr %4, align 8 %15 = load ptr, ptr %2, align 8 %16 = load i64, ptr %3, align 8 %17 = call i32 @memcpy(ptr noundef %14, ptr noundef %15, i64 noundef %16) br label %18 18: ; preds = %13, %1 %19 = load ptr, ptr %4, align 8 ret ptr %19 } declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg2vrnht6.c' source_filename = "/tmp/tmpg2vrnht6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"_XFlushGCCache called\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_XFlushGCCache() #0 { %1 = 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/tmpg2vrnht6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"_XFlushGCCache called\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_XFlushGCCache() #0 { %1 = 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/tmpji79eqrg.c' source_filename = "/tmp/tmpji79eqrg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mm_read_mtx_crd_size(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 [1025 x i8], align 16 %11 = 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 %12 = load ptr, ptr %9, align 8 store i32 0, ptr %12, align 4 %13 = load ptr, ptr %8, align 8 store i32 0, ptr %13, align 4 %14 = load ptr, ptr %7, align 8 store i32 0, ptr %14, align 4 br label %15 15: ; preds = %22, %4 %16 = getelementptr inbounds [1025 x i8], ptr %10, i64 0, i64 0 %17 = load ptr, ptr %6, align 8 %18 = call ptr @fgets(ptr noundef %16, i32 noundef 1025, ptr noundef %17) %19 = icmp eq ptr %18, null br i1 %19, label %20, label %21 20: ; preds = %15 store i32 12, ptr %5, align 4 br label %52 21: ; preds = %15 br label %22 22: ; preds = %21 %23 = getelementptr inbounds [1025 x i8], ptr %10, i64 0, i64 0 %24 = load i8, ptr %23, align 16 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 37 br i1 %26, label %15, label %27, !llvm.loop !6 27: ; preds = %22 %28 = getelementptr inbounds [1025 x i8], ptr %10, i64 0, i64 0 %29 = load ptr, ptr %7, align 8 %30 = load ptr, ptr %8, align 8 %31 = load ptr, ptr %9, align 8 %32 = call i32 @sscanf(ptr noundef %28, ptr noundef @.str, ptr noundef %29, ptr noundef %30, ptr noundef %31) %33 = icmp eq i32 %32, 3 br i1 %33, label %34, label %35 34: ; preds = %27 store i32 0, ptr %5, align 4 br label %52 35: ; preds = %27 br label %36 36: ; preds = %47, %35 %37 = load ptr, ptr %6, align 8 %38 = load ptr, ptr %7, align 8 %39 = load ptr, ptr %8, align 8 %40 = load ptr, ptr %9, align 8 %41 = call i32 @fscanf(ptr noundef %37, ptr noundef @.str, ptr noundef %38, ptr noundef %39, ptr noundef %40) store i32 %41, ptr %11, align 4 %42 = load i32, ptr %11, align 4 %43 = load i32, ptr @EOF, align 4 %44 = icmp eq i32 %42, %43 br i1 %44, label %45, label %46 45: ; preds = %36 store i32 12, ptr %5, align 4 br label %52 46: ; preds = %36 br label %47 47: ; preds = %46 %48 = load i32, ptr %11, align 4 %49 = icmp ne i32 %48, 3 br i1 %49, label %36, label %50, !llvm.loop !8 50: ; preds = %47 br label %51 51: ; preds = %50 store i32 0, ptr %5, align 4 br label %52 52: ; preds = %51, %45, %34, %20 %53 = load i32, ptr %5, align 4 ret i32 %53 } declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpji79eqrg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mm_read_mtx_crd_size(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 [1025 x i8], align 16 %11 = 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 %12 = load ptr, ptr %9, align 8 store i32 0, ptr %12, align 4 %13 = load ptr, ptr %8, align 8 store i32 0, ptr %13, align 4 %14 = load ptr, ptr %7, align 8 store i32 0, ptr %14, align 4 br label %15 15: ; preds = %22, %4 %16 = getelementptr inbounds [1025 x i8], ptr %10, i64 0, i64 0 %17 = load ptr, ptr %6, align 8 %18 = call ptr @fgets(ptr noundef %16, i32 noundef 1025, ptr noundef %17) %19 = icmp eq ptr %18, null br i1 %19, label %20, label %21 20: ; preds = %15 store i32 12, ptr %5, align 4 br label %52 21: ; preds = %15 br label %22 22: ; preds = %21 %23 = getelementptr inbounds [1025 x i8], ptr %10, i64 0, i64 0 %24 = load i8, ptr %23, align 16 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 37 br i1 %26, label %15, label %27, !llvm.loop !6 27: ; preds = %22 %28 = getelementptr inbounds [1025 x i8], ptr %10, i64 0, i64 0 %29 = load ptr, ptr %7, align 8 %30 = load ptr, ptr %8, align 8 %31 = load ptr, ptr %9, align 8 %32 = call i32 @sscanf(ptr noundef %28, ptr noundef @.str, ptr noundef %29, ptr noundef %30, ptr noundef %31) %33 = icmp eq i32 %32, 3 br i1 %33, label %34, label %35 34: ; preds = %27 store i32 0, ptr %5, align 4 br label %52 35: ; preds = %27 br label %36 36: ; preds = %47, %35 %37 = load ptr, ptr %6, align 8 %38 = load ptr, ptr %7, align 8 %39 = load ptr, ptr %8, align 8 %40 = load ptr, ptr %9, align 8 %41 = call i32 @fscanf(ptr noundef %37, ptr noundef @.str, ptr noundef %38, ptr noundef %39, ptr noundef %40) store i32 %41, ptr %11, align 4 %42 = load i32, ptr %11, align 4 %43 = load i32, ptr @EOF, align 4 %44 = icmp eq i32 %42, %43 br i1 %44, label %45, label %46 45: ; preds = %36 store i32 12, ptr %5, align 4 br label %52 46: ; preds = %36 br label %47 47: ; preds = %46 %48 = load i32, ptr %11, align 4 %49 = icmp ne i32 %48, 3 br i1 %49, label %36, label %50, !llvm.loop !8 50: ; preds = %47 br label %51 51: ; preds = %50 store i32 0, ptr %5, align 4 br label %52 52: ; preds = %51, %45, %34, %20 %53 = load i32, ptr %5, align 4 ret i32 %53 } declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp7b__7pd3.c' source_filename = "/tmp/tmp7b__7pd3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EMACPHYMMDRead(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 32 %9 = zext i1 %8 to i32 %10 = call i32 @ASSERT(i32 noundef %9) %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %6, align 4 %14 = and i32 %13, 61440 %15 = ashr i32 %14, 12 %16 = call i32 @EMACPHYWrite(i32 noundef %11, i32 noundef %12, i32 noundef 13, i32 noundef %15) %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %6, align 4 %20 = and i32 %19, 4095 %21 = call i32 @EMACPHYWrite(i32 noundef %17, i32 noundef %18, i32 noundef 14, i32 noundef %20) %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %6, align 4 %25 = and i32 %24, 61440 %26 = ashr i32 %25, 12 %27 = or i32 16384, %26 %28 = call i32 @EMACPHYWrite(i32 noundef %22, i32 noundef %23, i32 noundef 13, i32 noundef %27) %29 = load i32, ptr %4, align 4 %30 = load i32, ptr %5, align 4 %31 = call i32 @EMACPHYRead(i32 noundef %29, i32 noundef %30, i32 noundef 14) ret i32 %31 } declare i32 @ASSERT(i32 noundef) #1 declare i32 @EMACPHYWrite(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @EMACPHYRead(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7b__7pd3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EMACPHYMMDRead(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 32 %9 = zext i1 %8 to i32 %10 = call i32 @ASSERT(i32 noundef %9) %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %6, align 4 %14 = and i32 %13, 61440 %15 = ashr i32 %14, 12 %16 = call i32 @EMACPHYWrite(i32 noundef %11, i32 noundef %12, i32 noundef 13, i32 noundef %15) %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %6, align 4 %20 = and i32 %19, 4095 %21 = call i32 @EMACPHYWrite(i32 noundef %17, i32 noundef %18, i32 noundef 14, i32 noundef %20) %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %6, align 4 %25 = and i32 %24, 61440 %26 = ashr i32 %25, 12 %27 = or i32 16384, %26 %28 = call i32 @EMACPHYWrite(i32 noundef %22, i32 noundef %23, i32 noundef 13, i32 noundef %27) %29 = load i32, ptr %4, align 4 %30 = load i32, ptr %5, align 4 %31 = call i32 @EMACPHYRead(i32 noundef %29, i32 noundef %30, i32 noundef 14) ret i32 %31 } declare i32 @ASSERT(i32 noundef) #1 declare i32 @EMACPHYWrite(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @EMACPHYRead(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz_s1jcli.c' source_filename = "/tmp/tmpz_s1jcli.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @auth_sha1_pack_data(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i8, align 1 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %9 = call i32 (...) @xorshift128plus() %10 = and i32 %9, 15 %11 = add nsw i32 %10, 1 %12 = trunc i32 %11 to i8 store i8 %12, ptr %7, align 1 %13 = load i8, ptr %7, align 1 %14 = zext i8 %13 to i32 %15 = load i32, ptr %5, align 4 %16 = add nsw i32 %14, %15 %17 = add nsw i32 %16, 6 store i32 %17, ptr %8, align 4 %18 = load i32, ptr %8, align 4 %19 = ashr i32 %18, 8 %20 = trunc i32 %19 to i8 %21 = load ptr, ptr %6, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 0 store i8 %20, ptr %22, align 1 %23 = load i32, ptr %8, align 4 %24 = trunc i32 %23 to i8 %25 = load ptr, ptr %6, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 1 store i8 %24, ptr %26, align 1 %27 = load i8, ptr %7, align 1 %28 = load ptr, ptr %6, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 2 store i8 %27, ptr %29, align 1 %30 = load ptr, ptr %6, align 8 %31 = load i8, ptr %7, align 1 %32 = zext i8 %31 to i32 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %30, i64 %33 %35 = getelementptr inbounds i8, ptr %34, i64 2 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %5, align 4 %38 = call i32 @memmove(ptr noundef %35, ptr noundef %36, i32 noundef %37) %39 = load ptr, ptr %6, align 8 %40 = load i32, ptr %8, align 4 %41 = call i32 @filladler32(ptr noundef %39, i32 noundef %40) %42 = load i32, ptr %8, align 4 ret i32 %42 } declare i32 @xorshift128plus(...) #1 declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @filladler32(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/tmpz_s1jcli.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @auth_sha1_pack_data(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i8, align 1 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %9 = call i32 (...) @xorshift128plus() %10 = and i32 %9, 15 %11 = add nsw i32 %10, 1 %12 = trunc i32 %11 to i8 store i8 %12, ptr %7, align 1 %13 = load i8, ptr %7, align 1 %14 = zext i8 %13 to i32 %15 = load i32, ptr %5, align 4 %16 = add nsw i32 %14, %15 %17 = add nsw i32 %16, 6 store i32 %17, ptr %8, align 4 %18 = load i32, ptr %8, align 4 %19 = ashr i32 %18, 8 %20 = trunc i32 %19 to i8 %21 = load ptr, ptr %6, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 0 store i8 %20, ptr %22, align 1 %23 = load i32, ptr %8, align 4 %24 = trunc i32 %23 to i8 %25 = load ptr, ptr %6, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 1 store i8 %24, ptr %26, align 1 %27 = load i8, ptr %7, align 1 %28 = load ptr, ptr %6, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 2 store i8 %27, ptr %29, align 1 %30 = load ptr, ptr %6, align 8 %31 = load i8, ptr %7, align 1 %32 = zext i8 %31 to i32 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %30, i64 %33 %35 = getelementptr inbounds i8, ptr %34, i64 2 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %5, align 4 %38 = call i32 @memmove(ptr noundef %35, ptr noundef %36, i32 noundef %37) %39 = load ptr, ptr %6, align 8 %40 = load i32, ptr %8, align 4 %41 = call i32 @filladler32(ptr noundef %39, i32 noundef %40) %42 = load i32, ptr %8, align 4 ret i32 %42 } declare i32 @xorshift128plus(...) #1 declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @filladler32(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/tmpvzh4h94f.c' source_filename = "/tmp/tmpvzh4h94f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @eatme() #0 { %1 = alloca i8, align 1 %2 = call i32 (...) @foo() %3 = load i8, ptr %1, align 1 ret i8 %3 } declare i32 @foo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvzh4h94f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @eatme() #0 { %1 = alloca i8, align 1 %2 = call i32 (...) @foo() %3 = load i8, ptr %1, align 1 ret i8 %3 } declare i32 @foo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpncgu6n7s.c' source_filename = "/tmp/tmpncgu6n7s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @evbuffer_read(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 ret i32 %9 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpncgu6n7s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @evbuffer_read(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 ret i32 %9 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwb5di9kb.c' source_filename = "/tmp/tmpwb5di9kb.c" target datalayout = "e-m:e-p270: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 [68 x i8] c"Could not write() %zd bytes to the destination file descriptor: %m\0A\00", align 1 @.str.1 = private unnamed_addr constant [67 x i8] c"Could not read() %zd bytes to the destination file descriptor: %m\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cat_fd(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [1024 x i8], align 16 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 br label %9 9: ; preds = %26, %2 %10 = load i32, ptr %4, align 4 %11 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %12 = call i64 @read(i32 noundef %10, ptr noundef %11, i32 noundef 1024) store i64 %12, ptr %7, align 8 %13 = icmp sgt i64 %12, 0 br i1 %13, label %14, label %27 14: ; preds = %9 %15 = load i32, ptr %5, align 4 %16 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %17 = load i64, ptr %7, align 8 %18 = call i64 @write(i32 noundef %15, ptr noundef %16, i64 noundef %17) store i64 %18, ptr %8, align 8 %19 = load i64, ptr %8, align 8 %20 = icmp slt i64 %19, 0 br i1 %20, label %21, label %26 21: ; preds = %14 %22 = load i32, ptr @stderr, align 4 %23 = load i64, ptr %7, align 8 %24 = trunc i64 %23 to i32 %25 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str, i32 noundef %24) store i32 -1, ptr %3, align 4 br label %34 26: ; preds = %14 br label %9, !llvm.loop !6 27: ; preds = %9 %28 = load i64, ptr %7, align 8 %29 = icmp slt i64 %28, 0 br i1 %29, label %30, label %33 30: ; preds = %27 %31 = load i32, ptr @stderr, align 4 %32 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str.1, i32 noundef 1024) store i32 -1, ptr %3, align 4 br label %34 33: ; preds = %27 store i32 0, ptr %3, align 4 br label %34 34: ; preds = %33, %30, %21 %35 = load i32, ptr %3, align 4 ret i32 %35 } declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwb5di9kb.c" target datalayout = "e-m:e-p270: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 [68 x i8] c"Could not write() %zd bytes to the destination file descriptor: %m\0A\00", align 1 @.str.1 = private unnamed_addr constant [67 x i8] c"Could not read() %zd bytes to the destination file descriptor: %m\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cat_fd(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [1024 x i8], align 16 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %11 = call i64 @read(i32 noundef %9, ptr noundef %10, i32 noundef 1024) store i64 %11, ptr %7, align 8 %12 = icmp sgt i64 %11, 0 br i1 %12, label %.lr.ph, label %29 .lr.ph: ; preds = %2 br label %17 13: ; preds = %17 %14 = load i32, ptr %4, align 4 %15 = call i64 @read(i32 noundef %14, ptr noundef %10, i32 noundef 1024) store i64 %15, ptr %7, align 8 %16 = icmp sgt i64 %15, 0 br i1 %16, label %17, label %._crit_edge, !llvm.loop !6 17: ; preds = %.lr.ph, %13 %18 = load i32, ptr %5, align 4 %19 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %20 = load i64, ptr %7, align 8 %21 = call i64 @write(i32 noundef %18, ptr noundef %19, i64 noundef %20) store i64 %21, ptr %8, align 8 %22 = load i64, ptr %8, align 8 %23 = icmp slt i64 %22, 0 br i1 %23, label %24, label %13 24: ; preds = %17 %25 = load i32, ptr @stderr, align 4 %26 = load i64, ptr %7, align 8 %27 = trunc i64 %26 to i32 %28 = call i32 @fprintf(i32 noundef %25, ptr noundef @.str, i32 noundef %27) store i32 -1, ptr %3, align 4 br label %36 ._crit_edge: ; preds = %13 br label %29 29: ; preds = %._crit_edge, %2 %30 = load i64, ptr %7, align 8 %31 = icmp slt i64 %30, 0 br i1 %31, label %32, label %35 32: ; preds = %29 %33 = load i32, ptr @stderr, align 4 %34 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str.1, i32 noundef 1024) store i32 -1, ptr %3, align 4 br label %36 35: ; preds = %29 store i32 0, ptr %3, align 4 br label %36 36: ; preds = %35, %32, %24 %37 = load i32, ptr %3, align 4 ret i32 %37 } declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpsz9ooc97.c' source_filename = "/tmp/tmpsz9ooc97.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @private_allocStringToWString(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i64 @strlen(ptr noundef %5) store i64 %6, ptr %3, align 8 %7 = load i64, ptr %3, align 8 %8 = add i64 %7, 1 %9 = mul i64 8, %8 %10 = trunc i64 %9 to i32 %11 = call ptr @malloc(i32 noundef %10) store ptr %11, ptr %4, align 8 br label %12 12: ; preds = %17, %1 %13 = load ptr, ptr %2, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %24 17: ; preds = %12 %18 = load ptr, ptr %2, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %2, align 8 %20 = load i8, ptr %18, align 1 %21 = sext i8 %20 to i64 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds i64, ptr %22, i32 1 store ptr %23, ptr %4, align 8 store i64 %21, ptr %22, align 8 br label %12, !llvm.loop !6 24: ; preds = %12 %25 = load ptr, ptr %4, align 8 ret ptr %25 } declare i64 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsz9ooc97.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @private_allocStringToWString(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i64 @strlen(ptr noundef %5) store i64 %6, ptr %3, align 8 %7 = load i64, ptr %3, align 8 %8 = add i64 %7, 1 %9 = mul i64 8, %8 %10 = trunc i64 %9 to i32 %11 = call ptr @malloc(i32 noundef %10) store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %2, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br i1 %15, label %.lr.ph, label %27 .lr.ph: ; preds = %1 br label %16 16: ; preds = %.lr.ph, %16 %17 = load ptr, ptr %2, align 8 %18 = getelementptr inbounds i8, ptr %17, i32 1 store ptr %18, ptr %2, align 8 %19 = load i8, ptr %17, align 1 %20 = sext i8 %19 to i64 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i64, ptr %21, i32 1 store ptr %22, ptr %4, align 8 store i64 %20, ptr %21, align 8 %23 = load ptr, ptr %2, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp ne i32 %25, 0 br i1 %26, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %27 27: ; preds = %._crit_edge, %1 %28 = load ptr, ptr %4, align 8 ret ptr %28 } declare i64 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpe3nonfjm.c' source_filename = "/tmp/tmpe3nonfjm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy_container_to_target_solutions() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = load ptr, ptr %1, align 8 %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @_ada_use_c2phc4c(i32 noundef 6, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe3nonfjm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy_container_to_target_solutions() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = load ptr, ptr %1, align 8 %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @_ada_use_c2phc4c(i32 noundef 6, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw65m365h.c' source_filename = "/tmp/tmpw65m365h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pthread_attr_getstacksize(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = load i32, ptr @EINVAL, align 4 ret i32 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw65m365h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pthread_attr_getstacksize(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = load i32, ptr @EINVAL, align 4 ret i32 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqlgpg7k1.c' source_filename = "/tmp/tmpqlgpg7k1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%u \09\0A\00", align 1 @RAND_MAX = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [4 x i8] c"%f \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store double 0.000000e+00, ptr %10, align 8 %13 = load i32, ptr %9, align 4 %14 = load i32, ptr %9, align 4 %15 = mul nsw i32 %13, %14 %16 = zext i32 %15 to i64 %17 = call ptr @llvm.stacksave() store ptr %17, ptr %11, align 8 %18 = alloca double, i64 %16, align 16 store i64 %16, ptr %12, align 8 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 store ptr %21, ptr %6, align 8 %22 = load ptr, ptr %6, align 8 %23 = call i32 @sscanf(ptr noundef %22, ptr noundef @.str, ptr noundef %9) %24 = load i32, ptr %9, align 4 %25 = sitofp i32 %24 to double %26 = call i32 @printf(ptr noundef @.str.1, double noundef %25) store i32 0, ptr %7, align 4 br label %27 27: ; preds = %64, %2 %28 = load i32, ptr %7, align 4 %29 = load i32, ptr %9, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %67 31: ; preds = %27 store i32 0, ptr %8, align 4 br label %32 32: ; preds = %60, %31 %33 = load i32, ptr %8, align 4 %34 = load i32, ptr %9, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %36, label %63 36: ; preds = %32 %37 = call i32 (...) @rand() %38 = sitofp i32 %37 to double %39 = fmul double 1.000000e+00, %38 %40 = load i32, ptr @RAND_MAX, align 4 %41 = sitofp i32 %40 to double %42 = fdiv double %39, %41 %43 = load i32, ptr %7, align 4 %44 = load i32, ptr %8, align 4 %45 = load i32, ptr %9, align 4 %46 = mul nsw i32 %44, %45 %47 = add nsw i32 %43, %46 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds double, ptr %18, i64 %48 store double %42, ptr %49, align 8 %50 = load i32, ptr %7, align 4 %51 = load i32, ptr %8, align 4 %52 = load i32, ptr %9, align 4 %53 = mul nsw i32 %51, %52 %54 = add nsw i32 %50, %53 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds double, ptr %18, i64 %55 %57 = load double, ptr %56, align 8 %58 = load double, ptr %10, align 8 %59 = fadd double %58, %57 store double %59, ptr %10, align 8 br label %60 60: ; preds = %36 %61 = load i32, ptr %8, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %8, align 4 br label %32, !llvm.loop !6 63: ; preds = %32 br label %64 64: ; preds = %63 %65 = load i32, ptr %7, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %7, align 4 br label %27, !llvm.loop !8 67: ; preds = %27 %68 = load double, ptr %10, align 8 %69 = call i32 @printf(ptr noundef @.str.2, double noundef %68) store i32 0, ptr %3, align 4 %70 = load ptr, ptr %11, align 8 call void @llvm.stackrestore(ptr %70) %71 = load i32, ptr %3, align 4 ret i32 %71 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, double noundef) #2 declare i32 @rand(...) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqlgpg7k1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%u \09\0A\00", align 1 @RAND_MAX = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [4 x i8] c"%f \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store double 0.000000e+00, ptr %10, align 8 %13 = load i32, ptr %9, align 4 %14 = load i32, ptr %9, align 4 %15 = mul nsw i32 %13, %14 %16 = zext i32 %15 to i64 %17 = call ptr @llvm.stacksave() store ptr %17, ptr %11, align 8 %18 = alloca double, i64 %16, align 16 store i64 %16, ptr %12, align 8 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 store ptr %21, ptr %6, align 8 %22 = load ptr, ptr %6, align 8 %23 = call i32 @sscanf(ptr noundef %22, ptr noundef @.str, ptr noundef %9) %24 = load i32, ptr %9, align 4 %25 = sitofp i32 %24 to double %26 = call i32 @printf(ptr noundef @.str.1, double noundef %25) store i32 0, ptr %7, align 4 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %9, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %.lr.ph2, label %71 .lr.ph2: ; preds = %2 br label %30 30: ; preds = %.lr.ph2, %65 store i32 0, ptr %8, align 4 %31 = load i32, ptr %8, align 4 %32 = load i32, ptr %9, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %.lr.ph, label %64 .lr.ph: ; preds = %30 br label %34 34: ; preds = %.lr.ph, %58 %35 = call i32 (...) @rand() %36 = sitofp i32 %35 to double %37 = fmul double 1.000000e+00, %36 %38 = load i32, ptr @RAND_MAX, align 4 %39 = sitofp i32 %38 to double %40 = fdiv double %37, %39 %41 = load i32, ptr %7, align 4 %42 = load i32, ptr %8, align 4 %43 = load i32, ptr %9, align 4 %44 = mul nsw i32 %42, %43 %45 = add nsw i32 %41, %44 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds double, ptr %18, i64 %46 store double %40, ptr %47, align 8 %48 = load i32, ptr %7, align 4 %49 = load i32, ptr %8, align 4 %50 = load i32, ptr %9, align 4 %51 = mul nsw i32 %49, %50 %52 = add nsw i32 %48, %51 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds double, ptr %18, i64 %53 %55 = load double, ptr %54, align 8 %56 = load double, ptr %10, align 8 %57 = fadd double %56, %55 store double %57, ptr %10, align 8 br label %58 58: ; preds = %34 %59 = load i32, ptr %8, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %8, align 4 %61 = load i32, ptr %8, align 4 %62 = load i32, ptr %9, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %34, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %58 br label %64 64: ; preds = %._crit_edge, %30 br label %65 65: ; preds = %64 %66 = load i32, ptr %7, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %7, align 4 %68 = load i32, ptr %7, align 4 %69 = load i32, ptr %9, align 4 %70 = icmp slt i32 %68, %69 br i1 %70, label %30, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %65 br label %71 71: ; preds = %._crit_edge3, %2 %72 = load double, ptr %10, align 8 %73 = call i32 @printf(ptr noundef @.str.2, double noundef %72) store i32 0, ptr %3, align 4 %74 = load ptr, ptr %11, align 8 call void @llvm.stackrestore(ptr %74) %75 = load i32, ptr %3, align 4 ret i32 %75 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, double noundef) #2 declare i32 @rand(...) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpczg0aa9u.c' source_filename = "/tmp/tmpczg0aa9u.c" target datalayout = "e-m:e-p270: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.arr1 = private unnamed_addr constant [4 x i32] [i32 1, i32 2, i32 2, i32 1], align 16 @__const.main.arr2 = private unnamed_addr constant [2 x i32] [i32 2, i32 2], align 4 @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x i32], align 16 %3 = alloca [2 x i32], align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.arr1, i64 16, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 @__const.main.arr2, i64 8, i1 false) store ptr null, ptr %4, align 8 store i32 0, ptr %5, align 4 %7 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 %8 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0 %9 = call ptr @intersect(ptr noundef %7, i32 noundef 4, ptr noundef %8, i32 noundef 2, ptr noundef %5) store ptr %9, ptr %4, align 8 store i32 0, ptr %6, align 4 br label %10 10: ; preds = %21, %0 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %5, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %24 14: ; preds = %10 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %6, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %15, i64 %17 %19 = load i32, ptr %18, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %19) br label %21 21: ; preds = %14 %22 = load i32, ptr %6, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %6, align 4 br label %10, !llvm.loop !6 24: ; preds = %10 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) 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 ptr @intersect(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpczg0aa9u.c" target datalayout = "e-m:e-p270: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.arr1 = private unnamed_addr constant [4 x i32] [i32 1, i32 2, i32 2, i32 1], align 16 @__const.main.arr2 = private unnamed_addr constant [2 x i32] [i32 2, i32 2], align 4 @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x i32], align 16 %3 = alloca [2 x i32], align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.arr1, i64 16, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 @__const.main.arr2, i64 8, i1 false) store ptr null, ptr %4, align 8 store i32 0, ptr %5, align 4 %7 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 %8 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0 %9 = call ptr @intersect(ptr noundef %7, i32 noundef 4, ptr noundef %8, i32 noundef 2, ptr noundef %5) store ptr %9, ptr %4, align 8 store i32 0, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %26 .lr.ph: ; preds = %0 br label %13 13: ; preds = %.lr.ph, %20 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %6, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %14, i64 %16 %18 = load i32, ptr %17, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %18) br label %20 20: ; preds = %13 %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = load i32, ptr %5, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %26 26: ; preds = %._crit_edge, %0 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) 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 ptr @intersect(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpwiignmn5.c' source_filename = "/tmp/tmpwiignmn5.c" target datalayout = "e-m:e-p270: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.termios = type { i32 } @.str = private unnamed_addr constant [9 x i8] c"/dev/tty\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @ECHO = dso_local global i32 0, align 4 @ECHONL = dso_local global i32 0, align 4 @TCSANOW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @readpass(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca %struct.termios, align 4 %11 = alloca %struct.termios, align 4 %12 = alloca i64, align 8 %13 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 0, ptr %8, align 4 %14 = load i32, ptr @O_RDWR, align 4 %15 = call i32 @open(ptr noundef @.str, i32 noundef %14) store i32 %15, ptr %9, align 4 %16 = load i32, ptr %9, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %3 store i32 -1, ptr %4, align 4 br label %88 19: ; preds = %3 %20 = load i32, ptr %9, align 4 %21 = call i64 @tcgetattr(i32 noundef %20, ptr noundef %10) %22 = icmp slt i64 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %19 store i32 -1, ptr %8, align 4 br label %84 24: ; preds = %19 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %11, ptr align 4 %10, i64 4, i1 false) %25 = load i32, ptr @ECHO, align 4 %26 = xor i32 %25, -1 %27 = getelementptr inbounds %struct.termios, ptr %11, i32 0, i32 0 %28 = load i32, ptr %27, align 4 %29 = and i32 %28, %26 store i32 %29, ptr %27, align 4 %30 = load i32, ptr @ECHONL, align 4 %31 = getelementptr inbounds %struct.termios, ptr %11, i32 0, i32 0 %32 = load i32, ptr %31, align 4 %33 = or i32 %32, %30 store i32 %33, ptr %31, align 4 %34 = load i32, ptr %9, align 4 %35 = load i32, ptr @TCSANOW, align 4 %36 = call i32 @tcsetattr(i32 noundef %34, i32 noundef %35, ptr noundef %11) %37 = icmp slt i32 %36, 0 br i1 %37, label %38, label %39 38: ; preds = %24 store i32 -1, ptr %8, align 4 br label %84 39: ; preds = %24 %40 = load ptr, ptr %7, align 8 %41 = call i64 @strlen(ptr noundef %40) store i64 %41, ptr %12, align 8 %42 = load i32, ptr %9, align 4 %43 = load ptr, ptr %7, align 8 %44 = load i64, ptr %12, align 8 %45 = call i64 @write(i32 noundef %42, ptr noundef %43, i64 noundef %44) %46 = load i64, ptr %12, align 8 %47 = icmp ne i64 %45, %46 br i1 %47, label %48, label %49 48: ; preds = %39 store i32 -1, ptr %8, align 4 br label %80 49: ; preds = %39 %50 = load i32, ptr %9, align 4 %51 = load ptr, ptr %5, align 8 %52 = load i64, ptr %6, align 8 %53 = sub i64 %52, 1 %54 = call i32 @read(i32 noundef %50, ptr noundef %51, i64 noundef %53) store i32 %54, ptr %13, align 4 %55 = icmp slt i32 %54, 0 br i1 %55, label %56, label %57 56: ; preds = %49 store i32 -1, ptr %8, align 4 br label %80 57: ; preds = %49 %58 = load ptr, ptr %5, align 8 %59 = load i32, ptr %13, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 store i8 0, ptr %61, align 1 %62 = load i32, ptr %13, align 4 %63 = icmp sgt i32 %62, 0 br i1 %63, label %64, label %79 64: ; preds = %57 %65 = load ptr, ptr %5, align 8 %66 = load i32, ptr %13, align 4 %67 = sub nsw i32 %66, 1 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %65, i64 %68 %70 = load i8, ptr %69, align 1 %71 = sext i8 %70 to i32 %72 = icmp eq i32 %71, 10 br i1 %72, label %73, label %79 73: ; preds = %64 %74 = load ptr, ptr %5, align 8 %75 = load i32, ptr %13, align 4 %76 = sub nsw i32 %75, 1 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %74, i64 %77 store i8 0, ptr %78, align 1 br label %79 79: ; preds = %73, %64, %57 br label %80 80: ; preds = %79, %56, %48 %81 = load i32, ptr %9, align 4 %82 = load i32, ptr @TCSANOW, align 4 %83 = call i32 @tcsetattr(i32 noundef %81, i32 noundef %82, ptr noundef %10) store i32 %83, ptr %8, align 4 br label %84 84: ; preds = %80, %38, %23 %85 = load i32, ptr %9, align 4 %86 = call i32 @close(i32 noundef %85) %87 = load i32, ptr %8, align 4 store i32 %87, ptr %4, align 4 br label %88 88: ; preds = %84, %18 %89 = load i32, ptr %4, align 4 ret i32 %89 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i64 @tcgetattr(i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwiignmn5.c" target datalayout = "e-m:e-p270: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.termios = type { i32 } @.str = private unnamed_addr constant [9 x i8] c"/dev/tty\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @ECHO = dso_local global i32 0, align 4 @ECHONL = dso_local global i32 0, align 4 @TCSANOW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @readpass(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca %struct.termios, align 4 %11 = alloca %struct.termios, align 4 %12 = alloca i64, align 8 %13 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 0, ptr %8, align 4 %14 = load i32, ptr @O_RDWR, align 4 %15 = call i32 @open(ptr noundef @.str, i32 noundef %14) store i32 %15, ptr %9, align 4 %16 = load i32, ptr %9, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %3 store i32 -1, ptr %4, align 4 br label %88 19: ; preds = %3 %20 = load i32, ptr %9, align 4 %21 = call i64 @tcgetattr(i32 noundef %20, ptr noundef %10) %22 = icmp slt i64 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %19 store i32 -1, ptr %8, align 4 br label %84 24: ; preds = %19 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %11, ptr align 4 %10, i64 4, i1 false) %25 = load i32, ptr @ECHO, align 4 %26 = xor i32 %25, -1 %27 = getelementptr inbounds %struct.termios, ptr %11, i32 0, i32 0 %28 = load i32, ptr %27, align 4 %29 = and i32 %28, %26 store i32 %29, ptr %27, align 4 %30 = load i32, ptr @ECHONL, align 4 %31 = getelementptr inbounds %struct.termios, ptr %11, i32 0, i32 0 %32 = load i32, ptr %31, align 4 %33 = or i32 %32, %30 store i32 %33, ptr %31, align 4 %34 = load i32, ptr %9, align 4 %35 = load i32, ptr @TCSANOW, align 4 %36 = call i32 @tcsetattr(i32 noundef %34, i32 noundef %35, ptr noundef %11) %37 = icmp slt i32 %36, 0 br i1 %37, label %38, label %39 38: ; preds = %24 store i32 -1, ptr %8, align 4 br label %84 39: ; preds = %24 %40 = load ptr, ptr %7, align 8 %41 = call i64 @strlen(ptr noundef %40) store i64 %41, ptr %12, align 8 %42 = load i32, ptr %9, align 4 %43 = load ptr, ptr %7, align 8 %44 = load i64, ptr %12, align 8 %45 = call i64 @write(i32 noundef %42, ptr noundef %43, i64 noundef %44) %46 = load i64, ptr %12, align 8 %47 = icmp ne i64 %45, %46 br i1 %47, label %48, label %49 48: ; preds = %39 store i32 -1, ptr %8, align 4 br label %80 49: ; preds = %39 %50 = load i32, ptr %9, align 4 %51 = load ptr, ptr %5, align 8 %52 = load i64, ptr %6, align 8 %53 = sub i64 %52, 1 %54 = call i32 @read(i32 noundef %50, ptr noundef %51, i64 noundef %53) store i32 %54, ptr %13, align 4 %55 = icmp slt i32 %54, 0 br i1 %55, label %56, label %57 56: ; preds = %49 store i32 -1, ptr %8, align 4 br label %80 57: ; preds = %49 %58 = load ptr, ptr %5, align 8 %59 = load i32, ptr %13, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 store i8 0, ptr %61, align 1 %62 = load i32, ptr %13, align 4 %63 = icmp sgt i32 %62, 0 br i1 %63, label %64, label %79 64: ; preds = %57 %65 = load ptr, ptr %5, align 8 %66 = load i32, ptr %13, align 4 %67 = sub nsw i32 %66, 1 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %65, i64 %68 %70 = load i8, ptr %69, align 1 %71 = sext i8 %70 to i32 %72 = icmp eq i32 %71, 10 br i1 %72, label %73, label %79 73: ; preds = %64 %74 = load ptr, ptr %5, align 8 %75 = load i32, ptr %13, align 4 %76 = sub nsw i32 %75, 1 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %74, i64 %77 store i8 0, ptr %78, align 1 br label %79 79: ; preds = %73, %64, %57 br label %80 80: ; preds = %79, %56, %48 %81 = load i32, ptr %9, align 4 %82 = load i32, ptr @TCSANOW, align 4 %83 = call i32 @tcsetattr(i32 noundef %81, i32 noundef %82, ptr noundef %10) store i32 %83, ptr %8, align 4 br label %84 84: ; preds = %80, %38, %23 %85 = load i32, ptr %9, align 4 %86 = call i32 @close(i32 noundef %85) %87 = load i32, ptr %8, align 4 store i32 %87, ptr %4, align 4 br label %88 88: ; preds = %84, %18 %89 = load i32, ptr %4, align 4 ret i32 %89 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i64 @tcgetattr(i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfxttxuwl.c' source_filename = "/tmp/tmpfxttxuwl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [85 x i8] c" <rect x=\22%.2fin\22 y=\22%.2fin\22 width=\225.75in\22 height=\220.5in\22 fill=\22#0000e0\22 />\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_zero(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %3, align 8 %6 = load double, ptr %4, align 8 %7 = call i32 @print_check(double noundef %5, double noundef %6) %8 = load double, ptr %3, align 8 %9 = load double, ptr %4, align 8 %10 = fadd double %9, 5.000000e-01 %11 = call i32 @printf(ptr noundef @.str, double noundef %8, double noundef %10) %12 = load double, ptr %3, align 8 %13 = load double, ptr %4, align 8 %14 = call i32 @hrt(double noundef %12, double noundef %13, ptr noundef @.str.1) ret void } declare i32 @print_check(double noundef, double noundef) #1 declare i32 @printf(ptr noundef, double noundef, double noundef) #1 declare i32 @hrt(double noundef, double 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/tmpfxttxuwl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [85 x i8] c" <rect x=\22%.2fin\22 y=\22%.2fin\22 width=\225.75in\22 height=\220.5in\22 fill=\22#0000e0\22 />\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_zero(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %3, align 8 %6 = load double, ptr %4, align 8 %7 = call i32 @print_check(double noundef %5, double noundef %6) %8 = load double, ptr %3, align 8 %9 = load double, ptr %4, align 8 %10 = fadd double %9, 5.000000e-01 %11 = call i32 @printf(ptr noundef @.str, double noundef %8, double noundef %10) %12 = load double, ptr %3, align 8 %13 = load double, ptr %4, align 8 %14 = call i32 @hrt(double noundef %12, double noundef %13, ptr noundef @.str.1) ret void } declare i32 @print_check(double noundef, double noundef) #1 declare i32 @printf(ptr noundef, double noundef, double noundef) #1 declare i32 @hrt(double noundef, double 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/tmp0sujprfy.c' source_filename = "/tmp/tmp0sujprfy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getclustercentroids(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %8, i8 noundef signext %9) #0 { %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca i32, align 4 %21 = alloca i8, align 1 %22 = alloca i32, align 4 %23 = alloca ptr, align 8 store i32 %0, ptr %12, align 4 store i32 %1, ptr %13, align 4 store i32 %2, ptr %14, align 4 store ptr %3, ptr %15, align 8 store ptr %4, ptr %16, align 8 store ptr %5, ptr %17, align 8 store ptr %6, ptr %18, align 8 store ptr %7, ptr %19, align 8 store i32 %8, ptr %20, align 4 store i8 %9, ptr %21, align 1 %24 = load i8, ptr %21, align 1 %25 = sext i8 %24 to i32 switch i32 %25, label %68 [ i32 109, label %26 i32 97, label %57 ] 26: ; preds = %10 %27 = load i32, ptr %20, align 4 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %26 %30 = load i32, ptr %13, align 4 br label %33 31: ; preds = %26 %32 = load i32, ptr %14, align 4 br label %33 33: ; preds = %31, %29 %34 = phi i32 [ %30, %29 ], [ %32, %31 ] store i32 %34, ptr %22, align 4 %35 = load i32, ptr %22, align 4 %36 = sext i32 %35 to i64 %37 = mul i64 %36, 8 %38 = trunc i64 %37 to i32 %39 = call ptr @malloc(i32 noundef %38) store ptr %39, ptr %23, align 8 %40 = load ptr, ptr %23, align 8 %41 = icmp ne ptr %40, null br i1 %41, label %43, label %42 42: ; preds = %33 store i32 0, ptr %11, align 4 br label %69 43: ; preds = %33 %44 = load i32, ptr %12, align 4 %45 = load i32, ptr %13, align 4 %46 = load i32, ptr %14, align 4 %47 = load ptr, ptr %15, align 8 %48 = load ptr, ptr %16, align 8 %49 = load ptr, ptr %17, align 8 %50 = load ptr, ptr %18, align 8 %51 = load ptr, ptr %19, align 8 %52 = load i32, ptr %20, align 4 %53 = load ptr, ptr %23, align 8 %54 = call i32 @getclustermedians(i32 noundef %44, i32 noundef %45, i32 noundef %46, ptr noundef %47, ptr noundef %48, ptr noundef %49, ptr noundef %50, ptr noundef %51, i32 noundef %52, ptr noundef %53) %55 = load ptr, ptr %23, align 8 %56 = call i32 @free(ptr noundef %55) store i32 1, ptr %11, align 4 br label %69 57: ; preds = %10 %58 = load i32, ptr %12, align 4 %59 = load i32, ptr %13, align 4 %60 = load i32, ptr %14, align 4 %61 = load ptr, ptr %15, align 8 %62 = load ptr, ptr %16, align 8 %63 = load ptr, ptr %17, align 8 %64 = load ptr, ptr %18, align 8 %65 = load ptr, ptr %19, align 8 %66 = load i32, ptr %20, align 4 %67 = call i32 @getclustermeans(i32 noundef %58, i32 noundef %59, i32 noundef %60, ptr noundef %61, ptr noundef %62, ptr noundef %63, ptr noundef %64, ptr noundef %65, i32 noundef %66) store i32 1, ptr %11, align 4 br label %69 68: ; preds = %10 store i32 0, ptr %11, align 4 br label %69 69: ; preds = %68, %57, %43, %42 %70 = load i32, ptr %11, align 4 ret i32 %70 } declare ptr @malloc(i32 noundef) #1 declare i32 @getclustermedians(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @getclustermeans(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr 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/tmp0sujprfy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getclustercentroids(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %8, i8 noundef signext %9) #0 { %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca i32, align 4 %21 = alloca i8, align 1 %22 = alloca i32, align 4 %23 = alloca ptr, align 8 store i32 %0, ptr %12, align 4 store i32 %1, ptr %13, align 4 store i32 %2, ptr %14, align 4 store ptr %3, ptr %15, align 8 store ptr %4, ptr %16, align 8 store ptr %5, ptr %17, align 8 store ptr %6, ptr %18, align 8 store ptr %7, ptr %19, align 8 store i32 %8, ptr %20, align 4 store i8 %9, ptr %21, align 1 %24 = load i8, ptr %21, align 1 %25 = sext i8 %24 to i32 switch i32 %25, label %68 [ i32 109, label %26 i32 97, label %57 ] 26: ; preds = %10 %27 = load i32, ptr %20, align 4 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %26 %30 = load i32, ptr %13, align 4 br label %33 31: ; preds = %26 %32 = load i32, ptr %14, align 4 br label %33 33: ; preds = %31, %29 %34 = phi i32 [ %30, %29 ], [ %32, %31 ] store i32 %34, ptr %22, align 4 %35 = load i32, ptr %22, align 4 %36 = sext i32 %35 to i64 %37 = mul i64 %36, 8 %38 = trunc i64 %37 to i32 %39 = call ptr @malloc(i32 noundef %38) store ptr %39, ptr %23, align 8 %40 = load ptr, ptr %23, align 8 %41 = icmp ne ptr %40, null br i1 %41, label %43, label %42 42: ; preds = %33 store i32 0, ptr %11, align 4 br label %69 43: ; preds = %33 %44 = load i32, ptr %12, align 4 %45 = load i32, ptr %13, align 4 %46 = load i32, ptr %14, align 4 %47 = load ptr, ptr %15, align 8 %48 = load ptr, ptr %16, align 8 %49 = load ptr, ptr %17, align 8 %50 = load ptr, ptr %18, align 8 %51 = load ptr, ptr %19, align 8 %52 = load i32, ptr %20, align 4 %53 = load ptr, ptr %23, align 8 %54 = call i32 @getclustermedians(i32 noundef %44, i32 noundef %45, i32 noundef %46, ptr noundef %47, ptr noundef %48, ptr noundef %49, ptr noundef %50, ptr noundef %51, i32 noundef %52, ptr noundef %53) %55 = load ptr, ptr %23, align 8 %56 = call i32 @free(ptr noundef %55) store i32 1, ptr %11, align 4 br label %69 57: ; preds = %10 %58 = load i32, ptr %12, align 4 %59 = load i32, ptr %13, align 4 %60 = load i32, ptr %14, align 4 %61 = load ptr, ptr %15, align 8 %62 = load ptr, ptr %16, align 8 %63 = load ptr, ptr %17, align 8 %64 = load ptr, ptr %18, align 8 %65 = load ptr, ptr %19, align 8 %66 = load i32, ptr %20, align 4 %67 = call i32 @getclustermeans(i32 noundef %58, i32 noundef %59, i32 noundef %60, ptr noundef %61, ptr noundef %62, ptr noundef %63, ptr noundef %64, ptr noundef %65, i32 noundef %66) store i32 1, ptr %11, align 4 br label %69 68: ; preds = %10 store i32 0, ptr %11, align 4 br label %69 69: ; preds = %68, %57, %43, %42 %70 = load i32, ptr %11, align 4 ret i32 %70 } declare ptr @malloc(i32 noundef) #1 declare i32 @getclustermedians(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @getclustermeans(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr 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/tmp91pjzsdp.c' source_filename = "/tmp/tmp91pjzsdp.c" target datalayout = "e-m:e-p270: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/tmp91pjzsdp.c" target datalayout = "e-m:e-p270: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/tmp2q20rs5o.c' source_filename = "/tmp/tmp2q20rs5o.c" target datalayout = "e-m:e-p270: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/tmp2q20rs5o.c" target datalayout = "e-m:e-p270: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/tmphmidc4t8.c' source_filename = "/tmp/tmphmidc4t8.c" target datalayout = "e-m:e-p270: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 [7 x i8] c"%7.5f \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printm(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %9 = load i32, ptr %4, align 4 %10 = zext i32 %9 to i64 %11 = load i32, ptr %5, align 4 %12 = zext i32 %11 to i64 store i32 0, ptr %7, align 4 br label %13 13: ; preds = %40, %3 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %43 17: ; preds = %13 store i32 0, ptr %8, align 4 br label %18 18: ; preds = %34, %17 %19 = load i32, ptr %8, align 4 %20 = load i32, ptr %5, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %37 22: ; preds = %18 %23 = load i32, ptr @stdout, align 4 %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr %7, align 4 %26 = sext i32 %25 to i64 %27 = mul nsw i64 %26, %12 %28 = getelementptr inbounds double, ptr %24, i64 %27 %29 = load i32, ptr %8, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds double, ptr %28, i64 %30 %32 = load double, ptr %31, align 8 %33 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str, double noundef %32) br label %34 34: ; preds = %22 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 br label %18, !llvm.loop !6 37: ; preds = %18 %38 = load i32, ptr @stdout, align 4 %39 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %38, ptr noundef @.str.1) br label %40 40: ; preds = %37 %41 = load i32, ptr %7, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %7, align 4 br label %13, !llvm.loop !8 43: ; preds = %13 %44 = load i32, ptr @stdout, align 4 %45 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %44, ptr noundef @.str.1) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphmidc4t8.c" target datalayout = "e-m:e-p270: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 [7 x i8] c"%7.5f \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printm(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %9 = load i32, ptr %4, align 4 %10 = zext i32 %9 to i64 %11 = load i32, ptr %5, align 4 %12 = zext i32 %11 to i64 store i32 0, ptr %7, align 4 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph2, label %47 .lr.ph2: ; preds = %3 br label %16 16: ; preds = %.lr.ph2, %41 store i32 0, ptr %8, align 4 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %.lr.ph, label %38 .lr.ph: ; preds = %16 br label %20 20: ; preds = %.lr.ph, %32 %21 = load i32, ptr @stdout, align 4 %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %7, align 4 %24 = sext i32 %23 to i64 %25 = mul nsw i64 %24, %12 %26 = getelementptr inbounds double, ptr %22, i64 %25 %27 = load i32, ptr %8, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds double, ptr %26, i64 %28 %30 = load double, ptr %29, align 8 %31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str, double noundef %30) br label %32 32: ; preds = %20 %33 = load i32, ptr %8, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %8, align 4 %35 = load i32, ptr %8, align 4 %36 = load i32, ptr %5, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %38 38: ; preds = %._crit_edge, %16 %39 = load i32, ptr @stdout, align 4 %40 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %39, ptr noundef @.str.1) br label %41 41: ; preds = %38 %42 = load i32, ptr %7, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %7, align 4 %44 = load i32, ptr %7, align 4 %45 = load i32, ptr %4, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %16, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %41 br label %47 47: ; preds = %._crit_edge3, %3 %48 = load i32, ptr @stdout, align 4 %49 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %48, ptr noundef @.str.1) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpx7to9k8k.c' source_filename = "/tmp/tmpx7to9k8k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UpdateAll() #0 { %1 = call i32 (...) @UpdateAllIO() %2 = call i32 (...) @UpdateAllDAC() %3 = call i32 (...) @UpdateAllDA() ret void } declare i32 @UpdateAllIO(...) #1 declare i32 @UpdateAllDAC(...) #1 declare i32 @UpdateAllDA(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx7to9k8k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UpdateAll() #0 { %1 = call i32 (...) @UpdateAllIO() %2 = call i32 (...) @UpdateAllDAC() %3 = call i32 (...) @UpdateAllDA() ret void } declare i32 @UpdateAllIO(...) #1 declare i32 @UpdateAllDAC(...) #1 declare i32 @UpdateAllDA(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp01qs2wqt.c' source_filename = "/tmp/tmp01qs2wqt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Invalid arguments\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @validateRm(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [128 x i8], align 16 %4 = alloca [128 x i8], align 16 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 128, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 128, i1 false) store i32 0, ptr %5, align 4 %6 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %7 = load ptr, ptr %2, align 8 %8 = call i32 @readWordFromCommand(ptr noundef %6, ptr noundef %7, i32 noundef 0, i8 noundef signext 32) %9 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %10 = call i32 @length(ptr noundef %9) %11 = add nsw i32 %10, 1 %12 = load i32, ptr %5, align 4 %13 = add nsw i32 %12, %11 store i32 %13, ptr %5, align 4 %14 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr %5, align 4 %17 = call i32 @readWordFromCommand(ptr noundef %14, ptr noundef %15, i32 noundef %16, i8 noundef signext 0) %18 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %19 = call i32 @length(ptr noundef %18) %20 = icmp eq i32 %19, 1 br i1 %20, label %21, label %40 21: ; preds = %1 %22 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %23 = load i8, ptr %22, align 16 %24 = call i64 @isDigit(i8 noundef signext %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %40 26: ; preds = %21 %27 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %28 = load i8, ptr %27, align 16 %29 = sext i8 %28 to i32 %30 = sub nsw i32 %29, 48 %31 = icmp sle i32 %30, 1 br i1 %31, label %32, label %40 32: ; preds = %26 %33 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %34 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %35 = load i8, ptr %34, align 16 %36 = sext i8 %35 to i32 %37 = sub nsw i32 %36, 48 %38 = trunc i32 %37 to i8 %39 = call i32 @remove(ptr noundef %33, i8 noundef signext %38) br label %42 40: ; preds = %26, %21, %1 %41 = call i32 @printf(ptr noundef @.str) br label %42 42: ; preds = %40, %32 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @readWordFromCommand(ptr noundef, ptr noundef, i32 noundef, i8 noundef signext) #2 declare i32 @length(ptr noundef) #2 declare i64 @isDigit(i8 noundef signext) #2 declare i32 @remove(ptr noundef, i8 noundef signext) #2 declare i32 @printf(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp01qs2wqt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Invalid arguments\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @validateRm(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [128 x i8], align 16 %4 = alloca [128 x i8], align 16 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 128, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 128, i1 false) store i32 0, ptr %5, align 4 %6 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %7 = load ptr, ptr %2, align 8 %8 = call i32 @readWordFromCommand(ptr noundef %6, ptr noundef %7, i32 noundef 0, i8 noundef signext 32) %9 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %10 = call i32 @length(ptr noundef %9) %11 = add nsw i32 %10, 1 %12 = load i32, ptr %5, align 4 %13 = add nsw i32 %12, %11 store i32 %13, ptr %5, align 4 %14 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr %5, align 4 %17 = call i32 @readWordFromCommand(ptr noundef %14, ptr noundef %15, i32 noundef %16, i8 noundef signext 0) %18 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %19 = call i32 @length(ptr noundef %18) %20 = icmp eq i32 %19, 1 br i1 %20, label %21, label %40 21: ; preds = %1 %22 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %23 = load i8, ptr %22, align 16 %24 = call i64 @isDigit(i8 noundef signext %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %40 26: ; preds = %21 %27 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %28 = load i8, ptr %27, align 16 %29 = sext i8 %28 to i32 %30 = sub nsw i32 %29, 48 %31 = icmp sle i32 %30, 1 br i1 %31, label %32, label %40 32: ; preds = %26 %33 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %34 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %35 = load i8, ptr %34, align 16 %36 = sext i8 %35 to i32 %37 = sub nsw i32 %36, 48 %38 = trunc i32 %37 to i8 %39 = call i32 @remove(ptr noundef %33, i8 noundef signext %38) br label %42 40: ; preds = %26, %21, %1 %41 = call i32 @printf(ptr noundef @.str) br label %42 42: ; preds = %40, %32 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @readWordFromCommand(ptr noundef, ptr noundef, i32 noundef, i8 noundef signext) #2 declare i32 @length(ptr noundef) #2 declare i64 @isDigit(i8 noundef signext) #2 declare i32 @remove(ptr noundef, i8 noundef signext) #2 declare i32 @printf(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphtpk8int.c' source_filename = "/tmp/tmphtpk8int.c" target datalayout = "e-m:e-p270: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.table = private unnamed_addr constant [13 x i32] [i32 4, i32 5, i32 -2, i32 -1, i32 16, i32 2, i32 -4, i32 2, i32 0, i32 -7, i32 9, i32 8, i32 -10], align 16 @.str = private unnamed_addr constant [29 x i8] c"\0ATable before bubble sort: [\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c" ]\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"Table after bubble sort: [\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 [13 x i32], align 16 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.table, i64 52, i1 false) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %7, align 4 br label %9 9: ; preds = %19, %2 %10 = load i32, ptr %7, align 4 %11 = sext i32 %10 to i64 %12 = icmp ult i64 %11, 13 br i1 %12, label %13, label %22 13: ; preds = %9 %14 = load i32, ptr %7, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [13 x i32], ptr %6, i64 0, i64 %15 %17 = load i32, ptr %16, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %17) br label %19 19: ; preds = %13 %20 = load i32, ptr %7, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %7, align 4 br label %9, !llvm.loop !6 22: ; preds = %9 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %24 = getelementptr inbounds [13 x i32], ptr %6, i64 0, i64 0 %25 = call i32 @bubble_sort(ptr noundef %24, i32 noundef 13) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %7, align 4 br label %27 27: ; preds = %37, %22 %28 = load i32, ptr %7, align 4 %29 = sext i32 %28 to i64 %30 = icmp ult i64 %29, 13 br i1 %30, label %31, label %40 31: ; preds = %27 %32 = load i32, ptr %7, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [13 x i32], ptr %6, i64 0, i64 %33 %35 = load i32, ptr %34, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %35) br label %37 37: ; preds = %31 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 br label %27, !llvm.loop !8 40: ; preds = %27 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) 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 i32 @bubble_sort(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphtpk8int.c" target datalayout = "e-m:e-p270: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.table = private unnamed_addr constant [13 x i32] [i32 4, i32 5, i32 -2, i32 -1, i32 16, i32 2, i32 -4, i32 2, i32 0, i32 -7, i32 9, i32 8, i32 -10], align 16 @.str = private unnamed_addr constant [29 x i8] c"\0ATable before bubble sort: [\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c" ]\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"Table after bubble sort: [\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 [13 x i32], align 16 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.table, i64 52, i1 false) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = sext i32 %9 to i64 %11 = icmp ult i64 %10, 13 br i1 %11, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %18 %13 = load i32, ptr %7, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [13 x i32], ptr %6, i64 0, i64 %14 %16 = load i32, ptr %15, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16) br label %18 18: ; preds = %12 %19 = load i32, ptr %7, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %7, align 4 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = icmp ult i64 %22, 13 br i1 %23, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %24 24: ; preds = %._crit_edge, %2 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %26 = getelementptr inbounds [13 x i32], ptr %6, i64 0, i64 0 %27 = call i32 @bubble_sort(ptr noundef %26, i32 noundef 13) %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %7, align 4 %29 = load i32, ptr %7, align 4 %30 = sext i32 %29 to i64 %31 = icmp ult i64 %30, 13 br i1 %31, label %.lr.ph2, label %44 .lr.ph2: ; preds = %24 br label %32 32: ; preds = %.lr.ph2, %38 %33 = load i32, ptr %7, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [13 x i32], ptr %6, i64 0, i64 %34 %36 = load i32, ptr %35, align 4 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %36) br label %38 38: ; preds = %32 %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 = sext i32 %41 to i64 %43 = icmp ult i64 %42, 13 br i1 %43, label %32, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %38 br label %44 44: ; preds = %._crit_edge3, %24 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) 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 i32 @bubble_sort(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpegcsia41.c' source_filename = "/tmp/tmpegcsia41.c" target datalayout = "e-m:e-p270: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/tmpegcsia41.c" target datalayout = "e-m:e-p270: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/tmpgo9hmk07.c' source_filename = "/tmp/tmpgo9hmk07.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"setitimer\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Setitimer(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp ne ptr %8, null %10 = zext i1 %9 to i32 %11 = call i32 @assert(i32 noundef %10) %12 = load i32, ptr %4, align 4 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %6, align 8 %15 = call i32 @setitimer(i32 noundef %12, ptr noundef %13, ptr noundef %14) store i32 %15, ptr %7, align 4 %16 = load i32, ptr %7, align 4 %17 = icmp eq i32 %16, -1 br i1 %17, label %18, label %20 18: ; preds = %3 %19 = call i32 @Sys_failure(ptr noundef @.str) br label %20 20: ; preds = %18, %3 ret void } declare i32 @assert(i32 noundef) #1 declare i32 @setitimer(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @Sys_failure(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgo9hmk07.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"setitimer\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Setitimer(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp ne ptr %8, null %10 = zext i1 %9 to i32 %11 = call i32 @assert(i32 noundef %10) %12 = load i32, ptr %4, align 4 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %6, align 8 %15 = call i32 @setitimer(i32 noundef %12, ptr noundef %13, ptr noundef %14) store i32 %15, ptr %7, align 4 %16 = load i32, ptr %7, align 4 %17 = icmp eq i32 %16, -1 br i1 %17, label %18, label %20 18: ; preds = %3 %19 = call i32 @Sys_failure(ptr noundef @.str) br label %20 20: ; preds = %18, %3 ret void } declare i32 @assert(i32 noundef) #1 declare i32 @setitimer(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @Sys_failure(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeco_a6kx.c' source_filename = "/tmp/tmpeco_a6kx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xmalloc_large_ext(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call ptr @xmalloc_large(i64 noundef %3) ret ptr %4 } declare ptr @xmalloc_large(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/tmpeco_a6kx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xmalloc_large_ext(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call ptr @xmalloc_large(i64 noundef %3) ret ptr %4 } declare ptr @xmalloc_large(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/tmptvnhluuz.c' source_filename = "/tmp/tmptvnhluuz.c" target datalayout = "e-m:e-p270: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 [30 x i8] c"libjsonlang_test_file <file>\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = 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 %9 = load i32, ptr %4, align 4 %10 = icmp ne i32 %9, 2 br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str) %14 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %14, ptr %3, align 4 br label %43 15: ; preds = %2 %16 = call ptr (...) @jsonlang_make() store ptr %16, ptr %8, align 8 %17 = load ptr, ptr %8, align 8 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = call ptr @jsonlang_evaluate_file(ptr noundef %17, ptr noundef %20, ptr noundef %6) store ptr %21, ptr %7, align 8 %22 = load i32, ptr %6, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %34 24: ; preds = %15 %25 = load i32, ptr @stderr, align 4 %26 = load ptr, ptr %7, align 8 %27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %25, ptr noundef @.str.1, ptr noundef %26) %28 = load ptr, ptr %8, align 8 %29 = load ptr, ptr %7, align 8 %30 = call i32 @jsonlang_realloc(ptr noundef %28, ptr noundef %29, i32 noundef 0) %31 = load ptr, ptr %8, align 8 %32 = call i32 @jsonlang_destroy(ptr noundef %31) %33 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %33, ptr %3, align 4 br label %43 34: ; preds = %15 %35 = load ptr, ptr %7, align 8 %36 = call i32 @printf(ptr noundef @.str.1, ptr noundef %35) %37 = load ptr, ptr %8, align 8 %38 = load ptr, ptr %7, align 8 %39 = call i32 @jsonlang_realloc(ptr noundef %37, ptr noundef %38, i32 noundef 0) %40 = load ptr, ptr %8, align 8 %41 = call i32 @jsonlang_destroy(ptr noundef %40) %42 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %42, ptr %3, align 4 br label %43 43: ; preds = %34, %24, %11 %44 = load i32, ptr %3, align 4 ret i32 %44 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @jsonlang_make(...) #1 declare ptr @jsonlang_evaluate_file(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @jsonlang_realloc(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @jsonlang_destroy(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptvnhluuz.c" target datalayout = "e-m:e-p270: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 [30 x i8] c"libjsonlang_test_file <file>\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = 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 %9 = load i32, ptr %4, align 4 %10 = icmp ne i32 %9, 2 br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str) %14 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %14, ptr %3, align 4 br label %43 15: ; preds = %2 %16 = call ptr (...) @jsonlang_make() store ptr %16, ptr %8, align 8 %17 = load ptr, ptr %8, align 8 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = call ptr @jsonlang_evaluate_file(ptr noundef %17, ptr noundef %20, ptr noundef %6) store ptr %21, ptr %7, align 8 %22 = load i32, ptr %6, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %34 24: ; preds = %15 %25 = load i32, ptr @stderr, align 4 %26 = load ptr, ptr %7, align 8 %27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %25, ptr noundef @.str.1, ptr noundef %26) %28 = load ptr, ptr %8, align 8 %29 = load ptr, ptr %7, align 8 %30 = call i32 @jsonlang_realloc(ptr noundef %28, ptr noundef %29, i32 noundef 0) %31 = load ptr, ptr %8, align 8 %32 = call i32 @jsonlang_destroy(ptr noundef %31) %33 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %33, ptr %3, align 4 br label %43 34: ; preds = %15 %35 = load ptr, ptr %7, align 8 %36 = call i32 @printf(ptr noundef @.str.1, ptr noundef %35) %37 = load ptr, ptr %8, align 8 %38 = load ptr, ptr %7, align 8 %39 = call i32 @jsonlang_realloc(ptr noundef %37, ptr noundef %38, i32 noundef 0) %40 = load ptr, ptr %8, align 8 %41 = call i32 @jsonlang_destroy(ptr noundef %40) %42 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %42, ptr %3, align 4 br label %43 43: ; preds = %34, %24, %11 %44 = load i32, ptr %3, align 4 ret i32 %44 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @jsonlang_make(...) #1 declare ptr @jsonlang_evaluate_file(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @jsonlang_realloc(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @jsonlang_destroy(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpux8y8_sv.c' source_filename = "/tmp/tmpux8y8_sv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Custom callback with %s as parameter\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @custom_callback(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @printf(ptr noundef @.str, ptr noundef %5) ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpux8y8_sv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Custom callback with %s as parameter\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @custom_callback(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @printf(ptr noundef @.str, ptr noundef %5) ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_olq142h.c' source_filename = "/tmp/tmp_olq142h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_olq142h.c" target datalayout = "e-m:e-p270: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/tmp1c6h5j4a.c' source_filename = "/tmp/tmp1c6h5j4a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"O_RDONLY:%d\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [13 x i8] c"O_WRONLY:%d\0A\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [11 x i8] c"O_RDWR:%d\0A\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [15 x i8] c"O_NONBLOCK:%d\0A\00", align 1 @O_NONBLOCK = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [13 x i8] c"O_APPEND:%d\0A\00", align 1 @O_APPEND = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [12 x i8] c"O_CREAT:%d\0A\00", align 1 @O_CREAT = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [11 x i8] c"O_EXCL:%d\0A\00", align 1 @O_EXCL = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [12 x i8] c"O_TRUNC:%d\0A\00", align 1 @O_TRUNC = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [13 x i8] c"O_NOCTTY:%d\0A\00", align 1 @O_NOCTTY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = load i32, ptr @O_RDONLY, align 4 %2 = call i32 @printf(ptr noundef @.str, i32 noundef %1) %3 = load i32, ptr @O_WRONLY, align 4 %4 = call i32 @printf(ptr noundef @.str.1, i32 noundef %3) %5 = load i32, ptr @O_RDWR, align 4 %6 = call i32 @printf(ptr noundef @.str.2, i32 noundef %5) %7 = load i32, ptr @O_NONBLOCK, align 4 %8 = call i32 @printf(ptr noundef @.str.3, i32 noundef %7) %9 = load i32, ptr @O_APPEND, align 4 %10 = call i32 @printf(ptr noundef @.str.4, i32 noundef %9) %11 = load i32, ptr @O_CREAT, align 4 %12 = call i32 @printf(ptr noundef @.str.5, i32 noundef %11) %13 = load i32, ptr @O_EXCL, align 4 %14 = call i32 @printf(ptr noundef @.str.6, i32 noundef %13) %15 = load i32, ptr @O_TRUNC, align 4 %16 = call i32 @printf(ptr noundef @.str.7, i32 noundef %15) %17 = load i32, ptr @O_NOCTTY, align 4 %18 = call i32 @printf(ptr noundef @.str.8, i32 noundef %17) 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/tmp1c6h5j4a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"O_RDONLY:%d\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [13 x i8] c"O_WRONLY:%d\0A\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [11 x i8] c"O_RDWR:%d\0A\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [15 x i8] c"O_NONBLOCK:%d\0A\00", align 1 @O_NONBLOCK = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [13 x i8] c"O_APPEND:%d\0A\00", align 1 @O_APPEND = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [12 x i8] c"O_CREAT:%d\0A\00", align 1 @O_CREAT = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [11 x i8] c"O_EXCL:%d\0A\00", align 1 @O_EXCL = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [12 x i8] c"O_TRUNC:%d\0A\00", align 1 @O_TRUNC = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [13 x i8] c"O_NOCTTY:%d\0A\00", align 1 @O_NOCTTY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = load i32, ptr @O_RDONLY, align 4 %2 = call i32 @printf(ptr noundef @.str, i32 noundef %1) %3 = load i32, ptr @O_WRONLY, align 4 %4 = call i32 @printf(ptr noundef @.str.1, i32 noundef %3) %5 = load i32, ptr @O_RDWR, align 4 %6 = call i32 @printf(ptr noundef @.str.2, i32 noundef %5) %7 = load i32, ptr @O_NONBLOCK, align 4 %8 = call i32 @printf(ptr noundef @.str.3, i32 noundef %7) %9 = load i32, ptr @O_APPEND, align 4 %10 = call i32 @printf(ptr noundef @.str.4, i32 noundef %9) %11 = load i32, ptr @O_CREAT, align 4 %12 = call i32 @printf(ptr noundef @.str.5, i32 noundef %11) %13 = load i32, ptr @O_EXCL, align 4 %14 = call i32 @printf(ptr noundef @.str.6, i32 noundef %13) %15 = load i32, ptr @O_TRUNC, align 4 %16 = call i32 @printf(ptr noundef @.str.7, i32 noundef %15) %17 = load i32, ptr @O_NOCTTY, align 4 %18 = call i32 @printf(ptr noundef @.str.8, i32 noundef %17) 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/tmpoiuc9b89.c' source_filename = "/tmp/tmpoiuc9b89.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [4 x i8], align 1 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0 %12 = load i32, ptr @stdin, align 4 %13 = call i32 @fgets(ptr noundef %11, i32 noundef 4, i32 noundef %12) %14 = call i32 @atoi(i32 noundef %13) store i32 %14, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = zext i32 %15 to i64 %17 = call ptr @llvm.stacksave() store ptr %17, ptr %8, align 8 %18 = alloca i32, i64 %16, align 16 store i64 %16, ptr %9, align 8 store i32 0, ptr %10, align 4 br label %19 19: ; preds = %28, %2 %20 = load i32, ptr %10, align 4 %21 = load i32, ptr %7, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %31 23: ; preds = %19 %24 = load i32, ptr %10, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %18, i64 %25 %27 = call i32 @scanf(ptr noundef @.str, ptr noundef %26) br label %28 28: ; preds = %23 %29 = load i32, ptr %10, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %10, align 4 br label %19, !llvm.loop !6 31: ; preds = %19 %32 = load i32, ptr %7, align 4 %33 = call i32 @insertionSort(ptr noundef %18, i32 noundef %32) store i32 0, ptr %3, align 4 %34 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %34) %35 = load i32, ptr %3, align 4 ret i32 %35 } declare i32 @atoi(i32 noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @insertionSort(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoiuc9b89.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [4 x i8], align 1 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0 %12 = load i32, ptr @stdin, align 4 %13 = call i32 @fgets(ptr noundef %11, i32 noundef 4, i32 noundef %12) %14 = call i32 @atoi(i32 noundef %13) store i32 %14, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = zext i32 %15 to i64 %17 = call ptr @llvm.stacksave() store ptr %17, ptr %8, align 8 %18 = alloca i32, i64 %16, align 16 store i64 %16, ptr %9, align 8 store i32 0, ptr %10, align 4 %19 = load i32, ptr %10, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %.lr.ph, label %33 .lr.ph: ; preds = %2 br label %22 22: ; preds = %.lr.ph, %27 %23 = load i32, ptr %10, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %18, i64 %24 %26 = call i32 @scanf(ptr noundef @.str, ptr noundef %25) br label %27 27: ; preds = %22 %28 = load i32, ptr %10, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %10, align 4 %30 = load i32, ptr %10, align 4 %31 = load i32, ptr %7, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %2 %34 = load i32, ptr %7, align 4 %35 = call i32 @insertionSort(ptr noundef %18, i32 noundef %34) store i32 0, ptr %3, align 4 %36 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %36) %37 = load i32, ptr %3, align 4 ret i32 %37 } declare i32 @atoi(i32 noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @insertionSort(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8sqd0p2_.c' source_filename = "/tmp/tmp8sqd0p2_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @time_human.buf = internal global [1024 x i8] zeroinitializer, align 16 @time_human.lmt = internal constant [5 x i64] [i64 60, i64 3600, i64 86400, i64 2592000, i64 31104000], align 16 @time_human.units = internal constant [6 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5], align 16 @.str = private unnamed_addr constant [7 x i8] c"second\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"minute\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"hour\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"day\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"month\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"year\00", align 1 @.str.6 = private unnamed_addr constant [11 x i8] c"%ld %s%s, \00", align 1 @.str.7 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @time_human(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca [100 x i8], align 16 %8 = alloca i32, align 4 store i64 %0, ptr %2, align 8 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %3, align 4 br label %9 9: ; preds = %22, %1 %10 = load i32, ptr %3, align 4 %11 = zext i32 %10 to i64 %12 = icmp ult i64 %11, 6 br i1 %12, label %13, label %25 13: ; preds = %9 %14 = load i64, ptr %2, align 8 %15 = load i32, ptr %3, align 4 %16 = zext i32 %15 to i64 %17 = getelementptr inbounds [5 x i64], ptr @time_human.lmt, i64 0, i64 %16 %18 = load i64, ptr %17, align 8 %19 = icmp ult i64 %14, %18 br i1 %19, label %20, label %21 20: ; preds = %13 br label %25 21: ; preds = %13 br label %22 22: ; preds = %21 %23 = load i32, ptr %3, align 4 %24 = add i32 %23, 1 store i32 %24, ptr %3, align 4 br label %9, !llvm.loop !6 25: ; preds = %20, %9 br label %26 26: ; preds = %81, %25 %27 = load i32, ptr %3, align 4 %28 = icmp ne i32 %27, 0 br i1 %28, label %33, label %29 29: ; preds = %26 %30 = load i64, ptr %2, align 8 %31 = load i64, ptr @time_human.lmt, align 16 %32 = urem i64 %30, %31 br label %46 33: ; preds = %26 %34 = load i64, ptr %2, align 8 %35 = load i32, ptr %3, align 4 %36 = zext i32 %35 to i64 %37 = getelementptr inbounds [5 x i64], ptr @time_human.lmt, i64 0, i64 %36 %38 = load i64, ptr %37, align 8 %39 = urem i64 %34, %38 %40 = load i32, ptr %3, align 4 %41 = sub i32 %40, 1 %42 = zext i32 %41 to i64 %43 = getelementptr inbounds [5 x i64], ptr @time_human.lmt, i64 0, i64 %42 %44 = load i64, ptr %43, align 8 %45 = udiv i64 %39, %44 br label %46 46: ; preds = %33, %29 %47 = phi i64 [ %32, %29 ], [ %45, %33 ] store i64 %47, ptr %6, align 8 %48 = load i64, ptr %6, align 8 %49 = icmp ne i64 %48, 0 br i1 %49, label %56, label %50 50: ; preds = %46 %51 = load i32, ptr %3, align 4 %52 = icmp ne i32 %51, 0 br i1 %52, label %80, label %53 53: ; preds = %50 %54 = load i32, ptr %4, align 4 %55 = icmp ne i32 %54, 0 br i1 %55, label %80, label %56 56: ; preds = %53, %46 %57 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %58 = load i64, ptr %6, align 8 %59 = load i32, ptr %3, align 4 %60 = zext i32 %59 to i64 %61 = getelementptr inbounds [6 x ptr], ptr @time_human.units, i64 0, i64 %60 %62 = load ptr, ptr %61, align 8 %63 = load i64, ptr %6, align 8 %64 = icmp eq i64 %63, 1 %65 = zext i1 %64 to i64 %66 = select i1 %64, ptr @.str.7, ptr @.str.8 %67 = call i32 @sprintf(ptr noundef %57, ptr noundef @.str.6, i64 noundef %58, ptr noundef %62, ptr noundef %66) %68 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %69 = call i32 @strlen(ptr noundef %68) store i32 %69, ptr %8, align 4 %70 = load i32, ptr %5, align 4 %71 = zext i32 %70 to i64 %72 = getelementptr inbounds [1024 x i8], ptr @time_human.buf, i64 0, i64 %71 %73 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %74 = call i32 @strcpy(ptr noundef %72, ptr noundef %73) %75 = load i32, ptr %8, align 4 %76 = load i32, ptr %5, align 4 %77 = add i32 %76, %75 store i32 %77, ptr %5, align 4 %78 = load i32, ptr %4, align 4 %79 = add i32 %78, 1 store i32 %79, ptr %4, align 4 br label %80 80: ; preds = %56, %53, %50 br label %81 81: ; preds = %80 %82 = load i32, ptr %3, align 4 %83 = add i32 %82, -1 store i32 %83, ptr %3, align 4 %84 = icmp ne i32 %82, 0 br i1 %84, label %26, label %85, !llvm.loop !8 85: ; preds = %81 %86 = call i32 @strlen(ptr noundef @time_human.buf) %87 = sub nsw i32 %86, 1 store i32 %87, ptr %5, align 4 br label %88 88: ; preds = %104, %85 %89 = load i32, ptr %5, align 4 %90 = zext i32 %89 to i64 %91 = getelementptr inbounds [1024 x i8], ptr @time_human.buf, i64 0, i64 %90 %92 = load i8, ptr %91, align 1 %93 = sext i8 %92 to i32 %94 = icmp eq i32 %93, 32 br i1 %94, label %102, label %95 95: ; preds = %88 %96 = load i32, ptr %5, align 4 %97 = zext i32 %96 to i64 %98 = getelementptr inbounds [1024 x i8], ptr @time_human.buf, i64 0, i64 %97 %99 = load i8, ptr %98, align 1 %100 = sext i8 %99 to i32 %101 = icmp eq i32 %100, 44 br label %102 102: ; preds = %95, %88 %103 = phi i1 [ true, %88 ], [ %101, %95 ] br i1 %103, label %104, label %109 104: ; preds = %102 %105 = load i32, ptr %5, align 4 %106 = add i32 %105, -1 store i32 %106, ptr %5, align 4 %107 = zext i32 %105 to i64 %108 = getelementptr inbounds [1024 x i8], ptr @time_human.buf, i64 0, i64 %107 store i8 0, ptr %108, align 1 br label %88, !llvm.loop !9 109: ; preds = %102 ret ptr @time_human.buf } declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8sqd0p2_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @time_human.buf = internal global [1024 x i8] zeroinitializer, align 16 @time_human.lmt = internal constant [5 x i64] [i64 60, i64 3600, i64 86400, i64 2592000, i64 31104000], align 16 @time_human.units = internal constant [6 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5], align 16 @.str = private unnamed_addr constant [7 x i8] c"second\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"minute\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"hour\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"day\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"month\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"year\00", align 1 @.str.6 = private unnamed_addr constant [11 x i8] c"%ld %s%s, \00", align 1 @.str.7 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @time_human(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca [100 x i8], align 16 %8 = alloca i32, align 4 store i64 %0, ptr %2, align 8 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = zext i32 %9 to i64 %11 = icmp ult i64 %10, 6 br i1 %11, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %1 br label %12 12: ; preds = %.lr.ph, %21 %13 = load i64, ptr %2, align 8 %14 = load i32, ptr %3, align 4 %15 = zext i32 %14 to i64 %16 = getelementptr inbounds [5 x i64], ptr @time_human.lmt, i64 0, i64 %15 %17 = load i64, ptr %16, align 8 %18 = icmp ult i64 %13, %17 br i1 %18, label %19, label %20 19: ; preds = %12 br label %27 20: ; preds = %12 br label %21 21: ; preds = %20 %22 = load i32, ptr %3, align 4 %23 = add i32 %22, 1 store i32 %23, ptr %3, align 4 %24 = load i32, ptr %3, align 4 %25 = zext i32 %24 to i64 %26 = icmp ult i64 %25, 6 br i1 %26, label %12, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %21 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %1 br label %27 27: ; preds = %.loopexit, %19 br label %28 28: ; preds = %83, %27 %29 = load i32, ptr %3, align 4 %30 = icmp ne i32 %29, 0 br i1 %30, label %35, label %31 31: ; preds = %28 %32 = load i64, ptr %2, align 8 %33 = load i64, ptr @time_human.lmt, align 16 %34 = urem i64 %32, %33 br label %48 35: ; preds = %28 %36 = load i64, ptr %2, align 8 %37 = load i32, ptr %3, align 4 %38 = zext i32 %37 to i64 %39 = getelementptr inbounds [5 x i64], ptr @time_human.lmt, i64 0, i64 %38 %40 = load i64, ptr %39, align 8 %41 = urem i64 %36, %40 %42 = load i32, ptr %3, align 4 %43 = sub i32 %42, 1 %44 = zext i32 %43 to i64 %45 = getelementptr inbounds [5 x i64], ptr @time_human.lmt, i64 0, i64 %44 %46 = load i64, ptr %45, align 8 %47 = udiv i64 %41, %46 br label %48 48: ; preds = %35, %31 %49 = phi i64 [ %34, %31 ], [ %47, %35 ] store i64 %49, ptr %6, align 8 %50 = load i64, ptr %6, align 8 %51 = icmp ne i64 %50, 0 br i1 %51, label %58, label %52 52: ; preds = %48 %53 = load i32, ptr %3, align 4 %54 = icmp ne i32 %53, 0 br i1 %54, label %82, label %55 55: ; preds = %52 %56 = load i32, ptr %4, align 4 %57 = icmp ne i32 %56, 0 br i1 %57, label %82, label %58 58: ; preds = %55, %48 %59 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %60 = load i64, ptr %6, align 8 %61 = load i32, ptr %3, align 4 %62 = zext i32 %61 to i64 %63 = getelementptr inbounds [6 x ptr], ptr @time_human.units, i64 0, i64 %62 %64 = load ptr, ptr %63, align 8 %65 = load i64, ptr %6, align 8 %66 = icmp eq i64 %65, 1 %67 = zext i1 %66 to i64 %68 = select i1 %66, ptr @.str.7, ptr @.str.8 %69 = call i32 @sprintf(ptr noundef %59, ptr noundef @.str.6, i64 noundef %60, ptr noundef %64, ptr noundef %68) %70 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %71 = call i32 @strlen(ptr noundef %70) store i32 %71, ptr %8, align 4 %72 = load i32, ptr %5, align 4 %73 = zext i32 %72 to i64 %74 = getelementptr inbounds [1024 x i8], ptr @time_human.buf, i64 0, i64 %73 %75 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %76 = call i32 @strcpy(ptr noundef %74, ptr noundef %75) %77 = load i32, ptr %8, align 4 %78 = load i32, ptr %5, align 4 %79 = add i32 %78, %77 store i32 %79, ptr %5, align 4 %80 = load i32, ptr %4, align 4 %81 = add i32 %80, 1 store i32 %81, ptr %4, align 4 br label %82 82: ; preds = %58, %55, %52 br label %83 83: ; preds = %82 %84 = load i32, ptr %3, align 4 %85 = add i32 %84, -1 store i32 %85, ptr %3, align 4 %86 = icmp ne i32 %84, 0 br i1 %86, label %28, label %87, !llvm.loop !8 87: ; preds = %83 %88 = call i32 @strlen(ptr noundef @time_human.buf) %89 = sub nsw i32 %88, 1 store i32 %89, ptr %5, align 4 br label %90 90: ; preds = %106, %87 %91 = load i32, ptr %5, align 4 %92 = zext i32 %91 to i64 %93 = getelementptr inbounds [1024 x i8], ptr @time_human.buf, i64 0, i64 %92 %94 = load i8, ptr %93, align 1 %95 = sext i8 %94 to i32 %96 = icmp eq i32 %95, 32 br i1 %96, label %104, label %97 97: ; preds = %90 %98 = load i32, ptr %5, align 4 %99 = zext i32 %98 to i64 %100 = getelementptr inbounds [1024 x i8], ptr @time_human.buf, i64 0, i64 %99 %101 = load i8, ptr %100, align 1 %102 = sext i8 %101 to i32 %103 = icmp eq i32 %102, 44 br label %104 104: ; preds = %97, %90 %105 = phi i1 [ true, %90 ], [ %103, %97 ] br i1 %105, label %106, label %111 106: ; preds = %104 %107 = load i32, ptr %5, align 4 %108 = add i32 %107, -1 store i32 %108, ptr %5, align 4 %109 = zext i32 %107 to i64 %110 = getelementptr inbounds [1024 x i8], ptr @time_human.buf, i64 0, i64 %109 store i8 0, ptr %110, align 1 br label %90, !llvm.loop !9 111: ; preds = %104 ret ptr @time_human.buf } declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpekiomxiv.c' source_filename = "/tmp/tmpekiomxiv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_iscntrl.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"iscntrl should be 0 for 0x9d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_iscntrl_0x9d() #0 { %1 = call i64 @iscntrl(i32 noundef 157) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 790, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @iscntrl(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/tmpekiomxiv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_iscntrl.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"iscntrl should be 0 for 0x9d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_iscntrl_0x9d() #0 { %1 = call i64 @iscntrl(i32 noundef 157) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 790, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @iscntrl(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/tmpymug0p_4.c' source_filename = "/tmp/tmpymug0p_4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @caf_shash_bkdr(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 131, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store ptr null, ptr %10, align 8 %12 = load ptr, ptr %4, align 8 store ptr %12, ptr %11, align 8 %13 = load ptr, ptr %11, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %98 15: ; preds = %2 %16 = load i32, ptr %5, align 4 %17 = icmp sgt i32 %16, 0 br i1 %17, label %18, label %98 18: ; preds = %15 %19 = load i32, ptr %5, align 4 %20 = sdiv i32 %19, 4 store i32 %20, ptr %9, align 4 %21 = load i32, ptr %9, align 4 %22 = icmp sgt i32 %21, 0 br i1 %22, label %23, label %77 23: ; preds = %18 %24 = load ptr, ptr %11, align 8 store ptr %24, ptr %10, align 8 store i32 0, ptr %8, align 4 br label %25 25: ; preds = %36, %23 %26 = load i32, ptr %8, align 4 %27 = load i32, ptr %9, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %41 29: ; preds = %25 %30 = load i32, ptr %7, align 4 %31 = load i32, ptr %6, align 4 %32 = mul nsw i32 %30, %31 %33 = load ptr, ptr %10, align 8 %34 = load i32, ptr %33, align 4 %35 = add nsw i32 %32, %34 store i32 %35, ptr %7, align 4 br label %36 36: ; preds = %29 %37 = load ptr, ptr %10, align 8 %38 = getelementptr inbounds i32, ptr %37, i32 1 store ptr %38, ptr %10, align 8 %39 = load i32, ptr %8, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %8, align 4 br label %25, !llvm.loop !6 41: ; preds = %25 %42 = load i32, ptr %5, align 4 %43 = srem i32 %42, 4 %44 = icmp sgt i32 %43, 0 br i1 %44, label %45, label %76 45: ; preds = %41 %46 = load i32, ptr %9, align 4 %47 = mul nsw i32 %46, 4 store i32 %47, ptr %9, align 4 %48 = load i32, ptr %9, align 4 %49 = sext i32 %48 to i64 %50 = load ptr, ptr %11, align 8 %51 = ptrtoint ptr %50 to i64 %52 = add i64 %49, %51 %53 = inttoptr i64 %52 to ptr store ptr %53, ptr %11, align 8 %54 = load i32, ptr %5, align 4 %55 = load i32, ptr %5, align 4 %56 = srem i32 %55, 4 %57 = sub nsw i32 %54, %56 store i32 %57, ptr %8, align 4 br label %58 58: ; preds = %70, %45 %59 = load i32, ptr %8, align 4 %60 = load i32, ptr %5, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %62, label %75 62: ; preds = %58 %63 = load i32, ptr %7, align 4 %64 = load i32, ptr %6, align 4 %65 = mul nsw i32 %63, %64 %66 = load ptr, ptr %11, align 8 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = add nsw i32 %65, %68 store i32 %69, ptr %7, align 4 br label %70 70: ; preds = %62 %71 = load ptr, ptr %11, align 8 %72 = getelementptr inbounds i8, ptr %71, i32 1 store ptr %72, ptr %11, align 8 %73 = load i32, ptr %8, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %8, align 4 br label %58, !llvm.loop !8 75: ; preds = %58 br label %76 76: ; preds = %75, %41 br label %96 77: ; preds = %18 store i32 0, ptr %8, align 4 br label %78 78: ; preds = %90, %77 %79 = load i32, ptr %8, align 4 %80 = load i32, ptr %5, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %82, label %95 82: ; preds = %78 %83 = load i32, ptr %7, align 4 %84 = load i32, ptr %6, align 4 %85 = mul nsw i32 %83, %84 %86 = load ptr, ptr %11, align 8 %87 = load i8, ptr %86, align 1 %88 = sext i8 %87 to i32 %89 = add nsw i32 %85, %88 store i32 %89, ptr %7, align 4 br label %90 90: ; preds = %82 %91 = load ptr, ptr %11, align 8 %92 = getelementptr inbounds i8, ptr %91, i32 1 store ptr %92, ptr %11, align 8 %93 = load i32, ptr %8, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %8, align 4 br label %78, !llvm.loop !9 95: ; preds = %78 br label %96 96: ; preds = %95, %76 %97 = load i32, ptr %7, align 4 store i32 %97, ptr %3, align 4 br label %99 98: ; preds = %15, %2 store i32 0, ptr %3, align 4 br label %99 99: ; preds = %98, %96 %100 = load i32, ptr %3, align 4 ret i32 %100 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpymug0p_4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @caf_shash_bkdr(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 131, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store ptr null, ptr %10, align 8 %12 = load ptr, ptr %4, align 8 store ptr %12, ptr %11, align 8 %13 = load ptr, ptr %11, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %104 15: ; preds = %2 %16 = load i32, ptr %5, align 4 %17 = icmp sgt i32 %16, 0 br i1 %17, label %18, label %104 18: ; preds = %15 %19 = load i32, ptr %5, align 4 %20 = sdiv i32 %19, 4 store i32 %20, ptr %9, align 4 %21 = load i32, ptr %9, align 4 %22 = icmp sgt i32 %21, 0 br i1 %22, label %23, label %81 23: ; preds = %18 %24 = load ptr, ptr %11, align 8 store ptr %24, ptr %10, align 8 store i32 0, ptr %8, align 4 %25 = load i32, ptr %8, align 4 %26 = load i32, ptr %9, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %.lr.ph2, label %43 .lr.ph2: ; preds = %23 br label %28 28: ; preds = %.lr.ph2, %35 %29 = load i32, ptr %7, align 4 %30 = load i32, ptr %6, align 4 %31 = mul nsw i32 %29, %30 %32 = load ptr, ptr %10, align 8 %33 = load i32, ptr %32, align 4 %34 = add nsw i32 %31, %33 store i32 %34, ptr %7, align 4 br label %35 35: ; preds = %28 %36 = load ptr, ptr %10, align 8 %37 = getelementptr inbounds i32, ptr %36, i32 1 store ptr %37, ptr %10, align 8 %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 = load i32, ptr %9, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %28, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %35 br label %43 43: ; preds = %._crit_edge3, %23 %44 = load i32, ptr %5, align 4 %45 = srem i32 %44, 4 %46 = icmp sgt i32 %45, 0 br i1 %46, label %47, label %80 47: ; preds = %43 %48 = load i32, ptr %9, align 4 %49 = mul nsw i32 %48, 4 store i32 %49, ptr %9, align 4 %50 = load i32, ptr %9, align 4 %51 = sext i32 %50 to i64 %52 = load ptr, ptr %11, align 8 %53 = ptrtoint ptr %52 to i64 %54 = add i64 %51, %53 %55 = inttoptr i64 %54 to ptr store ptr %55, ptr %11, align 8 %56 = load i32, ptr %5, align 4 %57 = load i32, ptr %5, align 4 %58 = srem i32 %57, 4 %59 = sub nsw i32 %56, %58 store i32 %59, ptr %8, align 4 %60 = load i32, ptr %8, align 4 %61 = load i32, ptr %5, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %.lr.ph5, label %79 .lr.ph5: ; preds = %47 br label %63 63: ; preds = %.lr.ph5, %71 %64 = load i32, ptr %7, align 4 %65 = load i32, ptr %6, align 4 %66 = mul nsw i32 %64, %65 %67 = load ptr, ptr %11, align 8 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = add nsw i32 %66, %69 store i32 %70, ptr %7, align 4 br label %71 71: ; preds = %63 %72 = load ptr, ptr %11, align 8 %73 = getelementptr inbounds i8, ptr %72, i32 1 store ptr %73, ptr %11, align 8 %74 = load i32, ptr %8, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %8, align 4 %76 = load i32, ptr %8, align 4 %77 = load i32, ptr %5, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %63, label %._crit_edge6, !llvm.loop !8 ._crit_edge6: ; preds = %71 br label %79 79: ; preds = %._crit_edge6, %47 br label %80 80: ; preds = %79, %43 br label %102 81: ; preds = %18 store i32 0, ptr %8, align 4 %82 = load i32, ptr %8, align 4 %83 = load i32, ptr %5, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %.lr.ph, label %101 .lr.ph: ; preds = %81 br label %85 85: ; preds = %.lr.ph, %93 %86 = load i32, ptr %7, align 4 %87 = load i32, ptr %6, align 4 %88 = mul nsw i32 %86, %87 %89 = load ptr, ptr %11, align 8 %90 = load i8, ptr %89, align 1 %91 = sext i8 %90 to i32 %92 = add nsw i32 %88, %91 store i32 %92, ptr %7, align 4 br label %93 93: ; preds = %85 %94 = load ptr, ptr %11, align 8 %95 = getelementptr inbounds i8, ptr %94, i32 1 store ptr %95, ptr %11, align 8 %96 = load i32, ptr %8, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %8, align 4 %98 = load i32, ptr %8, align 4 %99 = load i32, ptr %5, align 4 %100 = icmp slt i32 %98, %99 br i1 %100, label %85, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %93 br label %101 101: ; preds = %._crit_edge, %81 br label %102 102: ; preds = %101, %80 %103 = load i32, ptr %7, align 4 store i32 %103, ptr %3, align 4 br label %105 104: ; preds = %15, %2 store i32 0, ptr %3, align 4 br label %105 105: ; preds = %104, %102 %106 = load i32, ptr %3, align 4 ret i32 %106 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpgu_z3o2p.c' source_filename = "/tmp/tmpgu_z3o2p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCK_MONOTONIC = 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/tmpgu_z3o2p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCK_MONOTONIC = 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/tmpa1j_aq2s.c' source_filename = "/tmp/tmpa1j_aq2s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @cache_version(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 @snprintf(ptr noundef %5, i32 noundef %6, ptr noundef @.str) %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %4, align 4 %10 = sub i32 %9, 1 %11 = zext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %8, i64 %11 store i8 0, ptr %12, align 1 %13 = load ptr, ptr %3, align 8 ret ptr %13 } declare i32 @snprintf(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/tmpa1j_aq2s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @cache_version(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 @snprintf(ptr noundef %5, i32 noundef %6, ptr noundef @.str) %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %4, align 4 %10 = sub i32 %9, 1 %11 = zext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %8, i64 %11 store i8 0, ptr %12, align 1 %13 = load ptr, ptr %3, align 8 ret ptr %13 } declare i32 @snprintf(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/tmpkndl8ga0.c' source_filename = "/tmp/tmpkndl8ga0.c" target datalayout = "e-m:e-p270: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/tmpkndl8ga0.c" target datalayout = "e-m:e-p270: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/tmp2zz9ad2e.c' source_filename = "/tmp/tmp2zz9ad2e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a = \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"b = \00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"gcd(%d, %d) = %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 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp sgt i32 %10, %11 br i1 %12, label %13, label %17 13: ; preds = %0 %14 = load i32, ptr %2, align 4 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %3, align 4 store i32 %15, ptr %2, align 4 %16 = load i32, ptr %4, align 4 store i32 %16, ptr %3, align 4 br label %17 17: ; preds = %13, %0 %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %3, align 4 %20 = call i32 @gcd(i32 noundef %18, i32 noundef %19) store i32 %20, ptr %5, align 4 %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %3, align 4 %23 = load i32, ptr %5, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %21, i32 noundef %22, i32 noundef %23) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @gcd(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/tmp2zz9ad2e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a = \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"b = \00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"gcd(%d, %d) = %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 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp sgt i32 %10, %11 br i1 %12, label %13, label %17 13: ; preds = %0 %14 = load i32, ptr %2, align 4 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %3, align 4 store i32 %15, ptr %2, align 4 %16 = load i32, ptr %4, align 4 store i32 %16, ptr %3, align 4 br label %17 17: ; preds = %13, %0 %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %3, align 4 %20 = call i32 @gcd(i32 noundef %18, i32 noundef %19) store i32 %20, ptr %5, align 4 %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %3, align 4 %23 = load i32, ptr %5, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %21, i32 noundef %22, i32 noundef %23) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @gcd(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/tmppym7lwvs.c' source_filename = "/tmp/tmppym7lwvs.c" target datalayout = "e-m:e-p270: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/tmppym7lwvs.c" target datalayout = "e-m:e-p270: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/tmprdav6f3k.c' source_filename = "/tmp/tmprdav6f3k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @bidir(ptr noundef %0, ptr noundef %1, i32 noundef %2, double noundef %3, ptr noundef %4, double noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca ptr, align 8 %12 = alloca double, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca double, align 8 %16 = alloca i32, align 4 %17 = alloca double, align 8 %18 = alloca double, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store double %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store double %5, ptr %12, align 8 %19 = load ptr, ptr %7, align 8 %20 = getelementptr inbounds double, ptr %19, i64 1 %21 = load double, ptr %20, align 8 %22 = load double, ptr %10, align 8 %23 = fsub double %21, %22 %24 = fneg double %23 %25 = load ptr, ptr %8, align 8 %26 = getelementptr inbounds double, ptr %25, i64 2 %27 = load double, ptr %26, align 8 %28 = fdiv double %24, %27 %29 = load ptr, ptr %11, align 8 %30 = getelementptr inbounds double, ptr %29, i64 2 store double %28, ptr %30, align 8 store i32 3, ptr %13, align 4 store i32 1, ptr %16, align 4 br label %31 31: ; preds = %132, %6 %32 = load i32, ptr %13, align 4 %33 = load i32, ptr %9, align 4 %34 = icmp sle i32 %32, %33 br i1 %34, label %35, label %38 35: ; preds = %31 %36 = load i32, ptr %16, align 4 %37 = icmp ne i32 %36, 0 br label %38 38: ; preds = %35, %31 %39 = phi i1 [ false, %31 ], [ %37, %35 ] br i1 %39, label %40, label %135 40: ; preds = %38 %41 = load ptr, ptr %7, align 8 %42 = load i32, ptr %13, align 4 %43 = sub nsw i32 %42, 1 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds double, ptr %41, i64 %44 %46 = load double, ptr %45, align 8 %47 = load double, ptr %10, align 8 %48 = fsub double %46, %47 %49 = load ptr, ptr %11, align 8 %50 = load i32, ptr %13, align 4 %51 = sub nsw i32 %50, 1 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds double, ptr %49, i64 %52 %54 = load double, ptr %53, align 8 %55 = load ptr, ptr %8, align 8 %56 = load i32, ptr %13, align 4 %57 = sub nsw i32 %56, 1 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds double, ptr %55, i64 %58 %60 = load double, ptr %59, align 8 %61 = load ptr, ptr %11, align 8 %62 = load i32, ptr %13, align 4 %63 = sub nsw i32 %62, 2 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds double, ptr %61, i64 %64 %66 = load double, ptr %65, align 8 %67 = fmul double %60, %66 %68 = call double @llvm.fmuladd.f64(double %48, double %54, double %67) %69 = fneg double %68 %70 = load ptr, ptr %8, align 8 %71 = load i32, ptr %13, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds double, ptr %70, i64 %72 %74 = load double, ptr %73, align 8 %75 = fdiv double %69, %74 %76 = load ptr, ptr %11, align 8 %77 = load i32, ptr %13, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds double, ptr %76, i64 %78 store double %75, ptr %79, align 8 %80 = load ptr, ptr %11, align 8 %81 = load i32, ptr %13, align 4 %82 = sub nsw i32 %81, 1 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds double, ptr %80, i64 %83 %85 = load double, ptr %84, align 8 %86 = call double @llvm.fabs.f64(double %85) %87 = load double, ptr %12, align 8 %88 = fcmp ogt double %86, %87 br i1 %88, label %89, label %132 89: ; preds = %40 %90 = load i32, ptr %13, align 4 %91 = icmp sgt i32 %90, 2 br i1 %91, label %92, label %132 92: ; preds = %89 %93 = load ptr, ptr %11, align 8 %94 = load i32, ptr %13, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds double, ptr %93, i64 %95 %97 = load double, ptr %96, align 8 %98 = call double @llvm.fabs.f64(double %97) %99 = load ptr, ptr %11, align 8 %100 = load i32, ptr %13, align 4 %101 = sub nsw i32 %100, 1 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds double, ptr %99, i64 %102 %104 = load double, ptr %103, align 8 %105 = call double @llvm.fabs.f64(double %104) %106 = fcmp olt double %98, %105 br i1 %106, label %107, label %131 107: ; preds = %92 %108 = load ptr, ptr %11, align 8 %109 = load i32, ptr %13, align 4 %110 = sub nsw i32 %109, 1 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds double, ptr %108, i64 %111 %113 = load double, ptr %112, align 8 %114 = call double @llvm.fabs.f64(double %113) %115 = load ptr, ptr %11, align 8 %116 = load i32, ptr %13, align 4 %117 = sub nsw i32 %116, 2 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds double, ptr %115, i64 %118 %120 = load double, ptr %119, align 8 %121 = call double @llvm.fabs.f64(double %120) %122 = fcmp ogt double %114, %121 br i1 %122, label %123, label %131 123: ; preds = %107 store i32 0, ptr %16, align 4 %124 = load i32, ptr %13, align 4 %125 = sub nsw i32 %124, 1 store i32 %125, ptr %14, align 4 %126 = load ptr, ptr %11, align 8 %127 = load i32, ptr %14, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds double, ptr %126, i64 %128 %130 = load double, ptr %129, align 8 store double %130, ptr %15, align 8 br label %131 131: ; preds = %123, %107, %92 br label %132 132: ; preds = %131, %89, %40 %133 = load i32, ptr %13, align 4 %134 = add nsw i32 %133, 1 store i32 %134, ptr %13, align 4 br label %31, !llvm.loop !6 135: ; preds = %38 %136 = load i32, ptr %16, align 4 %137 = icmp ne i32 %136, 0 br i1 %137, label %278, label %138 138: ; preds = %135 %139 = load ptr, ptr %11, align 8 %140 = load i32, ptr %9, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds double, ptr %139, i64 %141 store double 1.000000e+00, ptr %142, align 8 %143 = load ptr, ptr %7, align 8 %144 = load i32, ptr %9, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds double, ptr %143, i64 %145 %147 = load double, ptr %146, align 8 %148 = load double, ptr %10, align 8 %149 = fsub double %147, %148 %150 = fneg double %149 %151 = load ptr, ptr %8, align 8 %152 = load i32, ptr %9, align 4 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds double, ptr %151, i64 %153 %155 = load double, ptr %154, align 8 %156 = fdiv double %150, %155 %157 = load ptr, ptr %11, align 8 %158 = load i32, ptr %9, align 4 %159 = sub nsw i32 %158, 1 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds double, ptr %157, i64 %160 store double %156, ptr %161, align 8 %162 = load i32, ptr %9, align 4 store i32 %162, ptr %13, align 4 br label %163 163: ; preds = %208, %138 %164 = load i32, ptr %13, align 4 %165 = load i32, ptr %14, align 4 %166 = add nsw i32 %165, 2 %167 = icmp sge i32 %164, %166 br i1 %167, label %168, label %211 168: ; preds = %163 %169 = load ptr, ptr %7, align 8 %170 = load i32, ptr %13, align 4 %171 = sub nsw i32 %170, 1 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds double, ptr %169, i64 %172 %174 = load double, ptr %173, align 8 %175 = load double, ptr %10, align 8 %176 = fsub double %174, %175 %177 = load ptr, ptr %11, align 8 %178 = load i32, ptr %13, align 4 %179 = sub nsw i32 %178, 1 %180 = sext i32 %179 to i64 %181 = getelementptr inbounds double, ptr %177, i64 %180 %182 = load double, ptr %181, align 8 %183 = load ptr, ptr %8, align 8 %184 = load i32, ptr %13, align 4 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds double, ptr %183, i64 %185 %187 = load double, ptr %186, align 8 %188 = load ptr, ptr %11, align 8 %189 = load i32, ptr %13, align 4 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds double, ptr %188, i64 %190 %192 = load double, ptr %191, align 8 %193 = fmul double %187, %192 %194 = call double @llvm.fmuladd.f64(double %176, double %182, double %193) %195 = fneg double %194 %196 = load ptr, ptr %8, align 8 %197 = load i32, ptr %13, align 4 %198 = sub nsw i32 %197, 1 %199 = sext i32 %198 to i64 %200 = getelementptr inbounds double, ptr %196, i64 %199 %201 = load double, ptr %200, align 8 %202 = fdiv double %195, %201 %203 = load ptr, ptr %11, align 8 %204 = load i32, ptr %13, align 4 %205 = sub nsw i32 %204, 2 %206 = sext i32 %205 to i64 %207 = getelementptr inbounds double, ptr %203, i64 %206 store double %202, ptr %207, align 8 br label %208 208: ; preds = %168 %209 = load i32, ptr %13, align 4 %210 = add nsw i32 %209, -1 store i32 %210, ptr %13, align 4 br label %163, !llvm.loop !8 211: ; preds = %163 %212 = load ptr, ptr %11, align 8 %213 = load i32, ptr %14, align 4 %214 = sext i32 %213 to i64 %215 = getelementptr inbounds double, ptr %212, i64 %214 %216 = load double, ptr %215, align 8 %217 = load double, ptr %15, align 8 %218 = fdiv double %216, %217 store double %218, ptr %17, align 8 store i32 1, ptr %13, align 4 br label %219 219: ; preds = %236, %211 %220 = load i32, ptr %13, align 4 %221 = load i32, ptr %14, align 4 %222 = sub nsw i32 %221, 1 %223 = icmp sle i32 %220, %222 br i1 %223, label %224, label %239 224: ; preds = %219 %225 = load ptr, ptr %11, align 8 %226 = load i32, ptr %13, align 4 %227 = sext i32 %226 to i64 %228 = getelementptr inbounds double, ptr %225, i64 %227 %229 = load double, ptr %228, align 8 %230 = load double, ptr %17, align 8 %231 = fmul double %229, %230 %232 = load ptr, ptr %11, align 8 %233 = load i32, ptr %13, align 4 %234 = sext i32 %233 to i64 %235 = getelementptr inbounds double, ptr %232, i64 %234 store double %231, ptr %235, align 8 br label %236 236: ; preds = %224 %237 = load i32, ptr %13, align 4 %238 = add nsw i32 %237, 1 store i32 %238, ptr %13, align 4 br label %219, !llvm.loop !9 239: ; preds = %219 %240 = load ptr, ptr %8, align 8 %241 = load i32, ptr %14, align 4 %242 = sext i32 %241 to i64 %243 = getelementptr inbounds double, ptr %240, i64 %242 %244 = load double, ptr %243, align 8 %245 = load ptr, ptr %11, align 8 %246 = load i32, ptr %14, align 4 %247 = sub nsw i32 %246, 1 %248 = sext i32 %247 to i64 %249 = getelementptr inbounds double, ptr %245, i64 %248 %250 = load double, ptr %249, align 8 %251 = load ptr, ptr %7, align 8 %252 = load i32, ptr %14, align 4 %253 = sext i32 %252 to i64 %254 = getelementptr inbounds double, ptr %251, i64 %253 %255 = load double, ptr %254, align 8 %256 = load double, ptr %10, align 8 %257 = fsub double %255, %256 %258 = load ptr, ptr %11, align 8 %259 = load i32, ptr %14, align 4 %260 = sext i32 %259 to i64 %261 = getelementptr inbounds double, ptr %258, i64 %260 %262 = load double, ptr %261, align 8 %263 = fmul double %257, %262 %264 = call double @llvm.fmuladd.f64(double %244, double %250, double %263) %265 = load ptr, ptr %8, align 8 %266 = load i32, ptr %14, align 4 %267 = add nsw i32 %266, 1 %268 = sext i32 %267 to i64 %269 = getelementptr inbounds double, ptr %265, i64 %268 %270 = load double, ptr %269, align 8 %271 = load ptr, ptr %11, align 8 %272 = load i32, ptr %14, align 4 %273 = add nsw i32 %272, 1 %274 = sext i32 %273 to i64 %275 = getelementptr inbounds double, ptr %271, i64 %274 %276 = load double, ptr %275, align 8 %277 = call double @llvm.fmuladd.f64(double %270, double %276, double %264) store double %277, ptr %18, align 8 br label %304 278: ; preds = %135 %279 = load ptr, ptr %7, align 8 %280 = load i32, ptr %9, align 4 %281 = sext i32 %280 to i64 %282 = getelementptr inbounds double, ptr %279, i64 %281 %283 = load double, ptr %282, align 8 %284 = load double, ptr %10, align 8 %285 = fsub double %283, %284 %286 = load ptr, ptr %11, align 8 %287 = load i32, ptr %9, align 4 %288 = sext i32 %287 to i64 %289 = getelementptr inbounds double, ptr %286, i64 %288 %290 = load double, ptr %289, align 8 %291 = load ptr, ptr %8, align 8 %292 = load i32, ptr %9, align 4 %293 = sext i32 %292 to i64 %294 = getelementptr inbounds double, ptr %291, i64 %293 %295 = load double, ptr %294, align 8 %296 = load ptr, ptr %11, align 8 %297 = load i32, ptr %9, align 4 %298 = sub nsw i32 %297, 1 %299 = sext i32 %298 to i64 %300 = getelementptr inbounds double, ptr %296, i64 %299 %301 = load double, ptr %300, align 8 %302 = fmul double %295, %301 %303 = call double @llvm.fmuladd.f64(double %285, double %290, double %302) store double %303, ptr %18, align 8 br label %304 304: ; preds = %278, %239 %305 = load double, ptr %18, align 8 %306 = call double @llvm.fabs.f64(double %305) %307 = load ptr, ptr %11, align 8 %308 = load i32, ptr %9, align 4 %309 = load i32, ptr %9, align 4 %310 = call double (ptr, i32, i32, i32, ...) @sign_normalize(ptr noundef %307, i32 noundef 1, i32 noundef %308, i32 noundef %309) %311 = fdiv double %306, %310 store double %311, ptr %18, align 8 %312 = load double, ptr %18, align 8 ret double %312 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 declare double @sign_normalize(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprdav6f3k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @bidir(ptr noundef %0, ptr noundef %1, i32 noundef %2, double noundef %3, ptr noundef %4, double noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca ptr, align 8 %12 = alloca double, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca double, align 8 %16 = alloca i32, align 4 %17 = alloca double, align 8 %18 = alloca double, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store double %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store double %5, ptr %12, align 8 %19 = load ptr, ptr %7, align 8 %20 = getelementptr inbounds double, ptr %19, i64 1 %21 = load double, ptr %20, align 8 %22 = load double, ptr %10, align 8 %23 = fsub double %21, %22 %24 = fneg double %23 %25 = load ptr, ptr %8, align 8 %26 = getelementptr inbounds double, ptr %25, i64 2 %27 = load double, ptr %26, align 8 %28 = fdiv double %24, %27 %29 = load ptr, ptr %11, align 8 %30 = getelementptr inbounds double, ptr %29, i64 2 store double %28, ptr %30, align 8 store i32 3, ptr %13, align 4 store i32 1, ptr %16, align 4 br label %31 31: ; preds = %132, %6 %32 = load i32, ptr %13, align 4 %33 = load i32, ptr %9, align 4 %34 = icmp sle i32 %32, %33 br i1 %34, label %35, label %38 35: ; preds = %31 %36 = load i32, ptr %16, align 4 %37 = icmp ne i32 %36, 0 br label %38 38: ; preds = %35, %31 %39 = phi i1 [ false, %31 ], [ %37, %35 ] br i1 %39, label %40, label %135 40: ; preds = %38 %41 = load ptr, ptr %7, align 8 %42 = load i32, ptr %13, align 4 %43 = sub nsw i32 %42, 1 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds double, ptr %41, i64 %44 %46 = load double, ptr %45, align 8 %47 = load double, ptr %10, align 8 %48 = fsub double %46, %47 %49 = load ptr, ptr %11, align 8 %50 = load i32, ptr %13, align 4 %51 = sub nsw i32 %50, 1 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds double, ptr %49, i64 %52 %54 = load double, ptr %53, align 8 %55 = load ptr, ptr %8, align 8 %56 = load i32, ptr %13, align 4 %57 = sub nsw i32 %56, 1 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds double, ptr %55, i64 %58 %60 = load double, ptr %59, align 8 %61 = load ptr, ptr %11, align 8 %62 = load i32, ptr %13, align 4 %63 = sub nsw i32 %62, 2 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds double, ptr %61, i64 %64 %66 = load double, ptr %65, align 8 %67 = fmul double %60, %66 %68 = call double @llvm.fmuladd.f64(double %48, double %54, double %67) %69 = fneg double %68 %70 = load ptr, ptr %8, align 8 %71 = load i32, ptr %13, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds double, ptr %70, i64 %72 %74 = load double, ptr %73, align 8 %75 = fdiv double %69, %74 %76 = load ptr, ptr %11, align 8 %77 = load i32, ptr %13, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds double, ptr %76, i64 %78 store double %75, ptr %79, align 8 %80 = load ptr, ptr %11, align 8 %81 = load i32, ptr %13, align 4 %82 = sub nsw i32 %81, 1 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds double, ptr %80, i64 %83 %85 = load double, ptr %84, align 8 %86 = call double @llvm.fabs.f64(double %85) %87 = load double, ptr %12, align 8 %88 = fcmp ogt double %86, %87 br i1 %88, label %89, label %132 89: ; preds = %40 %90 = load i32, ptr %13, align 4 %91 = icmp sgt i32 %90, 2 br i1 %91, label %92, label %132 92: ; preds = %89 %93 = load ptr, ptr %11, align 8 %94 = load i32, ptr %13, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds double, ptr %93, i64 %95 %97 = load double, ptr %96, align 8 %98 = call double @llvm.fabs.f64(double %97) %99 = load ptr, ptr %11, align 8 %100 = load i32, ptr %13, align 4 %101 = sub nsw i32 %100, 1 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds double, ptr %99, i64 %102 %104 = load double, ptr %103, align 8 %105 = call double @llvm.fabs.f64(double %104) %106 = fcmp olt double %98, %105 br i1 %106, label %107, label %131 107: ; preds = %92 %108 = load ptr, ptr %11, align 8 %109 = load i32, ptr %13, align 4 %110 = sub nsw i32 %109, 1 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds double, ptr %108, i64 %111 %113 = load double, ptr %112, align 8 %114 = call double @llvm.fabs.f64(double %113) %115 = load ptr, ptr %11, align 8 %116 = load i32, ptr %13, align 4 %117 = sub nsw i32 %116, 2 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds double, ptr %115, i64 %118 %120 = load double, ptr %119, align 8 %121 = call double @llvm.fabs.f64(double %120) %122 = fcmp ogt double %114, %121 br i1 %122, label %123, label %131 123: ; preds = %107 store i32 0, ptr %16, align 4 %124 = load i32, ptr %13, align 4 %125 = sub nsw i32 %124, 1 store i32 %125, ptr %14, align 4 %126 = load ptr, ptr %11, align 8 %127 = load i32, ptr %14, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds double, ptr %126, i64 %128 %130 = load double, ptr %129, align 8 store double %130, ptr %15, align 8 br label %131 131: ; preds = %123, %107, %92 br label %132 132: ; preds = %131, %89, %40 %133 = load i32, ptr %13, align 4 %134 = add nsw i32 %133, 1 store i32 %134, ptr %13, align 4 br label %31, !llvm.loop !6 135: ; preds = %38 %136 = load i32, ptr %16, align 4 %137 = icmp ne i32 %136, 0 br i1 %137, label %284, label %138 138: ; preds = %135 %139 = load ptr, ptr %11, align 8 %140 = load i32, ptr %9, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds double, ptr %139, i64 %141 store double 1.000000e+00, ptr %142, align 8 %143 = load ptr, ptr %7, align 8 %144 = load i32, ptr %9, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds double, ptr %143, i64 %145 %147 = load double, ptr %146, align 8 %148 = load double, ptr %10, align 8 %149 = fsub double %147, %148 %150 = fneg double %149 %151 = load ptr, ptr %8, align 8 %152 = load i32, ptr %9, align 4 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds double, ptr %151, i64 %153 %155 = load double, ptr %154, align 8 %156 = fdiv double %150, %155 %157 = load ptr, ptr %11, align 8 %158 = load i32, ptr %9, align 4 %159 = sub nsw i32 %158, 1 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds double, ptr %157, i64 %160 store double %156, ptr %161, align 8 %162 = load i32, ptr %9, align 4 store i32 %162, ptr %13, align 4 %163 = load i32, ptr %13, align 4 %164 = load i32, ptr %14, align 4 %165 = add nsw i32 %164, 2 %166 = icmp sge i32 %163, %165 br i1 %166, label %.lr.ph, label %214 .lr.ph: ; preds = %138 br label %167 167: ; preds = %.lr.ph, %207 %168 = load ptr, ptr %7, align 8 %169 = load i32, ptr %13, align 4 %170 = sub nsw i32 %169, 1 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds double, ptr %168, i64 %171 %173 = load double, ptr %172, align 8 %174 = load double, ptr %10, align 8 %175 = fsub double %173, %174 %176 = load ptr, ptr %11, align 8 %177 = load i32, ptr %13, align 4 %178 = sub nsw i32 %177, 1 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds double, ptr %176, i64 %179 %181 = load double, ptr %180, align 8 %182 = load ptr, ptr %8, align 8 %183 = load i32, ptr %13, align 4 %184 = sext i32 %183 to i64 %185 = getelementptr inbounds double, ptr %182, i64 %184 %186 = load double, ptr %185, align 8 %187 = load ptr, ptr %11, align 8 %188 = load i32, ptr %13, align 4 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds double, ptr %187, i64 %189 %191 = load double, ptr %190, align 8 %192 = fmul double %186, %191 %193 = call double @llvm.fmuladd.f64(double %175, double %181, double %192) %194 = fneg double %193 %195 = load ptr, ptr %8, align 8 %196 = load i32, ptr %13, align 4 %197 = sub nsw i32 %196, 1 %198 = sext i32 %197 to i64 %199 = getelementptr inbounds double, ptr %195, i64 %198 %200 = load double, ptr %199, align 8 %201 = fdiv double %194, %200 %202 = load ptr, ptr %11, align 8 %203 = load i32, ptr %13, align 4 %204 = sub nsw i32 %203, 2 %205 = sext i32 %204 to i64 %206 = getelementptr inbounds double, ptr %202, i64 %205 store double %201, ptr %206, align 8 br label %207 207: ; preds = %167 %208 = load i32, ptr %13, align 4 %209 = add nsw i32 %208, -1 store i32 %209, ptr %13, align 4 %210 = load i32, ptr %13, align 4 %211 = load i32, ptr %14, align 4 %212 = add nsw i32 %211, 2 %213 = icmp sge i32 %210, %212 br i1 %213, label %167, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %207 br label %214 214: ; preds = %._crit_edge, %138 %215 = load ptr, ptr %11, align 8 %216 = load i32, ptr %14, align 4 %217 = sext i32 %216 to i64 %218 = getelementptr inbounds double, ptr %215, i64 %217 %219 = load double, ptr %218, align 8 %220 = load double, ptr %15, align 8 %221 = fdiv double %219, %220 store double %221, ptr %17, align 8 store i32 1, ptr %13, align 4 %222 = load i32, ptr %13, align 4 %223 = load i32, ptr %14, align 4 %224 = sub nsw i32 %223, 1 %225 = icmp sle i32 %222, %224 br i1 %225, label %.lr.ph2, label %245 .lr.ph2: ; preds = %214 br label %226 226: ; preds = %.lr.ph2, %238 %227 = load ptr, ptr %11, align 8 %228 = load i32, ptr %13, align 4 %229 = sext i32 %228 to i64 %230 = getelementptr inbounds double, ptr %227, i64 %229 %231 = load double, ptr %230, align 8 %232 = load double, ptr %17, align 8 %233 = fmul double %231, %232 %234 = load ptr, ptr %11, align 8 %235 = load i32, ptr %13, align 4 %236 = sext i32 %235 to i64 %237 = getelementptr inbounds double, ptr %234, i64 %236 store double %233, ptr %237, align 8 br label %238 238: ; preds = %226 %239 = load i32, ptr %13, align 4 %240 = add nsw i32 %239, 1 store i32 %240, ptr %13, align 4 %241 = load i32, ptr %13, align 4 %242 = load i32, ptr %14, align 4 %243 = sub nsw i32 %242, 1 %244 = icmp sle i32 %241, %243 br i1 %244, label %226, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %238 br label %245 245: ; preds = %._crit_edge3, %214 %246 = load ptr, ptr %8, align 8 %247 = load i32, ptr %14, align 4 %248 = sext i32 %247 to i64 %249 = getelementptr inbounds double, ptr %246, i64 %248 %250 = load double, ptr %249, align 8 %251 = load ptr, ptr %11, align 8 %252 = load i32, ptr %14, align 4 %253 = sub nsw i32 %252, 1 %254 = sext i32 %253 to i64 %255 = getelementptr inbounds double, ptr %251, i64 %254 %256 = load double, ptr %255, align 8 %257 = load ptr, ptr %7, align 8 %258 = load i32, ptr %14, align 4 %259 = sext i32 %258 to i64 %260 = getelementptr inbounds double, ptr %257, i64 %259 %261 = load double, ptr %260, align 8 %262 = load double, ptr %10, align 8 %263 = fsub double %261, %262 %264 = load ptr, ptr %11, align 8 %265 = load i32, ptr %14, align 4 %266 = sext i32 %265 to i64 %267 = getelementptr inbounds double, ptr %264, i64 %266 %268 = load double, ptr %267, align 8 %269 = fmul double %263, %268 %270 = call double @llvm.fmuladd.f64(double %250, double %256, double %269) %271 = load ptr, ptr %8, align 8 %272 = load i32, ptr %14, align 4 %273 = add nsw i32 %272, 1 %274 = sext i32 %273 to i64 %275 = getelementptr inbounds double, ptr %271, i64 %274 %276 = load double, ptr %275, align 8 %277 = load ptr, ptr %11, align 8 %278 = load i32, ptr %14, align 4 %279 = add nsw i32 %278, 1 %280 = sext i32 %279 to i64 %281 = getelementptr inbounds double, ptr %277, i64 %280 %282 = load double, ptr %281, align 8 %283 = call double @llvm.fmuladd.f64(double %276, double %282, double %270) store double %283, ptr %18, align 8 br label %310 284: ; preds = %135 %285 = load ptr, ptr %7, align 8 %286 = load i32, ptr %9, align 4 %287 = sext i32 %286 to i64 %288 = getelementptr inbounds double, ptr %285, i64 %287 %289 = load double, ptr %288, align 8 %290 = load double, ptr %10, align 8 %291 = fsub double %289, %290 %292 = load ptr, ptr %11, align 8 %293 = load i32, ptr %9, align 4 %294 = sext i32 %293 to i64 %295 = getelementptr inbounds double, ptr %292, i64 %294 %296 = load double, ptr %295, align 8 %297 = load ptr, ptr %8, align 8 %298 = load i32, ptr %9, align 4 %299 = sext i32 %298 to i64 %300 = getelementptr inbounds double, ptr %297, i64 %299 %301 = load double, ptr %300, align 8 %302 = load ptr, ptr %11, align 8 %303 = load i32, ptr %9, align 4 %304 = sub nsw i32 %303, 1 %305 = sext i32 %304 to i64 %306 = getelementptr inbounds double, ptr %302, i64 %305 %307 = load double, ptr %306, align 8 %308 = fmul double %301, %307 %309 = call double @llvm.fmuladd.f64(double %291, double %296, double %308) store double %309, ptr %18, align 8 br label %310 310: ; preds = %284, %245 %311 = load double, ptr %18, align 8 %312 = call double @llvm.fabs.f64(double %311) %313 = load ptr, ptr %11, align 8 %314 = load i32, ptr %9, align 4 %315 = load i32, ptr %9, align 4 %316 = call double (ptr, i32, i32, i32, ...) @sign_normalize(ptr noundef %313, i32 noundef 1, i32 noundef %314, i32 noundef %315) %317 = fdiv double %312, %316 store double %317, ptr %18, align 8 %318 = load double, ptr %18, align 8 ret double %318 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 declare double @sign_normalize(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmphx93ej76.c' source_filename = "/tmp/tmphx93ej76.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @decode_caldaysec(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 { %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 store i32 %0, ptr %10, align 4 store i32 %1, ptr %11, align 4 store i32 %2, ptr %12, align 4 store ptr %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store ptr %5, ptr %15, align 8 store ptr %6, ptr %16, align 8 store ptr %7, ptr %17, align 8 store ptr %8, ptr %18, align 8 %20 = load i32, ptr %10, align 4 %21 = call i32 @calendar_dpy(i32 noundef %20) store i32 %21, ptr %19, align 4 %22 = load i32, ptr %19, align 4 %23 = icmp eq i32 %22, 360 br i1 %23, label %30, label %24 24: ; preds = %9 %25 = load i32, ptr %19, align 4 %26 = icmp eq i32 %25, 365 br i1 %26, label %30, label %27 27: ; preds = %24 %28 = load i32, ptr %19, align 4 %29 = icmp eq i32 %28, 366 br i1 %29, label %30, label %37 30: ; preds = %27, %24, %9 %31 = load i32, ptr %19, align 4 %32 = load i32, ptr %11, align 4 %33 = load ptr, ptr %13, align 8 %34 = load ptr, ptr %14, align 8 %35 = load ptr, ptr %15, align 8 %36 = call i32 @decode_day(i32 noundef %31, i32 noundef %32, ptr noundef %33, ptr noundef %34, ptr noundef %35) br label %44 37: ; preds = %27 %38 = load i32, ptr %10, align 4 %39 = load i32, ptr %11, align 4 %40 = load ptr, ptr %13, align 8 %41 = load ptr, ptr %14, align 8 %42 = load ptr, ptr %15, align 8 %43 = call i32 @decode_julday(i32 noundef %38, i32 noundef %39, ptr noundef %40, ptr noundef %41, ptr noundef %42) br label %44 44: ; preds = %37, %30 %45 = load i32, ptr %12, align 4 %46 = sdiv i32 %45, 3600 %47 = load ptr, ptr %16, align 8 store i32 %46, ptr %47, align 4 %48 = load i32, ptr %12, align 4 %49 = sdiv i32 %48, 60 %50 = load ptr, ptr %16, align 8 %51 = load i32, ptr %50, align 4 %52 = mul nsw i32 %51, 60 %53 = sub nsw i32 %49, %52 %54 = load ptr, ptr %17, align 8 store i32 %53, ptr %54, align 4 %55 = load i32, ptr %12, align 4 %56 = load ptr, ptr %16, align 8 %57 = load i32, ptr %56, align 4 %58 = mul nsw i32 %57, 3600 %59 = sub nsw i32 %55, %58 %60 = load ptr, ptr %17, align 8 %61 = load i32, ptr %60, align 4 %62 = mul nsw i32 %61, 60 %63 = sub nsw i32 %59, %62 %64 = load ptr, ptr %18, align 8 store i32 %63, ptr %64, align 4 ret void } declare i32 @calendar_dpy(i32 noundef) #1 declare i32 @decode_day(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @decode_julday(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphx93ej76.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @decode_caldaysec(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 { %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 store i32 %0, ptr %10, align 4 store i32 %1, ptr %11, align 4 store i32 %2, ptr %12, align 4 store ptr %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store ptr %5, ptr %15, align 8 store ptr %6, ptr %16, align 8 store ptr %7, ptr %17, align 8 store ptr %8, ptr %18, align 8 %20 = load i32, ptr %10, align 4 %21 = call i32 @calendar_dpy(i32 noundef %20) store i32 %21, ptr %19, align 4 %22 = load i32, ptr %19, align 4 %23 = icmp eq i32 %22, 360 br i1 %23, label %30, label %24 24: ; preds = %9 %25 = load i32, ptr %19, align 4 %26 = icmp eq i32 %25, 365 br i1 %26, label %30, label %27 27: ; preds = %24 %28 = load i32, ptr %19, align 4 %29 = icmp eq i32 %28, 366 br i1 %29, label %30, label %37 30: ; preds = %27, %24, %9 %31 = load i32, ptr %19, align 4 %32 = load i32, ptr %11, align 4 %33 = load ptr, ptr %13, align 8 %34 = load ptr, ptr %14, align 8 %35 = load ptr, ptr %15, align 8 %36 = call i32 @decode_day(i32 noundef %31, i32 noundef %32, ptr noundef %33, ptr noundef %34, ptr noundef %35) br label %44 37: ; preds = %27 %38 = load i32, ptr %10, align 4 %39 = load i32, ptr %11, align 4 %40 = load ptr, ptr %13, align 8 %41 = load ptr, ptr %14, align 8 %42 = load ptr, ptr %15, align 8 %43 = call i32 @decode_julday(i32 noundef %38, i32 noundef %39, ptr noundef %40, ptr noundef %41, ptr noundef %42) br label %44 44: ; preds = %37, %30 %45 = load i32, ptr %12, align 4 %46 = sdiv i32 %45, 3600 %47 = load ptr, ptr %16, align 8 store i32 %46, ptr %47, align 4 %48 = load i32, ptr %12, align 4 %49 = sdiv i32 %48, 60 %50 = load ptr, ptr %16, align 8 %51 = load i32, ptr %50, align 4 %52 = mul nsw i32 %51, 60 %53 = sub nsw i32 %49, %52 %54 = load ptr, ptr %17, align 8 store i32 %53, ptr %54, align 4 %55 = load i32, ptr %12, align 4 %56 = load ptr, ptr %16, align 8 %57 = load i32, ptr %56, align 4 %58 = mul nsw i32 %57, 3600 %59 = sub nsw i32 %55, %58 %60 = load ptr, ptr %17, align 8 %61 = load i32, ptr %60, align 4 %62 = mul nsw i32 %61, 60 %63 = sub nsw i32 %59, %62 %64 = load ptr, ptr %18, align 8 store i32 %63, ptr %64, align 4 ret void } declare i32 @calendar_dpy(i32 noundef) #1 declare i32 @decode_day(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @decode_julday(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk6geuwfv.c' source_filename = "/tmp/tmpk6geuwfv.c" target datalayout = "e-m:e-p270: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/tmpk6geuwfv.c" target datalayout = "e-m:e-p270: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/tmp7ewwz9he.c' source_filename = "/tmp/tmp7ewwz9he.c" target datalayout = "e-m:e-p270: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/tmp7ewwz9he.c" target datalayout = "e-m:e-p270: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/tmp1msbb7dt.c' source_filename = "/tmp/tmp1msbb7dt.c" target datalayout = "e-m:e-p270: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/tmp1msbb7dt.c" target datalayout = "e-m:e-p270: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/tmpegrj2jna.c' source_filename = "/tmp/tmpegrj2jna.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 store i64 10, ptr %3, align 8 %5 = load i64, ptr %3, align 8 %6 = call ptr @malloc(i64 noundef %5) #3 store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i64, ptr %3, align 8 %9 = load i32, ptr %2, align 4 %10 = call ptr @reallocarray(ptr noundef %7, i64 noundef %8, i32 noundef %9) store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i32 @free(ptr noundef %11) ret void } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare ptr @reallocarray(ptr noundef, i64 noundef, i32 noundef) #2 declare i32 @free(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpegrj2jna.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 store i64 10, ptr %3, align 8 %5 = load i64, ptr %3, align 8 %6 = call ptr @malloc(i64 noundef %5) #3 store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i64, ptr %3, align 8 %9 = load i32, ptr %2, align 4 %10 = call ptr @reallocarray(ptr noundef %7, i64 noundef %8, i32 noundef %9) store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i32 @free(ptr noundef %11) ret void } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare ptr @reallocarray(ptr noundef, i64 noundef, i32 noundef) #2 declare i32 @free(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyf_7tt4c.c' source_filename = "/tmp/tmpyf_7tt4c.c" target datalayout = "e-m:e-p270: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/tmpyf_7tt4c.c" target datalayout = "e-m:e-p270: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/tmphpqmct84.c' source_filename = "/tmp/tmphpqmct84.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @X509_FILETYPE_DEFAULT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ptls_openssl_create_default_certificate_store() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = call ptr (...) @X509_STORE_new() store ptr %4, ptr %2, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %7 6: ; preds = %0 br label %27 7: ; preds = %0 %8 = load ptr, ptr %2, align 8 %9 = call i32 (...) @X509_LOOKUP_file() %10 = call ptr @X509_STORE_add_lookup(ptr noundef %8, i32 noundef %9) store ptr %10, ptr %3, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %13 12: ; preds = %7 br label %27 13: ; preds = %7 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr @X509_FILETYPE_DEFAULT, align 4 %16 = call i32 @X509_LOOKUP_load_file(ptr noundef %14, ptr noundef null, i32 noundef %15) %17 = load ptr, ptr %2, align 8 %18 = call i32 (...) @X509_LOOKUP_hash_dir() %19 = call ptr @X509_STORE_add_lookup(ptr noundef %17, i32 noundef %18) store ptr %19, ptr %3, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %22 21: ; preds = %13 br label %27 22: ; preds = %13 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr @X509_FILETYPE_DEFAULT, align 4 %25 = call i32 @X509_LOOKUP_add_dir(ptr noundef %23, ptr noundef null, i32 noundef %24) %26 = load ptr, ptr %2, align 8 store ptr %26, ptr %1, align 8 br label %34 27: ; preds = %21, %12, %6 %28 = load ptr, ptr %2, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %33 30: ; preds = %27 %31 = load ptr, ptr %2, align 8 %32 = call i32 @X509_STORE_free(ptr noundef %31) br label %33 33: ; preds = %30, %27 store ptr null, ptr %1, align 8 br label %34 34: ; preds = %33, %22 %35 = load ptr, ptr %1, align 8 ret ptr %35 } declare ptr @X509_STORE_new(...) #1 declare ptr @X509_STORE_add_lookup(ptr noundef, i32 noundef) #1 declare i32 @X509_LOOKUP_file(...) #1 declare i32 @X509_LOOKUP_load_file(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @X509_LOOKUP_hash_dir(...) #1 declare i32 @X509_LOOKUP_add_dir(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @X509_STORE_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/tmphpqmct84.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @X509_FILETYPE_DEFAULT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ptls_openssl_create_default_certificate_store() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = call ptr (...) @X509_STORE_new() store ptr %4, ptr %2, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %7 6: ; preds = %0 br label %27 7: ; preds = %0 %8 = load ptr, ptr %2, align 8 %9 = call i32 (...) @X509_LOOKUP_file() %10 = call ptr @X509_STORE_add_lookup(ptr noundef %8, i32 noundef %9) store ptr %10, ptr %3, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %13 12: ; preds = %7 br label %27 13: ; preds = %7 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr @X509_FILETYPE_DEFAULT, align 4 %16 = call i32 @X509_LOOKUP_load_file(ptr noundef %14, ptr noundef null, i32 noundef %15) %17 = load ptr, ptr %2, align 8 %18 = call i32 (...) @X509_LOOKUP_hash_dir() %19 = call ptr @X509_STORE_add_lookup(ptr noundef %17, i32 noundef %18) store ptr %19, ptr %3, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %22 21: ; preds = %13 br label %27 22: ; preds = %13 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr @X509_FILETYPE_DEFAULT, align 4 %25 = call i32 @X509_LOOKUP_add_dir(ptr noundef %23, ptr noundef null, i32 noundef %24) %26 = load ptr, ptr %2, align 8 store ptr %26, ptr %1, align 8 br label %34 27: ; preds = %21, %12, %6 %28 = load ptr, ptr %2, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %33 30: ; preds = %27 %31 = load ptr, ptr %2, align 8 %32 = call i32 @X509_STORE_free(ptr noundef %31) br label %33 33: ; preds = %30, %27 store ptr null, ptr %1, align 8 br label %34 34: ; preds = %33, %22 %35 = load ptr, ptr %1, align 8 ret ptr %35 } declare ptr @X509_STORE_new(...) #1 declare ptr @X509_STORE_add_lookup(ptr noundef, i32 noundef) #1 declare i32 @X509_LOOKUP_file(...) #1 declare i32 @X509_LOOKUP_load_file(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @X509_LOOKUP_hash_dir(...) #1 declare i32 @X509_LOOKUP_add_dir(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @X509_STORE_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/tmp4fnaapvh.c' source_filename = "/tmp/tmp4fnaapvh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @truncsarray(ptr noundef %0, i64 noundef %1, i16 noundef signext %2, i16 noundef signext %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i16, align 2 %8 = alloca i16, align 2 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i16 %2, ptr %7, align 2 store i16 %3, ptr %8, align 2 %10 = load i16, ptr %7, align 2 %11 = sext i16 %10 to i32 %12 = load i16, ptr %8, align 2 %13 = sext i16 %12 to i32 %14 = icmp slt i32 %11, %13 %15 = zext i1 %14 to i32 %16 = call i32 @assert(i32 noundef %15) %17 = load ptr, ptr %5, align 8 %18 = load i64, ptr %6, align 8 %19 = getelementptr inbounds i16, ptr %17, i64 %18 store ptr %19, ptr %9, align 8 br label %20 20: ; preds = %42, %4 %21 = load ptr, ptr %5, align 8 %22 = load i16, ptr %21, align 2 %23 = sext i16 %22 to i32 %24 = load i16, ptr %8, align 2 %25 = sext i16 %24 to i32 %26 = icmp sgt i32 %23, %25 br i1 %26, label %27, label %30 27: ; preds = %20 %28 = load i16, ptr %8, align 2 %29 = load ptr, ptr %5, align 8 store i16 %28, ptr %29, align 2 br label %41 30: ; preds = %20 %31 = load ptr, ptr %5, align 8 %32 = load i16, ptr %31, align 2 %33 = sext i16 %32 to i32 %34 = load i16, ptr %7, align 2 %35 = sext i16 %34 to i32 %36 = icmp slt i32 %33, %35 br i1 %36, label %37, label %40 37: ; preds = %30 %38 = load i16, ptr %7, align 2 %39 = load ptr, ptr %5, align 8 store i16 %38, ptr %39, align 2 br label %40 40: ; preds = %37, %30 br label %41 41: ; preds = %40, %27 br label %42 42: ; preds = %41 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds i16, ptr %43, i32 1 store ptr %44, ptr %5, align 8 %45 = load ptr, ptr %9, align 8 %46 = icmp ult ptr %44, %45 br i1 %46, label %20, label %47, !llvm.loop !6 47: ; preds = %42 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/tmp4fnaapvh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @truncsarray(ptr noundef %0, i64 noundef %1, i16 noundef signext %2, i16 noundef signext %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i16, align 2 %8 = alloca i16, align 2 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i16 %2, ptr %7, align 2 store i16 %3, ptr %8, align 2 %10 = load i16, ptr %7, align 2 %11 = sext i16 %10 to i32 %12 = load i16, ptr %8, align 2 %13 = sext i16 %12 to i32 %14 = icmp slt i32 %11, %13 %15 = zext i1 %14 to i32 %16 = call i32 @assert(i32 noundef %15) %17 = load ptr, ptr %5, align 8 %18 = load i64, ptr %6, align 8 %19 = getelementptr inbounds i16, ptr %17, i64 %18 store ptr %19, ptr %9, align 8 br label %20 20: ; preds = %42, %4 %21 = load ptr, ptr %5, align 8 %22 = load i16, ptr %21, align 2 %23 = sext i16 %22 to i32 %24 = load i16, ptr %8, align 2 %25 = sext i16 %24 to i32 %26 = icmp sgt i32 %23, %25 br i1 %26, label %27, label %30 27: ; preds = %20 %28 = load i16, ptr %8, align 2 %29 = load ptr, ptr %5, align 8 store i16 %28, ptr %29, align 2 br label %41 30: ; preds = %20 %31 = load ptr, ptr %5, align 8 %32 = load i16, ptr %31, align 2 %33 = sext i16 %32 to i32 %34 = load i16, ptr %7, align 2 %35 = sext i16 %34 to i32 %36 = icmp slt i32 %33, %35 br i1 %36, label %37, label %40 37: ; preds = %30 %38 = load i16, ptr %7, align 2 %39 = load ptr, ptr %5, align 8 store i16 %38, ptr %39, align 2 br label %40 40: ; preds = %37, %30 br label %41 41: ; preds = %40, %27 br label %42 42: ; preds = %41 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds i16, ptr %43, i32 1 store ptr %44, ptr %5, align 8 %45 = load ptr, ptr %9, align 8 %46 = icmp ult ptr %44, %45 br i1 %46, label %20, label %47, !llvm.loop !6 47: ; preds = %42 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/tmpd6cz5luk.c' source_filename = "/tmp/tmpd6cz5luk.c" target datalayout = "e-m:e-p270: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/tmpd6cz5luk.c" target datalayout = "e-m:e-p270: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/tmp9l3eur7z.c' source_filename = "/tmp/tmp9l3eur7z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fileIO.in\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"fileIO.out\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"Your file contains: %s\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca [256 x i8], align 16 %4 = alloca [256 x i8], align 16 %5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %5, ptr %1, align 8 %6 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %6, ptr %2, align 8 %7 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %8 = load ptr, ptr %1, align 8 %9 = call i32 @fgets(ptr noundef %7, i32 noundef 256, ptr noundef %8) %10 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %11 = call i32 @printf(ptr noundef @.str.4, ptr noundef %10) %12 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %13 = load ptr, ptr %1, align 8 %14 = call i32 @fgets(ptr noundef %12, i32 noundef 256, ptr noundef %13) %15 = load ptr, ptr %1, align 8 %16 = call i32 @fclose(ptr noundef %15) %17 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %18 = call i32 @allcaps(ptr noundef %17) %19 = load ptr, ptr %2, align 8 %20 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %21 = call i32 @fprintf(ptr noundef %19, ptr noundef @.str.5, ptr noundef %20) %22 = load ptr, ptr %2, align 8 %23 = call i32 @fclose(ptr noundef %22) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @allcaps(ptr noundef) #1 declare i32 @fprintf(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/tmp9l3eur7z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fileIO.in\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"fileIO.out\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"Your file contains: %s\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca [256 x i8], align 16 %4 = alloca [256 x i8], align 16 %5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %5, ptr %1, align 8 %6 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %6, ptr %2, align 8 %7 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %8 = load ptr, ptr %1, align 8 %9 = call i32 @fgets(ptr noundef %7, i32 noundef 256, ptr noundef %8) %10 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %11 = call i32 @printf(ptr noundef @.str.4, ptr noundef %10) %12 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %13 = load ptr, ptr %1, align 8 %14 = call i32 @fgets(ptr noundef %12, i32 noundef 256, ptr noundef %13) %15 = load ptr, ptr %1, align 8 %16 = call i32 @fclose(ptr noundef %15) %17 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %18 = call i32 @allcaps(ptr noundef %17) %19 = load ptr, ptr %2, align 8 %20 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %21 = call i32 @fprintf(ptr noundef %19, ptr noundef @.str.5, ptr noundef %20) %22 = load ptr, ptr %2, align 8 %23 = call i32 @fclose(ptr noundef %22) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @allcaps(ptr noundef) #1 declare i32 @fprintf(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/tmpf6j07q8u.c' source_filename = "/tmp/tmpf6j07q8u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d+3=%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"3+%d=%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"%d+%d=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp eq i32 %5, %6 br i1 %7, label %8, label %22 8: ; preds = %0 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %9, 6 br i1 %10, label %11, label %16 11: ; preds = %8 %12 = load i32, ptr %3, align 4 %13 = sub nsw i32 %12, 3 %14 = load i32, ptr %2, align 4 %15 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %13, i32 noundef %14) br label %21 16: ; preds = %8 %17 = load i32, ptr %3, align 4 %18 = sub nsw i32 %17, 3 %19 = load i32, ptr %2, align 4 %20 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %18, i32 noundef %19) br label %21 21: ; preds = %16, %11 br label %43 22: ; preds = %0 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr %2, align 4 %25 = load i32, ptr %3, align 4 %26 = sub nsw i32 %24, %25 %27 = icmp slt i32 %23, %26 br i1 %27, label %28, label %35 28: ; preds = %22 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %2, align 4 %31 = load i32, ptr %3, align 4 %32 = sub nsw i32 %30, %31 %33 = load i32, ptr %2, align 4 %34 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %29, i32 noundef %32, i32 noundef %33) br label %42 35: ; preds = %22 %36 = load i32, ptr %2, align 4 %37 = load i32, ptr %3, align 4 %38 = sub nsw i32 %36, %37 %39 = load i32, ptr %3, align 4 %40 = load i32, ptr %2, align 4 %41 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %38, i32 noundef %39, i32 noundef %40) br label %42 42: ; preds = %35, %28 br label %43 43: ; preds = %42, %21 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf6j07q8u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d+3=%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"3+%d=%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"%d+%d=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp eq i32 %5, %6 br i1 %7, label %8, label %22 8: ; preds = %0 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %9, 6 br i1 %10, label %11, label %16 11: ; preds = %8 %12 = load i32, ptr %3, align 4 %13 = sub nsw i32 %12, 3 %14 = load i32, ptr %2, align 4 %15 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %13, i32 noundef %14) br label %21 16: ; preds = %8 %17 = load i32, ptr %3, align 4 %18 = sub nsw i32 %17, 3 %19 = load i32, ptr %2, align 4 %20 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %18, i32 noundef %19) br label %21 21: ; preds = %16, %11 br label %43 22: ; preds = %0 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr %2, align 4 %25 = load i32, ptr %3, align 4 %26 = sub nsw i32 %24, %25 %27 = icmp slt i32 %23, %26 br i1 %27, label %28, label %35 28: ; preds = %22 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %2, align 4 %31 = load i32, ptr %3, align 4 %32 = sub nsw i32 %30, %31 %33 = load i32, ptr %2, align 4 %34 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %29, i32 noundef %32, i32 noundef %33) br label %42 35: ; preds = %22 %36 = load i32, ptr %2, align 4 %37 = load i32, ptr %3, align 4 %38 = sub nsw i32 %36, %37 %39 = load i32, ptr %3, align 4 %40 = load i32, ptr %2, align 4 %41 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %38, i32 noundef %39, i32 noundef %40) br label %42 42: ; preds = %35, %28 br label %43 43: ; preds = %42, %21 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxkopl3s6.c' source_filename = "/tmp/tmpxkopl3s6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i32] [i32 72, i32 101, i32 108, i32 108, i32 111, i32 44, i32 32, i32 119, i32 111, i32 114, i32 108, i32 100, i32 0], align 4 @.str.1 = private unnamed_addr constant [13 x i8] c"Hello, world\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"Error %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"Success\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i16, align 2 %7 = alloca i8, align 1 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 %8 = load ptr, ptr %2, align 8 store ptr %8, ptr %3, align 8 store ptr @.str.1, ptr %4, align 8 store i16 17, ptr %6, align 2 %9 = load i8, ptr %6, align 2 %10 = sext i8 %9 to i32 %11 = trunc i32 %10 to i8 store i8 %11, ptr %7, align 1 store i32 0, ptr %5, align 4 br label %12 12: ; preds = %67, %0 %13 = load i32, ptr %5, align 4 %14 = icmp slt i32 %13, 10 br i1 %14, label %15, label %70 15: ; preds = %12 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = mul i64 %18, 1 %20 = getelementptr inbounds i8, ptr %16, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = load i8, ptr %7, align 1 %24 = sext i8 %23 to i32 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %33 26: ; preds = %15 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 br label %34 33: ; preds = %15 br label %34 34: ; preds = %33, %26 %35 = phi i32 [ %32, %26 ], [ 0, %33 ] %36 = icmp ne i32 %22, %35 br i1 %36, label %37, label %40 37: ; preds = %34 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 1) %39 = call i32 @exit(i32 noundef 1) #3 unreachable 40: ; preds = %34 %41 = load ptr, ptr %3, align 8 %42 = load i32, ptr %5, align 4 %43 = sext i32 %42 to i64 %44 = mul i64 %43, 1 %45 = add i64 %44, 0 %46 = getelementptr inbounds i8, ptr %41, i64 %45 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = load i8, ptr %7, align 1 %50 = sext i8 %49 to i32 %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %53 52: ; preds = %40 br label %60 53: ; preds = %40 %54 = load ptr, ptr %4, align 8 %55 = load i32, ptr %5, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %54, i64 %56 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 br label %60 60: ; preds = %53, %52 %61 = phi i32 [ 0, %52 ], [ %59, %53 ] %62 = icmp ne i32 %48, %61 br i1 %62, label %63, label %66 63: ; preds = %60 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 2) %65 = call i32 @exit(i32 noundef 2) #3 unreachable 66: ; preds = %60 br label %67 67: ; preds = %66 %68 = load i32, ptr %5, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %5, align 4 br label %12, !llvm.loop !6 70: ; preds = %12 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %72 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxkopl3s6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i32] [i32 72, i32 101, i32 108, i32 108, i32 111, i32 44, i32 32, i32 119, i32 111, i32 114, i32 108, i32 100, i32 0], align 4 @.str.1 = private unnamed_addr constant [13 x i8] c"Hello, world\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"Error %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"Success\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i16, align 2 %7 = alloca i8, align 1 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 %8 = load ptr, ptr %2, align 8 store ptr %8, ptr %3, align 8 store ptr @.str.1, ptr %4, align 8 store i16 17, ptr %6, align 2 %9 = load i8, ptr %6, align 2 %10 = sext i8 %9 to i32 %11 = trunc i32 %10 to i8 store i8 %11, ptr %7, align 1 store i32 0, ptr %5, align 4 %12 = load i32, ptr %5, align 4 %13 = icmp slt i32 %12, 10 br i1 %13, label %.lr.ph, label %71 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %66 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = mul i64 %17, 1 %19 = getelementptr inbounds i8, ptr %15, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = load i8, ptr %7, align 1 %23 = sext i8 %22 to i32 %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %32 25: ; preds = %14 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %5, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 br label %33 32: ; preds = %14 br label %33 33: ; preds = %32, %25 %34 = phi i32 [ %31, %25 ], [ 0, %32 ] %35 = icmp ne i32 %21, %34 br i1 %35, label %36, label %39 36: ; preds = %33 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 1) %38 = call i32 @exit(i32 noundef 1) #3 unreachable 39: ; preds = %33 %40 = load ptr, ptr %3, align 8 %41 = load i32, ptr %5, align 4 %42 = sext i32 %41 to i64 %43 = mul i64 %42, 1 %44 = add i64 %43, 0 %45 = getelementptr inbounds i8, ptr %40, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = load i8, ptr %7, align 1 %49 = sext i8 %48 to i32 %50 = icmp ne i32 %49, 0 br i1 %50, label %51, label %52 51: ; preds = %39 br label %59 52: ; preds = %39 %53 = load ptr, ptr %4, align 8 %54 = load i32, ptr %5, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %53, i64 %55 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 br label %59 59: ; preds = %52, %51 %60 = phi i32 [ 0, %51 ], [ %58, %52 ] %61 = icmp ne i32 %47, %60 br i1 %61, label %62, label %65 62: ; preds = %59 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 2) %64 = call i32 @exit(i32 noundef 2) #3 unreachable 65: ; preds = %59 br label %66 66: ; preds = %65 %67 = load i32, ptr %5, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %5, align 4 %69 = load i32, ptr %5, align 4 %70 = icmp slt i32 %69, 10 br i1 %70, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %66 br label %71 71: ; preds = %._crit_edge, %0 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %73 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_twotdn0.c' source_filename = "/tmp/tmp_twotdn0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @my_strlowcase(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %8 7: ; preds = %1 store ptr null, ptr %2, align 8 br label %47 8: ; preds = %1 store i32 0, ptr %4, align 4 br label %9 9: ; preds = %42, %8 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %4, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %45 17: ; preds = %9 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %4, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, 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 %42 25: ; preds = %17 %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %4, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp sle i32 %31, 90 br i1 %32, label %33, label %42 33: ; preds = %25 %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %4, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = add nsw i32 %39, 32 %41 = trunc i32 %40 to i8 store i8 %41, ptr %37, align 1 br label %42 42: ; preds = %33, %25, %17 %43 = load i32, ptr %4, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %4, align 4 br label %9, !llvm.loop !6 45: ; preds = %9 %46 = load ptr, ptr %3, align 8 store ptr %46, ptr %2, align 8 br label %47 47: ; preds = %45, %7 %48 = load ptr, ptr %2, align 8 ret ptr %48 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_twotdn0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @my_strlowcase(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %8 7: ; preds = %1 store ptr null, ptr %2, align 8 br label %53 8: ; preds = %1 store i32 0, ptr %4, align 4 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br i1 %15, label %.lr.ph, label %51 .lr.ph: ; preds = %8 br label %16 16: ; preds = %.lr.ph, %41 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp sge i32 %22, 65 br i1 %23, label %24, label %41 24: ; preds = %16 %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %4, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, 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 %41 32: ; preds = %24 %33 = load ptr, ptr %3, align 8 %34 = load i32, ptr %4, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = add nsw i32 %38, 32 %40 = trunc i32 %39 to i8 store i8 %40, ptr %36, align 1 br label %41 41: ; preds = %32, %24, %16 %42 = load i32, ptr %4, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %4, align 4 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %4, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp ne i32 %49, 0 br i1 %50, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %51 51: ; preds = %._crit_edge, %8 %52 = load ptr, ptr %3, align 8 store ptr %52, ptr %2, align 8 br label %53 53: ; preds = %51, %7 %54 = load ptr, ptr %2, align 8 ret ptr %54 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpvzzok74i.c' source_filename = "/tmp/tmpvzzok74i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [61 x i8] c"Star [-prq__a__uAcwWDjefvngBPNEIOXzo_YSkK__CQVh] input_file\0A\00", align 1 @.str.1 = private unnamed_addr constant [59 x i8] c" -p Tetrahedralizes a polyhedron or PLC (.poly file).\0A\00", align 1 @.str.2 = private unnamed_addr constant [46 x i8] c" -r Refines a previously generated mesh.\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c" -q Quality mesh generation.\0A\00", align 1 @.str.4 = private unnamed_addr constant [58 x i8] c" -a Applies a maximum tetrahedron volume constraint.\0A\00", align 1 @.str.5 = private unnamed_addr constant [56 x i8] c" -u Applies a user-defined tetrahedron constraint.\0A\00", align 1 @.str.6 = private unnamed_addr constant [71 x i8] c" -A Applies attributes to identify tetrahedra in certain regions.\0A\00", align 1 @.str.7 = private unnamed_addr constant [47 x i8] c" -c Encloses the convex hull with facets.\0A\00", align 1 @.str.8 = private unnamed_addr constant [42 x i8] c" -w Weighted Delaunay triangulation.\0A\00", align 1 @.str.9 = private unnamed_addr constant [70 x i8] c" -W Regular triangulation (lower convex hull of a height field).\0A\00", align 1 @.str.10 = private unnamed_addr constant [69 x i8] c" -D Conforming Delaunay: attempts to make tetrahedra Delaunay.\0A\00", align 1 @.str.11 = private unnamed_addr constant [66 x i8] c" -j Renumber nodes and jettison unused vertices from output.\0A\00", align 1 @.str.12 = private unnamed_addr constant [46 x i8] c" -e Generates an edge list (.edge file).\0A\00", align 1 @.str.13 = private unnamed_addr constant [45 x i8] c" -f Generates a face list (.face file).\0A\00", align 1 @.str.14 = private unnamed_addr constant [38 x i8] c" -v Generates a Voronoi diagram.\0A\00", align 1 @.str.15 = private unnamed_addr constant [66 x i8] c" -n Generates a list of tetrahedron neighbors (.neigh file).\0A\00", align 1 @.str.16 = private unnamed_addr constant [46 x i8] c" -g Generates an .off file for Geomview.\0A\00", align 1 @.str.17 = private unnamed_addr constant [52 x i8] c" -B Suppresses output of boundary information.\0A\00", align 1 @.str.18 = private unnamed_addr constant [42 x i8] c" -P Suppresses output of .poly file.\0A\00", align 1 @.str.19 = private unnamed_addr constant [42 x i8] c" -N Suppresses output of .node file.\0A\00", align 1 @.str.20 = private unnamed_addr constant [41 x i8] c" -E Suppresses output of .ele file.\0A\00", align 1 @.str.21 = private unnamed_addr constant [44 x i8] c" -I Suppresses mesh iteration numbers.\0A\00", align 1 @.str.22 = private unnamed_addr constant [38 x i8] c" -O Ignores holes in .poly file.\0A\00", align 1 @.str.23 = private unnamed_addr constant [45 x i8] c" -X Suppresses use of exact arithmetic.\0A\00", align 1 @.str.24 = private unnamed_addr constant [65 x i8] c" -z Numbers all items starting from zero (rather than one).\0A\00", align 1 @.str.25 = private unnamed_addr constant [56 x i8] c" -o2 Generates second-order subparametric elements.\0A\00", align 1 @.str.26 = private unnamed_addr constant [46 x i8] c" -Y Suppresses boundary facet splitting.\0A\00", align 1 @.str.27 = private unnamed_addr constant [59 x i8] c" -S Specifies maximum number of added Steiner points.\0A\00", align 1 @.str.28 = private unnamed_addr constant [63 x i8] c" -k Insert vertices in original order (no randomization).\0A\00", align 1 @.str.29 = private unnamed_addr constant [66 x i8] c" -K Insert vertices in fully random order (instead of BRIO).\0A\00", align 1 @.str.30 = private unnamed_addr constant [42 x i8] c" -C Check consistency of final mesh.\0A\00", align 1 @.str.31 = private unnamed_addr constant [51 x i8] c" -Q Quiet: No terminal output except errors.\0A\00", align 1 @.str.32 = private unnamed_addr constant [59 x i8] c" -V Verbose: Detailed information on what I'm doing.\0A\00", align 1 @.str.33 = private unnamed_addr constant [48 x i8] c" -h Help: Detailed instructions for Star.\0A\00", align 1 @.str.34 = private unnamed_addr constant [41 x i8] c"PRE-RELEASE CODE: DO NOT DISTRIBUTE!!!\0A\00", align 1 @.str.35 = private unnamed_addr constant [40 x i8] c"EXPECT THIS CODE TO BE BUGGY AND SLOW.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @syntax() #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) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) %10 = call i32 @printf(ptr noundef @.str.9) %11 = call i32 @printf(ptr noundef @.str.10) %12 = call i32 @printf(ptr noundef @.str.11) %13 = call i32 @printf(ptr noundef @.str.12) %14 = call i32 @printf(ptr noundef @.str.13) %15 = call i32 @printf(ptr noundef @.str.14) %16 = call i32 @printf(ptr noundef @.str.15) %17 = call i32 @printf(ptr noundef @.str.16) %18 = call i32 @printf(ptr noundef @.str.17) %19 = call i32 @printf(ptr noundef @.str.18) %20 = call i32 @printf(ptr noundef @.str.19) %21 = call i32 @printf(ptr noundef @.str.20) %22 = call i32 @printf(ptr noundef @.str.21) %23 = call i32 @printf(ptr noundef @.str.22) %24 = call i32 @printf(ptr noundef @.str.23) %25 = call i32 @printf(ptr noundef @.str.24) %26 = call i32 @printf(ptr noundef @.str.25) %27 = call i32 @printf(ptr noundef @.str.26) %28 = call i32 @printf(ptr noundef @.str.27) %29 = call i32 @printf(ptr noundef @.str.28) %30 = call i32 @printf(ptr noundef @.str.29) %31 = call i32 @printf(ptr noundef @.str.30) %32 = call i32 @printf(ptr noundef @.str.31) %33 = call i32 @printf(ptr noundef @.str.32) %34 = call i32 @printf(ptr noundef @.str.33) %35 = call i32 @printf(ptr noundef @.str.34) %36 = call i32 @printf(ptr noundef @.str.35) %37 = call i32 @starexit(i32 noundef 0) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @starexit(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/tmpvzzok74i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [61 x i8] c"Star [-prq__a__uAcwWDjefvngBPNEIOXzo_YSkK__CQVh] input_file\0A\00", align 1 @.str.1 = private unnamed_addr constant [59 x i8] c" -p Tetrahedralizes a polyhedron or PLC (.poly file).\0A\00", align 1 @.str.2 = private unnamed_addr constant [46 x i8] c" -r Refines a previously generated mesh.\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c" -q Quality mesh generation.\0A\00", align 1 @.str.4 = private unnamed_addr constant [58 x i8] c" -a Applies a maximum tetrahedron volume constraint.\0A\00", align 1 @.str.5 = private unnamed_addr constant [56 x i8] c" -u Applies a user-defined tetrahedron constraint.\0A\00", align 1 @.str.6 = private unnamed_addr constant [71 x i8] c" -A Applies attributes to identify tetrahedra in certain regions.\0A\00", align 1 @.str.7 = private unnamed_addr constant [47 x i8] c" -c Encloses the convex hull with facets.\0A\00", align 1 @.str.8 = private unnamed_addr constant [42 x i8] c" -w Weighted Delaunay triangulation.\0A\00", align 1 @.str.9 = private unnamed_addr constant [70 x i8] c" -W Regular triangulation (lower convex hull of a height field).\0A\00", align 1 @.str.10 = private unnamed_addr constant [69 x i8] c" -D Conforming Delaunay: attempts to make tetrahedra Delaunay.\0A\00", align 1 @.str.11 = private unnamed_addr constant [66 x i8] c" -j Renumber nodes and jettison unused vertices from output.\0A\00", align 1 @.str.12 = private unnamed_addr constant [46 x i8] c" -e Generates an edge list (.edge file).\0A\00", align 1 @.str.13 = private unnamed_addr constant [45 x i8] c" -f Generates a face list (.face file).\0A\00", align 1 @.str.14 = private unnamed_addr constant [38 x i8] c" -v Generates a Voronoi diagram.\0A\00", align 1 @.str.15 = private unnamed_addr constant [66 x i8] c" -n Generates a list of tetrahedron neighbors (.neigh file).\0A\00", align 1 @.str.16 = private unnamed_addr constant [46 x i8] c" -g Generates an .off file for Geomview.\0A\00", align 1 @.str.17 = private unnamed_addr constant [52 x i8] c" -B Suppresses output of boundary information.\0A\00", align 1 @.str.18 = private unnamed_addr constant [42 x i8] c" -P Suppresses output of .poly file.\0A\00", align 1 @.str.19 = private unnamed_addr constant [42 x i8] c" -N Suppresses output of .node file.\0A\00", align 1 @.str.20 = private unnamed_addr constant [41 x i8] c" -E Suppresses output of .ele file.\0A\00", align 1 @.str.21 = private unnamed_addr constant [44 x i8] c" -I Suppresses mesh iteration numbers.\0A\00", align 1 @.str.22 = private unnamed_addr constant [38 x i8] c" -O Ignores holes in .poly file.\0A\00", align 1 @.str.23 = private unnamed_addr constant [45 x i8] c" -X Suppresses use of exact arithmetic.\0A\00", align 1 @.str.24 = private unnamed_addr constant [65 x i8] c" -z Numbers all items starting from zero (rather than one).\0A\00", align 1 @.str.25 = private unnamed_addr constant [56 x i8] c" -o2 Generates second-order subparametric elements.\0A\00", align 1 @.str.26 = private unnamed_addr constant [46 x i8] c" -Y Suppresses boundary facet splitting.\0A\00", align 1 @.str.27 = private unnamed_addr constant [59 x i8] c" -S Specifies maximum number of added Steiner points.\0A\00", align 1 @.str.28 = private unnamed_addr constant [63 x i8] c" -k Insert vertices in original order (no randomization).\0A\00", align 1 @.str.29 = private unnamed_addr constant [66 x i8] c" -K Insert vertices in fully random order (instead of BRIO).\0A\00", align 1 @.str.30 = private unnamed_addr constant [42 x i8] c" -C Check consistency of final mesh.\0A\00", align 1 @.str.31 = private unnamed_addr constant [51 x i8] c" -Q Quiet: No terminal output except errors.\0A\00", align 1 @.str.32 = private unnamed_addr constant [59 x i8] c" -V Verbose: Detailed information on what I'm doing.\0A\00", align 1 @.str.33 = private unnamed_addr constant [48 x i8] c" -h Help: Detailed instructions for Star.\0A\00", align 1 @.str.34 = private unnamed_addr constant [41 x i8] c"PRE-RELEASE CODE: DO NOT DISTRIBUTE!!!\0A\00", align 1 @.str.35 = private unnamed_addr constant [40 x i8] c"EXPECT THIS CODE TO BE BUGGY AND SLOW.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @syntax() #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) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) %10 = call i32 @printf(ptr noundef @.str.9) %11 = call i32 @printf(ptr noundef @.str.10) %12 = call i32 @printf(ptr noundef @.str.11) %13 = call i32 @printf(ptr noundef @.str.12) %14 = call i32 @printf(ptr noundef @.str.13) %15 = call i32 @printf(ptr noundef @.str.14) %16 = call i32 @printf(ptr noundef @.str.15) %17 = call i32 @printf(ptr noundef @.str.16) %18 = call i32 @printf(ptr noundef @.str.17) %19 = call i32 @printf(ptr noundef @.str.18) %20 = call i32 @printf(ptr noundef @.str.19) %21 = call i32 @printf(ptr noundef @.str.20) %22 = call i32 @printf(ptr noundef @.str.21) %23 = call i32 @printf(ptr noundef @.str.22) %24 = call i32 @printf(ptr noundef @.str.23) %25 = call i32 @printf(ptr noundef @.str.24) %26 = call i32 @printf(ptr noundef @.str.25) %27 = call i32 @printf(ptr noundef @.str.26) %28 = call i32 @printf(ptr noundef @.str.27) %29 = call i32 @printf(ptr noundef @.str.28) %30 = call i32 @printf(ptr noundef @.str.29) %31 = call i32 @printf(ptr noundef @.str.30) %32 = call i32 @printf(ptr noundef @.str.31) %33 = call i32 @printf(ptr noundef @.str.32) %34 = call i32 @printf(ptr noundef @.str.33) %35 = call i32 @printf(ptr noundef @.str.34) %36 = call i32 @printf(ptr noundef @.str.35) %37 = call i32 @starexit(i32 noundef 0) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @starexit(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/tmpf7505ru8.c' source_filename = "/tmp/tmpf7505ru8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @my_isnumeric(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 br label %4 4: ; preds = %14, %1 %5 = load ptr, ptr %3, align 8 %6 = load i8, ptr %5, align 1 %7 = icmp ne i8 %6, 0 br i1 %7, label %8, label %17 8: ; preds = %4 %9 = load ptr, ptr %3, align 8 %10 = load i8, ptr %9, align 1 %11 = call i32 @isdigit(i8 noundef signext %10) %12 = icmp ne i32 %11, 0 br i1 %12, label %14, label %13 13: ; preds = %8 store i32 0, ptr %2, align 4 br label %18 14: ; preds = %8 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %3, align 8 br label %4, !llvm.loop !6 17: ; preds = %4 store i32 1, ptr %2, align 4 br label %18 18: ; preds = %17, %13 %19 = load i32, ptr %2, align 4 ret i32 %19 } declare i32 @isdigit(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/tmpf7505ru8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @my_isnumeric(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = load i8, ptr %4, align 1 %6 = icmp ne i8 %5, 0 br i1 %6, label %.lr.ph, label %19 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %13 %8 = load ptr, ptr %3, align 8 %9 = load i8, ptr %8, align 1 %10 = call i32 @isdigit(i8 noundef signext %9) %11 = icmp ne i32 %10, 0 br i1 %11, label %13, label %12 12: ; preds = %7 store i32 0, ptr %2, align 4 br label %20 13: ; preds = %7 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %3, align 8 %16 = load ptr, ptr %3, align 8 %17 = load i8, ptr %16, align 1 %18 = icmp ne i8 %17, 0 br i1 %18, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %19 19: ; preds = %._crit_edge, %1 store i32 1, ptr %2, align 4 br label %20 20: ; preds = %19, %12 %21 = load i32, ptr %2, align 4 ret i32 %21 } declare i32 @isdigit(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/tmpa1mf4hlb.c' source_filename = "/tmp/tmpa1mf4hlb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @corbel_fhybrid(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 store double 0.000000e+00, ptr %6, align 8 %7 = load double, ptr %4, align 8 store double %7, ptr %5, align 8 %8 = load double, ptr %4, align 8 %9 = fcmp olt double %8, 0.000000e+00 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load double, ptr %5, align 8 %12 = fneg double %11 store double %12, ptr %5, align 8 br label %13 13: ; preds = %10, %2 %14 = load double, ptr %5, align 8 %15 = load double, ptr %3, align 8 %16 = call double @llvm.fmuladd.f64(double 6.360000e-01, double %15, double -6.000000e-01) %17 = fcmp olt double %14, %16 br i1 %17, label %18, label %22 18: ; preds = %13 %19 = load double, ptr %3, align 8 %20 = load double, ptr %4, align 8 %21 = call double @corbel_flon(double noundef %19, double noundef %20) store double %21, ptr %6, align 8 br label %26 22: ; preds = %13 %23 = load double, ptr %3, align 8 %24 = load double, ptr %4, align 8 %25 = call double @corbel_fget(double noundef %23, double noundef %24) store double %25, ptr %6, align 8 br label %26 26: ; preds = %22, %18 %27 = load double, ptr %6, align 8 ret double %27 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare double @corbel_flon(double noundef, double noundef) #2 declare double @corbel_fget(double noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa1mf4hlb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @corbel_fhybrid(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 store double 0.000000e+00, ptr %6, align 8 %7 = load double, ptr %4, align 8 store double %7, ptr %5, align 8 %8 = load double, ptr %4, align 8 %9 = fcmp olt double %8, 0.000000e+00 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load double, ptr %5, align 8 %12 = fneg double %11 store double %12, ptr %5, align 8 br label %13 13: ; preds = %10, %2 %14 = load double, ptr %5, align 8 %15 = load double, ptr %3, align 8 %16 = call double @llvm.fmuladd.f64(double 6.360000e-01, double %15, double -6.000000e-01) %17 = fcmp olt double %14, %16 br i1 %17, label %18, label %22 18: ; preds = %13 %19 = load double, ptr %3, align 8 %20 = load double, ptr %4, align 8 %21 = call double @corbel_flon(double noundef %19, double noundef %20) store double %21, ptr %6, align 8 br label %26 22: ; preds = %13 %23 = load double, ptr %3, align 8 %24 = load double, ptr %4, align 8 %25 = call double @corbel_fget(double noundef %23, double noundef %24) store double %25, ptr %6, align 8 br label %26 26: ; preds = %22, %18 %27 = load double, ptr %6, align 8 ret double %27 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare double @corbel_flon(double noundef, double noundef) #2 declare double @corbel_fget(double noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8eddws6c.c' source_filename = "/tmp/tmp8eddws6c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ResetISR() #0 { %1 = load volatile i32, ptr inttoptr (i64 3758157192 to ptr), align 4 %2 = and i32 %1, -15728641 %3 = or i32 %2, 3145728 %4 = or i32 %3, 12582912 store volatile i32 %4, ptr inttoptr (i64 3758157192 to ptr), align 4 %5 = call i32 (...) @__iar_program_start() ret void } declare i32 @__iar_program_start(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8eddws6c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ResetISR() #0 { %1 = load volatile i32, ptr inttoptr (i64 3758157192 to ptr), align 4 %2 = and i32 %1, -15728641 %3 = or i32 %2, 3145728 %4 = or i32 %3, 12582912 store volatile i32 %4, ptr inttoptr (i64 3758157192 to ptr), align 4 %5 = call i32 (...) @__iar_program_start() ret void } declare i32 @__iar_program_start(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2qv6_0mm.c' source_filename = "/tmp/tmp2qv6_0mm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_execve(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 section "libgloss_epiphany" { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i32, ptr @ENOSYS, align 4 store i32 %7, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2qv6_0mm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_execve(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 section "libgloss_epiphany" { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i32, ptr @ENOSYS, align 4 store i32 %7, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfy5euxv1.c' source_filename = "/tmp/tmpfy5euxv1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [84 x i8] c"Error - calling 'reset-memory-balance!' without compiling with LOG_MEMORY enabled.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Debug_reset_MINUS_memory_MINUS_balance_BANG_() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(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/tmpfy5euxv1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [84 x i8] c"Error - calling 'reset-memory-balance!' without compiling with LOG_MEMORY enabled.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Debug_reset_MINUS_memory_MINUS_balance_BANG_() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(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/tmphw0nplst.c' source_filename = "/tmp/tmphw0nplst.c" target datalayout = "e-m:e-p270: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/tmphw0nplst.c" target datalayout = "e-m:e-p270: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/tmpopec88qr.c' source_filename = "/tmp/tmpopec88qr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ei_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpopec88qr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ei_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuoki4sgg.c' source_filename = "/tmp/tmpuoki4sgg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @strlen(ptr noundef %5) %7 = add nsw i64 %6, 1 %8 = call ptr @malloc(i64 noundef %7) store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %1 store ptr null, ptr %2, align 8 br label %17 12: ; preds = %1 %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %3, align 8 %15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14) %16 = load ptr, ptr %4, align 8 store ptr %16, ptr %2, align 8 br label %17 17: ; preds = %12, %11 %18 = load ptr, ptr %2, align 8 ret ptr %18 } declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(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/tmpuoki4sgg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @strlen(ptr noundef %5) %7 = add nsw i64 %6, 1 %8 = call ptr @malloc(i64 noundef %7) store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %1 store ptr null, ptr %2, align 8 br label %17 12: ; preds = %1 %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %3, align 8 %15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14) %16 = load ptr, ptr %4, align 8 store ptr %16, ptr %2, align 8 br label %17 17: ; preds = %12, %11 %18 = load ptr, ptr %2, align 8 ret ptr %18 } declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(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/tmp0y1r5mqo.c' source_filename = "/tmp/tmp0y1r5mqo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @my_putunbr_base(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load i64, ptr %4, align 8 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 @my_putchar(i8 noundef signext 48) store i32 0, ptr %3, align 4 br label %22 10: ; preds = %2 %11 = load i64, ptr %4, align 8 %12 = icmp ult i64 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %10 %14 = call i32 @my_putchar(i8 noundef signext 45) br label %15 15: ; preds = %13, %10 br label %16 16: ; preds = %15 %17 = load i64, ptr %4, align 8 %18 = load ptr, ptr %5, align 8 %19 = load ptr, ptr %5, align 8 %20 = call i32 @my_strlen(ptr noundef %19) %21 = call i32 @my_printnbr(i64 noundef %17, ptr noundef %18, i32 noundef %20) store i32 0, ptr %3, align 4 br label %22 22: ; preds = %16, %8 %23 = load i32, ptr %3, align 4 ret i32 %23 } declare i32 @my_putchar(i8 noundef signext) #1 declare i32 @my_printnbr(i64 noundef, ptr noundef, i32 noundef) #1 declare i32 @my_strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0y1r5mqo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @my_putunbr_base(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load i64, ptr %4, align 8 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 @my_putchar(i8 noundef signext 48) store i32 0, ptr %3, align 4 br label %22 10: ; preds = %2 %11 = load i64, ptr %4, align 8 %12 = icmp ult i64 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %10 %14 = call i32 @my_putchar(i8 noundef signext 45) br label %15 15: ; preds = %13, %10 br label %16 16: ; preds = %15 %17 = load i64, ptr %4, align 8 %18 = load ptr, ptr %5, align 8 %19 = load ptr, ptr %5, align 8 %20 = call i32 @my_strlen(ptr noundef %19) %21 = call i32 @my_printnbr(i64 noundef %17, ptr noundef %18, i32 noundef %20) store i32 0, ptr %3, align 4 br label %22 22: ; preds = %16, %8 %23 = load i32, ptr %3, align 4 ret i32 %23 } declare i32 @my_putchar(i8 noundef signext) #1 declare i32 @my_printnbr(i64 noundef, ptr noundef, i32 noundef) #1 declare i32 @my_strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdu8ur1q6.c' source_filename = "/tmp/tmpdu8ur1q6.c" target datalayout = "e-m:e-p270: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/tmpdu8ur1q6.c" target datalayout = "e-m:e-p270: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/tmp5hhf8972.c' source_filename = "/tmp/tmp5hhf8972.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%p\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) %5 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %5 } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5hhf8972.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%p\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) %5 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %5 } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzva2k_0k.c' source_filename = "/tmp/tmpzva2k_0k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @http_send_data(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 br label %8 8: ; preds = %19, %3 %9 = load i64, ptr %6, align 8 %10 = icmp ugt i64 %9, 0 br i1 %10, label %11, label %26 11: ; preds = %8 %12 = load i32, ptr %4, align 4 %13 = load ptr, ptr %5, align 8 %14 = load i64, ptr %6, align 8 %15 = call i64 @write(i32 noundef %12, ptr noundef %13, i64 noundef %14) store i64 %15, ptr %7, align 8 %16 = load i64, ptr %7, align 8 %17 = icmp slt i64 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %11 br label %26 19: ; preds = %11 %20 = load i64, ptr %7, align 8 %21 = load i64, ptr %6, align 8 %22 = sub i64 %21, %20 store i64 %22, ptr %6, align 8 %23 = load i64, ptr %7, align 8 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 %23 store ptr %25, ptr %5, align 8 br label %8, !llvm.loop !6 26: ; preds = %18, %8 ret void } declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzva2k_0k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @http_send_data(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load i64, ptr %6, align 8 %9 = icmp ugt i64 %8, 0 br i1 %9, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %3 br label %10 10: ; preds = %.lr.ph, %18 %11 = load i32, ptr %4, align 4 %12 = load ptr, ptr %5, align 8 %13 = load i64, ptr %6, align 8 %14 = call i64 @write(i32 noundef %11, ptr noundef %12, i64 noundef %13) store i64 %14, ptr %7, align 8 %15 = load i64, ptr %7, align 8 %16 = icmp slt i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %10 br label %27 18: ; preds = %10 %19 = load i64, ptr %7, align 8 %20 = load i64, ptr %6, align 8 %21 = sub i64 %20, %19 store i64 %21, ptr %6, align 8 %22 = load i64, ptr %7, align 8 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 %22 store ptr %24, ptr %5, align 8 %25 = load i64, ptr %6, align 8 %26 = icmp ugt i64 %25, 0 br i1 %26, label %10, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %18 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %3 br label %27 27: ; preds = %.loopexit, %17 ret void } declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpg4tkxwtx.c' source_filename = "/tmp/tmpg4tkxwtx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @cumchi.a = internal global double 0.000000e+00, align 8 @cumchi.xx = internal global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cumchi(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %6, align 8 %10 = load double, ptr %9, align 8 %11 = fmul double %10, 5.000000e-01 store double %11, ptr @cumchi.a, align 8 %12 = load ptr, ptr %5, align 8 %13 = load double, ptr %12, align 8 %14 = fmul double %13, 5.000000e-01 store double %14, ptr @cumchi.xx, align 8 %15 = load ptr, ptr %7, align 8 %16 = load ptr, ptr %8, align 8 %17 = call i32 @cumgam(ptr noundef @cumchi.xx, ptr noundef @cumchi.a, ptr noundef %15, ptr noundef %16) ret void } declare i32 @cumgam(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg4tkxwtx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @cumchi.a = internal global double 0.000000e+00, align 8 @cumchi.xx = internal global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cumchi(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %6, align 8 %10 = load double, ptr %9, align 8 %11 = fmul double %10, 5.000000e-01 store double %11, ptr @cumchi.a, align 8 %12 = load ptr, ptr %5, align 8 %13 = load double, ptr %12, align 8 %14 = fmul double %13, 5.000000e-01 store double %14, ptr @cumchi.xx, align 8 %15 = load ptr, ptr %7, align 8 %16 = load ptr, ptr %8, align 8 %17 = call i32 @cumgam(ptr noundef @cumchi.xx, ptr noundef @cumchi.a, ptr noundef %15, ptr noundef %16) ret void } declare i32 @cumgam(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfkjqhbq4.c' source_filename = "/tmp/tmpfkjqhbq4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_indices(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store ptr @.str, ptr %10, align 8 %13 = load ptr, ptr %10, align 8 store ptr %13, ptr %12, align 8 %14 = load ptr, ptr %10, align 8 store ptr %14, ptr %9, align 8 %15 = load ptr, ptr %5, align 8 store ptr %15, ptr %11, align 8 br label %16 16: ; preds = %39, %4 %17 = load ptr, ptr %11, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %42 21: ; preds = %16 %22 = load ptr, ptr %11, align 8 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 47 br i1 %25, label %26, label %38 26: ; preds = %21 %27 = load ptr, ptr %12, align 8 %28 = load ptr, ptr %10, align 8 %29 = icmp eq ptr %27, %28 br i1 %29, label %30, label %33 30: ; preds = %26 %31 = load ptr, ptr %11, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 1 store ptr %32, ptr %12, align 8 br label %36 33: ; preds = %26 %34 = load ptr, ptr %11, align 8 %35 = getelementptr inbounds i8, ptr %34, i64 1 store ptr %35, ptr %9, align 8 br label %36 36: ; preds = %33, %30 %37 = load ptr, ptr %11, align 8 store i8 0, ptr %37, align 1 br label %38 38: ; preds = %36, %21 br label %39 39: ; preds = %38 %40 = load ptr, ptr %11, align 8 %41 = getelementptr inbounds i8, ptr %40, i32 1 store ptr %41, ptr %11, align 8 br label %16, !llvm.loop !6 42: ; preds = %16 %43 = load ptr, ptr %5, align 8 %44 = call i32 @atoi(ptr noundef %43) %45 = load ptr, ptr %6, align 8 store i32 %44, ptr %45, align 4 %46 = load ptr, ptr %12, align 8 %47 = call i32 @atoi(ptr noundef %46) %48 = load ptr, ptr %7, align 8 store i32 %47, ptr %48, align 4 %49 = load ptr, ptr %9, align 8 %50 = call i32 @atoi(ptr noundef %49) %51 = load ptr, ptr %8, align 8 store i32 %50, ptr %51, align 4 ret void } declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfkjqhbq4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_indices(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store ptr @.str, ptr %10, align 8 %13 = load ptr, ptr %10, align 8 store ptr %13, ptr %12, align 8 %14 = load ptr, ptr %10, align 8 store ptr %14, ptr %9, align 8 %15 = load ptr, ptr %5, align 8 store ptr %15, ptr %11, align 8 %16 = load ptr, ptr %11, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp ne i32 %18, 0 br i1 %19, label %.lr.ph, label %45 .lr.ph: ; preds = %4 br label %20 20: ; preds = %.lr.ph, %38 %21 = load ptr, ptr %11, align 8 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 47 br i1 %24, label %25, label %37 25: ; preds = %20 %26 = load ptr, ptr %12, align 8 %27 = load ptr, ptr %10, align 8 %28 = icmp eq ptr %26, %27 br i1 %28, label %29, label %32 29: ; preds = %25 %30 = load ptr, ptr %11, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 1 store ptr %31, ptr %12, align 8 br label %35 32: ; preds = %25 %33 = load ptr, ptr %11, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 1 store ptr %34, ptr %9, align 8 br label %35 35: ; preds = %32, %29 %36 = load ptr, ptr %11, align 8 store i8 0, ptr %36, align 1 br label %37 37: ; preds = %35, %20 br label %38 38: ; preds = %37 %39 = load ptr, ptr %11, align 8 %40 = getelementptr inbounds i8, ptr %39, i32 1 store ptr %40, ptr %11, align 8 %41 = load ptr, ptr %11, align 8 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp ne i32 %43, 0 br i1 %44, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %45 45: ; preds = %._crit_edge, %4 %46 = load ptr, ptr %5, align 8 %47 = call i32 @atoi(ptr noundef %46) %48 = load ptr, ptr %6, align 8 store i32 %47, ptr %48, align 4 %49 = load ptr, ptr %12, align 8 %50 = call i32 @atoi(ptr noundef %49) %51 = load ptr, ptr %7, align 8 store i32 %50, ptr %51, align 4 %52 = load ptr, ptr %9, align 8 %53 = call i32 @atoi(ptr noundef %52) %54 = load ptr, ptr %8, align 8 store i32 %53, ptr %54, align 4 ret void } declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpidmce01r.c' source_filename = "/tmp/tmpidmce01r.c" target datalayout = "e-m:e-p270: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/tmpidmce01r.c" target datalayout = "e-m:e-p270: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/tmp_vf5exth.c' source_filename = "/tmp/tmp_vf5exth.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_vf5exth.c" target datalayout = "e-m:e-p270: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/tmp0eizc1fc.c' source_filename = "/tmp/tmp0eizc1fc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @makegroupsid.groupsid = internal global [80 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @makegroupsid(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds i8, ptr %4, i64 1 %6 = load i8, ptr %5, align 1 %7 = zext i8 %6 to i32 %8 = mul nsw i32 4, %7 %9 = add nsw i32 8, %8 store i32 %9, ptr %3, align 4 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %3, align 4 %12 = call i32 @memcpy(ptr noundef @makegroupsid.groupsid, ptr noundef %10, i32 noundef %11) %13 = load i32, ptr %3, align 4 %14 = sub nsw i32 %13, 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [80 x i8], ptr @makegroupsid.groupsid, i64 0, i64 %15 store i8 1, ptr %16, align 1 %17 = load i32, ptr %3, align 4 %18 = sub nsw i32 %17, 3 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [80 x i8], ptr @makegroupsid.groupsid, i64 0, i64 %19 store i8 2, ptr %20, align 1 %21 = load i32, ptr %3, align 4 %22 = sub nsw i32 %21, 2 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [80 x i8], ptr @makegroupsid.groupsid, i64 0, i64 %23 store i8 0, ptr %24, align 1 %25 = load i32, ptr %3, align 4 %26 = sub nsw i32 %25, 1 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [80 x i8], ptr @makegroupsid.groupsid, i64 0, i64 %27 store i8 0, ptr %28, align 1 ret ptr @makegroupsid.groupsid } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0eizc1fc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @makegroupsid.groupsid = internal global [80 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @makegroupsid(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds i8, ptr %4, i64 1 %6 = load i8, ptr %5, align 1 %7 = zext i8 %6 to i32 %8 = mul nsw i32 4, %7 %9 = add nsw i32 8, %8 store i32 %9, ptr %3, align 4 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %3, align 4 %12 = call i32 @memcpy(ptr noundef @makegroupsid.groupsid, ptr noundef %10, i32 noundef %11) %13 = load i32, ptr %3, align 4 %14 = sub nsw i32 %13, 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [80 x i8], ptr @makegroupsid.groupsid, i64 0, i64 %15 store i8 1, ptr %16, align 1 %17 = load i32, ptr %3, align 4 %18 = sub nsw i32 %17, 3 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [80 x i8], ptr @makegroupsid.groupsid, i64 0, i64 %19 store i8 2, ptr %20, align 1 %21 = load i32, ptr %3, align 4 %22 = sub nsw i32 %21, 2 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [80 x i8], ptr @makegroupsid.groupsid, i64 0, i64 %23 store i8 0, ptr %24, align 1 %25 = load i32, ptr %3, align 4 %26 = sub nsw i32 %25, 1 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [80 x i8], ptr @makegroupsid.groupsid, i64 0, i64 %27 store i8 0, ptr %28, align 1 ret ptr @makegroupsid.groupsid } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwq00f5vl.c' source_filename = "/tmp/tmpwq00f5vl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @pdkim_relax_header(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %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 ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %12 = load ptr, ptr %4, align 8 store ptr %12, ptr %8, align 8 %13 = load ptr, ptr %4, align 8 %14 = call i64 @strlen(ptr noundef %13) %15 = add nsw i64 %14, 3 %16 = call ptr @malloc(i64 noundef %15) store ptr %16, ptr %10, align 8 %17 = load ptr, ptr %10, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %20 19: ; preds = %2 store ptr null, ptr %3, align 8 br label %91 20: ; preds = %2 %21 = load ptr, ptr %10, align 8 store ptr %21, ptr %9, align 8 br label %22 22: ; preds = %74, %48, %36, %20 %23 = load ptr, ptr %8, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %82 27: ; preds = %22 %28 = load ptr, ptr %8, align 8 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 store i32 %30, ptr %11, align 4 %31 = load i32, ptr %11, align 4 %32 = icmp eq i32 %31, 13 br i1 %32, label %36, label %33 33: ; preds = %27 %34 = load i32, ptr %11, align 4 %35 = icmp eq i32 %34, 10 br i1 %35, label %36, label %39 36: ; preds = %33, %27 %37 = load ptr, ptr %8, align 8 %38 = getelementptr inbounds i8, ptr %37, i32 1 store ptr %38, ptr %8, align 8 br label %22, !llvm.loop !6 39: ; preds = %33 %40 = load i32, ptr %11, align 4 %41 = icmp eq i32 %40, 9 br i1 %41, label %45, label %42 42: ; preds = %39 %43 = load i32, ptr %11, align 4 %44 = icmp eq i32 %43, 32 br i1 %44, label %45, label %53 45: ; preds = %42, %39 store i32 32, ptr %11, align 4 %46 = load i32, ptr %7, align 4 %47 = icmp ne i32 %46, 0 br i1 %47, label %48, label %51 48: ; preds = %45 %49 = load ptr, ptr %8, align 8 %50 = getelementptr inbounds i8, ptr %49, i32 1 store ptr %50, ptr %8, align 8 br label %22, !llvm.loop !6 51: ; preds = %45 store i32 1, ptr %7, align 4 br label %52 52: ; preds = %51 br label %68 53: ; preds = %42 %54 = load i32, ptr %6, align 4 %55 = icmp ne i32 %54, 0 br i1 %55, label %66, label %56 56: ; preds = %53 %57 = load i32, ptr %11, align 4 %58 = icmp eq i32 %57, 58 br i1 %58, label %59, label %66 59: ; preds = %56 %60 = load i32, ptr %7, align 4 %61 = icmp ne i32 %60, 0 br i1 %61, label %62, label %65 62: ; preds = %59 %63 = load ptr, ptr %9, align 8 %64 = getelementptr inbounds i8, ptr %63, i32 -1 store ptr %64, ptr %9, align 8 br label %65 65: ; preds = %62, %59 store i32 1, ptr %7, align 4 store i32 1, ptr %6, align 4 br label %67 66: ; preds = %56, %53 store i32 0, ptr %7, align 4 br label %67 67: ; preds = %66, %65 br label %68 68: ; preds = %67, %52 %69 = load i32, ptr %6, align 4 %70 = icmp ne i32 %69, 0 br i1 %70, label %74, label %71 71: ; preds = %68 %72 = load i32, ptr %11, align 4 %73 = call i32 @tolower(i32 noundef %72) #3 store i32 %73, ptr %11, align 4 br label %74 74: ; preds = %71, %68 %75 = load i32, ptr %11, align 4 %76 = trunc i32 %75 to i8 %77 = load ptr, ptr %9, align 8 store i8 %76, ptr %77, align 1 %78 = load ptr, ptr %8, align 8 %79 = getelementptr inbounds i8, ptr %78, i32 1 store ptr %79, ptr %8, align 8 %80 = load ptr, ptr %9, align 8 %81 = getelementptr inbounds i8, ptr %80, i32 1 store ptr %81, ptr %9, align 8 br label %22, !llvm.loop !6 82: ; preds = %22 %83 = load ptr, ptr %9, align 8 store i8 0, ptr %83, align 1 %84 = load i32, ptr %5, align 4 %85 = icmp ne i32 %84, 0 br i1 %85, label %86, label %89 86: ; preds = %82 %87 = load ptr, ptr %10, align 8 %88 = call i32 @strcat(ptr noundef %87, ptr noundef @.str) br label %89 89: ; preds = %86, %82 %90 = load ptr, ptr %10, align 8 store ptr %90, ptr %3, align 8 br label %91 91: ; preds = %89, %19 %92 = load ptr, ptr %3, align 8 ret ptr %92 } declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @tolower(i32 noundef) #2 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwq00f5vl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @pdkim_relax_header(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %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 ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %12 = load ptr, ptr %4, align 8 store ptr %12, ptr %8, align 8 %13 = load ptr, ptr %4, align 8 %14 = call i64 @strlen(ptr noundef %13) %15 = add nsw i64 %14, 3 %16 = call ptr @malloc(i64 noundef %15) store ptr %16, ptr %10, align 8 %17 = load ptr, ptr %10, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %20 19: ; preds = %2 store ptr null, ptr %3, align 8 br label %94 20: ; preds = %2 %21 = load ptr, ptr %10, align 8 store ptr %21, ptr %9, align 8 %22 = load ptr, ptr %8, align 8 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp ne i32 %24, 0 br i1 %25, label %.lr.ph, label %85 .lr.ph: ; preds = %20 br label %26 26: ; preds = %.lr.ph, %.backedge %27 = load ptr, ptr %8, align 8 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 store i32 %29, ptr %11, align 4 %30 = load i32, ptr %11, align 4 %31 = icmp eq i32 %30, 13 br i1 %31, label %35, label %32 32: ; preds = %26 %33 = load i32, ptr %11, align 4 %34 = icmp eq i32 %33, 10 br i1 %34, label %35, label %42 35: ; preds = %32, %26 %36 = load ptr, ptr %8, align 8 %37 = getelementptr inbounds i8, ptr %36, i32 1 store ptr %37, ptr %8, align 8 br label %.backedge .backedge: ; preds = %35, %51, %77 %38 = load ptr, ptr %8, align 8 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp ne i32 %40, 0 br i1 %41, label %26, label %._crit_edge, !llvm.loop !6 42: ; preds = %32 %43 = load i32, ptr %11, align 4 %44 = icmp eq i32 %43, 9 br i1 %44, label %48, label %45 45: ; preds = %42 %46 = load i32, ptr %11, align 4 %47 = icmp eq i32 %46, 32 br i1 %47, label %48, label %56 48: ; preds = %45, %42 store i32 32, ptr %11, align 4 %49 = load i32, ptr %7, align 4 %50 = icmp ne i32 %49, 0 br i1 %50, label %51, label %54 51: ; preds = %48 %52 = load ptr, ptr %8, align 8 %53 = getelementptr inbounds i8, ptr %52, i32 1 store ptr %53, ptr %8, align 8 br label %.backedge 54: ; preds = %48 store i32 1, ptr %7, align 4 br label %55 55: ; preds = %54 br label %71 56: ; preds = %45 %57 = load i32, ptr %6, align 4 %58 = icmp ne i32 %57, 0 br i1 %58, label %69, label %59 59: ; preds = %56 %60 = load i32, ptr %11, align 4 %61 = icmp eq i32 %60, 58 br i1 %61, label %62, label %69 62: ; preds = %59 %63 = load i32, ptr %7, align 4 %64 = icmp ne i32 %63, 0 br i1 %64, label %65, label %68 65: ; preds = %62 %66 = load ptr, ptr %9, align 8 %67 = getelementptr inbounds i8, ptr %66, i32 -1 store ptr %67, ptr %9, align 8 br label %68 68: ; preds = %65, %62 store i32 1, ptr %7, align 4 store i32 1, ptr %6, align 4 br label %70 69: ; preds = %59, %56 store i32 0, ptr %7, align 4 br label %70 70: ; preds = %69, %68 br label %71 71: ; preds = %70, %55 %72 = load i32, ptr %6, align 4 %73 = icmp ne i32 %72, 0 br i1 %73, label %77, label %74 74: ; preds = %71 %75 = load i32, ptr %11, align 4 %76 = call i32 @tolower(i32 noundef %75) #3 store i32 %76, ptr %11, align 4 br label %77 77: ; preds = %74, %71 %78 = load i32, ptr %11, align 4 %79 = trunc i32 %78 to i8 %80 = load ptr, ptr %9, align 8 store i8 %79, ptr %80, align 1 %81 = load ptr, ptr %8, align 8 %82 = getelementptr inbounds i8, ptr %81, i32 1 store ptr %82, ptr %8, align 8 %83 = load ptr, ptr %9, align 8 %84 = getelementptr inbounds i8, ptr %83, i32 1 store ptr %84, ptr %9, align 8 br label %.backedge ._crit_edge: ; preds = %.backedge br label %85 85: ; preds = %._crit_edge, %20 %86 = load ptr, ptr %9, align 8 store i8 0, ptr %86, align 1 %87 = load i32, ptr %5, align 4 %88 = icmp ne i32 %87, 0 br i1 %88, label %89, label %92 89: ; preds = %85 %90 = load ptr, ptr %10, align 8 %91 = call i32 @strcat(ptr noundef %90, ptr noundef @.str) br label %92 92: ; preds = %89, %85 %93 = load ptr, ptr %10, align 8 store ptr %93, ptr %3, align 8 br label %94 94: ; preds = %92, %19 %95 = load ptr, ptr %3, align 8 ret ptr %95 } declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @tolower(i32 noundef) #2 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnrl44kk4.c' source_filename = "/tmp/tmpnrl44kk4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 0, ptr %1, align 4 %3 = call i32 (...) @z() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp ne i32 %4, 96 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 (...) @abort() #3 unreachable 8: ; preds = %0 %9 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @z(...) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 ; 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/tmpnrl44kk4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 0, ptr %1, align 4 %3 = call i32 (...) @z() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp ne i32 %4, 96 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 (...) @abort() #3 unreachable 8: ; preds = %0 %9 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @z(...) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 ; 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/tmp6o8l2xcc.c' source_filename = "/tmp/tmp6o8l2xcc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdscr = dso_local global i32 0, align 4 @FALSE = dso_local global i32 0, align 4 @TRUE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init_curses() #0 { %1 = call i32 (...) @noecho() %2 = call i32 (...) @nonl() %3 = load i32, ptr @stdscr, align 4 %4 = load i32, ptr @FALSE, align 4 %5 = call i32 @intrflush(i32 noundef %3, i32 noundef %4) %6 = load i32, ptr @FALSE, align 4 %7 = call i32 @curs_set(i32 noundef %6) %8 = load i32, ptr @stdscr, align 4 %9 = load i32, ptr @TRUE, align 4 %10 = call i32 @keypad(i32 noundef %8, i32 noundef %9) %11 = call i32 (...) @start_color() ret void } declare i32 @noecho(...) #1 declare i32 @nonl(...) #1 declare i32 @intrflush(i32 noundef, i32 noundef) #1 declare i32 @curs_set(i32 noundef) #1 declare i32 @keypad(i32 noundef, i32 noundef) #1 declare i32 @start_color(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6o8l2xcc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdscr = dso_local global i32 0, align 4 @FALSE = dso_local global i32 0, align 4 @TRUE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init_curses() #0 { %1 = call i32 (...) @noecho() %2 = call i32 (...) @nonl() %3 = load i32, ptr @stdscr, align 4 %4 = load i32, ptr @FALSE, align 4 %5 = call i32 @intrflush(i32 noundef %3, i32 noundef %4) %6 = load i32, ptr @FALSE, align 4 %7 = call i32 @curs_set(i32 noundef %6) %8 = load i32, ptr @stdscr, align 4 %9 = load i32, ptr @TRUE, align 4 %10 = call i32 @keypad(i32 noundef %8, i32 noundef %9) %11 = call i32 (...) @start_color() ret void } declare i32 @noecho(...) #1 declare i32 @nonl(...) #1 declare i32 @intrflush(i32 noundef, i32 noundef) #1 declare i32 @curs_set(i32 noundef) #1 declare i32 @keypad(i32 noundef, i32 noundef) #1 declare i32 @start_color(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc8j3lkee.c' source_filename = "/tmp/tmpc8j3lkee.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld %ld\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [20 x i8] c"Wrong input format\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 0, ptr %6, align 8 store i64 0, ptr %7, align 8 store i64 0, ptr %8, align 8 store i64 0, ptr %9, align 8 store i64 0, ptr %10, align 8 store i64 0, ptr %11, align 8 store i64 0, ptr %12, align 8 store i64 0, ptr %13, align 8 store i64 0, ptr %14, align 8 store i64 0, ptr %15, align 8 store i64 0, ptr %16, align 8 store ptr null, ptr %17, align 8 store ptr null, ptr %18, align 8 store ptr null, ptr %19, align 8 store ptr null, ptr %20, align 8 %21 = call i32 @time(ptr noundef null) %22 = call i32 @srand(i32 noundef %21) %23 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %7, ptr noundef %8) %24 = icmp ne i32 %23, 2 br i1 %24, label %25, label %28 25: ; preds = %2 %26 = load i32, ptr @stderr, align 4 %27 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.1) br label %28 28: ; preds = %25, %2 %29 = load i64, ptr %7, align 8 %30 = mul i64 %29, 8 %31 = call i64 @malloc(i64 noundef %30) %32 = inttoptr i64 %31 to ptr store ptr %32, ptr %17, align 8 %33 = load i64, ptr %7, align 8 %34 = mul i64 %33, 8 %35 = call i64 @malloc(i64 noundef %34) %36 = inttoptr i64 %35 to ptr store ptr %36, ptr %19, align 8 store i64 0, ptr %6, align 8 %37 = load ptr, ptr %17, align 8 store ptr %37, ptr %18, align 8 br label %38 38: ; preds = %69, %28 %39 = load ptr, ptr %18, align 8 %40 = load ptr, ptr %17, align 8 %41 = load i64, ptr %7, align 8 %42 = getelementptr inbounds i64, ptr %40, i64 %41 %43 = icmp ult ptr %39, %42 br i1 %43, label %44, label %72 44: ; preds = %38 %45 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %10) %46 = icmp ne i32 %45, 1 br i1 %46, label %47, label %50 47: ; preds = %44 %48 = load i32, ptr @stderr, align 4 %49 = call i32 @fprintf(i32 noundef %48, ptr noundef @.str.1) br label %50 50: ; preds = %47, %44 %51 = load i64, ptr %10, align 8 %52 = load i64, ptr %8, align 8 %53 = sub nsw i64 %51, %52 %54 = load i64, ptr %16, align 8 %55 = add nsw i64 %54, %53 store i64 %55, ptr %16, align 8 %56 = load i64, ptr %16, align 8 %57 = load ptr, ptr %18, align 8 store i64 %56, ptr %57, align 8 %58 = load i64, ptr %6, align 8 %59 = load ptr, ptr %19, align 8 %60 = load i64, ptr %6, align 8 %61 = getelementptr inbounds i64, ptr %59, i64 %60 store i64 %58, ptr %61, align 8 %62 = load i64, ptr %8, align 8 %63 = load i64, ptr %10, align 8 %64 = icmp sle i64 %62, %63 br i1 %64, label %65, label %66 65: ; preds = %50 store i64 1, ptr %9, align 8 br label %66 66: ; preds = %65, %50 %67 = load i64, ptr %6, align 8 %68 = add nsw i64 %67, 1 store i64 %68, ptr %6, align 8 br label %69 69: ; preds = %66 %70 = load ptr, ptr %18, align 8 %71 = getelementptr inbounds i64, ptr %70, i32 1 store ptr %71, ptr %18, align 8 br label %38, !llvm.loop !6 72: ; preds = %38 %73 = load i64, ptr %9, align 8 %74 = icmp eq i64 %73, 0 br i1 %74, label %75, label %77 75: ; preds = %72 %76 = call i32 @printf(ptr noundef @.str.3, i64 noundef 0) br label %163 77: ; preds = %72 %78 = load ptr, ptr %17, align 8 %79 = load ptr, ptr %19, align 8 %80 = load i64, ptr %7, align 8 %81 = sub nsw i64 %80, 1 %82 = call i32 @quickSort(ptr noundef %78, ptr noundef %79, i32 noundef 0, i64 noundef %81) store i64 0, ptr %6, align 8 %83 = load ptr, ptr %19, align 8 %84 = load i64, ptr %83, align 8 store i64 %84, ptr %15, align 8 %85 = load ptr, ptr %19, align 8 store ptr %85, ptr %20, align 8 br label %86 86: ; preds = %120, %77 %87 = load ptr, ptr %20, align 8 %88 = load ptr, ptr %19, align 8 %89 = load i64, ptr %7, align 8 %90 = getelementptr inbounds i64, ptr %88, i64 %89 %91 = icmp ult ptr %87, %90 br i1 %91, label %92, label %123 92: ; preds = %86 %93 = load ptr, ptr %20, align 8 %94 = load i64, ptr %93, align 8 %95 = load i64, ptr %15, align 8 %96 = icmp slt i64 %94, %95 br i1 %96, label %97, label %100 97: ; preds = %92 %98 = load ptr, ptr %20, align 8 %99 = load i64, ptr %98, align 8 store i64 %99, ptr %15, align 8 br label %100 100: ; preds = %97, %92 %101 = load ptr, ptr %20, align 8 %102 = load i64, ptr %101, align 8 %103 = load i64, ptr %15, align 8 %104 = sub nsw i64 %102, %103 store i64 %104, ptr %11, align 8 %105 = load i64, ptr %11, align 8 %106 = load i64, ptr %14, align 8 %107 = icmp sgt i64 %105, %106 br i1 %107, label %108, label %117 108: ; preds = %100 %109 = load i64, ptr %15, align 8 store i64 %109, ptr %12, align 8 %110 = load ptr, ptr %20, align 8 %111 = load i64, ptr %110, align 8 store i64 %111, ptr %13, align 8 %112 = load ptr, ptr %17, align 8 %113 = load i64, ptr %6, align 8 %114 = getelementptr inbounds i64, ptr %112, i64 %113 %115 = load i64, ptr %114, align 8 store i64 %115, ptr %16, align 8 %116 = load i64, ptr %11, align 8 store i64 %116, ptr %14, align 8 br label %117 117: ; preds = %108, %100 %118 = load i64, ptr %6, align 8 %119 = add nsw i64 %118, 1 store i64 %119, ptr %6, align 8 br label %120 120: ; preds = %117 %121 = load ptr, ptr %20, align 8 %122 = getelementptr inbounds i64, ptr %121, i32 1 store ptr %122, ptr %20, align 8 br label %86, !llvm.loop !8 123: ; preds = %86 %124 = load i64, ptr %12, align 8 %125 = icmp eq i64 %124, 0 br i1 %125, label %126, label %157 126: ; preds = %123 %127 = load i64, ptr %13, align 8 %128 = load i64, ptr %12, align 8 %129 = sub nsw i64 %127, %128 %130 = load i64, ptr %6, align 8 %131 = add nsw i64 %129, %130 %132 = load i64, ptr %8, align 8 %133 = mul nsw i64 %131, %132 %134 = load i64, ptr %16, align 8 %135 = add nsw i64 %134, %133 store i64 %135, ptr %16, align 8 %136 = load i64, ptr %13, align 8 %137 = load i64, ptr %12, align 8 %138 = sub nsw i64 %136, %137 %139 = add nsw i64 %138, 1 %140 = load i64, ptr %8, align 8 %141 = mul nsw i64 %139, %140 store i64 %141, ptr %8, align 8 %142 = load i64, ptr %16, align 8 %143 = load i64, ptr %8, align 8 %144 = icmp sge i64 %142, %143 br i1 %144, label %145, label %151 145: ; preds = %126 %146 = load i64, ptr %13, align 8 %147 = load i64, ptr %12, align 8 %148 = sub nsw i64 %146, %147 %149 = add nsw i64 %148, 1 %150 = call i32 @printf(ptr noundef @.str.4, i64 noundef %149) br label %156 151: ; preds = %126 %152 = load i64, ptr %13, align 8 %153 = load i64, ptr %12, align 8 %154 = sub nsw i64 %152, %153 %155 = call i32 @printf(ptr noundef @.str.4, i64 noundef %154) br label %156 156: ; preds = %151, %145 br label %162 157: ; preds = %123 %158 = load i64, ptr %13, align 8 %159 = load i64, ptr %12, align 8 %160 = sub nsw i64 %158, %159 %161 = call i32 @printf(ptr noundef @.str.4, i64 noundef %160) br label %162 162: ; preds = %157, %156 br label %163 163: ; preds = %162, %75 ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 declare i32 @quickSort(ptr noundef, ptr noundef, i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc8j3lkee.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld %ld\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [20 x i8] c"Wrong input format\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 0, ptr %6, align 8 store i64 0, ptr %7, align 8 store i64 0, ptr %8, align 8 store i64 0, ptr %9, align 8 store i64 0, ptr %10, align 8 store i64 0, ptr %11, align 8 store i64 0, ptr %12, align 8 store i64 0, ptr %13, align 8 store i64 0, ptr %14, align 8 store i64 0, ptr %15, align 8 store i64 0, ptr %16, align 8 store ptr null, ptr %17, align 8 store ptr null, ptr %18, align 8 store ptr null, ptr %19, align 8 store ptr null, ptr %20, align 8 %21 = call i32 @time(ptr noundef null) %22 = call i32 @srand(i32 noundef %21) %23 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %7, ptr noundef %8) %24 = icmp ne i32 %23, 2 br i1 %24, label %25, label %28 25: ; preds = %2 %26 = load i32, ptr @stderr, align 4 %27 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.1) br label %28 28: ; preds = %25, %2 %29 = load i64, ptr %7, align 8 %30 = mul i64 %29, 8 %31 = call i64 @malloc(i64 noundef %30) %32 = inttoptr i64 %31 to ptr store ptr %32, ptr %17, align 8 %33 = load i64, ptr %7, align 8 %34 = mul i64 %33, 8 %35 = call i64 @malloc(i64 noundef %34) %36 = inttoptr i64 %35 to ptr store ptr %36, ptr %19, align 8 store i64 0, ptr %6, align 8 %37 = load ptr, ptr %17, align 8 store ptr %37, ptr %18, align 8 %38 = load ptr, ptr %18, align 8 %39 = load ptr, ptr %17, align 8 %40 = load i64, ptr %7, align 8 %41 = getelementptr inbounds i64, ptr %39, i64 %40 %42 = icmp ult ptr %38, %41 br i1 %42, label %.lr.ph, label %76 .lr.ph: ; preds = %28 br label %43 43: ; preds = %.lr.ph, %68 %44 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %10) %45 = icmp ne i32 %44, 1 br i1 %45, label %46, label %49 46: ; preds = %43 %47 = load i32, ptr @stderr, align 4 %48 = call i32 @fprintf(i32 noundef %47, ptr noundef @.str.1) br label %49 49: ; preds = %46, %43 %50 = load i64, ptr %10, align 8 %51 = load i64, ptr %8, align 8 %52 = sub nsw i64 %50, %51 %53 = load i64, ptr %16, align 8 %54 = add nsw i64 %53, %52 store i64 %54, ptr %16, align 8 %55 = load i64, ptr %16, align 8 %56 = load ptr, ptr %18, align 8 store i64 %55, ptr %56, align 8 %57 = load i64, ptr %6, align 8 %58 = load ptr, ptr %19, align 8 %59 = load i64, ptr %6, align 8 %60 = getelementptr inbounds i64, ptr %58, i64 %59 store i64 %57, ptr %60, align 8 %61 = load i64, ptr %8, align 8 %62 = load i64, ptr %10, align 8 %63 = icmp sle i64 %61, %62 br i1 %63, label %64, label %65 64: ; preds = %49 store i64 1, ptr %9, align 8 br label %65 65: ; preds = %64, %49 %66 = load i64, ptr %6, align 8 %67 = add nsw i64 %66, 1 store i64 %67, ptr %6, align 8 br label %68 68: ; preds = %65 %69 = load ptr, ptr %18, align 8 %70 = getelementptr inbounds i64, ptr %69, i32 1 store ptr %70, ptr %18, align 8 %71 = load ptr, ptr %18, align 8 %72 = load ptr, ptr %17, align 8 %73 = load i64, ptr %7, align 8 %74 = getelementptr inbounds i64, ptr %72, i64 %73 %75 = icmp ult ptr %71, %74 br i1 %75, label %43, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %68 br label %76 76: ; preds = %._crit_edge, %28 %77 = load i64, ptr %9, align 8 %78 = icmp eq i64 %77, 0 br i1 %78, label %79, label %81 79: ; preds = %76 %80 = call i32 @printf(ptr noundef @.str.3, i64 noundef 0) br label %171 81: ; preds = %76 %82 = load ptr, ptr %17, align 8 %83 = load ptr, ptr %19, align 8 %84 = load i64, ptr %7, align 8 %85 = sub nsw i64 %84, 1 %86 = call i32 @quickSort(ptr noundef %82, ptr noundef %83, i32 noundef 0, i64 noundef %85) store i64 0, ptr %6, align 8 %87 = load ptr, ptr %19, align 8 %88 = load i64, ptr %87, align 8 store i64 %88, ptr %15, align 8 %89 = load ptr, ptr %19, align 8 store ptr %89, ptr %20, align 8 %90 = load ptr, ptr %20, align 8 %91 = load ptr, ptr %19, align 8 %92 = load i64, ptr %7, align 8 %93 = getelementptr inbounds i64, ptr %91, i64 %92 %94 = icmp ult ptr %90, %93 br i1 %94, label %.lr.ph2, label %131 .lr.ph2: ; preds = %81 br label %95 95: ; preds = %.lr.ph2, %123 %96 = load ptr, ptr %20, align 8 %97 = load i64, ptr %96, align 8 %98 = load i64, ptr %15, align 8 %99 = icmp slt i64 %97, %98 br i1 %99, label %100, label %103 100: ; preds = %95 %101 = load ptr, ptr %20, align 8 %102 = load i64, ptr %101, align 8 store i64 %102, ptr %15, align 8 br label %103 103: ; preds = %100, %95 %104 = load ptr, ptr %20, align 8 %105 = load i64, ptr %104, align 8 %106 = load i64, ptr %15, align 8 %107 = sub nsw i64 %105, %106 store i64 %107, ptr %11, align 8 %108 = load i64, ptr %11, align 8 %109 = load i64, ptr %14, align 8 %110 = icmp sgt i64 %108, %109 br i1 %110, label %111, label %120 111: ; preds = %103 %112 = load i64, ptr %15, align 8 store i64 %112, ptr %12, align 8 %113 = load ptr, ptr %20, align 8 %114 = load i64, ptr %113, align 8 store i64 %114, ptr %13, align 8 %115 = load ptr, ptr %17, align 8 %116 = load i64, ptr %6, align 8 %117 = getelementptr inbounds i64, ptr %115, i64 %116 %118 = load i64, ptr %117, align 8 store i64 %118, ptr %16, align 8 %119 = load i64, ptr %11, align 8 store i64 %119, ptr %14, align 8 br label %120 120: ; preds = %111, %103 %121 = load i64, ptr %6, align 8 %122 = add nsw i64 %121, 1 store i64 %122, ptr %6, align 8 br label %123 123: ; preds = %120 %124 = load ptr, ptr %20, align 8 %125 = getelementptr inbounds i64, ptr %124, i32 1 store ptr %125, ptr %20, align 8 %126 = load ptr, ptr %20, align 8 %127 = load ptr, ptr %19, align 8 %128 = load i64, ptr %7, align 8 %129 = getelementptr inbounds i64, ptr %127, i64 %128 %130 = icmp ult ptr %126, %129 br i1 %130, label %95, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %123 br label %131 131: ; preds = %._crit_edge3, %81 %132 = load i64, ptr %12, align 8 %133 = icmp eq i64 %132, 0 br i1 %133, label %134, label %165 134: ; preds = %131 %135 = load i64, ptr %13, align 8 %136 = load i64, ptr %12, align 8 %137 = sub nsw i64 %135, %136 %138 = load i64, ptr %6, align 8 %139 = add nsw i64 %137, %138 %140 = load i64, ptr %8, align 8 %141 = mul nsw i64 %139, %140 %142 = load i64, ptr %16, align 8 %143 = add nsw i64 %142, %141 store i64 %143, ptr %16, align 8 %144 = load i64, ptr %13, align 8 %145 = load i64, ptr %12, align 8 %146 = sub nsw i64 %144, %145 %147 = add nsw i64 %146, 1 %148 = load i64, ptr %8, align 8 %149 = mul nsw i64 %147, %148 store i64 %149, ptr %8, align 8 %150 = load i64, ptr %16, align 8 %151 = load i64, ptr %8, align 8 %152 = icmp sge i64 %150, %151 br i1 %152, label %153, label %159 153: ; preds = %134 %154 = load i64, ptr %13, align 8 %155 = load i64, ptr %12, align 8 %156 = sub nsw i64 %154, %155 %157 = add nsw i64 %156, 1 %158 = call i32 @printf(ptr noundef @.str.4, i64 noundef %157) br label %164 159: ; preds = %134 %160 = load i64, ptr %13, align 8 %161 = load i64, ptr %12, align 8 %162 = sub nsw i64 %160, %161 %163 = call i32 @printf(ptr noundef @.str.4, i64 noundef %162) br label %164 164: ; preds = %159, %153 br label %170 165: ; preds = %131 %166 = load i64, ptr %13, align 8 %167 = load i64, ptr %12, align 8 %168 = sub nsw i64 %166, %167 %169 = call i32 @printf(ptr noundef @.str.4, i64 noundef %168) br label %170 170: ; preds = %165, %164 br label %171 171: ; preds = %170, %79 ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 declare i32 @quickSort(ptr noundef, ptr noundef, i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpqbrdiths.c' source_filename = "/tmp/tmpqbrdiths.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fc8150_scan_status(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i8, align 1 %13 = alloca i8, align 1 %14 = alloca i8, align 1 %15 = alloca i8, align 1 %16 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 7, ptr %4, align 4 store i32 16, ptr %5, align 4 store i32 10, ptr %6, align 4 store i32 100, ptr %7, align 4 store i32 12, ptr %8, align 4 store i32 105, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %16, align 4 br label %17 17: ; preds = %31, %1 %18 = load i32, ptr %16, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp ult i32 %18, %19 br i1 %20, label %21, label %34 21: ; preds = %17 %22 = load ptr, ptr %3, align 8 %23 = call i32 @bbm_read(ptr noundef %22, i32 noundef 12325, ptr noundef %12) %24 = load i8, ptr %12, align 1 %25 = zext i8 %24 to i32 %26 = and i32 %25, 1 %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %29 28: ; preds = %21 br label %34 29: ; preds = %21 %30 = call i32 @msWait(i32 noundef 10) br label %31 31: ; preds = %29 %32 = load i32, ptr %16, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %16, align 4 br label %17, !llvm.loop !6 34: ; preds = %28, %17 %35 = load i32, ptr %16, align 4 %36 = load i32, ptr %4, align 4 %37 = icmp eq i32 %35, %36 br i1 %37, label %38, label %39 38: ; preds = %34 store i32 1, ptr %2, align 4 br label %260 39: ; preds = %34 %40 = load ptr, ptr %3, align 8 %41 = call i32 @tuner_get_rssi(ptr noundef %40, ptr noundef %11) %42 = load i32, ptr %11, align 4 %43 = icmp slt i32 %42, -107 br i1 %43, label %44, label %45 44: ; preds = %39 store i32 1, ptr %2, align 4 br label %260 45: ; preds = %39 br label %46 46: ; preds = %60, %45 %47 = load i32, ptr %16, align 4 %48 = load i32, ptr %5, align 4 %49 = icmp ult i32 %47, %48 br i1 %49, label %50, label %63 50: ; preds = %46 %51 = load ptr, ptr %3, align 8 %52 = call i32 @bbm_read(ptr noundef %51, i32 noundef 12325, ptr noundef %12) %53 = load i8, ptr %12, align 1 %54 = zext i8 %53 to i32 %55 = and i32 %54, 8 %56 = icmp ne i32 %55, 0 br i1 %56, label %57, label %58 57: ; preds = %50 br label %63 58: ; preds = %50 %59 = call i32 @msWait(i32 noundef 10) br label %60 60: ; preds = %58 %61 = load i32, ptr %16, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %16, align 4 br label %46, !llvm.loop !8 63: ; preds = %57, %46 %64 = load i32, ptr %16, align 4 %65 = load i32, ptr %5, align 4 %66 = icmp eq i32 %64, %65 br i1 %66, label %67, label %68 67: ; preds = %63 store i32 1, ptr %2, align 4 br label %260 68: ; preds = %63 %69 = load i8, ptr %12, align 1 %70 = zext i8 %69 to i32 %71 = and i32 %70, 4 %72 = icmp eq i32 0, %71 br i1 %72, label %73, label %74 73: ; preds = %68 store i32 1, ptr %2, align 4 br label %260 74: ; preds = %68 br label %75 75: ; preds = %89, %74 %76 = load i32, ptr %16, align 4 %77 = load i32, ptr %6, align 4 %78 = icmp ult i32 %76, %77 br i1 %78, label %79, label %92 79: ; preds = %75 %80 = load ptr, ptr %3, align 8 %81 = call i32 @bbm_read(ptr noundef %80, i32 noundef 12326, ptr noundef %12) %82 = load i8, ptr %12, align 1 %83 = zext i8 %82 to i32 %84 = and i32 %83, 16 %85 = icmp ne i32 %84, 0 br i1 %85, label %86, label %87 86: ; preds = %79 br label %92 87: ; preds = %79 %88 = call i32 @msWait(i32 noundef 10) br label %89 89: ; preds = %87 %90 = load i32, ptr %16, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %16, align 4 br label %75, !llvm.loop !9 92: ; preds = %86, %75 %93 = load i32, ptr %16, align 4 %94 = load i32, ptr %6, align 4 %95 = icmp eq i32 %93, %94 br i1 %95, label %96, label %97 96: ; preds = %92 store i32 1, ptr %2, align 4 br label %260 97: ; preds = %92 store i32 0, ptr %16, align 4 br label %98 98: ; preds = %112, %97 %99 = load i32, ptr %16, align 4 %100 = load i32, ptr %7, align 4 %101 = icmp ult i32 %99, %100 br i1 %101, label %102, label %115 102: ; preds = %98 %103 = load ptr, ptr %3, align 8 %104 = call i32 @bbm_read(ptr noundef %103, i32 noundef 12326, ptr noundef %12) %105 = load i8, ptr %12, align 1 %106 = zext i8 %105 to i32 %107 = and i32 %106, 1 %108 = icmp ne i32 %107, 0 br i1 %108, label %109, label %110 109: ; preds = %102 br label %115 110: ; preds = %102 %111 = call i32 @msWait(i32 noundef 10) br label %112 112: ; preds = %110 %113 = load i32, ptr %16, align 4 %114 = add nsw i32 %113, 1 store i32 %114, ptr %16, align 4 br label %98, !llvm.loop !10 115: ; preds = %109, %98 %116 = load i32, ptr %16, align 4 %117 = load i32, ptr %7, align 4 %118 = icmp eq i32 %116, %117 br i1 %118, label %119, label %120 119: ; preds = %115 store i32 1, ptr %2, align 4 br label %260 120: ; preds = %115 store i32 0, ptr %16, align 4 br label %121 121: ; preds = %135, %120 %122 = load i32, ptr %16, align 4 %123 = load i32, ptr %8, align 4 %124 = icmp ult i32 %122, %123 br i1 %124, label %125, label %138 125: ; preds = %121 %126 = load ptr, ptr %3, align 8 %127 = call i32 @bbm_read(ptr noundef %126, i32 noundef 12325, ptr noundef %12) %128 = load i8, ptr %12, align 1 %129 = zext i8 %128 to i32 %130 = and i32 %129, 64 %131 = icmp ne i32 %130, 0 br i1 %131, label %132, label %133 132: ; preds = %125 br label %138 133: ; preds = %125 %134 = call i32 @msWait(i32 noundef 10) br label %135 135: ; preds = %133 %136 = load i32, ptr %16, align 4 %137 = add nsw i32 %136, 1 store i32 %137, ptr %16, align 4 br label %121, !llvm.loop !11 138: ; preds = %132, %121 %139 = load i32, ptr %16, align 4 %140 = load i32, ptr %8, align 4 %141 = icmp eq i32 %139, %140 br i1 %141, label %142, label %143 142: ; preds = %138 store i32 1, ptr %2, align 4 br label %260 143: ; preds = %138 %144 = load ptr, ptr %3, align 8 %145 = call i32 @bbm_read(ptr noundef %144, i32 noundef 8227, ptr noundef %13) %146 = load i8, ptr %13, align 1 %147 = zext i8 %146 to i32 %148 = and i32 %147, 1 %149 = icmp ne i32 %148, 0 br i1 %149, label %150, label %151 150: ; preds = %143 store i32 1, ptr %2, align 4 br label %260 151: ; preds = %143 store i32 0, ptr %16, align 4 br label %152 152: ; preds = %166, %151 %153 = load i32, ptr %16, align 4 %154 = load i32, ptr %9, align 4 %155 = icmp ult i32 %153, %154 br i1 %155, label %156, label %169 156: ; preds = %152 %157 = load ptr, ptr %3, align 8 %158 = call i32 @bbm_read(ptr noundef %157, i32 noundef 12326, ptr noundef %12) %159 = load i8, ptr %12, align 1 %160 = zext i8 %159 to i32 %161 = and i32 %160, 2 %162 = icmp ne i32 %161, 0 br i1 %162, label %163, label %164 163: ; preds = %156 br label %169 164: ; preds = %156 %165 = call i32 @msWait(i32 noundef 10) br label %166 166: ; preds = %164 %167 = load i32, ptr %16, align 4 %168 = add nsw i32 %167, 1 store i32 %168, ptr %16, align 4 br label %152, !llvm.loop !12 169: ; preds = %163, %152 %170 = load i32, ptr %16, align 4 %171 = load i32, ptr %9, align 4 %172 = icmp eq i32 %170, %171 br i1 %172, label %173, label %174 173: ; preds = %169 store i32 1, ptr %2, align 4 br label %260 174: ; preds = %169 %175 = load ptr, ptr %3, align 8 %176 = call i32 @bbm_read(ptr noundef %175, i32 noundef 16659, ptr noundef %12) %177 = load ptr, ptr %3, align 8 %178 = call i32 @bbm_read(ptr noundef %177, i32 noundef 16660, ptr noundef %13) %179 = load i8, ptr %12, align 1 %180 = zext i8 %179 to i32 %181 = ashr i32 %180, 3 %182 = and i32 %181, 1 %183 = icmp eq i32 %182, 0 br i1 %183, label %184, label %185 184: ; preds = %174 store i32 1, ptr %2, align 4 br label %260 185: ; preds = %174 %186 = load i8, ptr %12, align 1 %187 = zext i8 %186 to i32 %188 = and i32 %187, 16 %189 = ashr i32 %188, 2 %190 = load i8, ptr %12, align 1 %191 = zext i8 %190 to i32 %192 = and i32 %191, 32 %193 = ashr i32 %192, 4 %194 = or i32 %189, %193 %195 = load i8, ptr %12, align 1 %196 = zext i8 %195 to i32 %197 = and i32 %196, 64 %198 = ashr i32 %197, 6 %199 = or i32 %194, %198 %200 = trunc i32 %199 to i8 store i8 %200, ptr %14, align 1 %201 = load i8, ptr %12, align 1 %202 = zext i8 %201 to i32 %203 = and i32 %202, 128 %204 = ashr i32 %203, 5 %205 = load i8, ptr %13, align 1 %206 = zext i8 %205 to i32 %207 = and i32 %206, 1 %208 = shl i32 %207, 1 %209 = or i32 %204, %208 %210 = load i8, ptr %13, align 1 %211 = zext i8 %210 to i32 %212 = and i32 %211, 2 %213 = ashr i32 %212, 1 %214 = or i32 %209, %213 %215 = trunc i32 %214 to i8 store i8 %215, ptr %15, align 1 %216 = load i8, ptr %14, align 1 %217 = zext i8 %216 to i32 %218 = icmp eq i32 %217, 1 br i1 %218, label %224, label %219 219: ; preds = %185 %220 = load i8, ptr %14, align 1 %221 = zext i8 %220 to i32 %222 = icmp eq i32 %221, 2 br i1 %222, label %224, label %223 223: ; preds = %219 store i32 1, ptr %2, align 4 br label %260 224: ; preds = %219, %185 %225 = load i8, ptr %12, align 1 %226 = zext i8 %225 to i32 %227 = and i32 112, %226 %228 = icmp eq i32 %227, 64 br i1 %228, label %229, label %235 229: ; preds = %224 %230 = load i8, ptr %13, align 1 %231 = zext i8 %230 to i32 %232 = and i32 28, %231 %233 = icmp eq i32 %232, 24 br i1 %233, label %234, label %235 234: ; preds = %229 store i32 40, ptr %10, align 4 br label %236 235: ; preds = %229, %224 store i32 65, ptr %10, align 4 br label %236 236: ; preds = %235, %234 store i32 0, ptr %16, align 4 br label %237 237: ; preds = %251, %236 %238 = load i32, ptr %16, align 4 %239 = load i32, ptr %10, align 4 %240 = icmp ult i32 %238, %239 br i1 %240, label %241, label %254 241: ; preds = %237 %242 = load ptr, ptr %3, align 8 %243 = call i32 @bbm_read(ptr noundef %242, i32 noundef 20563, ptr noundef %12) %244 = load i8, ptr %12, align 1 %245 = zext i8 %244 to i32 %246 = and i32 %245, 1 %247 = icmp ne i32 %246, 0 br i1 %247, label %248, label %249 248: ; preds = %241 br label %254 249: ; preds = %241 %250 = call i32 @msWait(i32 noundef 10) br label %251 251: ; preds = %249 %252 = load i32, ptr %16, align 4 %253 = add nsw i32 %252, 1 store i32 %253, ptr %16, align 4 br label %237, !llvm.loop !13 254: ; preds = %248, %237 %255 = load i32, ptr %16, align 4 %256 = load i32, ptr %10, align 4 %257 = icmp eq i32 %255, %256 br i1 %257, label %258, label %259 258: ; preds = %254 store i32 1, ptr %2, align 4 br label %260 259: ; preds = %254 store i32 0, ptr %2, align 4 br label %260 260: ; preds = %259, %258, %223, %184, %173, %150, %142, %119, %96, %73, %67, %44, %38 %261 = load i32, ptr %2, align 4 ret i32 %261 } declare i32 @bbm_read(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @msWait(i32 noundef) #1 declare i32 @tuner_get_rssi(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqbrdiths.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fc8150_scan_status(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i8, align 1 %13 = alloca i8, align 1 %14 = alloca i8, align 1 %15 = alloca i8, align 1 %16 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 7, ptr %4, align 4 store i32 16, ptr %5, align 4 store i32 10, ptr %6, align 4 store i32 100, ptr %7, align 4 store i32 12, ptr %8, align 4 store i32 105, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %16, align 4 %17 = load i32, ptr %16, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp ult i32 %17, %18 br i1 %19, label %.lr.ph, label %.loopexit6 .lr.ph: ; preds = %1 br label %20 20: ; preds = %.lr.ph, %30 %21 = load ptr, ptr %3, align 8 %22 = call i32 @bbm_read(ptr noundef %21, i32 noundef 12325, ptr noundef %12) %23 = load i8, ptr %12, align 1 %24 = zext i8 %23 to i32 %25 = and i32 %24, 1 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %20 br label %36 28: ; preds = %20 %29 = call i32 @msWait(i32 noundef 10) br label %30 30: ; preds = %28 %31 = load i32, ptr %16, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %16, align 4 %33 = load i32, ptr %16, align 4 %34 = load i32, ptr %4, align 4 %35 = icmp ult i32 %33, %34 br i1 %35, label %20, label %..loopexit6_crit_edge, !llvm.loop !6 ..loopexit6_crit_edge: ; preds = %30 br label %.loopexit6 .loopexit6: ; preds = %..loopexit6_crit_edge, %1 br label %36 36: ; preds = %.loopexit6, %27 %37 = load i32, ptr %16, align 4 %38 = load i32, ptr %4, align 4 %39 = icmp eq i32 %37, %38 br i1 %39, label %40, label %41 40: ; preds = %36 store i32 1, ptr %2, align 4 br label %274 41: ; preds = %36 %42 = load ptr, ptr %3, align 8 %43 = call i32 @tuner_get_rssi(ptr noundef %42, ptr noundef %11) %44 = load i32, ptr %11, align 4 %45 = icmp slt i32 %44, -107 br i1 %45, label %46, label %47 46: ; preds = %41 store i32 1, ptr %2, align 4 br label %274 47: ; preds = %41 %48 = load i32, ptr %16, align 4 %49 = load i32, ptr %5, align 4 %50 = icmp ult i32 %48, %49 br i1 %50, label %.lr.ph7, label %.loopexit5 .lr.ph7: ; preds = %47 br label %51 51: ; preds = %.lr.ph7, %61 %52 = load ptr, ptr %3, align 8 %53 = call i32 @bbm_read(ptr noundef %52, i32 noundef 12325, ptr noundef %12) %54 = load i8, ptr %12, align 1 %55 = zext i8 %54 to i32 %56 = and i32 %55, 8 %57 = icmp ne i32 %56, 0 br i1 %57, label %58, label %59 58: ; preds = %51 br label %67 59: ; preds = %51 %60 = call i32 @msWait(i32 noundef 10) br label %61 61: ; preds = %59 %62 = load i32, ptr %16, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %16, align 4 %64 = load i32, ptr %16, align 4 %65 = load i32, ptr %5, align 4 %66 = icmp ult i32 %64, %65 br i1 %66, label %51, label %..loopexit5_crit_edge, !llvm.loop !8 ..loopexit5_crit_edge: ; preds = %61 br label %.loopexit5 .loopexit5: ; preds = %..loopexit5_crit_edge, %47 br label %67 67: ; preds = %.loopexit5, %58 %68 = load i32, ptr %16, align 4 %69 = load i32, ptr %5, align 4 %70 = icmp eq i32 %68, %69 br i1 %70, label %71, label %72 71: ; preds = %67 store i32 1, ptr %2, align 4 br label %274 72: ; preds = %67 %73 = load i8, ptr %12, align 1 %74 = zext i8 %73 to i32 %75 = and i32 %74, 4 %76 = icmp eq i32 0, %75 br i1 %76, label %77, label %78 77: ; preds = %72 store i32 1, ptr %2, align 4 br label %274 78: ; preds = %72 %79 = load i32, ptr %16, align 4 %80 = load i32, ptr %6, align 4 %81 = icmp ult i32 %79, %80 br i1 %81, label %.lr.ph8, label %.loopexit4 .lr.ph8: ; preds = %78 br label %82 82: ; preds = %.lr.ph8, %92 %83 = load ptr, ptr %3, align 8 %84 = call i32 @bbm_read(ptr noundef %83, i32 noundef 12326, ptr noundef %12) %85 = load i8, ptr %12, align 1 %86 = zext i8 %85 to i32 %87 = and i32 %86, 16 %88 = icmp ne i32 %87, 0 br i1 %88, label %89, label %90 89: ; preds = %82 br label %98 90: ; preds = %82 %91 = call i32 @msWait(i32 noundef 10) br label %92 92: ; preds = %90 %93 = load i32, ptr %16, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %16, align 4 %95 = load i32, ptr %16, align 4 %96 = load i32, ptr %6, align 4 %97 = icmp ult i32 %95, %96 br i1 %97, label %82, label %..loopexit4_crit_edge, !llvm.loop !9 ..loopexit4_crit_edge: ; preds = %92 br label %.loopexit4 .loopexit4: ; preds = %..loopexit4_crit_edge, %78 br label %98 98: ; preds = %.loopexit4, %89 %99 = load i32, ptr %16, align 4 %100 = load i32, ptr %6, align 4 %101 = icmp eq i32 %99, %100 br i1 %101, label %102, label %103 102: ; preds = %98 store i32 1, ptr %2, align 4 br label %274 103: ; preds = %98 store i32 0, ptr %16, align 4 %104 = load i32, ptr %16, align 4 %105 = load i32, ptr %7, align 4 %106 = icmp ult i32 %104, %105 br i1 %106, label %.lr.ph9, label %.loopexit3 .lr.ph9: ; preds = %103 br label %107 107: ; preds = %.lr.ph9, %117 %108 = load ptr, ptr %3, align 8 %109 = call i32 @bbm_read(ptr noundef %108, i32 noundef 12326, ptr noundef %12) %110 = load i8, ptr %12, align 1 %111 = zext i8 %110 to i32 %112 = and i32 %111, 1 %113 = icmp ne i32 %112, 0 br i1 %113, label %114, label %115 114: ; preds = %107 br label %123 115: ; preds = %107 %116 = call i32 @msWait(i32 noundef 10) br label %117 117: ; preds = %115 %118 = load i32, ptr %16, align 4 %119 = add nsw i32 %118, 1 store i32 %119, ptr %16, align 4 %120 = load i32, ptr %16, align 4 %121 = load i32, ptr %7, align 4 %122 = icmp ult i32 %120, %121 br i1 %122, label %107, label %..loopexit3_crit_edge, !llvm.loop !10 ..loopexit3_crit_edge: ; preds = %117 br label %.loopexit3 .loopexit3: ; preds = %..loopexit3_crit_edge, %103 br label %123 123: ; preds = %.loopexit3, %114 %124 = load i32, ptr %16, align 4 %125 = load i32, ptr %7, align 4 %126 = icmp eq i32 %124, %125 br i1 %126, label %127, label %128 127: ; preds = %123 store i32 1, ptr %2, align 4 br label %274 128: ; preds = %123 store i32 0, ptr %16, align 4 %129 = load i32, ptr %16, align 4 %130 = load i32, ptr %8, align 4 %131 = icmp ult i32 %129, %130 br i1 %131, label %.lr.ph10, label %.loopexit2 .lr.ph10: ; preds = %128 br label %132 132: ; preds = %.lr.ph10, %142 %133 = load ptr, ptr %3, align 8 %134 = call i32 @bbm_read(ptr noundef %133, i32 noundef 12325, ptr noundef %12) %135 = load i8, ptr %12, align 1 %136 = zext i8 %135 to i32 %137 = and i32 %136, 64 %138 = icmp ne i32 %137, 0 br i1 %138, label %139, label %140 139: ; preds = %132 br label %148 140: ; preds = %132 %141 = call i32 @msWait(i32 noundef 10) br label %142 142: ; preds = %140 %143 = load i32, ptr %16, align 4 %144 = add nsw i32 %143, 1 store i32 %144, ptr %16, align 4 %145 = load i32, ptr %16, align 4 %146 = load i32, ptr %8, align 4 %147 = icmp ult i32 %145, %146 br i1 %147, label %132, label %..loopexit2_crit_edge, !llvm.loop !11 ..loopexit2_crit_edge: ; preds = %142 br label %.loopexit2 .loopexit2: ; preds = %..loopexit2_crit_edge, %128 br label %148 148: ; preds = %.loopexit2, %139 %149 = load i32, ptr %16, align 4 %150 = load i32, ptr %8, align 4 %151 = icmp eq i32 %149, %150 br i1 %151, label %152, label %153 152: ; preds = %148 store i32 1, ptr %2, align 4 br label %274 153: ; preds = %148 %154 = load ptr, ptr %3, align 8 %155 = call i32 @bbm_read(ptr noundef %154, i32 noundef 8227, ptr noundef %13) %156 = load i8, ptr %13, align 1 %157 = zext i8 %156 to i32 %158 = and i32 %157, 1 %159 = icmp ne i32 %158, 0 br i1 %159, label %160, label %161 160: ; preds = %153 store i32 1, ptr %2, align 4 br label %274 161: ; preds = %153 store i32 0, ptr %16, align 4 %162 = load i32, ptr %16, align 4 %163 = load i32, ptr %9, align 4 %164 = icmp ult i32 %162, %163 br i1 %164, label %.lr.ph11, label %.loopexit1 .lr.ph11: ; preds = %161 br label %165 165: ; preds = %.lr.ph11, %175 %166 = load ptr, ptr %3, align 8 %167 = call i32 @bbm_read(ptr noundef %166, i32 noundef 12326, ptr noundef %12) %168 = load i8, ptr %12, align 1 %169 = zext i8 %168 to i32 %170 = and i32 %169, 2 %171 = icmp ne i32 %170, 0 br i1 %171, label %172, label %173 172: ; preds = %165 br label %181 173: ; preds = %165 %174 = call i32 @msWait(i32 noundef 10) br label %175 175: ; preds = %173 %176 = load i32, ptr %16, align 4 %177 = add nsw i32 %176, 1 store i32 %177, ptr %16, align 4 %178 = load i32, ptr %16, align 4 %179 = load i32, ptr %9, align 4 %180 = icmp ult i32 %178, %179 br i1 %180, label %165, label %..loopexit1_crit_edge, !llvm.loop !12 ..loopexit1_crit_edge: ; preds = %175 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %161 br label %181 181: ; preds = %.loopexit1, %172 %182 = load i32, ptr %16, align 4 %183 = load i32, ptr %9, align 4 %184 = icmp eq i32 %182, %183 br i1 %184, label %185, label %186 185: ; preds = %181 store i32 1, ptr %2, align 4 br label %274 186: ; preds = %181 %187 = load ptr, ptr %3, align 8 %188 = call i32 @bbm_read(ptr noundef %187, i32 noundef 16659, ptr noundef %12) %189 = load ptr, ptr %3, align 8 %190 = call i32 @bbm_read(ptr noundef %189, i32 noundef 16660, ptr noundef %13) %191 = load i8, ptr %12, align 1 %192 = zext i8 %191 to i32 %193 = ashr i32 %192, 3 %194 = and i32 %193, 1 %195 = icmp eq i32 %194, 0 br i1 %195, label %196, label %197 196: ; preds = %186 store i32 1, ptr %2, align 4 br label %274 197: ; preds = %186 %198 = load i8, ptr %12, align 1 %199 = zext i8 %198 to i32 %200 = and i32 %199, 16 %201 = ashr i32 %200, 2 %202 = load i8, ptr %12, align 1 %203 = zext i8 %202 to i32 %204 = and i32 %203, 32 %205 = ashr i32 %204, 4 %206 = or i32 %201, %205 %207 = load i8, ptr %12, align 1 %208 = zext i8 %207 to i32 %209 = and i32 %208, 64 %210 = ashr i32 %209, 6 %211 = or i32 %206, %210 %212 = trunc i32 %211 to i8 store i8 %212, ptr %14, align 1 %213 = load i8, ptr %12, align 1 %214 = zext i8 %213 to i32 %215 = and i32 %214, 128 %216 = ashr i32 %215, 5 %217 = load i8, ptr %13, align 1 %218 = zext i8 %217 to i32 %219 = and i32 %218, 1 %220 = shl i32 %219, 1 %221 = or i32 %216, %220 %222 = load i8, ptr %13, align 1 %223 = zext i8 %222 to i32 %224 = and i32 %223, 2 %225 = ashr i32 %224, 1 %226 = or i32 %221, %225 %227 = trunc i32 %226 to i8 store i8 %227, ptr %15, align 1 %228 = load i8, ptr %14, align 1 %229 = zext i8 %228 to i32 %230 = icmp eq i32 %229, 1 br i1 %230, label %236, label %231 231: ; preds = %197 %232 = load i8, ptr %14, align 1 %233 = zext i8 %232 to i32 %234 = icmp eq i32 %233, 2 br i1 %234, label %236, label %235 235: ; preds = %231 store i32 1, ptr %2, align 4 br label %274 236: ; preds = %231, %197 %237 = load i8, ptr %12, align 1 %238 = zext i8 %237 to i32 %239 = and i32 112, %238 %240 = icmp eq i32 %239, 64 br i1 %240, label %241, label %247 241: ; preds = %236 %242 = load i8, ptr %13, align 1 %243 = zext i8 %242 to i32 %244 = and i32 28, %243 %245 = icmp eq i32 %244, 24 br i1 %245, label %246, label %247 246: ; preds = %241 store i32 40, ptr %10, align 4 br label %248 247: ; preds = %241, %236 store i32 65, ptr %10, align 4 br label %248 248: ; preds = %247, %246 store i32 0, ptr %16, align 4 %249 = load i32, ptr %16, align 4 %250 = load i32, ptr %10, align 4 %251 = icmp ult i32 %249, %250 br i1 %251, label %.lr.ph12, label %.loopexit .lr.ph12: ; preds = %248 br label %252 252: ; preds = %.lr.ph12, %262 %253 = load ptr, ptr %3, align 8 %254 = call i32 @bbm_read(ptr noundef %253, i32 noundef 20563, ptr noundef %12) %255 = load i8, ptr %12, align 1 %256 = zext i8 %255 to i32 %257 = and i32 %256, 1 %258 = icmp ne i32 %257, 0 br i1 %258, label %259, label %260 259: ; preds = %252 br label %268 260: ; preds = %252 %261 = call i32 @msWait(i32 noundef 10) br label %262 262: ; preds = %260 %263 = load i32, ptr %16, align 4 %264 = add nsw i32 %263, 1 store i32 %264, ptr %16, align 4 %265 = load i32, ptr %16, align 4 %266 = load i32, ptr %10, align 4 %267 = icmp ult i32 %265, %266 br i1 %267, label %252, label %..loopexit_crit_edge, !llvm.loop !13 ..loopexit_crit_edge: ; preds = %262 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %248 br label %268 268: ; preds = %.loopexit, %259 %269 = load i32, ptr %16, align 4 %270 = load i32, ptr %10, align 4 %271 = icmp eq i32 %269, %270 br i1 %271, label %272, label %273 272: ; preds = %268 store i32 1, ptr %2, align 4 br label %274 273: ; preds = %268 store i32 0, ptr %2, align 4 br label %274 274: ; preds = %273, %272, %235, %196, %185, %160, %152, %127, %102, %77, %71, %46, %40 %275 = load i32, ptr %2, align 4 ret i32 %275 } declare i32 @bbm_read(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @msWait(i32 noundef) #1 declare i32 @tuner_get_rssi(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7}
; ModuleID = '/tmp/tmppg_lcbg4.c' source_filename = "/tmp/tmppg_lcbg4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rpl_realloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %6 = load i64, ptr %5, align 8 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %2 store i64 1, ptr %5, align 8 br label %9 9: ; preds = %8, %2 %10 = load ptr, ptr %4, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %9 %13 = load i64, ptr %5, align 8 %14 = call ptr @malloc(i64 noundef %13) #3 store ptr %14, ptr %3, align 8 br label %19 15: ; preds = %9 %16 = load ptr, ptr %4, align 8 %17 = load i64, ptr %5, align 8 %18 = call ptr @realloc(ptr noundef %16, i64 noundef %17) #4 store ptr %18, ptr %3, align 8 br label %19 19: ; preds = %15, %12 %20 = load ptr, ptr %3, align 8 ret ptr %20 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0) } attributes #4 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppg_lcbg4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rpl_realloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %6 = load i64, ptr %5, align 8 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %2 store i64 1, ptr %5, align 8 br label %9 9: ; preds = %8, %2 %10 = load ptr, ptr %4, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %9 %13 = load i64, ptr %5, align 8 %14 = call ptr @malloc(i64 noundef %13) #3 store ptr %14, ptr %3, align 8 br label %19 15: ; preds = %9 %16 = load ptr, ptr %4, align 8 %17 = load i64, ptr %5, align 8 %18 = call ptr @realloc(ptr noundef %16, i64 noundef %17) #4 store ptr %18, ptr %3, align 8 br label %19 19: ; preds = %15, %12 %20 = load ptr, ptr %3, align 8 ret ptr %20 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0) } attributes #4 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqtpt3lgb.c' source_filename = "/tmp/tmpqtpt3lgb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @my_strdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store i64 0, ptr %5, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i64 @len(ptr noundef %6) store i64 %7, ptr %4, align 8 %8 = load i64, ptr %4, align 8 %9 = add i64 %8, 1 %10 = call ptr @malloc(i64 noundef %9) store ptr %10, ptr %3, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %14 12: ; preds = %1 %13 = call i32 @exit(i32 noundef 84) #3 unreachable 14: ; preds = %1 br label %15 15: ; preds = %22, %14 %16 = load ptr, ptr %2, align 8 %17 = load i64, ptr %5, align 8 %18 = getelementptr inbounds i8, ptr %16, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %32 22: ; preds = %15 %23 = load ptr, ptr %2, align 8 %24 = load i64, ptr %5, align 8 %25 = getelementptr inbounds i8, ptr %23, i64 %24 %26 = load i8, ptr %25, align 1 %27 = load ptr, ptr %3, align 8 %28 = load i64, ptr %5, align 8 %29 = getelementptr inbounds i8, ptr %27, i64 %28 store i8 %26, ptr %29, align 1 %30 = load i64, ptr %5, align 8 %31 = add i64 %30, 1 store i64 %31, ptr %5, align 8 br label %15, !llvm.loop !6 32: ; preds = %15 %33 = load ptr, ptr %3, align 8 %34 = load i64, ptr %5, align 8 %35 = getelementptr inbounds i8, ptr %33, i64 %34 store i8 0, ptr %35, align 1 %36 = load ptr, ptr %3, align 8 ret ptr %36 } declare i64 @len(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqtpt3lgb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @my_strdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store i64 0, ptr %5, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i64 @len(ptr noundef %6) store i64 %7, ptr %4, align 8 %8 = load i64, ptr %4, align 8 %9 = add i64 %8, 1 %10 = call ptr @malloc(i64 noundef %9) store ptr %10, ptr %3, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %14 12: ; preds = %1 %13 = call i32 @exit(i32 noundef 84) #3 unreachable 14: ; preds = %1 %15 = load ptr, ptr %2, align 8 %16 = load i64, ptr %5, align 8 %17 = getelementptr inbounds i8, ptr %15, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 0 br i1 %20, label %.lr.ph, label %37 .lr.ph: ; preds = %14 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %2, align 8 %23 = load i64, ptr %5, align 8 %24 = getelementptr inbounds i8, ptr %22, i64 %23 %25 = load i8, ptr %24, align 1 %26 = load ptr, ptr %3, align 8 %27 = load i64, ptr %5, align 8 %28 = getelementptr inbounds i8, ptr %26, i64 %27 store i8 %25, ptr %28, align 1 %29 = load i64, ptr %5, align 8 %30 = add i64 %29, 1 store i64 %30, ptr %5, align 8 %31 = load ptr, ptr %2, align 8 %32 = load i64, ptr %5, align 8 %33 = getelementptr inbounds i8, ptr %31, i64 %32 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 %35, 0 br i1 %36, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %37 37: ; preds = %._crit_edge, %14 %38 = load ptr, ptr %3, align 8 %39 = load i64, ptr %5, align 8 %40 = getelementptr inbounds i8, ptr %38, i64 %39 store i8 0, ptr %40, align 1 %41 = load ptr, ptr %3, align 8 ret ptr %41 } declare i64 @len(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}