llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmppq7vztks.c' source_filename = "/tmp/tmppq7vztks.c" target datalayout = "e-m:e-p270: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.rlimit = type { i32 } ; 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 %struct.rlimit, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 call void @llvm.memset.p0.i64(ptr align 4 %7, i8 0, i64 4, i1 false) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppq7vztks.c" target datalayout = "e-m:e-p270: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.rlimit = type { i32 } ; 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 %struct.rlimit, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 call void @llvm.memset.p0.i64(ptr align 4 %7, i8 0, i64 4, i1 false) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplx01jbkn.c' source_filename = "/tmp/tmplx01jbkn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"tLog Aux Panel\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"<u>Table Tips</u><br>\00", align 1 @.str.2 = private unnamed_addr constant [501 x i8] c"This table holds the non-archived logged and MD5 signed operations that have taken place in the system. Usually data is available here only for the current month. When possible context related info is provided below. Current unxsApache version does not save delete (Del) operation data.<p><a href=iDNS.cgi?gcFunction=tLogMonth>tLogMonth</a> allows access to all archived (read-only and compressed) monthly tLog data sets. These archives are created from the command line usually by crontab operation.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ExttLogButtons() #0 { %1 = call i32 @OpenFieldSet(ptr noundef @.str, i32 noundef 100) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 (...) @LogSummary() %5 = call i32 (...) @CloseFieldSet() ret void } declare i32 @OpenFieldSet(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @LogSummary(...) #1 declare i32 @CloseFieldSet(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplx01jbkn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"tLog Aux Panel\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"<u>Table Tips</u><br>\00", align 1 @.str.2 = private unnamed_addr constant [501 x i8] c"This table holds the non-archived logged and MD5 signed operations that have taken place in the system. Usually data is available here only for the current month. When possible context related info is provided below. Current unxsApache version does not save delete (Del) operation data.<p><a href=iDNS.cgi?gcFunction=tLogMonth>tLogMonth</a> allows access to all archived (read-only and compressed) monthly tLog data sets. These archives are created from the command line usually by crontab operation.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ExttLogButtons() #0 { %1 = call i32 @OpenFieldSet(ptr noundef @.str, i32 noundef 100) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 (...) @LogSummary() %5 = call i32 (...) @CloseFieldSet() ret void } declare i32 @OpenFieldSet(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @LogSummary(...) #1 declare i32 @CloseFieldSet(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvqm60lbj.c' source_filename = "/tmp/tmpvqm60lbj.c" target datalayout = "e-m:e-p270: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/tmpvqm60lbj.c" target datalayout = "e-m:e-p270: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/tmpxx2ypyin.c' source_filename = "/tmp/tmpxx2ypyin.c" target datalayout = "e-m:e-p270: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/tmpxx2ypyin.c" target datalayout = "e-m:e-p270: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/tmplk44mfkw.c' source_filename = "/tmp/tmplk44mfkw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 @foo(i32 noundef 5, i32 noundef 7) ret i32 0 } declare i32 @foo(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/tmplk44mfkw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 @foo(i32 noundef 5, i32 noundef 7) ret i32 0 } declare i32 @foo(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/tmpt4w0406i.c' source_filename = "/tmp/tmpt4w0406i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"calculating dot product of size: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"input_a: [ \00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%f \00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"].\0A\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"input_b: [ \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @dot_product_in_c(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca float, align 4 %9 = alloca ptr, align 8 %10 = 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 %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %11, align 8 store ptr %12, ptr %9, align 8 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %13, align 8 store ptr %14, ptr %10, align 8 store float 0.000000e+00, ptr %8, align 4 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %15, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %7, align 4 br label %19 19: ; preds = %32, %3 %20 = load i32, ptr %7, align 4 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %21, align 4 %23 = icmp slt i32 %20, %22 br i1 %23, label %24, label %35 24: ; preds = %19 %25 = load ptr, ptr %9, align 8 %26 = load i32, ptr %7, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds float, ptr %25, i64 %27 %29 = load float, ptr %28, align 4 %30 = fpext float %29 to double %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %30) br label %32 32: ; preds = %24 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %7, align 4 br label %19, !llvm.loop !6 35: ; preds = %19 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %7, align 4 br label %38 38: ; preds = %51, %35 %39 = load i32, ptr %7, align 4 %40 = load ptr, ptr %4, align 8 %41 = load i32, ptr %40, align 4 %42 = icmp slt i32 %39, %41 br i1 %42, label %43, label %54 43: ; preds = %38 %44 = load ptr, ptr %9, align 8 %45 = load i32, ptr %7, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds float, ptr %44, i64 %46 %48 = load float, ptr %47, align 4 %49 = fpext float %48 to double %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %49) br label %51 51: ; preds = %43 %52 = load i32, ptr %7, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %7, align 4 br label %38, !llvm.loop !8 54: ; preds = %38 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %7, align 4 br label %56 56: ; preds = %74, %54 %57 = load i32, ptr %7, align 4 %58 = load ptr, ptr %4, align 8 %59 = load i32, ptr %58, align 4 %60 = icmp slt i32 %57, %59 br i1 %60, label %61, label %77 61: ; preds = %56 %62 = load float, ptr %8, align 4 %63 = load ptr, ptr %9, align 8 %64 = load i32, ptr %7, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds float, ptr %63, i64 %65 %67 = load float, ptr %66, align 4 %68 = load ptr, ptr %10, align 8 %69 = load i32, ptr %7, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds float, ptr %68, i64 %70 %72 = load float, ptr %71, align 4 %73 = call float @llvm.fmuladd.f32(float %67, float %72, float %62) store float %73, ptr %8, align 4 br label %74 74: ; preds = %61 %75 = load i32, ptr %7, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %7, align 4 br label %56, !llvm.loop !9 77: ; preds = %56 %78 = load float, ptr %8, align 4 ret float %78 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt4w0406i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"calculating dot product of size: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"input_a: [ \00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%f \00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"].\0A\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"input_b: [ \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @dot_product_in_c(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca float, align 4 %9 = alloca ptr, align 8 %10 = 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 %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %11, align 8 store ptr %12, ptr %9, align 8 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %13, align 8 store ptr %14, ptr %10, align 8 store float 0.000000e+00, ptr %8, align 4 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %15, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %7, align 4 %19 = load i32, ptr %7, align 4 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %20, align 4 %22 = icmp slt i32 %19, %21 br i1 %22, label %.lr.ph, label %38 .lr.ph: ; preds = %3 br label %23 23: ; preds = %.lr.ph, %31 %24 = load ptr, ptr %9, align 8 %25 = load i32, ptr %7, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds float, ptr %24, i64 %26 %28 = load float, ptr %27, align 4 %29 = fpext float %28 to double %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %29) br label %31 31: ; preds = %23 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %7, align 4 %34 = load i32, ptr %7, align 4 %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %35, align 4 %37 = icmp slt i32 %34, %36 br i1 %37, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %38 38: ; preds = %._crit_edge, %3 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %7, align 4 %41 = load i32, ptr %7, align 4 %42 = load ptr, ptr %4, align 8 %43 = load i32, ptr %42, align 4 %44 = icmp slt i32 %41, %43 br i1 %44, label %.lr.ph2, label %60 .lr.ph2: ; preds = %38 br label %45 45: ; preds = %.lr.ph2, %53 %46 = load ptr, ptr %9, align 8 %47 = load i32, ptr %7, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds float, ptr %46, i64 %48 %50 = load float, ptr %49, align 4 %51 = fpext float %50 to double %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %51) br label %53 53: ; preds = %45 %54 = load i32, ptr %7, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %7, align 4 %56 = load i32, ptr %7, align 4 %57 = load ptr, ptr %4, align 8 %58 = load i32, ptr %57, align 4 %59 = icmp slt i32 %56, %58 br i1 %59, label %45, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %53 br label %60 60: ; preds = %._crit_edge3, %38 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %7, align 4 %62 = load i32, ptr %7, align 4 %63 = load ptr, ptr %4, align 8 %64 = load i32, ptr %63, align 4 %65 = icmp slt i32 %62, %64 br i1 %65, label %.lr.ph5, label %86 .lr.ph5: ; preds = %60 br label %66 66: ; preds = %.lr.ph5, %79 %67 = load float, ptr %8, align 4 %68 = load ptr, ptr %9, align 8 %69 = load i32, ptr %7, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds float, ptr %68, i64 %70 %72 = load float, ptr %71, align 4 %73 = load ptr, ptr %10, align 8 %74 = load i32, ptr %7, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds float, ptr %73, i64 %75 %77 = load float, ptr %76, align 4 %78 = call float @llvm.fmuladd.f32(float %72, float %77, float %67) store float %78, ptr %8, align 4 br label %79 79: ; preds = %66 %80 = load i32, ptr %7, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %7, align 4 %82 = load i32, ptr %7, align 4 %83 = load ptr, ptr %4, align 8 %84 = load i32, ptr %83, align 4 %85 = icmp slt i32 %82, %84 br i1 %85, label %66, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %79 br label %86 86: ; preds = %._crit_edge6, %60 %87 = load float, ptr %8, align 4 ret float %87 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpnpvv1lg0.c' source_filename = "/tmp/tmpnpvv1lg0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SendCommonPassword() #0 { %1 = call i32 (...) @ChangeCommonPassword() ret void } declare i32 @ChangeCommonPassword(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnpvv1lg0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SendCommonPassword() #0 { %1 = call i32 (...) @ChangeCommonPassword() ret void } declare i32 @ChangeCommonPassword(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2iix6m8i.c' source_filename = "/tmp/tmp2iix6m8i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FILENAME_MAX = dso_local global i32 0, align 4 @opterr = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [3 x i8] c"f:\00", align 1 @optarg = dso_local global ptr null, align 8 @optopt = dso_local global float 0.000000e+00, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"-f need a file name\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"-%c unknown option\0A\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"Unknown char %c\0A\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"fflag = %d, fvalue = %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [25 x i8] c"File does not exist: %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [26 x i8] c"No working on directories\00", align 1 @errno = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [17 x i8] c"\0Ahash value: %s\0A\00", align 1 @.str.9 = private unnamed_addr constant [10 x i8] c"\0A\0AError\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca [33 x i8], align 16 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 store ptr null, ptr %8, align 8 %14 = load i32, ptr @FILENAME_MAX, align 4 %15 = zext i32 %14 to i64 %16 = call ptr @llvm.stacksave() store ptr %16, ptr %10, align 8 %17 = alloca i8, i64 %15, align 16 store i64 %15, ptr %11, align 8 store i64 0, ptr @opterr, align 8 br label %18 18: ; preds = %51, %2 %19 = load i32, ptr %4, align 4 %20 = load ptr, ptr %5, align 8 %21 = call i32 @getopt(i32 noundef %19, ptr noundef %20, ptr noundef @.str) store i32 %21, ptr %9, align 4 %22 = icmp ne i32 %21, -1 br i1 %22, label %23, label %52 23: ; preds = %18 %24 = load i32, ptr %9, align 4 switch i32 %24, label %49 [ i32 102, label %25 i32 63, label %27 ] 25: ; preds = %23 %26 = load ptr, ptr @optarg, align 8 store ptr %26, ptr %8, align 8 store i32 1, ptr %7, align 4 br label %51 27: ; preds = %23 %28 = load float, ptr @optopt, align 4 %29 = fcmp oeq float %28, 1.020000e+02 br i1 %29, label %30, label %33 30: ; preds = %27 %31 = load i32, ptr @stderr, align 4 %32 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %31, ptr noundef @.str.1) store ptr @.str.2, ptr %8, align 8 br label %48 33: ; preds = %27 %34 = load float, ptr @optopt, align 4 %35 = call i32 @isprint(float noundef %34) %36 = icmp ne i32 %35, 0 br i1 %36, label %37, label %42 37: ; preds = %33 %38 = load i32, ptr @stderr, align 4 %39 = load float, ptr @optopt, align 4 %40 = fpext float %39 to double %41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %38, ptr noundef @.str.3, double noundef %40) store ptr @.str.2, ptr %8, align 8 br label %47 42: ; preds = %33 %43 = load i32, ptr @stderr, align 4 %44 = load float, ptr @optopt, align 4 %45 = fpext float %44 to double %46 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.4, double noundef %45) store ptr @.str.2, ptr %8, align 8 br label %47 47: ; preds = %42, %37 br label %48 48: ; preds = %47, %30 store i32 1, ptr %3, align 4 store i32 1, ptr %13, align 4 br label %92 49: ; preds = %23 %50 = call i32 @exit(i32 noundef 0) #4 unreachable 51: ; preds = %25 br label %18, !llvm.loop !6 52: ; preds = %18 %53 = load i32, ptr %7, align 4 %54 = load ptr, ptr %8, align 8 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %53, ptr noundef %54) %56 = load ptr, ptr %8, align 8 %57 = call i64 @file_exist(ptr noundef %56) %58 = icmp ne i64 %57, 0 br i1 %58, label %59, label %63 59: ; preds = %52 %60 = load i32, ptr @stderr, align 4 %61 = load ptr, ptr %8, align 8 %62 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %60, ptr noundef @.str.6, ptr noundef %61) store i32 -1, ptr %3, align 4 store i32 1, ptr %13, align 4 br label %92 63: ; preds = %52 %64 = load ptr, ptr %8, align 8 %65 = call i32 @is_directory(ptr noundef %64) %66 = icmp eq i32 %65, 1 br i1 %66, label %67, label %70 67: ; preds = %63 %68 = load i32, ptr @stderr, align 4 %69 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %68, ptr noundef @.str.7) store i32 -1, ptr %3, align 4 store i32 1, ptr %13, align 4 br label %92 70: ; preds = %63 %71 = trunc i64 %15 to i32 %72 = call ptr @getcwd(ptr noundef %17, i32 noundef %71) %73 = icmp ne ptr %72, null br i1 %73, label %74, label %79 74: ; preds = %70 %75 = load i32, ptr @stderr, align 4 %76 = load i32, ptr @errno, align 4 %77 = call ptr @strerror(i32 noundef %76) %78 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %75, ptr noundef %77) br label %79 79: ; preds = %74, %70 %80 = getelementptr inbounds [33 x i8], ptr %12, i64 0, i64 0 %81 = call i32 @memset(ptr noundef %80, i32 noundef 0, i32 noundef 33) %82 = load ptr, ptr %8, align 8 %83 = getelementptr inbounds [33 x i8], ptr %12, i64 0, i64 0 %84 = call i64 @ed2k_link(ptr noundef %82, ptr noundef %83) %85 = icmp ne i64 %84, 0 br i1 %85, label %86, label %89 86: ; preds = %79 %87 = getelementptr inbounds [33 x i8], ptr %12, i64 0, i64 0 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %87) br label %91 89: ; preds = %79 %90 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %91 91: ; preds = %89, %86 store i32 0, ptr %3, align 4 store i32 1, ptr %13, align 4 br label %92 92: ; preds = %91, %67, %59, %48 %93 = load ptr, ptr %10, align 8 call void @llvm.stackrestore(ptr %93) %94 = load i32, ptr %3, align 4 ret i32 %94 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #2 declare i32 @isprint(float noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @printf(ptr noundef, ...) #2 declare i64 @file_exist(ptr noundef) #2 declare i32 @is_directory(ptr noundef) #2 declare ptr @getcwd(ptr noundef, i32 noundef) #2 declare ptr @strerror(i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i64 @ed2k_link(ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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 = { 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/tmp2iix6m8i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FILENAME_MAX = dso_local global i32 0, align 4 @opterr = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [3 x i8] c"f:\00", align 1 @optarg = dso_local global ptr null, align 8 @optopt = dso_local global float 0.000000e+00, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"-f need a file name\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"-%c unknown option\0A\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"Unknown char %c\0A\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"fflag = %d, fvalue = %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [25 x i8] c"File does not exist: %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [26 x i8] c"No working on directories\00", align 1 @errno = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [17 x i8] c"\0Ahash value: %s\0A\00", align 1 @.str.9 = private unnamed_addr constant [10 x i8] c"\0A\0AError\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca [33 x i8], align 16 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 store ptr null, ptr %8, align 8 %14 = load i32, ptr @FILENAME_MAX, align 4 %15 = zext i32 %14 to i64 %16 = call ptr @llvm.stacksave() store ptr %16, ptr %10, align 8 %17 = alloca i8, i64 %15, align 16 store i64 %15, ptr %11, align 8 store i64 0, ptr @opterr, align 8 %18 = load i32, ptr %4, align 4 %19 = load ptr, ptr %5, align 8 %20 = call i32 @getopt(i32 noundef %18, ptr noundef %19, ptr noundef @.str) store i32 %20, ptr %9, align 4 %21 = icmp ne i32 %20, -1 br i1 %21, label %.lr.ph, label %55 .lr.ph: ; preds = %2 br label %22 22: ; preds = %.lr.ph, %50 %23 = load i32, ptr %9, align 4 switch i32 %23, label %48 [ i32 102, label %24 i32 63, label %26 ] 24: ; preds = %22 %25 = load ptr, ptr @optarg, align 8 store ptr %25, ptr %8, align 8 store i32 1, ptr %7, align 4 br label %50 26: ; preds = %22 %27 = load float, ptr @optopt, align 4 %28 = fcmp oeq float %27, 1.020000e+02 br i1 %28, label %29, label %32 29: ; preds = %26 %30 = load i32, ptr @stderr, align 4 %31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %30, ptr noundef @.str.1) store ptr @.str.2, ptr %8, align 8 br label %47 32: ; preds = %26 %33 = load float, ptr @optopt, align 4 %34 = call i32 @isprint(float noundef %33) %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %41 36: ; preds = %32 %37 = load i32, ptr @stderr, align 4 %38 = load float, ptr @optopt, align 4 %39 = fpext float %38 to double %40 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str.3, double noundef %39) store ptr @.str.2, ptr %8, align 8 br label %46 41: ; preds = %32 %42 = load i32, ptr @stderr, align 4 %43 = load float, ptr @optopt, align 4 %44 = fpext float %43 to double %45 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %42, ptr noundef @.str.4, double noundef %44) store ptr @.str.2, ptr %8, align 8 br label %46 46: ; preds = %41, %36 br label %47 47: ; preds = %46, %29 store i32 1, ptr %3, align 4 store i32 1, ptr %13, align 4 br label %95 48: ; preds = %22 %49 = call i32 @exit(i32 noundef 0) #4 unreachable 50: ; preds = %24 %51 = load i32, ptr %4, align 4 %52 = load ptr, ptr %5, align 8 %53 = call i32 @getopt(i32 noundef %51, ptr noundef %52, ptr noundef @.str) store i32 %53, ptr %9, align 4 %54 = icmp ne i32 %53, -1 br i1 %54, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %50 br label %55 55: ; preds = %._crit_edge, %2 %56 = load i32, ptr %7, align 4 %57 = load ptr, ptr %8, align 8 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %56, ptr noundef %57) %59 = load ptr, ptr %8, align 8 %60 = call i64 @file_exist(ptr noundef %59) %61 = icmp ne i64 %60, 0 br i1 %61, label %62, label %66 62: ; preds = %55 %63 = load i32, ptr @stderr, align 4 %64 = load ptr, ptr %8, align 8 %65 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %63, ptr noundef @.str.6, ptr noundef %64) store i32 -1, ptr %3, align 4 store i32 1, ptr %13, align 4 br label %95 66: ; preds = %55 %67 = load ptr, ptr %8, align 8 %68 = call i32 @is_directory(ptr noundef %67) %69 = icmp eq i32 %68, 1 br i1 %69, label %70, label %73 70: ; preds = %66 %71 = load i32, ptr @stderr, align 4 %72 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %71, ptr noundef @.str.7) store i32 -1, ptr %3, align 4 store i32 1, ptr %13, align 4 br label %95 73: ; preds = %66 %74 = trunc i64 %15 to i32 %75 = call ptr @getcwd(ptr noundef %17, i32 noundef %74) %76 = icmp ne ptr %75, null br i1 %76, label %77, label %82 77: ; preds = %73 %78 = load i32, ptr @stderr, align 4 %79 = load i32, ptr @errno, align 4 %80 = call ptr @strerror(i32 noundef %79) %81 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %78, ptr noundef %80) br label %82 82: ; preds = %77, %73 %83 = getelementptr inbounds [33 x i8], ptr %12, i64 0, i64 0 %84 = call i32 @memset(ptr noundef %83, i32 noundef 0, i32 noundef 33) %85 = load ptr, ptr %8, align 8 %86 = getelementptr inbounds [33 x i8], ptr %12, i64 0, i64 0 %87 = call i64 @ed2k_link(ptr noundef %85, ptr noundef %86) %88 = icmp ne i64 %87, 0 br i1 %88, label %89, label %92 89: ; preds = %82 %90 = getelementptr inbounds [33 x i8], ptr %12, i64 0, i64 0 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %90) br label %94 92: ; preds = %82 %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %94 94: ; preds = %92, %89 store i32 0, ptr %3, align 4 store i32 1, ptr %13, align 4 br label %95 95: ; preds = %94, %70, %62, %47 %96 = load ptr, ptr %10, align 8 call void @llvm.stackrestore(ptr %96) %97 = load i32, ptr %3, align 4 ret i32 %97 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #2 declare i32 @isprint(float noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @printf(ptr noundef, ...) #2 declare i64 @file_exist(ptr noundef) #2 declare i32 @is_directory(ptr noundef) #2 declare ptr @getcwd(ptr noundef, i32 noundef) #2 declare ptr @strerror(i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i64 @ed2k_link(ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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 = { 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/tmp57763oil.c' source_filename = "/tmp/tmp57763oil.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"pipe()\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"fork()\00", align 1 @SIGPIPE = dso_local global i32 0, align 4 @SIG_DFL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @filter(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 [2 x i32], align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %9 = call i64 @pipe(ptr noundef %8) %10 = icmp slt i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 @report(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %55 13: ; preds = %2 %14 = call i32 (...) @fork() store i32 %14, ptr %6, align 4 switch i32 %14, label %43 [ i32 -1, label %15 i32 0, label %17 ] 15: ; preds = %13 %16 = call i32 @report(ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %55 17: ; preds = %13 %18 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %19 = load i32, ptr %18, align 4 %20 = call i32 @dup2(i32 noundef %19, i32 noundef 0) %21 = load i32, ptr %4, align 4 %22 = call i32 @dup2(i32 noundef %21, i32 noundef 1) %23 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %24 = load i32, ptr %23, align 4 %25 = call i32 @close(i32 noundef %24) %26 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %27 = load i32, ptr %26, align 4 %28 = call i32 @close(i32 noundef %27) %29 = load i32, ptr %4, align 4 %30 = call i32 @close(i32 noundef %29) %31 = load i32, ptr @SIGPIPE, align 4 %32 = load i32, ptr @SIG_DFL, align 4 %33 = call i32 @signal(i32 noundef %31, i32 noundef %32) %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 0 %36 = load ptr, ptr %35, align 8 %37 = load ptr, ptr %5, align 8 %38 = call i32 @execvp(ptr noundef %36, ptr noundef %37) %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds ptr, ptr %39, i64 0 %41 = load ptr, ptr %40, align 8 %42 = call i32 @fatal(ptr noundef %41) br label %43 43: ; preds = %17, %13 %44 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %45 = load i32, ptr %44, align 4 %46 = load i32, ptr %4, align 4 %47 = call i32 @dup2(i32 noundef %45, i32 noundef %46) %48 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %49 = load i32, ptr %48, align 4 %50 = call i32 @close(i32 noundef %49) %51 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %52 = load i32, ptr %51, align 4 %53 = call i32 @close(i32 noundef %52) %54 = load i32, ptr %6, align 4 store i32 %54, ptr %3, align 4 br label %55 55: ; preds = %43, %15, %11 %56 = load i32, ptr %3, align 4 ret i32 %56 } declare i64 @pipe(ptr noundef) #1 declare i32 @report(ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @signal(i32 noundef, i32 noundef) #1 declare i32 @execvp(ptr noundef, ptr noundef) #1 declare i32 @fatal(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp57763oil.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"pipe()\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"fork()\00", align 1 @SIGPIPE = dso_local global i32 0, align 4 @SIG_DFL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @filter(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 [2 x i32], align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %9 = call i64 @pipe(ptr noundef %8) %10 = icmp slt i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 @report(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %55 13: ; preds = %2 %14 = call i32 (...) @fork() store i32 %14, ptr %6, align 4 switch i32 %14, label %43 [ i32 -1, label %15 i32 0, label %17 ] 15: ; preds = %13 %16 = call i32 @report(ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %55 17: ; preds = %13 %18 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %19 = load i32, ptr %18, align 4 %20 = call i32 @dup2(i32 noundef %19, i32 noundef 0) %21 = load i32, ptr %4, align 4 %22 = call i32 @dup2(i32 noundef %21, i32 noundef 1) %23 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %24 = load i32, ptr %23, align 4 %25 = call i32 @close(i32 noundef %24) %26 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %27 = load i32, ptr %26, align 4 %28 = call i32 @close(i32 noundef %27) %29 = load i32, ptr %4, align 4 %30 = call i32 @close(i32 noundef %29) %31 = load i32, ptr @SIGPIPE, align 4 %32 = load i32, ptr @SIG_DFL, align 4 %33 = call i32 @signal(i32 noundef %31, i32 noundef %32) %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 0 %36 = load ptr, ptr %35, align 8 %37 = load ptr, ptr %5, align 8 %38 = call i32 @execvp(ptr noundef %36, ptr noundef %37) %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds ptr, ptr %39, i64 0 %41 = load ptr, ptr %40, align 8 %42 = call i32 @fatal(ptr noundef %41) br label %43 43: ; preds = %17, %13 %44 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %45 = load i32, ptr %44, align 4 %46 = load i32, ptr %4, align 4 %47 = call i32 @dup2(i32 noundef %45, i32 noundef %46) %48 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %49 = load i32, ptr %48, align 4 %50 = call i32 @close(i32 noundef %49) %51 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %52 = load i32, ptr %51, align 4 %53 = call i32 @close(i32 noundef %52) %54 = load i32, ptr %6, align 4 store i32 %54, ptr %3, align 4 br label %55 55: ; preds = %43, %15, %11 %56 = load i32, ptr %3, align 4 ret i32 %56 } declare i64 @pipe(ptr noundef) #1 declare i32 @report(ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @signal(i32 noundef, i32 noundef) #1 declare i32 @execvp(ptr noundef, ptr noundef) #1 declare i32 @fatal(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9ylwugd_.c' source_filename = "/tmp/tmp9ylwugd_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"r\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @file_md5sum(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca [16 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %9 = load ptr, ptr %3, align 8 %10 = call i32 @memset(ptr noundef %9, i8 noundef signext 0, i32 noundef 32) %11 = load ptr, ptr %4, align 8 %12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str) store ptr %12, ptr %5, align 8 %13 = load ptr, ptr %5, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %46 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr @SEEK_END, align 4 %18 = call i32 @fseek(ptr noundef %16, i32 noundef 0, i32 noundef %17) %19 = load ptr, ptr %5, align 8 %20 = call i64 @ftell(ptr noundef %19) store i64 %20, ptr %6, align 8 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr @SEEK_SET, align 4 %23 = call i32 @fseek(ptr noundef %21, i32 noundef 0, i32 noundef %22) %24 = load i64, ptr %6, align 8 %25 = call i64 @malloc(i64 noundef %24) %26 = inttoptr i64 %25 to ptr store ptr %26, ptr %7, align 8 %27 = load ptr, ptr %7, align 8 %28 = load i64, ptr %6, align 8 %29 = load ptr, ptr %5, align 8 %30 = call i64 @fread(ptr noundef %27, i32 noundef 1, i64 noundef %28, ptr noundef %29) %31 = load i64, ptr %6, align 8 %32 = icmp eq i64 %30, %31 br i1 %32, label %33, label %41 33: ; preds = %15 %34 = load ptr, ptr %7, align 8 %35 = load i64, ptr %6, align 8 %36 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0 %37 = call i32 @mbedtls_md5(ptr noundef %34, i64 noundef %35, ptr noundef %36) %38 = load ptr, ptr %3, align 8 %39 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0 %40 = call i32 @str_raw2hex(ptr noundef %38, ptr noundef %39, i32 noundef 16) br label %41 41: ; preds = %33, %15 %42 = load ptr, ptr %7, align 8 %43 = call i32 @free(ptr noundef %42) %44 = load ptr, ptr %5, align 8 %45 = call i32 @fclose(ptr noundef %44) br label %46 46: ; preds = %41, %2 ret void } declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 declare i32 @mbedtls_md5(ptr noundef, i64 noundef, ptr noundef) #1 declare i32 @str_raw2hex(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9ylwugd_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"r\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @file_md5sum(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca [16 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %9 = load ptr, ptr %3, align 8 %10 = call i32 @memset(ptr noundef %9, i8 noundef signext 0, i32 noundef 32) %11 = load ptr, ptr %4, align 8 %12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str) store ptr %12, ptr %5, align 8 %13 = load ptr, ptr %5, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %46 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr @SEEK_END, align 4 %18 = call i32 @fseek(ptr noundef %16, i32 noundef 0, i32 noundef %17) %19 = load ptr, ptr %5, align 8 %20 = call i64 @ftell(ptr noundef %19) store i64 %20, ptr %6, align 8 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr @SEEK_SET, align 4 %23 = call i32 @fseek(ptr noundef %21, i32 noundef 0, i32 noundef %22) %24 = load i64, ptr %6, align 8 %25 = call i64 @malloc(i64 noundef %24) %26 = inttoptr i64 %25 to ptr store ptr %26, ptr %7, align 8 %27 = load ptr, ptr %7, align 8 %28 = load i64, ptr %6, align 8 %29 = load ptr, ptr %5, align 8 %30 = call i64 @fread(ptr noundef %27, i32 noundef 1, i64 noundef %28, ptr noundef %29) %31 = load i64, ptr %6, align 8 %32 = icmp eq i64 %30, %31 br i1 %32, label %33, label %41 33: ; preds = %15 %34 = load ptr, ptr %7, align 8 %35 = load i64, ptr %6, align 8 %36 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0 %37 = call i32 @mbedtls_md5(ptr noundef %34, i64 noundef %35, ptr noundef %36) %38 = load ptr, ptr %3, align 8 %39 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0 %40 = call i32 @str_raw2hex(ptr noundef %38, ptr noundef %39, i32 noundef 16) br label %41 41: ; preds = %33, %15 %42 = load ptr, ptr %7, align 8 %43 = call i32 @free(ptr noundef %42) %44 = load ptr, ptr %5, align 8 %45 = call i32 @fclose(ptr noundef %44) br label %46 46: ; preds = %41, %2 ret void } declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 declare i32 @mbedtls_md5(ptr noundef, i64 noundef, ptr noundef) #1 declare i32 @str_raw2hex(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpghger54y.c' source_filename = "/tmp/tmpghger54y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"ERROR opening socket\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"ERROR on binding\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"ERROR on accept\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"ERROR on fork\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"FINE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [256 x i8], align 16 %12 = alloca %struct.sockaddr_in, align 4 %13 = alloca %struct.sockaddr_in, align 4 %14 = 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 %15 = load i32, ptr @AF_INET, align 4 %16 = load i32, ptr @SOCK_STREAM, align 4 %17 = call i32 @socket(i32 noundef %15, i32 noundef %16, i32 noundef 0) store i32 %17, ptr %6, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %2 %21 = call i32 @perror(ptr noundef @.str) %22 = call i32 @exit(i32 noundef 1) #3 unreachable 23: ; preds = %2 %24 = call i32 @bzero(ptr noundef %12, i32 noundef 12) store i32 5001, ptr %8, align 4 %25 = load i32, ptr @AF_INET, align 4 %26 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 2 store i32 %25, ptr %26, align 4 %27 = load i32, ptr @INADDR_ANY, align 4 %28 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 1 %29 = getelementptr inbounds %struct.TYPE_2__, ptr %28, i32 0, i32 0 store i32 %27, ptr %29, align 4 %30 = load i32, ptr %8, align 4 %31 = call i32 @htons(i32 noundef %30) %32 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 0 store i32 %31, ptr %32, align 4 %33 = load i32, ptr %6, align 4 %34 = call i64 @bind(i32 noundef %33, ptr noundef %12, i32 noundef 12) %35 = icmp slt i64 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %23 %37 = call i32 @perror(ptr noundef @.str.1) %38 = call i32 @exit(i32 noundef 1) #3 unreachable 39: ; preds = %23 %40 = load i32, ptr %6, align 4 %41 = call i32 @listen(i32 noundef %40, i32 noundef 5) store i32 12, ptr %9, align 4 br label %42 42: ; preds = %39, %71 %43 = load i32, ptr %6, align 4 %44 = call i32 @accept(i32 noundef %43, ptr noundef %13, ptr noundef %9) store i32 %44, ptr %7, align 4 %45 = load i32, ptr %7, align 4 %46 = icmp slt i32 %45, 0 br i1 %46, label %47, label %50 47: ; preds = %42 %48 = call i32 @perror(ptr noundef @.str.2) %49 = call i32 @exit(i32 noundef 1) #3 unreachable 50: ; preds = %42 %51 = call i32 (...) @fork() store i32 %51, ptr %10, align 4 %52 = load i32, ptr %10, align 4 %53 = icmp slt i32 %52, 0 br i1 %53, label %54, label %57 54: ; preds = %50 %55 = call i32 @perror(ptr noundef @.str.3) %56 = call i32 @exit(i32 noundef 1) #3 unreachable 57: ; preds = %50 %58 = load i32, ptr %10, align 4 %59 = icmp eq i32 %58, 0 br i1 %59, label %60, label %68 60: ; preds = %57 %61 = load i32, ptr %6, align 4 %62 = call i32 @close(i32 noundef %61) %63 = load i32, ptr %7, align 4 %64 = call i32 @doprocessing(i32 noundef %63) %65 = load i32, ptr %7, align 4 %66 = call i32 @write(i32 noundef %65, ptr noundef @.str.4, i32 noundef 4) %67 = call i32 @exit(i32 noundef 0) #3 unreachable 68: ; preds = %57 %69 = load i32, ptr %7, align 4 %70 = call i32 @close(i32 noundef %69) br label %71 71: ; preds = %68 br label %42 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @close(i32 noundef) #1 declare i32 @doprocessing(i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpghger54y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"ERROR opening socket\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"ERROR on binding\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"ERROR on accept\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"ERROR on fork\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"FINE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [256 x i8], align 16 %12 = alloca %struct.sockaddr_in, align 4 %13 = alloca %struct.sockaddr_in, align 4 %14 = 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 %15 = load i32, ptr @AF_INET, align 4 %16 = load i32, ptr @SOCK_STREAM, align 4 %17 = call i32 @socket(i32 noundef %15, i32 noundef %16, i32 noundef 0) store i32 %17, ptr %6, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %2 %21 = call i32 @perror(ptr noundef @.str) %22 = call i32 @exit(i32 noundef 1) #3 unreachable 23: ; preds = %2 %24 = call i32 @bzero(ptr noundef %12, i32 noundef 12) store i32 5001, ptr %8, align 4 %25 = load i32, ptr @AF_INET, align 4 %26 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 2 store i32 %25, ptr %26, align 4 %27 = load i32, ptr @INADDR_ANY, align 4 %28 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 1 %29 = getelementptr inbounds %struct.TYPE_2__, ptr %28, i32 0, i32 0 store i32 %27, ptr %29, align 4 %30 = load i32, ptr %8, align 4 %31 = call i32 @htons(i32 noundef %30) %32 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 0 store i32 %31, ptr %32, align 4 %33 = load i32, ptr %6, align 4 %34 = call i64 @bind(i32 noundef %33, ptr noundef %12, i32 noundef 12) %35 = icmp slt i64 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %23 %37 = call i32 @perror(ptr noundef @.str.1) %38 = call i32 @exit(i32 noundef 1) #3 unreachable 39: ; preds = %23 %40 = load i32, ptr %6, align 4 %41 = call i32 @listen(i32 noundef %40, i32 noundef 5) store i32 12, ptr %9, align 4 %42 = load i32, ptr %6, align 4 %43 = call i32 @accept(i32 noundef %42, ptr noundef %13, ptr noundef %9) store i32 %43, ptr %7, align 4 %44 = load i32, ptr %7, align 4 %45 = icmp slt i32 %44, 0 br i1 %45, label %46, label %.lr.ph .lr.ph: ; preds = %39 br label %49 ._crit_edge: ; preds = %70 br label %46 46: ; preds = %._crit_edge, %39 %47 = call i32 @perror(ptr noundef @.str.2) %48 = call i32 @exit(i32 noundef 1) #3 unreachable 49: ; preds = %.lr.ph, %70 %50 = call i32 (...) @fork() store i32 %50, ptr %10, align 4 %51 = load i32, ptr %10, align 4 %52 = icmp slt i32 %51, 0 br i1 %52, label %53, label %56 53: ; preds = %49 %54 = call i32 @perror(ptr noundef @.str.3) %55 = call i32 @exit(i32 noundef 1) #3 unreachable 56: ; preds = %49 %57 = load i32, ptr %10, align 4 %58 = icmp eq i32 %57, 0 br i1 %58, label %59, label %67 59: ; preds = %56 %60 = load i32, ptr %6, align 4 %61 = call i32 @close(i32 noundef %60) %62 = load i32, ptr %7, align 4 %63 = call i32 @doprocessing(i32 noundef %62) %64 = load i32, ptr %7, align 4 %65 = call i32 @write(i32 noundef %64, ptr noundef @.str.4, i32 noundef 4) %66 = call i32 @exit(i32 noundef 0) #3 unreachable 67: ; preds = %56 %68 = load i32, ptr %7, align 4 %69 = call i32 @close(i32 noundef %68) br label %70 70: ; preds = %67 %71 = load i32, ptr %6, align 4 %72 = call i32 @accept(i32 noundef %71, ptr noundef %13, ptr noundef %9) store i32 %72, ptr %7, align 4 %73 = load i32, ptr %7, align 4 %74 = icmp slt i32 %73, 0 br i1 %74, label %._crit_edge, label %49 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @close(i32 noundef) #1 declare i32 @doprocessing(i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpqvfdmp0i.c' source_filename = "/tmp/tmpqvfdmp0i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @map2check_non_det_int() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %13, %0 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 8 br i1 %5, label %6, label %16 6: ; preds = %3 %7 = call i32 (...) @get_next_input_from_fuzzer() %8 = load i32, ptr %2, align 4 %9 = mul nsw i32 8, %8 %10 = shl i32 %7, %9 %11 = load i32, ptr %1, align 4 %12 = or i32 %11, %10 store i32 %12, ptr %1, align 4 br label %13 13: ; preds = %6 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %2, align 4 br label %3, !llvm.loop !6 16: ; preds = %3 %17 = load i32, ptr %1, align 4 ret i32 %17 } declare i32 @get_next_input_from_fuzzer(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpqvfdmp0i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @map2check_non_det_int() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp slt i32 %3, 8 br i1 %4, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %12 %6 = call i32 (...) @get_next_input_from_fuzzer() %7 = load i32, ptr %2, align 4 %8 = mul nsw i32 8, %7 %9 = shl i32 %6, %8 %10 = load i32, ptr %1, align 4 %11 = or i32 %10, %9 store i32 %11, ptr %1, align 4 br label %12 12: ; preds = %5 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %15, 8 br i1 %16, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %17 17: ; preds = %._crit_edge, %0 %18 = load i32, ptr %1, align 4 ret i32 %18 } declare i32 @get_next_input_from_fuzzer(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpqrtko35y.c' source_filename = "/tmp/tmpqrtko35y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Rand(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %6 5: ; preds = %1 store i32 1, ptr %2, align 4 br label %6 6: ; preds = %5, %1 %7 = call i32 (...) @rand() %8 = load i32, ptr %2, align 4 %9 = srem i32 %7, %8 ret i32 %9 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqrtko35y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Rand(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %6 5: ; preds = %1 store i32 1, ptr %2, align 4 br label %6 6: ; preds = %5, %1 %7 = call i32 (...) @rand() %8 = load i32, ptr %2, align 4 %9 = srem i32 %7, %8 ret i32 %9 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmbx3imgr.c' source_filename = "/tmp/tmpmbx3imgr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"share\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @MmdQ81753274112731_br_find_data_dir(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = call ptr @MmdQ81753274112731_br_find_prefix(ptr noundef null) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %16 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %9 %13 = load ptr, ptr %3, align 8 %14 = call ptr @strdup(ptr noundef %13) store ptr %14, ptr %2, align 8 br label %22 15: ; preds = %9 store ptr null, ptr %2, align 8 br label %22 16: ; preds = %1 %17 = load ptr, ptr %4, align 8 %18 = call ptr @MmdQ81753274112731_br_build_path(ptr noundef %17, ptr noundef @.str) store ptr %18, ptr %5, align 8 %19 = load ptr, ptr %4, align 8 %20 = call i32 @free(ptr noundef %19) %21 = load ptr, ptr %5, align 8 store ptr %21, ptr %2, align 8 br label %22 22: ; preds = %16, %15, %12 %23 = load ptr, ptr %2, align 8 ret ptr %23 } declare ptr @MmdQ81753274112731_br_find_prefix(ptr noundef) #1 declare ptr @strdup(ptr noundef) #1 declare ptr @MmdQ81753274112731_br_build_path(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmbx3imgr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"share\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @MmdQ81753274112731_br_find_data_dir(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = call ptr @MmdQ81753274112731_br_find_prefix(ptr noundef null) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %16 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %9 %13 = load ptr, ptr %3, align 8 %14 = call ptr @strdup(ptr noundef %13) store ptr %14, ptr %2, align 8 br label %22 15: ; preds = %9 store ptr null, ptr %2, align 8 br label %22 16: ; preds = %1 %17 = load ptr, ptr %4, align 8 %18 = call ptr @MmdQ81753274112731_br_build_path(ptr noundef %17, ptr noundef @.str) store ptr %18, ptr %5, align 8 %19 = load ptr, ptr %4, align 8 %20 = call i32 @free(ptr noundef %19) %21 = load ptr, ptr %5, align 8 store ptr %21, ptr %2, align 8 br label %22 22: ; preds = %16, %15, %12 %23 = load ptr, ptr %2, align 8 ret ptr %23 } declare ptr @MmdQ81753274112731_br_find_prefix(ptr noundef) #1 declare ptr @strdup(ptr noundef) #1 declare ptr @MmdQ81753274112731_br_build_path(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc76yj8sd.c' source_filename = "/tmp/tmpc76yj8sd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strnchr(ptr noundef %0, i8 noundef signext %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i8 %1, ptr %5, align 1 store ptr %2, ptr %6, align 8 store ptr null, ptr %7, align 8 br label %8 8: ; preds = %26, %3 %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp ult ptr %9, %10 br i1 %11, label %12, label %24 12: ; preds = %8 %13 = load ptr, ptr %4, 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 %4, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = load i8, ptr %5, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %20, %22 br label %24 24: ; preds = %17, %12, %8 %25 = phi i1 [ false, %12 ], [ false, %8 ], [ %23, %17 ] br i1 %25, label %26, label %29 26: ; preds = %24 %27 = load ptr, ptr %4, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 1 store ptr %28, ptr %4, align 8 br label %8, !llvm.loop !6 29: ; preds = %24 %30 = load ptr, ptr %4, align 8 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = load i8, ptr %5, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %32, %34 br i1 %35, label %36, label %38 36: ; preds = %29 %37 = load ptr, ptr %4, align 8 store ptr %37, ptr %7, align 8 br label %38 38: ; preds = %36, %29 %39 = load ptr, ptr %7, align 8 ret ptr %39 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpc76yj8sd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strnchr(ptr noundef %0, i8 noundef signext %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i8 %1, ptr %5, align 1 store ptr %2, ptr %6, align 8 store ptr null, ptr %7, align 8 br label %8 8: ; preds = %26, %3 %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp ult ptr %9, %10 br i1 %11, label %12, label %24 12: ; preds = %8 %13 = load ptr, ptr %4, 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 %4, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = load i8, ptr %5, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %20, %22 br label %24 24: ; preds = %17, %12, %8 %25 = phi i1 [ false, %12 ], [ false, %8 ], [ %23, %17 ] br i1 %25, label %26, label %29 26: ; preds = %24 %27 = load ptr, ptr %4, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 1 store ptr %28, ptr %4, align 8 br label %8, !llvm.loop !6 29: ; preds = %24 %30 = load ptr, ptr %4, align 8 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = load i8, ptr %5, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %32, %34 br i1 %35, label %36, label %38 36: ; preds = %29 %37 = load ptr, ptr %4, align 8 store ptr %37, ptr %7, align 8 br label %38 38: ; preds = %36, %29 %39 = load ptr, ptr %7, align 8 ret ptr %39 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpacdfzhph.c' source_filename = "/tmp/tmpacdfzhph.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CHAR_BIT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @my_popcount(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %22, %1 %6 = load i32, ptr %3, align 4 %7 = sext i32 %6 to i64 %8 = load i32, ptr @CHAR_BIT, align 4 %9 = sext i32 %8 to i64 %10 = mul i64 %9, 4 %11 = icmp ult i64 %7, %10 br i1 %11, label %12, label %25 12: ; preds = %5 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %3, align 4 %15 = shl i32 1, %14 %16 = and i32 %13, %15 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %12 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %4, align 4 br label %21 21: ; preds = %18, %12 br label %22 22: ; preds = %21 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 br label %5, !llvm.loop !6 25: ; preds = %5 %26 = load i32, ptr %4, align 4 ret i32 %26 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpacdfzhph.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CHAR_BIT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @my_popcount(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = sext i32 %5 to i64 %7 = load i32, ptr @CHAR_BIT, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 4 %10 = icmp ult i64 %6, %9 br i1 %10, label %.lr.ph, label %30 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %21 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = shl i32 1, %13 %15 = and i32 %12, %14 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %11 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %4, align 4 br label %20 20: ; preds = %17, %11 br label %21 21: ; preds = %20 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %3, align 4 %24 = load i32, ptr %3, align 4 %25 = sext i32 %24 to i64 %26 = load i32, ptr @CHAR_BIT, align 4 %27 = sext i32 %26 to i64 %28 = mul i64 %27, 4 %29 = icmp ult i64 %25, %28 br i1 %29, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %30 30: ; preds = %._crit_edge, %1 %31 = load i32, ptr %4, align 4 ret i32 %31 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpduaaugxr.c' source_filename = "/tmp/tmpduaaugxr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SDL_imageFilterMultDivby4(ptr 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 ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = 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 i32 %3, ptr %9, align 4 %16 = load ptr, ptr %6, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %24, label %18 18: ; preds = %4 %19 = load ptr, ptr %7, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %24, label %21 21: ; preds = %18 %22 = load ptr, ptr %8, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %25 24: ; preds = %21, %18, %4 store i32 -1, ptr %5, align 4 br label %98 25: ; preds = %21 %26 = load i32, ptr %9, align 4 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %29 28: ; preds = %25 store i32 0, ptr %5, align 4 br label %98 29: ; preds = %25 %30 = call i64 (...) @SDL_imageFilterMMXdetect() %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %61 32: ; preds = %29 %33 = load i32, ptr %9, align 4 %34 = icmp ugt i32 %33, 7 br i1 %34, label %35, label %61 35: ; preds = %32 %36 = load ptr, ptr %6, align 8 %37 = load ptr, ptr %7, align 8 %38 = load ptr, ptr %8, align 8 %39 = load i32, ptr %9, align 4 %40 = call i32 @SDL_imageFilterMultDivby4MMX(ptr noundef %36, ptr noundef %37, ptr noundef %38, i32 noundef %39) %41 = load i32, ptr %9, align 4 %42 = and i32 %41, 7 %43 = icmp ugt i32 %42, 0 br i1 %43, label %44, label %59 44: ; preds = %35 %45 = load i32, ptr %9, align 4 %46 = and i32 %45, -8 store i32 %46, ptr %11, align 4 %47 = load ptr, ptr %6, align 8 %48 = load i32, ptr %11, align 4 %49 = zext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 store ptr %50, ptr %12, align 8 %51 = load ptr, ptr %7, align 8 %52 = load i32, ptr %11, align 4 %53 = zext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 store ptr %54, ptr %13, align 8 %55 = load ptr, ptr %8, align 8 %56 = load i32, ptr %11, align 4 %57 = zext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %55, i64 %57 store ptr %58, ptr %14, align 8 br label %60 59: ; preds = %35 store i32 0, ptr %5, align 4 br label %98 60: ; preds = %44 br label %65 61: ; preds = %32, %29 store i32 0, ptr %11, align 4 %62 = load ptr, ptr %6, align 8 store ptr %62, ptr %12, align 8 %63 = load ptr, ptr %7, align 8 store ptr %63, ptr %13, align 8 %64 = load ptr, ptr %8, align 8 store ptr %64, ptr %14, align 8 br label %65 65: ; preds = %61, %60 %66 = load i32, ptr %11, align 4 store i32 %66, ptr %10, align 4 br label %67 67: ; preds = %94, %65 %68 = load i32, ptr %10, align 4 %69 = load i32, ptr %9, align 4 %70 = icmp ult i32 %68, %69 br i1 %70, label %71, label %97 71: ; preds = %67 %72 = load ptr, ptr %12, align 8 %73 = load i8, ptr %72, align 1 %74 = zext i8 %73 to i32 %75 = sdiv i32 %74, 2 %76 = load ptr, ptr %13, align 8 %77 = load i8, ptr %76, align 1 %78 = zext i8 %77 to i32 %79 = sdiv i32 %78, 2 %80 = mul nsw i32 %75, %79 store i32 %80, ptr %15, align 4 %81 = load i32, ptr %15, align 4 %82 = icmp sgt i32 %81, 255 br i1 %82, label %83, label %84 83: ; preds = %71 store i32 255, ptr %15, align 4 br label %84 84: ; preds = %83, %71 %85 = load i32, ptr %15, align 4 %86 = trunc i32 %85 to i8 %87 = load ptr, ptr %14, align 8 store i8 %86, ptr %87, align 1 %88 = load ptr, ptr %12, align 8 %89 = getelementptr inbounds i8, ptr %88, i32 1 store ptr %89, ptr %12, align 8 %90 = load ptr, ptr %13, align 8 %91 = getelementptr inbounds i8, ptr %90, i32 1 store ptr %91, ptr %13, align 8 %92 = load ptr, ptr %14, align 8 %93 = getelementptr inbounds i8, ptr %92, i32 1 store ptr %93, ptr %14, align 8 br label %94 94: ; preds = %84 %95 = load i32, ptr %10, align 4 %96 = add i32 %95, 1 store i32 %96, ptr %10, align 4 br label %67, !llvm.loop !6 97: ; preds = %67 store i32 0, ptr %5, align 4 br label %98 98: ; preds = %97, %59, %28, %24 %99 = load i32, ptr %5, align 4 ret i32 %99 } declare i64 @SDL_imageFilterMMXdetect(...) #1 declare i32 @SDL_imageFilterMultDivby4MMX(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpduaaugxr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SDL_imageFilterMultDivby4(ptr 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 ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = 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 i32 %3, ptr %9, align 4 %16 = load ptr, ptr %6, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %24, label %18 18: ; preds = %4 %19 = load ptr, ptr %7, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %24, label %21 21: ; preds = %18 %22 = load ptr, ptr %8, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %25 24: ; preds = %21, %18, %4 store i32 -1, ptr %5, align 4 br label %100 25: ; preds = %21 %26 = load i32, ptr %9, align 4 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %29 28: ; preds = %25 store i32 0, ptr %5, align 4 br label %100 29: ; preds = %25 %30 = call i64 (...) @SDL_imageFilterMMXdetect() %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %61 32: ; preds = %29 %33 = load i32, ptr %9, align 4 %34 = icmp ugt i32 %33, 7 br i1 %34, label %35, label %61 35: ; preds = %32 %36 = load ptr, ptr %6, align 8 %37 = load ptr, ptr %7, align 8 %38 = load ptr, ptr %8, align 8 %39 = load i32, ptr %9, align 4 %40 = call i32 @SDL_imageFilterMultDivby4MMX(ptr noundef %36, ptr noundef %37, ptr noundef %38, i32 noundef %39) %41 = load i32, ptr %9, align 4 %42 = and i32 %41, 7 %43 = icmp ugt i32 %42, 0 br i1 %43, label %44, label %59 44: ; preds = %35 %45 = load i32, ptr %9, align 4 %46 = and i32 %45, -8 store i32 %46, ptr %11, align 4 %47 = load ptr, ptr %6, align 8 %48 = load i32, ptr %11, align 4 %49 = zext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 store ptr %50, ptr %12, align 8 %51 = load ptr, ptr %7, align 8 %52 = load i32, ptr %11, align 4 %53 = zext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 store ptr %54, ptr %13, align 8 %55 = load ptr, ptr %8, align 8 %56 = load i32, ptr %11, align 4 %57 = zext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %55, i64 %57 store ptr %58, ptr %14, align 8 br label %60 59: ; preds = %35 store i32 0, ptr %5, align 4 br label %100 60: ; preds = %44 br label %65 61: ; preds = %32, %29 store i32 0, ptr %11, align 4 %62 = load ptr, ptr %6, align 8 store ptr %62, ptr %12, align 8 %63 = load ptr, ptr %7, align 8 store ptr %63, ptr %13, align 8 %64 = load ptr, ptr %8, align 8 store ptr %64, ptr %14, align 8 br label %65 65: ; preds = %61, %60 %66 = load i32, ptr %11, align 4 store i32 %66, ptr %10, align 4 %67 = load i32, ptr %10, align 4 %68 = load i32, ptr %9, align 4 %69 = icmp ult i32 %67, %68 br i1 %69, label %.lr.ph, label %99 .lr.ph: ; preds = %65 br label %70 70: ; preds = %.lr.ph, %93 %71 = load ptr, ptr %12, align 8 %72 = load i8, ptr %71, align 1 %73 = zext i8 %72 to i32 %74 = sdiv i32 %73, 2 %75 = load ptr, ptr %13, align 8 %76 = load i8, ptr %75, align 1 %77 = zext i8 %76 to i32 %78 = sdiv i32 %77, 2 %79 = mul nsw i32 %74, %78 store i32 %79, ptr %15, align 4 %80 = load i32, ptr %15, align 4 %81 = icmp sgt i32 %80, 255 br i1 %81, label %82, label %83 82: ; preds = %70 store i32 255, ptr %15, align 4 br label %83 83: ; preds = %82, %70 %84 = load i32, ptr %15, align 4 %85 = trunc i32 %84 to i8 %86 = load ptr, ptr %14, align 8 store i8 %85, ptr %86, align 1 %87 = load ptr, ptr %12, align 8 %88 = getelementptr inbounds i8, ptr %87, i32 1 store ptr %88, ptr %12, align 8 %89 = load ptr, ptr %13, align 8 %90 = getelementptr inbounds i8, ptr %89, i32 1 store ptr %90, ptr %13, align 8 %91 = load ptr, ptr %14, align 8 %92 = getelementptr inbounds i8, ptr %91, i32 1 store ptr %92, ptr %14, align 8 br label %93 93: ; preds = %83 %94 = load i32, ptr %10, align 4 %95 = add i32 %94, 1 store i32 %95, ptr %10, align 4 %96 = load i32, ptr %10, align 4 %97 = load i32, ptr %9, align 4 %98 = icmp ult i32 %96, %97 br i1 %98, label %70, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %93 br label %99 99: ; preds = %._crit_edge, %65 store i32 0, ptr %5, align 4 br label %100 100: ; preds = %99, %59, %28, %24 %101 = load i32, ptr %5, align 4 ret i32 %101 } declare i64 @SDL_imageFilterMMXdetect(...) #1 declare i32 @SDL_imageFilterMultDivby4MMX(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpmmo1mpi9.c' source_filename = "/tmp/tmpmmo1mpi9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"===%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"error:%m\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 [5 x i8], align 1 store i32 0, ptr %1, align 4 %4 = call i32 @write(i32 noundef 0, ptr noundef @.str, i32 noundef 5) store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %5) %7 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0 %8 = call i32 @read(i32 noundef 0, ptr noundef %7, i32 noundef 3) store i32 %8, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9) %11 = load i32, ptr %2, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %21 13: ; preds = %0 %14 = load i32, ptr %2, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %14) %16 = load i32, ptr %2, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 %17 store i8 0, ptr %18, align 1 %19 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %19) br label %21 21: ; preds = %13, %0 %22 = load i32, ptr %2, align 4 %23 = icmp sgt i32 %22, 0 br i1 %23, label %24, label %30 24: ; preds = %21 %25 = load i32, ptr %2, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 %26 store i8 0, ptr %27, align 1 %28 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %28) br label %30 30: ; preds = %24, %21 %31 = load i32, ptr %2, align 4 %32 = icmp eq i32 %31, -1 br i1 %32, label %33, label %35 33: ; preds = %30 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %35 35: ; preds = %33, %30 ret i32 0 } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @read(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmmo1mpi9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"===%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"error:%m\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 [5 x i8], align 1 store i32 0, ptr %1, align 4 %4 = call i32 @write(i32 noundef 0, ptr noundef @.str, i32 noundef 5) store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %5) %7 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0 %8 = call i32 @read(i32 noundef 0, ptr noundef %7, i32 noundef 3) store i32 %8, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9) %11 = load i32, ptr %2, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %21 13: ; preds = %0 %14 = load i32, ptr %2, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %14) %16 = load i32, ptr %2, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 %17 store i8 0, ptr %18, align 1 %19 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %19) br label %21 21: ; preds = %13, %0 %22 = load i32, ptr %2, align 4 %23 = icmp sgt i32 %22, 0 br i1 %23, label %24, label %30 24: ; preds = %21 %25 = load i32, ptr %2, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 %26 store i8 0, ptr %27, align 1 %28 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %28) br label %30 30: ; preds = %24, %21 %31 = load i32, ptr %2, align 4 %32 = icmp eq i32 %31, -1 br i1 %32, label %33, label %35 33: ; preds = %30 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %35 35: ; preds = %33, %30 ret i32 0 } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @read(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"}
; ModuleID = '/tmp/tmpll8zvv8n.c' source_filename = "/tmp/tmpll8zvv8n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utf8_charcmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %26, label %15 15: ; preds = %12, %2 %16 = load ptr, ptr %4, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %19 18: ; preds = %15 br label %24 19: ; preds = %15 %20 = load ptr, ptr %5, align 8 %21 = icmp ne ptr %20, null %22 = zext i1 %21 to i64 %23 = select i1 %21, i32 -1, i32 0 br label %24 24: ; preds = %19, %18 %25 = phi i32 [ 1, %18 ], [ %23, %19 ] store i32 %25, ptr %3, align 4 br label %77 26: ; preds = %12 %27 = load ptr, ptr %4, align 8 %28 = call i32 @utf8_char_size(ptr noundef %27) store i32 %28, ptr %6, align 4 %29 = load ptr, ptr %5, align 8 %30 = call i32 @utf8_char_size(ptr noundef %29) store i32 %30, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %31 31: ; preds = %59, %26 %32 = load i32, ptr %8, align 4 %33 = load i32, ptr %6, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %39 35: ; preds = %31 %36 = load i32, ptr %8, align 4 %37 = load i32, ptr %7, align 4 %38 = icmp slt i32 %36, %37 br label %39 39: ; preds = %35, %31 %40 = phi i1 [ false, %31 ], [ %38, %35 ] br i1 %40, label %41, label %62 41: ; preds = %39 %42 = load ptr, ptr %4, align 8 %43 = load i32, ptr %8, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i8, ptr %45, align 1 %47 = zext i8 %46 to i32 %48 = load ptr, ptr %5, align 8 %49 = load i32, ptr %8, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %48, i64 %50 %52 = load i8, ptr %51, align 1 %53 = zext i8 %52 to i32 %54 = sub nsw i32 %47, %53 store i32 %54, ptr %9, align 4 %55 = load i32, ptr %9, align 4 %56 = icmp ne i32 %55, 0 br i1 %56, label %57, label %59 57: ; preds = %41 %58 = load i32, ptr %9, align 4 store i32 %58, ptr %3, align 4 br label %77 59: ; preds = %41 %60 = load i32, ptr %8, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %8, align 4 br label %31, !llvm.loop !6 62: ; preds = %39 %63 = load i32, ptr %8, align 4 %64 = load i32, ptr %6, align 4 %65 = icmp eq i32 %63, %64 br i1 %65, label %66, label %71 66: ; preds = %62 %67 = load i32, ptr %8, align 4 %68 = load i32, ptr %7, align 4 %69 = icmp eq i32 %67, %68 br i1 %69, label %70, label %71 70: ; preds = %66 store i32 0, ptr %3, align 4 br label %77 71: ; preds = %66, %62 %72 = load i32, ptr %8, align 4 %73 = load i32, ptr %6, align 4 %74 = icmp eq i32 %72, %73 br i1 %74, label %75, label %76 75: ; preds = %71 store i32 1, ptr %3, align 4 br label %77 76: ; preds = %71 store i32 -1, ptr %3, align 4 br label %77 77: ; preds = %76, %75, %70, %57, %24 %78 = load i32, ptr %3, align 4 ret i32 %78 } declare i32 @utf8_char_size(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpll8zvv8n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utf8_charcmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %26, label %15 15: ; preds = %12, %2 %16 = load ptr, ptr %4, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %19 18: ; preds = %15 br label %24 19: ; preds = %15 %20 = load ptr, ptr %5, align 8 %21 = icmp ne ptr %20, null %22 = zext i1 %21 to i64 %23 = select i1 %21, i32 -1, i32 0 br label %24 24: ; preds = %19, %18 %25 = phi i32 [ 1, %18 ], [ %23, %19 ] store i32 %25, ptr %3, align 4 br label %77 26: ; preds = %12 %27 = load ptr, ptr %4, align 8 %28 = call i32 @utf8_char_size(ptr noundef %27) store i32 %28, ptr %6, align 4 %29 = load ptr, ptr %5, align 8 %30 = call i32 @utf8_char_size(ptr noundef %29) store i32 %30, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %31 31: ; preds = %59, %26 %32 = load i32, ptr %8, align 4 %33 = load i32, ptr %6, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %39 35: ; preds = %31 %36 = load i32, ptr %8, align 4 %37 = load i32, ptr %7, align 4 %38 = icmp slt i32 %36, %37 br label %39 39: ; preds = %35, %31 %40 = phi i1 [ false, %31 ], [ %38, %35 ] br i1 %40, label %41, label %62 41: ; preds = %39 %42 = load ptr, ptr %4, align 8 %43 = load i32, ptr %8, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i8, ptr %45, align 1 %47 = zext i8 %46 to i32 %48 = load ptr, ptr %5, align 8 %49 = load i32, ptr %8, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %48, i64 %50 %52 = load i8, ptr %51, align 1 %53 = zext i8 %52 to i32 %54 = sub nsw i32 %47, %53 store i32 %54, ptr %9, align 4 %55 = load i32, ptr %9, align 4 %56 = icmp ne i32 %55, 0 br i1 %56, label %57, label %59 57: ; preds = %41 %58 = load i32, ptr %9, align 4 store i32 %58, ptr %3, align 4 br label %77 59: ; preds = %41 %60 = load i32, ptr %8, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %8, align 4 br label %31, !llvm.loop !6 62: ; preds = %39 %63 = load i32, ptr %8, align 4 %64 = load i32, ptr %6, align 4 %65 = icmp eq i32 %63, %64 br i1 %65, label %66, label %71 66: ; preds = %62 %67 = load i32, ptr %8, align 4 %68 = load i32, ptr %7, align 4 %69 = icmp eq i32 %67, %68 br i1 %69, label %70, label %71 70: ; preds = %66 store i32 0, ptr %3, align 4 br label %77 71: ; preds = %66, %62 %72 = load i32, ptr %8, align 4 %73 = load i32, ptr %6, align 4 %74 = icmp eq i32 %72, %73 br i1 %74, label %75, label %76 75: ; preds = %71 store i32 1, ptr %3, align 4 br label %77 76: ; preds = %71 store i32 -1, ptr %3, align 4 br label %77 77: ; preds = %76, %75, %70, %57, %24 %78 = load i32, ptr %3, align 4 ret i32 %78 } declare i32 @utf8_char_size(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpbrqr8j56.c' source_filename = "/tmp/tmpbrqr8j56.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [12 x i8] c"hello world\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"new Hello\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) 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/tmpbrqr8j56.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [12 x i8] c"hello world\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"new Hello\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) 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/tmpykjvpd4o.c' source_filename = "/tmp/tmpykjvpd4o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %12 = load i32, ptr %6, align 4 %13 = call i32 @mpz_init(i32 noundef %12) store i32 1, ptr %7, align 4 br label %14 14: ; preds = %28, %2 %15 = load i32, ptr %7, align 4 %16 = icmp sle i32 %15, 1000 br i1 %16, label %17, label %31 17: ; preds = %14 %18 = load i32, ptr %8, align 4 %19 = call i32 @mpz_init(i32 noundef %18) %20 = load i32, ptr %8, align 4 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %7, align 4 %23 = call i32 @mpz_ui_pow_ui(i32 noundef %20, i32 noundef %21, i32 noundef %22) %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %8, align 4 %27 = call i32 @mpz_add(i32 noundef %24, i32 noundef %25, i32 noundef %26) br label %28 28: ; preds = %17 %29 = load i32, ptr %7, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %7, align 4 br label %14, !llvm.loop !6 31: ; preds = %14 %32 = load i32, ptr %6, align 4 %33 = call ptr @mpz_get_str(ptr noundef null, i32 noundef 10, i32 noundef %32) store ptr %33, ptr %9, align 8 %34 = load ptr, ptr %9, align 8 %35 = call i32 @strlen(ptr noundef %34) store i32 %35, ptr %10, align 4 %36 = load ptr, ptr %9, align 8 %37 = load i32, ptr %10, align 4 %38 = sub nsw i32 %37, 10 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %36, i64 %39 store ptr %40, ptr %11, align 8 %41 = load ptr, ptr %11, align 8 %42 = call i32 @printf(ptr noundef @.str, ptr noundef %41) %43 = load ptr, ptr %9, align 8 %44 = call i32 @free(ptr noundef %43) ret i32 0 } declare i32 @mpz_init(i32 noundef) #1 declare i32 @mpz_ui_pow_ui(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mpz_add(i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @mpz_get_str(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpykjvpd4o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %12 = load i32, ptr %6, align 4 %13 = call i32 @mpz_init(i32 noundef %12) store i32 1, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp sle i32 %14, 1000 br i1 %15, label %.lr.ph, label %32 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %27 %17 = load i32, ptr %8, align 4 %18 = call i32 @mpz_init(i32 noundef %17) %19 = load i32, ptr %8, align 4 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %7, align 4 %22 = call i32 @mpz_ui_pow_ui(i32 noundef %19, i32 noundef %20, i32 noundef %21) %23 = load i32, ptr %6, align 4 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %8, align 4 %26 = call i32 @mpz_add(i32 noundef %23, i32 noundef %24, i32 noundef %25) br label %27 27: ; preds = %16 %28 = load i32, ptr %7, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %7, align 4 %30 = load i32, ptr %7, align 4 %31 = icmp sle i32 %30, 1000 br i1 %31, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %32 32: ; preds = %._crit_edge, %2 %33 = load i32, ptr %6, align 4 %34 = call ptr @mpz_get_str(ptr noundef null, i32 noundef 10, i32 noundef %33) store ptr %34, ptr %9, align 8 %35 = load ptr, ptr %9, align 8 %36 = call i32 @strlen(ptr noundef %35) store i32 %36, ptr %10, align 4 %37 = load ptr, ptr %9, align 8 %38 = load i32, ptr %10, align 4 %39 = sub nsw i32 %38, 10 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %37, i64 %40 store ptr %41, ptr %11, align 8 %42 = load ptr, ptr %11, align 8 %43 = call i32 @printf(ptr noundef @.str, ptr noundef %42) %44 = load ptr, ptr %9, align 8 %45 = call i32 @free(ptr noundef %44) ret i32 0 } declare i32 @mpz_init(i32 noundef) #1 declare i32 @mpz_ui_pow_ui(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mpz_add(i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @mpz_get_str(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmprmatzabf.c' source_filename = "/tmp/tmprmatzabf.c" target datalayout = "e-m:e-p270: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/tmprmatzabf.c" target datalayout = "e-m:e-p270: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/tmp77ao2zkd.c' source_filename = "/tmp/tmp77ao2zkd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Cmd_SkipSpace(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %8, %1 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = call i64 @isspace(i8 noundef signext %5) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %3 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds i8, ptr %9, i32 1 store ptr %10, ptr %2, align 8 br label %3, !llvm.loop !6 11: ; preds = %3 %12 = load ptr, ptr %2, align 8 ret ptr %12 } declare i64 @isspace(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp77ao2zkd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Cmd_SkipSpace(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i8, ptr %3, align 1 %5 = call i64 @isspace(i8 noundef signext %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %.lr.ph, label %14 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %7 %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds i8, ptr %8, i32 1 store ptr %9, ptr %2, align 8 %10 = load ptr, ptr %2, align 8 %11 = load i8, ptr %10, align 1 %12 = call i64 @isspace(i8 noundef signext %11) %13 = icmp ne i64 %12, 0 br i1 %13, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %14 14: ; preds = %._crit_edge, %1 %15 = load ptr, ptr %2, align 8 ret ptr %15 } declare i64 @isspace(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8r0zynq3.c' source_filename = "/tmp/tmp8r0zynq3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gets(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 br label %5 5: ; preds = %30, %1 %6 = call signext i8 (...) @getchar() %7 = load ptr, ptr %3, align 8 store i8 %6, ptr %7, align 1 %8 = sext i8 %6 to i32 %9 = icmp ne i32 %8, 10 br i1 %9, label %10, label %31 10: ; preds = %5 %11 = load ptr, ptr %3, align 8 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 8 br i1 %14, label %15, label %20 15: ; preds = %10 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %3, align 8 %18 = load i8, ptr %16, align 1 %19 = call i32 @putchar(i8 noundef signext %18) br label %30 20: ; preds = %10 %21 = load ptr, ptr %3, align 8 %22 = load ptr, ptr %2, align 8 %23 = icmp ugt ptr %21, %22 br i1 %23, label %24, label %29 24: ; preds = %20 %25 = load ptr, ptr %3, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 -1 store ptr %26, ptr %3, align 8 %27 = load i8, ptr %25, align 1 %28 = call i32 @putchar(i8 noundef signext %27) br label %29 29: ; preds = %24, %20 br label %30 30: ; preds = %29, %15 br label %5, !llvm.loop !6 31: ; preds = %5 %32 = load ptr, ptr %3, align 8 store i8 0, ptr %32, align 1 %33 = call i32 @putchar(i8 noundef signext 10) %34 = load ptr, ptr %2, align 8 ret ptr %34 } declare signext i8 @getchar(...) #1 declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8r0zynq3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gets(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = call signext i8 (...) @getchar() %6 = load ptr, ptr %3, align 8 store i8 %5, ptr %6, align 1 %7 = sext i8 %5 to i32 %8 = icmp ne i32 %7, 10 br i1 %8, label %.lr.ph, label %34 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %29 %10 = load ptr, ptr %3, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %12, 8 br i1 %13, label %14, label %19 14: ; preds = %9 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %3, align 8 %17 = load i8, ptr %15, align 1 %18 = call i32 @putchar(i8 noundef signext %17) br label %29 19: ; preds = %9 %20 = load ptr, ptr %3, align 8 %21 = load ptr, ptr %2, align 8 %22 = icmp ugt ptr %20, %21 br i1 %22, label %23, label %28 23: ; preds = %19 %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 -1 store ptr %25, ptr %3, align 8 %26 = load i8, ptr %24, align 1 %27 = call i32 @putchar(i8 noundef signext %26) br label %28 28: ; preds = %23, %19 br label %29 29: ; preds = %28, %14 %30 = call signext i8 (...) @getchar() %31 = load ptr, ptr %3, align 8 store i8 %30, ptr %31, align 1 %32 = sext i8 %30 to i32 %33 = icmp ne i32 %32, 10 br i1 %33, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %34 34: ; preds = %._crit_edge, %1 %35 = load ptr, ptr %3, align 8 store i8 0, ptr %35, align 1 %36 = call i32 @putchar(i8 noundef signext 10) %37 = load ptr, ptr %2, align 8 ret ptr %37 } declare signext i8 @getchar(...) #1 declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmprr0tm28m.c' source_filename = "/tmp/tmprr0tm28m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @recurse_malloc(i32 noundef 0) ret i32 0 } declare i32 @recurse_malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprr0tm28m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @recurse_malloc(i32 noundef 0) ret i32 0 } declare i32 @recurse_malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp90eetxdt.c' source_filename = "/tmp/tmp90eetxdt.c" target datalayout = "e-m:e-p270: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/tmp90eetxdt.c" target datalayout = "e-m:e-p270: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/tmpcspurzoy.c' source_filename = "/tmp/tmpcspurzoy.c" target datalayout = "e-m:e-p270: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.src = private unnamed_addr constant [3 x i8] c"XE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [3 x i8], align 1 %2 = alloca [3 x i8], align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.main.src, i64 3, i1 false) %3 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0 %4 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @strncpy(ptr noundef %3, ptr noundef %4, i32 noundef 3) 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 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcspurzoy.c" target datalayout = "e-m:e-p270: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.src = private unnamed_addr constant [3 x i8] c"XE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [3 x i8], align 1 %2 = alloca [3 x i8], align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.main.src, i64 3, i1 false) %3 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0 %4 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @strncpy(ptr noundef %3, ptr noundef %4, i32 noundef 3) 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 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv79sve3z.c' source_filename = "/tmp/tmpv79sve3z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utf8_to_unicode(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %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 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %12 = load i32, ptr %6, align 4 %13 = icmp sle i32 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %3 store i32 0, ptr %4, align 4 br label %46 15: ; preds = %3 %16 = load ptr, ptr %7, align 8 store ptr %16, ptr %8, align 8 %17 = load ptr, ptr %5, align 8 store ptr %17, ptr %9, align 8 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 %22 = getelementptr inbounds i32, ptr %21, i64 -1 store ptr %22, ptr %10, align 8 br label %23 23: ; preds = %33, %15 %24 = load ptr, ptr %9, align 8 %25 = load ptr, ptr %10, align 8 %26 = icmp uge ptr %24, %25 br i1 %26, label %27, label %28 27: ; preds = %23 br label %37 28: ; preds = %23 %29 = call i32 @utf8_decode(ptr noundef %8) store i32 %29, ptr %11, align 4 %30 = load i32, ptr %11, align 4 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %33 32: ; preds = %28 br label %37 33: ; preds = %28 %34 = load i32, ptr %11, align 4 %35 = load ptr, ptr %9, align 8 %36 = getelementptr inbounds i32, ptr %35, i32 1 store ptr %36, ptr %9, align 8 store i32 %34, ptr %35, align 4 br label %23 37: ; preds = %32, %27 %38 = load ptr, ptr %9, align 8 store i32 0, ptr %38, align 4 %39 = load ptr, ptr %9, align 8 %40 = load ptr, ptr %5, align 8 %41 = ptrtoint ptr %39 to i64 %42 = ptrtoint ptr %40 to i64 %43 = sub i64 %41, %42 %44 = sdiv exact i64 %43, 4 %45 = trunc i64 %44 to i32 store i32 %45, ptr %4, align 4 br label %46 46: ; preds = %37, %14 %47 = load i32, ptr %4, align 4 ret i32 %47 } declare i32 @utf8_decode(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv79sve3z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utf8_to_unicode(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %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 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %12 = load i32, ptr %6, align 4 %13 = icmp sle i32 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %3 store i32 0, ptr %4, align 4 br label %48 15: ; preds = %3 %16 = load ptr, ptr %7, align 8 store ptr %16, ptr %8, align 8 %17 = load ptr, ptr %5, align 8 store ptr %17, ptr %9, align 8 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 %22 = getelementptr inbounds i32, ptr %21, i64 -1 store ptr %22, ptr %10, align 8 %23 = load ptr, ptr %9, align 8 %24 = load ptr, ptr %10, align 8 %25 = icmp uge ptr %23, %24 br i1 %25, label %26, label %.lr.ph .lr.ph: ; preds = %15 br label %27 ._crit_edge: ; preds = %32 br label %26 26: ; preds = %._crit_edge, %15 br label %39 27: ; preds = %.lr.ph, %32 %28 = call i32 @utf8_decode(ptr noundef %8) store i32 %28, ptr %11, align 4 %29 = load i32, ptr %11, align 4 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %32 31: ; preds = %27 br label %39 32: ; preds = %27 %33 = load i32, ptr %11, align 4 %34 = load ptr, ptr %9, align 8 %35 = getelementptr inbounds i32, ptr %34, i32 1 store ptr %35, ptr %9, align 8 store i32 %33, ptr %34, align 4 %36 = load ptr, ptr %9, align 8 %37 = load ptr, ptr %10, align 8 %38 = icmp uge ptr %36, %37 br i1 %38, label %._crit_edge, label %27 39: ; preds = %31, %26 %40 = load ptr, ptr %9, align 8 store i32 0, ptr %40, align 4 %41 = load ptr, ptr %9, align 8 %42 = load ptr, ptr %5, align 8 %43 = ptrtoint ptr %41 to i64 %44 = ptrtoint ptr %42 to i64 %45 = sub i64 %43, %44 %46 = sdiv exact i64 %45, 4 %47 = trunc i64 %46 to i32 store i32 %47, ptr %4, align 4 br label %48 48: ; preds = %39, %14 %49 = load i32, ptr %4, align 4 ret i32 %49 } declare i32 @utf8_decode(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppc8gg16c.c' source_filename = "/tmp/tmppc8gg16c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @caesar(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca [150 x i8], align 16 %7 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i64 @strlen(ptr noundef %8) store i64 %9, ptr %5, align 8 store i64 0, ptr %7, align 8 br label %10 10: ; preds = %86, %2 %11 = load i64, ptr %7, align 8 %12 = load i64, ptr %5, align 8 %13 = icmp ult i64 %11, %12 br i1 %13, label %14, label %89 14: ; preds = %10 %15 = load ptr, ptr %4, align 8 %16 = load i64, ptr %7, 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, 32 br i1 %20, label %21, label %78 21: ; preds = %14 %22 = load ptr, ptr %4, align 8 %23 = load i64, ptr %7, align 8 %24 = getelementptr inbounds i8, ptr %22, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = load i32, ptr %3, align 4 %28 = srem i32 %27, 26 %29 = sub nsw i32 %26, %28 %30 = trunc i32 %29 to i8 %31 = load i64, ptr %7, align 8 %32 = getelementptr inbounds [150 x i8], ptr %6, i64 0, i64 %31 store i8 %30, ptr %32, align 1 %33 = load i64, ptr %7, align 8 %34 = getelementptr inbounds [150 x i8], ptr %6, i64 0, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp slt i32 %36, 97 br i1 %37, label %38, label %54 38: ; preds = %21 %39 = load ptr, ptr %4, align 8 %40 = load i64, ptr %7, align 8 %41 = getelementptr inbounds i8, ptr %39, i64 %40 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp sgt i32 %43, 96 br i1 %44, label %45, label %54 45: ; preds = %38 %46 = load i64, ptr %7, align 8 %47 = getelementptr inbounds [150 x i8], ptr %6, i64 0, i64 %46 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = add nsw i32 %49, 26 %51 = trunc i32 %50 to i8 %52 = load i64, ptr %7, align 8 %53 = getelementptr inbounds [150 x i8], ptr %6, i64 0, i64 %52 store i8 %51, ptr %53, align 1 br label %77 54: ; preds = %38, %21 %55 = load i64, ptr %7, align 8 %56 = getelementptr inbounds [150 x i8], ptr %6, i64 0, i64 %55 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = icmp slt i32 %58, 65 br i1 %59, label %60, label %76 60: ; preds = %54 %61 = load ptr, ptr %4, align 8 %62 = load i64, ptr %7, align 8 %63 = getelementptr inbounds i8, ptr %61, i64 %62 %64 = load i8, ptr %63, align 1 %65 = sext i8 %64 to i32 %66 = icmp slt i32 %65, 91 br i1 %66, label %67, label %76 67: ; preds = %60 %68 = load i64, ptr %7, align 8 %69 = getelementptr inbounds [150 x i8], ptr %6, i64 0, i64 %68 %70 = load i8, ptr %69, align 1 %71 = sext i8 %70 to i32 %72 = add nsw i32 %71, 26 %73 = trunc i32 %72 to i8 %74 = load i64, ptr %7, align 8 %75 = getelementptr inbounds [150 x i8], ptr %6, i64 0, i64 %74 store i8 %73, ptr %75, align 1 br label %76 76: ; preds = %67, %60, %54 br label %77 77: ; preds = %76, %45 br label %85 78: ; preds = %14 %79 = load ptr, ptr %4, align 8 %80 = load i64, ptr %7, align 8 %81 = getelementptr inbounds i8, ptr %79, i64 %80 %82 = load i8, ptr %81, align 1 %83 = load i64, ptr %7, align 8 %84 = getelementptr inbounds [150 x i8], ptr %6, i64 0, i64 %83 store i8 %82, ptr %84, align 1 br label %85 85: ; preds = %78, %77 br label %86 86: ; preds = %85 %87 = load i64, ptr %7, align 8 %88 = add i64 %87, 1 store i64 %88, ptr %7, align 8 br label %10, !llvm.loop !6 89: ; preds = %10 %90 = load i64, ptr %5, align 8 %91 = getelementptr inbounds [150 x i8], ptr %6, i64 0, i64 %90 store i8 32, ptr %91, align 1 %92 = getelementptr inbounds [150 x i8], ptr %6, i64 0, i64 0 %93 = call i32 @printf(ptr noundef @.str, ptr noundef %92) ret void } declare i64 @strlen(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppc8gg16c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @caesar(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca [150 x i8], align 16 %7 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i64 @strlen(ptr noundef %8) store i64 %9, ptr %5, align 8 store i64 0, ptr %7, align 8 %10 = load i64, ptr %7, align 8 %11 = load i64, ptr %5, align 8 %12 = icmp ult i64 %10, %11 br i1 %12, label %.lr.ph, label %91 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %85 %14 = load ptr, ptr %4, align 8 %15 = load i64, ptr %7, align 8 %16 = getelementptr inbounds i8, ptr %14, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp ne i32 %18, 32 br i1 %19, label %20, label %77 20: ; preds = %13 %21 = load ptr, ptr %4, align 8 %22 = load i64, ptr %7, align 8 %23 = getelementptr inbounds i8, ptr %21, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = load i32, ptr %3, align 4 %27 = srem i32 %26, 26 %28 = sub nsw i32 %25, %27 %29 = trunc i32 %28 to i8 %30 = load i64, ptr %7, align 8 %31 = getelementptr inbounds [150 x i8], ptr %6, i64 0, i64 %30 store i8 %29, ptr %31, align 1 %32 = load i64, ptr %7, align 8 %33 = getelementptr inbounds [150 x i8], ptr %6, i64 0, i64 %32 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp slt i32 %35, 97 br i1 %36, label %37, label %53 37: ; preds = %20 %38 = load ptr, ptr %4, align 8 %39 = load i64, ptr %7, align 8 %40 = getelementptr inbounds i8, ptr %38, i64 %39 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp sgt i32 %42, 96 br i1 %43, label %44, label %53 44: ; preds = %37 %45 = load i64, ptr %7, align 8 %46 = getelementptr inbounds [150 x i8], ptr %6, i64 0, i64 %45 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = add nsw i32 %48, 26 %50 = trunc i32 %49 to i8 %51 = load i64, ptr %7, align 8 %52 = getelementptr inbounds [150 x i8], ptr %6, i64 0, i64 %51 store i8 %50, ptr %52, align 1 br label %76 53: ; preds = %37, %20 %54 = load i64, ptr %7, align 8 %55 = getelementptr inbounds [150 x i8], ptr %6, i64 0, i64 %54 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = icmp slt i32 %57, 65 br i1 %58, label %59, label %75 59: ; preds = %53 %60 = load ptr, ptr %4, align 8 %61 = load i64, ptr %7, align 8 %62 = getelementptr inbounds i8, ptr %60, i64 %61 %63 = load i8, ptr %62, align 1 %64 = sext i8 %63 to i32 %65 = icmp slt i32 %64, 91 br i1 %65, label %66, label %75 66: ; preds = %59 %67 = load i64, ptr %7, align 8 %68 = getelementptr inbounds [150 x i8], ptr %6, i64 0, i64 %67 %69 = load i8, ptr %68, align 1 %70 = sext i8 %69 to i32 %71 = add nsw i32 %70, 26 %72 = trunc i32 %71 to i8 %73 = load i64, ptr %7, align 8 %74 = getelementptr inbounds [150 x i8], ptr %6, i64 0, i64 %73 store i8 %72, ptr %74, align 1 br label %75 75: ; preds = %66, %59, %53 br label %76 76: ; preds = %75, %44 br label %84 77: ; preds = %13 %78 = load ptr, ptr %4, align 8 %79 = load i64, ptr %7, align 8 %80 = getelementptr inbounds i8, ptr %78, i64 %79 %81 = load i8, ptr %80, align 1 %82 = load i64, ptr %7, align 8 %83 = getelementptr inbounds [150 x i8], ptr %6, i64 0, i64 %82 store i8 %81, ptr %83, align 1 br label %84 84: ; preds = %77, %76 br label %85 85: ; preds = %84 %86 = load i64, ptr %7, align 8 %87 = add i64 %86, 1 store i64 %87, ptr %7, align 8 %88 = load i64, ptr %7, align 8 %89 = load i64, ptr %5, align 8 %90 = icmp ult i64 %88, %89 br i1 %90, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %85 br label %91 91: ; preds = %._crit_edge, %2 %92 = load i64, ptr %5, align 8 %93 = getelementptr inbounds [150 x i8], ptr %6, i64 0, i64 %92 store i8 32, ptr %93, align 1 %94 = getelementptr inbounds [150 x i8], ptr %6, i64 0, i64 0 %95 = call i32 @printf(ptr noundef @.str, ptr noundef %94) ret void } declare i64 @strlen(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp7ua8km0_.c' source_filename = "/tmp/tmp7ua8km0_.c" target datalayout = "e-m:e-p270: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 [21 x i8] c"@@insert_config_here\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [1000 x i8], align 16 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %18, %0 %4 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %5 = load i32, ptr @stdin, align 4 %6 = call ptr @fgets(ptr noundef %4, i32 noundef 1000, i32 noundef %5) %7 = icmp ne ptr %6, null br i1 %7, label %8, label %19 8: ; preds = %3 %9 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %10 = call i64 @strncmp(ptr noundef %9, ptr noundef @.str, i32 noundef 20) %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %8 %13 = call i32 (...) @printConfig() br label %18 14: ; preds = %8 %15 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %16 = load i32, ptr @stdout, align 4 %17 = call i32 @fputs(ptr noundef %15, i32 noundef %16) br label %18 18: ; preds = %14, %12 br label %3, !llvm.loop !6 19: ; preds = %3 %20 = load i32, ptr %1, align 4 ret i32 %20 } declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printConfig(...) #1 declare i32 @fputs(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7ua8km0_.c" target datalayout = "e-m:e-p270: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 [21 x i8] c"@@insert_config_here\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [1000 x i8], align 16 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %4 = load i32, ptr @stdin, align 4 %5 = call ptr @fgets(ptr noundef %3, i32 noundef 1000, i32 noundef %4) %6 = icmp ne ptr %5, null br i1 %6, label %.lr.ph, label %21 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %17 %8 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %9 = call i64 @strncmp(ptr noundef %8, ptr noundef @.str, i32 noundef 20) %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %7 %12 = call i32 (...) @printConfig() br label %17 13: ; preds = %7 %14 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %15 = load i32, ptr @stdout, align 4 %16 = call i32 @fputs(ptr noundef %14, i32 noundef %15) br label %17 17: ; preds = %13, %11 %18 = load i32, ptr @stdin, align 4 %19 = call ptr @fgets(ptr noundef %3, i32 noundef 1000, i32 noundef %18) %20 = icmp ne ptr %19, null br i1 %20, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %21 21: ; preds = %._crit_edge, %0 %22 = load i32, ptr %1, align 4 ret i32 %22 } declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printConfig(...) #1 declare i32 @fputs(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpafnnpzgu.c' source_filename = "/tmp/tmpafnnpzgu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @brownian_displacement_simulation(i32 noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3, double noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca double, align 8 %18 = 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 double %3, ptr %10, align 8 store double %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %8, align 4 %21 = mul nsw i32 %19, %20 %22 = sext i32 %21 to i64 %23 = mul i64 %22, 8 %24 = trunc i64 %23 to i32 %25 = call i64 @malloc(i32 noundef %24) %26 = inttoptr i64 %25 to ptr store ptr %26, ptr %13, align 8 store i32 0, ptr %14, align 4 br label %27 27: ; preds = %79, %6 %28 = load i32, ptr %14, align 4 %29 = load i32, ptr %7, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %82 31: ; preds = %27 %32 = load i32, ptr %9, align 4 %33 = load i32, ptr %8, align 4 %34 = load double, ptr %10, align 8 %35 = load double, ptr %11, align 8 %36 = load ptr, ptr %12, align 8 %37 = call ptr @brownian_motion_simulation(i32 noundef %32, i32 noundef %33, double noundef %34, double noundef %35, ptr noundef %36) store ptr %37, ptr %18, align 8 store i32 0, ptr %16, align 4 br label %38 38: ; preds = %73, %31 %39 = load i32, ptr %16, align 4 %40 = load i32, ptr %8, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %42, label %76 42: ; preds = %38 store double 0.000000e+00, ptr %17, align 8 store i32 0, ptr %15, align 4 br label %43 43: ; preds = %60, %42 %44 = load i32, ptr %15, align 4 %45 = load i32, ptr %9, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %47, label %63 47: ; preds = %43 %48 = load double, ptr %17, align 8 %49 = load ptr, ptr %18, align 8 %50 = load i32, ptr %15, align 4 %51 = load i32, ptr %16, 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 %49, i64 %55 %57 = load double, ptr %56, align 8 %58 = call double @pow(double noundef %57, i32 noundef 2) %59 = fadd double %48, %58 store double %59, ptr %17, align 8 br label %60 60: ; preds = %47 %61 = load i32, ptr %15, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %15, align 4 br label %43, !llvm.loop !6 63: ; preds = %43 %64 = load double, ptr %17, align 8 %65 = load ptr, ptr %13, align 8 %66 = load i32, ptr %14, align 4 %67 = load i32, ptr %16, align 4 %68 = load i32, ptr %7, align 4 %69 = mul nsw i32 %67, %68 %70 = add nsw i32 %66, %69 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds double, ptr %65, i64 %71 store double %64, ptr %72, align 8 br label %73 73: ; preds = %63 %74 = load i32, ptr %16, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %16, align 4 br label %38, !llvm.loop !8 76: ; preds = %38 %77 = load ptr, ptr %18, align 8 %78 = call i32 @free(ptr noundef %77) br label %79 79: ; preds = %76 %80 = load i32, ptr %14, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %14, align 4 br label %27, !llvm.loop !9 82: ; preds = %27 %83 = load ptr, ptr %13, align 8 ret ptr %83 } declare i64 @malloc(i32 noundef) #1 declare ptr @brownian_motion_simulation(i32 noundef, i32 noundef, double noundef, double noundef, ptr noundef) #1 declare double @pow(double noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpafnnpzgu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @brownian_displacement_simulation(i32 noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3, double noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca double, align 8 %18 = 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 double %3, ptr %10, align 8 store double %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %8, align 4 %21 = mul nsw i32 %19, %20 %22 = sext i32 %21 to i64 %23 = mul i64 %22, 8 %24 = trunc i64 %23 to i32 %25 = call i64 @malloc(i32 noundef %24) %26 = inttoptr i64 %25 to ptr store ptr %26, ptr %13, align 8 store i32 0, ptr %14, align 4 %27 = load i32, ptr %14, align 4 %28 = load i32, ptr %7, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %.lr.ph5, label %88 .lr.ph5: ; preds = %6 br label %30 30: ; preds = %.lr.ph5, %82 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr %8, align 4 %33 = load double, ptr %10, align 8 %34 = load double, ptr %11, align 8 %35 = load ptr, ptr %12, align 8 %36 = call ptr @brownian_motion_simulation(i32 noundef %31, i32 noundef %32, double noundef %33, double noundef %34, ptr noundef %35) store ptr %36, ptr %18, align 8 store i32 0, ptr %16, align 4 %37 = load i32, ptr %16, align 4 %38 = load i32, ptr %8, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %.lr.ph2, label %79 .lr.ph2: ; preds = %30 br label %40 40: ; preds = %.lr.ph2, %73 store double 0.000000e+00, ptr %17, align 8 store i32 0, ptr %15, align 4 %41 = load i32, ptr %15, align 4 %42 = load i32, ptr %9, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %.lr.ph, label %63 .lr.ph: ; preds = %40 br label %44 44: ; preds = %.lr.ph, %57 %45 = load double, ptr %17, align 8 %46 = load ptr, ptr %18, align 8 %47 = load i32, ptr %15, align 4 %48 = load i32, ptr %16, align 4 %49 = load i32, ptr %9, align 4 %50 = mul nsw i32 %48, %49 %51 = add nsw i32 %47, %50 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds double, ptr %46, i64 %52 %54 = load double, ptr %53, align 8 %55 = call double @pow(double noundef %54, i32 noundef 2) %56 = fadd double %45, %55 store double %56, ptr %17, align 8 br label %57 57: ; preds = %44 %58 = load i32, ptr %15, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %15, align 4 %60 = load i32, ptr %15, align 4 %61 = load i32, ptr %9, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %44, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %57 br label %63 63: ; preds = %._crit_edge, %40 %64 = load double, ptr %17, align 8 %65 = load ptr, ptr %13, align 8 %66 = load i32, ptr %14, align 4 %67 = load i32, ptr %16, align 4 %68 = load i32, ptr %7, align 4 %69 = mul nsw i32 %67, %68 %70 = add nsw i32 %66, %69 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds double, ptr %65, i64 %71 store double %64, ptr %72, align 8 br label %73 73: ; preds = %63 %74 = load i32, ptr %16, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %16, align 4 %76 = load i32, ptr %16, align 4 %77 = load i32, ptr %8, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %40, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %73 br label %79 79: ; preds = %._crit_edge3, %30 %80 = load ptr, ptr %18, align 8 %81 = call i32 @free(ptr noundef %80) br label %82 82: ; preds = %79 %83 = load i32, ptr %14, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %14, align 4 %85 = load i32, ptr %14, align 4 %86 = load i32, ptr %7, align 4 %87 = icmp slt i32 %85, %86 br i1 %87, label %30, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %82 br label %88 88: ; preds = %._crit_edge6, %6 %89 = load ptr, ptr %13, align 8 ret ptr %89 } declare i64 @malloc(i32 noundef) #1 declare ptr @brownian_motion_simulation(i32 noundef, i32 noundef, double noundef, double noundef, ptr noundef) #1 declare double @pow(double noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpj119qr2d.c' source_filename = "/tmp/tmpj119qr2d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"Please enter 4 numbers separated by spaces > \00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"%d %d %d %d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"%d is the smallest\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %22 11: ; preds = %0 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %22 15: ; preds = %11 %16 = load i32, ptr %2, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %22 19: ; preds = %15 %20 = load i32, ptr %2, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20) br label %70 22: ; preds = %15, %11, %0 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %37 26: ; preds = %22 %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %37 30: ; preds = %26 %31 = load i32, ptr %3, align 4 %32 = load i32, ptr %5, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %37 34: ; preds = %30 %35 = load i32, ptr %3, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35) br label %69 37: ; preds = %30, %26, %22 %38 = load i32, ptr %4, align 4 %39 = load i32, ptr %3, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %41, label %52 41: ; preds = %37 %42 = load i32, ptr %4, align 4 %43 = load i32, ptr %2, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %45, label %52 45: ; preds = %41 %46 = load i32, ptr %4, align 4 %47 = load i32, ptr %5, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %49, label %52 49: ; preds = %45 %50 = load i32, ptr %4, align 4 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %50) br label %68 52: ; preds = %45, %41, %37 %53 = load i32, ptr %5, align 4 %54 = load i32, ptr %3, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %56, label %67 56: ; preds = %52 %57 = load i32, ptr %5, align 4 %58 = load i32, ptr %4, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %60, label %67 60: ; preds = %56 %61 = load i32, ptr %5, align 4 %62 = load i32, ptr %2, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %64, label %67 64: ; preds = %60 %65 = load i32, ptr %5, align 4 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %65) br label %67 67: ; preds = %64, %60, %56, %52 br label %68 68: ; preds = %67, %49 br label %69 69: ; preds = %68, %34 br label %70 70: ; preds = %69, %19 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj119qr2d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"Please enter 4 numbers separated by spaces > \00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"%d %d %d %d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"%d is the smallest\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %22 11: ; preds = %0 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %22 15: ; preds = %11 %16 = load i32, ptr %2, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %22 19: ; preds = %15 %20 = load i32, ptr %2, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20) br label %70 22: ; preds = %15, %11, %0 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %37 26: ; preds = %22 %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %37 30: ; preds = %26 %31 = load i32, ptr %3, align 4 %32 = load i32, ptr %5, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %37 34: ; preds = %30 %35 = load i32, ptr %3, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35) br label %69 37: ; preds = %30, %26, %22 %38 = load i32, ptr %4, align 4 %39 = load i32, ptr %3, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %41, label %52 41: ; preds = %37 %42 = load i32, ptr %4, align 4 %43 = load i32, ptr %2, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %45, label %52 45: ; preds = %41 %46 = load i32, ptr %4, align 4 %47 = load i32, ptr %5, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %49, label %52 49: ; preds = %45 %50 = load i32, ptr %4, align 4 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %50) br label %68 52: ; preds = %45, %41, %37 %53 = load i32, ptr %5, align 4 %54 = load i32, ptr %3, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %56, label %67 56: ; preds = %52 %57 = load i32, ptr %5, align 4 %58 = load i32, ptr %4, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %60, label %67 60: ; preds = %56 %61 = load i32, ptr %5, align 4 %62 = load i32, ptr %2, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %64, label %67 64: ; preds = %60 %65 = load i32, ptr %5, align 4 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %65) br label %67 67: ; preds = %64, %60, %56, %52 br label %68 68: ; preds = %67, %49 br label %69 69: ; preds = %68, %34 br label %70 70: ; preds = %69, %19 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(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"}
; ModuleID = '/tmp/tmpo5ht1iag.c' source_filename = "/tmp/tmpo5ht1iag.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 { %1 = alloca i64, align 8 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = load i64, ptr %1, align 8 %5 = load i64, ptr %2, align 8 %6 = icmp slt i64 %4, %5 br i1 %6, label %7, label %58 7: ; preds = %0 %8 = load i64, ptr %2, align 8 %9 = load i64, ptr %3, align 8 %10 = icmp slt i64 %8, %9 br i1 %10, label %11, label %58 11: ; preds = %7 %12 = load i64, ptr %1, align 8 %13 = load i64, ptr %2, align 8 %14 = icmp slt i64 %12, %13 %15 = zext i1 %14 to i32 %16 = call i32 @assert(i32 noundef %15) %17 = load i64, ptr %2, align 8 %18 = load i64, ptr %3, align 8 %19 = icmp slt i64 %17, %18 %20 = zext i1 %19 to i32 %21 = call i32 @assert(i32 noundef %20) %22 = load i64, ptr %1, align 8 %23 = load i64, ptr %3, align 8 %24 = icmp slt i64 %22, %23 %25 = zext i1 %24 to i32 %26 = call i32 @assert(i32 noundef %25) %27 = load i64, ptr %1, align 8 %28 = icmp sle i64 9223372036854775805, %27 br i1 %28, label %29, label %57 29: ; preds = %11 %30 = load i64, ptr %3, align 8 %31 = icmp sle i64 %30, 9223372036854775807 br i1 %31, label %32, label %57 32: ; preds = %29 %33 = load i64, ptr %1, align 8 %34 = icmp eq i64 %33, 9223372036854775805 %35 = zext i1 %34 to i32 %36 = call i32 @assert(i32 noundef %35) %37 = load i64, ptr %2, align 8 %38 = icmp eq i64 %37, 9223372036854775806 %39 = zext i1 %38 to i32 %40 = call i32 @assert(i32 noundef %39) %41 = load i64, ptr %3, align 8 %42 = icmp eq i64 %41, 9223372036854775807 %43 = zext i1 %42 to i32 %44 = call i32 @assert(i32 noundef %43) %45 = load i64, ptr %1, align 8 %46 = icmp ne i64 %45, -3 %47 = zext i1 %46 to i32 %48 = call i32 @assert(i32 noundef %47) %49 = load i64, ptr %2, align 8 %50 = icmp ne i64 %49, -2 %51 = zext i1 %50 to i32 %52 = call i32 @assert(i32 noundef %51) %53 = load i64, ptr %3, align 8 %54 = icmp ne i64 %53, -1 %55 = zext i1 %54 to i32 %56 = call i32 @assert(i32 noundef %55) br label %57 57: ; preds = %32, %29, %11 br label %58 58: ; preds = %57, %7, %0 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo5ht1iag.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 { %1 = alloca i64, align 8 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = load i64, ptr %1, align 8 %5 = load i64, ptr %2, align 8 %6 = icmp slt i64 %4, %5 br i1 %6, label %7, label %58 7: ; preds = %0 %8 = load i64, ptr %2, align 8 %9 = load i64, ptr %3, align 8 %10 = icmp slt i64 %8, %9 br i1 %10, label %11, label %58 11: ; preds = %7 %12 = load i64, ptr %1, align 8 %13 = load i64, ptr %2, align 8 %14 = icmp slt i64 %12, %13 %15 = zext i1 %14 to i32 %16 = call i32 @assert(i32 noundef %15) %17 = load i64, ptr %2, align 8 %18 = load i64, ptr %3, align 8 %19 = icmp slt i64 %17, %18 %20 = zext i1 %19 to i32 %21 = call i32 @assert(i32 noundef %20) %22 = load i64, ptr %1, align 8 %23 = load i64, ptr %3, align 8 %24 = icmp slt i64 %22, %23 %25 = zext i1 %24 to i32 %26 = call i32 @assert(i32 noundef %25) %27 = load i64, ptr %1, align 8 %28 = icmp sle i64 9223372036854775805, %27 br i1 %28, label %29, label %57 29: ; preds = %11 %30 = load i64, ptr %3, align 8 %31 = icmp sle i64 %30, 9223372036854775807 br i1 %31, label %32, label %57 32: ; preds = %29 %33 = load i64, ptr %1, align 8 %34 = icmp eq i64 %33, 9223372036854775805 %35 = zext i1 %34 to i32 %36 = call i32 @assert(i32 noundef %35) %37 = load i64, ptr %2, align 8 %38 = icmp eq i64 %37, 9223372036854775806 %39 = zext i1 %38 to i32 %40 = call i32 @assert(i32 noundef %39) %41 = load i64, ptr %3, align 8 %42 = icmp eq i64 %41, 9223372036854775807 %43 = zext i1 %42 to i32 %44 = call i32 @assert(i32 noundef %43) %45 = load i64, ptr %1, align 8 %46 = icmp ne i64 %45, -3 %47 = zext i1 %46 to i32 %48 = call i32 @assert(i32 noundef %47) %49 = load i64, ptr %2, align 8 %50 = icmp ne i64 %49, -2 %51 = zext i1 %50 to i32 %52 = call i32 @assert(i32 noundef %51) %53 = load i64, ptr %3, align 8 %54 = icmp ne i64 %53, -1 %55 = zext i1 %54 to i32 %56 = call i32 @assert(i32 noundef %55) br label %57 57: ; preds = %32, %29, %11 br label %58 58: ; preds = %57, %7, %0 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"}
; ModuleID = '/tmp/tmp06v4hpat.c' source_filename = "/tmp/tmp06v4hpat.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"aeiou\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%s, %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @testAppendChar() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr @.str, ptr %1, align 8 store ptr null, ptr %2, align 8 store ptr null, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %22, %0 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 5 br i1 %7, label %8, label %25 8: ; preds = %5 %9 = load ptr, ptr %2, align 8 %10 = load ptr, ptr %1, 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 = call ptr @appendChar(ptr noundef %9, i8 noundef signext %14) store ptr %15, ptr %3, align 8 %16 = load ptr, ptr %2, align 8 %17 = load ptr, ptr %3, align 8 %18 = call i32 @printf(ptr noundef @.str.1, ptr noundef %16, ptr noundef %17) %19 = load ptr, ptr %2, align 8 %20 = call i32 @free(ptr noundef %19) %21 = load ptr, ptr %3, align 8 store ptr %21, ptr %2, align 8 store ptr null, ptr %3, align 8 br label %22 22: ; preds = %8 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %4, align 4 br label %5, !llvm.loop !6 25: ; preds = %5 %26 = load ptr, ptr %2, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %28, label %31 28: ; preds = %25 %29 = load ptr, ptr %2, align 8 %30 = call i32 @free(ptr noundef %29) br label %31 31: ; preds = %28, %25 %32 = load ptr, ptr %3, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %34, label %37 34: ; preds = %31 %35 = load ptr, ptr %3, align 8 %36 = call i32 @free(ptr noundef %35) br label %37 37: ; preds = %34, %31 ret void } declare ptr @appendChar(ptr noundef, i8 noundef signext) #1 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp06v4hpat.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"aeiou\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%s, %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @testAppendChar() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr @.str, ptr %1, align 8 store ptr null, ptr %2, align 8 store ptr null, ptr %3, align 8 store i32 0, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp slt i32 %5, 5 br i1 %6, label %.lr.ph, label %26 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %21 %8 = load ptr, ptr %2, align 8 %9 = load ptr, ptr %1, 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 = call ptr @appendChar(ptr noundef %8, i8 noundef signext %13) store ptr %14, ptr %3, align 8 %15 = load ptr, ptr %2, align 8 %16 = load ptr, ptr %3, align 8 %17 = call i32 @printf(ptr noundef @.str.1, ptr noundef %15, ptr noundef %16) %18 = load ptr, ptr %2, align 8 %19 = call i32 @free(ptr noundef %18) %20 = load ptr, ptr %3, align 8 store ptr %20, ptr %2, align 8 store ptr null, ptr %3, align 8 br label %21 21: ; preds = %7 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %24, 5 br i1 %25, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %26 26: ; preds = %._crit_edge, %0 %27 = load ptr, ptr %2, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %32 29: ; preds = %26 %30 = load ptr, ptr %2, align 8 %31 = call i32 @free(ptr noundef %30) br label %32 32: ; preds = %29, %26 %33 = load ptr, ptr %3, align 8 %34 = icmp ne ptr %33, null br i1 %34, label %35, label %38 35: ; preds = %32 %36 = load ptr, ptr %3, align 8 %37 = call i32 @free(ptr noundef %36) br label %38 38: ; preds = %35, %32 ret void } declare ptr @appendChar(ptr noundef, i8 noundef signext) #1 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpq022uyiv.c' source_filename = "/tmp/tmpq022uyiv.c" target datalayout = "e-m:e-p270: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/tmpq022uyiv.c" target datalayout = "e-m:e-p270: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/tmp26n1y83b.c' source_filename = "/tmp/tmp26n1y83b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @send_code(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @send_code_param(i32 noundef %5, i32 noundef %6, ptr noundef null) ret void } declare i32 @send_code_param(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/tmp26n1y83b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @send_code(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @send_code_param(i32 noundef %5, i32 noundef %6, ptr noundef null) ret void } declare i32 @send_code_param(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/tmpa22c6gfu.c' source_filename = "/tmp/tmpa22c6gfu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @HWLOC_TYPE_DEPTH_PCI_DEVICE = 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/tmpa22c6gfu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @HWLOC_TYPE_DEPTH_PCI_DEVICE = 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/tmpegjffwg0.c' source_filename = "/tmp/tmpegjffwg0.c" target datalayout = "e-m:e-p270: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.timeval = type { i32, i64 } @.str = private unnamed_addr constant [11 x i8] c"Game over\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @onTime(i32 noundef %0, i16 noundef signext %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i16, align 2 %6 = alloca ptr, align 8 %7 = alloca %struct.timeval, align 8 store i32 %0, ptr %4, align 4 store i16 %1, ptr %5, align 2 store ptr %2, ptr %6, align 8 %8 = call i32 @printf(ptr noundef @.str) %9 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0 store i32 1, ptr %9, align 8 %10 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 1 store i64 0, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = call i32 @event_add(ptr noundef %11, ptr noundef %7) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @event_add(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/tmpegjffwg0.c" target datalayout = "e-m:e-p270: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.timeval = type { i32, i64 } @.str = private unnamed_addr constant [11 x i8] c"Game over\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @onTime(i32 noundef %0, i16 noundef signext %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i16, align 2 %6 = alloca ptr, align 8 %7 = alloca %struct.timeval, align 8 store i32 %0, ptr %4, align 4 store i16 %1, ptr %5, align 2 store ptr %2, ptr %6, align 8 %8 = call i32 @printf(ptr noundef @.str) %9 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0 store i32 1, ptr %9, align 8 %10 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 1 store i64 0, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = call i32 @event_add(ptr noundef %11, ptr noundef %7) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @event_add(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/tmp8f47q40h.c' source_filename = "/tmp/tmp8f47q40h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tx_do_tx_info_frame(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 @mibConstrInfoLLDPDU(ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 @txFrame(ptr noundef %5) ret void } declare i32 @mibConstrInfoLLDPDU(ptr noundef) #1 declare i32 @txFrame(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8f47q40h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tx_do_tx_info_frame(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 @mibConstrInfoLLDPDU(ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 @txFrame(ptr noundef %5) ret void } declare i32 @mibConstrInfoLLDPDU(ptr noundef) #1 declare i32 @txFrame(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_d0mwe7p.c' source_filename = "/tmp/tmp_d0mwe7p.c" target datalayout = "e-m:e-p270: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_d0mwe7p.c" target datalayout = "e-m:e-p270: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/tmpongklbzt.c' source_filename = "/tmp/tmpongklbzt.c" target datalayout = "e-m:e-p270: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/tmpongklbzt.c" target datalayout = "e-m:e-p270: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/tmpc4br9mzp.c' source_filename = "/tmp/tmpc4br9mzp.c" target datalayout = "e-m:e-p270: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/tmpc4br9mzp.c" target datalayout = "e-m:e-p270: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/tmpp8xo2y91.c' source_filename = "/tmp/tmpp8xo2y91.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @util_part_search(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i64 %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %14 = load ptr, ptr %7, align 8 %15 = load i32, ptr @O_RDONLY, align 4 %16 = call i32 @open(ptr noundef %14, i32 noundef %15) store i32 %16, ptr %13, align 4 %17 = load i32, ptr %13, align 4 %18 = icmp eq i32 %17, -1 br i1 %18, label %19, label %20 19: ; preds = %5 store i32 -1, ptr %6, align 4 br label %30 20: ; preds = %5 %21 = load i32, ptr %13, align 4 %22 = load i64, ptr %8, align 8 %23 = load i64, ptr %9, align 8 %24 = load i64, ptr %10, align 8 %25 = load ptr, ptr %11, align 8 %26 = call i32 @util_part_search_fh(i32 noundef %21, i64 noundef %22, i64 noundef %23, i64 noundef %24, ptr noundef %25) store i32 %26, ptr %12, align 4 %27 = load i32, ptr %13, align 4 %28 = call i32 @close(i32 noundef %27) %29 = load i32, ptr %12, align 4 store i32 %29, ptr %6, align 4 br label %30 30: ; preds = %20, %19 %31 = load i32, ptr %6, align 4 ret i32 %31 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @util_part_search_fh(i32 noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp8xo2y91.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @util_part_search(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i64 %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %14 = load ptr, ptr %7, align 8 %15 = load i32, ptr @O_RDONLY, align 4 %16 = call i32 @open(ptr noundef %14, i32 noundef %15) store i32 %16, ptr %13, align 4 %17 = load i32, ptr %13, align 4 %18 = icmp eq i32 %17, -1 br i1 %18, label %19, label %20 19: ; preds = %5 store i32 -1, ptr %6, align 4 br label %30 20: ; preds = %5 %21 = load i32, ptr %13, align 4 %22 = load i64, ptr %8, align 8 %23 = load i64, ptr %9, align 8 %24 = load i64, ptr %10, align 8 %25 = load ptr, ptr %11, align 8 %26 = call i32 @util_part_search_fh(i32 noundef %21, i64 noundef %22, i64 noundef %23, i64 noundef %24, ptr noundef %25) store i32 %26, ptr %12, align 4 %27 = load i32, ptr %13, align 4 %28 = call i32 @close(i32 noundef %27) %29 = load i32, ptr %12, align 4 store i32 %29, ptr %6, align 4 br label %30 30: ; preds = %20, %19 %31 = load i32, ptr %6, align 4 ret i32 %31 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @util_part_search_fh(i32 noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplvuhm66i.c' source_filename = "/tmp/tmplvuhm66i.c" target datalayout = "e-m:e-p270: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.sigaction = type { ptr, i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @setsig(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca %struct.sigaction, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %10 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 16) %11 = load ptr, ptr %6, align 8 %12 = getelementptr inbounds %struct.sigaction, ptr %9, i32 0, i32 0 store ptr %11, ptr %12, align 8 %13 = load ptr, ptr %8, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %19 15: ; preds = %4 %16 = load ptr, ptr %8, align 8 %17 = load i32, ptr %16, align 4 %18 = getelementptr inbounds %struct.sigaction, ptr %9, i32 0, i32 2 store i32 %17, ptr %18, align 4 br label %19 19: ; preds = %15, %4 %20 = load i32, ptr %7, align 4 %21 = getelementptr inbounds %struct.sigaction, ptr %9, i32 0, i32 1 store i32 %20, ptr %21, align 8 %22 = load i32, ptr %5, align 4 %23 = call i32 @sigaction(i32 noundef %22, ptr noundef %9, ptr noundef null) ret i32 %23 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sigaction(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplvuhm66i.c" target datalayout = "e-m:e-p270: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.sigaction = type { ptr, i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @setsig(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca %struct.sigaction, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %10 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 16) %11 = load ptr, ptr %6, align 8 %12 = getelementptr inbounds %struct.sigaction, ptr %9, i32 0, i32 0 store ptr %11, ptr %12, align 8 %13 = load ptr, ptr %8, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %19 15: ; preds = %4 %16 = load ptr, ptr %8, align 8 %17 = load i32, ptr %16, align 4 %18 = getelementptr inbounds %struct.sigaction, ptr %9, i32 0, i32 2 store i32 %17, ptr %18, align 4 br label %19 19: ; preds = %15, %4 %20 = load i32, ptr %7, align 4 %21 = getelementptr inbounds %struct.sigaction, ptr %9, i32 0, i32 1 store i32 %20, ptr %21, align 8 %22 = load i32, ptr %5, align 4 %23 = call i32 @sigaction(i32 noundef %22, ptr noundef %9, ptr noundef null) ret i32 %23 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sigaction(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsl1nsxxs.c' source_filename = "/tmp/tmpsl1nsxxs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @key_tasklist_scroll_up() #0 { %1 = call i32 @key_tasklist_scroll(i8 noundef zeroext 117) ret void } declare i32 @key_tasklist_scroll(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsl1nsxxs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @key_tasklist_scroll_up() #0 { %1 = call i32 @key_tasklist_scroll(i8 noundef zeroext 117) ret void } declare i32 @key_tasklist_scroll(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpihnfjwt7.c' source_filename = "/tmp/tmpihnfjwt7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32, i32 } %struct.TYPE_2__ = type { i32 } @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"bind\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"listen\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"accept\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"server: got connection from %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"Hello, world!\0A\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"send\00", align 1 @WNOHANG = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca %struct.sockaddr_in, align 4 %9 = alloca %struct.sockaddr_in, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %22 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = call i32 @atoi(ptr noundef %20) store i32 %21, ptr %11, align 4 br label %23 22: ; preds = %2 store i32 7838, ptr %11, align 4 br label %23 23: ; preds = %22, %17 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 2 %26 = load ptr, ptr %25, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %28, label %33 28: ; preds = %23 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 2 %31 = load ptr, ptr %30, align 8 %32 = call i32 @atoi(ptr noundef %31) store i32 %32, ptr %12, align 4 br label %34 33: ; preds = %23 store i32 2, ptr %12, align 4 br label %34 34: ; preds = %33, %28 %35 = load i32, ptr @PF_INET, align 4 %36 = load i32, ptr @SOCK_STREAM, align 4 %37 = call i32 @socket(i32 noundef %35, i32 noundef %36, i32 noundef 0) store i32 %37, ptr %6, align 4 %38 = icmp eq i32 %37, -1 br i1 %38, label %39, label %42 39: ; preds = %34 %40 = call i32 @perror(ptr noundef @.str) %41 = call i32 @exit(i32 noundef 1) #3 unreachable 42: ; preds = %34 %43 = load i32, ptr @PF_INET, align 4 %44 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 3 store i32 %43, ptr %44, align 4 %45 = load i32, ptr %11, align 4 %46 = call i32 @htons(i32 noundef %45) %47 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2 store i32 %46, ptr %47, align 4 %48 = load i32, ptr @INADDR_ANY, align 4 %49 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 %50 = getelementptr inbounds %struct.TYPE_2__, ptr %49, i32 0, i32 0 store i32 %48, ptr %50, align 4 %51 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1 %52 = call i32 @bzero(ptr noundef %51, i32 noundef 0) %53 = load i32, ptr %6, align 4 %54 = call i32 @bind(i32 noundef %53, ptr noundef %8, i32 noundef 4) %55 = icmp eq i32 %54, -1 br i1 %55, label %56, label %59 56: ; preds = %42 %57 = call i32 @perror(ptr noundef @.str.1) %58 = call i32 @exit(i32 noundef 1) #3 unreachable 59: ; preds = %42 %60 = load i32, ptr %6, align 4 %61 = load i32, ptr %12, align 4 %62 = call i32 @listen(i32 noundef %60, i32 noundef %61) %63 = icmp eq i32 %62, -1 br i1 %63, label %64, label %67 64: ; preds = %59 %65 = call i32 @perror(ptr noundef @.str.2) %66 = call i32 @exit(i32 noundef 1) #3 unreachable 67: ; preds = %59 br label %68 68: ; preds = %67, %72, %92 store i32 16, ptr %10, align 4 %69 = load i32, ptr %6, align 4 %70 = call i32 @accept(i32 noundef %69, ptr noundef %9, ptr noundef %10) store i32 %70, ptr %7, align 4 %71 = icmp eq i32 %70, -1 br i1 %71, label %72, label %74 72: ; preds = %68 %73 = call i32 @perror(ptr noundef @.str.3) br label %68 74: ; preds = %68 %75 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 %76 = getelementptr inbounds %struct.TYPE_2__, ptr %75, i32 0, i32 0 %77 = load i32, ptr %76, align 4 %78 = call ptr @inet_ntoa(i32 %77) %79 = call i32 @printf(ptr noundef @.str.4, ptr noundef %78) %80 = call i32 (...) @fork() %81 = icmp ne i32 %80, 0 br i1 %81, label %92, label %82 82: ; preds = %74 %83 = load i32, ptr %7, align 4 %84 = call i32 @send(i32 noundef %83, ptr noundef @.str.5, i32 noundef 14, i32 noundef 0) %85 = icmp eq i32 %84, -1 br i1 %85, label %86, label %91 86: ; preds = %82 %87 = call i32 @perror(ptr noundef @.str.6) %88 = load i32, ptr %7, align 4 %89 = call i32 @close(i32 noundef %88) %90 = call i32 @exit(i32 noundef 0) #3 unreachable 91: ; preds = %82 br label %92 92: ; preds = %91, %74 %93 = load i32, ptr %7, align 4 %94 = call i32 @close(i32 noundef %93) %95 = load i32, ptr @WNOHANG, align 4 %96 = call i32 @waitpid(i32 noundef -1, ptr noundef null, i32 noundef %95) br label %68 } declare i32 @atoi(ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @htons(i32 noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @inet_ntoa(i32) #1 declare i32 @fork(...) #1 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @waitpid(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" } 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/tmpihnfjwt7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32, i32 } %struct.TYPE_2__ = type { i32 } @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"bind\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"listen\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"accept\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"server: got connection from %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"Hello, world!\0A\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"send\00", align 1 @WNOHANG = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca %struct.sockaddr_in, align 4 %9 = alloca %struct.sockaddr_in, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %22 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = call i32 @atoi(ptr noundef %20) store i32 %21, ptr %11, align 4 br label %23 22: ; preds = %2 store i32 7838, ptr %11, align 4 br label %23 23: ; preds = %22, %17 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 2 %26 = load ptr, ptr %25, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %28, label %33 28: ; preds = %23 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 2 %31 = load ptr, ptr %30, align 8 %32 = call i32 @atoi(ptr noundef %31) store i32 %32, ptr %12, align 4 br label %34 33: ; preds = %23 store i32 2, ptr %12, align 4 br label %34 34: ; preds = %33, %28 %35 = load i32, ptr @PF_INET, align 4 %36 = load i32, ptr @SOCK_STREAM, align 4 %37 = call i32 @socket(i32 noundef %35, i32 noundef %36, i32 noundef 0) store i32 %37, ptr %6, align 4 %38 = icmp eq i32 %37, -1 br i1 %38, label %39, label %42 39: ; preds = %34 %40 = call i32 @perror(ptr noundef @.str) %41 = call i32 @exit(i32 noundef 1) #3 unreachable 42: ; preds = %34 %43 = load i32, ptr @PF_INET, align 4 %44 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 3 store i32 %43, ptr %44, align 4 %45 = load i32, ptr %11, align 4 %46 = call i32 @htons(i32 noundef %45) %47 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2 store i32 %46, ptr %47, align 4 %48 = load i32, ptr @INADDR_ANY, align 4 %49 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 %50 = getelementptr inbounds %struct.TYPE_2__, ptr %49, i32 0, i32 0 store i32 %48, ptr %50, align 4 %51 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1 %52 = call i32 @bzero(ptr noundef %51, i32 noundef 0) %53 = load i32, ptr %6, align 4 %54 = call i32 @bind(i32 noundef %53, ptr noundef %8, i32 noundef 4) %55 = icmp eq i32 %54, -1 br i1 %55, label %56, label %59 56: ; preds = %42 %57 = call i32 @perror(ptr noundef @.str.1) %58 = call i32 @exit(i32 noundef 1) #3 unreachable 59: ; preds = %42 %60 = load i32, ptr %6, align 4 %61 = load i32, ptr %12, align 4 %62 = call i32 @listen(i32 noundef %60, i32 noundef %61) %63 = icmp eq i32 %62, -1 br i1 %63, label %64, label %67 64: ; preds = %59 %65 = call i32 @perror(ptr noundef @.str.2) %66 = call i32 @exit(i32 noundef 1) #3 unreachable 67: ; preds = %59 br label %68 68: ; preds = %.backedge, %67 store i32 16, ptr %10, align 4 %69 = load i32, ptr %6, align 4 %70 = call i32 @accept(i32 noundef %69, ptr noundef %9, ptr noundef %10) store i32 %70, ptr %7, align 4 %71 = icmp eq i32 %70, -1 br i1 %71, label %72, label %74 72: ; preds = %68 %73 = call i32 @perror(ptr noundef @.str.3) br label %.backedge .backedge: ; preds = %72, %92 br label %68 74: ; preds = %68 %75 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 %76 = getelementptr inbounds %struct.TYPE_2__, ptr %75, i32 0, i32 0 %77 = load i32, ptr %76, align 4 %78 = call ptr @inet_ntoa(i32 %77) %79 = call i32 @printf(ptr noundef @.str.4, ptr noundef %78) %80 = call i32 (...) @fork() %81 = icmp ne i32 %80, 0 br i1 %81, label %92, label %82 82: ; preds = %74 %83 = load i32, ptr %7, align 4 %84 = call i32 @send(i32 noundef %83, ptr noundef @.str.5, i32 noundef 14, i32 noundef 0) %85 = icmp eq i32 %84, -1 br i1 %85, label %86, label %91 86: ; preds = %82 %87 = call i32 @perror(ptr noundef @.str.6) %88 = load i32, ptr %7, align 4 %89 = call i32 @close(i32 noundef %88) %90 = call i32 @exit(i32 noundef 0) #3 unreachable 91: ; preds = %82 br label %92 92: ; preds = %91, %74 %93 = load i32, ptr %7, align 4 %94 = call i32 @close(i32 noundef %93) %95 = load i32, ptr @WNOHANG, align 4 %96 = call i32 @waitpid(i32 noundef -1, ptr noundef null, i32 noundef %95) br label %.backedge } declare i32 @atoi(ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @htons(i32 noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @inet_ntoa(i32) #1 declare i32 @fork(...) #1 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @waitpid(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" } 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/tmpvfkmr10e.c' source_filename = "/tmp/tmpvfkmr10e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @soap_getposition(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = load i8, ptr %8, align 1 %10 = icmp ne i8 %9, 0 br i1 %10, label %12, label %11 11: ; preds = %2 store i32 -1, ptr %3, align 4 br label %88 12: ; preds = %2 store i32 0, ptr %7, align 4 store i32 1, ptr %6, align 4 br label %13 13: ; preds = %84, %12 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %6, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = call i32 @atoi(ptr noundef %17) %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %7, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %7, align 4 %22 = sext i32 %20 to i64 %23 = getelementptr inbounds i32, ptr %19, i64 %22 store i32 %18, ptr %23, align 4 br label %24 24: ; preds = %50, %13 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %6, 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 ne i32 %30, 0 br i1 %31, label %32, label %48 32: ; preds = %24 %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %6, 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 = icmp ne i32 %38, 44 br i1 %39, label %40, label %48 40: ; preds = %32 %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %6, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp ne i32 %46, 93 br label %48 48: ; preds = %40, %32, %24 %49 = phi i1 [ false, %32 ], [ false, %24 ], [ %47, %40 ] br i1 %49, label %50, label %53 50: ; preds = %48 %51 = load i32, ptr %6, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %6, align 4 br label %24, !llvm.loop !6 53: ; preds = %48 %54 = load ptr, ptr %4, align 8 %55 = load i32, ptr %6, 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 %60 = icmp eq i32 %59, 44 br i1 %60, label %61, label %64 61: ; preds = %53 %62 = load i32, ptr %6, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %6, align 4 br label %64 64: ; preds = %61, %53 br label %65 65: ; preds = %64 %66 = load i32, ptr %7, align 4 %67 = icmp slt i32 %66, 32 br i1 %67, label %68, label %84 68: ; preds = %65 %69 = load ptr, ptr %4, align 8 %70 = load i32, ptr %6, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i8, ptr %69, i64 %71 %73 = load i8, ptr %72, align 1 %74 = sext i8 %73 to i32 %75 = icmp ne i32 %74, 0 br i1 %75, label %76, label %84 76: ; preds = %68 %77 = load ptr, ptr %4, align 8 %78 = load i32, ptr %6, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i8, ptr %77, i64 %79 %81 = load i8, ptr %80, align 1 %82 = sext i8 %81 to i32 %83 = icmp ne i32 %82, 93 br label %84 84: ; preds = %76, %68, %65 %85 = phi i1 [ false, %68 ], [ false, %65 ], [ %83, %76 ] br i1 %85, label %13, label %86, !llvm.loop !8 86: ; preds = %84 %87 = load i32, ptr %7, align 4 store i32 %87, ptr %3, align 4 br label %88 88: ; preds = %86, %11 %89 = load i32, ptr %3, align 4 ret i32 %89 } 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvfkmr10e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @soap_getposition(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = load i8, ptr %8, align 1 %10 = icmp ne i8 %9, 0 br i1 %10, label %12, label %11 11: ; preds = %2 store i32 -1, ptr %3, align 4 br label %88 12: ; preds = %2 store i32 0, ptr %7, align 4 store i32 1, ptr %6, align 4 br label %13 13: ; preds = %84, %12 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %6, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = call i32 @atoi(ptr noundef %17) %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %7, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %7, align 4 %22 = sext i32 %20 to i64 %23 = getelementptr inbounds i32, ptr %19, i64 %22 store i32 %18, ptr %23, align 4 br label %24 24: ; preds = %50, %13 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %6, 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 ne i32 %30, 0 br i1 %31, label %32, label %48 32: ; preds = %24 %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %6, 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 = icmp ne i32 %38, 44 br i1 %39, label %40, label %48 40: ; preds = %32 %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %6, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp ne i32 %46, 93 br label %48 48: ; preds = %40, %32, %24 %49 = phi i1 [ false, %32 ], [ false, %24 ], [ %47, %40 ] br i1 %49, label %50, label %53 50: ; preds = %48 %51 = load i32, ptr %6, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %6, align 4 br label %24, !llvm.loop !6 53: ; preds = %48 %54 = load ptr, ptr %4, align 8 %55 = load i32, ptr %6, 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 %60 = icmp eq i32 %59, 44 br i1 %60, label %61, label %64 61: ; preds = %53 %62 = load i32, ptr %6, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %6, align 4 br label %64 64: ; preds = %61, %53 br label %65 65: ; preds = %64 %66 = load i32, ptr %7, align 4 %67 = icmp slt i32 %66, 32 br i1 %67, label %68, label %84 68: ; preds = %65 %69 = load ptr, ptr %4, align 8 %70 = load i32, ptr %6, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i8, ptr %69, i64 %71 %73 = load i8, ptr %72, align 1 %74 = sext i8 %73 to i32 %75 = icmp ne i32 %74, 0 br i1 %75, label %76, label %84 76: ; preds = %68 %77 = load ptr, ptr %4, align 8 %78 = load i32, ptr %6, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i8, ptr %77, i64 %79 %81 = load i8, ptr %80, align 1 %82 = sext i8 %81 to i32 %83 = icmp ne i32 %82, 93 br label %84 84: ; preds = %76, %68, %65 %85 = phi i1 [ false, %68 ], [ false, %65 ], [ %83, %76 ] br i1 %85, label %13, label %86, !llvm.loop !8 86: ; preds = %84 %87 = load i32, ptr %7, align 4 store i32 %87, ptr %3, align 4 br label %88 88: ; preds = %86, %11 %89 = load i32, ptr %3, align 4 ret i32 %89 } 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpmon029e9.c' source_filename = "/tmp/tmpmon029e9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"orl\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cgsynor() #0 { %1 = call i32 @cgsynth(ptr noundef @.str) ret void } declare i32 @cgsynth(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmon029e9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"orl\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cgsynor() #0 { %1 = call i32 @cgsynth(ptr noundef @.str) ret void } declare i32 @cgsynth(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkaaiwi5m.c' source_filename = "/tmp/tmpkaaiwi5m.c" target datalayout = "e-m:e-p270: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/tmpkaaiwi5m.c" target datalayout = "e-m:e-p270: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/tmpvi88_kk8.c' source_filename = "/tmp/tmpvi88_kk8.c" target datalayout = "e-m:e-p270: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/tmpvi88_kk8.c" target datalayout = "e-m:e-p270: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/tmpqxc53e9y.c' source_filename = "/tmp/tmpqxc53e9y.c" target datalayout = "e-m:e-p270: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/tmpqxc53e9y.c" target datalayout = "e-m:e-p270: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/tmpz8h0572a.c' source_filename = "/tmp/tmpz8h0572a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shell_quote(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i64 @shell_quote_length(ptr noundef %6) store i64 %7, ptr %3, align 8 %8 = load i64, ptr %3, align 8 %9 = add i64 %8, 1 %10 = call i64 @xmalloc(i64 noundef %9) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %2, align 8 %14 = call ptr @shell_quote_copy(ptr noundef %12, ptr noundef %13) store ptr %14, ptr %5, align 8 %15 = load ptr, ptr %5, align 8 store i8 0, ptr %15, align 1 %16 = load ptr, ptr %4, align 8 ret ptr %16 } declare i64 @shell_quote_length(ptr noundef) #1 declare i64 @xmalloc(i64 noundef) #1 declare ptr @shell_quote_copy(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/tmpz8h0572a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shell_quote(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i64 @shell_quote_length(ptr noundef %6) store i64 %7, ptr %3, align 8 %8 = load i64, ptr %3, align 8 %9 = add i64 %8, 1 %10 = call i64 @xmalloc(i64 noundef %9) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %2, align 8 %14 = call ptr @shell_quote_copy(ptr noundef %12, ptr noundef %13) store ptr %14, ptr %5, align 8 %15 = load ptr, ptr %5, align 8 store i8 0, ptr %15, align 1 %16 = load ptr, ptr %4, align 8 ret ptr %16 } declare i64 @shell_quote_length(ptr noundef) #1 declare i64 @xmalloc(i64 noundef) #1 declare ptr @shell_quote_copy(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/tmpkp4lbmz9.c' source_filename = "/tmp/tmpkp4lbmz9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test(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) ret void } 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/tmpkp4lbmz9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test(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) ret void } 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/tmp6lsbotdv.c' source_filename = "/tmp/tmp6lsbotdv.c" target datalayout = "e-m:e-p270: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/tmp6lsbotdv.c" target datalayout = "e-m:e-p270: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/tmpt7c4uusv.c' source_filename = "/tmp/tmpt7c4uusv.c" target datalayout = "e-m:e-p270: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/tmpt7c4uusv.c" target datalayout = "e-m:e-p270: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/tmpqv3hclzf.c' source_filename = "/tmp/tmpqv3hclzf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RasterPos4s(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %8, align 4 %13 = call i32 @glRasterPos4s(i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12) ret void } declare i32 @glRasterPos4s(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqv3hclzf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RasterPos4s(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %8, align 4 %13 = call i32 @glRasterPos4s(i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12) ret void } declare i32 @glRasterPos4s(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb98b1u7_.c' source_filename = "/tmp/tmpb98b1u7_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGINT = dso_local global i32 0, align 4 @SIG_IGN = dso_local global i32 0, align 4 @SIG_ERR = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [38 x i8] c"cannot set signal handler to SIG_IGN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @signal_handler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @SIGINT, align 4 %4 = load i32, ptr @SIG_IGN, align 4 %5 = call i64 @signal(i32 noundef %3, i32 noundef %4) %6 = load i64, ptr @SIG_ERR, align 8 %7 = icmp eq i64 %5, %6 br i1 %7, label %8, label %11 8: ; preds = %1 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str) br label %11 11: ; preds = %8, %1 ret void } declare i64 @signal(i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb98b1u7_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGINT = dso_local global i32 0, align 4 @SIG_IGN = dso_local global i32 0, align 4 @SIG_ERR = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [38 x i8] c"cannot set signal handler to SIG_IGN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @signal_handler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @SIGINT, align 4 %4 = load i32, ptr @SIG_IGN, align 4 %5 = call i64 @signal(i32 noundef %3, i32 noundef %4) %6 = load i64, ptr @SIG_ERR, align 8 %7 = icmp eq i64 %5, %6 br i1 %7, label %8, label %11 8: ; preds = %1 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str) br label %11 11: ; preds = %8, %1 ret void } declare i64 @signal(i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptsr86qgi.c' source_filename = "/tmp/tmptsr86qgi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @caml_js_fragment_flush() #0 { %1 = call i32 @exit(i32 noundef 1) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptsr86qgi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @caml_js_fragment_flush() #0 { %1 = call i32 @exit(i32 noundef 1) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp3hmumze.c' source_filename = "/tmp/tmpp3hmumze.c" target datalayout = "e-m:e-p270: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/tmpp3hmumze.c" target datalayout = "e-m:e-p270: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/tmp8vg4htt7.c' source_filename = "/tmp/tmp8vg4htt7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello, World\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) 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/tmp8vg4htt7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello, World\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) 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/tmplb6l4u_x.c' source_filename = "/tmp/tmplb6l4u_x.c" target datalayout = "e-m:e-p270: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/tmplb6l4u_x.c" target datalayout = "e-m:e-p270: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/tmpj2bn819_.c' source_filename = "/tmp/tmpj2bn819_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"abcde..........\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @my_showmem(ptr noundef @.str, i32 noundef 15) ret i32 0 } declare i32 @my_showmem(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/tmpj2bn819_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"abcde..........\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @my_showmem(ptr noundef @.str, i32 noundef 15) ret i32 0 } declare i32 @my_showmem(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/tmp1lggfraf.c' source_filename = "/tmp/tmp1lggfraf.c" target datalayout = "e-m:e-p270: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/tmp1lggfraf.c" target datalayout = "e-m:e-p270: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/tmpf_5lpcqg.c' source_filename = "/tmp/tmpf_5lpcqg.c" target datalayout = "e-m:e-p270: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/tmpf_5lpcqg.c" target datalayout = "e-m:e-p270: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/tmpsvtjqkcn.c' source_filename = "/tmp/tmpsvtjqkcn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TR_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 = icmp eq ptr null, %5 br i1 %6, label %7, label %8 7: ; preds = %1 store ptr null, ptr %2, align 8 br label %17 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i64 @strlen(ptr noundef %9) %11 = add nsw i64 %10, 1 %12 = call ptr @TR_malloc(i64 noundef %11) store ptr %12, ptr %4, align 8 %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 = %8, %7 %18 = load ptr, ptr %2, align 8 ret ptr %18 } declare ptr @TR_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/tmpsvtjqkcn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TR_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 = icmp eq ptr null, %5 br i1 %6, label %7, label %8 7: ; preds = %1 store ptr null, ptr %2, align 8 br label %17 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i64 @strlen(ptr noundef %9) %11 = add nsw i64 %10, 1 %12 = call ptr @TR_malloc(i64 noundef %11) store ptr %12, ptr %4, align 8 %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 = %8, %7 %18 = load ptr, ptr %2, align 8 ret ptr %18 } declare ptr @TR_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/tmpk656tixw.c' source_filename = "/tmp/tmpk656tixw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"Hello Daemon!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i32 0, ptr %1, align 4 %4 = call i64 (...) @fork() store i64 %4, ptr %2, align 8 %5 = load i64, ptr %2, align 8 %6 = icmp slt i64 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %0 %8 = load i32, ptr @EXIT_FAILURE, align 4 %9 = call i32 @exit(i32 noundef %8) #3 unreachable 10: ; preds = %0 %11 = load i64, ptr %2, align 8 %12 = icmp sgt i64 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %10 %14 = load i32, ptr @EXIT_SUCCESS, align 4 %15 = call i32 @exit(i32 noundef %14) #3 unreachable 16: ; preds = %10 %17 = call i32 @umask(i32 noundef 0) %18 = call i64 (...) @setsid() store i64 %18, ptr %3, align 8 %19 = load i64, ptr %3, align 8 %20 = icmp slt i64 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %16 %22 = load i32, ptr @EXIT_FAILURE, align 4 %23 = call i32 @exit(i32 noundef %22) #3 unreachable 24: ; preds = %16 %25 = call i64 @chdir(ptr noundef @.str) %26 = icmp slt i64 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %24 %28 = load i32, ptr @EXIT_FAILURE, align 4 %29 = call i32 @exit(i32 noundef %28) #3 unreachable 30: ; preds = %24 br label %31 31: ; preds = %30, %31 %32 = call i32 @printf(ptr noundef @.str.1) %33 = call i32 @sleep(i32 noundef 3) br label %31 } declare i64 @fork(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @umask(i32 noundef) #1 declare i64 @setsid(...) #1 declare i64 @chdir(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpk656tixw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"Hello Daemon!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i32 0, ptr %1, align 4 %4 = call i64 (...) @fork() store i64 %4, ptr %2, align 8 %5 = load i64, ptr %2, align 8 %6 = icmp slt i64 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %0 %8 = load i32, ptr @EXIT_FAILURE, align 4 %9 = call i32 @exit(i32 noundef %8) #3 unreachable 10: ; preds = %0 %11 = load i64, ptr %2, align 8 %12 = icmp sgt i64 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %10 %14 = load i32, ptr @EXIT_SUCCESS, align 4 %15 = call i32 @exit(i32 noundef %14) #3 unreachable 16: ; preds = %10 %17 = call i32 @umask(i32 noundef 0) %18 = call i64 (...) @setsid() store i64 %18, ptr %3, align 8 %19 = load i64, ptr %3, align 8 %20 = icmp slt i64 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %16 %22 = load i32, ptr @EXIT_FAILURE, align 4 %23 = call i32 @exit(i32 noundef %22) #3 unreachable 24: ; preds = %16 %25 = call i64 @chdir(ptr noundef @.str) %26 = icmp slt i64 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %24 %28 = load i32, ptr @EXIT_FAILURE, align 4 %29 = call i32 @exit(i32 noundef %28) #3 unreachable 30: ; preds = %24 br label %31 31: ; preds = %31, %30 %32 = call i32 @printf(ptr noundef @.str.1) %33 = call i32 @sleep(i32 noundef 3) br label %31 } declare i64 @fork(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @umask(i32 noundef) #1 declare i64 @setsid(...) #1 declare i64 @chdir(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp7balb_8a.c' source_filename = "/tmp/tmp7balb_8a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GLCD_SetPixel(i8 noundef zeroext %0, i8 noundef zeroext %1, i8 noundef zeroext %2) #0 { %4 = alloca i8, align 1 %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca i8, align 1 store i8 %0, ptr %4, align 1 store i8 %1, ptr %5, align 1 store i8 %2, ptr %6, align 1 %8 = load i8, ptr %4, align 1 %9 = load i8, ptr %5, align 1 %10 = zext i8 %9 to i32 %11 = sdiv i32 %10, 8 %12 = trunc i32 %11 to i8 %13 = call i32 @GLCD_GoTo(i8 noundef zeroext %8, i8 noundef zeroext %12) %14 = call zeroext i8 (...) @GLCD_ReadData() store i8 %14, ptr %7, align 1 %15 = load i8, ptr %4, align 1 %16 = load i8, ptr %5, align 1 %17 = zext i8 %16 to i32 %18 = sdiv i32 %17, 8 %19 = trunc i32 %18 to i8 %20 = call i32 @GLCD_GoTo(i8 noundef zeroext %15, i8 noundef zeroext %19) %21 = call zeroext i8 (...) @GLCD_ReadData() store i8 %21, ptr %7, align 1 %22 = load i8, ptr %4, align 1 %23 = load i8, ptr %5, align 1 %24 = zext i8 %23 to i32 %25 = sdiv i32 %24, 8 %26 = trunc i32 %25 to i8 %27 = call i32 @GLCD_GoTo(i8 noundef zeroext %22, i8 noundef zeroext %26) %28 = load i8, ptr %6, align 1 %29 = icmp ne i8 %28, 0 br i1 %29, label %30, label %39 30: ; preds = %3 %31 = load i8, ptr %5, align 1 %32 = zext i8 %31 to i32 %33 = srem i32 %32, 8 %34 = shl i32 1, %33 %35 = load i8, ptr %7, align 1 %36 = zext i8 %35 to i32 %37 = or i32 %36, %34 %38 = trunc i32 %37 to i8 store i8 %38, ptr %7, align 1 br label %49 39: ; preds = %3 %40 = load i8, ptr %5, align 1 %41 = zext i8 %40 to i32 %42 = srem i32 %41, 8 %43 = shl i32 1, %42 %44 = xor i32 %43, -1 %45 = load i8, ptr %7, align 1 %46 = zext i8 %45 to i32 %47 = and i32 %46, %44 %48 = trunc i32 %47 to i8 store i8 %48, ptr %7, align 1 br label %49 49: ; preds = %39, %30 %50 = load i8, ptr %7, align 1 %51 = call i32 @GLCD_WriteData(i8 noundef zeroext %50) ret void } declare i32 @GLCD_GoTo(i8 noundef zeroext, i8 noundef zeroext) #1 declare zeroext i8 @GLCD_ReadData(...) #1 declare i32 @GLCD_WriteData(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7balb_8a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GLCD_SetPixel(i8 noundef zeroext %0, i8 noundef zeroext %1, i8 noundef zeroext %2) #0 { %4 = alloca i8, align 1 %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca i8, align 1 store i8 %0, ptr %4, align 1 store i8 %1, ptr %5, align 1 store i8 %2, ptr %6, align 1 %8 = load i8, ptr %4, align 1 %9 = load i8, ptr %5, align 1 %10 = zext i8 %9 to i32 %11 = sdiv i32 %10, 8 %12 = trunc i32 %11 to i8 %13 = call i32 @GLCD_GoTo(i8 noundef zeroext %8, i8 noundef zeroext %12) %14 = call zeroext i8 (...) @GLCD_ReadData() store i8 %14, ptr %7, align 1 %15 = load i8, ptr %4, align 1 %16 = load i8, ptr %5, align 1 %17 = zext i8 %16 to i32 %18 = sdiv i32 %17, 8 %19 = trunc i32 %18 to i8 %20 = call i32 @GLCD_GoTo(i8 noundef zeroext %15, i8 noundef zeroext %19) %21 = call zeroext i8 (...) @GLCD_ReadData() store i8 %21, ptr %7, align 1 %22 = load i8, ptr %4, align 1 %23 = load i8, ptr %5, align 1 %24 = zext i8 %23 to i32 %25 = sdiv i32 %24, 8 %26 = trunc i32 %25 to i8 %27 = call i32 @GLCD_GoTo(i8 noundef zeroext %22, i8 noundef zeroext %26) %28 = load i8, ptr %6, align 1 %29 = icmp ne i8 %28, 0 br i1 %29, label %30, label %39 30: ; preds = %3 %31 = load i8, ptr %5, align 1 %32 = zext i8 %31 to i32 %33 = srem i32 %32, 8 %34 = shl i32 1, %33 %35 = load i8, ptr %7, align 1 %36 = zext i8 %35 to i32 %37 = or i32 %36, %34 %38 = trunc i32 %37 to i8 store i8 %38, ptr %7, align 1 br label %49 39: ; preds = %3 %40 = load i8, ptr %5, align 1 %41 = zext i8 %40 to i32 %42 = srem i32 %41, 8 %43 = shl i32 1, %42 %44 = xor i32 %43, -1 %45 = load i8, ptr %7, align 1 %46 = zext i8 %45 to i32 %47 = and i32 %46, %44 %48 = trunc i32 %47 to i8 store i8 %48, ptr %7, align 1 br label %49 49: ; preds = %39, %30 %50 = load i8, ptr %7, align 1 %51 = call i32 @GLCD_WriteData(i8 noundef zeroext %50) ret void } declare i32 @GLCD_GoTo(i8 noundef zeroext, i8 noundef zeroext) #1 declare zeroext i8 @GLCD_ReadData(...) #1 declare i32 @GLCD_WriteData(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8ghgcq9o.c' source_filename = "/tmp/tmp8ghgcq9o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i8 0, align 1 @.str = private unnamed_addr constant [36 x i8] c"Error: Maximum input size exceeded.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @read_input(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %5 = load i8, ptr @EOF, align 1 store i8 %5, ptr %4, align 1 br label %6 6: ; preds = %28, %1 %7 = call signext i8 (...) @getchar() store i8 %7, ptr %4, align 1 %8 = sext i8 %7 to i32 %9 = load i8, ptr @EOF, align 1 %10 = sext i8 %9 to i32 %11 = icmp ne i32 %8, %10 br i1 %11, label %12, label %29 12: ; preds = %6 %13 = load i32, ptr %3, align 4 %14 = icmp eq i32 %13, 1023 br i1 %14, label %15, label %21 15: ; preds = %12 %16 = call i32 @puts(ptr noundef @.str) %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %3, align 4 %19 = zext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 store i8 0, ptr %20, align 1 br label %28 21: ; preds = %12 %22 = load i8, ptr %4, align 1 %23 = load ptr, ptr %2, align 8 %24 = load i32, ptr %3, align 4 %25 = add i32 %24, 1 store i32 %25, ptr %3, align 4 %26 = zext i32 %24 to i64 %27 = getelementptr inbounds i8, ptr %23, i64 %26 store i8 %22, ptr %27, align 1 br label %28 28: ; preds = %21, %15 br label %6, !llvm.loop !6 29: ; preds = %6 ret void } declare signext i8 @getchar(...) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp8ghgcq9o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i8 0, align 1 @.str = private unnamed_addr constant [36 x i8] c"Error: Maximum input size exceeded.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @read_input(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %5 = load i8, ptr @EOF, align 1 store i8 %5, ptr %4, align 1 %6 = call signext i8 (...) @getchar() store i8 %6, ptr %4, align 1 %7 = sext i8 %6 to i32 %8 = load i8, ptr @EOF, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %7, %9 br i1 %10, label %.lr.ph, label %33 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %27 %12 = load i32, ptr %3, align 4 %13 = icmp eq i32 %12, 1023 br i1 %13, label %14, label %20 14: ; preds = %11 %15 = call i32 @puts(ptr noundef @.str) %16 = load ptr, ptr %2, align 8 %17 = load i32, ptr %3, align 4 %18 = zext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 store i8 0, ptr %19, align 1 br label %27 20: ; preds = %11 %21 = load i8, ptr %4, align 1 %22 = load ptr, ptr %2, align 8 %23 = load i32, ptr %3, align 4 %24 = add i32 %23, 1 store i32 %24, ptr %3, align 4 %25 = zext i32 %23 to i64 %26 = getelementptr inbounds i8, ptr %22, i64 %25 store i8 %21, ptr %26, align 1 br label %27 27: ; preds = %20, %14 %28 = call signext i8 (...) @getchar() store i8 %28, ptr %4, align 1 %29 = sext i8 %28 to i32 %30 = load i8, ptr @EOF, align 1 %31 = sext i8 %30 to i32 %32 = icmp ne i32 %29, %31 br i1 %32, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %1 ret void } declare signext i8 @getchar(...) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpo44usty0.c' source_filename = "/tmp/tmpo44usty0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @simple_print(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) ret void } 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/tmpo44usty0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @simple_print(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) ret void } 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/tmpy1hbs8rz.c' source_filename = "/tmp/tmpy1hbs8rz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getline_orig(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %28, %2 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = sub nsw i32 %9, 1 %11 = icmp slt i32 %8, %10 br i1 %11, label %12, label %19 12: ; preds = %7 %13 = call i32 (...) @getchar() store i32 %13, ptr %5, align 4 %14 = load i32, ptr @EOF, align 4 %15 = icmp ne i32 %13, %14 br i1 %15, label %16, label %19 16: ; preds = %12 %17 = load i32, ptr %5, align 4 %18 = icmp ne i32 %17, 10 br label %19 19: ; preds = %16, %12, %7 %20 = phi i1 [ false, %12 ], [ false, %7 ], [ %18, %16 ] br i1 %20, label %21, label %31 21: ; preds = %19 %22 = load i32, ptr %5, align 4 %23 = trunc i32 %22 to i8 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 store i8 %23, ptr %27, align 1 br label %28 28: ; preds = %21 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %6, align 4 br label %7, !llvm.loop !6 31: ; preds = %19 %32 = load i32, ptr %5, align 4 %33 = icmp eq i32 %32, 10 br i1 %33, label %34, label %43 34: ; preds = %31 %35 = load i32, ptr %5, align 4 %36 = trunc i32 %35 to i8 %37 = load ptr, ptr %3, align 8 %38 = load i32, ptr %6, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 store i8 %36, ptr %40, align 1 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %6, align 4 br label %43 43: ; preds = %34, %31 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %6, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 store i8 0, ptr %47, align 1 %48 = load i32, ptr %6, align 4 ret i32 %48 } declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy1hbs8rz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getline_orig(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %28, %2 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = sub nsw i32 %9, 1 %11 = icmp slt i32 %8, %10 br i1 %11, label %12, label %19 12: ; preds = %7 %13 = call i32 (...) @getchar() store i32 %13, ptr %5, align 4 %14 = load i32, ptr @EOF, align 4 %15 = icmp ne i32 %13, %14 br i1 %15, label %16, label %19 16: ; preds = %12 %17 = load i32, ptr %5, align 4 %18 = icmp ne i32 %17, 10 br label %19 19: ; preds = %16, %12, %7 %20 = phi i1 [ false, %12 ], [ false, %7 ], [ %18, %16 ] br i1 %20, label %21, label %31 21: ; preds = %19 %22 = load i32, ptr %5, align 4 %23 = trunc i32 %22 to i8 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 store i8 %23, ptr %27, align 1 br label %28 28: ; preds = %21 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %6, align 4 br label %7, !llvm.loop !6 31: ; preds = %19 %32 = load i32, ptr %5, align 4 %33 = icmp eq i32 %32, 10 br i1 %33, label %34, label %43 34: ; preds = %31 %35 = load i32, ptr %5, align 4 %36 = trunc i32 %35 to i8 %37 = load ptr, ptr %3, align 8 %38 = load i32, ptr %6, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 store i8 %36, ptr %40, align 1 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %6, align 4 br label %43 43: ; preds = %34, %31 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %6, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 store i8 0, ptr %47, align 1 %48 = load i32, ptr %6, align 4 ret i32 %48 } declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpod9zkgkq.c' source_filename = "/tmp/tmpod9zkgkq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"37impulse.dat\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%f %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca double, align 8 store i32 0, ptr %1, align 4 store i32 512, ptr %3, align 4 %6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %4, align 8 store i32 0, ptr %2, align 4 br label %7 7: ; preds = %24, %0 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %27 11: ; preds = %7 %12 = load i32, ptr %2, align 4 %13 = mul nsw i32 %12, 2 %14 = sitofp i32 %13 to double %15 = fmul double %14, 0x400921FB53C8D4F1 %16 = load i32, ptr %3, align 4 %17 = sitofp i32 %16 to double %18 = fdiv double %15, %17 store double %18, ptr %5, align 8 %19 = load ptr, ptr %4, align 8 %20 = load double, ptr %5, align 8 %21 = load double, ptr %5, align 8 %22 = call double @func(double noundef %21) %23 = call i32 @fprintf(ptr noundef %19, ptr noundef @.str.2, double noundef %20, double noundef %22) br label %24 24: ; preds = %11 %25 = load i32, ptr %2, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %2, align 4 br label %7, !llvm.loop !6 27: ; preds = %7 %28 = load ptr, ptr %4, align 8 %29 = call i32 @fclose(ptr noundef %28) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, double noundef, double noundef) #1 declare double @func(double noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpod9zkgkq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"37impulse.dat\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%f %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca double, align 8 store i32 0, ptr %1, align 4 store i32 512, ptr %3, align 4 %6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %4, align 8 store i32 0, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %29 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %23 %11 = load i32, ptr %2, align 4 %12 = mul nsw i32 %11, 2 %13 = sitofp i32 %12 to double %14 = fmul double %13, 0x400921FB53C8D4F1 %15 = load i32, ptr %3, align 4 %16 = sitofp i32 %15 to double %17 = fdiv double %14, %16 store double %17, ptr %5, align 8 %18 = load ptr, ptr %4, align 8 %19 = load double, ptr %5, align 8 %20 = load double, ptr %5, align 8 %21 = call double @func(double noundef %20) %22 = call i32 @fprintf(ptr noundef %18, ptr noundef @.str.2, double noundef %19, double noundef %21) br label %23 23: ; preds = %10 %24 = load i32, ptr %2, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %2, align 4 %26 = load i32, ptr %2, align 4 %27 = load i32, ptr %3, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %29 29: ; preds = %._crit_edge, %0 %30 = load ptr, ptr %4, align 8 %31 = call i32 @fclose(ptr noundef %30) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, double noundef, double noundef) #1 declare double @func(double noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpsyzif3zi.c' source_filename = "/tmp/tmpsyzif3zi.c" target datalayout = "e-m:e-p270: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/tmpsyzif3zi.c" target datalayout = "e-m:e-p270: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/tmp9dncu8b5.c' source_filename = "/tmp/tmp9dncu8b5.c" target datalayout = "e-m:e-p270: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.m1 = private unnamed_addr constant [4 x [4 x i32]] [[4 x i32] [i32 0, i32 0, i32 0, i32 1], [4 x i32] [i32 5, i32 6, i32 7, i32 8], [4 x i32] [i32 9, i32 3, i32 1, i32 2], [4 x i32] [i32 3, i32 4, i32 5, i32 6]], align 16 @.str = private unnamed_addr constant [26 x i8] c"Before setting zeroes...\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"After setting zeroes...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [4 x [4 x i32]], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.m1, i64 64, i1 false) %2 = call i32 @printf(ptr noundef @.str) %3 = getelementptr inbounds [4 x [4 x i32]], ptr %1, i64 0, i64 0 %4 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 0 %5 = call i32 @print_matrix(ptr noundef %4, i32 noundef 4, i32 noundef 4) %6 = getelementptr inbounds [4 x [4 x i32]], ptr %1, i64 0, i64 0 %7 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0 %8 = call i32 @set_zero(ptr noundef %7, i32 noundef 4, i32 noundef 4) %9 = call i32 @printf(ptr noundef @.str.1) %10 = getelementptr inbounds [4 x [4 x i32]], ptr %1, i64 0, i64 0 %11 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 0 %12 = call i32 @print_matrix(ptr noundef %11, i32 noundef 4, i32 noundef 4) ret void } ; 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 @print_matrix(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @set_zero(ptr noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9dncu8b5.c" target datalayout = "e-m:e-p270: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.m1 = private unnamed_addr constant [4 x [4 x i32]] [[4 x i32] [i32 0, i32 0, i32 0, i32 1], [4 x i32] [i32 5, i32 6, i32 7, i32 8], [4 x i32] [i32 9, i32 3, i32 1, i32 2], [4 x i32] [i32 3, i32 4, i32 5, i32 6]], align 16 @.str = private unnamed_addr constant [26 x i8] c"Before setting zeroes...\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"After setting zeroes...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [4 x [4 x i32]], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.m1, i64 64, i1 false) %2 = call i32 @printf(ptr noundef @.str) %3 = getelementptr inbounds [4 x [4 x i32]], ptr %1, i64 0, i64 0 %4 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 0 %5 = call i32 @print_matrix(ptr noundef %4, i32 noundef 4, i32 noundef 4) %6 = getelementptr inbounds [4 x [4 x i32]], ptr %1, i64 0, i64 0 %7 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0 %8 = call i32 @set_zero(ptr noundef %7, i32 noundef 4, i32 noundef 4) %9 = call i32 @printf(ptr noundef @.str.1) %10 = getelementptr inbounds [4 x [4 x i32]], ptr %1, i64 0, i64 0 %11 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 0 %12 = call i32 @print_matrix(ptr noundef %11, i32 noundef 4, i32 noundef 4) ret void } ; 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 @print_matrix(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @set_zero(ptr noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnzy18jvj.c' source_filename = "/tmp/tmpnzy18jvj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"list\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @list() #0 { %1 = call i32 @printf(ptr noundef @.str) ret ptr @.str.1 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnzy18jvj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"list\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @list() #0 { %1 = call i32 @printf(ptr noundef @.str) ret ptr @.str.1 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplzy22lp6.c' source_filename = "/tmp/tmplzy22lp6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @escape_input(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = mul i32 %7, 2 %9 = add i32 %8, 1 %10 = zext i32 %9 to i64 %11 = mul i64 1, %10 %12 = trunc i64 %11 to i32 %13 = call i64 @malloc(i32 noundef %12) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %5, align 8 store i32 0, ptr %3, align 4 br label %15 15: ; preds = %87, %1 %16 = load i32, ptr %3, align 4 %17 = load ptr, ptr %2, align 8 %18 = call i32 @strlen(ptr noundef %17) %19 = icmp ult i32 %16, %18 br i1 %19, label %20, label %90 20: ; preds = %15 %21 = load ptr, ptr %2, align 8 %22 = load i32, ptr %3, align 4 %23 = zext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp sge i32 %26, 65 br i1 %27, label %28, label %36 28: ; preds = %20 %29 = load ptr, ptr %2, align 8 %30 = load i32, ptr %3, align 4 %31 = zext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp sle i32 %34, 90 br i1 %35, label %75, label %36 36: ; preds = %28, %20 %37 = load ptr, ptr %2, align 8 %38 = load i32, ptr %3, align 4 %39 = zext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp sge i32 %42, 97 br i1 %43, label %44, label %52 44: ; preds = %36 %45 = load ptr, ptr %2, align 8 %46 = load i32, ptr %3, align 4 %47 = zext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %45, i64 %47 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = icmp sle i32 %50, 122 br i1 %51, label %75, label %52 52: ; preds = %44, %36 %53 = load ptr, ptr %2, align 8 %54 = load i32, ptr %3, align 4 %55 = zext 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 %59 = icmp sge i32 %58, 48 br i1 %59, label %60, label %68 60: ; preds = %52 %61 = load ptr, ptr %2, align 8 %62 = load i32, ptr %3, align 4 %63 = zext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %61, i64 %63 %65 = load i8, ptr %64, align 1 %66 = sext i8 %65 to i32 %67 = icmp sle i32 %66, 57 br i1 %67, label %75, label %68 68: ; preds = %60, %52 %69 = load ptr, ptr %5, align 8 %70 = load i32, ptr %4, align 4 %71 = zext i32 %70 to i64 %72 = getelementptr inbounds i8, ptr %69, i64 %71 store i8 92, ptr %72, align 1 %73 = load i32, ptr %4, align 4 %74 = add i32 %73, 1 store i32 %74, ptr %4, align 4 br label %75 75: ; preds = %68, %60, %44, %28 %76 = load ptr, ptr %2, align 8 %77 = load i32, ptr %3, align 4 %78 = zext i32 %77 to i64 %79 = getelementptr inbounds i8, ptr %76, i64 %78 %80 = load i8, ptr %79, align 1 %81 = load ptr, ptr %5, align 8 %82 = load i32, ptr %4, align 4 %83 = zext i32 %82 to i64 %84 = getelementptr inbounds i8, ptr %81, i64 %83 store i8 %80, ptr %84, align 1 %85 = load i32, ptr %4, align 4 %86 = add i32 %85, 1 store i32 %86, ptr %4, align 4 br label %87 87: ; preds = %75 %88 = load i32, ptr %3, align 4 %89 = add i32 %88, 1 store i32 %89, ptr %3, align 4 br label %15, !llvm.loop !6 90: ; preds = %15 %91 = load ptr, ptr %5, align 8 %92 = load i32, ptr %4, align 4 %93 = zext i32 %92 to i64 %94 = getelementptr inbounds i8, ptr %91, i64 %93 store i8 0, ptr %94, align 1 %95 = load ptr, ptr %5, align 8 ret ptr %95 } declare i64 @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplzy22lp6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @escape_input(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = mul i32 %7, 2 %9 = add i32 %8, 1 %10 = zext i32 %9 to i64 %11 = mul i64 1, %10 %12 = trunc i64 %11 to i32 %13 = call i64 @malloc(i32 noundef %12) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %5, align 8 store i32 0, ptr %3, align 4 %15 = load i32, ptr %3, align 4 %16 = load ptr, ptr %2, align 8 %17 = call i32 @strlen(ptr noundef %16) %18 = icmp ult i32 %15, %17 br i1 %18, label %.lr.ph, label %93 .lr.ph: ; preds = %1 br label %19 19: ; preds = %.lr.ph, %86 %20 = load ptr, ptr %2, align 8 %21 = load i32, ptr %3, align 4 %22 = zext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp sge i32 %25, 65 br i1 %26, label %27, label %35 27: ; preds = %19 %28 = load ptr, ptr %2, align 8 %29 = load i32, ptr %3, align 4 %30 = zext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp sle i32 %33, 90 br i1 %34, label %74, label %35 35: ; preds = %27, %19 %36 = load ptr, ptr %2, align 8 %37 = load i32, ptr %3, align 4 %38 = zext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp sge i32 %41, 97 br i1 %42, label %43, label %51 43: ; preds = %35 %44 = load ptr, ptr %2, align 8 %45 = load i32, ptr %3, align 4 %46 = zext 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 sle i32 %49, 122 br i1 %50, label %74, label %51 51: ; preds = %43, %35 %52 = load ptr, ptr %2, align 8 %53 = load i32, ptr %3, align 4 %54 = zext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %52, i64 %54 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = icmp sge i32 %57, 48 br i1 %58, label %59, label %67 59: ; preds = %51 %60 = load ptr, ptr %2, align 8 %61 = load i32, ptr %3, align 4 %62 = zext i32 %61 to i64 %63 = getelementptr inbounds i8, ptr %60, i64 %62 %64 = load i8, ptr %63, align 1 %65 = sext i8 %64 to i32 %66 = icmp sle i32 %65, 57 br i1 %66, label %74, label %67 67: ; preds = %59, %51 %68 = load ptr, ptr %5, align 8 %69 = load i32, ptr %4, align 4 %70 = zext i32 %69 to i64 %71 = getelementptr inbounds i8, ptr %68, i64 %70 store i8 92, ptr %71, align 1 %72 = load i32, ptr %4, align 4 %73 = add i32 %72, 1 store i32 %73, ptr %4, align 4 br label %74 74: ; preds = %67, %59, %43, %27 %75 = load ptr, ptr %2, align 8 %76 = load i32, ptr %3, align 4 %77 = zext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %75, i64 %77 %79 = load i8, ptr %78, align 1 %80 = load ptr, ptr %5, align 8 %81 = load i32, ptr %4, align 4 %82 = zext i32 %81 to i64 %83 = getelementptr inbounds i8, ptr %80, i64 %82 store i8 %79, ptr %83, align 1 %84 = load i32, ptr %4, align 4 %85 = add i32 %84, 1 store i32 %85, ptr %4, align 4 br label %86 86: ; preds = %74 %87 = load i32, ptr %3, align 4 %88 = add i32 %87, 1 store i32 %88, ptr %3, align 4 %89 = load i32, ptr %3, align 4 %90 = load ptr, ptr %2, align 8 %91 = call i32 @strlen(ptr noundef %90) %92 = icmp ult i32 %89, %91 br i1 %92, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %86 br label %93 93: ; preds = %._crit_edge, %1 %94 = load ptr, ptr %5, align 8 %95 = load i32, ptr %4, align 4 %96 = zext i32 %95 to i64 %97 = getelementptr inbounds i8, ptr %94, i64 %96 store i8 0, ptr %97, align 1 %98 = load ptr, ptr %5, align 8 ret ptr %98 } declare i64 @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpifm33r81.c' source_filename = "/tmp/tmpifm33r81.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Getting unique name\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Copying name\00", align 1 @EEXIST = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [28 x i8] c"Couldn't make pipe %s : %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"# Made named pipe %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @make_fifos(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %6 6: ; preds = %14, %1 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 2 br i1 %8, label %9, label %17 9: ; preds = %6 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %4, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds ptr, ptr %10, i64 %12 store ptr null, ptr %13, align 8 br label %14 14: ; preds = %9 %15 = load i32, ptr %4, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %4, align 4 br label %6, !llvm.loop !6 17: ; preds = %6 store i32 0, ptr %4, align 4 br label %18 18: ; preds = %72, %17 %19 = load i32, ptr %4, align 4 %20 = icmp slt i32 %19, 2 br i1 %20, label %21, label %75 21: ; preds = %18 %22 = call ptr @tmpnam(ptr noundef null) store ptr %22, ptr %5, align 8 %23 = load ptr, ptr %5, align 8 %24 = icmp eq ptr null, %23 br i1 %24, label %25, label %27 25: ; preds = %21 %26 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %2, align 4 br label %76 27: ; preds = %21 %28 = load ptr, ptr %5, align 8 %29 = call ptr @strdup(ptr noundef %28) %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %4, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds ptr, ptr %30, i64 %32 store ptr %29, ptr %33, align 8 %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %4, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 %38 = load ptr, ptr %37, align 8 %39 = icmp eq ptr null, %38 br i1 %39, label %40, label %42 40: ; preds = %27 %41 = call i32 @perror(ptr noundef @.str.1) store i32 -1, ptr %2, align 4 br label %76 42: ; preds = %27 %43 = load ptr, ptr %5, align 8 %44 = call i64 @mkfifo(ptr noundef %43, i32 noundef 384) %45 = icmp ne i64 0, %44 br i1 %45, label %46, label %69 46: ; preds = %42 %47 = load ptr, ptr %3, align 8 %48 = load i32, ptr %4, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds ptr, ptr %47, i64 %49 %51 = load ptr, ptr %50, align 8 %52 = call i32 @free(ptr noundef %51) %53 = load ptr, ptr %3, align 8 %54 = load i32, ptr %4, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds ptr, ptr %53, i64 %55 store ptr null, ptr %56, align 8 %57 = load i64, ptr @EEXIST, align 8 %58 = load i64, ptr @errno, align 8 %59 = icmp eq i64 %57, %58 br i1 %59, label %60, label %63 60: ; preds = %46 %61 = load i32, ptr %4, align 4 %62 = add nsw i32 %61, -1 store i32 %62, ptr %4, align 4 br label %72 63: ; preds = %46 %64 = load i32, ptr @stderr, align 4 %65 = load ptr, ptr %5, align 8 %66 = load i64, ptr @errno, align 8 %67 = call ptr @strerror(i64 noundef %66) %68 = call i32 @fprintf(i32 noundef %64, ptr noundef @.str.2, ptr noundef %65, ptr noundef %67) store i32 -1, ptr %2, align 4 br label %76 69: ; preds = %42 %70 = load ptr, ptr %5, align 8 %71 = call i32 @printf(ptr noundef @.str.3, ptr noundef %70) br label %72 72: ; preds = %69, %60 %73 = load i32, ptr %4, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %4, align 4 br label %18, !llvm.loop !8 75: ; preds = %18 store i32 0, ptr %2, align 4 br label %76 76: ; preds = %75, %63, %40, %25 %77 = load i32, ptr %2, align 4 ret i32 %77 } declare ptr @tmpnam(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @strdup(ptr noundef) #1 declare i64 @mkfifo(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i64 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpifm33r81.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Getting unique name\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Copying name\00", align 1 @EEXIST = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [28 x i8] c"Couldn't make pipe %s : %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"# Made named pipe %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @make_fifos(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 2 br i1 %7, label %.lr.ph, label %18 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %13 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds ptr, ptr %9, i64 %11 store ptr null, ptr %12, align 8 br label %13 13: ; preds = %8 %14 = load i32, ptr %4, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %4, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %16, 2 br i1 %17, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %18 18: ; preds = %._crit_edge, %1 store i32 0, ptr %4, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp slt i32 %19, 2 br i1 %20, label %.lr.ph2, label %77 .lr.ph2: ; preds = %18 br label %21 21: ; preds = %.lr.ph2, %72 %22 = call ptr @tmpnam(ptr noundef null) store ptr %22, ptr %5, align 8 %23 = load ptr, ptr %5, align 8 %24 = icmp eq ptr null, %23 br i1 %24, label %25, label %27 25: ; preds = %21 %26 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %2, align 4 br label %78 27: ; preds = %21 %28 = load ptr, ptr %5, align 8 %29 = call ptr @strdup(ptr noundef %28) %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %4, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds ptr, ptr %30, i64 %32 store ptr %29, ptr %33, align 8 %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %4, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 %38 = load ptr, ptr %37, align 8 %39 = icmp eq ptr null, %38 br i1 %39, label %40, label %42 40: ; preds = %27 %41 = call i32 @perror(ptr noundef @.str.1) store i32 -1, ptr %2, align 4 br label %78 42: ; preds = %27 %43 = load ptr, ptr %5, align 8 %44 = call i64 @mkfifo(ptr noundef %43, i32 noundef 384) %45 = icmp ne i64 0, %44 br i1 %45, label %46, label %69 46: ; preds = %42 %47 = load ptr, ptr %3, align 8 %48 = load i32, ptr %4, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds ptr, ptr %47, i64 %49 %51 = load ptr, ptr %50, align 8 %52 = call i32 @free(ptr noundef %51) %53 = load ptr, ptr %3, align 8 %54 = load i32, ptr %4, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds ptr, ptr %53, i64 %55 store ptr null, ptr %56, align 8 %57 = load i64, ptr @EEXIST, align 8 %58 = load i64, ptr @errno, align 8 %59 = icmp eq i64 %57, %58 br i1 %59, label %60, label %63 60: ; preds = %46 %61 = load i32, ptr %4, align 4 %62 = add nsw i32 %61, -1 store i32 %62, ptr %4, align 4 br label %72 63: ; preds = %46 %64 = load i32, ptr @stderr, align 4 %65 = load ptr, ptr %5, align 8 %66 = load i64, ptr @errno, align 8 %67 = call ptr @strerror(i64 noundef %66) %68 = call i32 @fprintf(i32 noundef %64, ptr noundef @.str.2, ptr noundef %65, ptr noundef %67) store i32 -1, ptr %2, align 4 br label %78 69: ; preds = %42 %70 = load ptr, ptr %5, align 8 %71 = call i32 @printf(ptr noundef @.str.3, ptr noundef %70) br label %72 72: ; preds = %69, %60 %73 = load i32, ptr %4, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %4, align 4 %75 = load i32, ptr %4, align 4 %76 = icmp slt i32 %75, 2 br i1 %76, label %21, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %72 br label %77 77: ; preds = %._crit_edge3, %18 store i32 0, ptr %2, align 4 br label %78 78: ; preds = %77, %63, %40, %25 %79 = load i32, ptr %2, align 4 ret i32 %79 } declare ptr @tmpnam(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @strdup(ptr noundef) #1 declare i64 @mkfifo(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i64 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpuu_u0f2g.c' source_filename = "/tmp/tmpuu_u0f2g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[J\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @EraseScrFromCur() #0 { %1 = call i32 @WRITETEST(ptr noundef @.str) ret void } declare i32 @WRITETEST(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuu_u0f2g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[J\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @EraseScrFromCur() #0 { %1 = call i32 @WRITETEST(ptr noundef @.str) ret void } declare i32 @WRITETEST(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdc4x4djr.c' source_filename = "/tmp/tmpdc4x4djr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"Teste %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %7, align 4 br label %9 9: ; preds = %40, %0 %10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %11 = icmp eq i32 %10, 1 br i1 %11, label %12, label %15 12: ; preds = %9 %13 = load i32, ptr %2, align 4 %14 = icmp sgt i32 %13, 0 br label %15 15: ; preds = %12, %9 %16 = phi i1 [ false, %9 ], [ %14, %12 ] br i1 %16, label %17, label %42 17: ; preds = %15 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %18 = load i32, ptr %7, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %7, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %18) store i32 0, ptr %8, align 4 br label %21 21: ; preds = %37, %17 %22 = load i32, ptr %8, align 4 %23 = load i32, ptr %2, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %40 25: ; preds = %21 %26 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %5, ptr noundef %6) %27 = load i32, ptr %5, align 4 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, %27 store i32 %29, ptr %3, align 4 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %4, align 4 %32 = add nsw i32 %31, %30 store i32 %32, ptr %4, align 4 %33 = load i32, ptr %3, align 4 %34 = load i32, ptr %4, align 4 %35 = sub nsw i32 %33, %34 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %35) br label %37 37: ; preds = %25 %38 = load i32, ptr %8, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %8, align 4 br label %21, !llvm.loop !6 40: ; preds = %21 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %9, !llvm.loop !8 42: ; preds = %15 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdc4x4djr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"Teste %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %7, align 4 br label %9 9: ; preds = %42, %0 %10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %11 = icmp eq i32 %10, 1 br i1 %11, label %12, label %15 12: ; preds = %9 %13 = load i32, ptr %2, align 4 %14 = icmp sgt i32 %13, 0 br label %15 15: ; preds = %12, %9 %16 = phi i1 [ false, %9 ], [ %14, %12 ] br i1 %16, label %17, label %44 17: ; preds = %15 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %18 = load i32, ptr %7, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %7, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %18) store i32 0, ptr %8, align 4 %21 = load i32, ptr %8, align 4 %22 = load i32, ptr %2, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %.lr.ph, label %42 .lr.ph: ; preds = %17 br label %24 24: ; preds = %.lr.ph, %36 %25 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %5, ptr noundef %6) %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, %26 store i32 %28, ptr %3, align 4 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %4, align 4 %31 = add nsw i32 %30, %29 store i32 %31, ptr %4, align 4 %32 = load i32, ptr %3, align 4 %33 = load i32, ptr %4, align 4 %34 = sub nsw i32 %32, %33 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %34) br label %36 36: ; preds = %24 %37 = load i32, ptr %8, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %8, align 4 %39 = load i32, ptr %8, align 4 %40 = load i32, ptr %2, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %42 42: ; preds = %._crit_edge, %17 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %9, !llvm.loop !8 44: ; preds = %15 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpui3rbhkm.c' source_filename = "/tmp/tmpui3rbhkm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [65 x i8] c"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @rs_unbase64(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store ptr @.str, ptr %3, align 8 %11 = load ptr, ptr %2, align 8 store ptr %11, ptr %9, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %12 12: ; preds = %100, %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 %23 17: ; preds = %12 %18 = load ptr, ptr %3, align 8 %19 = load ptr, ptr %2, align 8 %20 = load i8, ptr %19, align 1 %21 = call ptr @strchr(ptr noundef %18, i8 noundef signext %20) store ptr %21, ptr %10, align 8 %22 = icmp ne ptr %21, null br label %23 23: ; preds = %17, %12 %24 = phi i1 [ false, %12 ], [ %22, %17 ] br i1 %24, label %25, label %105 25: ; preds = %23 %26 = load ptr, ptr %10, align 8 %27 = load ptr, ptr %3, align 8 %28 = ptrtoint ptr %26 to i64 %29 = ptrtoint ptr %27 to i64 %30 = sub i64 %28, %29 %31 = trunc i64 %30 to i32 store i32 %31, ptr %6, align 4 %32 = load i32, ptr %7, align 4 %33 = mul nsw i32 %32, 6 %34 = sdiv i32 %33, 8 store i32 %34, ptr %5, align 4 %35 = load i32, ptr %7, align 4 %36 = mul nsw i32 %35, 6 %37 = srem i32 %36, 8 store i32 %37, ptr %4, align 4 %38 = load i32, ptr %4, align 4 %39 = sub nsw i32 8, %38 %40 = shl i32 1, %39 %41 = sub nsw i32 %40, 1 %42 = xor i32 %41, -1 %43 = trunc i32 %42 to i8 %44 = zext i8 %43 to i32 %45 = load ptr, ptr %9, align 8 %46 = load i32, ptr %5, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %45, i64 %47 %49 = load i8, ptr %48, align 1 %50 = zext i8 %49 to i32 %51 = and i32 %50, %44 %52 = trunc i32 %51 to i8 store i8 %52, ptr %48, align 1 %53 = load i32, ptr %4, align 4 %54 = icmp slt i32 %53, 3 br i1 %54, label %55, label %72 55: ; preds = %25 %56 = load i32, ptr %6, align 4 %57 = load i32, ptr %4, align 4 %58 = sub nsw i32 2, %57 %59 = shl i32 %56, %58 %60 = trunc i32 %59 to i8 %61 = zext i8 %60 to i32 %62 = load ptr, ptr %9, align 8 %63 = load i32, ptr %5, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %62, i64 %64 %66 = load i8, ptr %65, align 1 %67 = zext i8 %66 to i32 %68 = or i32 %67, %61 %69 = trunc i32 %68 to i8 store i8 %69, ptr %65, align 1 %70 = load i32, ptr %5, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %8, align 4 br label %100 72: ; preds = %25 %73 = load i32, ptr %6, align 4 %74 = load i32, ptr %4, align 4 %75 = sub nsw i32 %74, 2 %76 = ashr i32 %73, %75 %77 = trunc i32 %76 to i8 %78 = zext i8 %77 to i32 %79 = load ptr, ptr %9, align 8 %80 = load i32, ptr %5, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i8, ptr %79, i64 %81 %83 = load i8, ptr %82, align 1 %84 = zext i8 %83 to i32 %85 = or i32 %84, %78 %86 = trunc i32 %85 to i8 store i8 %86, ptr %82, align 1 %87 = load i32, ptr %6, align 4 %88 = load i32, ptr %4, align 4 %89 = sub nsw i32 %88, 2 %90 = sub nsw i32 8, %89 %91 = shl i32 %87, %90 %92 = trunc i32 %91 to i8 %93 = load ptr, ptr %9, align 8 %94 = load i32, ptr %5, align 4 %95 = add nsw i32 %94, 1 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i8, ptr %93, i64 %96 store i8 %92, ptr %97, align 1 %98 = load i32, ptr %5, align 4 %99 = add nsw i32 %98, 2 store i32 %99, ptr %8, align 4 br label %100 100: ; preds = %72, %55 %101 = load ptr, ptr %2, align 8 %102 = getelementptr inbounds i8, ptr %101, i32 1 store ptr %102, ptr %2, align 8 %103 = load i32, ptr %7, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %7, align 4 br label %12, !llvm.loop !6 105: ; preds = %23 %106 = load i32, ptr %8, align 4 %107 = sext i32 %106 to i64 ret i64 %107 } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpui3rbhkm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [65 x i8] c"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @rs_unbase64(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store ptr @.str, ptr %3, align 8 %11 = load ptr, ptr %2, align 8 store ptr %11, ptr %9, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %12 12: ; preds = %100, %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 %23 17: ; preds = %12 %18 = load ptr, ptr %3, align 8 %19 = load ptr, ptr %2, align 8 %20 = load i8, ptr %19, align 1 %21 = call ptr @strchr(ptr noundef %18, i8 noundef signext %20) store ptr %21, ptr %10, align 8 %22 = icmp ne ptr %21, null br label %23 23: ; preds = %17, %12 %24 = phi i1 [ false, %12 ], [ %22, %17 ] br i1 %24, label %25, label %105 25: ; preds = %23 %26 = load ptr, ptr %10, align 8 %27 = load ptr, ptr %3, align 8 %28 = ptrtoint ptr %26 to i64 %29 = ptrtoint ptr %27 to i64 %30 = sub i64 %28, %29 %31 = trunc i64 %30 to i32 store i32 %31, ptr %6, align 4 %32 = load i32, ptr %7, align 4 %33 = mul nsw i32 %32, 6 %34 = sdiv i32 %33, 8 store i32 %34, ptr %5, align 4 %35 = load i32, ptr %7, align 4 %36 = mul nsw i32 %35, 6 %37 = srem i32 %36, 8 store i32 %37, ptr %4, align 4 %38 = load i32, ptr %4, align 4 %39 = sub nsw i32 8, %38 %40 = shl i32 1, %39 %41 = sub nsw i32 %40, 1 %42 = xor i32 %41, -1 %43 = trunc i32 %42 to i8 %44 = zext i8 %43 to i32 %45 = load ptr, ptr %9, align 8 %46 = load i32, ptr %5, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %45, i64 %47 %49 = load i8, ptr %48, align 1 %50 = zext i8 %49 to i32 %51 = and i32 %50, %44 %52 = trunc i32 %51 to i8 store i8 %52, ptr %48, align 1 %53 = load i32, ptr %4, align 4 %54 = icmp slt i32 %53, 3 br i1 %54, label %55, label %72 55: ; preds = %25 %56 = load i32, ptr %6, align 4 %57 = load i32, ptr %4, align 4 %58 = sub nsw i32 2, %57 %59 = shl i32 %56, %58 %60 = trunc i32 %59 to i8 %61 = zext i8 %60 to i32 %62 = load ptr, ptr %9, align 8 %63 = load i32, ptr %5, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %62, i64 %64 %66 = load i8, ptr %65, align 1 %67 = zext i8 %66 to i32 %68 = or i32 %67, %61 %69 = trunc i32 %68 to i8 store i8 %69, ptr %65, align 1 %70 = load i32, ptr %5, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %8, align 4 br label %100 72: ; preds = %25 %73 = load i32, ptr %6, align 4 %74 = load i32, ptr %4, align 4 %75 = sub nsw i32 %74, 2 %76 = ashr i32 %73, %75 %77 = trunc i32 %76 to i8 %78 = zext i8 %77 to i32 %79 = load ptr, ptr %9, align 8 %80 = load i32, ptr %5, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i8, ptr %79, i64 %81 %83 = load i8, ptr %82, align 1 %84 = zext i8 %83 to i32 %85 = or i32 %84, %78 %86 = trunc i32 %85 to i8 store i8 %86, ptr %82, align 1 %87 = load i32, ptr %6, align 4 %88 = load i32, ptr %4, align 4 %89 = sub nsw i32 %88, 2 %90 = sub nsw i32 8, %89 %91 = shl i32 %87, %90 %92 = trunc i32 %91 to i8 %93 = load ptr, ptr %9, align 8 %94 = load i32, ptr %5, align 4 %95 = add nsw i32 %94, 1 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i8, ptr %93, i64 %96 store i8 %92, ptr %97, align 1 %98 = load i32, ptr %5, align 4 %99 = add nsw i32 %98, 2 store i32 %99, ptr %8, align 4 br label %100 100: ; preds = %72, %55 %101 = load ptr, ptr %2, align 8 %102 = getelementptr inbounds i8, ptr %101, i32 1 store ptr %102, ptr %2, align 8 %103 = load i32, ptr %7, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %7, align 4 br label %12, !llvm.loop !6 105: ; preds = %23 %106 = load i32, ptr %8, align 4 %107 = sext i32 %106 to i64 ret i64 %107 } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpietsjm22.c' source_filename = "/tmp/tmpietsjm22.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @JugarArcade() #0 { %1 = call i32 (...) @cpc_ClrScr() %2 = call i32 (...) @Dibujar() ret void } declare i32 @cpc_ClrScr(...) #1 declare i32 @Dibujar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpietsjm22.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @JugarArcade() #0 { %1 = call i32 (...) @cpc_ClrScr() %2 = call i32 (...) @Dibujar() ret void } declare i32 @cpc_ClrScr(...) #1 declare i32 @Dibujar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr21bkgpi.c' source_filename = "/tmp/tmpr21bkgpi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Nota 1: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"Nota 2: \00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"Nota 3: \00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"Nota 4: \00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"Media artmetica: %.1f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) %14 = load float, ptr %2, align 4 %15 = load float, ptr %3, align 4 %16 = fadd float %14, %15 %17 = load float, ptr %4, align 4 %18 = fadd float %16, %17 %19 = load float, ptr %5, align 4 %20 = fadd float %18, %19 %21 = fdiv float %20, 4.000000e+00 %22 = fpext float %21 to double %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %22) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr21bkgpi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Nota 1: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"Nota 2: \00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"Nota 3: \00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"Nota 4: \00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"Media artmetica: %.1f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) %14 = load float, ptr %2, align 4 %15 = load float, ptr %3, align 4 %16 = fadd float %14, %15 %17 = load float, ptr %4, align 4 %18 = fadd float %16, %17 %19 = load float, ptr %5, align 4 %20 = fadd float %18, %19 %21 = fdiv float %20, 4.000000e+00 %22 = fpext float %21 to double %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %22) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3jssxbv1.c' source_filename = "/tmp/tmp3jssxbv1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fisher22_precomp_thresh(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 store i64 %0, ptr %8, align 8 store i64 %1, ptr %9, align 8 store i64 %2, ptr %10, align 8 store i64 %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 store double 0x3ABFFFFFFFFFFC7B, ptr %15, align 8 %21 = load i64, ptr %8, align 8 %22 = sitofp i64 %21 to double store double %22, ptr %16, align 8 %23 = load i64, ptr %9, align 8 %24 = sitofp i64 %23 to double store double %24, ptr %17, align 8 %25 = load i64, ptr %10, align 8 %26 = sitofp i64 %25 to double store double %26, ptr %18, align 8 %27 = load i64, ptr %11, align 8 %28 = sitofp i64 %27 to double store double %28, ptr %19, align 8 %29 = load double, ptr %16, align 8 %30 = load double, ptr %19, align 8 %31 = fmul double %29, %30 %32 = load double, ptr %17, align 8 %33 = fadd double %32, 1.000000e+00 %34 = load double, ptr %18, align 8 %35 = fadd double %34, 1.000000e+00 %36 = fmul double %33, %35 %37 = fdiv double %31, %36 store double %37, ptr %20, align 8 %38 = load i64, ptr %8, align 8 %39 = load ptr, ptr %14, align 8 store i64 %38, ptr %39, align 8 %40 = load double, ptr %20, align 8 %41 = fcmp ogt double %40, 0x3FF00000000001C2 br i1 %41, label %42, label %85 42: ; preds = %7 %43 = load i64, ptr %8, align 8 %44 = load ptr, ptr %13, align 8 store i64 %43, ptr %44, align 8 %45 = load double, ptr %17, align 8 %46 = fadd double %45, 1.000000e+00 store double %46, ptr %17, align 8 %47 = load double, ptr %18, align 8 %48 = fadd double %47, 1.000000e+00 store double %48, ptr %18, align 8 %49 = load double, ptr %20, align 8 %50 = load double, ptr %15, align 8 %51 = fmul double %50, %49 store double %51, ptr %15, align 8 br label %52 52: ; preds = %72, %42 %53 = load double, ptr %16, align 8 %54 = fsub double %53, 1.000000e+00 store double %54, ptr %16, align 8 %55 = load double, ptr %19, align 8 %56 = fsub double %55, 1.000000e+00 store double %56, ptr %19, align 8 %57 = load i64, ptr %8, align 8 %58 = add nsw i64 %57, -1 store i64 %58, ptr %8, align 8 %59 = load double, ptr %17, align 8 %60 = fadd double %59, 1.000000e+00 store double %60, ptr %17, align 8 %61 = load double, ptr %18, align 8 %62 = fadd double %61, 1.000000e+00 store double %62, ptr %18, align 8 %63 = load double, ptr %16, align 8 %64 = load double, ptr %19, align 8 %65 = fmul double %63, %64 %66 = load double, ptr %17, align 8 %67 = load double, ptr %18, align 8 %68 = fmul double %66, %67 %69 = fdiv double %65, %68 %70 = load double, ptr %15, align 8 %71 = fmul double %70, %69 store double %71, ptr %15, align 8 br label %72 72: ; preds = %52 %73 = load double, ptr %15, align 8 %74 = fcmp ogt double %73, 0x3AC0000000000000 br i1 %74, label %52, label %75, !llvm.loop !6 75: ; preds = %72 %76 = load i64, ptr %8, align 8 %77 = load ptr, ptr %12, align 8 store i64 %76, ptr %77, align 8 %78 = load double, ptr %15, align 8 %79 = fcmp ogt double %78, 0x3ABFFFFFFFFFF8F7 br i1 %79, label %80, label %84 80: ; preds = %75 %81 = load i64, ptr %8, align 8 %82 = sub nsw i64 %81, 1 %83 = load ptr, ptr %14, align 8 store i64 %82, ptr %83, align 8 br label %84 84: ; preds = %80, %75 br label %159 85: ; preds = %7 %86 = load double, ptr %20, align 8 %87 = fcmp ogt double %86, 0x3FEFFFFFFFFFFC7B br i1 %87, label %88, label %94 88: ; preds = %85 %89 = load ptr, ptr %12, align 8 store i64 0, ptr %89, align 8 %90 = load ptr, ptr %13, align 8 store i64 0, ptr %90, align 8 %91 = load i64, ptr %8, align 8 %92 = sub nsw i64 %91, 1 %93 = load ptr, ptr %14, align 8 store i64 %92, ptr %93, align 8 br label %158 94: ; preds = %85 %95 = load double, ptr %16, align 8 %96 = fadd double %95, 1.000000e+00 store double %96, ptr %16, align 8 %97 = load double, ptr %19, align 8 %98 = fadd double %97, 1.000000e+00 store double %98, ptr %19, align 8 %99 = load double, ptr %17, align 8 %100 = load double, ptr %18, align 8 %101 = fmul double %99, %100 %102 = load double, ptr %16, align 8 %103 = load double, ptr %19, align 8 %104 = fmul double %102, %103 %105 = fdiv double %101, %104 store double %105, ptr %20, align 8 %106 = load double, ptr %20, align 8 %107 = fcmp ogt double %106, 0x3FF00000000001C2 br i1 %107, label %108, label %147 108: ; preds = %94 %109 = load double, ptr %20, align 8 %110 = load double, ptr %15, align 8 %111 = fmul double %110, %109 store double %111, ptr %15, align 8 %112 = load i64, ptr %8, align 8 %113 = add nsw i64 %112, 1 store i64 %113, ptr %8, align 8 %114 = load ptr, ptr %12, align 8 store i64 %113, ptr %114, align 8 br label %115 115: ; preds = %135, %108 %116 = load double, ptr %17, align 8 %117 = fsub double %116, 1.000000e+00 store double %117, ptr %17, align 8 %118 = load double, ptr %18, align 8 %119 = fsub double %118, 1.000000e+00 store double %119, ptr %18, align 8 %120 = load i64, ptr %8, align 8 %121 = add nsw i64 %120, 1 store i64 %121, ptr %8, align 8 %122 = load double, ptr %16, align 8 %123 = fadd double %122, 1.000000e+00 store double %123, ptr %16, align 8 %124 = load double, ptr %19, align 8 %125 = fadd double %124, 1.000000e+00 store double %125, ptr %19, align 8 %126 = load double, ptr %17, align 8 %127 = load double, ptr %18, align 8 %128 = fmul double %126, %127 %129 = load double, ptr %16, align 8 %130 = load double, ptr %19, align 8 %131 = fmul double %129, %130 %132 = fdiv double %128, %131 %133 = load double, ptr %15, align 8 %134 = fmul double %133, %132 store double %134, ptr %15, align 8 br label %135 135: ; preds = %115 %136 = load double, ptr %15, align 8 %137 = fcmp ogt double %136, 0x3AC0000000000000 br i1 %137, label %115, label %138, !llvm.loop !8 138: ; preds = %135 %139 = load i64, ptr %8, align 8 %140 = load ptr, ptr %13, align 8 store i64 %139, ptr %140, align 8 %141 = load double, ptr %15, align 8 %142 = fcmp ogt double %141, 0x3ABFFFFFFFFFF8F7 br i1 %142, label %143, label %146 143: ; preds = %138 %144 = load i64, ptr %8, align 8 %145 = load ptr, ptr %14, align 8 store i64 %144, ptr %145, align 8 br label %146 146: ; preds = %143, %138 br label %157 147: ; preds = %94 %148 = load ptr, ptr %12, align 8 store i64 0, ptr %148, align 8 %149 = load ptr, ptr %13, align 8 store i64 0, ptr %149, align 8 %150 = load double, ptr %20, align 8 %151 = fcmp ogt double %150, 0x3FEFFFFFFFFFFC7B br i1 %151, label %152, label %156 152: ; preds = %147 %153 = load i64, ptr %8, align 8 %154 = add nsw i64 %153, 1 %155 = load ptr, ptr %14, align 8 store i64 %154, ptr %155, align 8 br label %156 156: ; preds = %152, %147 br label %157 157: ; preds = %156, %146 br label %158 158: ; preds = %157, %88 br label %159 159: ; preds = %158, %84 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3jssxbv1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fisher22_precomp_thresh(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 store i64 %0, ptr %8, align 8 store i64 %1, ptr %9, align 8 store i64 %2, ptr %10, align 8 store i64 %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 store double 0x3ABFFFFFFFFFFC7B, ptr %15, align 8 %21 = load i64, ptr %8, align 8 %22 = sitofp i64 %21 to double store double %22, ptr %16, align 8 %23 = load i64, ptr %9, align 8 %24 = sitofp i64 %23 to double store double %24, ptr %17, align 8 %25 = load i64, ptr %10, align 8 %26 = sitofp i64 %25 to double store double %26, ptr %18, align 8 %27 = load i64, ptr %11, align 8 %28 = sitofp i64 %27 to double store double %28, ptr %19, align 8 %29 = load double, ptr %16, align 8 %30 = load double, ptr %19, align 8 %31 = fmul double %29, %30 %32 = load double, ptr %17, align 8 %33 = fadd double %32, 1.000000e+00 %34 = load double, ptr %18, align 8 %35 = fadd double %34, 1.000000e+00 %36 = fmul double %33, %35 %37 = fdiv double %31, %36 store double %37, ptr %20, align 8 %38 = load i64, ptr %8, align 8 %39 = load ptr, ptr %14, align 8 store i64 %38, ptr %39, align 8 %40 = load double, ptr %20, align 8 %41 = fcmp ogt double %40, 0x3FF00000000001C2 br i1 %41, label %42, label %85 42: ; preds = %7 %43 = load i64, ptr %8, align 8 %44 = load ptr, ptr %13, align 8 store i64 %43, ptr %44, align 8 %45 = load double, ptr %17, align 8 %46 = fadd double %45, 1.000000e+00 store double %46, ptr %17, align 8 %47 = load double, ptr %18, align 8 %48 = fadd double %47, 1.000000e+00 store double %48, ptr %18, align 8 %49 = load double, ptr %20, align 8 %50 = load double, ptr %15, align 8 %51 = fmul double %50, %49 store double %51, ptr %15, align 8 br label %52 52: ; preds = %72, %42 %53 = load double, ptr %16, align 8 %54 = fsub double %53, 1.000000e+00 store double %54, ptr %16, align 8 %55 = load double, ptr %19, align 8 %56 = fsub double %55, 1.000000e+00 store double %56, ptr %19, align 8 %57 = load i64, ptr %8, align 8 %58 = add nsw i64 %57, -1 store i64 %58, ptr %8, align 8 %59 = load double, ptr %17, align 8 %60 = fadd double %59, 1.000000e+00 store double %60, ptr %17, align 8 %61 = load double, ptr %18, align 8 %62 = fadd double %61, 1.000000e+00 store double %62, ptr %18, align 8 %63 = load double, ptr %16, align 8 %64 = load double, ptr %19, align 8 %65 = fmul double %63, %64 %66 = load double, ptr %17, align 8 %67 = load double, ptr %18, align 8 %68 = fmul double %66, %67 %69 = fdiv double %65, %68 %70 = load double, ptr %15, align 8 %71 = fmul double %70, %69 store double %71, ptr %15, align 8 br label %72 72: ; preds = %52 %73 = load double, ptr %15, align 8 %74 = fcmp ogt double %73, 0x3AC0000000000000 br i1 %74, label %52, label %75, !llvm.loop !6 75: ; preds = %72 %76 = load i64, ptr %8, align 8 %77 = load ptr, ptr %12, align 8 store i64 %76, ptr %77, align 8 %78 = load double, ptr %15, align 8 %79 = fcmp ogt double %78, 0x3ABFFFFFFFFFF8F7 br i1 %79, label %80, label %84 80: ; preds = %75 %81 = load i64, ptr %8, align 8 %82 = sub nsw i64 %81, 1 %83 = load ptr, ptr %14, align 8 store i64 %82, ptr %83, align 8 br label %84 84: ; preds = %80, %75 br label %159 85: ; preds = %7 %86 = load double, ptr %20, align 8 %87 = fcmp ogt double %86, 0x3FEFFFFFFFFFFC7B br i1 %87, label %88, label %94 88: ; preds = %85 %89 = load ptr, ptr %12, align 8 store i64 0, ptr %89, align 8 %90 = load ptr, ptr %13, align 8 store i64 0, ptr %90, align 8 %91 = load i64, ptr %8, align 8 %92 = sub nsw i64 %91, 1 %93 = load ptr, ptr %14, align 8 store i64 %92, ptr %93, align 8 br label %158 94: ; preds = %85 %95 = load double, ptr %16, align 8 %96 = fadd double %95, 1.000000e+00 store double %96, ptr %16, align 8 %97 = load double, ptr %19, align 8 %98 = fadd double %97, 1.000000e+00 store double %98, ptr %19, align 8 %99 = load double, ptr %17, align 8 %100 = load double, ptr %18, align 8 %101 = fmul double %99, %100 %102 = load double, ptr %16, align 8 %103 = load double, ptr %19, align 8 %104 = fmul double %102, %103 %105 = fdiv double %101, %104 store double %105, ptr %20, align 8 %106 = load double, ptr %20, align 8 %107 = fcmp ogt double %106, 0x3FF00000000001C2 br i1 %107, label %108, label %147 108: ; preds = %94 %109 = load double, ptr %20, align 8 %110 = load double, ptr %15, align 8 %111 = fmul double %110, %109 store double %111, ptr %15, align 8 %112 = load i64, ptr %8, align 8 %113 = add nsw i64 %112, 1 store i64 %113, ptr %8, align 8 %114 = load ptr, ptr %12, align 8 store i64 %113, ptr %114, align 8 br label %115 115: ; preds = %135, %108 %116 = load double, ptr %17, align 8 %117 = fsub double %116, 1.000000e+00 store double %117, ptr %17, align 8 %118 = load double, ptr %18, align 8 %119 = fsub double %118, 1.000000e+00 store double %119, ptr %18, align 8 %120 = load i64, ptr %8, align 8 %121 = add nsw i64 %120, 1 store i64 %121, ptr %8, align 8 %122 = load double, ptr %16, align 8 %123 = fadd double %122, 1.000000e+00 store double %123, ptr %16, align 8 %124 = load double, ptr %19, align 8 %125 = fadd double %124, 1.000000e+00 store double %125, ptr %19, align 8 %126 = load double, ptr %17, align 8 %127 = load double, ptr %18, align 8 %128 = fmul double %126, %127 %129 = load double, ptr %16, align 8 %130 = load double, ptr %19, align 8 %131 = fmul double %129, %130 %132 = fdiv double %128, %131 %133 = load double, ptr %15, align 8 %134 = fmul double %133, %132 store double %134, ptr %15, align 8 br label %135 135: ; preds = %115 %136 = load double, ptr %15, align 8 %137 = fcmp ogt double %136, 0x3AC0000000000000 br i1 %137, label %115, label %138, !llvm.loop !8 138: ; preds = %135 %139 = load i64, ptr %8, align 8 %140 = load ptr, ptr %13, align 8 store i64 %139, ptr %140, align 8 %141 = load double, ptr %15, align 8 %142 = fcmp ogt double %141, 0x3ABFFFFFFFFFF8F7 br i1 %142, label %143, label %146 143: ; preds = %138 %144 = load i64, ptr %8, align 8 %145 = load ptr, ptr %14, align 8 store i64 %144, ptr %145, align 8 br label %146 146: ; preds = %143, %138 br label %157 147: ; preds = %94 %148 = load ptr, ptr %12, align 8 store i64 0, ptr %148, align 8 %149 = load ptr, ptr %13, align 8 store i64 0, ptr %149, align 8 %150 = load double, ptr %20, align 8 %151 = fcmp ogt double %150, 0x3FEFFFFFFFFFFC7B br i1 %151, label %152, label %156 152: ; preds = %147 %153 = load i64, ptr %8, align 8 %154 = add nsw i64 %153, 1 %155 = load ptr, ptr %14, align 8 store i64 %154, ptr %155, align 8 br label %156 156: ; preds = %152, %147 br label %157 157: ; preds = %156, %146 br label %158 158: ; preds = %157, %88 br label %159 159: ; preds = %158, %84 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpt66pqd_0.c' source_filename = "/tmp/tmpt66pqd_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" @errno = dso_local global i32 0, align 4 @BUFSIZ = dso_local global i64 0, align 8 @EINTR = dso_local global i32 0, align 4 @EAGAIN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @freadfile(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 0, ptr %8, align 8 %13 = load i32, ptr @errno, align 4 store i32 %13, ptr %12, align 4 %14 = load i64, ptr @BUFSIZ, align 8 store i64 %14, ptr %6, align 8 %15 = load i64, ptr %6, align 8 store i64 %15, ptr %7, align 8 %16 = load i64, ptr %6, align 8 %17 = call ptr @malloc(i64 noundef %16) store ptr %17, ptr %9, align 8 %18 = load ptr, ptr %9, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %21, label %20 20: ; preds = %2 store i32 -1, ptr %3, align 4 br label %93 21: ; preds = %2 br label %22 22: ; preds = %91, %21 store i32 0, ptr @errno, align 4 br label %23 23: ; preds = %36, %22 %24 = load i64, ptr %7, align 8 %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %34 26: ; preds = %23 %27 = load ptr, ptr %9, align 8 %28 = load i64, ptr %8, align 8 %29 = getelementptr inbounds i8, ptr %27, i64 %28 %30 = load i64, ptr %7, align 8 %31 = load ptr, ptr %4, align 8 %32 = call i64 @_fread(ptr noundef %29, i64 noundef %30, ptr noundef %31) store i64 %32, ptr %11, align 8 %33 = icmp ne i64 %32, 0 br label %34 34: ; preds = %26, %23 %35 = phi i1 [ false, %23 ], [ %33, %26 ] br i1 %35, label %36, label %43 36: ; preds = %34 %37 = load i64, ptr %11, align 8 %38 = load i64, ptr %8, align 8 %39 = add i64 %38, %37 store i64 %39, ptr %8, align 8 %40 = load i64, ptr %11, align 8 %41 = load i64, ptr %7, align 8 %42 = sub i64 %41, %40 store i64 %42, ptr %7, align 8 br label %23, !llvm.loop !6 43: ; preds = %34 %44 = load i32, ptr @errno, align 4 %45 = icmp ne i32 %44, 0 br i1 %45, label %46, label %57 46: ; preds = %43 %47 = load i32, ptr @errno, align 4 %48 = load i32, ptr @EINTR, align 4 %49 = icmp ne i32 %47, %48 br i1 %49, label %50, label %57 50: ; preds = %46 %51 = load i32, ptr @errno, align 4 %52 = load i32, ptr @EAGAIN, align 4 %53 = icmp ne i32 %51, %52 br i1 %53, label %54, label %57 54: ; preds = %50 %55 = load ptr, ptr %9, align 8 %56 = call i32 @free(ptr noundef %55) store i32 -1, ptr %3, align 4 br label %93 57: ; preds = %50, %46, %43 %58 = load i64, ptr %7, align 8 %59 = icmp ne i64 %58, 0 br i1 %59, label %60, label %77 60: ; preds = %57 %61 = load ptr, ptr %9, align 8 %62 = load i64, ptr %8, align 8 %63 = add i64 %62, 1 %64 = call ptr @realloc(ptr noundef %61, i64 noundef %63) store ptr %64, ptr %10, align 8 %65 = icmp ne ptr %64, null br i1 %65, label %66, label %68 66: ; preds = %60 %67 = load ptr, ptr %10, align 8 store ptr %67, ptr %9, align 8 br label %68 68: ; preds = %66, %60 %69 = load ptr, ptr %9, align 8 %70 = load i64, ptr %8, align 8 %71 = getelementptr inbounds i8, ptr %69, i64 %70 store i8 0, ptr %71, align 1 %72 = load ptr, ptr %9, align 8 %73 = load ptr, ptr %5, align 8 store ptr %72, ptr %73, align 8 %74 = load i32, ptr %12, align 4 store i32 %74, ptr @errno, align 4 %75 = load i64, ptr %8, align 8 %76 = trunc i64 %75 to i32 store i32 %76, ptr %3, align 4 br label %93 77: ; preds = %57 %78 = load i64, ptr %6, align 8 %79 = load i64, ptr %7, align 8 %80 = add i64 %79, %78 store i64 %80, ptr %7, align 8 %81 = load i64, ptr %6, align 8 %82 = load i64, ptr %6, align 8 %83 = add i64 %82, %81 store i64 %83, ptr %6, align 8 %84 = load ptr, ptr %9, align 8 %85 = load i64, ptr %6, align 8 %86 = call ptr @realloc(ptr noundef %84, i64 noundef %85) store ptr %86, ptr %10, align 8 %87 = icmp ne ptr %86, null br i1 %87, label %91, label %88 88: ; preds = %77 %89 = load ptr, ptr %9, align 8 %90 = call i32 @free(ptr noundef %89) store i32 -1, ptr %3, align 4 br label %93 91: ; preds = %77 %92 = load ptr, ptr %10, align 8 store ptr %92, ptr %9, align 8 br label %22 93: ; preds = %88, %68, %54, %20 %94 = load i32, ptr %3, align 4 ret i32 %94 } declare ptr @malloc(i64 noundef) #1 declare i64 @_fread(ptr noundef, i64 noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare ptr @realloc(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/tmpt66pqd_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" @errno = dso_local global i32 0, align 4 @BUFSIZ = dso_local global i64 0, align 8 @EINTR = dso_local global i32 0, align 4 @EAGAIN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @freadfile(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 0, ptr %8, align 8 %13 = load i32, ptr @errno, align 4 store i32 %13, ptr %12, align 4 %14 = load i64, ptr @BUFSIZ, align 8 store i64 %14, ptr %6, align 8 %15 = load i64, ptr %6, align 8 store i64 %15, ptr %7, align 8 %16 = load i64, ptr %6, align 8 %17 = call ptr @malloc(i64 noundef %16) store ptr %17, ptr %9, align 8 %18 = load ptr, ptr %9, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %21, label %20 20: ; preds = %2 store i32 -1, ptr %3, align 4 br label %93 21: ; preds = %2 br label %22 22: ; preds = %91, %21 store i32 0, ptr @errno, align 4 br label %23 23: ; preds = %36, %22 %24 = load i64, ptr %7, align 8 %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %34 26: ; preds = %23 %27 = load ptr, ptr %9, align 8 %28 = load i64, ptr %8, align 8 %29 = getelementptr inbounds i8, ptr %27, i64 %28 %30 = load i64, ptr %7, align 8 %31 = load ptr, ptr %4, align 8 %32 = call i64 @_fread(ptr noundef %29, i64 noundef %30, ptr noundef %31) store i64 %32, ptr %11, align 8 %33 = icmp ne i64 %32, 0 br label %34 34: ; preds = %26, %23 %35 = phi i1 [ false, %23 ], [ %33, %26 ] br i1 %35, label %36, label %43 36: ; preds = %34 %37 = load i64, ptr %11, align 8 %38 = load i64, ptr %8, align 8 %39 = add i64 %38, %37 store i64 %39, ptr %8, align 8 %40 = load i64, ptr %11, align 8 %41 = load i64, ptr %7, align 8 %42 = sub i64 %41, %40 store i64 %42, ptr %7, align 8 br label %23, !llvm.loop !6 43: ; preds = %34 %44 = load i32, ptr @errno, align 4 %45 = icmp ne i32 %44, 0 br i1 %45, label %46, label %57 46: ; preds = %43 %47 = load i32, ptr @errno, align 4 %48 = load i32, ptr @EINTR, align 4 %49 = icmp ne i32 %47, %48 br i1 %49, label %50, label %57 50: ; preds = %46 %51 = load i32, ptr @errno, align 4 %52 = load i32, ptr @EAGAIN, align 4 %53 = icmp ne i32 %51, %52 br i1 %53, label %54, label %57 54: ; preds = %50 %55 = load ptr, ptr %9, align 8 %56 = call i32 @free(ptr noundef %55) store i32 -1, ptr %3, align 4 br label %93 57: ; preds = %50, %46, %43 %58 = load i64, ptr %7, align 8 %59 = icmp ne i64 %58, 0 br i1 %59, label %60, label %77 60: ; preds = %57 %61 = load ptr, ptr %9, align 8 %62 = load i64, ptr %8, align 8 %63 = add i64 %62, 1 %64 = call ptr @realloc(ptr noundef %61, i64 noundef %63) store ptr %64, ptr %10, align 8 %65 = icmp ne ptr %64, null br i1 %65, label %66, label %68 66: ; preds = %60 %67 = load ptr, ptr %10, align 8 store ptr %67, ptr %9, align 8 br label %68 68: ; preds = %66, %60 %69 = load ptr, ptr %9, align 8 %70 = load i64, ptr %8, align 8 %71 = getelementptr inbounds i8, ptr %69, i64 %70 store i8 0, ptr %71, align 1 %72 = load ptr, ptr %9, align 8 %73 = load ptr, ptr %5, align 8 store ptr %72, ptr %73, align 8 %74 = load i32, ptr %12, align 4 store i32 %74, ptr @errno, align 4 %75 = load i64, ptr %8, align 8 %76 = trunc i64 %75 to i32 store i32 %76, ptr %3, align 4 br label %93 77: ; preds = %57 %78 = load i64, ptr %6, align 8 %79 = load i64, ptr %7, align 8 %80 = add i64 %79, %78 store i64 %80, ptr %7, align 8 %81 = load i64, ptr %6, align 8 %82 = load i64, ptr %6, align 8 %83 = add i64 %82, %81 store i64 %83, ptr %6, align 8 %84 = load ptr, ptr %9, align 8 %85 = load i64, ptr %6, align 8 %86 = call ptr @realloc(ptr noundef %84, i64 noundef %85) store ptr %86, ptr %10, align 8 %87 = icmp ne ptr %86, null br i1 %87, label %91, label %88 88: ; preds = %77 %89 = load ptr, ptr %9, align 8 %90 = call i32 @free(ptr noundef %89) store i32 -1, ptr %3, align 4 br label %93 91: ; preds = %77 %92 = load ptr, ptr %10, align 8 store ptr %92, ptr %9, align 8 br label %22 93: ; preds = %88, %68, %54, %20 %94 = load i32, ptr %3, align 4 ret i32 %94 } declare ptr @malloc(i64 noundef) #1 declare i64 @_fread(ptr noundef, i64 noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare ptr @realloc(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/tmpnv6yc9pv.c' source_filename = "/tmp/tmpnv6yc9pv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"# c::%s:len=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"dasumpw\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 @time(ptr noundef null) %9 = call i32 @srand(i32 noundef %8) %10 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 store i32 1, ptr %6, align 4 br label %11 11: ; preds = %41, %0 %12 = load i32, ptr %6, align 4 %13 = icmp sle i32 %12, 6 br i1 %13, label %14, label %44 14: ; preds = %11 %15 = load i32, ptr %6, align 4 %16 = call i32 @pow(i32 noundef 10, i32 noundef %15) store i32 %16, ptr %5, align 4 %17 = load i32, ptr %6, align 4 %18 = sub nsw i32 %17, 1 %19 = call i32 @pow(i32 noundef 10, i32 noundef %18) %20 = sdiv i32 1000000, %19 store i32 %20, ptr %4, align 4 store i32 0, ptr %7, align 4 br label %21 21: ; preds = %37, %14 %22 = load i32, ptr %7, align 4 %23 = icmp slt i32 %22, 3 br i1 %23, label %24, label %40 24: ; preds = %21 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 %27 = load i32, ptr %5, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %27) %29 = load i32, ptr %4, align 4 %30 = load i32, ptr %5, align 4 %31 = call double @benchmark(i32 noundef %29, i32 noundef %30) store double %31, ptr %2, align 8 %32 = load i32, ptr %4, align 4 %33 = load double, ptr %2, align 8 %34 = call i32 @print_results(i32 noundef %32, double noundef %33) %35 = load i32, ptr %3, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35) br label %37 37: ; preds = %24 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 br label %21, !llvm.loop !6 40: ; preds = %21 br label %41 41: ; preds = %40 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 br label %11, !llvm.loop !8 44: ; preds = %11 %45 = load i32, ptr %3, align 4 %46 = load i32, ptr %3, align 4 %47 = call i32 @print_summary(i32 noundef %45, i32 noundef %46) %48 = load i32, ptr %1, align 4 ret i32 %48 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @pow(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(i32 noundef, i32 noundef) #1 declare i32 @print_results(i32 noundef, double noundef) #1 declare i32 @print_summary(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnv6yc9pv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"# c::%s:len=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"dasumpw\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 @time(ptr noundef null) %9 = call i32 @srand(i32 noundef %8) %10 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 store i32 1, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp sle i32 %11, 6 br i1 %12, label %.lr.ph2, label %46 .lr.ph2: ; preds = %0 br label %13 13: ; preds = %.lr.ph2, %41 %14 = load i32, ptr %6, align 4 %15 = call i32 @pow(i32 noundef 10, i32 noundef %14) store i32 %15, ptr %5, align 4 %16 = load i32, ptr %6, align 4 %17 = sub nsw i32 %16, 1 %18 = call i32 @pow(i32 noundef 10, i32 noundef %17) %19 = sdiv i32 1000000, %18 store i32 %19, ptr %4, align 4 store i32 0, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %20, 3 br i1 %21, label %.lr.ph, label %40 .lr.ph: ; preds = %13 br label %22 22: ; preds = %.lr.ph, %35 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 %25 = load i32, ptr %5, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %25) %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %5, align 4 %29 = call double @benchmark(i32 noundef %27, i32 noundef %28) store double %29, ptr %2, align 8 %30 = load i32, ptr %4, align 4 %31 = load double, ptr %2, align 8 %32 = call i32 @print_results(i32 noundef %30, double noundef %31) %33 = load i32, ptr %3, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %33) br label %35 35: ; preds = %22 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 %38 = load i32, ptr %7, align 4 %39 = icmp slt i32 %38, 3 br i1 %39, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %40 40: ; preds = %._crit_edge, %13 br label %41 41: ; preds = %40 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 %44 = load i32, ptr %6, align 4 %45 = icmp sle i32 %44, 6 br i1 %45, label %13, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %41 br label %46 46: ; preds = %._crit_edge3, %0 %47 = load i32, ptr %3, align 4 %48 = load i32, ptr %3, align 4 %49 = call i32 @print_summary(i32 noundef %47, i32 noundef %48) %50 = load i32, ptr %1, align 4 ret i32 %50 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @pow(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(i32 noundef, i32 noundef) #1 declare i32 @print_results(i32 noundef, double noundef) #1 declare i32 @print_summary(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp89h4bn8p.c' source_filename = "/tmp/tmp89h4bn8p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dispoly(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %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 i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 %26 = alloca ptr, align 8 %27 = alloca double, align 8 %28 = alloca ptr, align 8 %29 = alloca ptr, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 store i32 %0, ptr %8, align 4 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store i32 %3, ptr %11, align 4 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store i32 0, ptr %20, align 4 br label %32 32: ; preds = %46, %6 %33 = load i32, ptr %20, align 4 %34 = load i32, ptr %11, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %36, label %49 36: ; preds = %32 %37 = load ptr, ptr %12, align 8 %38 = load i32, ptr %20, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds double, ptr %37, i64 %39 %41 = load double, ptr %40, align 8 %42 = fcmp oeq double %41, 0.000000e+00 br i1 %42, label %43, label %45 43: ; preds = %36 %44 = load ptr, ptr %13, align 8 store double 0.000000e+00, ptr %44, align 8 store i32 0, ptr %7, align 4 br label %324 45: ; preds = %36 br label %46 46: ; preds = %45 %47 = load i32, ptr %20, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %20, align 4 br label %32, !llvm.loop !6 49: ; preds = %32 %50 = load ptr, ptr %10, align 8 %51 = load ptr, ptr %9, align 8 %52 = getelementptr inbounds i32, ptr %51, i64 13 %53 = load i32, ptr %52, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds double, ptr %50, i64 %54 store ptr %55, ptr %26, align 8 store i32 0, ptr %21, align 4 br label %56 56: ; preds = %133, %49 %57 = load i32, ptr %21, align 4 %58 = load ptr, ptr %9, align 8 %59 = getelementptr inbounds i32, ptr %58, i64 6 %60 = load i32, ptr %59, align 4 %61 = icmp slt i32 %57, %60 br i1 %61, label %62, label %136 62: ; preds = %56 %63 = load ptr, ptr %10, align 8 %64 = load i32, ptr %21, align 4 %65 = load ptr, ptr %9, align 8 %66 = getelementptr inbounds i32, ptr %65, i64 8 %67 = load i32, ptr %66, align 4 %68 = mul nsw i32 %64, %67 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds double, ptr %63, i64 %69 store ptr %70, ptr %23, align 8 %71 = load ptr, ptr %23, align 8 %72 = load i32, ptr %11, align 4 %73 = add nsw i32 1, %72 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds double, ptr %71, i64 %74 store ptr %75, ptr %25, align 8 %76 = load ptr, ptr %23, align 8 %77 = getelementptr inbounds double, ptr %76, i32 1 store ptr %77, ptr %23, align 8 %78 = load double, ptr %76, align 8 %79 = load ptr, ptr %26, align 8 %80 = load i32, ptr %21, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds double, ptr %79, i64 %81 store double %78, ptr %82, align 8 %83 = load ptr, ptr %25, align 8 %84 = getelementptr inbounds double, ptr %83, i32 1 store ptr %84, ptr %25, align 8 %85 = load double, ptr %83, align 8 store double %85, ptr %27, align 8 store i32 0, ptr %20, align 4 br label %86 86: ; preds = %109, %62 %87 = load i32, ptr %20, align 4 %88 = load i32, ptr %11, align 4 %89 = icmp slt i32 %87, %88 br i1 %89, label %90, label %112 90: ; preds = %86 %91 = load ptr, ptr %23, align 8 %92 = getelementptr inbounds double, ptr %91, i32 1 store ptr %92, ptr %23, align 8 %93 = load double, ptr %91, align 8 %94 = load ptr, ptr %12, align 8 %95 = load i32, ptr %20, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds double, ptr %94, i64 %96 %98 = load double, ptr %97, align 8 %99 = load ptr, ptr %25, align 8 %100 = getelementptr inbounds double, ptr %99, i32 1 store ptr %100, ptr %25, align 8 %101 = load double, ptr %99, align 8 %102 = call double @pow(double noundef %98, double noundef %101) #3 %103 = load ptr, ptr %26, align 8 %104 = load i32, ptr %21, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds double, ptr %103, i64 %105 %107 = load double, ptr %106, align 8 %108 = call double @llvm.fmuladd.f64(double %93, double %102, double %107) store double %108, ptr %106, align 8 br label %109 109: ; preds = %90 %110 = load i32, ptr %20, align 4 %111 = add nsw i32 %110, 1 store i32 %111, ptr %20, align 4 br label %86, !llvm.loop !8 112: ; preds = %86 %113 = load ptr, ptr %26, align 8 %114 = load i32, ptr %21, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds double, ptr %113, i64 %115 %117 = load double, ptr %116, align 8 %118 = load double, ptr %27, align 8 %119 = call double @pow(double noundef %117, double noundef %118) #3 %120 = load ptr, ptr %26, align 8 %121 = load i32, ptr %21, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds double, ptr %120, i64 %122 store double %119, ptr %123, align 8 %124 = load ptr, ptr %26, align 8 %125 = load i32, ptr %21, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds double, ptr %124, i64 %126 %128 = load double, ptr %127, align 8 %129 = fcmp oeq double %128, 0.000000e+00 br i1 %129, label %130, label %132 130: ; preds = %112 %131 = load ptr, ptr %13, align 8 store double 0.000000e+00, ptr %131, align 8 store i32 0, ptr %7, align 4 br label %324 132: ; preds = %112 br label %133 133: ; preds = %132 %134 = load i32, ptr %21, align 4 %135 = add nsw i32 %134, 1 store i32 %135, ptr %21, align 4 br label %56, !llvm.loop !9 136: ; preds = %56 %137 = load ptr, ptr %9, align 8 %138 = load ptr, ptr %9, align 8 %139 = getelementptr inbounds i32, ptr %138, i64 15 %140 = load i32, ptr %139, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds i32, ptr %137, i64 %141 store ptr %142, ptr %16, align 8 %143 = load ptr, ptr %10, align 8 %144 = load ptr, ptr %9, align 8 %145 = getelementptr inbounds i32, ptr %144, i64 14 %146 = load i32, ptr %145, align 4 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds double, ptr %143, i64 %147 store ptr %148, ptr %28, align 8 %149 = load ptr, ptr %16, align 8 store ptr %149, ptr %15, align 8 %150 = load ptr, ptr %28, align 8 store ptr %150, ptr %29, align 8 store i32 0, ptr %20, align 4 br label %151 151: ; preds = %177, %136 %152 = load i32, ptr %20, align 4 %153 = load i32, ptr %11, align 4 %154 = icmp slt i32 %152, %153 br i1 %154, label %155, label %182 155: ; preds = %151 store double 1.000000e+00, ptr %31, align 8 store i32 0, ptr %18, align 4 br label %156 156: ; preds = %171, %155 %157 = load i32, ptr %18, align 4 %158 = load ptr, ptr %15, align 8 %159 = load i32, ptr %158, align 4 %160 = icmp slt i32 %157, %159 br i1 %160, label %161, label %176 161: ; preds = %156 %162 = load ptr, ptr %12, align 8 %163 = load i32, ptr %20, align 4 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds double, ptr %162, i64 %164 %166 = load double, ptr %165, align 8 %167 = load double, ptr %31, align 8 %168 = fmul double %167, %166 store double %168, ptr %31, align 8 %169 = load double, ptr %31, align 8 %170 = load ptr, ptr %29, align 8 store double %169, ptr %170, align 8 br label %171 171: ; preds = %161 %172 = load i32, ptr %18, align 4 %173 = add nsw i32 %172, 1 store i32 %173, ptr %18, align 4 %174 = load ptr, ptr %29, align 8 %175 = getelementptr inbounds double, ptr %174, i32 1 store ptr %175, ptr %29, align 8 br label %156, !llvm.loop !10 176: ; preds = %156 br label %177 177: ; preds = %176 %178 = load i32, ptr %20, align 4 %179 = add nsw i32 %178, 1 store i32 %179, ptr %20, align 4 %180 = load ptr, ptr %15, align 8 %181 = getelementptr inbounds i32, ptr %180, i32 1 store ptr %181, ptr %15, align 8 br label %151, !llvm.loop !11 182: ; preds = %151 store i32 0, ptr %21, align 4 br label %183 183: ; preds = %211, %182 %184 = load i32, ptr %21, align 4 %185 = load ptr, ptr %9, align 8 %186 = getelementptr inbounds i32, ptr %185, i64 6 %187 = load i32, ptr %186, align 4 %188 = icmp slt i32 %184, %187 br i1 %188, label %189, label %216 189: ; preds = %183 store double 1.000000e+00, ptr %31, align 8 store i32 0, ptr %18, align 4 br label %190 190: ; preds = %205, %189 %191 = load i32, ptr %18, align 4 %192 = load ptr, ptr %15, align 8 %193 = load i32, ptr %192, align 4 %194 = icmp slt i32 %191, %193 br i1 %194, label %195, label %210 195: ; preds = %190 %196 = load ptr, ptr %26, align 8 %197 = load i32, ptr %21, align 4 %198 = sext i32 %197 to i64 %199 = getelementptr inbounds double, ptr %196, i64 %198 %200 = load double, ptr %199, align 8 %201 = load double, ptr %31, align 8 %202 = fmul double %201, %200 store double %202, ptr %31, align 8 %203 = load double, ptr %31, align 8 %204 = load ptr, ptr %29, align 8 store double %203, ptr %204, align 8 br label %205 205: ; preds = %195 %206 = load i32, ptr %18, align 4 %207 = add nsw i32 %206, 1 store i32 %207, ptr %18, align 4 %208 = load ptr, ptr %29, align 8 %209 = getelementptr inbounds double, ptr %208, i32 1 store ptr %209, ptr %29, align 8 br label %190, !llvm.loop !12 210: ; preds = %190 br label %211 211: ; preds = %210 %212 = load i32, ptr %21, align 4 %213 = add nsw i32 %212, 1 store i32 %213, ptr %21, align 4 %214 = load ptr, ptr %15, align 8 %215 = getelementptr inbounds i32, ptr %214, i32 1 store ptr %215, ptr %15, align 8 br label %183, !llvm.loop !13 216: ; preds = %183 %217 = load ptr, ptr %13, align 8 store double 0.000000e+00, ptr %217, align 8 %218 = load ptr, ptr %9, align 8 %219 = load ptr, ptr %9, align 8 %220 = getelementptr inbounds i32, ptr %219, i64 17 %221 = load i32, ptr %220, align 4 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds i32, ptr %218, i64 %222 store ptr %223, ptr %14, align 8 %224 = load ptr, ptr %9, align 8 %225 = load ptr, ptr %9, align 8 %226 = getelementptr inbounds i32, ptr %225, i64 18 %227 = load i32, ptr %226, align 4 %228 = sext i32 %227 to i64 %229 = getelementptr inbounds i32, ptr %224, i64 %228 store ptr %229, ptr %17, align 8 %230 = load ptr, ptr %10, align 8 %231 = load ptr, ptr %9, align 8 %232 = getelementptr inbounds i32, ptr %231, i64 12 %233 = load i32, ptr %232, align 4 %234 = sext i32 %233 to i64 %235 = getelementptr inbounds double, ptr %230, i64 %234 store ptr %235, ptr %24, align 8 store i32 0, ptr %22, align 4 br label %236 236: ; preds = %320, %216 %237 = load i32, ptr %22, align 4 %238 = load ptr, ptr %9, align 8 %239 = getelementptr inbounds i32, ptr %238, i64 7 %240 = load i32, ptr %239, align 4 %241 = icmp slt i32 %237, %240 br i1 %241, label %242, label %323 242: ; preds = %236 %243 = load ptr, ptr %24, align 8 %244 = getelementptr inbounds double, ptr %243, i32 1 store ptr %244, ptr %24, align 8 %245 = load double, ptr %243, align 8 store double %245, ptr %30, align 8 %246 = load ptr, ptr %16, align 8 store ptr %246, ptr %15, align 8 %247 = load ptr, ptr %28, align 8 %248 = getelementptr inbounds double, ptr %247, i64 -1 store ptr %248, ptr %29, align 8 store i32 0, ptr %19, align 4 br label %249 249: ; preds = %312, %242 %250 = load i32, ptr %19, align 4 %251 = load ptr, ptr %9, align 8 %252 = getelementptr inbounds i32, ptr %251, i64 10 %253 = load i32, ptr %252, align 4 %254 = icmp slt i32 %250, %253 br i1 %254, label %255, label %315 255: ; preds = %249 %256 = load ptr, ptr %14, align 8 %257 = load i32, ptr %256, align 4 %258 = and i32 %257, 2 %259 = icmp ne i32 %258, 0 br i1 %259, label %260, label %261 260: ; preds = %255 br label %298 261: ; preds = %255 %262 = load ptr, ptr %14, align 8 %263 = load i32, ptr %262, align 4 %264 = icmp ne i32 %263, 0 br i1 %264, label %265, label %288 265: ; preds = %261 %266 = load ptr, ptr %17, align 8 %267 = load i32, ptr %266, align 4 %268 = icmp slt i32 %267, 0 br i1 %268, label %269, label %278 269: ; preds = %265 %270 = load ptr, ptr %29, align 8 %271 = load ptr, ptr %17, align 8 %272 = load i32, ptr %271, align 4 %273 = sext i32 %272 to i64 %274 = getelementptr inbounds double, ptr %270, i64 %273 %275 = load double, ptr %274, align 8 %276 = load double, ptr %30, align 8 %277 = fdiv double %276, %275 store double %277, ptr %30, align 8 br label %287 278: ; preds = %265 %279 = load ptr, ptr %29, align 8 %280 = load ptr, ptr %17, align 8 %281 = load i32, ptr %280, align 4 %282 = sext i32 %281 to i64 %283 = getelementptr inbounds double, ptr %279, i64 %282 %284 = load double, ptr %283, align 8 %285 = load double, ptr %30, align 8 %286 = fmul double %285, %284 store double %286, ptr %30, align 8 br label %287 287: ; preds = %278, %269 br label %297 288: ; preds = %261 %289 = load ptr, ptr %29, align 8 %290 = getelementptr inbounds double, ptr %289, i64 0 %291 = load double, ptr %290, align 8 %292 = load ptr, ptr %24, align 8 %293 = load double, ptr %292, align 8 %294 = call double @pow(double noundef %291, double noundef %293) #3 %295 = load double, ptr %30, align 8 %296 = fmul double %295, %294 store double %296, ptr %30, align 8 br label %297 297: ; preds = %288, %287 br label %298 298: ; preds = %297, %260 %299 = load ptr, ptr %14, align 8 %300 = getelementptr inbounds i32, ptr %299, i32 1 store ptr %300, ptr %14, align 8 %301 = load ptr, ptr %17, align 8 %302 = getelementptr inbounds i32, ptr %301, i32 1 store ptr %302, ptr %17, align 8 %303 = load ptr, ptr %24, align 8 %304 = getelementptr inbounds double, ptr %303, i32 1 store ptr %304, ptr %24, align 8 %305 = load ptr, ptr %15, align 8 %306 = load i32, ptr %305, align 4 %307 = load ptr, ptr %29, align 8 %308 = sext i32 %306 to i64 %309 = getelementptr inbounds double, ptr %307, i64 %308 store ptr %309, ptr %29, align 8 %310 = load ptr, ptr %15, align 8 %311 = getelementptr inbounds i32, ptr %310, i32 1 store ptr %311, ptr %15, align 8 br label %312 312: ; preds = %298 %313 = load i32, ptr %19, align 4 %314 = add nsw i32 %313, 1 store i32 %314, ptr %19, align 4 br label %249, !llvm.loop !14 315: ; preds = %249 %316 = load double, ptr %30, align 8 %317 = load ptr, ptr %13, align 8 %318 = load double, ptr %317, align 8 %319 = fadd double %318, %316 store double %319, ptr %317, align 8 br label %320 320: ; preds = %315 %321 = load i32, ptr %22, align 4 %322 = add nsw i32 %321, 1 store i32 %322, ptr %22, align 4 br label %236, !llvm.loop !15 323: ; preds = %236 store i32 0, ptr %7, align 4 br label %324 324: ; preds = %323, %130, %43 %325 = load i32, ptr %7, align 4 ret i32 %325 } ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp89h4bn8p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dispoly(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %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 i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 %26 = alloca ptr, align 8 %27 = alloca double, align 8 %28 = alloca ptr, align 8 %29 = alloca ptr, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 store i32 %0, ptr %8, align 4 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store i32 %3, ptr %11, align 4 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store i32 0, ptr %20, align 4 %32 = load i32, ptr %20, align 4 %33 = load i32, ptr %11, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph, label %51 .lr.ph: ; preds = %6 br label %35 35: ; preds = %.lr.ph, %45 %36 = load ptr, ptr %12, align 8 %37 = load i32, ptr %20, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds double, ptr %36, i64 %38 %40 = load double, ptr %39, align 8 %41 = fcmp oeq double %40, 0.000000e+00 br i1 %41, label %42, label %44 42: ; preds = %35 %43 = load ptr, ptr %13, align 8 store double 0.000000e+00, ptr %43, align 8 store i32 0, ptr %7, align 4 br label %352 44: ; preds = %35 br label %45 45: ; preds = %44 %46 = load i32, ptr %20, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %20, align 4 %48 = load i32, ptr %20, align 4 %49 = load i32, ptr %11, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %35, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %51 51: ; preds = %._crit_edge, %6 %52 = load ptr, ptr %10, align 8 %53 = load ptr, ptr %9, align 8 %54 = getelementptr inbounds i32, ptr %53, i64 13 %55 = load i32, ptr %54, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds double, ptr %52, i64 %56 store ptr %57, ptr %26, align 8 store i32 0, ptr %21, align 4 %58 = load i32, ptr %21, align 4 %59 = load ptr, ptr %9, align 8 %60 = getelementptr inbounds i32, ptr %59, i64 6 %61 = load i32, ptr %60, align 4 %62 = icmp slt i32 %58, %61 br i1 %62, label %.lr.ph5, label %144 .lr.ph5: ; preds = %51 br label %63 63: ; preds = %.lr.ph5, %136 %64 = load ptr, ptr %10, align 8 %65 = load i32, ptr %21, align 4 %66 = load ptr, ptr %9, align 8 %67 = getelementptr inbounds i32, ptr %66, i64 8 %68 = load i32, ptr %67, align 4 %69 = mul nsw i32 %65, %68 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds double, ptr %64, i64 %70 store ptr %71, ptr %23, align 8 %72 = load ptr, ptr %23, align 8 %73 = load i32, ptr %11, align 4 %74 = add nsw i32 1, %73 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds double, ptr %72, i64 %75 store ptr %76, ptr %25, align 8 %77 = load ptr, ptr %23, align 8 %78 = getelementptr inbounds double, ptr %77, i32 1 store ptr %78, ptr %23, align 8 %79 = load double, ptr %77, align 8 %80 = load ptr, ptr %26, align 8 %81 = load i32, ptr %21, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds double, ptr %80, i64 %82 store double %79, ptr %83, align 8 %84 = load ptr, ptr %25, align 8 %85 = getelementptr inbounds double, ptr %84, i32 1 store ptr %85, ptr %25, align 8 %86 = load double, ptr %84, align 8 store double %86, ptr %27, align 8 store i32 0, ptr %20, align 4 %87 = load i32, ptr %20, align 4 %88 = load i32, ptr %11, align 4 %89 = icmp slt i32 %87, %88 br i1 %89, label %.lr.ph2, label %115 .lr.ph2: ; preds = %63 br label %90 90: ; preds = %.lr.ph2, %109 %91 = load ptr, ptr %23, align 8 %92 = getelementptr inbounds double, ptr %91, i32 1 store ptr %92, ptr %23, align 8 %93 = load double, ptr %91, align 8 %94 = load ptr, ptr %12, align 8 %95 = load i32, ptr %20, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds double, ptr %94, i64 %96 %98 = load double, ptr %97, align 8 %99 = load ptr, ptr %25, align 8 %100 = getelementptr inbounds double, ptr %99, i32 1 store ptr %100, ptr %25, align 8 %101 = load double, ptr %99, align 8 %102 = call double @pow(double noundef %98, double noundef %101) #3 %103 = load ptr, ptr %26, align 8 %104 = load i32, ptr %21, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds double, ptr %103, i64 %105 %107 = load double, ptr %106, align 8 %108 = call double @llvm.fmuladd.f64(double %93, double %102, double %107) store double %108, ptr %106, align 8 br label %109 109: ; preds = %90 %110 = load i32, ptr %20, align 4 %111 = add nsw i32 %110, 1 store i32 %111, ptr %20, align 4 %112 = load i32, ptr %20, align 4 %113 = load i32, ptr %11, align 4 %114 = icmp slt i32 %112, %113 br i1 %114, label %90, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %109 br label %115 115: ; preds = %._crit_edge3, %63 %116 = load ptr, ptr %26, align 8 %117 = load i32, ptr %21, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds double, ptr %116, i64 %118 %120 = load double, ptr %119, align 8 %121 = load double, ptr %27, align 8 %122 = call double @pow(double noundef %120, double noundef %121) #3 %123 = load ptr, ptr %26, align 8 %124 = load i32, ptr %21, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds double, ptr %123, i64 %125 store double %122, ptr %126, align 8 %127 = load ptr, ptr %26, align 8 %128 = load i32, ptr %21, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds double, ptr %127, i64 %129 %131 = load double, ptr %130, align 8 %132 = fcmp oeq double %131, 0.000000e+00 br i1 %132, label %133, label %135 133: ; preds = %115 %134 = load ptr, ptr %13, align 8 store double 0.000000e+00, ptr %134, align 8 store i32 0, ptr %7, align 4 br label %352 135: ; preds = %115 br label %136 136: ; preds = %135 %137 = load i32, ptr %21, align 4 %138 = add nsw i32 %137, 1 store i32 %138, ptr %21, align 4 %139 = load i32, ptr %21, align 4 %140 = load ptr, ptr %9, align 8 %141 = getelementptr inbounds i32, ptr %140, i64 6 %142 = load i32, ptr %141, align 4 %143 = icmp slt i32 %139, %142 br i1 %143, label %63, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %136 br label %144 144: ; preds = %._crit_edge6, %51 %145 = load ptr, ptr %9, align 8 %146 = load ptr, ptr %9, align 8 %147 = getelementptr inbounds i32, ptr %146, i64 15 %148 = load i32, ptr %147, align 4 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds i32, ptr %145, i64 %149 store ptr %150, ptr %16, align 8 %151 = load ptr, ptr %10, align 8 %152 = load ptr, ptr %9, align 8 %153 = getelementptr inbounds i32, ptr %152, i64 14 %154 = load i32, ptr %153, align 4 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds double, ptr %151, i64 %155 store ptr %156, ptr %28, align 8 %157 = load ptr, ptr %16, align 8 store ptr %157, ptr %15, align 8 %158 = load ptr, ptr %28, align 8 store ptr %158, ptr %29, align 8 store i32 0, ptr %20, align 4 %159 = load i32, ptr %20, align 4 %160 = load i32, ptr %11, align 4 %161 = icmp slt i32 %159, %160 br i1 %161, label %.lr.ph11, label %195 .lr.ph11: ; preds = %144 br label %162 162: ; preds = %.lr.ph11, %187 store double 1.000000e+00, ptr %31, align 8 store i32 0, ptr %18, align 4 %163 = load i32, ptr %18, align 4 %164 = load ptr, ptr %15, align 8 %165 = load i32, ptr %164, align 4 %166 = icmp slt i32 %163, %165 br i1 %166, label %.lr.ph8, label %186 .lr.ph8: ; preds = %162 br label %167 167: ; preds = %.lr.ph8, %177 %168 = load ptr, ptr %12, align 8 %169 = load i32, ptr %20, align 4 %170 = sext i32 %169 to i64 %171 = getelementptr inbounds double, ptr %168, i64 %170 %172 = load double, ptr %171, align 8 %173 = load double, ptr %31, align 8 %174 = fmul double %173, %172 store double %174, ptr %31, align 8 %175 = load double, ptr %31, align 8 %176 = load ptr, ptr %29, align 8 store double %175, ptr %176, align 8 br label %177 177: ; preds = %167 %178 = load i32, ptr %18, align 4 %179 = add nsw i32 %178, 1 store i32 %179, ptr %18, align 4 %180 = load ptr, ptr %29, align 8 %181 = getelementptr inbounds double, ptr %180, i32 1 store ptr %181, ptr %29, align 8 %182 = load i32, ptr %18, align 4 %183 = load ptr, ptr %15, align 8 %184 = load i32, ptr %183, align 4 %185 = icmp slt i32 %182, %184 br i1 %185, label %167, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %177 br label %186 186: ; preds = %._crit_edge9, %162 br label %187 187: ; preds = %186 %188 = load i32, ptr %20, align 4 %189 = add nsw i32 %188, 1 store i32 %189, ptr %20, align 4 %190 = load ptr, ptr %15, align 8 %191 = getelementptr inbounds i32, ptr %190, i32 1 store ptr %191, ptr %15, align 8 %192 = load i32, ptr %20, align 4 %193 = load i32, ptr %11, align 4 %194 = icmp slt i32 %192, %193 br i1 %194, label %162, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %187 br label %195 195: ; preds = %._crit_edge12, %144 store i32 0, ptr %21, align 4 %196 = load i32, ptr %21, align 4 %197 = load ptr, ptr %9, align 8 %198 = getelementptr inbounds i32, ptr %197, i64 6 %199 = load i32, ptr %198, align 4 %200 = icmp slt i32 %196, %199 br i1 %200, label %.lr.ph17, label %236 .lr.ph17: ; preds = %195 br label %201 201: ; preds = %.lr.ph17, %226 store double 1.000000e+00, ptr %31, align 8 store i32 0, ptr %18, align 4 %202 = load i32, ptr %18, align 4 %203 = load ptr, ptr %15, align 8 %204 = load i32, ptr %203, align 4 %205 = icmp slt i32 %202, %204 br i1 %205, label %.lr.ph14, label %225 .lr.ph14: ; preds = %201 br label %206 206: ; preds = %.lr.ph14, %216 %207 = load ptr, ptr %26, align 8 %208 = load i32, ptr %21, align 4 %209 = sext i32 %208 to i64 %210 = getelementptr inbounds double, ptr %207, i64 %209 %211 = load double, ptr %210, align 8 %212 = load double, ptr %31, align 8 %213 = fmul double %212, %211 store double %213, ptr %31, align 8 %214 = load double, ptr %31, align 8 %215 = load ptr, ptr %29, align 8 store double %214, ptr %215, align 8 br label %216 216: ; preds = %206 %217 = load i32, ptr %18, align 4 %218 = add nsw i32 %217, 1 store i32 %218, ptr %18, align 4 %219 = load ptr, ptr %29, align 8 %220 = getelementptr inbounds double, ptr %219, i32 1 store ptr %220, ptr %29, align 8 %221 = load i32, ptr %18, align 4 %222 = load ptr, ptr %15, align 8 %223 = load i32, ptr %222, align 4 %224 = icmp slt i32 %221, %223 br i1 %224, label %206, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %216 br label %225 225: ; preds = %._crit_edge15, %201 br label %226 226: ; preds = %225 %227 = load i32, ptr %21, align 4 %228 = add nsw i32 %227, 1 store i32 %228, ptr %21, align 4 %229 = load ptr, ptr %15, align 8 %230 = getelementptr inbounds i32, ptr %229, i32 1 store ptr %230, ptr %15, align 8 %231 = load i32, ptr %21, align 4 %232 = load ptr, ptr %9, align 8 %233 = getelementptr inbounds i32, ptr %232, i64 6 %234 = load i32, ptr %233, align 4 %235 = icmp slt i32 %231, %234 br i1 %235, label %201, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %226 br label %236 236: ; preds = %._crit_edge18, %195 %237 = load ptr, ptr %13, align 8 store double 0.000000e+00, ptr %237, align 8 %238 = load ptr, ptr %9, align 8 %239 = load ptr, ptr %9, align 8 %240 = getelementptr inbounds i32, ptr %239, i64 17 %241 = load i32, ptr %240, align 4 %242 = sext i32 %241 to i64 %243 = getelementptr inbounds i32, ptr %238, i64 %242 store ptr %243, ptr %14, align 8 %244 = load ptr, ptr %9, align 8 %245 = load ptr, ptr %9, align 8 %246 = getelementptr inbounds i32, ptr %245, i64 18 %247 = load i32, ptr %246, align 4 %248 = sext i32 %247 to i64 %249 = getelementptr inbounds i32, ptr %244, i64 %248 store ptr %249, ptr %17, align 8 %250 = load ptr, ptr %10, align 8 %251 = load ptr, ptr %9, align 8 %252 = getelementptr inbounds i32, ptr %251, i64 12 %253 = load i32, ptr %252, align 4 %254 = sext i32 %253 to i64 %255 = getelementptr inbounds double, ptr %250, i64 %254 store ptr %255, ptr %24, align 8 store i32 0, ptr %22, align 4 %256 = load i32, ptr %22, align 4 %257 = load ptr, ptr %9, align 8 %258 = getelementptr inbounds i32, ptr %257, i64 7 %259 = load i32, ptr %258, align 4 %260 = icmp slt i32 %256, %259 br i1 %260, label %.lr.ph23, label %351 .lr.ph23: ; preds = %236 br label %261 261: ; preds = %.lr.ph23, %343 %262 = load ptr, ptr %24, align 8 %263 = getelementptr inbounds double, ptr %262, i32 1 store ptr %263, ptr %24, align 8 %264 = load double, ptr %262, align 8 store double %264, ptr %30, align 8 %265 = load ptr, ptr %16, align 8 store ptr %265, ptr %15, align 8 %266 = load ptr, ptr %28, align 8 %267 = getelementptr inbounds double, ptr %266, i64 -1 store ptr %267, ptr %29, align 8 store i32 0, ptr %19, align 4 %268 = load i32, ptr %19, align 4 %269 = load ptr, ptr %9, align 8 %270 = getelementptr inbounds i32, ptr %269, i64 10 %271 = load i32, ptr %270, align 4 %272 = icmp slt i32 %268, %271 br i1 %272, label %.lr.ph20, label %338 .lr.ph20: ; preds = %261 br label %273 273: ; preds = %.lr.ph20, %330 %274 = load ptr, ptr %14, align 8 %275 = load i32, ptr %274, align 4 %276 = and i32 %275, 2 %277 = icmp ne i32 %276, 0 br i1 %277, label %278, label %279 278: ; preds = %273 br label %316 279: ; preds = %273 %280 = load ptr, ptr %14, align 8 %281 = load i32, ptr %280, align 4 %282 = icmp ne i32 %281, 0 br i1 %282, label %283, label %306 283: ; preds = %279 %284 = load ptr, ptr %17, align 8 %285 = load i32, ptr %284, align 4 %286 = icmp slt i32 %285, 0 br i1 %286, label %287, label %296 287: ; preds = %283 %288 = load ptr, ptr %29, align 8 %289 = load ptr, ptr %17, align 8 %290 = load i32, ptr %289, align 4 %291 = sext i32 %290 to i64 %292 = getelementptr inbounds double, ptr %288, i64 %291 %293 = load double, ptr %292, align 8 %294 = load double, ptr %30, align 8 %295 = fdiv double %294, %293 store double %295, ptr %30, align 8 br label %305 296: ; preds = %283 %297 = load ptr, ptr %29, align 8 %298 = load ptr, ptr %17, align 8 %299 = load i32, ptr %298, align 4 %300 = sext i32 %299 to i64 %301 = getelementptr inbounds double, ptr %297, i64 %300 %302 = load double, ptr %301, align 8 %303 = load double, ptr %30, align 8 %304 = fmul double %303, %302 store double %304, ptr %30, align 8 br label %305 305: ; preds = %296, %287 br label %315 306: ; preds = %279 %307 = load ptr, ptr %29, align 8 %308 = getelementptr inbounds double, ptr %307, i64 0 %309 = load double, ptr %308, align 8 %310 = load ptr, ptr %24, align 8 %311 = load double, ptr %310, align 8 %312 = call double @pow(double noundef %309, double noundef %311) #3 %313 = load double, ptr %30, align 8 %314 = fmul double %313, %312 store double %314, ptr %30, align 8 br label %315 315: ; preds = %306, %305 br label %316 316: ; preds = %315, %278 %317 = load ptr, ptr %14, align 8 %318 = getelementptr inbounds i32, ptr %317, i32 1 store ptr %318, ptr %14, align 8 %319 = load ptr, ptr %17, align 8 %320 = getelementptr inbounds i32, ptr %319, i32 1 store ptr %320, ptr %17, align 8 %321 = load ptr, ptr %24, align 8 %322 = getelementptr inbounds double, ptr %321, i32 1 store ptr %322, ptr %24, align 8 %323 = load ptr, ptr %15, align 8 %324 = load i32, ptr %323, align 4 %325 = load ptr, ptr %29, align 8 %326 = sext i32 %324 to i64 %327 = getelementptr inbounds double, ptr %325, i64 %326 store ptr %327, ptr %29, align 8 %328 = load ptr, ptr %15, align 8 %329 = getelementptr inbounds i32, ptr %328, i32 1 store ptr %329, ptr %15, align 8 br label %330 330: ; preds = %316 %331 = load i32, ptr %19, align 4 %332 = add nsw i32 %331, 1 store i32 %332, ptr %19, align 4 %333 = load i32, ptr %19, align 4 %334 = load ptr, ptr %9, align 8 %335 = getelementptr inbounds i32, ptr %334, i64 10 %336 = load i32, ptr %335, align 4 %337 = icmp slt i32 %333, %336 br i1 %337, label %273, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %330 br label %338 338: ; preds = %._crit_edge21, %261 %339 = load double, ptr %30, align 8 %340 = load ptr, ptr %13, align 8 %341 = load double, ptr %340, align 8 %342 = fadd double %341, %339 store double %342, ptr %340, align 8 br label %343 343: ; preds = %338 %344 = load i32, ptr %22, align 4 %345 = add nsw i32 %344, 1 store i32 %345, ptr %22, align 4 %346 = load i32, ptr %22, align 4 %347 = load ptr, ptr %9, align 8 %348 = getelementptr inbounds i32, ptr %347, i64 7 %349 = load i32, ptr %348, align 4 %350 = icmp slt i32 %346, %349 br i1 %350, label %261, label %._crit_edge24, !llvm.loop !15 ._crit_edge24: ; preds = %343 br label %351 351: ; preds = %._crit_edge24, %236 store i32 0, ptr %7, align 4 br label %352 352: ; preds = %351, %133, %42 %353 = load i32, ptr %7, align 4 ret i32 %353 } ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7}
; ModuleID = '/tmp/tmpt792qr31.c' source_filename = "/tmp/tmpt792qr31.c" target datalayout = "e-m:e-p270: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.c = private unnamed_addr constant [30 x i32] [i32 2, i32 1, i32 1, i32 1, i32 1, i32 0, i32 0, i32 4, i32 4, i32 0, i32 1, i32 0, i32 2, i32 3, i32 4, i32 0, i32 0, i32 0, i32 3, i32 2, i32 2, i32 2, i32 2, i32 4, i32 2, i32 3, i32 0, i32 0, i32 0, i32 0], align 16 @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"common\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"up-down\0A\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"left-right\0A\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"center\0A\00", align 1 @.str.5 = private unnamed_addr constant [27 x i8] c"up-down\0Aleft-right\0Acenter\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [30 x i32], align 16 %3 = alloca i8, align 1 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.c, i64 120, i1 false) %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %5 = load i8, ptr %3, align 1 %6 = sext i8 %5 to i32 %7 = sub nsw i32 %6, 65 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 %8 %10 = load i32, ptr %9, align 4 switch i32 %10, label %21 [ i32 0, label %11 i32 1, label %13 i32 2, label %15 i32 3, label %17 i32 4, label %19 ] 11: ; preds = %0 %12 = call i32 @printf(ptr noundef @.str.1) br label %21 13: ; preds = %0 %14 = call i32 @printf(ptr noundef @.str.2) br label %21 15: ; preds = %0 %16 = call i32 @printf(ptr noundef @.str.3) br label %21 17: ; preds = %0 %18 = call i32 @printf(ptr noundef @.str.4) br label %21 19: ; preds = %0 %20 = call i32 @printf(ptr noundef @.str.5) br label %21 21: ; preds = %0, %19, %17, %15, %13, %11 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 @scanf(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt792qr31.c" target datalayout = "e-m:e-p270: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.c = private unnamed_addr constant [30 x i32] [i32 2, i32 1, i32 1, i32 1, i32 1, i32 0, i32 0, i32 4, i32 4, i32 0, i32 1, i32 0, i32 2, i32 3, i32 4, i32 0, i32 0, i32 0, i32 3, i32 2, i32 2, i32 2, i32 2, i32 4, i32 2, i32 3, i32 0, i32 0, i32 0, i32 0], align 16 @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"common\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"up-down\0A\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"left-right\0A\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"center\0A\00", align 1 @.str.5 = private unnamed_addr constant [27 x i8] c"up-down\0Aleft-right\0Acenter\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [30 x i32], align 16 %3 = alloca i8, align 1 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.c, i64 120, i1 false) %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %5 = load i8, ptr %3, align 1 %6 = sext i8 %5 to i32 %7 = sub nsw i32 %6, 65 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 %8 %10 = load i32, ptr %9, align 4 switch i32 %10, label %21 [ i32 0, label %11 i32 1, label %13 i32 2, label %15 i32 3, label %17 i32 4, label %19 ] 11: ; preds = %0 %12 = call i32 @printf(ptr noundef @.str.1) br label %21 13: ; preds = %0 %14 = call i32 @printf(ptr noundef @.str.2) br label %21 15: ; preds = %0 %16 = call i32 @printf(ptr noundef @.str.3) br label %21 17: ; preds = %0 %18 = call i32 @printf(ptr noundef @.str.4) br label %21 19: ; preds = %0 %20 = call i32 @printf(ptr noundef @.str.5) br label %21 21: ; preds = %19, %17, %15, %13, %11, %0 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 @scanf(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"}
; ModuleID = '/tmp/tmpdbks1xw7.c' source_filename = "/tmp/tmpdbks1xw7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @func2(i32 noundef 1111, i32 noundef 2222) ret i32 0 } declare i32 @func2(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/tmpdbks1xw7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @func2(i32 noundef 1111, i32 noundef 2222) ret i32 0 } declare i32 @func2(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/tmpe8_yu4ep.c' source_filename = "/tmp/tmpe8_yu4ep.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mktemp(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null %5 = zext i1 %4 to i32 %6 = call i32 @_DIAGASSERT(i32 noundef %5) %7 = load ptr, ptr %2, align 8 %8 = call i64 @__gettemp(ptr noundef %7, ptr noundef null, i32 noundef 0) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %1 %11 = load ptr, ptr %2, align 8 br label %13 12: ; preds = %1 br label %13 13: ; preds = %12, %10 %14 = phi ptr [ %11, %10 ], [ null, %12 ] ret ptr %14 } declare i32 @_DIAGASSERT(i32 noundef) #1 declare i64 @__gettemp(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/tmpe8_yu4ep.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mktemp(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null %5 = zext i1 %4 to i32 %6 = call i32 @_DIAGASSERT(i32 noundef %5) %7 = load ptr, ptr %2, align 8 %8 = call i64 @__gettemp(ptr noundef %7, ptr noundef null, i32 noundef 0) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %1 %11 = load ptr, ptr %2, align 8 br label %13 12: ; preds = %1 br label %13 13: ; preds = %12, %10 %14 = phi ptr [ %11, %10 ], [ null, %12 ] ret ptr %14 } declare i32 @_DIAGASSERT(i32 noundef) #1 declare i64 @__gettemp(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/tmp9cecwrab.c' source_filename = "/tmp/tmp9cecwrab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gsw_latentheat_evap_ct(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 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca double, align 8 %34 = alloca double, align 8 %35 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 store double 0x414310FCEC233ACD, ptr %5, align 8 store double 0xBFC3C55088D52FFF, ptr %6, align 8 store double 0xC0F6358025833178, ptr %7, align 8 store double 0x4064D1A4CC8FA681, ptr %8, align 8 store double 0x4046F32E340AC060, ptr %9, align 8 store double 0x4032F15C5346A157, ptr %10, align 8 store double 0x4092A23D17E6D625, ptr %11, align 8 store double 0xC0B9E7C2025BA0EC, ptr %12, align 8 store double 0xC05B9FEE4DD07D83, ptr %13, align 8 store double 0xC092DC06A35B6169, ptr %14, align 8 store double 0xC0A8996B91E6BDAC, ptr %15, align 8 store double 0x40873DF1F7AFE608, ptr %16, align 8 store double 0x40A3AEABF37042BA, ptr %17, align 8 store double 0x4027BB3AE6B6E501, ptr %18, align 8 store double 0x4081E90BBE2119D7, ptr %19, align 8 store double 0x4092F58C915B352B, ptr %20, align 8 store double 0x4090998936233F0D, ptr %21, align 8 store double 0xC083FFF71677B618, ptr %22, align 8 store double 0xC0981455065BC6D6, ptr %23, align 8 store double 0x405526E639567660, ptr %24, align 8 store double 0xC07435B6CEB44D69, ptr %25, align 8 store double 0xC06964EC468D178A, ptr %26, align 8 store double 0x4045C2078D128CC0, ptr %27, align 8 store double 0xC08931D2BE2DD218, ptr %28, align 8 store double 0x4087781BA2588680, ptr %29, align 8 store double 0x406677D1933FFA94, ptr %30, align 8 store double 0xC037E606ABB5E1C1, ptr %31, align 8 store double 0x405986B21A54CE64, ptr %32, align 8 store double 0x404418249B4604A8, ptr %33, align 8 %36 = load double, ptr %3, align 8 %37 = load double, ptr %33, align 8 %38 = fdiv double %36, %37 %39 = call double @sqrt(double noundef %38) #3 store double %39, ptr %34, align 8 %40 = load double, ptr %4, align 8 %41 = fdiv double %40, 4.000000e+01 store double %41, ptr %35, align 8 %42 = load double, ptr %5, align 8 %43 = load double, ptr %34, align 8 %44 = load double, ptr %6, align 8 %45 = load double, ptr %9, align 8 %46 = load double, ptr %35, align 8 %47 = call double @llvm.fmuladd.f64(double %45, double %46, double %44) %48 = load double, ptr %34, align 8 %49 = load double, ptr %8, align 8 %50 = load double, ptr %35, align 8 %51 = load double, ptr %12, align 8 %52 = load double, ptr %17, align 8 %53 = load double, ptr %35, align 8 %54 = call double @llvm.fmuladd.f64(double %52, double %53, double %51) %55 = call double @llvm.fmuladd.f64(double %50, double %54, double %49) %56 = load double, ptr %34, align 8 %57 = load double, ptr %11, align 8 %58 = load double, ptr %35, align 8 %59 = load double, ptr %16, align 8 %60 = load double, ptr %35, align 8 %61 = load double, ptr %22, align 8 %62 = load double, ptr %29, align 8 %63 = load double, ptr %35, align 8 %64 = call double @llvm.fmuladd.f64(double %62, double %63, double %61) %65 = call double @llvm.fmuladd.f64(double %60, double %64, double %59) %66 = call double @llvm.fmuladd.f64(double %58, double %65, double %57) %67 = load double, ptr %34, align 8 %68 = load double, ptr %15, align 8 %69 = load double, ptr %35, align 8 %70 = load double, ptr %21, align 8 %71 = load double, ptr %28, align 8 %72 = load double, ptr %35, align 8 %73 = call double @llvm.fmuladd.f64(double %71, double %72, double %70) %74 = call double @llvm.fmuladd.f64(double %69, double %73, double %68) %75 = load double, ptr %34, align 8 %76 = load double, ptr %20, align 8 %77 = load double, ptr %27, align 8 %78 = load double, ptr %35, align 8 %79 = call double @llvm.fmuladd.f64(double %77, double %78, double %76) %80 = load double, ptr %26, align 8 %81 = load double, ptr %34, align 8 %82 = call double @llvm.fmuladd.f64(double %80, double %81, double %79) %83 = call double @llvm.fmuladd.f64(double %75, double %82, double %74) %84 = call double @llvm.fmuladd.f64(double %67, double %83, double %66) %85 = call double @llvm.fmuladd.f64(double %56, double %84, double %55) %86 = call double @llvm.fmuladd.f64(double %48, double %85, double %47) %87 = call double @llvm.fmuladd.f64(double %43, double %86, double %42) %88 = load double, ptr %35, align 8 %89 = load double, ptr %7, align 8 %90 = load double, ptr %35, align 8 %91 = load double, ptr %10, align 8 %92 = load double, ptr %13, align 8 %93 = load double, ptr %34, align 8 %94 = call double @llvm.fmuladd.f64(double %92, double %93, double %91) %95 = load double, ptr %35, align 8 %96 = load double, ptr %14, align 8 %97 = load double, ptr %34, align 8 %98 = load double, ptr %18, align 8 %99 = load double, ptr %23, align 8 %100 = load double, ptr %34, align 8 %101 = call double @llvm.fmuladd.f64(double %99, double %100, double %98) %102 = call double @llvm.fmuladd.f64(double %97, double %101, double %96) %103 = load double, ptr %35, align 8 %104 = load double, ptr %19, align 8 %105 = load double, ptr %34, align 8 %106 = load double, ptr %24, align 8 %107 = load double, ptr %30, align 8 %108 = load double, ptr %34, align 8 %109 = call double @llvm.fmuladd.f64(double %107, double %108, double %106) %110 = call double @llvm.fmuladd.f64(double %105, double %109, double %104) %111 = load double, ptr %35, align 8 %112 = load double, ptr %25, align 8 %113 = load double, ptr %31, align 8 %114 = load double, ptr %34, align 8 %115 = call double @llvm.fmuladd.f64(double %113, double %114, double %112) %116 = load double, ptr %32, align 8 %117 = load double, ptr %35, align 8 %118 = call double @llvm.fmuladd.f64(double %116, double %117, double %115) %119 = call double @llvm.fmuladd.f64(double %111, double %118, double %110) %120 = call double @llvm.fmuladd.f64(double %103, double %119, double %102) %121 = call double @llvm.fmuladd.f64(double %95, double %120, double %94) %122 = call double @llvm.fmuladd.f64(double %90, double %121, double %89) %123 = call double @llvm.fmuladd.f64(double %88, double %122, double %87) ret double %123 } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9cecwrab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gsw_latentheat_evap_ct(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 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca double, align 8 %34 = alloca double, align 8 %35 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 store double 0x414310FCEC233ACD, ptr %5, align 8 store double 0xBFC3C55088D52FFF, ptr %6, align 8 store double 0xC0F6358025833178, ptr %7, align 8 store double 0x4064D1A4CC8FA681, ptr %8, align 8 store double 0x4046F32E340AC060, ptr %9, align 8 store double 0x4032F15C5346A157, ptr %10, align 8 store double 0x4092A23D17E6D625, ptr %11, align 8 store double 0xC0B9E7C2025BA0EC, ptr %12, align 8 store double 0xC05B9FEE4DD07D83, ptr %13, align 8 store double 0xC092DC06A35B6169, ptr %14, align 8 store double 0xC0A8996B91E6BDAC, ptr %15, align 8 store double 0x40873DF1F7AFE608, ptr %16, align 8 store double 0x40A3AEABF37042BA, ptr %17, align 8 store double 0x4027BB3AE6B6E501, ptr %18, align 8 store double 0x4081E90BBE2119D7, ptr %19, align 8 store double 0x4092F58C915B352B, ptr %20, align 8 store double 0x4090998936233F0D, ptr %21, align 8 store double 0xC083FFF71677B618, ptr %22, align 8 store double 0xC0981455065BC6D6, ptr %23, align 8 store double 0x405526E639567660, ptr %24, align 8 store double 0xC07435B6CEB44D69, ptr %25, align 8 store double 0xC06964EC468D178A, ptr %26, align 8 store double 0x4045C2078D128CC0, ptr %27, align 8 store double 0xC08931D2BE2DD218, ptr %28, align 8 store double 0x4087781BA2588680, ptr %29, align 8 store double 0x406677D1933FFA94, ptr %30, align 8 store double 0xC037E606ABB5E1C1, ptr %31, align 8 store double 0x405986B21A54CE64, ptr %32, align 8 store double 0x404418249B4604A8, ptr %33, align 8 %36 = load double, ptr %3, align 8 %37 = load double, ptr %33, align 8 %38 = fdiv double %36, %37 %39 = call double @sqrt(double noundef %38) #3 store double %39, ptr %34, align 8 %40 = load double, ptr %4, align 8 %41 = fdiv double %40, 4.000000e+01 store double %41, ptr %35, align 8 %42 = load double, ptr %5, align 8 %43 = load double, ptr %34, align 8 %44 = load double, ptr %6, align 8 %45 = load double, ptr %9, align 8 %46 = load double, ptr %35, align 8 %47 = call double @llvm.fmuladd.f64(double %45, double %46, double %44) %48 = load double, ptr %34, align 8 %49 = load double, ptr %8, align 8 %50 = load double, ptr %35, align 8 %51 = load double, ptr %12, align 8 %52 = load double, ptr %17, align 8 %53 = load double, ptr %35, align 8 %54 = call double @llvm.fmuladd.f64(double %52, double %53, double %51) %55 = call double @llvm.fmuladd.f64(double %50, double %54, double %49) %56 = load double, ptr %34, align 8 %57 = load double, ptr %11, align 8 %58 = load double, ptr %35, align 8 %59 = load double, ptr %16, align 8 %60 = load double, ptr %35, align 8 %61 = load double, ptr %22, align 8 %62 = load double, ptr %29, align 8 %63 = load double, ptr %35, align 8 %64 = call double @llvm.fmuladd.f64(double %62, double %63, double %61) %65 = call double @llvm.fmuladd.f64(double %60, double %64, double %59) %66 = call double @llvm.fmuladd.f64(double %58, double %65, double %57) %67 = load double, ptr %34, align 8 %68 = load double, ptr %15, align 8 %69 = load double, ptr %35, align 8 %70 = load double, ptr %21, align 8 %71 = load double, ptr %28, align 8 %72 = load double, ptr %35, align 8 %73 = call double @llvm.fmuladd.f64(double %71, double %72, double %70) %74 = call double @llvm.fmuladd.f64(double %69, double %73, double %68) %75 = load double, ptr %34, align 8 %76 = load double, ptr %20, align 8 %77 = load double, ptr %27, align 8 %78 = load double, ptr %35, align 8 %79 = call double @llvm.fmuladd.f64(double %77, double %78, double %76) %80 = load double, ptr %26, align 8 %81 = load double, ptr %34, align 8 %82 = call double @llvm.fmuladd.f64(double %80, double %81, double %79) %83 = call double @llvm.fmuladd.f64(double %75, double %82, double %74) %84 = call double @llvm.fmuladd.f64(double %67, double %83, double %66) %85 = call double @llvm.fmuladd.f64(double %56, double %84, double %55) %86 = call double @llvm.fmuladd.f64(double %48, double %85, double %47) %87 = call double @llvm.fmuladd.f64(double %43, double %86, double %42) %88 = load double, ptr %35, align 8 %89 = load double, ptr %7, align 8 %90 = load double, ptr %35, align 8 %91 = load double, ptr %10, align 8 %92 = load double, ptr %13, align 8 %93 = load double, ptr %34, align 8 %94 = call double @llvm.fmuladd.f64(double %92, double %93, double %91) %95 = load double, ptr %35, align 8 %96 = load double, ptr %14, align 8 %97 = load double, ptr %34, align 8 %98 = load double, ptr %18, align 8 %99 = load double, ptr %23, align 8 %100 = load double, ptr %34, align 8 %101 = call double @llvm.fmuladd.f64(double %99, double %100, double %98) %102 = call double @llvm.fmuladd.f64(double %97, double %101, double %96) %103 = load double, ptr %35, align 8 %104 = load double, ptr %19, align 8 %105 = load double, ptr %34, align 8 %106 = load double, ptr %24, align 8 %107 = load double, ptr %30, align 8 %108 = load double, ptr %34, align 8 %109 = call double @llvm.fmuladd.f64(double %107, double %108, double %106) %110 = call double @llvm.fmuladd.f64(double %105, double %109, double %104) %111 = load double, ptr %35, align 8 %112 = load double, ptr %25, align 8 %113 = load double, ptr %31, align 8 %114 = load double, ptr %34, align 8 %115 = call double @llvm.fmuladd.f64(double %113, double %114, double %112) %116 = load double, ptr %32, align 8 %117 = load double, ptr %35, align 8 %118 = call double @llvm.fmuladd.f64(double %116, double %117, double %115) %119 = call double @llvm.fmuladd.f64(double %111, double %118, double %110) %120 = call double @llvm.fmuladd.f64(double %103, double %119, double %102) %121 = call double @llvm.fmuladd.f64(double %95, double %120, double %94) %122 = call double @llvm.fmuladd.f64(double %90, double %121, double %89) %123 = call double @llvm.fmuladd.f64(double %88, double %122, double %87) ret double %123 } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe9x7i3rs.c' source_filename = "/tmp/tmpe9x7i3rs.c" target datalayout = "e-m:e-p270: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/tmpe9x7i3rs.c" target datalayout = "e-m:e-p270: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/tmpxj0cho71.c' source_filename = "/tmp/tmpxj0cho71.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sfa_special(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, double noundef %6, i32 noundef %7, i32 noundef %8, ptr noundef %9, ptr noundef %10, double noundef %11, i32 noundef %12) #0 { %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 ptr, align 8 %20 = alloca double, align 8 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca double, align 8 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca i32, align 4 %30 = alloca i32, align 4 %31 = alloca double, align 8 %32 = alloca ptr, align 8 %33 = alloca double, align 8 %34 = alloca i32, align 4 %35 = alloca i32, align 4 store ptr %0, ptr %14, align 8 store ptr %1, ptr %15, align 8 store ptr %2, ptr %16, align 8 store ptr %3, ptr %17, align 8 store ptr %4, ptr %18, align 8 store ptr %5, ptr %19, align 8 store double %6, ptr %20, align 8 store i32 %7, ptr %21, align 4 store i32 %8, ptr %22, align 4 store ptr %9, ptr %23, align 8 store ptr %10, ptr %24, align 8 store double %11, ptr %25, align 8 store i32 %12, ptr %26, align 4 store i32 0, ptr %29, align 4 %36 = load i32, ptr %21, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %30, align 4 %38 = load i32, ptr %21, align 4 %39 = sext i32 %38 to i64 %40 = mul i64 4, %39 %41 = trunc i64 %40 to i32 %42 = call i64 @malloc(i32 noundef %41) %43 = inttoptr i64 %42 to ptr store ptr %43, ptr %32, align 8 store double -1.000000e+00, ptr %33, align 8 store i32 -1, ptr %34, align 4 store i32 -1, ptr %35, align 4 %44 = load ptr, ptr %15, align 8 store double -1.000000e+00, ptr %44, align 8 store i32 1, ptr %28, align 4 br label %45 45: ; preds = %269, %13 %46 = load i32, ptr %28, align 4 %47 = load i32, ptr %22, align 4 %48 = icmp sle i32 %46, %47 br i1 %48, label %49, label %272 49: ; preds = %45 %50 = load ptr, ptr %17, align 8 %51 = getelementptr inbounds double, ptr %50, i64 0 %52 = load double, ptr %51, align 8 %53 = load ptr, ptr %17, align 8 %54 = getelementptr inbounds double, ptr %53, i64 0 %55 = load double, ptr %54, align 8 %56 = fadd double %52, %55 %57 = load ptr, ptr %17, align 8 %58 = getelementptr inbounds double, ptr %57, i64 1 %59 = load double, ptr %58, align 8 %60 = fsub double %56, %59 %61 = load ptr, ptr %19, align 8 %62 = getelementptr inbounds double, ptr %61, i64 0 %63 = load double, ptr %62, align 8 %64 = fsub double %60, %63 %65 = load ptr, ptr %24, align 8 %66 = getelementptr inbounds double, ptr %65, i64 0 store double %64, ptr %66, align 8 store i32 1, ptr %27, align 4 br label %67 67: ; preds = %109, %49 %68 = load i32, ptr %27, align 4 %69 = load i32, ptr %21, align 4 %70 = sub nsw i32 %69, 1 %71 = icmp slt i32 %68, %70 br i1 %71, label %72, label %112 72: ; preds = %67 %73 = load ptr, ptr %17, align 8 %74 = load i32, ptr %27, align 4 %75 = sub nsw i32 %74, 1 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds double, ptr %73, i64 %76 %78 = load double, ptr %77, align 8 %79 = fneg double %78 %80 = load ptr, ptr %17, align 8 %81 = load i32, ptr %27, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds double, ptr %80, i64 %82 %84 = load double, ptr %83, align 8 %85 = fadd double %79, %84 %86 = load ptr, ptr %17, align 8 %87 = load i32, ptr %27, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds double, ptr %86, i64 %88 %90 = load double, ptr %89, align 8 %91 = fadd double %85, %90 %92 = load ptr, ptr %17, align 8 %93 = load i32, ptr %27, align 4 %94 = add nsw i32 %93, 1 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds double, ptr %92, i64 %95 %97 = load double, ptr %96, align 8 %98 = fsub double %91, %97 %99 = load ptr, ptr %19, align 8 %100 = load i32, ptr %27, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds double, ptr %99, i64 %101 %103 = load double, ptr %102, align 8 %104 = fsub double %98, %103 %105 = load ptr, ptr %24, align 8 %106 = load i32, ptr %27, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds double, ptr %105, i64 %107 store double %104, ptr %108, align 8 br label %109 109: ; preds = %72 %110 = load i32, ptr %27, align 4 %111 = add nsw i32 %110, 1 store i32 %111, ptr %27, align 4 br label %67, !llvm.loop !6 112: ; preds = %67 %113 = load ptr, ptr %17, align 8 %114 = load i32, ptr %21, align 4 %115 = sub nsw i32 %114, 2 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds double, ptr %113, i64 %116 %118 = load double, ptr %117, align 8 %119 = fneg double %118 %120 = load ptr, ptr %17, align 8 %121 = load i32, ptr %21, align 4 %122 = sub nsw i32 %121, 1 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds double, ptr %120, i64 %123 %125 = load double, ptr %124, align 8 %126 = fadd double %119, %125 %127 = load ptr, ptr %17, align 8 %128 = load i32, ptr %21, align 4 %129 = sub nsw i32 %128, 1 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds double, ptr %127, i64 %130 %132 = load double, ptr %131, align 8 %133 = fadd double %126, %132 %134 = load ptr, ptr %19, align 8 %135 = load i32, ptr %21, align 4 %136 = sub nsw i32 %135, 1 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds double, ptr %134, i64 %137 %139 = load double, ptr %138, align 8 %140 = fsub double %133, %139 %141 = load ptr, ptr %24, align 8 %142 = load i32, ptr %21, align 4 %143 = sub nsw i32 %142, 1 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds double, ptr %141, i64 %144 store double %140, ptr %145, align 8 %146 = load i32, ptr %34, align 4 store i32 %146, ptr %35, align 4 %147 = load ptr, ptr %14, align 8 %148 = load ptr, ptr %18, align 8 %149 = load ptr, ptr %17, align 8 %150 = load ptr, ptr %24, align 8 %151 = load ptr, ptr %32, align 8 %152 = load double, ptr %20, align 8 %153 = load i32, ptr %21, align 4 %154 = call i32 @supportSet(ptr noundef %147, ptr noundef %148, ptr noundef %149, ptr noundef %150, ptr noundef %151, double noundef %152, i32 noundef %153) store i32 %154, ptr %34, align 4 store i32 0, ptr %27, align 4 br label %155 155: ; preds = %182, %112 %156 = load i32, ptr %27, align 4 %157 = load i32, ptr %21, align 4 %158 = icmp slt i32 %156, %157 br i1 %158, label %159, label %185 159: ; preds = %155 %160 = load ptr, ptr %19, align 8 %161 = load i32, ptr %27, align 4 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds double, ptr %160, i64 %162 %164 = load double, ptr %163, align 8 %165 = load ptr, ptr %14, align 8 %166 = load i32, ptr %27, align 4 %167 = add nsw i32 %166, 1 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds double, ptr %165, i64 %168 %170 = load double, ptr %169, align 8 %171 = fsub double %164, %170 %172 = load ptr, ptr %14, align 8 %173 = load i32, ptr %27, align 4 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds double, ptr %172, i64 %174 %176 = load double, ptr %175, align 8 %177 = fadd double %171, %176 %178 = load ptr, ptr %23, align 8 %179 = load i32, ptr %27, align 4 %180 = sext i32 %179 to i64 %181 = getelementptr inbounds double, ptr %178, i64 %180 store double %177, ptr %181, align 8 br label %182 182: ; preds = %159 %183 = load i32, ptr %27, align 4 %184 = add nsw i32 %183, 1 store i32 %184, ptr %27, align 4 br label %155, !llvm.loop !8 185: ; preds = %155 %186 = load ptr, ptr %17, align 8 %187 = load ptr, ptr %23, align 8 %188 = load i32, ptr %21, align 4 %189 = call i32 @Thomas(ptr noundef %31, ptr noundef %186, ptr noundef %187, i32 noundef %188) store i32 0, ptr %27, align 4 br label %190 190: ; preds = %226, %185 %191 = load i32, ptr %27, align 4 %192 = load i32, ptr %21, align 4 %193 = icmp slt i32 %191, %192 br i1 %193, label %194, label %229 194: ; preds = %190 %195 = load ptr, ptr %17, align 8 %196 = load i32, ptr %27, align 4 %197 = sext i32 %196 to i64 %198 = getelementptr inbounds double, ptr %195, i64 %197 %199 = load double, ptr %198, align 8 %200 = load double, ptr %20, align 8 %201 = fcmp ogt double %199, %200 br i1 %201, label %202, label %208 202: ; preds = %194 %203 = load double, ptr %20, align 8 %204 = load ptr, ptr %17, align 8 %205 = load i32, ptr %27, align 4 %206 = sext i32 %205 to i64 %207 = getelementptr inbounds double, ptr %204, i64 %206 store double %203, ptr %207, align 8 br label %225 208: ; preds = %194 %209 = load ptr, ptr %17, align 8 %210 = load i32, ptr %27, align 4 %211 = sext i32 %210 to i64 %212 = getelementptr inbounds double, ptr %209, i64 %211 %213 = load double, ptr %212, align 8 %214 = load double, ptr %20, align 8 %215 = fneg double %214 %216 = fcmp olt double %213, %215 br i1 %216, label %217, label %224 217: ; preds = %208 %218 = load double, ptr %20, align 8 %219 = fneg double %218 %220 = load ptr, ptr %17, align 8 %221 = load i32, ptr %27, align 4 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds double, ptr %220, i64 %222 store double %219, ptr %223, align 8 br label %224 224: ; preds = %217, %208 br label %225 225: ; preds = %224, %202 br label %226 226: ; preds = %225 %227 = load i32, ptr %27, align 4 %228 = add nsw i32 %227, 1 store i32 %228, ptr %27, align 4 br label %190, !llvm.loop !9 229: ; preds = %190 %230 = load i32, ptr %28, align 4 %231 = load i32, ptr %26, align 4 %232 = srem i32 %230, %231 %233 = icmp eq i32 %232, 0 br i1 %233, label %234, label %268 234: ; preds = %229 %235 = load ptr, ptr %15, align 8 %236 = load double, ptr %235, align 8 store double %236, ptr %33, align 8 %237 = load ptr, ptr %15, align 8 %238 = load ptr, ptr %17, align 8 %239 = load ptr, ptr %24, align 8 %240 = load ptr, ptr %23, align 8 %241 = load ptr, ptr %19, align 8 %242 = load double, ptr %20, align 8 %243 = load i32, ptr %21, align 4 %244 = call i32 @dualityGap(ptr noundef %237, ptr noundef %238, ptr noundef %239, ptr noundef %240, ptr noundef %241, double noundef %242, i32 noundef %243) %245 = load ptr, ptr %15, align 8 %246 = load double, ptr %245, align 8 %247 = load double, ptr %25, align 8 %248 = fcmp ole double %246, %247 br i1 %248, label %249, label %250 249: ; preds = %234 store i32 1, ptr %29, align 4 br label %272 250: ; preds = %234 %251 = load ptr, ptr %15, align 8 %252 = load double, ptr %251, align 8 %253 = fcmp olt double %252, 1.000000e+00 br i1 %253, label %254, label %267 254: ; preds = %250 %255 = load i32, ptr %34, align 4 %256 = load i32, ptr %35, align 4 %257 = icmp eq i32 %255, %256 br i1 %257, label %258, label %267 258: ; preds = %254 %259 = load double, ptr %33, align 8 %260 = load ptr, ptr %15, align 8 %261 = load double, ptr %260, align 8 %262 = fcmp oeq double %259, %261 %263 = zext i1 %262 to i32 %264 = call i64 @fabs(i32 noundef %263) %265 = icmp ne i64 %264, 0 br i1 %265, label %266, label %267 266: ; preds = %258 store i32 1, ptr %29, align 4 br label %272 267: ; preds = %258, %254, %250 br label %268 268: ; preds = %267, %229 br label %269 269: ; preds = %268 %270 = load i32, ptr %28, align 4 %271 = add nsw i32 %270, 1 store i32 %271, ptr %28, align 4 br label %45, !llvm.loop !10 272: ; preds = %266, %249, %45 %273 = load ptr, ptr %32, align 8 %274 = call i32 @free(ptr noundef %273) %275 = load i32, ptr %34, align 4 %276 = load ptr, ptr %16, align 8 store i32 %275, ptr %276, align 4 %277 = load i32, ptr %28, align 4 ret i32 %277 } declare i64 @malloc(i32 noundef) #1 declare i32 @supportSet(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef, i32 noundef) #1 declare i32 @Thomas(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @dualityGap(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef, i32 noundef) #1 declare i64 @fabs(i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxj0cho71.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sfa_special(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, double noundef %6, i32 noundef %7, i32 noundef %8, ptr noundef %9, ptr noundef %10, double noundef %11, i32 noundef %12) #0 { %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 ptr, align 8 %20 = alloca double, align 8 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca double, align 8 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca i32, align 4 %30 = alloca i32, align 4 %31 = alloca double, align 8 %32 = alloca ptr, align 8 %33 = alloca double, align 8 %34 = alloca i32, align 4 %35 = alloca i32, align 4 store ptr %0, ptr %14, align 8 store ptr %1, ptr %15, align 8 store ptr %2, ptr %16, align 8 store ptr %3, ptr %17, align 8 store ptr %4, ptr %18, align 8 store ptr %5, ptr %19, align 8 store double %6, ptr %20, align 8 store i32 %7, ptr %21, align 4 store i32 %8, ptr %22, align 4 store ptr %9, ptr %23, align 8 store ptr %10, ptr %24, align 8 store double %11, ptr %25, align 8 store i32 %12, ptr %26, align 4 store i32 0, ptr %29, align 4 %36 = load i32, ptr %21, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %30, align 4 %38 = load i32, ptr %21, align 4 %39 = sext i32 %38 to i64 %40 = mul i64 4, %39 %41 = trunc i64 %40 to i32 %42 = call i64 @malloc(i32 noundef %41) %43 = inttoptr i64 %42 to ptr store ptr %43, ptr %32, align 8 store double -1.000000e+00, ptr %33, align 8 store i32 -1, ptr %34, align 4 store i32 -1, ptr %35, align 4 %44 = load ptr, ptr %15, align 8 store double -1.000000e+00, ptr %44, align 8 store i32 1, ptr %28, align 4 %45 = load i32, ptr %28, align 4 %46 = load i32, ptr %22, align 4 %47 = icmp sle i32 %45, %46 br i1 %47, label %.lr.ph8, label %.loopexit .lr.ph8: ; preds = %13 br label %48 48: ; preds = %.lr.ph8, %275 %49 = load ptr, ptr %17, align 8 %50 = getelementptr inbounds double, ptr %49, i64 0 %51 = load double, ptr %50, align 8 %52 = load ptr, ptr %17, align 8 %53 = getelementptr inbounds double, ptr %52, i64 0 %54 = load double, ptr %53, align 8 %55 = fadd double %51, %54 %56 = load ptr, ptr %17, align 8 %57 = getelementptr inbounds double, ptr %56, i64 1 %58 = load double, ptr %57, align 8 %59 = fsub double %55, %58 %60 = load ptr, ptr %19, align 8 %61 = getelementptr inbounds double, ptr %60, i64 0 %62 = load double, ptr %61, align 8 %63 = fsub double %59, %62 %64 = load ptr, ptr %24, align 8 %65 = getelementptr inbounds double, ptr %64, i64 0 store double %63, ptr %65, align 8 store i32 1, ptr %27, align 4 %66 = load i32, ptr %27, align 4 %67 = load i32, ptr %21, align 4 %68 = sub nsw i32 %67, 1 %69 = icmp slt i32 %66, %68 br i1 %69, label %.lr.ph, label %114 .lr.ph: ; preds = %48 br label %70 70: ; preds = %.lr.ph, %107 %71 = load ptr, ptr %17, align 8 %72 = load i32, ptr %27, align 4 %73 = sub nsw i32 %72, 1 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds double, ptr %71, i64 %74 %76 = load double, ptr %75, align 8 %77 = fneg double %76 %78 = load ptr, ptr %17, align 8 %79 = load i32, ptr %27, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds double, ptr %78, i64 %80 %82 = load double, ptr %81, align 8 %83 = fadd double %77, %82 %84 = load ptr, ptr %17, align 8 %85 = load i32, ptr %27, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds double, ptr %84, i64 %86 %88 = load double, ptr %87, align 8 %89 = fadd double %83, %88 %90 = load ptr, ptr %17, align 8 %91 = load i32, ptr %27, align 4 %92 = add nsw i32 %91, 1 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds double, ptr %90, i64 %93 %95 = load double, ptr %94, align 8 %96 = fsub double %89, %95 %97 = load ptr, ptr %19, align 8 %98 = load i32, ptr %27, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds double, ptr %97, i64 %99 %101 = load double, ptr %100, align 8 %102 = fsub double %96, %101 %103 = load ptr, ptr %24, align 8 %104 = load i32, ptr %27, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds double, ptr %103, i64 %105 store double %102, ptr %106, align 8 br label %107 107: ; preds = %70 %108 = load i32, ptr %27, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %27, align 4 %110 = load i32, ptr %27, align 4 %111 = load i32, ptr %21, align 4 %112 = sub nsw i32 %111, 1 %113 = icmp slt i32 %110, %112 br i1 %113, label %70, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %107 br label %114 114: ; preds = %._crit_edge, %48 %115 = load ptr, ptr %17, align 8 %116 = load i32, ptr %21, 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 = fneg double %120 %122 = load ptr, ptr %17, align 8 %123 = load i32, ptr %21, align 4 %124 = sub nsw i32 %123, 1 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds double, ptr %122, i64 %125 %127 = load double, ptr %126, align 8 %128 = fadd double %121, %127 %129 = load ptr, ptr %17, align 8 %130 = load i32, ptr %21, align 4 %131 = sub nsw i32 %130, 1 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds double, ptr %129, i64 %132 %134 = load double, ptr %133, align 8 %135 = fadd double %128, %134 %136 = load ptr, ptr %19, align 8 %137 = load i32, ptr %21, align 4 %138 = sub nsw i32 %137, 1 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds double, ptr %136, i64 %139 %141 = load double, ptr %140, align 8 %142 = fsub double %135, %141 %143 = load ptr, ptr %24, align 8 %144 = load i32, ptr %21, align 4 %145 = sub nsw i32 %144, 1 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds double, ptr %143, i64 %146 store double %142, ptr %147, align 8 %148 = load i32, ptr %34, align 4 store i32 %148, ptr %35, align 4 %149 = load ptr, ptr %14, align 8 %150 = load ptr, ptr %18, align 8 %151 = load ptr, ptr %17, align 8 %152 = load ptr, ptr %24, align 8 %153 = load ptr, ptr %32, align 8 %154 = load double, ptr %20, align 8 %155 = load i32, ptr %21, align 4 %156 = call i32 @supportSet(ptr noundef %149, ptr noundef %150, ptr noundef %151, ptr noundef %152, ptr noundef %153, double noundef %154, i32 noundef %155) store i32 %156, ptr %34, align 4 store i32 0, ptr %27, align 4 %157 = load i32, ptr %27, align 4 %158 = load i32, ptr %21, align 4 %159 = icmp slt i32 %157, %158 br i1 %159, label %.lr.ph2, label %189 .lr.ph2: ; preds = %114 br label %160 160: ; preds = %.lr.ph2, %183 %161 = load ptr, ptr %19, align 8 %162 = load i32, ptr %27, align 4 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds double, ptr %161, i64 %163 %165 = load double, ptr %164, align 8 %166 = load ptr, ptr %14, align 8 %167 = load i32, ptr %27, align 4 %168 = add nsw i32 %167, 1 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds double, ptr %166, i64 %169 %171 = load double, ptr %170, align 8 %172 = fsub double %165, %171 %173 = load ptr, ptr %14, align 8 %174 = load i32, ptr %27, align 4 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds double, ptr %173, i64 %175 %177 = load double, ptr %176, align 8 %178 = fadd double %172, %177 %179 = load ptr, ptr %23, align 8 %180 = load i32, ptr %27, align 4 %181 = sext i32 %180 to i64 %182 = getelementptr inbounds double, ptr %179, i64 %181 store double %178, ptr %182, align 8 br label %183 183: ; preds = %160 %184 = load i32, ptr %27, align 4 %185 = add nsw i32 %184, 1 store i32 %185, ptr %27, align 4 %186 = load i32, ptr %27, align 4 %187 = load i32, ptr %21, align 4 %188 = icmp slt i32 %186, %187 br i1 %188, label %160, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %183 br label %189 189: ; preds = %._crit_edge3, %114 %190 = load ptr, ptr %17, align 8 %191 = load ptr, ptr %23, align 8 %192 = load i32, ptr %21, align 4 %193 = call i32 @Thomas(ptr noundef %31, ptr noundef %190, ptr noundef %191, i32 noundef %192) store i32 0, ptr %27, align 4 %194 = load i32, ptr %27, align 4 %195 = load i32, ptr %21, align 4 %196 = icmp slt i32 %194, %195 br i1 %196, label %.lr.ph5, label %235 .lr.ph5: ; preds = %189 br label %197 197: ; preds = %.lr.ph5, %229 %198 = load ptr, ptr %17, align 8 %199 = load i32, ptr %27, align 4 %200 = sext i32 %199 to i64 %201 = getelementptr inbounds double, ptr %198, i64 %200 %202 = load double, ptr %201, align 8 %203 = load double, ptr %20, align 8 %204 = fcmp ogt double %202, %203 br i1 %204, label %205, label %211 205: ; preds = %197 %206 = load double, ptr %20, align 8 %207 = load ptr, ptr %17, align 8 %208 = load i32, ptr %27, align 4 %209 = sext i32 %208 to i64 %210 = getelementptr inbounds double, ptr %207, i64 %209 store double %206, ptr %210, align 8 br label %228 211: ; preds = %197 %212 = load ptr, ptr %17, align 8 %213 = load i32, ptr %27, 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 %20, align 8 %218 = fneg double %217 %219 = fcmp olt double %216, %218 br i1 %219, label %220, label %227 220: ; preds = %211 %221 = load double, ptr %20, align 8 %222 = fneg double %221 %223 = load ptr, ptr %17, align 8 %224 = load i32, ptr %27, align 4 %225 = sext i32 %224 to i64 %226 = getelementptr inbounds double, ptr %223, i64 %225 store double %222, ptr %226, align 8 br label %227 227: ; preds = %220, %211 br label %228 228: ; preds = %227, %205 br label %229 229: ; preds = %228 %230 = load i32, ptr %27, align 4 %231 = add nsw i32 %230, 1 store i32 %231, ptr %27, align 4 %232 = load i32, ptr %27, align 4 %233 = load i32, ptr %21, align 4 %234 = icmp slt i32 %232, %233 br i1 %234, label %197, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %229 br label %235 235: ; preds = %._crit_edge6, %189 %236 = load i32, ptr %28, align 4 %237 = load i32, ptr %26, align 4 %238 = srem i32 %236, %237 %239 = icmp eq i32 %238, 0 br i1 %239, label %240, label %274 240: ; preds = %235 %241 = load ptr, ptr %15, align 8 %242 = load double, ptr %241, align 8 store double %242, ptr %33, align 8 %243 = load ptr, ptr %15, align 8 %244 = load ptr, ptr %17, align 8 %245 = load ptr, ptr %24, align 8 %246 = load ptr, ptr %23, align 8 %247 = load ptr, ptr %19, align 8 %248 = load double, ptr %20, align 8 %249 = load i32, ptr %21, align 4 %250 = call i32 @dualityGap(ptr noundef %243, ptr noundef %244, ptr noundef %245, ptr noundef %246, ptr noundef %247, double noundef %248, i32 noundef %249) %251 = load ptr, ptr %15, align 8 %252 = load double, ptr %251, align 8 %253 = load double, ptr %25, align 8 %254 = fcmp ole double %252, %253 br i1 %254, label %255, label %256 255: ; preds = %240 store i32 1, ptr %29, align 4 br label %281 256: ; preds = %240 %257 = load ptr, ptr %15, align 8 %258 = load double, ptr %257, align 8 %259 = fcmp olt double %258, 1.000000e+00 br i1 %259, label %260, label %273 260: ; preds = %256 %261 = load i32, ptr %34, align 4 %262 = load i32, ptr %35, align 4 %263 = icmp eq i32 %261, %262 br i1 %263, label %264, label %273 264: ; preds = %260 %265 = load double, ptr %33, align 8 %266 = load ptr, ptr %15, align 8 %267 = load double, ptr %266, align 8 %268 = fcmp oeq double %265, %267 %269 = zext i1 %268 to i32 %270 = call i64 @fabs(i32 noundef %269) %271 = icmp ne i64 %270, 0 br i1 %271, label %272, label %273 272: ; preds = %264 store i32 1, ptr %29, align 4 br label %281 273: ; preds = %264, %260, %256 br label %274 274: ; preds = %273, %235 br label %275 275: ; preds = %274 %276 = load i32, ptr %28, align 4 %277 = add nsw i32 %276, 1 store i32 %277, ptr %28, align 4 %278 = load i32, ptr %28, align 4 %279 = load i32, ptr %22, align 4 %280 = icmp sle i32 %278, %279 br i1 %280, label %48, label %..loopexit_crit_edge, !llvm.loop !10 ..loopexit_crit_edge: ; preds = %275 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %13 br label %281 281: ; preds = %.loopexit, %272, %255 %282 = load ptr, ptr %32, align 8 %283 = call i32 @free(ptr noundef %282) %284 = load i32, ptr %34, align 4 %285 = load ptr, ptr %16, align 8 store i32 %284, ptr %285, align 4 %286 = load i32, ptr %28, align 4 ret i32 %286 } declare i64 @malloc(i32 noundef) #1 declare i32 @supportSet(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef, i32 noundef) #1 declare i32 @Thomas(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @dualityGap(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef, i32 noundef) #1 declare i64 @fabs(i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp9ggzpide.c' source_filename = "/tmp/tmp9ggzpide.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @time2string() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = call i32 @time(ptr noundef %1) %5 = call ptr @ctime(ptr noundef %1) store ptr %5, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %17 8: ; preds = %0 %9 = load ptr, ptr %2, align 8 %10 = call ptr @strchr(ptr noundef %9, i8 noundef signext 10) store ptr %10, ptr %3, align 8 %11 = load ptr, ptr %3, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %16 13: ; preds = %8 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 0 store i8 9, ptr %15, align 1 br label %16 16: ; preds = %13, %8 br label %17 17: ; preds = %16, %0 %18 = load ptr, ptr %2, align 8 ret ptr %18 } declare i32 @time(ptr noundef) #1 declare ptr @ctime(ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9ggzpide.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @time2string() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = call i32 @time(ptr noundef %1) %5 = call ptr @ctime(ptr noundef %1) store ptr %5, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %17 8: ; preds = %0 %9 = load ptr, ptr %2, align 8 %10 = call ptr @strchr(ptr noundef %9, i8 noundef signext 10) store ptr %10, ptr %3, align 8 %11 = load ptr, ptr %3, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %16 13: ; preds = %8 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 0 store i8 9, ptr %15, align 1 br label %16 16: ; preds = %13, %8 br label %17 17: ; preds = %16, %0 %18 = load ptr, ptr %2, align 8 ret ptr %18 } declare i32 @time(ptr noundef) #1 declare ptr @ctime(ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_r8mwmy4.c' source_filename = "/tmp/tmp_r8mwmy4.c" target datalayout = "e-m:e-p270: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_r8mwmy4.c" target datalayout = "e-m:e-p270: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/tmpgwysaeiz.c' source_filename = "/tmp/tmpgwysaeiz.c" target datalayout = "e-m:e-p270: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/tmpgwysaeiz.c" target datalayout = "e-m:e-p270: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/tmpq65ukxqm.c' source_filename = "/tmp/tmpq65ukxqm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d is in the list\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"%d is not in the list\0A\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"There is no %c command\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"Please try again\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr null, ptr %4, align 8 %5 = call signext i8 (...) @Get_command() store i8 %5, ptr %2, align 1 br label %6 6: ; preds = %53, %0 %7 = load i8, ptr %2, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 113 br i1 %9, label %10, label %14 10: ; preds = %6 %11 = load i8, ptr %2, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %12, 81 br label %14 14: ; preds = %10, %6 %15 = phi i1 [ false, %6 ], [ %13, %10 ] br i1 %15, label %16, label %55 16: ; preds = %14 %17 = load i8, ptr %2, align 1 %18 = sext i8 %17 to i32 switch i32 %18, label %48 [ i32 105, label %19 i32 73, label %19 i32 112, label %24 i32 80, label %24 i32 109, label %27 i32 77, label %27 i32 100, label %40 i32 68, label %40 i32 102, label %45 i32 70, label %45 ] 19: ; preds = %16, %16 %20 = call i32 (...) @Get_value() store i32 %20, ptr %3, align 4 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %3, align 4 %23 = call ptr @Insert(ptr noundef %21, i32 noundef %22) store ptr %23, ptr %4, align 8 br label %53 24: ; preds = %16, %16 %25 = load ptr, ptr %4, align 8 %26 = call i32 @Print(ptr noundef %25) br label %53 27: ; preds = %16, %16 %28 = call i32 (...) @Get_value() store i32 %28, ptr %3, align 4 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %3, align 4 %31 = call i32 @Member(ptr noundef %29, i32 noundef %30) %32 = icmp ne i32 %31, 0 br i1 %32, label %33, label %36 33: ; preds = %27 %34 = load i32, ptr %3, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %34) br label %39 36: ; preds = %27 %37 = load i32, ptr %3, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %37) br label %39 39: ; preds = %36, %33 br label %53 40: ; preds = %16, %16 %41 = call i32 (...) @Get_value() store i32 %41, ptr %3, align 4 %42 = load ptr, ptr %4, align 8 %43 = load i32, ptr %3, align 4 %44 = call ptr @Delete(ptr noundef %42, i32 noundef %43) store ptr %44, ptr %4, align 8 br label %53 45: ; preds = %16, %16 %46 = load ptr, ptr %4, align 8 %47 = call ptr @Free_list(ptr noundef %46) store ptr %47, ptr %4, align 8 br label %53 48: ; preds = %16 %49 = load i8, ptr %2, align 1 %50 = sext i8 %49 to i32 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %50) %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %53 53: ; preds = %48, %45, %40, %39, %24, %19 %54 = call signext i8 (...) @Get_command() store i8 %54, ptr %2, align 1 br label %6, !llvm.loop !6 55: ; preds = %14 %56 = load ptr, ptr %4, align 8 %57 = call ptr @Free_list(ptr noundef %56) store ptr %57, ptr %4, align 8 ret i32 0 } declare signext i8 @Get_command(...) #1 declare i32 @Get_value(...) #1 declare ptr @Insert(ptr noundef, i32 noundef) #1 declare i32 @Print(ptr noundef) #1 declare i32 @Member(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @Delete(ptr noundef, i32 noundef) #1 declare ptr @Free_list(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpq65ukxqm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d is in the list\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"%d is not in the list\0A\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"There is no %c command\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"Please try again\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr null, ptr %4, align 8 %5 = call signext i8 (...) @Get_command() store i8 %5, ptr %2, align 1 br label %6 6: ; preds = %53, %0 %7 = load i8, ptr %2, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 113 br i1 %9, label %10, label %14 10: ; preds = %6 %11 = load i8, ptr %2, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %12, 81 br label %14 14: ; preds = %10, %6 %15 = phi i1 [ false, %6 ], [ %13, %10 ] br i1 %15, label %16, label %55 16: ; preds = %14 %17 = load i8, ptr %2, align 1 %18 = sext i8 %17 to i32 switch i32 %18, label %48 [ i32 105, label %19 i32 73, label %19 i32 112, label %24 i32 80, label %24 i32 109, label %27 i32 77, label %27 i32 100, label %40 i32 68, label %40 i32 102, label %45 i32 70, label %45 ] 19: ; preds = %16, %16 %20 = call i32 (...) @Get_value() store i32 %20, ptr %3, align 4 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %3, align 4 %23 = call ptr @Insert(ptr noundef %21, i32 noundef %22) store ptr %23, ptr %4, align 8 br label %53 24: ; preds = %16, %16 %25 = load ptr, ptr %4, align 8 %26 = call i32 @Print(ptr noundef %25) br label %53 27: ; preds = %16, %16 %28 = call i32 (...) @Get_value() store i32 %28, ptr %3, align 4 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %3, align 4 %31 = call i32 @Member(ptr noundef %29, i32 noundef %30) %32 = icmp ne i32 %31, 0 br i1 %32, label %33, label %36 33: ; preds = %27 %34 = load i32, ptr %3, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %34) br label %39 36: ; preds = %27 %37 = load i32, ptr %3, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %37) br label %39 39: ; preds = %36, %33 br label %53 40: ; preds = %16, %16 %41 = call i32 (...) @Get_value() store i32 %41, ptr %3, align 4 %42 = load ptr, ptr %4, align 8 %43 = load i32, ptr %3, align 4 %44 = call ptr @Delete(ptr noundef %42, i32 noundef %43) store ptr %44, ptr %4, align 8 br label %53 45: ; preds = %16, %16 %46 = load ptr, ptr %4, align 8 %47 = call ptr @Free_list(ptr noundef %46) store ptr %47, ptr %4, align 8 br label %53 48: ; preds = %16 %49 = load i8, ptr %2, align 1 %50 = sext i8 %49 to i32 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %50) %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %53 53: ; preds = %48, %45, %40, %39, %24, %19 %54 = call signext i8 (...) @Get_command() store i8 %54, ptr %2, align 1 br label %6, !llvm.loop !6 55: ; preds = %14 %56 = load ptr, ptr %4, align 8 %57 = call ptr @Free_list(ptr noundef %56) store ptr %57, ptr %4, align 8 ret i32 0 } declare signext i8 @Get_command(...) #1 declare i32 @Get_value(...) #1 declare ptr @Insert(ptr noundef, i32 noundef) #1 declare i32 @Print(ptr noundef) #1 declare i32 @Member(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @Delete(ptr noundef, i32 noundef) #1 declare ptr @Free_list(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpus8tb0h3.c' source_filename = "/tmp/tmpus8tb0h3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 100000, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %3, align 4 %16 = call i32 @delay_until(i32 noundef %14, i32 noundef %15) br label %17 17: ; preds = %0, %54 store i32 1073741824, ptr %5, align 4 %18 = load i32, ptr %5, align 4 %19 = call i32 asm sideeffect "mtpcr $0, $1, cr$2", "=r,r,i,~{dirflag},~{fpsr},~{flags}"(i32 %18, i32 30) #2, !srcloc !6 store i32 %19, ptr %6, align 4 %20 = load i32, ptr %6, align 4 store i32 %20, ptr %7, align 4 %21 = load i32, ptr %7, align 4 %22 = call i32 (...) @get_time_low() %23 = or i32 -2147483648, %22 store i32 %23, ptr %5, align 4 %24 = load i32, ptr %5, align 4 %25 = call i32 asm sideeffect "mtpcr $0, $1, cr$2", "=r,r,i,~{dirflag},~{fpsr},~{flags}"(i32 %24, i32 30) #2, !srcloc !7 store i32 %25, ptr %8, align 4 %26 = load i32, ptr %8, align 4 store i32 %26, ptr %9, align 4 %27 = load i32, ptr %9, align 4 store i32 0, ptr %4, align 4 br label %28 28: ; preds = %33, %17 %29 = load i32, ptr %4, align 4 %30 = icmp ult i32 %29, 385 br i1 %30, label %31, label %36 31: ; preds = %28 %32 = call i32 (...) @taskA_main() br label %33 33: ; preds = %31 %34 = load i32, ptr %4, align 4 %35 = add i32 %34, 1 store i32 %35, ptr %4, align 4 br label %28, !llvm.loop !8 36: ; preds = %28 store i32 1073741834, ptr %5, align 4 %37 = load i32, ptr %5, align 4 %38 = call i32 asm sideeffect "mtpcr $0, $1, cr$2", "=r,r,i,~{dirflag},~{fpsr},~{flags}"(i32 %37, i32 30) #2, !srcloc !10 store i32 %38, ptr %10, align 4 %39 = load i32, ptr %10, align 4 store i32 %39, ptr %11, align 4 %40 = load i32, ptr %11, align 4 %41 = call i32 (...) @get_time_low() %42 = or i32 -2147483648, %41 store i32 %42, ptr %5, align 4 %43 = load i32, ptr %5, align 4 %44 = call i32 asm sideeffect "mtpcr $0, $1, cr$2", "=r,r,i,~{dirflag},~{fpsr},~{flags}"(i32 %43, i32 30) #2, !srcloc !11 store i32 %44, ptr %12, align 4 %45 = load i32, ptr %12, align 4 store i32 %45, ptr %13, align 4 %46 = load i32, ptr %13, align 4 %47 = load i32, ptr %3, align 4 %48 = add i32 %47, 12000000 store i32 %48, ptr %3, align 4 %49 = load i32, ptr %3, align 4 %50 = icmp ult i32 %49, 12000000 br i1 %50, label %51, label %54 51: ; preds = %36 %52 = load i32, ptr %2, align 4 %53 = add i32 %52, 1 store i32 %53, ptr %2, align 4 br label %54 54: ; preds = %51, %36 %55 = load i32, ptr %2, align 4 %56 = load i32, ptr %3, align 4 %57 = call i32 @delay_until(i32 noundef %55, i32 noundef %56) br label %17 } declare i32 @delay_until(i32 noundef, i32 noundef) #1 declare i32 @get_time_low(...) #1 declare i32 @taskA_main(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = !{i64 794} !7 = !{i64 974} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"} !10 = !{i64 1225} !11 = !{i64 1405}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpus8tb0h3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 100000, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %3, align 4 %16 = call i32 @delay_until(i32 noundef %14, i32 noundef %15) br label %17 17: ; preds = %55, %0 store i32 1073741824, ptr %5, align 4 %18 = load i32, ptr %5, align 4 %19 = call i32 asm sideeffect "mtpcr $0, $1, cr$2", "=r,r,i,~{dirflag},~{fpsr},~{flags}"(i32 %18, i32 30) #2, !srcloc !6 store i32 %19, ptr %6, align 4 %20 = load i32, ptr %6, align 4 store i32 %20, ptr %7, align 4 %21 = load i32, ptr %7, align 4 %22 = call i32 (...) @get_time_low() %23 = or i32 -2147483648, %22 store i32 %23, ptr %5, align 4 %24 = load i32, ptr %5, align 4 %25 = call i32 asm sideeffect "mtpcr $0, $1, cr$2", "=r,r,i,~{dirflag},~{fpsr},~{flags}"(i32 %24, i32 30) #2, !srcloc !7 store i32 %25, ptr %8, align 4 %26 = load i32, ptr %8, align 4 store i32 %26, ptr %9, align 4 %27 = load i32, ptr %9, align 4 store i32 0, ptr %4, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp ult i32 %28, 385 br i1 %29, label %.lr.ph, label %37 .lr.ph: ; preds = %17 br label %30 30: ; preds = %.lr.ph, %32 %31 = call i32 (...) @taskA_main() br label %32 32: ; preds = %30 %33 = load i32, ptr %4, align 4 %34 = add i32 %33, 1 store i32 %34, ptr %4, align 4 %35 = load i32, ptr %4, align 4 %36 = icmp ult i32 %35, 385 br i1 %36, label %30, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %32 br label %37 37: ; preds = %._crit_edge, %17 store i32 1073741834, ptr %5, align 4 %38 = load i32, ptr %5, align 4 %39 = call i32 asm sideeffect "mtpcr $0, $1, cr$2", "=r,r,i,~{dirflag},~{fpsr},~{flags}"(i32 %38, i32 30) #2, !srcloc !10 store i32 %39, ptr %10, align 4 %40 = load i32, ptr %10, align 4 store i32 %40, ptr %11, align 4 %41 = load i32, ptr %11, align 4 %42 = call i32 (...) @get_time_low() %43 = or i32 -2147483648, %42 store i32 %43, ptr %5, align 4 %44 = load i32, ptr %5, align 4 %45 = call i32 asm sideeffect "mtpcr $0, $1, cr$2", "=r,r,i,~{dirflag},~{fpsr},~{flags}"(i32 %44, i32 30) #2, !srcloc !11 store i32 %45, ptr %12, align 4 %46 = load i32, ptr %12, align 4 store i32 %46, ptr %13, align 4 %47 = load i32, ptr %13, align 4 %48 = load i32, ptr %3, align 4 %49 = add i32 %48, 12000000 store i32 %49, ptr %3, align 4 %50 = load i32, ptr %3, align 4 %51 = icmp ult i32 %50, 12000000 br i1 %51, label %52, label %55 52: ; preds = %37 %53 = load i32, ptr %2, align 4 %54 = add i32 %53, 1 store i32 %54, ptr %2, align 4 br label %55 55: ; preds = %52, %37 %56 = load i32, ptr %2, align 4 %57 = load i32, ptr %3, align 4 %58 = call i32 @delay_until(i32 noundef %56, i32 noundef %57) br label %17 } declare i32 @delay_until(i32 noundef, i32 noundef) #1 declare i32 @get_time_low(...) #1 declare i32 @taskA_main(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = !{i64 794} !7 = !{i64 974} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"} !10 = !{i64 1225} !11 = !{i64 1405}
; ModuleID = '/tmp/tmpdmmeeof6.c' source_filename = "/tmp/tmpdmmeeof6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"1....\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %4, align 4 %6 = call i32 @longjmp(i32 noundef %5, i32 noundef 10) #3 unreachable } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @longjmp(i32 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 = { "frame-pointer"="all" "no-trapping-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/tmpdmmeeof6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"1....\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %4, align 4 %6 = call i32 @longjmp(i32 noundef %5, i32 noundef 10) #3 unreachable } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @longjmp(i32 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 = { "frame-pointer"="all" "no-trapping-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/tmpth9tt8ix.c' source_filename = "/tmp/tmpth9tt8ix.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Unable to fork program.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fork_program() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @fork() store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = icmp eq i32 %3, -1 br i1 %4, label %5, label %7 5: ; preds = %0 %6 = call i32 @freakout(ptr noundef @.str) br label %7 7: ; preds = %5, %0 %8 = load i32, ptr %1, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %7 %11 = call i32 @exit(i32 noundef 0) #3 unreachable 12: ; preds = %7 ret void } declare i32 @fork(...) #1 declare i32 @freakout(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/tmpth9tt8ix.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Unable to fork program.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fork_program() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @fork() store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = icmp eq i32 %3, -1 br i1 %4, label %5, label %7 5: ; preds = %0 %6 = call i32 @freakout(ptr noundef @.str) br label %7 7: ; preds = %5, %0 %8 = load i32, ptr %1, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %7 %11 = call i32 @exit(i32 noundef 0) #3 unreachable 12: ; preds = %7 ret void } declare i32 @fork(...) #1 declare i32 @freakout(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/tmpzbe8_eg1.c' source_filename = "/tmp/tmpzbe8_eg1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getrusage(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %2 br label %9 9: ; preds = %8, %9 br label %9 10: ; preds = %2 %11 = call i32 (...) @__infer_nondet_int() store i32 %11, ptr %5, align 4 %12 = load i32, ptr %5, align 4 %13 = icmp slt i32 %12, -1 br i1 %13, label %17, label %14 14: ; preds = %10 %15 = load i32, ptr %5, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %14, %10 br label %18 18: ; preds = %17, %18 br label %18 19: ; preds = %14 %20 = load i32, ptr %5, align 4 ret i32 %20 } declare i32 @__infer_nondet_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzbe8_eg1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getrusage(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %2 br label %9 9: ; preds = %9, %8 br label %9 10: ; preds = %2 %11 = call i32 (...) @__infer_nondet_int() store i32 %11, ptr %5, align 4 %12 = load i32, ptr %5, align 4 %13 = icmp slt i32 %12, -1 br i1 %13, label %17, label %14 14: ; preds = %10 %15 = load i32, ptr %5, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %14, %10 br label %18 18: ; preds = %18, %17 br label %18 19: ; preds = %14 %20 = load i32, ptr %5, align 4 ret i32 %20 } declare i32 @__infer_nondet_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpidb3q_ex.c' source_filename = "/tmp/tmpidb3q_ex.c" target datalayout = "e-m:e-p270: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/tmpidb3q_ex.c" target datalayout = "e-m:e-p270: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"}