llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp04lmrnb2.c' source_filename = "/tmp/tmp04lmrnb2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Teapot_SetProjectionMatrixf(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 @Teapot_SetProjectionMatrix(ptr noundef %3) ret void } declare i32 @Teapot_SetProjectionMatrix(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp04lmrnb2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Teapot_SetProjectionMatrixf(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 @Teapot_SetProjectionMatrix(ptr noundef %3) ret void } declare i32 @Teapot_SetProjectionMatrix(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqdm4_d4k.c' source_filename = "/tmp/tmpqdm4_d4k.c" target datalayout = "e-m:e-p270: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/tmpqdm4_d4k.c" target datalayout = "e-m:e-p270: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/tmpy64gpbv_.c' source_filename = "/tmp/tmpy64gpbv_.c" target datalayout = "e-m:e-p270: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.unpackcall.c = private unnamed_addr constant [37 x i8] c"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ ", align 16 @.str = private unnamed_addr constant [7 x i8] c"......\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%-6s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @unpackcall(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [37 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [7 x i8], align 1 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.unpackcall.c, i64 37, i1 false) %10 = load i32, ptr %4, align 4 store i32 %10, ptr %7, align 4 %11 = load ptr, ptr %5, align 8 %12 = call i32 @strcpy(ptr noundef %11, ptr noundef @.str) %13 = load i32, ptr %7, align 4 %14 = icmp slt i32 %13, 262177560 br i1 %14, label %15, label %119 15: ; preds = %2 %16 = load i32, ptr %7, align 4 %17 = srem i32 %16, 27 %18 = add nsw i32 %17, 10 store i32 %18, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [37 x i8], ptr %6, i64 0, i64 %20 %22 = load i8, ptr %21, align 1 %23 = getelementptr inbounds [7 x i8], ptr %9, i64 0, i64 5 store i8 %22, ptr %23, align 1 %24 = load i32, ptr %7, align 4 %25 = sdiv i32 %24, 27 store i32 %25, ptr %7, align 4 %26 = load i32, ptr %7, align 4 %27 = srem i32 %26, 27 %28 = add nsw i32 %27, 10 store i32 %28, ptr %8, align 4 %29 = load i32, ptr %8, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [37 x i8], ptr %6, i64 0, i64 %30 %32 = load i8, ptr %31, align 1 %33 = getelementptr inbounds [7 x i8], ptr %9, i64 0, i64 4 store i8 %32, ptr %33, align 1 %34 = load i32, ptr %7, align 4 %35 = sdiv i32 %34, 27 store i32 %35, ptr %7, align 4 %36 = load i32, ptr %7, align 4 %37 = srem i32 %36, 27 %38 = add nsw i32 %37, 10 store i32 %38, ptr %8, align 4 %39 = load i32, ptr %8, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [37 x i8], ptr %6, i64 0, i64 %40 %42 = load i8, ptr %41, align 1 %43 = getelementptr inbounds [7 x i8], ptr %9, i64 0, i64 3 store i8 %42, ptr %43, align 1 %44 = load i32, ptr %7, align 4 %45 = sdiv i32 %44, 27 store i32 %45, ptr %7, align 4 %46 = load i32, ptr %7, align 4 %47 = srem i32 %46, 10 store i32 %47, ptr %8, align 4 %48 = load i32, ptr %8, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [37 x i8], ptr %6, i64 0, i64 %49 %51 = load i8, ptr %50, align 1 %52 = getelementptr inbounds [7 x i8], ptr %9, i64 0, i64 2 store i8 %51, ptr %52, align 1 %53 = load i32, ptr %7, align 4 %54 = sdiv i32 %53, 10 store i32 %54, ptr %7, align 4 %55 = load i32, ptr %7, align 4 %56 = srem i32 %55, 36 store i32 %56, ptr %8, align 4 %57 = load i32, ptr %8, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [37 x i8], ptr %6, i64 0, i64 %58 %60 = load i8, ptr %59, align 1 %61 = getelementptr inbounds [7 x i8], ptr %9, i64 0, i64 1 store i8 %60, ptr %61, align 1 %62 = load i32, ptr %7, align 4 %63 = sdiv i32 %62, 36 store i32 %63, ptr %7, align 4 %64 = load i32, ptr %7, align 4 store i32 %64, ptr %8, align 4 %65 = load i32, ptr %8, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [37 x i8], ptr %6, i64 0, i64 %66 %68 = load i8, ptr %67, align 1 %69 = getelementptr inbounds [7 x i8], ptr %9, i64 0, i64 0 store i8 %68, ptr %69, align 1 %70 = getelementptr inbounds [7 x i8], ptr %9, i64 0, i64 6 store i8 0, ptr %70, align 1 store i32 0, ptr %8, align 4 br label %71 71: ; preds = %86, %15 %72 = load i32, ptr %8, align 4 %73 = icmp slt i32 %72, 5 br i1 %73, label %74, label %89 74: ; preds = %71 %75 = load i32, ptr %8, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [7 x i8], ptr %9, i64 0, i64 %76 %78 = load i8, ptr %77, align 1 %79 = sext i8 %78 to i32 %80 = getelementptr inbounds [37 x i8], ptr %6, i64 0, i64 36 %81 = load i8, ptr %80, align 4 %82 = sext i8 %81 to i32 %83 = icmp ne i32 %79, %82 br i1 %83, label %84, label %85 84: ; preds = %74 br label %89 85: ; preds = %74 br label %86 86: ; preds = %85 %87 = load i32, ptr %8, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %8, align 4 br label %71, !llvm.loop !6 89: ; preds = %84, %71 %90 = load ptr, ptr %5, align 8 %91 = load i32, ptr %8, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds [7 x i8], ptr %9, i64 0, i64 %92 %94 = call i32 @sprintf(ptr noundef %90, ptr noundef @.str.1, ptr noundef %93) store i32 0, ptr %8, align 4 br label %95 95: ; preds = %115, %89 %96 = load i32, ptr %8, align 4 %97 = icmp slt i32 %96, 6 br i1 %97, label %98, label %118 98: ; preds = %95 %99 = load ptr, ptr %5, align 8 %100 = load i32, ptr %8, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds i8, ptr %99, i64 %101 %103 = load i8, ptr %102, align 1 %104 = sext i8 %103 to i32 %105 = getelementptr inbounds [37 x i8], ptr %6, i64 0, i64 36 %106 = load i8, ptr %105, align 4 %107 = sext i8 %106 to i32 %108 = icmp eq i32 %104, %107 br i1 %108, label %109, label %114 109: ; preds = %98 %110 = load ptr, ptr %5, align 8 %111 = load i32, ptr %8, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i8, ptr %110, i64 %112 store i8 0, ptr %113, align 1 br label %114 114: ; preds = %109, %98 br label %115 115: ; preds = %114 %116 = load i32, ptr %8, align 4 %117 = add nsw i32 %116, 1 store i32 %117, ptr %8, align 4 br label %95, !llvm.loop !8 118: ; preds = %95 br label %120 119: ; preds = %2 store i32 0, ptr %3, align 4 br label %121 120: ; preds = %118 store i32 1, ptr %3, align 4 br label %121 121: ; preds = %120, %119 %122 = load i32, ptr %3, align 4 ret i32 %122 } ; 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 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy64gpbv_.c" target datalayout = "e-m:e-p270: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.unpackcall.c = private unnamed_addr constant [37 x i8] c"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ ", align 16 @.str = private unnamed_addr constant [7 x i8] c"......\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%-6s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @unpackcall(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [37 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [7 x i8], align 1 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.unpackcall.c, i64 37, i1 false) %10 = load i32, ptr %4, align 4 store i32 %10, ptr %7, align 4 %11 = load ptr, ptr %5, align 8 %12 = call i32 @strcpy(ptr noundef %11, ptr noundef @.str) %13 = load i32, ptr %7, align 4 %14 = icmp slt i32 %13, 262177560 br i1 %14, label %15, label %121 15: ; preds = %2 %16 = load i32, ptr %7, align 4 %17 = srem i32 %16, 27 %18 = add nsw i32 %17, 10 store i32 %18, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [37 x i8], ptr %6, i64 0, i64 %20 %22 = load i8, ptr %21, align 1 %23 = getelementptr inbounds [7 x i8], ptr %9, i64 0, i64 5 store i8 %22, ptr %23, align 1 %24 = load i32, ptr %7, align 4 %25 = sdiv i32 %24, 27 store i32 %25, ptr %7, align 4 %26 = load i32, ptr %7, align 4 %27 = srem i32 %26, 27 %28 = add nsw i32 %27, 10 store i32 %28, ptr %8, align 4 %29 = load i32, ptr %8, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [37 x i8], ptr %6, i64 0, i64 %30 %32 = load i8, ptr %31, align 1 %33 = getelementptr inbounds [7 x i8], ptr %9, i64 0, i64 4 store i8 %32, ptr %33, align 1 %34 = load i32, ptr %7, align 4 %35 = sdiv i32 %34, 27 store i32 %35, ptr %7, align 4 %36 = load i32, ptr %7, align 4 %37 = srem i32 %36, 27 %38 = add nsw i32 %37, 10 store i32 %38, ptr %8, align 4 %39 = load i32, ptr %8, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [37 x i8], ptr %6, i64 0, i64 %40 %42 = load i8, ptr %41, align 1 %43 = getelementptr inbounds [7 x i8], ptr %9, i64 0, i64 3 store i8 %42, ptr %43, align 1 %44 = load i32, ptr %7, align 4 %45 = sdiv i32 %44, 27 store i32 %45, ptr %7, align 4 %46 = load i32, ptr %7, align 4 %47 = srem i32 %46, 10 store i32 %47, ptr %8, align 4 %48 = load i32, ptr %8, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [37 x i8], ptr %6, i64 0, i64 %49 %51 = load i8, ptr %50, align 1 %52 = getelementptr inbounds [7 x i8], ptr %9, i64 0, i64 2 store i8 %51, ptr %52, align 1 %53 = load i32, ptr %7, align 4 %54 = sdiv i32 %53, 10 store i32 %54, ptr %7, align 4 %55 = load i32, ptr %7, align 4 %56 = srem i32 %55, 36 store i32 %56, ptr %8, align 4 %57 = load i32, ptr %8, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [37 x i8], ptr %6, i64 0, i64 %58 %60 = load i8, ptr %59, align 1 %61 = getelementptr inbounds [7 x i8], ptr %9, i64 0, i64 1 store i8 %60, ptr %61, align 1 %62 = load i32, ptr %7, align 4 %63 = sdiv i32 %62, 36 store i32 %63, ptr %7, align 4 %64 = load i32, ptr %7, align 4 store i32 %64, ptr %8, align 4 %65 = load i32, ptr %8, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [37 x i8], ptr %6, i64 0, i64 %66 %68 = load i8, ptr %67, align 1 %69 = getelementptr inbounds [7 x i8], ptr %9, i64 0, i64 0 store i8 %68, ptr %69, align 1 %70 = getelementptr inbounds [7 x i8], ptr %9, i64 0, i64 6 store i8 0, ptr %70, align 1 store i32 0, ptr %8, align 4 %71 = load i32, ptr %8, align 4 %72 = icmp slt i32 %71, 5 br i1 %72, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %15 br label %73 73: ; preds = %.lr.ph, %85 %74 = load i32, ptr %8, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [7 x i8], ptr %9, i64 0, i64 %75 %77 = load i8, ptr %76, align 1 %78 = sext i8 %77 to i32 %79 = getelementptr inbounds [37 x i8], ptr %6, i64 0, i64 36 %80 = load i8, ptr %79, align 4 %81 = sext i8 %80 to i32 %82 = icmp ne i32 %78, %81 br i1 %82, label %83, label %84 83: ; preds = %73 br label %90 84: ; preds = %73 br label %85 85: ; preds = %84 %86 = load i32, ptr %8, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %8, align 4 %88 = load i32, ptr %8, align 4 %89 = icmp slt i32 %88, 5 br i1 %89, label %73, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %85 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %15 br label %90 90: ; preds = %.loopexit, %83 %91 = load ptr, ptr %5, align 8 %92 = load i32, ptr %8, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [7 x i8], ptr %9, i64 0, i64 %93 %95 = call i32 @sprintf(ptr noundef %91, ptr noundef @.str.1, ptr noundef %94) store i32 0, ptr %8, align 4 %96 = load i32, ptr %8, align 4 %97 = icmp slt i32 %96, 6 br i1 %97, label %.lr.ph1, label %120 .lr.ph1: ; preds = %90 br label %98 98: ; preds = %.lr.ph1, %115 %99 = load ptr, ptr %5, align 8 %100 = load i32, ptr %8, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds i8, ptr %99, i64 %101 %103 = load i8, ptr %102, align 1 %104 = sext i8 %103 to i32 %105 = getelementptr inbounds [37 x i8], ptr %6, i64 0, i64 36 %106 = load i8, ptr %105, align 4 %107 = sext i8 %106 to i32 %108 = icmp eq i32 %104, %107 br i1 %108, label %109, label %114 109: ; preds = %98 %110 = load ptr, ptr %5, align 8 %111 = load i32, ptr %8, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i8, ptr %110, i64 %112 store i8 0, ptr %113, align 1 br label %114 114: ; preds = %109, %98 br label %115 115: ; preds = %114 %116 = load i32, ptr %8, align 4 %117 = add nsw i32 %116, 1 store i32 %117, ptr %8, align 4 %118 = load i32, ptr %8, align 4 %119 = icmp slt i32 %118, 6 br i1 %119, label %98, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %115 br label %120 120: ; preds = %._crit_edge, %90 br label %122 121: ; preds = %2 store i32 0, ptr %3, align 4 br label %123 122: ; preds = %120 store i32 1, ptr %3, align 4 br label %123 123: ; preds = %122, %121 %124 = load i32, ptr %3, align 4 ret i32 %124 } ; 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 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpcuk81602.c' source_filename = "/tmp/tmpcuk81602.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @DMA6_IRQHandler() #0 { %1 = call i32 (...) @DMA6_DriverIRQHandler() ret void } declare i32 @DMA6_DriverIRQHandler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcuk81602.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @DMA6_IRQHandler() #0 { %1 = call i32 (...) @DMA6_DriverIRQHandler() ret void } declare i32 @DMA6_DriverIRQHandler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6fv_tzv3.c' source_filename = "/tmp/tmp6fv_tzv3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Waiting for tsumufs to mount.\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"Mounted.\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 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %7, %0 %4 = call i32 (...) @connected() %5 = icmp ne i32 %4, 0 %6 = xor i1 %5, true br i1 %6, label %7, label %10 7: ; preds = %3 %8 = call i32 @printf(ptr noundef @.str) %9 = call i32 @sleep(i32 noundef 1) br label %3, !llvm.loop !6 10: ; preds = %3 %11 = call i32 @printf(ptr noundef @.str.1) %12 = call i32 @sleep(i32 noundef 1) %13 = call i32 (...) @test_single_write() %14 = icmp ne i32 %13, 0 br i1 %14, label %16, label %15 15: ; preds = %10 store i32 1, ptr %2, align 4 br label %16 16: ; preds = %15, %10 %17 = call i32 (...) @test_multiple_writes() %18 = icmp ne i32 %17, 0 br i1 %18, label %20, label %19 19: ; preds = %16 store i32 1, ptr %2, align 4 br label %20 20: ; preds = %19, %16 %21 = load i32, ptr %2, align 4 ret i32 %21 } declare i32 @connected(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @test_single_write(...) #1 declare i32 @test_multiple_writes(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp6fv_tzv3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Waiting for tsumufs to mount.\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"Mounted.\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 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = call i32 (...) @connected() %4 = icmp ne i32 %3, 0 %5 = xor i1 %4, true br i1 %5, label %.lr.ph, label %12 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %6 %7 = call i32 @printf(ptr noundef @.str) %8 = call i32 @sleep(i32 noundef 1) %9 = call i32 (...) @connected() %10 = icmp ne i32 %9, 0 %11 = xor i1 %10, true br i1 %11, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %12 12: ; preds = %._crit_edge, %0 %13 = call i32 @printf(ptr noundef @.str.1) %14 = call i32 @sleep(i32 noundef 1) %15 = call i32 (...) @test_single_write() %16 = icmp ne i32 %15, 0 br i1 %16, label %18, label %17 17: ; preds = %12 store i32 1, ptr %2, align 4 br label %18 18: ; preds = %17, %12 %19 = call i32 (...) @test_multiple_writes() %20 = icmp ne i32 %19, 0 br i1 %20, label %22, label %21 21: ; preds = %18 store i32 1, ptr %2, align 4 br label %22 22: ; preds = %21, %18 %23 = load i32, ptr %2, align 4 ret i32 %23 } declare i32 @connected(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @test_single_write(...) #1 declare i32 @test_multiple_writes(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpi_26n24c.c' source_filename = "/tmp/tmpi_26n24c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"\0AThis is your friendly putsys...\0A\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"The number of equations : %d.\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"The number of variables : %d.\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"#monomials :\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [29 x i8] c"Length of the support : %d.\0A\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"The support : \00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c".\0A\00", align 1 @.str.9 = private unnamed_addr constant [30 x i8] c"Number of coefficients : %d.\0A\00", align 1 @.str.10 = private unnamed_addr constant [20 x i8] c"The coefficients :\0A\00", align 1 @.str.11 = private unnamed_addr constant [9 x i8] c" %.15lf\0A\00", align 1 @.str.12 = private unnamed_addr constant [29 x i8] c"... leaving the C function.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getsys2(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 store i32 %0, ptr %8, align 4 store i32 %1, ptr %9, align 4 store ptr %2, ptr %10, align 8 store i32 %3, ptr %11, align 4 store ptr %4, ptr %12, align 8 store i32 %5, ptr %13, align 4 store ptr %6, ptr %14, align 8 %16 = load i32, ptr %8, align 4 %17 = zext i32 %16 to i64 %18 = load i32, ptr %11, align 4 %19 = zext i32 %18 to i64 %20 = load i32, ptr %13, align 4 %21 = zext i32 %20 to i64 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str) %23 = load i32, ptr %8, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %23) %25 = load i32, ptr %9, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %25) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %15, align 4 br label %28 28: ; preds = %39, %7 %29 = load i32, ptr %15, align 4 %30 = load i32, ptr %8, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %32, label %42 32: ; preds = %28 %33 = load ptr, ptr %10, align 8 %34 = load i32, ptr %15, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = load i32, ptr %36, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %37) br label %39 39: ; preds = %32 %40 = load i32, ptr %15, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %15, align 4 br label %28, !llvm.loop !6 42: ; preds = %28 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %44 = load i32, ptr %11, align 4 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %44) %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 0, ptr %15, align 4 br label %47 47: ; preds = %58, %42 %48 = load i32, ptr %15, align 4 %49 = load i32, ptr %11, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %51, label %61 51: ; preds = %47 %52 = load ptr, ptr %12, align 8 %53 = load i32, ptr %15, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %52, i64 %54 %56 = load i32, ptr %55, align 4 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %56) br label %58 58: ; preds = %51 %59 = load i32, ptr %15, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %15, align 4 br label %47, !llvm.loop !8 61: ; preds = %47 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %63 = load i32, ptr %13, align 4 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %63) %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) store i32 0, ptr %15, align 4 br label %66 66: ; preds = %77, %61 %67 = load i32, ptr %15, align 4 %68 = load i32, ptr %13, align 4 %69 = icmp slt i32 %67, %68 br i1 %69, label %70, label %80 70: ; preds = %66 %71 = load ptr, ptr %14, align 8 %72 = load i32, ptr %15, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds double, ptr %71, i64 %73 %75 = load double, ptr %74, align 8 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, double noundef %75) br label %77 77: ; preds = %70 %78 = load i32, ptr %15, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %15, align 4 br label %66, !llvm.loop !9 80: ; preds = %66 %81 = load i32, ptr %8, align 4 %82 = load i32, ptr %9, align 4 %83 = load ptr, ptr %10, align 8 %84 = load i32, ptr %11, align 4 %85 = load ptr, ptr %12, align 8 %86 = load i32, ptr %13, align 4 %87 = load ptr, ptr %14, align 8 %88 = call i32 @_ada_getsys3(i32 noundef %81, i32 noundef %82, ptr noundef %83, i32 noundef %84, ptr noundef %85, i32 noundef %86, ptr noundef %87) %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @_ada_getsys3(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi_26n24c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"\0AThis is your friendly putsys...\0A\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"The number of equations : %d.\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"The number of variables : %d.\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"#monomials :\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [29 x i8] c"Length of the support : %d.\0A\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"The support : \00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c".\0A\00", align 1 @.str.9 = private unnamed_addr constant [30 x i8] c"Number of coefficients : %d.\0A\00", align 1 @.str.10 = private unnamed_addr constant [20 x i8] c"The coefficients :\0A\00", align 1 @.str.11 = private unnamed_addr constant [9 x i8] c" %.15lf\0A\00", align 1 @.str.12 = private unnamed_addr constant [29 x i8] c"... leaving the C function.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getsys2(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 store i32 %0, ptr %8, align 4 store i32 %1, ptr %9, align 4 store ptr %2, ptr %10, align 8 store i32 %3, ptr %11, align 4 store ptr %4, ptr %12, align 8 store i32 %5, ptr %13, align 4 store ptr %6, ptr %14, align 8 %16 = load i32, ptr %8, align 4 %17 = zext i32 %16 to i64 %18 = load i32, ptr %11, align 4 %19 = zext i32 %18 to i64 %20 = load i32, ptr %13, align 4 %21 = zext i32 %20 to i64 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str) %23 = load i32, ptr %8, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %23) %25 = load i32, ptr %9, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %25) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %15, align 4 %28 = load i32, ptr %15, align 4 %29 = load i32, ptr %8, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %.lr.ph, label %44 .lr.ph: ; preds = %7 br label %31 31: ; preds = %.lr.ph, %38 %32 = load ptr, ptr %10, align 8 %33 = load i32, ptr %15, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %32, i64 %34 %36 = load i32, ptr %35, align 4 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %36) br label %38 38: ; preds = %31 %39 = load i32, ptr %15, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %15, align 4 %41 = load i32, ptr %15, align 4 %42 = load i32, ptr %8, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %31, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %44 44: ; preds = %._crit_edge, %7 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %46 = load i32, ptr %11, align 4 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %46) %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 0, ptr %15, align 4 %49 = load i32, ptr %15, align 4 %50 = load i32, ptr %11, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %.lr.ph2, label %65 .lr.ph2: ; preds = %44 br label %52 52: ; preds = %.lr.ph2, %59 %53 = load ptr, ptr %12, align 8 %54 = load i32, ptr %15, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %53, i64 %55 %57 = load i32, ptr %56, align 4 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %57) br label %59 59: ; preds = %52 %60 = load i32, ptr %15, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %15, align 4 %62 = load i32, ptr %15, align 4 %63 = load i32, ptr %11, align 4 %64 = icmp slt i32 %62, %63 br i1 %64, label %52, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %59 br label %65 65: ; preds = %._crit_edge3, %44 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %67 = load i32, ptr %13, align 4 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %67) %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) store i32 0, ptr %15, align 4 %70 = load i32, ptr %15, align 4 %71 = load i32, ptr %13, align 4 %72 = icmp slt i32 %70, %71 br i1 %72, label %.lr.ph5, label %86 .lr.ph5: ; preds = %65 br label %73 73: ; preds = %.lr.ph5, %80 %74 = load ptr, ptr %14, align 8 %75 = load i32, ptr %15, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds double, ptr %74, i64 %76 %78 = load double, ptr %77, align 8 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, double noundef %78) br label %80 80: ; preds = %73 %81 = load i32, ptr %15, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %15, align 4 %83 = load i32, ptr %15, align 4 %84 = load i32, ptr %13, align 4 %85 = icmp slt i32 %83, %84 br i1 %85, label %73, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %80 br label %86 86: ; preds = %._crit_edge6, %65 %87 = load i32, ptr %8, align 4 %88 = load i32, ptr %9, align 4 %89 = load ptr, ptr %10, align 8 %90 = load i32, ptr %11, align 4 %91 = load ptr, ptr %12, align 8 %92 = load i32, ptr %13, align 4 %93 = load ptr, ptr %14, align 8 %94 = call i32 @_ada_getsys3(i32 noundef %87, i32 noundef %88, ptr noundef %89, i32 noundef %90, ptr noundef %91, i32 noundef %92, ptr noundef %93) %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @_ada_getsys3(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp88q9o7bi.c' source_filename = "/tmp/tmp88q9o7bi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_bro(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 [26 x i32], align 16 %10 = alloca [26 x i32], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i32 @strlen(ptr noundef %11) store i32 %12, ptr %6, align 4 %13 = load ptr, ptr %5, align 8 %14 = call i32 @strlen(ptr noundef %13) store i32 %14, ptr %7, align 4 call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 104, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 104, i1 false) %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %7, align 4 %17 = icmp ne i32 %15, %16 br i1 %17, label %18, label %19 18: ; preds = %2 store i32 0, ptr %3, align 4 br label %79 19: ; preds = %2 store i32 0, ptr %8, align 4 br label %20 20: ; preds = %36, %19 %21 = load i32, ptr %8, align 4 %22 = load i32, ptr %6, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %39 24: ; preds = %20 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %8, 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 = sub nsw i32 %30, 97 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [26 x i32], ptr %9, i64 0, i64 %32 %34 = load i32, ptr %33, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %33, align 4 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 br label %20, !llvm.loop !6 39: ; preds = %20 store i32 0, ptr %8, align 4 br label %40 40: ; preds = %56, %39 %41 = load i32, ptr %8, align 4 %42 = load i32, ptr %7, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %44, label %59 44: ; preds = %40 %45 = load ptr, ptr %5, align 8 %46 = load i32, ptr %8, align 4 %47 = sext 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 = sub nsw i32 %50, 97 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [26 x i32], ptr %10, i64 0, i64 %52 %54 = load i32, ptr %53, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %53, align 4 br label %56 56: ; preds = %44 %57 = load i32, ptr %8, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %8, align 4 br label %40, !llvm.loop !8 59: ; preds = %40 store i32 0, ptr %8, align 4 br label %60 60: ; preds = %75, %59 %61 = load i32, ptr %8, align 4 %62 = icmp slt i32 %61, 26 br i1 %62, label %63, label %78 63: ; preds = %60 %64 = load i32, ptr %8, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [26 x i32], ptr %9, i64 0, i64 %65 %67 = load i32, ptr %66, align 4 %68 = load i32, ptr %8, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds [26 x i32], ptr %10, i64 0, i64 %69 %71 = load i32, ptr %70, align 4 %72 = icmp ne i32 %67, %71 br i1 %72, label %73, label %74 73: ; preds = %63 store i32 0, ptr %3, align 4 br label %79 74: ; preds = %63 br label %75 75: ; preds = %74 %76 = load i32, ptr %8, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %8, align 4 br label %60, !llvm.loop !9 78: ; preds = %60 store i32 1, ptr %3, align 4 br label %79 79: ; preds = %78, %73, %18 %80 = load i32, ptr %3, align 4 ret i32 %80 } declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp88q9o7bi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_bro(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 [26 x i32], align 16 %10 = alloca [26 x i32], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i32 @strlen(ptr noundef %11) store i32 %12, ptr %6, align 4 %13 = load ptr, ptr %5, align 8 %14 = call i32 @strlen(ptr noundef %13) store i32 %14, ptr %7, align 4 call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 104, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 104, i1 false) %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %7, align 4 %17 = icmp ne i32 %15, %16 br i1 %17, label %18, label %19 18: ; preds = %2 store i32 0, ptr %3, align 4 br label %84 19: ; preds = %2 store i32 0, ptr %8, align 4 %20 = load i32, ptr %8, align 4 %21 = load i32, ptr %6, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph, label %41 .lr.ph: ; preds = %19 br label %23 23: ; preds = %.lr.ph, %35 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %8, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = sub nsw i32 %29, 97 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [26 x i32], ptr %9, i64 0, i64 %31 %33 = load i32, ptr %32, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %32, align 4 br label %35 35: ; preds = %23 %36 = load i32, ptr %8, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %8, align 4 %38 = load i32, ptr %8, align 4 %39 = load i32, ptr %6, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %41 41: ; preds = %._crit_edge, %19 store i32 0, ptr %8, align 4 %42 = load i32, ptr %8, align 4 %43 = load i32, ptr %7, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %.lr.ph2, label %63 .lr.ph2: ; preds = %41 br label %45 45: ; preds = %.lr.ph2, %57 %46 = load ptr, ptr %5, align 8 %47 = load i32, ptr %8, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %46, i64 %48 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = sub nsw i32 %51, 97 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [26 x i32], ptr %10, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %54, align 4 br label %57 57: ; preds = %45 %58 = load i32, ptr %8, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %8, align 4 %60 = load i32, ptr %8, align 4 %61 = load i32, ptr %7, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %45, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %57 br label %63 63: ; preds = %._crit_edge3, %41 store i32 0, ptr %8, align 4 %64 = load i32, ptr %8, align 4 %65 = icmp slt i32 %64, 26 br i1 %65, label %.lr.ph5, label %83 .lr.ph5: ; preds = %63 br label %66 66: ; preds = %.lr.ph5, %78 %67 = load i32, ptr %8, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [26 x i32], ptr %9, i64 0, i64 %68 %70 = load i32, ptr %69, align 4 %71 = load i32, ptr %8, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [26 x i32], ptr %10, i64 0, i64 %72 %74 = load i32, ptr %73, align 4 %75 = icmp ne i32 %70, %74 br i1 %75, label %76, label %77 76: ; preds = %66 store i32 0, ptr %3, align 4 br label %84 77: ; preds = %66 br label %78 78: ; preds = %77 %79 = load i32, ptr %8, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %8, align 4 %81 = load i32, ptr %8, align 4 %82 = icmp slt i32 %81, 26 br i1 %82, label %66, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %78 br label %83 83: ; preds = %._crit_edge6, %63 store i32 1, ptr %3, align 4 br label %84 84: ; preds = %83, %76, %18 %85 = load i32, ptr %3, align 4 ret i32 %85 } declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpxobh41jy.c' source_filename = "/tmp/tmpxobh41jy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxobh41jy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa5t9wuwu.c' source_filename = "/tmp/tmpa5t9wuwu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%20lu %20lu %20lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_uint64_array(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %6, align 4 %14 = sdiv i32 %12, %13 store i32 %14, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %15 15: ; preds = %37, %3 %16 = load i32, ptr %8, align 4 %17 = icmp slt i32 %16, 3 br i1 %17, label %18, label %40 18: ; preds = %15 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %8, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 %23 = load i32, ptr %22, align 4 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %8, align 4 %26 = add nsw i32 %25, 1 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %24, i64 %27 %29 = load i32, ptr %28, align 4 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %8, align 4 %32 = add nsw i32 %31, 2 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %30, i64 %33 %35 = load i32, ptr %34, align 4 %36 = call i32 @printf(ptr noundef @.str, i32 noundef %23, i32 noundef %29, i32 noundef %35) br label %37 37: ; preds = %18 %38 = load i32, ptr %8, align 4 %39 = add nsw i32 %38, 3 store i32 %39, ptr %8, align 4 br label %15, !llvm.loop !6 40: ; preds = %15 store i32 1, ptr %9, align 4 br label %41 41: ; preds = %84, %40 %42 = load i32, ptr %9, align 4 %43 = load i32, ptr %6, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %45, label %87 45: ; preds = %41 store i32 -3, ptr %10, align 4 br label %46 46: ; preds = %80, %45 %47 = load i32, ptr %10, align 4 %48 = icmp slt i32 %47, 3 br i1 %48, label %49, label %83 49: ; preds = %46 %50 = load ptr, ptr %4, align 8 %51 = load i32, ptr %7, align 4 %52 = load i32, ptr %9, align 4 %53 = mul nsw i32 %51, %52 %54 = load i32, ptr %10, align 4 %55 = add nsw i32 %53, %54 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i32, ptr %50, i64 %56 %58 = load i32, ptr %57, align 4 %59 = load ptr, ptr %4, align 8 %60 = load i32, ptr %7, align 4 %61 = load i32, ptr %9, align 4 %62 = mul nsw i32 %60, %61 %63 = load i32, ptr %10, align 4 %64 = add nsw i32 %62, %63 %65 = add nsw i32 %64, 1 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i32, ptr %59, i64 %66 %68 = load i32, ptr %67, align 4 %69 = load ptr, ptr %4, align 8 %70 = load i32, ptr %7, align 4 %71 = load i32, ptr %9, align 4 %72 = mul nsw i32 %70, %71 %73 = load i32, ptr %10, align 4 %74 = add nsw i32 %72, %73 %75 = add nsw i32 %74, 2 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i32, ptr %69, i64 %76 %78 = load i32, ptr %77, align 4 %79 = call i32 @printf(ptr noundef @.str, i32 noundef %58, i32 noundef %68, i32 noundef %78) br label %80 80: ; preds = %49 %81 = load i32, ptr %10, align 4 %82 = add nsw i32 %81, 3 store i32 %82, ptr %10, align 4 br label %46, !llvm.loop !8 83: ; preds = %46 br label %84 84: ; preds = %83 %85 = load i32, ptr %9, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %9, align 4 br label %41, !llvm.loop !9 87: ; preds = %41 store i32 -3, ptr %11, align 4 br label %88 88: ; preds = %116, %87 %89 = load i32, ptr %11, align 4 %90 = icmp slt i32 %89, 0 br i1 %90, label %91, label %119 91: ; preds = %88 %92 = load ptr, ptr %4, align 8 %93 = load i32, ptr %5, align 4 %94 = load i32, ptr %11, align 4 %95 = add nsw i32 %93, %94 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i32, ptr %92, i64 %96 %98 = load i32, ptr %97, align 4 %99 = load ptr, ptr %4, align 8 %100 = load i32, ptr %5, align 4 %101 = load i32, ptr %11, align 4 %102 = add nsw i32 %100, %101 %103 = add nsw i32 %102, 1 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds i32, ptr %99, i64 %104 %106 = load i32, ptr %105, align 4 %107 = load ptr, ptr %4, align 8 %108 = load i32, ptr %5, align 4 %109 = load i32, ptr %11, align 4 %110 = add nsw i32 %108, %109 %111 = add nsw i32 %110, 2 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i32, ptr %107, i64 %112 %114 = load i32, ptr %113, align 4 %115 = call i32 @printf(ptr noundef @.str, i32 noundef %98, i32 noundef %106, i32 noundef %114) br label %116 116: ; preds = %91 %117 = load i32, ptr %11, align 4 %118 = add nsw i32 %117, 3 store i32 %118, ptr %11, align 4 br label %88, !llvm.loop !10 119: ; preds = %88 ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa5t9wuwu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%20lu %20lu %20lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_uint64_array(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %6, align 4 %14 = sdiv i32 %12, %13 store i32 %14, ptr %7, align 4 store i32 0, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = icmp slt i32 %15, 3 br i1 %16, label %.lr.ph, label %41 .lr.ph: ; preds = %3 br label %17 17: ; preds = %.lr.ph, %36 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %8, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 %22 = load i32, ptr %21, align 4 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %23, i64 %26 %28 = load i32, ptr %27, align 4 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %8, align 4 %31 = add nsw i32 %30, 2 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %29, i64 %32 %34 = load i32, ptr %33, align 4 %35 = call i32 @printf(ptr noundef @.str, i32 noundef %22, i32 noundef %28, i32 noundef %34) br label %36 36: ; preds = %17 %37 = load i32, ptr %8, align 4 %38 = add nsw i32 %37, 3 store i32 %38, ptr %8, align 4 %39 = load i32, ptr %8, align 4 %40 = icmp slt i32 %39, 3 br i1 %40, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %41 41: ; preds = %._crit_edge, %3 store i32 1, ptr %9, align 4 %42 = load i32, ptr %9, align 4 %43 = load i32, ptr %6, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %.lr.ph5, label %91 .lr.ph5: ; preds = %41 br label %45 45: ; preds = %.lr.ph5, %85 store i32 -3, ptr %10, align 4 %46 = load i32, ptr %10, align 4 %47 = icmp slt i32 %46, 3 br i1 %47, label %.lr.ph2, label %84 .lr.ph2: ; preds = %45 br label %48 48: ; preds = %.lr.ph2, %79 %49 = load ptr, ptr %4, align 8 %50 = load i32, ptr %7, align 4 %51 = load i32, ptr %9, align 4 %52 = mul nsw i32 %50, %51 %53 = load i32, ptr %10, align 4 %54 = add nsw i32 %52, %53 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %49, i64 %55 %57 = load i32, ptr %56, align 4 %58 = load ptr, ptr %4, align 8 %59 = load i32, ptr %7, align 4 %60 = load i32, ptr %9, align 4 %61 = mul nsw i32 %59, %60 %62 = load i32, ptr %10, align 4 %63 = add nsw i32 %61, %62 %64 = add nsw i32 %63, 1 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i32, ptr %58, i64 %65 %67 = load i32, ptr %66, align 4 %68 = load ptr, ptr %4, align 8 %69 = load i32, ptr %7, align 4 %70 = load i32, ptr %9, align 4 %71 = mul nsw i32 %69, %70 %72 = load i32, ptr %10, align 4 %73 = add nsw i32 %71, %72 %74 = add nsw i32 %73, 2 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i32, ptr %68, i64 %75 %77 = load i32, ptr %76, align 4 %78 = call i32 @printf(ptr noundef @.str, i32 noundef %57, i32 noundef %67, i32 noundef %77) br label %79 79: ; preds = %48 %80 = load i32, ptr %10, align 4 %81 = add nsw i32 %80, 3 store i32 %81, ptr %10, align 4 %82 = load i32, ptr %10, align 4 %83 = icmp slt i32 %82, 3 br i1 %83, label %48, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %79 br label %84 84: ; preds = %._crit_edge3, %45 br label %85 85: ; preds = %84 %86 = load i32, ptr %9, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %9, align 4 %88 = load i32, ptr %9, align 4 %89 = load i32, ptr %6, align 4 %90 = icmp slt i32 %88, %89 br i1 %90, label %45, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %85 br label %91 91: ; preds = %._crit_edge6, %41 store i32 -3, ptr %11, align 4 %92 = load i32, ptr %11, align 4 %93 = icmp slt i32 %92, 0 br i1 %93, label %.lr.ph8, label %124 .lr.ph8: ; preds = %91 br label %94 94: ; preds = %.lr.ph8, %119 %95 = load ptr, ptr %4, align 8 %96 = load i32, ptr %5, align 4 %97 = load i32, ptr %11, align 4 %98 = add nsw i32 %96, %97 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i32, ptr %95, i64 %99 %101 = load i32, ptr %100, align 4 %102 = load ptr, ptr %4, align 8 %103 = load i32, ptr %5, align 4 %104 = load i32, ptr %11, align 4 %105 = add nsw i32 %103, %104 %106 = add nsw i32 %105, 1 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds i32, ptr %102, i64 %107 %109 = load i32, ptr %108, align 4 %110 = load ptr, ptr %4, align 8 %111 = load i32, ptr %5, align 4 %112 = load i32, ptr %11, align 4 %113 = add nsw i32 %111, %112 %114 = add nsw i32 %113, 2 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds i32, ptr %110, i64 %115 %117 = load i32, ptr %116, align 4 %118 = call i32 @printf(ptr noundef @.str, i32 noundef %101, i32 noundef %109, i32 noundef %117) br label %119 119: ; preds = %94 %120 = load i32, ptr %11, align 4 %121 = add nsw i32 %120, 3 store i32 %121, ptr %11, align 4 %122 = load i32, ptr %11, align 4 %123 = icmp slt i32 %122, 0 br i1 %123, label %94, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %119 br label %124 124: ; preds = %._crit_edge9, %91 ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmplq6zy0jd.c' source_filename = "/tmp/tmplq6zy0jd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ZPixmap = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplq6zy0jd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ZPixmap = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5b8ouu3k.c' source_filename = "/tmp/tmp5b8ouu3k.c" target datalayout = "e-m:e-p270: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/tmp5b8ouu3k.c" target datalayout = "e-m:e-p270: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/tmp7z8kgz7u.c' source_filename = "/tmp/tmp7z8kgz7u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"strsplit: given null pointer\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @str_split(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca [2 x i8], align 1 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %13 = load ptr, ptr %3, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %17, label %15 15: ; preds = %2 %16 = call i32 @die(i32 noundef 1, ptr noundef @.str) br label %17 17: ; preds = %15, %2 store ptr null, ptr %5, align 8 store i64 0, ptr %6, align 8 store ptr null, ptr %7, align 8 %18 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0 %19 = load i8, ptr %4, align 1 store i8 %19, ptr %18, align 1 %20 = getelementptr inbounds i8, ptr %18, i64 1 store i8 0, ptr %20, align 1 %21 = load ptr, ptr %3, align 8 %22 = call i32 @strlen(ptr noundef %21) %23 = add nsw i32 %22, 1 %24 = sext i32 %23 to i64 %25 = call ptr @ecalloc(i64 noundef %24, i32 noundef 1) store ptr %25, ptr %9, align 8 %26 = load ptr, ptr %9, align 8 %27 = load ptr, ptr %3, align 8 %28 = call i32 @strcpy(ptr noundef %26, ptr noundef %27) %29 = load ptr, ptr %9, align 8 store ptr %29, ptr %10, align 8 br label %30 30: ; preds = %46, %17 %31 = load ptr, ptr %10, align 8 %32 = load i8, ptr %31, align 1 %33 = icmp ne i8 %32, 0 br i1 %33, label %34, label %49 34: ; preds = %30 %35 = load i8, ptr %4, align 1 %36 = sext i8 %35 to i32 %37 = load ptr, ptr %10, align 8 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %36, %39 br i1 %40, label %41, label %45 41: ; preds = %34 %42 = load i64, ptr %6, align 8 %43 = add i64 %42, 1 store i64 %43, ptr %6, align 8 %44 = load ptr, ptr %10, align 8 store ptr %44, ptr %7, align 8 br label %45 45: ; preds = %41, %34 br label %46 46: ; preds = %45 %47 = load ptr, ptr %10, align 8 %48 = getelementptr inbounds i8, ptr %47, i32 1 store ptr %48, ptr %10, align 8 br label %30, !llvm.loop !6 49: ; preds = %30 %50 = load ptr, ptr %7, align 8 %51 = load ptr, ptr %9, align 8 %52 = load ptr, ptr %9, align 8 %53 = call i32 @strlen(ptr noundef %52) %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %51, i64 %54 %56 = getelementptr inbounds i8, ptr %55, i64 -1 %57 = icmp ult ptr %50, %56 %58 = zext i1 %57 to i32 %59 = sext i32 %58 to i64 %60 = load i64, ptr %6, align 8 %61 = add i64 %60, %59 store i64 %61, ptr %6, align 8 %62 = load i64, ptr %6, align 8 %63 = add i64 %62, 1 store i64 %63, ptr %6, align 8 %64 = load i64, ptr %6, align 8 %65 = call ptr @ecalloc(i64 noundef %64, i32 noundef 8) store ptr %65, ptr %5, align 8 %66 = load ptr, ptr %5, align 8 %67 = icmp ne ptr %66, null br i1 %67, label %68, label %99 68: ; preds = %49 store i64 0, ptr %11, align 8 %69 = load ptr, ptr %9, align 8 %70 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0 %71 = call ptr @strtok(ptr noundef %69, ptr noundef %70) store ptr %71, ptr %12, align 8 br label %72 72: ; preds = %75, %68 %73 = load ptr, ptr %12, align 8 %74 = icmp ne ptr %73, null br i1 %74, label %75, label %89 75: ; preds = %72 %76 = load i64, ptr %11, align 8 %77 = load i64, ptr %6, align 8 %78 = icmp ult i64 %76, %77 %79 = zext i1 %78 to i32 %80 = call i32 @assert(i32 noundef %79) %81 = load ptr, ptr %12, align 8 %82 = call ptr @estrdup(ptr noundef %81) %83 = load ptr, ptr %5, align 8 %84 = load i64, ptr %11, align 8 %85 = add i64 %84, 1 store i64 %85, ptr %11, align 8 %86 = getelementptr inbounds ptr, ptr %83, i64 %84 store ptr %82, ptr %86, align 8 %87 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0 %88 = call ptr @strtok(ptr noundef null, ptr noundef %87) store ptr %88, ptr %12, align 8 br label %72, !llvm.loop !8 89: ; preds = %72 %90 = load i64, ptr %11, align 8 %91 = load i64, ptr %6, align 8 %92 = sub i64 %91, 1 %93 = icmp eq i64 %90, %92 %94 = zext i1 %93 to i32 %95 = call i32 @assert(i32 noundef %94) %96 = load ptr, ptr %5, align 8 %97 = load i64, ptr %11, align 8 %98 = getelementptr inbounds ptr, ptr %96, i64 %97 store ptr null, ptr %98, align 8 br label %99 99: ; preds = %89, %49 %100 = load ptr, ptr %9, align 8 %101 = call i32 @free(ptr noundef %100) %102 = load ptr, ptr %5, align 8 ret ptr %102 } declare i32 @die(i32 noundef, ptr noundef) #1 declare ptr @ecalloc(i64 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 declare ptr @estrdup(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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7z8kgz7u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"strsplit: given null pointer\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @str_split(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca [2 x i8], align 1 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %13 = load ptr, ptr %3, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %17, label %15 15: ; preds = %2 %16 = call i32 @die(i32 noundef 1, ptr noundef @.str) br label %17 17: ; preds = %15, %2 store ptr null, ptr %5, align 8 store i64 0, ptr %6, align 8 store ptr null, ptr %7, align 8 %18 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0 %19 = load i8, ptr %4, align 1 store i8 %19, ptr %18, align 1 %20 = getelementptr inbounds i8, ptr %18, i64 1 store i8 0, ptr %20, align 1 %21 = load ptr, ptr %3, align 8 %22 = call i32 @strlen(ptr noundef %21) %23 = add nsw i32 %22, 1 %24 = sext i32 %23 to i64 %25 = call ptr @ecalloc(i64 noundef %24, i32 noundef 1) store ptr %25, ptr %9, align 8 %26 = load ptr, ptr %9, align 8 %27 = load ptr, ptr %3, align 8 %28 = call i32 @strcpy(ptr noundef %26, ptr noundef %27) %29 = load ptr, ptr %9, align 8 store ptr %29, ptr %10, align 8 %30 = load ptr, ptr %10, align 8 %31 = load i8, ptr %30, align 1 %32 = icmp ne i8 %31, 0 br i1 %32, label %.lr.ph, label %51 .lr.ph: ; preds = %17 br label %33 33: ; preds = %.lr.ph, %45 %34 = load i8, ptr %4, align 1 %35 = sext i8 %34 to i32 %36 = load ptr, ptr %10, align 8 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp eq i32 %35, %38 br i1 %39, label %40, label %44 40: ; preds = %33 %41 = load i64, ptr %6, align 8 %42 = add i64 %41, 1 store i64 %42, ptr %6, align 8 %43 = load ptr, ptr %10, align 8 store ptr %43, ptr %7, align 8 br label %44 44: ; preds = %40, %33 br label %45 45: ; preds = %44 %46 = load ptr, ptr %10, align 8 %47 = getelementptr inbounds i8, ptr %46, i32 1 store ptr %47, ptr %10, align 8 %48 = load ptr, ptr %10, align 8 %49 = load i8, ptr %48, align 1 %50 = icmp ne i8 %49, 0 br i1 %50, label %33, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %51 51: ; preds = %._crit_edge, %17 %52 = load ptr, ptr %7, align 8 %53 = load ptr, ptr %9, align 8 %54 = load ptr, ptr %9, align 8 %55 = call i32 @strlen(ptr noundef %54) %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %53, i64 %56 %58 = getelementptr inbounds i8, ptr %57, i64 -1 %59 = icmp ult ptr %52, %58 %60 = zext i1 %59 to i32 %61 = sext i32 %60 to i64 %62 = load i64, ptr %6, align 8 %63 = add i64 %62, %61 store i64 %63, ptr %6, align 8 %64 = load i64, ptr %6, align 8 %65 = add i64 %64, 1 store i64 %65, ptr %6, align 8 %66 = load i64, ptr %6, align 8 %67 = call ptr @ecalloc(i64 noundef %66, i32 noundef 8) store ptr %67, ptr %5, align 8 %68 = load ptr, ptr %5, align 8 %69 = icmp ne ptr %68, null br i1 %69, label %70, label %102 70: ; preds = %51 store i64 0, ptr %11, align 8 %71 = load ptr, ptr %9, align 8 %72 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0 %73 = call ptr @strtok(ptr noundef %71, ptr noundef %72) store ptr %73, ptr %12, align 8 %74 = load ptr, ptr %12, align 8 %75 = icmp ne ptr %74, null br i1 %75, label %.lr.ph2, label %92 .lr.ph2: ; preds = %70 br label %76 76: ; preds = %.lr.ph2, %76 %77 = load i64, ptr %11, align 8 %78 = load i64, ptr %6, align 8 %79 = icmp ult i64 %77, %78 %80 = zext i1 %79 to i32 %81 = call i32 @assert(i32 noundef %80) %82 = load ptr, ptr %12, align 8 %83 = call ptr @estrdup(ptr noundef %82) %84 = load ptr, ptr %5, align 8 %85 = load i64, ptr %11, align 8 %86 = add i64 %85, 1 store i64 %86, ptr %11, align 8 %87 = getelementptr inbounds ptr, ptr %84, i64 %85 store ptr %83, ptr %87, align 8 %88 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0 %89 = call ptr @strtok(ptr noundef null, ptr noundef %88) store ptr %89, ptr %12, align 8 %90 = load ptr, ptr %12, align 8 %91 = icmp ne ptr %90, null br i1 %91, label %76, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %76 br label %92 92: ; preds = %._crit_edge3, %70 %93 = load i64, ptr %11, align 8 %94 = load i64, ptr %6, align 8 %95 = sub i64 %94, 1 %96 = icmp eq i64 %93, %95 %97 = zext i1 %96 to i32 %98 = call i32 @assert(i32 noundef %97) %99 = load ptr, ptr %5, align 8 %100 = load i64, ptr %11, align 8 %101 = getelementptr inbounds ptr, ptr %99, i64 %100 store ptr null, ptr %101, align 8 br label %102 102: ; preds = %92, %51 %103 = load ptr, ptr %9, align 8 %104 = call i32 @free(ptr noundef %103) %105 = load ptr, ptr %5, align 8 ret ptr %105 } declare i32 @die(i32 noundef, ptr noundef) #1 declare ptr @ecalloc(i64 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 declare ptr @estrdup(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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpwlrqvuqz.c' source_filename = "/tmp/tmpwlrqvuqz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"Under Const\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @chkBstInorder(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = call i32 @printf(ptr noundef @.str) %5 = load i32, ptr %2, align 4 ret i32 %5 } 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/tmpwlrqvuqz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"Under Const\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @chkBstInorder(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = call i32 @printf(ptr noundef @.str) %5 = load i32, ptr %2, align 4 ret i32 %5 } 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/tmpmso2c_sx.c' source_filename = "/tmp/tmpmso2c_sx.c" target datalayout = "e-m:e-p270: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, i32 } @EINTR = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ACL_Delay(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.timeval, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 1, ptr %4, align 4 %5 = load i32, ptr %2, align 4 %6 = udiv i32 %5, 1000000 %7 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 store i32 %6, ptr %7, align 4 %8 = load i32, ptr %2, align 4 %9 = urem i32 %8, 1000000 %10 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1 store i32 %9, ptr %10, align 4 %11 = load i64, ptr @EINTR, align 8 store i64 %11, ptr @errno, align 8 br label %12 12: ; preds = %21, %1 %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %12 %16 = load i64, ptr @errno, align 8 %17 = load i64, ptr @EINTR, align 8 %18 = icmp eq i64 %16, %17 br label %19 19: ; preds = %15, %12 %20 = phi i1 [ false, %12 ], [ %18, %15 ] br i1 %20, label %21, label %23 21: ; preds = %19 store i64 0, ptr @errno, align 8 %22 = call i32 @select(i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %3) store i32 %22, ptr %4, align 4 br label %12, !llvm.loop !6 23: ; preds = %19 ret void } declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmso2c_sx.c" target datalayout = "e-m:e-p270: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, i32 } @EINTR = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ACL_Delay(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.timeval, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 1, ptr %4, align 4 %5 = load i32, ptr %2, align 4 %6 = udiv i32 %5, 1000000 %7 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 store i32 %6, ptr %7, align 4 %8 = load i32, ptr %2, align 4 %9 = urem i32 %8, 1000000 %10 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1 store i32 %9, ptr %10, align 4 %11 = load i64, ptr @EINTR, align 8 store i64 %11, ptr @errno, align 8 br label %12 12: ; preds = %21, %1 %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %12 %16 = load i64, ptr @errno, align 8 %17 = load i64, ptr @EINTR, align 8 %18 = icmp eq i64 %16, %17 br label %19 19: ; preds = %15, %12 %20 = phi i1 [ false, %12 ], [ %18, %15 ] br i1 %20, label %21, label %23 21: ; preds = %19 store i64 0, ptr @errno, align 8 %22 = call i32 @select(i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %3) store i32 %22, ptr %4, align 4 br label %12, !llvm.loop !6 23: ; preds = %19 ret void } declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpcybdqu6o.c' source_filename = "/tmp/tmpcybdqu6o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @abs_s(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %4, 32768 br i1 %5, label %6, label %7 6: ; preds = %1 store i32 32767, ptr %3, align 4 br label %16 7: ; preds = %1 %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %7 %11 = load i32, ptr %2, align 4 %12 = sub nsw i32 0, %11 store i32 %12, ptr %3, align 4 br label %15 13: ; preds = %7 %14 = load i32, ptr %2, align 4 store i32 %14, ptr %3, align 4 br label %15 15: ; preds = %13, %10 br label %16 16: ; preds = %15, %6 %17 = load i32, ptr %3, align 4 ret i32 %17 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcybdqu6o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @abs_s(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %4, 32768 br i1 %5, label %6, label %7 6: ; preds = %1 store i32 32767, ptr %3, align 4 br label %16 7: ; preds = %1 %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %7 %11 = load i32, ptr %2, align 4 %12 = sub nsw i32 0, %11 store i32 %12, ptr %3, align 4 br label %15 13: ; preds = %7 %14 = load i32, ptr %2, align 4 store i32 %14, ptr %3, align 4 br label %15 15: ; preds = %13, %10 br label %16 16: ; preds = %15, %6 %17 = load i32, ptr %3, align 4 ret i32 %17 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp9gzegxu.c' source_filename = "/tmp/tmpp9gzegxu.c" target datalayout = "e-m:e-p270: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/tmpp9gzegxu.c" target datalayout = "e-m:e-p270: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/tmpiw6lw53v.c' source_filename = "/tmp/tmpiw6lw53v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intentional3(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 %5 = getelementptr inbounds i8, ptr %4, i64 1 %6 = call i32 @strlen(ptr noundef %5) %7 = call i64 @malloc(i32 noundef %6) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %3, align 8 ret void } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiw6lw53v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intentional3(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 %5 = getelementptr inbounds i8, ptr %4, i64 1 %6 = call i32 @strlen(ptr noundef %5) %7 = call i64 @malloc(i32 noundef %6) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %3, align 8 ret void } 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"}
; ModuleID = '/tmp/tmp73dx72rn.c' source_filename = "/tmp/tmp73dx72rn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gfks_matrix_element_minor(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %7, align 4 %18 = sdiv i32 %16, %17 store i32 %18, ptr %9, align 4 %19 = load i32, ptr %8, align 4 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %9, align 4 %22 = mul nsw i32 %20, %21 %23 = sub nsw i32 %19, %22 store i32 %23, ptr %10, align 4 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %7, align 4 %26 = mul nsw i32 %24, %25 %27 = load i32, ptr %7, align 4 %28 = mul nsw i32 %27, 2 %29 = sub nsw i32 %28, 1 %30 = sub nsw i32 %26, %29 %31 = sext i32 %30 to i64 %32 = mul i64 4, %31 %33 = trunc i64 %32 to i32 %34 = call ptr @malloc(i32 noundef %33) store ptr %34, ptr %11, align 8 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 br label %35 35: ; preds = %69, %4 %36 = load i32, ptr %13, align 4 %37 = load i32, ptr %7, align 4 %38 = load i32, ptr %7, align 4 %39 = mul nsw i32 %37, %38 %40 = icmp slt i32 %36, %39 br i1 %40, label %41, label %72 41: ; preds = %35 %42 = load i32, ptr %13, align 4 %43 = load i32, ptr %7, align 4 %44 = sdiv i32 %42, %43 store i32 %44, ptr %14, align 4 %45 = load i32, ptr %13, align 4 %46 = load i32, ptr %7, align 4 %47 = load i32, ptr %14, align 4 %48 = mul nsw i32 %46, %47 %49 = sub nsw i32 %45, %48 store i32 %49, ptr %15, align 4 %50 = load i32, ptr %14, align 4 %51 = load i32, ptr %9, align 4 %52 = icmp ne i32 %50, %51 br i1 %52, label %53, label %68 53: ; preds = %41 %54 = load i32, ptr %15, align 4 %55 = load i32, ptr %10, align 4 %56 = icmp ne i32 %54, %55 br i1 %56, label %57, label %68 57: ; preds = %53 %58 = load ptr, ptr %6, align 8 %59 = load i32, ptr %13, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds float, ptr %58, i64 %60 %62 = load float, ptr %61, align 4 %63 = load ptr, ptr %11, align 8 %64 = load i32, ptr %12, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %12, align 4 %66 = sext i32 %64 to i64 %67 = getelementptr inbounds float, ptr %63, i64 %66 store float %62, ptr %67, align 4 br label %68 68: ; preds = %57, %53, %41 br label %69 69: ; preds = %68 %70 = load i32, ptr %13, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %13, align 4 br label %35, !llvm.loop !6 72: ; preds = %35 %73 = load ptr, ptr %5, align 8 %74 = load ptr, ptr %11, align 8 %75 = load i32, ptr %7, align 4 %76 = sub nsw i32 %75, 1 %77 = call i32 @gfks_matrix_determinant(ptr noundef %73, ptr noundef %74, i32 noundef %76) %78 = load ptr, ptr %11, align 8 %79 = call i32 @free(ptr noundef %78) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @gfks_matrix_determinant(ptr noundef, ptr 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp73dx72rn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gfks_matrix_element_minor(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %7, align 4 %18 = sdiv i32 %16, %17 store i32 %18, ptr %9, align 4 %19 = load i32, ptr %8, align 4 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %9, align 4 %22 = mul nsw i32 %20, %21 %23 = sub nsw i32 %19, %22 store i32 %23, ptr %10, align 4 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %7, align 4 %26 = mul nsw i32 %24, %25 %27 = load i32, ptr %7, align 4 %28 = mul nsw i32 %27, 2 %29 = sub nsw i32 %28, 1 %30 = sub nsw i32 %26, %29 %31 = sext i32 %30 to i64 %32 = mul i64 4, %31 %33 = trunc i64 %32 to i32 %34 = call ptr @malloc(i32 noundef %33) store ptr %34, ptr %11, align 8 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 %35 = load i32, ptr %13, align 4 %36 = load i32, ptr %7, align 4 %37 = load i32, ptr %7, align 4 %38 = mul nsw i32 %36, %37 %39 = icmp slt i32 %35, %38 br i1 %39, label %.lr.ph, label %76 .lr.ph: ; preds = %4 br label %40 40: ; preds = %.lr.ph, %68 %41 = load i32, ptr %13, align 4 %42 = load i32, ptr %7, align 4 %43 = sdiv i32 %41, %42 store i32 %43, ptr %14, align 4 %44 = load i32, ptr %13, align 4 %45 = load i32, ptr %7, align 4 %46 = load i32, ptr %14, align 4 %47 = mul nsw i32 %45, %46 %48 = sub nsw i32 %44, %47 store i32 %48, ptr %15, align 4 %49 = load i32, ptr %14, align 4 %50 = load i32, ptr %9, align 4 %51 = icmp ne i32 %49, %50 br i1 %51, label %52, label %67 52: ; preds = %40 %53 = load i32, ptr %15, align 4 %54 = load i32, ptr %10, align 4 %55 = icmp ne i32 %53, %54 br i1 %55, label %56, label %67 56: ; preds = %52 %57 = load ptr, ptr %6, align 8 %58 = load i32, ptr %13, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds float, ptr %57, i64 %59 %61 = load float, ptr %60, align 4 %62 = load ptr, ptr %11, align 8 %63 = load i32, ptr %12, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %12, align 4 %65 = sext i32 %63 to i64 %66 = getelementptr inbounds float, ptr %62, i64 %65 store float %61, ptr %66, align 4 br label %67 67: ; preds = %56, %52, %40 br label %68 68: ; preds = %67 %69 = load i32, ptr %13, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %13, align 4 %71 = load i32, ptr %13, align 4 %72 = load i32, ptr %7, align 4 %73 = load i32, ptr %7, align 4 %74 = mul nsw i32 %72, %73 %75 = icmp slt i32 %71, %74 br i1 %75, label %40, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %68 br label %76 76: ; preds = %._crit_edge, %4 %77 = load ptr, ptr %5, align 8 %78 = load ptr, ptr %11, align 8 %79 = load i32, ptr %7, align 4 %80 = sub nsw i32 %79, 1 %81 = call i32 @gfks_matrix_determinant(ptr noundef %77, ptr noundef %78, i32 noundef %80) %82 = load ptr, ptr %11, align 8 %83 = call i32 @free(ptr noundef %82) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @gfks_matrix_determinant(ptr noundef, ptr 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"}
; ModuleID = '/tmp/tmpict6u7ru.c' source_filename = "/tmp/tmpict6u7ru.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @netstat_formatbytes(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %5, align 4 %10 = call i32 @netstat_bytes(ptr noundef %8, i32 noundef %9) %11 = call ptr @format_string(ptr noundef %7, i32 noundef %10) ret ptr %11 } declare ptr @format_string(ptr noundef, i32 noundef) #1 declare i32 @netstat_bytes(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/tmpict6u7ru.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @netstat_formatbytes(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %5, align 4 %10 = call i32 @netstat_bytes(ptr noundef %8, i32 noundef %9) %11 = call ptr @format_string(ptr noundef %7, i32 noundef %10) ret ptr %11 } declare ptr @format_string(ptr noundef, i32 noundef) #1 declare i32 @netstat_bytes(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/tmpm00jrsio.c' source_filename = "/tmp/tmpm00jrsio.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @insertion_sort(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = add nsw i32 %6, 1 store i32 %7, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %8 8: ; preds = %51, %1 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 15 br i1 %10, label %11, label %54 11: ; preds = %8 br label %12 12: ; preds = %33, %11 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %4, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %13, i64 %15 %17 = load i32, ptr %16, align 4 %18 = load ptr, ptr %2, align 8 %19 = load i32, ptr %4, align 4 %20 = sub nsw i32 %19, 1 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %18, i64 %21 %23 = load i32, ptr %22, align 4 %24 = icmp slt i32 %17, %23 br i1 %24, label %25, label %31 25: ; preds = %12 %26 = load i32, ptr %4, align 4 %27 = icmp sgt i32 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %25 %29 = load i32, ptr %4, align 4 %30 = icmp slt i32 %29, 15 br label %31 31: ; preds = %28, %25, %12 %32 = phi i1 [ false, %25 ], [ false, %12 ], [ %30, %28 ] br i1 %32, label %33, label %46 33: ; preds = %31 %34 = load ptr, ptr %2, align 8 %35 = load i32, ptr %4, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %34, i64 %36 %38 = load ptr, ptr %2, align 8 %39 = load i32, ptr %4, align 4 %40 = sub nsw i32 %39, 1 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %38, i64 %41 %43 = call i32 @swap(ptr noundef %37, ptr noundef %42) %44 = load i32, ptr %4, align 4 %45 = add nsw i32 %44, -1 store i32 %45, ptr %4, align 4 br label %12, !llvm.loop !6 46: ; preds = %31 %47 = load i32, ptr %3, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %3, align 4 %49 = load i32, ptr %3, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %4, align 4 br label %51 51: ; preds = %46 %52 = load i32, ptr %5, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %5, align 4 br label %8, !llvm.loop !8 54: ; preds = %8 ret void } declare i32 @swap(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/tmpm00jrsio.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @insertion_sort(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = add nsw i32 %6, 1 store i32 %7, ptr %4, align 4 store i32 0, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp slt i32 %8, 15 br i1 %9, label %.lr.ph, label %55 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %50 br label %11 11: ; preds = %32, %10 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %4, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i32, ptr %12, i64 %14 %16 = load i32, ptr %15, align 4 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %4, align 4 %19 = sub nsw i32 %18, 1 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %17, i64 %20 %22 = load i32, ptr %21, align 4 %23 = icmp slt i32 %16, %22 br i1 %23, label %24, label %30 24: ; preds = %11 %25 = load i32, ptr %4, align 4 %26 = icmp sgt i32 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %24 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %28, 15 br label %30 30: ; preds = %27, %24, %11 %31 = phi i1 [ false, %24 ], [ false, %11 ], [ %29, %27 ] br i1 %31, label %32, label %45 32: ; preds = %30 %33 = load ptr, ptr %2, align 8 %34 = load i32, ptr %4, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = load ptr, ptr %2, align 8 %38 = load i32, ptr %4, align 4 %39 = sub nsw i32 %38, 1 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %37, i64 %40 %42 = call i32 @swap(ptr noundef %36, ptr noundef %41) %43 = load i32, ptr %4, align 4 %44 = add nsw i32 %43, -1 store i32 %44, ptr %4, align 4 br label %11, !llvm.loop !6 45: ; preds = %30 %46 = load i32, ptr %3, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %3, align 4 %48 = load i32, ptr %3, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %4, align 4 br label %50 50: ; preds = %45 %51 = load i32, ptr %5, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %5, align 4 %53 = load i32, ptr %5, align 4 %54 = icmp slt i32 %53, 15 br i1 %54, label %10, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %50 br label %55 55: ; preds = %._crit_edge, %1 ret void } declare i32 @swap(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/tmp272fqcdj.c' source_filename = "/tmp/tmp272fqcdj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findpath(ptr noundef %0, ptr noundef %1, i32 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 ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i64, align 8 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr null, ptr %8, align 8 %21 = call i64 (...) @ioutil_maxpathlen() store i64 %21, ptr %11, align 8 %22 = load i64, ptr %11, align 8 %23 = call ptr @lib_malloc(i64 noundef %22) store ptr %23, ptr %10, align 8 %24 = load ptr, ptr %10, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 0 store i8 0, ptr %25, align 1 %26 = load ptr, ptr %5, align 8 %27 = call ptr @strchr(ptr noundef %26, i8 noundef signext 47) %28 = icmp ne ptr %27, null br i1 %28, label %29, label %159 29: ; preds = %3 %30 = load ptr, ptr %5, align 8 %31 = call i64 @archdep_path_is_relative(ptr noundef %30) %32 = icmp ne i64 %31, 0 br i1 %32, label %33, label %46 33: ; preds = %29 %34 = load ptr, ptr %10, align 8 %35 = getelementptr inbounds i8, ptr %34, i64 1 %36 = load i64, ptr %11, align 8 %37 = trunc i64 %36 to i32 %38 = sub nsw i32 %37, 128 %39 = call ptr @ioutil_getcwd(ptr noundef %35, i32 noundef %38) %40 = icmp eq ptr %39, null br i1 %40, label %41, label %42 41: ; preds = %33 br label %260 42: ; preds = %33 %43 = load ptr, ptr %10, align 8 %44 = getelementptr inbounds i8, ptr %43, i64 1 %45 = call i64 @strlen(ptr noundef %44) store i64 %45, ptr %12, align 8 br label %47 46: ; preds = %29 store i64 0, ptr %12, align 8 br label %47 47: ; preds = %46, %42 %48 = load i64, ptr %12, align 8 %49 = load ptr, ptr %5, align 8 %50 = call i64 @strlen(ptr noundef %49) %51 = add i64 %48, %50 %52 = load i64, ptr %11, align 8 %53 = sub i64 %52, 5 %54 = icmp uge i64 %51, %53 br i1 %54, label %55, label %56 55: ; preds = %47 br label %260 56: ; preds = %47 %57 = load ptr, ptr %5, align 8 store ptr %57, ptr %14, align 8 %58 = load ptr, ptr %10, align 8 %59 = load i64, ptr %12, align 8 %60 = getelementptr inbounds i8, ptr %58, i64 %59 store ptr %60, ptr %8, align 8 %61 = load ptr, ptr %8, align 8 %62 = getelementptr inbounds i8, ptr %61, i32 1 store ptr %62, ptr %8, align 8 %63 = load i8, ptr %61, align 1 %64 = sext i8 %63 to i32 %65 = icmp ne i32 %64, 47 br i1 %65, label %66, label %69 66: ; preds = %56 %67 = load ptr, ptr %8, align 8 %68 = getelementptr inbounds i8, ptr %67, i32 1 store ptr %68, ptr %8, align 8 store i8 47, ptr %67, align 1 br label %69 69: ; preds = %66, %56 store i32 1, ptr %13, align 4 br label %70 70: ; preds = %149, %69 %71 = load ptr, ptr %14, align 8 %72 = load i8, ptr %71, align 1 %73 = icmp ne i8 %72, 0 br i1 %73, label %74, label %155 74: ; preds = %70 %75 = load i32, ptr %13, align 4 switch i32 %75, label %149 [ i32 0, label %76 i32 1, label %84 i32 2, label %100 i32 3, label %116 ] 76: ; preds = %74 %77 = load ptr, ptr %14, align 8 %78 = load i8, ptr %77, align 1 %79 = sext i8 %78 to i32 %80 = icmp eq i32 %79, 47 br i1 %80, label %81, label %82 81: ; preds = %76 store i32 1, ptr %13, align 4 br label %83 82: ; preds = %76 store i32 0, ptr %13, align 4 br label %83 83: ; preds = %82, %81 br label %149 84: ; preds = %74 %85 = load ptr, ptr %14, align 8 %86 = load i8, ptr %85, align 1 %87 = sext i8 %86 to i32 %88 = icmp eq i32 %87, 46 br i1 %88, label %89, label %90 89: ; preds = %84 store i32 2, ptr %13, align 4 br label %149 90: ; preds = %84 %91 = load ptr, ptr %14, align 8 %92 = load i8, ptr %91, align 1 %93 = sext i8 %92 to i32 %94 = icmp eq i32 %93, 47 br i1 %94, label %95, label %98 95: ; preds = %90 %96 = load ptr, ptr %8, align 8 %97 = getelementptr inbounds i8, ptr %96, i32 -1 store ptr %97, ptr %8, align 8 br label %99 98: ; preds = %90 store i32 0, ptr %13, align 4 br label %99 99: ; preds = %98, %95 br label %149 100: ; preds = %74 %101 = load ptr, ptr %14, align 8 %102 = load i8, ptr %101, align 1 %103 = sext i8 %102 to i32 %104 = icmp eq i32 %103, 47 br i1 %104, label %105, label %108 105: ; preds = %100 store i32 1, ptr %13, align 4 %106 = load ptr, ptr %8, align 8 %107 = getelementptr inbounds i8, ptr %106, i64 -2 store ptr %107, ptr %8, align 8 br label %149 108: ; preds = %100 %109 = load ptr, ptr %14, align 8 %110 = load i8, ptr %109, align 1 %111 = sext i8 %110 to i32 %112 = icmp eq i32 %111, 46 br i1 %112, label %113, label %114 113: ; preds = %108 store i32 3, ptr %13, align 4 br label %115 114: ; preds = %108 store i32 0, ptr %13, align 4 br label %115 115: ; preds = %114, %113 br label %149 116: ; preds = %74 %117 = load ptr, ptr %14, align 8 %118 = load i8, ptr %117, align 1 %119 = sext i8 %118 to i32 %120 = icmp ne i32 %119, 47 br i1 %120, label %121, label %122 121: ; preds = %116 store i32 0, ptr %13, align 4 br label %149 122: ; preds = %116 store i32 1, ptr %13, align 4 %123 = load ptr, ptr %8, align 8 %124 = getelementptr inbounds i8, ptr %123, i64 -4 store ptr %124, ptr %8, align 8 br label %125 125: ; preds = %137, %122 %126 = load ptr, ptr %8, align 8 %127 = load i8, ptr %126, align 1 %128 = sext i8 %127 to i32 %129 = icmp ne i32 %128, 47 br i1 %129, label %130, label %135 130: ; preds = %125 %131 = load ptr, ptr %8, align 8 %132 = load i8, ptr %131, align 1 %133 = sext i8 %132 to i32 %134 = icmp ne i32 %133, 0 br label %135 135: ; preds = %130, %125 %136 = phi i1 [ false, %125 ], [ %134, %130 ] br i1 %136, label %137, label %140 137: ; preds = %135 %138 = load ptr, ptr %8, align 8 %139 = getelementptr inbounds i8, ptr %138, i32 -1 store ptr %139, ptr %8, align 8 br label %125, !llvm.loop !6 140: ; preds = %135 %141 = load ptr, ptr %8, align 8 %142 = load i8, ptr %141, align 1 %143 = sext i8 %142 to i32 %144 = icmp eq i32 %143, 0 br i1 %144, label %145, label %148 145: ; preds = %140 %146 = load ptr, ptr %8, align 8 %147 = getelementptr inbounds i8, ptr %146, i32 1 store ptr %147, ptr %8, align 8 br label %148 148: ; preds = %145, %140 store i32 1, ptr %13, align 4 br label %149 149: ; preds = %74, %148, %121, %115, %105, %99, %89, %83 %150 = load ptr, ptr %14, align 8 %151 = getelementptr inbounds i8, ptr %150, i32 1 store ptr %151, ptr %14, align 8 %152 = load i8, ptr %150, align 1 %153 = load ptr, ptr %8, align 8 %154 = getelementptr inbounds i8, ptr %153, i32 1 store ptr %154, ptr %8, align 8 store i8 %152, ptr %153, align 1 br label %70, !llvm.loop !8 155: ; preds = %70 %156 = load ptr, ptr %8, align 8 store i8 0, ptr %156, align 1 %157 = load ptr, ptr %10, align 8 %158 = getelementptr inbounds i8, ptr %157, i64 1 store ptr %158, ptr %8, align 8 br label %249 159: ; preds = %3 %160 = load ptr, ptr %6, align 8 store ptr %160, ptr %15, align 8 %161 = load ptr, ptr %5, align 8 %162 = call i64 @strlen(ptr noundef %161) %163 = add i64 %162, 1 store i64 %163, ptr %17, align 8 %164 = load ptr, ptr %15, align 8 store ptr %164, ptr %16, align 8 br label %165 165: ; preds = %245, %159 %166 = load ptr, ptr %16, align 8 %167 = icmp ne ptr %166, null br i1 %167, label %168, label %248 168: ; preds = %165 %169 = load ptr, ptr %15, align 8 %170 = call ptr @strchr(ptr noundef %169, i8 noundef signext 58) store ptr %170, ptr %16, align 8 %171 = load ptr, ptr %16, align 8 %172 = icmp ne ptr %171, null br i1 %172, label %173, label %180 173: ; preds = %168 %174 = load ptr, ptr %16, align 8 %175 = load ptr, ptr %15, align 8 %176 = ptrtoint ptr %174 to i64 %177 = ptrtoint ptr %175 to i64 %178 = sub i64 %176, %177 %179 = trunc i64 %178 to i32 br label %184 180: ; preds = %168 %181 = load ptr, ptr %15, align 8 %182 = call i64 @strlen(ptr noundef %181) %183 = trunc i64 %182 to i32 br label %184 184: ; preds = %180, %173 %185 = phi i32 [ %179, %173 ], [ %183, %180 ] store i32 %185, ptr %19, align 4 %186 = load i32, ptr %19, align 4 %187 = sext i32 %186 to i64 %188 = load i64, ptr %17, align 8 %189 = add i64 %187, %188 %190 = load i64, ptr %11, align 8 %191 = sub i64 %190, 5 %192 = icmp ugt i64 %189, %191 br i1 %192, label %193, label %194 193: ; preds = %184 br label %245 194: ; preds = %184 %195 = load ptr, ptr %10, align 8 %196 = getelementptr inbounds i8, ptr %195, i64 1 %197 = load ptr, ptr %15, align 8 %198 = load i32, ptr %19, align 4 %199 = sext i32 %198 to i64 %200 = call i32 @memcpy(ptr noundef %196, ptr noundef %197, i64 noundef %199) %201 = load ptr, ptr %10, align 8 %202 = load i32, ptr %19, align 4 %203 = sext i32 %202 to i64 %204 = getelementptr inbounds i8, ptr %201, i64 %203 store ptr %204, ptr %18, align 8 %205 = load ptr, ptr %18, align 8 %206 = getelementptr inbounds i8, ptr %205, i32 1 store ptr %206, ptr %18, align 8 %207 = load i8, ptr %205, align 1 %208 = sext i8 %207 to i32 %209 = icmp ne i32 %208, 47 br i1 %209, label %210, label %213 210: ; preds = %194 %211 = load ptr, ptr %18, align 8 %212 = getelementptr inbounds i8, ptr %211, i32 1 store ptr %212, ptr %18, align 8 store i8 47, ptr %211, align 1 br label %213 213: ; preds = %210, %194 %214 = load ptr, ptr %18, align 8 %215 = load ptr, ptr %5, align 8 %216 = load i64, ptr %17, align 8 %217 = call i32 @memcpy(ptr noundef %214, ptr noundef %215, i64 noundef %216) %218 = load ptr, ptr %10, align 8 %219 = getelementptr inbounds i8, ptr %218, i64 1 store ptr %219, ptr %9, align 8 br label %220 220: ; preds = %233, %213 %221 = load ptr, ptr %9, align 8 %222 = load i8, ptr %221, align 1 %223 = sext i8 %222 to i32 %224 = icmp ne i32 %223, 0 br i1 %224, label %225, label %236 225: ; preds = %220 %226 = load ptr, ptr %9, align 8 %227 = load i8, ptr %226, align 1 %228 = sext i8 %227 to i32 %229 = icmp eq i32 %228, 92 br i1 %229, label %230, label %232 230: ; preds = %225 %231 = load ptr, ptr %9, align 8 store i8 47, ptr %231, align 1 br label %232 232: ; preds = %230, %225 br label %233 233: ; preds = %232 %234 = load ptr, ptr %9, align 8 %235 = getelementptr inbounds i8, ptr %234, i32 1 store ptr %235, ptr %9, align 8 br label %220, !llvm.loop !9 236: ; preds = %220 %237 = load ptr, ptr %10, align 8 %238 = getelementptr inbounds i8, ptr %237, i64 1 %239 = load i32, ptr %7, align 4 %240 = call i64 @ioutil_access(ptr noundef %238, i32 noundef %239) %241 = icmp eq i64 %240, 0 br i1 %241, label %242, label %244 242: ; preds = %236 %243 = load ptr, ptr %18, align 8 store ptr %243, ptr %8, align 8 br label %248 244: ; preds = %236 br label %245 245: ; preds = %244, %193 %246 = load ptr, ptr %16, align 8 %247 = getelementptr inbounds i8, ptr %246, i64 1 store ptr %247, ptr %15, align 8 br label %165, !llvm.loop !10 248: ; preds = %242, %165 br label %249 249: ; preds = %248, %155 %250 = load ptr, ptr %8, align 8 %251 = icmp ne ptr %250, null br i1 %251, label %252, label %259 252: ; preds = %249 %253 = load ptr, ptr %10, align 8 %254 = getelementptr inbounds i8, ptr %253, i64 1 %255 = call ptr @lib_stralloc(ptr noundef %254) store ptr %255, ptr %20, align 8 %256 = load ptr, ptr %10, align 8 %257 = call i32 @lib_free(ptr noundef %256) %258 = load ptr, ptr %20, align 8 store ptr %258, ptr %4, align 8 br label %263 259: ; preds = %249 br label %260 260: ; preds = %259, %55, %41 %261 = load ptr, ptr %10, align 8 %262 = call i32 @lib_free(ptr noundef %261) store ptr null, ptr %4, align 8 br label %263 263: ; preds = %260, %252 %264 = load ptr, ptr %4, align 8 ret ptr %264 } declare i64 @ioutil_maxpathlen(...) #1 declare ptr @lib_malloc(i64 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i64 @archdep_path_is_relative(ptr noundef) #1 declare ptr @ioutil_getcwd(ptr noundef, i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 declare i64 @ioutil_access(ptr noundef, i32 noundef) #1 declare ptr @lib_stralloc(ptr noundef) #1 declare i32 @lib_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/tmp272fqcdj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findpath(ptr noundef %0, ptr noundef %1, i32 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 ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i64, align 8 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr null, ptr %8, align 8 %21 = call i64 (...) @ioutil_maxpathlen() store i64 %21, ptr %11, align 8 %22 = load i64, ptr %11, align 8 %23 = call ptr @lib_malloc(i64 noundef %22) store ptr %23, ptr %10, align 8 %24 = load ptr, ptr %10, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 0 store i8 0, ptr %25, align 1 %26 = load ptr, ptr %5, align 8 %27 = call ptr @strchr(ptr noundef %26, i8 noundef signext 47) %28 = icmp ne ptr %27, null br i1 %28, label %29, label %161 29: ; preds = %3 %30 = load ptr, ptr %5, align 8 %31 = call i64 @archdep_path_is_relative(ptr noundef %30) %32 = icmp ne i64 %31, 0 br i1 %32, label %33, label %46 33: ; preds = %29 %34 = load ptr, ptr %10, align 8 %35 = getelementptr inbounds i8, ptr %34, i64 1 %36 = load i64, ptr %11, align 8 %37 = trunc i64 %36 to i32 %38 = sub nsw i32 %37, 128 %39 = call ptr @ioutil_getcwd(ptr noundef %35, i32 noundef %38) %40 = icmp eq ptr %39, null br i1 %40, label %41, label %42 41: ; preds = %33 br label %266 42: ; preds = %33 %43 = load ptr, ptr %10, align 8 %44 = getelementptr inbounds i8, ptr %43, i64 1 %45 = call i64 @strlen(ptr noundef %44) store i64 %45, ptr %12, align 8 br label %47 46: ; preds = %29 store i64 0, ptr %12, align 8 br label %47 47: ; preds = %46, %42 %48 = load i64, ptr %12, align 8 %49 = load ptr, ptr %5, align 8 %50 = call i64 @strlen(ptr noundef %49) %51 = add i64 %48, %50 %52 = load i64, ptr %11, align 8 %53 = sub i64 %52, 5 %54 = icmp uge i64 %51, %53 br i1 %54, label %55, label %56 55: ; preds = %47 br label %266 56: ; preds = %47 %57 = load ptr, ptr %5, align 8 store ptr %57, ptr %14, align 8 %58 = load ptr, ptr %10, align 8 %59 = load i64, ptr %12, align 8 %60 = getelementptr inbounds i8, ptr %58, i64 %59 store ptr %60, ptr %8, align 8 %61 = load ptr, ptr %8, align 8 %62 = getelementptr inbounds i8, ptr %61, i32 1 store ptr %62, ptr %8, align 8 %63 = load i8, ptr %61, align 1 %64 = sext i8 %63 to i32 %65 = icmp ne i32 %64, 47 br i1 %65, label %66, label %69 66: ; preds = %56 %67 = load ptr, ptr %8, align 8 %68 = getelementptr inbounds i8, ptr %67, i32 1 store ptr %68, ptr %8, align 8 store i8 47, ptr %67, align 1 br label %69 69: ; preds = %66, %56 store i32 1, ptr %13, align 4 %70 = load ptr, ptr %14, align 8 %71 = load i8, ptr %70, align 1 %72 = icmp ne i8 %71, 0 br i1 %72, label %.lr.ph4, label %157 .lr.ph4: ; preds = %69 br label %73 73: ; preds = %.lr.ph4, %148 %74 = load i32, ptr %13, align 4 switch i32 %74, label %148 [ i32 0, label %75 i32 1, label %83 i32 2, label %99 i32 3, label %115 ] 75: ; preds = %73 %76 = load ptr, ptr %14, align 8 %77 = load i8, ptr %76, align 1 %78 = sext i8 %77 to i32 %79 = icmp eq i32 %78, 47 br i1 %79, label %80, label %81 80: ; preds = %75 store i32 1, ptr %13, align 4 br label %82 81: ; preds = %75 store i32 0, ptr %13, align 4 br label %82 82: ; preds = %81, %80 br label %148 83: ; preds = %73 %84 = load ptr, ptr %14, align 8 %85 = load i8, ptr %84, align 1 %86 = sext i8 %85 to i32 %87 = icmp eq i32 %86, 46 br i1 %87, label %88, label %89 88: ; preds = %83 store i32 2, ptr %13, align 4 br label %148 89: ; preds = %83 %90 = load ptr, ptr %14, align 8 %91 = load i8, ptr %90, align 1 %92 = sext i8 %91 to i32 %93 = icmp eq i32 %92, 47 br i1 %93, label %94, label %97 94: ; preds = %89 %95 = load ptr, ptr %8, align 8 %96 = getelementptr inbounds i8, ptr %95, i32 -1 store ptr %96, ptr %8, align 8 br label %98 97: ; preds = %89 store i32 0, ptr %13, align 4 br label %98 98: ; preds = %97, %94 br label %148 99: ; preds = %73 %100 = load ptr, ptr %14, align 8 %101 = load i8, ptr %100, align 1 %102 = sext i8 %101 to i32 %103 = icmp eq i32 %102, 47 br i1 %103, label %104, label %107 104: ; preds = %99 store i32 1, ptr %13, align 4 %105 = load ptr, ptr %8, align 8 %106 = getelementptr inbounds i8, ptr %105, i64 -2 store ptr %106, ptr %8, align 8 br label %148 107: ; preds = %99 %108 = load ptr, ptr %14, align 8 %109 = load i8, ptr %108, align 1 %110 = sext i8 %109 to i32 %111 = icmp eq i32 %110, 46 br i1 %111, label %112, label %113 112: ; preds = %107 store i32 3, ptr %13, align 4 br label %114 113: ; preds = %107 store i32 0, ptr %13, align 4 br label %114 114: ; preds = %113, %112 br label %148 115: ; preds = %73 %116 = load ptr, ptr %14, align 8 %117 = load i8, ptr %116, align 1 %118 = sext i8 %117 to i32 %119 = icmp ne i32 %118, 47 br i1 %119, label %120, label %121 120: ; preds = %115 store i32 0, ptr %13, align 4 br label %148 121: ; preds = %115 store i32 1, ptr %13, align 4 %122 = load ptr, ptr %8, align 8 %123 = getelementptr inbounds i8, ptr %122, i64 -4 store ptr %123, ptr %8, align 8 br label %124 124: ; preds = %136, %121 %125 = load ptr, ptr %8, align 8 %126 = load i8, ptr %125, align 1 %127 = sext i8 %126 to i32 %128 = icmp ne i32 %127, 47 br i1 %128, label %129, label %134 129: ; preds = %124 %130 = load ptr, ptr %8, align 8 %131 = load i8, ptr %130, align 1 %132 = sext i8 %131 to i32 %133 = icmp ne i32 %132, 0 br label %134 134: ; preds = %129, %124 %135 = phi i1 [ false, %124 ], [ %133, %129 ] br i1 %135, label %136, label %139 136: ; preds = %134 %137 = load ptr, ptr %8, align 8 %138 = getelementptr inbounds i8, ptr %137, i32 -1 store ptr %138, ptr %8, align 8 br label %124, !llvm.loop !6 139: ; preds = %134 %140 = load ptr, ptr %8, align 8 %141 = load i8, ptr %140, align 1 %142 = sext i8 %141 to i32 %143 = icmp eq i32 %142, 0 br i1 %143, label %144, label %147 144: ; preds = %139 %145 = load ptr, ptr %8, align 8 %146 = getelementptr inbounds i8, ptr %145, i32 1 store ptr %146, ptr %8, align 8 br label %147 147: ; preds = %144, %139 store i32 1, ptr %13, align 4 br label %148 148: ; preds = %147, %120, %114, %104, %98, %88, %82, %73 %149 = load ptr, ptr %14, align 8 %150 = getelementptr inbounds i8, ptr %149, i32 1 store ptr %150, ptr %14, align 8 %151 = load i8, ptr %149, align 1 %152 = load ptr, ptr %8, align 8 %153 = getelementptr inbounds i8, ptr %152, i32 1 store ptr %153, ptr %8, align 8 store i8 %151, ptr %152, align 1 %154 = load ptr, ptr %14, align 8 %155 = load i8, ptr %154, align 1 %156 = icmp ne i8 %155, 0 br i1 %156, label %73, label %._crit_edge5, !llvm.loop !8 ._crit_edge5: ; preds = %148 br label %157 157: ; preds = %._crit_edge5, %69 %158 = load ptr, ptr %8, align 8 store i8 0, ptr %158, align 1 %159 = load ptr, ptr %10, align 8 %160 = getelementptr inbounds i8, ptr %159, i64 1 store ptr %160, ptr %8, align 8 br label %255 161: ; preds = %3 %162 = load ptr, ptr %6, align 8 store ptr %162, ptr %15, align 8 %163 = load ptr, ptr %5, align 8 %164 = call i64 @strlen(ptr noundef %163) %165 = add i64 %164, 1 store i64 %165, ptr %17, align 8 %166 = load ptr, ptr %15, align 8 store ptr %166, ptr %16, align 8 %167 = load ptr, ptr %16, align 8 %168 = icmp ne ptr %167, null br i1 %168, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %161 br label %169 169: ; preds = %.lr.ph2, %249 %170 = load ptr, ptr %15, align 8 %171 = call ptr @strchr(ptr noundef %170, i8 noundef signext 58) store ptr %171, ptr %16, align 8 %172 = load ptr, ptr %16, align 8 %173 = icmp ne ptr %172, null br i1 %173, label %174, label %181 174: ; preds = %169 %175 = load ptr, ptr %16, align 8 %176 = load ptr, ptr %15, align 8 %177 = ptrtoint ptr %175 to i64 %178 = ptrtoint ptr %176 to i64 %179 = sub i64 %177, %178 %180 = trunc i64 %179 to i32 br label %185 181: ; preds = %169 %182 = load ptr, ptr %15, align 8 %183 = call i64 @strlen(ptr noundef %182) %184 = trunc i64 %183 to i32 br label %185 185: ; preds = %181, %174 %186 = phi i32 [ %180, %174 ], [ %184, %181 ] store i32 %186, ptr %19, align 4 %187 = load i32, ptr %19, align 4 %188 = sext i32 %187 to i64 %189 = load i64, ptr %17, align 8 %190 = add i64 %188, %189 %191 = load i64, ptr %11, align 8 %192 = sub i64 %191, 5 %193 = icmp ugt i64 %190, %192 br i1 %193, label %194, label %195 194: ; preds = %185 br label %249 195: ; preds = %185 %196 = load ptr, ptr %10, align 8 %197 = getelementptr inbounds i8, ptr %196, i64 1 %198 = load ptr, ptr %15, align 8 %199 = load i32, ptr %19, align 4 %200 = sext i32 %199 to i64 %201 = call i32 @memcpy(ptr noundef %197, ptr noundef %198, i64 noundef %200) %202 = load ptr, ptr %10, align 8 %203 = load i32, ptr %19, align 4 %204 = sext i32 %203 to i64 %205 = getelementptr inbounds i8, ptr %202, i64 %204 store ptr %205, ptr %18, align 8 %206 = load ptr, ptr %18, align 8 %207 = getelementptr inbounds i8, ptr %206, i32 1 store ptr %207, ptr %18, align 8 %208 = load i8, ptr %206, align 1 %209 = sext i8 %208 to i32 %210 = icmp ne i32 %209, 47 br i1 %210, label %211, label %214 211: ; preds = %195 %212 = load ptr, ptr %18, align 8 %213 = getelementptr inbounds i8, ptr %212, i32 1 store ptr %213, ptr %18, align 8 store i8 47, ptr %212, align 1 br label %214 214: ; preds = %211, %195 %215 = load ptr, ptr %18, align 8 %216 = load ptr, ptr %5, align 8 %217 = load i64, ptr %17, align 8 %218 = call i32 @memcpy(ptr noundef %215, ptr noundef %216, i64 noundef %217) %219 = load ptr, ptr %10, align 8 %220 = getelementptr inbounds i8, ptr %219, i64 1 store ptr %220, ptr %9, align 8 %221 = load ptr, ptr %9, align 8 %222 = load i8, ptr %221, align 1 %223 = sext i8 %222 to i32 %224 = icmp ne i32 %223, 0 br i1 %224, label %.lr.ph, label %240 .lr.ph: ; preds = %214 br label %225 225: ; preds = %.lr.ph, %233 %226 = load ptr, ptr %9, align 8 %227 = load i8, ptr %226, align 1 %228 = sext i8 %227 to i32 %229 = icmp eq i32 %228, 92 br i1 %229, label %230, label %232 230: ; preds = %225 %231 = load ptr, ptr %9, align 8 store i8 47, ptr %231, align 1 br label %232 232: ; preds = %230, %225 br label %233 233: ; preds = %232 %234 = load ptr, ptr %9, align 8 %235 = getelementptr inbounds i8, ptr %234, i32 1 store ptr %235, ptr %9, align 8 %236 = load ptr, ptr %9, align 8 %237 = load i8, ptr %236, align 1 %238 = sext i8 %237 to i32 %239 = icmp ne i32 %238, 0 br i1 %239, label %225, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %233 br label %240 240: ; preds = %._crit_edge, %214 %241 = load ptr, ptr %10, align 8 %242 = getelementptr inbounds i8, ptr %241, i64 1 %243 = load i32, ptr %7, align 4 %244 = call i64 @ioutil_access(ptr noundef %242, i32 noundef %243) %245 = icmp eq i64 %244, 0 br i1 %245, label %246, label %248 246: ; preds = %240 %247 = load ptr, ptr %18, align 8 store ptr %247, ptr %8, align 8 br label %254 248: ; preds = %240 br label %249 249: ; preds = %248, %194 %250 = load ptr, ptr %16, align 8 %251 = getelementptr inbounds i8, ptr %250, i64 1 store ptr %251, ptr %15, align 8 %252 = load ptr, ptr %16, align 8 %253 = icmp ne ptr %252, null br i1 %253, label %169, label %..loopexit_crit_edge, !llvm.loop !10 ..loopexit_crit_edge: ; preds = %249 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %161 br label %254 254: ; preds = %.loopexit, %246 br label %255 255: ; preds = %254, %157 %256 = load ptr, ptr %8, align 8 %257 = icmp ne ptr %256, null br i1 %257, label %258, label %265 258: ; preds = %255 %259 = load ptr, ptr %10, align 8 %260 = getelementptr inbounds i8, ptr %259, i64 1 %261 = call ptr @lib_stralloc(ptr noundef %260) store ptr %261, ptr %20, align 8 %262 = load ptr, ptr %10, align 8 %263 = call i32 @lib_free(ptr noundef %262) %264 = load ptr, ptr %20, align 8 store ptr %264, ptr %4, align 8 br label %269 265: ; preds = %255 br label %266 266: ; preds = %265, %55, %41 %267 = load ptr, ptr %10, align 8 %268 = call i32 @lib_free(ptr noundef %267) store ptr null, ptr %4, align 8 br label %269 269: ; preds = %266, %258 %270 = load ptr, ptr %4, align 8 ret ptr %270 } declare i64 @ioutil_maxpathlen(...) #1 declare ptr @lib_malloc(i64 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i64 @archdep_path_is_relative(ptr noundef) #1 declare ptr @ioutil_getcwd(ptr noundef, i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 declare i64 @ioutil_access(ptr noundef, i32 noundef) #1 declare ptr @lib_stralloc(ptr noundef) #1 declare i32 @lib_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/tmptlbm22ja.c' source_filename = "/tmp/tmptlbm22ja.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [51 x i8] c"How tall should the pyramid be, between 0 and 23?\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i8, align 1 %5 = alloca i8, align 1 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i8 35, ptr %4, align 1 store i8 32, ptr %5, align 1 br label %7 7: ; preds = %16, %0 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) br label %10 10: ; preds = %7 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %10 %14 = load i32, ptr %2, align 4 %15 = icmp sgt i32 %14, 23 br label %16 16: ; preds = %13, %10 %17 = phi i1 [ true, %10 ], [ %15, %13 ] br i1 %17, label %7, label %18, !llvm.loop !6 18: ; preds = %16 store i32 1, ptr %3, align 4 br label %19 19: ; preds = %49, %18 %20 = load i32, ptr %3, align 4 %21 = load i32, ptr %2, align 4 %22 = icmp sle i32 %20, %21 br i1 %22, label %23, label %52 23: ; preds = %19 store i32 0, ptr %6, align 4 br label %24 24: ; preds = %44, %23 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %2, align 4 %27 = add nsw i32 %26, 1 %28 = icmp slt i32 %25, %27 br i1 %28, label %29, label %47 29: ; preds = %24 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %2, align 4 %32 = load i32, ptr %3, align 4 %33 = sub nsw i32 %31, %32 %34 = icmp slt i32 %30, %33 br i1 %34, label %35, label %39 35: ; preds = %29 %36 = load i8, ptr %5, align 1 %37 = sext i8 %36 to i32 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %37) br label %43 39: ; preds = %29 %40 = load i8, ptr %4, align 1 %41 = sext i8 %40 to i32 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %41) br label %43 43: ; preds = %39, %35 br label %44 44: ; preds = %43 %45 = load i32, ptr %6, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %6, align 4 br label %24, !llvm.loop !8 47: ; preds = %24 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %49 49: ; preds = %47 %50 = load i32, ptr %3, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %3, align 4 br label %19, !llvm.loop !9 52: ; preds = %19 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptlbm22ja.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [51 x i8] c"How tall should the pyramid be, between 0 and 23?\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i8, align 1 %5 = alloca i8, align 1 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i8 35, ptr %4, align 1 store i8 32, ptr %5, align 1 br label %7 7: ; preds = %16, %0 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) br label %10 10: ; preds = %7 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %10 %14 = load i32, ptr %2, align 4 %15 = icmp sgt i32 %14, 23 br label %16 16: ; preds = %13, %10 %17 = phi i1 [ true, %10 ], [ %15, %13 ] br i1 %17, label %7, label %18, !llvm.loop !6 18: ; preds = %16 store i32 1, ptr %3, align 4 %19 = load i32, ptr %3, align 4 %20 = load i32, ptr %2, align 4 %21 = icmp sle i32 %19, %20 br i1 %21, label %.lr.ph2, label %57 .lr.ph2: ; preds = %18 br label %22 22: ; preds = %.lr.ph2, %51 store i32 0, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = load i32, ptr %2, align 4 %25 = add nsw i32 %24, 1 %26 = icmp slt i32 %23, %25 br i1 %26, label %.lr.ph, label %49 .lr.ph: ; preds = %22 br label %27 27: ; preds = %.lr.ph, %42 %28 = load i32, ptr %6, align 4 %29 = load i32, ptr %2, align 4 %30 = load i32, ptr %3, align 4 %31 = sub nsw i32 %29, %30 %32 = icmp slt i32 %28, %31 br i1 %32, label %33, label %37 33: ; preds = %27 %34 = load i8, ptr %5, align 1 %35 = sext i8 %34 to i32 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35) br label %41 37: ; preds = %27 %38 = load i8, ptr %4, align 1 %39 = sext i8 %38 to i32 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %39) br label %41 41: ; preds = %37, %33 br label %42 42: ; preds = %41 %43 = load i32, ptr %6, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %6, align 4 %45 = load i32, ptr %6, align 4 %46 = load i32, ptr %2, align 4 %47 = add nsw i32 %46, 1 %48 = icmp slt i32 %45, %47 br i1 %48, label %27, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %42 br label %49 49: ; preds = %._crit_edge, %22 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %51 51: ; preds = %49 %52 = load i32, ptr %3, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %3, align 4 %54 = load i32, ptr %3, align 4 %55 = load i32, ptr %2, align 4 %56 = icmp sle i32 %54, %55 br i1 %56, label %22, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %51 br label %57 57: ; preds = %._crit_edge3, %18 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp69930inv.c' source_filename = "/tmp/tmp69930inv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"/dev/ttyS0\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_NOCTTY = dso_local global i32 0, align 4 @O_NDELAY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [43 x i8] c"open_port: Unable to open /dev/ttyS0 - %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @open_port() #0 { %1 = alloca i32, align 4 %2 = load i32, ptr @O_RDWR, align 4 %3 = load i32, ptr @O_NOCTTY, align 4 %4 = or i32 %2, %3 %5 = load i32, ptr @O_NDELAY, align 4 %6 = or i32 %4, %5 %7 = call i32 @open(ptr noundef @.str, i32 noundef %6) store i32 %7, ptr %1, align 4 %8 = load i32, ptr %1, align 4 %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %15 10: ; preds = %0 %11 = load i32, ptr @stderr, align 4 %12 = load i32, ptr @errno, align 4 %13 = call ptr @strerror(i32 noundef %12) %14 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.1, ptr noundef %13) br label %15 15: ; preds = %10, %0 %16 = load i32, ptr %1, align 4 ret i32 %16 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(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/tmp69930inv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"/dev/ttyS0\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_NOCTTY = dso_local global i32 0, align 4 @O_NDELAY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [43 x i8] c"open_port: Unable to open /dev/ttyS0 - %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @open_port() #0 { %1 = alloca i32, align 4 %2 = load i32, ptr @O_RDWR, align 4 %3 = load i32, ptr @O_NOCTTY, align 4 %4 = or i32 %2, %3 %5 = load i32, ptr @O_NDELAY, align 4 %6 = or i32 %4, %5 %7 = call i32 @open(ptr noundef @.str, i32 noundef %6) store i32 %7, ptr %1, align 4 %8 = load i32, ptr %1, align 4 %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %15 10: ; preds = %0 %11 = load i32, ptr @stderr, align 4 %12 = load i32, ptr @errno, align 4 %13 = call ptr @strerror(i32 noundef %12) %14 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.1, ptr noundef %13) br label %15 15: ; preds = %10, %0 %16 = load i32, ptr %1, align 4 ret i32 %16 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(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/tmp3dx9x_ah.c' source_filename = "/tmp/tmp3dx9x_ah.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i8, align 1 store i32 0, ptr %1, align 4 %3 = call i32 (...) @init_uart() br label %4 4: ; preds = %0, %4 %5 = call signext i8 (...) @getchar() store i8 %5, ptr %2, align 1 %6 = load i8, ptr %2, align 1 %7 = sext i8 %6 to i32 %8 = add nsw i32 %7, 1 %9 = trunc i32 %8 to i8 %10 = call i32 @putchar(i8 noundef signext %9) br label %4 } declare i32 @init_uart(...) #1 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3dx9x_ah.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i8, align 1 store i32 0, ptr %1, align 4 %3 = call i32 (...) @init_uart() br label %4 4: ; preds = %4, %0 %5 = call signext i8 (...) @getchar() store i8 %5, ptr %2, align 1 %6 = load i8, ptr %2, align 1 %7 = sext i8 %6 to i32 %8 = add nsw i32 %7, 1 %9 = trunc i32 %8 to i8 %10 = call i32 @putchar(i8 noundef signext %9) br label %4 } declare i32 @init_uart(...) #1 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"}
; ModuleID = '/tmp/tmp85ixdobf.c' source_filename = "/tmp/tmp85ixdobf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"HTTP_X_FORWARDED_PROTO\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"https\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"SERVER_PORT\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"443\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"HTTPS\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"on\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"80\00", align 1 @.str.7 = private unnamed_addr constant [21 x i8] c"HTTP_X_FORWARDED_FOR\00", align 1 @.str.8 = private unnamed_addr constant [12 x i8] c"REMOTE_ADDR\00", align 1 @.str.9 = private unnamed_addr constant [17 x i8] c"/usr/bin/php-cgi\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca [16 x i8], align 16 store i32 0, ptr %1, align 4 %5 = call ptr @getenv(ptr noundef @.str) 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 %23 8: ; preds = %0 %9 = load ptr, ptr %2, align 8 %10 = call i64 @strnlen(ptr noundef %9, i32 noundef 5) %11 = icmp eq i64 %10, 5 br i1 %11, label %12, label %19 12: ; preds = %8 %13 = load ptr, ptr %2, align 8 %14 = call i64 @strncmp(ptr noundef %13, ptr noundef @.str.1, i32 noundef 5) %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %12 %17 = call i32 @setenv(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 1) %18 = call i32 @setenv(ptr noundef @.str.4, ptr noundef @.str.5, i32 noundef 1) br label %22 19: ; preds = %12, %8 %20 = call i32 @setenv(ptr noundef @.str.2, ptr noundef @.str.6, i32 noundef 1) %21 = call i32 @unsetenv(ptr noundef @.str.4) br label %22 22: ; preds = %19, %16 br label %23 23: ; preds = %22, %0 %24 = call ptr @getenv(ptr noundef @.str.7) store ptr %24, ptr %3, align 8 %25 = load ptr, ptr %3, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %27, label %38 27: ; preds = %23 %28 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %29 = load ptr, ptr %3, align 8 %30 = call i32 @get_first_address(ptr noundef %28, i32 noundef 16, ptr noundef %29) %31 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %32 = call i64 @strnlen(ptr noundef %31, i32 noundef 15) %33 = icmp sgt i64 %32, 0 br i1 %33, label %34, label %37 34: ; preds = %27 %35 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %36 = call i32 @setenv(ptr noundef @.str.8, ptr noundef %35, i32 noundef 1) br label %37 37: ; preds = %34, %27 br label %38 38: ; preds = %37, %23 %39 = call i32 @unsetenv(ptr noundef @.str.7) %40 = call i32 @unsetenv(ptr noundef @.str) %41 = call i32 @system(ptr noundef @.str.9) ret i32 0 } declare ptr @getenv(ptr noundef) #1 declare i64 @strnlen(ptr noundef, i32 noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @unsetenv(ptr noundef) #1 declare i32 @get_first_address(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp85ixdobf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"HTTP_X_FORWARDED_PROTO\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"https\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"SERVER_PORT\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"443\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"HTTPS\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"on\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"80\00", align 1 @.str.7 = private unnamed_addr constant [21 x i8] c"HTTP_X_FORWARDED_FOR\00", align 1 @.str.8 = private unnamed_addr constant [12 x i8] c"REMOTE_ADDR\00", align 1 @.str.9 = private unnamed_addr constant [17 x i8] c"/usr/bin/php-cgi\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca [16 x i8], align 16 store i32 0, ptr %1, align 4 %5 = call ptr @getenv(ptr noundef @.str) 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 %23 8: ; preds = %0 %9 = load ptr, ptr %2, align 8 %10 = call i64 @strnlen(ptr noundef %9, i32 noundef 5) %11 = icmp eq i64 %10, 5 br i1 %11, label %12, label %19 12: ; preds = %8 %13 = load ptr, ptr %2, align 8 %14 = call i64 @strncmp(ptr noundef %13, ptr noundef @.str.1, i32 noundef 5) %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %12 %17 = call i32 @setenv(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 1) %18 = call i32 @setenv(ptr noundef @.str.4, ptr noundef @.str.5, i32 noundef 1) br label %22 19: ; preds = %12, %8 %20 = call i32 @setenv(ptr noundef @.str.2, ptr noundef @.str.6, i32 noundef 1) %21 = call i32 @unsetenv(ptr noundef @.str.4) br label %22 22: ; preds = %19, %16 br label %23 23: ; preds = %22, %0 %24 = call ptr @getenv(ptr noundef @.str.7) store ptr %24, ptr %3, align 8 %25 = load ptr, ptr %3, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %27, label %38 27: ; preds = %23 %28 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %29 = load ptr, ptr %3, align 8 %30 = call i32 @get_first_address(ptr noundef %28, i32 noundef 16, ptr noundef %29) %31 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %32 = call i64 @strnlen(ptr noundef %31, i32 noundef 15) %33 = icmp sgt i64 %32, 0 br i1 %33, label %34, label %37 34: ; preds = %27 %35 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %36 = call i32 @setenv(ptr noundef @.str.8, ptr noundef %35, i32 noundef 1) br label %37 37: ; preds = %34, %27 br label %38 38: ; preds = %37, %23 %39 = call i32 @unsetenv(ptr noundef @.str.7) %40 = call i32 @unsetenv(ptr noundef @.str) %41 = call i32 @system(ptr noundef @.str.9) ret i32 0 } declare ptr @getenv(ptr noundef) #1 declare i64 @strnlen(ptr noundef, i32 noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @unsetenv(ptr noundef) #1 declare i32 @get_first_address(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8doc_brt.c' source_filename = "/tmp/tmp8doc_brt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @charToBinASCII(i8 noundef zeroext %0) #0 { %2 = alloca i64, align 8 %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1 %4 = load i8, ptr %3, align 1 %5 = zext i8 %4 to i32 switch i32 %5, label %10 [ i32 65, label %6 i32 97, label %6 i32 67, label %7 i32 99, label %7 i32 71, label %8 i32 103, label %8 i32 84, label %9 i32 116, label %9 ] 6: ; preds = %1, %1 store i64 0, ptr %2, align 8 br label %11 7: ; preds = %1, %1 store i64 1152921504606846976, ptr %2, align 8 br label %11 8: ; preds = %1, %1 store i64 2305843009213693952, ptr %2, align 8 br label %11 9: ; preds = %1, %1 store i64 3458764513820540928, ptr %2, align 8 br label %11 10: ; preds = %1 store i64 4611686018427387904, ptr %2, align 8 br label %11 11: ; preds = %10, %9, %8, %7, %6 %12 = load i64, ptr %2, align 8 ret i64 %12 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8doc_brt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @charToBinASCII(i8 noundef zeroext %0) #0 { %2 = alloca i64, align 8 %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1 %4 = load i8, ptr %3, align 1 %5 = zext i8 %4 to i32 switch i32 %5, label %10 [ i32 65, label %6 i32 97, label %6 i32 67, label %7 i32 99, label %7 i32 71, label %8 i32 103, label %8 i32 84, label %9 i32 116, label %9 ] 6: ; preds = %1, %1 store i64 0, ptr %2, align 8 br label %11 7: ; preds = %1, %1 store i64 1152921504606846976, ptr %2, align 8 br label %11 8: ; preds = %1, %1 store i64 2305843009213693952, ptr %2, align 8 br label %11 9: ; preds = %1, %1 store i64 3458764513820540928, ptr %2, align 8 br label %11 10: ; preds = %1 store i64 4611686018427387904, ptr %2, align 8 br label %11 11: ; preds = %10, %9, %8, %7, %6 %12 = load i64, ptr %2, align 8 ret i64 %12 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw5w3gqus.c' source_filename = "/tmp/tmpw5w3gqus.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"'h' - help\0A\00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"'l' - toggle linear/nearest filter\0A\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"'s' - toggle projection frustum\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"'t' - toggle projected texture\0A\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"'o' - toggle object\0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"'z' - increase zoom factor\0A\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"'Z' - decrease zoom factor\0A\00", align 1 @.str.7 = private unnamed_addr constant [28 x i8] c"left mouse - move view\0A\00", align 1 @.str.8 = private unnamed_addr constant [34 x i8] c"middle mouse - move projection\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw5w3gqus.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"'h' - help\0A\00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"'l' - toggle linear/nearest filter\0A\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"'s' - toggle projection frustum\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"'t' - toggle projected texture\0A\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"'o' - toggle object\0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"'z' - increase zoom factor\0A\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"'Z' - decrease zoom factor\0A\00", align 1 @.str.7 = private unnamed_addr constant [28 x i8] c"left mouse - move view\0A\00", align 1 @.str.8 = private unnamed_addr constant [34 x i8] c"middle mouse - move projection\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmph2vqctum.c' source_filename = "/tmp/tmph2vqctum.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"create file success, now close it\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 store i32 0, ptr %1, align 4 %3 = call i32 (...) @secure_temp_file() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp ne i32 %4, -1 br i1 %5, label %6, label %10 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str) %8 = load i32, ptr %2, align 4 %9 = call i32 @close(i32 noundef %8) br label %10 10: ; preds = %6, %0 %11 = load i32, ptr %1, align 4 ret i32 %11 } declare i32 @secure_temp_file(...) #1 declare i32 @printf(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/tmph2vqctum.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"create file success, now close it\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 store i32 0, ptr %1, align 4 %3 = call i32 (...) @secure_temp_file() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp ne i32 %4, -1 br i1 %5, label %6, label %10 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str) %8 = load i32, ptr %2, align 4 %9 = call i32 @close(i32 noundef %8) br label %10 10: ; preds = %6, %0 %11 = load i32, ptr %1, align 4 ret i32 %11 } declare i32 @secure_temp_file(...) #1 declare i32 @printf(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/tmpaqdgm7pz.c' source_filename = "/tmp/tmpaqdgm7pz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%lf %lf\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [2 x double], align 16 %3 = alloca [2 x double], align 16 %4 = alloca [2 x double], align 16 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = getelementptr inbounds [2 x double], ptr %2, i64 0, i64 0 %7 = getelementptr inbounds [2 x double], ptr %2, i64 0, i64 1 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %7) %9 = getelementptr inbounds [2 x double], ptr %3, i64 0, i64 0 %10 = getelementptr inbounds [2 x double], ptr %3, i64 0, i64 1 %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %9, ptr noundef %10) %12 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %13 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1 %14 = call i32 @scanf(ptr noundef @.str, ptr noundef %12, ptr noundef %13) %15 = getelementptr inbounds [2 x double], ptr %2, i64 0, i64 0 %16 = load double, ptr %15, align 16 %17 = getelementptr inbounds [2 x double], ptr %2, i64 0, i64 1 %18 = load double, ptr %17, align 8 %19 = fdiv double %18, 1.000000e+01 %20 = getelementptr inbounds [2 x double], ptr %3, i64 0, i64 0 %21 = load double, ptr %20, align 16 %22 = getelementptr inbounds [2 x double], ptr %3, i64 0, i64 1 %23 = load double, ptr %22, align 8 %24 = fdiv double %23, 1.000000e+01 %25 = fmul double %21, %24 %26 = call double @llvm.fmuladd.f64(double %16, double %19, double %25) %27 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %28 = load double, ptr %27, align 16 %29 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1 %30 = load double, ptr %29, align 8 %31 = fdiv double %30, 1.000000e+01 %32 = call double @llvm.fmuladd.f64(double %28, double %31, double %26) %33 = fptosi double %32 to i32 store i32 %33, ptr %5, align 4 %34 = load i32, ptr %5, align 4 %35 = call i32 @printf(ptr noundef @.str.1, i32 noundef %34) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaqdgm7pz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%lf %lf\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [2 x double], align 16 %3 = alloca [2 x double], align 16 %4 = alloca [2 x double], align 16 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = getelementptr inbounds [2 x double], ptr %2, i64 0, i64 0 %7 = getelementptr inbounds [2 x double], ptr %2, i64 0, i64 1 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %7) %9 = getelementptr inbounds [2 x double], ptr %3, i64 0, i64 0 %10 = getelementptr inbounds [2 x double], ptr %3, i64 0, i64 1 %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %9, ptr noundef %10) %12 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %13 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1 %14 = call i32 @scanf(ptr noundef @.str, ptr noundef %12, ptr noundef %13) %15 = getelementptr inbounds [2 x double], ptr %2, i64 0, i64 0 %16 = load double, ptr %15, align 16 %17 = getelementptr inbounds [2 x double], ptr %2, i64 0, i64 1 %18 = load double, ptr %17, align 8 %19 = fdiv double %18, 1.000000e+01 %20 = getelementptr inbounds [2 x double], ptr %3, i64 0, i64 0 %21 = load double, ptr %20, align 16 %22 = getelementptr inbounds [2 x double], ptr %3, i64 0, i64 1 %23 = load double, ptr %22, align 8 %24 = fdiv double %23, 1.000000e+01 %25 = fmul double %21, %24 %26 = call double @llvm.fmuladd.f64(double %16, double %19, double %25) %27 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %28 = load double, ptr %27, align 16 %29 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1 %30 = load double, ptr %29, align 8 %31 = fdiv double %30, 1.000000e+01 %32 = call double @llvm.fmuladd.f64(double %28, double %31, double %26) %33 = fptosi double %32 to i32 store i32 %33, ptr %5, align 4 %34 = load i32, ptr %5, align 4 %35 = call i32 @printf(ptr noundef @.str.1, i32 noundef %34) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkmnmk9g1.c' source_filename = "/tmp/tmpkmnmk9g1.c" target datalayout = "e-m:e-p270: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/tmpkmnmk9g1.c" target datalayout = "e-m:e-p270: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/tmpy51nnsfx.c' source_filename = "/tmp/tmpy51nnsfx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MakeDoubleLiteral(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = call i64 @malloc(i32 noundef 8) %7 = inttoptr i64 %6 to ptr store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 (...) @Fatal_OutOfMemory() br label %12 12: ; preds = %10, %2 %13 = load ptr, ptr %3, align 8 %14 = call double @atof(ptr noundef %13) %15 = load ptr, ptr %5, align 8 store double %14, ptr %15, align 8 %16 = load ptr, ptr %5, align 8 %17 = ptrtoint ptr %16 to i64 %18 = load ptr, ptr %4, align 8 store i64 %17, ptr %18, align 8 ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @Fatal_OutOfMemory(...) #1 declare double @atof(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy51nnsfx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MakeDoubleLiteral(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = call i64 @malloc(i32 noundef 8) %7 = inttoptr i64 %6 to ptr store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 (...) @Fatal_OutOfMemory() br label %12 12: ; preds = %10, %2 %13 = load ptr, ptr %3, align 8 %14 = call double @atof(ptr noundef %13) %15 = load ptr, ptr %5, align 8 store double %14, ptr %15, align 8 %16 = load ptr, ptr %5, align 8 %17 = ptrtoint ptr %16 to i64 %18 = load ptr, ptr %4, align 8 store i64 %17, ptr %18, align 8 ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @Fatal_OutOfMemory(...) #1 declare double @atof(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_mz12mub.c' source_filename = "/tmp/tmp_mz12mub.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reb_random_powerlaw(ptr noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 store ptr %0, ptr %6, align 8 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store double %3, ptr %9, align 8 %11 = load ptr, ptr %6, align 8 %12 = call double @reb_random_uniform(ptr noundef %11, i32 noundef 0, i32 noundef 1) store double %12, ptr %10, align 8 %13 = load double, ptr %9, align 8 %14 = fcmp oeq double %13, -1.000000e+00 br i1 %14, label %15, label %25 15: ; preds = %4 %16 = load double, ptr %10, align 8 %17 = load double, ptr %8, align 8 %18 = load double, ptr %7, align 8 %19 = fdiv double %17, %18 %20 = call double @log(double noundef %19) #4 %21 = load double, ptr %7, align 8 %22 = call double @log(double noundef %21) #4 %23 = call double @llvm.fmuladd.f64(double %16, double %20, double %22) %24 = call double @exp(double noundef %23) #4 store double %24, ptr %5, align 8 br label %49 25: ; preds = %4 %26 = load double, ptr %8, align 8 %27 = load double, ptr %9, align 8 %28 = fadd double %27, 1.000000e+00 %29 = fptosi double %28 to i32 %30 = call double @pow(double noundef %26, i32 noundef %29) %31 = load double, ptr %7, align 8 %32 = load double, ptr %9, align 8 %33 = fadd double %32, 1.000000e+00 %34 = fptosi double %33 to i32 %35 = call double @pow(double noundef %31, i32 noundef %34) %36 = fsub double %30, %35 %37 = load double, ptr %10, align 8 %38 = load double, ptr %7, align 8 %39 = load double, ptr %9, align 8 %40 = fadd double %39, 1.000000e+00 %41 = fptosi double %40 to i32 %42 = call double @pow(double noundef %38, i32 noundef %41) %43 = call double @llvm.fmuladd.f64(double %36, double %37, double %42) %44 = load double, ptr %9, align 8 %45 = fadd double %44, 1.000000e+00 %46 = fdiv double 1.000000e+00, %45 %47 = fptosi double %46 to i32 %48 = call double @pow(double noundef %43, i32 noundef %47) store double %48, ptr %5, align 8 br label %49 49: ; preds = %25, %15 %50 = load double, ptr %5, align 8 ret double %50 } declare double @reb_random_uniform(ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nounwind declare double @exp(double noundef) #2 ; Function Attrs: nounwind declare double @log(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare double @pow(double 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { 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/tmp_mz12mub.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reb_random_powerlaw(ptr noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 store ptr %0, ptr %6, align 8 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store double %3, ptr %9, align 8 %11 = load ptr, ptr %6, align 8 %12 = call double @reb_random_uniform(ptr noundef %11, i32 noundef 0, i32 noundef 1) store double %12, ptr %10, align 8 %13 = load double, ptr %9, align 8 %14 = fcmp oeq double %13, -1.000000e+00 br i1 %14, label %15, label %25 15: ; preds = %4 %16 = load double, ptr %10, align 8 %17 = load double, ptr %8, align 8 %18 = load double, ptr %7, align 8 %19 = fdiv double %17, %18 %20 = call double @log(double noundef %19) #4 %21 = load double, ptr %7, align 8 %22 = call double @log(double noundef %21) #4 %23 = call double @llvm.fmuladd.f64(double %16, double %20, double %22) %24 = call double @exp(double noundef %23) #4 store double %24, ptr %5, align 8 br label %49 25: ; preds = %4 %26 = load double, ptr %8, align 8 %27 = load double, ptr %9, align 8 %28 = fadd double %27, 1.000000e+00 %29 = fptosi double %28 to i32 %30 = call double @pow(double noundef %26, i32 noundef %29) %31 = load double, ptr %7, align 8 %32 = load double, ptr %9, align 8 %33 = fadd double %32, 1.000000e+00 %34 = fptosi double %33 to i32 %35 = call double @pow(double noundef %31, i32 noundef %34) %36 = fsub double %30, %35 %37 = load double, ptr %10, align 8 %38 = load double, ptr %7, align 8 %39 = load double, ptr %9, align 8 %40 = fadd double %39, 1.000000e+00 %41 = fptosi double %40 to i32 %42 = call double @pow(double noundef %38, i32 noundef %41) %43 = call double @llvm.fmuladd.f64(double %36, double %37, double %42) %44 = load double, ptr %9, align 8 %45 = fadd double %44, 1.000000e+00 %46 = fdiv double 1.000000e+00, %45 %47 = fptosi double %46 to i32 %48 = call double @pow(double noundef %43, i32 noundef %47) store double %48, ptr %5, align 8 br label %49 49: ; preds = %25, %15 %50 = load double, ptr %5, align 8 ret double %50 } declare double @reb_random_uniform(ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nounwind declare double @exp(double noundef) #2 ; Function Attrs: nounwind declare double @log(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare double @pow(double 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { 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/tmprubhnfsn.c' source_filename = "/tmp/tmprubhnfsn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pid = %u, grp = %u\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"setpgid\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %5 = call i32 (...) @getpid() store i32 %5, ptr %3, align 4 %6 = call i32 (...) @getpgrp() store i32 %6, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8) %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = call i32 @setpgid(i32 noundef %10, i32 noundef %11) store i32 %12, ptr %2, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp eq i32 %13, -1 br i1 %14, label %15, label %17 15: ; preds = %0 %16 = call i32 @err_sys(ptr noundef @.str.1) br label %17 17: ; preds = %15, %0 %18 = call i32 (...) @print() %19 = load i32, ptr %4, align 4 %20 = call i32 @setpgid(i32 noundef 0, i32 noundef %19) store i32 %20, ptr %2, align 4 %21 = load i32, ptr %2, align 4 %22 = icmp eq i32 %21, -1 br i1 %22, label %23, label %25 23: ; preds = %17 %24 = call i32 @err_sys(ptr noundef @.str.1) br label %25 25: ; preds = %23, %17 %26 = call i32 (...) @print() %27 = load i32, ptr %3, align 4 %28 = call i32 @setpgid(i32 noundef %27, i32 noundef 0) store i32 %28, ptr %2, align 4 %29 = load i32, ptr %2, align 4 %30 = icmp eq i32 %29, -1 br i1 %30, label %31, label %33 31: ; preds = %25 %32 = call i32 @err_sys(ptr noundef @.str.1) br label %33 33: ; preds = %31, %25 %34 = call i32 (...) @print() %35 = load i32, ptr %3, align 4 %36 = load i32, ptr %4, align 4 %37 = call i32 @setpgid(i32 noundef %35, i32 noundef %36) store i32 %37, ptr %2, align 4 %38 = load i32, ptr %2, align 4 %39 = icmp eq i32 %38, -1 br i1 %39, label %40, label %42 40: ; preds = %33 %41 = call i32 @err_sys(ptr noundef @.str.1) br label %42 42: ; preds = %40, %33 %43 = call i32 (...) @print() %44 = call i32 @setpgid(i32 noundef 0, i32 noundef 0) store i32 %44, ptr %2, align 4 %45 = load i32, ptr %2, align 4 %46 = icmp eq i32 %45, -1 br i1 %46, label %47, label %49 47: ; preds = %42 %48 = call i32 @err_sys(ptr noundef @.str.1) br label %49 49: ; preds = %47, %42 %50 = call i32 (...) @print() ret i32 0 } declare i32 @getpid(...) #1 declare i32 @getpgrp(...) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @setpgid(i32 noundef, i32 noundef) #1 declare i32 @err_sys(ptr noundef) #1 declare i32 @print(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprubhnfsn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pid = %u, grp = %u\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"setpgid\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %5 = call i32 (...) @getpid() store i32 %5, ptr %3, align 4 %6 = call i32 (...) @getpgrp() store i32 %6, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8) %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = call i32 @setpgid(i32 noundef %10, i32 noundef %11) store i32 %12, ptr %2, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp eq i32 %13, -1 br i1 %14, label %15, label %17 15: ; preds = %0 %16 = call i32 @err_sys(ptr noundef @.str.1) br label %17 17: ; preds = %15, %0 %18 = call i32 (...) @print() %19 = load i32, ptr %4, align 4 %20 = call i32 @setpgid(i32 noundef 0, i32 noundef %19) store i32 %20, ptr %2, align 4 %21 = load i32, ptr %2, align 4 %22 = icmp eq i32 %21, -1 br i1 %22, label %23, label %25 23: ; preds = %17 %24 = call i32 @err_sys(ptr noundef @.str.1) br label %25 25: ; preds = %23, %17 %26 = call i32 (...) @print() %27 = load i32, ptr %3, align 4 %28 = call i32 @setpgid(i32 noundef %27, i32 noundef 0) store i32 %28, ptr %2, align 4 %29 = load i32, ptr %2, align 4 %30 = icmp eq i32 %29, -1 br i1 %30, label %31, label %33 31: ; preds = %25 %32 = call i32 @err_sys(ptr noundef @.str.1) br label %33 33: ; preds = %31, %25 %34 = call i32 (...) @print() %35 = load i32, ptr %3, align 4 %36 = load i32, ptr %4, align 4 %37 = call i32 @setpgid(i32 noundef %35, i32 noundef %36) store i32 %37, ptr %2, align 4 %38 = load i32, ptr %2, align 4 %39 = icmp eq i32 %38, -1 br i1 %39, label %40, label %42 40: ; preds = %33 %41 = call i32 @err_sys(ptr noundef @.str.1) br label %42 42: ; preds = %40, %33 %43 = call i32 (...) @print() %44 = call i32 @setpgid(i32 noundef 0, i32 noundef 0) store i32 %44, ptr %2, align 4 %45 = load i32, ptr %2, align 4 %46 = icmp eq i32 %45, -1 br i1 %46, label %47, label %49 47: ; preds = %42 %48 = call i32 @err_sys(ptr noundef @.str.1) br label %49 49: ; preds = %47, %42 %50 = call i32 (...) @print() ret i32 0 } declare i32 @getpid(...) #1 declare i32 @getpgrp(...) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @setpgid(i32 noundef, i32 noundef) #1 declare i32 @err_sys(ptr noundef) #1 declare i32 @print(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplxb51zj3.c' source_filename = "/tmp/tmplxb51zj3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINTR = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplxb51zj3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINTR = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxn05up3s.c' source_filename = "/tmp/tmpxn05up3s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"FAKE AND GAY\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"CORRECT\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @time(ptr noundef null) %6 = call i32 @srand(i32 noundef %5) store i32 0, ptr %4, align 4 br label %7 7: ; preds = %45, %0 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 10 br i1 %9, label %10, label %48 10: ; preds = %7 store i32 0, ptr %3, align 4 br label %11 11: ; preds = %14, %10 %12 = load i32, ptr %3, align 4 %13 = icmp slt i32 %12, 100 br i1 %13, label %14, label %23 14: ; preds = %11 %15 = call i32 (...) @rand() %16 = srem i32 %15, 200 %17 = sub nsw i32 %16, 100 %18 = load i32, ptr %3, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %19 store i32 %17, ptr %20, align 4 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %3, align 4 br label %11, !llvm.loop !6 23: ; preds = %11 %24 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0 %25 = call i32 @ft_sort_integer_table(ptr noundef %24, i32 noundef 100) store i32 1, ptr %3, align 4 br label %26 26: ; preds = %42, %23 %27 = load i32, ptr %3, align 4 %28 = icmp slt i32 %27, 100 br i1 %28, label %29, label %45 29: ; preds = %26 %30 = load i32, ptr %3, align 4 %31 = sub nsw i32 %30, 1 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %32 %34 = load i32, ptr %33, align 4 %35 = load i32, ptr %3, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %36 %38 = load i32, ptr %37, align 4 %39 = icmp sgt i32 %34, %38 br i1 %39, label %40, label %42 40: ; preds = %29 %41 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 br label %50 42: ; preds = %29 %43 = load i32, ptr %3, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %3, align 4 br label %26, !llvm.loop !8 45: ; preds = %26 %46 = load i32, ptr %4, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %4, align 4 br label %7, !llvm.loop !9 48: ; preds = %7 %49 = call i32 @printf(ptr noundef @.str.1) store i32 0, ptr %1, align 4 br label %50 50: ; preds = %48, %40 %51 = load i32, ptr %1, align 4 ret i32 %51 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @ft_sort_integer_table(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxn05up3s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"FAKE AND GAY\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"CORRECT\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @time(ptr noundef null) %6 = call i32 @srand(i32 noundef %5) store i32 0, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 10 br i1 %8, label %.lr.ph5, label %51 .lr.ph5: ; preds = %0 br label %9 9: ; preds = %.lr.ph5, %46 store i32 0, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %10, 100 br i1 %11, label %.lr.ph, label %23 .lr.ph: ; preds = %9 br label %12 12: ; preds = %.lr.ph, %12 %13 = call i32 (...) @rand() %14 = srem i32 %13, 200 %15 = sub nsw i32 %14, 100 %16 = load i32, ptr %3, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %17 store i32 %15, ptr %18, align 4 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp slt i32 %21, 100 br i1 %22, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %23 23: ; preds = %._crit_edge, %9 %24 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0 %25 = call i32 @ft_sort_integer_table(ptr noundef %24, i32 noundef 100) store i32 1, ptr %3, align 4 %26 = load i32, ptr %3, align 4 %27 = icmp slt i32 %26, 100 br i1 %27, label %.lr.ph2, label %46 .lr.ph2: ; preds = %23 br label %28 28: ; preds = %.lr.ph2, %41 %29 = load i32, ptr %3, align 4 %30 = sub nsw i32 %29, 1 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %31 %33 = load i32, ptr %32, align 4 %34 = load i32, ptr %3, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %35 %37 = load i32, ptr %36, align 4 %38 = icmp sgt i32 %33, %37 br i1 %38, label %39, label %41 39: ; preds = %28 %40 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 br label %53 41: ; preds = %28 %42 = load i32, ptr %3, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %3, align 4 %44 = load i32, ptr %3, align 4 %45 = icmp slt i32 %44, 100 br i1 %45, label %28, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %41 br label %46 46: ; preds = %._crit_edge3, %23 %47 = load i32, ptr %4, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %4, align 4 %49 = load i32, ptr %4, align 4 %50 = icmp slt i32 %49, 10 br i1 %50, label %9, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %46 br label %51 51: ; preds = %._crit_edge6, %0 %52 = call i32 @printf(ptr noundef @.str.1) store i32 0, ptr %1, align 4 br label %53 53: ; preds = %51, %39 %54 = load i32, ptr %1, align 4 ret i32 %54 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @ft_sort_integer_table(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpgm3wjqyh.c' source_filename = "/tmp/tmpgm3wjqyh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @newarr(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %8 = load i64, ptr %4, align 8 %9 = load i64, ptr %5, align 8 %10 = mul i64 %8, %9 %11 = add i64 8, %10 %12 = trunc i64 %11 to i32 %13 = call ptr @malloc(i32 noundef %12) store ptr %13, ptr %6, align 8 %14 = load ptr, ptr %6, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %17 16: ; preds = %2 store ptr null, ptr %3, align 8 br label %28 17: ; preds = %2 %18 = load i64, ptr %4, align 8 %19 = load ptr, ptr %6, align 8 store i64 %18, ptr %19, align 8 %20 = load ptr, ptr %6, align 8 %21 = getelementptr inbounds i32, ptr %20, i64 8 store ptr %21, ptr %7, align 8 %22 = load ptr, ptr %7, align 8 %23 = load i64, ptr %4, align 8 %24 = load i64, ptr %5, align 8 %25 = mul i64 %23, %24 %26 = call i32 @memset(ptr noundef %22, i32 noundef 0, i64 noundef %25) %27 = load ptr, ptr %7, align 8 store ptr %27, ptr %3, align 8 br label %28 28: ; preds = %17, %16 %29 = load ptr, ptr %3, align 8 ret ptr %29 } declare ptr @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgm3wjqyh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @newarr(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %8 = load i64, ptr %4, align 8 %9 = load i64, ptr %5, align 8 %10 = mul i64 %8, %9 %11 = add i64 8, %10 %12 = trunc i64 %11 to i32 %13 = call ptr @malloc(i32 noundef %12) store ptr %13, ptr %6, align 8 %14 = load ptr, ptr %6, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %17 16: ; preds = %2 store ptr null, ptr %3, align 8 br label %28 17: ; preds = %2 %18 = load i64, ptr %4, align 8 %19 = load ptr, ptr %6, align 8 store i64 %18, ptr %19, align 8 %20 = load ptr, ptr %6, align 8 %21 = getelementptr inbounds i32, ptr %20, i64 8 store ptr %21, ptr %7, align 8 %22 = load ptr, ptr %7, align 8 %23 = load i64, ptr %4, align 8 %24 = load i64, ptr %5, align 8 %25 = mul i64 %23, %24 %26 = call i32 @memset(ptr noundef %22, i32 noundef 0, i64 noundef %25) %27 = load ptr, ptr %7, align 8 store ptr %27, ptr %3, align 8 br label %28 28: ; preds = %17, %16 %29 = load ptr, ptr %3, align 8 ret ptr %29 } declare ptr @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdnocsdo7.c' source_filename = "/tmp/tmpdnocsdo7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @extract_h(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i64, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = ashr i32 %4, 16 %6 = sext i32 %5 to i64 store i64 %6, ptr %3, align 8 %7 = load i64, ptr %3, align 8 ret i64 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdnocsdo7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @extract_h(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i64, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = ashr i32 %4, 16 %6 = sext i32 %5 to i64 store i64 %6, ptr %3, align 8 %7 = load i64, ptr %3, align 8 ret i64 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpejm7pddx.c' source_filename = "/tmp/tmpejm7pddx.c" target datalayout = "e-m:e-p270: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/tmpejm7pddx.c" target datalayout = "e-m:e-p270: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/tmp050a7iaa.c' source_filename = "/tmp/tmp050a7iaa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_pic0_mask(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @outb(i32 noundef 33, i32 noundef %3) ret void } declare i32 @outb(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/tmp050a7iaa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_pic0_mask(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @outb(i32 noundef 33, i32 noundef %3) ret void } declare i32 @outb(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/tmp05re8mns.c' source_filename = "/tmp/tmp05re8mns.c" target datalayout = "e-m:e-p270: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 [1 x i8] zeroinitializer, align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%4s %75s\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"/* %s */\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c" /* %s */\0A\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"#define SGF%s %5d\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [128 x i8], align 16 %3 = alloca [128 x i8], align 16 %4 = alloca [128 x i8], align 16 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %6 6: ; preds = %115, %97, %45, %0 %7 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %8 = load i32, ptr @stdin, align 4 %9 = call i64 @fgets(ptr noundef %7, i32 noundef 128, i32 noundef %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %116 11: ; preds = %6 %12 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %13 = call i32 @strlen(ptr noundef %12) %14 = sub nsw i32 %13, 1 store i32 %14, ptr %5, align 4 br label %15 15: ; preds = %36, %11 %16 = load i32, ptr %5, align 4 %17 = icmp sge i32 %16, 0 br i1 %17, label %18, label %34 18: ; preds = %15 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 32 br i1 %24, label %32, label %25 25: ; preds = %18 %26 = load i32, ptr %5, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 10 br label %32 32: ; preds = %25, %18 %33 = phi i1 [ true, %18 ], [ %31, %25 ] br label %34 34: ; preds = %32, %15 %35 = phi i1 [ false, %15 ], [ %33, %32 ] br i1 %35, label %36, label %41 36: ; preds = %34 %37 = load i32, ptr %5, align 4 %38 = add nsw i32 %37, -1 store i32 %38, ptr %5, align 4 %39 = sext i32 %37 to i64 %40 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 %39 store i8 0, ptr %40, align 1 br label %15, !llvm.loop !6 41: ; preds = %34 %42 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %43 = call i64 @strcmp(ptr noundef %42, ptr noundef @.str) %44 = icmp eq i64 %43, 0 br i1 %44, label %45, label %48 45: ; preds = %41 %46 = load i32, ptr @stdout, align 4 %47 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %46, ptr noundef @.str.1) br label %6, !llvm.loop !8 48: ; preds = %41 %49 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %50 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %51 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %52 = call i32 @sscanf(ptr noundef %49, ptr noundef @.str.2, ptr noundef %50, ptr noundef %51) %53 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %54 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %55 = call i32 @strncpy(ptr noundef %53, ptr noundef %54, i32 noundef 4) %56 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %57 = call i32 @strlen(ptr noundef %56) %58 = icmp sgt i32 %57, 4 br i1 %58, label %59, label %64 59: ; preds = %48 %60 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %61 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %62 = getelementptr inbounds i8, ptr %61, i64 4 %63 = call i32 @strncpy(ptr noundef %60, ptr noundef %62, i32 noundef 124) br label %67 64: ; preds = %48 %65 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %66 = call i32 @strcpy(ptr noundef %65, ptr noundef @.str) br label %67 67: ; preds = %64, %59 %68 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %69 = load i8, ptr %68, align 16 %70 = sext i8 %69 to i32 %71 = icmp eq i32 %70, 42 br i1 %71, label %77, label %72 72: ; preds = %67 %73 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %74 = load i8, ptr %73, align 16 %75 = sext i8 %74 to i32 %76 = icmp eq i32 %75, 33 br i1 %76, label %77, label %87 77: ; preds = %72, %67 %78 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 1 %79 = load i8, ptr %78, align 1 %80 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 store i8 %79, ptr %80, align 16 %81 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 2 %82 = load i8, ptr %81, align 2 %83 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 1 store i8 %82, ptr %83, align 1 %84 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 3 %85 = load i8, ptr %84, align 1 %86 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 2 store i8 %85, ptr %86, align 2 br label %87 87: ; preds = %77, %72 %88 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %89 = load i8, ptr %88, align 16 %90 = sext i8 %89 to i32 %91 = icmp slt i32 %90, 65 br i1 %91, label %97, label %92 92: ; preds = %87 %93 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %94 = load i8, ptr %93, align 16 %95 = sext i8 %94 to i32 %96 = icmp sgt i32 %95, 90 br i1 %96, label %97, label %101 97: ; preds = %92, %87 %98 = load i32, ptr @stdout, align 4 %99 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %100 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %98, ptr noundef @.str.3, ptr noundef %99) br label %6, !llvm.loop !8 101: ; preds = %92 %102 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %103 = call i32 @strlen(ptr noundef %102) %104 = icmp ne i32 %103, 0 br i1 %104, label %105, label %109 105: ; preds = %101 %106 = load i32, ptr @stdout, align 4 %107 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %108 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %106, ptr noundef @.str.4, ptr noundef %107) br label %109 109: ; preds = %105, %101 %110 = load i32, ptr @stdout, align 4 %111 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %112 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %113 = call i32 @str2short(ptr noundef %112) %114 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %110, ptr noundef @.str.5, ptr noundef %111, i32 noundef %113) br label %115 115: ; preds = %109 br label %6, !llvm.loop !8 116: ; preds = %6 %117 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %117 } declare i64 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @str2short(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp05re8mns.c" target datalayout = "e-m:e-p270: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 [1 x i8] zeroinitializer, align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%4s %75s\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"/* %s */\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c" /* %s */\0A\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"#define SGF%s %5d\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [128 x i8], align 16 %3 = alloca [128 x i8], align 16 %4 = alloca [128 x i8], align 16 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %7 = load i32, ptr @stdin, align 4 %8 = call i64 @fgets(ptr noundef %6, i32 noundef 128, i32 noundef %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %.lr.ph, label %118 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %.backedge %11 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @strlen(ptr noundef %11) %13 = sub nsw i32 %12, 1 store i32 %13, ptr %5, align 4 br label %14 14: ; preds = %35, %10 %15 = load i32, ptr %5, align 4 %16 = icmp sge i32 %15, 0 br i1 %16, label %17, label %33 17: ; preds = %14 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 32 br i1 %23, label %31, label %24 24: ; preds = %17 %25 = load i32, ptr %5, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 %26 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 10 br label %31 31: ; preds = %24, %17 %32 = phi i1 [ true, %17 ], [ %30, %24 ] br label %33 33: ; preds = %31, %14 %34 = phi i1 [ false, %14 ], [ %32, %31 ] br i1 %34, label %35, label %40 35: ; preds = %33 %36 = load i32, ptr %5, align 4 %37 = add nsw i32 %36, -1 store i32 %37, ptr %5, align 4 %38 = sext i32 %36 to i64 %39 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 %38 store i8 0, ptr %39, align 1 br label %14, !llvm.loop !6 40: ; preds = %33 %41 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %42 = call i64 @strcmp(ptr noundef %41, ptr noundef @.str) %43 = icmp eq i64 %42, 0 br i1 %43, label %44, label %50 44: ; preds = %40 %45 = load i32, ptr @stdout, align 4 %46 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %45, ptr noundef @.str.1) br label %.backedge .backedge: ; preds = %44, %99, %117 %47 = load i32, ptr @stdin, align 4 %48 = call i64 @fgets(ptr noundef %6, i32 noundef 128, i32 noundef %47) %49 = icmp ne i64 %48, 0 br i1 %49, label %10, label %._crit_edge, !llvm.loop !8 50: ; preds = %40 %51 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %52 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %53 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %54 = call i32 @sscanf(ptr noundef %51, ptr noundef @.str.2, ptr noundef %52, ptr noundef %53) %55 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %56 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %57 = call i32 @strncpy(ptr noundef %55, ptr noundef %56, i32 noundef 4) %58 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %59 = call i32 @strlen(ptr noundef %58) %60 = icmp sgt i32 %59, 4 br i1 %60, label %61, label %66 61: ; preds = %50 %62 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %63 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %64 = getelementptr inbounds i8, ptr %63, i64 4 %65 = call i32 @strncpy(ptr noundef %62, ptr noundef %64, i32 noundef 124) br label %69 66: ; preds = %50 %67 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %68 = call i32 @strcpy(ptr noundef %67, ptr noundef @.str) br label %69 69: ; preds = %66, %61 %70 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %71 = load i8, ptr %70, align 16 %72 = sext i8 %71 to i32 %73 = icmp eq i32 %72, 42 br i1 %73, label %79, label %74 74: ; preds = %69 %75 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %76 = load i8, ptr %75, align 16 %77 = sext i8 %76 to i32 %78 = icmp eq i32 %77, 33 br i1 %78, label %79, label %89 79: ; preds = %74, %69 %80 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 1 %81 = load i8, ptr %80, align 1 %82 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 store i8 %81, ptr %82, align 16 %83 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 2 %84 = load i8, ptr %83, align 2 %85 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 1 store i8 %84, ptr %85, align 1 %86 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 3 %87 = load i8, ptr %86, align 1 %88 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 2 store i8 %87, ptr %88, align 2 br label %89 89: ; preds = %79, %74 %90 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %91 = load i8, ptr %90, align 16 %92 = sext i8 %91 to i32 %93 = icmp slt i32 %92, 65 br i1 %93, label %99, label %94 94: ; preds = %89 %95 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %96 = load i8, ptr %95, align 16 %97 = sext i8 %96 to i32 %98 = icmp sgt i32 %97, 90 br i1 %98, label %99, label %103 99: ; preds = %94, %89 %100 = load i32, ptr @stdout, align 4 %101 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %102 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %100, ptr noundef @.str.3, ptr noundef %101) br label %.backedge 103: ; preds = %94 %104 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %105 = call i32 @strlen(ptr noundef %104) %106 = icmp ne i32 %105, 0 br i1 %106, label %107, label %111 107: ; preds = %103 %108 = load i32, ptr @stdout, align 4 %109 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %110 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %108, ptr noundef @.str.4, ptr noundef %109) br label %111 111: ; preds = %107, %103 %112 = load i32, ptr @stdout, align 4 %113 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %114 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %115 = call i32 @str2short(ptr noundef %114) %116 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %112, ptr noundef @.str.5, ptr noundef %113, i32 noundef %115) br label %117 117: ; preds = %111 br label %.backedge ._crit_edge: ; preds = %.backedge br label %118 118: ; preds = %._crit_edge, %0 %119 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %119 } declare i64 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @str2short(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp_v9zca0m.c' source_filename = "/tmp/tmp_v9zca0m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i64 } @.str = private unnamed_addr constant [156 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/01org/KVMGT-qemu/refs/heads/162/qemu-1.7.0/tests/tcg/linux-test.c\00", align 1 @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @AF_INET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @server_socket() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca %struct.sockaddr_in, align 8 %4 = load i32, ptr @PF_INET, align 4 %5 = load i32, ptr @SOCK_STREAM, align 4 %6 = call i32 @socket(i32 noundef %4, i32 noundef %5, i32 noundef 0) %7 = call i32 @__chk_error(ptr noundef @.str, i32 noundef 286, i32 noundef %6) store i32 %7, ptr %2, align 4 store i32 1, ptr %1, align 4 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr @SOL_SOCKET, align 4 %10 = load i32, ptr @SO_REUSEADDR, align 4 %11 = call i32 @setsockopt(i32 noundef %8, i32 noundef %9, i32 noundef %10, ptr noundef %1, i32 noundef 4) %12 = call i32 @__chk_error(ptr noundef @.str, i32 noundef 289, i32 noundef %11) %13 = load i32, ptr @AF_INET, align 4 %14 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 2 store i32 %13, ptr %14, align 4 %15 = call i32 @htons(i32 noundef 7654) %16 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1 store i32 %15, ptr %16, align 8 %17 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0 %18 = getelementptr inbounds %struct.TYPE_2__, ptr %17, i32 0, i32 0 store i64 0, ptr %18, align 8 %19 = load i32, ptr %2, align 4 %20 = call i32 @bind(i32 noundef %19, ptr noundef %3, i32 noundef 16) %21 = call i32 @__chk_error(ptr noundef @.str, i32 noundef 294, i32 noundef %20) %22 = load i32, ptr %2, align 4 %23 = call i32 @listen(i32 noundef %22, i32 noundef 0) %24 = call i32 @__chk_error(ptr noundef @.str, i32 noundef 295, i32 noundef %23) %25 = load i32, ptr %2, align 4 ret i32 %25 } declare i32 @__chk_error(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_v9zca0m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i64 } @.str = private unnamed_addr constant [156 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/01org/KVMGT-qemu/refs/heads/162/qemu-1.7.0/tests/tcg/linux-test.c\00", align 1 @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @AF_INET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @server_socket() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca %struct.sockaddr_in, align 8 %4 = load i32, ptr @PF_INET, align 4 %5 = load i32, ptr @SOCK_STREAM, align 4 %6 = call i32 @socket(i32 noundef %4, i32 noundef %5, i32 noundef 0) %7 = call i32 @__chk_error(ptr noundef @.str, i32 noundef 286, i32 noundef %6) store i32 %7, ptr %2, align 4 store i32 1, ptr %1, align 4 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr @SOL_SOCKET, align 4 %10 = load i32, ptr @SO_REUSEADDR, align 4 %11 = call i32 @setsockopt(i32 noundef %8, i32 noundef %9, i32 noundef %10, ptr noundef %1, i32 noundef 4) %12 = call i32 @__chk_error(ptr noundef @.str, i32 noundef 289, i32 noundef %11) %13 = load i32, ptr @AF_INET, align 4 %14 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 2 store i32 %13, ptr %14, align 4 %15 = call i32 @htons(i32 noundef 7654) %16 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1 store i32 %15, ptr %16, align 8 %17 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0 %18 = getelementptr inbounds %struct.TYPE_2__, ptr %17, i32 0, i32 0 store i64 0, ptr %18, align 8 %19 = load i32, ptr %2, align 4 %20 = call i32 @bind(i32 noundef %19, ptr noundef %3, i32 noundef 16) %21 = call i32 @__chk_error(ptr noundef @.str, i32 noundef 294, i32 noundef %20) %22 = load i32, ptr %2, align 4 %23 = call i32 @listen(i32 noundef %22, i32 noundef 0) %24 = call i32 @__chk_error(ptr noundef @.str, i32 noundef 295, i32 noundef %23) %25 = load i32, ptr %2, align 4 ret i32 %25 } declare i32 @__chk_error(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp409arhvt.c' source_filename = "/tmp/tmp409arhvt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ssort(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 i32, align 4 store ptr %0, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 %11 = call i32 @len(ptr noundef %10) store i32 %11, ptr %8, align 4 %12 = load i32, ptr %8, align 4 %13 = icmp ult i32 %12, 2 br i1 %13, label %14, label %16 14: ; preds = %1 %15 = load ptr, ptr %3, align 8 store ptr %15, ptr %2, align 8 br label %54 16: ; preds = %1 store i32 0, ptr %4, align 4 br label %17 17: ; preds = %49, %16 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp ult i32 %18, %19 br i1 %20, label %21, label %52 21: ; preds = %17 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %4, align 4 %24 = zext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 %26 = call i32 @lmin(ptr noundef %25) store i32 %26, ptr %9, align 4 %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %9, align 4 %29 = add i32 %27, %28 store i32 %29, ptr %7, align 4 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %4, align 4 %32 = zext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %30, i64 %32 %34 = load i32, ptr %33, align 4 store i32 %34, ptr %6, align 4 %35 = load ptr, ptr %3, align 8 %36 = load i32, ptr %7, align 4 %37 = zext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %35, i64 %37 %39 = load i32, ptr %38, align 4 %40 = load ptr, ptr %3, align 8 %41 = load i32, ptr %4, align 4 %42 = zext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %40, i64 %42 store i32 %39, ptr %43, align 4 %44 = load i32, ptr %6, align 4 %45 = load ptr, ptr %3, align 8 %46 = load i32, ptr %7, align 4 %47 = zext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 store i32 %44, ptr %48, align 4 br label %49 49: ; preds = %21 %50 = load i32, ptr %4, align 4 %51 = add i32 %50, 1 store i32 %51, ptr %4, align 4 br label %17, !llvm.loop !6 52: ; preds = %17 %53 = load ptr, ptr %3, align 8 store ptr %53, ptr %2, align 8 br label %54 54: ; preds = %52, %14 %55 = load ptr, ptr %2, align 8 ret ptr %55 } declare i32 @len(ptr noundef) #1 declare i32 @lmin(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp409arhvt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ssort(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 i32, align 4 store ptr %0, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 %11 = call i32 @len(ptr noundef %10) store i32 %11, ptr %8, align 4 %12 = load i32, ptr %8, align 4 %13 = icmp ult i32 %12, 2 br i1 %13, label %14, label %16 14: ; preds = %1 %15 = load ptr, ptr %3, align 8 store ptr %15, ptr %2, align 8 br label %56 16: ; preds = %1 store i32 0, ptr %4, align 4 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %8, align 4 %19 = icmp ult i32 %17, %18 br i1 %19, label %.lr.ph, label %54 .lr.ph: ; preds = %16 br label %20 20: ; preds = %.lr.ph, %48 %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr %4, align 4 %23 = zext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %21, i64 %23 %25 = call i32 @lmin(ptr noundef %24) store i32 %25, ptr %9, align 4 %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %9, align 4 %28 = add i32 %26, %27 store i32 %28, ptr %7, align 4 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %4, align 4 %31 = zext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 %33 = load i32, ptr %32, align 4 store i32 %33, ptr %6, align 4 %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %7, align 4 %36 = zext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %34, i64 %36 %38 = load i32, ptr %37, align 4 %39 = load ptr, ptr %3, align 8 %40 = load i32, ptr %4, align 4 %41 = zext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 store i32 %38, ptr %42, align 4 %43 = load i32, ptr %6, align 4 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %7, align 4 %46 = zext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 store i32 %43, ptr %47, align 4 br label %48 48: ; preds = %20 %49 = load i32, ptr %4, align 4 %50 = add i32 %49, 1 store i32 %50, ptr %4, align 4 %51 = load i32, ptr %4, align 4 %52 = load i32, ptr %8, align 4 %53 = icmp ult i32 %51, %52 br i1 %53, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %48 br label %54 54: ; preds = %._crit_edge, %16 %55 = load ptr, ptr %3, align 8 store ptr %55, ptr %2, align 8 br label %56 56: ; preds = %54, %14 %57 = load ptr, ptr %2, align 8 ret ptr %57 } declare i32 @len(ptr noundef) #1 declare i32 @lmin(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpbvplwkof.c' source_filename = "/tmp/tmpbvplwkof.c" target datalayout = "e-m:e-p270: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.uinput_user_dev = type { ptr } @.str = private unnamed_addr constant [18 x i8] c"/dev/input/uinput\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [12 x i8] c"/dev/uinput\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"/dev/misc/uinput\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [19 x i8] c"could not open %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"uinput\00", align 1 @UI_SET_EVBIT = dso_local global i32 0, align 4 @EV_KEY = dso_local global i32 0, align 4 @UI_SET_KEYBIT = dso_local global i32 0, align 4 @BTN_LEFT = dso_local global i32 0, align 4 @BTN_MIDDLE = dso_local global i32 0, align 4 @BTN_RIGHT = dso_local global i32 0, align 4 @EV_REL = dso_local global i32 0, align 4 @UI_SET_RELBIT = dso_local global i32 0, align 4 @REL_X = dso_local global i32 0, align 4 @REL_Y = dso_local global i32 0, align 4 @REL_WHEEL = dso_local global i32 0, align 4 @UI_DEV_CREATE = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [20 x i8] c"could not setup %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @setup_uinputfd(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca %struct.uinput_user_dev, align 8 store ptr %0, ptr %3, align 8 %6 = load i32, ptr @O_RDWR, align 4 %7 = call i32 @open(ptr noundef @.str, i32 noundef %6) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %26 10: ; preds = %1 %11 = load i32, ptr @O_RDWR, align 4 %12 = call i32 @open(ptr noundef @.str.1, i32 noundef %11) store i32 %12, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp eq i32 %13, -1 br i1 %14, label %15, label %25 15: ; preds = %10 %16 = load i32, ptr @O_RDWR, align 4 %17 = call i32 @open(ptr noundef @.str.2, i32 noundef %16) store i32 %17, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %24 20: ; preds = %15 %21 = load i32, ptr @stderr, align 4 %22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str.3, ptr noundef @.str.4) %23 = call i32 @perror(ptr noundef null) store i32 -1, ptr %2, align 4 br label %104 24: ; preds = %15 br label %25 25: ; preds = %24, %10 br label %26 26: ; preds = %25, %1 %27 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 8) %28 = getelementptr inbounds %struct.uinput_user_dev, ptr %5, i32 0, i32 0 %29 = load ptr, ptr %28, align 8 %30 = load ptr, ptr %3, align 8 %31 = call i32 @strncpy(ptr noundef %29, ptr noundef %30, i32 noundef 8) %32 = getelementptr inbounds %struct.uinput_user_dev, ptr %5, i32 0, i32 0 %33 = load ptr, ptr %32, align 8 %34 = getelementptr inbounds i64, ptr %33, i64 7 store i64 0, ptr %34, align 8 %35 = load i32, ptr %4, align 4 %36 = call i32 @write(i32 noundef %35, ptr noundef %5, i32 noundef 8) %37 = sext i32 %36 to i64 %38 = icmp ne i64 %37, 8 br i1 %38, label %39, label %40 39: ; preds = %26 br label %98 40: ; preds = %26 %41 = load i32, ptr %4, align 4 %42 = load i32, ptr @UI_SET_EVBIT, align 4 %43 = load i32, ptr @EV_KEY, align 4 %44 = call i64 (i32, i32, ...) @ioctl(i32 noundef %41, i32 noundef %42, i32 noundef %43) %45 = icmp ne i64 %44, 0 br i1 %45, label %64, label %46 46: ; preds = %40 %47 = load i32, ptr %4, align 4 %48 = load i32, ptr @UI_SET_KEYBIT, align 4 %49 = load i32, ptr @BTN_LEFT, align 4 %50 = call i64 (i32, i32, ...) @ioctl(i32 noundef %47, i32 noundef %48, i32 noundef %49) %51 = icmp ne i64 %50, 0 br i1 %51, label %64, label %52 52: ; preds = %46 %53 = load i32, ptr %4, align 4 %54 = load i32, ptr @UI_SET_KEYBIT, align 4 %55 = load i32, ptr @BTN_MIDDLE, align 4 %56 = call i64 (i32, i32, ...) @ioctl(i32 noundef %53, i32 noundef %54, i32 noundef %55) %57 = icmp ne i64 %56, 0 br i1 %57, label %64, label %58 58: ; preds = %52 %59 = load i32, ptr %4, align 4 %60 = load i32, ptr @UI_SET_KEYBIT, align 4 %61 = load i32, ptr @BTN_RIGHT, align 4 %62 = call i64 (i32, i32, ...) @ioctl(i32 noundef %59, i32 noundef %60, i32 noundef %61) %63 = icmp ne i64 %62, 0 br i1 %63, label %64, label %65 64: ; preds = %58, %52, %46, %40 br label %98 65: ; preds = %58 %66 = load i32, ptr %4, align 4 %67 = load i32, ptr @UI_SET_EVBIT, align 4 %68 = load i32, ptr @EV_REL, align 4 %69 = call i64 (i32, i32, ...) @ioctl(i32 noundef %66, i32 noundef %67, i32 noundef %68) %70 = icmp ne i64 %69, 0 br i1 %70, label %89, label %71 71: ; preds = %65 %72 = load i32, ptr %4, align 4 %73 = load i32, ptr @UI_SET_RELBIT, align 4 %74 = load i32, ptr @REL_X, align 4 %75 = call i64 (i32, i32, ...) @ioctl(i32 noundef %72, i32 noundef %73, i32 noundef %74) %76 = icmp ne i64 %75, 0 br i1 %76, label %89, label %77 77: ; preds = %71 %78 = load i32, ptr %4, align 4 %79 = load i32, ptr @UI_SET_RELBIT, align 4 %80 = load i32, ptr @REL_Y, align 4 %81 = call i64 (i32, i32, ...) @ioctl(i32 noundef %78, i32 noundef %79, i32 noundef %80) %82 = icmp ne i64 %81, 0 br i1 %82, label %89, label %83 83: ; preds = %77 %84 = load i32, ptr %4, align 4 %85 = load i32, ptr @UI_SET_RELBIT, align 4 %86 = load i32, ptr @REL_WHEEL, align 4 %87 = call i64 (i32, i32, ...) @ioctl(i32 noundef %84, i32 noundef %85, i32 noundef %86) %88 = icmp ne i64 %87, 0 br i1 %88, label %89, label %90 89: ; preds = %83, %77, %71, %65 br label %98 90: ; preds = %83 %91 = load i32, ptr %4, align 4 %92 = load i32, ptr @UI_DEV_CREATE, align 4 %93 = call i64 (i32, i32, ...) @ioctl(i32 noundef %91, i32 noundef %92) %94 = icmp ne i64 %93, 0 br i1 %94, label %95, label %96 95: ; preds = %90 br label %98 96: ; preds = %90 %97 = load i32, ptr %4, align 4 store i32 %97, ptr %2, align 4 br label %104 98: ; preds = %95, %89, %64, %39 %99 = load i32, ptr @stderr, align 4 %100 = call i32 @fprintf(i32 noundef %99, ptr noundef @.str.5, ptr noundef @.str.4) %101 = call i32 @perror(ptr noundef null) %102 = load i32, ptr %4, align 4 %103 = call i32 @close(i32 noundef %102) store i32 -1, ptr %2, align 4 br label %104 104: ; preds = %98, %96, %20 %105 = load i32, ptr %2, align 4 ret i32 %105 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @ioctl(i32 noundef, i32 noundef, ...) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbvplwkof.c" target datalayout = "e-m:e-p270: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.uinput_user_dev = type { ptr } @.str = private unnamed_addr constant [18 x i8] c"/dev/input/uinput\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [12 x i8] c"/dev/uinput\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"/dev/misc/uinput\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [19 x i8] c"could not open %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"uinput\00", align 1 @UI_SET_EVBIT = dso_local global i32 0, align 4 @EV_KEY = dso_local global i32 0, align 4 @UI_SET_KEYBIT = dso_local global i32 0, align 4 @BTN_LEFT = dso_local global i32 0, align 4 @BTN_MIDDLE = dso_local global i32 0, align 4 @BTN_RIGHT = dso_local global i32 0, align 4 @EV_REL = dso_local global i32 0, align 4 @UI_SET_RELBIT = dso_local global i32 0, align 4 @REL_X = dso_local global i32 0, align 4 @REL_Y = dso_local global i32 0, align 4 @REL_WHEEL = dso_local global i32 0, align 4 @UI_DEV_CREATE = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [20 x i8] c"could not setup %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @setup_uinputfd(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca %struct.uinput_user_dev, align 8 store ptr %0, ptr %3, align 8 %6 = load i32, ptr @O_RDWR, align 4 %7 = call i32 @open(ptr noundef @.str, i32 noundef %6) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %26 10: ; preds = %1 %11 = load i32, ptr @O_RDWR, align 4 %12 = call i32 @open(ptr noundef @.str.1, i32 noundef %11) store i32 %12, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp eq i32 %13, -1 br i1 %14, label %15, label %25 15: ; preds = %10 %16 = load i32, ptr @O_RDWR, align 4 %17 = call i32 @open(ptr noundef @.str.2, i32 noundef %16) store i32 %17, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %24 20: ; preds = %15 %21 = load i32, ptr @stderr, align 4 %22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str.3, ptr noundef @.str.4) %23 = call i32 @perror(ptr noundef null) store i32 -1, ptr %2, align 4 br label %104 24: ; preds = %15 br label %25 25: ; preds = %24, %10 br label %26 26: ; preds = %25, %1 %27 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 8) %28 = getelementptr inbounds %struct.uinput_user_dev, ptr %5, i32 0, i32 0 %29 = load ptr, ptr %28, align 8 %30 = load ptr, ptr %3, align 8 %31 = call i32 @strncpy(ptr noundef %29, ptr noundef %30, i32 noundef 8) %32 = getelementptr inbounds %struct.uinput_user_dev, ptr %5, i32 0, i32 0 %33 = load ptr, ptr %32, align 8 %34 = getelementptr inbounds i64, ptr %33, i64 7 store i64 0, ptr %34, align 8 %35 = load i32, ptr %4, align 4 %36 = call i32 @write(i32 noundef %35, ptr noundef %5, i32 noundef 8) %37 = sext i32 %36 to i64 %38 = icmp ne i64 %37, 8 br i1 %38, label %39, label %40 39: ; preds = %26 br label %98 40: ; preds = %26 %41 = load i32, ptr %4, align 4 %42 = load i32, ptr @UI_SET_EVBIT, align 4 %43 = load i32, ptr @EV_KEY, align 4 %44 = call i64 (i32, i32, ...) @ioctl(i32 noundef %41, i32 noundef %42, i32 noundef %43) %45 = icmp ne i64 %44, 0 br i1 %45, label %64, label %46 46: ; preds = %40 %47 = load i32, ptr %4, align 4 %48 = load i32, ptr @UI_SET_KEYBIT, align 4 %49 = load i32, ptr @BTN_LEFT, align 4 %50 = call i64 (i32, i32, ...) @ioctl(i32 noundef %47, i32 noundef %48, i32 noundef %49) %51 = icmp ne i64 %50, 0 br i1 %51, label %64, label %52 52: ; preds = %46 %53 = load i32, ptr %4, align 4 %54 = load i32, ptr @UI_SET_KEYBIT, align 4 %55 = load i32, ptr @BTN_MIDDLE, align 4 %56 = call i64 (i32, i32, ...) @ioctl(i32 noundef %53, i32 noundef %54, i32 noundef %55) %57 = icmp ne i64 %56, 0 br i1 %57, label %64, label %58 58: ; preds = %52 %59 = load i32, ptr %4, align 4 %60 = load i32, ptr @UI_SET_KEYBIT, align 4 %61 = load i32, ptr @BTN_RIGHT, align 4 %62 = call i64 (i32, i32, ...) @ioctl(i32 noundef %59, i32 noundef %60, i32 noundef %61) %63 = icmp ne i64 %62, 0 br i1 %63, label %64, label %65 64: ; preds = %58, %52, %46, %40 br label %98 65: ; preds = %58 %66 = load i32, ptr %4, align 4 %67 = load i32, ptr @UI_SET_EVBIT, align 4 %68 = load i32, ptr @EV_REL, align 4 %69 = call i64 (i32, i32, ...) @ioctl(i32 noundef %66, i32 noundef %67, i32 noundef %68) %70 = icmp ne i64 %69, 0 br i1 %70, label %89, label %71 71: ; preds = %65 %72 = load i32, ptr %4, align 4 %73 = load i32, ptr @UI_SET_RELBIT, align 4 %74 = load i32, ptr @REL_X, align 4 %75 = call i64 (i32, i32, ...) @ioctl(i32 noundef %72, i32 noundef %73, i32 noundef %74) %76 = icmp ne i64 %75, 0 br i1 %76, label %89, label %77 77: ; preds = %71 %78 = load i32, ptr %4, align 4 %79 = load i32, ptr @UI_SET_RELBIT, align 4 %80 = load i32, ptr @REL_Y, align 4 %81 = call i64 (i32, i32, ...) @ioctl(i32 noundef %78, i32 noundef %79, i32 noundef %80) %82 = icmp ne i64 %81, 0 br i1 %82, label %89, label %83 83: ; preds = %77 %84 = load i32, ptr %4, align 4 %85 = load i32, ptr @UI_SET_RELBIT, align 4 %86 = load i32, ptr @REL_WHEEL, align 4 %87 = call i64 (i32, i32, ...) @ioctl(i32 noundef %84, i32 noundef %85, i32 noundef %86) %88 = icmp ne i64 %87, 0 br i1 %88, label %89, label %90 89: ; preds = %83, %77, %71, %65 br label %98 90: ; preds = %83 %91 = load i32, ptr %4, align 4 %92 = load i32, ptr @UI_DEV_CREATE, align 4 %93 = call i64 (i32, i32, ...) @ioctl(i32 noundef %91, i32 noundef %92) %94 = icmp ne i64 %93, 0 br i1 %94, label %95, label %96 95: ; preds = %90 br label %98 96: ; preds = %90 %97 = load i32, ptr %4, align 4 store i32 %97, ptr %2, align 4 br label %104 98: ; preds = %95, %89, %64, %39 %99 = load i32, ptr @stderr, align 4 %100 = call i32 @fprintf(i32 noundef %99, ptr noundef @.str.5, ptr noundef @.str.4) %101 = call i32 @perror(ptr noundef null) %102 = load i32, ptr %4, align 4 %103 = call i32 @close(i32 noundef %102) store i32 -1, ptr %2, align 4 br label %104 104: ; preds = %98, %96, %20 %105 = load i32, ptr %2, align 4 ret i32 %105 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @ioctl(i32 noundef, i32 noundef, ...) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpohvo03ue.c' source_filename = "/tmp/tmpohvo03ue.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"write(): fd=%d, buf=[%.31s...], count=%d\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [19 x i8] c"\09\09Wrote %d blocks\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"\09\09ret = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"\09Succeeded Phase 1\0A\00", align 1 @.str.4 = private unnamed_addr constant [53 x i8] c"\09Failed Phase 1: returned undefined value! ret = %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [43 x i8] c"Internal syscalltester error: passed = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @write_test(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %10 = load i32, ptr %4, align 4 %11 = load ptr, ptr %5, align 8 %12 = load i64, ptr %6, align 8 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %10, ptr noundef %11, i64 noundef %12) %14 = call i32 @fflush(ptr noundef null) %15 = load i32, ptr %4, align 4 %16 = load ptr, ptr %5, align 8 %17 = load ptr, ptr %5, align 8 %18 = call i32 @strlen(ptr noundef %17) %19 = call i32 @full_write(i32 noundef %15, ptr noundef %16, i32 noundef %18) store i32 %19, ptr %7, align 4 %20 = call i32 @handle_gez(i32 noundef %19) store i32 %20, ptr %9, align 4 %21 = load i32, ptr @errno, align 4 store i32 %21, ptr %8, align 4 %22 = load i32, ptr %9, align 4 switch i32 %22, label %38 [ i32 -1, label %23 i32 0, label %23 i32 -2, label %34 ] 23: ; preds = %3, %3 %24 = load i32, ptr %7, align 4 %25 = icmp ne i32 %24, -1 br i1 %25, label %26, label %31 26: ; preds = %23 %27 = load i32, ptr %7, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %27) %29 = load i32, ptr %7, align 4 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %29) br label %31 31: ; preds = %26, %23 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %33 = call i32 @fflush(ptr noundef null) br label %42 34: ; preds = %3 %35 = load i32, ptr %7, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %35) %37 = call i32 @fflush(ptr noundef null) br label %42 38: ; preds = %3 %39 = load i32, ptr %9, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %39) %41 = call i32 @fflush(ptr noundef null) br label %42 42: ; preds = %38, %34, %31 %43 = load i32, ptr %8, align 4 store i32 %43, ptr @errno, align 4 %44 = load i32, ptr %7, align 4 ret i32 %44 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fflush(ptr noundef) #1 declare i32 @handle_gez(i32 noundef) #1 declare i32 @full_write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpohvo03ue.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"write(): fd=%d, buf=[%.31s...], count=%d\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [19 x i8] c"\09\09Wrote %d blocks\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"\09\09ret = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"\09Succeeded Phase 1\0A\00", align 1 @.str.4 = private unnamed_addr constant [53 x i8] c"\09Failed Phase 1: returned undefined value! ret = %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [43 x i8] c"Internal syscalltester error: passed = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @write_test(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %10 = load i32, ptr %4, align 4 %11 = load ptr, ptr %5, align 8 %12 = load i64, ptr %6, align 8 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %10, ptr noundef %11, i64 noundef %12) %14 = call i32 @fflush(ptr noundef null) %15 = load i32, ptr %4, align 4 %16 = load ptr, ptr %5, align 8 %17 = load ptr, ptr %5, align 8 %18 = call i32 @strlen(ptr noundef %17) %19 = call i32 @full_write(i32 noundef %15, ptr noundef %16, i32 noundef %18) store i32 %19, ptr %7, align 4 %20 = call i32 @handle_gez(i32 noundef %19) store i32 %20, ptr %9, align 4 %21 = load i32, ptr @errno, align 4 store i32 %21, ptr %8, align 4 %22 = load i32, ptr %9, align 4 switch i32 %22, label %38 [ i32 -1, label %23 i32 0, label %23 i32 -2, label %34 ] 23: ; preds = %3, %3 %24 = load i32, ptr %7, align 4 %25 = icmp ne i32 %24, -1 br i1 %25, label %26, label %31 26: ; preds = %23 %27 = load i32, ptr %7, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %27) %29 = load i32, ptr %7, align 4 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %29) br label %31 31: ; preds = %26, %23 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %33 = call i32 @fflush(ptr noundef null) br label %42 34: ; preds = %3 %35 = load i32, ptr %7, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %35) %37 = call i32 @fflush(ptr noundef null) br label %42 38: ; preds = %3 %39 = load i32, ptr %9, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %39) %41 = call i32 @fflush(ptr noundef null) br label %42 42: ; preds = %38, %34, %31 %43 = load i32, ptr %8, align 4 store i32 %43, ptr @errno, align 4 %44 = load i32, ptr %7, align 4 ret i32 %44 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fflush(ptr noundef) #1 declare i32 @handle_gez(i32 noundef) #1 declare i32 @full_write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7a9n0upz.c' source_filename = "/tmp/tmp7a9n0upz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"char %d (\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"not viewable\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"), prefix = \22%s\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @prefix_print(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %35, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %38 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds ptr, ptr %11, i64 %13 %15 = load ptr, ptr %14, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %18, label %17 17: ; preds = %10 br label %35 18: ; preds = %10 %19 = load i32, ptr %5, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %19) %21 = load i32, ptr %5, align 4 %22 = icmp sgt i32 %21, 127 br i1 %22, label %23, label %25 23: ; preds = %18 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %28 25: ; preds = %18 %26 = load i32, ptr %5, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %26) br label %28 28: ; preds = %25, %23 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %5, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds ptr, ptr %29, i64 %31 %33 = load ptr, ptr %32, align 8 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %33) br label %35 35: ; preds = %28, %17 %36 = load i32, ptr %5, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %5, align 4 br label %6, !llvm.loop !6 38: ; preds = %6 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7a9n0upz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"char %d (\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"not viewable\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"), prefix = \22%s\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @prefix_print(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %40 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %34 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds ptr, ptr %10, i64 %12 %14 = load ptr, ptr %13, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %17, label %16 16: ; preds = %9 br label %34 17: ; preds = %9 %18 = load i32, ptr %5, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %18) %20 = load i32, ptr %5, align 4 %21 = icmp sgt i32 %20, 127 br i1 %21, label %22, label %24 22: ; preds = %17 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %27 24: ; preds = %17 %25 = load i32, ptr %5, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %25) br label %27 27: ; preds = %24, %22 %28 = load ptr, ptr %3, align 8 %29 = load i32, ptr %5, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds ptr, ptr %28, i64 %30 %32 = load ptr, ptr %31, align 8 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %32) br label %34 34: ; preds = %27, %16 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %5, align 4 %37 = load i32, ptr %5, align 4 %38 = load i32, ptr %4, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %40 40: ; preds = %._crit_edge, %2 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpryumku_k.c' source_filename = "/tmp/tmpryumku_k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [200 x i8], align 16 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %5 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @hash(ptr noundef %5) %7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @hash(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpryumku_k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [200 x i8], align 16 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %5 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @hash(ptr noundef %5) %7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @hash(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9txf8sqd.c' source_filename = "/tmp/tmp9txf8sqd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @arrayToUpper(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %21, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %24 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = call signext i8 @toupper(i8 noundef signext %15) %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 store i8 %16, ptr %20, align 1 br label %21 21: ; preds = %10 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 br label %6, !llvm.loop !6 24: ; preds = %6 ret void } declare signext i8 @toupper(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/tmp9txf8sqd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @arrayToUpper(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %26 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %20 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, 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 signext i8 @toupper(i8 noundef signext %14) %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 store i8 %15, ptr %19, align 1 br label %20 20: ; preds = %9 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %26 26: ; preds = %._crit_edge, %2 ret void } declare signext i8 @toupper(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/tmpj0dabuvy.c' source_filename = "/tmp/tmpj0dabuvy.c" target datalayout = "e-m:e-p270: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/tmpj0dabuvy.c" target datalayout = "e-m:e-p270: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/tmpyx8m_61r.c' source_filename = "/tmp/tmpyx8m_61r.c" target datalayout = "e-m:e-p270: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/tmpyx8m_61r.c" target datalayout = "e-m:e-p270: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/tmp7sig0lst.c' source_filename = "/tmp/tmp7sig0lst.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) ret i32 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/tmp7sig0lst.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) ret i32 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/tmpbvzm9qfa.c' source_filename = "/tmp/tmpbvzm9qfa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @contains(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %11 = load ptr, ptr %5, align 8 %12 = call i32 @strlen(ptr noundef %11) %13 = load i32, ptr %7, align 4 %14 = icmp ne i32 %12, %13 br i1 %14, label %15, label %16 15: ; preds = %3 store i32 0, ptr %4, align 4 br label %41 16: ; preds = %3 store i32 0, ptr %10, align 4 br label %17 17: ; preds = %36, %16 %18 = load i32, ptr %10, align 4 %19 = load i32, ptr %7, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %39 21: ; preds = %17 %22 = load ptr, ptr %5, align 8 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %10, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %23, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i32 @strcspn(ptr noundef %22, ptr noundef %27) store i32 %28, ptr %9, align 4 %29 = load i32, ptr %9, align 4 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %32 31: ; preds = %21 store i32 1, ptr %8, align 4 br label %33 32: ; preds = %21 store i32 0, ptr %8, align 4 br label %39 33: ; preds = %31 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds i8, ptr %34, i32 1 store ptr %35, ptr %5, align 8 br label %36 36: ; preds = %33 %37 = load i32, ptr %10, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %10, align 4 br label %17, !llvm.loop !6 39: ; preds = %32, %17 %40 = load i32, ptr %8, align 4 store i32 %40, ptr %4, align 4 br label %41 41: ; preds = %39, %15 %42 = load i32, ptr %4, align 4 ret i32 %42 } declare i32 @strlen(ptr noundef) #1 declare i32 @strcspn(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/tmpbvzm9qfa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @contains(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %11 = load ptr, ptr %5, align 8 %12 = call i32 @strlen(ptr noundef %11) %13 = load i32, ptr %7, align 4 %14 = icmp ne i32 %12, %13 br i1 %14, label %15, label %16 15: ; preds = %3 store i32 0, ptr %4, align 4 br label %43 16: ; preds = %3 store i32 0, ptr %10, align 4 %17 = load i32, ptr %10, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %16 br label %20 20: ; preds = %.lr.ph, %35 %21 = load ptr, ptr %5, align 8 %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %10, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds ptr, ptr %22, i64 %24 %26 = load ptr, ptr %25, align 8 %27 = call i32 @strcspn(ptr noundef %21, ptr noundef %26) store i32 %27, ptr %9, align 4 %28 = load i32, ptr %9, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %20 store i32 1, ptr %8, align 4 br label %32 31: ; preds = %20 store i32 0, ptr %8, align 4 br label %41 32: ; preds = %30 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds i8, ptr %33, i32 1 store ptr %34, ptr %5, align 8 br label %35 35: ; preds = %32 %36 = load i32, ptr %10, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %10, align 4 %38 = load i32, ptr %10, align 4 %39 = load i32, ptr %7, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %20, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %35 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %16 br label %41 41: ; preds = %.loopexit, %31 %42 = load i32, ptr %8, align 4 store i32 %42, ptr %4, align 4 br label %43 43: ; preds = %41, %15 %44 = load i32, ptr %4, align 4 ret i32 %44 } declare i32 @strlen(ptr noundef) #1 declare i32 @strcspn(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/tmpvx950tgs.c' source_filename = "/tmp/tmpvx950tgs.c" target datalayout = "e-m:e-p270: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 } @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"Error accepting %d - %s\0A\00", align 1 @ETIMEDOUT = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @timed_accept(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca %struct.timeval, align 8 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %13 = load i32, ptr %9, align 4 %14 = getelementptr inbounds %struct.timeval, ptr %12, i32 0, i32 0 store i32 %13, ptr %14, align 8 %15 = getelementptr inbounds %struct.timeval, ptr %12, i32 0, i32 1 store i64 0, ptr %15, align 8 %16 = call i32 @FD_ZERO(ptr noundef %11) %17 = load i32, ptr %6, align 4 %18 = call i32 @FD_SET(i32 noundef %17, ptr noundef %11) %19 = load i32, ptr %6, align 4 %20 = add nsw i32 %19, 1 %21 = call i32 @select(i32 noundef %20, ptr noundef %11, ptr noundef null, ptr noundef null, ptr noundef %12) store i32 %21, ptr %10, align 4 %22 = load i32, ptr %10, align 4 %23 = icmp slt i32 %22, 0 br i1 %23, label %24, label %34 24: ; preds = %4 %25 = load i64, ptr @errno, align 8 %26 = load i64, ptr @EINTR, align 8 %27 = icmp ne i64 %25, %26 br i1 %27, label %28, label %34 28: ; preds = %24 %29 = load i32, ptr @stderr, align 4 %30 = load i64, ptr @errno, align 8 %31 = load i64, ptr @errno, align 8 %32 = call ptr @strerror(i64 noundef %31) %33 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str, i64 noundef %30, ptr noundef %32) store i32 -1, ptr %5, align 4 br label %43 34: ; preds = %24, %4 %35 = load i32, ptr %10, align 4 %36 = icmp sgt i32 %35, 0 br i1 %36, label %37, label %40 37: ; preds = %34 %38 = load i32, ptr %6, align 4 %39 = call i32 @accept(i32 noundef %38, ptr noundef null, ptr noundef null) store i32 %39, ptr %5, align 4 br label %43 40: ; preds = %34 br label %41 41: ; preds = %40 %42 = load i64, ptr @ETIMEDOUT, align 8 store i64 %42, ptr @errno, align 8 store i32 -1, ptr %5, align 4 br label %43 43: ; preds = %41, %37, %28 %44 = load i32, ptr %5, align 4 ret i32 %44 } declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef, ptr noundef) #1 declare ptr @strerror(i64 noundef) #1 declare i32 @accept(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/tmpvx950tgs.c" target datalayout = "e-m:e-p270: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 } @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"Error accepting %d - %s\0A\00", align 1 @ETIMEDOUT = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @timed_accept(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca %struct.timeval, align 8 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %13 = load i32, ptr %9, align 4 %14 = getelementptr inbounds %struct.timeval, ptr %12, i32 0, i32 0 store i32 %13, ptr %14, align 8 %15 = getelementptr inbounds %struct.timeval, ptr %12, i32 0, i32 1 store i64 0, ptr %15, align 8 %16 = call i32 @FD_ZERO(ptr noundef %11) %17 = load i32, ptr %6, align 4 %18 = call i32 @FD_SET(i32 noundef %17, ptr noundef %11) %19 = load i32, ptr %6, align 4 %20 = add nsw i32 %19, 1 %21 = call i32 @select(i32 noundef %20, ptr noundef %11, ptr noundef null, ptr noundef null, ptr noundef %12) store i32 %21, ptr %10, align 4 %22 = load i32, ptr %10, align 4 %23 = icmp slt i32 %22, 0 br i1 %23, label %24, label %34 24: ; preds = %4 %25 = load i64, ptr @errno, align 8 %26 = load i64, ptr @EINTR, align 8 %27 = icmp ne i64 %25, %26 br i1 %27, label %28, label %34 28: ; preds = %24 %29 = load i32, ptr @stderr, align 4 %30 = load i64, ptr @errno, align 8 %31 = load i64, ptr @errno, align 8 %32 = call ptr @strerror(i64 noundef %31) %33 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str, i64 noundef %30, ptr noundef %32) store i32 -1, ptr %5, align 4 br label %43 34: ; preds = %24, %4 %35 = load i32, ptr %10, align 4 %36 = icmp sgt i32 %35, 0 br i1 %36, label %37, label %40 37: ; preds = %34 %38 = load i32, ptr %6, align 4 %39 = call i32 @accept(i32 noundef %38, ptr noundef null, ptr noundef null) store i32 %39, ptr %5, align 4 br label %43 40: ; preds = %34 br label %41 41: ; preds = %40 %42 = load i64, ptr @ETIMEDOUT, align 8 store i64 %42, ptr @errno, align 8 store i32 -1, ptr %5, align 4 br label %43 43: ; preds = %41, %37, %28 %44 = load i32, ptr %5, align 4 ret i32 %44 } declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef, ptr noundef) #1 declare ptr @strerror(i64 noundef) #1 declare i32 @accept(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/tmppl4g5fx2.c' source_filename = "/tmp/tmppl4g5fx2.c" target datalayout = "e-m:e-p270: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/tmppl4g5fx2.c" target datalayout = "e-m:e-p270: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/tmpe1rfc5jn.c' source_filename = "/tmp/tmpe1rfc5jn.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [9 x i8] c"digits:\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c" - %d: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"white space:\0A - %d\0Aother:\0A - %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @count_numbers_space_other() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [10 x i32], align 16 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %2, align 4 br label %6 6: ; preds = %13, %0 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %7, 10 br i1 %8, label %9, label %16 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %11 store i32 0, ptr %12, align 4 br label %13 13: ; preds = %9 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %2, align 4 br label %6, !llvm.loop !6 16: ; preds = %6 br label %17 17: ; preds = %50, %16 %18 = call i32 (...) @getchar() store i32 %18, ptr %1, align 4 %19 = load i32, ptr @EOF, align 4 %20 = icmp ne i32 %18, %19 br i1 %20, label %21, label %51 21: ; preds = %17 %22 = load i32, ptr %1, align 4 %23 = icmp sge i32 %22, 48 br i1 %23, label %24, label %34 24: ; preds = %21 %25 = load i32, ptr %1, align 4 %26 = icmp sle i32 %25, 57 br i1 %26, label %27, label %34 27: ; preds = %24 %28 = load i32, ptr %1, align 4 %29 = sub nsw i32 %28, 48 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %30 %32 = load i32, ptr %31, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %31, align 4 br label %50 34: ; preds = %24, %21 %35 = load i32, ptr %1, align 4 %36 = icmp eq i32 %35, 32 br i1 %36, label %43, label %37 37: ; preds = %34 %38 = load i32, ptr %1, align 4 %39 = icmp eq i32 %38, 10 br i1 %39, label %43, label %40 40: ; preds = %37 %41 = load i32, ptr %1, align 4 %42 = icmp eq i32 %41, 9 br i1 %42, label %43, label %46 43: ; preds = %40, %37, %34 %44 = load i32, ptr %3, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %3, align 4 br label %49 46: ; preds = %40 %47 = load i32, ptr %4, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %4, align 4 br label %49 49: ; preds = %46, %43 br label %50 50: ; preds = %49, %27 br label %17, !llvm.loop !8 51: ; preds = %17 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %2, align 4 br label %53 53: ; preds = %63, %51 %54 = load i32, ptr %2, align 4 %55 = icmp slt i32 %54, 10 br i1 %55, label %56, label %66 56: ; preds = %53 %57 = load i32, ptr %2, align 4 %58 = load i32, ptr %2, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %59 %61 = load i32, ptr %60, align 4 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %57, i32 noundef %61) br label %63 63: ; preds = %56 %64 = load i32, ptr %2, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %2, align 4 br label %53, !llvm.loop !9 66: ; preds = %53 %67 = load i32, ptr %3, align 4 %68 = load i32, ptr %4, align 4 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %67, i32 noundef %68) ret void } declare i32 @getchar(...) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe1rfc5jn.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [9 x i8] c"digits:\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c" - %d: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"white space:\0A - %d\0Aother:\0A - %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @count_numbers_space_other() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [10 x i32], align 16 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 10 br i1 %7, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %12 %9 = load i32, ptr %2, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %10 store i32 0, ptr %11, align 4 br label %12 12: ; preds = %8 %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, 10 br i1 %16, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %17 17: ; preds = %._crit_edge, %0 %18 = call i32 (...) @getchar() store i32 %18, ptr %1, align 4 %19 = load i32, ptr @EOF, align 4 %20 = icmp ne i32 %18, %19 br i1 %20, label %.lr.ph2, label %54 .lr.ph2: ; preds = %17 br label %21 21: ; preds = %.lr.ph2, %50 %22 = load i32, ptr %1, align 4 %23 = icmp sge i32 %22, 48 br i1 %23, label %24, label %34 24: ; preds = %21 %25 = load i32, ptr %1, align 4 %26 = icmp sle i32 %25, 57 br i1 %26, label %27, label %34 27: ; preds = %24 %28 = load i32, ptr %1, align 4 %29 = sub nsw i32 %28, 48 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %30 %32 = load i32, ptr %31, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %31, align 4 br label %50 34: ; preds = %24, %21 %35 = load i32, ptr %1, align 4 %36 = icmp eq i32 %35, 32 br i1 %36, label %43, label %37 37: ; preds = %34 %38 = load i32, ptr %1, align 4 %39 = icmp eq i32 %38, 10 br i1 %39, label %43, label %40 40: ; preds = %37 %41 = load i32, ptr %1, align 4 %42 = icmp eq i32 %41, 9 br i1 %42, label %43, label %46 43: ; preds = %40, %37, %34 %44 = load i32, ptr %3, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %3, align 4 br label %49 46: ; preds = %40 %47 = load i32, ptr %4, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %4, align 4 br label %49 49: ; preds = %46, %43 br label %50 50: ; preds = %49, %27 %51 = call i32 (...) @getchar() store i32 %51, ptr %1, align 4 %52 = load i32, ptr @EOF, align 4 %53 = icmp ne i32 %51, %52 br i1 %53, label %21, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %50 br label %54 54: ; preds = %._crit_edge3, %17 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %2, align 4 %56 = load i32, ptr %2, align 4 %57 = icmp slt i32 %56, 10 br i1 %57, label %.lr.ph5, label %70 .lr.ph5: ; preds = %54 br label %58 58: ; preds = %.lr.ph5, %65 %59 = load i32, ptr %2, align 4 %60 = load i32, ptr %2, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %61 %63 = load i32, ptr %62, align 4 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %59, i32 noundef %63) br label %65 65: ; preds = %58 %66 = load i32, ptr %2, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %2, align 4 %68 = load i32, ptr %2, align 4 %69 = icmp slt i32 %68, 10 br i1 %69, label %58, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %65 br label %70 70: ; preds = %._crit_edge6, %54 %71 = load i32, ptr %3, align 4 %72 = load i32, ptr %4, align 4 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %71, i32 noundef %72) ret void } declare i32 @getchar(...) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpjy280uvi.c' source_filename = "/tmp/tmpjy280uvi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"Interrupted...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cleanup(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str) %5 = call i32 (...) @teardown() %6 = load i32, ptr %2, align 4 %7 = call i32 @exit(i32 noundef %6) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @teardown(...) #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/tmpjy280uvi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"Interrupted...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cleanup(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str) %5 = call i32 (...) @teardown() %6 = load i32, ptr %2, align 4 %7 = call i32 @exit(i32 noundef %6) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @teardown(...) #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/tmpmkzt5zvz.c' source_filename = "/tmp/tmpmkzt5zvz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @julday(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, double noundef %5, ptr noundef %6) #0 { %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 double, align 8 %14 = alloca ptr, align 8 %15 = alloca i64, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i64, align 8 store i32 %0, ptr %8, align 4 store i32 %1, ptr %9, align 4 store i32 %2, ptr %10, align 4 store i32 %3, ptr %11, align 4 store i32 %4, ptr %12, align 4 store double %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 store i64 2299171, ptr %15, align 8 %21 = load i32, ptr %10, align 4 %22 = icmp slt i32 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %7 store i32 1, ptr %16, align 4 br label %25 24: ; preds = %7 store i32 0, ptr %16, align 4 br label %25 25: ; preds = %24, %23 %26 = load i32, ptr %10, align 4 %27 = load i32, ptr %16, align 4 %28 = add nsw i32 %26, %27 store i32 %28, ptr %10, align 4 %29 = load i32, ptr %8, align 4 %30 = icmp sle i32 %29, 2 br i1 %30, label %31, label %32 31: ; preds = %25 store i32 1, ptr %17, align 4 br label %33 32: ; preds = %25 store i32 0, ptr %17, align 4 br label %33 33: ; preds = %32, %31 %34 = load i32, ptr %10, align 4 %35 = load i32, ptr %17, align 4 %36 = sub nsw i32 %34, %35 store i32 %36, ptr %18, align 4 %37 = load i32, ptr %8, align 4 %38 = load i32, ptr %17, align 4 %39 = mul nsw i32 12, %38 %40 = add nsw i32 1, %39 %41 = add nsw i32 %37, %40 store i32 %41, ptr %19, align 4 %42 = load i32, ptr %18, align 4 %43 = sitofp i32 %42 to double %44 = fmul double 3.652500e+02, %43 %45 = call i32 @floor(double noundef %44) %46 = load i32, ptr %19, align 4 %47 = sitofp i32 %46 to double %48 = fmul double 3.060010e+01, %47 %49 = call i32 @floor(double noundef %48) %50 = add nsw i32 %45, %49 %51 = load i32, ptr %9, align 4 %52 = add nsw i32 %50, %51 %53 = add nsw i32 %52, 1720995 %54 = sitofp i32 %53 to double %55 = load ptr, ptr %14, align 8 store double %54, ptr %55, align 8 %56 = load ptr, ptr %14, align 8 %57 = load double, ptr %56, align 8 %58 = load i64, ptr %15, align 8 %59 = sitofp i64 %58 to double %60 = fcmp oge double %57, %59 br i1 %60, label %61, label %80 61: ; preds = %33 %62 = load i32, ptr %18, align 4 %63 = sitofp i32 %62 to double %64 = fmul double 1.000000e-02, %63 %65 = call i32 @floor(double noundef %64) %66 = sext i32 %65 to i64 store i64 %66, ptr %20, align 8 %67 = load ptr, ptr %14, align 8 %68 = load double, ptr %67, align 8 %69 = fadd double %68, 2.000000e+00 %70 = load i64, ptr %20, align 8 %71 = sitofp i64 %70 to double %72 = fsub double %69, %71 %73 = load i64, ptr %20, align 8 %74 = sitofp i64 %73 to double %75 = fmul double 2.500000e-01, %74 %76 = call i32 @floor(double noundef %75) %77 = sitofp i32 %76 to double %78 = fadd double %72, %77 %79 = load ptr, ptr %14, align 8 store double %78, ptr %79, align 8 br label %80 80: ; preds = %61, %33 %81 = load ptr, ptr %14, align 8 %82 = load double, ptr %81, align 8 %83 = load i32, ptr %11, align 4 %84 = sitofp i32 %83 to double %85 = fdiv double %84, 2.400000e+01 %86 = fsub double %85, 5.000000e-01 %87 = fadd double %82, %86 %88 = load i32, ptr %12, align 4 %89 = sitofp i32 %88 to double %90 = fdiv double %89, 1.440000e+03 %91 = fadd double %87, %90 %92 = load double, ptr %13, align 8 %93 = fdiv double %92, 8.640000e+04 %94 = fadd double %91, %93 %95 = load ptr, ptr %14, align 8 store double %94, ptr %95, align 8 ret void } declare i32 @floor(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmkzt5zvz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @julday(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, double noundef %5, ptr noundef %6) #0 { %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 double, align 8 %14 = alloca ptr, align 8 %15 = alloca i64, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i64, align 8 store i32 %0, ptr %8, align 4 store i32 %1, ptr %9, align 4 store i32 %2, ptr %10, align 4 store i32 %3, ptr %11, align 4 store i32 %4, ptr %12, align 4 store double %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 store i64 2299171, ptr %15, align 8 %21 = load i32, ptr %10, align 4 %22 = icmp slt i32 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %7 store i32 1, ptr %16, align 4 br label %25 24: ; preds = %7 store i32 0, ptr %16, align 4 br label %25 25: ; preds = %24, %23 %26 = load i32, ptr %10, align 4 %27 = load i32, ptr %16, align 4 %28 = add nsw i32 %26, %27 store i32 %28, ptr %10, align 4 %29 = load i32, ptr %8, align 4 %30 = icmp sle i32 %29, 2 br i1 %30, label %31, label %32 31: ; preds = %25 store i32 1, ptr %17, align 4 br label %33 32: ; preds = %25 store i32 0, ptr %17, align 4 br label %33 33: ; preds = %32, %31 %34 = load i32, ptr %10, align 4 %35 = load i32, ptr %17, align 4 %36 = sub nsw i32 %34, %35 store i32 %36, ptr %18, align 4 %37 = load i32, ptr %8, align 4 %38 = load i32, ptr %17, align 4 %39 = mul nsw i32 12, %38 %40 = add nsw i32 1, %39 %41 = add nsw i32 %37, %40 store i32 %41, ptr %19, align 4 %42 = load i32, ptr %18, align 4 %43 = sitofp i32 %42 to double %44 = fmul double 3.652500e+02, %43 %45 = call i32 @floor(double noundef %44) %46 = load i32, ptr %19, align 4 %47 = sitofp i32 %46 to double %48 = fmul double 3.060010e+01, %47 %49 = call i32 @floor(double noundef %48) %50 = add nsw i32 %45, %49 %51 = load i32, ptr %9, align 4 %52 = add nsw i32 %50, %51 %53 = add nsw i32 %52, 1720995 %54 = sitofp i32 %53 to double %55 = load ptr, ptr %14, align 8 store double %54, ptr %55, align 8 %56 = load ptr, ptr %14, align 8 %57 = load double, ptr %56, align 8 %58 = load i64, ptr %15, align 8 %59 = sitofp i64 %58 to double %60 = fcmp oge double %57, %59 br i1 %60, label %61, label %80 61: ; preds = %33 %62 = load i32, ptr %18, align 4 %63 = sitofp i32 %62 to double %64 = fmul double 1.000000e-02, %63 %65 = call i32 @floor(double noundef %64) %66 = sext i32 %65 to i64 store i64 %66, ptr %20, align 8 %67 = load ptr, ptr %14, align 8 %68 = load double, ptr %67, align 8 %69 = fadd double %68, 2.000000e+00 %70 = load i64, ptr %20, align 8 %71 = sitofp i64 %70 to double %72 = fsub double %69, %71 %73 = load i64, ptr %20, align 8 %74 = sitofp i64 %73 to double %75 = fmul double 2.500000e-01, %74 %76 = call i32 @floor(double noundef %75) %77 = sitofp i32 %76 to double %78 = fadd double %72, %77 %79 = load ptr, ptr %14, align 8 store double %78, ptr %79, align 8 br label %80 80: ; preds = %61, %33 %81 = load ptr, ptr %14, align 8 %82 = load double, ptr %81, align 8 %83 = load i32, ptr %11, align 4 %84 = sitofp i32 %83 to double %85 = fdiv double %84, 2.400000e+01 %86 = fsub double %85, 5.000000e-01 %87 = fadd double %82, %86 %88 = load i32, ptr %12, align 4 %89 = sitofp i32 %88 to double %90 = fdiv double %89, 1.440000e+03 %91 = fadd double %87, %90 %92 = load double, ptr %13, align 8 %93 = fdiv double %92, 8.640000e+04 %94 = fadd double %91, %93 %95 = load ptr, ptr %14, align 8 store double %94, ptr %95, align 8 ret void } declare i32 @floor(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzw3hf6wl.c' source_filename = "/tmp/tmpzw3hf6wl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [66 x i8] c"BrzBinaryFuncConstRPush_ackup: This code should never be reached\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @BrzBinaryFuncConstRPush_requp(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @CloseBreezeSimulation(i32 noundef 2) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @CloseBreezeSimulation(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/tmpzw3hf6wl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [66 x i8] c"BrzBinaryFuncConstRPush_ackup: This code should never be reached\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @BrzBinaryFuncConstRPush_requp(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @CloseBreezeSimulation(i32 noundef 2) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @CloseBreezeSimulation(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/tmpi6q0244y.c' source_filename = "/tmp/tmpi6q0244y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"getlamp()\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getlamp() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi6q0244y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"getlamp()\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getlamp() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcsq3iuks.c' source_filename = "/tmp/tmpcsq3iuks.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @np_linkedlist_iterator_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcsq3iuks.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @np_linkedlist_iterator_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfehpmwxc.c' source_filename = "/tmp/tmpfehpmwxc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"normal termination, exit status = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [42 x i8] c"abnormal termination, signal number = %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"child stopped, signal number = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"term stat\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @term_stat(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i64 @WIFEXITED(i32 noundef %3) %5 = icmp ne i64 %4, 0 br i1 %5, label %6, label %10 6: ; preds = %1 %7 = load i32, ptr %2, align 4 %8 = call i32 @WEXITSTATUS(i32 noundef %7) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %8) br label %28 10: ; preds = %1 %11 = load i32, ptr %2, align 4 %12 = call i64 @WIFSIGNALED(i32 noundef %11) %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %10 %15 = load i32, ptr %2, align 4 %16 = call i32 @WTERMSIG(i32 noundef %15) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16) br label %27 18: ; preds = %10 %19 = load i32, ptr %2, align 4 %20 = call i64 @WIFSTOPPED(i32 noundef %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %26 22: ; preds = %18 %23 = load i32, ptr %2, align 4 %24 = call i32 @WSTOPSIG(i32 noundef %23) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %24) br label %26 26: ; preds = %22, %18 br label %27 27: ; preds = %26, %14 br label %28 28: ; preds = %27, %6 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret void } declare i64 @WIFEXITED(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @WEXITSTATUS(i32 noundef) #1 declare i64 @WIFSIGNALED(i32 noundef) #1 declare i32 @WTERMSIG(i32 noundef) #1 declare i64 @WIFSTOPPED(i32 noundef) #1 declare i32 @WSTOPSIG(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/tmpfehpmwxc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"normal termination, exit status = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [42 x i8] c"abnormal termination, signal number = %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"child stopped, signal number = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"term stat\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @term_stat(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i64 @WIFEXITED(i32 noundef %3) %5 = icmp ne i64 %4, 0 br i1 %5, label %6, label %10 6: ; preds = %1 %7 = load i32, ptr %2, align 4 %8 = call i32 @WEXITSTATUS(i32 noundef %7) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %8) br label %28 10: ; preds = %1 %11 = load i32, ptr %2, align 4 %12 = call i64 @WIFSIGNALED(i32 noundef %11) %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %10 %15 = load i32, ptr %2, align 4 %16 = call i32 @WTERMSIG(i32 noundef %15) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16) br label %27 18: ; preds = %10 %19 = load i32, ptr %2, align 4 %20 = call i64 @WIFSTOPPED(i32 noundef %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %26 22: ; preds = %18 %23 = load i32, ptr %2, align 4 %24 = call i32 @WSTOPSIG(i32 noundef %23) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %24) br label %26 26: ; preds = %22, %18 br label %27 27: ; preds = %26, %14 br label %28 28: ; preds = %27, %6 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret void } declare i64 @WIFEXITED(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @WEXITSTATUS(i32 noundef) #1 declare i64 @WIFSIGNALED(i32 noundef) #1 declare i32 @WTERMSIG(i32 noundef) #1 declare i64 @WIFSTOPPED(i32 noundef) #1 declare i32 @WSTOPSIG(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/tmp11n4l_nn.c' source_filename = "/tmp/tmp11n4l_nn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetThousandToHundThousand() #0 { %1 = alloca double, align 8 %2 = call i32 (...) @rand() %3 = srem i32 %2, 100000 %4 = sitofp i32 %3 to double store double %4, ptr %1, align 8 %5 = load double, ptr %1, align 8 %6 = fdiv double %5, 1.000000e+09 ret double %6 } 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/tmp11n4l_nn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetThousandToHundThousand() #0 { %1 = alloca double, align 8 %2 = call i32 (...) @rand() %3 = srem i32 %2, 100000 %4 = sitofp i32 %3 to double store double %4, ptr %1, align 8 %5 = load double, ptr %1, align 8 %6 = fdiv double %5, 1.000000e+09 ret double %6 } 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/tmpblx_xsrn.c' source_filename = "/tmp/tmpblx_xsrn.c" target datalayout = "e-m:e-p270: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/tmpblx_xsrn.c" target datalayout = "e-m:e-p270: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/tmpuxaw2ayi.c' source_filename = "/tmp/tmpuxaw2ayi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENODEV = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @write(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = load i32, ptr @ENODEV, align 4 store i32 %10, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuxaw2ayi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENODEV = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @write(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = load i32, ptr @ENODEV, align 4 store i32 %10, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp48sv1wcq.c' source_filename = "/tmp/tmp48sv1wcq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c" %d |\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printint(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp48sv1wcq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c" %d |\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printint(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnj6jhwzo.c' source_filename = "/tmp/tmpnj6jhwzo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"Como o programa foi chamado: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"Ol\C3\A1 %s!\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Ol\C3\A1 mundo!\0A\00", align 1 @.str.3 = private unnamed_addr constant [62 x i8] c"Por gentileza, informe algum argumento via linha de comando.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = getelementptr inbounds ptr, ptr %7, i64 0 %9 = load ptr, ptr %8, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9) %11 = load i32, ptr %4, align 4 %12 = icmp sgt i32 %11, 1 br i1 %12, label %13, label %29 13: ; preds = %2 store i32 1, ptr %6, align 4 br label %14 14: ; preds = %25, %13 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %28 18: ; preds = %14 %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds ptr, ptr %19, i64 %21 %23 = load ptr, ptr %22, align 8 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %23) br label %25 25: ; preds = %18 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %6, align 4 br label %14, !llvm.loop !6 28: ; preds = %14 br label %32 29: ; preds = %2 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %32 32: ; preds = %29, %28 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnj6jhwzo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"Como o programa foi chamado: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"Ol\C3\A1 %s!\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Ol\C3\A1 mundo!\0A\00", align 1 @.str.3 = private unnamed_addr constant [62 x i8] c"Por gentileza, informe algum argumento via linha de comando.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = getelementptr inbounds ptr, ptr %7, i64 0 %9 = load ptr, ptr %8, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9) %11 = load i32, ptr %4, align 4 %12 = icmp sgt i32 %11, 1 br i1 %12, label %13, label %31 13: ; preds = %2 store i32 1, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %30 .lr.ph: ; preds = %13 br label %17 17: ; preds = %.lr.ph, %24 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds ptr, ptr %18, i64 %20 %22 = load ptr, ptr %21, align 8 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %22) br label %24 24: ; preds = %17 %25 = load i32, ptr %6, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %6, align 4 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %30 30: ; preds = %._crit_edge, %13 br label %34 31: ; preds = %2 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %34 34: ; preds = %31, %30 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpuzx00hmj.c' source_filename = "/tmp/tmpuzx00hmj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @XOR(i8 noundef signext %0, i8 noundef signext %1) #0 { %3 = alloca i8, align 1 %4 = alloca i8, align 1 %5 = alloca ptr, align 8 store i8 %0, ptr %3, align 1 store i8 %1, ptr %4, align 1 %6 = call i64 @malloc(i32 noundef 1) %7 = inttoptr i64 %6 to ptr store ptr %7, ptr %5, align 8 %8 = load i8, ptr %3, align 1 %9 = sext i8 %8 to i32 %10 = load i8, ptr %4, align 1 %11 = sext i8 %10 to i32 %12 = xor i32 %9, %11 %13 = trunc i32 %12 to i8 %14 = load ptr, ptr %5, align 8 store i8 %13, ptr %14, align 1 %15 = load ptr, ptr %5, align 8 ret ptr %15 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuzx00hmj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @XOR(i8 noundef signext %0, i8 noundef signext %1) #0 { %3 = alloca i8, align 1 %4 = alloca i8, align 1 %5 = alloca ptr, align 8 store i8 %0, ptr %3, align 1 store i8 %1, ptr %4, align 1 %6 = call i64 @malloc(i32 noundef 1) %7 = inttoptr i64 %6 to ptr store ptr %7, ptr %5, align 8 %8 = load i8, ptr %3, align 1 %9 = sext i8 %8 to i32 %10 = load i8, ptr %4, align 1 %11 = sext i8 %10 to i32 %12 = xor i32 %9, %11 %13 = trunc i32 %12 to i8 %14 = load ptr, ptr %5, align 8 store i8 %13, ptr %14, align 1 %15 = load ptr, ptr %5, align 8 ret ptr %15 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp300sbz36.c' source_filename = "/tmp/tmp300sbz36.c" target datalayout = "e-m:e-p270: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/tmp300sbz36.c" target datalayout = "e-m:e-p270: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/tmpnkh4tw7_.c' source_filename = "/tmp/tmpnkh4tw7_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"usage:\0A\09%s <inputlength>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnkh4tw7_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"usage:\0A\09%s <inputlength>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7d3z1913.c' source_filename = "/tmp/tmp7d3z1913.c" target datalayout = "e-m:e-p270: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/tmp7d3z1913.c" target datalayout = "e-m:e-p270: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/tmpqgpkbefa.c' source_filename = "/tmp/tmpqgpkbefa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"# Warning: found sync %04X != %04X\0A\00", align 1 @.str.1 = private unnamed_addr constant [46 x i8] c"# Warning: found size %d != expected size %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"# Warning: checksum 0x%04X != 0x0000\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tms_chk_msg(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 0, ptr %6, align 4 %10 = load ptr, ptr %4, align 8 %11 = call i32 @tms_get_int(ptr noundef %10, ptr noundef %6, i32 noundef 2) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp ne i32 %12, 43690 br i1 %13, label %14, label %18 14: ; preds = %2 %15 = load i32, ptr @stderr, align 4 %16 = load i32, ptr %7, align 4 %17 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %15, ptr noundef @.str, i32 noundef %16, i32 noundef 43690) store i32 -1, ptr %3, align 4 br label %49 18: ; preds = %2 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %5, align 4 %21 = call i32 @tms_msg_size(ptr noundef %19, i32 noundef %20, ptr noundef %6) store i32 %21, ptr %8, align 4 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %8, align 4 %24 = mul nsw i32 2, %23 %25 = load i32, ptr %6, align 4 %26 = add nsw i32 %24, %25 %27 = add nsw i32 %26, 2 %28 = icmp ne i32 %22, %27 br i1 %28, label %29, label %38 29: ; preds = %18 %30 = load i32, ptr @stderr, align 4 %31 = load i32, ptr %8, align 4 %32 = load i32, ptr %5, align 4 %33 = load i32, ptr %6, align 4 %34 = sub nsw i32 %32, %33 %35 = sub nsw i32 %34, 2 %36 = sdiv i32 %35, 2 %37 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %30, ptr noundef @.str.1, i32 noundef %31, i32 noundef %36) br label %38 38: ; preds = %29, %18 %39 = load ptr, ptr %4, align 8 %40 = load i32, ptr %5, align 4 %41 = call i32 @tms_cal_chksum(ptr noundef %39, i32 noundef %40) store i32 %41, ptr %9, align 4 %42 = load i32, ptr %9, align 4 %43 = icmp ne i32 %42, 0 br i1 %43, label %44, label %48 44: ; preds = %38 %45 = load i32, ptr @stderr, align 4 %46 = load i32, ptr %9, align 4 %47 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %45, ptr noundef @.str.2, i32 noundef %46) store i32 1, ptr %3, align 4 br label %49 48: ; preds = %38 store i32 0, ptr %3, align 4 br label %49 49: ; preds = %48, %44, %14 %50 = load i32, ptr %3, align 4 ret i32 %50 } declare i32 @tms_get_int(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ...) #1 declare i32 @tms_msg_size(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @tms_cal_chksum(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/tmpqgpkbefa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"# Warning: found sync %04X != %04X\0A\00", align 1 @.str.1 = private unnamed_addr constant [46 x i8] c"# Warning: found size %d != expected size %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"# Warning: checksum 0x%04X != 0x0000\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tms_chk_msg(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 0, ptr %6, align 4 %10 = load ptr, ptr %4, align 8 %11 = call i32 @tms_get_int(ptr noundef %10, ptr noundef %6, i32 noundef 2) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp ne i32 %12, 43690 br i1 %13, label %14, label %18 14: ; preds = %2 %15 = load i32, ptr @stderr, align 4 %16 = load i32, ptr %7, align 4 %17 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %15, ptr noundef @.str, i32 noundef %16, i32 noundef 43690) store i32 -1, ptr %3, align 4 br label %49 18: ; preds = %2 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %5, align 4 %21 = call i32 @tms_msg_size(ptr noundef %19, i32 noundef %20, ptr noundef %6) store i32 %21, ptr %8, align 4 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %8, align 4 %24 = mul nsw i32 2, %23 %25 = load i32, ptr %6, align 4 %26 = add nsw i32 %24, %25 %27 = add nsw i32 %26, 2 %28 = icmp ne i32 %22, %27 br i1 %28, label %29, label %38 29: ; preds = %18 %30 = load i32, ptr @stderr, align 4 %31 = load i32, ptr %8, align 4 %32 = load i32, ptr %5, align 4 %33 = load i32, ptr %6, align 4 %34 = sub nsw i32 %32, %33 %35 = sub nsw i32 %34, 2 %36 = sdiv i32 %35, 2 %37 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %30, ptr noundef @.str.1, i32 noundef %31, i32 noundef %36) br label %38 38: ; preds = %29, %18 %39 = load ptr, ptr %4, align 8 %40 = load i32, ptr %5, align 4 %41 = call i32 @tms_cal_chksum(ptr noundef %39, i32 noundef %40) store i32 %41, ptr %9, align 4 %42 = load i32, ptr %9, align 4 %43 = icmp ne i32 %42, 0 br i1 %43, label %44, label %48 44: ; preds = %38 %45 = load i32, ptr @stderr, align 4 %46 = load i32, ptr %9, align 4 %47 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %45, ptr noundef @.str.2, i32 noundef %46) store i32 1, ptr %3, align 4 br label %49 48: ; preds = %38 store i32 0, ptr %3, align 4 br label %49 49: ; preds = %48, %44, %14 %50 = load i32, ptr %3, align 4 ret i32 %50 } declare i32 @tms_get_int(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ...) #1 declare i32 @tms_msg_size(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @tms_cal_chksum(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/tmprb2v_22s.c' source_filename = "/tmp/tmprb2v_22s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @add(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 = add nsw i32 %5, %6 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %7) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprb2v_22s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @add(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 = add nsw i32 %5, %6 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %7) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4e5boxz9.c' source_filename = "/tmp/tmp4e5boxz9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SEGGER_RTT_WaitKey() #0 { %1 = alloca i32, align 4 br label %2 2: ; preds = %4, %0 %3 = call i32 (...) @SEGGER_RTT_GetKey() store i32 %3, ptr %1, align 4 br label %4 4: ; preds = %2 %5 = load i32, ptr %1, align 4 %6 = icmp slt i32 %5, 0 br i1 %6, label %2, label %7, !llvm.loop !6 7: ; preds = %4 %8 = load i32, ptr %1, align 4 ret i32 %8 } declare i32 @SEGGER_RTT_GetKey(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp4e5boxz9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SEGGER_RTT_WaitKey() #0 { %1 = alloca i32, align 4 br label %2 2: ; preds = %4, %0 %3 = call i32 (...) @SEGGER_RTT_GetKey() store i32 %3, ptr %1, align 4 br label %4 4: ; preds = %2 %5 = load i32, ptr %1, align 4 %6 = icmp slt i32 %5, 0 br i1 %6, label %2, label %7, !llvm.loop !6 7: ; preds = %4 %8 = load i32, ptr %1, align 4 ret i32 %8 } declare i32 @SEGGER_RTT_GetKey(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpmky9ptm3.c' source_filename = "/tmp/tmpmky9ptm3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = call i32 @to_binary(i32 noundef %4) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @to_binary(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/tmpmky9ptm3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = call i32 @to_binary(i32 noundef %4) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @to_binary(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/tmpymvyo52w.c' source_filename = "/tmp/tmpymvyo52w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Tt\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"Te\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"Cf\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"Af\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"Pf\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"Ta\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"Lm\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"Et\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"Ea\00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"Rt\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"Ra\00", align 1 @.str.11 = private unnamed_addr constant [3 x i8] c"Rx\00", align 1 @.str.12 = private unnamed_addr constant [3 x i8] c"Fp\00", align 1 @.str.13 = private unnamed_addr constant [3 x i8] c"Ec\00", align 1 @.str.14 = private unnamed_addr constant [3 x i8] c"Em\00", align 1 @.str.15 = private unnamed_addr constant [3 x i8] c"Oc\00", align 1 @.str.16 = private unnamed_addr constant [3 x i8] c"Om\00", align 1 @.str.17 = private unnamed_addr constant [3 x i8] c"Nc\00", align 1 @.str.18 = private unnamed_addr constant [3 x i8] c"Nm\00", align 1 @.str.19 = private unnamed_addr constant [3 x i8] c"Pc\00", align 1 @.str.20 = private unnamed_addr constant [3 x i8] c"Pm\00", align 1 @.str.21 = private unnamed_addr constant [3 x i8] c"Fc\00", align 1 @.str.22 = private unnamed_addr constant [3 x i8] c"Fm\00", align 1 @.str.23 = private unnamed_addr constant [3 x i8] c"Sc\00", align 1 @.str.24 = private unnamed_addr constant [3 x i8] c"Sm\00", align 1 @.str.25 = private unnamed_addr constant [3 x i8] c"Zt\00", align 1 @.str.26 = private unnamed_addr constant [3 x i8] c"Gz\00", align 1 @.str.27 = private unnamed_addr constant [3 x i8] c"Gd\00", align 1 @.str.28 = private unnamed_addr constant [3 x i8] c"Ep\00", align 1 @.str.29 = private unnamed_addr constant [60 x i8] c"total tmem ops=%llu (errors=%llu) -- tmem pages avail=%llu\0A\00", align 1 @.str.30 = private unnamed_addr constant [100 x i8] c"datastructs: objs=%llu (max=%llu) pgps=%llu (max=%llu) nodes=%llu (max=%llu) pages=%llu (max=%llu) \00", align 1 @.str.31 = private unnamed_addr constant [22 x i8] c"pcds=%llu (max=%llu) \00", align 1 @.str.32 = private unnamed_addr constant [37 x i8] c"deduped: avg=%4.2f%% (curr=%4.2f%%) \00", align 1 @.str.33 = private unnamed_addr constant [21 x i8] c"tze savings=%4.2f%% \00", align 1 @.str.34 = private unnamed_addr constant [29 x i8] c"compression savings=%4.2f%% \00", align 1 @.str.35 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.36 = private unnamed_addr constant [191 x i8] c"misc: failed_copies=%llu alloc_failed=%llu alloc_page_failed=%llu low_mem=%llu evicted=%llu/%llu relinq=%llu/%llu, max_evicts_per_relinq=%llu, flush_pools=%llu, eph_count=%llu, eph_max=%llu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @parse_global(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca i64, align 8 %19 = alloca i64, align 8 %20 = alloca i64, align 8 %21 = alloca i64, align 8 %22 = alloca i64, align 8 %23 = alloca i64, align 8 %24 = alloca i64, align 8 %25 = alloca i64, align 8 %26 = alloca i64, align 8 %27 = alloca i64, align 8 %28 = alloca i64, align 8 %29 = alloca i64, align 8 %30 = alloca i64, align 8 %31 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %32 = load ptr, ptr %2, align 8 %33 = call i64 @parse(ptr noundef %32, ptr noundef @.str) store i64 %33, ptr %3, align 8 %34 = load ptr, ptr %2, align 8 %35 = call i64 @parse(ptr noundef %34, ptr noundef @.str.1) store i64 %35, ptr %4, align 8 %36 = load ptr, ptr %2, align 8 %37 = call i64 @parse(ptr noundef %36, ptr noundef @.str.2) store i64 %37, ptr %5, align 8 %38 = load ptr, ptr %2, align 8 %39 = call i64 @parse(ptr noundef %38, ptr noundef @.str.3) store i64 %39, ptr %6, align 8 %40 = load ptr, ptr %2, align 8 %41 = call i64 @parse(ptr noundef %40, ptr noundef @.str.4) store i64 %41, ptr %7, align 8 %42 = load ptr, ptr %2, align 8 %43 = call i64 @parse(ptr noundef %42, ptr noundef @.str.5) store i64 %43, ptr %8, align 8 %44 = load ptr, ptr %2, align 8 %45 = call i64 @parse(ptr noundef %44, ptr noundef @.str.6) store i64 %45, ptr %9, align 8 %46 = load ptr, ptr %2, align 8 %47 = call i64 @parse(ptr noundef %46, ptr noundef @.str.7) store i64 %47, ptr %10, align 8 %48 = load ptr, ptr %2, align 8 %49 = call i64 @parse(ptr noundef %48, ptr noundef @.str.8) store i64 %49, ptr %11, align 8 %50 = load ptr, ptr %2, align 8 %51 = call i64 @parse(ptr noundef %50, ptr noundef @.str.9) store i64 %51, ptr %12, align 8 %52 = load ptr, ptr %2, align 8 %53 = call i64 @parse(ptr noundef %52, ptr noundef @.str.10) store i64 %53, ptr %13, align 8 %54 = load ptr, ptr %2, align 8 %55 = call i64 @parse(ptr noundef %54, ptr noundef @.str.11) store i64 %55, ptr %14, align 8 %56 = load ptr, ptr %2, align 8 %57 = call i64 @parse(ptr noundef %56, ptr noundef @.str.12) store i64 %57, ptr %15, align 8 %58 = load ptr, ptr %2, align 8 %59 = call i64 @parse(ptr noundef %58, ptr noundef @.str.13) store i64 %59, ptr %16, align 8 %60 = load ptr, ptr %2, align 8 %61 = call i64 @parse(ptr noundef %60, ptr noundef @.str.14) store i64 %61, ptr %17, align 8 %62 = load ptr, ptr %2, align 8 %63 = call i64 @parse(ptr noundef %62, ptr noundef @.str.15) store i64 %63, ptr %18, align 8 %64 = load ptr, ptr %2, align 8 %65 = call i64 @parse(ptr noundef %64, ptr noundef @.str.16) store i64 %65, ptr %19, align 8 %66 = load ptr, ptr %2, align 8 %67 = call i64 @parse(ptr noundef %66, ptr noundef @.str.17) store i64 %67, ptr %20, align 8 %68 = load ptr, ptr %2, align 8 %69 = call i64 @parse(ptr noundef %68, ptr noundef @.str.18) store i64 %69, ptr %21, align 8 %70 = load ptr, ptr %2, align 8 %71 = call i64 @parse(ptr noundef %70, ptr noundef @.str.19) store i64 %71, ptr %22, align 8 %72 = load ptr, ptr %2, align 8 %73 = call i64 @parse(ptr noundef %72, ptr noundef @.str.20) store i64 %73, ptr %23, align 8 %74 = load ptr, ptr %2, align 8 %75 = call i64 @parse(ptr noundef %74, ptr noundef @.str.21) store i64 %75, ptr %24, align 8 %76 = load ptr, ptr %2, align 8 %77 = call i64 @parse(ptr noundef %76, ptr noundef @.str.22) store i64 %77, ptr %25, align 8 %78 = load ptr, ptr %2, align 8 %79 = call i64 @parse(ptr noundef %78, ptr noundef @.str.23) store i64 %79, ptr %26, align 8 %80 = load ptr, ptr %2, align 8 %81 = call i64 @parse(ptr noundef %80, ptr noundef @.str.24) store i64 %81, ptr %27, align 8 %82 = load ptr, ptr %2, align 8 %83 = call i64 @parse(ptr noundef %82, ptr noundef @.str.25) store i64 %83, ptr %28, align 8 %84 = load ptr, ptr %2, align 8 %85 = call i64 @parse(ptr noundef %84, ptr noundef @.str.26) store i64 %85, ptr %29, align 8 %86 = load ptr, ptr %2, align 8 %87 = call i64 @parse(ptr noundef %86, ptr noundef @.str.27) store i64 %87, ptr %30, align 8 %88 = load ptr, ptr %2, align 8 %89 = call i64 @parse(ptr noundef %88, ptr noundef @.str.28) store i64 %89, ptr %31, align 8 %90 = load i64, ptr %3, align 8 %91 = load i64, ptr %4, align 8 %92 = load i64, ptr %8, align 8 %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, i64 noundef %90, i64 noundef %91, i64 noundef %92) %94 = load i64, ptr %18, align 8 %95 = load i64, ptr %19, align 8 %96 = load i64, ptr %22, align 8 %97 = load i64, ptr %23, align 8 %98 = load i64, ptr %20, align 8 %99 = load i64, ptr %21, align 8 %100 = load i64, ptr %24, align 8 %101 = load i64, ptr %25, align 8 %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.30, i64 noundef %94, i64 noundef %95, i64 noundef %96, i64 noundef %97, i64 noundef %98, i64 noundef %99, i64 noundef %100, i64 noundef %101) %103 = load i64, ptr %27, align 8 %104 = icmp ne i64 %103, 0 br i1 %104, label %105, label %131 105: ; preds = %1 %106 = load i64, ptr %16, align 8 %107 = icmp ne i64 %106, 0 br i1 %107, label %108, label %131 108: ; preds = %105 %109 = load i64, ptr %31, align 8 %110 = icmp ne i64 %109, 0 br i1 %110, label %111, label %131 111: ; preds = %108 %112 = load i64, ptr %26, align 8 %113 = load i64, ptr %27, align 8 %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, i64 noundef %112, i64 noundef %113) %115 = load i64, ptr %30, align 8 %116 = uitofp i64 %115 to double %117 = fmul double %116, 1.000000e+00 %118 = load i64, ptr %31, align 8 %119 = uitofp i64 %118 to double %120 = fdiv double %117, %119 %121 = fmul double %120, 1.000000e+02 %122 = load i64, ptr %26, align 8 %123 = uitofp i64 %122 to double %124 = fmul double %123, 1.000000e+00 %125 = load i64, ptr %16, align 8 %126 = uitofp i64 %125 to double %127 = fdiv double %124, %126 %128 = fsub double 1.000000e+00, %127 %129 = fmul double %128, 1.000000e+02 %130 = call i32 (ptr, ...) @printf(ptr noundef @.str.32, double noundef %121, double noundef %129) br label %131 131: ; preds = %111, %108, %105, %1 %132 = load i64, ptr %26, align 8 %133 = icmp ne i64 %132, 0 br i1 %133, label %134, label %173 134: ; preds = %131 %135 = load i64, ptr %28, align 8 %136 = icmp ne i64 %135, 0 br i1 %136, label %137, label %153 137: ; preds = %134 %138 = load i64, ptr %28, align 8 %139 = load i64, ptr %26, align 8 %140 = mul i64 %139, 4096 %141 = icmp ult i64 %138, %140 br i1 %141, label %142, label %153 142: ; preds = %137 %143 = load i64, ptr %28, align 8 %144 = uitofp i64 %143 to double %145 = fmul double %144, 1.000000e+00 %146 = load i64, ptr %26, align 8 %147 = mul i64 %146, 4096 %148 = uitofp i64 %147 to double %149 = fdiv double %145, %148 %150 = fsub double 1.000000e+00, %149 %151 = fmul double %150, 1.000000e+02 %152 = call i32 (ptr, ...) @printf(ptr noundef @.str.33, double noundef %151) br label %153 153: ; preds = %142, %137, %134 %154 = load i64, ptr %29, align 8 %155 = icmp ne i64 %154, 0 br i1 %155, label %156, label %172 156: ; preds = %153 %157 = load i64, ptr %29, align 8 %158 = load i64, ptr %26, align 8 %159 = mul i64 %158, 4096 %160 = icmp ult i64 %157, %159 br i1 %160, label %161, label %172 161: ; preds = %156 %162 = load i64, ptr %29, align 8 %163 = uitofp i64 %162 to double %164 = fmul double %163, 1.000000e+00 %165 = load i64, ptr %26, align 8 %166 = mul i64 %165, 4096 %167 = uitofp i64 %166 to double %168 = fdiv double %164, %167 %169 = fsub double 1.000000e+00, %168 %170 = fmul double %169, 1.000000e+02 %171 = call i32 (ptr, ...) @printf(ptr noundef @.str.34, double noundef %170) br label %172 172: ; preds = %161, %156, %153 br label %173 173: ; preds = %172, %131 %174 = call i32 (ptr, ...) @printf(ptr noundef @.str.35) %175 = load i64, ptr %5, align 8 %176 = load i64, ptr %6, align 8 %177 = load i64, ptr %7, align 8 %178 = load i64, ptr %9, align 8 %179 = load i64, ptr %10, align 8 %180 = load i64, ptr %11, align 8 %181 = load i64, ptr %12, align 8 %182 = load i64, ptr %13, align 8 %183 = load i64, ptr %14, align 8 %184 = load i64, ptr %15, align 8 %185 = load i64, ptr %16, align 8 %186 = load i64, ptr %17, align 8 %187 = call i32 (ptr, ...) @printf(ptr noundef @.str.36, i64 noundef %175, i64 noundef %176, i64 noundef %177, i64 noundef %178, i64 noundef %179, i64 noundef %180, i64 noundef %181, i64 noundef %182, i64 noundef %183, i64 noundef %184, i64 noundef %185, i64 noundef %186) ret void } declare i64 @parse(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpymvyo52w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Tt\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"Te\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"Cf\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"Af\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"Pf\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"Ta\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"Lm\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"Et\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"Ea\00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"Rt\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"Ra\00", align 1 @.str.11 = private unnamed_addr constant [3 x i8] c"Rx\00", align 1 @.str.12 = private unnamed_addr constant [3 x i8] c"Fp\00", align 1 @.str.13 = private unnamed_addr constant [3 x i8] c"Ec\00", align 1 @.str.14 = private unnamed_addr constant [3 x i8] c"Em\00", align 1 @.str.15 = private unnamed_addr constant [3 x i8] c"Oc\00", align 1 @.str.16 = private unnamed_addr constant [3 x i8] c"Om\00", align 1 @.str.17 = private unnamed_addr constant [3 x i8] c"Nc\00", align 1 @.str.18 = private unnamed_addr constant [3 x i8] c"Nm\00", align 1 @.str.19 = private unnamed_addr constant [3 x i8] c"Pc\00", align 1 @.str.20 = private unnamed_addr constant [3 x i8] c"Pm\00", align 1 @.str.21 = private unnamed_addr constant [3 x i8] c"Fc\00", align 1 @.str.22 = private unnamed_addr constant [3 x i8] c"Fm\00", align 1 @.str.23 = private unnamed_addr constant [3 x i8] c"Sc\00", align 1 @.str.24 = private unnamed_addr constant [3 x i8] c"Sm\00", align 1 @.str.25 = private unnamed_addr constant [3 x i8] c"Zt\00", align 1 @.str.26 = private unnamed_addr constant [3 x i8] c"Gz\00", align 1 @.str.27 = private unnamed_addr constant [3 x i8] c"Gd\00", align 1 @.str.28 = private unnamed_addr constant [3 x i8] c"Ep\00", align 1 @.str.29 = private unnamed_addr constant [60 x i8] c"total tmem ops=%llu (errors=%llu) -- tmem pages avail=%llu\0A\00", align 1 @.str.30 = private unnamed_addr constant [100 x i8] c"datastructs: objs=%llu (max=%llu) pgps=%llu (max=%llu) nodes=%llu (max=%llu) pages=%llu (max=%llu) \00", align 1 @.str.31 = private unnamed_addr constant [22 x i8] c"pcds=%llu (max=%llu) \00", align 1 @.str.32 = private unnamed_addr constant [37 x i8] c"deduped: avg=%4.2f%% (curr=%4.2f%%) \00", align 1 @.str.33 = private unnamed_addr constant [21 x i8] c"tze savings=%4.2f%% \00", align 1 @.str.34 = private unnamed_addr constant [29 x i8] c"compression savings=%4.2f%% \00", align 1 @.str.35 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.36 = private unnamed_addr constant [191 x i8] c"misc: failed_copies=%llu alloc_failed=%llu alloc_page_failed=%llu low_mem=%llu evicted=%llu/%llu relinq=%llu/%llu, max_evicts_per_relinq=%llu, flush_pools=%llu, eph_count=%llu, eph_max=%llu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @parse_global(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca i64, align 8 %19 = alloca i64, align 8 %20 = alloca i64, align 8 %21 = alloca i64, align 8 %22 = alloca i64, align 8 %23 = alloca i64, align 8 %24 = alloca i64, align 8 %25 = alloca i64, align 8 %26 = alloca i64, align 8 %27 = alloca i64, align 8 %28 = alloca i64, align 8 %29 = alloca i64, align 8 %30 = alloca i64, align 8 %31 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %32 = load ptr, ptr %2, align 8 %33 = call i64 @parse(ptr noundef %32, ptr noundef @.str) store i64 %33, ptr %3, align 8 %34 = load ptr, ptr %2, align 8 %35 = call i64 @parse(ptr noundef %34, ptr noundef @.str.1) store i64 %35, ptr %4, align 8 %36 = load ptr, ptr %2, align 8 %37 = call i64 @parse(ptr noundef %36, ptr noundef @.str.2) store i64 %37, ptr %5, align 8 %38 = load ptr, ptr %2, align 8 %39 = call i64 @parse(ptr noundef %38, ptr noundef @.str.3) store i64 %39, ptr %6, align 8 %40 = load ptr, ptr %2, align 8 %41 = call i64 @parse(ptr noundef %40, ptr noundef @.str.4) store i64 %41, ptr %7, align 8 %42 = load ptr, ptr %2, align 8 %43 = call i64 @parse(ptr noundef %42, ptr noundef @.str.5) store i64 %43, ptr %8, align 8 %44 = load ptr, ptr %2, align 8 %45 = call i64 @parse(ptr noundef %44, ptr noundef @.str.6) store i64 %45, ptr %9, align 8 %46 = load ptr, ptr %2, align 8 %47 = call i64 @parse(ptr noundef %46, ptr noundef @.str.7) store i64 %47, ptr %10, align 8 %48 = load ptr, ptr %2, align 8 %49 = call i64 @parse(ptr noundef %48, ptr noundef @.str.8) store i64 %49, ptr %11, align 8 %50 = load ptr, ptr %2, align 8 %51 = call i64 @parse(ptr noundef %50, ptr noundef @.str.9) store i64 %51, ptr %12, align 8 %52 = load ptr, ptr %2, align 8 %53 = call i64 @parse(ptr noundef %52, ptr noundef @.str.10) store i64 %53, ptr %13, align 8 %54 = load ptr, ptr %2, align 8 %55 = call i64 @parse(ptr noundef %54, ptr noundef @.str.11) store i64 %55, ptr %14, align 8 %56 = load ptr, ptr %2, align 8 %57 = call i64 @parse(ptr noundef %56, ptr noundef @.str.12) store i64 %57, ptr %15, align 8 %58 = load ptr, ptr %2, align 8 %59 = call i64 @parse(ptr noundef %58, ptr noundef @.str.13) store i64 %59, ptr %16, align 8 %60 = load ptr, ptr %2, align 8 %61 = call i64 @parse(ptr noundef %60, ptr noundef @.str.14) store i64 %61, ptr %17, align 8 %62 = load ptr, ptr %2, align 8 %63 = call i64 @parse(ptr noundef %62, ptr noundef @.str.15) store i64 %63, ptr %18, align 8 %64 = load ptr, ptr %2, align 8 %65 = call i64 @parse(ptr noundef %64, ptr noundef @.str.16) store i64 %65, ptr %19, align 8 %66 = load ptr, ptr %2, align 8 %67 = call i64 @parse(ptr noundef %66, ptr noundef @.str.17) store i64 %67, ptr %20, align 8 %68 = load ptr, ptr %2, align 8 %69 = call i64 @parse(ptr noundef %68, ptr noundef @.str.18) store i64 %69, ptr %21, align 8 %70 = load ptr, ptr %2, align 8 %71 = call i64 @parse(ptr noundef %70, ptr noundef @.str.19) store i64 %71, ptr %22, align 8 %72 = load ptr, ptr %2, align 8 %73 = call i64 @parse(ptr noundef %72, ptr noundef @.str.20) store i64 %73, ptr %23, align 8 %74 = load ptr, ptr %2, align 8 %75 = call i64 @parse(ptr noundef %74, ptr noundef @.str.21) store i64 %75, ptr %24, align 8 %76 = load ptr, ptr %2, align 8 %77 = call i64 @parse(ptr noundef %76, ptr noundef @.str.22) store i64 %77, ptr %25, align 8 %78 = load ptr, ptr %2, align 8 %79 = call i64 @parse(ptr noundef %78, ptr noundef @.str.23) store i64 %79, ptr %26, align 8 %80 = load ptr, ptr %2, align 8 %81 = call i64 @parse(ptr noundef %80, ptr noundef @.str.24) store i64 %81, ptr %27, align 8 %82 = load ptr, ptr %2, align 8 %83 = call i64 @parse(ptr noundef %82, ptr noundef @.str.25) store i64 %83, ptr %28, align 8 %84 = load ptr, ptr %2, align 8 %85 = call i64 @parse(ptr noundef %84, ptr noundef @.str.26) store i64 %85, ptr %29, align 8 %86 = load ptr, ptr %2, align 8 %87 = call i64 @parse(ptr noundef %86, ptr noundef @.str.27) store i64 %87, ptr %30, align 8 %88 = load ptr, ptr %2, align 8 %89 = call i64 @parse(ptr noundef %88, ptr noundef @.str.28) store i64 %89, ptr %31, align 8 %90 = load i64, ptr %3, align 8 %91 = load i64, ptr %4, align 8 %92 = load i64, ptr %8, align 8 %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, i64 noundef %90, i64 noundef %91, i64 noundef %92) %94 = load i64, ptr %18, align 8 %95 = load i64, ptr %19, align 8 %96 = load i64, ptr %22, align 8 %97 = load i64, ptr %23, align 8 %98 = load i64, ptr %20, align 8 %99 = load i64, ptr %21, align 8 %100 = load i64, ptr %24, align 8 %101 = load i64, ptr %25, align 8 %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.30, i64 noundef %94, i64 noundef %95, i64 noundef %96, i64 noundef %97, i64 noundef %98, i64 noundef %99, i64 noundef %100, i64 noundef %101) %103 = load i64, ptr %27, align 8 %104 = icmp ne i64 %103, 0 br i1 %104, label %105, label %131 105: ; preds = %1 %106 = load i64, ptr %16, align 8 %107 = icmp ne i64 %106, 0 br i1 %107, label %108, label %131 108: ; preds = %105 %109 = load i64, ptr %31, align 8 %110 = icmp ne i64 %109, 0 br i1 %110, label %111, label %131 111: ; preds = %108 %112 = load i64, ptr %26, align 8 %113 = load i64, ptr %27, align 8 %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, i64 noundef %112, i64 noundef %113) %115 = load i64, ptr %30, align 8 %116 = uitofp i64 %115 to double %117 = fmul double %116, 1.000000e+00 %118 = load i64, ptr %31, align 8 %119 = uitofp i64 %118 to double %120 = fdiv double %117, %119 %121 = fmul double %120, 1.000000e+02 %122 = load i64, ptr %26, align 8 %123 = uitofp i64 %122 to double %124 = fmul double %123, 1.000000e+00 %125 = load i64, ptr %16, align 8 %126 = uitofp i64 %125 to double %127 = fdiv double %124, %126 %128 = fsub double 1.000000e+00, %127 %129 = fmul double %128, 1.000000e+02 %130 = call i32 (ptr, ...) @printf(ptr noundef @.str.32, double noundef %121, double noundef %129) br label %131 131: ; preds = %111, %108, %105, %1 %132 = load i64, ptr %26, align 8 %133 = icmp ne i64 %132, 0 br i1 %133, label %134, label %173 134: ; preds = %131 %135 = load i64, ptr %28, align 8 %136 = icmp ne i64 %135, 0 br i1 %136, label %137, label %153 137: ; preds = %134 %138 = load i64, ptr %28, align 8 %139 = load i64, ptr %26, align 8 %140 = mul i64 %139, 4096 %141 = icmp ult i64 %138, %140 br i1 %141, label %142, label %153 142: ; preds = %137 %143 = load i64, ptr %28, align 8 %144 = uitofp i64 %143 to double %145 = fmul double %144, 1.000000e+00 %146 = load i64, ptr %26, align 8 %147 = mul i64 %146, 4096 %148 = uitofp i64 %147 to double %149 = fdiv double %145, %148 %150 = fsub double 1.000000e+00, %149 %151 = fmul double %150, 1.000000e+02 %152 = call i32 (ptr, ...) @printf(ptr noundef @.str.33, double noundef %151) br label %153 153: ; preds = %142, %137, %134 %154 = load i64, ptr %29, align 8 %155 = icmp ne i64 %154, 0 br i1 %155, label %156, label %172 156: ; preds = %153 %157 = load i64, ptr %29, align 8 %158 = load i64, ptr %26, align 8 %159 = mul i64 %158, 4096 %160 = icmp ult i64 %157, %159 br i1 %160, label %161, label %172 161: ; preds = %156 %162 = load i64, ptr %29, align 8 %163 = uitofp i64 %162 to double %164 = fmul double %163, 1.000000e+00 %165 = load i64, ptr %26, align 8 %166 = mul i64 %165, 4096 %167 = uitofp i64 %166 to double %168 = fdiv double %164, %167 %169 = fsub double 1.000000e+00, %168 %170 = fmul double %169, 1.000000e+02 %171 = call i32 (ptr, ...) @printf(ptr noundef @.str.34, double noundef %170) br label %172 172: ; preds = %161, %156, %153 br label %173 173: ; preds = %172, %131 %174 = call i32 (ptr, ...) @printf(ptr noundef @.str.35) %175 = load i64, ptr %5, align 8 %176 = load i64, ptr %6, align 8 %177 = load i64, ptr %7, align 8 %178 = load i64, ptr %9, align 8 %179 = load i64, ptr %10, align 8 %180 = load i64, ptr %11, align 8 %181 = load i64, ptr %12, align 8 %182 = load i64, ptr %13, align 8 %183 = load i64, ptr %14, align 8 %184 = load i64, ptr %15, align 8 %185 = load i64, ptr %16, align 8 %186 = load i64, ptr %17, align 8 %187 = call i32 (ptr, ...) @printf(ptr noundef @.str.36, i64 noundef %175, i64 noundef %176, i64 noundef %177, i64 noundef %178, i64 noundef %179, i64 noundef %180, i64 noundef %181, i64 noundef %182, i64 noundef %183, i64 noundef %184, i64 noundef %185, i64 noundef %186) ret void } declare i64 @parse(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprubh9r1n.c' source_filename = "/tmp/tmprubh9r1n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @timer_create() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = call ptr @calloc(i32 noundef 1, i32 noundef 4) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %7, label %6 6: ; preds = %0 store ptr null, ptr %1, align 8 br label %9 7: ; preds = %0 %8 = load ptr, ptr %2, align 8 store ptr %8, ptr %1, align 8 br label %9 9: ; preds = %7, %6 %10 = load ptr, ptr %1, align 8 ret ptr %10 } declare ptr @calloc(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/tmprubh9r1n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @timer_create() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = call ptr @calloc(i32 noundef 1, i32 noundef 4) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %7, label %6 6: ; preds = %0 store ptr null, ptr %1, align 8 br label %9 7: ; preds = %0 %8 = load ptr, ptr %2, align 8 store ptr %8, ptr %1, align 8 br label %9 9: ; preds = %7, %6 %10 = load ptr, ptr %1, align 8 ret ptr %10 } declare ptr @calloc(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/tmp15echpw8.c' source_filename = "/tmp/tmp15echpw8.c" target datalayout = "e-m:e-p270: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/tmp15echpw8.c" target datalayout = "e-m:e-p270: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/tmph8cnp5ze.c' source_filename = "/tmp/tmph8cnp5ze.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @open_entries(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call ptr @open_data_file(ptr noundef %5) store ptr %6, ptr %4, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %9 8: ; preds = %1 store ptr null, ptr %2, align 8 br label %18 9: ; preds = %1 %10 = load ptr, ptr %4, align 8 %11 = call i64 @read_headers(ptr noundef %10) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %9 %14 = load ptr, ptr %4, align 8 %15 = call i32 @close_entries(ptr noundef %14) store ptr null, ptr %2, align 8 br label %18 16: ; preds = %9 %17 = load ptr, ptr %4, align 8 store ptr %17, ptr %2, align 8 br label %18 18: ; preds = %16, %13, %8 %19 = load ptr, ptr %2, align 8 ret ptr %19 } declare ptr @open_data_file(ptr noundef) #1 declare i64 @read_headers(ptr noundef) #1 declare i32 @close_entries(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph8cnp5ze.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @open_entries(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call ptr @open_data_file(ptr noundef %5) store ptr %6, ptr %4, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %9 8: ; preds = %1 store ptr null, ptr %2, align 8 br label %18 9: ; preds = %1 %10 = load ptr, ptr %4, align 8 %11 = call i64 @read_headers(ptr noundef %10) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %9 %14 = load ptr, ptr %4, align 8 %15 = call i32 @close_entries(ptr noundef %14) store ptr null, ptr %2, align 8 br label %18 16: ; preds = %9 %17 = load ptr, ptr %4, align 8 store ptr %17, ptr %2, align 8 br label %18 18: ; preds = %16, %13, %8 %19 = load ptr, ptr %2, align 8 ret ptr %19 } declare ptr @open_data_file(ptr noundef) #1 declare i64 @read_headers(ptr noundef) #1 declare i32 @close_entries(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7ax7vumj.c' source_filename = "/tmp/tmp7ax7vumj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iCompDate3(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [7 x i8], align 1 %6 = alloca [7 x i8], align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds [7 x i8], ptr %5, i64 0, i64 0 %9 = call i32 @vOneTwo0(ptr noundef %7, i32 noundef 3, ptr noundef %8) %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds [7 x i8], ptr %6, i64 0, i64 0 %12 = call i32 @vOneTwo0(ptr noundef %10, i32 noundef 3, ptr noundef %11) %13 = getelementptr inbounds [7 x i8], ptr %5, i64 0, i64 0 %14 = getelementptr inbounds [7 x i8], ptr %6, i64 0, i64 0 %15 = call i32 @iCompDate6(ptr noundef %13, ptr noundef %14) ret i32 %15 } declare i32 @vOneTwo0(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @iCompDate6(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/tmp7ax7vumj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iCompDate3(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [7 x i8], align 1 %6 = alloca [7 x i8], align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds [7 x i8], ptr %5, i64 0, i64 0 %9 = call i32 @vOneTwo0(ptr noundef %7, i32 noundef 3, ptr noundef %8) %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds [7 x i8], ptr %6, i64 0, i64 0 %12 = call i32 @vOneTwo0(ptr noundef %10, i32 noundef 3, ptr noundef %11) %13 = getelementptr inbounds [7 x i8], ptr %5, i64 0, i64 0 %14 = getelementptr inbounds [7 x i8], ptr %6, i64 0, i64 0 %15 = call i32 @iCompDate6(ptr noundef %13, ptr noundef %14) ret i32 %15 } declare i32 @vOneTwo0(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @iCompDate6(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/tmptq5lamsg.c' source_filename = "/tmp/tmptq5lamsg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptq5lamsg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl710rtde.c' source_filename = "/tmp/tmpl710rtde.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%x\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"[0]0x%x\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"[1]0x%x\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"[2]0x%x\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"[3]0x%x\0A\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"big endian \0A\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c"little endian \0A\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"Unknown \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 store i32 0, ptr %1, align 4 store i32 305419896, ptr %2, align 4 %3 = load i8, ptr %2, align 4 %4 = sext i8 %3 to i32 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %4) %6 = load i8, ptr %2, align 4 %7 = sext i8 %6 to i32 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7) %9 = getelementptr inbounds i8, ptr %2, i64 1 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %11) %13 = getelementptr inbounds i8, ptr %2, i64 2 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %15) %17 = getelementptr inbounds i8, ptr %2, i64 3 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %19) %21 = load i8, ptr %2, align 4 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 18 br i1 %23, label %24, label %26 24: ; preds = %0 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %35 26: ; preds = %0 %27 = load i8, ptr %2, align 4 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 120 br i1 %29, label %30, label %32 30: ; preds = %26 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %34 32: ; preds = %26 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %34 34: ; preds = %32, %30 br label %35 35: ; preds = %34, %24 %36 = load i32, ptr %2, align 4 %37 = call i32 @htonl(i32 noundef %36) store i32 %37, ptr %2, align 4 %38 = load i8, ptr %2, align 4 %39 = sext i8 %38 to i32 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %39) %41 = getelementptr inbounds i8, ptr %2, i64 1 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %43) %45 = getelementptr inbounds i8, ptr %2, i64 2 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %47) %49 = getelementptr inbounds i8, ptr %2, i64 3 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %51) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @htonl(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/tmpl710rtde.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%x\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"[0]0x%x\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"[1]0x%x\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"[2]0x%x\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"[3]0x%x\0A\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"big endian \0A\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c"little endian \0A\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"Unknown \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 store i32 0, ptr %1, align 4 store i32 305419896, ptr %2, align 4 %3 = load i8, ptr %2, align 4 %4 = sext i8 %3 to i32 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %4) %6 = load i8, ptr %2, align 4 %7 = sext i8 %6 to i32 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7) %9 = getelementptr inbounds i8, ptr %2, i64 1 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %11) %13 = getelementptr inbounds i8, ptr %2, i64 2 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %15) %17 = getelementptr inbounds i8, ptr %2, i64 3 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %19) %21 = load i8, ptr %2, align 4 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 18 br i1 %23, label %24, label %26 24: ; preds = %0 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %35 26: ; preds = %0 %27 = load i8, ptr %2, align 4 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 120 br i1 %29, label %30, label %32 30: ; preds = %26 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %34 32: ; preds = %26 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %34 34: ; preds = %32, %30 br label %35 35: ; preds = %34, %24 %36 = load i32, ptr %2, align 4 %37 = call i32 @htonl(i32 noundef %36) store i32 %37, ptr %2, align 4 %38 = load i8, ptr %2, align 4 %39 = sext i8 %38 to i32 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %39) %41 = getelementptr inbounds i8, ptr %2, i64 1 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %43) %45 = getelementptr inbounds i8, ptr %2, i64 2 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %47) %49 = getelementptr inbounds i8, ptr %2, i64 3 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %51) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @htonl(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/tmpc1opq114.c' source_filename = "/tmp/tmpc1opq114.c" target datalayout = "e-m:e-p270: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.datetime_month_days.month_days = private unnamed_addr constant [13 x i32] [i32 0, i32 31, i32 28, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @datetime_month_days(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [13 x i32], align 16 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.datetime_month_days.month_days, i64 52, i1 false) store i32 0, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp eq i32 %7, 2 br i1 %8, label %9, label %14 9: ; preds = %2 %10 = load i32, ptr %3, align 4 %11 = call i64 @datetime_is_leap_year(i32 noundef %10) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %9 store i32 29, ptr %6, align 4 br label %26 14: ; preds = %9, %2 %15 = load i32, ptr %4, align 4 %16 = icmp sge i32 %15, 1 br i1 %16, label %17, label %25 17: ; preds = %14 %18 = load i32, ptr %4, align 4 %19 = icmp sle i32 %18, 12 br i1 %19, label %20, label %25 20: ; preds = %17 %21 = load i32, ptr %4, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 %22 %24 = load i32, ptr %23, align 4 store i32 %24, ptr %6, align 4 br label %25 25: ; preds = %20, %17, %14 br label %26 26: ; preds = %25, %13 %27 = load i32, ptr %6, align 4 ret i32 %27 } ; 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 i64 @datetime_is_leap_year(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/tmpc1opq114.c" target datalayout = "e-m:e-p270: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.datetime_month_days.month_days = private unnamed_addr constant [13 x i32] [i32 0, i32 31, i32 28, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @datetime_month_days(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [13 x i32], align 16 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.datetime_month_days.month_days, i64 52, i1 false) store i32 0, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp eq i32 %7, 2 br i1 %8, label %9, label %14 9: ; preds = %2 %10 = load i32, ptr %3, align 4 %11 = call i64 @datetime_is_leap_year(i32 noundef %10) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %9 store i32 29, ptr %6, align 4 br label %26 14: ; preds = %9, %2 %15 = load i32, ptr %4, align 4 %16 = icmp sge i32 %15, 1 br i1 %16, label %17, label %25 17: ; preds = %14 %18 = load i32, ptr %4, align 4 %19 = icmp sle i32 %18, 12 br i1 %19, label %20, label %25 20: ; preds = %17 %21 = load i32, ptr %4, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [13 x i32], ptr %5, i64 0, i64 %22 %24 = load i32, ptr %23, align 4 store i32 %24, ptr %6, align 4 br label %25 25: ; preds = %20, %17, %14 br label %26 26: ; preds = %25, %13 %27 = load i32, ptr %6, align 4 ret i32 %27 } ; 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 i64 @datetime_is_leap_year(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/tmpl48nwlqq.c' source_filename = "/tmp/tmpl48nwlqq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @threadimpl(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %11, %1 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 10 br i1 %6, label %7, label %14 7: ; preds = %4 %8 = load ptr, ptr %2, align 8 %9 = call i32 @puts(ptr noundef %8) %10 = call i32 @sleep(i32 noundef 1) br label %11 11: ; preds = %7 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %3, align 4 br label %4, !llvm.loop !6 14: ; preds = %4 ret ptr null } declare i32 @puts(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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpl48nwlqq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @threadimpl(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 10 br i1 %5, label %.lr.ph, label %15 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %10 %7 = load ptr, ptr %2, align 8 %8 = call i32 @puts(ptr noundef %7) %9 = call i32 @sleep(i32 noundef 1) br label %10 10: ; preds = %6 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %13, 10 br i1 %14, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %15 15: ; preds = %._crit_edge, %1 ret ptr null } declare i32 @puts(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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmprericasa.c' source_filename = "/tmp/tmprericasa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yank_set_list(i8 noundef signext %0, ptr noundef %1) #0 { %3 = alloca i8, align 1 %4 = alloca ptr, align 8 store i8 %0, ptr %3, align 1 store ptr %1, ptr %4, align 8 %5 = load i8, ptr %3, align 1 %6 = load ptr, ptr %4, align 8 %7 = call i32 @yank_set(i8 noundef signext %5, ptr noundef %6, i32 noundef 1) ret void } declare i32 @yank_set(i8 noundef signext, 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/tmprericasa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yank_set_list(i8 noundef signext %0, ptr noundef %1) #0 { %3 = alloca i8, align 1 %4 = alloca ptr, align 8 store i8 %0, ptr %3, align 1 store ptr %1, ptr %4, align 8 %5 = load i8, ptr %3, align 1 %6 = load ptr, ptr %4, align 8 %7 = call i32 @yank_set(i8 noundef signext %5, ptr noundef %6, i32 noundef 1) ret void } declare i32 @yank_set(i8 noundef signext, 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/tmpnehbjpj3.c' source_filename = "/tmp/tmpnehbjpj3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%s:\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%12.5f \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_matrix(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %9 = load ptr, ptr %4, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9) store i32 0, ptr %7, align 4 br label %11 11: ; preds = %36, %3 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %39 15: ; preds = %11 store i32 0, ptr %8, align 4 br label %16 16: ; preds = %31, %15 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %34 20: ; preds = %16 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %6, align 4 %24 = mul nsw i32 %22, %23 %25 = load i32, ptr %8, align 4 %26 = add nsw i32 %24, %25 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds double, ptr %21, i64 %27 %29 = load double, ptr %28, align 8 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %29) br label %31 31: ; preds = %20 %32 = load i32, ptr %8, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %8, align 4 br label %16, !llvm.loop !6 34: ; preds = %16 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %36 36: ; preds = %34 %37 = load i32, ptr %7, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %7, align 4 br label %11, !llvm.loop !8 39: ; preds = %11 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnehbjpj3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%s:\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%12.5f \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_matrix(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %9 = load ptr, ptr %4, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9) store i32 0, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph2, label %43 .lr.ph2: ; preds = %3 br label %14 14: ; preds = %.lr.ph2, %37 store i32 0, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %35 .lr.ph: ; preds = %14 br label %18 18: ; preds = %.lr.ph, %29 %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %6, align 4 %22 = mul nsw i32 %20, %21 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %22, %23 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds double, ptr %19, i64 %25 %27 = load double, ptr %26, align 8 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %27) br label %29 29: ; preds = %18 %30 = load i32, ptr %8, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %8, align 4 %32 = load i32, ptr %8, align 4 %33 = load i32, ptr %6, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %14 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %37 37: ; preds = %35 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 %40 = load i32, ptr %7, align 4 %41 = load i32, ptr %6, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %14, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %37 br label %43 43: ; preds = %._crit_edge3, %3 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpcl0u6x3r.c' source_filename = "/tmp/tmpcl0u6x3r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @try_solve_level() #0 { %1 = call i32 (...) @inicialize_routine() %2 = call i32 (...) @run_routine() %3 = call i32 (...) @clean_routine() ret void } declare i32 @inicialize_routine(...) #1 declare i32 @run_routine(...) #1 declare i32 @clean_routine(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcl0u6x3r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @try_solve_level() #0 { %1 = call i32 (...) @inicialize_routine() %2 = call i32 (...) @run_routine() %3 = call i32 (...) @clean_routine() ret void } declare i32 @inicialize_routine(...) #1 declare i32 @run_routine(...) #1 declare i32 @clean_routine(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgkbz4fjz.c' source_filename = "/tmp/tmpgkbz4fjz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @angularDistance(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %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 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store double %3, ptr %8, align 8 %16 = load double, ptr %5, align 8 %17 = call double @DegToRad(double noundef %16) %18 = load double, ptr %7, align 8 %19 = call double @DegToRad(double noundef %18) %20 = fsub double %17, %19 store double %20, ptr %9, align 8 %21 = load double, ptr %6, align 8 %22 = call double @DegToRad(double noundef %21) %23 = load double, ptr %8, align 8 %24 = call double @DegToRad(double noundef %23) %25 = fsub double %22, %24 store double %25, ptr %10, align 8 %26 = load double, ptr %9, align 8 %27 = fdiv double %26, 2.000000e+00 %28 = call double @sin(double noundef %27) #4 store double %28, ptr %11, align 8 %29 = load double, ptr %10, align 8 %30 = fdiv double %29, 2.000000e+00 %31 = call double @sin(double noundef %30) #4 store double %31, ptr %12, align 8 %32 = load double, ptr %11, align 8 %33 = load double, ptr %11, align 8 %34 = fmul double %32, %33 store double %34, ptr %13, align 8 %35 = load double, ptr %12, align 8 %36 = load double, ptr %12, align 8 %37 = fmul double %35, %36 store double %37, ptr %14, align 8 %38 = load double, ptr %14, align 8 %39 = load double, ptr %6, align 8 %40 = call double @DegToRad(double noundef %39) %41 = call double @cos(double noundef %40) #4 %42 = load double, ptr %8, align 8 %43 = call double @DegToRad(double noundef %42) %44 = call double @cos(double noundef %43) #4 %45 = fmul double %41, %44 %46 = load double, ptr %13, align 8 %47 = call double @llvm.fmuladd.f64(double %45, double %46, double %38) store double %47, ptr %15, align 8 %48 = load double, ptr %15, align 8 %49 = call i32 @sqrt(double noundef %48) %50 = call i32 @asin(i32 noundef %49) %51 = call i32 @fabs(i32 noundef %50) %52 = mul nsw i32 2, %51 %53 = call double @RadToDeg(i32 noundef %52) ret double %53 } declare double @DegToRad(double noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #2 ; Function Attrs: nounwind declare double @cos(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare double @RadToDeg(i32 noundef) #1 declare i32 @fabs(i32 noundef) #1 declare i32 @asin(i32 noundef) #1 declare i32 @sqrt(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { 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/tmpgkbz4fjz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @angularDistance(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %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 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store double %3, ptr %8, align 8 %16 = load double, ptr %5, align 8 %17 = call double @DegToRad(double noundef %16) %18 = load double, ptr %7, align 8 %19 = call double @DegToRad(double noundef %18) %20 = fsub double %17, %19 store double %20, ptr %9, align 8 %21 = load double, ptr %6, align 8 %22 = call double @DegToRad(double noundef %21) %23 = load double, ptr %8, align 8 %24 = call double @DegToRad(double noundef %23) %25 = fsub double %22, %24 store double %25, ptr %10, align 8 %26 = load double, ptr %9, align 8 %27 = fdiv double %26, 2.000000e+00 %28 = call double @sin(double noundef %27) #4 store double %28, ptr %11, align 8 %29 = load double, ptr %10, align 8 %30 = fdiv double %29, 2.000000e+00 %31 = call double @sin(double noundef %30) #4 store double %31, ptr %12, align 8 %32 = load double, ptr %11, align 8 %33 = load double, ptr %11, align 8 %34 = fmul double %32, %33 store double %34, ptr %13, align 8 %35 = load double, ptr %12, align 8 %36 = load double, ptr %12, align 8 %37 = fmul double %35, %36 store double %37, ptr %14, align 8 %38 = load double, ptr %14, align 8 %39 = load double, ptr %6, align 8 %40 = call double @DegToRad(double noundef %39) %41 = call double @cos(double noundef %40) #4 %42 = load double, ptr %8, align 8 %43 = call double @DegToRad(double noundef %42) %44 = call double @cos(double noundef %43) #4 %45 = fmul double %41, %44 %46 = load double, ptr %13, align 8 %47 = call double @llvm.fmuladd.f64(double %45, double %46, double %38) store double %47, ptr %15, align 8 %48 = load double, ptr %15, align 8 %49 = call i32 @sqrt(double noundef %48) %50 = call i32 @asin(i32 noundef %49) %51 = call i32 @fabs(i32 noundef %50) %52 = mul nsw i32 2, %51 %53 = call double @RadToDeg(i32 noundef %52) ret double %53 } declare double @DegToRad(double noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #2 ; Function Attrs: nounwind declare double @cos(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare double @RadToDeg(i32 noundef) #1 declare i32 @fabs(i32 noundef) #1 declare i32 @asin(i32 noundef) #1 declare i32 @sqrt(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { 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/tmpbryzeke8.c' source_filename = "/tmp/tmpbryzeke8.c" target datalayout = "e-m:e-p270: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/tmpbryzeke8.c" target datalayout = "e-m:e-p270: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/tmpiow51fv1.c' source_filename = "/tmp/tmpiow51fv1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cache_string(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 ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) %6 = call ptr @cache_string_n(ptr noundef %3, i32 noundef %5) ret ptr %6 } declare ptr @cache_string_n(ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiow51fv1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cache_string(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 ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) %6 = call ptr @cache_string_n(ptr noundef %3, i32 noundef %5) ret ptr %6 } declare ptr @cache_string_n(ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbi97bsm8.c' source_filename = "/tmp/tmpbi97bsm8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @droproot(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %8 = call i64 (...) @getuid() store i64 %8, ptr %6, align 8 %9 = call i64 (...) @getgid() store i64 %9, ptr %7, align 8 %10 = load i64, ptr %4, align 8 %11 = icmp eq i64 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %2 %13 = load i64, ptr %5, align 8 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %12, %2 store i32 -1, ptr %3, align 4 br label %60 16: ; preds = %12 %17 = load i64, ptr %5, align 8 %18 = call i64 @setegid(i64 noundef %17) %19 = icmp slt i64 %18, 0 br i1 %19, label %32, label %20 20: ; preds = %16 %21 = load i64, ptr %4, align 8 %22 = call i64 @seteuid(i64 noundef %21) %23 = icmp slt i64 %22, 0 br i1 %23, label %32, label %24 24: ; preds = %20 %25 = load i64, ptr %5, align 8 %26 = call i64 @setgid(i64 noundef %25) %27 = icmp slt i64 %26, 0 br i1 %27, label %32, label %28 28: ; preds = %24 %29 = load i64, ptr %4, align 8 %30 = call i64 @setuid(i64 noundef %29) %31 = icmp slt i64 %30, 0 br i1 %31, label %32, label %33 32: ; preds = %28, %24, %20, %16 store i32 -1, ptr %3, align 4 br label %60 33: ; preds = %28 %34 = load i64, ptr %5, align 8 %35 = load i64, ptr %7, align 8 %36 = icmp ne i64 %34, %35 br i1 %36, label %37, label %46 37: ; preds = %33 %38 = load i64, ptr %7, align 8 %39 = call i64 @setegid(i64 noundef %38) %40 = icmp sge i64 %39, 0 br i1 %40, label %45, label %41 41: ; preds = %37 %42 = load i64, ptr %7, align 8 %43 = call i64 @setgid(i64 noundef %42) %44 = icmp sge i64 %43, 0 br i1 %44, label %45, label %46 45: ; preds = %41, %37 store i32 -1, ptr %3, align 4 br label %60 46: ; preds = %41, %33 %47 = load i64, ptr %4, align 8 %48 = load i64, ptr %6, align 8 %49 = icmp ne i64 %47, %48 br i1 %49, label %50, label %59 50: ; preds = %46 %51 = load i64, ptr %6, align 8 %52 = call i64 @seteuid(i64 noundef %51) %53 = icmp sge i64 %52, 0 br i1 %53, label %58, label %54 54: ; preds = %50 %55 = load i64, ptr %6, align 8 %56 = call i64 @setuid(i64 noundef %55) %57 = icmp sge i64 %56, 0 br i1 %57, label %58, label %59 58: ; preds = %54, %50 store i32 -1, ptr %3, align 4 br label %60 59: ; preds = %54, %46 store i32 0, ptr %3, align 4 br label %60 60: ; preds = %59, %58, %45, %32, %15 %61 = load i32, ptr %3, align 4 ret i32 %61 } declare i64 @getuid(...) #1 declare i64 @getgid(...) #1 declare i64 @setegid(i64 noundef) #1 declare i64 @seteuid(i64 noundef) #1 declare i64 @setgid(i64 noundef) #1 declare i64 @setuid(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbi97bsm8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @droproot(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %8 = call i64 (...) @getuid() store i64 %8, ptr %6, align 8 %9 = call i64 (...) @getgid() store i64 %9, ptr %7, align 8 %10 = load i64, ptr %4, align 8 %11 = icmp eq i64 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %2 %13 = load i64, ptr %5, align 8 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %12, %2 store i32 -1, ptr %3, align 4 br label %60 16: ; preds = %12 %17 = load i64, ptr %5, align 8 %18 = call i64 @setegid(i64 noundef %17) %19 = icmp slt i64 %18, 0 br i1 %19, label %32, label %20 20: ; preds = %16 %21 = load i64, ptr %4, align 8 %22 = call i64 @seteuid(i64 noundef %21) %23 = icmp slt i64 %22, 0 br i1 %23, label %32, label %24 24: ; preds = %20 %25 = load i64, ptr %5, align 8 %26 = call i64 @setgid(i64 noundef %25) %27 = icmp slt i64 %26, 0 br i1 %27, label %32, label %28 28: ; preds = %24 %29 = load i64, ptr %4, align 8 %30 = call i64 @setuid(i64 noundef %29) %31 = icmp slt i64 %30, 0 br i1 %31, label %32, label %33 32: ; preds = %28, %24, %20, %16 store i32 -1, ptr %3, align 4 br label %60 33: ; preds = %28 %34 = load i64, ptr %5, align 8 %35 = load i64, ptr %7, align 8 %36 = icmp ne i64 %34, %35 br i1 %36, label %37, label %46 37: ; preds = %33 %38 = load i64, ptr %7, align 8 %39 = call i64 @setegid(i64 noundef %38) %40 = icmp sge i64 %39, 0 br i1 %40, label %45, label %41 41: ; preds = %37 %42 = load i64, ptr %7, align 8 %43 = call i64 @setgid(i64 noundef %42) %44 = icmp sge i64 %43, 0 br i1 %44, label %45, label %46 45: ; preds = %41, %37 store i32 -1, ptr %3, align 4 br label %60 46: ; preds = %41, %33 %47 = load i64, ptr %4, align 8 %48 = load i64, ptr %6, align 8 %49 = icmp ne i64 %47, %48 br i1 %49, label %50, label %59 50: ; preds = %46 %51 = load i64, ptr %6, align 8 %52 = call i64 @seteuid(i64 noundef %51) %53 = icmp sge i64 %52, 0 br i1 %53, label %58, label %54 54: ; preds = %50 %55 = load i64, ptr %6, align 8 %56 = call i64 @setuid(i64 noundef %55) %57 = icmp sge i64 %56, 0 br i1 %57, label %58, label %59 58: ; preds = %54, %50 store i32 -1, ptr %3, align 4 br label %60 59: ; preds = %54, %46 store i32 0, ptr %3, align 4 br label %60 60: ; preds = %59, %58, %45, %32, %15 %61 = load i32, ptr %3, align 4 ret i32 %61 } declare i64 @getuid(...) #1 declare i64 @getgid(...) #1 declare i64 @setegid(i64 noundef) #1 declare i64 @seteuid(i64 noundef) #1 declare i64 @setgid(i64 noundef) #1 declare i64 @setuid(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpchwie04v.c' source_filename = "/tmp/tmpchwie04v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f * 2^%d = %f\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 double, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store double 6.500000e-01, ptr %2, align 8 store i32 3, ptr %4, align 4 %5 = load double, ptr %2, align 8 %6 = load i32, ptr %4, align 4 %7 = call double @ldexp(double noundef %5, i32 noundef %6) #3 store double %7, ptr %3, align 8 %8 = load double, ptr %2, align 8 %9 = load i32, ptr %4, align 4 %10 = load double, ptr %3, align 8 %11 = call i32 @printf(ptr noundef @.str, double noundef %8, i32 noundef %9, double noundef %10) ret i32 0 } ; Function Attrs: nounwind declare double @ldexp(double noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, double noundef, i32 noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpchwie04v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f * 2^%d = %f\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 double, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store double 6.500000e-01, ptr %2, align 8 store i32 3, ptr %4, align 4 %5 = load double, ptr %2, align 8 %6 = load i32, ptr %4, align 4 %7 = call double @ldexp(double noundef %5, i32 noundef %6) #3 store double %7, ptr %3, align 8 %8 = load double, ptr %2, align 8 %9 = load i32, ptr %4, align 4 %10 = load double, ptr %3, align 8 %11 = call i32 @printf(ptr noundef @.str, double noundef %8, i32 noundef %9, double noundef %10) ret i32 0 } ; Function Attrs: nounwind declare double @ldexp(double noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, double noundef, i32 noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi1zdzm0i.c' source_filename = "/tmp/tmpi1zdzm0i.c" target datalayout = "e-m:e-p270: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 } @.str = private unnamed_addr constant [25 x i8] c"Usage: %s <port_number>\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [22 x i8] c"cannot create socket\0A\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [12 x i8] c"bind failed\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"\0AListening on port %d ...\0A\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"\0APing Message Received\0A\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"\0AMessage Receive Failed\0A\00", align 1 @.str.6 = private unnamed_addr constant [18 x i8] c"\0A---------------\0A\00", align 1 @.str.7 = private unnamed_addr constant [22 x i8] c"\0AMessage Send Failed\0A\00", align 1 @.str.8 = private unnamed_addr constant [20 x i8] c"\0APong Message Send\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 %struct.sockaddr_in, align 4 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [100 x i8], align 16 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 12, ptr %8, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp eq i32 %13, 2 br i1 %14, label %15, label %20 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = call i32 @atoi(ptr noundef %18) store i32 %19, ptr %10, align 4 br label %26 20: ; preds = %2 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 0 %23 = load ptr, ptr %22, align 8 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %23) %25 = call i32 @exit(i32 noundef 1) #3 unreachable 26: ; preds = %15 %27 = load i32, ptr @AF_INET, align 4 %28 = load i32, ptr @SOCK_DGRAM, align 4 %29 = call i32 @socket(i32 noundef %27, i32 noundef %28, i32 noundef 0) store i32 %29, ptr %9, align 4 %30 = icmp slt i32 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %26 %32 = call i32 @perror(ptr noundef @.str.1) %33 = call i32 @exit(i32 noundef 1) #3 unreachable 34: ; preds = %26 %35 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 12) %36 = load i32, ptr @AF_INET, align 4 %37 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 store i32 %36, ptr %37, align 4 %38 = load i32, ptr @INADDR_ANY, align 4 %39 = call i32 @htonl(i32 noundef %38) %40 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 %41 = getelementptr inbounds %struct.TYPE_2__, ptr %40, i32 0, i32 0 store i32 %39, ptr %41, align 4 %42 = load i32, ptr %10, align 4 %43 = call i32 @htons(i32 noundef %42) %44 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 store i32 %43, ptr %44, align 4 %45 = load i32, ptr %9, align 4 %46 = call i64 @bind(i32 noundef %45, ptr noundef %6, i32 noundef 12) %47 = icmp slt i64 %46, 0 br i1 %47, label %48, label %51 48: ; preds = %34 %49 = call i32 @perror(ptr noundef @.str.2) %50 = call i32 @exit(i32 noundef 1) #3 unreachable 51: ; preds = %34 br label %52 52: ; preds = %80, %65, %51 %53 = load i32, ptr %10, align 4 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %53) %55 = load i32, ptr %9, align 4 %56 = getelementptr inbounds [100 x i8], ptr %11, i64 0, i64 0 %57 = call i32 @recvfrom(i32 noundef %55, ptr noundef %56, i32 noundef 100, i32 noundef 0, ptr noundef %7, ptr noundef %8) store i32 %57, ptr %12, align 4 %58 = load i32, ptr %12, align 4 %59 = icmp sge i32 %58, 0 br i1 %59, label %60, label %65 60: ; preds = %52 %61 = load i32, ptr %12, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [100 x i8], ptr %11, i64 0, i64 %62 store i8 0, ptr %63, align 1 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %68 65: ; preds = %52 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %52 68: ; preds = %60 %69 = load i32, ptr %9, align 4 %70 = getelementptr inbounds [100 x i8], ptr %11, i64 0, i64 0 %71 = getelementptr inbounds [100 x i8], ptr %11, i64 0, i64 0 %72 = call i32 @strlen(ptr noundef %71) %73 = load i32, ptr %8, align 4 %74 = call i64 @sendto(i32 noundef %69, ptr noundef %70, i32 noundef %72, i32 noundef 0, ptr noundef %7, i32 noundef %73) %75 = icmp slt i64 %74, 0 br i1 %75, label %76, label %78 76: ; preds = %68 %77 = call i32 @perror(ptr noundef @.str.7) br label %80 78: ; preds = %68 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %80 80: ; preds = %78, %76 %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %52 } declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpi1zdzm0i.c" target datalayout = "e-m:e-p270: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 } @.str = private unnamed_addr constant [25 x i8] c"Usage: %s <port_number>\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [22 x i8] c"cannot create socket\0A\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [12 x i8] c"bind failed\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"\0AListening on port %d ...\0A\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"\0APing Message Received\0A\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"\0AMessage Receive Failed\0A\00", align 1 @.str.6 = private unnamed_addr constant [18 x i8] c"\0A---------------\0A\00", align 1 @.str.7 = private unnamed_addr constant [22 x i8] c"\0AMessage Send Failed\0A\00", align 1 @.str.8 = private unnamed_addr constant [20 x i8] c"\0APong Message Send\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 %struct.sockaddr_in, align 4 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [100 x i8], align 16 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 12, ptr %8, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp eq i32 %13, 2 br i1 %14, label %15, label %20 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = call i32 @atoi(ptr noundef %18) store i32 %19, ptr %10, align 4 br label %26 20: ; preds = %2 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 0 %23 = load ptr, ptr %22, align 8 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %23) %25 = call i32 @exit(i32 noundef 1) #3 unreachable 26: ; preds = %15 %27 = load i32, ptr @AF_INET, align 4 %28 = load i32, ptr @SOCK_DGRAM, align 4 %29 = call i32 @socket(i32 noundef %27, i32 noundef %28, i32 noundef 0) store i32 %29, ptr %9, align 4 %30 = icmp slt i32 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %26 %32 = call i32 @perror(ptr noundef @.str.1) %33 = call i32 @exit(i32 noundef 1) #3 unreachable 34: ; preds = %26 %35 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 12) %36 = load i32, ptr @AF_INET, align 4 %37 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 store i32 %36, ptr %37, align 4 %38 = load i32, ptr @INADDR_ANY, align 4 %39 = call i32 @htonl(i32 noundef %38) %40 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 %41 = getelementptr inbounds %struct.TYPE_2__, ptr %40, i32 0, i32 0 store i32 %39, ptr %41, align 4 %42 = load i32, ptr %10, align 4 %43 = call i32 @htons(i32 noundef %42) %44 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 store i32 %43, ptr %44, align 4 %45 = load i32, ptr %9, align 4 %46 = call i64 @bind(i32 noundef %45, ptr noundef %6, i32 noundef 12) %47 = icmp slt i64 %46, 0 br i1 %47, label %48, label %51 48: ; preds = %34 %49 = call i32 @perror(ptr noundef @.str.2) %50 = call i32 @exit(i32 noundef 1) #3 unreachable 51: ; preds = %34 br label %52 52: ; preds = %.backedge, %51 %53 = load i32, ptr %10, align 4 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %53) %55 = load i32, ptr %9, align 4 %56 = getelementptr inbounds [100 x i8], ptr %11, i64 0, i64 0 %57 = call i32 @recvfrom(i32 noundef %55, ptr noundef %56, i32 noundef 100, i32 noundef 0, ptr noundef %7, ptr noundef %8) store i32 %57, ptr %12, align 4 %58 = load i32, ptr %12, align 4 %59 = icmp sge i32 %58, 0 br i1 %59, label %60, label %65 60: ; preds = %52 %61 = load i32, ptr %12, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [100 x i8], ptr %11, i64 0, i64 %62 store i8 0, ptr %63, align 1 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %68 65: ; preds = %52 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %.backedge .backedge: ; preds = %65, %80 br label %52 68: ; preds = %60 %69 = load i32, ptr %9, align 4 %70 = getelementptr inbounds [100 x i8], ptr %11, i64 0, i64 0 %71 = getelementptr inbounds [100 x i8], ptr %11, i64 0, i64 0 %72 = call i32 @strlen(ptr noundef %71) %73 = load i32, ptr %8, align 4 %74 = call i64 @sendto(i32 noundef %69, ptr noundef %70, i32 noundef %72, i32 noundef 0, ptr noundef %7, i32 noundef %73) %75 = icmp slt i64 %74, 0 br i1 %75, label %76, label %78 76: ; preds = %68 %77 = call i32 @perror(ptr noundef @.str.7) br label %80 78: ; preds = %68 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %80 80: ; preds = %78, %76 %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %.backedge } declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmptxwxz_3z.c' source_filename = "/tmp/tmptxwxz_3z.c" target datalayout = "e-m:e-p270: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/tmptxwxz_3z.c" target datalayout = "e-m:e-p270: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/tmpa_4l1f0n.c' source_filename = "/tmp/tmpa_4l1f0n.c" target datalayout = "e-m:e-p270: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/tmpa_4l1f0n.c" target datalayout = "e-m:e-p270: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/tmp32sxo4hk.c' source_filename = "/tmp/tmp32sxo4hk.c" target datalayout = "e-m:e-p270: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/tmp32sxo4hk.c" target datalayout = "e-m:e-p270: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/tmpsy2ism5p.c' source_filename = "/tmp/tmpsy2ism5p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setCCWAngleLimit(i8 noundef zeroext %0, i16 noundef zeroext %1) #0 { %3 = alloca i8, align 1 %4 = alloca i16, align 2 store i8 %0, ptr %3, align 1 store i16 %1, ptr %4, align 2 %5 = load i8, ptr %3, align 1 %6 = load i16, ptr %4, align 2 %7 = call i32 @dxl_write_word(i8 noundef zeroext %5, i32 noundef 8, i16 noundef zeroext %6) ret void } declare i32 @dxl_write_word(i8 noundef zeroext, i32 noundef, i16 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/tmpsy2ism5p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setCCWAngleLimit(i8 noundef zeroext %0, i16 noundef zeroext %1) #0 { %3 = alloca i8, align 1 %4 = alloca i16, align 2 store i8 %0, ptr %3, align 1 store i16 %1, ptr %4, align 2 %5 = load i8, ptr %3, align 1 %6 = load i16, ptr %4, align 2 %7 = call i32 @dxl_write_word(i8 noundef zeroext %5, i32 noundef 8, i16 noundef zeroext %6) ret void } declare i32 @dxl_write_word(i8 noundef zeroext, i32 noundef, i16 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/tmp0s5ovi5f.c' source_filename = "/tmp/tmp0s5ovi5f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_cycle(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 i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %11 11: ; preds = %515, %3 %12 = load i32, ptr %7, align 4 %13 = icmp ult i32 %12, 7 br i1 %13, label %14, label %518 14: ; preds = %11 store i32 0, ptr %8, align 4 br label %15 15: ; preds = %511, %14 %16 = load i32, ptr %8, align 4 %17 = icmp ult i32 %16, 14 br i1 %17, label %18, label %514 18: ; preds = %15 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 br label %19 19: ; preds = %495, %18 %20 = load i32, ptr %10, align 4 %21 = icmp slt i32 %20, 550 br i1 %21, label %22, label %498 22: ; preds = %19 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %10, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %23, i64 %26 %28 = load i32, ptr %27, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %44 30: ; preds = %22 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %8, align 4 %33 = load i32, ptr %7, align 4 %34 = sub i32 %33, 1 %35 = call i32 @get_cell(ptr noundef %31, i32 noundef %32, i32 noundef %34) %36 = load ptr, ptr %6, align 8 %37 = load i32, ptr %10, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %36, i64 %38 %40 = load i32, ptr %39, align 4 %41 = icmp uge i32 %35, %40 br i1 %41, label %42, label %43 42: ; preds = %30 br i1 true, label %111, label %494 43: ; preds = %30 br i1 false, label %111, label %494 44: ; preds = %22 %45 = load ptr, ptr %6, align 8 %46 = load i32, ptr %10, align 4 %47 = add nsw i32 %46, 1 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %45, i64 %48 %50 = load i32, ptr %49, align 4 %51 = icmp eq i32 %50, 1 br i1 %51, label %52, label %66 52: ; preds = %44 %53 = load ptr, ptr %4, align 8 %54 = load i32, ptr %8, align 4 %55 = load i32, ptr %7, align 4 %56 = sub i32 %55, 1 %57 = call i32 @get_cell(ptr noundef %53, i32 noundef %54, i32 noundef %56) %58 = load ptr, ptr %6, align 8 %59 = load i32, ptr %10, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %58, i64 %60 %62 = load i32, ptr %61, align 4 %63 = icmp ule i32 %57, %62 br i1 %63, label %64, label %65 64: ; preds = %52 br i1 true, label %111, label %494 65: ; preds = %52 br i1 false, label %111, label %494 66: ; preds = %44 %67 = load ptr, ptr %6, align 8 %68 = load i32, ptr %10, align 4 %69 = add nsw i32 %68, 1 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %67, i64 %70 %72 = load i32, ptr %71, align 4 %73 = icmp eq i32 %72, 2 br i1 %73, label %74, label %88 74: ; preds = %66 %75 = load ptr, ptr %4, align 8 %76 = load i32, ptr %8, align 4 %77 = load i32, ptr %7, align 4 %78 = sub i32 %77, 1 %79 = call i32 @get_cell(ptr noundef %75, i32 noundef %76, i32 noundef %78) %80 = load ptr, ptr %6, align 8 %81 = load i32, ptr %10, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i32, ptr %80, i64 %82 %84 = load i32, ptr %83, align 4 %85 = icmp eq i32 %79, %84 br i1 %85, label %86, label %87 86: ; preds = %74 br i1 true, label %111, label %494 87: ; preds = %74 br i1 false, label %111, label %494 88: ; preds = %66 %89 = load ptr, ptr %6, align 8 %90 = load i32, ptr %10, align 4 %91 = add nsw i32 %90, 1 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i32, ptr %89, i64 %92 %94 = load i32, ptr %93, align 4 %95 = icmp eq i32 %94, 3 br i1 %95, label %96, label %110 96: ; preds = %88 %97 = load ptr, ptr %4, align 8 %98 = load i32, ptr %8, align 4 %99 = load i32, ptr %7, align 4 %100 = sub i32 %99, 1 %101 = call i32 @get_cell(ptr noundef %97, i32 noundef %98, i32 noundef %100) %102 = load ptr, ptr %6, align 8 %103 = load i32, ptr %10, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds i32, ptr %102, i64 %104 %106 = load i32, ptr %105, align 4 %107 = icmp ne i32 %101, %106 br i1 %107, label %108, label %109 108: ; preds = %96 br i1 true, label %111, label %494 109: ; preds = %96 br i1 false, label %111, label %494 110: ; preds = %88 br i1 false, label %111, label %494 111: ; preds = %110, %109, %108, %87, %86, %65, %64, %43, %42 %112 = load ptr, ptr %6, align 8 %113 = load i32, ptr %10, align 4 %114 = add nsw i32 %113, 3 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds i32, ptr %112, i64 %115 %117 = load i32, ptr %116, align 4 %118 = icmp eq i32 %117, 0 br i1 %118, label %119, label %134 119: ; preds = %111 %120 = load ptr, ptr %4, align 8 %121 = load i32, ptr %8, align 4 %122 = sub i32 %121, 1 %123 = load i32, ptr %7, align 4 %124 = call i32 @get_cell(ptr noundef %120, i32 noundef %122, i32 noundef %123) %125 = load ptr, ptr %6, align 8 %126 = load i32, ptr %10, align 4 %127 = add nsw i32 %126, 2 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds i32, ptr %125, i64 %128 %130 = load i32, ptr %129, align 4 %131 = icmp uge i32 %124, %130 br i1 %131, label %132, label %133 132: ; preds = %119 br i1 true, label %204, label %493 133: ; preds = %119 br i1 false, label %204, label %493 134: ; preds = %111 %135 = load ptr, ptr %6, align 8 %136 = load i32, ptr %10, align 4 %137 = add nsw i32 %136, 3 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds i32, ptr %135, i64 %138 %140 = load i32, ptr %139, align 4 %141 = icmp eq i32 %140, 1 br i1 %141, label %142, label %157 142: ; preds = %134 %143 = load ptr, ptr %4, align 8 %144 = load i32, ptr %8, align 4 %145 = sub i32 %144, 1 %146 = load i32, ptr %7, align 4 %147 = call i32 @get_cell(ptr noundef %143, i32 noundef %145, i32 noundef %146) %148 = load ptr, ptr %6, align 8 %149 = load i32, ptr %10, align 4 %150 = add nsw i32 %149, 2 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds i32, ptr %148, i64 %151 %153 = load i32, ptr %152, align 4 %154 = icmp ule i32 %147, %153 br i1 %154, label %155, label %156 155: ; preds = %142 br i1 true, label %204, label %493 156: ; preds = %142 br i1 false, label %204, label %493 157: ; preds = %134 %158 = load ptr, ptr %6, align 8 %159 = load i32, ptr %10, align 4 %160 = add nsw i32 %159, 3 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds i32, ptr %158, i64 %161 %163 = load i32, ptr %162, align 4 %164 = icmp eq i32 %163, 2 br i1 %164, label %165, label %180 165: ; preds = %157 %166 = load ptr, ptr %4, align 8 %167 = load i32, ptr %8, align 4 %168 = sub i32 %167, 1 %169 = load i32, ptr %7, align 4 %170 = call i32 @get_cell(ptr noundef %166, i32 noundef %168, i32 noundef %169) %171 = load ptr, ptr %6, align 8 %172 = load i32, ptr %10, align 4 %173 = add nsw i32 %172, 2 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds i32, ptr %171, i64 %174 %176 = load i32, ptr %175, align 4 %177 = icmp eq i32 %170, %176 br i1 %177, label %178, label %179 178: ; preds = %165 br i1 true, label %204, label %493 179: ; preds = %165 br i1 false, label %204, label %493 180: ; preds = %157 %181 = load ptr, ptr %6, align 8 %182 = load i32, ptr %10, align 4 %183 = add nsw i32 %182, 3 %184 = sext i32 %183 to i64 %185 = getelementptr inbounds i32, ptr %181, i64 %184 %186 = load i32, ptr %185, align 4 %187 = icmp eq i32 %186, 3 br i1 %187, label %188, label %203 188: ; preds = %180 %189 = load ptr, ptr %4, align 8 %190 = load i32, ptr %8, align 4 %191 = sub i32 %190, 1 %192 = load i32, ptr %7, align 4 %193 = call i32 @get_cell(ptr noundef %189, i32 noundef %191, i32 noundef %192) %194 = load ptr, ptr %6, align 8 %195 = load i32, ptr %10, align 4 %196 = add nsw i32 %195, 2 %197 = sext i32 %196 to i64 %198 = getelementptr inbounds i32, ptr %194, i64 %197 %199 = load i32, ptr %198, align 4 %200 = icmp ne i32 %193, %199 br i1 %200, label %201, label %202 201: ; preds = %188 br i1 true, label %204, label %493 202: ; preds = %188 br i1 false, label %204, label %493 203: ; preds = %180 br i1 false, label %204, label %493 204: ; preds = %203, %202, %201, %179, %178, %156, %155, %133, %132 %205 = load ptr, ptr %6, align 8 %206 = load i32, ptr %10, align 4 %207 = add nsw i32 %206, 5 %208 = sext i32 %207 to i64 %209 = getelementptr inbounds i32, ptr %205, i64 %208 %210 = load i32, ptr %209, align 4 %211 = icmp eq i32 %210, 0 br i1 %211, label %212, label %226 212: ; preds = %204 %213 = load ptr, ptr %4, align 8 %214 = load i32, ptr %8, align 4 %215 = load i32, ptr %7, align 4 %216 = call i32 @get_cell(ptr noundef %213, i32 noundef %214, i32 noundef %215) %217 = load ptr, ptr %6, align 8 %218 = load i32, ptr %10, align 4 %219 = add nsw i32 %218, 4 %220 = sext i32 %219 to i64 %221 = getelementptr inbounds i32, ptr %217, i64 %220 %222 = load i32, ptr %221, align 4 %223 = icmp uge i32 %216, %222 br i1 %223, label %224, label %225 224: ; preds = %212 br i1 true, label %293, label %492 225: ; preds = %212 br i1 false, label %293, label %492 226: ; preds = %204 %227 = load ptr, ptr %6, align 8 %228 = load i32, ptr %10, align 4 %229 = add nsw i32 %228, 5 %230 = sext i32 %229 to i64 %231 = getelementptr inbounds i32, ptr %227, i64 %230 %232 = load i32, ptr %231, align 4 %233 = icmp eq i32 %232, 1 br i1 %233, label %234, label %248 234: ; preds = %226 %235 = load ptr, ptr %4, align 8 %236 = load i32, ptr %8, align 4 %237 = load i32, ptr %7, align 4 %238 = call i32 @get_cell(ptr noundef %235, i32 noundef %236, i32 noundef %237) %239 = load ptr, ptr %6, align 8 %240 = load i32, ptr %10, align 4 %241 = add nsw i32 %240, 4 %242 = sext i32 %241 to i64 %243 = getelementptr inbounds i32, ptr %239, i64 %242 %244 = load i32, ptr %243, align 4 %245 = icmp ule i32 %238, %244 br i1 %245, label %246, label %247 246: ; preds = %234 br i1 true, label %293, label %492 247: ; preds = %234 br i1 false, label %293, label %492 248: ; preds = %226 %249 = load ptr, ptr %6, align 8 %250 = load i32, ptr %10, align 4 %251 = add nsw i32 %250, 5 %252 = sext i32 %251 to i64 %253 = getelementptr inbounds i32, ptr %249, i64 %252 %254 = load i32, ptr %253, align 4 %255 = icmp eq i32 %254, 2 br i1 %255, label %256, label %270 256: ; preds = %248 %257 = load ptr, ptr %4, align 8 %258 = load i32, ptr %8, align 4 %259 = load i32, ptr %7, align 4 %260 = call i32 @get_cell(ptr noundef %257, i32 noundef %258, i32 noundef %259) %261 = load ptr, ptr %6, align 8 %262 = load i32, ptr %10, align 4 %263 = add nsw i32 %262, 4 %264 = sext i32 %263 to i64 %265 = getelementptr inbounds i32, ptr %261, i64 %264 %266 = load i32, ptr %265, align 4 %267 = icmp eq i32 %260, %266 br i1 %267, label %268, label %269 268: ; preds = %256 br i1 true, label %293, label %492 269: ; preds = %256 br i1 false, label %293, label %492 270: ; preds = %248 %271 = load ptr, ptr %6, align 8 %272 = load i32, ptr %10, align 4 %273 = add nsw i32 %272, 5 %274 = sext i32 %273 to i64 %275 = getelementptr inbounds i32, ptr %271, i64 %274 %276 = load i32, ptr %275, align 4 %277 = icmp eq i32 %276, 3 br i1 %277, label %278, label %292 278: ; preds = %270 %279 = load ptr, ptr %4, align 8 %280 = load i32, ptr %8, align 4 %281 = load i32, ptr %7, align 4 %282 = call i32 @get_cell(ptr noundef %279, i32 noundef %280, i32 noundef %281) %283 = load ptr, ptr %6, align 8 %284 = load i32, ptr %10, align 4 %285 = add nsw i32 %284, 4 %286 = sext i32 %285 to i64 %287 = getelementptr inbounds i32, ptr %283, i64 %286 %288 = load i32, ptr %287, align 4 %289 = icmp ne i32 %282, %288 br i1 %289, label %290, label %291 290: ; preds = %278 br i1 true, label %293, label %492 291: ; preds = %278 br i1 false, label %293, label %492 292: ; preds = %270 br i1 false, label %293, label %492 293: ; preds = %292, %291, %290, %269, %268, %247, %246, %225, %224 %294 = load ptr, ptr %6, align 8 %295 = load i32, ptr %10, align 4 %296 = add nsw i32 %295, 7 %297 = sext i32 %296 to i64 %298 = getelementptr inbounds i32, ptr %294, i64 %297 %299 = load i32, ptr %298, align 4 %300 = icmp eq i32 %299, 0 br i1 %300, label %301, label %316 301: ; preds = %293 %302 = load ptr, ptr %4, align 8 %303 = load i32, ptr %8, align 4 %304 = add i32 %303, 1 %305 = load i32, ptr %7, align 4 %306 = call i32 @get_cell(ptr noundef %302, i32 noundef %304, i32 noundef %305) %307 = load ptr, ptr %6, align 8 %308 = load i32, ptr %10, align 4 %309 = add nsw i32 %308, 6 %310 = sext i32 %309 to i64 %311 = getelementptr inbounds i32, ptr %307, i64 %310 %312 = load i32, ptr %311, align 4 %313 = icmp uge i32 %306, %312 br i1 %313, label %314, label %315 314: ; preds = %301 br i1 true, label %386, label %491 315: ; preds = %301 br i1 false, label %386, label %491 316: ; preds = %293 %317 = load ptr, ptr %6, align 8 %318 = load i32, ptr %10, align 4 %319 = add nsw i32 %318, 7 %320 = sext i32 %319 to i64 %321 = getelementptr inbounds i32, ptr %317, i64 %320 %322 = load i32, ptr %321, align 4 %323 = icmp eq i32 %322, 1 br i1 %323, label %324, label %339 324: ; preds = %316 %325 = load ptr, ptr %4, align 8 %326 = load i32, ptr %8, align 4 %327 = add i32 %326, 1 %328 = load i32, ptr %7, align 4 %329 = call i32 @get_cell(ptr noundef %325, i32 noundef %327, i32 noundef %328) %330 = load ptr, ptr %6, align 8 %331 = load i32, ptr %10, align 4 %332 = add nsw i32 %331, 6 %333 = sext i32 %332 to i64 %334 = getelementptr inbounds i32, ptr %330, i64 %333 %335 = load i32, ptr %334, align 4 %336 = icmp ule i32 %329, %335 br i1 %336, label %337, label %338 337: ; preds = %324 br i1 true, label %386, label %491 338: ; preds = %324 br i1 false, label %386, label %491 339: ; preds = %316 %340 = load ptr, ptr %6, align 8 %341 = load i32, ptr %10, align 4 %342 = add nsw i32 %341, 7 %343 = sext i32 %342 to i64 %344 = getelementptr inbounds i32, ptr %340, i64 %343 %345 = load i32, ptr %344, align 4 %346 = icmp eq i32 %345, 2 br i1 %346, label %347, label %362 347: ; preds = %339 %348 = load ptr, ptr %4, align 8 %349 = load i32, ptr %8, align 4 %350 = add i32 %349, 1 %351 = load i32, ptr %7, align 4 %352 = call i32 @get_cell(ptr noundef %348, i32 noundef %350, i32 noundef %351) %353 = load ptr, ptr %6, align 8 %354 = load i32, ptr %10, align 4 %355 = add nsw i32 %354, 6 %356 = sext i32 %355 to i64 %357 = getelementptr inbounds i32, ptr %353, i64 %356 %358 = load i32, ptr %357, align 4 %359 = icmp eq i32 %352, %358 br i1 %359, label %360, label %361 360: ; preds = %347 br i1 true, label %386, label %491 361: ; preds = %347 br i1 false, label %386, label %491 362: ; preds = %339 %363 = load ptr, ptr %6, align 8 %364 = load i32, ptr %10, align 4 %365 = add nsw i32 %364, 7 %366 = sext i32 %365 to i64 %367 = getelementptr inbounds i32, ptr %363, i64 %366 %368 = load i32, ptr %367, align 4 %369 = icmp eq i32 %368, 3 br i1 %369, label %370, label %385 370: ; preds = %362 %371 = load ptr, ptr %4, align 8 %372 = load i32, ptr %8, align 4 %373 = add i32 %372, 1 %374 = load i32, ptr %7, align 4 %375 = call i32 @get_cell(ptr noundef %371, i32 noundef %373, i32 noundef %374) %376 = load ptr, ptr %6, align 8 %377 = load i32, ptr %10, align 4 %378 = add nsw i32 %377, 6 %379 = sext i32 %378 to i64 %380 = getelementptr inbounds i32, ptr %376, i64 %379 %381 = load i32, ptr %380, align 4 %382 = icmp ne i32 %375, %381 br i1 %382, label %383, label %384 383: ; preds = %370 br i1 true, label %386, label %491 384: ; preds = %370 br i1 false, label %386, label %491 385: ; preds = %362 br i1 false, label %386, label %491 386: ; preds = %385, %384, %383, %361, %360, %338, %337, %315, %314 %387 = load ptr, ptr %6, align 8 %388 = load i32, ptr %10, align 4 %389 = add nsw i32 %388, 9 %390 = sext i32 %389 to i64 %391 = getelementptr inbounds i32, ptr %387, i64 %390 %392 = load i32, ptr %391, align 4 %393 = icmp eq i32 %392, 0 br i1 %393, label %394, label %409 394: ; preds = %386 %395 = load ptr, ptr %4, align 8 %396 = load i32, ptr %8, align 4 %397 = load i32, ptr %7, align 4 %398 = add i32 %397, 1 %399 = call i32 @get_cell(ptr noundef %395, i32 noundef %396, i32 noundef %398) %400 = load ptr, ptr %6, align 8 %401 = load i32, ptr %10, align 4 %402 = add nsw i32 %401, 8 %403 = sext i32 %402 to i64 %404 = getelementptr inbounds i32, ptr %400, i64 %403 %405 = load i32, ptr %404, align 4 %406 = icmp uge i32 %399, %405 br i1 %406, label %407, label %408 407: ; preds = %394 br i1 true, label %479, label %490 408: ; preds = %394 br i1 false, label %479, label %490 409: ; preds = %386 %410 = load ptr, ptr %6, align 8 %411 = load i32, ptr %10, align 4 %412 = add nsw i32 %411, 9 %413 = sext i32 %412 to i64 %414 = getelementptr inbounds i32, ptr %410, i64 %413 %415 = load i32, ptr %414, align 4 %416 = icmp eq i32 %415, 1 br i1 %416, label %417, label %432 417: ; preds = %409 %418 = load ptr, ptr %4, align 8 %419 = load i32, ptr %8, align 4 %420 = load i32, ptr %7, align 4 %421 = add i32 %420, 1 %422 = call i32 @get_cell(ptr noundef %418, i32 noundef %419, i32 noundef %421) %423 = load ptr, ptr %6, align 8 %424 = load i32, ptr %10, align 4 %425 = add nsw i32 %424, 8 %426 = sext i32 %425 to i64 %427 = getelementptr inbounds i32, ptr %423, i64 %426 %428 = load i32, ptr %427, align 4 %429 = icmp ule i32 %422, %428 br i1 %429, label %430, label %431 430: ; preds = %417 br i1 true, label %479, label %490 431: ; preds = %417 br i1 false, label %479, label %490 432: ; preds = %409 %433 = load ptr, ptr %6, align 8 %434 = load i32, ptr %10, align 4 %435 = add nsw i32 %434, 9 %436 = sext i32 %435 to i64 %437 = getelementptr inbounds i32, ptr %433, i64 %436 %438 = load i32, ptr %437, align 4 %439 = icmp eq i32 %438, 2 br i1 %439, label %440, label %455 440: ; preds = %432 %441 = load ptr, ptr %4, align 8 %442 = load i32, ptr %8, align 4 %443 = load i32, ptr %7, align 4 %444 = add i32 %443, 1 %445 = call i32 @get_cell(ptr noundef %441, i32 noundef %442, i32 noundef %444) %446 = load ptr, ptr %6, align 8 %447 = load i32, ptr %10, align 4 %448 = add nsw i32 %447, 8 %449 = sext i32 %448 to i64 %450 = getelementptr inbounds i32, ptr %446, i64 %449 %451 = load i32, ptr %450, align 4 %452 = icmp eq i32 %445, %451 br i1 %452, label %453, label %454 453: ; preds = %440 br i1 true, label %479, label %490 454: ; preds = %440 br i1 false, label %479, label %490 455: ; preds = %432 %456 = load ptr, ptr %6, align 8 %457 = load i32, ptr %10, align 4 %458 = add nsw i32 %457, 9 %459 = sext i32 %458 to i64 %460 = getelementptr inbounds i32, ptr %456, i64 %459 %461 = load i32, ptr %460, align 4 %462 = icmp eq i32 %461, 3 br i1 %462, label %463, label %478 463: ; preds = %455 %464 = load ptr, ptr %4, align 8 %465 = load i32, ptr %8, align 4 %466 = load i32, ptr %7, align 4 %467 = add i32 %466, 1 %468 = call i32 @get_cell(ptr noundef %464, i32 noundef %465, i32 noundef %467) %469 = load ptr, ptr %6, align 8 %470 = load i32, ptr %10, align 4 %471 = add nsw i32 %470, 8 %472 = sext i32 %471 to i64 %473 = getelementptr inbounds i32, ptr %469, i64 %472 %474 = load i32, ptr %473, align 4 %475 = icmp ne i32 %468, %474 br i1 %475, label %476, label %477 476: ; preds = %463 br i1 true, label %479, label %490 477: ; preds = %463 br i1 false, label %479, label %490 478: ; preds = %455 br i1 false, label %479, label %490 479: ; preds = %478, %477, %476, %454, %453, %431, %430, %408, %407 %480 = load ptr, ptr %5, align 8 %481 = load ptr, ptr %6, align 8 %482 = load i32, ptr %10, align 4 %483 = add nsw i32 %482, 10 %484 = sext i32 %483 to i64 %485 = getelementptr inbounds i32, ptr %481, i64 %484 %486 = load i32, ptr %485, align 4 %487 = load i32, ptr %8, align 4 %488 = load i32, ptr %7, align 4 %489 = call i32 @set_cell(ptr noundef %480, i32 noundef %486, i32 noundef %487, i32 noundef %488) store i32 1, ptr %9, align 4 br label %498 490: ; preds = %478, %477, %476, %454, %453, %431, %430, %408, %407 br label %491 491: ; preds = %490, %385, %384, %383, %361, %360, %338, %337, %315, %314 br label %492 492: ; preds = %491, %292, %291, %290, %269, %268, %247, %246, %225, %224 br label %493 493: ; preds = %492, %203, %202, %201, %179, %178, %156, %155, %133, %132 br label %494 494: ; preds = %493, %110, %109, %108, %87, %86, %65, %64, %43, %42 br label %495 495: ; preds = %494 %496 = load i32, ptr %10, align 4 %497 = add nsw i32 %496, 11 store i32 %497, ptr %10, align 4 br label %19, !llvm.loop !6 498: ; preds = %479, %19 %499 = load i32, ptr %9, align 4 %500 = icmp ne i32 %499, 0 br i1 %500, label %510, label %501 501: ; preds = %498 %502 = load ptr, ptr %5, align 8 %503 = load ptr, ptr %4, align 8 %504 = load i32, ptr %8, align 4 %505 = load i32, ptr %7, align 4 %506 = call i32 @get_cell(ptr noundef %503, i32 noundef %504, i32 noundef %505) %507 = load i32, ptr %8, align 4 %508 = load i32, ptr %7, align 4 %509 = call i32 @set_cell(ptr noundef %502, i32 noundef %506, i32 noundef %507, i32 noundef %508) br label %510 510: ; preds = %501, %498 br label %511 511: ; preds = %510 %512 = load i32, ptr %8, align 4 %513 = add i32 %512, 1 store i32 %513, ptr %8, align 4 br label %15, !llvm.loop !8 514: ; preds = %15 br label %515 515: ; preds = %514 %516 = load i32, ptr %7, align 4 %517 = add i32 %516, 1 store i32 %517, ptr %7, align 4 br label %11, !llvm.loop !9 518: ; preds = %11 ret void } declare i32 @get_cell(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @set_cell(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0s5ovi5f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_cycle(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 i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 0, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp ult i32 %11, 7 br i1 %12, label %.lr.ph3, label %521 .lr.ph3: ; preds = %3 br label %13 13: ; preds = %.lr.ph3, %516 store i32 0, ptr %8, align 4 %14 = load i32, ptr %8, align 4 %15 = icmp ult i32 %14, 14 br i1 %15, label %.lr.ph1, label %515 .lr.ph1: ; preds = %13 br label %16 16: ; preds = %.lr.ph1, %510 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %17 = load i32, ptr %10, align 4 %18 = icmp slt i32 %17, 550 br i1 %18, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %16 br label %19 19: ; preds = %.lr.ph, %492 %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr %10, align 4 %22 = add nsw i32 %21, 1 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %20, i64 %23 %25 = load i32, ptr %24, align 4 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %41 27: ; preds = %19 %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %8, align 4 %30 = load i32, ptr %7, align 4 %31 = sub i32 %30, 1 %32 = call i32 @get_cell(ptr noundef %28, i32 noundef %29, i32 noundef %31) %33 = load ptr, ptr %6, align 8 %34 = load i32, ptr %10, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = load i32, ptr %36, align 4 %38 = icmp uge i32 %32, %37 br i1 %38, label %39, label %40 39: ; preds = %27 br i1 true, label %108, label %491 40: ; preds = %27 br i1 false, label %108, label %491 41: ; preds = %19 %42 = load ptr, ptr %6, align 8 %43 = load i32, ptr %10, align 4 %44 = add nsw i32 %43, 1 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %42, i64 %45 %47 = load i32, ptr %46, align 4 %48 = icmp eq i32 %47, 1 br i1 %48, label %49, label %63 49: ; preds = %41 %50 = load ptr, ptr %4, align 8 %51 = load i32, ptr %8, align 4 %52 = load i32, ptr %7, align 4 %53 = sub i32 %52, 1 %54 = call i32 @get_cell(ptr noundef %50, i32 noundef %51, i32 noundef %53) %55 = load ptr, ptr %6, align 8 %56 = load i32, ptr %10, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i32, ptr %55, i64 %57 %59 = load i32, ptr %58, align 4 %60 = icmp ule i32 %54, %59 br i1 %60, label %61, label %62 61: ; preds = %49 br i1 true, label %108, label %491 62: ; preds = %49 br i1 false, label %108, label %491 63: ; preds = %41 %64 = load ptr, ptr %6, align 8 %65 = load i32, ptr %10, align 4 %66 = add nsw i32 %65, 1 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %64, i64 %67 %69 = load i32, ptr %68, align 4 %70 = icmp eq i32 %69, 2 br i1 %70, label %71, label %85 71: ; preds = %63 %72 = load ptr, ptr %4, align 8 %73 = load i32, ptr %8, align 4 %74 = load i32, ptr %7, align 4 %75 = sub i32 %74, 1 %76 = call i32 @get_cell(ptr noundef %72, i32 noundef %73, i32 noundef %75) %77 = load ptr, ptr %6, align 8 %78 = load i32, ptr %10, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i32, ptr %77, i64 %79 %81 = load i32, ptr %80, align 4 %82 = icmp eq i32 %76, %81 br i1 %82, label %83, label %84 83: ; preds = %71 br i1 true, label %108, label %491 84: ; preds = %71 br i1 false, label %108, label %491 85: ; preds = %63 %86 = load ptr, ptr %6, align 8 %87 = load i32, ptr %10, align 4 %88 = add nsw i32 %87, 1 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i32, ptr %86, i64 %89 %91 = load i32, ptr %90, align 4 %92 = icmp eq i32 %91, 3 br i1 %92, label %93, label %107 93: ; preds = %85 %94 = load ptr, ptr %4, align 8 %95 = load i32, ptr %8, align 4 %96 = load i32, ptr %7, align 4 %97 = sub i32 %96, 1 %98 = call i32 @get_cell(ptr noundef %94, i32 noundef %95, i32 noundef %97) %99 = load ptr, ptr %6, align 8 %100 = load i32, ptr %10, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds i32, ptr %99, i64 %101 %103 = load i32, ptr %102, align 4 %104 = icmp ne i32 %98, %103 br i1 %104, label %105, label %106 105: ; preds = %93 br i1 true, label %108, label %491 106: ; preds = %93 br i1 false, label %108, label %491 107: ; preds = %85 br i1 false, label %108, label %491 108: ; preds = %107, %106, %105, %84, %83, %62, %61, %40, %39 %109 = load ptr, ptr %6, align 8 %110 = load i32, ptr %10, align 4 %111 = add nsw i32 %110, 3 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i32, ptr %109, i64 %112 %114 = load i32, ptr %113, align 4 %115 = icmp eq i32 %114, 0 br i1 %115, label %116, label %131 116: ; preds = %108 %117 = load ptr, ptr %4, align 8 %118 = load i32, ptr %8, align 4 %119 = sub i32 %118, 1 %120 = load i32, ptr %7, align 4 %121 = call i32 @get_cell(ptr noundef %117, i32 noundef %119, i32 noundef %120) %122 = load ptr, ptr %6, align 8 %123 = load i32, ptr %10, align 4 %124 = add nsw i32 %123, 2 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds i32, ptr %122, i64 %125 %127 = load i32, ptr %126, align 4 %128 = icmp uge i32 %121, %127 br i1 %128, label %129, label %130 129: ; preds = %116 br i1 true, label %201, label %490 130: ; preds = %116 br i1 false, label %201, label %490 131: ; preds = %108 %132 = load ptr, ptr %6, align 8 %133 = load i32, ptr %10, align 4 %134 = add nsw i32 %133, 3 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds i32, ptr %132, i64 %135 %137 = load i32, ptr %136, align 4 %138 = icmp eq i32 %137, 1 br i1 %138, label %139, label %154 139: ; preds = %131 %140 = load ptr, ptr %4, align 8 %141 = load i32, ptr %8, align 4 %142 = sub i32 %141, 1 %143 = load i32, ptr %7, align 4 %144 = call i32 @get_cell(ptr noundef %140, i32 noundef %142, i32 noundef %143) %145 = load ptr, ptr %6, align 8 %146 = load i32, ptr %10, align 4 %147 = add nsw i32 %146, 2 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds i32, ptr %145, i64 %148 %150 = load i32, ptr %149, align 4 %151 = icmp ule i32 %144, %150 br i1 %151, label %152, label %153 152: ; preds = %139 br i1 true, label %201, label %490 153: ; preds = %139 br i1 false, label %201, label %490 154: ; preds = %131 %155 = load ptr, ptr %6, align 8 %156 = load i32, ptr %10, align 4 %157 = add nsw i32 %156, 3 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds i32, ptr %155, i64 %158 %160 = load i32, ptr %159, align 4 %161 = icmp eq i32 %160, 2 br i1 %161, label %162, label %177 162: ; preds = %154 %163 = load ptr, ptr %4, align 8 %164 = load i32, ptr %8, align 4 %165 = sub i32 %164, 1 %166 = load i32, ptr %7, align 4 %167 = call i32 @get_cell(ptr noundef %163, i32 noundef %165, i32 noundef %166) %168 = load ptr, ptr %6, align 8 %169 = load i32, ptr %10, align 4 %170 = add nsw i32 %169, 2 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds i32, ptr %168, i64 %171 %173 = load i32, ptr %172, align 4 %174 = icmp eq i32 %167, %173 br i1 %174, label %175, label %176 175: ; preds = %162 br i1 true, label %201, label %490 176: ; preds = %162 br i1 false, label %201, label %490 177: ; preds = %154 %178 = load ptr, ptr %6, align 8 %179 = load i32, ptr %10, align 4 %180 = add nsw i32 %179, 3 %181 = sext i32 %180 to i64 %182 = getelementptr inbounds i32, ptr %178, i64 %181 %183 = load i32, ptr %182, align 4 %184 = icmp eq i32 %183, 3 br i1 %184, label %185, label %200 185: ; preds = %177 %186 = load ptr, ptr %4, align 8 %187 = load i32, ptr %8, align 4 %188 = sub i32 %187, 1 %189 = load i32, ptr %7, align 4 %190 = call i32 @get_cell(ptr noundef %186, i32 noundef %188, i32 noundef %189) %191 = load ptr, ptr %6, align 8 %192 = load i32, ptr %10, align 4 %193 = add nsw i32 %192, 2 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds i32, ptr %191, i64 %194 %196 = load i32, ptr %195, align 4 %197 = icmp ne i32 %190, %196 br i1 %197, label %198, label %199 198: ; preds = %185 br i1 true, label %201, label %490 199: ; preds = %185 br i1 false, label %201, label %490 200: ; preds = %177 br i1 false, label %201, label %490 201: ; preds = %200, %199, %198, %176, %175, %153, %152, %130, %129 %202 = load ptr, ptr %6, align 8 %203 = load i32, ptr %10, align 4 %204 = add nsw i32 %203, 5 %205 = sext i32 %204 to i64 %206 = getelementptr inbounds i32, ptr %202, i64 %205 %207 = load i32, ptr %206, align 4 %208 = icmp eq i32 %207, 0 br i1 %208, label %209, label %223 209: ; preds = %201 %210 = load ptr, ptr %4, align 8 %211 = load i32, ptr %8, align 4 %212 = load i32, ptr %7, align 4 %213 = call i32 @get_cell(ptr noundef %210, i32 noundef %211, i32 noundef %212) %214 = load ptr, ptr %6, align 8 %215 = load i32, ptr %10, align 4 %216 = add nsw i32 %215, 4 %217 = sext i32 %216 to i64 %218 = getelementptr inbounds i32, ptr %214, i64 %217 %219 = load i32, ptr %218, align 4 %220 = icmp uge i32 %213, %219 br i1 %220, label %221, label %222 221: ; preds = %209 br i1 true, label %290, label %489 222: ; preds = %209 br i1 false, label %290, label %489 223: ; preds = %201 %224 = load ptr, ptr %6, align 8 %225 = load i32, ptr %10, align 4 %226 = add nsw i32 %225, 5 %227 = sext i32 %226 to i64 %228 = getelementptr inbounds i32, ptr %224, i64 %227 %229 = load i32, ptr %228, align 4 %230 = icmp eq i32 %229, 1 br i1 %230, label %231, label %245 231: ; preds = %223 %232 = load ptr, ptr %4, align 8 %233 = load i32, ptr %8, align 4 %234 = load i32, ptr %7, align 4 %235 = call i32 @get_cell(ptr noundef %232, i32 noundef %233, i32 noundef %234) %236 = load ptr, ptr %6, align 8 %237 = load i32, ptr %10, align 4 %238 = add nsw i32 %237, 4 %239 = sext i32 %238 to i64 %240 = getelementptr inbounds i32, ptr %236, i64 %239 %241 = load i32, ptr %240, align 4 %242 = icmp ule i32 %235, %241 br i1 %242, label %243, label %244 243: ; preds = %231 br i1 true, label %290, label %489 244: ; preds = %231 br i1 false, label %290, label %489 245: ; preds = %223 %246 = load ptr, ptr %6, align 8 %247 = load i32, ptr %10, align 4 %248 = add nsw i32 %247, 5 %249 = sext i32 %248 to i64 %250 = getelementptr inbounds i32, ptr %246, i64 %249 %251 = load i32, ptr %250, align 4 %252 = icmp eq i32 %251, 2 br i1 %252, label %253, label %267 253: ; preds = %245 %254 = load ptr, ptr %4, align 8 %255 = load i32, ptr %8, align 4 %256 = load i32, ptr %7, align 4 %257 = call i32 @get_cell(ptr noundef %254, i32 noundef %255, i32 noundef %256) %258 = load ptr, ptr %6, align 8 %259 = load i32, ptr %10, align 4 %260 = add nsw i32 %259, 4 %261 = sext i32 %260 to i64 %262 = getelementptr inbounds i32, ptr %258, i64 %261 %263 = load i32, ptr %262, align 4 %264 = icmp eq i32 %257, %263 br i1 %264, label %265, label %266 265: ; preds = %253 br i1 true, label %290, label %489 266: ; preds = %253 br i1 false, label %290, label %489 267: ; preds = %245 %268 = load ptr, ptr %6, align 8 %269 = load i32, ptr %10, align 4 %270 = add nsw i32 %269, 5 %271 = sext i32 %270 to i64 %272 = getelementptr inbounds i32, ptr %268, i64 %271 %273 = load i32, ptr %272, align 4 %274 = icmp eq i32 %273, 3 br i1 %274, label %275, label %289 275: ; preds = %267 %276 = load ptr, ptr %4, align 8 %277 = load i32, ptr %8, align 4 %278 = load i32, ptr %7, align 4 %279 = call i32 @get_cell(ptr noundef %276, i32 noundef %277, i32 noundef %278) %280 = load ptr, ptr %6, align 8 %281 = load i32, ptr %10, align 4 %282 = add nsw i32 %281, 4 %283 = sext i32 %282 to i64 %284 = getelementptr inbounds i32, ptr %280, i64 %283 %285 = load i32, ptr %284, align 4 %286 = icmp ne i32 %279, %285 br i1 %286, label %287, label %288 287: ; preds = %275 br i1 true, label %290, label %489 288: ; preds = %275 br i1 false, label %290, label %489 289: ; preds = %267 br i1 false, label %290, label %489 290: ; preds = %289, %288, %287, %266, %265, %244, %243, %222, %221 %291 = load ptr, ptr %6, align 8 %292 = load i32, ptr %10, align 4 %293 = add nsw i32 %292, 7 %294 = sext i32 %293 to i64 %295 = getelementptr inbounds i32, ptr %291, i64 %294 %296 = load i32, ptr %295, align 4 %297 = icmp eq i32 %296, 0 br i1 %297, label %298, label %313 298: ; preds = %290 %299 = load ptr, ptr %4, align 8 %300 = load i32, ptr %8, align 4 %301 = add i32 %300, 1 %302 = load i32, ptr %7, align 4 %303 = call i32 @get_cell(ptr noundef %299, i32 noundef %301, i32 noundef %302) %304 = load ptr, ptr %6, align 8 %305 = load i32, ptr %10, align 4 %306 = add nsw i32 %305, 6 %307 = sext i32 %306 to i64 %308 = getelementptr inbounds i32, ptr %304, i64 %307 %309 = load i32, ptr %308, align 4 %310 = icmp uge i32 %303, %309 br i1 %310, label %311, label %312 311: ; preds = %298 br i1 true, label %383, label %488 312: ; preds = %298 br i1 false, label %383, label %488 313: ; preds = %290 %314 = load ptr, ptr %6, align 8 %315 = load i32, ptr %10, align 4 %316 = add nsw i32 %315, 7 %317 = sext i32 %316 to i64 %318 = getelementptr inbounds i32, ptr %314, i64 %317 %319 = load i32, ptr %318, align 4 %320 = icmp eq i32 %319, 1 br i1 %320, label %321, label %336 321: ; preds = %313 %322 = load ptr, ptr %4, align 8 %323 = load i32, ptr %8, align 4 %324 = add i32 %323, 1 %325 = load i32, ptr %7, align 4 %326 = call i32 @get_cell(ptr noundef %322, i32 noundef %324, i32 noundef %325) %327 = load ptr, ptr %6, align 8 %328 = load i32, ptr %10, align 4 %329 = add nsw i32 %328, 6 %330 = sext i32 %329 to i64 %331 = getelementptr inbounds i32, ptr %327, i64 %330 %332 = load i32, ptr %331, align 4 %333 = icmp ule i32 %326, %332 br i1 %333, label %334, label %335 334: ; preds = %321 br i1 true, label %383, label %488 335: ; preds = %321 br i1 false, label %383, label %488 336: ; preds = %313 %337 = load ptr, ptr %6, align 8 %338 = load i32, ptr %10, align 4 %339 = add nsw i32 %338, 7 %340 = sext i32 %339 to i64 %341 = getelementptr inbounds i32, ptr %337, i64 %340 %342 = load i32, ptr %341, align 4 %343 = icmp eq i32 %342, 2 br i1 %343, label %344, label %359 344: ; preds = %336 %345 = load ptr, ptr %4, align 8 %346 = load i32, ptr %8, align 4 %347 = add i32 %346, 1 %348 = load i32, ptr %7, align 4 %349 = call i32 @get_cell(ptr noundef %345, i32 noundef %347, i32 noundef %348) %350 = load ptr, ptr %6, align 8 %351 = load i32, ptr %10, align 4 %352 = add nsw i32 %351, 6 %353 = sext i32 %352 to i64 %354 = getelementptr inbounds i32, ptr %350, i64 %353 %355 = load i32, ptr %354, align 4 %356 = icmp eq i32 %349, %355 br i1 %356, label %357, label %358 357: ; preds = %344 br i1 true, label %383, label %488 358: ; preds = %344 br i1 false, label %383, label %488 359: ; preds = %336 %360 = load ptr, ptr %6, align 8 %361 = load i32, ptr %10, align 4 %362 = add nsw i32 %361, 7 %363 = sext i32 %362 to i64 %364 = getelementptr inbounds i32, ptr %360, i64 %363 %365 = load i32, ptr %364, align 4 %366 = icmp eq i32 %365, 3 br i1 %366, label %367, label %382 367: ; preds = %359 %368 = load ptr, ptr %4, align 8 %369 = load i32, ptr %8, align 4 %370 = add i32 %369, 1 %371 = load i32, ptr %7, align 4 %372 = call i32 @get_cell(ptr noundef %368, i32 noundef %370, i32 noundef %371) %373 = load ptr, ptr %6, align 8 %374 = load i32, ptr %10, align 4 %375 = add nsw i32 %374, 6 %376 = sext i32 %375 to i64 %377 = getelementptr inbounds i32, ptr %373, i64 %376 %378 = load i32, ptr %377, align 4 %379 = icmp ne i32 %372, %378 br i1 %379, label %380, label %381 380: ; preds = %367 br i1 true, label %383, label %488 381: ; preds = %367 br i1 false, label %383, label %488 382: ; preds = %359 br i1 false, label %383, label %488 383: ; preds = %382, %381, %380, %358, %357, %335, %334, %312, %311 %384 = load ptr, ptr %6, align 8 %385 = load i32, ptr %10, align 4 %386 = add nsw i32 %385, 9 %387 = sext i32 %386 to i64 %388 = getelementptr inbounds i32, ptr %384, i64 %387 %389 = load i32, ptr %388, align 4 %390 = icmp eq i32 %389, 0 br i1 %390, label %391, label %406 391: ; preds = %383 %392 = load ptr, ptr %4, align 8 %393 = load i32, ptr %8, align 4 %394 = load i32, ptr %7, align 4 %395 = add i32 %394, 1 %396 = call i32 @get_cell(ptr noundef %392, i32 noundef %393, i32 noundef %395) %397 = load ptr, ptr %6, align 8 %398 = load i32, ptr %10, align 4 %399 = add nsw i32 %398, 8 %400 = sext i32 %399 to i64 %401 = getelementptr inbounds i32, ptr %397, i64 %400 %402 = load i32, ptr %401, align 4 %403 = icmp uge i32 %396, %402 br i1 %403, label %404, label %405 404: ; preds = %391 br i1 true, label %476, label %487 405: ; preds = %391 br i1 false, label %476, label %487 406: ; preds = %383 %407 = load ptr, ptr %6, align 8 %408 = load i32, ptr %10, align 4 %409 = add nsw i32 %408, 9 %410 = sext i32 %409 to i64 %411 = getelementptr inbounds i32, ptr %407, i64 %410 %412 = load i32, ptr %411, align 4 %413 = icmp eq i32 %412, 1 br i1 %413, label %414, label %429 414: ; preds = %406 %415 = load ptr, ptr %4, align 8 %416 = load i32, ptr %8, align 4 %417 = load i32, ptr %7, align 4 %418 = add i32 %417, 1 %419 = call i32 @get_cell(ptr noundef %415, i32 noundef %416, i32 noundef %418) %420 = load ptr, ptr %6, align 8 %421 = load i32, ptr %10, align 4 %422 = add nsw i32 %421, 8 %423 = sext i32 %422 to i64 %424 = getelementptr inbounds i32, ptr %420, i64 %423 %425 = load i32, ptr %424, align 4 %426 = icmp ule i32 %419, %425 br i1 %426, label %427, label %428 427: ; preds = %414 br i1 true, label %476, label %487 428: ; preds = %414 br i1 false, label %476, label %487 429: ; preds = %406 %430 = load ptr, ptr %6, align 8 %431 = load i32, ptr %10, align 4 %432 = add nsw i32 %431, 9 %433 = sext i32 %432 to i64 %434 = getelementptr inbounds i32, ptr %430, i64 %433 %435 = load i32, ptr %434, align 4 %436 = icmp eq i32 %435, 2 br i1 %436, label %437, label %452 437: ; preds = %429 %438 = load ptr, ptr %4, align 8 %439 = load i32, ptr %8, align 4 %440 = load i32, ptr %7, align 4 %441 = add i32 %440, 1 %442 = call i32 @get_cell(ptr noundef %438, i32 noundef %439, i32 noundef %441) %443 = load ptr, ptr %6, align 8 %444 = load i32, ptr %10, align 4 %445 = add nsw i32 %444, 8 %446 = sext i32 %445 to i64 %447 = getelementptr inbounds i32, ptr %443, i64 %446 %448 = load i32, ptr %447, align 4 %449 = icmp eq i32 %442, %448 br i1 %449, label %450, label %451 450: ; preds = %437 br i1 true, label %476, label %487 451: ; preds = %437 br i1 false, label %476, label %487 452: ; preds = %429 %453 = load ptr, ptr %6, align 8 %454 = load i32, ptr %10, align 4 %455 = add nsw i32 %454, 9 %456 = sext i32 %455 to i64 %457 = getelementptr inbounds i32, ptr %453, i64 %456 %458 = load i32, ptr %457, align 4 %459 = icmp eq i32 %458, 3 br i1 %459, label %460, label %475 460: ; preds = %452 %461 = load ptr, ptr %4, align 8 %462 = load i32, ptr %8, align 4 %463 = load i32, ptr %7, align 4 %464 = add i32 %463, 1 %465 = call i32 @get_cell(ptr noundef %461, i32 noundef %462, i32 noundef %464) %466 = load ptr, ptr %6, align 8 %467 = load i32, ptr %10, align 4 %468 = add nsw i32 %467, 8 %469 = sext i32 %468 to i64 %470 = getelementptr inbounds i32, ptr %466, i64 %469 %471 = load i32, ptr %470, align 4 %472 = icmp ne i32 %465, %471 br i1 %472, label %473, label %474 473: ; preds = %460 br i1 true, label %476, label %487 474: ; preds = %460 br i1 false, label %476, label %487 475: ; preds = %452 br i1 false, label %476, label %487 476: ; preds = %475, %474, %473, %451, %450, %428, %427, %405, %404 %477 = load ptr, ptr %5, align 8 %478 = load ptr, ptr %6, align 8 %479 = load i32, ptr %10, align 4 %480 = add nsw i32 %479, 10 %481 = sext i32 %480 to i64 %482 = getelementptr inbounds i32, ptr %478, i64 %481 %483 = load i32, ptr %482, align 4 %484 = load i32, ptr %8, align 4 %485 = load i32, ptr %7, align 4 %486 = call i32 @set_cell(ptr noundef %477, i32 noundef %483, i32 noundef %484, i32 noundef %485) store i32 1, ptr %9, align 4 br label %497 487: ; preds = %475, %474, %473, %451, %450, %428, %427, %405, %404 br label %488 488: ; preds = %487, %382, %381, %380, %358, %357, %335, %334, %312, %311 br label %489 489: ; preds = %488, %289, %288, %287, %266, %265, %244, %243, %222, %221 br label %490 490: ; preds = %489, %200, %199, %198, %176, %175, %153, %152, %130, %129 br label %491 491: ; preds = %490, %107, %106, %105, %84, %83, %62, %61, %40, %39 br label %492 492: ; preds = %491 %493 = load i32, ptr %10, align 4 %494 = add nsw i32 %493, 11 store i32 %494, ptr %10, align 4 %495 = load i32, ptr %10, align 4 %496 = icmp slt i32 %495, 550 br i1 %496, label %19, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %492 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %16 br label %497 497: ; preds = %.loopexit, %476 %498 = load i32, ptr %9, align 4 %499 = icmp ne i32 %498, 0 br i1 %499, label %509, label %500 500: ; preds = %497 %501 = load ptr, ptr %5, align 8 %502 = load ptr, ptr %4, align 8 %503 = load i32, ptr %8, align 4 %504 = load i32, ptr %7, align 4 %505 = call i32 @get_cell(ptr noundef %502, i32 noundef %503, i32 noundef %504) %506 = load i32, ptr %8, align 4 %507 = load i32, ptr %7, align 4 %508 = call i32 @set_cell(ptr noundef %501, i32 noundef %505, i32 noundef %506, i32 noundef %507) br label %509 509: ; preds = %500, %497 br label %510 510: ; preds = %509 %511 = load i32, ptr %8, align 4 %512 = add i32 %511, 1 store i32 %512, ptr %8, align 4 %513 = load i32, ptr %8, align 4 %514 = icmp ult i32 %513, 14 br i1 %514, label %16, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %510 br label %515 515: ; preds = %._crit_edge, %13 br label %516 516: ; preds = %515 %517 = load i32, ptr %7, align 4 %518 = add i32 %517, 1 store i32 %518, ptr %7, align 4 %519 = load i32, ptr %7, align 4 %520 = icmp ult i32 %519, 7 br i1 %520, label %13, label %._crit_edge4, !llvm.loop !9 ._crit_edge4: ; preds = %516 br label %521 521: ; preds = %._crit_edge4, %3 ret void } declare i32 @get_cell(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @set_cell(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpj_p5mxx6.c' source_filename = "/tmp/tmpj_p5mxx6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compare_exchg(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load i32, ptr %5, align 4 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %7, align 4 %9 = call i64 @less(i32 noundef %6, i32 noundef %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load ptr, ptr %3, align 8 %13 = load ptr, ptr %4, align 8 %14 = call i32 @exch(ptr noundef %12, ptr noundef %13) br label %15 15: ; preds = %11, %2 ret void } declare i64 @less(i32 noundef, i32 noundef) #1 declare i32 @exch(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/tmpj_p5mxx6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compare_exchg(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load i32, ptr %5, align 4 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %7, align 4 %9 = call i64 @less(i32 noundef %6, i32 noundef %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load ptr, ptr %3, align 8 %13 = load ptr, ptr %4, align 8 %14 = call i32 @exch(ptr noundef %12, ptr noundef %13) br label %15 15: ; preds = %11, %2 ret void } declare i64 @less(i32 noundef, i32 noundef) #1 declare i32 @exch(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/tmpwrghpcp3.c' source_filename = "/tmp/tmpwrghpcp3.c" target datalayout = "e-m:e-p270: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/tmpwrghpcp3.c" target datalayout = "e-m:e-p270: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/tmp2z1w65zs.c' source_filename = "/tmp/tmp2z1w65zs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pack_bytes(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp eq ptr null, %10 br i1 %11, label %18, label %12 12: ; preds = %4 %13 = load ptr, ptr %8, align 8 %14 = icmp eq ptr null, %13 br i1 %14, label %18, label %15 15: ; preds = %12 %16 = load ptr, ptr %9, align 8 %17 = icmp eq ptr null, %16 br i1 %17, label %18, label %19 18: ; preds = %15, %12, %4 store i32 -1, ptr %5, align 4 br label %32 19: ; preds = %15 %20 = load i64, ptr %7, align 8 %21 = load ptr, ptr %9, align 8 %22 = load i64, ptr %21, align 8 %23 = icmp sgt i64 %20, %22 br i1 %23, label %24, label %25 24: ; preds = %19 store i32 -1, ptr %5, align 4 br label %32 25: ; preds = %19 %26 = load i64, ptr %7, align 8 %27 = load ptr, ptr %9, align 8 store i64 %26, ptr %27, align 8 %28 = load ptr, ptr %8, align 8 %29 = load ptr, ptr %6, align 8 %30 = load i64, ptr %7, align 8 %31 = call i32 @memcpy(ptr noundef %28, ptr noundef %29, i64 noundef %30) store i32 0, ptr %5, align 4 br label %32 32: ; preds = %25, %24, %18 %33 = load i32, ptr %5, align 4 ret i32 %33 } declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2z1w65zs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pack_bytes(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp eq ptr null, %10 br i1 %11, label %18, label %12 12: ; preds = %4 %13 = load ptr, ptr %8, align 8 %14 = icmp eq ptr null, %13 br i1 %14, label %18, label %15 15: ; preds = %12 %16 = load ptr, ptr %9, align 8 %17 = icmp eq ptr null, %16 br i1 %17, label %18, label %19 18: ; preds = %15, %12, %4 store i32 -1, ptr %5, align 4 br label %32 19: ; preds = %15 %20 = load i64, ptr %7, align 8 %21 = load ptr, ptr %9, align 8 %22 = load i64, ptr %21, align 8 %23 = icmp sgt i64 %20, %22 br i1 %23, label %24, label %25 24: ; preds = %19 store i32 -1, ptr %5, align 4 br label %32 25: ; preds = %19 %26 = load i64, ptr %7, align 8 %27 = load ptr, ptr %9, align 8 store i64 %26, ptr %27, align 8 %28 = load ptr, ptr %8, align 8 %29 = load ptr, ptr %6, align 8 %30 = load i64, ptr %7, align 8 %31 = call i32 @memcpy(ptr noundef %28, ptr noundef %29, i64 noundef %30) store i32 0, ptr %5, align 4 br label %32 32: ; preds = %25, %24, %18 %33 = load i32, ptr %5, align 4 ret i32 %33 } declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1vyoowp7.c' source_filename = "/tmp/tmp1vyoowp7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"# c::%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"ramp\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 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) %6 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 br label %7 7: ; preds = %18, %0 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 3 br i1 %9, label %10, label %21 10: ; preds = %7 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %12 = call double (...) @benchmark() store double %12, ptr %2, align 8 %13 = load double, ptr %2, align 8 %14 = call i32 @print_results(double noundef %13) %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16) br label %18 18: ; preds = %10 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 br label %7, !llvm.loop !6 21: ; preds = %7 %22 = call i32 @print_summary(i32 noundef 3, i32 noundef 3) %23 = load i32, ptr %1, align 4 ret i32 %23 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(...) #1 declare i32 @print_results(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1vyoowp7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"# c::%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"ramp\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 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) %6 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 3 br i1 %8, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %17 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %11 = call double (...) @benchmark() store double %11, ptr %2, align 8 %12 = load double, ptr %2, align 8 %13 = call i32 @print_results(double noundef %12) %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15) br label %17 17: ; preds = %9 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %20, 3 br i1 %21, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %0 %23 = call i32 @print_summary(i32 noundef 3, i32 noundef 3) %24 = load i32, ptr %1, align 4 ret i32 %24 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(...) #1 declare i32 @print_results(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"}