llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmplv2o394x.c' source_filename = "/tmp/tmplv2o394x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"Start\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"E5\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [5 x i8] c"Quit\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [6 x i8], align 1 %3 = alloca [81 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 1, ptr %5, align 4 %6 = getelementptr inbounds [81 x i32], ptr %3, i64 0, i64 0 %7 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 324) %8 = getelementptr inbounds [81 x i32], ptr %3, i64 0, i64 0 store i32 1, ptr %8, align 16 %9 = getelementptr inbounds [81 x i32], ptr %3, i64 0, i64 1 store i32 1, ptr %9, align 4 %10 = getelementptr inbounds [81 x i32], ptr %3, i64 0, i64 9 store i32 2, ptr %10, align 4 %11 = getelementptr inbounds [81 x i32], ptr %3, i64 0, i64 10 store i32 2, ptr %11, align 8 %12 = getelementptr inbounds [81 x i32], ptr %3, i64 0, i64 0 %13 = call i32 @liberties(ptr noundef %12, i32 noundef 0) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %13) %15 = getelementptr inbounds [81 x i32], ptr %3, i64 0, i64 0 %16 = call i32 @draw(ptr noundef %15) %17 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0 %18 = load i32, ptr @stdin, align 4 %19 = call i32 @fgets(ptr noundef %17, i32 noundef 6, i32 noundef %18) %20 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0 %21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.1) %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %33 23: ; preds = %0 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %25 = load i32, ptr @stdout, align 4 %26 = call i32 @fflush(i32 noundef %25) %27 = getelementptr inbounds [81 x i32], ptr %3, i64 0, i64 44 store i32 1, ptr %27, align 16 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %5, align 4 %30 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0 %31 = load i32, ptr @stdin, align 4 %32 = call i32 @fgets(ptr noundef %30, i32 noundef 5, i32 noundef %31) br label %33 33: ; preds = %23, %0 br label %34 34: ; preds = %38, %33 %35 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0 %36 = call i64 @strcmp(ptr noundef %35, ptr noundef @.str.3) %37 = icmp ne i64 %36, 0 br i1 %37, label %38, label %48 38: ; preds = %34 %39 = call i32 @unmarshall(ptr noundef %2) store i32 %39, ptr %4, align 4 %40 = load i32, ptr %4, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [81 x i32], ptr %3, i64 0, i64 %41 store i32 2, ptr %42, align 4 %43 = load i32, ptr %5, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %5, align 4 %45 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0 %46 = load i32, ptr @stdin, align 4 %47 = call i32 @fgets(ptr noundef %45, i32 noundef 5, i32 noundef %46) br label %34, !llvm.loop !6 48: ; preds = %34 ret i32 0 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @liberties(ptr noundef, i32 noundef) #1 declare i32 @draw(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @unmarshall(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmplv2o394x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"Start\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"E5\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [5 x i8] c"Quit\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [6 x i8], align 1 %3 = alloca [81 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 1, ptr %5, align 4 %6 = getelementptr inbounds [81 x i32], ptr %3, i64 0, i64 0 %7 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 324) %8 = getelementptr inbounds [81 x i32], ptr %3, i64 0, i64 0 store i32 1, ptr %8, align 16 %9 = getelementptr inbounds [81 x i32], ptr %3, i64 0, i64 1 store i32 1, ptr %9, align 4 %10 = getelementptr inbounds [81 x i32], ptr %3, i64 0, i64 9 store i32 2, ptr %10, align 4 %11 = getelementptr inbounds [81 x i32], ptr %3, i64 0, i64 10 store i32 2, ptr %11, align 8 %12 = getelementptr inbounds [81 x i32], ptr %3, i64 0, i64 0 %13 = call i32 @liberties(ptr noundef %12, i32 noundef 0) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %13) %15 = getelementptr inbounds [81 x i32], ptr %3, i64 0, i64 0 %16 = call i32 @draw(ptr noundef %15) %17 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0 %18 = load i32, ptr @stdin, align 4 %19 = call i32 @fgets(ptr noundef %17, i32 noundef 6, i32 noundef %18) %20 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0 %21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.1) %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %33 23: ; preds = %0 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %25 = load i32, ptr @stdout, align 4 %26 = call i32 @fflush(i32 noundef %25) %27 = getelementptr inbounds [81 x i32], ptr %3, i64 0, i64 44 store i32 1, ptr %27, align 16 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %5, align 4 %30 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0 %31 = load i32, ptr @stdin, align 4 %32 = call i32 @fgets(ptr noundef %30, i32 noundef 5, i32 noundef %31) br label %33 33: ; preds = %23, %0 %34 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0 %35 = call i64 @strcmp(ptr noundef %34, ptr noundef @.str.3) %36 = icmp ne i64 %35, 0 br i1 %36, label %.lr.ph, label %49 .lr.ph: ; preds = %33 br label %37 37: ; preds = %.lr.ph, %37 %38 = call i32 @unmarshall(ptr noundef %2) store i32 %38, ptr %4, align 4 %39 = load i32, ptr %4, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [81 x i32], ptr %3, i64 0, i64 %40 store i32 2, ptr %41, align 4 %42 = load i32, ptr %5, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %5, align 4 %44 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0 %45 = load i32, ptr @stdin, align 4 %46 = call i32 @fgets(ptr noundef %44, i32 noundef 5, i32 noundef %45) %47 = call i64 @strcmp(ptr noundef %34, ptr noundef @.str.3) %48 = icmp ne i64 %47, 0 br i1 %48, label %37, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %49 49: ; preds = %._crit_edge, %33 ret i32 0 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @liberties(ptr noundef, i32 noundef) #1 declare i32 @draw(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @unmarshall(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpf3v0gsw0.c' source_filename = "/tmp/tmpf3v0gsw0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @.str.1 = private unnamed_addr constant [43 x i8] c"read_xpm: incorrect width, height, colors\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%c %d\00", align 1 @.str.3 = private unnamed_addr constant [46 x i8] c"read_xpm: incorrect symbol, color at line %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [38 x i8] c"read_xpm: incorrect color at line %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [47 x i8] c"read_xpm: incorrect symbol at line %d, col %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @read_xpm(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 ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [256 x i8], align 16 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca i8, align 1 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 0 %22 = load ptr, ptr %21, align 8 %23 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %22, ptr noundef @.str, ptr noundef %8, ptr noundef %9, ptr noundef %10) %24 = icmp ne i32 %23, 3 br i1 %24, label %25, label %27 25: ; preds = %3 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store ptr null, ptr %4, align 8 br label %143 27: ; preds = %3 %28 = load i32, ptr %8, align 4 %29 = icmp sgt i32 %28, 1024 br i1 %29, label %36, label %30 30: ; preds = %27 %31 = load i32, ptr %9, align 4 %32 = icmp sgt i32 %31, 768 br i1 %32, label %36, label %33 33: ; preds = %30 %34 = load i32, ptr %10, align 4 %35 = icmp sgt i32 %34, 256 br i1 %35, label %36, label %38 36: ; preds = %33, %30, %27 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store ptr null, ptr %4, align 8 br label %143 38: ; preds = %33 %39 = load i32, ptr %8, align 4 %40 = load ptr, ptr %6, align 8 store i32 %39, ptr %40, align 4 %41 = load i32, ptr %9, align 4 %42 = load ptr, ptr %7, align 8 store i32 %41, ptr %42, align 4 store i32 0, ptr %13, align 4 br label %43 43: ; preds = %50, %38 %44 = load i32, ptr %13, align 4 %45 = icmp slt i32 %44, 256 br i1 %45, label %46, label %53 46: ; preds = %43 %47 = load i32, ptr %13, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 %48 store i8 0, ptr %49, align 1 br label %50 50: ; preds = %46 %51 = load i32, ptr %13, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %13, align 4 br label %43, !llvm.loop !6 53: ; preds = %43 store i32 0, ptr %13, align 4 br label %54 54: ; preds = %83, %53 %55 = load i32, ptr %13, align 4 %56 = load i32, ptr %10, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %58, label %86 58: ; preds = %54 %59 = load ptr, ptr %5, align 8 %60 = load i32, ptr %13, align 4 %61 = add nsw i32 %60, 1 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds ptr, ptr %59, i64 %62 %64 = load ptr, ptr %63, align 8 %65 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %64, ptr noundef @.str.2, ptr noundef %19, ptr noundef %12) %66 = icmp ne i32 %65, 2 br i1 %66, label %67, label %71 67: ; preds = %58 %68 = load i32, ptr %13, align 4 %69 = add nsw i32 %68, 1 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %69) store ptr null, ptr %4, align 8 br label %143 71: ; preds = %58 %72 = load i32, ptr %12, align 4 %73 = icmp sgt i32 %72, 256 br i1 %73, label %74, label %78 74: ; preds = %71 %75 = load i32, ptr %13, align 4 %76 = add nsw i32 %75, 1 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %76) store ptr null, ptr %4, align 8 br label %143 78: ; preds = %71 %79 = load i8, ptr %19, align 1 %80 = load i32, ptr %12, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 %81 store i8 %79, ptr %82, align 1 br label %83 83: ; preds = %78 %84 = load i32, ptr %13, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %13, align 4 br label %54, !llvm.loop !8 86: ; preds = %54 %87 = load i32, ptr %8, align 4 %88 = load i32, ptr %9, align 4 %89 = mul nsw i32 %87, %88 %90 = call ptr @malloc(i32 noundef %89) store ptr %90, ptr %16, align 8 store ptr %90, ptr %15, align 8 store i32 0, ptr %13, align 4 br label %91 91: ; preds = %138, %86 %92 = load i32, ptr %13, align 4 %93 = load i32, ptr %9, align 4 %94 = icmp slt i32 %92, %93 br i1 %94, label %95, label %141 95: ; preds = %91 %96 = load ptr, ptr %5, align 8 %97 = load i32, ptr %10, align 4 %98 = add nsw i32 %97, 1 %99 = load i32, ptr %13, align 4 %100 = add nsw i32 %98, %99 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds ptr, ptr %96, i64 %101 %103 = load ptr, ptr %102, align 8 store ptr %103, ptr %18, align 8 store i32 0, ptr %14, align 4 br label %104 104: ; preds = %134, %95 %105 = load i32, ptr %14, align 4 %106 = load i32, ptr %8, align 4 %107 = icmp slt i32 %105, %106 br i1 %107, label %108, label %137 108: ; preds = %104 %109 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %110 = load ptr, ptr %18, align 8 %111 = load i32, ptr %14, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i8, ptr %110, i64 %112 %114 = load i8, ptr %113, align 1 %115 = call ptr @memchr(ptr noundef %109, i8 noundef signext %114, i32 noundef 256) store ptr %115, ptr %17, align 8 %116 = load ptr, ptr %17, align 8 %117 = icmp eq ptr %116, null br i1 %117, label %118, label %125 118: ; preds = %108 %119 = load i32, ptr %10, align 4 %120 = load i32, ptr %13, align 4 %121 = add nsw i32 %119, %120 %122 = add nsw i32 %121, 1 %123 = load i32, ptr %14, align 4 %124 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %122, i32 noundef %123) store ptr null, ptr %4, align 8 br label %143 125: ; preds = %108 %126 = load ptr, ptr %17, align 8 %127 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %128 = ptrtoint ptr %126 to i64 %129 = ptrtoint ptr %127 to i64 %130 = sub i64 %128, %129 %131 = trunc i64 %130 to i8 %132 = load ptr, ptr %16, align 8 %133 = getelementptr inbounds i8, ptr %132, i32 1 store ptr %133, ptr %16, align 8 store i8 %131, ptr %132, align 1 br label %134 134: ; preds = %125 %135 = load i32, ptr %14, align 4 %136 = add nsw i32 %135, 1 store i32 %136, ptr %14, align 4 br label %104, !llvm.loop !9 137: ; preds = %104 br label %138 138: ; preds = %137 %139 = load i32, ptr %13, align 4 %140 = add nsw i32 %139, 1 store i32 %140, ptr %13, align 4 br label %91, !llvm.loop !10 141: ; preds = %91 %142 = load ptr, ptr %15, align 8 store ptr %142, ptr %4, align 8 br label %143 143: ; preds = %141, %118, %74, %67, %36, %25 %144 = load ptr, ptr %4, align 8 ret ptr %144 } declare i32 @sscanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @malloc(i32 noundef) #1 declare ptr @memchr(ptr noundef, i8 noundef signext, 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/tmpf3v0gsw0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @.str.1 = private unnamed_addr constant [43 x i8] c"read_xpm: incorrect width, height, colors\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%c %d\00", align 1 @.str.3 = private unnamed_addr constant [46 x i8] c"read_xpm: incorrect symbol, color at line %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [38 x i8] c"read_xpm: incorrect color at line %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [47 x i8] c"read_xpm: incorrect symbol at line %d, col %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @read_xpm(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 ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [256 x i8], align 16 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca i8, align 1 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 0 %22 = load ptr, ptr %21, align 8 %23 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %22, ptr noundef @.str, ptr noundef %8, ptr noundef %9, ptr noundef %10) %24 = icmp ne i32 %23, 3 br i1 %24, label %25, label %27 25: ; preds = %3 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store ptr null, ptr %4, align 8 br label %150 27: ; preds = %3 %28 = load i32, ptr %8, align 4 %29 = icmp sgt i32 %28, 1024 br i1 %29, label %36, label %30 30: ; preds = %27 %31 = load i32, ptr %9, align 4 %32 = icmp sgt i32 %31, 768 br i1 %32, label %36, label %33 33: ; preds = %30 %34 = load i32, ptr %10, align 4 %35 = icmp sgt i32 %34, 256 br i1 %35, label %36, label %38 36: ; preds = %33, %30, %27 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store ptr null, ptr %4, align 8 br label %150 38: ; preds = %33 %39 = load i32, ptr %8, align 4 %40 = load ptr, ptr %6, align 8 store i32 %39, ptr %40, align 4 %41 = load i32, ptr %9, align 4 %42 = load ptr, ptr %7, align 8 store i32 %41, ptr %42, align 4 store i32 0, ptr %13, align 4 %43 = load i32, ptr %13, align 4 %44 = icmp slt i32 %43, 256 br i1 %44, label %.lr.ph, label %54 .lr.ph: ; preds = %38 br label %45 45: ; preds = %.lr.ph, %49 %46 = load i32, ptr %13, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 %47 store i8 0, ptr %48, align 1 br label %49 49: ; preds = %45 %50 = load i32, ptr %13, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %13, align 4 %52 = load i32, ptr %13, align 4 %53 = icmp slt i32 %52, 256 br i1 %53, label %45, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %49 br label %54 54: ; preds = %._crit_edge, %38 store i32 0, ptr %13, align 4 %55 = load i32, ptr %13, align 4 %56 = load i32, ptr %10, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %.lr.ph2, label %89 .lr.ph2: ; preds = %54 br label %58 58: ; preds = %.lr.ph2, %83 %59 = load ptr, ptr %5, align 8 %60 = load i32, ptr %13, align 4 %61 = add nsw i32 %60, 1 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds ptr, ptr %59, i64 %62 %64 = load ptr, ptr %63, align 8 %65 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %64, ptr noundef @.str.2, ptr noundef %19, ptr noundef %12) %66 = icmp ne i32 %65, 2 br i1 %66, label %67, label %71 67: ; preds = %58 %68 = load i32, ptr %13, align 4 %69 = add nsw i32 %68, 1 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %69) store ptr null, ptr %4, align 8 br label %150 71: ; preds = %58 %72 = load i32, ptr %12, align 4 %73 = icmp sgt i32 %72, 256 br i1 %73, label %74, label %78 74: ; preds = %71 %75 = load i32, ptr %13, align 4 %76 = add nsw i32 %75, 1 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %76) store ptr null, ptr %4, align 8 br label %150 78: ; preds = %71 %79 = load i8, ptr %19, align 1 %80 = load i32, ptr %12, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 %81 store i8 %79, ptr %82, align 1 br label %83 83: ; preds = %78 %84 = load i32, ptr %13, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %13, align 4 %86 = load i32, ptr %13, align 4 %87 = load i32, ptr %10, align 4 %88 = icmp slt i32 %86, %87 br i1 %88, label %58, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %83 br label %89 89: ; preds = %._crit_edge3, %54 %90 = load i32, ptr %8, align 4 %91 = load i32, ptr %9, align 4 %92 = mul nsw i32 %90, %91 %93 = call ptr @malloc(i32 noundef %92) store ptr %93, ptr %16, align 8 store ptr %93, ptr %15, align 8 store i32 0, ptr %13, align 4 %94 = load i32, ptr %13, align 4 %95 = load i32, ptr %9, align 4 %96 = icmp slt i32 %94, %95 br i1 %96, label %.lr.ph8, label %148 .lr.ph8: ; preds = %89 br label %97 97: ; preds = %.lr.ph8, %142 %98 = load ptr, ptr %5, align 8 %99 = load i32, ptr %10, align 4 %100 = add nsw i32 %99, 1 %101 = load i32, ptr %13, align 4 %102 = add nsw i32 %100, %101 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds ptr, ptr %98, i64 %103 %105 = load ptr, ptr %104, align 8 store ptr %105, ptr %18, align 8 store i32 0, ptr %14, align 4 %106 = load i32, ptr %14, align 4 %107 = load i32, ptr %8, align 4 %108 = icmp slt i32 %106, %107 br i1 %108, label %.lr.ph5, label %141 .lr.ph5: ; preds = %97 br label %109 109: ; preds = %.lr.ph5, %135 %110 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %111 = load ptr, ptr %18, align 8 %112 = load i32, ptr %14, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds i8, ptr %111, i64 %113 %115 = load i8, ptr %114, align 1 %116 = call ptr @memchr(ptr noundef %110, i8 noundef signext %115, i32 noundef 256) store ptr %116, ptr %17, align 8 %117 = load ptr, ptr %17, align 8 %118 = icmp eq ptr %117, null br i1 %118, label %119, label %126 119: ; preds = %109 %120 = load i32, ptr %10, align 4 %121 = load i32, ptr %13, align 4 %122 = add nsw i32 %120, %121 %123 = add nsw i32 %122, 1 %124 = load i32, ptr %14, align 4 %125 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %123, i32 noundef %124) store ptr null, ptr %4, align 8 br label %150 126: ; preds = %109 %127 = load ptr, ptr %17, align 8 %128 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %129 = ptrtoint ptr %127 to i64 %130 = ptrtoint ptr %128 to i64 %131 = sub i64 %129, %130 %132 = trunc i64 %131 to i8 %133 = load ptr, ptr %16, align 8 %134 = getelementptr inbounds i8, ptr %133, i32 1 store ptr %134, ptr %16, align 8 store i8 %132, ptr %133, align 1 br label %135 135: ; preds = %126 %136 = load i32, ptr %14, align 4 %137 = add nsw i32 %136, 1 store i32 %137, ptr %14, align 4 %138 = load i32, ptr %14, align 4 %139 = load i32, ptr %8, align 4 %140 = icmp slt i32 %138, %139 br i1 %140, label %109, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %135 br label %141 141: ; preds = %._crit_edge6, %97 br label %142 142: ; preds = %141 %143 = load i32, ptr %13, align 4 %144 = add nsw i32 %143, 1 store i32 %144, ptr %13, align 4 %145 = load i32, ptr %13, align 4 %146 = load i32, ptr %9, align 4 %147 = icmp slt i32 %145, %146 br i1 %147, label %97, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %142 br label %148 148: ; preds = %._crit_edge9, %89 %149 = load ptr, ptr %15, align 8 store ptr %149, ptr %4, align 8 br label %150 150: ; preds = %148, %119, %74, %67, %36, %25 %151 = load ptr, ptr %4, align 8 ret ptr %151 } declare i32 @sscanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @malloc(i32 noundef) #1 declare ptr @memchr(ptr noundef, i8 noundef signext, 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/tmpb224xcq4.c' source_filename = "/tmp/tmpb224xcq4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%I64d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"YES\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"NO\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %7) br label %11 11: ; preds = %53, %2 %12 = load i32, ptr %7, align 4 %13 = add nsw i32 %12, -1 store i32 %13, ptr %7, align 4 %14 = icmp ne i32 %12, 0 br i1 %14, label %15, label %58 15: ; preds = %11 %16 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %8) %17 = load i64, ptr %8, align 8 %18 = call i64 @sqrtl(i64 noundef %17) store i64 %18, ptr %9, align 8 store i32 2, ptr %6, align 4 br label %19 19: ; preds = %34, %15 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = mul nsw i32 %20, %21 %23 = sext i32 %22 to i64 %24 = load i64, ptr %9, align 8 %25 = icmp sle i64 %23, %24 br i1 %25, label %26, label %37 26: ; preds = %19 %27 = load i64, ptr %9, align 8 %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = srem i64 %27, %29 %31 = icmp ne i64 %30, 0 br i1 %31, label %33, label %32 32: ; preds = %26 br label %37 33: ; preds = %26 br label %34 34: ; preds = %33 %35 = load i32, ptr %6, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %6, align 4 br label %19, !llvm.loop !6 37: ; preds = %32, %19 %38 = load i64, ptr %9, align 8 %39 = load i64, ptr %9, align 8 %40 = mul nsw i64 %38, %39 %41 = load i64, ptr %8, align 8 %42 = icmp eq i64 %40, %41 br i1 %42, label %43, label %53 43: ; preds = %37 %44 = load i32, ptr %6, align 4 %45 = load i32, ptr %6, align 4 %46 = mul nsw i32 %44, %45 %47 = sext i32 %46 to i64 %48 = load i64, ptr %9, align 8 %49 = icmp sgt i64 %47, %48 br i1 %49, label %50, label %53 50: ; preds = %43 %51 = load i64, ptr %8, align 8 %52 = icmp sgt i64 %51, 1 br label %53 53: ; preds = %50, %43, %37 %54 = phi i1 [ false, %43 ], [ false, %37 ], [ %52, %50 ] %55 = zext i1 %54 to i64 %56 = select i1 %54, ptr @.str.2, ptr @.str.3 %57 = call i32 @printf(ptr noundef @.str.1, ptr noundef %56) br label %11, !llvm.loop !8 58: ; preds = %11 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i64 @sqrtl(i64 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb224xcq4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%I64d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"YES\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"NO\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %7) %11 = load i32, ptr %7, align 4 %12 = add nsw i32 %11, -1 store i32 %12, ptr %7, align 4 %13 = icmp ne i32 %11, 0 br i1 %13, label %.lr.ph1, label %65 .lr.ph1: ; preds = %2 br label %14 14: ; preds = %.lr.ph1, %57 %15 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %8) %16 = load i64, ptr %8, align 8 %17 = call i64 @sqrtl(i64 noundef %16) store i64 %17, ptr %9, align 8 store i32 2, ptr %6, align 4 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = mul nsw i32 %18, %19 %21 = sext i32 %20 to i64 %22 = load i64, ptr %9, align 8 %23 = icmp sle i64 %21, %22 br i1 %23, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %14 br label %24 24: ; preds = %.lr.ph, %32 %25 = load i64, ptr %9, align 8 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = srem i64 %25, %27 %29 = icmp ne i64 %28, 0 br i1 %29, label %31, label %30 30: ; preds = %24 br label %41 31: ; preds = %24 br label %32 32: ; preds = %31 %33 = load i32, ptr %6, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %6, align 4 %35 = load i32, ptr %6, align 4 %36 = load i32, ptr %6, align 4 %37 = mul nsw i32 %35, %36 %38 = sext i32 %37 to i64 %39 = load i64, ptr %9, align 8 %40 = icmp sle i64 %38, %39 br i1 %40, label %24, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %32 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %14 br label %41 41: ; preds = %.loopexit, %30 %42 = load i64, ptr %9, align 8 %43 = load i64, ptr %9, align 8 %44 = mul nsw i64 %42, %43 %45 = load i64, ptr %8, align 8 %46 = icmp eq i64 %44, %45 br i1 %46, label %47, label %57 47: ; preds = %41 %48 = load i32, ptr %6, align 4 %49 = load i32, ptr %6, align 4 %50 = mul nsw i32 %48, %49 %51 = sext i32 %50 to i64 %52 = load i64, ptr %9, align 8 %53 = icmp sgt i64 %51, %52 br i1 %53, label %54, label %57 54: ; preds = %47 %55 = load i64, ptr %8, align 8 %56 = icmp sgt i64 %55, 1 br label %57 57: ; preds = %54, %47, %41 %58 = phi i1 [ false, %47 ], [ false, %41 ], [ %56, %54 ] %59 = zext i1 %58 to i64 %60 = select i1 %58, ptr @.str.2, ptr @.str.3 %61 = call i32 @printf(ptr noundef @.str.1, ptr noundef %60) %62 = load i32, ptr %7, align 4 %63 = add nsw i32 %62, -1 store i32 %63, ptr %7, align 4 %64 = icmp ne i32 %62, 0 br i1 %64, label %14, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %57 br label %65 65: ; preds = %._crit_edge, %2 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i64 @sqrtl(i64 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpw2odunp0.c' source_filename = "/tmp/tmpw2odunp0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cc_usbdevs_find_by_arg(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %53 13: ; preds = %2 %14 = load ptr, ptr %4, align 8 %15 = call i32 @strtol(ptr noundef %14, ptr noundef %8, i32 noundef 0) store i32 %15, ptr %7, align 4 %16 = load ptr, ptr %8, align 8 %17 = load ptr, ptr %4, align 8 %18 = icmp ne ptr %16, %17 br i1 %18, label %19, label %26 19: ; preds = %13 %20 = load ptr, ptr %8, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %19 store ptr null, ptr %3, align 8 br label %83 25: ; preds = %19 store ptr null, ptr %6, align 8 br label %52 26: ; preds = %13 %27 = load ptr, ptr %4, align 8 %28 = call ptr @strchr(ptr noundef %27, i8 noundef signext 58) store ptr %28, ptr %9, align 8 %29 = load ptr, ptr %9, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %31, label %49 31: ; preds = %26 %32 = load ptr, ptr %4, align 8 %33 = load ptr, ptr %9, align 8 %34 = load ptr, ptr %4, align 8 %35 = ptrtoint ptr %33 to i64 %36 = ptrtoint ptr %34 to i64 %37 = sub i64 %35, %36 %38 = trunc i64 %37 to i32 %39 = call ptr @strndup(ptr noundef %32, i32 noundef %38) store ptr %39, ptr %6, align 8 %40 = load ptr, ptr %9, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 1 %42 = call i32 @strtol(ptr noundef %41, ptr noundef %8, i32 noundef 0) store i32 %42, ptr %7, align 4 %43 = load ptr, ptr %8, align 8 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp ne i32 %45, 0 br i1 %46, label %47, label %48 47: ; preds = %31 store ptr null, ptr %3, align 8 br label %83 48: ; preds = %31 br label %51 49: ; preds = %26 %50 = load ptr, ptr %4, align 8 store ptr %50, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %51 51: ; preds = %49, %48 br label %52 52: ; preds = %51, %25 br label %54 53: ; preds = %2 store ptr null, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %54 54: ; preds = %53, %52 store ptr null, ptr %10, align 8 %55 = load ptr, ptr %6, align 8 %56 = icmp ne ptr %55, null br i1 %56, label %64, label %57 57: ; preds = %54 %58 = load ptr, ptr %5, align 8 %59 = icmp ne ptr %58, null br i1 %59, label %60, label %64 60: ; preds = %57 %61 = load ptr, ptr %5, align 8 %62 = load i32, ptr %7, align 4 %63 = call ptr @match_dev(ptr noundef %61, i32 noundef %62) store ptr %63, ptr %10, align 8 br label %64 64: ; preds = %60, %57, %54 %65 = load ptr, ptr %10, align 8 %66 = icmp ne ptr %65, null br i1 %66, label %71, label %67 67: ; preds = %64 %68 = load ptr, ptr %6, align 8 %69 = load i32, ptr %7, align 4 %70 = call ptr @match_dev(ptr noundef %68, i32 noundef %69) store ptr %70, ptr %10, align 8 br label %71 71: ; preds = %67, %64 %72 = load ptr, ptr %6, align 8 %73 = icmp ne ptr %72, null br i1 %73, label %74, label %81 74: ; preds = %71 %75 = load ptr, ptr %6, align 8 %76 = load ptr, ptr %4, align 8 %77 = icmp ne ptr %75, %76 br i1 %77, label %78, label %81 78: ; preds = %74 %79 = load ptr, ptr %6, align 8 %80 = call i32 @free(ptr noundef %79) br label %81 81: ; preds = %78, %74, %71 %82 = load ptr, ptr %10, align 8 store ptr %82, ptr %3, align 8 br label %83 83: ; preds = %81, %47, %24 %84 = load ptr, ptr %3, align 8 ret ptr %84 } declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare ptr @strndup(ptr noundef, i32 noundef) #1 declare ptr @match_dev(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw2odunp0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cc_usbdevs_find_by_arg(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %53 13: ; preds = %2 %14 = load ptr, ptr %4, align 8 %15 = call i32 @strtol(ptr noundef %14, ptr noundef %8, i32 noundef 0) store i32 %15, ptr %7, align 4 %16 = load ptr, ptr %8, align 8 %17 = load ptr, ptr %4, align 8 %18 = icmp ne ptr %16, %17 br i1 %18, label %19, label %26 19: ; preds = %13 %20 = load ptr, ptr %8, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %19 store ptr null, ptr %3, align 8 br label %83 25: ; preds = %19 store ptr null, ptr %6, align 8 br label %52 26: ; preds = %13 %27 = load ptr, ptr %4, align 8 %28 = call ptr @strchr(ptr noundef %27, i8 noundef signext 58) store ptr %28, ptr %9, align 8 %29 = load ptr, ptr %9, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %31, label %49 31: ; preds = %26 %32 = load ptr, ptr %4, align 8 %33 = load ptr, ptr %9, align 8 %34 = load ptr, ptr %4, align 8 %35 = ptrtoint ptr %33 to i64 %36 = ptrtoint ptr %34 to i64 %37 = sub i64 %35, %36 %38 = trunc i64 %37 to i32 %39 = call ptr @strndup(ptr noundef %32, i32 noundef %38) store ptr %39, ptr %6, align 8 %40 = load ptr, ptr %9, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 1 %42 = call i32 @strtol(ptr noundef %41, ptr noundef %8, i32 noundef 0) store i32 %42, ptr %7, align 4 %43 = load ptr, ptr %8, align 8 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp ne i32 %45, 0 br i1 %46, label %47, label %48 47: ; preds = %31 store ptr null, ptr %3, align 8 br label %83 48: ; preds = %31 br label %51 49: ; preds = %26 %50 = load ptr, ptr %4, align 8 store ptr %50, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %51 51: ; preds = %49, %48 br label %52 52: ; preds = %51, %25 br label %54 53: ; preds = %2 store ptr null, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %54 54: ; preds = %53, %52 store ptr null, ptr %10, align 8 %55 = load ptr, ptr %6, align 8 %56 = icmp ne ptr %55, null br i1 %56, label %64, label %57 57: ; preds = %54 %58 = load ptr, ptr %5, align 8 %59 = icmp ne ptr %58, null br i1 %59, label %60, label %64 60: ; preds = %57 %61 = load ptr, ptr %5, align 8 %62 = load i32, ptr %7, align 4 %63 = call ptr @match_dev(ptr noundef %61, i32 noundef %62) store ptr %63, ptr %10, align 8 br label %64 64: ; preds = %60, %57, %54 %65 = load ptr, ptr %10, align 8 %66 = icmp ne ptr %65, null br i1 %66, label %71, label %67 67: ; preds = %64 %68 = load ptr, ptr %6, align 8 %69 = load i32, ptr %7, align 4 %70 = call ptr @match_dev(ptr noundef %68, i32 noundef %69) store ptr %70, ptr %10, align 8 br label %71 71: ; preds = %67, %64 %72 = load ptr, ptr %6, align 8 %73 = icmp ne ptr %72, null br i1 %73, label %74, label %81 74: ; preds = %71 %75 = load ptr, ptr %6, align 8 %76 = load ptr, ptr %4, align 8 %77 = icmp ne ptr %75, %76 br i1 %77, label %78, label %81 78: ; preds = %74 %79 = load ptr, ptr %6, align 8 %80 = call i32 @free(ptr noundef %79) br label %81 81: ; preds = %78, %74, %71 %82 = load ptr, ptr %10, align 8 store ptr %82, ptr %3, align 8 br label %83 83: ; preds = %81, %47, %24 %84 = load ptr, ptr %3, align 8 ret ptr %84 } declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare ptr @strndup(ptr noundef, i32 noundef) #1 declare ptr @match_dev(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"}
; ModuleID = '/tmp/tmpzjgj1g_i.c' source_filename = "/tmp/tmpzjgj1g_i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_WMRD7_swap(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @U_WMRNOTIMPLEMENTED_swap(ptr noundef %5, i32 noundef %6) ret void } declare i32 @U_WMRNOTIMPLEMENTED_swap(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzjgj1g_i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_WMRD7_swap(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @U_WMRNOTIMPLEMENTED_swap(ptr noundef %5, i32 noundef %6) ret void } declare i32 @U_WMRNOTIMPLEMENTED_swap(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpttix86mf.c' source_filename = "/tmp/tmpttix86mf.c" target datalayout = "e-m:e-p270: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/tmpttix86mf.c" target datalayout = "e-m:e-p270: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/tmptgi3abuh.c' source_filename = "/tmp/tmptgi3abuh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sk_OPENSSL_CSTRING_sort(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 @OPENSSL_sk_sort(ptr noundef %3) ret void } declare i32 @OPENSSL_sk_sort(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptgi3abuh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sk_OPENSSL_CSTRING_sort(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 @OPENSSL_sk_sort(ptr noundef %3) ret void } declare i32 @OPENSSL_sk_sort(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqr3urzaz.c' source_filename = "/tmp/tmpqr3urzaz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [4 x i8] c"%o\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 br label %3 3: ; preds = %7, %0 %4 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %5 = load i64, ptr @EOF, align 8 %6 = icmp ne i64 %4, %5 br i1 %6, label %7, label %10 7: ; preds = %3 %8 = load i32, ptr %2, align 4 %9 = call i32 @printf(ptr noundef @.str.1, i32 noundef %8) br label %3, !llvm.loop !6 10: ; preds = %3 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqr3urzaz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [4 x i8] c"%o\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 i64 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i64, ptr @EOF, align 8 %5 = icmp ne i64 %3, %4 br i1 %5, label %.lr.ph, label %12 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %6 %7 = load i32, ptr %2, align 4 %8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7) %9 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %10 = load i64, ptr @EOF, align 8 %11 = icmp ne i64 %9, %10 br i1 %11, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %12 12: ; preds = %._crit_edge, %0 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpjqdao90d.c' source_filename = "/tmp/tmpjqdao90d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @S_IFCHR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"create_dev: Unable to create device\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @create_dev(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 %struct.stat, 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 %11 = load ptr, ptr %5, align 8 %12 = call i32 @stat(ptr noundef %11, ptr noundef %8) store i32 %12, ptr %9, align 4 %13 = load i32, ptr %9, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %33 15: ; preds = %3 %16 = load ptr, ptr %6, align 8 %17 = call i32 @find_major_no(ptr noundef %16) store i32 %17, ptr %10, align 4 %18 = load i32, ptr %10, align 4 %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %15 store i32 -1, ptr %4, align 4 br label %34 21: ; preds = %15 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr @S_IFCHR, align 4 %24 = or i32 384, %23 %25 = load i32, ptr %10, align 4 %26 = load i32, ptr %7, align 4 %27 = call i32 @makedev(i32 noundef %25, i32 noundef %26) %28 = call i64 @mknod(ptr noundef %22, i32 noundef %24, i32 noundef %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %21 %31 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %4, align 4 br label %34 32: ; preds = %21 br label %33 33: ; preds = %32, %3 store i32 0, ptr %4, align 4 br label %34 34: ; preds = %33, %30, %20 %35 = load i32, ptr %4, align 4 ret i32 %35 } declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @find_major_no(ptr noundef) #1 declare i64 @mknod(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @makedev(i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjqdao90d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @S_IFCHR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"create_dev: Unable to create device\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @create_dev(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 %struct.stat, 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 %11 = load ptr, ptr %5, align 8 %12 = call i32 @stat(ptr noundef %11, ptr noundef %8) store i32 %12, ptr %9, align 4 %13 = load i32, ptr %9, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %33 15: ; preds = %3 %16 = load ptr, ptr %6, align 8 %17 = call i32 @find_major_no(ptr noundef %16) store i32 %17, ptr %10, align 4 %18 = load i32, ptr %10, align 4 %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %15 store i32 -1, ptr %4, align 4 br label %34 21: ; preds = %15 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr @S_IFCHR, align 4 %24 = or i32 384, %23 %25 = load i32, ptr %10, align 4 %26 = load i32, ptr %7, align 4 %27 = call i32 @makedev(i32 noundef %25, i32 noundef %26) %28 = call i64 @mknod(ptr noundef %22, i32 noundef %24, i32 noundef %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %21 %31 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %4, align 4 br label %34 32: ; preds = %21 br label %33 33: ; preds = %32, %3 store i32 0, ptr %4, align 4 br label %34 34: ; preds = %33, %30, %20 %35 = load i32, ptr %4, align 4 ret i32 %35 } declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @find_major_no(ptr noundef) #1 declare i64 @mknod(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @makedev(i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp93cs4avn.c' source_filename = "/tmp/tmp93cs4avn.c" target datalayout = "e-m:e-p270: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/tmp93cs4avn.c" target datalayout = "e-m:e-p270: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/tmpcp___2hl.c' source_filename = "/tmp/tmpcp___2hl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iop_msleep(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = mul nsw i32 %3, 1000 %5 = call i32 @usleep(i32 noundef %4) ret i32 0 } declare i32 @usleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcp___2hl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iop_msleep(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = mul nsw i32 %3, 1000 %5 = call i32 @usleep(i32 noundef %4) ret i32 0 } declare i32 @usleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvvi1549o.c' source_filename = "/tmp/tmpvvi1549o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yyfree(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/tmpvvi1549o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yyfree(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/tmpigxvrk00.c' source_filename = "/tmp/tmpigxvrk00.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sk_OPENSSL_STRING_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 @OPENSSL_sk_free(ptr noundef %3) ret void } declare i32 @OPENSSL_sk_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/tmpigxvrk00.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sk_OPENSSL_STRING_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 @OPENSSL_sk_free(ptr noundef %3) ret void } declare i32 @OPENSSL_sk_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/tmpjxxcbezj.c' source_filename = "/tmp/tmpjxxcbezj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Usage: %s [FILE]\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i8, align 1 %8 = alloca [10 x i8], align 1 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 2 br i1 %15, label %16, label %21 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %19) store i32 1, ptr %3, align 4 br label %116 21: ; preds = %2 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i32 1 store ptr %23, ptr %5, align 8 %24 = load ptr, ptr %23, align 8 %25 = call ptr @fopen(ptr noundef %24, ptr noundef @.str.1) store ptr %25, ptr %6, align 8 br label %26 26: ; preds = %112, %21 %27 = load ptr, ptr %6, align 8 %28 = call signext i8 @getc(ptr noundef %27) store i8 %28, ptr %7, align 1 %29 = sext i8 %28 to i32 %30 = load i8, ptr @EOF, align 1 %31 = sext i8 %30 to i32 %32 = icmp ne i32 %29, %31 br i1 %32, label %33, label %115 33: ; preds = %26 store i32 0, ptr %9, align 4 br label %34 34: ; preds = %44, %33 %35 = load i8, ptr %7, align 1 %36 = sext i8 %35 to i32 %37 = icmp sge i32 %36, 48 br i1 %37, label %38, label %42 38: ; preds = %34 %39 = load i8, ptr %7, align 1 %40 = sext i8 %39 to i32 %41 = icmp sle i32 %40, 57 br label %42 42: ; preds = %38, %34 %43 = phi i1 [ false, %34 ], [ %41, %38 ] br i1 %43, label %44, label %56 44: ; preds = %42 %45 = load i8, ptr %7, align 1 %46 = sext i8 %45 to i32 %47 = sub nsw i32 %46, 48 %48 = trunc i32 %47 to i8 %49 = load i32, ptr %9, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [10 x i8], ptr %8, i64 0, i64 %50 store i8 %48, ptr %51, align 1 %52 = load i32, ptr %9, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %9, align 4 %54 = load ptr, ptr %6, align 8 %55 = call signext i8 @getc(ptr noundef %54) store i8 %55, ptr %7, align 1 br label %34, !llvm.loop !6 56: ; preds = %42 %57 = load ptr, ptr %6, align 8 %58 = call signext i8 @getc(ptr noundef %57) store i8 %58, ptr %7, align 1 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 1, ptr %13, align 4 store i32 0, ptr %10, align 4 br label %59 59: ; preds = %98, %56 %60 = load i32, ptr %10, align 4 %61 = load i32, ptr %9, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %63, label %101 63: ; preds = %59 %64 = load i8, ptr %7, align 1 %65 = sext i8 %64 to i32 %66 = icmp sge i32 %65, 97 br i1 %66, label %67, label %82 67: ; preds = %63 %68 = load i8, ptr %7, align 1 %69 = sext i8 %68 to i32 %70 = icmp sle i32 %69, 122 br i1 %70, label %71, label %82 71: ; preds = %67 %72 = load i32, ptr %12, align 4 %73 = mul nsw i32 10, %72 %74 = load i32, ptr %10, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [10 x i8], ptr %8, i64 0, i64 %75 %77 = load i8, ptr %76, align 1 %78 = sext i8 %77 to i32 %79 = add nsw i32 %73, %78 store i32 %79, ptr %12, align 4 %80 = load i32, ptr %10, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %10, align 4 br label %98 82: ; preds = %67, %63 %83 = load i32, ptr %13, align 4 %84 = icmp ne i32 %83, 0 br i1 %84, label %85, label %89 85: ; preds = %82 %86 = load i32, ptr %12, align 4 %87 = load i32, ptr %11, align 4 %88 = add nsw i32 %87, %86 store i32 %88, ptr %11, align 4 br label %93 89: ; preds = %82 %90 = load i32, ptr %12, align 4 %91 = load i32, ptr %11, align 4 %92 = sub nsw i32 %91, %90 store i32 %92, ptr %11, align 4 br label %93 93: ; preds = %89, %85 store i32 0, ptr %12, align 4 %94 = load i8, ptr %7, align 1 %95 = sext i8 %94 to i32 %96 = icmp eq i32 %95, 43 %97 = zext i1 %96 to i32 store i32 %97, ptr %13, align 4 br label %98 98: ; preds = %93, %71 %99 = load ptr, ptr %6, align 8 %100 = call signext i8 @getc(ptr noundef %99) store i8 %100, ptr %7, align 1 br label %59, !llvm.loop !8 101: ; preds = %59 %102 = load i32, ptr %13, align 4 %103 = icmp ne i32 %102, 0 br i1 %103, label %104, label %108 104: ; preds = %101 %105 = load i32, ptr %12, align 4 %106 = load i32, ptr %11, align 4 %107 = add nsw i32 %106, %105 store i32 %107, ptr %11, align 4 br label %112 108: ; preds = %101 %109 = load i32, ptr %12, align 4 %110 = load i32, ptr %11, align 4 %111 = sub nsw i32 %110, %109 store i32 %111, ptr %11, align 4 br label %112 112: ; preds = %108, %104 %113 = load i32, ptr %11, align 4 %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %113) br label %26, !llvm.loop !9 115: ; preds = %26 store i32 0, ptr %3, align 4 br label %116 116: ; preds = %115, %16 %117 = load i32, ptr %3, align 4 ret i32 %117 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare signext i8 @getc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpjxxcbezj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Usage: %s [FILE]\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i8, align 1 %8 = alloca [10 x i8], align 1 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 2 br i1 %15, label %16, label %21 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %19) store i32 1, ptr %3, align 4 br label %123 21: ; preds = %2 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i32 1 store ptr %23, ptr %5, align 8 %24 = load ptr, ptr %23, align 8 %25 = call ptr @fopen(ptr noundef %24, ptr noundef @.str.1) store ptr %25, ptr %6, align 8 %26 = load ptr, ptr %6, align 8 %27 = call signext i8 @getc(ptr noundef %26) store i8 %27, ptr %7, align 1 %28 = sext i8 %27 to i32 %29 = load i8, ptr @EOF, align 1 %30 = sext i8 %29 to i32 %31 = icmp ne i32 %28, %30 br i1 %31, label %.lr.ph2, label %122 .lr.ph2: ; preds = %21 br label %32 32: ; preds = %.lr.ph2, %113 store i32 0, ptr %9, align 4 br label %33 33: ; preds = %43, %32 %34 = load i8, ptr %7, align 1 %35 = sext i8 %34 to i32 %36 = icmp sge i32 %35, 48 br i1 %36, label %37, label %41 37: ; preds = %33 %38 = load i8, ptr %7, align 1 %39 = sext i8 %38 to i32 %40 = icmp sle i32 %39, 57 br label %41 41: ; preds = %37, %33 %42 = phi i1 [ false, %33 ], [ %40, %37 ] br i1 %42, label %43, label %55 43: ; preds = %41 %44 = load i8, ptr %7, align 1 %45 = sext i8 %44 to i32 %46 = sub nsw i32 %45, 48 %47 = trunc i32 %46 to i8 %48 = load i32, ptr %9, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [10 x i8], ptr %8, i64 0, i64 %49 store i8 %47, ptr %50, align 1 %51 = load i32, ptr %9, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %9, align 4 %53 = load ptr, ptr %6, align 8 %54 = call signext i8 @getc(ptr noundef %53) store i8 %54, ptr %7, align 1 br label %33, !llvm.loop !6 55: ; preds = %41 %56 = load ptr, ptr %6, align 8 %57 = call signext i8 @getc(ptr noundef %56) store i8 %57, ptr %7, align 1 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 1, ptr %13, align 4 store i32 0, ptr %10, align 4 %58 = load i32, ptr %10, align 4 %59 = load i32, ptr %9, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %.lr.ph, label %102 .lr.ph: ; preds = %55 br label %61 61: ; preds = %.lr.ph, %96 %62 = load i8, ptr %7, align 1 %63 = sext i8 %62 to i32 %64 = icmp sge i32 %63, 97 br i1 %64, label %65, label %80 65: ; preds = %61 %66 = load i8, ptr %7, align 1 %67 = sext i8 %66 to i32 %68 = icmp sle i32 %67, 122 br i1 %68, label %69, label %80 69: ; preds = %65 %70 = load i32, ptr %12, align 4 %71 = mul nsw i32 10, %70 %72 = load i32, ptr %10, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [10 x i8], ptr %8, i64 0, i64 %73 %75 = load i8, ptr %74, align 1 %76 = sext i8 %75 to i32 %77 = add nsw i32 %71, %76 store i32 %77, ptr %12, align 4 %78 = load i32, ptr %10, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %10, align 4 br label %96 80: ; preds = %65, %61 %81 = load i32, ptr %13, align 4 %82 = icmp ne i32 %81, 0 br i1 %82, label %83, label %87 83: ; preds = %80 %84 = load i32, ptr %12, align 4 %85 = load i32, ptr %11, align 4 %86 = add nsw i32 %85, %84 store i32 %86, ptr %11, align 4 br label %91 87: ; preds = %80 %88 = load i32, ptr %12, align 4 %89 = load i32, ptr %11, align 4 %90 = sub nsw i32 %89, %88 store i32 %90, ptr %11, align 4 br label %91 91: ; preds = %87, %83 store i32 0, ptr %12, align 4 %92 = load i8, ptr %7, align 1 %93 = sext i8 %92 to i32 %94 = icmp eq i32 %93, 43 %95 = zext i1 %94 to i32 store i32 %95, ptr %13, align 4 br label %96 96: ; preds = %91, %69 %97 = load ptr, ptr %6, align 8 %98 = call signext i8 @getc(ptr noundef %97) store i8 %98, ptr %7, align 1 %99 = load i32, ptr %10, align 4 %100 = load i32, ptr %9, align 4 %101 = icmp slt i32 %99, %100 br i1 %101, label %61, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %96 br label %102 102: ; preds = %._crit_edge, %55 %103 = load i32, ptr %13, align 4 %104 = icmp ne i32 %103, 0 br i1 %104, label %105, label %109 105: ; preds = %102 %106 = load i32, ptr %12, align 4 %107 = load i32, ptr %11, align 4 %108 = add nsw i32 %107, %106 store i32 %108, ptr %11, align 4 br label %113 109: ; preds = %102 %110 = load i32, ptr %12, align 4 %111 = load i32, ptr %11, align 4 %112 = sub nsw i32 %111, %110 store i32 %112, ptr %11, align 4 br label %113 113: ; preds = %109, %105 %114 = load i32, ptr %11, align 4 %115 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %114) %116 = load ptr, ptr %6, align 8 %117 = call signext i8 @getc(ptr noundef %116) store i8 %117, ptr %7, align 1 %118 = sext i8 %117 to i32 %119 = load i8, ptr @EOF, align 1 %120 = sext i8 %119 to i32 %121 = icmp ne i32 %118, %120 br i1 %121, label %32, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %113 br label %122 122: ; preds = %._crit_edge3, %21 store i32 0, ptr %3, align 4 br label %123 123: ; preds = %122, %16 %124 = load i32, ptr %3, align 4 ret i32 %124 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare signext i8 @getc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp4gi3cvok.c' source_filename = "/tmp/tmp4gi3cvok.c" target datalayout = "e-m:e-p270: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/tmp4gi3cvok.c" target datalayout = "e-m:e-p270: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/tmpq8nq2hdj.c' source_filename = "/tmp/tmpq8nq2hdj.c" target datalayout = "e-m:e-p270: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/tmpq8nq2hdj.c" target datalayout = "e-m:e-p270: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/tmp6jvpls2l.c' source_filename = "/tmp/tmp6jvpls2l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i64 @malloc(i32 noundef 40) %6 = inttoptr i64 %5 to ptr store ptr %6, ptr %2, align 8 store i32 5, ptr %4, align 4 store ptr %4, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds ptr, ptr %8, i64 3 store ptr %7, ptr %9, align 8 %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 3 %12 = load ptr, ptr %11, align 8 %13 = load i32, ptr %12, align 4 ret i32 %13 } 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/tmp6jvpls2l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i64 @malloc(i32 noundef 40) %6 = inttoptr i64 %5 to ptr store ptr %6, ptr %2, align 8 store i32 5, ptr %4, align 4 store ptr %4, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds ptr, ptr %8, i64 3 store ptr %7, ptr %9, align 8 %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 3 %12 = load ptr, ptr %11, align 8 %13 = load i32, ptr %12, align 4 ret i32 %13 } 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/tmphugu27s7.c' source_filename = "/tmp/tmphugu27s7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @removeCRLF(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) store i32 %5, ptr %3, align 4 br label %6 6: ; preds = %34, %1 %7 = load i32, ptr %3, align 4 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %37 9: ; preds = %6 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %3, align 4 %12 = sub nsw i32 %11, 1 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %10, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 10 br i1 %17, label %27, label %18 18: ; preds = %9 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr %3, align 4 %21 = sub nsw i32 %20, 1 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %19, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 13 br i1 %26, label %27, label %33 27: ; preds = %18, %9 %28 = load ptr, ptr %2, align 8 %29 = load i32, ptr %3, align 4 %30 = sub nsw i32 %29, 1 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %28, i64 %31 store i8 0, ptr %32, align 1 br label %33 33: ; preds = %27, %18 br label %34 34: ; preds = %33 %35 = load i32, ptr %3, align 4 %36 = add nsw i32 %35, -1 store i32 %36, ptr %3, align 4 br label %6, !llvm.loop !6 37: ; preds = %6 %38 = load ptr, ptr %2, align 8 ret ptr %38 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphugu27s7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @removeCRLF(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp sgt i32 %6, 0 br i1 %7, label %.lr.ph, label %38 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %33 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %3, align 4 %11 = sub nsw i32 %10, 1 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %9, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 10 br i1 %16, label %26, label %17 17: ; preds = %8 %18 = load ptr, ptr %2, align 8 %19 = load i32, ptr %3, align 4 %20 = sub nsw i32 %19, 1 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %18, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 13 br i1 %25, label %26, label %32 26: ; preds = %17, %8 %27 = load ptr, ptr %2, align 8 %28 = load i32, ptr %3, align 4 %29 = sub nsw i32 %28, 1 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %27, i64 %30 store i8 0, ptr %31, align 1 br label %32 32: ; preds = %26, %17 br label %33 33: ; preds = %32 %34 = load i32, ptr %3, align 4 %35 = add nsw i32 %34, -1 store i32 %35, ptr %3, align 4 %36 = load i32, ptr %3, align 4 %37 = icmp sgt i32 %36, 0 br i1 %37, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %38 38: ; preds = %._crit_edge, %1 %39 = load ptr, ptr %2, align 8 ret ptr %39 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpcrkoooxc.c' source_filename = "/tmp/tmpcrkoooxc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @irc_parsen(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %15, label %12 12: ; preds = %3 %13 = load ptr, ptr %6, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %16 15: ; preds = %12, %3 store i64 0, ptr %4, align 8 br label %96 16: ; preds = %12 store i64 0, ptr %8, align 8 store i64 0, ptr %9, align 8 br label %17 17: ; preds = %89, %16 %18 = load ptr, ptr %5, align 8 %19 = load i64, ptr %9, align 8 %20 = getelementptr inbounds i8, ptr %18, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %28 24: ; preds = %17 %25 = load i64, ptr %8, align 8 %26 = load i64, ptr %7, align 8 %27 = icmp ult i64 %25, %26 br label %28 28: ; preds = %24, %17 %29 = phi i1 [ false, %17 ], [ %27, %24 ] br i1 %29, label %30, label %94 30: ; preds = %28 %31 = load ptr, ptr %5, align 8 %32 = load i64, ptr %9, align 8 %33 = getelementptr inbounds i8, ptr %31, i64 %32 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 %35, 32 br i1 %36, label %37, label %88 37: ; preds = %30 %38 = load i64, ptr %8, align 8 %39 = icmp ne i64 %38, 0 br i1 %39, label %40, label %57 40: ; preds = %37 %41 = load ptr, ptr %5, align 8 %42 = load i64, ptr %9, align 8 %43 = getelementptr inbounds i8, ptr %41, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 58 br i1 %46, label %47, label %57 47: ; preds = %40 %48 = load ptr, ptr %5, align 8 %49 = load i64, ptr %9, align 8 %50 = add i64 %49, 1 %51 = getelementptr inbounds i8, ptr %48, i64 %50 %52 = load ptr, ptr %6, align 8 %53 = load i64, ptr %8, align 8 %54 = getelementptr inbounds ptr, ptr %52, i64 %53 store ptr %51, ptr %54, align 8 %55 = load i64, ptr %8, align 8 %56 = add i64 %55, 1 store i64 %56, ptr %8, align 8 br label %94 57: ; preds = %40, %37 %58 = load ptr, ptr %5, align 8 %59 = load i64, ptr %9, align 8 %60 = getelementptr inbounds i8, ptr %58, i64 %59 %61 = load ptr, ptr %6, align 8 %62 = load i64, ptr %8, align 8 %63 = getelementptr inbounds ptr, ptr %61, i64 %62 store ptr %60, ptr %63, align 8 br label %64 64: ; preds = %57 br label %65 65: ; preds = %81, %64 %66 = load ptr, ptr %5, align 8 %67 = load i64, ptr %9, align 8 %68 = getelementptr inbounds i8, ptr %66, i64 %67 %69 = load i8, ptr %68, align 1 %70 = sext i8 %69 to i32 %71 = icmp ne i32 %70, 32 br i1 %71, label %72, label %79 72: ; preds = %65 %73 = load ptr, ptr %5, align 8 %74 = load i64, ptr %9, align 8 %75 = getelementptr inbounds i8, ptr %73, i64 %74 %76 = load i8, ptr %75, align 1 %77 = sext i8 %76 to i32 %78 = icmp ne i32 %77, 0 br label %79 79: ; preds = %72, %65 %80 = phi i1 [ false, %65 ], [ %78, %72 ] br i1 %80, label %81, label %84 81: ; preds = %79 %82 = load i64, ptr %9, align 8 %83 = add i64 %82, 1 store i64 %83, ptr %9, align 8 br label %65, !llvm.loop !6 84: ; preds = %79 %85 = load ptr, ptr %5, align 8 %86 = load i64, ptr %9, align 8 %87 = getelementptr inbounds i8, ptr %85, i64 %86 store i8 0, ptr %87, align 1 br label %88 88: ; preds = %84, %30 br label %89 89: ; preds = %88 %90 = load i64, ptr %9, align 8 %91 = add i64 %90, 1 store i64 %91, ptr %9, align 8 %92 = load i64, ptr %8, align 8 %93 = add i64 %92, 1 store i64 %93, ptr %8, align 8 br label %17, !llvm.loop !8 94: ; preds = %47, %28 %95 = load i64, ptr %8, align 8 store i64 %95, ptr %4, align 8 br label %96 96: ; preds = %94, %15 %97 = load i64, ptr %4, align 8 ret i64 %97 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpcrkoooxc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @irc_parsen(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %15, label %12 12: ; preds = %3 %13 = load ptr, ptr %6, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %16 15: ; preds = %12, %3 store i64 0, ptr %4, align 8 br label %96 16: ; preds = %12 store i64 0, ptr %8, align 8 store i64 0, ptr %9, align 8 br label %17 17: ; preds = %89, %16 %18 = load ptr, ptr %5, align 8 %19 = load i64, ptr %9, align 8 %20 = getelementptr inbounds i8, ptr %18, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %28 24: ; preds = %17 %25 = load i64, ptr %8, align 8 %26 = load i64, ptr %7, align 8 %27 = icmp ult i64 %25, %26 br label %28 28: ; preds = %24, %17 %29 = phi i1 [ false, %17 ], [ %27, %24 ] br i1 %29, label %30, label %.loopexit 30: ; preds = %28 %31 = load ptr, ptr %5, align 8 %32 = load i64, ptr %9, align 8 %33 = getelementptr inbounds i8, ptr %31, i64 %32 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 %35, 32 br i1 %36, label %37, label %88 37: ; preds = %30 %38 = load i64, ptr %8, align 8 %39 = icmp ne i64 %38, 0 br i1 %39, label %40, label %57 40: ; preds = %37 %41 = load ptr, ptr %5, align 8 %42 = load i64, ptr %9, align 8 %43 = getelementptr inbounds i8, ptr %41, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 58 br i1 %46, label %47, label %57 47: ; preds = %40 %48 = load ptr, ptr %5, align 8 %49 = load i64, ptr %9, align 8 %50 = add i64 %49, 1 %51 = getelementptr inbounds i8, ptr %48, i64 %50 %52 = load ptr, ptr %6, align 8 %53 = load i64, ptr %8, align 8 %54 = getelementptr inbounds ptr, ptr %52, i64 %53 store ptr %51, ptr %54, align 8 %55 = load i64, ptr %8, align 8 %56 = add i64 %55, 1 store i64 %56, ptr %8, align 8 br label %94 57: ; preds = %40, %37 %58 = load ptr, ptr %5, align 8 %59 = load i64, ptr %9, align 8 %60 = getelementptr inbounds i8, ptr %58, i64 %59 %61 = load ptr, ptr %6, align 8 %62 = load i64, ptr %8, align 8 %63 = getelementptr inbounds ptr, ptr %61, i64 %62 store ptr %60, ptr %63, align 8 br label %64 64: ; preds = %57 br label %65 65: ; preds = %81, %64 %66 = load ptr, ptr %5, align 8 %67 = load i64, ptr %9, align 8 %68 = getelementptr inbounds i8, ptr %66, i64 %67 %69 = load i8, ptr %68, align 1 %70 = sext i8 %69 to i32 %71 = icmp ne i32 %70, 32 br i1 %71, label %72, label %79 72: ; preds = %65 %73 = load ptr, ptr %5, align 8 %74 = load i64, ptr %9, align 8 %75 = getelementptr inbounds i8, ptr %73, i64 %74 %76 = load i8, ptr %75, align 1 %77 = sext i8 %76 to i32 %78 = icmp ne i32 %77, 0 br label %79 79: ; preds = %72, %65 %80 = phi i1 [ false, %65 ], [ %78, %72 ] br i1 %80, label %81, label %84 81: ; preds = %79 %82 = load i64, ptr %9, align 8 %83 = add i64 %82, 1 store i64 %83, ptr %9, align 8 br label %65, !llvm.loop !6 84: ; preds = %79 %85 = load ptr, ptr %5, align 8 %86 = load i64, ptr %9, align 8 %87 = getelementptr inbounds i8, ptr %85, i64 %86 store i8 0, ptr %87, align 1 br label %88 88: ; preds = %84, %30 br label %89 89: ; preds = %88 %90 = load i64, ptr %9, align 8 %91 = add i64 %90, 1 store i64 %91, ptr %9, align 8 %92 = load i64, ptr %8, align 8 %93 = add i64 %92, 1 store i64 %93, ptr %8, align 8 br label %17, !llvm.loop !8 .loopexit: ; preds = %28 br label %94 94: ; preds = %.loopexit, %47 %95 = load i64, ptr %8, align 8 store i64 %95, ptr %4, align 8 br label %96 96: ; preds = %94, %15 %97 = load i64, ptr %4, align 8 ret i64 %97 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmph5y2x6kn.c' source_filename = "/tmp/tmph5y2x6kn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = call i32 (...) @init() br label %4 4: ; preds = %25, %0 %5 = load volatile i32, ptr inttoptr (i64 4294964284 to ptr), align 4 %6 = and i32 %5, 16 %7 = icmp ne i32 %6, 0 br i1 %7, label %17, label %8 8: ; preds = %4 %9 = load i32, ptr %2, align 4 %10 = icmp ult i32 %9, 15 br i1 %10, label %11, label %14 11: ; preds = %8 %12 = load i32, ptr %2, align 4 %13 = add i32 %12, 1 br label %15 14: ; preds = %8 br label %15 15: ; preds = %14, %11 %16 = phi i32 [ %13, %11 ], [ 0, %14 ] store i32 %16, ptr %2, align 4 br label %17 17: ; preds = %15, %4 %18 = load i32, ptr %2, align 4 %19 = call i32 @led_out(i32 noundef %18) br label %20 20: ; preds = %24, %17 %21 = load volatile i32, ptr inttoptr (i64 4294964284 to ptr), align 4 %22 = and i32 %21, 16 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %20 br label %20, !llvm.loop !6 25: ; preds = %20 br label %4 } declare i32 @init(...) #1 declare i32 @led_out(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/tmph5y2x6kn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = call i32 (...) @init() br label %4 4: ; preds = %24, %0 %5 = load volatile i32, ptr inttoptr (i64 4294964284 to ptr), align 4 %6 = and i32 %5, 16 %7 = icmp ne i32 %6, 0 br i1 %7, label %17, label %8 8: ; preds = %4 %9 = load i32, ptr %2, align 4 %10 = icmp ult i32 %9, 15 br i1 %10, label %11, label %14 11: ; preds = %8 %12 = load i32, ptr %2, align 4 %13 = add i32 %12, 1 br label %15 14: ; preds = %8 br label %15 15: ; preds = %14, %11 %16 = phi i32 [ %13, %11 ], [ 0, %14 ] store i32 %16, ptr %2, align 4 br label %17 17: ; preds = %15, %4 %18 = load i32, ptr %2, align 4 %19 = call i32 @led_out(i32 noundef %18) br label %20 20: ; preds = %20, %17 %21 = load volatile i32, ptr inttoptr (i64 4294964284 to ptr), align 4 %22 = and i32 %21, 16 %23 = icmp ne i32 %22, 0 br i1 %23, label %20, label %24, !llvm.loop !6 24: ; preds = %20 br label %4 } declare i32 @init(...) #1 declare i32 @led_out(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/tmpsof8n1x_.c' source_filename = "/tmp/tmpsof8n1x_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn4(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca [1024 x double], align 16 %6 = alloca [1024 x double], align 16 %7 = alloca [1024 x double], align 16 %8 = alloca double, align 8 %9 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store double 0.000000e+00, ptr %8, align 8 %10 = getelementptr inbounds [1024 x double], ptr %5, i64 0, i64 0 %11 = getelementptr inbounds [1024 x double], ptr %6, i64 0, i64 0 %12 = load i32, ptr %3, align 4 %13 = call i32 @fn1(ptr noundef %10, ptr noundef %11, i32 noundef %12) %14 = getelementptr inbounds [1024 x double], ptr %7, i64 0, i64 0 %15 = load i32, ptr %3, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds double, ptr %14, i64 %16 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %3, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds double, ptr %18, i64 %20 %22 = load i32, ptr %3, align 4 %23 = call i32 @fn1(ptr noundef %17, ptr noundef %21, i32 noundef %22) store i32 0, ptr %9, align 4 br label %24 24: ; preds = %54, %2 %25 = load i32, ptr %9, align 4 %26 = load i32, ptr %3, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %57 28: ; preds = %24 %29 = load i32, ptr %9, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [1024 x double], ptr %5, i64 0, i64 %30 %32 = load double, ptr %31, align 8 %33 = load i32, ptr %9, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [1024 x double], ptr %6, i64 0, i64 %34 %36 = load double, ptr %35, align 8 %37 = load i32, ptr %3, align 4 %38 = load i32, ptr %9, align 4 %39 = add nsw i32 %37, %38 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [1024 x double], ptr %7, i64 0, i64 %40 %42 = load double, ptr %41, align 8 %43 = call double @llvm.fmuladd.f64(double %32, double %36, double %42) %44 = load ptr, ptr %4, align 8 %45 = load i32, ptr %3, align 4 %46 = load i32, ptr %9, align 4 %47 = add nsw i32 %45, %46 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds double, ptr %44, i64 %48 %50 = load double, ptr %49, align 8 %51 = fadd double %43, %50 %52 = load double, ptr %8, align 8 %53 = fadd double %52, %51 store double %53, ptr %8, align 8 br label %54 54: ; preds = %28 %55 = load i32, ptr %9, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %9, align 4 br label %24, !llvm.loop !6 57: ; preds = %24 %58 = load double, ptr %8, align 8 ret double %58 } declare i32 @fn1(ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsof8n1x_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn4(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca [1024 x double], align 16 %6 = alloca [1024 x double], align 16 %7 = alloca [1024 x double], align 16 %8 = alloca double, align 8 %9 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store double 0.000000e+00, ptr %8, align 8 %10 = getelementptr inbounds [1024 x double], ptr %5, i64 0, i64 0 %11 = getelementptr inbounds [1024 x double], ptr %6, i64 0, i64 0 %12 = load i32, ptr %3, align 4 %13 = call i32 @fn1(ptr noundef %10, ptr noundef %11, i32 noundef %12) %14 = getelementptr inbounds [1024 x double], ptr %7, i64 0, i64 0 %15 = load i32, ptr %3, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds double, ptr %14, i64 %16 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %3, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds double, ptr %18, i64 %20 %22 = load i32, ptr %3, align 4 %23 = call i32 @fn1(ptr noundef %17, ptr noundef %21, i32 noundef %22) store i32 0, ptr %9, align 4 %24 = load i32, ptr %9, align 4 %25 = load i32, ptr %3, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %.lr.ph, label %59 .lr.ph: ; preds = %2 br label %27 27: ; preds = %.lr.ph, %53 %28 = load i32, ptr %9, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [1024 x double], ptr %5, i64 0, i64 %29 %31 = load double, ptr %30, align 8 %32 = load i32, ptr %9, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [1024 x double], ptr %6, i64 0, i64 %33 %35 = load double, ptr %34, align 8 %36 = load i32, ptr %3, align 4 %37 = load i32, ptr %9, align 4 %38 = add nsw i32 %36, %37 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [1024 x double], ptr %7, i64 0, i64 %39 %41 = load double, ptr %40, align 8 %42 = call double @llvm.fmuladd.f64(double %31, double %35, double %41) %43 = load ptr, ptr %4, align 8 %44 = load i32, ptr %3, align 4 %45 = load i32, ptr %9, align 4 %46 = add nsw i32 %44, %45 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds double, ptr %43, i64 %47 %49 = load double, ptr %48, align 8 %50 = fadd double %42, %49 %51 = load double, ptr %8, align 8 %52 = fadd double %51, %50 store double %52, ptr %8, align 8 br label %53 53: ; preds = %27 %54 = load i32, ptr %9, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %9, align 4 %56 = load i32, ptr %9, align 4 %57 = load i32, ptr %3, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %53 br label %59 59: ; preds = %._crit_edge, %2 %60 = load double, ptr %8, align 8 ret double %60 } declare i32 @fn1(ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmptfpbw9dy.c' source_filename = "/tmp/tmptfpbw9dy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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":=\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @find_match_ll(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 ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @remove_leading_whitespace(ptr noundef %8) %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %5, align 8 %12 = call i64 @strstr(ptr noundef %10, ptr noundef %11) %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %4, align 8 %15 = call i64 @strstr(ptr noundef %13, ptr noundef %14) %16 = icmp eq i64 %12, %15 br i1 %16, label %17, label %31 17: ; preds = %3 %18 = load ptr, ptr %4, align 8 %19 = call ptr @strpbrk(ptr noundef %18, ptr noundef @.str) store ptr %19, ptr %7, align 8 %20 = load ptr, ptr %7, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %22, label %28 22: ; preds = %17 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 1 store ptr %24, ptr %7, align 8 %25 = load ptr, ptr %7, align 8 %26 = call i64 @strtoll(ptr noundef %25, ptr noundef null, i32 noundef 10) %27 = load ptr, ptr %6, align 8 store i64 %26, ptr %27, align 8 br label %30 28: ; preds = %17 %29 = load ptr, ptr %6, align 8 store i64 0, ptr %29, align 8 br label %30 30: ; preds = %28, %22 br label %31 31: ; preds = %30, %3 ret void } declare i32 @remove_leading_whitespace(ptr noundef) #1 declare i64 @strstr(ptr noundef, ptr noundef) #1 declare ptr @strpbrk(ptr noundef, ptr noundef) #1 declare i64 @strtoll(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptfpbw9dy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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":=\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @find_match_ll(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 ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @remove_leading_whitespace(ptr noundef %8) %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %5, align 8 %12 = call i64 @strstr(ptr noundef %10, ptr noundef %11) %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %4, align 8 %15 = call i64 @strstr(ptr noundef %13, ptr noundef %14) %16 = icmp eq i64 %12, %15 br i1 %16, label %17, label %31 17: ; preds = %3 %18 = load ptr, ptr %4, align 8 %19 = call ptr @strpbrk(ptr noundef %18, ptr noundef @.str) store ptr %19, ptr %7, align 8 %20 = load ptr, ptr %7, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %22, label %28 22: ; preds = %17 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 1 store ptr %24, ptr %7, align 8 %25 = load ptr, ptr %7, align 8 %26 = call i64 @strtoll(ptr noundef %25, ptr noundef null, i32 noundef 10) %27 = load ptr, ptr %6, align 8 store i64 %26, ptr %27, align 8 br label %30 28: ; preds = %17 %29 = load ptr, ptr %6, align 8 store i64 0, ptr %29, align 8 br label %30 30: ; preds = %28, %22 br label %31 31: ; preds = %30, %3 ret void } declare i32 @remove_leading_whitespace(ptr noundef) #1 declare i64 @strstr(ptr noundef, ptr noundef) #1 declare ptr @strpbrk(ptr noundef, ptr noundef) #1 declare i64 @strtoll(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpideeg1lj.c' source_filename = "/tmp/tmpideeg1lj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_send(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [10000 x i8], align 16 %6 = alloca [10000 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds [10000 x i8], ptr %5, i64 0, i64 0 %9 = call i32 @get_arg_in_braces(ptr noundef %7, ptr noundef %8, i32 noundef 1) %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds [10000 x i8], ptr %5, i64 0, i64 0 %12 = getelementptr inbounds [10000 x i8], ptr %6, i64 0, i64 0 %13 = call i32 @substitute(ptr noundef %10, ptr noundef %11, ptr noundef %12, i32 noundef 278) %14 = getelementptr inbounds [10000 x i8], ptr %6, i64 0, i64 0 %15 = load ptr, ptr %3, align 8 %16 = call i32 @write_line_mud(ptr noundef %14, ptr noundef %15) %17 = load ptr, ptr %3, align 8 ret ptr %17 } declare i32 @get_arg_in_braces(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @substitute(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @write_line_mud(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/tmpideeg1lj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_send(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [10000 x i8], align 16 %6 = alloca [10000 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds [10000 x i8], ptr %5, i64 0, i64 0 %9 = call i32 @get_arg_in_braces(ptr noundef %7, ptr noundef %8, i32 noundef 1) %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds [10000 x i8], ptr %5, i64 0, i64 0 %12 = getelementptr inbounds [10000 x i8], ptr %6, i64 0, i64 0 %13 = call i32 @substitute(ptr noundef %10, ptr noundef %11, ptr noundef %12, i32 noundef 278) %14 = getelementptr inbounds [10000 x i8], ptr %6, i64 0, i64 0 %15 = load ptr, ptr %3, align 8 %16 = call i32 @write_line_mud(ptr noundef %14, ptr noundef %15) %17 = load ptr, ptr %3, align 8 ret ptr %17 } declare i32 @get_arg_in_braces(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @substitute(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @write_line_mud(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/tmpgico6qbq.c' source_filename = "/tmp/tmpgico6qbq.c" target datalayout = "e-m:e-p270: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 [10 x i8] c"%d %d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 10, ptr %6, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %2, align 4 br label %7 7: ; preds = %30, %0 %8 = call i32 (...) @getchar() store i32 %8, ptr %5, align 4 %9 = load i32, ptr @EOF, align 4 %10 = icmp ne i32 %8, %9 br i1 %10, label %11, label %32 11: ; preds = %7 %12 = load i32, ptr %4, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %4, align 4 %14 = load i32, ptr %5, align 4 %15 = icmp eq i32 %14, 10 br i1 %15, label %16, label %19 16: ; preds = %11 %17 = load i32, ptr %2, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %2, align 4 br label %19 19: ; preds = %16, %11 %20 = load i32, ptr %6, align 4 %21 = call i64 @separateur(i32 noundef %20) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %30 23: ; preds = %19 %24 = load i32, ptr %5, align 4 %25 = call i64 @separateur(i32 noundef %24) %26 = icmp ne i64 %25, 0 br i1 %26, label %30, label %27 27: ; preds = %23 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 br label %30 30: ; preds = %27, %23, %19 %31 = load i32, ptr %5, align 4 store i32 %31, ptr %6, align 4 br label %7, !llvm.loop !6 32: ; preds = %7 %33 = load i32, ptr %2, align 4 %34 = load i32, ptr %3, align 4 %35 = load i32, ptr %4, align 4 %36 = call i32 @printf(ptr noundef @.str, i32 noundef %33, i32 noundef %34, i32 noundef %35) ret i32 0 } declare i32 @getchar(...) #1 declare i64 @separateur(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgico6qbq.c" target datalayout = "e-m:e-p270: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 [10 x i8] c"%d %d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 10, ptr %6, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %2, align 4 %7 = call i32 (...) @getchar() store i32 %7, ptr %5, align 4 %8 = load i32, ptr @EOF, align 4 %9 = icmp ne i32 %7, %8 br i1 %9, label %.lr.ph, label %34 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %29 %11 = load i32, ptr %4, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %4, align 4 %13 = load i32, ptr %5, align 4 %14 = icmp eq i32 %13, 10 br i1 %14, label %15, label %18 15: ; preds = %10 %16 = load i32, ptr %2, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %2, align 4 br label %18 18: ; preds = %15, %10 %19 = load i32, ptr %6, align 4 %20 = call i64 @separateur(i32 noundef %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %29 22: ; preds = %18 %23 = load i32, ptr %5, align 4 %24 = call i64 @separateur(i32 noundef %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %29, label %26 26: ; preds = %22 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %3, align 4 br label %29 29: ; preds = %26, %22, %18 %30 = load i32, ptr %5, align 4 store i32 %30, ptr %6, align 4 %31 = call i32 (...) @getchar() store i32 %31, ptr %5, align 4 %32 = load i32, ptr @EOF, align 4 %33 = icmp ne i32 %31, %32 br i1 %33, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %34 34: ; preds = %._crit_edge, %0 %35 = load i32, ptr %2, align 4 %36 = load i32, ptr %3, align 4 %37 = load i32, ptr %4, align 4 %38 = call i32 @printf(ptr noundef @.str, i32 noundef %35, i32 noundef %36, i32 noundef %37) ret i32 0 } declare i32 @getchar(...) #1 declare i64 @separateur(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmps5z8x6wu.c' source_filename = "/tmp/tmps5z8x6wu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i16], align 2 %7 = alloca [1 x i16], align 2 %8 = alloca i32, align 4 %9 = alloca i16, align 2 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %37 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10) %30 = trunc i64 %29 to i16 store i16 %30, ptr %9, align 2 %31 = load i16, ptr %9, align 2 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %33 store i16 %31, ptr %34, align 2 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 br label %19, !llvm.loop !6 37: ; preds = %19 %38 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %42 = load i16, ptr %41, align 2 %43 = zext i16 %42 to i32 %44 = icmp eq i32 %43, 866 br i1 %44, label %45, label %47 45: ; preds = %37 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 47: ; preds = %37 br label %48 48: ; preds = %47, %45 store i32 0, ptr %10, align 4 br label %49 49: ; preds = %52, %48 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %50, 1 br i1 %51, label %52, label %61 52: ; preds = %49 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54 %56 = load i16, ptr %55, align 2 %57 = zext i16 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57) %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 br label %49, !llvm.loop !8 61: ; preds = %49 %62 = load i32, ptr %3, align 4 ret i32 %62 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps5z8x6wu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i16], align 2 %7 = alloca [1 x i16], align 2 %8 = alloca i32, align 4 %9 = alloca i16, align 2 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %.lr.ph, label %38 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10) %29 = trunc i64 %28 to i16 store i16 %29, ptr %9, align 2 %30 = load i16, ptr %9, align 2 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %32 store i16 %30, ptr %33, align 2 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 1 br i1 %37, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %38 38: ; preds = %._crit_edge, %18 %39 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0 %40 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40) %42 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %43 = load i16, ptr %42, align 2 %44 = zext i16 %43 to i32 %45 = icmp eq i32 %44, 866 br i1 %45, label %46, label %48 46: ; preds = %38 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %49 48: ; preds = %38 br label %49 49: ; preds = %48, %46 store i32 0, ptr %10, align 4 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %50, 1 br i1 %51, label %.lr.ph2, label %63 .lr.ph2: ; preds = %49 br label %52 52: ; preds = %.lr.ph2, %52 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54 %56 = load i16, ptr %55, align 2 %57 = zext i16 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57) %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 %61 = load i32, ptr %10, align 4 %62 = icmp slt i32 %61, 1 br i1 %62, label %52, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %52 br label %63 63: ; preds = %._crit_edge3, %49 %64 = load i32, ptr %3, align 4 ret i32 %64 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpqi719ufl.c' source_filename = "/tmp/tmpqi719ufl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"#\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 1, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %9 = load i32, ptr %2, align 4 %10 = sub nsw i32 %9, 1 store i32 %10, ptr %5, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp sgt i32 %11, 2 br i1 %12, label %13, label %29 13: ; preds = %0 store i32 1, ptr %4, align 4 store i32 1, ptr %7, align 4 store i32 1, ptr %3, align 4 br label %14 14: ; preds = %25, %13 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %2, align 4 %17 = sub nsw i32 %16, 2 %18 = icmp slt i32 %15, %17 br i1 %18, label %19, label %28 19: ; preds = %14 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 2 store i32 %21, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %7, align 4 %24 = add nsw i32 %23, %22 store i32 %24, ptr %7, align 4 br label %25 25: ; preds = %19 %26 = load i32, ptr %3, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %3, align 4 br label %14, !llvm.loop !6 28: ; preds = %14 br label %29 29: ; preds = %28, %0 %30 = load i32, ptr %7, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %30) store i32 0, ptr %3, align 4 br label %32 32: ; preds = %90, %29 %33 = load i32, ptr %3, align 4 %34 = load i32, ptr %2, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %36, label %93 36: ; preds = %32 store i32 0, ptr %4, align 4 br label %37 37: ; preds = %43, %36 %38 = load i32, ptr %4, align 4 %39 = load i32, ptr %5, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %41, label %46 41: ; preds = %37 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %43 43: ; preds = %41 %44 = load i32, ptr %4, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %4, align 4 br label %37, !llvm.loop !8 46: ; preds = %37 store i32 0, ptr %4, align 4 br label %47 47: ; preds = %75, %46 %48 = load i32, ptr %4, align 4 %49 = load i32, ptr %6, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %51, label %78 51: ; preds = %47 %52 = load i32, ptr %4, align 4 %53 = icmp eq i32 %52, 0 br i1 %53, label %64, label %54 54: ; preds = %51 %55 = load i32, ptr %4, align 4 %56 = load i32, ptr %6, align 4 %57 = sub nsw i32 %56, 1 %58 = icmp eq i32 %55, %57 br i1 %58, label %64, label %59 59: ; preds = %54 %60 = load i32, ptr %3, align 4 %61 = load i32, ptr %2, align 4 %62 = sub nsw i32 %61, 1 %63 = icmp eq i32 %60, %62 br i1 %63, label %64, label %66 64: ; preds = %59, %54, %51 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %74 66: ; preds = %59 %67 = load i32, ptr %3, align 4 %68 = load i32, ptr %2, align 4 %69 = sub nsw i32 %68, 1 %70 = icmp ne i32 %67, %69 br i1 %70, label %71, label %73 71: ; preds = %66 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %73 73: ; preds = %71, %66 br label %74 74: ; preds = %73, %64 br label %75 75: ; preds = %74 %76 = load i32, ptr %4, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %4, align 4 br label %47, !llvm.loop !9 78: ; preds = %47 %79 = load i32, ptr %5, align 4 %80 = add nsw i32 %79, -1 store i32 %80, ptr %5, align 4 %81 = load i32, ptr %6, align 4 %82 = add nsw i32 %81, 2 store i32 %82, ptr %6, align 4 %83 = load i32, ptr %3, align 4 %84 = add nsw i32 %83, 1 %85 = load i32, ptr %2, align 4 %86 = icmp slt i32 %84, %85 br i1 %86, label %87, label %89 87: ; preds = %78 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %89 89: ; preds = %87, %78 br label %90 90: ; preds = %89 %91 = load i32, ptr %3, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %3, align 4 br label %32, !llvm.loop !10 93: ; preds = %32 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqi719ufl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"#\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 1, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %9 = load i32, ptr %2, align 4 %10 = sub nsw i32 %9, 1 store i32 %10, ptr %5, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp sgt i32 %11, 2 br i1 %12, label %13, label %32 13: ; preds = %0 store i32 1, ptr %4, align 4 store i32 1, ptr %7, align 4 store i32 1, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %2, align 4 %16 = sub nsw i32 %15, 2 %17 = icmp slt i32 %14, %16 br i1 %17, label %.lr.ph, label %31 .lr.ph: ; preds = %13 br label %18 18: ; preds = %.lr.ph, %24 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 2 store i32 %20, ptr %4, align 4 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %7, align 4 %23 = add nsw i32 %22, %21 store i32 %23, ptr %7, align 4 br label %24 24: ; preds = %18 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %2, align 4 %29 = sub nsw i32 %28, 2 %30 = icmp slt i32 %27, %29 br i1 %30, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %31 31: ; preds = %._crit_edge, %13 br label %32 32: ; preds = %31, %0 %33 = load i32, ptr %7, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %33) store i32 0, ptr %3, align 4 %35 = load i32, ptr %3, align 4 %36 = load i32, ptr %2, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %.lr.ph8, label %102 .lr.ph8: ; preds = %32 br label %38 38: ; preds = %.lr.ph8, %96 store i32 0, ptr %4, align 4 %39 = load i32, ptr %4, align 4 %40 = load i32, ptr %5, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %.lr.ph2, label %50 .lr.ph2: ; preds = %38 br label %42 42: ; preds = %.lr.ph2, %44 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %44 44: ; preds = %42 %45 = load i32, ptr %4, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %4, align 4 %47 = load i32, ptr %4, align 4 %48 = load i32, ptr %5, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %42, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %44 br label %50 50: ; preds = %._crit_edge3, %38 store i32 0, ptr %4, align 4 %51 = load i32, ptr %4, align 4 %52 = load i32, ptr %6, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %.lr.ph5, label %84 .lr.ph5: ; preds = %50 br label %54 54: ; preds = %.lr.ph5, %78 %55 = load i32, ptr %4, align 4 %56 = icmp eq i32 %55, 0 br i1 %56, label %67, label %57 57: ; preds = %54 %58 = load i32, ptr %4, align 4 %59 = load i32, ptr %6, align 4 %60 = sub nsw i32 %59, 1 %61 = icmp eq i32 %58, %60 br i1 %61, label %67, label %62 62: ; preds = %57 %63 = load i32, ptr %3, align 4 %64 = load i32, ptr %2, align 4 %65 = sub nsw i32 %64, 1 %66 = icmp eq i32 %63, %65 br i1 %66, label %67, label %69 67: ; preds = %62, %57, %54 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %77 69: ; preds = %62 %70 = load i32, ptr %3, align 4 %71 = load i32, ptr %2, align 4 %72 = sub nsw i32 %71, 1 %73 = icmp ne i32 %70, %72 br i1 %73, label %74, label %76 74: ; preds = %69 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %76 76: ; preds = %74, %69 br label %77 77: ; preds = %76, %67 br label %78 78: ; preds = %77 %79 = load i32, ptr %4, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %4, align 4 %81 = load i32, ptr %4, align 4 %82 = load i32, ptr %6, align 4 %83 = icmp slt i32 %81, %82 br i1 %83, label %54, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %78 br label %84 84: ; preds = %._crit_edge6, %50 %85 = load i32, ptr %5, align 4 %86 = add nsw i32 %85, -1 store i32 %86, ptr %5, align 4 %87 = load i32, ptr %6, align 4 %88 = add nsw i32 %87, 2 store i32 %88, ptr %6, align 4 %89 = load i32, ptr %3, align 4 %90 = add nsw i32 %89, 1 %91 = load i32, ptr %2, align 4 %92 = icmp slt i32 %90, %91 br i1 %92, label %93, label %95 93: ; preds = %84 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %95 95: ; preds = %93, %84 br label %96 96: ; preds = %95 %97 = load i32, ptr %3, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %3, align 4 %99 = load i32, ptr %3, align 4 %100 = load i32, ptr %2, align 4 %101 = icmp slt i32 %99, %100 br i1 %101, label %38, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %96 br label %102 102: ; preds = %._crit_edge9, %32 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpu1y4vyzt.c' source_filename = "/tmp/tmpu1y4vyzt.c" target datalayout = "e-m:e-p270: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 [83 x i8] c"The program %s filters plane graphs based on the size of the\0Aautomorphism group.\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Usage\0A=====\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c" %s [options] s\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c" %s [-n/-p/-r]\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [81 x i8] c"\0AThis program can handle graphs up to %d vertices. Recompile if you need larger\0A\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"graphs.\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [29 x i8] c"Valid options\0A=============\0A\00", align 1 @.str.7 = private unnamed_addr constant [23 x i8] c" -n, --non-trivial\0A\00", align 1 @.str.8 = private unnamed_addr constant [74 x i8] c" Filter out the graphs that have a non-trivial automorphism group.\0A\00", align 1 @.str.9 = private unnamed_addr constant [34 x i8] c" -p, --orientation-preserving\0A\00", align 1 @.str.10 = private unnamed_addr constant [80 x i8] c" Filter out the graphs that have no orientation-reversing automorphisms.\0A\00", align 1 @.str.11 = private unnamed_addr constant [33 x i8] c" -r, --orientation-reversing\0A\00", align 1 @.str.12 = private unnamed_addr constant [77 x i8] c" Filter out the graphs that have orientation-reversing automorphisms.\0A\00", align 1 @.str.13 = private unnamed_addr constant [19 x i8] c" -N, --numbers\0A\00", align 1 @.str.14 = private unnamed_addr constant [69 x i8] c" Instead of outputting the graphs, just output their numbers.\0A\00", align 1 @.str.15 = private unnamed_addr constant [16 x i8] c" -h, --help\0A\00", align 1 @.str.16 = private unnamed_addr constant [36 x i8] c" Print this help and return.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @stderr, align 4 %7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1) %8 = load i32, ptr @stderr, align 4 %9 = load ptr, ptr %2, align 8 %10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2, ptr noundef %9) %11 = load i32, ptr @stderr, align 4 %12 = load ptr, ptr %2, align 8 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.3, ptr noundef %12) %14 = load i32, ptr @stderr, align 4 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.4, i32 noundef 1000) %16 = load i32, ptr @stderr, align 4 %17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.5) %18 = load i32, ptr @stderr, align 4 %19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.6) %20 = load i32, ptr @stderr, align 4 %21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.7) %22 = load i32, ptr @stderr, align 4 %23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.8) %24 = load i32, ptr @stderr, align 4 %25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.9) %26 = load i32, ptr @stderr, align 4 %27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.10) %28 = load i32, ptr @stderr, align 4 %29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef @.str.11) %30 = load i32, ptr @stderr, align 4 %31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %30, ptr noundef @.str.12) %32 = load i32, ptr @stderr, align 4 %33 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %32, ptr noundef @.str.13) %34 = load i32, ptr @stderr, align 4 %35 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %34, ptr noundef @.str.14) %36 = load i32, ptr @stderr, align 4 %37 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %36, ptr noundef @.str.15) %38 = load i32, ptr @stderr, align 4 %39 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %38, ptr noundef @.str.16) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu1y4vyzt.c" target datalayout = "e-m:e-p270: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 [83 x i8] c"The program %s filters plane graphs based on the size of the\0Aautomorphism group.\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Usage\0A=====\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c" %s [options] s\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c" %s [-n/-p/-r]\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [81 x i8] c"\0AThis program can handle graphs up to %d vertices. Recompile if you need larger\0A\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"graphs.\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [29 x i8] c"Valid options\0A=============\0A\00", align 1 @.str.7 = private unnamed_addr constant [23 x i8] c" -n, --non-trivial\0A\00", align 1 @.str.8 = private unnamed_addr constant [74 x i8] c" Filter out the graphs that have a non-trivial automorphism group.\0A\00", align 1 @.str.9 = private unnamed_addr constant [34 x i8] c" -p, --orientation-preserving\0A\00", align 1 @.str.10 = private unnamed_addr constant [80 x i8] c" Filter out the graphs that have no orientation-reversing automorphisms.\0A\00", align 1 @.str.11 = private unnamed_addr constant [33 x i8] c" -r, --orientation-reversing\0A\00", align 1 @.str.12 = private unnamed_addr constant [77 x i8] c" Filter out the graphs that have orientation-reversing automorphisms.\0A\00", align 1 @.str.13 = private unnamed_addr constant [19 x i8] c" -N, --numbers\0A\00", align 1 @.str.14 = private unnamed_addr constant [69 x i8] c" Instead of outputting the graphs, just output their numbers.\0A\00", align 1 @.str.15 = private unnamed_addr constant [16 x i8] c" -h, --help\0A\00", align 1 @.str.16 = private unnamed_addr constant [36 x i8] c" Print this help and return.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @stderr, align 4 %7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1) %8 = load i32, ptr @stderr, align 4 %9 = load ptr, ptr %2, align 8 %10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2, ptr noundef %9) %11 = load i32, ptr @stderr, align 4 %12 = load ptr, ptr %2, align 8 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.3, ptr noundef %12) %14 = load i32, ptr @stderr, align 4 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.4, i32 noundef 1000) %16 = load i32, ptr @stderr, align 4 %17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.5) %18 = load i32, ptr @stderr, align 4 %19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.6) %20 = load i32, ptr @stderr, align 4 %21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.7) %22 = load i32, ptr @stderr, align 4 %23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.8) %24 = load i32, ptr @stderr, align 4 %25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.9) %26 = load i32, ptr @stderr, align 4 %27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.10) %28 = load i32, ptr @stderr, align 4 %29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef @.str.11) %30 = load i32, ptr @stderr, align 4 %31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %30, ptr noundef @.str.12) %32 = load i32, ptr @stderr, align 4 %33 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %32, ptr noundef @.str.13) %34 = load i32, ptr @stderr, align 4 %35 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %34, ptr noundef @.str.14) %36 = load i32, ptr @stderr, align 4 %37 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %36, ptr noundef @.str.15) %38 = load i32, ptr @stderr, align 4 %39 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %38, ptr noundef @.str.16) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpumatqim7.c' source_filename = "/tmp/tmpumatqim7.c" target datalayout = "e-m:e-p270: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/tmpumatqim7.c" target datalayout = "e-m:e-p270: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/tmpurwx_i10.c' source_filename = "/tmp/tmpurwx_i10.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SSIDMAEnable(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store volatile i64 %0, ptr %3, align 8 store volatile i64 %1, ptr %4, align 8 %5 = load volatile i64, ptr %4, align 8 %6 = load volatile i64, ptr %3, align 8 %7 = add nsw i64 %6, 36 %8 = inttoptr i64 %7 to ptr %9 = load volatile i64, ptr %8, align 8 %10 = or i64 %9, %5 store volatile i64 %10, ptr %8, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpurwx_i10.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SSIDMAEnable(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store volatile i64 %0, ptr %3, align 8 store volatile i64 %1, ptr %4, align 8 %5 = load volatile i64, ptr %4, align 8 %6 = load volatile i64, ptr %3, align 8 %7 = add nsw i64 %6, 36 %8 = inttoptr i64 %7 to ptr %9 = load volatile i64, ptr %8, align 8 %10 = or i64 %9, %5 store volatile i64 %10, ptr %8, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4e0ffyjb.c' source_filename = "/tmp/tmp4e0ffyjb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @url_decode(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %10, label %9 9: ; preds = %1 store ptr null, ptr %2, align 8 br label %75 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %3, align 8 %13 = call i64 @strlen(ptr noundef %12) %14 = add nsw i64 %13, 1 %15 = call ptr @malloc(i64 noundef %14) store ptr %15, ptr %5, align 8 %16 = load ptr, ptr %5, align 8 store ptr %16, ptr %6, align 8 br label %17 17: ; preds = %69, %10 %18 = load ptr, ptr %4, align 8 %19 = load i8, ptr %18, align 1 %20 = icmp ne i8 %19, 0 br i1 %20, label %21, label %72 21: ; preds = %17 %22 = load ptr, ptr %4, align 8 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 37 br i1 %25, label %26, label %55 26: ; preds = %21 %27 = load ptr, ptr %4, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 1 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %54 32: ; preds = %26 %33 = load ptr, ptr %4, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 2 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp ne i32 %36, 0 br i1 %37, label %38, label %54 38: ; preds = %32 %39 = load ptr, ptr %4, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 1 %41 = load i8, ptr %40, align 1 %42 = call i32 @from_hex(i8 noundef signext %41) %43 = shl i32 %42, 4 %44 = load ptr, ptr %4, align 8 %45 = getelementptr inbounds i8, ptr %44, i64 2 %46 = load i8, ptr %45, align 1 %47 = call i32 @from_hex(i8 noundef signext %46) %48 = or i32 %43, %47 %49 = trunc i32 %48 to i8 %50 = load ptr, ptr %6, align 8 %51 = getelementptr inbounds i8, ptr %50, i32 1 store ptr %51, ptr %6, align 8 store i8 %49, ptr %50, align 1 %52 = load ptr, ptr %4, align 8 %53 = getelementptr inbounds i8, ptr %52, i64 2 store ptr %53, ptr %4, align 8 br label %54 54: ; preds = %38, %32, %26 br label %69 55: ; preds = %21 %56 = load ptr, ptr %4, align 8 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = icmp eq i32 %58, 43 br i1 %59, label %60, label %63 60: ; preds = %55 %61 = load ptr, ptr %6, align 8 %62 = getelementptr inbounds i8, ptr %61, i32 1 store ptr %62, ptr %6, align 8 store i8 32, ptr %61, align 1 br label %68 63: ; preds = %55 %64 = load ptr, ptr %4, align 8 %65 = load i8, ptr %64, align 1 %66 = load ptr, ptr %6, align 8 %67 = getelementptr inbounds i8, ptr %66, i32 1 store ptr %67, ptr %6, align 8 store i8 %65, ptr %66, align 1 br label %68 68: ; preds = %63, %60 br label %69 69: ; preds = %68, %54 %70 = load ptr, ptr %4, align 8 %71 = getelementptr inbounds i8, ptr %70, i32 1 store ptr %71, ptr %4, align 8 br label %17, !llvm.loop !6 72: ; preds = %17 %73 = load ptr, ptr %6, align 8 store i8 0, ptr %73, align 1 %74 = load ptr, ptr %5, align 8 store ptr %74, ptr %2, align 8 br label %75 75: ; preds = %72, %9 %76 = load ptr, ptr %2, align 8 ret ptr %76 } declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @from_hex(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/tmp4e0ffyjb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @url_decode(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %10, label %9 9: ; preds = %1 store ptr null, ptr %2, align 8 br label %77 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %3, align 8 %13 = call i64 @strlen(ptr noundef %12) %14 = add nsw i64 %13, 1 %15 = call ptr @malloc(i64 noundef %14) store ptr %15, ptr %5, align 8 %16 = load ptr, ptr %5, align 8 store ptr %16, ptr %6, align 8 %17 = load ptr, ptr %4, align 8 %18 = load i8, ptr %17, align 1 %19 = icmp ne i8 %18, 0 br i1 %19, label %.lr.ph, label %74 .lr.ph: ; preds = %10 br label %20 20: ; preds = %.lr.ph, %68 %21 = load ptr, ptr %4, align 8 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 37 br i1 %24, label %25, label %54 25: ; preds = %20 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 1 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %53 31: ; preds = %25 %32 = load ptr, ptr %4, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 2 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 %35, 0 br i1 %36, label %37, label %53 37: ; preds = %31 %38 = load ptr, ptr %4, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 1 %40 = load i8, ptr %39, align 1 %41 = call i32 @from_hex(i8 noundef signext %40) %42 = shl i32 %41, 4 %43 = load ptr, ptr %4, align 8 %44 = getelementptr inbounds i8, ptr %43, i64 2 %45 = load i8, ptr %44, align 1 %46 = call i32 @from_hex(i8 noundef signext %45) %47 = or i32 %42, %46 %48 = trunc i32 %47 to i8 %49 = load ptr, ptr %6, align 8 %50 = getelementptr inbounds i8, ptr %49, i32 1 store ptr %50, ptr %6, align 8 store i8 %48, ptr %49, align 1 %51 = load ptr, ptr %4, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 2 store ptr %52, ptr %4, align 8 br label %53 53: ; preds = %37, %31, %25 br label %68 54: ; preds = %20 %55 = load ptr, ptr %4, align 8 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = icmp eq i32 %57, 43 br i1 %58, label %59, label %62 59: ; preds = %54 %60 = load ptr, ptr %6, align 8 %61 = getelementptr inbounds i8, ptr %60, i32 1 store ptr %61, ptr %6, align 8 store i8 32, ptr %60, align 1 br label %67 62: ; preds = %54 %63 = load ptr, ptr %4, align 8 %64 = load i8, ptr %63, align 1 %65 = load ptr, ptr %6, align 8 %66 = getelementptr inbounds i8, ptr %65, i32 1 store ptr %66, ptr %6, align 8 store i8 %64, ptr %65, align 1 br label %67 67: ; preds = %62, %59 br label %68 68: ; preds = %67, %53 %69 = load ptr, ptr %4, align 8 %70 = getelementptr inbounds i8, ptr %69, i32 1 store ptr %70, ptr %4, align 8 %71 = load ptr, ptr %4, align 8 %72 = load i8, ptr %71, align 1 %73 = icmp ne i8 %72, 0 br i1 %73, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %68 br label %74 74: ; preds = %._crit_edge, %10 %75 = load ptr, ptr %6, align 8 store i8 0, ptr %75, align 1 %76 = load ptr, ptr %5, align 8 store ptr %76, ptr %2, align 8 br label %77 77: ; preds = %74, %9 %78 = load ptr, ptr %2, align 8 ret ptr %78 } declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @from_hex(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/tmp5_tda07g.c' source_filename = "/tmp/tmp5_tda07g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libm_log(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @log(double noundef %3) #2 ret double %4 } ; Function Attrs: nounwind declare double @log(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 = { 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 = { 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/tmp5_tda07g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libm_log(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @log(double noundef %3) #2 ret double %4 } ; Function Attrs: nounwind declare double @log(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 = { 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 = { 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/tmpld257p6h.c' source_filename = "/tmp/tmpld257p6h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test1.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Testing...\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"test2.txt\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @fprintf(ptr noundef %7, ptr noundef @.str.2) %9 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.1) store ptr %9, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 %11 = call i32 @fprintf(ptr noundef %10, ptr noundef @.str.2) %12 = load i32, ptr %5, align 4 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %0 %15 = load ptr, ptr %2, align 8 store ptr %15, ptr %4, align 8 br label %18 16: ; preds = %0 %17 = load ptr, ptr %3, align 8 store ptr %17, ptr %4, align 8 br label %18 18: ; preds = %16, %14 %19 = load ptr, ptr %4, align 8 %20 = call i32 @fclose(ptr noundef %19) %21 = load ptr, ptr %2, align 8 %22 = call i32 @fclose(ptr noundef %21) %23 = load ptr, ptr %3, align 8 %24 = call i32 @fclose(ptr noundef %23) %25 = load i32, ptr %1, align 4 ret i32 %25 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpld257p6h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test1.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Testing...\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"test2.txt\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @fprintf(ptr noundef %7, ptr noundef @.str.2) %9 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.1) store ptr %9, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 %11 = call i32 @fprintf(ptr noundef %10, ptr noundef @.str.2) %12 = load i32, ptr %5, align 4 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %0 %15 = load ptr, ptr %2, align 8 store ptr %15, ptr %4, align 8 br label %18 16: ; preds = %0 %17 = load ptr, ptr %3, align 8 store ptr %17, ptr %4, align 8 br label %18 18: ; preds = %16, %14 %19 = load ptr, ptr %4, align 8 %20 = call i32 @fclose(ptr noundef %19) %21 = load ptr, ptr %2, align 8 %22 = call i32 @fclose(ptr noundef %21) %23 = load ptr, ptr %3, align 8 %24 = call i32 @fclose(ptr noundef %23) %25 = load i32, ptr %1, align 4 ret i32 %25 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpow_0laa8.c' source_filename = "/tmp/tmpow_0laa8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"\09%d)\09Zufallszahl:\09%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = load i32, ptr @stdout, align 4 %7 = call i32 @setbuf(i32 noundef %6, ptr noundef null) store i32 1, ptr %2, align 4 store i32 100, ptr %3, align 4 store i32 1, ptr %4, align 4 %8 = call i32 @time(ptr noundef null) %9 = call i32 @srand(i32 noundef %8) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %11 11: ; preds = %14, %0 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %12, 11 br i1 %13, label %14, label %23 14: ; preds = %11 %15 = call i32 (...) @rand() %16 = srem i32 %15, 100 %17 = add nsw i32 %16, 1 store i32 %17, ptr %5, align 4 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %5, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %18, i32 noundef %19) %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 br label %11, !llvm.loop !6 23: ; preds = %11 ret i32 0 } declare i32 @setbuf(i32 noundef, ptr noundef) #1 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpow_0laa8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"\09%d)\09Zufallszahl:\09%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = load i32, ptr @stdout, align 4 %7 = call i32 @setbuf(i32 noundef %6, ptr noundef null) store i32 1, ptr %2, align 4 store i32 100, ptr %3, align 4 store i32 1, ptr %4, align 4 %8 = call i32 @time(ptr noundef null) %9 = call i32 @srand(i32 noundef %8) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 11 br i1 %12, label %.lr.ph, label %24 .lr.ph: ; preds = %0 br label %13 13: ; preds = %.lr.ph, %13 %14 = call i32 (...) @rand() %15 = srem i32 %14, 100 %16 = add nsw i32 %15, 1 store i32 %16, ptr %5, align 4 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %5, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %17, i32 noundef %18) %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %22, 11 br i1 %23, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %24 24: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @setbuf(i32 noundef, ptr noundef) #1 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp3xeuuv2w.c' source_filename = "/tmp/tmp3xeuuv2w.c" target datalayout = "e-m:e-p270: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/tmp3xeuuv2w.c" target datalayout = "e-m:e-p270: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/tmppnkmu2md.c' source_filename = "/tmp/tmppnkmu2md.c" target datalayout = "e-m:e-p270: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/tmppnkmu2md.c" target datalayout = "e-m:e-p270: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/tmprxglaqs7.c' source_filename = "/tmp/tmprxglaqs7.c" target datalayout = "e-m:e-p270: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/tmprxglaqs7.c" target datalayout = "e-m:e-p270: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/tmp2gwhni6g.c' source_filename = "/tmp/tmp2gwhni6g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @savestr.strptr = internal global ptr null, align 8 @savestr.strsize = internal global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"savestr: malloc\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @savestr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = add nsw i32 %6, 1 store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr @savestr.strsize, align 4 %10 = icmp sgt i32 %8, %9 br i1 %10, label %11, label %28 11: ; preds = %1 store i32 1024, ptr @savestr.strsize, align 4 %12 = load i32, ptr @savestr.strsize, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %17 15: ; preds = %11 %16 = load i32, ptr %3, align 4 store i32 %16, ptr @savestr.strsize, align 4 br label %17 17: ; preds = %15, %11 %18 = load i32, ptr @savestr.strsize, align 4 %19 = call i64 @malloc(i32 noundef %18) %20 = inttoptr i64 %19 to ptr store ptr %20, ptr @savestr.strptr, align 8 %21 = load ptr, ptr @savestr.strptr, align 8 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %27 23: ; preds = %17 %24 = load i32, ptr @stderr, align 4 %25 = call i32 @fprintf(i32 noundef %24, ptr noundef @.str) %26 = call i32 @exit(i32 noundef 1) #3 unreachable 27: ; preds = %17 br label %28 28: ; preds = %27, %1 %29 = load ptr, ptr @savestr.strptr, align 8 %30 = load ptr, ptr %2, align 8 %31 = call i32 @strcpy(ptr noundef %29, ptr noundef %30) %32 = load ptr, ptr @savestr.strptr, align 8 store ptr %32, ptr %4, align 8 %33 = load i32, ptr %3, align 4 %34 = load ptr, ptr @savestr.strptr, align 8 %35 = sext i32 %33 to i64 %36 = getelementptr inbounds i8, ptr %34, i64 %35 store ptr %36, ptr @savestr.strptr, align 8 %37 = load i32, ptr %3, align 4 %38 = load i32, ptr @savestr.strsize, align 4 %39 = sub nsw i32 %38, %37 store i32 %39, ptr @savestr.strsize, align 4 %40 = load ptr, ptr %4, align 8 ret ptr %40 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp2gwhni6g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @savestr.strptr = internal global ptr null, align 8 @savestr.strsize = internal global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"savestr: malloc\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @savestr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = add nsw i32 %6, 1 store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr @savestr.strsize, align 4 %10 = icmp sgt i32 %8, %9 br i1 %10, label %11, label %28 11: ; preds = %1 store i32 1024, ptr @savestr.strsize, align 4 %12 = load i32, ptr @savestr.strsize, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %17 15: ; preds = %11 %16 = load i32, ptr %3, align 4 store i32 %16, ptr @savestr.strsize, align 4 br label %17 17: ; preds = %15, %11 %18 = load i32, ptr @savestr.strsize, align 4 %19 = call i64 @malloc(i32 noundef %18) %20 = inttoptr i64 %19 to ptr store ptr %20, ptr @savestr.strptr, align 8 %21 = load ptr, ptr @savestr.strptr, align 8 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %27 23: ; preds = %17 %24 = load i32, ptr @stderr, align 4 %25 = call i32 @fprintf(i32 noundef %24, ptr noundef @.str) %26 = call i32 @exit(i32 noundef 1) #3 unreachable 27: ; preds = %17 br label %28 28: ; preds = %27, %1 %29 = load ptr, ptr @savestr.strptr, align 8 %30 = load ptr, ptr %2, align 8 %31 = call i32 @strcpy(ptr noundef %29, ptr noundef %30) %32 = load ptr, ptr @savestr.strptr, align 8 store ptr %32, ptr %4, align 8 %33 = load i32, ptr %3, align 4 %34 = load ptr, ptr @savestr.strptr, align 8 %35 = sext i32 %33 to i64 %36 = getelementptr inbounds i8, ptr %34, i64 %35 store ptr %36, ptr @savestr.strptr, align 8 %37 = load i32, ptr %3, align 4 %38 = load i32, ptr @savestr.strsize, align 4 %39 = sub nsw i32 %38, %37 store i32 %39, ptr @savestr.strsize, align 4 %40 = load ptr, ptr %4, align 8 ret ptr %40 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmphr67ruyq.c' source_filename = "/tmp/tmphr67ruyq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @main.array = internal global [100 x i32] zeroinitializer, align 16 @EOF = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [6 x i8] c"%d%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %6 6: ; preds = %79, %0 %7 = load i64, ptr @EOF, align 8 %8 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %2) %9 = icmp ne i64 %7, %8 br i1 %9, label %10, label %19 10: ; preds = %6 %11 = load i32, ptr %3, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %10 %14 = load i32, ptr %2, align 4 %15 = icmp eq i32 %14, 0 br label %16 16: ; preds = %13, %10 %17 = phi i1 [ false, %10 ], [ %15, %13 ] %18 = xor i1 %17, true br label %19 19: ; preds = %16, %6 %20 = phi i1 [ false, %6 ], [ %18, %16 ] br i1 %20, label %21, label %81 21: ; preds = %19 store i32 0, ptr %4, align 4 br label %22 22: ; preds = %31, %21 %23 = load i32, ptr %4, align 4 %24 = load i32, ptr %3, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %34 26: ; preds = %22 %27 = load i32, ptr %4, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [100 x i32], ptr @main.array, i64 0, i64 %28 %30 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %29) br label %31 31: ; preds = %26 %32 = load i32, ptr %4, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %4, align 4 br label %22, !llvm.loop !6 34: ; preds = %22 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %35 35: ; preds = %70, %34 %36 = load i32, ptr %4, align 4 %37 = load i32, ptr %3, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %39, label %73 39: ; preds = %35 %40 = load i32, ptr %5, align 4 %41 = icmp eq i32 %40, 0 br i1 %41, label %42, label %52 42: ; preds = %39 %43 = load i32, ptr %2, align 4 %44 = load i32, ptr %4, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [100 x i32], ptr @main.array, i64 0, i64 %45 %47 = load i32, ptr %46, align 4 %48 = icmp slt i32 %43, %47 br i1 %48, label %49, label %52 49: ; preds = %42 %50 = load i32, ptr %2, align 4 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %50) store i32 1, ptr %5, align 4 br label %52 52: ; preds = %49, %42, %39 %53 = load i32, ptr %4, align 4 %54 = load i32, ptr %3, align 4 %55 = sub nsw i32 %54, 1 %56 = icmp eq i32 %53, %55 br i1 %56, label %57, label %63 57: ; preds = %52 %58 = load i32, ptr %4, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [100 x i32], ptr @main.array, i64 0, i64 %59 %61 = load i32, ptr %60, align 4 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %61) br label %69 63: ; preds = %52 %64 = load i32, ptr %4, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [100 x i32], ptr @main.array, i64 0, i64 %65 %67 = load i32, ptr %66, align 4 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %67) br label %69 69: ; preds = %63, %57 br label %70 70: ; preds = %69 %71 = load i32, ptr %4, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %4, align 4 br label %35, !llvm.loop !8 73: ; preds = %35 %74 = load i32, ptr %5, align 4 %75 = icmp eq i32 %74, 0 br i1 %75, label %76, label %79 76: ; preds = %73 %77 = load i32, ptr %2, align 4 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %77) br label %79 79: ; preds = %76, %73 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %6, !llvm.loop !9 81: ; preds = %19 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphr67ruyq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @main.array = internal global [100 x i32] zeroinitializer, align 16 @EOF = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [6 x i8] c"%d%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %6 6: ; preds = %83, %0 %7 = load i64, ptr @EOF, align 8 %8 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %2) %9 = icmp ne i64 %7, %8 br i1 %9, label %10, label %19 10: ; preds = %6 %11 = load i32, ptr %3, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %10 %14 = load i32, ptr %2, align 4 %15 = icmp eq i32 %14, 0 br label %16 16: ; preds = %13, %10 %17 = phi i1 [ false, %10 ], [ %15, %13 ] %18 = xor i1 %17, true br label %19 19: ; preds = %16, %6 %20 = phi i1 [ false, %6 ], [ %18, %16 ] br i1 %20, label %21, label %85 21: ; preds = %19 store i32 0, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %3, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %.lr.ph, label %36 .lr.ph: ; preds = %21 br label %25 25: ; preds = %.lr.ph, %30 %26 = load i32, ptr %4, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [100 x i32], ptr @main.array, i64 0, i64 %27 %29 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %28) br label %30 30: ; preds = %25 %31 = load i32, ptr %4, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %4, align 4 %33 = load i32, ptr %4, align 4 %34 = load i32, ptr %3, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %36 36: ; preds = %._crit_edge, %21 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 %37 = load i32, ptr %4, align 4 %38 = load i32, ptr %3, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %.lr.ph2, label %77 .lr.ph2: ; preds = %36 br label %40 40: ; preds = %.lr.ph2, %71 %41 = load i32, ptr %5, align 4 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %53 43: ; preds = %40 %44 = load i32, ptr %2, align 4 %45 = load i32, ptr %4, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [100 x i32], ptr @main.array, i64 0, i64 %46 %48 = load i32, ptr %47, align 4 %49 = icmp slt i32 %44, %48 br i1 %49, label %50, label %53 50: ; preds = %43 %51 = load i32, ptr %2, align 4 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %51) store i32 1, ptr %5, align 4 br label %53 53: ; preds = %50, %43, %40 %54 = load i32, ptr %4, align 4 %55 = load i32, ptr %3, align 4 %56 = sub nsw i32 %55, 1 %57 = icmp eq i32 %54, %56 br i1 %57, label %58, label %64 58: ; preds = %53 %59 = load i32, ptr %4, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [100 x i32], ptr @main.array, i64 0, i64 %60 %62 = load i32, ptr %61, align 4 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %62) br label %70 64: ; preds = %53 %65 = load i32, ptr %4, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [100 x i32], ptr @main.array, i64 0, i64 %66 %68 = load i32, ptr %67, align 4 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %68) br label %70 70: ; preds = %64, %58 br label %71 71: ; preds = %70 %72 = load i32, ptr %4, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %4, align 4 %74 = load i32, ptr %4, align 4 %75 = load i32, ptr %3, align 4 %76 = icmp slt i32 %74, %75 br i1 %76, label %40, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %71 br label %77 77: ; preds = %._crit_edge3, %36 %78 = load i32, ptr %5, align 4 %79 = icmp eq i32 %78, 0 br i1 %79, label %80, label %83 80: ; preds = %77 %81 = load i32, ptr %2, align 4 %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %81) br label %83 83: ; preds = %80, %77 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %6, !llvm.loop !9 85: ; preds = %19 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpntfh7b4w.c' source_filename = "/tmp/tmpntfh7b4w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utf8char(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = load ptr, ptr %7, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %1 store i32 -1, ptr %2, align 4 br label %120 13: ; preds = %1 %14 = load ptr, ptr %3, align 8 %15 = load ptr, ptr %14, align 8 %16 = load i8, ptr %15, align 1 store i8 %16, ptr %4, align 1 %17 = load ptr, ptr %3, align 8 %18 = load ptr, ptr %17, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %17, align 8 %20 = load i8, ptr %4, align 1 %21 = zext i8 %20 to i32 %22 = and i32 %21, 128 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %27 24: ; preds = %13 %25 = load i8, ptr %4, align 1 %26 = zext i8 %25 to i32 store i32 %26, ptr %2, align 4 br label %120 27: ; preds = %13 %28 = load i8, ptr %4, align 1 %29 = zext i8 %28 to i32 %30 = and i32 %29, 64 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %33 32: ; preds = %27 store i32 65533, ptr %2, align 4 br label %120 33: ; preds = %27 %34 = load i8, ptr %4, align 1 %35 = zext i8 %34 to i32 %36 = and i32 %35, 32 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %43 38: ; preds = %33 store i32 1, ptr %6, align 4 %39 = load i8, ptr %4, align 1 %40 = zext i8 %39 to i32 %41 = and i32 %40, 31 %42 = trunc i32 %41 to i8 store i8 %42, ptr %4, align 1 br label %84 43: ; preds = %33 %44 = load i8, ptr %4, align 1 %45 = zext i8 %44 to i32 %46 = and i32 %45, 16 %47 = icmp eq i32 %46, 0 br i1 %47, label %48, label %53 48: ; preds = %43 store i32 2, ptr %6, align 4 %49 = load i8, ptr %4, align 1 %50 = zext i8 %49 to i32 %51 = and i32 %50, 15 %52 = trunc i32 %51 to i8 store i8 %52, ptr %4, align 1 br label %84 53: ; preds = %43 %54 = load i8, ptr %4, align 1 %55 = zext i8 %54 to i32 %56 = and i32 %55, 8 %57 = icmp eq i32 %56, 0 br i1 %57, label %58, label %63 58: ; preds = %53 store i32 3, ptr %6, align 4 %59 = load i8, ptr %4, align 1 %60 = zext i8 %59 to i32 %61 = and i32 %60, 7 %62 = trunc i32 %61 to i8 store i8 %62, ptr %4, align 1 br label %84 63: ; preds = %53 %64 = load i8, ptr %4, align 1 %65 = zext i8 %64 to i32 %66 = and i32 %65, 4 %67 = icmp eq i32 %66, 0 br i1 %67, label %68, label %73 68: ; preds = %63 store i32 4, ptr %6, align 4 %69 = load i8, ptr %4, align 1 %70 = zext i8 %69 to i32 %71 = and i32 %70, 3 %72 = trunc i32 %71 to i8 store i8 %72, ptr %4, align 1 br label %84 73: ; preds = %63 %74 = load i8, ptr %4, align 1 %75 = zext i8 %74 to i32 %76 = and i32 %75, 2 %77 = icmp eq i32 %76, 0 br i1 %77, label %78, label %83 78: ; preds = %73 store i32 5, ptr %6, align 4 %79 = load i8, ptr %4, align 1 %80 = zext i8 %79 to i32 %81 = and i32 %80, 1 %82 = trunc i32 %81 to i8 store i8 %82, ptr %4, align 1 br label %84 83: ; preds = %73 store i32 65533, ptr %2, align 4 br label %120 84: ; preds = %78, %68, %58, %48, %38 %85 = load i8, ptr %4, align 1 %86 = zext i8 %85 to i32 store i32 %86, ptr %5, align 4 br label %87 87: ; preds = %108, %84 %88 = load i32, ptr %6, align 4 %89 = icmp sgt i32 %88, 0 br i1 %89, label %90, label %118 90: ; preds = %87 %91 = load i32, ptr %6, align 4 %92 = add nsw i32 %91, -1 store i32 %92, ptr %6, align 4 %93 = load ptr, ptr %3, align 8 %94 = load ptr, ptr %93, align 8 %95 = load i8, ptr %94, align 1 %96 = sext i8 %95 to i32 %97 = icmp eq i32 %96, 0 br i1 %97, label %98, label %99 98: ; preds = %90 store i32 -1, ptr %2, align 4 br label %120 99: ; preds = %90 %100 = load ptr, ptr %3, align 8 %101 = load ptr, ptr %100, align 8 %102 = load i8, ptr %101, align 1 store i8 %102, ptr %4, align 1 %103 = load i8, ptr %4, align 1 %104 = zext i8 %103 to i32 %105 = and i32 %104, 192 %106 = icmp ne i32 %105, 128 br i1 %106, label %107, label %108 107: ; preds = %99 store i32 65533, ptr %2, align 4 br label %120 108: ; preds = %99 %109 = load ptr, ptr %3, align 8 %110 = load ptr, ptr %109, align 8 %111 = getelementptr inbounds i8, ptr %110, i32 1 store ptr %111, ptr %109, align 8 %112 = load i32, ptr %5, align 4 %113 = shl i32 %112, 6 %114 = load i8, ptr %4, align 1 %115 = zext i8 %114 to i32 %116 = and i32 %115, 63 %117 = or i32 %113, %116 store i32 %117, ptr %5, align 4 br label %87, !llvm.loop !6 118: ; preds = %87 %119 = load i32, ptr %5, align 4 store i32 %119, ptr %2, align 4 br label %120 120: ; preds = %118, %107, %98, %83, %32, %24, %12 %121 = load i32, ptr %2, align 4 ret i32 %121 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpntfh7b4w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utf8char(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = load ptr, ptr %7, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %1 store i32 -1, ptr %2, align 4 br label %121 13: ; preds = %1 %14 = load ptr, ptr %3, align 8 %15 = load ptr, ptr %14, align 8 %16 = load i8, ptr %15, align 1 store i8 %16, ptr %4, align 1 %17 = load ptr, ptr %3, align 8 %18 = load ptr, ptr %17, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %17, align 8 %20 = load i8, ptr %4, align 1 %21 = zext i8 %20 to i32 %22 = and i32 %21, 128 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %27 24: ; preds = %13 %25 = load i8, ptr %4, align 1 %26 = zext i8 %25 to i32 store i32 %26, ptr %2, align 4 br label %121 27: ; preds = %13 %28 = load i8, ptr %4, align 1 %29 = zext i8 %28 to i32 %30 = and i32 %29, 64 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %33 32: ; preds = %27 store i32 65533, ptr %2, align 4 br label %121 33: ; preds = %27 %34 = load i8, ptr %4, align 1 %35 = zext i8 %34 to i32 %36 = and i32 %35, 32 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %43 38: ; preds = %33 store i32 1, ptr %6, align 4 %39 = load i8, ptr %4, align 1 %40 = zext i8 %39 to i32 %41 = and i32 %40, 31 %42 = trunc i32 %41 to i8 store i8 %42, ptr %4, align 1 br label %84 43: ; preds = %33 %44 = load i8, ptr %4, align 1 %45 = zext i8 %44 to i32 %46 = and i32 %45, 16 %47 = icmp eq i32 %46, 0 br i1 %47, label %48, label %53 48: ; preds = %43 store i32 2, ptr %6, align 4 %49 = load i8, ptr %4, align 1 %50 = zext i8 %49 to i32 %51 = and i32 %50, 15 %52 = trunc i32 %51 to i8 store i8 %52, ptr %4, align 1 br label %84 53: ; preds = %43 %54 = load i8, ptr %4, align 1 %55 = zext i8 %54 to i32 %56 = and i32 %55, 8 %57 = icmp eq i32 %56, 0 br i1 %57, label %58, label %63 58: ; preds = %53 store i32 3, ptr %6, align 4 %59 = load i8, ptr %4, align 1 %60 = zext i8 %59 to i32 %61 = and i32 %60, 7 %62 = trunc i32 %61 to i8 store i8 %62, ptr %4, align 1 br label %84 63: ; preds = %53 %64 = load i8, ptr %4, align 1 %65 = zext i8 %64 to i32 %66 = and i32 %65, 4 %67 = icmp eq i32 %66, 0 br i1 %67, label %68, label %73 68: ; preds = %63 store i32 4, ptr %6, align 4 %69 = load i8, ptr %4, align 1 %70 = zext i8 %69 to i32 %71 = and i32 %70, 3 %72 = trunc i32 %71 to i8 store i8 %72, ptr %4, align 1 br label %84 73: ; preds = %63 %74 = load i8, ptr %4, align 1 %75 = zext i8 %74 to i32 %76 = and i32 %75, 2 %77 = icmp eq i32 %76, 0 br i1 %77, label %78, label %83 78: ; preds = %73 store i32 5, ptr %6, align 4 %79 = load i8, ptr %4, align 1 %80 = zext i8 %79 to i32 %81 = and i32 %80, 1 %82 = trunc i32 %81 to i8 store i8 %82, ptr %4, align 1 br label %84 83: ; preds = %73 store i32 65533, ptr %2, align 4 br label %121 84: ; preds = %78, %68, %58, %48, %38 %85 = load i8, ptr %4, align 1 %86 = zext i8 %85 to i32 store i32 %86, ptr %5, align 4 %87 = load i32, ptr %6, align 4 %88 = icmp sgt i32 %87, 0 br i1 %88, label %.lr.ph, label %119 .lr.ph: ; preds = %84 br label %89 89: ; preds = %.lr.ph, %107 %90 = load i32, ptr %6, align 4 %91 = add nsw i32 %90, -1 store i32 %91, ptr %6, align 4 %92 = load ptr, ptr %3, align 8 %93 = load ptr, ptr %92, align 8 %94 = load i8, ptr %93, align 1 %95 = sext i8 %94 to i32 %96 = icmp eq i32 %95, 0 br i1 %96, label %97, label %98 97: ; preds = %89 store i32 -1, ptr %2, align 4 br label %121 98: ; preds = %89 %99 = load ptr, ptr %3, align 8 %100 = load ptr, ptr %99, align 8 %101 = load i8, ptr %100, align 1 store i8 %101, ptr %4, align 1 %102 = load i8, ptr %4, align 1 %103 = zext i8 %102 to i32 %104 = and i32 %103, 192 %105 = icmp ne i32 %104, 128 br i1 %105, label %106, label %107 106: ; preds = %98 store i32 65533, ptr %2, align 4 br label %121 107: ; preds = %98 %108 = load ptr, ptr %3, align 8 %109 = load ptr, ptr %108, align 8 %110 = getelementptr inbounds i8, ptr %109, i32 1 store ptr %110, ptr %108, align 8 %111 = load i32, ptr %5, align 4 %112 = shl i32 %111, 6 %113 = load i8, ptr %4, align 1 %114 = zext i8 %113 to i32 %115 = and i32 %114, 63 %116 = or i32 %112, %115 store i32 %116, ptr %5, align 4 %117 = load i32, ptr %6, align 4 %118 = icmp sgt i32 %117, 0 br i1 %118, label %89, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %107 br label %119 119: ; preds = %._crit_edge, %84 %120 = load i32, ptr %5, align 4 store i32 %120, ptr %2, align 4 br label %121 121: ; preds = %119, %106, %97, %83, %32, %24, %12 %122 = load i32, ptr %2, align 4 ret i32 %122 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpqq_u9nfy.c' source_filename = "/tmp/tmpqq_u9nfy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [44 x i8] c"\0AAccess to dangerous function %s() denied.\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"system\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @system(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load i32, ptr @stderr, align 4 %5 = call i32 @fprintf(i32 noundef %4, ptr noundef @.str, ptr noundef @.str.1) %6 = call i32 @assert(i32 noundef 0) %7 = load i32, ptr %2, align 4 ret i32 %7 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqq_u9nfy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [44 x i8] c"\0AAccess to dangerous function %s() denied.\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"system\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @system(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load i32, ptr @stderr, align 4 %5 = call i32 @fprintf(i32 noundef %4, ptr noundef @.str, ptr noundef @.str.1) %6 = call i32 @assert(i32 noundef 0) %7 = load i32, ptr %2, align 4 ret i32 %7 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9d_c4_nc.c' source_filename = "/tmp/tmp9d_c4_nc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cba\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"daf\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"ghi\00", align 1 @__const.main.A = private unnamed_addr constant [3 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [3 x ptr], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 2, ptr %6, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.A, i64 24, i1 false) %8 = getelementptr inbounds [3 x ptr], ptr %7, i64 0, i64 0 %9 = load i32, ptr %6, align 4 %10 = call i32 @minDeletionSize(ptr noundef %8, i32 noundef %9) %11 = icmp eq i32 %10, 1 %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @assert(i32 noundef) #2 declare i32 @minDeletionSize(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9d_c4_nc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cba\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"daf\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"ghi\00", align 1 @__const.main.A = private unnamed_addr constant [3 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [3 x ptr], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 2, ptr %6, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.A, i64 24, i1 false) %8 = getelementptr inbounds [3 x ptr], ptr %7, i64 0, i64 0 %9 = load i32, ptr %6, align 4 %10 = call i32 @minDeletionSize(ptr noundef %8, i32 noundef %9) %11 = icmp eq i32 %10, 1 %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @assert(i32 noundef) #2 declare i32 @minDeletionSize(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcyy0bmdo.c' source_filename = "/tmp/tmpcyy0bmdo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"put de first number\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"put de second number\0A\00", align 1 @.str.3 = private unnamed_addr constant [103 x i8] c"--------------------------------------------------\0A--------------------------------------------------\0A\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c"the sum of number_1 and number_2 = %d \0A\00", align 1 @.str.5 = private unnamed_addr constant [44 x i8] c"difference of number_1 and number_2 = %d \0A\00", align 1 @.str.6 = private unnamed_addr constant [40 x i8] c"product of number_1 and number_2 = %d \0A\00", align 1 @.str.7 = private unnamed_addr constant [41 x i8] c"quotient of number_1 and number_2 = %f \0A\00", align 1 @.str.8 = private unnamed_addr constant [39 x i8] c"modulus of number_1 and number_2 = %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca float, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %12 = load i32, ptr %1, align 4 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %12, %13 store i32 %14, ptr %3, align 4 %15 = load i32, ptr %1, align 4 %16 = sitofp i32 %15 to float %17 = load i32, ptr %2, align 4 %18 = sitofp i32 %17 to float %19 = fdiv float %16, %18 store float %19, ptr %7, align 4 %20 = load i32, ptr %1, align 4 %21 = load i32, ptr %2, align 4 %22 = srem i32 %20, %21 store i32 %22, ptr %5, align 4 %23 = load i32, ptr %1, align 4 %24 = load i32, ptr %2, align 4 %25 = mul nsw i32 %23, %24 store i32 %25, ptr %4, align 4 %26 = load i32, ptr %1, align 4 %27 = load i32, ptr %2, align 4 %28 = sub nsw i32 %26, %27 store i32 %28, ptr %6, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %30 = load i32, ptr %3, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %30) %32 = load i32, ptr %6, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %32) %34 = load i32, ptr %4, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %34) %36 = load float, ptr %7, align 4 %37 = fpext float %36 to double %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %37) %39 = load i32, ptr %5, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %39) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcyy0bmdo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"put de first number\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"put de second number\0A\00", align 1 @.str.3 = private unnamed_addr constant [103 x i8] c"--------------------------------------------------\0A--------------------------------------------------\0A\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c"the sum of number_1 and number_2 = %d \0A\00", align 1 @.str.5 = private unnamed_addr constant [44 x i8] c"difference of number_1 and number_2 = %d \0A\00", align 1 @.str.6 = private unnamed_addr constant [40 x i8] c"product of number_1 and number_2 = %d \0A\00", align 1 @.str.7 = private unnamed_addr constant [41 x i8] c"quotient of number_1 and number_2 = %f \0A\00", align 1 @.str.8 = private unnamed_addr constant [39 x i8] c"modulus of number_1 and number_2 = %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca float, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %12 = load i32, ptr %1, align 4 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %12, %13 store i32 %14, ptr %3, align 4 %15 = load i32, ptr %1, align 4 %16 = sitofp i32 %15 to float %17 = load i32, ptr %2, align 4 %18 = sitofp i32 %17 to float %19 = fdiv float %16, %18 store float %19, ptr %7, align 4 %20 = load i32, ptr %1, align 4 %21 = load i32, ptr %2, align 4 %22 = srem i32 %20, %21 store i32 %22, ptr %5, align 4 %23 = load i32, ptr %1, align 4 %24 = load i32, ptr %2, align 4 %25 = mul nsw i32 %23, %24 store i32 %25, ptr %4, align 4 %26 = load i32, ptr %1, align 4 %27 = load i32, ptr %2, align 4 %28 = sub nsw i32 %26, %27 store i32 %28, ptr %6, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %30 = load i32, ptr %3, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %30) %32 = load i32, ptr %6, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %32) %34 = load i32, ptr %4, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %34) %36 = load float, ptr %7, align 4 %37 = fpext float %36 to double %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %37) %39 = load i32, ptr %5, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %39) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbxphzmeq.c' source_filename = "/tmp/tmpbxphzmeq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_XEvent_xconfigure_width(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 %7 = trunc i64 %6 to i32 ret i32 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbxphzmeq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_XEvent_xconfigure_width(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 %7 = trunc i64 %6 to i32 ret i32 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmy8euvvp.c' source_filename = "/tmp/tmpmy8euvvp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isupper.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isupper should be 0 for 0xbb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isupper_0xbb() #0 { %1 = call i64 @isupper(i32 noundef 187) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 940, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isupper(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/tmpmy8euvvp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isupper.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isupper should be 0 for 0xbb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isupper_0xbb() #0 { %1 = call i64 @isupper(i32 noundef 187) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 940, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isupper(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/tmpflfdxjmn.c' source_filename = "/tmp/tmpflfdxjmn.c" target datalayout = "e-m:e-p270: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/tmpflfdxjmn.c" target datalayout = "e-m:e-p270: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/tmp5ktp9rnh.c' source_filename = "/tmp/tmp5ktp9rnh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @psh_open_readable_history() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = call ptr (...) @__psh_history_path() store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %8, label %7 7: ; preds = %0 store ptr null, ptr %1, align 8 br label %12 8: ; preds = %0 %9 = load ptr, ptr %2, align 8 %10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str) store ptr %10, ptr %3, align 8 %11 = load ptr, ptr %3, align 8 store ptr %11, ptr %1, align 8 br label %12 12: ; preds = %8, %7 %13 = load ptr, ptr %1, align 8 ret ptr %13 } declare ptr @__psh_history_path(...) #1 declare ptr @fopen(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/tmp5ktp9rnh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @psh_open_readable_history() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = call ptr (...) @__psh_history_path() store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %8, label %7 7: ; preds = %0 store ptr null, ptr %1, align 8 br label %12 8: ; preds = %0 %9 = load ptr, ptr %2, align 8 %10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str) store ptr %10, ptr %3, align 8 %11 = load ptr, ptr %3, align 8 store ptr %11, ptr %1, align 8 br label %12 12: ; preds = %8, %7 %13 = load ptr, ptr %1, align 8 ret ptr %13 } declare ptr @__psh_history_path(...) #1 declare ptr @fopen(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/tmpo9zu7nj1.c' source_filename = "/tmp/tmpo9zu7nj1.c" target datalayout = "e-m:e-p270: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 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @clock_time_of_day() #0 { %1 = alloca %struct.timeval, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = call i32 (...) @rdtsc() store i32 %9, ptr %2, align 4 %10 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null) %11 = call i32 (...) @rdtsc() store i32 %11, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = and i32 %12, poison store i32 %13, ptr %4, align 4 %14 = load i32, ptr %3, align 4 %15 = and i32 %14, poison store i32 %15, ptr %5, align 4 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %4, align 4 %18 = sub i32 %16, %17 store i32 %18, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = sitofp i32 %19 to float store float %20, ptr %7, align 4 store float 0x40AC0EAD00000000, ptr %8, align 4 %21 = load float, ptr %7, align 4 %22 = load float, ptr %8, align 4 %23 = fdiv float %21, %22 store float %23, ptr %7, align 4 %24 = load float, ptr %7, align 4 ret float %24 } declare i32 @rdtsc(...) #1 declare i32 @gettimeofday(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/tmpo9zu7nj1.c" target datalayout = "e-m:e-p270: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 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @clock_time_of_day() #0 { %1 = alloca %struct.timeval, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = call i32 (...) @rdtsc() store i32 %9, ptr %2, align 4 %10 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null) %11 = call i32 (...) @rdtsc() store i32 %11, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = and i32 %12, poison store i32 %13, ptr %4, align 4 %14 = load i32, ptr %3, align 4 %15 = and i32 %14, poison store i32 %15, ptr %5, align 4 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %4, align 4 %18 = sub i32 %16, %17 store i32 %18, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = sitofp i32 %19 to float store float %20, ptr %7, align 4 store float 0x40AC0EAD00000000, ptr %8, align 4 %21 = load float, ptr %7, align 4 %22 = load float, ptr %8, align 4 %23 = fdiv float %21, %22 store float %23, ptr %7, align 4 %24 = load float, ptr %7, align 4 ret float %24 } declare i32 @rdtsc(...) #1 declare i32 @gettimeofday(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/tmp06g5ieyy.c' source_filename = "/tmp/tmp06g5ieyy.c" target datalayout = "e-m:e-p270: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 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @timeval_to_double(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca double, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0 %6 = load i32, ptr %5, align 4 %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 1 %9 = load i32, ptr %8, align 4 %10 = sdiv i32 %9, 1000000 %11 = add nsw i32 %6, %10 %12 = sitofp i32 %11 to double store double %12, ptr %3, align 8 %13 = load double, ptr %3, align 8 ret double %13 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp06g5ieyy.c" target datalayout = "e-m:e-p270: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 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @timeval_to_double(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca double, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0 %6 = load i32, ptr %5, align 4 %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 1 %9 = load i32, ptr %8, align 4 %10 = sdiv i32 %9, 1000000 %11 = add nsw i32 %6, %10 %12 = sitofp i32 %11 to double store double %12, ptr %3, align 8 %13 = load double, ptr %3, align 8 ret double %13 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb7pddhwy.c' source_filename = "/tmp/tmpb7pddhwy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"a soma \C3\A9 igual a %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %19, %0 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 200 br i1 %6, label %7, label %22 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = srem i32 %8, 3 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %19 11: ; preds = %7 %12 = load i32, ptr %2, align 4 %13 = srem i32 %12, 7 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %11 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %2, align 4 %18 = add nsw i32 %16, %17 store i32 %18, ptr %3, align 4 br label %19 19: ; preds = %15, %11, %7 %20 = load i32, ptr %2, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %2, align 4 br label %4, !llvm.loop !6 22: ; preds = %4 %23 = load i32, ptr %3, align 4 %24 = call i32 @printf(ptr noundef @.str, i32 noundef %23) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb7pddhwy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"a soma \C3\A9 igual a %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 200 br i1 %5, label %.lr.ph, label %23 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %18 %7 = load i32, ptr %2, align 4 %8 = srem i32 %7, 3 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %18 10: ; preds = %6 %11 = load i32, ptr %2, align 4 %12 = srem i32 %11, 7 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %10 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %2, align 4 %17 = add nsw i32 %15, %16 store i32 %17, ptr %3, align 4 br label %18 18: ; preds = %14, %10, %6 %19 = load i32, ptr %2, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %2, align 4 %21 = load i32, ptr %2, align 4 %22 = icmp slt i32 %21, 200 br i1 %22, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %23 23: ; preds = %._crit_edge, %0 %24 = load i32, ptr %3, align 4 %25 = call i32 @printf(ptr noundef @.str, i32 noundef %24) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpkpxp5tjf.c' source_filename = "/tmp/tmpkpxp5tjf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.first_name = private unnamed_addr constant [4 x i8] c"Zed\00", align 1 @__const.main.last_name = private unnamed_addr constant [5 x i8] c"Shaw\00", align 1 @.str = private unnamed_addr constant [24 x i8] c"You are %d miles away.\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"You have %f levels of power.\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"You have %f awesome super power\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"I have an initial %c\0A\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"I have a first name %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"I have a last name %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c"My whole name is %s %c. %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [32 x i8] c"0x%02x, 0x%02x, 0x%02x, 0x%02x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca float, align 4 %8 = alloca double, align 8 %9 = alloca i8, align 1 %10 = alloca [4 x i8], align 1 %11 = alloca [5 x i8], align 1 %12 = alloca [4 x i8], align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 100, ptr %6, align 4 store float 2.650000e+01, ptr %7, align 4 store double 0x40EBBAAE809D4952, ptr %8, align 8 store i8 65, ptr %9, align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %10, ptr align 1 @__const.main.first_name, i64 4, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %11, ptr align 1 @__const.main.last_name, i64 5, i1 false) %13 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 0 %14 = call i32 @memcpy(ptr noundef %13, ptr noundef %7, i32 noundef 4) %15 = load i32, ptr %6, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15) %17 = load float, ptr %7, align 4 %18 = fpext float %17 to double %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %18) %20 = load double, ptr %8, align 8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %20) %22 = load i8, ptr %9, align 1 %23 = sext i8 %22 to i32 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %23) %25 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %25) %27 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 0 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %27) %29 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0 %30 = load i8, ptr %9, align 1 %31 = sext i8 %30 to i32 %32 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 0 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %29, i32 noundef %31, ptr noundef %32) %34 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 0 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 1 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 2 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 3 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %36, i32 noundef %39, i32 noundef %42, i32 noundef %45) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkpxp5tjf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.first_name = private unnamed_addr constant [4 x i8] c"Zed\00", align 1 @__const.main.last_name = private unnamed_addr constant [5 x i8] c"Shaw\00", align 1 @.str = private unnamed_addr constant [24 x i8] c"You are %d miles away.\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"You have %f levels of power.\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"You have %f awesome super power\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"I have an initial %c\0A\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"I have a first name %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"I have a last name %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c"My whole name is %s %c. %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [32 x i8] c"0x%02x, 0x%02x, 0x%02x, 0x%02x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca float, align 4 %8 = alloca double, align 8 %9 = alloca i8, align 1 %10 = alloca [4 x i8], align 1 %11 = alloca [5 x i8], align 1 %12 = alloca [4 x i8], align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 100, ptr %6, align 4 store float 2.650000e+01, ptr %7, align 4 store double 0x40EBBAAE809D4952, ptr %8, align 8 store i8 65, ptr %9, align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %10, ptr align 1 @__const.main.first_name, i64 4, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %11, ptr align 1 @__const.main.last_name, i64 5, i1 false) %13 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 0 %14 = call i32 @memcpy(ptr noundef %13, ptr noundef %7, i32 noundef 4) %15 = load i32, ptr %6, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15) %17 = load float, ptr %7, align 4 %18 = fpext float %17 to double %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %18) %20 = load double, ptr %8, align 8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %20) %22 = load i8, ptr %9, align 1 %23 = sext i8 %22 to i32 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %23) %25 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %25) %27 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 0 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %27) %29 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0 %30 = load i8, ptr %9, align 1 %31 = sext i8 %30 to i32 %32 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 0 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %29, i32 noundef %31, ptr noundef %32) %34 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 0 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 1 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 2 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 3 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %36, i32 noundef %39, i32 noundef %42, i32 noundef %45) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp8gf2iwm.c' source_filename = "/tmp/tmpp8gf2iwm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LZ4_compress_limitedOutput(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %10 = load i32, ptr %8, align 4 %11 = icmp slt i32 %10, 65547 br i1 %11, label %12, label %18 12: ; preds = %4 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %7, align 8 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %9, align 4 %17 = call i32 @LZ4_compress64kCtx(ptr noundef null, ptr noundef %13, ptr noundef %14, i32 noundef %15, i32 noundef %16) store i32 %17, ptr %5, align 4 br label %24 18: ; preds = %4 %19 = load ptr, ptr %6, align 8 %20 = load ptr, ptr %7, align 8 %21 = load i32, ptr %8, align 4 %22 = load i32, ptr %9, align 4 %23 = call i32 @LZ4_compressCtx(ptr noundef null, ptr noundef %19, ptr noundef %20, i32 noundef %21, i32 noundef %22) store i32 %23, ptr %5, align 4 br label %24 24: ; preds = %18, %12 %25 = load i32, ptr %5, align 4 ret i32 %25 } declare i32 @LZ4_compress64kCtx(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @LZ4_compressCtx(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp8gf2iwm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LZ4_compress_limitedOutput(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %10 = load i32, ptr %8, align 4 %11 = icmp slt i32 %10, 65547 br i1 %11, label %12, label %18 12: ; preds = %4 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %7, align 8 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %9, align 4 %17 = call i32 @LZ4_compress64kCtx(ptr noundef null, ptr noundef %13, ptr noundef %14, i32 noundef %15, i32 noundef %16) store i32 %17, ptr %5, align 4 br label %24 18: ; preds = %4 %19 = load ptr, ptr %6, align 8 %20 = load ptr, ptr %7, align 8 %21 = load i32, ptr %8, align 4 %22 = load i32, ptr %9, align 4 %23 = call i32 @LZ4_compressCtx(ptr noundef null, ptr noundef %19, ptr noundef %20, i32 noundef %21, i32 noundef %22) store i32 %23, ptr %5, align 4 br label %24 24: ; preds = %18, %12 %25 = load i32, ptr %5, align 4 ret i32 %25 } declare i32 @LZ4_compress64kCtx(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @LZ4_compressCtx(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp315iog38.c' source_filename = "/tmp/tmp315iog38.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ps_bus_event_register_summary(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @ps_summary_object(ptr noundef %6) %8 = call i32 @obus_bus_event_register_object(ptr noundef %5, i32 noundef %7) ret i32 %8 } declare i32 @obus_bus_event_register_object(ptr noundef, i32 noundef) #1 declare i32 @ps_summary_object(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp315iog38.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ps_bus_event_register_summary(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @ps_summary_object(ptr noundef %6) %8 = call i32 @obus_bus_event_register_object(ptr noundef %5, i32 noundef %7) ret i32 %8 } declare i32 @obus_bus_event_register_object(ptr noundef, i32 noundef) #1 declare i32 @ps_summary_object(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn_btukg8.c' source_filename = "/tmp/tmpn_btukg8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"http://\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"https://\00", align 1 @__const.parse_url.head = private unnamed_addr constant [2 x ptr] [ptr @.str, ptr @.str.1], align 16 @.str.2 = private unnamed_addr constant [2 x i8] c":\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @parse_url(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [2 x ptr], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca [16 x i8], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.parse_url.head, i64 16, i1 false) store i32 -1, ptr %13, align 4 store i32 0, ptr %10, align 4 br label %15 15: ; preds = %29, %4 %16 = load i32, ptr %10, align 4 %17 = icmp slt i32 %16, 2 br i1 %17, label %18, label %32 18: ; preds = %15 %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %10, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [2 x ptr], ptr %9, i64 0, i64 %21 %23 = load ptr, ptr %22, align 8 %24 = call ptr @strstr(ptr noundef %19, ptr noundef %23) %25 = icmp ne ptr %24, null br i1 %25, label %26, label %28 26: ; preds = %18 %27 = load i32, ptr %10, align 4 store i32 %27, ptr %13, align 4 br label %32 28: ; preds = %18 br label %29 29: ; preds = %28 %30 = load i32, ptr %10, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %10, align 4 br label %15, !llvm.loop !6 32: ; preds = %26, %15 %33 = load i32, ptr %13, align 4 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %36 35: ; preds = %32 store i32 7, ptr %13, align 4 br label %37 36: ; preds = %32 store i32 8, ptr %13, align 4 br label %37 37: ; preds = %36, %35 store i32 0, ptr %11, align 4 %38 = load i32, ptr %13, align 4 store i32 %38, ptr %10, align 4 br label %39 39: ; preds = %58, %37 %40 = load ptr, ptr %5, align 8 %41 = load i32, ptr %10, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp ne i32 %45, 47 br i1 %46, label %47, label %61 47: ; preds = %39 %48 = load ptr, ptr %5, align 8 %49 = load i32, ptr %10, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %48, i64 %50 %52 = load i8, ptr %51, align 1 %53 = load ptr, ptr %6, align 8 %54 = load i32, ptr %11, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %11, align 4 %56 = sext i32 %54 to i64 %57 = getelementptr inbounds i8, ptr %53, i64 %56 store i8 %52, ptr %57, align 1 br label %58 58: ; preds = %47 %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 br label %39, !llvm.loop !8 61: ; preds = %39 %62 = load ptr, ptr %6, align 8 %63 = load i32, ptr %10, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %62, i64 %64 store i8 0, ptr %65, align 1 %66 = load ptr, ptr %6, align 8 %67 = call i32 @strstr_p(ptr noundef %66, ptr noundef @.str.2) store i32 %67, ptr %12, align 4 %68 = icmp ne i32 %67, -1 br i1 %68, label %69, label %85 69: ; preds = %61 %70 = getelementptr inbounds [16 x i8], ptr %14, i64 0, i64 0 %71 = load ptr, ptr %6, align 8 %72 = load i32, ptr %12, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i8, ptr %71, i64 %73 %75 = getelementptr inbounds i8, ptr %74, i64 1 %76 = load ptr, ptr %6, align 8 %77 = call i64 @strlen(ptr noundef %76) %78 = load i32, ptr %12, align 4 %79 = sext i32 %78 to i64 %80 = sub nsw i64 %77, %79 %81 = call i32 @strncpy(ptr noundef %70, ptr noundef %75, i64 noundef %80) %82 = getelementptr inbounds [16 x i8], ptr %14, i64 0, i64 0 %83 = call i32 @atoi(ptr noundef %82) %84 = load ptr, ptr %7, align 8 store i32 %83, ptr %84, align 4 br label %87 85: ; preds = %61 %86 = load ptr, ptr %7, align 8 store i32 80, ptr %86, align 4 br label %87 87: ; preds = %85, %69 %88 = load ptr, ptr %6, align 8 %89 = load i32, ptr %12, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i8, ptr %88, i64 %90 store i8 0, ptr %91, align 1 store i32 0, ptr %11, align 4 %92 = load i32, ptr %13, align 4 store i32 %92, ptr %10, align 4 br label %93 93: ; preds = %122, %87 %94 = load ptr, ptr %5, align 8 %95 = load i32, ptr %10, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i8, ptr %94, i64 %96 %98 = load i8, ptr %97, align 1 %99 = sext i8 %98 to i32 %100 = icmp ne i32 %99, 0 br i1 %100, label %101, label %125 101: ; preds = %93 %102 = load ptr, ptr %5, align 8 %103 = load i32, ptr %10, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds i8, ptr %102, i64 %104 %106 = load i8, ptr %105, align 1 %107 = sext i8 %106 to i32 %108 = icmp eq i32 %107, 47 br i1 %108, label %109, label %110 109: ; preds = %101 store i32 0, ptr %11, align 4 br label %121 110: ; preds = %101 %111 = load ptr, ptr %5, align 8 %112 = load i32, ptr %10, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds i8, ptr %111, i64 %113 %115 = load i8, ptr %114, align 1 %116 = load ptr, ptr %8, align 8 %117 = load i32, ptr %11, align 4 %118 = add nsw i32 %117, 1 store i32 %118, ptr %11, align 4 %119 = sext i32 %117 to i64 %120 = getelementptr inbounds i8, ptr %116, i64 %119 store i8 %115, ptr %120, align 1 br label %121 121: ; preds = %110, %109 br label %122 122: ; preds = %121 %123 = load i32, ptr %10, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %10, align 4 br label %93, !llvm.loop !9 125: ; preds = %93 %126 = load ptr, ptr %8, align 8 %127 = load i32, ptr %11, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds i8, ptr %126, i64 %128 store i8 0, ptr %129, align 1 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare ptr @strstr(ptr noundef, ptr noundef) #2 declare i32 @strstr_p(ptr noundef, ptr noundef) #2 declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #2 declare i64 @strlen(ptr noundef) #2 declare i32 @atoi(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} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn_btukg8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"http://\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"https://\00", align 1 @__const.parse_url.head = private unnamed_addr constant [2 x ptr] [ptr @.str, ptr @.str.1], align 16 @.str.2 = private unnamed_addr constant [2 x i8] c":\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @parse_url(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [2 x ptr], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca [16 x i8], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.parse_url.head, i64 16, i1 false) store i32 -1, ptr %13, align 4 store i32 0, ptr %10, align 4 %15 = load i32, ptr %10, align 4 %16 = icmp slt i32 %15, 2 br i1 %16, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %4 br label %17 17: ; preds = %.lr.ph, %28 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %10, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [2 x ptr], ptr %9, i64 0, i64 %20 %22 = load ptr, ptr %21, align 8 %23 = call ptr @strstr(ptr noundef %18, ptr noundef %22) %24 = icmp ne ptr %23, null br i1 %24, label %25, label %27 25: ; preds = %17 %26 = load i32, ptr %10, align 4 store i32 %26, ptr %13, align 4 br label %33 27: ; preds = %17 br label %28 28: ; preds = %27 %29 = load i32, ptr %10, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %10, align 4 %31 = load i32, ptr %10, align 4 %32 = icmp slt i32 %31, 2 br i1 %32, label %17, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %28 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %4 br label %33 33: ; preds = %.loopexit, %25 %34 = load i32, ptr %13, align 4 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %37 36: ; preds = %33 store i32 7, ptr %13, align 4 br label %38 37: ; preds = %33 store i32 8, ptr %13, align 4 br label %38 38: ; preds = %37, %36 store i32 0, ptr %11, align 4 %39 = load i32, ptr %13, align 4 store i32 %39, ptr %10, align 4 %40 = load ptr, ptr %5, align 8 %41 = load i32, ptr %10, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp ne i32 %45, 47 br i1 %46, label %.lr.ph1, label %68 .lr.ph1: ; preds = %38 br label %47 47: ; preds = %.lr.ph1, %58 %48 = load ptr, ptr %5, align 8 %49 = load i32, ptr %10, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %48, i64 %50 %52 = load i8, ptr %51, align 1 %53 = load ptr, ptr %6, align 8 %54 = load i32, ptr %11, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %11, align 4 %56 = sext i32 %54 to i64 %57 = getelementptr inbounds i8, ptr %53, i64 %56 store i8 %52, ptr %57, align 1 br label %58 58: ; preds = %47 %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 %61 = load ptr, ptr %5, align 8 %62 = load i32, ptr %10, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %61, i64 %63 %65 = load i8, ptr %64, align 1 %66 = sext i8 %65 to i32 %67 = icmp ne i32 %66, 47 br i1 %67, label %47, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %58 br label %68 68: ; preds = %._crit_edge, %38 %69 = load ptr, ptr %6, align 8 %70 = load i32, ptr %10, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i8, ptr %69, i64 %71 store i8 0, ptr %72, align 1 %73 = load ptr, ptr %6, align 8 %74 = call i32 @strstr_p(ptr noundef %73, ptr noundef @.str.2) store i32 %74, ptr %12, align 4 %75 = icmp ne i32 %74, -1 br i1 %75, label %76, label %92 76: ; preds = %68 %77 = getelementptr inbounds [16 x i8], ptr %14, i64 0, i64 0 %78 = load ptr, ptr %6, align 8 %79 = load i32, ptr %12, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i8, ptr %78, i64 %80 %82 = getelementptr inbounds i8, ptr %81, i64 1 %83 = load ptr, ptr %6, align 8 %84 = call i64 @strlen(ptr noundef %83) %85 = load i32, ptr %12, align 4 %86 = sext i32 %85 to i64 %87 = sub nsw i64 %84, %86 %88 = call i32 @strncpy(ptr noundef %77, ptr noundef %82, i64 noundef %87) %89 = getelementptr inbounds [16 x i8], ptr %14, i64 0, i64 0 %90 = call i32 @atoi(ptr noundef %89) %91 = load ptr, ptr %7, align 8 store i32 %90, ptr %91, align 4 br label %94 92: ; preds = %68 %93 = load ptr, ptr %7, align 8 store i32 80, ptr %93, align 4 br label %94 94: ; preds = %92, %76 %95 = load ptr, ptr %6, align 8 %96 = load i32, ptr %12, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds i8, ptr %95, i64 %97 store i8 0, ptr %98, align 1 store i32 0, ptr %11, align 4 %99 = load i32, ptr %13, align 4 store i32 %99, ptr %10, align 4 %100 = load ptr, ptr %5, align 8 %101 = load i32, ptr %10, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i8, ptr %100, i64 %102 %104 = load i8, ptr %103, align 1 %105 = sext i8 %104 to i32 %106 = icmp ne i32 %105, 0 br i1 %106, label %.lr.ph3, label %138 .lr.ph3: ; preds = %94 br label %107 107: ; preds = %.lr.ph3, %128 %108 = load ptr, ptr %5, align 8 %109 = load i32, ptr %10, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i8, ptr %108, i64 %110 %112 = load i8, ptr %111, align 1 %113 = sext i8 %112 to i32 %114 = icmp eq i32 %113, 47 br i1 %114, label %115, label %116 115: ; preds = %107 store i32 0, ptr %11, align 4 br label %127 116: ; preds = %107 %117 = load ptr, ptr %5, align 8 %118 = load i32, ptr %10, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds i8, ptr %117, i64 %119 %121 = load i8, ptr %120, align 1 %122 = load ptr, ptr %8, align 8 %123 = load i32, ptr %11, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %11, align 4 %125 = sext i32 %123 to i64 %126 = getelementptr inbounds i8, ptr %122, i64 %125 store i8 %121, ptr %126, align 1 br label %127 127: ; preds = %116, %115 br label %128 128: ; preds = %127 %129 = load i32, ptr %10, align 4 %130 = add nsw i32 %129, 1 store i32 %130, ptr %10, align 4 %131 = load ptr, ptr %5, align 8 %132 = load i32, ptr %10, align 4 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds i8, ptr %131, i64 %133 %135 = load i8, ptr %134, align 1 %136 = sext i8 %135 to i32 %137 = icmp ne i32 %136, 0 br i1 %137, label %107, label %._crit_edge4, !llvm.loop !9 ._crit_edge4: ; preds = %128 br label %138 138: ; preds = %._crit_edge4, %94 %139 = load ptr, ptr %8, align 8 %140 = load i32, ptr %11, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds i8, ptr %139, i64 %141 store i8 0, ptr %142, align 1 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare ptr @strstr(ptr noundef, ptr noundef) #2 declare i32 @strstr_p(ptr noundef, ptr noundef) #2 declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #2 declare i64 @strlen(ptr noundef) #2 declare i32 @atoi(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} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpl34v7zf_.c' source_filename = "/tmp/tmpl34v7zf_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isdigit should be 0 for w\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isdigit_0x77() #0 { %1 = call i64 @isdigit(i32 noundef 119) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 600, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isdigit(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/tmpl34v7zf_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isdigit should be 0 for w\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isdigit_0x77() #0 { %1 = call i64 @isdigit(i32 noundef 119) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 600, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isdigit(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/tmp6guysa2k.c' source_filename = "/tmp/tmp6guysa2k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @si5351aOutputOff(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 @i2cSendRegister(i32 noundef %3, i32 noundef 128) ret void } declare i32 @i2cSendRegister(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/tmp6guysa2k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @si5351aOutputOff(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 @i2cSendRegister(i32 noundef %3, i32 noundef 128) ret void } declare i32 @i2cSendRegister(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/tmpplczid11.c' source_filename = "/tmp/tmpplczid11.c" target datalayout = "e-m:e-p270: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 i64 0, align 8 @.str = private unnamed_addr constant [6 x i8] c"fputc\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @safe_fputc(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 i64 @fputc(i8 noundef signext %5, ptr noundef %6) %8 = load i64, ptr @EOF, align 8 %9 = icmp eq i64 %7, %8 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 @perrordie(ptr noundef @.str) br label %12 12: ; preds = %10, %2 ret void } declare i64 @fputc(i8 noundef signext, ptr noundef) #1 declare i32 @perrordie(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpplczid11.c" target datalayout = "e-m:e-p270: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 i64 0, align 8 @.str = private unnamed_addr constant [6 x i8] c"fputc\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @safe_fputc(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 i64 @fputc(i8 noundef signext %5, ptr noundef %6) %8 = load i64, ptr @EOF, align 8 %9 = icmp eq i64 %7, %8 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 @perrordie(ptr noundef @.str) br label %12 12: ; preds = %10, %2 ret void } declare i64 @fputc(i8 noundef signext, ptr noundef) #1 declare i32 @perrordie(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd5_n8okb.c' source_filename = "/tmp/tmpd5_n8okb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bdd_prime_lte(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = and i32 %3, 1 %5 = icmp ne i32 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %1 %7 = load i32, ptr %2, align 4 %8 = add i32 %7, -1 store i32 %8, ptr %2, align 4 br label %9 9: ; preds = %6, %1 br label %10 10: ; preds = %15, %9 %11 = load i32, ptr %2, align 4 %12 = call i32 @isPrime(i32 noundef %11) %13 = icmp ne i32 %12, 0 %14 = xor i1 %13, true br i1 %14, label %15, label %18 15: ; preds = %10 %16 = load i32, ptr %2, align 4 %17 = sub i32 %16, 2 store i32 %17, ptr %2, align 4 br label %10, !llvm.loop !6 18: ; preds = %10 %19 = load i32, ptr %2, align 4 ret i32 %19 } declare i32 @isPrime(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/tmpd5_n8okb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bdd_prime_lte(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = and i32 %3, 1 %5 = icmp ne i32 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %1 %7 = load i32, ptr %2, align 4 %8 = add i32 %7, -1 store i32 %8, ptr %2, align 4 br label %9 9: ; preds = %6, %1 %10 = load i32, ptr %2, align 4 %11 = call i32 @isPrime(i32 noundef %10) %12 = icmp ne i32 %11, 0 %13 = xor i1 %12, true br i1 %13, label %.lr.ph, label %21 .lr.ph: ; preds = %9 br label %14 14: ; preds = %.lr.ph, %14 %15 = load i32, ptr %2, align 4 %16 = sub i32 %15, 2 store i32 %16, ptr %2, align 4 %17 = load i32, ptr %2, align 4 %18 = call i32 @isPrime(i32 noundef %17) %19 = icmp ne i32 %18, 0 %20 = xor i1 %19, true br i1 %20, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %21 21: ; preds = %._crit_edge, %9 %22 = load i32, ptr %2, align 4 ret i32 %22 } declare i32 @isPrime(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/tmp1bnun5a8.c' source_filename = "/tmp/tmp1bnun5a8.c" target datalayout = "e-m:e-p270: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/tmp1bnun5a8.c" target datalayout = "e-m:e-p270: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/tmpgkqlemx0.c' source_filename = "/tmp/tmpgkqlemx0.c" target datalayout = "e-m:e-p270: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/tmpgkqlemx0.c" target datalayout = "e-m:e-p270: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/tmprkoqu8_l.c' source_filename = "/tmp/tmprkoqu8_l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"xcalloc\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xcalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @calloc(i32 noundef 1, i64 noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %1 %9 = call i32 @die(ptr noundef @.str) br label %10 10: ; preds = %8, %1 %11 = load ptr, ptr %3, align 8 ret ptr %11 } declare ptr @calloc(i32 noundef, i64 noundef) #1 declare i32 @die(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprkoqu8_l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"xcalloc\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xcalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @calloc(i32 noundef 1, i64 noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %1 %9 = call i32 @die(ptr noundef @.str) br label %10 10: ; preds = %8, %1 %11 = load ptr, ptr %3, align 8 ret ptr %11 } declare ptr @calloc(i32 noundef, i64 noundef) #1 declare i32 @die(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpelv4w1gv.c' source_filename = "/tmp/tmpelv4w1gv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 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/tmpelv4w1gv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 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/tmpok60_nry.c' source_filename = "/tmp/tmpok60_nry.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_GETFL = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"fcntl(F_GETFL)\0A\00", align 1 @O_NONBLOCK = dso_local global i32 0, align 4 @F_SETFL = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"fcntl(F_SETFL)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @setnonblocking(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @F_GETFL, align 4 %6 = call i64 (i32, i32, ...) @fcntl(i32 noundef %4, i32 noundef %5) %7 = trunc i64 %6 to i32 store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %1 %11 = call i32 @perror(ptr noundef @.str) %12 = call i32 @exit(i32 noundef 1) #3 unreachable 13: ; preds = %1 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr @O_NONBLOCK, align 4 %16 = or i32 %14, %15 store i32 %16, ptr %3, align 4 %17 = load i32, ptr %2, align 4 %18 = load i32, ptr @F_SETFL, align 4 %19 = load i32, ptr %3, align 4 %20 = call i64 (i32, i32, ...) @fcntl(i32 noundef %17, i32 noundef %18, i32 noundef %19) %21 = icmp slt i64 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %13 %23 = call i32 @perror(ptr noundef @.str.1) %24 = call i32 @exit(i32 noundef 1) #3 unreachable 25: ; preds = %13 ret void } declare i64 @fcntl(i32 noundef, i32 noundef, ...) #1 declare i32 @perror(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/tmpok60_nry.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_GETFL = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"fcntl(F_GETFL)\0A\00", align 1 @O_NONBLOCK = dso_local global i32 0, align 4 @F_SETFL = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"fcntl(F_SETFL)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @setnonblocking(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @F_GETFL, align 4 %6 = call i64 (i32, i32, ...) @fcntl(i32 noundef %4, i32 noundef %5) %7 = trunc i64 %6 to i32 store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %1 %11 = call i32 @perror(ptr noundef @.str) %12 = call i32 @exit(i32 noundef 1) #3 unreachable 13: ; preds = %1 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr @O_NONBLOCK, align 4 %16 = or i32 %14, %15 store i32 %16, ptr %3, align 4 %17 = load i32, ptr %2, align 4 %18 = load i32, ptr @F_SETFL, align 4 %19 = load i32, ptr %3, align 4 %20 = call i64 (i32, i32, ...) @fcntl(i32 noundef %17, i32 noundef %18, i32 noundef %19) %21 = icmp slt i64 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %13 %23 = call i32 @perror(ptr noundef @.str.1) %24 = call i32 @exit(i32 noundef 1) #3 unreachable 25: ; preds = %13 ret void } declare i64 @fcntl(i32 noundef, i32 noundef, ...) #1 declare i32 @perror(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/tmp0zobt_he.c' source_filename = "/tmp/tmp0zobt_he.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/null\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @F_DUPFD = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"fcntl\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 3, ptr %7, align 4 br label %8 8: ; preds = %14, %2 %9 = load i32, ptr %7, align 4 %10 = icmp slt i32 %9, 64 br i1 %10, label %11, label %17 11: ; preds = %8 %12 = load i32, ptr %7, align 4 %13 = call i32 @close(i32 noundef %12) br label %14 14: ; preds = %11 %15 = load i32, ptr %7, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %7, align 4 br label %8, !llvm.loop !6 17: ; preds = %8 %18 = load i32, ptr @O_RDONLY, align 4 %19 = call i32 @open(ptr noundef @.str, i32 noundef %18) store i32 %19, ptr %6, align 4 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr @F_DUPFD, align 4 %22 = load i32, ptr %6, align 4 %23 = call i32 @fcntl(i32 noundef %20, i32 noundef %21, i32 noundef %22) %24 = icmp eq i32 %23, -1 br i1 %24, label %25, label %27 25: ; preds = %17 %26 = call i32 @perror(ptr noundef @.str.1) br label %27 27: ; preds = %25, %17 ret i32 0 } declare i32 @close(i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp0zobt_he.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/null\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @F_DUPFD = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"fcntl\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 3, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = icmp slt i32 %8, 64 br i1 %9, label %.lr.ph, label %18 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %13 %11 = load i32, ptr %7, align 4 %12 = call i32 @close(i32 noundef %11) br label %13 13: ; preds = %10 %14 = load i32, ptr %7, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %7, align 4 %16 = load i32, ptr %7, align 4 %17 = icmp slt i32 %16, 64 br i1 %17, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %18 18: ; preds = %._crit_edge, %2 %19 = load i32, ptr @O_RDONLY, align 4 %20 = call i32 @open(ptr noundef @.str, i32 noundef %19) store i32 %20, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr @F_DUPFD, align 4 %23 = load i32, ptr %6, align 4 %24 = call i32 @fcntl(i32 noundef %21, i32 noundef %22, i32 noundef %23) %25 = icmp eq i32 %24, -1 br i1 %25, label %26, label %28 26: ; preds = %18 %27 = call i32 @perror(ptr noundef @.str.1) br label %28 28: ; preds = %26, %18 ret i32 0 } declare i32 @close(i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpav4y_bof.c' source_filename = "/tmp/tmpav4y_bof.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Usage: %s <number of times to test>\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Player1 won %.2f%%\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 2 br i1 %11, label %12, label %18 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %15) %17 = call i32 @exit(i32 noundef 1) #3 unreachable 18: ; preds = %2 %19 = call i32 @time(ptr noundef null) %20 = call i32 @srand(i32 noundef %19) %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = call i64 @atoll(ptr noundef %23) store i64 %24, ptr %6, align 8 store i64 0, ptr %7, align 8 store i64 0, ptr %8, align 8 br label %25 25: ; preds = %36, %18 %26 = load i64, ptr %8, align 8 %27 = load i64, ptr %6, align 8 %28 = icmp ult i64 %26, %27 br i1 %28, label %29, label %39 29: ; preds = %25 %30 = call i64 (...) @racquetball() %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %35 32: ; preds = %29 %33 = load i64, ptr %7, align 8 %34 = add i64 %33, 1 store i64 %34, ptr %7, align 8 br label %35 35: ; preds = %32, %29 br label %36 36: ; preds = %35 %37 = load i64, ptr %8, align 8 %38 = add i64 %37, 1 store i64 %38, ptr %8, align 8 br label %25, !llvm.loop !6 39: ; preds = %25 %40 = load i64, ptr %7, align 8 %41 = uitofp i64 %40 to double %42 = load i64, ptr %6, align 8 %43 = uitofp i64 %42 to double %44 = fdiv double %41, %43 store double %44, ptr %9, align 8 %45 = load double, ptr %9, align 8 %46 = fmul double %45, 1.000000e+02 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %46) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i64 @atoll(ptr noundef) #1 declare i64 @racquetball(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpav4y_bof.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Usage: %s <number of times to test>\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Player1 won %.2f%%\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 2 br i1 %11, label %12, label %18 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %15) %17 = call i32 @exit(i32 noundef 1) #3 unreachable 18: ; preds = %2 %19 = call i32 @time(ptr noundef null) %20 = call i32 @srand(i32 noundef %19) %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = call i64 @atoll(ptr noundef %23) store i64 %24, ptr %6, align 8 store i64 0, ptr %7, align 8 store i64 0, ptr %8, align 8 %25 = load i64, ptr %8, align 8 %26 = load i64, ptr %6, align 8 %27 = icmp ult i64 %25, %26 br i1 %27, label %.lr.ph, label %41 .lr.ph: ; preds = %18 br label %28 28: ; preds = %.lr.ph, %35 %29 = call i64 (...) @racquetball() %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %28 %32 = load i64, ptr %7, align 8 %33 = add i64 %32, 1 store i64 %33, ptr %7, align 8 br label %34 34: ; preds = %31, %28 br label %35 35: ; preds = %34 %36 = load i64, ptr %8, align 8 %37 = add i64 %36, 1 store i64 %37, ptr %8, align 8 %38 = load i64, ptr %8, align 8 %39 = load i64, ptr %6, align 8 %40 = icmp ult i64 %38, %39 br i1 %40, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %41 41: ; preds = %._crit_edge, %18 %42 = load i64, ptr %7, align 8 %43 = uitofp i64 %42 to double %44 = load i64, ptr %6, align 8 %45 = uitofp i64 %44 to double %46 = fdiv double %43, %45 store double %46, ptr %9, align 8 %47 = load double, ptr %9, align 8 %48 = fmul double %47, 1.000000e+02 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %48) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i64 @atoll(ptr noundef) #1 declare i64 @racquetball(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmppw0de9m5.c' source_filename = "/tmp/tmppw0de9m5.c" target datalayout = "e-m:e-p270: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/tmppw0de9m5.c" target datalayout = "e-m:e-p270: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/tmpxk5s6d2n.c' source_filename = "/tmp/tmpxk5s6d2n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c" Congratulations, you rolled a %d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @time(ptr noundef null) %4 = call i32 @srand(i32 noundef %3) %5 = call i32 (...) @rand() %6 = srem i32 %5, 6 %7 = add nsw i32 %6, 1 store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %13 10: ; preds = %0 %11 = load i32, ptr %2, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %11) br label %13 13: ; preds = %10, %0 %14 = load i32, ptr %2, align 4 %15 = icmp eq i32 %14, 2 br i1 %15, label %16, label %19 16: ; preds = %13 %17 = load i32, ptr %2, align 4 %18 = call i32 @printf(ptr noundef @.str, i32 noundef %17) br label %19 19: ; preds = %16, %13 %20 = load i32, ptr %2, align 4 %21 = icmp eq i32 %20, 3 br i1 %21, label %22, label %25 22: ; preds = %19 %23 = load i32, ptr %2, align 4 %24 = call i32 @printf(ptr noundef @.str, i32 noundef %23) br label %25 25: ; preds = %22, %19 %26 = load i32, ptr %2, align 4 %27 = icmp eq i32 %26, 4 br i1 %27, label %28, label %31 28: ; preds = %25 %29 = load i32, ptr %2, align 4 %30 = call i32 @printf(ptr noundef @.str, i32 noundef %29) br label %31 31: ; preds = %28, %25 %32 = load i32, ptr %2, align 4 %33 = icmp eq i32 %32, 5 br i1 %33, label %34, label %37 34: ; preds = %31 %35 = load i32, ptr %2, align 4 %36 = call i32 @printf(ptr noundef @.str, i32 noundef %35) br label %37 37: ; preds = %34, %31 %38 = load i32, ptr %2, align 4 %39 = icmp eq i32 %38, 6 br i1 %39, label %40, label %43 40: ; preds = %37 %41 = load i32, ptr %2, align 4 %42 = call i32 @printf(ptr noundef @.str, i32 noundef %41) br label %43 43: ; preds = %40, %37 %44 = load i32, ptr %1, align 4 ret i32 %44 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxk5s6d2n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c" Congratulations, you rolled a %d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @time(ptr noundef null) %4 = call i32 @srand(i32 noundef %3) %5 = call i32 (...) @rand() %6 = srem i32 %5, 6 %7 = add nsw i32 %6, 1 store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %13 10: ; preds = %0 %11 = load i32, ptr %2, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %11) br label %13 13: ; preds = %10, %0 %14 = load i32, ptr %2, align 4 %15 = icmp eq i32 %14, 2 br i1 %15, label %16, label %19 16: ; preds = %13 %17 = load i32, ptr %2, align 4 %18 = call i32 @printf(ptr noundef @.str, i32 noundef %17) br label %19 19: ; preds = %16, %13 %20 = load i32, ptr %2, align 4 %21 = icmp eq i32 %20, 3 br i1 %21, label %22, label %25 22: ; preds = %19 %23 = load i32, ptr %2, align 4 %24 = call i32 @printf(ptr noundef @.str, i32 noundef %23) br label %25 25: ; preds = %22, %19 %26 = load i32, ptr %2, align 4 %27 = icmp eq i32 %26, 4 br i1 %27, label %28, label %31 28: ; preds = %25 %29 = load i32, ptr %2, align 4 %30 = call i32 @printf(ptr noundef @.str, i32 noundef %29) br label %31 31: ; preds = %28, %25 %32 = load i32, ptr %2, align 4 %33 = icmp eq i32 %32, 5 br i1 %33, label %34, label %37 34: ; preds = %31 %35 = load i32, ptr %2, align 4 %36 = call i32 @printf(ptr noundef @.str, i32 noundef %35) br label %37 37: ; preds = %34, %31 %38 = load i32, ptr %2, align 4 %39 = icmp eq i32 %38, 6 br i1 %39, label %40, label %43 40: ; preds = %37 %41 = load i32, ptr %2, align 4 %42 = call i32 @printf(ptr noundef @.str, i32 noundef %41) br label %43 43: ; preds = %40, %37 %44 = load i32, ptr %1, align 4 ret i32 %44 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcyrwt2w0.c' source_filename = "/tmp/tmpcyrwt2w0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"/home/sabetts/src/nethack-el/gl\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"cannot change root directory\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"cannot chdir to root directory\00", align 1 @.str.4 = private unnamed_addr constant [35 x i8] c"Welcome to the nethack-el server.\0A\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i64 @chroot(ptr noundef @.str) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 @perror(ptr noundef @.str.1) br label %10 10: ; preds = %8, %2 %11 = call i64 @chdir(ptr noundef @.str.2) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %10 %14 = call i32 @perror(ptr noundef @.str.3) br label %15 15: ; preds = %13, %10 %16 = call i32 @setgid(i32 noundef 1000) %17 = call i32 @setuid(i32 noundef 1000) %18 = call i32 @printf(ptr noundef @.str.4) %19 = load i32, ptr @stdout, align 4 %20 = call i32 @fflush(i32 noundef %19) %21 = call i32 (...) @repl() ret i32 0 } declare i64 @chroot(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @chdir(ptr noundef) #1 declare i32 @setgid(i32 noundef) #1 declare i32 @setuid(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @repl(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcyrwt2w0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"/home/sabetts/src/nethack-el/gl\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"cannot change root directory\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"cannot chdir to root directory\00", align 1 @.str.4 = private unnamed_addr constant [35 x i8] c"Welcome to the nethack-el server.\0A\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i64 @chroot(ptr noundef @.str) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 @perror(ptr noundef @.str.1) br label %10 10: ; preds = %8, %2 %11 = call i64 @chdir(ptr noundef @.str.2) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %10 %14 = call i32 @perror(ptr noundef @.str.3) br label %15 15: ; preds = %13, %10 %16 = call i32 @setgid(i32 noundef 1000) %17 = call i32 @setuid(i32 noundef 1000) %18 = call i32 @printf(ptr noundef @.str.4) %19 = load i32, ptr @stdout, align 4 %20 = call i32 @fflush(i32 noundef %19) %21 = call i32 (...) @repl() ret i32 0 } declare i64 @chroot(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @chdir(ptr noundef) #1 declare i32 @setgid(i32 noundef) #1 declare i32 @setuid(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @repl(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoj0jj3f8.c' source_filename = "/tmp/tmpoj0jj3f8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @private_get_extension(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 = call ptr @strrchr(ptr noundef %4, i8 noundef signext 46) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %9 8: ; preds = %1 br label %12 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 1 br label %12 12: ; preds = %9, %8 %13 = phi ptr [ @.str, %8 ], [ %11, %9 ] ret ptr %13 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoj0jj3f8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @private_get_extension(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 = call ptr @strrchr(ptr noundef %4, i8 noundef signext 46) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %9 8: ; preds = %1 br label %12 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 1 br label %12 12: ; preds = %9, %8 %13 = phi ptr [ @.str, %8 ], [ %11, %9 ] ret ptr %13 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8m621v42.c' source_filename = "/tmp/tmp8m621v42.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PF_INET = dso_local global i32 0, align 4 @PF_INET6 = dso_local global i32 0, align 4 @PF_PACKET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8m621v42.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PF_INET = dso_local global i32 0, align 4 @PF_INET6 = dso_local global i32 0, align 4 @PF_PACKET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpto_qsa_s.c' source_filename = "/tmp/tmpto_qsa_s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @slaPdq2h(double noundef %0, double noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 store double %0, ptr %8, align 8 store double %1, ptr %9, align 8 store double %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 %25 = load ptr, ptr %12, align 8 store i32 0, ptr %25, align 4 %26 = load ptr, ptr %14, align 8 store i32 0, ptr %26, align 4 %27 = load double, ptr %8, align 8 %28 = call double @slaDrange(double noundef %27) store double %28, ptr %15, align 8 %29 = load double, ptr %15, align 8 %30 = call double @llvm.fabs.f64(double %29) %31 = fsub double %30, 0x3FF921FB54442D18 %32 = call double @llvm.fabs.f64(double %31) %33 = fcmp olt double %32, 0x3D719799812DEA11 br i1 %33, label %34, label %41 34: ; preds = %7 %35 = load double, ptr %15, align 8 %36 = fcmp olt double %35, 0.000000e+00 %37 = zext i1 %36 to i64 %38 = select i1 %36, double 0xBD719799812DEA11, double 0x3D719799812DEA11 %39 = load double, ptr %15, align 8 %40 = fsub double %39, %38 store double %40, ptr %15, align 8 br label %47 41: ; preds = %7 %42 = load double, ptr %15, align 8 %43 = call double @llvm.fabs.f64(double %42) %44 = fcmp olt double %43, 0x3D719799812DEA11 br i1 %44, label %45, label %46 45: ; preds = %41 store double 0x3D719799812DEA11, ptr %15, align 8 br label %46 46: ; preds = %45, %41 br label %47 47: ; preds = %46, %34 %48 = load double, ptr %10, align 8 %49 = call double @slaDrange(double noundef %48) store double %49, ptr %16, align 8 %50 = load double, ptr %16, align 8 %51 = call double @llvm.fabs.f64(double %50) %52 = fsub double %51, 0x400921FB54442D18 %53 = call double @llvm.fabs.f64(double %52) %54 = fcmp olt double %53, 0x3D719799812DEA11 br i1 %54, label %55, label %62 55: ; preds = %47 %56 = load double, ptr %16, align 8 %57 = fcmp olt double %56, 0.000000e+00 %58 = zext i1 %57 to i64 %59 = select i1 %57, double 0xBD719799812DEA11, double 0x3D719799812DEA11 %60 = load double, ptr %16, align 8 %61 = fsub double %60, %59 store double %61, ptr %16, align 8 br label %68 62: ; preds = %47 %63 = load double, ptr %16, align 8 %64 = call double @llvm.fabs.f64(double %63) %65 = fcmp olt double %64, 0x3D719799812DEA11 br i1 %65, label %66, label %67 66: ; preds = %62 store double 0x3D719799812DEA11, ptr %16, align 8 br label %67 67: ; preds = %66, %62 br label %68 68: ; preds = %67, %55 %69 = load double, ptr %9, align 8 %70 = call double @slaDrange(double noundef %69) store double %70, ptr %17, align 8 %71 = load double, ptr %17, align 8 %72 = call double @llvm.fabs.f64(double %71) %73 = load double, ptr %8, align 8 %74 = call double @llvm.fabs.f64(double %73) %75 = fsub double %72, %74 %76 = call double @llvm.fabs.f64(double %75) %77 = fcmp olt double %76, 0x3D719799812DEA11 br i1 %77, label %78, label %85 78: ; preds = %68 %79 = load double, ptr %17, align 8 %80 = fcmp olt double %79, 0.000000e+00 %81 = zext i1 %80 to i64 %82 = select i1 %80, double 0xBD719799812DEA11, double 0x3D719799812DEA11 %83 = load double, ptr %17, align 8 %84 = fsub double %83, %82 store double %84, ptr %17, align 8 br label %105 85: ; preds = %68 %86 = load double, ptr %17, align 8 %87 = call double @llvm.fabs.f64(double %86) %88 = fsub double %87, 0x3FF921FB54442D18 %89 = call double @llvm.fabs.f64(double %88) %90 = fcmp olt double %89, 0x3D719799812DEA11 br i1 %90, label %91, label %98 91: ; preds = %85 %92 = load double, ptr %17, align 8 %93 = fcmp olt double %92, 0.000000e+00 %94 = zext i1 %93 to i64 %95 = select i1 %93, double 0xBD719799812DEA11, double 0x3D719799812DEA11 %96 = load double, ptr %17, align 8 %97 = fsub double %96, %95 store double %97, ptr %17, align 8 br label %104 98: ; preds = %85 %99 = load double, ptr %17, align 8 %100 = call double @llvm.fabs.f64(double %99) %101 = fcmp olt double %100, 0x3D719799812DEA11 br i1 %101, label %102, label %103 102: ; preds = %98 store double 0x3D719799812DEA11, ptr %17, align 8 br label %103 103: ; preds = %102, %98 br label %104 104: ; preds = %103, %91 br label %105 105: ; preds = %104, %78 %106 = load double, ptr %16, align 8 %107 = call double @sin(double noundef %106) #4 store double %107, ptr %18, align 8 %108 = load double, ptr %16, align 8 %109 = call double @cos(double noundef %108) #4 store double %109, ptr %19, align 8 %110 = load double, ptr %18, align 8 %111 = load double, ptr %17, align 8 %112 = call double @sin(double noundef %111) #4 %113 = fmul double %110, %112 store double %113, ptr %20, align 8 %114 = load double, ptr %15, align 8 %115 = call double @sin(double noundef %114) #4 %116 = load double, ptr %18, align 8 %117 = fmul double %115, %116 %118 = load double, ptr %17, align 8 %119 = call double @cos(double noundef %118) #4 %120 = fmul double %117, %119 store double %120, ptr %21, align 8 %121 = load double, ptr %15, align 8 %122 = call double @cos(double noundef %121) #4 %123 = load double, ptr %19, align 8 %124 = load double, ptr %19, align 8 %125 = load double, ptr %20, align 8 %126 = load double, ptr %20, align 8 %127 = fmul double %125, %126 %128 = call double @llvm.fmuladd.f64(double %123, double %124, double %127) %129 = call double @sqrt(double noundef %128) #4 %130 = fmul double %122, %129 store double %130, ptr %22, align 8 %131 = load double, ptr %21, align 8 %132 = call double @llvm.fabs.f64(double %131) %133 = load double, ptr %22, align 8 %134 = fcmp ole double %132, %133 br i1 %134, label %135, label %171 135: ; preds = %105 %136 = load double, ptr %21, align 8 %137 = load double, ptr %22, align 8 %138 = fdiv double %136, %137 %139 = call double @asin(double noundef %138) #4 store double %139, ptr %23, align 8 %140 = load double, ptr %20, align 8 %141 = load double, ptr %19, align 8 %142 = call double @atan2(double noundef %140, double noundef %141) #4 store double %142, ptr %24, align 8 %143 = load double, ptr %23, align 8 %144 = load double, ptr %24, align 8 %145 = fsub double %143, %144 %146 = call double @slaDrange(double noundef %145) %147 = load ptr, ptr %11, align 8 store double %146, ptr %147, align 8 %148 = load double, ptr %23, align 8 %149 = fneg double %148 %150 = load double, ptr %24, align 8 %151 = fadd double %150, 0x400921FB54442D18 %152 = fsub double %149, %151 %153 = call double @slaDrange(double noundef %152) %154 = load ptr, ptr %13, align 8 store double %153, ptr %154, align 8 %155 = load ptr, ptr %11, align 8 %156 = load double, ptr %155, align 8 %157 = load double, ptr %16, align 8 %158 = fmul double %156, %157 %159 = fcmp olt double %158, 0.000000e+00 br i1 %159, label %160, label %162 160: ; preds = %135 %161 = load ptr, ptr %12, align 8 store i32 -1, ptr %161, align 4 br label %162 162: ; preds = %160, %135 %163 = load ptr, ptr %13, align 8 %164 = load double, ptr %163, align 8 %165 = load double, ptr %16, align 8 %166 = fmul double %164, %165 %167 = fcmp olt double %166, 0.000000e+00 br i1 %167, label %168, label %170 168: ; preds = %162 %169 = load ptr, ptr %14, align 8 store i32 -1, ptr %169, align 4 br label %170 170: ; preds = %168, %162 br label %174 171: ; preds = %105 %172 = load ptr, ptr %12, align 8 store i32 -1, ptr %172, align 4 %173 = load ptr, ptr %14, align 8 store i32 -1, ptr %173, align 4 br label %174 174: ; preds = %171, %170 ret void } declare double @slaDrange(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 ; Function Attrs: nounwind declare double @sin(double noundef) #3 ; Function Attrs: nounwind declare double @cos(double noundef) #3 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @asin(double noundef) #3 ; Function Attrs: nounwind declare double @atan2(double noundef, double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { 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/tmpto_qsa_s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @slaPdq2h(double noundef %0, double noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 store double %0, ptr %8, align 8 store double %1, ptr %9, align 8 store double %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 %25 = load ptr, ptr %12, align 8 store i32 0, ptr %25, align 4 %26 = load ptr, ptr %14, align 8 store i32 0, ptr %26, align 4 %27 = load double, ptr %8, align 8 %28 = call double @slaDrange(double noundef %27) store double %28, ptr %15, align 8 %29 = load double, ptr %15, align 8 %30 = call double @llvm.fabs.f64(double %29) %31 = fsub double %30, 0x3FF921FB54442D18 %32 = call double @llvm.fabs.f64(double %31) %33 = fcmp olt double %32, 0x3D719799812DEA11 br i1 %33, label %34, label %41 34: ; preds = %7 %35 = load double, ptr %15, align 8 %36 = fcmp olt double %35, 0.000000e+00 %37 = zext i1 %36 to i64 %38 = select i1 %36, double 0xBD719799812DEA11, double 0x3D719799812DEA11 %39 = load double, ptr %15, align 8 %40 = fsub double %39, %38 store double %40, ptr %15, align 8 br label %47 41: ; preds = %7 %42 = load double, ptr %15, align 8 %43 = call double @llvm.fabs.f64(double %42) %44 = fcmp olt double %43, 0x3D719799812DEA11 br i1 %44, label %45, label %46 45: ; preds = %41 store double 0x3D719799812DEA11, ptr %15, align 8 br label %46 46: ; preds = %45, %41 br label %47 47: ; preds = %46, %34 %48 = load double, ptr %10, align 8 %49 = call double @slaDrange(double noundef %48) store double %49, ptr %16, align 8 %50 = load double, ptr %16, align 8 %51 = call double @llvm.fabs.f64(double %50) %52 = fsub double %51, 0x400921FB54442D18 %53 = call double @llvm.fabs.f64(double %52) %54 = fcmp olt double %53, 0x3D719799812DEA11 br i1 %54, label %55, label %62 55: ; preds = %47 %56 = load double, ptr %16, align 8 %57 = fcmp olt double %56, 0.000000e+00 %58 = zext i1 %57 to i64 %59 = select i1 %57, double 0xBD719799812DEA11, double 0x3D719799812DEA11 %60 = load double, ptr %16, align 8 %61 = fsub double %60, %59 store double %61, ptr %16, align 8 br label %68 62: ; preds = %47 %63 = load double, ptr %16, align 8 %64 = call double @llvm.fabs.f64(double %63) %65 = fcmp olt double %64, 0x3D719799812DEA11 br i1 %65, label %66, label %67 66: ; preds = %62 store double 0x3D719799812DEA11, ptr %16, align 8 br label %67 67: ; preds = %66, %62 br label %68 68: ; preds = %67, %55 %69 = load double, ptr %9, align 8 %70 = call double @slaDrange(double noundef %69) store double %70, ptr %17, align 8 %71 = load double, ptr %17, align 8 %72 = call double @llvm.fabs.f64(double %71) %73 = load double, ptr %8, align 8 %74 = call double @llvm.fabs.f64(double %73) %75 = fsub double %72, %74 %76 = call double @llvm.fabs.f64(double %75) %77 = fcmp olt double %76, 0x3D719799812DEA11 br i1 %77, label %78, label %85 78: ; preds = %68 %79 = load double, ptr %17, align 8 %80 = fcmp olt double %79, 0.000000e+00 %81 = zext i1 %80 to i64 %82 = select i1 %80, double 0xBD719799812DEA11, double 0x3D719799812DEA11 %83 = load double, ptr %17, align 8 %84 = fsub double %83, %82 store double %84, ptr %17, align 8 br label %105 85: ; preds = %68 %86 = load double, ptr %17, align 8 %87 = call double @llvm.fabs.f64(double %86) %88 = fsub double %87, 0x3FF921FB54442D18 %89 = call double @llvm.fabs.f64(double %88) %90 = fcmp olt double %89, 0x3D719799812DEA11 br i1 %90, label %91, label %98 91: ; preds = %85 %92 = load double, ptr %17, align 8 %93 = fcmp olt double %92, 0.000000e+00 %94 = zext i1 %93 to i64 %95 = select i1 %93, double 0xBD719799812DEA11, double 0x3D719799812DEA11 %96 = load double, ptr %17, align 8 %97 = fsub double %96, %95 store double %97, ptr %17, align 8 br label %104 98: ; preds = %85 %99 = load double, ptr %17, align 8 %100 = call double @llvm.fabs.f64(double %99) %101 = fcmp olt double %100, 0x3D719799812DEA11 br i1 %101, label %102, label %103 102: ; preds = %98 store double 0x3D719799812DEA11, ptr %17, align 8 br label %103 103: ; preds = %102, %98 br label %104 104: ; preds = %103, %91 br label %105 105: ; preds = %104, %78 %106 = load double, ptr %16, align 8 %107 = call double @sin(double noundef %106) #4 store double %107, ptr %18, align 8 %108 = load double, ptr %16, align 8 %109 = call double @cos(double noundef %108) #4 store double %109, ptr %19, align 8 %110 = load double, ptr %18, align 8 %111 = load double, ptr %17, align 8 %112 = call double @sin(double noundef %111) #4 %113 = fmul double %110, %112 store double %113, ptr %20, align 8 %114 = load double, ptr %15, align 8 %115 = call double @sin(double noundef %114) #4 %116 = load double, ptr %18, align 8 %117 = fmul double %115, %116 %118 = load double, ptr %17, align 8 %119 = call double @cos(double noundef %118) #4 %120 = fmul double %117, %119 store double %120, ptr %21, align 8 %121 = load double, ptr %15, align 8 %122 = call double @cos(double noundef %121) #4 %123 = load double, ptr %19, align 8 %124 = load double, ptr %19, align 8 %125 = load double, ptr %20, align 8 %126 = load double, ptr %20, align 8 %127 = fmul double %125, %126 %128 = call double @llvm.fmuladd.f64(double %123, double %124, double %127) %129 = call double @sqrt(double noundef %128) #4 %130 = fmul double %122, %129 store double %130, ptr %22, align 8 %131 = load double, ptr %21, align 8 %132 = call double @llvm.fabs.f64(double %131) %133 = load double, ptr %22, align 8 %134 = fcmp ole double %132, %133 br i1 %134, label %135, label %171 135: ; preds = %105 %136 = load double, ptr %21, align 8 %137 = load double, ptr %22, align 8 %138 = fdiv double %136, %137 %139 = call double @asin(double noundef %138) #4 store double %139, ptr %23, align 8 %140 = load double, ptr %20, align 8 %141 = load double, ptr %19, align 8 %142 = call double @atan2(double noundef %140, double noundef %141) #4 store double %142, ptr %24, align 8 %143 = load double, ptr %23, align 8 %144 = load double, ptr %24, align 8 %145 = fsub double %143, %144 %146 = call double @slaDrange(double noundef %145) %147 = load ptr, ptr %11, align 8 store double %146, ptr %147, align 8 %148 = load double, ptr %23, align 8 %149 = fneg double %148 %150 = load double, ptr %24, align 8 %151 = fadd double %150, 0x400921FB54442D18 %152 = fsub double %149, %151 %153 = call double @slaDrange(double noundef %152) %154 = load ptr, ptr %13, align 8 store double %153, ptr %154, align 8 %155 = load ptr, ptr %11, align 8 %156 = load double, ptr %155, align 8 %157 = load double, ptr %16, align 8 %158 = fmul double %156, %157 %159 = fcmp olt double %158, 0.000000e+00 br i1 %159, label %160, label %162 160: ; preds = %135 %161 = load ptr, ptr %12, align 8 store i32 -1, ptr %161, align 4 br label %162 162: ; preds = %160, %135 %163 = load ptr, ptr %13, align 8 %164 = load double, ptr %163, align 8 %165 = load double, ptr %16, align 8 %166 = fmul double %164, %165 %167 = fcmp olt double %166, 0.000000e+00 br i1 %167, label %168, label %170 168: ; preds = %162 %169 = load ptr, ptr %14, align 8 store i32 -1, ptr %169, align 4 br label %170 170: ; preds = %168, %162 br label %174 171: ; preds = %105 %172 = load ptr, ptr %12, align 8 store i32 -1, ptr %172, align 4 %173 = load ptr, ptr %14, align 8 store i32 -1, ptr %173, align 4 br label %174 174: ; preds = %171, %170 ret void } declare double @slaDrange(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 ; Function Attrs: nounwind declare double @sin(double noundef) #3 ; Function Attrs: nounwind declare double @cos(double noundef) #3 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @asin(double noundef) #3 ; Function Attrs: nounwind declare double @atan2(double noundef, double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { 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/tmp_eci7h_r.c' source_filename = "/tmp/tmp_eci7h_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ustar_strd() #0 { %1 = alloca i32, align 4 %2 = call i64 (...) @usrtb_start() %3 = icmp slt i64 %2, 0 br i1 %3, label %7, label %4 4: ; preds = %0 %5 = call i64 (...) @grptb_start() %6 = icmp slt i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %4, %0 store i32 -1, ptr %1, align 4 br label %9 8: ; preds = %4 store i32 0, ptr %1, align 4 br label %9 9: ; preds = %8, %7 %10 = load i32, ptr %1, align 4 ret i32 %10 } declare i64 @usrtb_start(...) #1 declare i64 @grptb_start(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_eci7h_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ustar_strd() #0 { %1 = alloca i32, align 4 %2 = call i64 (...) @usrtb_start() %3 = icmp slt i64 %2, 0 br i1 %3, label %7, label %4 4: ; preds = %0 %5 = call i64 (...) @grptb_start() %6 = icmp slt i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %4, %0 store i32 -1, ptr %1, align 4 br label %9 8: ; preds = %4 store i32 0, ptr %1, align 4 br label %9 9: ; preds = %8, %7 %10 = load i32, ptr %1, align 4 ret i32 %10 } declare i64 @usrtb_start(...) #1 declare i64 @grptb_start(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0tozosfd.c' source_filename = "/tmp/tmp0tozosfd.c" target datalayout = "e-m:e-p270: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/tmp0tozosfd.c" target datalayout = "e-m:e-p270: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/tmpiees3kci.c' source_filename = "/tmp/tmpiees3kci.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_pager(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 (...) @init_curses() br label %4 4: ; preds = %16, %8, %1 %5 = call i32 (...) @clear() %6 = load i32, ptr %2, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %4 store i32 0, ptr %2, align 4 %9 = call i32 (...) @keyword_prompt() %10 = call i32 (...) @filter_results() br label %4 11: ; preds = %4 %12 = call i32 (...) @refresh_listing() %13 = call signext i8 (...) @getch() %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 47 br i1 %15, label %16, label %19 16: ; preds = %11 %17 = call i32 (...) @keyword_prompt() %18 = call i32 (...) @filter_results() br label %4 19: ; preds = %11 br label %20 20: ; preds = %19 %21 = call i32 (...) @shutdown_curses() ret void } declare i32 @init_curses(...) #1 declare i32 @clear(...) #1 declare i32 @keyword_prompt(...) #1 declare i32 @filter_results(...) #1 declare i32 @refresh_listing(...) #1 declare signext i8 @getch(...) #1 declare i32 @shutdown_curses(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiees3kci.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_pager(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 (...) @init_curses() br label %4 4: ; preds = %.backedge, %1 %5 = call i32 (...) @clear() %6 = load i32, ptr %2, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %4 store i32 0, ptr %2, align 4 %9 = call i32 (...) @keyword_prompt() %10 = call i32 (...) @filter_results() br label %.backedge .backedge: ; preds = %8, %16 br label %4 11: ; preds = %4 %12 = call i32 (...) @refresh_listing() %13 = call signext i8 (...) @getch() %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 47 br i1 %15, label %16, label %19 16: ; preds = %11 %17 = call i32 (...) @keyword_prompt() %18 = call i32 (...) @filter_results() br label %.backedge 19: ; preds = %11 br label %20 20: ; preds = %19 %21 = call i32 (...) @shutdown_curses() ret void } declare i32 @init_curses(...) #1 declare i32 @clear(...) #1 declare i32 @keyword_prompt(...) #1 declare i32 @filter_results(...) #1 declare i32 @refresh_listing(...) #1 declare signext i8 @getch(...) #1 declare i32 @shutdown_curses(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpys_w34_0.c' source_filename = "/tmp/tmpys_w34_0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"\0A\0ASoma: %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @imprimeSoma(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/tmpys_w34_0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"\0A\0ASoma: %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @imprimeSoma(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/tmpekex9zvh.c' source_filename = "/tmp/tmpekex9zvh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"Index Pointer: %d Value at Index Pointer: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @b_debug(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds i32, ptr %6, i64 %8 %10 = load i32, ptr %9, align 4 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %10) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpekex9zvh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"Index Pointer: %d Value at Index Pointer: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @b_debug(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds i32, ptr %6, i64 %8 %10 = load i32, ptr %9, align 4 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %10) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9d119srw.c' source_filename = "/tmp/tmp9d119srw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" joined.\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c" left.\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"<%s> %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @makeResponse(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [1024 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = getelementptr inbounds i8, ptr %6, i64 0 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %3, align 8 %14 = call i32 @strcpy(ptr noundef %12, ptr noundef %13) %15 = load ptr, ptr %3, align 8 %16 = call i32 @strcat(ptr noundef %15, ptr noundef @.str) br label %38 17: ; preds = %2 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 0 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %29 23: ; preds = %17 %24 = load ptr, ptr %3, align 8 %25 = load ptr, ptr %4, align 8 %26 = call i32 @strcpy(ptr noundef %24, ptr noundef %25) %27 = load ptr, ptr %3, align 8 %28 = call i32 @strcat(ptr noundef %27, ptr noundef @.str.1) br label %37 29: ; preds = %17 %30 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %31 = load ptr, ptr %4, align 8 %32 = load ptr, ptr %3, align 8 %33 = call i32 @sprintf(ptr noundef %30, ptr noundef @.str.2, ptr noundef %31, ptr noundef %32) %34 = load ptr, ptr %3, align 8 %35 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %36 = call i32 @strcpy(ptr noundef %34, ptr noundef %35) br label %37 37: ; preds = %29, %23 br label %38 38: ; preds = %37, %11 ret void } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9d119srw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" joined.\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c" left.\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"<%s> %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @makeResponse(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [1024 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = getelementptr inbounds i8, ptr %6, i64 0 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %3, align 8 %14 = call i32 @strcpy(ptr noundef %12, ptr noundef %13) %15 = load ptr, ptr %3, align 8 %16 = call i32 @strcat(ptr noundef %15, ptr noundef @.str) br label %38 17: ; preds = %2 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 0 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %29 23: ; preds = %17 %24 = load ptr, ptr %3, align 8 %25 = load ptr, ptr %4, align 8 %26 = call i32 @strcpy(ptr noundef %24, ptr noundef %25) %27 = load ptr, ptr %3, align 8 %28 = call i32 @strcat(ptr noundef %27, ptr noundef @.str.1) br label %37 29: ; preds = %17 %30 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %31 = load ptr, ptr %4, align 8 %32 = load ptr, ptr %3, align 8 %33 = call i32 @sprintf(ptr noundef %30, ptr noundef @.str.2, ptr noundef %31, ptr noundef %32) %34 = load ptr, ptr %3, align 8 %35 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %36 = call i32 @strcpy(ptr noundef %34, ptr noundef %35) br label %37 37: ; preds = %29, %23 br label %38 38: ; preds = %37, %11 ret void } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1i8k1i6g.c' source_filename = "/tmp/tmp1i8k1i6g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [58 x i8] c"/sys/devices/platform/coretemp.0/hwmon/hwmon1/temp2_input\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"%[^\0A]\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store i32 0, ptr %1, align 4 %5 = load i32, ptr @PATH_MAX, align 4 %6 = zext i32 %5 to i64 %7 = call ptr @llvm.stacksave() store ptr %7, ptr %3, align 8 %8 = alloca i8, i64 %6, align 16 store i64 %6, ptr %4, align 8 %9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %9, ptr %2, align 8 %10 = load ptr, ptr %2, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %14, label %12 12: ; preds = %0 %13 = call i32 @err(i32 noundef 1, ptr noundef @.str.2, ptr noundef @.str) br label %14 14: ; preds = %12, %0 %15 = load ptr, ptr %2, align 8 %16 = call i32 @fscanf(ptr noundef %15, ptr noundef @.str.3, ptr noundef %8) %17 = call i32 @atoi(ptr noundef %8) %18 = sdiv i32 %17, 1000 %19 = call i32 @printf(ptr noundef @.str.4, i32 noundef %18) %20 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %20, ptr %1, align 4 %21 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %21) %22 = load i32, ptr %1, align 4 ret i32 %22 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @err(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 declare i32 @atoi(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1i8k1i6g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [58 x i8] c"/sys/devices/platform/coretemp.0/hwmon/hwmon1/temp2_input\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"%[^\0A]\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store i32 0, ptr %1, align 4 %5 = load i32, ptr @PATH_MAX, align 4 %6 = zext i32 %5 to i64 %7 = call ptr @llvm.stacksave() store ptr %7, ptr %3, align 8 %8 = alloca i8, i64 %6, align 16 store i64 %6, ptr %4, align 8 %9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %9, ptr %2, align 8 %10 = load ptr, ptr %2, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %14, label %12 12: ; preds = %0 %13 = call i32 @err(i32 noundef 1, ptr noundef @.str.2, ptr noundef @.str) br label %14 14: ; preds = %12, %0 %15 = load ptr, ptr %2, align 8 %16 = call i32 @fscanf(ptr noundef %15, ptr noundef @.str.3, ptr noundef %8) %17 = call i32 @atoi(ptr noundef %8) %18 = sdiv i32 %17, 1000 %19 = call i32 @printf(ptr noundef @.str.4, i32 noundef %18) %20 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %20, ptr %1, align 4 %21 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %21) %22 = load i32, ptr %1, align 4 ret i32 %22 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @err(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 declare i32 @atoi(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptxmb35s_.c' source_filename = "/tmp/tmptxmb35s_.c" target datalayout = "e-m:e-p270: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.can_frame = type { i32, i32, ptr } @CAN_ERR_FLAG = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"%08X#\00", align 1 @CAN_ERR_MASK = dso_local global i32 0, align 4 @CAN_EFF_FLAG = dso_local global i32 0, align 4 @CAN_EFF_MASK = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"%03X#\00", align 1 @CAN_SFF_MASK = dso_local global i32 0, align 4 @CAN_RTR_FLAG = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [4 x i8] c"R%d\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"R\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"%02X\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c".\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sprint_canframe(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 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 %12 = load ptr, ptr %6, align 8 %13 = getelementptr inbounds %struct.can_frame, ptr %12, i32 0, i32 0 %14 = load i32, ptr %13, align 8 %15 = load i32, ptr %8, align 4 %16 = icmp sgt i32 %14, %15 br i1 %16, label %17, label %19 17: ; preds = %4 %18 = load i32, ptr %8, align 4 br label %23 19: ; preds = %4 %20 = load ptr, ptr %6, align 8 %21 = getelementptr inbounds %struct.can_frame, ptr %20, i32 0, i32 0 %22 = load i32, ptr %21, align 8 br label %23 23: ; preds = %19, %17 %24 = phi i32 [ %18, %17 ], [ %22, %19 ] store i32 %24, ptr %11, align 4 %25 = load ptr, ptr %6, align 8 %26 = getelementptr inbounds %struct.can_frame, ptr %25, i32 0, i32 1 %27 = load i32, ptr %26, align 4 %28 = load i32, ptr @CAN_ERR_FLAG, align 4 %29 = and i32 %27, %28 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %41 31: ; preds = %23 %32 = load ptr, ptr %5, align 8 %33 = load ptr, ptr %6, align 8 %34 = getelementptr inbounds %struct.can_frame, ptr %33, i32 0, i32 1 %35 = load i32, ptr %34, align 4 %36 = load i32, ptr @CAN_ERR_MASK, align 4 %37 = load i32, ptr @CAN_ERR_FLAG, align 4 %38 = or i32 %36, %37 %39 = and i32 %35, %38 %40 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %32, ptr noundef @.str, i32 noundef %39) store i32 9, ptr %10, align 4 br label %65 41: ; preds = %23 %42 = load ptr, ptr %6, align 8 %43 = getelementptr inbounds %struct.can_frame, ptr %42, i32 0, i32 1 %44 = load i32, ptr %43, align 4 %45 = load i32, ptr @CAN_EFF_FLAG, align 4 %46 = and i32 %44, %45 %47 = icmp ne i32 %46, 0 br i1 %47, label %48, label %56 48: ; preds = %41 %49 = load ptr, ptr %5, align 8 %50 = load ptr, ptr %6, align 8 %51 = getelementptr inbounds %struct.can_frame, ptr %50, i32 0, i32 1 %52 = load i32, ptr %51, align 4 %53 = load i32, ptr @CAN_EFF_MASK, align 4 %54 = and i32 %52, %53 %55 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %49, ptr noundef @.str, i32 noundef %54) store i32 9, ptr %10, align 4 br label %64 56: ; preds = %41 %57 = load ptr, ptr %5, align 8 %58 = load ptr, ptr %6, align 8 %59 = getelementptr inbounds %struct.can_frame, ptr %58, i32 0, i32 1 %60 = load i32, ptr %59, align 4 %61 = load i32, ptr @CAN_SFF_MASK, align 4 %62 = and i32 %60, %61 %63 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %57, ptr noundef @.str.1, i32 noundef %62) store i32 4, ptr %10, align 4 br label %64 64: ; preds = %56, %48 br label %65 65: ; preds = %64, %31 %66 = load ptr, ptr %6, align 8 %67 = getelementptr inbounds %struct.can_frame, ptr %66, i32 0, i32 1 %68 = load i32, ptr %67, align 4 %69 = load i32, ptr @CAN_RTR_FLAG, align 4 %70 = and i32 %68, %69 %71 = icmp ne i32 %70, 0 br i1 %71, label %72, label %93 72: ; preds = %65 %73 = load ptr, ptr %6, align 8 %74 = getelementptr inbounds %struct.can_frame, ptr %73, i32 0, i32 0 %75 = load i32, ptr %74, align 8 %76 = icmp ne i32 %75, 0 br i1 %76, label %77, label %86 77: ; preds = %72 %78 = load ptr, ptr %5, align 8 %79 = load i32, ptr %10, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i8, ptr %78, i64 %80 %82 = load ptr, ptr %6, align 8 %83 = getelementptr inbounds %struct.can_frame, ptr %82, i32 0, i32 0 %84 = load i32, ptr %83, align 8 %85 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %81, ptr noundef @.str.2, i32 noundef %84) br label %92 86: ; preds = %72 %87 = load ptr, ptr %5, align 8 %88 = load i32, ptr %10, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i8, ptr %87, i64 %89 %91 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %90, ptr noundef @.str.3) br label %92 92: ; preds = %86, %77 br label %131 93: ; preds = %65 store i32 0, ptr %9, align 4 br label %94 94: ; preds = %128, %93 %95 = load i32, ptr %9, align 4 %96 = load i32, ptr %11, align 4 %97 = icmp slt i32 %95, %96 br i1 %97, label %98, label %131 98: ; preds = %94 %99 = load ptr, ptr %5, align 8 %100 = load i32, ptr %10, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds i8, ptr %99, i64 %101 %103 = load ptr, ptr %6, align 8 %104 = getelementptr inbounds %struct.can_frame, ptr %103, i32 0, i32 2 %105 = load ptr, ptr %104, align 8 %106 = load i32, ptr %9, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds i32, ptr %105, i64 %107 %109 = load i32, ptr %108, align 4 %110 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %102, ptr noundef @.str.4, i32 noundef %109) %111 = load i32, ptr %10, align 4 %112 = add nsw i32 %111, 2 store i32 %112, ptr %10, align 4 %113 = load i32, ptr %7, align 4 %114 = icmp ne i32 %113, 0 br i1 %114, label %115, label %127 115: ; preds = %98 %116 = load i32, ptr %9, align 4 %117 = add nsw i32 %116, 1 %118 = load i32, ptr %11, align 4 %119 = icmp slt i32 %117, %118 br i1 %119, label %120, label %127 120: ; preds = %115 %121 = load ptr, ptr %5, align 8 %122 = load i32, ptr %10, align 4 %123 = add nsw i32 %122, 1 store i32 %123, ptr %10, align 4 %124 = sext i32 %122 to i64 %125 = getelementptr inbounds i8, ptr %121, i64 %124 %126 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %125, ptr noundef @.str.5) br label %127 127: ; preds = %120, %115, %98 br label %128 128: ; preds = %127 %129 = load i32, ptr %9, align 4 %130 = add nsw i32 %129, 1 store i32 %130, ptr %9, align 4 br label %94, !llvm.loop !6 131: ; preds = %92, %94 ret void } declare i32 @sprintf(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/tmptxmb35s_.c" target datalayout = "e-m:e-p270: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.can_frame = type { i32, i32, ptr } @CAN_ERR_FLAG = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"%08X#\00", align 1 @CAN_ERR_MASK = dso_local global i32 0, align 4 @CAN_EFF_FLAG = dso_local global i32 0, align 4 @CAN_EFF_MASK = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"%03X#\00", align 1 @CAN_SFF_MASK = dso_local global i32 0, align 4 @CAN_RTR_FLAG = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [4 x i8] c"R%d\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"R\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"%02X\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c".\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sprint_canframe(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 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 %12 = load ptr, ptr %6, align 8 %13 = getelementptr inbounds %struct.can_frame, ptr %12, i32 0, i32 0 %14 = load i32, ptr %13, align 8 %15 = load i32, ptr %8, align 4 %16 = icmp sgt i32 %14, %15 br i1 %16, label %17, label %19 17: ; preds = %4 %18 = load i32, ptr %8, align 4 br label %23 19: ; preds = %4 %20 = load ptr, ptr %6, align 8 %21 = getelementptr inbounds %struct.can_frame, ptr %20, i32 0, i32 0 %22 = load i32, ptr %21, align 8 br label %23 23: ; preds = %19, %17 %24 = phi i32 [ %18, %17 ], [ %22, %19 ] store i32 %24, ptr %11, align 4 %25 = load ptr, ptr %6, align 8 %26 = getelementptr inbounds %struct.can_frame, ptr %25, i32 0, i32 1 %27 = load i32, ptr %26, align 4 %28 = load i32, ptr @CAN_ERR_FLAG, align 4 %29 = and i32 %27, %28 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %41 31: ; preds = %23 %32 = load ptr, ptr %5, align 8 %33 = load ptr, ptr %6, align 8 %34 = getelementptr inbounds %struct.can_frame, ptr %33, i32 0, i32 1 %35 = load i32, ptr %34, align 4 %36 = load i32, ptr @CAN_ERR_MASK, align 4 %37 = load i32, ptr @CAN_ERR_FLAG, align 4 %38 = or i32 %36, %37 %39 = and i32 %35, %38 %40 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %32, ptr noundef @.str, i32 noundef %39) store i32 9, ptr %10, align 4 br label %65 41: ; preds = %23 %42 = load ptr, ptr %6, align 8 %43 = getelementptr inbounds %struct.can_frame, ptr %42, i32 0, i32 1 %44 = load i32, ptr %43, align 4 %45 = load i32, ptr @CAN_EFF_FLAG, align 4 %46 = and i32 %44, %45 %47 = icmp ne i32 %46, 0 br i1 %47, label %48, label %56 48: ; preds = %41 %49 = load ptr, ptr %5, align 8 %50 = load ptr, ptr %6, align 8 %51 = getelementptr inbounds %struct.can_frame, ptr %50, i32 0, i32 1 %52 = load i32, ptr %51, align 4 %53 = load i32, ptr @CAN_EFF_MASK, align 4 %54 = and i32 %52, %53 %55 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %49, ptr noundef @.str, i32 noundef %54) store i32 9, ptr %10, align 4 br label %64 56: ; preds = %41 %57 = load ptr, ptr %5, align 8 %58 = load ptr, ptr %6, align 8 %59 = getelementptr inbounds %struct.can_frame, ptr %58, i32 0, i32 1 %60 = load i32, ptr %59, align 4 %61 = load i32, ptr @CAN_SFF_MASK, align 4 %62 = and i32 %60, %61 %63 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %57, ptr noundef @.str.1, i32 noundef %62) store i32 4, ptr %10, align 4 br label %64 64: ; preds = %56, %48 br label %65 65: ; preds = %64, %31 %66 = load ptr, ptr %6, align 8 %67 = getelementptr inbounds %struct.can_frame, ptr %66, i32 0, i32 1 %68 = load i32, ptr %67, align 4 %69 = load i32, ptr @CAN_RTR_FLAG, align 4 %70 = and i32 %68, %69 %71 = icmp ne i32 %70, 0 br i1 %71, label %72, label %93 72: ; preds = %65 %73 = load ptr, ptr %6, align 8 %74 = getelementptr inbounds %struct.can_frame, ptr %73, i32 0, i32 0 %75 = load i32, ptr %74, align 8 %76 = icmp ne i32 %75, 0 br i1 %76, label %77, label %86 77: ; preds = %72 %78 = load ptr, ptr %5, align 8 %79 = load i32, ptr %10, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i8, ptr %78, i64 %80 %82 = load ptr, ptr %6, align 8 %83 = getelementptr inbounds %struct.can_frame, ptr %82, i32 0, i32 0 %84 = load i32, ptr %83, align 8 %85 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %81, ptr noundef @.str.2, i32 noundef %84) br label %92 86: ; preds = %72 %87 = load ptr, ptr %5, align 8 %88 = load i32, ptr %10, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i8, ptr %87, i64 %89 %91 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %90, ptr noundef @.str.3) br label %92 92: ; preds = %86, %77 br label %133 93: ; preds = %65 store i32 0, ptr %9, align 4 %94 = load i32, ptr %9, align 4 %95 = load i32, ptr %11, align 4 %96 = icmp slt i32 %94, %95 br i1 %96, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %93 br label %97 97: ; preds = %.lr.ph, %127 %98 = load ptr, ptr %5, align 8 %99 = load i32, ptr %10, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds i8, ptr %98, i64 %100 %102 = load ptr, ptr %6, align 8 %103 = getelementptr inbounds %struct.can_frame, ptr %102, i32 0, i32 2 %104 = load ptr, ptr %103, align 8 %105 = load i32, ptr %9, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds i32, ptr %104, i64 %106 %108 = load i32, ptr %107, align 4 %109 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %101, ptr noundef @.str.4, i32 noundef %108) %110 = load i32, ptr %10, align 4 %111 = add nsw i32 %110, 2 store i32 %111, ptr %10, align 4 %112 = load i32, ptr %7, align 4 %113 = icmp ne i32 %112, 0 br i1 %113, label %114, label %126 114: ; preds = %97 %115 = load i32, ptr %9, align 4 %116 = add nsw i32 %115, 1 %117 = load i32, ptr %11, align 4 %118 = icmp slt i32 %116, %117 br i1 %118, label %119, label %126 119: ; preds = %114 %120 = load ptr, ptr %5, align 8 %121 = load i32, ptr %10, align 4 %122 = add nsw i32 %121, 1 store i32 %122, ptr %10, align 4 %123 = sext i32 %121 to i64 %124 = getelementptr inbounds i8, ptr %120, i64 %123 %125 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %124, ptr noundef @.str.5) br label %126 126: ; preds = %119, %114, %97 br label %127 127: ; preds = %126 %128 = load i32, ptr %9, align 4 %129 = add nsw i32 %128, 1 store i32 %129, ptr %9, align 4 %130 = load i32, ptr %9, align 4 %131 = load i32, ptr %11, align 4 %132 = icmp slt i32 %130, %131 br i1 %132, label %97, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %127 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %93 br label %133 133: ; preds = %.loopexit, %92 ret void } declare i32 @sprintf(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/tmpk2d2r8f7.c' source_filename = "/tmp/tmpk2d2r8f7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 1, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %28, %0 %6 = call i64 (...) @unknown2() %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %29 8: ; preds = %5 %9 = load i32, ptr %1, align 4 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %18 11: ; preds = %8 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %1, align 4 %15 = icmp ne i32 %14, 0 %16 = xor i1 %15, true %17 = zext i1 %16 to i32 store i32 %17, ptr %1, align 4 br label %18 18: ; preds = %11, %8 %19 = load i32, ptr %2, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %28, label %21 21: ; preds = %18 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp ne i32 %24, 0 %26 = xor i1 %25, true %27 = zext i1 %26 to i32 store i32 %27, ptr %2, align 4 br label %28 28: ; preds = %21, %18 br label %5, !llvm.loop !6 29: ; preds = %5 %30 = load i32, ptr %3, align 4 %31 = load i32, ptr %4, align 4 %32 = icmp eq i32 %30, %31 %33 = zext i1 %32 to i32 %34 = call i32 @static_assert(i32 noundef %33) ret void } declare i64 @unknown2(...) #1 declare i32 @static_assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk2d2r8f7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 1, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %5 = call i64 (...) @unknown2() %6 = icmp ne i64 %5, 0 br i1 %6, label %.lr.ph, label %30 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %27 %8 = load i32, ptr %1, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %17 10: ; preds = %7 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %1, align 4 %14 = icmp ne i32 %13, 0 %15 = xor i1 %14, true %16 = zext i1 %15 to i32 store i32 %16, ptr %1, align 4 br label %17 17: ; preds = %10, %7 %18 = load i32, ptr %2, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %27, label %20 20: ; preds = %17 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %2, align 4 %24 = icmp ne i32 %23, 0 %25 = xor i1 %24, true %26 = zext i1 %25 to i32 store i32 %26, ptr %2, align 4 br label %27 27: ; preds = %20, %17 %28 = call i64 (...) @unknown2() %29 = icmp ne i64 %28, 0 br i1 %29, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %30 30: ; preds = %._crit_edge, %0 %31 = load i32, ptr %3, align 4 %32 = load i32, ptr %4, align 4 %33 = icmp eq i32 %31, %32 %34 = zext i1 %33 to i32 %35 = call i32 @static_assert(i32 noundef %34) ret void } declare i64 @unknown2(...) #1 declare i32 @static_assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpo7vc8x96.c' source_filename = "/tmp/tmpo7vc8x96.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 @create_thread(i32 noundef 0) %8 = call i32 @sleep(i32 noundef 1) %9 = call i32 @create_thread(i32 noundef 1) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = call i32 @pthread_join(i32 noundef %10, ptr noundef null) ret i32 0 } declare i32 @create_thread(i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @pthread_join(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo7vc8x96.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 @create_thread(i32 noundef 0) %8 = call i32 @sleep(i32 noundef 1) %9 = call i32 @create_thread(i32 noundef 1) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = call i32 @pthread_join(i32 noundef %10, ptr noundef null) ret i32 0 } declare i32 @create_thread(i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @pthread_join(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1kjcz8hg.c' source_filename = "/tmp/tmp1kjcz8hg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [112 x i8] c"\0A1. Numeric\0A2. Lower/Upper Case\0A3. Numeric + Lower/Upper Case\0A4. Numeric + Lower/Upper Case + Symbols\0A0. Back\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getNumberOfCharactersMenu() #0 { %1 = alloca ptr, align 8 %2 = call i64 @malloc(i32 noundef 133) %3 = inttoptr i64 %2 to ptr store ptr %3, ptr %1, align 8 %4 = load ptr, ptr %1, align 8 %5 = call i32 @checkMalloc(ptr noundef %4) %6 = load ptr, ptr %1, align 8 %7 = call i32 @strncpy(ptr noundef %6, ptr noundef @.str, i32 noundef 133) %8 = load ptr, ptr %1, align 8 ret ptr %8 } declare i64 @malloc(i32 noundef) #1 declare i32 @checkMalloc(ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1kjcz8hg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [112 x i8] c"\0A1. Numeric\0A2. Lower/Upper Case\0A3. Numeric + Lower/Upper Case\0A4. Numeric + Lower/Upper Case + Symbols\0A0. Back\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getNumberOfCharactersMenu() #0 { %1 = alloca ptr, align 8 %2 = call i64 @malloc(i32 noundef 133) %3 = inttoptr i64 %2 to ptr store ptr %3, ptr %1, align 8 %4 = load ptr, ptr %1, align 8 %5 = call i32 @checkMalloc(ptr noundef %4) %6 = load ptr, ptr %1, align 8 %7 = call i32 @strncpy(ptr noundef %6, ptr noundef @.str, i32 noundef 133) %8 = load ptr, ptr %1, align 8 ret ptr %8 } declare i64 @malloc(i32 noundef) #1 declare i32 @checkMalloc(ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmparbzf3zl.c' source_filename = "/tmp/tmparbzf3zl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"TestKey\00", align 1 @BF_DECRYPT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @bf_str_decrypt(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %11 = load ptr, ptr %3, align 8 %12 = call i32 @strlen(ptr noundef %11) %13 = icmp ne i32 %12, 0 br i1 %13, label %15, label %14 14: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %99 15: ; preds = %1 %16 = load ptr, ptr %3, align 8 store ptr %16, ptr %4, align 8 %17 = call i64 @malloc(i32 noundef 512) %18 = inttoptr i64 %17 to ptr store ptr %18, ptr %5, align 8 %19 = call i64 @malloc(i32 noundef 9) %20 = inttoptr i64 %19 to ptr store ptr %20, ptr %6, align 8 %21 = call ptr @calloc(i32 noundef 9, i32 noundef 8) store ptr %21, ptr %7, align 8 %22 = call ptr @calloc(i32 noundef 9, i32 noundef 9) store ptr %22, ptr %8, align 8 %23 = load ptr, ptr %8, align 8 %24 = call i32 @BF_set_key(ptr noundef %23, i32 noundef 256, ptr noundef @.str.1) store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %25 = load ptr, ptr %5, align 8 %26 = call i32 @bzero(ptr noundef %25, i32 noundef 512) br label %27 27: ; preds = %59, %15 %28 = load ptr, ptr %4, align 8 %29 = load i8, ptr %28, align 1 %30 = zext i8 %29 to i32 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %35 32: ; preds = %27 %33 = load i32, ptr %10, align 4 %34 = icmp ne i32 %33, 511 br label %35 35: ; preds = %32, %27 %36 = phi i1 [ false, %27 ], [ %34, %32 ] br i1 %36, label %37, label %66 37: ; preds = %35 %38 = load ptr, ptr %4, align 8 %39 = load i8, ptr %38, align 1 %40 = load ptr, ptr %6, align 8 %41 = load i32, ptr %9, align 4 %42 = zext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 store i8 %39, ptr %43, align 1 %44 = load i32, ptr %9, align 4 %45 = icmp eq i32 %44, 7 br i1 %45, label %46, label %59 46: ; preds = %37 %47 = load ptr, ptr %6, align 8 %48 = load ptr, ptr %7, align 8 %49 = load ptr, ptr %8, align 8 %50 = load i32, ptr @BF_DECRYPT, align 4 %51 = call i32 @BF_ecb_encrypt(ptr noundef %47, ptr noundef %48, ptr noundef %49, i32 noundef %50) %52 = load ptr, ptr %5, align 8 %53 = load ptr, ptr %7, align 8 %54 = call i32 @strcat(ptr noundef %52, ptr noundef %53) %55 = load ptr, ptr %7, align 8 %56 = call i32 @bzero(ptr noundef %55, i32 noundef 9) %57 = load ptr, ptr %6, align 8 %58 = call i32 @bzero(ptr noundef %57, i32 noundef 9) store i32 -1, ptr %9, align 4 br label %59 59: ; preds = %46, %37 %60 = load ptr, ptr %4, align 8 %61 = getelementptr inbounds i8, ptr %60, i32 1 store ptr %61, ptr %4, align 8 %62 = load i32, ptr %9, align 4 %63 = add i32 %62, 1 store i32 %63, ptr %9, align 4 %64 = load i32, ptr %10, align 4 %65 = add i32 %64, 1 store i32 %65, ptr %10, align 4 br label %27, !llvm.loop !6 66: ; preds = %35 %67 = load i32, ptr %9, align 4 %68 = icmp ugt i32 %67, 0 br i1 %68, label %69, label %81 69: ; preds = %66 %70 = load i32, ptr %9, align 4 %71 = icmp ult i32 %70, 8 br i1 %71, label %72, label %81 72: ; preds = %69 %73 = load ptr, ptr %6, align 8 %74 = load ptr, ptr %7, align 8 %75 = load ptr, ptr %8, align 8 %76 = load i32, ptr @BF_DECRYPT, align 4 %77 = call i32 @BF_ecb_encrypt(ptr noundef %73, ptr noundef %74, ptr noundef %75, i32 noundef %76) %78 = load ptr, ptr %5, align 8 %79 = load ptr, ptr %7, align 8 %80 = call i32 @strcat(ptr noundef %78, ptr noundef %79) br label %81 81: ; preds = %72, %69, %66 %82 = load ptr, ptr %7, align 8 %83 = call i32 @bzero(ptr noundef %82, i32 noundef 9) %84 = load ptr, ptr %6, align 8 %85 = call i32 @bzero(ptr noundef %84, i32 noundef 9) %86 = load ptr, ptr %7, align 8 %87 = icmp ne ptr %86, null br i1 %87, label %88, label %91 88: ; preds = %81 %89 = load ptr, ptr %7, align 8 %90 = call i32 @free(ptr noundef %89) br label %91 91: ; preds = %88, %81 %92 = load ptr, ptr %6, align 8 %93 = icmp ne ptr %92, null br i1 %93, label %94, label %97 94: ; preds = %91 %95 = load ptr, ptr %6, align 8 %96 = call i32 @free(ptr noundef %95) br label %97 97: ; preds = %94, %91 %98 = load ptr, ptr %5, align 8 store ptr %98, ptr %2, align 8 br label %99 99: ; preds = %97, %14 %100 = load ptr, ptr %2, align 8 ret ptr %100 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @BF_set_key(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @BF_ecb_encrypt(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmparbzf3zl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"TestKey\00", align 1 @BF_DECRYPT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @bf_str_decrypt(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %11 = load ptr, ptr %3, align 8 %12 = call i32 @strlen(ptr noundef %11) %13 = icmp ne i32 %12, 0 br i1 %13, label %15, label %14 14: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %99 15: ; preds = %1 %16 = load ptr, ptr %3, align 8 store ptr %16, ptr %4, align 8 %17 = call i64 @malloc(i32 noundef 512) %18 = inttoptr i64 %17 to ptr store ptr %18, ptr %5, align 8 %19 = call i64 @malloc(i32 noundef 9) %20 = inttoptr i64 %19 to ptr store ptr %20, ptr %6, align 8 %21 = call ptr @calloc(i32 noundef 9, i32 noundef 8) store ptr %21, ptr %7, align 8 %22 = call ptr @calloc(i32 noundef 9, i32 noundef 9) store ptr %22, ptr %8, align 8 %23 = load ptr, ptr %8, align 8 %24 = call i32 @BF_set_key(ptr noundef %23, i32 noundef 256, ptr noundef @.str.1) store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %25 = load ptr, ptr %5, align 8 %26 = call i32 @bzero(ptr noundef %25, i32 noundef 512) br label %27 27: ; preds = %59, %15 %28 = load ptr, ptr %4, align 8 %29 = load i8, ptr %28, align 1 %30 = zext i8 %29 to i32 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %35 32: ; preds = %27 %33 = load i32, ptr %10, align 4 %34 = icmp ne i32 %33, 511 br label %35 35: ; preds = %32, %27 %36 = phi i1 [ false, %27 ], [ %34, %32 ] br i1 %36, label %37, label %66 37: ; preds = %35 %38 = load ptr, ptr %4, align 8 %39 = load i8, ptr %38, align 1 %40 = load ptr, ptr %6, align 8 %41 = load i32, ptr %9, align 4 %42 = zext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 store i8 %39, ptr %43, align 1 %44 = load i32, ptr %9, align 4 %45 = icmp eq i32 %44, 7 br i1 %45, label %46, label %59 46: ; preds = %37 %47 = load ptr, ptr %6, align 8 %48 = load ptr, ptr %7, align 8 %49 = load ptr, ptr %8, align 8 %50 = load i32, ptr @BF_DECRYPT, align 4 %51 = call i32 @BF_ecb_encrypt(ptr noundef %47, ptr noundef %48, ptr noundef %49, i32 noundef %50) %52 = load ptr, ptr %5, align 8 %53 = load ptr, ptr %7, align 8 %54 = call i32 @strcat(ptr noundef %52, ptr noundef %53) %55 = load ptr, ptr %7, align 8 %56 = call i32 @bzero(ptr noundef %55, i32 noundef 9) %57 = load ptr, ptr %6, align 8 %58 = call i32 @bzero(ptr noundef %57, i32 noundef 9) store i32 -1, ptr %9, align 4 br label %59 59: ; preds = %46, %37 %60 = load ptr, ptr %4, align 8 %61 = getelementptr inbounds i8, ptr %60, i32 1 store ptr %61, ptr %4, align 8 %62 = load i32, ptr %9, align 4 %63 = add i32 %62, 1 store i32 %63, ptr %9, align 4 %64 = load i32, ptr %10, align 4 %65 = add i32 %64, 1 store i32 %65, ptr %10, align 4 br label %27, !llvm.loop !6 66: ; preds = %35 %67 = load i32, ptr %9, align 4 %68 = icmp ugt i32 %67, 0 br i1 %68, label %69, label %81 69: ; preds = %66 %70 = load i32, ptr %9, align 4 %71 = icmp ult i32 %70, 8 br i1 %71, label %72, label %81 72: ; preds = %69 %73 = load ptr, ptr %6, align 8 %74 = load ptr, ptr %7, align 8 %75 = load ptr, ptr %8, align 8 %76 = load i32, ptr @BF_DECRYPT, align 4 %77 = call i32 @BF_ecb_encrypt(ptr noundef %73, ptr noundef %74, ptr noundef %75, i32 noundef %76) %78 = load ptr, ptr %5, align 8 %79 = load ptr, ptr %7, align 8 %80 = call i32 @strcat(ptr noundef %78, ptr noundef %79) br label %81 81: ; preds = %72, %69, %66 %82 = load ptr, ptr %7, align 8 %83 = call i32 @bzero(ptr noundef %82, i32 noundef 9) %84 = load ptr, ptr %6, align 8 %85 = call i32 @bzero(ptr noundef %84, i32 noundef 9) %86 = load ptr, ptr %7, align 8 %87 = icmp ne ptr %86, null br i1 %87, label %88, label %91 88: ; preds = %81 %89 = load ptr, ptr %7, align 8 %90 = call i32 @free(ptr noundef %89) br label %91 91: ; preds = %88, %81 %92 = load ptr, ptr %6, align 8 %93 = icmp ne ptr %92, null br i1 %93, label %94, label %97 94: ; preds = %91 %95 = load ptr, ptr %6, align 8 %96 = call i32 @free(ptr noundef %95) br label %97 97: ; preds = %94, %91 %98 = load ptr, ptr %5, align 8 store ptr %98, ptr %2, align 8 br label %99 99: ; preds = %97, %14 %100 = load ptr, ptr %2, align 8 ret ptr %100 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @BF_set_key(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @BF_ecb_encrypt(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpu1qlcpt_.c' source_filename = "/tmp/tmpu1qlcpt_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"foo\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"bar\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"foobar\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_f8() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr @.str, ptr %1, align 8 store ptr @.str.1, ptr %2, align 8 store ptr @.str.2, ptr %3, align 8 %5 = load ptr, ptr %1, align 8 %6 = call i32 @stringToList(ptr noundef %5) %7 = load ptr, ptr %2, align 8 %8 = call i32 @stringToList(ptr noundef %7) %9 = call i32 @__crow_f8(i32 noundef %6, i32 noundef %8) %10 = call ptr @listToString(i32 noundef %9) store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %3, align 8 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %3, align 8 %14 = call i32 @strlen(ptr noundef %13) %15 = call i32 @memcmp(ptr noundef %11, ptr noundef %12, i32 noundef %14) %16 = call i32 @expect(i32 noundef 0, i32 noundef %15) ret i32 %16 } declare ptr @listToString(i32 noundef) #1 declare i32 @__crow_f8(i32 noundef, i32 noundef) #1 declare i32 @stringToList(ptr noundef) #1 declare i32 @expect(i32 noundef, i32 noundef) #1 declare i32 @memcmp(ptr 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/tmpu1qlcpt_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"foo\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"bar\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"foobar\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_f8() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr @.str, ptr %1, align 8 store ptr @.str.1, ptr %2, align 8 store ptr @.str.2, ptr %3, align 8 %5 = load ptr, ptr %1, align 8 %6 = call i32 @stringToList(ptr noundef %5) %7 = load ptr, ptr %2, align 8 %8 = call i32 @stringToList(ptr noundef %7) %9 = call i32 @__crow_f8(i32 noundef %6, i32 noundef %8) %10 = call ptr @listToString(i32 noundef %9) store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %3, align 8 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %3, align 8 %14 = call i32 @strlen(ptr noundef %13) %15 = call i32 @memcmp(ptr noundef %11, ptr noundef %12, i32 noundef %14) %16 = call i32 @expect(i32 noundef 0, i32 noundef %15) ret i32 %16 } declare ptr @listToString(i32 noundef) #1 declare i32 @__crow_f8(i32 noundef, i32 noundef) #1 declare i32 @stringToList(ptr noundef) #1 declare i32 @expect(i32 noundef, i32 noundef) #1 declare i32 @memcmp(ptr 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/tmpbrqwftc8.c' source_filename = "/tmp/tmpbrqwftc8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pwm_reset_all_pins() #0 { %1 = call i32 @gpio_input(i32 noundef 18) %2 = call i32 @mswait(i32 noundef 1) %3 = call i32 @gpio_input(i32 noundef 13) %4 = call i32 @mswait(i32 noundef 1) %5 = call i32 @gpio_input(i32 noundef 12) %6 = call i32 @mswait(i32 noundef 1) %7 = call i32 @gpio_input(i32 noundef 19) ret void } declare i32 @gpio_input(i32 noundef) #1 declare i32 @mswait(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/tmpbrqwftc8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pwm_reset_all_pins() #0 { %1 = call i32 @gpio_input(i32 noundef 18) %2 = call i32 @mswait(i32 noundef 1) %3 = call i32 @gpio_input(i32 noundef 13) %4 = call i32 @mswait(i32 noundef 1) %5 = call i32 @gpio_input(i32 noundef 12) %6 = call i32 @mswait(i32 noundef 1) %7 = call i32 @gpio_input(i32 noundef 19) ret void } declare i32 @gpio_input(i32 noundef) #1 declare i32 @mswait(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/tmp7nv460zo.c' source_filename = "/tmp/tmp7nv460zo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UARTSoftwareFlowCtrlOptSet(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %3, align 4 %7 = call i32 @UARTRegConfigModeEnable(i32 noundef %6, i32 noundef 191) store i32 %7, ptr %5, align 4 %8 = load i32, ptr %3, align 4 %9 = add i32 %8, 8 %10 = zext i32 %9 to i64 %11 = inttoptr i64 %10 to ptr %12 = load volatile i32, ptr %11, align 4 %13 = and i32 %12, -16 store volatile i32 %13, ptr %11, align 4 %14 = load i32, ptr %4, align 4 %15 = and i32 %14, 15 %16 = load i32, ptr %3, align 4 %17 = add i32 %16, 8 %18 = zext i32 %17 to i64 %19 = inttoptr i64 %18 to ptr %20 = load volatile i32, ptr %19, align 4 %21 = or i32 %20, %15 store volatile i32 %21, ptr %19, align 4 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %3, align 4 %24 = add i32 %23, 12 %25 = zext i32 %24 to i64 %26 = inttoptr i64 %25 to ptr store volatile i32 %22, ptr %26, align 4 ret void } declare i32 @UARTRegConfigModeEnable(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/tmp7nv460zo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UARTSoftwareFlowCtrlOptSet(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %3, align 4 %7 = call i32 @UARTRegConfigModeEnable(i32 noundef %6, i32 noundef 191) store i32 %7, ptr %5, align 4 %8 = load i32, ptr %3, align 4 %9 = add i32 %8, 8 %10 = zext i32 %9 to i64 %11 = inttoptr i64 %10 to ptr %12 = load volatile i32, ptr %11, align 4 %13 = and i32 %12, -16 store volatile i32 %13, ptr %11, align 4 %14 = load i32, ptr %4, align 4 %15 = and i32 %14, 15 %16 = load i32, ptr %3, align 4 %17 = add i32 %16, 8 %18 = zext i32 %17 to i64 %19 = inttoptr i64 %18 to ptr %20 = load volatile i32, ptr %19, align 4 %21 = or i32 %20, %15 store volatile i32 %21, ptr %19, align 4 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %3, align 4 %24 = add i32 %23, 12 %25 = zext i32 %24 to i64 %26 = inttoptr i64 %25 to ptr store volatile i32 %22, ptr %26, align 4 ret void } declare i32 @UARTRegConfigModeEnable(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/tmp9jvugeq7.c' source_filename = "/tmp/tmp9jvugeq7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @cb_sprint.hexchars = internal global ptr @.str, align 8 @.str = private unnamed_addr constant [17 x i8] c"0123456789ABCDEF\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%zd\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @cb_sprint(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca 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 i8, align 1 %20 = alloca i64, align 8 %21 = alloca i64, align 8 %22 = alloca i8, align 1 %23 = alloca i64, align 8 %24 = alloca i8, align 1 %25 = alloca i64, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 %26 = load i32, ptr %9, align 4 %27 = icmp sle i32 %26, 0 br i1 %27, label %28, label %34 28: ; preds = %5 %29 = load ptr, ptr %7, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %31, label %33 31: ; preds = %28 %32 = load ptr, ptr %7, align 8 store i8 0, ptr %32, align 1 br label %33 33: ; preds = %31, %28 store i64 0, ptr %6, align 8 br label %335 34: ; preds = %5 %35 = load ptr, ptr %7, align 8 store ptr %35, ptr %12, align 8 store i64 0, ptr %13, align 8 store i64 0, ptr %14, align 8 store i64 0, ptr %15, align 8 %36 = load i32, ptr %10, align 4 %37 = icmp sge i32 %36, 0 br i1 %37, label %38, label %49 38: ; preds = %34 %39 = load i32, ptr %10, align 4 %40 = icmp sgt i32 %39, 6 br i1 %40, label %41, label %45 41: ; preds = %38 %42 = load i32, ptr %10, align 4 %43 = sub nsw i32 %42, 2 %44 = ashr i32 %43, 2 br label %46 45: ; preds = %38 br label %46 46: ; preds = %45, %41 %47 = phi i32 [ %44, %41 ], [ 1, %45 ] %48 = sext i32 %47 to i64 store i64 %48, ptr %16, align 8 br label %89 49: ; preds = %34 store i64 1, ptr %17, align 8 store i64 0, ptr %18, align 8 store i64 0, ptr %14, align 8 br label %50 50: ; preds = %84, %49 %51 = load i64, ptr %14, align 8 %52 = load i32, ptr %9, align 4 %53 = sext i32 %52 to i64 %54 = icmp ult i64 %51, %53 br i1 %54, label %55, label %87 55: ; preds = %50 %56 = load ptr, ptr %8, align 8 %57 = load i64, ptr %14, align 8 %58 = add i64 %57, 1 store i64 %58, ptr %14, align 8 %59 = getelementptr inbounds i8, ptr %56, i64 %57 %60 = load i8, ptr %59, align 1 store i8 %60, ptr %19, align 1 %61 = load i64, ptr %18, align 8 %62 = add i64 %61, 1 store i64 %62, ptr %18, align 8 %63 = load i8, ptr %19, align 1 %64 = zext i8 %63 to i32 %65 = icmp eq i32 %64, 10 br i1 %65, label %66, label %83 66: ; preds = %55 %67 = load i64, ptr %18, align 8 %68 = load i64, ptr %17, align 8 %69 = icmp ugt i64 %67, %68 br i1 %69, label %70, label %72 70: ; preds = %66 %71 = load i64, ptr %18, align 8 store i64 %71, ptr %17, align 8 br label %72 72: ; preds = %70, %66 %73 = load i32, ptr %11, align 4 %74 = icmp sge i32 %73, 0 br i1 %74, label %75, label %82 75: ; preds = %72 %76 = load i64, ptr %15, align 8 %77 = add i64 %76, 1 store i64 %77, ptr %15, align 8 %78 = load i32, ptr %11, align 4 %79 = sext i32 %78 to i64 %80 = icmp ugt i64 %77, %79 br i1 %80, label %81, label %82 81: ; preds = %75 br label %87 82: ; preds = %75, %72 store i64 0, ptr %18, align 8 br label %83 83: ; preds = %82, %55 br label %84 84: ; preds = %83 %85 = load i64, ptr %14, align 8 %86 = add i64 %85, 1 store i64 %86, ptr %14, align 8 br label %50, !llvm.loop !6 87: ; preds = %81, %50 %88 = load i64, ptr %17, align 8 store i64 %88, ptr %16, align 8 br label %89 89: ; preds = %87, %46 store i64 0, ptr %14, align 8 store i64 0, ptr %15, align 8 br label %90 90: ; preds = %89, %324 %91 = load i64, ptr %16, align 8 store i64 %91, ptr %21, align 8 %92 = load i64, ptr %14, align 8 store i64 %92, ptr %20, align 8 br label %93 93: ; preds = %154, %90 %94 = load i64, ptr %20, align 8 %95 = load i32, ptr %9, align 4 %96 = sext i32 %95 to i64 %97 = icmp ult i64 %94, %96 br i1 %97, label %98, label %101 98: ; preds = %93 %99 = load i64, ptr %21, align 8 %100 = icmp ne i64 %99, 0 br label %101 101: ; preds = %98, %93 %102 = phi i1 [ false, %93 ], [ %100, %98 ] br i1 %102, label %103, label %155 103: ; preds = %101 %104 = load ptr, ptr %8, align 8 %105 = load i64, ptr %20, align 8 %106 = add i64 %105, 1 store i64 %106, ptr %20, align 8 %107 = getelementptr inbounds i8, ptr %104, i64 %105 %108 = load i8, ptr %107, align 1 store i8 %108, ptr %22, align 1 %109 = load ptr, ptr %12, align 8 %110 = icmp ne ptr %109, null br i1 %110, label %111, label %114 111: ; preds = %103 %112 = load ptr, ptr %12, align 8 %113 = getelementptr inbounds i8, ptr %112, i32 1 store ptr %113, ptr %12, align 8 store i8 32, ptr %112, align 1 br label %114 114: ; preds = %111, %103 %115 = load i64, ptr %13, align 8 %116 = add i64 %115, 1 store i64 %116, ptr %13, align 8 %117 = load ptr, ptr %12, align 8 %118 = icmp ne ptr %117, null br i1 %118, label %119, label %130 119: ; preds = %114 %120 = load ptr, ptr @cb_sprint.hexchars, align 8 %121 = load i8, ptr %22, align 1 %122 = zext i8 %121 to i32 %123 = ashr i32 %122, 4 %124 = and i32 %123, 15 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds i8, ptr %120, i64 %125 %127 = load i8, ptr %126, align 1 %128 = load ptr, ptr %12, align 8 %129 = getelementptr inbounds i8, ptr %128, i32 1 store ptr %129, ptr %12, align 8 store i8 %127, ptr %128, align 1 br label %130 130: ; preds = %119, %114 %131 = load i64, ptr %13, align 8 %132 = add i64 %131, 1 store i64 %132, ptr %13, align 8 %133 = load ptr, ptr %12, align 8 %134 = icmp ne ptr %133, null br i1 %134, label %135, label %145 135: ; preds = %130 %136 = load ptr, ptr @cb_sprint.hexchars, align 8 %137 = load i8, ptr %22, align 1 %138 = zext i8 %137 to i32 %139 = and i32 %138, 15 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds i8, ptr %136, i64 %140 %142 = load i8, ptr %141, align 1 %143 = load ptr, ptr %12, align 8 %144 = getelementptr inbounds i8, ptr %143, i32 1 store ptr %144, ptr %12, align 8 store i8 %142, ptr %143, align 1 br label %145 145: ; preds = %135, %130 %146 = load i64, ptr %13, align 8 %147 = add i64 %146, 1 store i64 %147, ptr %13, align 8 %148 = load i64, ptr %21, align 8 %149 = add i64 %148, -1 store i64 %149, ptr %21, align 8 %150 = load i8, ptr %22, align 1 %151 = zext i8 %150 to i32 %152 = icmp eq i32 %151, 10 br i1 %152, label %153, label %154 153: ; preds = %145 br label %155 154: ; preds = %145 br label %93, !llvm.loop !8 155: ; preds = %153, %101 %156 = load i64, ptr %21, align 8 store i64 %156, ptr %23, align 8 %157 = load i64, ptr %21, align 8 store i64 %157, ptr %23, align 8 br label %158 158: ; preds = %186, %155 %159 = load i64, ptr %23, align 8 %160 = icmp ugt i64 %159, 0 br i1 %160, label %161, label %189 161: ; preds = %158 %162 = load ptr, ptr %12, align 8 %163 = icmp ne ptr %162, null br i1 %163, label %164, label %167 164: ; preds = %161 %165 = load ptr, ptr %12, align 8 %166 = getelementptr inbounds i8, ptr %165, i32 1 store ptr %166, ptr %12, align 8 store i8 32, ptr %165, align 1 br label %167 167: ; preds = %164, %161 %168 = load i64, ptr %13, align 8 %169 = add i64 %168, 1 store i64 %169, ptr %13, align 8 %170 = load ptr, ptr %12, align 8 %171 = icmp ne ptr %170, null br i1 %171, label %172, label %175 172: ; preds = %167 %173 = load ptr, ptr %12, align 8 %174 = getelementptr inbounds i8, ptr %173, i32 1 store ptr %174, ptr %12, align 8 store i8 32, ptr %173, align 1 br label %175 175: ; preds = %172, %167 %176 = load i64, ptr %13, align 8 %177 = add i64 %176, 1 store i64 %177, ptr %13, align 8 %178 = load ptr, ptr %12, align 8 %179 = icmp ne ptr %178, null br i1 %179, label %180, label %183 180: ; preds = %175 %181 = load ptr, ptr %12, align 8 %182 = getelementptr inbounds i8, ptr %181, i32 1 store ptr %182, ptr %12, align 8 store i8 32, ptr %181, align 1 br label %183 183: ; preds = %180, %175 %184 = load i64, ptr %13, align 8 %185 = add i64 %184, 1 store i64 %185, ptr %13, align 8 br label %186 186: ; preds = %183 %187 = load i64, ptr %23, align 8 %188 = add i64 %187, -1 store i64 %188, ptr %23, align 8 br label %158, !llvm.loop !9 189: ; preds = %158 %190 = load ptr, ptr %12, align 8 %191 = icmp ne ptr %190, null br i1 %191, label %192, label %195 192: ; preds = %189 %193 = load ptr, ptr %12, align 8 %194 = getelementptr inbounds i8, ptr %193, i32 1 store ptr %194, ptr %12, align 8 store i8 32, ptr %193, align 1 br label %195 195: ; preds = %192, %189 %196 = load i64, ptr %13, align 8 %197 = add i64 %196, 1 store i64 %197, ptr %13, align 8 %198 = load ptr, ptr %12, align 8 %199 = icmp ne ptr %198, null br i1 %199, label %200, label %203 200: ; preds = %195 %201 = load ptr, ptr %12, align 8 %202 = getelementptr inbounds i8, ptr %201, i32 1 store ptr %202, ptr %12, align 8 store i8 32, ptr %201, align 1 br label %203 203: ; preds = %200, %195 %204 = load i64, ptr %13, align 8 %205 = add i64 %204, 1 store i64 %205, ptr %13, align 8 br label %206 206: ; preds = %235, %203 %207 = load i64, ptr %14, align 8 %208 = load i64, ptr %20, align 8 %209 = icmp ult i64 %207, %208 br i1 %209, label %210, label %238 210: ; preds = %206 %211 = load ptr, ptr %8, align 8 %212 = load i64, ptr %14, align 8 %213 = add i64 %212, 1 store i64 %213, ptr %14, align 8 %214 = getelementptr inbounds i8, ptr %211, i64 %212 %215 = load i8, ptr %214, align 1 store i8 %215, ptr %24, align 1 %216 = load ptr, ptr %12, align 8 %217 = icmp ne ptr %216, null br i1 %217, label %218, label %235 218: ; preds = %210 %219 = load i8, ptr %24, align 1 %220 = zext i8 %219 to i32 %221 = icmp slt i32 %220, 32 br i1 %221, label %226, label %222 222: ; preds = %218 %223 = load i8, ptr %24, align 1 %224 = zext i8 %223 to i32 %225 = icmp sgt i32 %224, 126 br i1 %225, label %226, label %227 226: ; preds = %222, %218 br label %230 227: ; preds = %222 %228 = load i8, ptr %24, align 1 %229 = zext i8 %228 to i32 br label %230 230: ; preds = %227, %226 %231 = phi i32 [ 46, %226 ], [ %229, %227 ] %232 = trunc i32 %231 to i8 %233 = load ptr, ptr %12, align 8 %234 = getelementptr inbounds i8, ptr %233, i32 1 store ptr %234, ptr %12, align 8 store i8 %232, ptr %233, align 1 br label %235 235: ; preds = %230, %210 %236 = load i64, ptr %13, align 8 %237 = add i64 %236, 1 store i64 %237, ptr %13, align 8 br label %206, !llvm.loop !10 238: ; preds = %206 %239 = load i64, ptr %14, align 8 %240 = load i32, ptr %9, align 4 %241 = sext i32 %240 to i64 %242 = icmp uge i64 %239, %241 br i1 %242, label %243, label %244 243: ; preds = %238 br label %327 244: ; preds = %238 %245 = load i32, ptr %11, align 4 %246 = icmp sge i32 %245, 0 br i1 %246, label %247, label %318 247: ; preds = %244 %248 = load i64, ptr %15, align 8 %249 = add i64 %248, 1 store i64 %249, ptr %15, align 8 %250 = load i32, ptr %11, align 4 %251 = sext i32 %250 to i64 %252 = icmp ugt i64 %249, %251 br i1 %252, label %253, label %318 253: ; preds = %247 %254 = load i64, ptr %21, align 8 store i64 %254, ptr %23, align 8 br label %255 255: ; preds = %267, %253 %256 = load i64, ptr %23, align 8 %257 = icmp ugt i64 %256, 0 br i1 %257, label %258, label %270 258: ; preds = %255 %259 = load ptr, ptr %12, align 8 %260 = icmp ne ptr %259, null br i1 %260, label %261, label %264 261: ; preds = %258 %262 = load ptr, ptr %12, align 8 %263 = getelementptr inbounds i8, ptr %262, i32 1 store ptr %263, ptr %12, align 8 store i8 32, ptr %262, align 1 br label %264 264: ; preds = %261, %258 %265 = load i64, ptr %13, align 8 %266 = add i64 %265, 1 store i64 %266, ptr %13, align 8 br label %267 267: ; preds = %264 %268 = load i64, ptr %23, align 8 %269 = add i64 %268, -1 store i64 %269, ptr %23, align 8 br label %255, !llvm.loop !11 270: ; preds = %255 %271 = load ptr, ptr %12, align 8 %272 = icmp ne ptr %271, null br i1 %272, label %273, label %276 273: ; preds = %270 %274 = load ptr, ptr %12, align 8 %275 = getelementptr inbounds i8, ptr %274, i32 1 store ptr %275, ptr %12, align 8 store i8 32, ptr %274, align 1 br label %276 276: ; preds = %273, %270 %277 = load i64, ptr %13, align 8 %278 = add i64 %277, 1 store i64 %278, ptr %13, align 8 %279 = load ptr, ptr %12, align 8 %280 = icmp ne ptr %279, null br i1 %280, label %281, label %284 281: ; preds = %276 %282 = load ptr, ptr %12, align 8 %283 = getelementptr inbounds i8, ptr %282, i32 1 store ptr %283, ptr %12, align 8 store i8 43, ptr %282, align 1 br label %284 284: ; preds = %281, %276 %285 = load i64, ptr %13, align 8 %286 = add i64 %285, 1 store i64 %286, ptr %13, align 8 %287 = load ptr, ptr %12, align 8 %288 = icmp ne ptr %287, null br i1 %288, label %289, label %303 289: ; preds = %284 %290 = load ptr, ptr %12, align 8 %291 = load i32, ptr %9, align 4 %292 = sext i32 %291 to i64 %293 = load i64, ptr %14, align 8 %294 = sub i64 %292, %293 %295 = trunc i64 %294 to i32 %296 = call i64 @sprintf(ptr noundef %290, ptr noundef @.str.1, i32 noundef %295) store i64 %296, ptr %25, align 8 %297 = load i64, ptr %25, align 8 %298 = load ptr, ptr %12, align 8 %299 = getelementptr inbounds i8, ptr %298, i64 %297 store ptr %299, ptr %12, align 8 %300 = load i64, ptr %25, align 8 %301 = load i64, ptr %13, align 8 %302 = add i64 %301, %300 store i64 %302, ptr %13, align 8 br label %317 303: ; preds = %284 %304 = load i32, ptr %9, align 4 %305 = sext i32 %304 to i64 %306 = load i64, ptr %14, align 8 %307 = sub i64 %305, %306 %308 = uitofp i64 %307 to double %309 = call i64 @log10(double noundef %308) %310 = sitofp i64 %309 to double %311 = fadd double %310, 5.000000e-01 %312 = fptosi double %311 to i32 %313 = add nsw i32 %312, 1 %314 = sext i32 %313 to i64 %315 = load i64, ptr %13, align 8 %316 = add i64 %315, %314 store i64 %316, ptr %13, align 8 br label %317 317: ; preds = %303, %289 br label %327 318: ; preds = %247, %244 %319 = load ptr, ptr %12, align 8 %320 = icmp ne ptr %319, null br i1 %320, label %321, label %324 321: ; preds = %318 %322 = load ptr, ptr %12, align 8 %323 = getelementptr inbounds i8, ptr %322, i32 1 store ptr %323, ptr %12, align 8 store i8 10, ptr %322, align 1 br label %324 324: ; preds = %321, %318 %325 = load i64, ptr %13, align 8 %326 = add i64 %325, 1 store i64 %326, ptr %13, align 8 br label %90 327: ; preds = %317, %243 %328 = load ptr, ptr %12, align 8 %329 = icmp ne ptr %328, null br i1 %329, label %330, label %333 330: ; preds = %327 %331 = load ptr, ptr %12, align 8 %332 = getelementptr inbounds i8, ptr %331, i32 1 store ptr %332, ptr %12, align 8 store i8 0, ptr %331, align 1 br label %333 333: ; preds = %330, %327 %334 = load i64, ptr %13, align 8 store i64 %334, ptr %6, align 8 br label %335 335: ; preds = %333, %33 %336 = load i64, ptr %6, align 8 ret i64 %336 } declare i64 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @log10(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9jvugeq7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @cb_sprint.hexchars = internal global ptr @.str, align 8 @.str = private unnamed_addr constant [17 x i8] c"0123456789ABCDEF\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%zd\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @cb_sprint(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca 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 i8, align 1 %20 = alloca i64, align 8 %21 = alloca i64, align 8 %22 = alloca i8, align 1 %23 = alloca i64, align 8 %24 = alloca i8, align 1 %25 = alloca i64, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 %26 = load i32, ptr %9, align 4 %27 = icmp sle i32 %26, 0 br i1 %27, label %28, label %34 28: ; preds = %5 %29 = load ptr, ptr %7, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %31, label %33 31: ; preds = %28 %32 = load ptr, ptr %7, align 8 store i8 0, ptr %32, align 1 br label %33 33: ; preds = %31, %28 store i64 0, ptr %6, align 8 br label %341 34: ; preds = %5 %35 = load ptr, ptr %7, align 8 store ptr %35, ptr %12, align 8 store i64 0, ptr %13, align 8 store i64 0, ptr %14, align 8 store i64 0, ptr %15, align 8 %36 = load i32, ptr %10, align 4 %37 = icmp sge i32 %36, 0 br i1 %37, label %38, label %49 38: ; preds = %34 %39 = load i32, ptr %10, align 4 %40 = icmp sgt i32 %39, 6 br i1 %40, label %41, label %45 41: ; preds = %38 %42 = load i32, ptr %10, align 4 %43 = sub nsw i32 %42, 2 %44 = ashr i32 %43, 2 br label %46 45: ; preds = %38 br label %46 46: ; preds = %45, %41 %47 = phi i32 [ %44, %41 ], [ 1, %45 ] %48 = sext i32 %47 to i64 store i64 %48, ptr %16, align 8 br label %92 49: ; preds = %34 store i64 1, ptr %17, align 8 store i64 0, ptr %18, align 8 store i64 0, ptr %14, align 8 %50 = load i64, ptr %14, align 8 %51 = load i32, ptr %9, align 4 %52 = sext i32 %51 to i64 %53 = icmp ult i64 %50, %52 br i1 %53, label %.lr.ph, label %.loopexit1 .lr.ph: ; preds = %49 br label %54 54: ; preds = %.lr.ph, %83 %55 = load ptr, ptr %8, align 8 %56 = load i64, ptr %14, align 8 %57 = add i64 %56, 1 store i64 %57, ptr %14, align 8 %58 = getelementptr inbounds i8, ptr %55, i64 %56 %59 = load i8, ptr %58, align 1 store i8 %59, ptr %19, align 1 %60 = load i64, ptr %18, align 8 %61 = add i64 %60, 1 store i64 %61, ptr %18, align 8 %62 = load i8, ptr %19, align 1 %63 = zext i8 %62 to i32 %64 = icmp eq i32 %63, 10 br i1 %64, label %65, label %82 65: ; preds = %54 %66 = load i64, ptr %18, align 8 %67 = load i64, ptr %17, align 8 %68 = icmp ugt i64 %66, %67 br i1 %68, label %69, label %71 69: ; preds = %65 %70 = load i64, ptr %18, align 8 store i64 %70, ptr %17, align 8 br label %71 71: ; preds = %69, %65 %72 = load i32, ptr %11, align 4 %73 = icmp sge i32 %72, 0 br i1 %73, label %74, label %81 74: ; preds = %71 %75 = load i64, ptr %15, align 8 %76 = add i64 %75, 1 store i64 %76, ptr %15, align 8 %77 = load i32, ptr %11, align 4 %78 = sext i32 %77 to i64 %79 = icmp ugt i64 %76, %78 br i1 %79, label %80, label %81 80: ; preds = %74 br label %90 81: ; preds = %74, %71 store i64 0, ptr %18, align 8 br label %82 82: ; preds = %81, %54 br label %83 83: ; preds = %82 %84 = load i64, ptr %14, align 8 %85 = add i64 %84, 1 store i64 %85, ptr %14, align 8 %86 = load i64, ptr %14, align 8 %87 = load i32, ptr %9, align 4 %88 = sext i32 %87 to i64 %89 = icmp ult i64 %86, %88 br i1 %89, label %54, label %..loopexit1_crit_edge, !llvm.loop !6 ..loopexit1_crit_edge: ; preds = %83 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %49 br label %90 90: ; preds = %.loopexit1, %80 %91 = load i64, ptr %17, align 8 store i64 %91, ptr %16, align 8 br label %92 92: ; preds = %90, %46 store i64 0, ptr %14, align 8 store i64 0, ptr %15, align 8 br label %93 93: ; preds = %330, %92 %94 = load i64, ptr %16, align 8 store i64 %94, ptr %21, align 8 %95 = load i64, ptr %14, align 8 store i64 %95, ptr %20, align 8 br label %96 96: ; preds = %148, %93 %97 = load i64, ptr %20, align 8 %98 = load i32, ptr %9, align 4 %99 = sext i32 %98 to i64 %100 = icmp ult i64 %97, %99 br i1 %100, label %101, label %104 101: ; preds = %96 %102 = load i64, ptr %21, align 8 %103 = icmp ne i64 %102, 0 br label %104 104: ; preds = %101, %96 %105 = phi i1 [ false, %96 ], [ %103, %101 ] br i1 %105, label %106, label %.loopexit 106: ; preds = %104 %107 = load ptr, ptr %8, align 8 %108 = load i64, ptr %20, align 8 %109 = add i64 %108, 1 store i64 %109, ptr %20, align 8 %110 = getelementptr inbounds i8, ptr %107, i64 %108 %111 = load i8, ptr %110, align 1 store i8 %111, ptr %22, align 1 %112 = load ptr, ptr %12, align 8 %113 = icmp ne ptr %112, null br i1 %113, label %114, label %117 114: ; preds = %106 %115 = load ptr, ptr %12, align 8 %116 = getelementptr inbounds i8, ptr %115, i32 1 store ptr %116, ptr %12, align 8 store i8 32, ptr %115, align 1 br label %117 117: ; preds = %114, %106 %118 = load i64, ptr %13, align 8 %119 = add i64 %118, 1 store i64 %119, ptr %13, align 8 %120 = load ptr, ptr %12, align 8 %121 = icmp ne ptr %120, null br i1 %121, label %122, label %133 122: ; preds = %117 %123 = load ptr, ptr @cb_sprint.hexchars, align 8 %124 = load i8, ptr %22, align 1 %125 = zext i8 %124 to i32 %126 = ashr i32 %125, 4 %127 = and i32 %126, 15 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds i8, ptr %123, i64 %128 %130 = load i8, ptr %129, align 1 %131 = load ptr, ptr %12, align 8 %132 = getelementptr inbounds i8, ptr %131, i32 1 store ptr %132, ptr %12, align 8 store i8 %130, ptr %131, align 1 br label %133 133: ; preds = %122, %117 %134 = load i64, ptr %13, align 8 %135 = add i64 %134, 1 store i64 %135, ptr %13, align 8 %136 = load ptr, ptr %12, align 8 %137 = icmp ne ptr %136, null br i1 %137, label %138, label %148 138: ; preds = %133 %139 = load ptr, ptr @cb_sprint.hexchars, align 8 %140 = load i8, ptr %22, align 1 %141 = zext i8 %140 to i32 %142 = and i32 %141, 15 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds i8, ptr %139, i64 %143 %145 = load i8, ptr %144, align 1 %146 = load ptr, ptr %12, align 8 %147 = getelementptr inbounds i8, ptr %146, i32 1 store ptr %147, ptr %12, align 8 store i8 %145, ptr %146, align 1 br label %148 148: ; preds = %138, %133 %149 = load i64, ptr %13, align 8 %150 = add i64 %149, 1 store i64 %150, ptr %13, align 8 %151 = load i64, ptr %21, align 8 %152 = add i64 %151, -1 store i64 %152, ptr %21, align 8 %153 = load i8, ptr %22, align 1 %154 = zext i8 %153 to i32 %155 = icmp eq i32 %154, 10 br i1 %155, label %156, label %96, !llvm.loop !8 156: ; preds = %148 br label %157 .loopexit: ; preds = %104 br label %157 157: ; preds = %.loopexit, %156 %158 = load i64, ptr %21, align 8 store i64 %158, ptr %23, align 8 %159 = load i64, ptr %21, align 8 store i64 %159, ptr %23, align 8 %160 = load i64, ptr %23, align 8 %161 = icmp ugt i64 %160, 0 br i1 %161, label %.lr.ph2, label %192 .lr.ph2: ; preds = %157 br label %162 162: ; preds = %.lr.ph2, %187 %163 = load ptr, ptr %12, align 8 %164 = icmp ne ptr %163, null br i1 %164, label %165, label %168 165: ; preds = %162 %166 = load ptr, ptr %12, align 8 %167 = getelementptr inbounds i8, ptr %166, i32 1 store ptr %167, ptr %12, align 8 store i8 32, ptr %166, align 1 br label %168 168: ; preds = %165, %162 %169 = load i64, ptr %13, align 8 %170 = add i64 %169, 1 store i64 %170, ptr %13, align 8 %171 = load ptr, ptr %12, align 8 %172 = icmp ne ptr %171, null br i1 %172, label %173, label %176 173: ; preds = %168 %174 = load ptr, ptr %12, align 8 %175 = getelementptr inbounds i8, ptr %174, i32 1 store ptr %175, ptr %12, align 8 store i8 32, ptr %174, align 1 br label %176 176: ; preds = %173, %168 %177 = load i64, ptr %13, align 8 %178 = add i64 %177, 1 store i64 %178, ptr %13, align 8 %179 = load ptr, ptr %12, align 8 %180 = icmp ne ptr %179, null br i1 %180, label %181, label %184 181: ; preds = %176 %182 = load ptr, ptr %12, align 8 %183 = getelementptr inbounds i8, ptr %182, i32 1 store ptr %183, ptr %12, align 8 store i8 32, ptr %182, align 1 br label %184 184: ; preds = %181, %176 %185 = load i64, ptr %13, align 8 %186 = add i64 %185, 1 store i64 %186, ptr %13, align 8 br label %187 187: ; preds = %184 %188 = load i64, ptr %23, align 8 %189 = add i64 %188, -1 store i64 %189, ptr %23, align 8 %190 = load i64, ptr %23, align 8 %191 = icmp ugt i64 %190, 0 br i1 %191, label %162, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %187 br label %192 192: ; preds = %._crit_edge, %157 %193 = load ptr, ptr %12, align 8 %194 = icmp ne ptr %193, null br i1 %194, label %195, label %198 195: ; preds = %192 %196 = load ptr, ptr %12, align 8 %197 = getelementptr inbounds i8, ptr %196, i32 1 store ptr %197, ptr %12, align 8 store i8 32, ptr %196, align 1 br label %198 198: ; preds = %195, %192 %199 = load i64, ptr %13, align 8 %200 = add i64 %199, 1 store i64 %200, ptr %13, align 8 %201 = load ptr, ptr %12, align 8 %202 = icmp ne ptr %201, null br i1 %202, label %203, label %206 203: ; preds = %198 %204 = load ptr, ptr %12, align 8 %205 = getelementptr inbounds i8, ptr %204, i32 1 store ptr %205, ptr %12, align 8 store i8 32, ptr %204, align 1 br label %206 206: ; preds = %203, %198 %207 = load i64, ptr %13, align 8 %208 = add i64 %207, 1 store i64 %208, ptr %13, align 8 %209 = load i64, ptr %14, align 8 %210 = load i64, ptr %20, align 8 %211 = icmp ult i64 %209, %210 br i1 %211, label %.lr.ph4, label %243 .lr.ph4: ; preds = %206 br label %212 212: ; preds = %.lr.ph4, %237 %213 = load ptr, ptr %8, align 8 %214 = load i64, ptr %14, align 8 %215 = add i64 %214, 1 store i64 %215, ptr %14, align 8 %216 = getelementptr inbounds i8, ptr %213, i64 %214 %217 = load i8, ptr %216, align 1 store i8 %217, ptr %24, align 1 %218 = load ptr, ptr %12, align 8 %219 = icmp ne ptr %218, null br i1 %219, label %220, label %237 220: ; preds = %212 %221 = load i8, ptr %24, align 1 %222 = zext i8 %221 to i32 %223 = icmp slt i32 %222, 32 br i1 %223, label %228, label %224 224: ; preds = %220 %225 = load i8, ptr %24, align 1 %226 = zext i8 %225 to i32 %227 = icmp sgt i32 %226, 126 br i1 %227, label %228, label %229 228: ; preds = %224, %220 br label %232 229: ; preds = %224 %230 = load i8, ptr %24, align 1 %231 = zext i8 %230 to i32 br label %232 232: ; preds = %229, %228 %233 = phi i32 [ 46, %228 ], [ %231, %229 ] %234 = trunc i32 %233 to i8 %235 = load ptr, ptr %12, align 8 %236 = getelementptr inbounds i8, ptr %235, i32 1 store ptr %236, ptr %12, align 8 store i8 %234, ptr %235, align 1 br label %237 237: ; preds = %232, %212 %238 = load i64, ptr %13, align 8 %239 = add i64 %238, 1 store i64 %239, ptr %13, align 8 %240 = load i64, ptr %14, align 8 %241 = load i64, ptr %20, align 8 %242 = icmp ult i64 %240, %241 br i1 %242, label %212, label %._crit_edge5, !llvm.loop !10 ._crit_edge5: ; preds = %237 br label %243 243: ; preds = %._crit_edge5, %206 %244 = load i64, ptr %14, align 8 %245 = load i32, ptr %9, align 4 %246 = sext i32 %245 to i64 %247 = icmp uge i64 %244, %246 br i1 %247, label %248, label %249 248: ; preds = %243 br label %333 249: ; preds = %243 %250 = load i32, ptr %11, align 4 %251 = icmp sge i32 %250, 0 br i1 %251, label %252, label %324 252: ; preds = %249 %253 = load i64, ptr %15, align 8 %254 = add i64 %253, 1 store i64 %254, ptr %15, align 8 %255 = load i32, ptr %11, align 4 %256 = sext i32 %255 to i64 %257 = icmp ugt i64 %254, %256 br i1 %257, label %258, label %324 258: ; preds = %252 %259 = load i64, ptr %21, align 8 store i64 %259, ptr %23, align 8 %260 = load i64, ptr %23, align 8 %261 = icmp ugt i64 %260, 0 br i1 %261, label %.lr.ph7, label %276 .lr.ph7: ; preds = %258 br label %262 262: ; preds = %.lr.ph7, %271 %263 = load ptr, ptr %12, align 8 %264 = icmp ne ptr %263, null br i1 %264, label %265, label %268 265: ; preds = %262 %266 = load ptr, ptr %12, align 8 %267 = getelementptr inbounds i8, ptr %266, i32 1 store ptr %267, ptr %12, align 8 store i8 32, ptr %266, align 1 br label %268 268: ; preds = %265, %262 %269 = load i64, ptr %13, align 8 %270 = add i64 %269, 1 store i64 %270, ptr %13, align 8 br label %271 271: ; preds = %268 %272 = load i64, ptr %23, align 8 %273 = add i64 %272, -1 store i64 %273, ptr %23, align 8 %274 = load i64, ptr %23, align 8 %275 = icmp ugt i64 %274, 0 br i1 %275, label %262, label %._crit_edge8, !llvm.loop !11 ._crit_edge8: ; preds = %271 br label %276 276: ; preds = %._crit_edge8, %258 %277 = load ptr, ptr %12, align 8 %278 = icmp ne ptr %277, null br i1 %278, label %279, label %282 279: ; preds = %276 %280 = load ptr, ptr %12, align 8 %281 = getelementptr inbounds i8, ptr %280, i32 1 store ptr %281, ptr %12, align 8 store i8 32, ptr %280, align 1 br label %282 282: ; preds = %279, %276 %283 = load i64, ptr %13, align 8 %284 = add i64 %283, 1 store i64 %284, ptr %13, align 8 %285 = load ptr, ptr %12, align 8 %286 = icmp ne ptr %285, null br i1 %286, label %287, label %290 287: ; preds = %282 %288 = load ptr, ptr %12, align 8 %289 = getelementptr inbounds i8, ptr %288, i32 1 store ptr %289, ptr %12, align 8 store i8 43, ptr %288, align 1 br label %290 290: ; preds = %287, %282 %291 = load i64, ptr %13, align 8 %292 = add i64 %291, 1 store i64 %292, ptr %13, align 8 %293 = load ptr, ptr %12, align 8 %294 = icmp ne ptr %293, null br i1 %294, label %295, label %309 295: ; preds = %290 %296 = load ptr, ptr %12, align 8 %297 = load i32, ptr %9, align 4 %298 = sext i32 %297 to i64 %299 = load i64, ptr %14, align 8 %300 = sub i64 %298, %299 %301 = trunc i64 %300 to i32 %302 = call i64 @sprintf(ptr noundef %296, ptr noundef @.str.1, i32 noundef %301) store i64 %302, ptr %25, align 8 %303 = load i64, ptr %25, align 8 %304 = load ptr, ptr %12, align 8 %305 = getelementptr inbounds i8, ptr %304, i64 %303 store ptr %305, ptr %12, align 8 %306 = load i64, ptr %25, align 8 %307 = load i64, ptr %13, align 8 %308 = add i64 %307, %306 store i64 %308, ptr %13, align 8 br label %323 309: ; preds = %290 %310 = load i32, ptr %9, align 4 %311 = sext i32 %310 to i64 %312 = load i64, ptr %14, align 8 %313 = sub i64 %311, %312 %314 = uitofp i64 %313 to double %315 = call i64 @log10(double noundef %314) %316 = sitofp i64 %315 to double %317 = fadd double %316, 5.000000e-01 %318 = fptosi double %317 to i32 %319 = add nsw i32 %318, 1 %320 = sext i32 %319 to i64 %321 = load i64, ptr %13, align 8 %322 = add i64 %321, %320 store i64 %322, ptr %13, align 8 br label %323 323: ; preds = %309, %295 br label %333 324: ; preds = %252, %249 %325 = load ptr, ptr %12, align 8 %326 = icmp ne ptr %325, null br i1 %326, label %327, label %330 327: ; preds = %324 %328 = load ptr, ptr %12, align 8 %329 = getelementptr inbounds i8, ptr %328, i32 1 store ptr %329, ptr %12, align 8 store i8 10, ptr %328, align 1 br label %330 330: ; preds = %327, %324 %331 = load i64, ptr %13, align 8 %332 = add i64 %331, 1 store i64 %332, ptr %13, align 8 br label %93 333: ; preds = %323, %248 %334 = load ptr, ptr %12, align 8 %335 = icmp ne ptr %334, null br i1 %335, label %336, label %339 336: ; preds = %333 %337 = load ptr, ptr %12, align 8 %338 = getelementptr inbounds i8, ptr %337, i32 1 store ptr %338, ptr %12, align 8 store i8 0, ptr %337, align 1 br label %339 339: ; preds = %336, %333 %340 = load i64, ptr %13, align 8 store i64 %340, ptr %6, align 8 br label %341 341: ; preds = %339, %33 %342 = load i64, ptr %6, align 8 ret i64 %342 } declare i64 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @log10(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpa7qf2mws.c' source_filename = "/tmp/tmpa7qf2mws.c" target datalayout = "e-m:e-p270: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/tmpa7qf2mws.c" target datalayout = "e-m:e-p270: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/tmpmfmyxkpa.c' source_filename = "/tmp/tmpmfmyxkpa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sleepao() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @rand() %3 = srem i32 %2, 5 %4 = add nsw i32 %3, 1 store i32 %4, ptr %1, align 4 br label %5 5: ; preds = %10, %0 %6 = load i32, ptr %1, align 4 %7 = icmp slt i32 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %5 %9 = call i32 (...) @cyield() br label %10 10: ; preds = %8 %11 = load i32, ptr %1, align 4 %12 = add nsw i32 %11, -1 store i32 %12, ptr %1, align 4 br label %5, !llvm.loop !6 13: ; preds = %5 ret void } declare i32 @rand(...) #1 declare i32 @cyield(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpmfmyxkpa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sleepao() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @rand() %3 = srem i32 %2, 5 %4 = add nsw i32 %3, 1 store i32 %4, ptr %1, align 4 %5 = load i32, ptr %1, align 4 %6 = icmp slt i32 %5, 0 br i1 %6, label %.lr.ph, label %14 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %9 %8 = call i32 (...) @cyield() br label %9 9: ; preds = %7 %10 = load i32, ptr %1, align 4 %11 = add nsw i32 %10, -1 store i32 %11, ptr %1, align 4 %12 = load i32, ptr %1, align 4 %13 = icmp slt i32 %12, 0 br i1 %13, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %14 14: ; preds = %._crit_edge, %0 ret void } declare i32 @rand(...) #1 declare i32 @cyield(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpioqnzznx.c' source_filename = "/tmp/tmpioqnzznx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_highest_sum_recursive(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %9, align 4 %13 = sub nsw i32 %12, 1 %14 = icmp eq i32 %11, %13 br i1 %14, label %15, label %25 15: ; preds = %4 %16 = load ptr, ptr %6, align 8 %17 = load i32, ptr %7, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = load i32, ptr %8, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i32, ptr %20, i64 %22 %24 = load i32, ptr %23, align 4 store i32 %24, ptr %5, align 4 br label %61 25: ; preds = %4 %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %7, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds ptr, ptr %26, i64 %28 %30 = load ptr, ptr %29, align 8 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %30, i64 %32 %34 = load i32, ptr %33, align 4 %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 %38 = load i32, ptr %8, align 4 %39 = load i32, ptr %9, align 4 %40 = call i32 @get_highest_sum_recursive(ptr noundef %35, i32 noundef %37, i32 noundef %38, i32 noundef %39) %41 = add nsw i32 %34, %40 %42 = load ptr, ptr %6, align 8 %43 = load i32, ptr %7, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds ptr, ptr %42, i64 %44 %46 = load ptr, ptr %45, align 8 %47 = load i32, ptr %8, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 %50 = load i32, ptr %49, align 4 %51 = load ptr, ptr %6, align 8 %52 = load i32, ptr %7, align 4 %53 = add nsw i32 %52, 1 %54 = load i32, ptr %8, align 4 %55 = add nsw i32 %54, 1 %56 = load i32, ptr %9, align 4 %57 = call i32 @get_highest_sum_recursive(ptr noundef %51, i32 noundef %53, i32 noundef %55, i32 noundef %56) %58 = add nsw i32 %50, %57 %59 = call i32 @max(i32 noundef %41, i32 noundef %58) store i32 %59, ptr %10, align 4 %60 = load i32, ptr %10, align 4 store i32 %60, ptr %5, align 4 br label %61 61: ; preds = %25, %15 %62 = load i32, ptr %5, align 4 ret i32 %62 } declare i32 @max(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/tmpioqnzznx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_highest_sum_recursive(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %9, align 4 %13 = sub nsw i32 %12, 1 %14 = icmp eq i32 %11, %13 br i1 %14, label %15, label %25 15: ; preds = %4 %16 = load ptr, ptr %6, align 8 %17 = load i32, ptr %7, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = load i32, ptr %8, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i32, ptr %20, i64 %22 %24 = load i32, ptr %23, align 4 store i32 %24, ptr %5, align 4 br label %61 25: ; preds = %4 %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %7, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds ptr, ptr %26, i64 %28 %30 = load ptr, ptr %29, align 8 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %30, i64 %32 %34 = load i32, ptr %33, align 4 %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 %38 = load i32, ptr %8, align 4 %39 = load i32, ptr %9, align 4 %40 = call i32 @get_highest_sum_recursive(ptr noundef %35, i32 noundef %37, i32 noundef %38, i32 noundef %39) %41 = add nsw i32 %34, %40 %42 = load ptr, ptr %6, align 8 %43 = load i32, ptr %7, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds ptr, ptr %42, i64 %44 %46 = load ptr, ptr %45, align 8 %47 = load i32, ptr %8, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 %50 = load i32, ptr %49, align 4 %51 = load ptr, ptr %6, align 8 %52 = load i32, ptr %7, align 4 %53 = add nsw i32 %52, 1 %54 = load i32, ptr %8, align 4 %55 = add nsw i32 %54, 1 %56 = load i32, ptr %9, align 4 %57 = call i32 @get_highest_sum_recursive(ptr noundef %51, i32 noundef %53, i32 noundef %55, i32 noundef %56) %58 = add nsw i32 %50, %57 %59 = call i32 @max(i32 noundef %41, i32 noundef %58) store i32 %59, ptr %10, align 4 %60 = load i32, ptr %10, align 4 store i32 %60, ptr %5, align 4 br label %61 61: ; preds = %25, %15 %62 = load i32, ptr %5, align 4 ret i32 %62 } declare i32 @max(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/tmpbwmh1_n1.c' source_filename = "/tmp/tmpbwmh1_n1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_builtin_j0f(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call i64 @__builtin_j0f(float noundef %3) %5 = load float, ptr %2, align 4 %6 = call i64 @__builtin_j0f(float noundef %5) %7 = icmp ne i64 %4, %6 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 (...) @link_failure_builtin_j0f() br label %10 10: ; preds = %8, %1 ret void } declare i64 @__builtin_j0f(float noundef) #1 declare i32 @link_failure_builtin_j0f(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbwmh1_n1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_builtin_j0f(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call i64 @__builtin_j0f(float noundef %3) %5 = load float, ptr %2, align 4 %6 = call i64 @__builtin_j0f(float noundef %5) %7 = icmp ne i64 %4, %6 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 (...) @link_failure_builtin_j0f() br label %10 10: ; preds = %8, %1 ret void } declare i64 @__builtin_j0f(float noundef) #1 declare i32 @link_failure_builtin_j0f(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwpttpvx6.c' source_filename = "/tmp/tmpwpttpvx6.c" target datalayout = "e-m:e-p270: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/tmpwpttpvx6.c" target datalayout = "e-m:e-p270: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/tmprkvordfz.c' source_filename = "/tmp/tmprkvordfz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"p1=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @pointer(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i32 5, ptr %3, align 4 store ptr %3, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 store ptr %5, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr %6, align 4 %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/tmprkvordfz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"p1=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @pointer(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i32 5, ptr %3, align 4 store ptr %3, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 store ptr %5, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr %6, align 4 %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/tmp6f_eijxo.c' source_filename = "/tmp/tmp6f_eijxo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_mm_anini_b_c_bc_i4_d() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, 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 i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 store i32 21, ptr %1, align 4 store i32 23, ptr %2, align 4 store i32 25, ptr %3, align 4 %22 = load i32, ptr %1, align 4 %23 = zext i32 %22 to i64 %24 = load i32, ptr %2, align 4 %25 = zext i32 %24 to i64 %26 = call ptr @llvm.stacksave() store ptr %26, ptr %4, align 8 %27 = mul nuw i64 %23, %25 %28 = alloca i32, i64 %27, align 16 store i64 %23, ptr %5, align 8 store i64 %25, ptr %6, align 8 %29 = load i32, ptr %2, align 4 %30 = zext i32 %29 to i64 %31 = load i32, ptr %3, align 4 %32 = zext i32 %31 to i64 %33 = mul nuw i64 %30, %32 %34 = alloca i32, i64 %33, align 16 store i64 %30, ptr %7, align 8 store i64 %32, ptr %8, align 8 %35 = load i32, ptr %1, align 4 %36 = zext i32 %35 to i64 %37 = load i32, ptr %3, align 4 %38 = zext i32 %37 to i64 %39 = mul nuw i64 %36, %38 %40 = alloca i32, i64 %39, align 16 store i64 %36, ptr %9, align 8 store i64 %38, ptr %10, align 8 store i32 0, ptr %11, align 4 br label %41 41: ; preds = %68, %0 %42 = load i32, ptr %11, align 4 %43 = load i32, ptr %1, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %45, label %71 45: ; preds = %41 store i32 0, ptr %12, align 4 br label %46 46: ; preds = %64, %45 %47 = load i32, ptr %12, align 4 %48 = load i32, ptr %2, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %50, label %67 50: ; preds = %46 %51 = load i32, ptr %11, align 4 %52 = load i32, ptr %1, align 4 %53 = mul nsw i32 %51, %52 %54 = load i32, ptr %12, align 4 %55 = add nsw i32 %53, %54 %56 = add nsw i32 %55, 1 %57 = load i32, ptr %11, align 4 %58 = sext i32 %57 to i64 %59 = mul nsw i64 %58, %25 %60 = getelementptr inbounds i32, ptr %28, i64 %59 %61 = load i32, ptr %12, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %60, i64 %62 store i32 %56, ptr %63, align 4 br label %64 64: ; preds = %50 %65 = load i32, ptr %12, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %12, align 4 br label %46, !llvm.loop !6 67: ; preds = %46 br label %68 68: ; preds = %67 %69 = load i32, ptr %11, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %11, align 4 br label %41, !llvm.loop !8 71: ; preds = %41 store i32 0, ptr %11, align 4 br label %72 72: ; preds = %99, %71 %73 = load i32, ptr %11, align 4 %74 = load i32, ptr %2, align 4 %75 = icmp slt i32 %73, %74 br i1 %75, label %76, label %102 76: ; preds = %72 store i32 0, ptr %12, align 4 br label %77 77: ; preds = %95, %76 %78 = load i32, ptr %12, align 4 %79 = load i32, ptr %3, align 4 %80 = icmp slt i32 %78, %79 br i1 %80, label %81, label %98 81: ; preds = %77 %82 = load i32, ptr %12, align 4 %83 = load i32, ptr %3, align 4 %84 = mul nsw i32 %82, %83 %85 = load i32, ptr %11, align 4 %86 = add nsw i32 %84, %85 %87 = add nsw i32 %86, 1 %88 = load i32, ptr %11, align 4 %89 = sext i32 %88 to i64 %90 = mul nsw i64 %89, %32 %91 = getelementptr inbounds i32, ptr %34, i64 %90 %92 = load i32, ptr %12, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i32, ptr %91, i64 %93 store i32 %87, ptr %94, align 4 br label %95 95: ; preds = %81 %96 = load i32, ptr %12, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %12, align 4 br label %77, !llvm.loop !9 98: ; preds = %77 br label %99 99: ; preds = %98 %100 = load i32, ptr %11, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %11, align 4 br label %72, !llvm.loop !10 102: ; preds = %72 store i32 0, ptr %11, align 4 br label %103 103: ; preds = %124, %102 %104 = load i32, ptr %11, align 4 %105 = load i32, ptr %1, align 4 %106 = icmp slt i32 %104, %105 br i1 %106, label %107, label %127 107: ; preds = %103 store i32 0, ptr %12, align 4 br label %108 108: ; preds = %120, %107 %109 = load i32, ptr %12, align 4 %110 = load i32, ptr %3, align 4 %111 = icmp slt i32 %109, %110 br i1 %111, label %112, label %123 112: ; preds = %108 %113 = load i32, ptr %11, align 4 %114 = sext i32 %113 to i64 %115 = mul nsw i64 %114, %38 %116 = getelementptr inbounds i32, ptr %40, i64 %115 %117 = load i32, ptr %12, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds i32, ptr %116, i64 %118 store i32 0, ptr %119, align 4 br label %120 120: ; preds = %112 %121 = load i32, ptr %12, align 4 %122 = add nsw i32 %121, 1 store i32 %122, ptr %12, align 4 br label %108, !llvm.loop !11 123: ; preds = %108 br label %124 124: ; preds = %123 %125 = load i32, ptr %11, align 4 %126 = add nsw i32 %125, 1 store i32 %126, ptr %11, align 4 br label %103, !llvm.loop !12 127: ; preds = %103 %128 = call i32 @xmp_desc_of(ptr noundef %40) %129 = call i32 @xmp_desc_of(ptr noundef %28) %130 = call i32 @xmp_desc_of(ptr noundef %34) %131 = call i32 @xmp_matmul(i32 noundef %128, i32 noundef %129, i32 noundef %130) store i32 0, ptr %13, align 4 %132 = load i32, ptr %1, align 4 %133 = sitofp i32 %132 to double store double %133, ptr %14, align 8 %134 = load i32, ptr %2, align 4 %135 = sitofp i32 %134 to double store double %135, ptr %15, align 8 %136 = load i32, ptr %3, align 4 %137 = sitofp i32 %136 to double store double %137, ptr %16, align 8 %138 = load double, ptr %15, align 8 %139 = load double, ptr %15, align 8 %140 = fadd double %139, 1.000000e+00 %141 = fmul double %138, %140 %142 = load double, ptr %15, align 8 %143 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %142, double 1.000000e+00) %144 = fmul double %141, %143 %145 = fdiv double %144, 6.000000e+00 store double %145, ptr %17, align 8 %146 = load double, ptr %15, align 8 %147 = load double, ptr %15, align 8 %148 = fadd double %147, 1.000000e+00 %149 = fmul double %146, %148 %150 = fdiv double %149, 2.000000e+00 store double %150, ptr %18, align 8 store i32 0, ptr %11, align 4 br label %151 151: ; preds = %199, %127 %152 = load i32, ptr %11, align 4 %153 = load i32, ptr %1, align 4 %154 = icmp slt i32 %152, %153 br i1 %154, label %155, label %202 155: ; preds = %151 store i32 0, ptr %12, align 4 br label %156 156: ; preds = %195, %155 %157 = load i32, ptr %12, align 4 %158 = load i32, ptr %3, align 4 %159 = icmp slt i32 %157, %158 br i1 %159, label %160, label %198 160: ; preds = %156 %161 = load i32, ptr %11, align 4 %162 = sitofp i32 %161 to double %163 = load double, ptr %14, align 8 %164 = fmul double %162, %163 store double %164, ptr %20, align 8 %165 = load i32, ptr %12, align 4 %166 = sitofp i32 %165 to double %167 = load double, ptr %16, align 8 %168 = fmul double %166, %167 store double %168, ptr %21, align 8 %169 = load double, ptr %17, align 8 %170 = load double, ptr %18, align 8 %171 = load double, ptr %20, align 8 %172 = load double, ptr %21, align 8 %173 = fadd double %171, %172 %174 = call double @llvm.fmuladd.f64(double %170, double %173, double %169) %175 = load double, ptr %20, align 8 %176 = load double, ptr %21, align 8 %177 = fmul double %175, %176 %178 = load double, ptr %15, align 8 %179 = call double @llvm.fmuladd.f64(double %177, double %178, double %174) store double %179, ptr %19, align 8 %180 = load i32, ptr %13, align 4 %181 = sitofp i32 %180 to double %182 = load i32, ptr %11, align 4 %183 = sext i32 %182 to i64 %184 = mul nsw i64 %183, %38 %185 = getelementptr inbounds i32, ptr %40, i64 %184 %186 = load i32, ptr %12, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds i32, ptr %185, i64 %187 %189 = load i32, ptr %188, align 4 %190 = sitofp i32 %189 to double %191 = load double, ptr %19, align 8 %192 = fsub double %190, %191 %193 = fadd double %181, %192 %194 = fptosi double %193 to i32 store i32 %194, ptr %13, align 4 br label %195 195: ; preds = %160 %196 = load i32, ptr %12, align 4 %197 = add nsw i32 %196, 1 store i32 %197, ptr %12, align 4 br label %156, !llvm.loop !13 198: ; preds = %156 br label %199 199: ; preds = %198 %200 = load i32, ptr %11, align 4 %201 = add nsw i32 %200, 1 store i32 %201, ptr %11, align 4 br label %151, !llvm.loop !14 202: ; preds = %151 %203 = load i32, ptr %13, align 4 %204 = call i32 @chk_int2(i32 noundef %203) %205 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %205) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @xmp_matmul(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @xmp_desc_of(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare i32 @chk_int2(i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6f_eijxo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_mm_anini_b_c_bc_i4_d() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, 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 i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 store i32 21, ptr %1, align 4 store i32 23, ptr %2, align 4 store i32 25, ptr %3, align 4 %22 = load i32, ptr %1, align 4 %23 = zext i32 %22 to i64 %24 = load i32, ptr %2, align 4 %25 = zext i32 %24 to i64 %26 = call ptr @llvm.stacksave() store ptr %26, ptr %4, align 8 %27 = mul nuw i64 %23, %25 %28 = alloca i32, i64 %27, align 16 store i64 %23, ptr %5, align 8 store i64 %25, ptr %6, align 8 %29 = load i32, ptr %2, align 4 %30 = zext i32 %29 to i64 %31 = load i32, ptr %3, align 4 %32 = zext i32 %31 to i64 %33 = mul nuw i64 %30, %32 %34 = alloca i32, i64 %33, align 16 store i64 %30, ptr %7, align 8 store i64 %32, ptr %8, align 8 %35 = load i32, ptr %1, align 4 %36 = zext i32 %35 to i64 %37 = load i32, ptr %3, align 4 %38 = zext i32 %37 to i64 %39 = mul nuw i64 %36, %38 %40 = alloca i32, i64 %39, align 16 store i64 %36, ptr %9, align 8 store i64 %38, ptr %10, align 8 store i32 0, ptr %11, align 4 %41 = load i32, ptr %11, align 4 %42 = load i32, ptr %1, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %.lr.ph2, label %75 .lr.ph2: ; preds = %0 br label %44 44: ; preds = %.lr.ph2, %69 store i32 0, ptr %12, align 4 %45 = load i32, ptr %12, align 4 %46 = load i32, ptr %2, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %.lr.ph, label %68 .lr.ph: ; preds = %44 br label %48 48: ; preds = %.lr.ph, %62 %49 = load i32, ptr %11, align 4 %50 = load i32, ptr %1, align 4 %51 = mul nsw i32 %49, %50 %52 = load i32, ptr %12, align 4 %53 = add nsw i32 %51, %52 %54 = add nsw i32 %53, 1 %55 = load i32, ptr %11, align 4 %56 = sext i32 %55 to i64 %57 = mul nsw i64 %56, %25 %58 = getelementptr inbounds i32, ptr %28, i64 %57 %59 = load i32, ptr %12, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %58, i64 %60 store i32 %54, ptr %61, align 4 br label %62 62: ; preds = %48 %63 = load i32, ptr %12, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %12, align 4 %65 = load i32, ptr %12, align 4 %66 = load i32, ptr %2, align 4 %67 = icmp slt i32 %65, %66 br i1 %67, label %48, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %62 br label %68 68: ; preds = %._crit_edge, %44 br label %69 69: ; preds = %68 %70 = load i32, ptr %11, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %11, align 4 %72 = load i32, ptr %11, align 4 %73 = load i32, ptr %1, align 4 %74 = icmp slt i32 %72, %73 br i1 %74, label %44, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %69 br label %75 75: ; preds = %._crit_edge3, %0 store i32 0, ptr %11, align 4 %76 = load i32, ptr %11, align 4 %77 = load i32, ptr %2, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %.lr.ph8, label %110 .lr.ph8: ; preds = %75 br label %79 79: ; preds = %.lr.ph8, %104 store i32 0, ptr %12, align 4 %80 = load i32, ptr %12, align 4 %81 = load i32, ptr %3, align 4 %82 = icmp slt i32 %80, %81 br i1 %82, label %.lr.ph5, label %103 .lr.ph5: ; preds = %79 br label %83 83: ; preds = %.lr.ph5, %97 %84 = load i32, ptr %12, align 4 %85 = load i32, ptr %3, align 4 %86 = mul nsw i32 %84, %85 %87 = load i32, ptr %11, align 4 %88 = add nsw i32 %86, %87 %89 = add nsw i32 %88, 1 %90 = load i32, ptr %11, align 4 %91 = sext i32 %90 to i64 %92 = mul nsw i64 %91, %32 %93 = getelementptr inbounds i32, ptr %34, i64 %92 %94 = load i32, ptr %12, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i32, ptr %93, i64 %95 store i32 %89, ptr %96, align 4 br label %97 97: ; preds = %83 %98 = load i32, ptr %12, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %12, align 4 %100 = load i32, ptr %12, align 4 %101 = load i32, ptr %3, align 4 %102 = icmp slt i32 %100, %101 br i1 %102, label %83, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %97 br label %103 103: ; preds = %._crit_edge6, %79 br label %104 104: ; preds = %103 %105 = load i32, ptr %11, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %11, align 4 %107 = load i32, ptr %11, align 4 %108 = load i32, ptr %2, align 4 %109 = icmp slt i32 %107, %108 br i1 %109, label %79, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %104 br label %110 110: ; preds = %._crit_edge9, %75 store i32 0, ptr %11, align 4 %111 = load i32, ptr %11, align 4 %112 = load i32, ptr %1, align 4 %113 = icmp slt i32 %111, %112 br i1 %113, label %.lr.ph14, label %139 .lr.ph14: ; preds = %110 br label %114 114: ; preds = %.lr.ph14, %133 store i32 0, ptr %12, align 4 %115 = load i32, ptr %12, align 4 %116 = load i32, ptr %3, align 4 %117 = icmp slt i32 %115, %116 br i1 %117, label %.lr.ph11, label %132 .lr.ph11: ; preds = %114 br label %118 118: ; preds = %.lr.ph11, %126 %119 = load i32, ptr %11, align 4 %120 = sext i32 %119 to i64 %121 = mul nsw i64 %120, %38 %122 = getelementptr inbounds i32, ptr %40, i64 %121 %123 = load i32, ptr %12, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i32, ptr %122, i64 %124 store i32 0, ptr %125, align 4 br label %126 126: ; preds = %118 %127 = load i32, ptr %12, align 4 %128 = add nsw i32 %127, 1 store i32 %128, ptr %12, align 4 %129 = load i32, ptr %12, align 4 %130 = load i32, ptr %3, align 4 %131 = icmp slt i32 %129, %130 br i1 %131, label %118, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %126 br label %132 132: ; preds = %._crit_edge12, %114 br label %133 133: ; preds = %132 %134 = load i32, ptr %11, align 4 %135 = add nsw i32 %134, 1 store i32 %135, ptr %11, align 4 %136 = load i32, ptr %11, align 4 %137 = load i32, ptr %1, align 4 %138 = icmp slt i32 %136, %137 br i1 %138, label %114, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %133 br label %139 139: ; preds = %._crit_edge15, %110 %140 = call i32 @xmp_desc_of(ptr noundef %40) %141 = call i32 @xmp_desc_of(ptr noundef %28) %142 = call i32 @xmp_desc_of(ptr noundef %34) %143 = call i32 @xmp_matmul(i32 noundef %140, i32 noundef %141, i32 noundef %142) store i32 0, ptr %13, align 4 %144 = load i32, ptr %1, align 4 %145 = sitofp i32 %144 to double store double %145, ptr %14, align 8 %146 = load i32, ptr %2, align 4 %147 = sitofp i32 %146 to double store double %147, ptr %15, align 8 %148 = load i32, ptr %3, align 4 %149 = sitofp i32 %148 to double store double %149, ptr %16, align 8 %150 = load double, ptr %15, align 8 %151 = load double, ptr %15, align 8 %152 = fadd double %151, 1.000000e+00 %153 = fmul double %150, %152 %154 = load double, ptr %15, align 8 %155 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %154, double 1.000000e+00) %156 = fmul double %153, %155 %157 = fdiv double %156, 6.000000e+00 store double %157, ptr %17, align 8 %158 = load double, ptr %15, align 8 %159 = load double, ptr %15, align 8 %160 = fadd double %159, 1.000000e+00 %161 = fmul double %158, %160 %162 = fdiv double %161, 2.000000e+00 store double %162, ptr %18, align 8 store i32 0, ptr %11, align 4 %163 = load i32, ptr %11, align 4 %164 = load i32, ptr %1, align 4 %165 = icmp slt i32 %163, %164 br i1 %165, label %.lr.ph20, label %218 .lr.ph20: ; preds = %139 br label %166 166: ; preds = %.lr.ph20, %212 store i32 0, ptr %12, align 4 %167 = load i32, ptr %12, align 4 %168 = load i32, ptr %3, align 4 %169 = icmp slt i32 %167, %168 br i1 %169, label %.lr.ph17, label %211 .lr.ph17: ; preds = %166 br label %170 170: ; preds = %.lr.ph17, %205 %171 = load i32, ptr %11, align 4 %172 = sitofp i32 %171 to double %173 = load double, ptr %14, align 8 %174 = fmul double %172, %173 store double %174, ptr %20, align 8 %175 = load i32, ptr %12, align 4 %176 = sitofp i32 %175 to double %177 = load double, ptr %16, align 8 %178 = fmul double %176, %177 store double %178, ptr %21, align 8 %179 = load double, ptr %17, align 8 %180 = load double, ptr %18, align 8 %181 = load double, ptr %20, align 8 %182 = load double, ptr %21, align 8 %183 = fadd double %181, %182 %184 = call double @llvm.fmuladd.f64(double %180, double %183, double %179) %185 = load double, ptr %20, align 8 %186 = load double, ptr %21, align 8 %187 = fmul double %185, %186 %188 = load double, ptr %15, align 8 %189 = call double @llvm.fmuladd.f64(double %187, double %188, double %184) store double %189, ptr %19, align 8 %190 = load i32, ptr %13, align 4 %191 = sitofp i32 %190 to double %192 = load i32, ptr %11, align 4 %193 = sext i32 %192 to i64 %194 = mul nsw i64 %193, %38 %195 = getelementptr inbounds i32, ptr %40, i64 %194 %196 = load i32, ptr %12, align 4 %197 = sext i32 %196 to i64 %198 = getelementptr inbounds i32, ptr %195, i64 %197 %199 = load i32, ptr %198, align 4 %200 = sitofp i32 %199 to double %201 = load double, ptr %19, align 8 %202 = fsub double %200, %201 %203 = fadd double %191, %202 %204 = fptosi double %203 to i32 store i32 %204, ptr %13, align 4 br label %205 205: ; preds = %170 %206 = load i32, ptr %12, align 4 %207 = add nsw i32 %206, 1 store i32 %207, ptr %12, align 4 %208 = load i32, ptr %12, align 4 %209 = load i32, ptr %3, align 4 %210 = icmp slt i32 %208, %209 br i1 %210, label %170, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %205 br label %211 211: ; preds = %._crit_edge18, %166 br label %212 212: ; preds = %211 %213 = load i32, ptr %11, align 4 %214 = add nsw i32 %213, 1 store i32 %214, ptr %11, align 4 %215 = load i32, ptr %11, align 4 %216 = load i32, ptr %1, align 4 %217 = icmp slt i32 %215, %216 br i1 %217, label %166, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %212 br label %218 218: ; preds = %._crit_edge21, %139 %219 = load i32, ptr %13, align 4 %220 = call i32 @chk_int2(i32 noundef %219) %221 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %221) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @xmp_matmul(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @xmp_desc_of(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare i32 @chk_int2(i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '/tmp/tmp4krozgxr.c' source_filename = "/tmp/tmp4krozgxr.c" target datalayout = "e-m:e-p270: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/tmp4krozgxr.c" target datalayout = "e-m:e-p270: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/tmpw1y_brzm.c' source_filename = "/tmp/tmpw1y_brzm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_talloc_zero(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %9 = load i64, ptr %6, align 8 %10 = call ptr @pseudotalloc_malloc(i64 noundef %9) store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %8, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %14, label %13 13: ; preds = %3 store ptr null, ptr %4, align 8 br label %19 14: ; preds = %3 %15 = load ptr, ptr %8, align 8 %16 = load i64, ptr %6, align 8 %17 = call i32 @memset(ptr noundef %15, i32 noundef 0, i64 noundef %16) %18 = load ptr, ptr %8, align 8 store ptr %18, ptr %4, align 8 br label %19 19: ; preds = %14, %13 %20 = load ptr, ptr %4, align 8 ret ptr %20 } declare ptr @pseudotalloc_malloc(i64 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/tmpw1y_brzm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_talloc_zero(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %9 = load i64, ptr %6, align 8 %10 = call ptr @pseudotalloc_malloc(i64 noundef %9) store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %8, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %14, label %13 13: ; preds = %3 store ptr null, ptr %4, align 8 br label %19 14: ; preds = %3 %15 = load ptr, ptr %8, align 8 %16 = load i64, ptr %6, align 8 %17 = call i32 @memset(ptr noundef %15, i32 noundef 0, i64 noundef %16) %18 = load ptr, ptr %8, align 8 store ptr %18, ptr %4, align 8 br label %19 19: ; preds = %14, %13 %20 = load ptr, ptr %4, align 8 ret ptr %20 } declare ptr @pseudotalloc_malloc(i64 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/tmpm9aimtbb.c' source_filename = "/tmp/tmpm9aimtbb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [60 x i8] c"FREEWAY TRAFFIC AROUND A BASCULE BRIDGE IN 2D USING OpenGL \00", align 1 @.str.1 = private unnamed_addr constant [104 x i8] c"|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|* Mouse Functions *|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|\00", align 1 @.str.2 = private unnamed_addr constant [104 x i8] c"-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-* Press Right click on your mouse *-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-\00", align 1 @.str.3 = private unnamed_addr constant [104 x i8] c"|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|* Press Enter to select an option *|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|\00", align 1 @.str.4 = private unnamed_addr constant [104 x i8] c"-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|* Keyboard Functions *-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-\00", align 1 @.str.5 = private unnamed_addr constant [104 x i8] c"|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|* Press a|A-START, s|S-STOP or d|D-EXIT *|-|-|-|-|-|-|-|-|-|-|-|-|-|-|\00", align 1 @.str.6 = private unnamed_addr constant [104 x i8] c"-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-* Algorithm And Programming by: *-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-\00", align 1 @.str.7 = private unnamed_addr constant [104 x i8] c"******************************** Akshay Raina '`'|'_`|'`' B.Roopini *********************************\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @title() #0 { %1 = call i32 @glColor3f(double noundef 1.000000e+00, double noundef 1.000000e+00, double noundef 0.000000e+00) %2 = call i32 @glRasterPos2f(double noundef 6.500000e+02, double noundef 1.400000e+03) %3 = call i32 @declare(ptr noundef @.str) %4 = call i32 @glRasterPos2f(double noundef 3.000000e+02, double noundef 1.100000e+03) %5 = call i32 @declare(ptr noundef @.str.1) %6 = call i32 @glRasterPos2f(double noundef 3.000000e+02, double noundef 1.000000e+03) %7 = call i32 @declare(ptr noundef @.str.2) %8 = call i32 @glRasterPos2f(double noundef 3.000000e+02, double noundef 9.000000e+02) %9 = call i32 @declare(ptr noundef @.str.3) %10 = call i32 @glRasterPos2f(double noundef 3.000000e+02, double noundef 6.000000e+02) %11 = call i32 @declare(ptr noundef @.str.4) %12 = call i32 @glRasterPos2f(double noundef 3.000000e+02, double noundef 5.000000e+02) %13 = call i32 @declare(ptr noundef @.str.5) %14 = call i32 @glRasterPos2f(double noundef 3.000000e+02, double noundef 2.000000e+02) %15 = call i32 @declare(ptr noundef @.str.6) %16 = call i32 @glRasterPos2f(double noundef 3.000000e+02, double noundef 1.000000e+02) %17 = call i32 @declare(ptr noundef @.str.7) ret void } declare i32 @glColor3f(double noundef, double noundef, double noundef) #1 declare i32 @glRasterPos2f(double noundef, double noundef) #1 declare i32 @declare(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm9aimtbb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [60 x i8] c"FREEWAY TRAFFIC AROUND A BASCULE BRIDGE IN 2D USING OpenGL \00", align 1 @.str.1 = private unnamed_addr constant [104 x i8] c"|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|* Mouse Functions *|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|\00", align 1 @.str.2 = private unnamed_addr constant [104 x i8] c"-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-* Press Right click on your mouse *-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-\00", align 1 @.str.3 = private unnamed_addr constant [104 x i8] c"|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|* Press Enter to select an option *|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|\00", align 1 @.str.4 = private unnamed_addr constant [104 x i8] c"-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|* Keyboard Functions *-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-\00", align 1 @.str.5 = private unnamed_addr constant [104 x i8] c"|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|* Press a|A-START, s|S-STOP or d|D-EXIT *|-|-|-|-|-|-|-|-|-|-|-|-|-|-|\00", align 1 @.str.6 = private unnamed_addr constant [104 x i8] c"-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-* Algorithm And Programming by: *-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-\00", align 1 @.str.7 = private unnamed_addr constant [104 x i8] c"******************************** Akshay Raina '`'|'_`|'`' B.Roopini *********************************\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @title() #0 { %1 = call i32 @glColor3f(double noundef 1.000000e+00, double noundef 1.000000e+00, double noundef 0.000000e+00) %2 = call i32 @glRasterPos2f(double noundef 6.500000e+02, double noundef 1.400000e+03) %3 = call i32 @declare(ptr noundef @.str) %4 = call i32 @glRasterPos2f(double noundef 3.000000e+02, double noundef 1.100000e+03) %5 = call i32 @declare(ptr noundef @.str.1) %6 = call i32 @glRasterPos2f(double noundef 3.000000e+02, double noundef 1.000000e+03) %7 = call i32 @declare(ptr noundef @.str.2) %8 = call i32 @glRasterPos2f(double noundef 3.000000e+02, double noundef 9.000000e+02) %9 = call i32 @declare(ptr noundef @.str.3) %10 = call i32 @glRasterPos2f(double noundef 3.000000e+02, double noundef 6.000000e+02) %11 = call i32 @declare(ptr noundef @.str.4) %12 = call i32 @glRasterPos2f(double noundef 3.000000e+02, double noundef 5.000000e+02) %13 = call i32 @declare(ptr noundef @.str.5) %14 = call i32 @glRasterPos2f(double noundef 3.000000e+02, double noundef 2.000000e+02) %15 = call i32 @declare(ptr noundef @.str.6) %16 = call i32 @glRasterPos2f(double noundef 3.000000e+02, double noundef 1.000000e+02) %17 = call i32 @declare(ptr noundef @.str.7) ret void } declare i32 @glColor3f(double noundef, double noundef, double noundef) #1 declare i32 @glRasterPos2f(double noundef, double noundef) #1 declare i32 @declare(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqiaw3dtk.c' source_filename = "/tmp/tmpqiaw3dtk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"d:t\00", align 1 @EOF = dso_local global i8 0, align 1 @optarg = dso_local global ptr null, align 8 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [19 x i8] c"unkown option: %s\0A\00", align 1 @optind = dso_local global i64 0, align 8 @.str.3 = private unnamed_addr constant [12 x i8] c"Thick crust\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"To be delivered %s.\0A\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"Ingredients:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %6, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %10 10: ; preds = %28, %2 %11 = load i32, ptr %4, align 4 %12 = load ptr, ptr %5, align 8 %13 = call signext i8 @getopt(i32 noundef %11, ptr noundef %12, ptr noundef @.str.1) store i8 %13, ptr %9, align 1 %14 = sext i8 %13 to i32 %15 = load i8, ptr @EOF, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %14, %16 br i1 %17, label %18, label %29 18: ; preds = %10 %19 = load i8, ptr %9, align 1 %20 = sext i8 %19 to i32 switch i32 %20, label %24 [ i32 100, label %21 i32 116, label %23 ] 21: ; preds = %18 %22 = load ptr, ptr @optarg, align 8 store ptr %22, ptr %6, align 8 br label %28 23: ; preds = %18 store i32 1, ptr %7, align 4 br label %28 24: ; preds = %18 %25 = load i32, ptr @stderr, align 4 %26 = load ptr, ptr @optarg, align 8 %27 = call i32 @fprintf(i32 noundef %25, ptr noundef @.str.2, ptr noundef %26) store i32 1, ptr %3, align 4 br label %60 28: ; preds = %23, %21 br label %10, !llvm.loop !6 29: ; preds = %10 %30 = load i64, ptr @optind, align 8 %31 = load i32, ptr %4, align 4 %32 = sext i32 %31 to i64 %33 = sub nsw i64 %32, %30 %34 = trunc i64 %33 to i32 store i32 %34, ptr %4, align 4 %35 = load i64, ptr @optind, align 8 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 %35 store ptr %37, ptr %5, align 8 %38 = load i32, ptr %7, align 4 %39 = icmp ne i32 %38, 0 br i1 %39, label %40, label %42 40: ; preds = %29 %41 = call i32 @puts(ptr noundef @.str.3) br label %42 42: ; preds = %40, %29 %43 = load ptr, ptr %6, align 8 %44 = getelementptr inbounds i8, ptr %43, i64 0 %45 = load i8, ptr %44, align 1 %46 = icmp ne i8 %45, 0 br i1 %46, label %47, label %50 47: ; preds = %42 %48 = load ptr, ptr %6, align 8 %49 = call i32 @printf(ptr noundef @.str.4, ptr noundef %48) br label %50 50: ; preds = %47, %42 %51 = call i32 @puts(ptr noundef @.str.5) store i32 0, ptr %8, align 4 br label %52 52: ; preds = %57, %50 %53 = load i32, ptr %8, align 4 %54 = load i32, ptr %4, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %56, label %60 56: ; preds = %52 br label %57 57: ; preds = %56 %58 = load i32, ptr %8, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %8, align 4 br label %52, !llvm.loop !8 60: ; preds = %24, %52 %61 = load i32, ptr %3, align 4 ret i32 %61 } declare signext i8 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @puts(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqiaw3dtk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"d:t\00", align 1 @EOF = dso_local global i8 0, align 1 @optarg = dso_local global ptr null, align 8 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [19 x i8] c"unkown option: %s\0A\00", align 1 @optind = dso_local global i64 0, align 8 @.str.3 = private unnamed_addr constant [12 x i8] c"Thick crust\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"To be delivered %s.\0A\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"Ingredients:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %6, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %10 = load i32, ptr %4, align 4 %11 = load ptr, ptr %5, align 8 %12 = call signext i8 @getopt(i32 noundef %10, ptr noundef %11, ptr noundef @.str.1) store i8 %12, ptr %9, align 1 %13 = sext i8 %12 to i32 %14 = load i8, ptr @EOF, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %13, %15 br i1 %16, label %.lr.ph, label %35 .lr.ph: ; preds = %2 br label %17 17: ; preds = %.lr.ph, %27 %18 = load i8, ptr %9, align 1 %19 = sext i8 %18 to i32 switch i32 %19, label %23 [ i32 100, label %20 i32 116, label %22 ] 20: ; preds = %17 %21 = load ptr, ptr @optarg, align 8 store ptr %21, ptr %6, align 8 br label %27 22: ; preds = %17 store i32 1, ptr %7, align 4 br label %27 23: ; preds = %17 %24 = load i32, ptr @stderr, align 4 %25 = load ptr, ptr @optarg, align 8 %26 = call i32 @fprintf(i32 noundef %24, ptr noundef @.str.2, ptr noundef %25) store i32 1, ptr %3, align 4 br label %68 27: ; preds = %22, %20 %28 = load i32, ptr %4, align 4 %29 = load ptr, ptr %5, align 8 %30 = call signext i8 @getopt(i32 noundef %28, ptr noundef %29, ptr noundef @.str.1) store i8 %30, ptr %9, align 1 %31 = sext i8 %30 to i32 %32 = load i8, ptr @EOF, align 1 %33 = sext i8 %32 to i32 %34 = icmp ne i32 %31, %33 br i1 %34, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %35 35: ; preds = %._crit_edge, %2 %36 = load i64, ptr @optind, align 8 %37 = load i32, ptr %4, align 4 %38 = sext i32 %37 to i64 %39 = sub nsw i64 %38, %36 %40 = trunc i64 %39 to i32 store i32 %40, ptr %4, align 4 %41 = load i64, ptr @optind, align 8 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 %41 store ptr %43, ptr %5, align 8 %44 = load i32, ptr %7, align 4 %45 = icmp ne i32 %44, 0 br i1 %45, label %46, label %48 46: ; preds = %35 %47 = call i32 @puts(ptr noundef @.str.3) br label %48 48: ; preds = %46, %35 %49 = load ptr, ptr %6, align 8 %50 = getelementptr inbounds i8, ptr %49, i64 0 %51 = load i8, ptr %50, align 1 %52 = icmp ne i8 %51, 0 br i1 %52, label %53, label %56 53: ; preds = %48 %54 = load ptr, ptr %6, align 8 %55 = call i32 @printf(ptr noundef @.str.4, ptr noundef %54) br label %56 56: ; preds = %53, %48 %57 = call i32 @puts(ptr noundef @.str.5) store i32 0, ptr %8, align 4 %58 = load i32, ptr %8, align 4 %59 = load i32, ptr %4, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %56 br label %61 61: ; preds = %.lr.ph2, %62 br label %62 62: ; preds = %61 %63 = load i32, ptr %8, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %8, align 4 %65 = load i32, ptr %8, align 4 %66 = load i32, ptr %4, align 4 %67 = icmp slt i32 %65, %66 br i1 %67, label %61, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %62 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %56 br label %68 68: ; preds = %.loopexit, %23 %69 = load i32, ptr %3, align 4 ret i32 %69 } declare signext i8 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @puts(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpmdctacaj.c' source_filename = "/tmp/tmpmdctacaj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ParentToChild(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i64 0, ptr %12, align 8 %14 = load i64, ptr %6, align 8 %15 = add nsw i64 %14, 1 %16 = mul i64 %15, 8 %17 = call i64 @malloc(i64 noundef %16) %18 = inttoptr i64 %17 to ptr store ptr %18, ptr %13, align 8 store i64 0, ptr %9, align 8 br label %19 19: ; preds = %30, %4 %20 = load i64, ptr %9, align 8 %21 = load i64, ptr %6, align 8 %22 = icmp sle i64 %20, %21 br i1 %22, label %23, label %33 23: ; preds = %19 %24 = load ptr, ptr %13, align 8 %25 = load i64, ptr %9, align 8 %26 = getelementptr inbounds i64, ptr %24, i64 %25 store i64 -1, ptr %26, align 8 %27 = load ptr, ptr %7, align 8 %28 = load i64, ptr %9, align 8 %29 = getelementptr inbounds i64, ptr %27, i64 %28 store i64 -1, ptr %29, align 8 br label %30 30: ; preds = %23 %31 = load i64, ptr %9, align 8 %32 = add nsw i64 %31, 1 store i64 %32, ptr %9, align 8 br label %19, !llvm.loop !6 33: ; preds = %19 %34 = load i64, ptr %6, align 8 store i64 %34, ptr %9, align 8 br label %35 35: ; preds = %59, %33 %36 = load i64, ptr %9, align 8 %37 = icmp sge i64 %36, 0 br i1 %37, label %38, label %62 38: ; preds = %35 %39 = load ptr, ptr %5, align 8 %40 = load i64, ptr %9, align 8 %41 = getelementptr inbounds i64, ptr %39, i64 %40 %42 = load i64, ptr %41, align 8 store i64 %42, ptr %11, align 8 %43 = load i64, ptr %11, align 8 %44 = load i64, ptr %9, align 8 %45 = icmp ne i64 %43, %44 br i1 %45, label %46, label %58 46: ; preds = %38 %47 = load ptr, ptr %7, align 8 %48 = load i64, ptr %11, align 8 %49 = getelementptr inbounds i64, ptr %47, i64 %48 %50 = load i64, ptr %49, align 8 %51 = load ptr, ptr %13, align 8 %52 = load i64, ptr %9, align 8 %53 = getelementptr inbounds i64, ptr %51, i64 %52 store i64 %50, ptr %53, align 8 %54 = load i64, ptr %9, align 8 %55 = load ptr, ptr %7, align 8 %56 = load i64, ptr %11, align 8 %57 = getelementptr inbounds i64, ptr %55, i64 %56 store i64 %54, ptr %57, align 8 br label %58 58: ; preds = %46, %38 br label %59 59: ; preds = %58 %60 = load i64, ptr %9, align 8 %61 = add nsw i64 %60, -1 store i64 %61, ptr %9, align 8 br label %35, !llvm.loop !8 62: ; preds = %35 store i64 0, ptr %9, align 8 br label %63 63: ; preds = %90, %62 %64 = load i64, ptr %9, align 8 %65 = load i64, ptr %6, align 8 %66 = icmp sle i64 %64, %65 br i1 %66, label %67, label %93 67: ; preds = %63 %68 = load ptr, ptr %7, align 8 %69 = load i64, ptr %9, align 8 %70 = getelementptr inbounds i64, ptr %68, i64 %69 %71 = load i64, ptr %70, align 8 store i64 %71, ptr %10, align 8 %72 = load i64, ptr %12, align 8 %73 = load ptr, ptr %7, align 8 %74 = load i64, ptr %9, align 8 %75 = getelementptr inbounds i64, ptr %73, i64 %74 store i64 %72, ptr %75, align 8 br label %76 76: ; preds = %79, %67 %77 = load i64, ptr %10, align 8 %78 = icmp ne i64 %77, -1 br i1 %78, label %79, label %89 79: ; preds = %76 %80 = load i64, ptr %10, align 8 %81 = load ptr, ptr %8, align 8 %82 = load i64, ptr %12, align 8 %83 = add nsw i64 %82, 1 store i64 %83, ptr %12, align 8 %84 = getelementptr inbounds i64, ptr %81, i64 %82 store i64 %80, ptr %84, align 8 %85 = load ptr, ptr %13, align 8 %86 = load i64, ptr %10, align 8 %87 = getelementptr inbounds i64, ptr %85, i64 %86 %88 = load i64, ptr %87, align 8 store i64 %88, ptr %10, align 8 br label %76, !llvm.loop !9 89: ; preds = %76 br label %90 90: ; preds = %89 %91 = load i64, ptr %9, align 8 %92 = add nsw i64 %91, 1 store i64 %92, ptr %9, align 8 br label %63, !llvm.loop !10 93: ; preds = %63 %94 = load i64, ptr %12, align 8 %95 = load ptr, ptr %7, align 8 %96 = load i64, ptr %6, align 8 %97 = add nsw i64 %96, 1 %98 = getelementptr inbounds i64, ptr %95, i64 %97 store i64 %94, ptr %98, align 8 %99 = load ptr, ptr %13, align 8 %100 = call i32 @free(ptr noundef %99) ret void } declare i64 @malloc(i64 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmdctacaj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ParentToChild(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i64 0, ptr %12, align 8 %14 = load i64, ptr %6, align 8 %15 = add nsw i64 %14, 1 %16 = mul i64 %15, 8 %17 = call i64 @malloc(i64 noundef %16) %18 = inttoptr i64 %17 to ptr store ptr %18, ptr %13, align 8 store i64 0, ptr %9, align 8 %19 = load i64, ptr %9, align 8 %20 = load i64, ptr %6, align 8 %21 = icmp sle i64 %19, %20 br i1 %21, label %.lr.ph, label %35 .lr.ph: ; preds = %4 br label %22 22: ; preds = %.lr.ph, %29 %23 = load ptr, ptr %13, align 8 %24 = load i64, ptr %9, align 8 %25 = getelementptr inbounds i64, ptr %23, i64 %24 store i64 -1, ptr %25, align 8 %26 = load ptr, ptr %7, align 8 %27 = load i64, ptr %9, align 8 %28 = getelementptr inbounds i64, ptr %26, i64 %27 store i64 -1, ptr %28, align 8 br label %29 29: ; preds = %22 %30 = load i64, ptr %9, align 8 %31 = add nsw i64 %30, 1 store i64 %31, ptr %9, align 8 %32 = load i64, ptr %9, align 8 %33 = load i64, ptr %6, align 8 %34 = icmp sle i64 %32, %33 br i1 %34, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %4 %36 = load i64, ptr %6, align 8 store i64 %36, ptr %9, align 8 %37 = load i64, ptr %9, align 8 %38 = icmp sge i64 %37, 0 br i1 %38, label %.lr.ph2, label %65 .lr.ph2: ; preds = %35 br label %39 39: ; preds = %.lr.ph2, %60 %40 = load ptr, ptr %5, align 8 %41 = load i64, ptr %9, align 8 %42 = getelementptr inbounds i64, ptr %40, i64 %41 %43 = load i64, ptr %42, align 8 store i64 %43, ptr %11, align 8 %44 = load i64, ptr %11, align 8 %45 = load i64, ptr %9, align 8 %46 = icmp ne i64 %44, %45 br i1 %46, label %47, label %59 47: ; preds = %39 %48 = load ptr, ptr %7, align 8 %49 = load i64, ptr %11, align 8 %50 = getelementptr inbounds i64, ptr %48, i64 %49 %51 = load i64, ptr %50, align 8 %52 = load ptr, ptr %13, align 8 %53 = load i64, ptr %9, align 8 %54 = getelementptr inbounds i64, ptr %52, i64 %53 store i64 %51, ptr %54, align 8 %55 = load i64, ptr %9, align 8 %56 = load ptr, ptr %7, align 8 %57 = load i64, ptr %11, align 8 %58 = getelementptr inbounds i64, ptr %56, i64 %57 store i64 %55, ptr %58, align 8 br label %59 59: ; preds = %47, %39 br label %60 60: ; preds = %59 %61 = load i64, ptr %9, align 8 %62 = add nsw i64 %61, -1 store i64 %62, ptr %9, align 8 %63 = load i64, ptr %9, align 8 %64 = icmp sge i64 %63, 0 br i1 %64, label %39, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %60 br label %65 65: ; preds = %._crit_edge3, %35 store i64 0, ptr %9, align 8 %66 = load i64, ptr %9, align 8 %67 = load i64, ptr %6, align 8 %68 = icmp sle i64 %66, %67 br i1 %68, label %.lr.ph8, label %99 .lr.ph8: ; preds = %65 br label %69 69: ; preds = %.lr.ph8, %93 %70 = load ptr, ptr %7, align 8 %71 = load i64, ptr %9, align 8 %72 = getelementptr inbounds i64, ptr %70, i64 %71 %73 = load i64, ptr %72, align 8 store i64 %73, ptr %10, align 8 %74 = load i64, ptr %12, align 8 %75 = load ptr, ptr %7, align 8 %76 = load i64, ptr %9, align 8 %77 = getelementptr inbounds i64, ptr %75, i64 %76 store i64 %74, ptr %77, align 8 %78 = load i64, ptr %10, align 8 %79 = icmp ne i64 %78, -1 br i1 %79, label %.lr.ph5, label %92 .lr.ph5: ; preds = %69 br label %80 80: ; preds = %.lr.ph5, %80 %81 = load i64, ptr %10, align 8 %82 = load ptr, ptr %8, align 8 %83 = load i64, ptr %12, align 8 %84 = add nsw i64 %83, 1 store i64 %84, ptr %12, align 8 %85 = getelementptr inbounds i64, ptr %82, i64 %83 store i64 %81, ptr %85, align 8 %86 = load ptr, ptr %13, align 8 %87 = load i64, ptr %10, align 8 %88 = getelementptr inbounds i64, ptr %86, i64 %87 %89 = load i64, ptr %88, align 8 store i64 %89, ptr %10, align 8 %90 = load i64, ptr %10, align 8 %91 = icmp ne i64 %90, -1 br i1 %91, label %80, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %80 br label %92 92: ; preds = %._crit_edge6, %69 br label %93 93: ; preds = %92 %94 = load i64, ptr %9, align 8 %95 = add nsw i64 %94, 1 store i64 %95, ptr %9, align 8 %96 = load i64, ptr %9, align 8 %97 = load i64, ptr %6, align 8 %98 = icmp sle i64 %96, %97 br i1 %98, label %69, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %93 br label %99 99: ; preds = %._crit_edge9, %65 %100 = load i64, ptr %12, align 8 %101 = load ptr, ptr %7, align 8 %102 = load i64, ptr %6, align 8 %103 = add nsw i64 %102, 1 %104 = getelementptr inbounds i64, ptr %101, i64 %103 store i64 %100, ptr %104, align 8 %105 = load ptr, ptr %13, align 8 %106 = call i32 @free(ptr noundef %105) ret void } declare i64 @malloc(i64 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpqfgugksr.c' source_filename = "/tmp/tmpqfgugksr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @smileDsp_winBla(i64 noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 store i64 %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 %14 = load i64, ptr %5, align 8 %15 = mul i64 8, %14 %16 = trunc i64 %15 to i32 %17 = call i64 @malloc(i32 noundef %16) %18 = inttoptr i64 %17 to ptr store ptr %18, ptr %10, align 8 %19 = load ptr, ptr %10, align 8 store ptr %19, ptr %11, align 8 %20 = load i64, ptr %5, align 8 %21 = sitofp i64 %20 to double store double %21, ptr %12, align 8 store double 0.000000e+00, ptr %9, align 8 br label %22 22: ; preds = %46, %4 %23 = load double, ptr %9, align 8 %24 = load double, ptr %12, align 8 %25 = fcmp olt double %23, %24 br i1 %25, label %26, label %49 26: ; preds = %22 %27 = load double, ptr %9, align 8 %28 = fmul double 0x401921FB54442D18, %27 %29 = load double, ptr %12, align 8 %30 = fsub double %29, 1.000000e+00 %31 = fdiv double %28, %30 store double %31, ptr %13, align 8 %32 = load double, ptr %6, align 8 %33 = load double, ptr %7, align 8 %34 = load double, ptr %13, align 8 %35 = call double @cos(double noundef %34) #4 %36 = fneg double %33 %37 = call double @llvm.fmuladd.f64(double %36, double %35, double %32) %38 = load double, ptr %8, align 8 %39 = load double, ptr %13, align 8 %40 = fmul double 2.000000e+00, %39 %41 = call double @cos(double noundef %40) #4 %42 = call double @llvm.fmuladd.f64(double %38, double %41, double %37) %43 = load ptr, ptr %11, align 8 store double %42, ptr %43, align 8 %44 = load ptr, ptr %11, align 8 %45 = getelementptr inbounds double, ptr %44, i32 1 store ptr %45, ptr %11, align 8 br label %46 46: ; preds = %26 %47 = load double, ptr %9, align 8 %48 = fadd double %47, 1.000000e+00 store double %48, ptr %9, align 8 br label %22, !llvm.loop !6 49: ; preds = %22 %50 = load ptr, ptr %10, align 8 ret ptr %50 } declare i64 @malloc(i32 noundef) #1 ; 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 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqfgugksr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @smileDsp_winBla(i64 noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 store i64 %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 %14 = load i64, ptr %5, align 8 %15 = mul i64 8, %14 %16 = trunc i64 %15 to i32 %17 = call i64 @malloc(i32 noundef %16) %18 = inttoptr i64 %17 to ptr store ptr %18, ptr %10, align 8 %19 = load ptr, ptr %10, align 8 store ptr %19, ptr %11, align 8 %20 = load i64, ptr %5, align 8 %21 = sitofp i64 %20 to double store double %21, ptr %12, align 8 store double 0.000000e+00, ptr %9, align 8 %22 = load double, ptr %9, align 8 %23 = load double, ptr %12, align 8 %24 = fcmp olt double %22, %23 br i1 %24, label %.lr.ph, label %51 .lr.ph: ; preds = %4 br label %25 25: ; preds = %.lr.ph, %45 %26 = load double, ptr %9, align 8 %27 = fmul double 0x401921FB54442D18, %26 %28 = load double, ptr %12, align 8 %29 = fsub double %28, 1.000000e+00 %30 = fdiv double %27, %29 store double %30, ptr %13, align 8 %31 = load double, ptr %6, align 8 %32 = load double, ptr %7, align 8 %33 = load double, ptr %13, align 8 %34 = call double @cos(double noundef %33) #4 %35 = fneg double %32 %36 = call double @llvm.fmuladd.f64(double %35, double %34, double %31) %37 = load double, ptr %8, align 8 %38 = load double, ptr %13, align 8 %39 = fmul double 2.000000e+00, %38 %40 = call double @cos(double noundef %39) #4 %41 = call double @llvm.fmuladd.f64(double %37, double %40, double %36) %42 = load ptr, ptr %11, align 8 store double %41, ptr %42, align 8 %43 = load ptr, ptr %11, align 8 %44 = getelementptr inbounds double, ptr %43, i32 1 store ptr %44, ptr %11, align 8 br label %45 45: ; preds = %25 %46 = load double, ptr %9, align 8 %47 = fadd double %46, 1.000000e+00 store double %47, ptr %9, align 8 %48 = load double, ptr %9, align 8 %49 = load double, ptr %12, align 8 %50 = fcmp olt double %48, %49 br i1 %50, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %51 51: ; preds = %._crit_edge, %4 %52 = load ptr, ptr %10, align 8 ret ptr %52 } declare i64 @malloc(i32 noundef) #1 ; 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 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpfgyg7bff.c' source_filename = "/tmp/tmpfgyg7bff.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @createArray(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = sext i32 %4 to i64 %6 = mul i64 %5, 4 %7 = trunc i64 %6 to i32 %8 = call ptr @malloc(i32 noundef %7) store ptr %8, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 ret ptr %9 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfgyg7bff.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @createArray(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = sext i32 %4 to i64 %6 = mul i64 %5, 4 %7 = trunc i64 %6 to i32 %8 = call ptr @malloc(i32 noundef %7) store ptr %8, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 ret ptr %9 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}