llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpj8co1rfm.c' source_filename = "/tmp/tmpj8co1rfm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_pipe(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 @pipe(ptr noundef %3) ret i32 %4 } declare i32 @pipe(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj8co1rfm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_pipe(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 @pipe(ptr noundef %3) ret i32 %4 } declare i32 @pipe(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg_m0j8s3.c' source_filename = "/tmp/tmpg_m0j8s3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"text/plain\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"8bit\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"7bit\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"quoted-printable\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"base64\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @encode_body(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr null, ptr %12, align 8 %15 = call ptr (...) @tmpfile() store ptr %15, ptr %13, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %94 17: ; preds = %5 %18 = load ptr, ptr %9, align 8 %19 = call i32 @mystricmp(ptr noundef %18, ptr noundef @.str) %20 = icmp ne i32 %19, 0 br i1 %20, label %63, label %21 21: ; preds = %17 %22 = load ptr, ptr %7, align 8 %23 = load i32, ptr %8, align 4 %24 = load ptr, ptr %11, align 8 %25 = load ptr, ptr %24, align 8 %26 = call ptr @get_best_encoding(ptr noundef %22, i32 noundef %23, ptr noundef %25) %27 = load ptr, ptr %11, align 8 store ptr %26, ptr %27, align 8 %28 = load ptr, ptr %11, align 8 %29 = load ptr, ptr %28, align 8 %30 = call i32 @mystricmp(ptr noundef %29, ptr noundef @.str.1) %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %37 32: ; preds = %21 %33 = load ptr, ptr %11, align 8 %34 = load ptr, ptr %33, align 8 %35 = call i32 @mystricmp(ptr noundef %34, ptr noundef @.str.2) %36 = icmp ne i32 %35, 0 br i1 %36, label %56, label %37 37: ; preds = %32, %21 %38 = load i32, ptr %8, align 4 %39 = add i32 %38, 1 %40 = call i64 @malloc(i32 noundef %39) %41 = inttoptr i64 %40 to ptr store ptr %41, ptr %12, align 8 %42 = icmp ne ptr %41, null br i1 %42, label %43, label %54 43: ; preds = %37 %44 = load ptr, ptr %12, align 8 %45 = load ptr, ptr %7, align 8 %46 = load i32, ptr %8, align 4 %47 = call i32 @memcpy(ptr noundef %44, ptr noundef %45, i32 noundef %46) %48 = load ptr, ptr %12, align 8 %49 = load i32, ptr %8, align 4 %50 = zext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %48, i64 %50 store i8 0, ptr %51, align 1 %52 = load i32, ptr %8, align 4 %53 = load ptr, ptr %10, align 8 store i32 %52, ptr %53, align 4 br label %54 54: ; preds = %43, %37 %55 = load ptr, ptr %12, align 8 store ptr %55, ptr %6, align 8 br label %96 56: ; preds = %32 %57 = load ptr, ptr %13, align 8 %58 = load ptr, ptr %7, align 8 %59 = load i32, ptr %8, align 4 %60 = call i32 @encode_body_quoted(ptr noundef %57, ptr noundef %58, i32 noundef %59) %61 = load ptr, ptr %11, align 8 store ptr @.str.3, ptr %61, align 8 br label %62 62: ; preds = %56 br label %69 63: ; preds = %17 %64 = load ptr, ptr %13, align 8 %65 = load ptr, ptr %7, align 8 %66 = load i32, ptr %8, align 4 %67 = call i32 @encode_body_base64(ptr noundef %64, ptr noundef %65, i32 noundef %66) %68 = load ptr, ptr %11, align 8 store ptr @.str.4, ptr %68, align 8 br label %69 69: ; preds = %63, %62 %70 = load ptr, ptr %13, align 8 %71 = call i32 @ftell(ptr noundef %70) store i32 %71, ptr %14, align 4 %72 = load ptr, ptr %13, align 8 %73 = load i32, ptr @SEEK_SET, align 4 %74 = call i32 @fseek(ptr noundef %72, i32 noundef 0, i32 noundef %73) %75 = load i32, ptr %14, align 4 %76 = add nsw i32 %75, 1 %77 = call i64 @malloc(i32 noundef %76) %78 = inttoptr i64 %77 to ptr store ptr %78, ptr %12, align 8 %79 = icmp ne ptr %78, null br i1 %79, label %80, label %91 80: ; preds = %69 %81 = load ptr, ptr %12, align 8 %82 = load i32, ptr %14, align 4 %83 = load ptr, ptr %13, align 8 %84 = call i32 @fread(ptr noundef %81, i32 noundef 1, i32 noundef %82, ptr noundef %83) %85 = load ptr, ptr %12, align 8 %86 = load i32, ptr %14, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds i8, ptr %85, i64 %87 store i8 0, ptr %88, align 1 %89 = load i32, ptr %14, align 4 %90 = load ptr, ptr %10, align 8 store i32 %89, ptr %90, align 4 br label %91 91: ; preds = %80, %69 %92 = load ptr, ptr %13, align 8 %93 = call i32 @fclose(ptr noundef %92) br label %94 94: ; preds = %91, %5 %95 = load ptr, ptr %12, align 8 store ptr %95, ptr %6, align 8 br label %96 96: ; preds = %94, %54 %97 = load ptr, ptr %6, align 8 ret ptr %97 } declare ptr @tmpfile(...) #1 declare i32 @mystricmp(ptr noundef, ptr noundef) #1 declare ptr @get_best_encoding(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @encode_body_quoted(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @encode_body_base64(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @ftell(ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 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/tmpg_m0j8s3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"text/plain\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"8bit\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"7bit\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"quoted-printable\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"base64\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @encode_body(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr null, ptr %12, align 8 %15 = call ptr (...) @tmpfile() store ptr %15, ptr %13, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %94 17: ; preds = %5 %18 = load ptr, ptr %9, align 8 %19 = call i32 @mystricmp(ptr noundef %18, ptr noundef @.str) %20 = icmp ne i32 %19, 0 br i1 %20, label %63, label %21 21: ; preds = %17 %22 = load ptr, ptr %7, align 8 %23 = load i32, ptr %8, align 4 %24 = load ptr, ptr %11, align 8 %25 = load ptr, ptr %24, align 8 %26 = call ptr @get_best_encoding(ptr noundef %22, i32 noundef %23, ptr noundef %25) %27 = load ptr, ptr %11, align 8 store ptr %26, ptr %27, align 8 %28 = load ptr, ptr %11, align 8 %29 = load ptr, ptr %28, align 8 %30 = call i32 @mystricmp(ptr noundef %29, ptr noundef @.str.1) %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %37 32: ; preds = %21 %33 = load ptr, ptr %11, align 8 %34 = load ptr, ptr %33, align 8 %35 = call i32 @mystricmp(ptr noundef %34, ptr noundef @.str.2) %36 = icmp ne i32 %35, 0 br i1 %36, label %56, label %37 37: ; preds = %32, %21 %38 = load i32, ptr %8, align 4 %39 = add i32 %38, 1 %40 = call i64 @malloc(i32 noundef %39) %41 = inttoptr i64 %40 to ptr store ptr %41, ptr %12, align 8 %42 = icmp ne ptr %41, null br i1 %42, label %43, label %54 43: ; preds = %37 %44 = load ptr, ptr %12, align 8 %45 = load ptr, ptr %7, align 8 %46 = load i32, ptr %8, align 4 %47 = call i32 @memcpy(ptr noundef %44, ptr noundef %45, i32 noundef %46) %48 = load ptr, ptr %12, align 8 %49 = load i32, ptr %8, align 4 %50 = zext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %48, i64 %50 store i8 0, ptr %51, align 1 %52 = load i32, ptr %8, align 4 %53 = load ptr, ptr %10, align 8 store i32 %52, ptr %53, align 4 br label %54 54: ; preds = %43, %37 %55 = load ptr, ptr %12, align 8 store ptr %55, ptr %6, align 8 br label %96 56: ; preds = %32 %57 = load ptr, ptr %13, align 8 %58 = load ptr, ptr %7, align 8 %59 = load i32, ptr %8, align 4 %60 = call i32 @encode_body_quoted(ptr noundef %57, ptr noundef %58, i32 noundef %59) %61 = load ptr, ptr %11, align 8 store ptr @.str.3, ptr %61, align 8 br label %62 62: ; preds = %56 br label %69 63: ; preds = %17 %64 = load ptr, ptr %13, align 8 %65 = load ptr, ptr %7, align 8 %66 = load i32, ptr %8, align 4 %67 = call i32 @encode_body_base64(ptr noundef %64, ptr noundef %65, i32 noundef %66) %68 = load ptr, ptr %11, align 8 store ptr @.str.4, ptr %68, align 8 br label %69 69: ; preds = %63, %62 %70 = load ptr, ptr %13, align 8 %71 = call i32 @ftell(ptr noundef %70) store i32 %71, ptr %14, align 4 %72 = load ptr, ptr %13, align 8 %73 = load i32, ptr @SEEK_SET, align 4 %74 = call i32 @fseek(ptr noundef %72, i32 noundef 0, i32 noundef %73) %75 = load i32, ptr %14, align 4 %76 = add nsw i32 %75, 1 %77 = call i64 @malloc(i32 noundef %76) %78 = inttoptr i64 %77 to ptr store ptr %78, ptr %12, align 8 %79 = icmp ne ptr %78, null br i1 %79, label %80, label %91 80: ; preds = %69 %81 = load ptr, ptr %12, align 8 %82 = load i32, ptr %14, align 4 %83 = load ptr, ptr %13, align 8 %84 = call i32 @fread(ptr noundef %81, i32 noundef 1, i32 noundef %82, ptr noundef %83) %85 = load ptr, ptr %12, align 8 %86 = load i32, ptr %14, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds i8, ptr %85, i64 %87 store i8 0, ptr %88, align 1 %89 = load i32, ptr %14, align 4 %90 = load ptr, ptr %10, align 8 store i32 %89, ptr %90, align 4 br label %91 91: ; preds = %80, %69 %92 = load ptr, ptr %13, align 8 %93 = call i32 @fclose(ptr noundef %92) br label %94 94: ; preds = %91, %5 %95 = load ptr, ptr %12, align 8 store ptr %95, ptr %6, align 8 br label %96 96: ; preds = %94, %54 %97 = load ptr, ptr %6, align 8 ret ptr %97 } declare ptr @tmpfile(...) #1 declare i32 @mystricmp(ptr noundef, ptr noundef) #1 declare ptr @get_best_encoding(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @encode_body_quoted(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @encode_body_base64(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @ftell(ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 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/tmpmqofd338.c' source_filename = "/tmp/tmpmqofd338.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Thread = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @print(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %8, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %9) store i32 0, ptr %5, align 4 br label %11 11: ; preds = %18, %1 %12 = load i32, ptr %5, align 4 %13 = icmp slt i32 %12, 50000 br i1 %13, label %14, label %21 14: ; preds = %11 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %6, align 4 %17 = add nsw i32 %16, %15 store i32 %17, ptr %6, align 4 br label %18 18: ; preds = %14 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 br label %11, !llvm.loop !6 21: ; preds = %11 %22 = call i32 @pthread_exit(ptr noundef inttoptr (i64 2 to ptr)) %23 = load ptr, ptr %2, align 8 ret ptr %23 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @pthread_exit(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpmqofd338.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Thread = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @print(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %8, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %9) store i32 0, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %11, 50000 br i1 %12, label %.lr.ph, label %22 .lr.ph: ; preds = %1 br label %13 13: ; preds = %.lr.ph, %17 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %6, align 4 %16 = add nsw i32 %15, %14 store i32 %16, ptr %6, align 4 br label %17 17: ; preds = %13 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = icmp slt i32 %20, 50000 br i1 %21, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %1 %23 = call i32 @pthread_exit(ptr noundef inttoptr (i64 2 to ptr)) %24 = load ptr, ptr %2, align 8 ret ptr %24 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @pthread_exit(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp584i785_.c' source_filename = "/tmp/tmp584i785_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Generating input data...\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"Computing on regression...\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"regression[%d]: y = %f + %f x\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"compute time: %g s\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 double, align 8 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 store i32 0, ptr %1, align 4 store i32 16, ptr %2, align 4 %16 = call ptr @calloc(i32 noundef 16, i32 noundef 4) store ptr %16, ptr %6, align 8 %17 = call ptr @calloc(i32 noundef 16, i32 noundef 4) store ptr %17, ptr %7, align 8 %18 = call ptr @calloc(i32 noundef 16, i32 noundef 4) store ptr %18, ptr %8, align 8 %19 = call ptr @calloc(i32 noundef 16, i32 noundef 4) store ptr %19, ptr %9, align 8 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str) %21 = load ptr, ptr %6, align 8 %22 = load ptr, ptr %7, align 8 %23 = call i32 @data_gen(ptr noundef %21, ptr noundef %22, i32 noundef 16) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store float 0.000000e+00, ptr %10, align 4 store float 0.000000e+00, ptr %11, align 4 store float 0.000000e+00, ptr %12, align 4 store float 0.000000e+00, ptr %13, align 4 store float 0.000000e+00, ptr %14, align 4 store float 0.000000e+00, ptr %15, align 4 %25 = call double (...) @getTime() store double %25, ptr %4, align 8 store i32 0, ptr %3, align 4 br label %26 26: ; preds = %115, %0 %27 = load i32, ptr %3, align 4 %28 = icmp slt i32 %27, 16 br i1 %28, label %29, label %118 29: ; preds = %26 %30 = load ptr, ptr %6, align 8 %31 = load i32, ptr %3, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds float, ptr %30, i64 %32 %34 = load float, ptr %33, align 4 %35 = load float, ptr %10, align 4 %36 = fadd float %35, %34 store float %36, ptr %10, align 4 %37 = load ptr, ptr %6, align 8 %38 = load i32, ptr %3, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds float, ptr %37, i64 %39 %41 = load float, ptr %40, align 4 %42 = load ptr, ptr %6, align 8 %43 = load i32, ptr %3, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds float, ptr %42, i64 %44 %46 = load float, ptr %45, align 4 %47 = load float, ptr %11, align 4 %48 = call float @llvm.fmuladd.f32(float %41, float %46, float %47) store float %48, ptr %11, align 4 %49 = load ptr, ptr %6, align 8 %50 = load i32, ptr %3, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds float, ptr %49, i64 %51 %53 = load float, ptr %52, align 4 %54 = load ptr, ptr %7, align 8 %55 = load i32, ptr %3, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds float, ptr %54, i64 %56 %58 = load float, ptr %57, align 4 %59 = load float, ptr %12, align 4 %60 = call float @llvm.fmuladd.f32(float %53, float %58, float %59) store float %60, ptr %12, align 4 %61 = load ptr, ptr %7, align 8 %62 = load i32, ptr %3, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds float, ptr %61, i64 %63 %65 = load float, ptr %64, align 4 %66 = load float, ptr %13, align 4 %67 = fadd float %66, %65 store float %67, ptr %13, align 4 %68 = load float, ptr %10, align 4 %69 = load i32, ptr %3, align 4 %70 = add nsw i32 %69, 1 %71 = sitofp i32 %70 to float %72 = fdiv float %68, %71 store float %72, ptr %14, align 4 %73 = load float, ptr %13, align 4 %74 = load i32, ptr %3, align 4 %75 = add nsw i32 %74, 1 %76 = sitofp i32 %75 to float %77 = fdiv float %73, %76 store float %77, ptr %15, align 4 %78 = load i32, ptr %3, align 4 %79 = icmp eq i32 %78, 0 br i1 %79, label %80, label %85 80: ; preds = %29 %81 = load ptr, ptr %9, align 8 %82 = load i32, ptr %3, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds float, ptr %81, i64 %83 store float 0.000000e+00, ptr %84, align 4 br label %101 85: ; preds = %29 %86 = load float, ptr %12, align 4 %87 = load float, ptr %10, align 4 %88 = load float, ptr %15, align 4 %89 = fneg float %87 %90 = call float @llvm.fmuladd.f32(float %89, float %88, float %86) %91 = load float, ptr %11, align 4 %92 = load float, ptr %10, align 4 %93 = load float, ptr %14, align 4 %94 = fneg float %92 %95 = call float @llvm.fmuladd.f32(float %94, float %93, float %91) %96 = fdiv float %90, %95 %97 = load ptr, ptr %9, align 8 %98 = load i32, ptr %3, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds float, ptr %97, i64 %99 store float %96, ptr %100, align 4 br label %101 101: ; preds = %85, %80 %102 = load float, ptr %15, align 4 %103 = load ptr, ptr %9, align 8 %104 = load i32, ptr %3, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds float, ptr %103, i64 %105 %107 = load float, ptr %106, align 4 %108 = load float, ptr %14, align 4 %109 = fneg float %107 %110 = call float @llvm.fmuladd.f32(float %109, float %108, float %102) %111 = load ptr, ptr %8, align 8 %112 = load i32, ptr %3, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds float, ptr %111, i64 %113 store float %110, ptr %114, align 4 br label %115 115: ; preds = %101 %116 = load i32, ptr %3, align 4 %117 = add nsw i32 %116, 1 store i32 %117, ptr %3, align 4 br label %26, !llvm.loop !6 118: ; preds = %26 %119 = call double (...) @getTime() %120 = load double, ptr %4, align 8 %121 = fsub double %119, %120 store double %121, ptr %5, align 8 store i32 0, ptr %3, align 4 br label %122 122: ; preds = %140, %118 %123 = load i32, ptr %3, align 4 %124 = icmp slt i32 %123, 16 br i1 %124, label %125, label %143 125: ; preds = %122 %126 = load i32, ptr %3, align 4 %127 = load ptr, ptr %8, align 8 %128 = load i32, ptr %3, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds float, ptr %127, i64 %129 %131 = load float, ptr %130, align 4 %132 = fpext float %131 to double %133 = load ptr, ptr %9, align 8 %134 = load i32, ptr %3, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds float, ptr %133, i64 %135 %137 = load float, ptr %136, align 4 %138 = fpext float %137 to double %139 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %126, double noundef %132, double noundef %138) br label %140 140: ; preds = %125 %141 = load i32, ptr %3, align 4 %142 = add nsw i32 %141, 1 store i32 %142, ptr %3, align 4 br label %122, !llvm.loop !8 143: ; preds = %122 %144 = load double, ptr %5, align 8 %145 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %144) %146 = load ptr, ptr %6, align 8 %147 = call i32 @free(ptr noundef %146) %148 = load ptr, ptr %7, align 8 %149 = call i32 @free(ptr noundef %148) %150 = load ptr, ptr %8, align 8 %151 = call i32 @free(ptr noundef %150) %152 = load ptr, ptr %9, align 8 %153 = call i32 @free(ptr noundef %152) ret i32 0 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @data_gen(ptr noundef, ptr noundef, i32 noundef) #1 declare double @getTime(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp584i785_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Generating input data...\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"Computing on regression...\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"regression[%d]: y = %f + %f x\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"compute time: %g s\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 double, align 8 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 store i32 0, ptr %1, align 4 store i32 16, ptr %2, align 4 %16 = call ptr @calloc(i32 noundef 16, i32 noundef 4) store ptr %16, ptr %6, align 8 %17 = call ptr @calloc(i32 noundef 16, i32 noundef 4) store ptr %17, ptr %7, align 8 %18 = call ptr @calloc(i32 noundef 16, i32 noundef 4) store ptr %18, ptr %8, align 8 %19 = call ptr @calloc(i32 noundef 16, i32 noundef 4) store ptr %19, ptr %9, align 8 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str) %21 = load ptr, ptr %6, align 8 %22 = load ptr, ptr %7, align 8 %23 = call i32 @data_gen(ptr noundef %21, ptr noundef %22, i32 noundef 16) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store float 0.000000e+00, ptr %10, align 4 store float 0.000000e+00, ptr %11, align 4 store float 0.000000e+00, ptr %12, align 4 store float 0.000000e+00, ptr %13, align 4 store float 0.000000e+00, ptr %14, align 4 store float 0.000000e+00, ptr %15, align 4 %25 = call double (...) @getTime() store double %25, ptr %4, align 8 store i32 0, ptr %3, align 4 %26 = load i32, ptr %3, align 4 %27 = icmp slt i32 %26, 16 br i1 %27, label %.lr.ph, label %119 .lr.ph: ; preds = %0 br label %28 28: ; preds = %.lr.ph, %114 %29 = load ptr, ptr %6, align 8 %30 = load i32, ptr %3, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds float, ptr %29, i64 %31 %33 = load float, ptr %32, align 4 %34 = load float, ptr %10, align 4 %35 = fadd float %34, %33 store float %35, ptr %10, align 4 %36 = load ptr, ptr %6, align 8 %37 = load i32, ptr %3, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds float, ptr %36, i64 %38 %40 = load float, ptr %39, align 4 %41 = load ptr, ptr %6, align 8 %42 = load i32, ptr %3, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds float, ptr %41, i64 %43 %45 = load float, ptr %44, align 4 %46 = load float, ptr %11, align 4 %47 = call float @llvm.fmuladd.f32(float %40, float %45, float %46) store float %47, ptr %11, align 4 %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr %3, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds float, ptr %48, i64 %50 %52 = load float, ptr %51, align 4 %53 = load ptr, ptr %7, align 8 %54 = load i32, ptr %3, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds float, ptr %53, i64 %55 %57 = load float, ptr %56, align 4 %58 = load float, ptr %12, align 4 %59 = call float @llvm.fmuladd.f32(float %52, float %57, float %58) store float %59, ptr %12, align 4 %60 = load ptr, ptr %7, align 8 %61 = load i32, ptr %3, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds float, ptr %60, i64 %62 %64 = load float, ptr %63, align 4 %65 = load float, ptr %13, align 4 %66 = fadd float %65, %64 store float %66, ptr %13, align 4 %67 = load float, ptr %10, align 4 %68 = load i32, ptr %3, align 4 %69 = add nsw i32 %68, 1 %70 = sitofp i32 %69 to float %71 = fdiv float %67, %70 store float %71, ptr %14, align 4 %72 = load float, ptr %13, align 4 %73 = load i32, ptr %3, align 4 %74 = add nsw i32 %73, 1 %75 = sitofp i32 %74 to float %76 = fdiv float %72, %75 store float %76, ptr %15, align 4 %77 = load i32, ptr %3, align 4 %78 = icmp eq i32 %77, 0 br i1 %78, label %79, label %84 79: ; preds = %28 %80 = load ptr, ptr %9, align 8 %81 = load i32, ptr %3, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds float, ptr %80, i64 %82 store float 0.000000e+00, ptr %83, align 4 br label %100 84: ; preds = %28 %85 = load float, ptr %12, align 4 %86 = load float, ptr %10, align 4 %87 = load float, ptr %15, align 4 %88 = fneg float %86 %89 = call float @llvm.fmuladd.f32(float %88, float %87, float %85) %90 = load float, ptr %11, align 4 %91 = load float, ptr %10, align 4 %92 = load float, ptr %14, align 4 %93 = fneg float %91 %94 = call float @llvm.fmuladd.f32(float %93, float %92, float %90) %95 = fdiv float %89, %94 %96 = load ptr, ptr %9, align 8 %97 = load i32, ptr %3, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds float, ptr %96, i64 %98 store float %95, ptr %99, align 4 br label %100 100: ; preds = %84, %79 %101 = load float, ptr %15, align 4 %102 = load ptr, ptr %9, align 8 %103 = load i32, ptr %3, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds float, ptr %102, i64 %104 %106 = load float, ptr %105, align 4 %107 = load float, ptr %14, align 4 %108 = fneg float %106 %109 = call float @llvm.fmuladd.f32(float %108, float %107, float %101) %110 = load ptr, ptr %8, align 8 %111 = load i32, ptr %3, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds float, ptr %110, i64 %112 store float %109, ptr %113, align 4 br label %114 114: ; preds = %100 %115 = load i32, ptr %3, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %3, align 4 %117 = load i32, ptr %3, align 4 %118 = icmp slt i32 %117, 16 br i1 %118, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %114 br label %119 119: ; preds = %._crit_edge, %0 %120 = call double (...) @getTime() %121 = load double, ptr %4, align 8 %122 = fsub double %120, %121 store double %122, ptr %5, align 8 store i32 0, ptr %3, align 4 %123 = load i32, ptr %3, align 4 %124 = icmp slt i32 %123, 16 br i1 %124, label %.lr.ph2, label %145 .lr.ph2: ; preds = %119 br label %125 125: ; preds = %.lr.ph2, %140 %126 = load i32, ptr %3, align 4 %127 = load ptr, ptr %8, align 8 %128 = load i32, ptr %3, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds float, ptr %127, i64 %129 %131 = load float, ptr %130, align 4 %132 = fpext float %131 to double %133 = load ptr, ptr %9, align 8 %134 = load i32, ptr %3, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds float, ptr %133, i64 %135 %137 = load float, ptr %136, align 4 %138 = fpext float %137 to double %139 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %126, double noundef %132, double noundef %138) br label %140 140: ; preds = %125 %141 = load i32, ptr %3, align 4 %142 = add nsw i32 %141, 1 store i32 %142, ptr %3, align 4 %143 = load i32, ptr %3, align 4 %144 = icmp slt i32 %143, 16 br i1 %144, label %125, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %140 br label %145 145: ; preds = %._crit_edge3, %119 %146 = load double, ptr %5, align 8 %147 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %146) %148 = load ptr, ptr %6, align 8 %149 = call i32 @free(ptr noundef %148) %150 = load ptr, ptr %7, align 8 %151 = call i32 @free(ptr noundef %150) %152 = load ptr, ptr %8, align 8 %153 = call i32 @free(ptr noundef %152) %154 = load ptr, ptr %9, align 8 %155 = call i32 @free(ptr noundef %154) ret i32 0 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @data_gen(ptr noundef, ptr noundef, i32 noundef) #1 declare double @getTime(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp2gaf7_yk.c' source_filename = "/tmp/tmp2gaf7_yk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"arg\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_NOCTTY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"open\00", align 1 @STDIN_FILENO = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [7 x i8] c"select\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp ne i32 %9, 2 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 @fail(ptr noundef @.str) br label %13 13: ; preds = %11, %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = load i32, ptr @O_RDWR, align 4 %18 = load i32, ptr @O_NOCTTY, align 4 %19 = or i32 %17, %18 %20 = call i32 @open(ptr noundef %16, i32 noundef %19) store i32 %20, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = icmp slt i32 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %13 %24 = call i32 @fail(ptr noundef @.str.1) br label %25 25: ; preds = %23, %13 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %7, align 4 br label %28 28: ; preds = %53, %25 %29 = call i32 @FD_ZERO(ptr noundef %8) %30 = load i32, ptr @STDIN_FILENO, align 4 %31 = call i32 @FD_SET(i32 noundef %30, ptr noundef %8) %32 = load i32, ptr %6, align 4 %33 = call i32 @FD_SET(i32 noundef %32, ptr noundef %8) %34 = load i32, ptr %7, align 4 %35 = call i64 @select(i32 noundef %34, ptr noundef %8, ptr noundef null, ptr noundef null, ptr noundef null) %36 = icmp slt i64 %35, 0 br i1 %36, label %37, label %39 37: ; preds = %28 %38 = call i32 @fail(ptr noundef @.str.2) br label %39 39: ; preds = %37, %28 %40 = load i32, ptr %6, align 4 %41 = call i64 @FD_ISSET(i32 noundef %40, ptr noundef %8) %42 = icmp ne i64 %41, 0 br i1 %42, label %43, label %46 43: ; preds = %39 %44 = load i32, ptr %6, align 4 %45 = call i32 @from_fd(i32 noundef %44) br label %46 46: ; preds = %43, %39 %47 = load i32, ptr @STDIN_FILENO, align 4 %48 = call i64 @FD_ISSET(i32 noundef %47, ptr noundef %8) %49 = icmp ne i64 %48, 0 br i1 %49, label %50, label %53 50: ; preds = %46 %51 = load i32, ptr %6, align 4 %52 = call i32 @to_fd(i32 noundef %51) br label %53 53: ; preds = %50, %46 br label %28 } declare i32 @fail(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i64 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1 declare i32 @from_fd(i32 noundef) #1 declare i32 @to_fd(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/tmp2gaf7_yk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"arg\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_NOCTTY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"open\00", align 1 @STDIN_FILENO = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [7 x i8] c"select\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp ne i32 %9, 2 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 @fail(ptr noundef @.str) br label %13 13: ; preds = %11, %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = load i32, ptr @O_RDWR, align 4 %18 = load i32, ptr @O_NOCTTY, align 4 %19 = or i32 %17, %18 %20 = call i32 @open(ptr noundef %16, i32 noundef %19) store i32 %20, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = icmp slt i32 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %13 %24 = call i32 @fail(ptr noundef @.str.1) br label %25 25: ; preds = %23, %13 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %7, align 4 br label %28 28: ; preds = %53, %25 %29 = call i32 @FD_ZERO(ptr noundef %8) %30 = load i32, ptr @STDIN_FILENO, align 4 %31 = call i32 @FD_SET(i32 noundef %30, ptr noundef %8) %32 = load i32, ptr %6, align 4 %33 = call i32 @FD_SET(i32 noundef %32, ptr noundef %8) %34 = load i32, ptr %7, align 4 %35 = call i64 @select(i32 noundef %34, ptr noundef %8, ptr noundef null, ptr noundef null, ptr noundef null) %36 = icmp slt i64 %35, 0 br i1 %36, label %37, label %39 37: ; preds = %28 %38 = call i32 @fail(ptr noundef @.str.2) br label %39 39: ; preds = %37, %28 %40 = load i32, ptr %6, align 4 %41 = call i64 @FD_ISSET(i32 noundef %40, ptr noundef %8) %42 = icmp ne i64 %41, 0 br i1 %42, label %43, label %46 43: ; preds = %39 %44 = load i32, ptr %6, align 4 %45 = call i32 @from_fd(i32 noundef %44) br label %46 46: ; preds = %43, %39 %47 = load i32, ptr @STDIN_FILENO, align 4 %48 = call i64 @FD_ISSET(i32 noundef %47, ptr noundef %8) %49 = icmp ne i64 %48, 0 br i1 %49, label %50, label %53 50: ; preds = %46 %51 = load i32, ptr %6, align 4 %52 = call i32 @to_fd(i32 noundef %51) br label %53 53: ; preds = %50, %46 br label %28 } declare i32 @fail(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i64 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1 declare i32 @from_fd(i32 noundef) #1 declare i32 @to_fd(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/tmppe4_41pp.c' source_filename = "/tmp/tmppe4_41pp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @Print_Bits(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %13, %3 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp sge i32 %9, %10 %12 = xor i1 %11, true br i1 %12, label %13, label %24 13: ; preds = %8 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %5, align 4 %16 = sub nsw i32 %15, 1 %17 = load i32, ptr %7, align 4 %18 = sub nsw i32 %16, %17 %19 = ashr i32 %14, %18 %20 = and i32 %19, 1 %21 = call i32 @printf(ptr noundef @.str, i32 noundef %20) %22 = load i32, ptr %7, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %7, align 4 br label %8, !llvm.loop !6 24: ; preds = %8 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppe4_41pp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @Print_Bits(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp sge i32 %8, %9 %11 = xor i1 %10, true br i1 %11, label %.lr.ph, label %27 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %12 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %5, align 4 %15 = sub nsw i32 %14, 1 %16 = load i32, ptr %7, align 4 %17 = sub nsw i32 %15, %16 %18 = ashr i32 %13, %17 %19 = and i32 %18, 1 %20 = call i32 @printf(ptr noundef @.str, i32 noundef %19) %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %7, align 4 %23 = load i32, ptr %7, align 4 %24 = load i32, ptr %6, align 4 %25 = icmp sge i32 %23, %24 %26 = xor i1 %25, true br i1 %26, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %27 27: ; preds = %._crit_edge, %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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpu7_e8pwg.c' source_filename = "/tmp/tmpu7_e8pwg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.dirent = type { i64 } @DT_REG = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @reg_first(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %6, align 8 %8 = getelementptr inbounds %struct.dirent, ptr %7, i32 0, i32 0 %9 = load i64, ptr %8, align 8 %10 = load i64, ptr @DT_REG, align 8 %11 = icmp eq i64 %9, %10 br i1 %11, label %12, label %20 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %13, align 8 %15 = getelementptr inbounds %struct.dirent, ptr %14, i32 0, i32 0 %16 = load i64, ptr %15, align 8 %17 = load i64, ptr @DT_REG, align 8 %18 = icmp ne i64 %16, %17 br i1 %18, label %19, label %20 19: ; preds = %12 store i32 -1, ptr %3, align 4 br label %39 20: ; preds = %12, %2 %21 = load ptr, ptr %5, align 8 %22 = load ptr, ptr %21, align 8 %23 = getelementptr inbounds %struct.dirent, ptr %22, i32 0, i32 0 %24 = load i64, ptr %23, align 8 %25 = load i64, ptr @DT_REG, align 8 %26 = icmp eq i64 %24, %25 br i1 %26, label %27, label %35 27: ; preds = %20 %28 = load ptr, ptr %4, align 8 %29 = load ptr, ptr %28, align 8 %30 = getelementptr inbounds %struct.dirent, ptr %29, i32 0, i32 0 %31 = load i64, ptr %30, align 8 %32 = load i64, ptr @DT_REG, align 8 %33 = icmp ne i64 %31, %32 br i1 %33, label %34, label %35 34: ; preds = %27 store i32 1, ptr %3, align 4 br label %39 35: ; preds = %27, %20 %36 = load ptr, ptr %4, align 8 %37 = load ptr, ptr %5, align 8 %38 = call i32 @alphasort(ptr noundef %36, ptr noundef %37) store i32 %38, ptr %3, align 4 br label %39 39: ; preds = %35, %34, %19 %40 = load i32, ptr %3, align 4 ret i32 %40 } declare i32 @alphasort(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/tmpu7_e8pwg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.dirent = type { i64 } @DT_REG = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @reg_first(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %6, align 8 %8 = getelementptr inbounds %struct.dirent, ptr %7, i32 0, i32 0 %9 = load i64, ptr %8, align 8 %10 = load i64, ptr @DT_REG, align 8 %11 = icmp eq i64 %9, %10 br i1 %11, label %12, label %20 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %13, align 8 %15 = getelementptr inbounds %struct.dirent, ptr %14, i32 0, i32 0 %16 = load i64, ptr %15, align 8 %17 = load i64, ptr @DT_REG, align 8 %18 = icmp ne i64 %16, %17 br i1 %18, label %19, label %20 19: ; preds = %12 store i32 -1, ptr %3, align 4 br label %39 20: ; preds = %12, %2 %21 = load ptr, ptr %5, align 8 %22 = load ptr, ptr %21, align 8 %23 = getelementptr inbounds %struct.dirent, ptr %22, i32 0, i32 0 %24 = load i64, ptr %23, align 8 %25 = load i64, ptr @DT_REG, align 8 %26 = icmp eq i64 %24, %25 br i1 %26, label %27, label %35 27: ; preds = %20 %28 = load ptr, ptr %4, align 8 %29 = load ptr, ptr %28, align 8 %30 = getelementptr inbounds %struct.dirent, ptr %29, i32 0, i32 0 %31 = load i64, ptr %30, align 8 %32 = load i64, ptr @DT_REG, align 8 %33 = icmp ne i64 %31, %32 br i1 %33, label %34, label %35 34: ; preds = %27 store i32 1, ptr %3, align 4 br label %39 35: ; preds = %27, %20 %36 = load ptr, ptr %4, align 8 %37 = load ptr, ptr %5, align 8 %38 = call i32 @alphasort(ptr noundef %36, ptr noundef %37) store i32 %38, ptr %3, align 4 br label %39 39: ; preds = %35, %34, %19 %40 = load i32, ptr %3, align 4 ret i32 %40 } declare i32 @alphasort(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/tmpshftors9.c' source_filename = "/tmp/tmpshftors9.c" target datalayout = "e-m:e-p270: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/tmpshftors9.c" target datalayout = "e-m:e-p270: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/tmpm__fl92u.c' source_filename = "/tmp/tmpm__fl92u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @plusccia(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = add i32 %6, %7 store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp ult i32 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 (...) @abort() #2 unreachable 14: ; preds = %2 %15 = load i32, ptr %5, align 4 ret i32 %15 } ; Function Attrs: noreturn declare i32 @abort(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm__fl92u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @plusccia(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = add i32 %6, %7 store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp ult i32 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 (...) @abort() #2 unreachable 14: ; preds = %2 %15 = load i32, ptr %5, align 4 ret i32 %15 } ; Function Attrs: noreturn declare i32 @abort(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpttower5_.c' source_filename = "/tmp/tmpttower5_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [49 x i8] c"translator from long type time into time format\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"\09 -h|--help for help\0A\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"\09 -v|--version for version\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpttower5_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [49 x i8] c"translator from long type time into time format\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"\09 -h|--help for help\0A\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"\09 -v|--version for version\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0ep9qvnn.c' source_filename = "/tmp/tmp0ep9qvnn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1234567\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_sarg_get_number_base(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) store i32 %6, ptr %3, align 4 store i32 10, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp sgt i32 %7, 2 br i1 %8, label %9, label %36 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 0 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp eq i32 %13, 48 br i1 %14, label %15, label %22 15: ; preds = %9 %16 = load ptr, ptr %2, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 1 %18 = load i8, ptr %17, align 1 %19 = call ptr @strchr(ptr noundef @.str, i8 noundef signext %18) %20 = icmp ne ptr %19, null br i1 %20, label %21, label %22 21: ; preds = %15 store i32 8, ptr %4, align 4 br label %22 22: ; preds = %21, %15, %9 %23 = load ptr, ptr %2, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 0 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 48 br i1 %27, label %28, label %35 28: ; preds = %22 %29 = load ptr, ptr %2, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 1 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 120 br i1 %33, label %34, label %35 34: ; preds = %28 store i32 16, ptr %4, align 4 br label %35 35: ; preds = %34, %28, %22 br label %36 36: ; preds = %35, %1 %37 = load i32, ptr %4, align 4 ret i32 %37 } declare i32 @strlen(ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0ep9qvnn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1234567\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_sarg_get_number_base(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) store i32 %6, ptr %3, align 4 store i32 10, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp sgt i32 %7, 2 br i1 %8, label %9, label %36 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 0 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp eq i32 %13, 48 br i1 %14, label %15, label %22 15: ; preds = %9 %16 = load ptr, ptr %2, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 1 %18 = load i8, ptr %17, align 1 %19 = call ptr @strchr(ptr noundef @.str, i8 noundef signext %18) %20 = icmp ne ptr %19, null br i1 %20, label %21, label %22 21: ; preds = %15 store i32 8, ptr %4, align 4 br label %22 22: ; preds = %21, %15, %9 %23 = load ptr, ptr %2, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 0 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 48 br i1 %27, label %28, label %35 28: ; preds = %22 %29 = load ptr, ptr %2, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 1 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 120 br i1 %33, label %34, label %35 34: ; preds = %28 store i32 16, ptr %4, align 4 br label %35 35: ; preds = %34, %28, %22 br label %36 36: ; preds = %35, %1 %37 = load i32, ptr %4, align 4 ret i32 %37 } declare i32 @strlen(ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1u3eqq44.c' source_filename = "/tmp/tmp1u3eqq44.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"%f %f %f %f\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"INF\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"(%.3f,%.3f)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 store i32 0, ptr %1, align 4 %10 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) %11 = load float, ptr %2, align 4 %12 = load float, ptr %3, align 4 %13 = fmul float %11, %12 %14 = load float, ptr %4, align 4 %15 = load float, ptr %5, align 4 %16 = fsub float %14, %15 %17 = fmul float %13, %16 %18 = load float, ptr %4, align 4 %19 = load float, ptr %3, align 4 %20 = load float, ptr %5, align 4 %21 = load float, ptr %2, align 4 %22 = fmul float %20, %21 %23 = fneg float %22 %24 = call float @llvm.fmuladd.f32(float %18, float %19, float %23) %25 = fdiv float %17, %24 store float %25, ptr %6, align 4 %26 = load float, ptr %4, align 4 %27 = load float, ptr %5, align 4 %28 = fmul float %26, %27 %29 = load float, ptr %2, align 4 %30 = load float, ptr %3, align 4 %31 = fsub float %29, %30 %32 = fmul float %28, %31 %33 = load float, ptr %2, align 4 %34 = load float, ptr %5, align 4 %35 = load float, ptr %3, align 4 %36 = load float, ptr %4, align 4 %37 = fmul float %35, %36 %38 = fneg float %37 %39 = call float @llvm.fmuladd.f32(float %33, float %34, float %38) %40 = fdiv float %32, %39 store float %40, ptr %7, align 4 %41 = load float, ptr %2, align 4 %42 = load float, ptr %5, align 4 %43 = fmul float %41, %42 %44 = load float, ptr %3, align 4 %45 = load float, ptr %4, align 4 %46 = fmul float %44, %45 %47 = fcmp oeq float %43, %46 br i1 %47, label %48, label %50 48: ; preds = %0 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %56 50: ; preds = %0 %51 = load float, ptr %6, align 4 %52 = fpext float %51 to double %53 = load float, ptr %7, align 4 %54 = fpext float %53 to double %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %52, double noundef %54) br label %56 56: ; preds = %50, %48 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 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" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1u3eqq44.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"%f %f %f %f\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"INF\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"(%.3f,%.3f)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 store i32 0, ptr %1, align 4 %10 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) %11 = load float, ptr %2, align 4 %12 = load float, ptr %3, align 4 %13 = fmul float %11, %12 %14 = load float, ptr %4, align 4 %15 = load float, ptr %5, align 4 %16 = fsub float %14, %15 %17 = fmul float %13, %16 %18 = load float, ptr %4, align 4 %19 = load float, ptr %3, align 4 %20 = load float, ptr %5, align 4 %21 = load float, ptr %2, align 4 %22 = fmul float %20, %21 %23 = fneg float %22 %24 = call float @llvm.fmuladd.f32(float %18, float %19, float %23) %25 = fdiv float %17, %24 store float %25, ptr %6, align 4 %26 = load float, ptr %4, align 4 %27 = load float, ptr %5, align 4 %28 = fmul float %26, %27 %29 = load float, ptr %2, align 4 %30 = load float, ptr %3, align 4 %31 = fsub float %29, %30 %32 = fmul float %28, %31 %33 = load float, ptr %2, align 4 %34 = load float, ptr %5, align 4 %35 = load float, ptr %3, align 4 %36 = load float, ptr %4, align 4 %37 = fmul float %35, %36 %38 = fneg float %37 %39 = call float @llvm.fmuladd.f32(float %33, float %34, float %38) %40 = fdiv float %32, %39 store float %40, ptr %7, align 4 %41 = load float, ptr %2, align 4 %42 = load float, ptr %5, align 4 %43 = fmul float %41, %42 %44 = load float, ptr %3, align 4 %45 = load float, ptr %4, align 4 %46 = fmul float %44, %45 %47 = fcmp oeq float %43, %46 br i1 %47, label %48, label %50 48: ; preds = %0 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %56 50: ; preds = %0 %51 = load float, ptr %6, align 4 %52 = fpext float %51 to double %53 = load float, ptr %7, align 4 %54 = fpext float %53 to double %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %52, double noundef %54) br label %56 56: ; preds = %50, %48 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 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" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsly_hyc7.c' source_filename = "/tmp/tmpsly_hyc7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"%d %d %d %d\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) store i32 0, ptr %6, align 4 br label %8 8: ; preds = %14, %0 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %17 12: ; preds = %8 %13 = call i32 @rotr(ptr noundef %2, ptr noundef %3, ptr noundef %4) br label %14 14: ; preds = %12 %15 = load i32, ptr %6, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %6, align 4 br label %8, !llvm.loop !6 17: ; preds = %8 %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %3, align 4 %20 = load i32, ptr %4, align 4 %21 = call i32 @printf(ptr noundef @.str.1, i32 noundef %18, i32 noundef %19, i32 noundef %20) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @rotr(ptr noundef, ptr noundef, ptr 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/tmpsly_hyc7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"%d %d %d %d\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) store i32 0, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %13 %12 = call i32 @rotr(ptr noundef %2, ptr noundef %3, ptr noundef %4) br label %13 13: ; preds = %11 %14 = load i32, ptr %6, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %19 19: ; preds = %._crit_edge, %0 %20 = load i32, ptr %2, align 4 %21 = load i32, ptr %3, align 4 %22 = load i32, ptr %4, align 4 %23 = call i32 @printf(ptr noundef @.str.1, i32 noundef %20, i32 noundef %21, i32 noundef %22) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @rotr(ptr noundef, ptr noundef, ptr 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/tmp2k8uj0ye.c' source_filename = "/tmp/tmp2k8uj0ye.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @use_aeskey(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp sgt i32 %3, 63 br i1 %4, label %5, label %6 5: ; preds = %1 br label %10 6: ; preds = %1 %7 = load i32, ptr %2, align 4 store volatile i32 %7, ptr inttoptr (i64 268472336 to ptr), align 4 %8 = load volatile i32, ptr inttoptr (i64 268472320 to ptr), align 4 %9 = or i32 %8, 67108864 store volatile i32 %9, ptr inttoptr (i64 268472320 to ptr), align 4 br label %10 10: ; preds = %6, %5 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/tmp2k8uj0ye.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @use_aeskey(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp sgt i32 %3, 63 br i1 %4, label %5, label %6 5: ; preds = %1 br label %10 6: ; preds = %1 %7 = load i32, ptr %2, align 4 store volatile i32 %7, ptr inttoptr (i64 268472336 to ptr), align 4 %8 = load volatile i32, ptr inttoptr (i64 268472320 to ptr), align 4 %9 = or i32 %8, 67108864 store volatile i32 %9, ptr inttoptr (i64 268472320 to ptr), align 4 br label %10 10: ; preds = %6, %5 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/tmpc0g7u309.c' source_filename = "/tmp/tmpc0g7u309.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"%s\09$%d,(%%edx)\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"subl\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cgdec2pi(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 @ngen(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %3) ret void } declare i32 @ngen(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/tmpc0g7u309.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"%s\09$%d,(%%edx)\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"subl\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cgdec2pi(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 @ngen(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %3) ret void } declare i32 @ngen(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/tmps4prqcp8.c' source_filename = "/tmp/tmps4prqcp8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @oauth_time_independent_equals_n(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %13 = load ptr, ptr %6, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %19 15: ; preds = %4 %16 = load ptr, ptr %7, align 8 %17 = icmp eq ptr %16, null %18 = zext i1 %17 to i32 store i32 %18, ptr %5, align 4 br label %71 19: ; preds = %4 %20 = load ptr, ptr %7, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %23 22: ; preds = %19 store i32 0, ptr %5, align 4 br label %71 23: ; preds = %19 %24 = load i64, ptr %9, align 8 %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %30 26: ; preds = %23 %27 = load i64, ptr %8, align 8 %28 = icmp eq i64 %27, 0 %29 = zext i1 %28 to i32 store i32 %29, ptr %5, align 4 br label %71 30: ; preds = %23 br label %31 31: ; preds = %30 br label %32 32: ; preds = %31 %33 = load i64, ptr %8, align 8 %34 = load i64, ptr %9, align 8 %35 = xor i64 %33, %34 %36 = trunc i64 %35 to i32 store i32 %36, ptr %10, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %11, align 4 br label %37 37: ; preds = %64, %32 %38 = load i32, ptr %11, align 4 %39 = sext i32 %38 to i64 %40 = load i64, ptr %8, align 8 %41 = icmp ult i64 %39, %40 br i1 %41, label %42, label %67 42: ; preds = %37 %43 = load ptr, ptr %6, align 8 %44 = load i32, ptr %11, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = load ptr, ptr %7, align 8 %50 = load i32, ptr %12, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %49, i64 %51 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = xor i32 %48, %54 %56 = load i32, ptr %10, align 4 %57 = or i32 %56, %55 store i32 %57, ptr %10, align 4 %58 = load i32, ptr %12, align 4 %59 = add nsw i32 %58, 1 %60 = sext i32 %59 to i64 %61 = load i64, ptr %9, align 8 %62 = urem i64 %60, %61 %63 = trunc i64 %62 to i32 store i32 %63, ptr %12, align 4 br label %64 64: ; preds = %42 %65 = load i32, ptr %11, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %11, align 4 br label %37, !llvm.loop !6 67: ; preds = %37 %68 = load i32, ptr %10, align 4 %69 = icmp eq i32 %68, 0 %70 = zext i1 %69 to i32 store i32 %70, ptr %5, align 4 br label %71 71: ; preds = %67, %26, %22, %15 %72 = load i32, ptr %5, align 4 ret i32 %72 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmps4prqcp8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @oauth_time_independent_equals_n(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %13 = load ptr, ptr %6, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %19 15: ; preds = %4 %16 = load ptr, ptr %7, align 8 %17 = icmp eq ptr %16, null %18 = zext i1 %17 to i32 store i32 %18, ptr %5, align 4 br label %74 19: ; preds = %4 %20 = load ptr, ptr %7, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %23 22: ; preds = %19 store i32 0, ptr %5, align 4 br label %74 23: ; preds = %19 %24 = load i64, ptr %9, align 8 %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %30 26: ; preds = %23 %27 = load i64, ptr %8, align 8 %28 = icmp eq i64 %27, 0 %29 = zext i1 %28 to i32 store i32 %29, ptr %5, align 4 br label %74 30: ; preds = %23 br label %31 31: ; preds = %30 br label %32 32: ; preds = %31 %33 = load i64, ptr %8, align 8 %34 = load i64, ptr %9, align 8 %35 = xor i64 %33, %34 %36 = trunc i64 %35 to i32 store i32 %36, ptr %10, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %11, align 4 %37 = load i32, ptr %11, align 4 %38 = sext i32 %37 to i64 %39 = load i64, ptr %8, align 8 %40 = icmp ult i64 %38, %39 br i1 %40, label %.lr.ph, label %70 .lr.ph: ; preds = %32 br label %41 41: ; preds = %.lr.ph, %63 %42 = load ptr, ptr %6, align 8 %43 = load i32, ptr %11, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = load ptr, ptr %7, align 8 %49 = load i32, ptr %12, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %48, i64 %50 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = xor i32 %47, %53 %55 = load i32, ptr %10, align 4 %56 = or i32 %55, %54 store i32 %56, ptr %10, align 4 %57 = load i32, ptr %12, align 4 %58 = add nsw i32 %57, 1 %59 = sext i32 %58 to i64 %60 = load i64, ptr %9, align 8 %61 = urem i64 %59, %60 %62 = trunc i64 %61 to i32 store i32 %62, ptr %12, align 4 br label %63 63: ; preds = %41 %64 = load i32, ptr %11, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %11, align 4 %66 = load i32, ptr %11, align 4 %67 = sext i32 %66 to i64 %68 = load i64, ptr %8, align 8 %69 = icmp ult i64 %67, %68 br i1 %69, label %41, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %63 br label %70 70: ; preds = %._crit_edge, %32 %71 = load i32, ptr %10, align 4 %72 = icmp eq i32 %71, 0 %73 = zext i1 %72 to i32 store i32 %73, ptr %5, align 4 br label %74 74: ; preds = %70, %26, %22, %15 %75 = load i32, ptr %5, align 4 ret i32 %75 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmppj7pznpo.c' source_filename = "/tmp/tmppj7pznpo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_SET = 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/tmppj7pznpo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_SET = 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/tmpvpq_xh4j.c' source_filename = "/tmp/tmpvpq_xh4j.c" target datalayout = "e-m:e-p270: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/tmpvpq_xh4j.c" target datalayout = "e-m:e-p270: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/tmp7u4kcaka.c' source_filename = "/tmp/tmp7u4kcaka.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_get_hex_string(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = load ptr, ptr %4, align 8 %8 = call ptr @_str_skip_space(ptr noundef %7) store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %5, align 4 %11 = call i32 @_str_is_hex_string(ptr noundef %9, i32 noundef %10) %12 = icmp ne i32 %11, 0 br i1 %12, label %14, label %13 13: ; preds = %2 store ptr null, ptr %3, align 8 br label %31 14: ; preds = %2 %15 = load i32, ptr %5, align 4 %16 = add nsw i32 %15, 1 %17 = call ptr @malloc(i32 noundef %16) store ptr %17, ptr %6, align 8 %18 = load ptr, ptr %6, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %20, label %29 20: ; preds = %14 %21 = load ptr, ptr %6, align 8 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %5, align 4 %24 = call i32 @memcpy(ptr noundef %21, ptr noundef %22, i32 noundef %23) %25 = load ptr, ptr %6, align 8 %26 = load i32, ptr %5, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 store i8 0, ptr %28, align 1 br label %29 29: ; preds = %20, %14 %30 = load ptr, ptr %6, align 8 store ptr %30, ptr %3, align 8 br label %31 31: ; preds = %29, %13 %32 = load ptr, ptr %3, align 8 ret ptr %32 } declare ptr @_str_skip_space(ptr noundef) #1 declare i32 @_str_is_hex_string(ptr noundef, i32 noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7u4kcaka.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_get_hex_string(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = load ptr, ptr %4, align 8 %8 = call ptr @_str_skip_space(ptr noundef %7) store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %5, align 4 %11 = call i32 @_str_is_hex_string(ptr noundef %9, i32 noundef %10) %12 = icmp ne i32 %11, 0 br i1 %12, label %14, label %13 13: ; preds = %2 store ptr null, ptr %3, align 8 br label %31 14: ; preds = %2 %15 = load i32, ptr %5, align 4 %16 = add nsw i32 %15, 1 %17 = call ptr @malloc(i32 noundef %16) store ptr %17, ptr %6, align 8 %18 = load ptr, ptr %6, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %20, label %29 20: ; preds = %14 %21 = load ptr, ptr %6, align 8 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %5, align 4 %24 = call i32 @memcpy(ptr noundef %21, ptr noundef %22, i32 noundef %23) %25 = load ptr, ptr %6, align 8 %26 = load i32, ptr %5, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 store i8 0, ptr %28, align 1 br label %29 29: ; preds = %20, %14 %30 = load ptr, ptr %6, align 8 store ptr %30, ptr %3, align 8 br label %31 31: ; preds = %29, %13 %32 = load ptr, ptr %3, align 8 ret ptr %32 } declare ptr @_str_skip_space(ptr noundef) #1 declare i32 @_str_is_hex_string(ptr noundef, i32 noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp52ywjz_v.c' source_filename = "/tmp/tmp52ywjz_v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 store i32 0, ptr %1, align 4 %3 = call double (...) @__VERIFIER_nondet_double() store double %3, ptr %2, align 8 %4 = load double, ptr %2, align 8 %5 = load double, ptr %2, align 8 %6 = fcmp oeq double %4, %5 %7 = zext i1 %6 to i32 %8 = call i32 @__VERIFIER_assert(i32 noundef %7) ret i32 0 } declare double @__VERIFIER_nondet_double(...) #1 declare i32 @__VERIFIER_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/tmp52ywjz_v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 store i32 0, ptr %1, align 4 %3 = call double (...) @__VERIFIER_nondet_double() store double %3, ptr %2, align 8 %4 = load double, ptr %2, align 8 %5 = load double, ptr %2, align 8 %6 = fcmp oeq double %4, %5 %7 = zext i1 %6 to i32 %8 = call i32 @__VERIFIER_assert(i32 noundef %7) ret i32 0 } declare double @__VERIFIER_nondet_double(...) #1 declare i32 @__VERIFIER_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/tmp1p1yfjwt.c' source_filename = "/tmp/tmp1p1yfjwt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [44 x i8] c"3: Decoded %#04zX bytes into %#04zX bytes.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @city_decompress3(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 i64, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i64 0, ptr %7, align 8 store i64 0, ptr %8, align 8 store i32 0, ptr %9, align 4 br label %12 12: ; preds = %89, %3 %13 = load ptr, ptr %4, align 8 %14 = load i64, ptr %7, align 8 %15 = getelementptr inbounds i32, ptr %13, i64 %14 %16 = load i32, ptr %15, align 4 store i32 %16, ptr %9, align 4 %17 = icmp ne i32 %16, 65535 br i1 %17, label %18, label %90 18: ; preds = %12 br label %19 19: ; preds = %25, %18 %20 = load ptr, ptr %5, align 8 %21 = load i64, ptr %8, align 8 %22 = getelementptr inbounds i32, ptr %20, i64 %21 %23 = load i32, ptr %22, align 4 %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %19 %26 = load i64, ptr %8, align 8 %27 = add i64 %26, 1 store i64 %27, ptr %8, align 8 br label %19, !llvm.loop !6 28: ; preds = %19 %29 = load i32, ptr %9, align 4 %30 = and i32 %29, 32768 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %79 32: ; preds = %28 store i32 3, ptr %10, align 4 %33 = load i32, ptr %9, align 4 %34 = and i32 %33, 32767 store i32 %34, ptr %9, align 4 store i32 0, ptr %11, align 4 br label %35 35: ; preds = %71, %32 %36 = load i32, ptr %11, align 4 %37 = load i32, ptr %10, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %39, label %74 39: ; preds = %35 %40 = load i32, ptr %9, align 4 %41 = load i32, ptr %11, align 4 %42 = add nsw i32 %40, %41 %43 = load ptr, ptr %5, align 8 %44 = load i64, ptr %8, align 8 %45 = load i32, ptr %11, align 4 %46 = sext i32 %45 to i64 %47 = add i64 %44, %46 %48 = getelementptr inbounds i32, ptr %43, i64 %47 store i32 %42, ptr %48, align 4 %49 = load i32, ptr %9, align 4 %50 = load i32, ptr %11, align 4 %51 = add nsw i32 %49, %50 %52 = add nsw i32 %51, 3 %53 = load ptr, ptr %5, align 8 %54 = load i64, ptr %8, align 8 %55 = add i64 %54, 120 %56 = load i32, ptr %11, align 4 %57 = sext i32 %56 to i64 %58 = add i64 %55, %57 %59 = getelementptr inbounds i32, ptr %53, i64 %58 store i32 %52, ptr %59, align 4 %60 = load i32, ptr %9, align 4 %61 = load i32, ptr %11, align 4 %62 = add nsw i32 %60, %61 %63 = add nsw i32 %62, 6 %64 = load ptr, ptr %5, align 8 %65 = load i64, ptr %8, align 8 %66 = add i64 %65, 240 %67 = load i32, ptr %11, align 4 %68 = sext i32 %67 to i64 %69 = add i64 %66, %68 %70 = getelementptr inbounds i32, ptr %64, i64 %69 store i32 %63, ptr %70, align 4 br label %71 71: ; preds = %39 %72 = load i32, ptr %11, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %11, align 4 br label %35, !llvm.loop !8 74: ; preds = %35 %75 = load i64, ptr %7, align 8 %76 = add i64 %75, 1 store i64 %76, ptr %7, align 8 %77 = load i64, ptr %8, align 8 %78 = add i64 %77, 3 store i64 %78, ptr %8, align 8 br label %89 79: ; preds = %28 %80 = load ptr, ptr %4, align 8 %81 = load i64, ptr %7, align 8 %82 = add i64 %81, 1 store i64 %82, ptr %7, align 8 %83 = getelementptr inbounds i32, ptr %80, i64 %81 %84 = load i32, ptr %83, align 4 %85 = load ptr, ptr %5, align 8 %86 = load i64, ptr %8, align 8 %87 = add i64 %86, 1 store i64 %87, ptr %8, align 8 %88 = getelementptr inbounds i32, ptr %85, i64 %86 store i32 %84, ptr %88, align 4 br label %89 89: ; preds = %79, %74 br label %12, !llvm.loop !9 90: ; preds = %12 %91 = load ptr, ptr %5, align 8 %92 = load i64, ptr %8, align 8 %93 = getelementptr inbounds i32, ptr %91, i64 %92 store i32 65535, ptr %93, align 4 %94 = load i64, ptr %7, align 8 %95 = mul i64 %94, 2 %96 = load i64, ptr %8, align 8 %97 = mul i64 %96, 2 %98 = call i32 @printf(ptr noundef @.str, i64 noundef %95, i64 noundef %97) %99 = load ptr, ptr %6, align 8 %100 = icmp ne ptr %99, null br i1 %100, label %101, label %105 101: ; preds = %90 %102 = load i64, ptr %8, align 8 %103 = mul i64 %102, 2 %104 = load ptr, ptr %6, align 8 store i64 %103, ptr %104, align 8 br label %105 105: ; preds = %101, %90 ret i32 0 } declare i32 @printf(ptr noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1p1yfjwt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [44 x i8] c"3: Decoded %#04zX bytes into %#04zX bytes.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @city_decompress3(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 i64, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i64 0, ptr %7, align 8 store i64 0, ptr %8, align 8 store i32 0, ptr %9, align 4 %12 = load ptr, ptr %4, align 8 %13 = load i64, ptr %7, align 8 %14 = getelementptr inbounds i32, ptr %12, i64 %13 %15 = load i32, ptr %14, align 4 store i32 %15, ptr %9, align 4 %16 = icmp ne i32 %15, 65535 br i1 %16, label %.lr.ph5, label %100 .lr.ph5: ; preds = %3 br label %17 17: ; preds = %.lr.ph5, %94 %18 = load ptr, ptr %5, align 8 %19 = load i64, ptr %8, align 8 %20 = getelementptr inbounds i32, ptr %18, i64 %19 %21 = load i32, ptr %20, align 4 %22 = icmp ne i32 %21, 0 br i1 %22, label %.lr.ph, label %31 .lr.ph: ; preds = %17 br label %23 23: ; preds = %.lr.ph, %23 %24 = load i64, ptr %8, align 8 %25 = add i64 %24, 1 store i64 %25, ptr %8, align 8 %26 = load ptr, ptr %5, align 8 %27 = load i64, ptr %8, align 8 %28 = getelementptr inbounds i32, ptr %26, i64 %27 %29 = load i32, ptr %28, align 4 %30 = icmp ne i32 %29, 0 br i1 %30, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %31 31: ; preds = %._crit_edge, %17 %32 = load i32, ptr %9, align 4 %33 = and i32 %32, 32768 %34 = icmp ne i32 %33, 0 br i1 %34, label %35, label %84 35: ; preds = %31 store i32 3, ptr %10, align 4 %36 = load i32, ptr %9, align 4 %37 = and i32 %36, 32767 store i32 %37, ptr %9, align 4 store i32 0, ptr %11, align 4 %38 = load i32, ptr %11, align 4 %39 = load i32, ptr %10, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %.lr.ph2, label %79 .lr.ph2: ; preds = %35 br label %41 41: ; preds = %.lr.ph2, %73 %42 = load i32, ptr %9, align 4 %43 = load i32, ptr %11, align 4 %44 = add nsw i32 %42, %43 %45 = load ptr, ptr %5, align 8 %46 = load i64, ptr %8, align 8 %47 = load i32, ptr %11, align 4 %48 = sext i32 %47 to i64 %49 = add i64 %46, %48 %50 = getelementptr inbounds i32, ptr %45, i64 %49 store i32 %44, ptr %50, align 4 %51 = load i32, ptr %9, align 4 %52 = load i32, ptr %11, align 4 %53 = add nsw i32 %51, %52 %54 = add nsw i32 %53, 3 %55 = load ptr, ptr %5, align 8 %56 = load i64, ptr %8, align 8 %57 = add i64 %56, 120 %58 = load i32, ptr %11, align 4 %59 = sext i32 %58 to i64 %60 = add i64 %57, %59 %61 = getelementptr inbounds i32, ptr %55, i64 %60 store i32 %54, ptr %61, align 4 %62 = load i32, ptr %9, align 4 %63 = load i32, ptr %11, align 4 %64 = add nsw i32 %62, %63 %65 = add nsw i32 %64, 6 %66 = load ptr, ptr %5, align 8 %67 = load i64, ptr %8, align 8 %68 = add i64 %67, 240 %69 = load i32, ptr %11, align 4 %70 = sext i32 %69 to i64 %71 = add i64 %68, %70 %72 = getelementptr inbounds i32, ptr %66, i64 %71 store i32 %65, ptr %72, align 4 br label %73 73: ; preds = %41 %74 = load i32, ptr %11, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %11, align 4 %76 = load i32, ptr %11, align 4 %77 = load i32, ptr %10, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %41, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %73 br label %79 79: ; preds = %._crit_edge3, %35 %80 = load i64, ptr %7, align 8 %81 = add i64 %80, 1 store i64 %81, ptr %7, align 8 %82 = load i64, ptr %8, align 8 %83 = add i64 %82, 3 store i64 %83, ptr %8, align 8 br label %94 84: ; preds = %31 %85 = load ptr, ptr %4, align 8 %86 = load i64, ptr %7, align 8 %87 = add i64 %86, 1 store i64 %87, ptr %7, align 8 %88 = getelementptr inbounds i32, ptr %85, i64 %86 %89 = load i32, ptr %88, align 4 %90 = load ptr, ptr %5, align 8 %91 = load i64, ptr %8, align 8 %92 = add i64 %91, 1 store i64 %92, ptr %8, align 8 %93 = getelementptr inbounds i32, ptr %90, i64 %91 store i32 %89, ptr %93, align 4 br label %94 94: ; preds = %84, %79 %95 = load ptr, ptr %4, align 8 %96 = load i64, ptr %7, align 8 %97 = getelementptr inbounds i32, ptr %95, i64 %96 %98 = load i32, ptr %97, align 4 store i32 %98, ptr %9, align 4 %99 = icmp ne i32 %98, 65535 br i1 %99, label %17, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %94 br label %100 100: ; preds = %._crit_edge6, %3 %101 = load ptr, ptr %5, align 8 %102 = load i64, ptr %8, align 8 %103 = getelementptr inbounds i32, ptr %101, i64 %102 store i32 65535, ptr %103, align 4 %104 = load i64, ptr %7, align 8 %105 = mul i64 %104, 2 %106 = load i64, ptr %8, align 8 %107 = mul i64 %106, 2 %108 = call i32 @printf(ptr noundef @.str, i64 noundef %105, i64 noundef %107) %109 = load ptr, ptr %6, align 8 %110 = icmp ne ptr %109, null br i1 %110, label %111, label %115 111: ; preds = %100 %112 = load i64, ptr %8, align 8 %113 = mul i64 %112, 2 %114 = load ptr, ptr %6, align 8 store i64 %113, ptr %114, align 8 br label %115 115: ; preds = %111, %100 ret i32 0 } declare i32 @printf(ptr noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp8aca56lz.c' source_filename = "/tmp/tmp8aca56lz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\09 [cr for more; space-cr to quit]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @more() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 (...) @getchar() store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = icmp eq i32 %4, 10 br i1 %5, label %6, label %7 6: ; preds = %0 ret i32 1 7: ; preds = %0 %8 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef) #1 declare i32 @getchar(...) #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/tmp8aca56lz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\09 [cr for more; space-cr to quit]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @more() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 (...) @getchar() store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = icmp eq i32 %4, 10 br i1 %5, label %6, label %7 6: ; preds = %0 ret i32 1 7: ; preds = %0 %8 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef) #1 declare i32 @getchar(...) #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/tmpiy4yqt1p.c' source_filename = "/tmp/tmpiy4yqt1p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @efunc(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = load double, ptr %2, align 8 %5 = load double, ptr %2, align 8 %6 = fmul double 2.000000e+00, %5 %7 = call double @llvm.fmuladd.f64(double %3, double %4, double %6) %8 = fsub double %7, 2.000000e+00 %9 = call i32 @fabs(double noundef %8) %10 = call double @sqrt(i32 noundef %9) %11 = fdiv double 1.000000e+00, %10 ret double %11 } declare double @sqrt(i32 noundef) #1 declare i32 @fabs(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiy4yqt1p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @efunc(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = load double, ptr %2, align 8 %5 = load double, ptr %2, align 8 %6 = fmul double 2.000000e+00, %5 %7 = call double @llvm.fmuladd.f64(double %3, double %4, double %6) %8 = fsub double %7, 2.000000e+00 %9 = call i32 @fabs(double noundef %8) %10 = call double @sqrt(i32 noundef %9) %11 = fdiv double 1.000000e+00, %10 ret double %11 } declare double @sqrt(i32 noundef) #1 declare i32 @fabs(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw7txndlg.c' source_filename = "/tmp/tmpw7txndlg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getbits(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %4, align 4 store i32 %8, ptr %7, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %9, 64 %11 = zext i1 %10 to i32 %12 = call i32 @assert(i32 noundef %11) %13 = load i32, ptr %5, align 4 %14 = icmp sge i32 %13, 0 %15 = zext i1 %14 to i32 %16 = call i32 @assert(i32 noundef %15) %17 = load i32, ptr %6, align 4 %18 = icmp slt i32 %17, 63 br i1 %18, label %19, label %26 19: ; preds = %3 %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %20, 1 %22 = shl i32 1, %21 %23 = sub nsw i32 %22, 1 %24 = load i32, ptr %4, align 4 %25 = and i32 %23, %24 store i32 %25, ptr %7, align 4 br label %26 26: ; preds = %19, %3 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %5, align 4 %29 = ashr i32 %27, %28 ret i32 %29 } 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/tmpw7txndlg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getbits(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %4, align 4 store i32 %8, ptr %7, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %9, 64 %11 = zext i1 %10 to i32 %12 = call i32 @assert(i32 noundef %11) %13 = load i32, ptr %5, align 4 %14 = icmp sge i32 %13, 0 %15 = zext i1 %14 to i32 %16 = call i32 @assert(i32 noundef %15) %17 = load i32, ptr %6, align 4 %18 = icmp slt i32 %17, 63 br i1 %18, label %19, label %26 19: ; preds = %3 %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %20, 1 %22 = shl i32 1, %21 %23 = sub nsw i32 %22, 1 %24 = load i32, ptr %4, align 4 %25 = and i32 %23, %24 store i32 %25, ptr %7, align 4 br label %26 26: ; preds = %19, %3 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %5, align 4 %29 = ashr i32 %27, %28 ret i32 %29 } 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/tmpzkgoxds9.c' source_filename = "/tmp/tmpzkgoxds9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pwmToneWrite(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i32, ptr %3, align 4 %10 = call i32 @pwmWrite(i32 noundef %9, i32 noundef 0) br label %20 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = sdiv i32 600000, %12 store i32 %13, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = call i32 @pwmSetRange(i32 noundef %14) %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %4, align 4 %18 = sdiv i32 %17, 2 %19 = call i32 @pwmWrite(i32 noundef %16, i32 noundef %18) br label %20 20: ; preds = %11, %8 ret void } declare i32 @pwmWrite(i32 noundef, i32 noundef) #1 declare i32 @pwmSetRange(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/tmpzkgoxds9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pwmToneWrite(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i32, ptr %3, align 4 %10 = call i32 @pwmWrite(i32 noundef %9, i32 noundef 0) br label %20 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = sdiv i32 600000, %12 store i32 %13, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = call i32 @pwmSetRange(i32 noundef %14) %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %4, align 4 %18 = sdiv i32 %17, 2 %19 = call i32 @pwmWrite(i32 noundef %16, i32 noundef %18) br label %20 20: ; preds = %11, %8 ret void } declare i32 @pwmWrite(i32 noundef, i32 noundef) #1 declare i32 @pwmSetRange(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/tmp62nlyrbg.c' source_filename = "/tmp/tmp62nlyrbg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @showdigit(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 switch i32 %3, label %24 [ i32 0, label %4 i32 1, label %6 i32 2, label %8 i32 3, label %10 i32 4, label %12 i32 5, label %14 i32 6, label %16 i32 7, label %18 i32 8, label %20 i32 9, label %22 ] 4: ; preds = %1 %5 = call i32 (...) @digit0() br label %25 6: ; preds = %1 %7 = call i32 (...) @digit1() br label %25 8: ; preds = %1 %9 = call i32 (...) @digit2() br label %25 10: ; preds = %1 %11 = call i32 (...) @digit3() br label %25 12: ; preds = %1 %13 = call i32 (...) @digit4() br label %25 14: ; preds = %1 %15 = call i32 (...) @digit5() br label %25 16: ; preds = %1 %17 = call i32 (...) @digit6() br label %25 18: ; preds = %1 %19 = call i32 (...) @digit7() br label %25 20: ; preds = %1 %21 = call i32 (...) @digit8() br label %25 22: ; preds = %1 %23 = call i32 (...) @digit9() br label %25 24: ; preds = %1 br label %25 25: ; preds = %24, %22, %20, %18, %16, %14, %12, %10, %8, %6, %4 ret void } declare i32 @digit0(...) #1 declare i32 @digit1(...) #1 declare i32 @digit2(...) #1 declare i32 @digit3(...) #1 declare i32 @digit4(...) #1 declare i32 @digit5(...) #1 declare i32 @digit6(...) #1 declare i32 @digit7(...) #1 declare i32 @digit8(...) #1 declare i32 @digit9(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp62nlyrbg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @showdigit(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 switch i32 %3, label %24 [ i32 0, label %4 i32 1, label %6 i32 2, label %8 i32 3, label %10 i32 4, label %12 i32 5, label %14 i32 6, label %16 i32 7, label %18 i32 8, label %20 i32 9, label %22 ] 4: ; preds = %1 %5 = call i32 (...) @digit0() br label %25 6: ; preds = %1 %7 = call i32 (...) @digit1() br label %25 8: ; preds = %1 %9 = call i32 (...) @digit2() br label %25 10: ; preds = %1 %11 = call i32 (...) @digit3() br label %25 12: ; preds = %1 %13 = call i32 (...) @digit4() br label %25 14: ; preds = %1 %15 = call i32 (...) @digit5() br label %25 16: ; preds = %1 %17 = call i32 (...) @digit6() br label %25 18: ; preds = %1 %19 = call i32 (...) @digit7() br label %25 20: ; preds = %1 %21 = call i32 (...) @digit8() br label %25 22: ; preds = %1 %23 = call i32 (...) @digit9() br label %25 24: ; preds = %1 br label %25 25: ; preds = %24, %22, %20, %18, %16, %14, %12, %10, %8, %6, %4 ret void } declare i32 @digit0(...) #1 declare i32 @digit1(...) #1 declare i32 @digit2(...) #1 declare i32 @digit3(...) #1 declare i32 @digit4(...) #1 declare i32 @digit5(...) #1 declare i32 @digit6(...) #1 declare i32 @digit7(...) #1 declare i32 @digit8(...) #1 declare i32 @digit9(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp07hmn7g3.c' source_filename = "/tmp/tmp07hmn7g3.c" target datalayout = "e-m:e-p270: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 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"\0AUsage: %s INFILE OUTFILE\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"%s: can't stat %s: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [16 x i8] c"%s is %d bytes\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"%s: can't read %s: %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [33 x i8] c"%s: can't allocate %d bytes: %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [29 x i8] c"%s: can't read %d bytes: %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [33 x i8] c"%s: GetInfo failed with code %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [54 x i8] c"need %d bytes of scratch to produce %d bytes of data\0A\00", align 1 @.str.9 = private unnamed_addr constant [41 x i8] c"%s: TianoDecompress failed with code %d\0A\00", align 1 @.str.10 = private unnamed_addr constant [35 x i8] c"Uncompressed %d bytes to %d bytes\0A\00", align 1 @.str.11 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.12 = private unnamed_addr constant [35 x i8] c"%s: can't open %s for writing: %s\0A\00", align 1 @.str.13 = private unnamed_addr constant [30 x i8] c"%s: can't write %d bytes: %s\0A\00", align 1 @.str.14 = private unnamed_addr constant [22 x i8] c"wrote %d bytes to %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca %struct.stat, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %7, align 4 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 0 %22 = load ptr, ptr %21, align 8 %23 = call ptr @strrchr(ptr noundef %22, i8 noundef signext 47) store ptr %23, ptr %6, align 8 %24 = load ptr, ptr %6, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %29 26: ; preds = %2 %27 = load ptr, ptr %6, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %6, align 8 br label %33 29: ; preds = %2 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 0 %32 = load ptr, ptr %31, align 8 store ptr %32, ptr %6, align 8 br label %33 33: ; preds = %29, %26 %34 = load i32, ptr %4, align 4 %35 = icmp ne i32 %34, 3 br i1 %35, label %36, label %41 36: ; preds = %33 %37 = load i32, ptr @stderr, align 4 %38 = load ptr, ptr %6, align 8 %39 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str, ptr noundef %38) %40 = call i32 @exit(i32 noundef 1) #3 unreachable 41: ; preds = %33 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 1 %44 = load ptr, ptr %43, align 8 store ptr %44, ptr %8, align 8 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 2 %47 = load ptr, ptr %46, align 8 store ptr %47, ptr %9, align 8 %48 = load ptr, ptr %8, align 8 %49 = call i64 @stat(ptr noundef %48, ptr noundef %10) %50 = icmp ne i64 0, %49 br i1 %50, label %51, label %59 51: ; preds = %41 %52 = load i32, ptr @stderr, align 4 %53 = load ptr, ptr %6, align 8 %54 = load ptr, ptr %8, align 8 %55 = load i32, ptr @errno, align 4 %56 = call ptr @strerror(i32 noundef %55) %57 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %52, ptr noundef @.str.1, ptr noundef %53, ptr noundef %54, ptr noundef %56) %58 = call i32 @exit(i32 noundef 1) #3 unreachable 59: ; preds = %41 %60 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0 %61 = load i32, ptr %60, align 4 store i32 %61, ptr %11, align 4 %62 = load ptr, ptr %8, align 8 %63 = load i32, ptr %11, align 4 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %62, i32 noundef %63) %65 = load ptr, ptr %8, align 8 %66 = call ptr @fopen(ptr noundef %65, ptr noundef @.str.3) store ptr %66, ptr %12, align 8 %67 = load ptr, ptr %12, align 8 %68 = icmp ne ptr %67, null br i1 %68, label %77, label %69 69: ; preds = %59 %70 = load i32, ptr @stderr, align 4 %71 = load ptr, ptr %6, align 8 %72 = load ptr, ptr %8, align 8 %73 = load i32, ptr @errno, align 4 %74 = call ptr @strerror(i32 noundef %73) %75 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %70, ptr noundef @.str.4, ptr noundef %71, ptr noundef %72, ptr noundef %74) %76 = call i32 @exit(i32 noundef 1) #3 unreachable 77: ; preds = %59 %78 = load i32, ptr %11, align 4 %79 = call ptr @malloc(i32 noundef %78) store ptr %79, ptr %13, align 8 %80 = load ptr, ptr %13, align 8 %81 = icmp ne ptr %80, null br i1 %81, label %89, label %82 82: ; preds = %77 %83 = load i32, ptr @stderr, align 4 %84 = load ptr, ptr %6, align 8 %85 = load i32, ptr %11, align 4 %86 = load i32, ptr @errno, align 4 %87 = call ptr @strerror(i32 noundef %86) %88 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %83, ptr noundef @.str.5, ptr noundef %84, i32 noundef %85, ptr noundef %87) br label %214 89: ; preds = %77 %90 = load ptr, ptr %13, align 8 %91 = load i32, ptr %11, align 4 %92 = load ptr, ptr %12, align 8 %93 = call i32 @fread(ptr noundef %90, i32 noundef %91, i32 noundef 1, ptr noundef %92) %94 = icmp ne i32 1, %93 br i1 %94, label %95, label %102 95: ; preds = %89 %96 = load i32, ptr @stderr, align 4 %97 = load ptr, ptr %6, align 8 %98 = load i32, ptr %11, align 4 %99 = load i32, ptr @errno, align 4 %100 = call ptr @strerror(i32 noundef %99) %101 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %96, ptr noundef @.str.6, ptr noundef %97, i32 noundef %98, ptr noundef %100) br label %211 102: ; preds = %89 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 %103 = load ptr, ptr %13, align 8 %104 = load i32, ptr %11, align 4 %105 = call i32 @GetInfo(ptr noundef %103, i32 noundef %104, ptr noundef %15, ptr noundef %14) store i32 %105, ptr %16, align 4 %106 = load i32, ptr %16, align 4 %107 = icmp ne i32 %106, 0 br i1 %107, label %108, label %113 108: ; preds = %102 %109 = load i32, ptr @stderr, align 4 %110 = load ptr, ptr %6, align 8 %111 = load i32, ptr %16, align 4 %112 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %109, ptr noundef @.str.7, ptr noundef %110, i32 noundef %111) br label %211 113: ; preds = %102 %114 = load i32, ptr %14, align 4 %115 = load i32, ptr %15, align 4 %116 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %114, i32 noundef %115) %117 = load i32, ptr %14, align 4 %118 = call ptr @malloc(i32 noundef %117) store ptr %118, ptr %17, align 8 %119 = load ptr, ptr %17, align 8 %120 = icmp ne ptr %119, null br i1 %120, label %128, label %121 121: ; preds = %113 %122 = load i32, ptr @stderr, align 4 %123 = load ptr, ptr %6, align 8 %124 = load i32, ptr %14, align 4 %125 = load i32, ptr @errno, align 4 %126 = call ptr @strerror(i32 noundef %125) %127 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %122, ptr noundef @.str.5, ptr noundef %123, i32 noundef %124, ptr noundef %126) br label %211 128: ; preds = %113 %129 = load i32, ptr %15, align 4 %130 = call ptr @malloc(i32 noundef %129) store ptr %130, ptr %18, align 8 %131 = load ptr, ptr %18, align 8 %132 = icmp ne ptr %131, null br i1 %132, label %140, label %133 133: ; preds = %128 %134 = load i32, ptr @stderr, align 4 %135 = load ptr, ptr %6, align 8 %136 = load i32, ptr %15, align 4 %137 = load i32, ptr @errno, align 4 %138 = call ptr @strerror(i32 noundef %137) %139 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %134, ptr noundef @.str.5, ptr noundef %135, i32 noundef %136, ptr noundef %138) br label %208 140: ; preds = %128 %141 = load ptr, ptr %13, align 8 %142 = load i32, ptr %11, align 4 %143 = load ptr, ptr %18, align 8 %144 = load i32, ptr %15, align 4 %145 = load ptr, ptr %17, align 8 %146 = load i32, ptr %14, align 4 %147 = call i32 @TianoDecompress(ptr noundef %141, i32 noundef %142, ptr noundef %143, i32 noundef %144, ptr noundef %145, i32 noundef %146) store i32 %147, ptr %16, align 4 %148 = load i32, ptr %16, align 4 %149 = icmp ne i32 %148, 0 br i1 %149, label %150, label %170 150: ; preds = %140 %151 = load i32, ptr @stderr, align 4 %152 = load ptr, ptr %6, align 8 %153 = load i32, ptr %16, align 4 %154 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %151, ptr noundef @.str.9, ptr noundef %152, i32 noundef %153) %155 = load ptr, ptr %13, align 8 %156 = load i32, ptr %11, align 4 %157 = load ptr, ptr %18, align 8 %158 = load i32, ptr %15, align 4 %159 = load ptr, ptr %17, align 8 %160 = load i32, ptr %14, align 4 %161 = call i32 @EfiDecompress(ptr noundef %155, i32 noundef %156, ptr noundef %157, i32 noundef %158, ptr noundef %159, i32 noundef %160) store i32 %161, ptr %16, align 4 %162 = load i32, ptr %16, align 4 %163 = icmp ne i32 %162, 0 br i1 %163, label %164, label %169 164: ; preds = %150 %165 = load i32, ptr @stderr, align 4 %166 = load ptr, ptr %6, align 8 %167 = load i32, ptr %16, align 4 %168 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %165, ptr noundef @.str.9, ptr noundef %166, i32 noundef %167) br label %205 169: ; preds = %150 br label %170 170: ; preds = %169, %140 %171 = load i32, ptr %11, align 4 %172 = load i32, ptr %15, align 4 %173 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %171, i32 noundef %172) %174 = load ptr, ptr %9, align 8 %175 = call ptr @fopen(ptr noundef %174, ptr noundef @.str.11) store ptr %175, ptr %19, align 8 %176 = load ptr, ptr %19, align 8 %177 = icmp ne ptr %176, null br i1 %177, label %185, label %178 178: ; preds = %170 %179 = load i32, ptr @stderr, align 4 %180 = load ptr, ptr %6, align 8 %181 = load ptr, ptr %9, align 8 %182 = load i32, ptr @errno, align 4 %183 = call ptr @strerror(i32 noundef %182) %184 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %179, ptr noundef @.str.12, ptr noundef %180, ptr noundef %181, ptr noundef %183) br label %205 185: ; preds = %170 %186 = load ptr, ptr %18, align 8 %187 = load i32, ptr %15, align 4 %188 = load ptr, ptr %19, align 8 %189 = call i32 @fwrite(ptr noundef %186, i32 noundef %187, i32 noundef 1, ptr noundef %188) %190 = icmp ne i32 1, %189 br i1 %190, label %191, label %198 191: ; preds = %185 %192 = load i32, ptr @stderr, align 4 %193 = load ptr, ptr %6, align 8 %194 = load i32, ptr %15, align 4 %195 = load i32, ptr @errno, align 4 %196 = call ptr @strerror(i32 noundef %195) %197 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %192, ptr noundef @.str.13, ptr noundef %193, i32 noundef %194, ptr noundef %196) br label %202 198: ; preds = %185 %199 = load i32, ptr %15, align 4 %200 = load ptr, ptr %9, align 8 %201 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %199, ptr noundef %200) store i32 0, ptr %7, align 4 br label %202 202: ; preds = %198, %191 %203 = load ptr, ptr %19, align 8 %204 = call i32 @fclose(ptr noundef %203) br label %205 205: ; preds = %202, %178, %164 %206 = load ptr, ptr %18, align 8 %207 = call i32 @free(ptr noundef %206) br label %208 208: ; preds = %205, %133 %209 = load ptr, ptr %17, align 8 %210 = call i32 @free(ptr noundef %209) br label %211 211: ; preds = %208, %121, %108, %95 %212 = load ptr, ptr %13, align 8 %213 = call i32 @free(ptr noundef %212) br label %214 214: ; preds = %211, %82 %215 = load ptr, ptr %12, align 8 %216 = call i32 @fclose(ptr noundef %215) %217 = load i32, ptr %7, align 4 ret i32 %217 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @stat(ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @GetInfo(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @TianoDecompress(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @EfiDecompress(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(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" } 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/tmp07hmn7g3.c" target datalayout = "e-m:e-p270: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 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"\0AUsage: %s INFILE OUTFILE\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"%s: can't stat %s: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [16 x i8] c"%s is %d bytes\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"%s: can't read %s: %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [33 x i8] c"%s: can't allocate %d bytes: %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [29 x i8] c"%s: can't read %d bytes: %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [33 x i8] c"%s: GetInfo failed with code %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [54 x i8] c"need %d bytes of scratch to produce %d bytes of data\0A\00", align 1 @.str.9 = private unnamed_addr constant [41 x i8] c"%s: TianoDecompress failed with code %d\0A\00", align 1 @.str.10 = private unnamed_addr constant [35 x i8] c"Uncompressed %d bytes to %d bytes\0A\00", align 1 @.str.11 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.12 = private unnamed_addr constant [35 x i8] c"%s: can't open %s for writing: %s\0A\00", align 1 @.str.13 = private unnamed_addr constant [30 x i8] c"%s: can't write %d bytes: %s\0A\00", align 1 @.str.14 = private unnamed_addr constant [22 x i8] c"wrote %d bytes to %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca %struct.stat, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %7, align 4 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 0 %22 = load ptr, ptr %21, align 8 %23 = call ptr @strrchr(ptr noundef %22, i8 noundef signext 47) store ptr %23, ptr %6, align 8 %24 = load ptr, ptr %6, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %29 26: ; preds = %2 %27 = load ptr, ptr %6, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %6, align 8 br label %33 29: ; preds = %2 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 0 %32 = load ptr, ptr %31, align 8 store ptr %32, ptr %6, align 8 br label %33 33: ; preds = %29, %26 %34 = load i32, ptr %4, align 4 %35 = icmp ne i32 %34, 3 br i1 %35, label %36, label %41 36: ; preds = %33 %37 = load i32, ptr @stderr, align 4 %38 = load ptr, ptr %6, align 8 %39 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str, ptr noundef %38) %40 = call i32 @exit(i32 noundef 1) #3 unreachable 41: ; preds = %33 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 1 %44 = load ptr, ptr %43, align 8 store ptr %44, ptr %8, align 8 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 2 %47 = load ptr, ptr %46, align 8 store ptr %47, ptr %9, align 8 %48 = load ptr, ptr %8, align 8 %49 = call i64 @stat(ptr noundef %48, ptr noundef %10) %50 = icmp ne i64 0, %49 br i1 %50, label %51, label %59 51: ; preds = %41 %52 = load i32, ptr @stderr, align 4 %53 = load ptr, ptr %6, align 8 %54 = load ptr, ptr %8, align 8 %55 = load i32, ptr @errno, align 4 %56 = call ptr @strerror(i32 noundef %55) %57 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %52, ptr noundef @.str.1, ptr noundef %53, ptr noundef %54, ptr noundef %56) %58 = call i32 @exit(i32 noundef 1) #3 unreachable 59: ; preds = %41 %60 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0 %61 = load i32, ptr %60, align 4 store i32 %61, ptr %11, align 4 %62 = load ptr, ptr %8, align 8 %63 = load i32, ptr %11, align 4 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %62, i32 noundef %63) %65 = load ptr, ptr %8, align 8 %66 = call ptr @fopen(ptr noundef %65, ptr noundef @.str.3) store ptr %66, ptr %12, align 8 %67 = load ptr, ptr %12, align 8 %68 = icmp ne ptr %67, null br i1 %68, label %77, label %69 69: ; preds = %59 %70 = load i32, ptr @stderr, align 4 %71 = load ptr, ptr %6, align 8 %72 = load ptr, ptr %8, align 8 %73 = load i32, ptr @errno, align 4 %74 = call ptr @strerror(i32 noundef %73) %75 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %70, ptr noundef @.str.4, ptr noundef %71, ptr noundef %72, ptr noundef %74) %76 = call i32 @exit(i32 noundef 1) #3 unreachable 77: ; preds = %59 %78 = load i32, ptr %11, align 4 %79 = call ptr @malloc(i32 noundef %78) store ptr %79, ptr %13, align 8 %80 = load ptr, ptr %13, align 8 %81 = icmp ne ptr %80, null br i1 %81, label %89, label %82 82: ; preds = %77 %83 = load i32, ptr @stderr, align 4 %84 = load ptr, ptr %6, align 8 %85 = load i32, ptr %11, align 4 %86 = load i32, ptr @errno, align 4 %87 = call ptr @strerror(i32 noundef %86) %88 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %83, ptr noundef @.str.5, ptr noundef %84, i32 noundef %85, ptr noundef %87) br label %214 89: ; preds = %77 %90 = load ptr, ptr %13, align 8 %91 = load i32, ptr %11, align 4 %92 = load ptr, ptr %12, align 8 %93 = call i32 @fread(ptr noundef %90, i32 noundef %91, i32 noundef 1, ptr noundef %92) %94 = icmp ne i32 1, %93 br i1 %94, label %95, label %102 95: ; preds = %89 %96 = load i32, ptr @stderr, align 4 %97 = load ptr, ptr %6, align 8 %98 = load i32, ptr %11, align 4 %99 = load i32, ptr @errno, align 4 %100 = call ptr @strerror(i32 noundef %99) %101 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %96, ptr noundef @.str.6, ptr noundef %97, i32 noundef %98, ptr noundef %100) br label %211 102: ; preds = %89 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 %103 = load ptr, ptr %13, align 8 %104 = load i32, ptr %11, align 4 %105 = call i32 @GetInfo(ptr noundef %103, i32 noundef %104, ptr noundef %15, ptr noundef %14) store i32 %105, ptr %16, align 4 %106 = load i32, ptr %16, align 4 %107 = icmp ne i32 %106, 0 br i1 %107, label %108, label %113 108: ; preds = %102 %109 = load i32, ptr @stderr, align 4 %110 = load ptr, ptr %6, align 8 %111 = load i32, ptr %16, align 4 %112 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %109, ptr noundef @.str.7, ptr noundef %110, i32 noundef %111) br label %211 113: ; preds = %102 %114 = load i32, ptr %14, align 4 %115 = load i32, ptr %15, align 4 %116 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %114, i32 noundef %115) %117 = load i32, ptr %14, align 4 %118 = call ptr @malloc(i32 noundef %117) store ptr %118, ptr %17, align 8 %119 = load ptr, ptr %17, align 8 %120 = icmp ne ptr %119, null br i1 %120, label %128, label %121 121: ; preds = %113 %122 = load i32, ptr @stderr, align 4 %123 = load ptr, ptr %6, align 8 %124 = load i32, ptr %14, align 4 %125 = load i32, ptr @errno, align 4 %126 = call ptr @strerror(i32 noundef %125) %127 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %122, ptr noundef @.str.5, ptr noundef %123, i32 noundef %124, ptr noundef %126) br label %211 128: ; preds = %113 %129 = load i32, ptr %15, align 4 %130 = call ptr @malloc(i32 noundef %129) store ptr %130, ptr %18, align 8 %131 = load ptr, ptr %18, align 8 %132 = icmp ne ptr %131, null br i1 %132, label %140, label %133 133: ; preds = %128 %134 = load i32, ptr @stderr, align 4 %135 = load ptr, ptr %6, align 8 %136 = load i32, ptr %15, align 4 %137 = load i32, ptr @errno, align 4 %138 = call ptr @strerror(i32 noundef %137) %139 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %134, ptr noundef @.str.5, ptr noundef %135, i32 noundef %136, ptr noundef %138) br label %208 140: ; preds = %128 %141 = load ptr, ptr %13, align 8 %142 = load i32, ptr %11, align 4 %143 = load ptr, ptr %18, align 8 %144 = load i32, ptr %15, align 4 %145 = load ptr, ptr %17, align 8 %146 = load i32, ptr %14, align 4 %147 = call i32 @TianoDecompress(ptr noundef %141, i32 noundef %142, ptr noundef %143, i32 noundef %144, ptr noundef %145, i32 noundef %146) store i32 %147, ptr %16, align 4 %148 = load i32, ptr %16, align 4 %149 = icmp ne i32 %148, 0 br i1 %149, label %150, label %170 150: ; preds = %140 %151 = load i32, ptr @stderr, align 4 %152 = load ptr, ptr %6, align 8 %153 = load i32, ptr %16, align 4 %154 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %151, ptr noundef @.str.9, ptr noundef %152, i32 noundef %153) %155 = load ptr, ptr %13, align 8 %156 = load i32, ptr %11, align 4 %157 = load ptr, ptr %18, align 8 %158 = load i32, ptr %15, align 4 %159 = load ptr, ptr %17, align 8 %160 = load i32, ptr %14, align 4 %161 = call i32 @EfiDecompress(ptr noundef %155, i32 noundef %156, ptr noundef %157, i32 noundef %158, ptr noundef %159, i32 noundef %160) store i32 %161, ptr %16, align 4 %162 = load i32, ptr %16, align 4 %163 = icmp ne i32 %162, 0 br i1 %163, label %164, label %169 164: ; preds = %150 %165 = load i32, ptr @stderr, align 4 %166 = load ptr, ptr %6, align 8 %167 = load i32, ptr %16, align 4 %168 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %165, ptr noundef @.str.9, ptr noundef %166, i32 noundef %167) br label %205 169: ; preds = %150 br label %170 170: ; preds = %169, %140 %171 = load i32, ptr %11, align 4 %172 = load i32, ptr %15, align 4 %173 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %171, i32 noundef %172) %174 = load ptr, ptr %9, align 8 %175 = call ptr @fopen(ptr noundef %174, ptr noundef @.str.11) store ptr %175, ptr %19, align 8 %176 = load ptr, ptr %19, align 8 %177 = icmp ne ptr %176, null br i1 %177, label %185, label %178 178: ; preds = %170 %179 = load i32, ptr @stderr, align 4 %180 = load ptr, ptr %6, align 8 %181 = load ptr, ptr %9, align 8 %182 = load i32, ptr @errno, align 4 %183 = call ptr @strerror(i32 noundef %182) %184 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %179, ptr noundef @.str.12, ptr noundef %180, ptr noundef %181, ptr noundef %183) br label %205 185: ; preds = %170 %186 = load ptr, ptr %18, align 8 %187 = load i32, ptr %15, align 4 %188 = load ptr, ptr %19, align 8 %189 = call i32 @fwrite(ptr noundef %186, i32 noundef %187, i32 noundef 1, ptr noundef %188) %190 = icmp ne i32 1, %189 br i1 %190, label %191, label %198 191: ; preds = %185 %192 = load i32, ptr @stderr, align 4 %193 = load ptr, ptr %6, align 8 %194 = load i32, ptr %15, align 4 %195 = load i32, ptr @errno, align 4 %196 = call ptr @strerror(i32 noundef %195) %197 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %192, ptr noundef @.str.13, ptr noundef %193, i32 noundef %194, ptr noundef %196) br label %202 198: ; preds = %185 %199 = load i32, ptr %15, align 4 %200 = load ptr, ptr %9, align 8 %201 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %199, ptr noundef %200) store i32 0, ptr %7, align 4 br label %202 202: ; preds = %198, %191 %203 = load ptr, ptr %19, align 8 %204 = call i32 @fclose(ptr noundef %203) br label %205 205: ; preds = %202, %178, %164 %206 = load ptr, ptr %18, align 8 %207 = call i32 @free(ptr noundef %206) br label %208 208: ; preds = %205, %133 %209 = load ptr, ptr %17, align 8 %210 = call i32 @free(ptr noundef %209) br label %211 211: ; preds = %208, %121, %108, %95 %212 = load ptr, ptr %13, align 8 %213 = call i32 @free(ptr noundef %212) br label %214 214: ; preds = %211, %82 %215 = load ptr, ptr %12, align 8 %216 = call i32 @fclose(ptr noundef %215) %217 = load i32, ptr %7, align 4 ret i32 %217 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @stat(ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @GetInfo(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @TianoDecompress(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @EfiDecompress(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(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" } 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/tmp88gsnrjp.c' source_filename = "/tmp/tmp88gsnrjp.c" target datalayout = "e-m:e-p270: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/tmp88gsnrjp.c" target datalayout = "e-m:e-p270: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/tmpzppa_j0b.c' source_filename = "/tmp/tmpzppa_j0b.c" target datalayout = "e-m:e-p270: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 [41 x i8] c"usage: cdcat <options> iso-image [path]\0A\00", align 1 @.str.1 = private unnamed_addr constant [689 x i8] c"\0Acdcat can be used to explore an ISO9660 filesystem image\0AIf path is not specified the root directory is listed, if it's a directory the directory is listed or if it's a file the file is printed to standard output\0AThe Rock Ridge extensions to the ISO9660 filesystem standard are supported\0AOriginal program (c) 2007 Robert Nordier.\0A\0AOptions:\0A-help - This screen\0A-mode2 - The image has Mode 2 sectors (PlayStation dump)\0A-replace - If [path] is specified, the data of the file is\0A replaced with input from standard input\0A-showoffset - Show file offset in image\0A-version - Display version\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cdcat_print_usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzppa_j0b.c" target datalayout = "e-m:e-p270: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 [41 x i8] c"usage: cdcat <options> iso-image [path]\0A\00", align 1 @.str.1 = private unnamed_addr constant [689 x i8] c"\0Acdcat can be used to explore an ISO9660 filesystem image\0AIf path is not specified the root directory is listed, if it's a directory the directory is listed or if it's a file the file is printed to standard output\0AThe Rock Ridge extensions to the ISO9660 filesystem standard are supported\0AOriginal program (c) 2007 Robert Nordier.\0A\0AOptions:\0A-help - This screen\0A-mode2 - The image has Mode 2 sectors (PlayStation dump)\0A-replace - If [path] is specified, the data of the file is\0A replaced with input from standard input\0A-showoffset - Show file offset in image\0A-version - Display version\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cdcat_print_usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdl4ubv9k.c' source_filename = "/tmp/tmpdl4ubv9k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ListHome() #0 { %1 = call i32 @ListMakeActive(i32 noundef 0) %2 = call i32 (...) @ListDrawAct() ret void } declare i32 @ListMakeActive(i32 noundef) #1 declare i32 @ListDrawAct(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdl4ubv9k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ListHome() #0 { %1 = call i32 @ListMakeActive(i32 noundef 0) %2 = call i32 (...) @ListDrawAct() ret void } declare i32 @ListMakeActive(i32 noundef) #1 declare i32 @ListDrawAct(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp22hi8jqm.c' source_filename = "/tmp/tmp22hi8jqm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Cerrando la conexion del %s...\0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"Conexion cerrada\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @closeConnection(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 ptr, ptr %4, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %5) %7 = load i32, ptr %3, align 4 %8 = call i32 @close(i32 noundef %7) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp22hi8jqm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Cerrando la conexion del %s...\0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"Conexion cerrada\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @closeConnection(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 ptr, ptr %4, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %5) %7 = load i32, ptr %3, align 4 %8 = call i32 @close(i32 noundef %7) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptb_mgk3t.c' source_filename = "/tmp/tmptb_mgk3t.c" target datalayout = "e-m:e-p270: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 [38 x i8] c"usage: hsts-check [-h] hostlist_file\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptb_mgk3t.c" target datalayout = "e-m:e-p270: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 [38 x i8] c"usage: hsts-check [-h] hostlist_file\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf81rzbbx.c' source_filename = "/tmp/tmpf81rzbbx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_WRONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @util_write(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 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 = load i32, ptr @O_WRONLY, align 4 %12 = call i32 @open(ptr noundef %10, i32 noundef %11) store i32 %12, ptr %8, align 4 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %3 %15 = load i32, ptr %8, align 4 store i32 %15, ptr %4, align 4 br label %24 16: ; preds = %3 %17 = load i32, ptr %8, align 4 %18 = load ptr, ptr %6, align 8 %19 = load i64, ptr %7, align 8 %20 = call i32 @write(i32 noundef %17, ptr noundef %18, i64 noundef %19) store i32 %20, ptr %9, align 4 %21 = load i32, ptr %8, align 4 %22 = call i32 @close(i32 noundef %21) %23 = load i32, ptr %9, align 4 store i32 %23, ptr %4, align 4 br label %24 24: ; preds = %16, %14 %25 = load i32, ptr %4, align 4 ret i32 %25 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf81rzbbx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_WRONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @util_write(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 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 = load i32, ptr @O_WRONLY, align 4 %12 = call i32 @open(ptr noundef %10, i32 noundef %11) store i32 %12, ptr %8, align 4 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %3 %15 = load i32, ptr %8, align 4 store i32 %15, ptr %4, align 4 br label %24 16: ; preds = %3 %17 = load i32, ptr %8, align 4 %18 = load ptr, ptr %6, align 8 %19 = load i64, ptr %7, align 8 %20 = call i32 @write(i32 noundef %17, ptr noundef %18, i64 noundef %19) store i32 %20, ptr %9, align 4 %21 = load i32, ptr %8, align 4 %22 = call i32 @close(i32 noundef %21) %23 = load i32, ptr %9, align 4 store i32 %23, ptr %4, align 4 br label %24 24: ; preds = %16, %14 %25 = load i32, ptr %4, align 4 ret i32 %25 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkp6hscpd.c' source_filename = "/tmp/tmpkp6hscpd.c" target datalayout = "e-m:e-p270: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/tmpkp6hscpd.c" target datalayout = "e-m:e-p270: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/tmpcju8xgj9.c' source_filename = "/tmp/tmpcju8xgj9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fig07_14() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 5, ptr %1, align 4 store ptr %1, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr %3, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) 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/tmpcju8xgj9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fig07_14() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 5, ptr %1, align 4 store ptr %1, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr %3, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) 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/tmpclfmwt5_.c' source_filename = "/tmp/tmpclfmwt5_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"ERROR: You need at least one argument. \0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"%d: 'a' or A'\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"%d: 'e' or 'E'\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"%d: 'i' or 'I'\0A\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"%d: 'o' or 'O'\0A\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"%d: 'u' or 'U'\0A\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c"%d: 'y' or 'Y'\0A\00", align 1 @.str.7 = private unnamed_addr constant [23 x i8] c"%d: %c is not a vowel\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 i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 2 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %61 12: ; preds = %2 store i32 0, ptr %6, align 4 store i32 0, ptr %6, align 4 br label %13 13: ; preds = %57, %12 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %60 23: ; preds = %13 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load i8, ptr %29, align 1 store i8 %30, ptr %7, align 1 %31 = load i8, ptr %7, align 1 %32 = sext i8 %31 to i32 switch i32 %32, label %51 [ i32 97, label %33 i32 65, label %33 i32 101, label %36 i32 69, label %36 i32 105, label %39 i32 73, label %39 i32 111, label %42 i32 79, label %42 i32 117, label %45 i32 85, label %45 i32 121, label %48 i32 89, label %48 ] 33: ; preds = %23, %23 %34 = load i32, ptr %6, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %34) br label %56 36: ; preds = %23, %23 %37 = load i32, ptr %6, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %37) br label %56 39: ; preds = %23, %23 %40 = load i32, ptr %6, align 4 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %40) br label %56 42: ; preds = %23, %23 %43 = load i32, ptr %6, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %43) br label %56 45: ; preds = %23, %23 %46 = load i32, ptr %6, align 4 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %46) br label %56 48: ; preds = %23, %23 %49 = load i32, ptr %6, align 4 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %49) br label %56 51: ; preds = %23 %52 = load i32, ptr %6, align 4 %53 = load i8, ptr %7, align 1 %54 = sext i8 %53 to i32 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %52, i32 noundef %54) br label %56 56: ; preds = %51, %48, %45, %42, %39, %36, %33 br label %57 57: ; preds = %56 %58 = load i32, ptr %6, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %6, align 4 br label %13, !llvm.loop !6 60: ; preds = %13 store i32 0, ptr %3, align 4 br label %61 61: ; preds = %60, %10 %62 = load i32, ptr %3, align 4 ret i32 %62 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpclfmwt5_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"ERROR: You need at least one argument. \0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"%d: 'a' or A'\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"%d: 'e' or 'E'\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"%d: 'i' or 'I'\0A\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"%d: 'o' or 'O'\0A\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"%d: 'u' or 'U'\0A\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c"%d: 'y' or 'Y'\0A\00", align 1 @.str.7 = private unnamed_addr constant [23 x i8] c"%d: %c is not a vowel\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 i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 2 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %69 12: ; preds = %2 store i32 0, ptr %6, align 4 store i32 0, ptr %6, align 4 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = load i32, ptr %6, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, 0 br i1 %21, label %.lr.ph, label %68 .lr.ph: ; preds = %12 br label %22 22: ; preds = %.lr.ph, %56 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i8, ptr %28, align 1 store i8 %29, ptr %7, align 1 %30 = load i8, ptr %7, align 1 %31 = sext i8 %30 to i32 switch i32 %31, label %50 [ i32 97, label %32 i32 65, label %32 i32 101, label %35 i32 69, label %35 i32 105, label %38 i32 73, label %38 i32 111, label %41 i32 79, label %41 i32 117, label %44 i32 85, label %44 i32 121, label %47 i32 89, label %47 ] 32: ; preds = %22, %22 %33 = load i32, ptr %6, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %33) br label %55 35: ; preds = %22, %22 %36 = load i32, ptr %6, align 4 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %36) br label %55 38: ; preds = %22, %22 %39 = load i32, ptr %6, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %39) br label %55 41: ; preds = %22, %22 %42 = load i32, ptr %6, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %42) br label %55 44: ; preds = %22, %22 %45 = load i32, ptr %6, align 4 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %45) br label %55 47: ; preds = %22, %22 %48 = load i32, ptr %6, align 4 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %48) br label %55 50: ; preds = %22 %51 = load i32, ptr %6, align 4 %52 = load i8, ptr %7, align 1 %53 = sext i8 %52 to i32 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %51, i32 noundef %53) br label %55 55: ; preds = %50, %47, %44, %41, %38, %35, %32 br label %56 56: ; preds = %55 %57 = load i32, ptr %6, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %6, align 4 %59 = load ptr, ptr %5, align 8 %60 = getelementptr inbounds ptr, ptr %59, i64 1 %61 = load ptr, ptr %60, align 8 %62 = load i32, ptr %6, 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, 0 br i1 %67, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %56 br label %68 68: ; preds = %._crit_edge, %12 store i32 0, ptr %3, align 4 br label %69 69: ; preds = %68, %10 %70 = load i32, ptr %3, align 4 ret i32 %70 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpfm1a7zal.c' source_filename = "/tmp/tmpfm1a7zal.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"overlapping regions in memcpy()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @__bound_memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 @__bound_check(ptr noundef %8, i64 noundef %9) %11 = load ptr, ptr %5, align 8 %12 = load i64, ptr %6, align 8 %13 = call i32 @__bound_check(ptr noundef %11, i64 noundef %12) %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %4, align 8 %16 = icmp uge ptr %14, %15 br i1 %16, label %17, label %25 17: ; preds = %3 %18 = load ptr, ptr %5, align 8 %19 = load ptr, ptr %4, align 8 %20 = load i64, ptr %6, align 8 %21 = getelementptr i8, ptr %19, i64 %20 %22 = icmp ult ptr %18, %21 br i1 %22, label %23, label %25 23: ; preds = %17 %24 = call i32 @bound_error(ptr noundef @.str) br label %25 25: ; preds = %23, %17, %3 %26 = load ptr, ptr %4, align 8 %27 = load ptr, ptr %5, align 8 %28 = load i64, ptr %6, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %26, ptr align 1 %27, i64 %28, i1 false) store ptr %26, ptr %7, align 8 %29 = load ptr, ptr %7, align 8 ret ptr %29 } declare i32 @__bound_check(ptr noundef, i64 noundef) #1 declare i32 @bound_error(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfm1a7zal.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"overlapping regions in memcpy()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @__bound_memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 @__bound_check(ptr noundef %8, i64 noundef %9) %11 = load ptr, ptr %5, align 8 %12 = load i64, ptr %6, align 8 %13 = call i32 @__bound_check(ptr noundef %11, i64 noundef %12) %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %4, align 8 %16 = icmp uge ptr %14, %15 br i1 %16, label %17, label %25 17: ; preds = %3 %18 = load ptr, ptr %5, align 8 %19 = load ptr, ptr %4, align 8 %20 = load i64, ptr %6, align 8 %21 = getelementptr i8, ptr %19, i64 %20 %22 = icmp ult ptr %18, %21 br i1 %22, label %23, label %25 23: ; preds = %17 %24 = call i32 @bound_error(ptr noundef @.str) br label %25 25: ; preds = %23, %17, %3 %26 = load ptr, ptr %4, align 8 %27 = load ptr, ptr %5, align 8 %28 = load i64, ptr %6, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %26, ptr align 1 %27, i64 %28, i1 false) store ptr %26, ptr %7, align 8 %29 = load ptr, ptr %7, align 8 ret ptr %29 } declare i32 @__bound_check(ptr noundef, i64 noundef) #1 declare i32 @bound_error(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbedfdt3b.c' source_filename = "/tmp/tmpbedfdt3b.c" target datalayout = "e-m:e-p270: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/tmpbedfdt3b.c" target datalayout = "e-m:e-p270: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/tmpysdgfou2.c' source_filename = "/tmp/tmpysdgfou2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CloneString(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 @g_assert(ptr noundef %5) %7 = load ptr, ptr %2, align 8 %8 = call i32 @StrLen(ptr noundef %7) store i32 %8, ptr %3, align 4 %9 = load ptr, ptr %2, align 8 %10 = call i32 @StrLen(ptr noundef %9) %11 = add nsw i32 %10, 1 %12 = call ptr @CreateString(i32 noundef %11) store ptr %12, ptr %4, align 8 %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %3, align 4 %16 = call i32 @CopyChars(ptr noundef %13, ptr noundef %14, i32 noundef %15) %17 = load ptr, ptr %4, align 8 ret ptr %17 } declare i32 @g_assert(ptr noundef) #1 declare i32 @StrLen(ptr noundef) #1 declare ptr @CreateString(i32 noundef) #1 declare i32 @CopyChars(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/tmpysdgfou2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CloneString(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 @g_assert(ptr noundef %5) %7 = load ptr, ptr %2, align 8 %8 = call i32 @StrLen(ptr noundef %7) store i32 %8, ptr %3, align 4 %9 = load ptr, ptr %2, align 8 %10 = call i32 @StrLen(ptr noundef %9) %11 = add nsw i32 %10, 1 %12 = call ptr @CreateString(i32 noundef %11) store ptr %12, ptr %4, align 8 %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %3, align 4 %16 = call i32 @CopyChars(ptr noundef %13, ptr noundef %14, i32 noundef %15) %17 = load ptr, ptr %4, align 8 ret ptr %17 } declare i32 @g_assert(ptr noundef) #1 declare i32 @StrLen(ptr noundef) #1 declare ptr @CreateString(i32 noundef) #1 declare i32 @CopyChars(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/tmpmdgw8j04.c' source_filename = "/tmp/tmpmdgw8j04.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @log10(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 i32 @log2(double noundef %3) %5 = sitofp i32 %4 to double %6 = fmul double %5, 0x3FD34413509F79FF ret double %6 } declare i32 @log2(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmdgw8j04.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @log10(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 i32 @log2(double noundef %3) %5 = sitofp i32 %4 to double %6 = fmul double %5, 0x3FD34413509F79FF ret double %6 } declare i32 @log2(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps3v5ozic.c' source_filename = "/tmp/tmps3v5ozic.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"out of memory\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @cbmemdup(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @assert(ptr noundef %6) %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load ptr, ptr %3, align 8 %12 = call i32 @strlen(ptr noundef %11) store i32 %12, ptr %4, align 4 br label %13 13: ; preds = %10, %2 %14 = load i32, ptr %4, align 4 %15 = add nsw i32 %14, 1 %16 = call ptr @malloc(i32 noundef %15) store ptr %16, ptr %5, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %20 18: ; preds = %13 %19 = load ptr, ptr %5, align 8 br label %22 20: ; preds = %13 %21 = call ptr @cbmyfatal(ptr noundef @.str) br label %22 22: ; preds = %20, %18 %23 = phi ptr [ %19, %18 ], [ %21, %20 ] %24 = load ptr, ptr %5, align 8 %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %4, align 4 %27 = call i32 @memcpy(ptr noundef %24, ptr noundef %25, i32 noundef %26) %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %4, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 store i8 0, ptr %31, align 1 %32 = load ptr, ptr %5, align 8 ret ptr %32 } declare i32 @assert(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare ptr @cbmyfatal(ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps3v5ozic.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"out of memory\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @cbmemdup(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @assert(ptr noundef %6) %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load ptr, ptr %3, align 8 %12 = call i32 @strlen(ptr noundef %11) store i32 %12, ptr %4, align 4 br label %13 13: ; preds = %10, %2 %14 = load i32, ptr %4, align 4 %15 = add nsw i32 %14, 1 %16 = call ptr @malloc(i32 noundef %15) store ptr %16, ptr %5, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %20 18: ; preds = %13 %19 = load ptr, ptr %5, align 8 br label %22 20: ; preds = %13 %21 = call ptr @cbmyfatal(ptr noundef @.str) br label %22 22: ; preds = %20, %18 %23 = phi ptr [ %19, %18 ], [ %21, %20 ] %24 = load ptr, ptr %5, align 8 %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %4, align 4 %27 = call i32 @memcpy(ptr noundef %24, ptr noundef %25, i32 noundef %26) %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %4, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 store i8 0, ptr %31, align 1 %32 = load ptr, ptr %5, align 8 ret ptr %32 } declare i32 @assert(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare ptr @cbmyfatal(ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprcsbs3in.c' source_filename = "/tmp/tmprcsbs3in.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"mypipe\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Error in fdopen.\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"received from pipe: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = alloca [80 x i8], align 16 store i32 1, ptr %2, align 4 %4 = call i32 @mkfifo(ptr noundef @.str, i32 noundef 511) %5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %5, ptr %1, align 8 %6 = load ptr, ptr %1, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %23 10: ; preds = %0 br label %11 11: ; preds = %16, %10 %12 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0 %13 = load ptr, ptr %1, align 8 %14 = call i32 @fread(ptr noundef %12, i32 noundef 1, i32 noundef 80, ptr noundef %13) store i32 %14, ptr %2, align 4 %15 = icmp sgt i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %11 %17 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %17) br label %11, !llvm.loop !6 19: ; preds = %11 %20 = load ptr, ptr %1, align 8 %21 = call i32 @fclose(ptr noundef %20) %22 = call i32 @remove(ptr noundef @.str) br label %23 23: ; preds = %19, %8 ret void } declare i32 @mkfifo(ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @remove(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmprcsbs3in.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"mypipe\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Error in fdopen.\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"received from pipe: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = alloca [80 x i8], align 16 store i32 1, ptr %2, align 4 %4 = call i32 @mkfifo(ptr noundef @.str, i32 noundef 511) %5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %5, ptr %1, align 8 %6 = load ptr, ptr %1, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %25 10: ; preds = %0 %11 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0 %12 = load ptr, ptr %1, align 8 %13 = call i32 @fread(ptr noundef %11, i32 noundef 1, i32 noundef 80, ptr noundef %12) store i32 %13, ptr %2, align 4 %14 = icmp sgt i32 %13, 0 br i1 %14, label %.lr.ph, label %21 .lr.ph: ; preds = %10 br label %15 15: ; preds = %.lr.ph, %15 %16 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %16) %18 = load ptr, ptr %1, align 8 %19 = call i32 @fread(ptr noundef %11, i32 noundef 1, i32 noundef 80, ptr noundef %18) store i32 %19, ptr %2, align 4 %20 = icmp sgt i32 %19, 0 br i1 %20, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %21 21: ; preds = %._crit_edge, %10 %22 = load ptr, ptr %1, align 8 %23 = call i32 @fclose(ptr noundef %22) %24 = call i32 @remove(ptr noundef @.str) br label %25 25: ; preds = %21, %8 ret void } declare i32 @mkfifo(ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @remove(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp75d7apy_.c' source_filename = "/tmp/tmp75d7apy_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @unlink(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = add nsw i32 %7, 1 store i32 %8, ptr %5, align 4 %9 = load ptr, ptr %2, align 8 %10 = ptrtoint ptr %9 to i32 %11 = load i32, ptr %5, align 4 %12 = call i32 @do_syscall(i32 noundef 9, i32 noundef %10, i32 noundef %11, i32 noundef 0, i32 noundef 0, ptr noundef %4) store i32 %12, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %1 %16 = load i32, ptr %4, align 4 %17 = call i32 @__hosted_from_gdb_errno(i32 noundef %16) store i32 %17, ptr @errno, align 4 br label %18 18: ; preds = %15, %1 %19 = load i32, ptr %3, align 4 ret i32 %19 } declare i32 @strlen(ptr noundef) #1 declare i32 @do_syscall(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @__hosted_from_gdb_errno(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/tmp75d7apy_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @unlink(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = add nsw i32 %7, 1 store i32 %8, ptr %5, align 4 %9 = load ptr, ptr %2, align 8 %10 = ptrtoint ptr %9 to i32 %11 = load i32, ptr %5, align 4 %12 = call i32 @do_syscall(i32 noundef 9, i32 noundef %10, i32 noundef %11, i32 noundef 0, i32 noundef 0, ptr noundef %4) store i32 %12, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %1 %16 = load i32, ptr %4, align 4 %17 = call i32 @__hosted_from_gdb_errno(i32 noundef %16) store i32 %17, ptr @errno, align 4 br label %18 18: ; preds = %15, %1 %19 = load i32, ptr %3, align 4 ret i32 %19 } declare i32 @strlen(ptr noundef) #1 declare i32 @do_syscall(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @__hosted_from_gdb_errno(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/tmpkkflkjsc.c' source_filename = "/tmp/tmpkkflkjsc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ceiling_double(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %3, align 8 %4 = load double, ptr %3, align 8 %5 = fcmp oge double %4, 0.000000e+00 br i1 %5, label %6, label %27 6: ; preds = %1 %7 = load double, ptr %3, align 8 %8 = fcmp olt double %7, 5.000000e-02 br i1 %8, label %9, label %10 9: ; preds = %6 store double 5.000000e-02, ptr %2, align 8 br label %32 10: ; preds = %6 %11 = load double, ptr %3, align 8 %12 = fcmp olt double %11, 1.000000e-01 br i1 %12, label %13, label %14 13: ; preds = %10 store double 1.000000e-01, ptr %2, align 8 br label %32 14: ; preds = %10 %15 = load double, ptr %3, align 8 %16 = fcmp olt double %15, 2.000000e-01 br i1 %16, label %17, label %18 17: ; preds = %14 store double 2.000000e-01, ptr %2, align 8 br label %32 18: ; preds = %14 %19 = load double, ptr %3, align 8 %20 = fcmp olt double %19, 5.000000e-01 br i1 %20, label %21, label %22 21: ; preds = %18 store double 5.000000e-01, ptr %2, align 8 br label %32 22: ; preds = %18 %23 = load double, ptr %3, align 8 %24 = fadd double %23, 0x3FEFAE147AE147AE %25 = fptosi double %24 to i32 %26 = sitofp i32 %25 to double store double %26, ptr %2, align 8 br label %32 27: ; preds = %1 %28 = load double, ptr %3, align 8 %29 = fneg double %28 %30 = call double @floor_double(double noundef %29) %31 = fneg double %30 store double %31, ptr %2, align 8 br label %32 32: ; preds = %27, %22, %21, %17, %13, %9 %33 = load double, ptr %2, align 8 ret double %33 } declare double @floor_double(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkkflkjsc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ceiling_double(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %3, align 8 %4 = load double, ptr %3, align 8 %5 = fcmp oge double %4, 0.000000e+00 br i1 %5, label %6, label %27 6: ; preds = %1 %7 = load double, ptr %3, align 8 %8 = fcmp olt double %7, 5.000000e-02 br i1 %8, label %9, label %10 9: ; preds = %6 store double 5.000000e-02, ptr %2, align 8 br label %32 10: ; preds = %6 %11 = load double, ptr %3, align 8 %12 = fcmp olt double %11, 1.000000e-01 br i1 %12, label %13, label %14 13: ; preds = %10 store double 1.000000e-01, ptr %2, align 8 br label %32 14: ; preds = %10 %15 = load double, ptr %3, align 8 %16 = fcmp olt double %15, 2.000000e-01 br i1 %16, label %17, label %18 17: ; preds = %14 store double 2.000000e-01, ptr %2, align 8 br label %32 18: ; preds = %14 %19 = load double, ptr %3, align 8 %20 = fcmp olt double %19, 5.000000e-01 br i1 %20, label %21, label %22 21: ; preds = %18 store double 5.000000e-01, ptr %2, align 8 br label %32 22: ; preds = %18 %23 = load double, ptr %3, align 8 %24 = fadd double %23, 0x3FEFAE147AE147AE %25 = fptosi double %24 to i32 %26 = sitofp i32 %25 to double store double %26, ptr %2, align 8 br label %32 27: ; preds = %1 %28 = load double, ptr %3, align 8 %29 = fneg double %28 %30 = call double @floor_double(double noundef %29) %31 = fneg double %30 store double %31, ptr %2, align 8 br label %32 32: ; preds = %27, %22, %21, %17, %13, %9 %33 = load double, ptr %2, align 8 ret double %33 } declare double @floor_double(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9doajryi.c' source_filename = "/tmp/tmp9doajryi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"%lu\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 i64], align 8 %7 = alloca [1 x i64], align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = 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 %36 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) store i64 %29, ptr %9, align 8 %30 = load i64, ptr %9, align 8 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %32 store i64 %30, ptr %33, align 8 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 br label %19, !llvm.loop !6 36: ; preds = %19 %37 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0 %38 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %39 = call i32 @RandomFunc(ptr noundef %37, ptr noundef %38) %40 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %41 = load i64, ptr %40, align 8 %42 = icmp eq i64 %41, 367794298 br i1 %42, label %43, label %45 43: ; preds = %36 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %46 45: ; preds = %36 br label %46 46: ; preds = %45, %43 store i32 0, ptr %10, align 4 br label %47 47: ; preds = %50, %46 %48 = load i32, ptr %10, align 4 %49 = icmp slt i32 %48, 1 br i1 %49, label %50, label %58 50: ; preds = %47 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52 %54 = load i64, ptr %53, align 8 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54) %56 = load i32, ptr %10, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %10, align 4 br label %47, !llvm.loop !8 58: ; preds = %47 %59 = load i32, ptr %3, align 4 ret i32 %59 } 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/tmp9doajryi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"%lu\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 i64], align 8 %7 = alloca [1 x i64], align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = 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 %37 .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) store i64 %28, ptr %9, align 8 %29 = load i64, ptr %9, align 8 %30 = load i32, ptr %8, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %31 store i64 %29, ptr %32, align 8 %33 = load i32, ptr %8, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %8, align 4 %35 = load i32, ptr %8, align 4 %36 = icmp slt i32 %35, 1 br i1 %36, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %37 37: ; preds = %._crit_edge, %18 %38 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %42 = load i64, ptr %41, align 8 %43 = icmp eq i64 %42, 367794298 br i1 %43, label %44, label %46 44: ; preds = %37 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %47 46: ; preds = %37 br label %47 47: ; preds = %46, %44 store i32 0, ptr %10, align 4 %48 = load i32, ptr %10, align 4 %49 = icmp slt i32 %48, 1 br i1 %49, label %.lr.ph2, label %60 .lr.ph2: ; preds = %47 br label %50 50: ; preds = %.lr.ph2, %50 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52 %54 = load i64, ptr %53, align 8 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54) %56 = load i32, ptr %10, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %10, align 4 %58 = load i32, ptr %10, align 4 %59 = icmp slt i32 %58, 1 br i1 %59, label %50, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %50 br label %60 60: ; preds = %._crit_edge3, %47 %61 = load i32, ptr %3, align 4 ret i32 %61 } 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/tmpqc83xhus.c' source_filename = "/tmp/tmpqc83xhus.c" target datalayout = "e-m:e-p270: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/tmpqc83xhus.c" target datalayout = "e-m:e-p270: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/tmp2o8r9mu0.c' source_filename = "/tmp/tmp2o8r9mu0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINTR = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2o8r9mu0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINTR = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyaydwaf0.c' source_filename = "/tmp/tmpyaydwaf0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 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_isbdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isbdigit should be 0 for 0xf6\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isbdigit_0xf6() #0 { %1 = call i64 @isbdigit(i32 noundef 246) %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 1235, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isbdigit(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/tmpyaydwaf0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 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_isbdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isbdigit should be 0 for 0xf6\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isbdigit_0xf6() #0 { %1 = call i64 @isbdigit(i32 noundef 246) %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 1235, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isbdigit(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/tmp5sndi1bj.c' source_filename = "/tmp/tmp5sndi1bj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel124_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 { %32 = alloca ptr, align 8 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 %35 = alloca ptr, align 8 %36 = alloca ptr, align 8 %37 = alloca ptr, align 8 %38 = alloca ptr, align 8 %39 = alloca ptr, align 8 %40 = alloca ptr, align 8 %41 = alloca ptr, align 8 %42 = alloca ptr, align 8 %43 = alloca ptr, align 8 %44 = alloca ptr, align 8 %45 = alloca ptr, align 8 %46 = alloca ptr, align 8 %47 = alloca ptr, align 8 %48 = alloca ptr, align 8 %49 = alloca ptr, align 8 %50 = alloca ptr, align 8 %51 = alloca ptr, align 8 %52 = alloca ptr, align 8 %53 = alloca ptr, align 8 %54 = alloca ptr, align 8 %55 = alloca ptr, align 8 %56 = alloca ptr, align 8 %57 = alloca ptr, align 8 %58 = alloca ptr, align 8 %59 = alloca ptr, align 8 %60 = alloca ptr, align 8 %61 = alloca ptr, align 8 %62 = alloca ptr, align 8 store ptr %0, ptr %32, align 8 store ptr %1, ptr %33, align 8 store ptr %2, ptr %34, align 8 store ptr %3, ptr %35, align 8 store ptr %4, ptr %36, align 8 store ptr %5, ptr %37, align 8 store ptr %6, ptr %38, align 8 store ptr %7, ptr %39, align 8 store ptr %8, ptr %40, align 8 store ptr %9, ptr %41, align 8 store ptr %10, ptr %42, align 8 store ptr %11, ptr %43, align 8 store ptr %12, ptr %44, align 8 store ptr %13, ptr %45, align 8 store ptr %14, ptr %46, align 8 store ptr %15, ptr %47, align 8 store ptr %16, ptr %48, align 8 store ptr %17, ptr %49, align 8 store ptr %18, ptr %50, align 8 store ptr %19, ptr %51, align 8 store ptr %20, ptr %52, align 8 store ptr %21, ptr %53, align 8 store ptr %22, ptr %54, align 8 store ptr %23, ptr %55, align 8 store ptr %24, ptr %56, align 8 store ptr %25, ptr %57, align 8 store ptr %26, ptr %58, align 8 store ptr %27, ptr %59, align 8 store ptr %28, ptr %60, align 8 store ptr %29, ptr %61, align 8 store ptr %30, ptr %62, align 8 %63 = load ptr, ptr %32, align 8 %64 = load ptr, ptr %33, align 8 %65 = load ptr, ptr %34, align 8 %66 = load ptr, ptr %35, align 8 %67 = load ptr, ptr %36, align 8 %68 = load ptr, ptr %37, align 8 %69 = load ptr, ptr %38, align 8 %70 = load ptr, ptr %39, align 8 %71 = load ptr, ptr %40, align 8 %72 = load ptr, ptr %41, align 8 %73 = load ptr, ptr %42, align 8 %74 = load ptr, ptr %43, align 8 %75 = load ptr, ptr %44, align 8 %76 = load ptr, ptr %45, align 8 %77 = load ptr, ptr %46, align 8 %78 = load ptr, ptr %47, align 8 %79 = load ptr, ptr %48, align 8 %80 = load ptr, ptr %49, align 8 %81 = load ptr, ptr %50, align 8 %82 = load ptr, ptr %51, align 8 %83 = load ptr, ptr %52, align 8 %84 = load ptr, ptr %53, align 8 %85 = load ptr, ptr %54, align 8 %86 = load ptr, ptr %55, align 8 %87 = load ptr, ptr %56, align 8 %88 = load ptr, ptr %57, align 8 %89 = load ptr, ptr %58, align 8 %90 = load ptr, ptr %59, align 8 %91 = load ptr, ptr %60, align 8 %92 = load ptr, ptr %61, align 8 %93 = load ptr, ptr %62, align 8 %94 = call i32 @f77dkernel124_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93) ret void } declare i32 @f77dkernel124_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5sndi1bj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel124_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 { %32 = alloca ptr, align 8 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 %35 = alloca ptr, align 8 %36 = alloca ptr, align 8 %37 = alloca ptr, align 8 %38 = alloca ptr, align 8 %39 = alloca ptr, align 8 %40 = alloca ptr, align 8 %41 = alloca ptr, align 8 %42 = alloca ptr, align 8 %43 = alloca ptr, align 8 %44 = alloca ptr, align 8 %45 = alloca ptr, align 8 %46 = alloca ptr, align 8 %47 = alloca ptr, align 8 %48 = alloca ptr, align 8 %49 = alloca ptr, align 8 %50 = alloca ptr, align 8 %51 = alloca ptr, align 8 %52 = alloca ptr, align 8 %53 = alloca ptr, align 8 %54 = alloca ptr, align 8 %55 = alloca ptr, align 8 %56 = alloca ptr, align 8 %57 = alloca ptr, align 8 %58 = alloca ptr, align 8 %59 = alloca ptr, align 8 %60 = alloca ptr, align 8 %61 = alloca ptr, align 8 %62 = alloca ptr, align 8 store ptr %0, ptr %32, align 8 store ptr %1, ptr %33, align 8 store ptr %2, ptr %34, align 8 store ptr %3, ptr %35, align 8 store ptr %4, ptr %36, align 8 store ptr %5, ptr %37, align 8 store ptr %6, ptr %38, align 8 store ptr %7, ptr %39, align 8 store ptr %8, ptr %40, align 8 store ptr %9, ptr %41, align 8 store ptr %10, ptr %42, align 8 store ptr %11, ptr %43, align 8 store ptr %12, ptr %44, align 8 store ptr %13, ptr %45, align 8 store ptr %14, ptr %46, align 8 store ptr %15, ptr %47, align 8 store ptr %16, ptr %48, align 8 store ptr %17, ptr %49, align 8 store ptr %18, ptr %50, align 8 store ptr %19, ptr %51, align 8 store ptr %20, ptr %52, align 8 store ptr %21, ptr %53, align 8 store ptr %22, ptr %54, align 8 store ptr %23, ptr %55, align 8 store ptr %24, ptr %56, align 8 store ptr %25, ptr %57, align 8 store ptr %26, ptr %58, align 8 store ptr %27, ptr %59, align 8 store ptr %28, ptr %60, align 8 store ptr %29, ptr %61, align 8 store ptr %30, ptr %62, align 8 %63 = load ptr, ptr %32, align 8 %64 = load ptr, ptr %33, align 8 %65 = load ptr, ptr %34, align 8 %66 = load ptr, ptr %35, align 8 %67 = load ptr, ptr %36, align 8 %68 = load ptr, ptr %37, align 8 %69 = load ptr, ptr %38, align 8 %70 = load ptr, ptr %39, align 8 %71 = load ptr, ptr %40, align 8 %72 = load ptr, ptr %41, align 8 %73 = load ptr, ptr %42, align 8 %74 = load ptr, ptr %43, align 8 %75 = load ptr, ptr %44, align 8 %76 = load ptr, ptr %45, align 8 %77 = load ptr, ptr %46, align 8 %78 = load ptr, ptr %47, align 8 %79 = load ptr, ptr %48, align 8 %80 = load ptr, ptr %49, align 8 %81 = load ptr, ptr %50, align 8 %82 = load ptr, ptr %51, align 8 %83 = load ptr, ptr %52, align 8 %84 = load ptr, ptr %53, align 8 %85 = load ptr, ptr %54, align 8 %86 = load ptr, ptr %55, align 8 %87 = load ptr, ptr %56, align 8 %88 = load ptr, ptr %57, align 8 %89 = load ptr, ptr %58, align 8 %90 = load ptr, ptr %59, align 8 %91 = load ptr, ptr %60, align 8 %92 = load ptr, ptr %61, align 8 %93 = load ptr, ptr %62, align 8 %94 = call i32 @f77dkernel124_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93) ret void } declare i32 @f77dkernel124_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps5ik0ikx.c' source_filename = "/tmp/tmps5ik0ikx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"json-task.json\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"\09{\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @pre_user() #0 { %1 = call i32 @write(ptr noundef @.str, ptr noundef @.str.1, ptr noundef null) ret void } declare i32 @write(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/tmps5ik0ikx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"json-task.json\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"\09{\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @pre_user() #0 { %1 = call i32 @write(ptr noundef @.str, ptr noundef @.str.1, ptr noundef null) ret void } declare i32 @write(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/tmpt5gts2cu.c' source_filename = "/tmp/tmpt5gts2cu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fc8300_i2c_longread(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i16, align 2 %7 = alloca i16, align 2 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i16 %1, ptr %6, align 2 store i16 %2, ptr %7, align 2 store ptr %3, ptr %8, align 8 %10 = call i32 (...) @OAL_OBTAIN_SEMAPHORE() %11 = load ptr, ptr %5, align 8 %12 = load i16, ptr %6, align 2 %13 = zext i16 %12 to i32 %14 = ashr i32 %13, 8 %15 = trunc i32 %14 to i8 %16 = zext i8 %15 to i32 %17 = and i32 %16, 255 %18 = trunc i32 %17 to i8 %19 = load i16, ptr %7, align 2 %20 = load ptr, ptr %8, align 8 %21 = call i32 @i2c_bulkread(ptr noundef %11, i8 noundef zeroext %18, i16 noundef zeroext %19, ptr noundef %20, i32 noundef 4) store i32 %21, ptr %9, align 4 %22 = call i32 (...) @OAL_RELEASE_SEMAPHORE() %23 = load i32, ptr %9, align 4 ret i32 %23 } declare i32 @OAL_OBTAIN_SEMAPHORE(...) #1 declare i32 @i2c_bulkread(ptr noundef, i8 noundef zeroext, i16 noundef zeroext, ptr noundef, i32 noundef) #1 declare i32 @OAL_RELEASE_SEMAPHORE(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt5gts2cu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fc8300_i2c_longread(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i16, align 2 %7 = alloca i16, align 2 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i16 %1, ptr %6, align 2 store i16 %2, ptr %7, align 2 store ptr %3, ptr %8, align 8 %10 = call i32 (...) @OAL_OBTAIN_SEMAPHORE() %11 = load ptr, ptr %5, align 8 %12 = load i16, ptr %6, align 2 %13 = zext i16 %12 to i32 %14 = ashr i32 %13, 8 %15 = trunc i32 %14 to i8 %16 = zext i8 %15 to i32 %17 = and i32 %16, 255 %18 = trunc i32 %17 to i8 %19 = load i16, ptr %7, align 2 %20 = load ptr, ptr %8, align 8 %21 = call i32 @i2c_bulkread(ptr noundef %11, i8 noundef zeroext %18, i16 noundef zeroext %19, ptr noundef %20, i32 noundef 4) store i32 %21, ptr %9, align 4 %22 = call i32 (...) @OAL_RELEASE_SEMAPHORE() %23 = load i32, ptr %9, align 4 ret i32 %23 } declare i32 @OAL_OBTAIN_SEMAPHORE(...) #1 declare i32 @i2c_bulkread(ptr noundef, i8 noundef zeroext, i16 noundef zeroext, ptr noundef, i32 noundef) #1 declare i32 @OAL_RELEASE_SEMAPHORE(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpom3xps16.c' source_filename = "/tmp/tmpom3xps16.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @.str = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1 @__const.main.arg_list = private unnamed_addr constant [2 x ptr] [ptr @.str, ptr null], align 16 @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @AF_INET = dso_local global i32 0, align 4 @INADDR_ANY = 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 i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.sockaddr_in, align 4 %5 = alloca %struct.sockaddr_in, align 4 %6 = alloca i32, align 4 %7 = alloca [2 x ptr], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.arg_list, i64 16, i1 false) %8 = load i32, ptr @PF_INET, align 4 %9 = load i32, ptr @SOCK_STREAM, align 4 %10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0) store i32 %10, ptr %2, align 4 %11 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 3 %12 = load i32, ptr %11, align 4 %13 = call i32 @memset(i32 noundef %12, i8 noundef signext 0, i32 noundef 4) %14 = load i32, ptr @AF_INET, align 4 %15 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2 store i32 %14, ptr %15, align 4 %16 = load i32, ptr @INADDR_ANY, align 4 %17 = call i32 @htonl(i32 noundef %16) %18 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1 %19 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i32 0, i32 0 store i32 %17, ptr %19, align 4 %20 = call i32 @htons(i32 noundef 4444) %21 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0 store i32 %20, ptr %21, align 4 %22 = load i32, ptr %2, align 4 %23 = call i32 @bind(i32 noundef %22, ptr noundef %4, i32 noundef 16) %24 = load i32, ptr %2, align 4 %25 = call i32 @listen(i32 noundef %24, i32 noundef 2) %26 = load i32, ptr %2, align 4 %27 = call i32 @accept(i32 noundef %26, ptr noundef %5, ptr noundef %6) store i32 %27, ptr %3, align 4 %28 = load i32, ptr %3, align 4 %29 = call i32 @dup2(i32 noundef %28, i32 noundef 0) %30 = load i32, ptr %3, align 4 %31 = call i32 @dup2(i32 noundef %30, i32 noundef 1) %32 = load i32, ptr %3, align 4 %33 = call i32 @dup2(i32 noundef %32, i32 noundef 2) %34 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 0 %35 = load ptr, ptr %34, align 16 %36 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 0 %37 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 1 %38 = load ptr, ptr %37, align 8 %39 = call i32 @execve(ptr noundef %35, ptr noundef %36, ptr noundef %38) %40 = load i32, ptr %2, align 4 %41 = call i32 @close(i32 noundef %40) 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 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @memset(i32 noundef, i8 noundef signext, i32 noundef) #2 declare i32 @htonl(i32 noundef) #2 declare i32 @htons(i32 noundef) #2 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @listen(i32 noundef, i32 noundef) #2 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @dup2(i32 noundef, i32 noundef) #2 declare i32 @execve(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @close(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpom3xps16.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @.str = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1 @__const.main.arg_list = private unnamed_addr constant [2 x ptr] [ptr @.str, ptr null], align 16 @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @AF_INET = dso_local global i32 0, align 4 @INADDR_ANY = 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 i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.sockaddr_in, align 4 %5 = alloca %struct.sockaddr_in, align 4 %6 = alloca i32, align 4 %7 = alloca [2 x ptr], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.arg_list, i64 16, i1 false) %8 = load i32, ptr @PF_INET, align 4 %9 = load i32, ptr @SOCK_STREAM, align 4 %10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0) store i32 %10, ptr %2, align 4 %11 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 3 %12 = load i32, ptr %11, align 4 %13 = call i32 @memset(i32 noundef %12, i8 noundef signext 0, i32 noundef 4) %14 = load i32, ptr @AF_INET, align 4 %15 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2 store i32 %14, ptr %15, align 4 %16 = load i32, ptr @INADDR_ANY, align 4 %17 = call i32 @htonl(i32 noundef %16) %18 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1 %19 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i32 0, i32 0 store i32 %17, ptr %19, align 4 %20 = call i32 @htons(i32 noundef 4444) %21 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0 store i32 %20, ptr %21, align 4 %22 = load i32, ptr %2, align 4 %23 = call i32 @bind(i32 noundef %22, ptr noundef %4, i32 noundef 16) %24 = load i32, ptr %2, align 4 %25 = call i32 @listen(i32 noundef %24, i32 noundef 2) %26 = load i32, ptr %2, align 4 %27 = call i32 @accept(i32 noundef %26, ptr noundef %5, ptr noundef %6) store i32 %27, ptr %3, align 4 %28 = load i32, ptr %3, align 4 %29 = call i32 @dup2(i32 noundef %28, i32 noundef 0) %30 = load i32, ptr %3, align 4 %31 = call i32 @dup2(i32 noundef %30, i32 noundef 1) %32 = load i32, ptr %3, align 4 %33 = call i32 @dup2(i32 noundef %32, i32 noundef 2) %34 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 0 %35 = load ptr, ptr %34, align 16 %36 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 0 %37 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 1 %38 = load ptr, ptr %37, align 8 %39 = call i32 @execve(ptr noundef %35, ptr noundef %36, ptr noundef %38) %40 = load i32, ptr %2, align 4 %41 = call i32 @close(i32 noundef %40) 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 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @memset(i32 noundef, i8 noundef signext, i32 noundef) #2 declare i32 @htonl(i32 noundef) #2 declare i32 @htons(i32 noundef) #2 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @listen(i32 noundef, i32 noundef) #2 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @dup2(i32 noundef, i32 noundef) #2 declare i32 @execve(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @close(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpivo_4r9k.c' source_filename = "/tmp/tmpivo_4r9k.c" target datalayout = "e-m:e-p270: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.write_grub2_mbr.mbr_grub2_0x0 = private unnamed_addr constant [432 x i8] c"\EBc\90\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\80\01\00\00\00\00\00\00\00\FF\FA\90\90\F6\C2\80t\05\F6\C2pt\02\B2\80\EAy|\00\001\C0\8E\D8\8E\D0\BC\00 \FB\A0d|<\FFt\02\88\C2R\BE\80}\E8\17\01\BE\05|\B4A\BB\AAU\CD\13ZRr=\81\FBU\AAu7\83\E1\01t21\C0\89D\04@\88D\FF\89D\02\C7\04\10\00f\8B\1E\\|f\89\\\08f\8B\1E`|f\89\\\0C\C7D\06\00p\B4B\CD\13r\05\BB\00p\EBv\B4\08\CD\13s\0DZ\84\D2\0F\83\D8\00\BE\8B}\E9\82\00f\0F\B6\C6\88d\FF@f\89D\04\0F\B6\D1\C1\E2\02\88\E8\88\F4@\89D\08\0F\B6\C2\C0\E8\02f\89\04f\A1`|f\09\C0uNf\A1\\|f1\D2f\F74\88\D11\D2f\F7t\04;D\08}7\FE\C1\88\C50\C0\C1\E8\02\08\C1\88\D0Z\88\C6\BB\00p\8E\C31\DB\B8\01\02\CD\13r\1E\8C\C3`\1E\B9\00\01\8E\DB1\F6\BF\00\80\8E\C6\FC\F3\A5\1Fa\FF&Z|\BE\86}\EB\03\BE\95}\E84\00\BE\9A}\E8.\00\CD\18\EB\FEGRUB \00Geom\00Hard Disk\00Read\00 Error\0D\0A\00\BB\01\00\B4\0E\CD\10\AC<\00u\F4\C3", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @write_grub2_mbr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [432 x i8], align 16 store ptr %0, ptr %2, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.write_grub2_mbr.mbr_grub2_0x0, i64 432, i1 false) %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds [432 x i8], ptr %3, i64 0, i64 0 %6 = call i64 @write_data(ptr noundef %4, i32 noundef 0, ptr noundef %5, i32 noundef 432) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 %10 = call i64 @write_bootmark(ptr noundef %9) %11 = icmp ne i64 %10, 0 br label %12 12: ; preds = %8, %1 %13 = phi i1 [ false, %1 ], [ %11, %8 ] %14 = zext i1 %13 to i32 ret i32 %14 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i64 @write_data(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i64 @write_bootmark(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/tmpivo_4r9k.c" target datalayout = "e-m:e-p270: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.write_grub2_mbr.mbr_grub2_0x0 = private unnamed_addr constant [432 x i8] c"\EBc\90\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\80\01\00\00\00\00\00\00\00\FF\FA\90\90\F6\C2\80t\05\F6\C2pt\02\B2\80\EAy|\00\001\C0\8E\D8\8E\D0\BC\00 \FB\A0d|<\FFt\02\88\C2R\BE\80}\E8\17\01\BE\05|\B4A\BB\AAU\CD\13ZRr=\81\FBU\AAu7\83\E1\01t21\C0\89D\04@\88D\FF\89D\02\C7\04\10\00f\8B\1E\\|f\89\\\08f\8B\1E`|f\89\\\0C\C7D\06\00p\B4B\CD\13r\05\BB\00p\EBv\B4\08\CD\13s\0DZ\84\D2\0F\83\D8\00\BE\8B}\E9\82\00f\0F\B6\C6\88d\FF@f\89D\04\0F\B6\D1\C1\E2\02\88\E8\88\F4@\89D\08\0F\B6\C2\C0\E8\02f\89\04f\A1`|f\09\C0uNf\A1\\|f1\D2f\F74\88\D11\D2f\F7t\04;D\08}7\FE\C1\88\C50\C0\C1\E8\02\08\C1\88\D0Z\88\C6\BB\00p\8E\C31\DB\B8\01\02\CD\13r\1E\8C\C3`\1E\B9\00\01\8E\DB1\F6\BF\00\80\8E\C6\FC\F3\A5\1Fa\FF&Z|\BE\86}\EB\03\BE\95}\E84\00\BE\9A}\E8.\00\CD\18\EB\FEGRUB \00Geom\00Hard Disk\00Read\00 Error\0D\0A\00\BB\01\00\B4\0E\CD\10\AC<\00u\F4\C3", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @write_grub2_mbr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [432 x i8], align 16 store ptr %0, ptr %2, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.write_grub2_mbr.mbr_grub2_0x0, i64 432, i1 false) %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds [432 x i8], ptr %3, i64 0, i64 0 %6 = call i64 @write_data(ptr noundef %4, i32 noundef 0, ptr noundef %5, i32 noundef 432) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 %10 = call i64 @write_bootmark(ptr noundef %9) %11 = icmp ne i64 %10, 0 br label %12 12: ; preds = %8, %1 %13 = phi i1 [ false, %1 ], [ %11, %8 ] %14 = zext i1 %13 to i32 ret i32 %14 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i64 @write_data(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i64 @write_bootmark(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/tmppbosetms.c' source_filename = "/tmp/tmppbosetms.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.4x:\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c" %.2x\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"dil24.bin\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"wb\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 [16384 x i8], align 16 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %6 = call i32 @ioperm(i32 noundef 992, i32 noundef 8, i32 noundef 1) %7 = call i32 @out_port(i32 noundef 0, i32 noundef 0) %8 = call i32 @out_port(i32 noundef 0, i32 noundef 1) %9 = call i32 @out_port(i32 noundef 0, i32 noundef 2) %10 = call i32 @out_port(i32 noundef 0, i32 noundef 6) %11 = call i32 @out_port(i32 noundef 4, i32 noundef 3) %12 = call i32 @wait_ticks(i32 noundef 100000) store i32 0, ptr %3, align 4 br label %13 13: ; preds = %41, %0 %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %14, 16384 br i1 %15, label %16, label %44 16: ; preds = %13 %17 = load i32, ptr %3, align 4 %18 = call i32 @out_addr(i32 noundef %17) %19 = call i32 @wait_ticks(i32 noundef 100) %20 = call i32 @inb(i32 noundef 996) store i32 %20, ptr %2, align 4 %21 = load i32, ptr %2, align 4 %22 = trunc i32 %21 to i8 %23 = load i32, ptr %3, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [16384 x i8], ptr %4, i64 0, i64 %24 store i8 %22, ptr %25, align 1 %26 = load i32, ptr %3, align 4 %27 = and i32 %26, 15 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %16 %30 = load i32, ptr %3, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %30) br label %32 32: ; preds = %29, %16 %33 = load i32, ptr %2, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %33) %35 = load i32, ptr %3, align 4 %36 = and i32 %35, 15 %37 = icmp eq i32 %36, 15 br i1 %37, label %38, label %40 38: ; preds = %32 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %40 40: ; preds = %38, %32 br label %41 41: ; preds = %40 %42 = load i32, ptr %3, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %3, align 4 br label %13, !llvm.loop !6 44: ; preds = %13 %45 = call i32 @out_port(i32 noundef 248, i32 noundef 2) %46 = call i32 @out_port(i32 noundef 0, i32 noundef 3) %47 = call i32 @out_port(i32 noundef 0, i32 noundef 6) %48 = call i32 @out_port(i32 noundef 0, i32 noundef 0) %49 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4) store ptr %49, ptr %5, align 8 %50 = getelementptr inbounds [16384 x i8], ptr %4, i64 0, i64 0 %51 = load ptr, ptr %5, align 8 %52 = call i32 @fwrite(ptr noundef %50, i32 noundef 1, i32 noundef 16384, ptr noundef %51) %53 = load ptr, ptr %5, align 8 %54 = call i32 @fclose(ptr noundef %53) ret i32 0 } declare i32 @ioperm(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @out_port(i32 noundef, i32 noundef) #1 declare i32 @wait_ticks(i32 noundef) #1 declare i32 @out_addr(i32 noundef) #1 declare i32 @inb(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppbosetms.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.4x:\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c" %.2x\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"dil24.bin\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"wb\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 [16384 x i8], align 16 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %6 = call i32 @ioperm(i32 noundef 992, i32 noundef 8, i32 noundef 1) %7 = call i32 @out_port(i32 noundef 0, i32 noundef 0) %8 = call i32 @out_port(i32 noundef 0, i32 noundef 1) %9 = call i32 @out_port(i32 noundef 0, i32 noundef 2) %10 = call i32 @out_port(i32 noundef 0, i32 noundef 6) %11 = call i32 @out_port(i32 noundef 4, i32 noundef 3) %12 = call i32 @wait_ticks(i32 noundef 100000) store i32 0, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %13, 16384 br i1 %14, label %.lr.ph, label %45 .lr.ph: ; preds = %0 br label %15 15: ; preds = %.lr.ph, %40 %16 = load i32, ptr %3, align 4 %17 = call i32 @out_addr(i32 noundef %16) %18 = call i32 @wait_ticks(i32 noundef 100) %19 = call i32 @inb(i32 noundef 996) store i32 %19, ptr %2, align 4 %20 = load i32, ptr %2, align 4 %21 = trunc i32 %20 to i8 %22 = load i32, ptr %3, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [16384 x i8], ptr %4, i64 0, i64 %23 store i8 %21, ptr %24, align 1 %25 = load i32, ptr %3, align 4 %26 = and i32 %25, 15 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %15 %29 = load i32, ptr %3, align 4 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %29) br label %31 31: ; preds = %28, %15 %32 = load i32, ptr %2, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %32) %34 = load i32, ptr %3, align 4 %35 = and i32 %34, 15 %36 = icmp eq i32 %35, 15 br i1 %36, label %37, label %39 37: ; preds = %31 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %39 39: ; preds = %37, %31 br label %40 40: ; preds = %39 %41 = load i32, ptr %3, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %3, align 4 %43 = load i32, ptr %3, align 4 %44 = icmp slt i32 %43, 16384 br i1 %44, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %45 45: ; preds = %._crit_edge, %0 %46 = call i32 @out_port(i32 noundef 248, i32 noundef 2) %47 = call i32 @out_port(i32 noundef 0, i32 noundef 3) %48 = call i32 @out_port(i32 noundef 0, i32 noundef 6) %49 = call i32 @out_port(i32 noundef 0, i32 noundef 0) %50 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4) store ptr %50, ptr %5, align 8 %51 = getelementptr inbounds [16384 x i8], ptr %4, i64 0, i64 0 %52 = load ptr, ptr %5, align 8 %53 = call i32 @fwrite(ptr noundef %51, i32 noundef 1, i32 noundef 16384, ptr noundef %52) %54 = load ptr, ptr %5, align 8 %55 = call i32 @fclose(ptr noundef %54) ret i32 0 } declare i32 @ioperm(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @out_port(i32 noundef, i32 noundef) #1 declare i32 @wait_ticks(i32 noundef) #1 declare i32 @out_addr(i32 noundef) #1 declare i32 @inb(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_lrh8wd_.c' source_filename = "/tmp/tmp_lrh8wd_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @user_exists(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 ptr @get_user(ptr noundef %5, ptr noundef %6) %8 = icmp eq ptr %7, null %9 = xor i1 %8, true %10 = zext i1 %9 to i32 ret i32 %10 } declare ptr @get_user(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/tmp_lrh8wd_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @user_exists(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 ptr @get_user(ptr noundef %5, ptr noundef %6) %8 = icmp eq ptr %7, null %9 = xor i1 %8, true %10 = zext i1 %9 to i32 ret i32 %10 } declare ptr @get_user(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/tmp06jtto5p.c' source_filename = "/tmp/tmp06jtto5p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AESym(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr %5, align 4 %13 = call i32 @GetInterval(ptr noundef %9, ptr noundef %10, ptr noundef %11, i32 noundef %12) %14 = load i32, ptr %9, align 4 %15 = load i32, ptr %10, align 4 %16 = load i32, ptr %7, align 4 %17 = load ptr, ptr %8, align 8 %18 = call i32 @arithmetic_encode(i32 noundef %14, i32 noundef %15, i32 noundef %16, ptr noundef %17) ret void } declare i32 @GetInterval(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @arithmetic_encode(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp06jtto5p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AESym(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr %5, align 4 %13 = call i32 @GetInterval(ptr noundef %9, ptr noundef %10, ptr noundef %11, i32 noundef %12) %14 = load i32, ptr %9, align 4 %15 = load i32, ptr %10, align 4 %16 = load i32, ptr %7, align 4 %17 = load ptr, ptr %8, align 8 %18 = call i32 @arithmetic_encode(i32 noundef %14, i32 noundef %15, i32 noundef %16, ptr noundef %17) ret void } declare i32 @GetInterval(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @arithmetic_encode(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl53qe5cb.c' source_filename = "/tmp/tmpl53qe5cb.c" target datalayout = "e-m:e-p270: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/tmpl53qe5cb.c" target datalayout = "e-m:e-p270: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/tmpgp6e7co2.c' source_filename = "/tmp/tmpgp6e7co2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @init() %3 = call i32 (...) @vec_mult_ref() %4 = call i32 (...) @vec_mult() %5 = call i32 (...) @check() ret i32 0 } declare i32 @init(...) #1 declare i32 @vec_mult_ref(...) #1 declare i32 @vec_mult(...) #1 declare i32 @check(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgp6e7co2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @init() %3 = call i32 (...) @vec_mult_ref() %4 = call i32 (...) @vec_mult() %5 = call i32 (...) @check() ret i32 0 } declare i32 @init(...) #1 declare i32 @vec_mult_ref(...) #1 declare i32 @vec_mult(...) #1 declare i32 @check(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpiv0141n_.c' source_filename = "/tmp/tmpiv0141n_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiv0141n_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_ba5u7ej.c' source_filename = "/tmp/tmp_ba5u7ej.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Enter the no. of co-ordinates:\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"\0AEnter x(%d) ,y(%d) :\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"%lf %lf\00", align 1 @.str.4 = private unnamed_addr constant [36 x i8] c"\0AEnter the point for interpolation:\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.6 = private unnamed_addr constant [12 x i8] c"\0AY(%lf)=%lf\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 double, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2) store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store double 0.000000e+00, ptr %5, align 8 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 1 %16 = zext i32 %15 to i64 %17 = call ptr @llvm.stacksave() store ptr %17, ptr %6, align 8 %18 = alloca double, i64 %16, align 16 store i64 %16, ptr %7, align 8 %19 = load i32, ptr %2, align 4 %20 = add nsw i32 %19, 1 %21 = zext i32 %20 to i64 %22 = alloca double, i64 %21, align 16 store i64 %21, ptr %8, align 8 store i32 0, ptr %3, align 4 br label %23 23: ; preds = %38, %0 %24 = load i32, ptr %3, align 4 %25 = load i32, ptr %2, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %41 27: ; preds = %23 %28 = load i32, ptr %3, align 4 %29 = load i32, ptr %3, align 4 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %28, i32 noundef %29) %31 = load i32, ptr %3, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds double, ptr %18, i64 %32 %34 = load i32, ptr %3, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds double, ptr %22, i64 %35 %37 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %33, ptr noundef %36) br label %38 38: ; preds = %27 %39 = load i32, ptr %3, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %3, align 4 br label %23, !llvm.loop !6 41: ; preds = %23 store double 0.000000e+00, ptr %9, align 8 store double 1.000000e+00, ptr %10, align 8 store double 0.000000e+00, ptr %11, align 8 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %43 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %5) store i32 0, ptr %3, align 4 br label %44 44: ; preds = %92, %41 %45 = load i32, ptr %3, align 4 %46 = load i32, ptr %2, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %48, label %95 48: ; preds = %44 store double 1.000000e+00, ptr %10, align 8 store double 1.000000e+00, ptr %11, align 8 store i32 0, ptr %4, align 4 br label %49 49: ; preds = %78, %48 %50 = load i32, ptr %4, align 4 %51 = load i32, ptr %2, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %53, label %81 53: ; preds = %49 %54 = load i32, ptr %3, align 4 %55 = load i32, ptr %4, align 4 %56 = icmp ne i32 %54, %55 br i1 %56, label %57, label %77 57: ; preds = %53 %58 = load double, ptr %5, align 8 %59 = load i32, ptr %4, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds double, ptr %18, i64 %60 %62 = load double, ptr %61, align 8 %63 = fsub double %58, %62 %64 = load double, ptr %10, align 8 %65 = fmul double %64, %63 store double %65, ptr %10, align 8 %66 = load i32, ptr %3, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds double, ptr %18, i64 %67 %69 = load double, ptr %68, align 8 %70 = load i32, ptr %4, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds double, ptr %18, i64 %71 %73 = load double, ptr %72, align 8 %74 = fsub double %69, %73 %75 = load double, ptr %11, align 8 %76 = fmul double %75, %74 store double %76, ptr %11, align 8 br label %77 77: ; preds = %57, %53 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 br label %49, !llvm.loop !8 81: ; preds = %49 %82 = load i32, ptr %3, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds double, ptr %22, i64 %83 %85 = load double, ptr %84, align 8 %86 = load double, ptr %10, align 8 %87 = fmul double %85, %86 %88 = load double, ptr %11, align 8 %89 = fdiv double %87, %88 %90 = load double, ptr %9, align 8 %91 = fadd double %90, %89 store double %91, ptr %9, align 8 br label %92 92: ; preds = %81 %93 = load i32, ptr %3, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %3, align 4 br label %44, !llvm.loop !9 95: ; preds = %44 %96 = load double, ptr %5, align 8 %97 = load double, ptr %9, align 8 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %96, double noundef %97) store i32 0, ptr %1, align 4 %99 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %99) %100 = load i32, ptr %1, align 4 ret i32 %100 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_ba5u7ej.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Enter the no. of co-ordinates:\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"\0AEnter x(%d) ,y(%d) :\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"%lf %lf\00", align 1 @.str.4 = private unnamed_addr constant [36 x i8] c"\0AEnter the point for interpolation:\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.6 = private unnamed_addr constant [12 x i8] c"\0AY(%lf)=%lf\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 double, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2) store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store double 0.000000e+00, ptr %5, align 8 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 1 %16 = zext i32 %15 to i64 %17 = call ptr @llvm.stacksave() store ptr %17, ptr %6, align 8 %18 = alloca double, i64 %16, align 16 store i64 %16, ptr %7, align 8 %19 = load i32, ptr %2, align 4 %20 = add nsw i32 %19, 1 %21 = zext i32 %20 to i64 %22 = alloca double, i64 %21, align 16 store i64 %21, ptr %8, align 8 store i32 0, ptr %3, align 4 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %.lr.ph, label %43 .lr.ph: ; preds = %0 br label %26 26: ; preds = %.lr.ph, %37 %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %3, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %27, i32 noundef %28) %30 = load i32, ptr %3, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds double, ptr %18, i64 %31 %33 = load i32, ptr %3, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds double, ptr %22, i64 %34 %36 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %32, ptr noundef %35) br label %37 37: ; preds = %26 %38 = load i32, ptr %3, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %3, align 4 %40 = load i32, ptr %3, align 4 %41 = load i32, ptr %2, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %43 43: ; preds = %._crit_edge, %0 store double 0.000000e+00, ptr %9, align 8 store double 1.000000e+00, ptr %10, align 8 store double 0.000000e+00, ptr %11, align 8 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %45 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %5) store i32 0, ptr %3, align 4 %46 = load i32, ptr %3, align 4 %47 = load i32, ptr %2, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %.lr.ph5, label %101 .lr.ph5: ; preds = %43 br label %49 49: ; preds = %.lr.ph5, %95 store double 1.000000e+00, ptr %10, align 8 store double 1.000000e+00, ptr %11, align 8 store i32 0, ptr %4, align 4 %50 = load i32, ptr %4, align 4 %51 = load i32, ptr %2, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %.lr.ph2, label %84 .lr.ph2: ; preds = %49 br label %53 53: ; preds = %.lr.ph2, %78 %54 = load i32, ptr %3, align 4 %55 = load i32, ptr %4, align 4 %56 = icmp ne i32 %54, %55 br i1 %56, label %57, label %77 57: ; preds = %53 %58 = load double, ptr %5, align 8 %59 = load i32, ptr %4, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds double, ptr %18, i64 %60 %62 = load double, ptr %61, align 8 %63 = fsub double %58, %62 %64 = load double, ptr %10, align 8 %65 = fmul double %64, %63 store double %65, ptr %10, align 8 %66 = load i32, ptr %3, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds double, ptr %18, i64 %67 %69 = load double, ptr %68, align 8 %70 = load i32, ptr %4, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds double, ptr %18, i64 %71 %73 = load double, ptr %72, align 8 %74 = fsub double %69, %73 %75 = load double, ptr %11, align 8 %76 = fmul double %75, %74 store double %76, ptr %11, align 8 br label %77 77: ; preds = %57, %53 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 %2, align 4 %83 = icmp slt i32 %81, %82 br i1 %83, label %53, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %78 br label %84 84: ; preds = %._crit_edge3, %49 %85 = load i32, ptr %3, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds double, ptr %22, i64 %86 %88 = load double, ptr %87, align 8 %89 = load double, ptr %10, align 8 %90 = fmul double %88, %89 %91 = load double, ptr %11, align 8 %92 = fdiv double %90, %91 %93 = load double, ptr %9, align 8 %94 = fadd double %93, %92 store double %94, ptr %9, align 8 br label %95 95: ; preds = %84 %96 = load i32, ptr %3, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %3, align 4 %98 = load i32, ptr %3, align 4 %99 = load i32, ptr %2, align 4 %100 = icmp slt i32 %98, %99 br i1 %100, label %49, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %95 br label %101 101: ; preds = %._crit_edge6, %43 %102 = load double, ptr %5, align 8 %103 = load double, ptr %9, align 8 %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %102, double noundef %103) store i32 0, ptr %1, align 4 %105 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %105) %106 = load i32, ptr %1, align 4 ret i32 %106 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp171qxz8n.c' source_filename = "/tmp/tmp171qxz8n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"/sys/devices/platform/brtablet/operation\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @driver_set_operation(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [50 x i8], align 16 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %11 = load i32, ptr @O_RDWR, align 4 %12 = call i32 @open(ptr noundef @.str, i32 noundef %11) store i32 %12, ptr %8, align 4 %13 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %7, align 4 %16 = call i32 @sprintf(ptr noundef %13, ptr noundef @.str.1, i32 noundef %14, i32 noundef %15) store i32 %16, ptr %10, align 4 %17 = load i32, ptr %8, align 4 %18 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0 %19 = load i32, ptr %10, align 4 %20 = call i32 @write(i32 noundef %17, ptr noundef %18, i32 noundef %19) %21 = load i32, ptr %8, align 4 %22 = call i32 @fsync(i32 noundef %21) %23 = load i32, ptr %8, align 4 %24 = call i32 @close(i32 noundef %23) %25 = load i32, ptr %4, align 4 ret i32 %25 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fsync(i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp171qxz8n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"/sys/devices/platform/brtablet/operation\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @driver_set_operation(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [50 x i8], align 16 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %11 = load i32, ptr @O_RDWR, align 4 %12 = call i32 @open(ptr noundef @.str, i32 noundef %11) store i32 %12, ptr %8, align 4 %13 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %7, align 4 %16 = call i32 @sprintf(ptr noundef %13, ptr noundef @.str.1, i32 noundef %14, i32 noundef %15) store i32 %16, ptr %10, align 4 %17 = load i32, ptr %8, align 4 %18 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0 %19 = load i32, ptr %10, align 4 %20 = call i32 @write(i32 noundef %17, ptr noundef %18, i32 noundef %19) %21 = load i32, ptr %8, align 4 %22 = call i32 @fsync(i32 noundef %21) %23 = load i32, ptr %8, align 4 %24 = call i32 @close(i32 noundef %23) %25 = load i32, ptr %4, align 4 ret i32 %25 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fsync(i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg_hwwx0y.c' source_filename = "/tmp/tmpg_hwwx0y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Enter total elements: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"Enter %d elements: \00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"After sorting: \00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [20 x i32], align 16 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %9 = load i32, ptr %4, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9) store i32 0, ptr %2, align 4 br label %11 11: ; preds = %20, %0 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %23 15: ; preds = %11 %16 = load i32, ptr %2, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 %17 %19 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %18) br label %20 20: ; preds = %15 %21 = load i32, ptr %2, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %2, align 4 br label %11, !llvm.loop !6 23: ; preds = %11 store i32 1, ptr %2, align 4 br label %24 24: ; preds = %64, %23 %25 = load i32, ptr %2, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %67 28: ; preds = %24 %29 = load i32, ptr %2, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 %30 %32 = load i32, ptr %31, align 4 store i32 %32, ptr %5, align 4 %33 = load i32, ptr %2, align 4 %34 = sub nsw i32 %33, 1 store i32 %34, ptr %3, align 4 br label %35 35: ; preds = %47, %28 %36 = load i32, ptr %5, align 4 %37 = load i32, ptr %3, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 %38 %40 = load i32, ptr %39, align 4 %41 = icmp slt i32 %36, %40 br i1 %41, label %42, label %45 42: ; preds = %35 %43 = load i32, ptr %3, align 4 %44 = icmp sge i32 %43, 0 br label %45 45: ; preds = %42, %35 %46 = phi i1 [ false, %35 ], [ %44, %42 ] br i1 %46, label %47, label %58 47: ; preds = %45 %48 = load i32, ptr %3, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 %49 %51 = load i32, ptr %50, align 4 %52 = load i32, ptr %3, align 4 %53 = add nsw i32 %52, 1 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 %54 store i32 %51, ptr %55, align 4 %56 = load i32, ptr %3, align 4 %57 = sub nsw i32 %56, 1 store i32 %57, ptr %3, align 4 br label %35, !llvm.loop !8 58: ; preds = %45 %59 = load i32, ptr %5, align 4 %60 = load i32, ptr %3, align 4 %61 = add nsw i32 %60, 1 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 %62 store i32 %59, ptr %63, align 4 br label %64 64: ; preds = %58 %65 = load i32, ptr %2, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %2, align 4 br label %24, !llvm.loop !9 67: ; preds = %24 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %2, align 4 br label %69 69: ; preds = %79, %67 %70 = load i32, ptr %2, align 4 %71 = load i32, ptr %4, align 4 %72 = icmp slt i32 %70, %71 br i1 %72, label %73, label %82 73: ; preds = %69 %74 = load i32, ptr %2, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 %75 %77 = load i32, ptr %76, align 4 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %77) br label %79 79: ; preds = %73 %80 = load i32, ptr %2, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %2, align 4 br label %69, !llvm.loop !10 82: ; preds = %69 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg_hwwx0y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Enter total elements: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"Enter %d elements: \00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"After sorting: \00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [20 x i32], align 16 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %9 = load i32, ptr %4, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9) store i32 0, ptr %2, align 4 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %25 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %19 %15 = load i32, ptr %2, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 %16 %18 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %17) br label %19 19: ; preds = %14 %20 = load i32, ptr %2, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %2, align 4 %22 = load i32, ptr %2, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %25 25: ; preds = %._crit_edge, %0 store i32 1, ptr %2, align 4 %26 = load i32, ptr %2, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %.lr.ph2, label %71 .lr.ph2: ; preds = %25 br label %29 29: ; preds = %.lr.ph2, %65 %30 = load i32, ptr %2, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 %31 %33 = load i32, ptr %32, align 4 store i32 %33, ptr %5, align 4 %34 = load i32, ptr %2, align 4 %35 = sub nsw i32 %34, 1 store i32 %35, ptr %3, align 4 br label %36 36: ; preds = %48, %29 %37 = load i32, ptr %5, align 4 %38 = load i32, ptr %3, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 %39 %41 = load i32, ptr %40, align 4 %42 = icmp slt i32 %37, %41 br i1 %42, label %43, label %46 43: ; preds = %36 %44 = load i32, ptr %3, align 4 %45 = icmp sge i32 %44, 0 br label %46 46: ; preds = %43, %36 %47 = phi i1 [ false, %36 ], [ %45, %43 ] br i1 %47, label %48, label %59 48: ; preds = %46 %49 = load i32, ptr %3, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 %50 %52 = load i32, ptr %51, align 4 %53 = load i32, ptr %3, align 4 %54 = add nsw i32 %53, 1 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 %55 store i32 %52, ptr %56, align 4 %57 = load i32, ptr %3, align 4 %58 = sub nsw i32 %57, 1 store i32 %58, ptr %3, align 4 br label %36, !llvm.loop !8 59: ; preds = %46 %60 = load i32, ptr %5, align 4 %61 = load i32, ptr %3, align 4 %62 = add nsw i32 %61, 1 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 %63 store i32 %60, ptr %64, align 4 br label %65 65: ; preds = %59 %66 = load i32, ptr %2, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %2, align 4 %68 = load i32, ptr %2, align 4 %69 = load i32, ptr %4, align 4 %70 = icmp slt i32 %68, %69 br i1 %70, label %29, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %65 br label %71 71: ; preds = %._crit_edge3, %25 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %2, align 4 %73 = load i32, ptr %2, align 4 %74 = load i32, ptr %4, align 4 %75 = icmp slt i32 %73, %74 br i1 %75, label %.lr.ph5, label %88 .lr.ph5: ; preds = %71 br label %76 76: ; preds = %.lr.ph5, %82 %77 = load i32, ptr %2, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 %78 %80 = load i32, ptr %79, align 4 %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %80) br label %82 82: ; preds = %76 %83 = load i32, ptr %2, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %2, align 4 %85 = load i32, ptr %2, align 4 %86 = load i32, ptr %4, align 4 %87 = icmp slt i32 %85, %86 br i1 %87, label %76, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %82 br label %88 88: ; preds = %._crit_edge6, %71 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp292y91fd.c' source_filename = "/tmp/tmp292y91fd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [92 x i8] c"; OFF 7 units\0Astr r1, [r0, #28]\0Aldr r2, =%s\0Await%i:\0Asub r2, r2, #0x1\0Acmp r2, #0\0Abge wait%i\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"0x700000\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"fprintf error in encode7Spaces\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @encode7Spaces(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 = load i32, ptr %4, align 4 %8 = call i32 @fprintf(ptr noundef %5, ptr noundef @.str, ptr noundef @.str.1, i32 noundef %6, i32 noundef %7) %9 = load ptr, ptr %3, align 8 %10 = call i64 @ferror(ptr noundef %9) %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %16 12: ; preds = %2 %13 = call i32 @perror(ptr noundef @.str.2) %14 = load i32, ptr @EXIT_FAILURE, align 4 %15 = call i32 @exit(i32 noundef %14) #3 unreachable 16: ; preds = %2 ret void } declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ferror(ptr 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/tmp292y91fd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [92 x i8] c"; OFF 7 units\0Astr r1, [r0, #28]\0Aldr r2, =%s\0Await%i:\0Asub r2, r2, #0x1\0Acmp r2, #0\0Abge wait%i\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"0x700000\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"fprintf error in encode7Spaces\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @encode7Spaces(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 = load i32, ptr %4, align 4 %8 = call i32 @fprintf(ptr noundef %5, ptr noundef @.str, ptr noundef @.str.1, i32 noundef %6, i32 noundef %7) %9 = load ptr, ptr %3, align 8 %10 = call i64 @ferror(ptr noundef %9) %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %16 12: ; preds = %2 %13 = call i32 @perror(ptr noundef @.str.2) %14 = load i32, ptr @EXIT_FAILURE, align 4 %15 = call i32 @exit(i32 noundef %14) #3 unreachable 16: ; preds = %2 ret void } declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ferror(ptr 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/tmp9jj3w57p.c' source_filename = "/tmp/tmp9jj3w57p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nanocalc_addons_release() #0 { %1 = call i32 (...) @release_arrays() ret void } declare i32 @release_arrays(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9jj3w57p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nanocalc_addons_release() #0 { %1 = call i32 (...) @release_arrays() ret void } declare i32 @release_arrays(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppvy09vyx.c' source_filename = "/tmp/tmppvy09vyx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) store i32 1, ptr %2, align 4 br label %5 5: ; preds = %10, %0 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp sle i32 %6, %7 br i1 %8, label %9, label %13 9: ; preds = %5 br label %10 10: ; preds = %9 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %2, align 4 br label %5, !llvm.loop !6 13: ; preds = %5 %14 = load i32, ptr %1, align 4 ret i32 %14 } declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppvy09vyx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) store i32 1, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp sle i32 %5, %6 br i1 %7, label %.lr.ph, label %15 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %9 br label %9 9: ; preds = %8 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp sle i32 %12, %13 br i1 %14, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %15 15: ; preds = %._crit_edge, %0 %16 = load i32, ptr %1, align 4 ret i32 %16 } declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpcof1jhaw.c' source_filename = "/tmp/tmpcof1jhaw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sqliterkOSFree(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/tmpcof1jhaw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sqliterkOSFree(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/tmph7c7m65_.c' source_filename = "/tmp/tmph7c7m65_.c" target datalayout = "e-m:e-p270: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.a = private unnamed_addr constant [3 x i32] [i32 1, i32 10, i32 100], align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x i32], align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.main.a, i64 12, i1 false) store i32 1000, ptr %3, align 4 %4 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0 %5 = call i32 @f(ptr noundef %4, ptr noundef %3, i32 noundef 3) %6 = load i32, ptr %3, align 4 %7 = icmp ne i32 %6, 1111 br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 (...) @abort() #4 unreachable 10: ; preds = %0 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @f(ptr noundef, ptr noundef, i32 noundef) #2 ; Function Attrs: noreturn declare i32 @abort(...) #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 = { 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" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph7c7m65_.c" target datalayout = "e-m:e-p270: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.a = private unnamed_addr constant [3 x i32] [i32 1, i32 10, i32 100], align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x i32], align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.main.a, i64 12, i1 false) store i32 1000, ptr %3, align 4 %4 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0 %5 = call i32 @f(ptr noundef %4, ptr noundef %3, i32 noundef 3) %6 = load i32, ptr %3, align 4 %7 = icmp ne i32 %6, 1111 br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 (...) @abort() #4 unreachable 10: ; preds = %0 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @f(ptr noundef, ptr noundef, i32 noundef) #2 ; Function Attrs: noreturn declare i32 @abort(...) #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 = { 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" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo24tu7qu.c' source_filename = "/tmp/tmpo24tu7qu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @state_run(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 @threads_wait(ptr noundef %3) ret void } declare i32 @threads_wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo24tu7qu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @state_run(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 @threads_wait(ptr noundef %3) ret void } declare i32 @threads_wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpugum12xq.c' source_filename = "/tmp/tmpugum12xq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @alloc_join(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call ptr @alloc_join_cstr(ptr noundef %7, ptr noundef @.str, ptr noundef %8, i64 noundef %9) ret ptr %10 } declare ptr @alloc_join_cstr(ptr noundef, ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpugum12xq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @alloc_join(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call ptr @alloc_join_cstr(ptr noundef %7, ptr noundef @.str, ptr noundef %8, i64 noundef %9) ret ptr %10 } declare ptr @alloc_join_cstr(ptr noundef, ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3xlzqdys.c' source_filename = "/tmp/tmp3xlzqdys.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetCoefficient(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca double, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store double 0.000000e+00, ptr %12, align 8 store double 0.000000e+00, ptr %13, align 8 store double 0.000000e+00, ptr %14, align 8 %17 = load i32, ptr %11, align 4 %18 = load i32, ptr %9, align 4 %19 = icmp uge i32 %17, %18 br i1 %19, label %20, label %21 20: ; preds = %5 store double 0.000000e+00, ptr %6, align 8 br label %87 21: ; preds = %5 %22 = load i32, ptr %9, align 4 %23 = load i32, ptr %11, align 4 %24 = call double @NormalizationFactor(i32 noundef %22, i32 noundef %23) store double %24, ptr %12, align 8 store i32 1, ptr %16, align 4 br label %25 25: ; preds = %79, %21 %26 = load i32, ptr %16, align 4 %27 = load i32, ptr %9, align 4 %28 = icmp ule i32 %26, %27 br i1 %28, label %29, label %82 29: ; preds = %25 store double 0.000000e+00, ptr %14, align 8 store i32 0, ptr %15, align 4 br label %30 30: ; preds = %51, %29 %31 = load i32, ptr %15, align 4 %32 = load i32, ptr %10, align 4 %33 = sub i32 %32, 1 %34 = icmp ult i32 %31, %33 br i1 %34, label %35, label %54 35: ; preds = %30 %36 = load ptr, ptr %7, align 8 %37 = load i32, ptr %15, align 4 %38 = zext i32 %37 to i64 %39 = getelementptr inbounds double, ptr %36, i64 %38 %40 = load double, ptr %39, align 8 %41 = load i32, ptr %8, align 4 %42 = load i32, ptr %10, align 4 %43 = load i32, ptr %15, align 4 %44 = load i32, ptr %16, align 4 %45 = call double @GetFilterParameter(i32 noundef %41, i32 noundef %42, i32 noundef %43, i32 noundef %44) %46 = fmul double %40, %45 %47 = call i64 @fabs(double noundef %46) %48 = sitofp i64 %47 to double %49 = load double, ptr %14, align 8 %50 = fadd double %49, %48 store double %50, ptr %14, align 8 br label %51 51: ; preds = %35 %52 = load i32, ptr %15, align 4 %53 = add i32 %52, 1 store i32 %53, ptr %15, align 4 br label %30, !llvm.loop !6 54: ; preds = %30 %55 = load double, ptr %14, align 8 %56 = fcmp ogt double %55, 0.000000e+00 br i1 %56, label %57, label %60 57: ; preds = %54 %58 = load double, ptr %14, align 8 %59 = call double @log(double noundef %58) #3 store double %59, ptr %14, align 8 br label %60 60: ; preds = %57, %54 %61 = load double, ptr %14, align 8 %62 = load i32, ptr %11, align 4 %63 = uitofp i32 %62 to double %64 = fmul double %63, 0x400921FB54442D18 %65 = load i32, ptr %9, align 4 %66 = uitofp i32 %65 to double %67 = fdiv double %64, %66 %68 = load i32, ptr %16, align 4 %69 = uitofp i32 %68 to float %70 = fsub float %69, 5.000000e-01 %71 = fpext float %70 to double %72 = fmul double %67, %71 %73 = fptoui double %72 to i32 %74 = call double @cos(i32 noundef %73) %75 = fmul double %61, %74 store double %75, ptr %14, align 8 %76 = load double, ptr %14, align 8 %77 = load double, ptr %13, align 8 %78 = fadd double %77, %76 store double %78, ptr %13, align 8 br label %79 79: ; preds = %60 %80 = load i32, ptr %16, align 4 %81 = add i32 %80, 1 store i32 %81, ptr %16, align 4 br label %25, !llvm.loop !8 82: ; preds = %25 %83 = load double, ptr %13, align 8 %84 = load double, ptr %12, align 8 %85 = fmul double %84, %83 store double %85, ptr %12, align 8 %86 = load double, ptr %12, align 8 store double %86, ptr %6, align 8 br label %87 87: ; preds = %82, %20 %88 = load double, ptr %6, align 8 ret double %88 } declare double @NormalizationFactor(i32 noundef, i32 noundef) #1 declare i64 @fabs(double noundef) #1 declare double @GetFilterParameter(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nounwind declare double @log(double noundef) #2 declare double @cos(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3xlzqdys.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetCoefficient(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca double, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store double 0.000000e+00, ptr %12, align 8 store double 0.000000e+00, ptr %13, align 8 store double 0.000000e+00, ptr %14, align 8 %17 = load i32, ptr %11, align 4 %18 = load i32, ptr %9, align 4 %19 = icmp uge i32 %17, %18 br i1 %19, label %20, label %21 20: ; preds = %5 store double 0.000000e+00, ptr %6, align 8 br label %92 21: ; preds = %5 %22 = load i32, ptr %9, align 4 %23 = load i32, ptr %11, align 4 %24 = call double @NormalizationFactor(i32 noundef %22, i32 noundef %23) store double %24, ptr %12, align 8 store i32 1, ptr %16, align 4 %25 = load i32, ptr %16, align 4 %26 = load i32, ptr %9, align 4 %27 = icmp ule i32 %25, %26 br i1 %27, label %.lr.ph2, label %87 .lr.ph2: ; preds = %21 br label %28 28: ; preds = %.lr.ph2, %81 store double 0.000000e+00, ptr %14, align 8 store i32 0, ptr %15, align 4 %29 = load i32, ptr %15, align 4 %30 = load i32, ptr %10, align 4 %31 = sub i32 %30, 1 %32 = icmp ult i32 %29, %31 br i1 %32, label %.lr.ph, label %56 .lr.ph: ; preds = %28 br label %33 33: ; preds = %.lr.ph, %49 %34 = load ptr, ptr %7, align 8 %35 = load i32, ptr %15, align 4 %36 = zext i32 %35 to i64 %37 = getelementptr inbounds double, ptr %34, i64 %36 %38 = load double, ptr %37, align 8 %39 = load i32, ptr %8, align 4 %40 = load i32, ptr %10, align 4 %41 = load i32, ptr %15, align 4 %42 = load i32, ptr %16, align 4 %43 = call double @GetFilterParameter(i32 noundef %39, i32 noundef %40, i32 noundef %41, i32 noundef %42) %44 = fmul double %38, %43 %45 = call i64 @fabs(double noundef %44) %46 = sitofp i64 %45 to double %47 = load double, ptr %14, align 8 %48 = fadd double %47, %46 store double %48, ptr %14, align 8 br label %49 49: ; preds = %33 %50 = load i32, ptr %15, align 4 %51 = add i32 %50, 1 store i32 %51, ptr %15, align 4 %52 = load i32, ptr %15, align 4 %53 = load i32, ptr %10, align 4 %54 = sub i32 %53, 1 %55 = icmp ult i32 %52, %54 br i1 %55, label %33, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %49 br label %56 56: ; preds = %._crit_edge, %28 %57 = load double, ptr %14, align 8 %58 = fcmp ogt double %57, 0.000000e+00 br i1 %58, label %59, label %62 59: ; preds = %56 %60 = load double, ptr %14, align 8 %61 = call double @log(double noundef %60) #3 store double %61, ptr %14, align 8 br label %62 62: ; preds = %59, %56 %63 = load double, ptr %14, align 8 %64 = load i32, ptr %11, align 4 %65 = uitofp i32 %64 to double %66 = fmul double %65, 0x400921FB54442D18 %67 = load i32, ptr %9, align 4 %68 = uitofp i32 %67 to double %69 = fdiv double %66, %68 %70 = load i32, ptr %16, align 4 %71 = uitofp i32 %70 to float %72 = fsub float %71, 5.000000e-01 %73 = fpext float %72 to double %74 = fmul double %69, %73 %75 = fptoui double %74 to i32 %76 = call double @cos(i32 noundef %75) %77 = fmul double %63, %76 store double %77, ptr %14, align 8 %78 = load double, ptr %14, align 8 %79 = load double, ptr %13, align 8 %80 = fadd double %79, %78 store double %80, ptr %13, align 8 br label %81 81: ; preds = %62 %82 = load i32, ptr %16, align 4 %83 = add i32 %82, 1 store i32 %83, ptr %16, align 4 %84 = load i32, ptr %16, align 4 %85 = load i32, ptr %9, align 4 %86 = icmp ule i32 %84, %85 br i1 %86, label %28, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %81 br label %87 87: ; preds = %._crit_edge3, %21 %88 = load double, ptr %13, align 8 %89 = load double, ptr %12, align 8 %90 = fmul double %89, %88 store double %90, ptr %12, align 8 %91 = load double, ptr %12, align 8 store double %91, ptr %6, align 8 br label %92 92: ; preds = %87, %20 %93 = load double, ptr %6, align 8 ret double %93 } declare double @NormalizationFactor(i32 noundef, i32 noundef) #1 declare i64 @fabs(double noundef) #1 declare double @GetFilterParameter(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nounwind declare double @log(double noundef) #2 declare double @cos(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp5q1c7kmn.c' source_filename = "/tmp/tmp5q1c7kmn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @DEBUG_TRACE = external global i32, align 4 @.str = private unnamed_addr constant [23 x i8] c"<Entering input_geom>\0A\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"No values found in geometry file `%s'\0A\00", align 1 @.str.2 = private unnamed_addr constant [53 x i8] c"Too many values on input line of geometry file `%s'\0A\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c" Maximum dimensionality is 3\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"%f%f\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"%f%f%f\00", align 1 @EOF = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [70 x i8] c"Too few lines of values in geometry file; nvtxs=%d, but only %d read\0A\00", align 1 @.str.8 = private unnamed_addr constant [57 x i8] c"Wrong number of values in line %d of geometry file `%s'\0A\00", align 1 @CHECK_INPUT = external global i32, align 4 @.str.9 = private unnamed_addr constant [47 x i8] c"Warning: possible error in geometry file `%s'\0A\00", align 1 @.str.10 = private unnamed_addr constant [50 x i8] c" Numerical data found after expected end of file\0A\00", align 1 @DEBUG_INPUT = external global i32, align 4 @.str.11 = private unnamed_addr constant [54 x i8] c"Finished reading geometry file `%s'; dimension = %d.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @input_geom(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store i32 %2, ptr %11, align 4 store ptr %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store i32 0, ptr %24, align 4 %25 = load i32, ptr @DEBUG_TRACE, align 4 %26 = icmp sgt i32 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %7 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %29 29: ; preds = %27, %7 %30 = load ptr, ptr %15, align 8 store ptr null, ptr %30, align 8 %31 = load ptr, ptr %14, align 8 store ptr null, ptr %31, align 8 %32 = load ptr, ptr %13, align 8 store ptr null, ptr %32, align 8 store i32 0, ptr %21, align 4 store i32 1, ptr %22, align 4 br label %33 33: ; preds = %36, %29 %34 = load i32, ptr %22, align 4 %35 = icmp eq i32 %34, 1 br i1 %35, label %36, label %42 36: ; preds = %33 %37 = load ptr, ptr %9, align 8 %38 = call double (ptr, ptr, ...) @read_val(ptr noundef %37, ptr noundef %22) %39 = fptrunc double %38 to float store float %39, ptr %16, align 4 %40 = load i32, ptr %21, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %21, align 4 br label %33, !llvm.loop !6 42: ; preds = %33 %43 = load i32, ptr %22, align 4 %44 = icmp eq i32 %43, -1 br i1 %44, label %45, label %50 45: ; preds = %42 %46 = load ptr, ptr %10, align 8 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %46) %48 = load ptr, ptr %9, align 8 %49 = call i32 @fclose(ptr noundef %48) store i32 1, ptr %8, align 4 br label %233 50: ; preds = %42 store i32 1, ptr %23, align 4 %51 = load ptr, ptr %9, align 8 %52 = call double (ptr, ptr, ...) @read_val(ptr noundef %51, ptr noundef %22) %53 = fptrunc double %52 to float store float %53, ptr %17, align 4 %54 = load i32, ptr %22, align 4 %55 = icmp eq i32 %54, 0 br i1 %55, label %56, label %75 56: ; preds = %50 store i32 2, ptr %23, align 4 %57 = load ptr, ptr %9, align 8 %58 = call double (ptr, ptr, ...) @read_val(ptr noundef %57, ptr noundef %22) %59 = fptrunc double %58 to float store float %59, ptr %18, align 4 %60 = load i32, ptr %22, align 4 %61 = icmp eq i32 %60, 0 br i1 %61, label %62, label %74 62: ; preds = %56 store i32 3, ptr %23, align 4 %63 = load ptr, ptr %9, align 8 %64 = call double (ptr, ptr, ...) @read_val(ptr noundef %63, ptr noundef %22) %65 = load i32, ptr %22, align 4 %66 = icmp ne i32 %65, 0 br i1 %66, label %73, label %67 67: ; preds = %62 %68 = load ptr, ptr %10, align 8 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %68) %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %71 = load ptr, ptr %9, align 8 %72 = call i32 @fclose(ptr noundef %71) store i32 1, ptr %8, align 4 br label %233 73: ; preds = %62 br label %74 74: ; preds = %73, %56 br label %75 75: ; preds = %74, %50 %76 = load i32, ptr %23, align 4 %77 = load ptr, ptr %12, align 8 store i32 %76, ptr %77, align 4 %78 = load i32, ptr %11, align 4 %79 = sext i32 %78 to i64 %80 = mul i64 %79, 4 %81 = trunc i64 %80 to i32 %82 = call ptr @smalloc(i32 noundef %81) %83 = load ptr, ptr %13, align 8 store ptr %82, ptr %83, align 8 %84 = load float, ptr %16, align 4 %85 = load ptr, ptr %13, align 8 %86 = load ptr, ptr %85, align 8 %87 = getelementptr inbounds float, ptr %86, i64 0 store float %84, ptr %87, align 4 %88 = load i32, ptr %23, align 4 %89 = icmp sgt i32 %88, 1 br i1 %89, label %90, label %101 90: ; preds = %75 %91 = load i32, ptr %11, align 4 %92 = sext i32 %91 to i64 %93 = mul i64 %92, 4 %94 = trunc i64 %93 to i32 %95 = call ptr @smalloc(i32 noundef %94) %96 = load ptr, ptr %14, align 8 store ptr %95, ptr %96, align 8 %97 = load float, ptr %17, align 4 %98 = load ptr, ptr %14, align 8 %99 = load ptr, ptr %98, align 8 %100 = getelementptr inbounds float, ptr %99, i64 0 store float %97, ptr %100, align 4 br label %101 101: ; preds = %90, %75 %102 = load i32, ptr %23, align 4 %103 = icmp sgt i32 %102, 2 br i1 %103, label %104, label %115 104: ; preds = %101 %105 = load i32, ptr %11, align 4 %106 = sext i32 %105 to i64 %107 = mul i64 %106, 4 %108 = trunc i64 %107 to i32 %109 = call ptr @smalloc(i32 noundef %108) %110 = load ptr, ptr %15, align 8 store ptr %109, ptr %110, align 8 %111 = load float, ptr %18, align 4 %112 = load ptr, ptr %15, align 8 %113 = load ptr, ptr %112, align 8 %114 = getelementptr inbounds float, ptr %113, i64 0 store float %111, ptr %114, align 4 br label %115 115: ; preds = %104, %101 store i32 1, ptr %19, align 4 br label %116 116: ; preds = %194, %115 %117 = load i32, ptr %19, align 4 %118 = load i32, ptr %11, align 4 %119 = icmp slt i32 %117, %118 br i1 %119, label %120, label %197 120: ; preds = %116 %121 = load i32, ptr %21, align 4 %122 = add nsw i32 %121, 1 store i32 %122, ptr %21, align 4 %123 = load i32, ptr %23, align 4 %124 = icmp eq i32 %123, 1 br i1 %124, label %125, label %133 125: ; preds = %120 %126 = load ptr, ptr %9, align 8 %127 = load ptr, ptr %13, align 8 %128 = load ptr, ptr %127, align 8 %129 = load i32, ptr %19, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds float, ptr %128, i64 %130 %132 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %126, ptr noundef @.str.4, ptr noundef %131) store i32 %132, ptr %24, align 4 br label %172 133: ; preds = %120 %134 = load i32, ptr %23, align 4 %135 = icmp eq i32 %134, 2 br i1 %135, label %136, label %149 136: ; preds = %133 %137 = load ptr, ptr %9, align 8 %138 = load ptr, ptr %13, align 8 %139 = load ptr, ptr %138, align 8 %140 = load i32, ptr %19, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds float, ptr %139, i64 %141 %143 = load ptr, ptr %14, align 8 %144 = load ptr, ptr %143, align 8 %145 = load i32, ptr %19, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds float, ptr %144, i64 %146 %148 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %137, ptr noundef @.str.5, ptr noundef %142, ptr noundef %147) store i32 %148, ptr %24, align 4 br label %171 149: ; preds = %133 %150 = load i32, ptr %23, align 4 %151 = icmp eq i32 %150, 3 br i1 %151, label %152, label %170 152: ; preds = %149 %153 = load ptr, ptr %9, align 8 %154 = load ptr, ptr %13, align 8 %155 = load ptr, ptr %154, align 8 %156 = load i32, ptr %19, align 4 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds float, ptr %155, i64 %157 %159 = load ptr, ptr %14, align 8 %160 = load ptr, ptr %159, align 8 %161 = load i32, ptr %19, align 4 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds float, ptr %160, i64 %162 %164 = load ptr, ptr %15, align 8 %165 = load ptr, ptr %164, align 8 %166 = load i32, ptr %19, align 4 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds float, ptr %165, i64 %167 %169 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %153, ptr noundef @.str.6, ptr noundef %158, ptr noundef %163, ptr noundef %168) store i32 %169, ptr %24, align 4 br label %170 170: ; preds = %152, %149 br label %171 171: ; preds = %170, %136 br label %172 172: ; preds = %171, %125 %173 = load i32, ptr %24, align 4 %174 = load i32, ptr @EOF, align 4 %175 = icmp eq i32 %173, %174 br i1 %175, label %176, label %183 176: ; preds = %172 %177 = load i32, ptr %11, align 4 %178 = load i32, ptr %19, align 4 %179 = add nsw i32 %178, 1 %180 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %177, i32 noundef %179) %181 = load ptr, ptr %9, align 8 %182 = call i32 @fclose(ptr noundef %181) store i32 1, ptr %8, align 4 br label %233 183: ; preds = %172 %184 = load i32, ptr %24, align 4 %185 = load i32, ptr %23, align 4 %186 = icmp ne i32 %184, %185 br i1 %186, label %187, label %193 187: ; preds = %183 %188 = load i32, ptr %21, align 4 %189 = load ptr, ptr %10, align 8 %190 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %188, ptr noundef %189) %191 = load ptr, ptr %9, align 8 %192 = call i32 @fclose(ptr noundef %191) store i32 1, ptr %8, align 4 br label %233 193: ; preds = %183 br label %194 194: ; preds = %193 %195 = load i32, ptr %19, align 4 %196 = add nsw i32 %195, 1 store i32 %196, ptr %19, align 4 br label %116, !llvm.loop !8 197: ; preds = %116 store i32 0, ptr %20, align 4 store i32 0, ptr %22, align 4 br label %198 198: ; preds = %212, %197 %199 = load i32, ptr %20, align 4 %200 = icmp ne i32 %199, 0 br i1 %200, label %204, label %201 201: ; preds = %198 %202 = load i32, ptr %22, align 4 %203 = icmp ne i32 %202, -1 br label %204 204: ; preds = %201, %198 %205 = phi i1 [ false, %198 ], [ %203, %201 ] br i1 %205, label %206, label %213 206: ; preds = %204 %207 = load ptr, ptr %9, align 8 %208 = call double (ptr, ptr, ...) @read_val(ptr noundef %207, ptr noundef %22) %209 = load i32, ptr %22, align 4 %210 = icmp ne i32 %209, 0 br i1 %210, label %212, label %211 211: ; preds = %206 store i32 1, ptr %20, align 4 br label %212 212: ; preds = %211, %206 br label %198, !llvm.loop !9 213: ; preds = %204 %214 = load i32, ptr %20, align 4 %215 = icmp ne i32 %214, 0 br i1 %215, label %216, label %223 216: ; preds = %213 %217 = load i32, ptr @CHECK_INPUT, align 4 %218 = icmp ne i32 %217, 0 br i1 %218, label %219, label %223 219: ; preds = %216 %220 = load ptr, ptr %10, align 8 %221 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %220) %222 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %223 223: ; preds = %219, %216, %213 %224 = load ptr, ptr %9, align 8 %225 = call i32 @fclose(ptr noundef %224) %226 = load i32, ptr @DEBUG_INPUT, align 4 %227 = icmp sgt i32 %226, 0 br i1 %227, label %228, label %232 228: ; preds = %223 %229 = load ptr, ptr %10, align 8 %230 = load i32, ptr %23, align 4 %231 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %229, i32 noundef %230) br label %232 232: ; preds = %228, %223 store i32 0, ptr %8, align 4 br label %233 233: ; preds = %232, %187, %176, %67, %45 %234 = load i32, ptr %8, align 4 ret i32 %234 } declare i32 @printf(ptr noundef, ...) #1 declare double @read_val(...) #1 declare i32 @fclose(ptr noundef) #1 declare ptr @smalloc(i32 noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5q1c7kmn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @DEBUG_TRACE = external global i32, align 4 @.str = private unnamed_addr constant [23 x i8] c"<Entering input_geom>\0A\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"No values found in geometry file `%s'\0A\00", align 1 @.str.2 = private unnamed_addr constant [53 x i8] c"Too many values on input line of geometry file `%s'\0A\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c" Maximum dimensionality is 3\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"%f%f\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"%f%f%f\00", align 1 @EOF = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [70 x i8] c"Too few lines of values in geometry file; nvtxs=%d, but only %d read\0A\00", align 1 @.str.8 = private unnamed_addr constant [57 x i8] c"Wrong number of values in line %d of geometry file `%s'\0A\00", align 1 @CHECK_INPUT = external global i32, align 4 @.str.9 = private unnamed_addr constant [47 x i8] c"Warning: possible error in geometry file `%s'\0A\00", align 1 @.str.10 = private unnamed_addr constant [50 x i8] c" Numerical data found after expected end of file\0A\00", align 1 @DEBUG_INPUT = external global i32, align 4 @.str.11 = private unnamed_addr constant [54 x i8] c"Finished reading geometry file `%s'; dimension = %d.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @input_geom(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store i32 %2, ptr %11, align 4 store ptr %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store i32 0, ptr %24, align 4 %25 = load i32, ptr @DEBUG_TRACE, align 4 %26 = icmp sgt i32 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %7 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %29 29: ; preds = %27, %7 %30 = load ptr, ptr %15, align 8 store ptr null, ptr %30, align 8 %31 = load ptr, ptr %14, align 8 store ptr null, ptr %31, align 8 %32 = load ptr, ptr %13, align 8 store ptr null, ptr %32, align 8 store i32 0, ptr %21, align 4 store i32 1, ptr %22, align 4 %33 = load i32, ptr %22, align 4 %34 = icmp eq i32 %33, 1 br i1 %34, label %.lr.ph, label %43 .lr.ph: ; preds = %29 br label %35 35: ; preds = %.lr.ph, %35 %36 = load ptr, ptr %9, align 8 %37 = call double (ptr, ptr, ...) @read_val(ptr noundef %36, ptr noundef %22) %38 = fptrunc double %37 to float store float %38, ptr %16, align 4 %39 = load i32, ptr %21, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %21, align 4 %41 = load i32, ptr %22, align 4 %42 = icmp eq i32 %41, 1 br i1 %42, label %35, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %43 43: ; preds = %._crit_edge, %29 %44 = load i32, ptr %22, align 4 %45 = icmp eq i32 %44, -1 br i1 %45, label %46, label %51 46: ; preds = %43 %47 = load ptr, ptr %10, align 8 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %47) %49 = load ptr, ptr %9, align 8 %50 = call i32 @fclose(ptr noundef %49) store i32 1, ptr %8, align 4 br label %236 51: ; preds = %43 store i32 1, ptr %23, align 4 %52 = load ptr, ptr %9, align 8 %53 = call double (ptr, ptr, ...) @read_val(ptr noundef %52, ptr noundef %22) %54 = fptrunc double %53 to float store float %54, ptr %17, align 4 %55 = load i32, ptr %22, align 4 %56 = icmp eq i32 %55, 0 br i1 %56, label %57, label %76 57: ; preds = %51 store i32 2, ptr %23, align 4 %58 = load ptr, ptr %9, align 8 %59 = call double (ptr, ptr, ...) @read_val(ptr noundef %58, ptr noundef %22) %60 = fptrunc double %59 to float store float %60, ptr %18, align 4 %61 = load i32, ptr %22, align 4 %62 = icmp eq i32 %61, 0 br i1 %62, label %63, label %75 63: ; preds = %57 store i32 3, ptr %23, align 4 %64 = load ptr, ptr %9, align 8 %65 = call double (ptr, ptr, ...) @read_val(ptr noundef %64, ptr noundef %22) %66 = load i32, ptr %22, align 4 %67 = icmp ne i32 %66, 0 br i1 %67, label %74, label %68 68: ; preds = %63 %69 = load ptr, ptr %10, align 8 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %69) %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %72 = load ptr, ptr %9, align 8 %73 = call i32 @fclose(ptr noundef %72) store i32 1, ptr %8, align 4 br label %236 74: ; preds = %63 br label %75 75: ; preds = %74, %57 br label %76 76: ; preds = %75, %51 %77 = load i32, ptr %23, align 4 %78 = load ptr, ptr %12, align 8 store i32 %77, ptr %78, align 4 %79 = load i32, ptr %11, align 4 %80 = sext i32 %79 to i64 %81 = mul i64 %80, 4 %82 = trunc i64 %81 to i32 %83 = call ptr @smalloc(i32 noundef %82) %84 = load ptr, ptr %13, align 8 store ptr %83, ptr %84, align 8 %85 = load float, ptr %16, align 4 %86 = load ptr, ptr %13, align 8 %87 = load ptr, ptr %86, align 8 %88 = getelementptr inbounds float, ptr %87, i64 0 store float %85, ptr %88, align 4 %89 = load i32, ptr %23, align 4 %90 = icmp sgt i32 %89, 1 br i1 %90, label %91, label %102 91: ; preds = %76 %92 = load i32, ptr %11, align 4 %93 = sext i32 %92 to i64 %94 = mul i64 %93, 4 %95 = trunc i64 %94 to i32 %96 = call ptr @smalloc(i32 noundef %95) %97 = load ptr, ptr %14, align 8 store ptr %96, ptr %97, align 8 %98 = load float, ptr %17, align 4 %99 = load ptr, ptr %14, align 8 %100 = load ptr, ptr %99, align 8 %101 = getelementptr inbounds float, ptr %100, i64 0 store float %98, ptr %101, align 4 br label %102 102: ; preds = %91, %76 %103 = load i32, ptr %23, align 4 %104 = icmp sgt i32 %103, 2 br i1 %104, label %105, label %116 105: ; preds = %102 %106 = load i32, ptr %11, align 4 %107 = sext i32 %106 to i64 %108 = mul i64 %107, 4 %109 = trunc i64 %108 to i32 %110 = call ptr @smalloc(i32 noundef %109) %111 = load ptr, ptr %15, align 8 store ptr %110, ptr %111, align 8 %112 = load float, ptr %18, align 4 %113 = load ptr, ptr %15, align 8 %114 = load ptr, ptr %113, align 8 %115 = getelementptr inbounds float, ptr %114, i64 0 store float %112, ptr %115, align 4 br label %116 116: ; preds = %105, %102 store i32 1, ptr %19, align 4 %117 = load i32, ptr %19, align 4 %118 = load i32, ptr %11, align 4 %119 = icmp slt i32 %117, %118 br i1 %119, label %.lr.ph2, label %200 .lr.ph2: ; preds = %116 br label %120 120: ; preds = %.lr.ph2, %194 %121 = load i32, ptr %21, align 4 %122 = add nsw i32 %121, 1 store i32 %122, ptr %21, align 4 %123 = load i32, ptr %23, align 4 %124 = icmp eq i32 %123, 1 br i1 %124, label %125, label %133 125: ; preds = %120 %126 = load ptr, ptr %9, align 8 %127 = load ptr, ptr %13, align 8 %128 = load ptr, ptr %127, align 8 %129 = load i32, ptr %19, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds float, ptr %128, i64 %130 %132 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %126, ptr noundef @.str.4, ptr noundef %131) store i32 %132, ptr %24, align 4 br label %172 133: ; preds = %120 %134 = load i32, ptr %23, align 4 %135 = icmp eq i32 %134, 2 br i1 %135, label %136, label %149 136: ; preds = %133 %137 = load ptr, ptr %9, align 8 %138 = load ptr, ptr %13, align 8 %139 = load ptr, ptr %138, align 8 %140 = load i32, ptr %19, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds float, ptr %139, i64 %141 %143 = load ptr, ptr %14, align 8 %144 = load ptr, ptr %143, align 8 %145 = load i32, ptr %19, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds float, ptr %144, i64 %146 %148 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %137, ptr noundef @.str.5, ptr noundef %142, ptr noundef %147) store i32 %148, ptr %24, align 4 br label %171 149: ; preds = %133 %150 = load i32, ptr %23, align 4 %151 = icmp eq i32 %150, 3 br i1 %151, label %152, label %170 152: ; preds = %149 %153 = load ptr, ptr %9, align 8 %154 = load ptr, ptr %13, align 8 %155 = load ptr, ptr %154, align 8 %156 = load i32, ptr %19, align 4 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds float, ptr %155, i64 %157 %159 = load ptr, ptr %14, align 8 %160 = load ptr, ptr %159, align 8 %161 = load i32, ptr %19, align 4 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds float, ptr %160, i64 %162 %164 = load ptr, ptr %15, align 8 %165 = load ptr, ptr %164, align 8 %166 = load i32, ptr %19, align 4 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds float, ptr %165, i64 %167 %169 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %153, ptr noundef @.str.6, ptr noundef %158, ptr noundef %163, ptr noundef %168) store i32 %169, ptr %24, align 4 br label %170 170: ; preds = %152, %149 br label %171 171: ; preds = %170, %136 br label %172 172: ; preds = %171, %125 %173 = load i32, ptr %24, align 4 %174 = load i32, ptr @EOF, align 4 %175 = icmp eq i32 %173, %174 br i1 %175, label %176, label %183 176: ; preds = %172 %177 = load i32, ptr %11, align 4 %178 = load i32, ptr %19, align 4 %179 = add nsw i32 %178, 1 %180 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %177, i32 noundef %179) %181 = load ptr, ptr %9, align 8 %182 = call i32 @fclose(ptr noundef %181) store i32 1, ptr %8, align 4 br label %236 183: ; preds = %172 %184 = load i32, ptr %24, align 4 %185 = load i32, ptr %23, align 4 %186 = icmp ne i32 %184, %185 br i1 %186, label %187, label %193 187: ; preds = %183 %188 = load i32, ptr %21, align 4 %189 = load ptr, ptr %10, align 8 %190 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %188, ptr noundef %189) %191 = load ptr, ptr %9, align 8 %192 = call i32 @fclose(ptr noundef %191) store i32 1, ptr %8, align 4 br label %236 193: ; preds = %183 br label %194 194: ; preds = %193 %195 = load i32, ptr %19, align 4 %196 = add nsw i32 %195, 1 store i32 %196, ptr %19, align 4 %197 = load i32, ptr %19, align 4 %198 = load i32, ptr %11, align 4 %199 = icmp slt i32 %197, %198 br i1 %199, label %120, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %194 br label %200 200: ; preds = %._crit_edge3, %116 store i32 0, ptr %20, align 4 store i32 0, ptr %22, align 4 br label %201 201: ; preds = %215, %200 %202 = load i32, ptr %20, align 4 %203 = icmp ne i32 %202, 0 br i1 %203, label %207, label %204 204: ; preds = %201 %205 = load i32, ptr %22, align 4 %206 = icmp ne i32 %205, -1 br label %207 207: ; preds = %204, %201 %208 = phi i1 [ false, %201 ], [ %206, %204 ] br i1 %208, label %209, label %216 209: ; preds = %207 %210 = load ptr, ptr %9, align 8 %211 = call double (ptr, ptr, ...) @read_val(ptr noundef %210, ptr noundef %22) %212 = load i32, ptr %22, align 4 %213 = icmp ne i32 %212, 0 br i1 %213, label %215, label %214 214: ; preds = %209 store i32 1, ptr %20, align 4 br label %215 215: ; preds = %214, %209 br label %201, !llvm.loop !9 216: ; preds = %207 %217 = load i32, ptr %20, align 4 %218 = icmp ne i32 %217, 0 br i1 %218, label %219, label %226 219: ; preds = %216 %220 = load i32, ptr @CHECK_INPUT, align 4 %221 = icmp ne i32 %220, 0 br i1 %221, label %222, label %226 222: ; preds = %219 %223 = load ptr, ptr %10, align 8 %224 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %223) %225 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %226 226: ; preds = %222, %219, %216 %227 = load ptr, ptr %9, align 8 %228 = call i32 @fclose(ptr noundef %227) %229 = load i32, ptr @DEBUG_INPUT, align 4 %230 = icmp sgt i32 %229, 0 br i1 %230, label %231, label %235 231: ; preds = %226 %232 = load ptr, ptr %10, align 8 %233 = load i32, ptr %23, align 4 %234 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %232, i32 noundef %233) br label %235 235: ; preds = %231, %226 store i32 0, ptr %8, align 4 br label %236 236: ; preds = %235, %187, %176, %68, %46 %237 = load i32, ptr %8, align 4 ret i32 %237 } declare i32 @printf(ptr noundef, ...) #1 declare double @read_val(...) #1 declare i32 @fclose(ptr noundef) #1 declare ptr @smalloc(i32 noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpxhpgnle4.c' source_filename = "/tmp/tmpxhpgnle4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @randn(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %4, align 4 %11 = call double @randu(ptr noundef %9, i32 noundef %10) store double %11, ptr %5, align 8 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %4, align 4 %14 = call double @randu(ptr noundef %12, i32 noundef %13) store double %14, ptr %6, align 8 %15 = call i32 @acos(i32 noundef -1) %16 = mul nsw i32 2, %15 %17 = sitofp i32 %16 to double %18 = load double, ptr %6, align 8 %19 = fmul double %17, %18 %20 = fptosi double %19 to i32 %21 = call double @cos(i32 noundef %20) store double %21, ptr %7, align 8 %22 = load double, ptr %5, align 8 %23 = call i32 @log(double noundef %22) %24 = mul nsw i32 -2, %23 %25 = sitofp i32 %24 to double store double %25, ptr %8, align 8 %26 = load double, ptr %8, align 8 %27 = call double @sqrt(double noundef %26) #3 %28 = load double, ptr %7, align 8 %29 = fmul double %27, %28 ret double %29 } declare double @randu(ptr noundef, i32 noundef) #1 declare double @cos(i32 noundef) #1 declare i32 @acos(i32 noundef) #1 declare i32 @log(double noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 = { 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/tmpxhpgnle4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @randn(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %4, align 4 %11 = call double @randu(ptr noundef %9, i32 noundef %10) store double %11, ptr %5, align 8 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %4, align 4 %14 = call double @randu(ptr noundef %12, i32 noundef %13) store double %14, ptr %6, align 8 %15 = call i32 @acos(i32 noundef -1) %16 = mul nsw i32 2, %15 %17 = sitofp i32 %16 to double %18 = load double, ptr %6, align 8 %19 = fmul double %17, %18 %20 = fptosi double %19 to i32 %21 = call double @cos(i32 noundef %20) store double %21, ptr %7, align 8 %22 = load double, ptr %5, align 8 %23 = call i32 @log(double noundef %22) %24 = mul nsw i32 -2, %23 %25 = sitofp i32 %24 to double store double %25, ptr %8, align 8 %26 = load double, ptr %8, align 8 %27 = call double @sqrt(double noundef %26) #3 %28 = load double, ptr %7, align 8 %29 = fmul double %27, %28 ret double %29 } declare double @randu(ptr noundef, i32 noundef) #1 declare double @cos(i32 noundef) #1 declare i32 @acos(i32 noundef) #1 declare i32 @log(double noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 = { 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/tmpxf7xfitp.c' source_filename = "/tmp/tmpxf7xfitp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"&lt;\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cplPrintCmdBegin(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp ne i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %9 7: ; preds = %1 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 60) br label %9 9: ; preds = %7, %5 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxf7xfitp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"&lt;\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cplPrintCmdBegin(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp ne i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %9 7: ; preds = %1 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 60) br label %9 9: ; preds = %7, %5 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmw6p6ga9.c' source_filename = "/tmp/tmpmw6p6ga9.c" target datalayout = "e-m:e-p270: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/tmpmw6p6ga9.c" target datalayout = "e-m:e-p270: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/tmpsvtyhcj_.c' source_filename = "/tmp/tmpsvtyhcj_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @rnd() #0 { %1 = call double (...) @rand() %2 = load double, ptr @RAND_MAX, align 8 %3 = fadd double %2, 1.000000e+00 %4 = fdiv double %1, %3 ret double %4 } declare double @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsvtyhcj_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @rnd() #0 { %1 = call double (...) @rand() %2 = load double, ptr @RAND_MAX, align 8 %3 = fadd double %2, 1.000000e+00 %4 = fdiv double %1, %3 ret double %4 } declare double @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnuow69p9.c' source_filename = "/tmp/tmpnuow69p9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Enter a new segment (0-7): \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @casanova() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 (...) @geti() store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = call i32 @syscall(i32 noundef 20, i32 noundef %4, i32 noundef 0, i32 noundef 0) ret i32 %5 } declare i32 @printf(ptr noundef) #1 declare i32 @geti(...) #1 declare i32 @syscall(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnuow69p9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Enter a new segment (0-7): \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @casanova() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 (...) @geti() store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = call i32 @syscall(i32 noundef 20, i32 noundef %4, i32 noundef 0, i32 noundef 0) ret i32 %5 } declare i32 @printf(ptr noundef) #1 declare i32 @geti(...) #1 declare i32 @syscall(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi30_u4ew.c' source_filename = "/tmp/tmpi30_u4ew.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hz_calloc(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %7 = load i64, ptr %4, align 8 %8 = load i64, ptr %5, align 8 %9 = call i32 @hz_check_size(i64 noundef %7, i64 noundef %8) %10 = load i64, ptr %4, align 8 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %2 store ptr null, ptr %3, align 8 br label %20 13: ; preds = %2 %14 = load i64, ptr %4, align 8 %15 = load i64, ptr %5, align 8 %16 = call ptr @calloc(i64 noundef %14, i64 noundef %15) #3 store ptr %16, ptr %6, align 8 %17 = load ptr, ptr %6, align 8 %18 = call i32 @hz_check_alloc(ptr noundef %17) %19 = load ptr, ptr %6, align 8 store ptr %19, ptr %3, align 8 br label %20 20: ; preds = %13, %12 %21 = load ptr, ptr %3, align 8 ret ptr %21 } declare i32 @hz_check_size(i64 noundef, i64 noundef) #1 ; Function Attrs: allocsize(0,1) declare ptr @calloc(i64 noundef, i64 noundef) #2 declare i32 @hz_check_alloc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { allocsize(0,1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0,1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi30_u4ew.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hz_calloc(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %7 = load i64, ptr %4, align 8 %8 = load i64, ptr %5, align 8 %9 = call i32 @hz_check_size(i64 noundef %7, i64 noundef %8) %10 = load i64, ptr %4, align 8 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %2 store ptr null, ptr %3, align 8 br label %20 13: ; preds = %2 %14 = load i64, ptr %4, align 8 %15 = load i64, ptr %5, align 8 %16 = call ptr @calloc(i64 noundef %14, i64 noundef %15) #3 store ptr %16, ptr %6, align 8 %17 = load ptr, ptr %6, align 8 %18 = call i32 @hz_check_alloc(ptr noundef %17) %19 = load ptr, ptr %6, align 8 store ptr %19, ptr %3, align 8 br label %20 20: ; preds = %13, %12 %21 = load ptr, ptr %3, align 8 ret ptr %21 } declare i32 @hz_check_size(i64 noundef, i64 noundef) #1 ; Function Attrs: allocsize(0,1) declare ptr @calloc(i64 noundef, i64 noundef) #2 declare i32 @hz_check_alloc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { allocsize(0,1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0,1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyzam2dkl.c' source_filename = "/tmp/tmpyzam2dkl.c" target datalayout = "e-m:e-p270: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.convolution.filter = private unnamed_addr constant [7 x i32] [i32 1, i32 0, i32 2, i32 0, i32 3, i32 4, i32 1], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @convolution(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca [7 x i32], align 16 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca i32, align 4 %30 = alloca i32, align 4 %31 = alloca i32, align 4 %32 = alloca i32, align 4 %33 = alloca i32, align 4 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %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 store volatile i32 1, ptr %15, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %18, ptr align 16 @__const.convolution.filter, i64 28, i1 false) %34 = load ptr, ptr %11, align 8 %35 = load volatile i32, ptr %34, align 4 store i32 %35, ptr %27, align 4 store i32 1, ptr %28, align 4 store i32 0, ptr %32, align 4 %36 = load ptr, ptr %9, align 8 store volatile i32 1, ptr %36, align 4 %37 = load ptr, ptr %10, align 8 %38 = load volatile i32, ptr %37, align 4 store volatile i32 %38, ptr %15, align 4 %39 = load volatile i32, ptr %15, align 4 %40 = icmp eq i32 %39, 1 br i1 %40, label %41, label %149 41: ; preds = %7 %42 = load ptr, ptr %8, align 8 %43 = getelementptr inbounds i32, ptr %42, i64 336330752 %44 = load volatile i32, ptr %43, align 4 store i32 %44, ptr %16, align 4 %45 = load i32, ptr %16, align 4 %46 = udiv i32 %45, 4 store i32 %46, ptr %16, align 4 %47 = load ptr, ptr %8, align 8 %48 = getelementptr inbounds i32, ptr %47, i64 336330753 %49 = load volatile i32, ptr %48, align 4 store i32 %49, ptr %17, align 4 %50 = load i32, ptr %17, align 4 %51 = udiv i32 %50, 4 store i32 %51, ptr %17, align 4 %52 = load ptr, ptr %8, align 8 %53 = getelementptr inbounds i32, ptr %52, i64 336331008 %54 = load volatile i32, ptr %53, align 4 store i32 %54, ptr %19, align 4 %55 = load ptr, ptr %8, align 8 %56 = getelementptr inbounds i32, ptr %55, i64 336331009 %57 = load volatile i32, ptr %56, align 4 store i32 %57, ptr %20, align 4 br label %58 58: ; preds = %147, %41 %59 = load i32, ptr %28, align 4 %60 = icmp eq i32 %59, 1 br i1 %60, label %61, label %148 61: ; preds = %58 %62 = load ptr, ptr %9, align 8 store volatile i32 1, ptr %62, align 4 %63 = load ptr, ptr %10, align 8 %64 = load volatile i32, ptr %63, align 4 store volatile i32 %64, ptr %15, align 4 %65 = load volatile i32, ptr %15, align 4 %66 = icmp eq i32 %65, 1 br i1 %66, label %67, label %147 67: ; preds = %61 %68 = load ptr, ptr %8, align 8 %69 = getelementptr inbounds i32, ptr %68, i64 813695042 %70 = load volatile i32, ptr %69, align 4 store i32 %70, ptr %33, align 4 %71 = load i32, ptr %33, align 4 %72 = icmp eq i32 %71, 1 br i1 %72, label %73, label %74 73: ; preds = %67 store i32 0, ptr %28, align 4 br label %146 74: ; preds = %67 store i32 0, ptr %29, align 4 store i32 1, ptr %28, align 4 %75 = load i32, ptr %27, align 4 %76 = load ptr, ptr %14, align 8 store volatile i32 %75, ptr %76, align 4 %77 = load ptr, ptr %8, align 8 %78 = getelementptr inbounds i32, ptr %77, i64 813695040 %79 = load volatile i32, ptr %78, align 4 store i32 %79, ptr %21, align 4 %80 = load ptr, ptr %8, align 8 %81 = getelementptr inbounds i32, ptr %80, i64 813695041 %82 = load volatile i32, ptr %81, align 4 store i32 %82, ptr %22, align 4 br label %83 83: ; preds = %135, %74 %84 = load i32, ptr %29, align 4 %85 = icmp eq i32 %84, 0 br i1 %85, label %86, label %145 86: ; preds = %83 %87 = load ptr, ptr %12, align 8 %88 = load volatile i32, ptr %87, align 4 store i32 %88, ptr %23, align 4 %89 = load ptr, ptr %13, align 8 %90 = load volatile i32, ptr %89, align 4 store i32 %90, ptr %24, align 4 %91 = load i32, ptr %23, align 4 %92 = icmp eq i32 %91, -1 br i1 %92, label %93, label %94 93: ; preds = %86 store i32 1, ptr %29, align 4 br label %135 94: ; preds = %86 store i32 0, ptr %29, align 4 %95 = load i32, ptr %27, align 4 %96 = load ptr, ptr %14, align 8 store volatile i32 %95, ptr %96, align 4 %97 = load i32, ptr %21, align 4 %98 = load i32, ptr %22, align 4 %99 = load i32, ptr %23, align 4 %100 = load i32, ptr %24, align 4 %101 = load i32, ptr %19, align 4 %102 = load i32, ptr %20, align 4 %103 = call i32 @getGlobalID(i32 noundef 0, i32 noundef %97, i32 noundef %98, i32 noundef %99, i32 noundef %100, i32 noundef %101, i32 noundef %102) store i32 %103, ptr %25, align 4 %104 = load i32, ptr %21, align 4 %105 = load i32, ptr %22, align 4 %106 = load i32, ptr %23, align 4 %107 = load i32, ptr %24, align 4 %108 = load i32, ptr %19, align 4 %109 = load i32, ptr %20, align 4 %110 = call i32 @getGlobalID(i32 noundef 1, i32 noundef %104, i32 noundef %105, i32 noundef %106, i32 noundef %107, i32 noundef %108, i32 noundef %109) store i32 %110, ptr %26, align 4 store i32 0, ptr %32, align 4 store i32 0, ptr %31, align 4 br label %111 111: ; preds = %131, %94 %112 = load i32, ptr %31, align 4 %113 = icmp slt i32 %112, 7 br i1 %113, label %114, label %134 114: ; preds = %111 %115 = load ptr, ptr %8, align 8 %116 = load i32, ptr %16, align 4 %117 = load i32, ptr %25, align 4 %118 = add i32 %116, %117 %119 = load i32, ptr %31, align 4 %120 = add i32 %118, %119 %121 = zext i32 %120 to i64 %122 = getelementptr inbounds i32, ptr %115, i64 %121 %123 = load volatile i32, ptr %122, align 4 %124 = load i32, ptr %31, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds [7 x i32], ptr %18, i64 0, i64 %125 %127 = load i32, ptr %126, align 4 %128 = mul nsw i32 %123, %127 %129 = load i32, ptr %32, align 4 %130 = add nsw i32 %129, %128 store i32 %130, ptr %32, align 4 br label %131 131: ; preds = %114 %132 = load i32, ptr %31, align 4 %133 = add nsw i32 %132, 1 store i32 %133, ptr %31, align 4 br label %111, !llvm.loop !6 134: ; preds = %111 br label %135 135: ; preds = %134, %93 %136 = load i32, ptr %32, align 4 %137 = load ptr, ptr %8, align 8 %138 = load i32, ptr %17, align 4 %139 = load i32, ptr %31, align 4 %140 = add i32 %138, %139 %141 = load i32, ptr %26, align 4 %142 = add i32 %140, %141 %143 = zext i32 %142 to i64 %144 = getelementptr inbounds i32, ptr %137, i64 %143 store volatile i32 %136, ptr %144, align 4 br label %83, !llvm.loop !8 145: ; preds = %83 br label %146 146: ; preds = %145, %73 br label %147 147: ; preds = %146, %61 br label %58, !llvm.loop !9 148: ; preds = %58 br label %149 149: ; preds = %148, %7 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @getGlobalID(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyzam2dkl.c" target datalayout = "e-m:e-p270: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.convolution.filter = private unnamed_addr constant [7 x i32] [i32 1, i32 0, i32 2, i32 0, i32 3, i32 4, i32 1], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @convolution(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca [7 x i32], align 16 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca i32, align 4 %30 = alloca i32, align 4 %31 = alloca i32, align 4 %32 = alloca i32, align 4 %33 = alloca i32, align 4 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %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 store volatile i32 1, ptr %15, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %18, ptr align 16 @__const.convolution.filter, i64 28, i1 false) %34 = load ptr, ptr %11, align 8 %35 = load volatile i32, ptr %34, align 4 store i32 %35, ptr %27, align 4 store i32 1, ptr %28, align 4 store i32 0, ptr %32, align 4 %36 = load ptr, ptr %9, align 8 store volatile i32 1, ptr %36, align 4 %37 = load ptr, ptr %10, align 8 %38 = load volatile i32, ptr %37, align 4 store volatile i32 %38, ptr %15, align 4 %39 = load volatile i32, ptr %15, align 4 %40 = icmp eq i32 %39, 1 br i1 %40, label %41, label %152 41: ; preds = %7 %42 = load ptr, ptr %8, align 8 %43 = getelementptr inbounds i32, ptr %42, i64 336330752 %44 = load volatile i32, ptr %43, align 4 store i32 %44, ptr %16, align 4 %45 = load i32, ptr %16, align 4 %46 = udiv i32 %45, 4 store i32 %46, ptr %16, align 4 %47 = load ptr, ptr %8, align 8 %48 = getelementptr inbounds i32, ptr %47, i64 336330753 %49 = load volatile i32, ptr %48, align 4 store i32 %49, ptr %17, align 4 %50 = load i32, ptr %17, align 4 %51 = udiv i32 %50, 4 store i32 %51, ptr %17, align 4 %52 = load ptr, ptr %8, align 8 %53 = getelementptr inbounds i32, ptr %52, i64 336331008 %54 = load volatile i32, ptr %53, align 4 store i32 %54, ptr %19, align 4 %55 = load ptr, ptr %8, align 8 %56 = getelementptr inbounds i32, ptr %55, i64 336331009 %57 = load volatile i32, ptr %56, align 4 store i32 %57, ptr %20, align 4 %58 = load i32, ptr %28, align 4 %59 = icmp eq i32 %58, 1 br i1 %59, label %.lr.ph5, label %151 .lr.ph5: ; preds = %41 br label %60 60: ; preds = %.lr.ph5, %148 %61 = load ptr, ptr %9, align 8 store volatile i32 1, ptr %61, align 4 %62 = load ptr, ptr %10, align 8 %63 = load volatile i32, ptr %62, align 4 store volatile i32 %63, ptr %15, align 4 %64 = load volatile i32, ptr %15, align 4 %65 = icmp eq i32 %64, 1 br i1 %65, label %66, label %148 66: ; preds = %60 %67 = load ptr, ptr %8, align 8 %68 = getelementptr inbounds i32, ptr %67, i64 813695042 %69 = load volatile i32, ptr %68, align 4 store i32 %69, ptr %33, align 4 %70 = load i32, ptr %33, align 4 %71 = icmp eq i32 %70, 1 br i1 %71, label %72, label %73 72: ; preds = %66 store i32 0, ptr %28, align 4 br label %147 73: ; preds = %66 store i32 0, ptr %29, align 4 store i32 1, ptr %28, align 4 %74 = load i32, ptr %27, align 4 %75 = load ptr, ptr %14, align 8 store volatile i32 %74, ptr %75, align 4 %76 = load ptr, ptr %8, align 8 %77 = getelementptr inbounds i32, ptr %76, i64 813695040 %78 = load volatile i32, ptr %77, align 4 store i32 %78, ptr %21, align 4 %79 = load ptr, ptr %8, align 8 %80 = getelementptr inbounds i32, ptr %79, i64 813695041 %81 = load volatile i32, ptr %80, align 4 store i32 %81, ptr %22, align 4 %82 = load i32, ptr %29, align 4 %83 = icmp eq i32 %82, 0 br i1 %83, label %.lr.ph2, label %146 .lr.ph2: ; preds = %73 br label %84 84: ; preds = %.lr.ph2, %134 %85 = load ptr, ptr %12, align 8 %86 = load volatile i32, ptr %85, align 4 store i32 %86, ptr %23, align 4 %87 = load ptr, ptr %13, align 8 %88 = load volatile i32, ptr %87, align 4 store i32 %88, ptr %24, align 4 %89 = load i32, ptr %23, align 4 %90 = icmp eq i32 %89, -1 br i1 %90, label %91, label %92 91: ; preds = %84 store i32 1, ptr %29, align 4 br label %134 92: ; preds = %84 store i32 0, ptr %29, align 4 %93 = load i32, ptr %27, align 4 %94 = load ptr, ptr %14, align 8 store volatile i32 %93, ptr %94, align 4 %95 = load i32, ptr %21, align 4 %96 = load i32, ptr %22, align 4 %97 = load i32, ptr %23, align 4 %98 = load i32, ptr %24, align 4 %99 = load i32, ptr %19, align 4 %100 = load i32, ptr %20, align 4 %101 = call i32 @getGlobalID(i32 noundef 0, i32 noundef %95, i32 noundef %96, i32 noundef %97, i32 noundef %98, i32 noundef %99, i32 noundef %100) store i32 %101, ptr %25, align 4 %102 = load i32, ptr %21, align 4 %103 = load i32, ptr %22, align 4 %104 = load i32, ptr %23, align 4 %105 = load i32, ptr %24, align 4 %106 = load i32, ptr %19, align 4 %107 = load i32, ptr %20, align 4 %108 = call i32 @getGlobalID(i32 noundef 1, i32 noundef %102, i32 noundef %103, i32 noundef %104, i32 noundef %105, i32 noundef %106, i32 noundef %107) store i32 %108, ptr %26, align 4 store i32 0, ptr %32, align 4 store i32 0, ptr %31, align 4 %109 = load i32, ptr %31, align 4 %110 = icmp slt i32 %109, 7 br i1 %110, label %.lr.ph, label %133 .lr.ph: ; preds = %92 br label %111 111: ; preds = %.lr.ph, %128 %112 = load ptr, ptr %8, align 8 %113 = load i32, ptr %16, align 4 %114 = load i32, ptr %25, align 4 %115 = add i32 %113, %114 %116 = load i32, ptr %31, align 4 %117 = add i32 %115, %116 %118 = zext i32 %117 to i64 %119 = getelementptr inbounds i32, ptr %112, i64 %118 %120 = load volatile i32, ptr %119, align 4 %121 = load i32, ptr %31, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds [7 x i32], ptr %18, i64 0, i64 %122 %124 = load i32, ptr %123, align 4 %125 = mul nsw i32 %120, %124 %126 = load i32, ptr %32, align 4 %127 = add nsw i32 %126, %125 store i32 %127, ptr %32, align 4 br label %128 128: ; preds = %111 %129 = load i32, ptr %31, align 4 %130 = add nsw i32 %129, 1 store i32 %130, ptr %31, align 4 %131 = load i32, ptr %31, align 4 %132 = icmp slt i32 %131, 7 br i1 %132, label %111, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %128 br label %133 133: ; preds = %._crit_edge, %92 br label %134 134: ; preds = %133, %91 %135 = load i32, ptr %32, align 4 %136 = load ptr, ptr %8, align 8 %137 = load i32, ptr %17, align 4 %138 = load i32, ptr %31, align 4 %139 = add i32 %137, %138 %140 = load i32, ptr %26, align 4 %141 = add i32 %139, %140 %142 = zext i32 %141 to i64 %143 = getelementptr inbounds i32, ptr %136, i64 %142 store volatile i32 %135, ptr %143, align 4 %144 = load i32, ptr %29, align 4 %145 = icmp eq i32 %144, 0 br i1 %145, label %84, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %134 br label %146 146: ; preds = %._crit_edge3, %73 br label %147 147: ; preds = %146, %72 br label %148 148: ; preds = %147, %60 %149 = load i32, ptr %28, align 4 %150 = icmp eq i32 %149, 1 br i1 %150, label %60, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %148 br label %151 151: ; preds = %._crit_edge6, %41 br label %152 152: ; preds = %151, %7 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @getGlobalID(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpu3h2m7sc.c' source_filename = "/tmp/tmpu3h2m7sc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isANumber(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %30, %1 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds i8, ptr %6, i64 %8 %10 = load i8, ptr %9, align 1 %11 = icmp ne i8 %10, 0 br i1 %11, label %12, label %33 12: ; preds = %5 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %4, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = call i32 @isdigit(i8 noundef signext %17) %19 = icmp ne i32 %18, 0 br i1 %19, label %29, label %20 20: ; preds = %12 %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr %4, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 45 br i1 %27, label %29, label %28 28: ; preds = %20 store i32 0, ptr %2, align 4 br label %34 29: ; preds = %20, %12 br label %30 30: ; preds = %29 %31 = load i32, ptr %4, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %4, align 4 br label %5, !llvm.loop !6 33: ; preds = %5 store i32 1, ptr %2, align 4 br label %34 34: ; preds = %33, %28 %35 = load i32, ptr %2, align 4 ret i32 %35 } declare i32 @isdigit(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu3h2m7sc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isANumber(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %5, i64 %7 %9 = load i8, ptr %8, align 1 %10 = icmp ne i8 %9, 0 br i1 %10, label %.lr.ph, label %38 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %29 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %4, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = call i32 @isdigit(i8 noundef signext %16) %18 = icmp ne i32 %17, 0 br i1 %18, label %28, label %19 19: ; preds = %11 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %4, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 45 br i1 %26, label %28, label %27 27: ; preds = %19 store i32 0, ptr %2, align 4 br label %39 28: ; preds = %19, %11 br label %29 29: ; preds = %28 %30 = load i32, ptr %4, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %4, align 4 %32 = load ptr, ptr %3, align 8 %33 = load i32, ptr %4, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = load i8, ptr %35, align 1 %37 = icmp ne i8 %36, 0 br i1 %37, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %38 38: ; preds = %._crit_edge, %1 store i32 1, ptr %2, align 4 br label %39 39: ; preds = %38, %27 %40 = load i32, ptr %2, align 4 ret i32 %40 } declare i32 @isdigit(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp861trmr8.c' source_filename = "/tmp/tmp861trmr8.c" target datalayout = "e-m:e-p270: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 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"get_line: out of memory\0A\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"get_line: WARNING: unusual exit status\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_line(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 store i32 1, ptr %8, align 4 store i32 501, ptr %9, align 4 %10 = load i32, ptr %9, align 4 %11 = call ptr @calloc(i32 noundef %10, i32 noundef 1) %12 = load ptr, ptr %4, align 8 store ptr %11, ptr %12, align 8 br label %13 13: ; preds = %47, %2 %14 = load ptr, ptr %5, align 8 %15 = call i32 @fgetc(ptr noundef %14) store i32 %15, ptr %6, align 4 %16 = load i32, ptr @EOF, align 4 %17 = icmp ne i32 %15, %16 br i1 %17, label %18, label %21 18: ; preds = %13 %19 = load i32, ptr %6, align 4 %20 = icmp ne i32 %19, 10 br label %21 21: ; preds = %18, %13 %22 = phi i1 [ false, %13 ], [ %20, %18 ] br i1 %22, label %23, label %56 23: ; preds = %21 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %9, align 4 %26 = sub nsw i32 %25, 1 %27 = icmp eq i32 %24, %26 br i1 %27, label %28, label %47 28: ; preds = %23 %29 = load i32, ptr %8, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %8, align 4 %31 = mul nsw i32 %30, 500 %32 = add nsw i32 %31, 1 store i32 %32, ptr %9, align 4 %33 = load ptr, ptr %4, align 8 %34 = load ptr, ptr %33, align 8 %35 = load i32, ptr %9, align 4 %36 = sext i32 %35 to i64 %37 = mul i64 %36, 1 %38 = trunc i64 %37 to i32 %39 = call i64 @realloc(ptr noundef %34, i32 noundef %38) %40 = inttoptr i64 %39 to ptr %41 = load ptr, ptr %4, align 8 store ptr %40, ptr %41, align 8 %42 = icmp ne ptr %40, null br i1 %42, label %46, label %43 43: ; preds = %28 %44 = load i32, ptr @stderr, align 4 %45 = call i32 @fprintf(i32 noundef %44, ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %91 46: ; preds = %28 br label %47 47: ; preds = %46, %23 %48 = load i32, ptr %6, align 4 %49 = trunc i32 %48 to i8 %50 = load ptr, ptr %4, align 8 %51 = load ptr, ptr %50, align 8 %52 = load i32, ptr %7, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %7, align 4 %54 = sext i32 %52 to i64 %55 = getelementptr inbounds i8, ptr %51, i64 %54 store i8 %49, ptr %55, align 1 br label %13, !llvm.loop !6 56: ; preds = %21 %57 = load i32, ptr %6, align 4 %58 = icmp eq i32 %57, 10 br i1 %58, label %59, label %71 59: ; preds = %56 %60 = load ptr, ptr %4, align 8 %61 = load ptr, ptr %60, align 8 %62 = load i32, ptr %7, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %61, i64 %63 store i8 0, ptr %64, align 1 %65 = load ptr, ptr %4, align 8 %66 = load ptr, ptr %65, align 8 %67 = call i64 @strlen(ptr noundef %66) %68 = icmp sgt i64 %67, 0 br i1 %68, label %69, label %70 69: ; preds = %59 store i32 3, ptr %3, align 4 br label %91 70: ; preds = %59 store i32 1, ptr %3, align 4 br label %91 71: ; preds = %56 %72 = load i32, ptr %6, align 4 %73 = load i32, ptr @EOF, align 4 %74 = icmp eq i32 %72, %73 br i1 %74, label %75, label %87 75: ; preds = %71 %76 = load ptr, ptr %4, align 8 %77 = load ptr, ptr %76, align 8 %78 = load i32, ptr %7, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i8, ptr %77, i64 %79 store i8 0, ptr %80, align 1 %81 = load ptr, ptr %4, align 8 %82 = load ptr, ptr %81, align 8 %83 = call i64 @strlen(ptr noundef %82) %84 = icmp sgt i64 %83, 0 br i1 %84, label %85, label %86 85: ; preds = %75 store i32 2, ptr %3, align 4 br label %91 86: ; preds = %75 store i32 0, ptr %3, align 4 br label %91 87: ; preds = %71 br label %88 88: ; preds = %87 %89 = load i32, ptr @stderr, align 4 %90 = call i32 @fprintf(i32 noundef %89, ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %91 91: ; preds = %88, %86, %85, %70, %69, %43 %92 = load i32, ptr %3, align 4 ret i32 %92 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i64 @realloc(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i64 @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/tmp861trmr8.c" target datalayout = "e-m:e-p270: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 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"get_line: out of memory\0A\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"get_line: WARNING: unusual exit status\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_line(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 store i32 1, ptr %8, align 4 store i32 501, ptr %9, align 4 %10 = load i32, ptr %9, align 4 %11 = call ptr @calloc(i32 noundef %10, i32 noundef 1) %12 = load ptr, ptr %4, align 8 store ptr %11, ptr %12, align 8 br label %13 13: ; preds = %47, %2 %14 = load ptr, ptr %5, align 8 %15 = call i32 @fgetc(ptr noundef %14) store i32 %15, ptr %6, align 4 %16 = load i32, ptr @EOF, align 4 %17 = icmp ne i32 %15, %16 br i1 %17, label %18, label %21 18: ; preds = %13 %19 = load i32, ptr %6, align 4 %20 = icmp ne i32 %19, 10 br label %21 21: ; preds = %18, %13 %22 = phi i1 [ false, %13 ], [ %20, %18 ] br i1 %22, label %23, label %56 23: ; preds = %21 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %9, align 4 %26 = sub nsw i32 %25, 1 %27 = icmp eq i32 %24, %26 br i1 %27, label %28, label %47 28: ; preds = %23 %29 = load i32, ptr %8, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %8, align 4 %31 = mul nsw i32 %30, 500 %32 = add nsw i32 %31, 1 store i32 %32, ptr %9, align 4 %33 = load ptr, ptr %4, align 8 %34 = load ptr, ptr %33, align 8 %35 = load i32, ptr %9, align 4 %36 = sext i32 %35 to i64 %37 = mul i64 %36, 1 %38 = trunc i64 %37 to i32 %39 = call i64 @realloc(ptr noundef %34, i32 noundef %38) %40 = inttoptr i64 %39 to ptr %41 = load ptr, ptr %4, align 8 store ptr %40, ptr %41, align 8 %42 = icmp ne ptr %40, null br i1 %42, label %46, label %43 43: ; preds = %28 %44 = load i32, ptr @stderr, align 4 %45 = call i32 @fprintf(i32 noundef %44, ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %91 46: ; preds = %28 br label %47 47: ; preds = %46, %23 %48 = load i32, ptr %6, align 4 %49 = trunc i32 %48 to i8 %50 = load ptr, ptr %4, align 8 %51 = load ptr, ptr %50, align 8 %52 = load i32, ptr %7, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %7, align 4 %54 = sext i32 %52 to i64 %55 = getelementptr inbounds i8, ptr %51, i64 %54 store i8 %49, ptr %55, align 1 br label %13, !llvm.loop !6 56: ; preds = %21 %57 = load i32, ptr %6, align 4 %58 = icmp eq i32 %57, 10 br i1 %58, label %59, label %71 59: ; preds = %56 %60 = load ptr, ptr %4, align 8 %61 = load ptr, ptr %60, align 8 %62 = load i32, ptr %7, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %61, i64 %63 store i8 0, ptr %64, align 1 %65 = load ptr, ptr %4, align 8 %66 = load ptr, ptr %65, align 8 %67 = call i64 @strlen(ptr noundef %66) %68 = icmp sgt i64 %67, 0 br i1 %68, label %69, label %70 69: ; preds = %59 store i32 3, ptr %3, align 4 br label %91 70: ; preds = %59 store i32 1, ptr %3, align 4 br label %91 71: ; preds = %56 %72 = load i32, ptr %6, align 4 %73 = load i32, ptr @EOF, align 4 %74 = icmp eq i32 %72, %73 br i1 %74, label %75, label %87 75: ; preds = %71 %76 = load ptr, ptr %4, align 8 %77 = load ptr, ptr %76, align 8 %78 = load i32, ptr %7, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i8, ptr %77, i64 %79 store i8 0, ptr %80, align 1 %81 = load ptr, ptr %4, align 8 %82 = load ptr, ptr %81, align 8 %83 = call i64 @strlen(ptr noundef %82) %84 = icmp sgt i64 %83, 0 br i1 %84, label %85, label %86 85: ; preds = %75 store i32 2, ptr %3, align 4 br label %91 86: ; preds = %75 store i32 0, ptr %3, align 4 br label %91 87: ; preds = %71 br label %88 88: ; preds = %87 %89 = load i32, ptr @stderr, align 4 %90 = call i32 @fprintf(i32 noundef %89, ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %91 91: ; preds = %88, %86, %85, %70, %69, %43 %92 = load i32, ptr %3, align 4 ret i32 %92 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i64 @realloc(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i64 @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/tmp3ls3kr51.c' source_filename = "/tmp/tmp3ls3kr51.c" target datalayout = "e-m:e-p270: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/tmp3ls3kr51.c" target datalayout = "e-m:e-p270: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/tmpjyh48ljd.c' source_filename = "/tmp/tmpjyh48ljd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"hello world\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i64 @printf(ptr noundef @.str) %3 = icmp ne i64 %2, 0 br i1 %3, label %4, label %5 4: ; preds = %0 br label %5 5: ; preds = %4, %0 %6 = load i32, ptr %1, align 4 ret i32 %6 } declare i64 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjyh48ljd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"hello world\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i64 @printf(ptr noundef @.str) %3 = icmp ne i64 %2, 0 br i1 %3, label %4, label %5 4: ; preds = %0 br label %5 5: ; preds = %4, %0 %6 = load i32, ptr %1, align 4 ret i32 %6 } declare i64 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj6a2cluy.c' source_filename = "/tmp/tmpj6a2cluy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_copy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = mul i64 1, %9 %11 = trunc i64 %10 to i32 %12 = call i64 @malloc(i32 noundef %11) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %5, align 4 br label %14 14: ; preds = %28, %1 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %31 18: ; preds = %14 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %5, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 store i8 %23, ptr %27, align 1 br label %28 28: ; preds = %18 %29 = load i32, ptr %5, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %5, align 4 br label %14, !llvm.loop !6 31: ; preds = %14 %32 = load ptr, ptr %4, align 8 ret ptr %32 } declare i32 @strlen(ptr noundef) #1 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj6a2cluy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_copy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = mul i64 1, %9 %11 = trunc i64 %10 to i32 %12 = call i64 @malloc(i32 noundef %11) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %33 .lr.ph: ; preds = %1 br label %17 17: ; preds = %.lr.ph, %27 %18 = load ptr, ptr %2, align 8 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %5, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 store i8 %22, ptr %26, align 1 br label %27 27: ; preds = %17 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %5, align 4 %30 = load i32, ptr %5, align 4 %31 = load i32, ptr %3, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %1 %34 = load ptr, ptr %4, align 8 ret ptr %34 } declare i32 @strlen(ptr noundef) #1 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp373d5qyt.c' source_filename = "/tmp/tmp373d5qyt.c" target datalayout = "e-m:e-p270: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/tmp373d5qyt.c" target datalayout = "e-m:e-p270: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/tmpobgpxw_v.c' source_filename = "/tmp/tmpobgpxw_v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpobgpxw_v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpugw8ek4s.c' source_filename = "/tmp/tmpugw8ek4s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pn_polynomial_value(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %5, align 4 %13 = load ptr, ptr %6, align 8 %14 = call ptr @p_polynomial_value(i32 noundef %11, i32 noundef %12, ptr noundef %13) store ptr %14, ptr %10, align 8 store i32 0, ptr %8, align 4 br label %15 15: ; preds = %55, %3 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp sle i32 %16, %17 br i1 %18, label %19, label %58 19: ; preds = %15 %20 = load i32, ptr %8, align 4 %21 = mul nsw i32 2, %20 %22 = add nsw i32 %21, 1 %23 = sitofp i32 %22 to double %24 = fdiv double 2.000000e+00, %23 %25 = fptosi double %24 to i32 %26 = call double @sqrt(i32 noundef %25) store double %26, ptr %9, align 8 store i32 0, ptr %7, align 4 br label %27 27: ; preds = %51, %19 %28 = load i32, ptr %7, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %54 31: ; preds = %27 %32 = load ptr, ptr %10, align 8 %33 = load i32, ptr %7, align 4 %34 = load i32, ptr %8, align 4 %35 = load i32, ptr %4, align 4 %36 = mul nsw i32 %34, %35 %37 = add nsw i32 %33, %36 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds double, ptr %32, i64 %38 %40 = load double, ptr %39, align 8 %41 = load double, ptr %9, align 8 %42 = fdiv double %40, %41 %43 = load ptr, ptr %10, align 8 %44 = load i32, ptr %7, align 4 %45 = load i32, ptr %8, align 4 %46 = load i32, ptr %4, align 4 %47 = mul nsw i32 %45, %46 %48 = add nsw i32 %44, %47 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds double, ptr %43, i64 %49 store double %42, ptr %50, align 8 br label %51 51: ; preds = %31 %52 = load i32, ptr %7, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %7, align 4 br label %27, !llvm.loop !6 54: ; preds = %27 br label %55 55: ; preds = %54 %56 = load i32, ptr %8, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %8, align 4 br label %15, !llvm.loop !8 58: ; preds = %15 %59 = load ptr, ptr %10, align 8 ret ptr %59 } declare ptr @p_polynomial_value(i32 noundef, i32 noundef, ptr noundef) #1 declare double @sqrt(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpugw8ek4s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pn_polynomial_value(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %5, align 4 %13 = load ptr, ptr %6, align 8 %14 = call ptr @p_polynomial_value(i32 noundef %11, i32 noundef %12, ptr noundef %13) store ptr %14, ptr %10, align 8 store i32 0, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %5, align 4 %17 = icmp sle i32 %15, %16 br i1 %17, label %.lr.ph2, label %62 .lr.ph2: ; preds = %3 br label %18 18: ; preds = %.lr.ph2, %56 %19 = load i32, ptr %8, align 4 %20 = mul nsw i32 2, %19 %21 = add nsw i32 %20, 1 %22 = sitofp i32 %21 to double %23 = fdiv double 2.000000e+00, %22 %24 = fptosi double %23 to i32 %25 = call double @sqrt(i32 noundef %24) store double %25, ptr %9, align 8 store i32 0, ptr %7, align 4 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %.lr.ph, label %55 .lr.ph: ; preds = %18 br label %29 29: ; preds = %.lr.ph, %49 %30 = load ptr, ptr %10, align 8 %31 = load i32, ptr %7, align 4 %32 = load i32, ptr %8, align 4 %33 = load i32, ptr %4, align 4 %34 = mul nsw i32 %32, %33 %35 = add nsw i32 %31, %34 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds double, ptr %30, i64 %36 %38 = load double, ptr %37, align 8 %39 = load double, ptr %9, align 8 %40 = fdiv double %38, %39 %41 = load ptr, ptr %10, align 8 %42 = load i32, ptr %7, align 4 %43 = load i32, ptr %8, align 4 %44 = load i32, ptr %4, align 4 %45 = mul nsw i32 %43, %44 %46 = add nsw i32 %42, %45 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds double, ptr %41, i64 %47 store double %40, ptr %48, align 8 br label %49 49: ; preds = %29 %50 = load i32, ptr %7, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %7, align 4 %52 = load i32, ptr %7, align 4 %53 = load i32, ptr %4, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %49 br label %55 55: ; preds = %._crit_edge, %18 br label %56 56: ; preds = %55 %57 = load i32, ptr %8, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %8, align 4 %59 = load i32, ptr %8, align 4 %60 = load i32, ptr %5, align 4 %61 = icmp sle i32 %59, %60 br i1 %61, label %18, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %56 br label %62 62: ; preds = %._crit_edge3, %3 %63 = load ptr, ptr %10, align 8 ret ptr %63 } declare ptr @p_polynomial_value(i32 noundef, i32 noundef, ptr noundef) #1 declare double @sqrt(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp33hvjmya.c' source_filename = "/tmp/tmp33hvjmya.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [8 x i8] c"\0A light\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"\0A heavy\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 float, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) br label %7 7: ; preds = %10, %0 %8 = load i32, ptr %2, align 4 %9 = icmp sgt i32 %8, 0 br i1 %9, label %10, label %19 10: ; preds = %7 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %2, align 4 %13 = srem i32 %12, 10 %14 = add nsw i32 %11, %13 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 %17 = load i32, ptr %2, align 4 %18 = sdiv i32 %17, 10 store i32 %18, ptr %2, align 4 br label %7, !llvm.loop !6 19: ; preds = %7 %20 = load i32, ptr %4, align 4 %21 = sitofp i32 %20 to float %22 = load i32, ptr %3, align 4 %23 = sitofp i32 %22 to float %24 = fdiv float %21, %23 store float %24, ptr %5, align 4 %25 = load float, ptr %5, align 4 %26 = fcmp olt float %25, 7.000000e+00 br i1 %26, label %27, label %29 27: ; preds = %19 %28 = call i32 @printf(ptr noundef @.str.1) br label %31 29: ; preds = %19 %30 = call i32 @printf(ptr noundef @.str.2) br label %31 31: ; preds = %29, %27 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp33hvjmya.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [8 x i8] c"\0A light\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"\0A heavy\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 float, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %7 = load i32, ptr %2, align 4 %8 = icmp sgt i32 %7, 0 br i1 %8, label %.lr.ph, label %20 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %9 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %2, align 4 %12 = srem i32 %11, 10 %13 = add nsw i32 %10, %12 store i32 %13, ptr %4, align 4 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %3, align 4 %16 = load i32, ptr %2, align 4 %17 = sdiv i32 %16, 10 store i32 %17, ptr %2, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp sgt i32 %18, 0 br i1 %19, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %20 20: ; preds = %._crit_edge, %0 %21 = load i32, ptr %4, align 4 %22 = sitofp i32 %21 to float %23 = load i32, ptr %3, align 4 %24 = sitofp i32 %23 to float %25 = fdiv float %22, %24 store float %25, ptr %5, align 4 %26 = load float, ptr %5, align 4 %27 = fcmp olt float %26, 7.000000e+00 br i1 %27, label %28, label %30 28: ; preds = %20 %29 = call i32 @printf(ptr noundef @.str.1) br label %32 30: ; preds = %20 %31 = call i32 @printf(ptr noundef @.str.2) br label %32 32: ; preds = %30, %28 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"}
; ModuleID = '/tmp/tmpds814oa3.c' source_filename = "/tmp/tmpds814oa3.c" target datalayout = "e-m:e-p270: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.test_upper.text = private unnamed_addr constant [10 x i8] c"Test Text\00", align 1 @.str = private unnamed_addr constant [10 x i8] c"TEST TEXT\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"test_uppper: text should be 'TEST TEXT'\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_upper() #0 { %1 = alloca [10 x i8], align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.test_upper.text, i64 10, i1 false) %2 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @upper(ptr noundef %2) br label %4 4: ; preds = %0 %5 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 0 %6 = call i64 @strcmp(ptr noundef %5, ptr noundef @.str) %7 = icmp eq i64 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %4 %9 = call i32 @mu_fail(ptr noundef @.str.1) br label %11 10: ; preds = %4 br label %11 11: ; preds = %8, %10 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @upper(ptr noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @mu_fail(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/tmpds814oa3.c" target datalayout = "e-m:e-p270: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.test_upper.text = private unnamed_addr constant [10 x i8] c"Test Text\00", align 1 @.str = private unnamed_addr constant [10 x i8] c"TEST TEXT\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"test_uppper: text should be 'TEST TEXT'\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_upper() #0 { %1 = alloca [10 x i8], align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.test_upper.text, i64 10, i1 false) %2 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @upper(ptr noundef %2) br label %4 4: ; preds = %0 %5 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 0 %6 = call i64 @strcmp(ptr noundef %5, ptr noundef @.str) %7 = icmp eq i64 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %4 %9 = call i32 @mu_fail(ptr noundef @.str.1) br label %11 10: ; preds = %4 br label %11 11: ; preds = %10, %8 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @upper(ptr noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @mu_fail(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/tmpy6je42i0.c' source_filename = "/tmp/tmpy6je42i0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy6je42i0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4eo72axc.c' source_filename = "/tmp/tmp4eo72axc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"file does not exist\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"cannot open file for read\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dump_file_to_stdout(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 1024, ptr %3, align 4 %7 = call ptr @llvm.stacksave() store ptr %7, ptr %4, align 8 %8 = alloca i8, i64 1024, align 16 %9 = load ptr, ptr %2, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %15, label %11 11: ; preds = %1 %12 = load ptr, ptr %2, align 8 %13 = call i32 @file_exists(ptr noundef %12) %14 = icmp ne i32 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %11, %1 %16 = call i32 @internal_error(ptr noundef @.str) br label %17 17: ; preds = %15, %11 %18 = load ptr, ptr %2, align 8 %19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str.1) store ptr %19, ptr %5, align 8 %20 = load ptr, ptr %5, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %24 22: ; preds = %17 %23 = call i32 @internal_error(ptr noundef @.str.2) br label %24 24: ; preds = %22, %17 br label %25 25: ; preds = %29, %24 %26 = load ptr, ptr %5, align 8 %27 = call i32 @fread(ptr noundef %8, i32 noundef 1, i32 noundef 1024, ptr noundef %26) store i32 %27, ptr %6, align 4 %28 = icmp sgt i32 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %25 %30 = load i32, ptr %6, align 4 %31 = call i32 @write(i32 noundef 1, ptr noundef %8, i32 noundef %30) br label %25, !llvm.loop !6 32: ; preds = %25 %33 = load ptr, ptr %5, align 8 %34 = call i32 @fclose(ptr noundef %33) %35 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %35) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @file_exists(ptr noundef) #2 declare i32 @internal_error(ptr noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @fclose(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4eo72axc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"file does not exist\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"cannot open file for read\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dump_file_to_stdout(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 1024, ptr %3, align 4 %7 = call ptr @llvm.stacksave() store ptr %7, ptr %4, align 8 %8 = alloca i8, i64 1024, align 16 %9 = load ptr, ptr %2, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %15, label %11 11: ; preds = %1 %12 = load ptr, ptr %2, align 8 %13 = call i32 @file_exists(ptr noundef %12) %14 = icmp ne i32 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %11, %1 %16 = call i32 @internal_error(ptr noundef @.str) br label %17 17: ; preds = %15, %11 %18 = load ptr, ptr %2, align 8 %19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str.1) store ptr %19, ptr %5, align 8 %20 = load ptr, ptr %5, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %24 22: ; preds = %17 %23 = call i32 @internal_error(ptr noundef @.str.2) br label %24 24: ; preds = %22, %17 %25 = load ptr, ptr %5, align 8 %26 = call i32 @fread(ptr noundef %8, i32 noundef 1, i32 noundef 1024, ptr noundef %25) store i32 %26, ptr %6, align 4 %27 = icmp sgt i32 %26, 0 br i1 %27, label %.lr.ph, label %34 .lr.ph: ; preds = %24 br label %28 28: ; preds = %.lr.ph, %28 %29 = load i32, ptr %6, align 4 %30 = call i32 @write(i32 noundef 1, ptr noundef %8, i32 noundef %29) %31 = load ptr, ptr %5, align 8 %32 = call i32 @fread(ptr noundef %8, i32 noundef 1, i32 noundef 1024, ptr noundef %31) store i32 %32, ptr %6, align 4 %33 = icmp sgt i32 %32, 0 br i1 %33, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %24 %35 = load ptr, ptr %5, align 8 %36 = call i32 @fclose(ptr noundef %35) %37 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %37) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @file_exists(ptr noundef) #2 declare i32 @internal_error(ptr noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @fclose(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpwh0gh4ol.c' source_filename = "/tmp/tmpwh0gh4ol.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @yahoo_f01_13.LUT = internal global [32 x i8] c"\13\08\1E\1D\17\16\07\1F\0E\03\1A\19\01\12\11\10\09\0C\0F\14\0B\05\00\04\1C\18\0A\15\02\1B\06\0D", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @yahoo_f01_13(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @yahoo_M1ObfuscatedTableCommon(i32 noundef %5, i32 noundef %6, ptr noundef @yahoo_f01_13.LUT) ret i32 %7 } declare i32 @yahoo_M1ObfuscatedTableCommon(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwh0gh4ol.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @yahoo_f01_13.LUT = internal global [32 x i8] c"\13\08\1E\1D\17\16\07\1F\0E\03\1A\19\01\12\11\10\09\0C\0F\14\0B\05\00\04\1C\18\0A\15\02\1B\06\0D", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @yahoo_f01_13(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @yahoo_M1ObfuscatedTableCommon(i32 noundef %5, i32 noundef %6, ptr noundef @yahoo_f01_13.LUT) ret i32 %7 } declare i32 @yahoo_M1ObfuscatedTableCommon(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmei4buxt.c' source_filename = "/tmp/tmpmei4buxt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"---linalg tests---\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @TOP_LEVEL_usecases_ba_test_ba_dps(i32 noundef 0, i32 noundef 0, i32 noundef 0) %7 = call i32 @printf(ptr noundef @.str) %8 = call i32 @TOP_LEVEL_linalgtests_test1_dps(i32 noundef 0, i32 noundef 0, i32 noundef 0) ret i32 0 } declare i32 @TOP_LEVEL_usecases_ba_test_ba_dps(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @TOP_LEVEL_linalgtests_test1_dps(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmei4buxt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"---linalg tests---\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @TOP_LEVEL_usecases_ba_test_ba_dps(i32 noundef 0, i32 noundef 0, i32 noundef 0) %7 = call i32 @printf(ptr noundef @.str) %8 = call i32 @TOP_LEVEL_linalgtests_test1_dps(i32 noundef 0, i32 noundef 0, i32 noundef 0) ret i32 0 } declare i32 @TOP_LEVEL_usecases_ba_test_ba_dps(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @TOP_LEVEL_linalgtests_test1_dps(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxttcq7bm.c' source_filename = "/tmp/tmpxttcq7bm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pmh7_register_read_bit(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = call i32 @pmh7_register_read(i32 noundef %6) store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = ashr i32 %8, %9 %11 = and i32 %10, 1 ret i32 %11 } declare i32 @pmh7_register_read(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/tmpxttcq7bm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pmh7_register_read_bit(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = call i32 @pmh7_register_read(i32 noundef %6) store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = ashr i32 %8, %9 %11 = and i32 %10, 1 ret i32 %11 } declare i32 @pmh7_register_read(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/tmp5l3b7_ei.c' source_filename = "/tmp/tmp5l3b7_ei.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 0, ptr %1, align 4 %4 = call ptr @alloca(i32 noundef 4) store ptr %4, ptr %2, align 8 %5 = call ptr @alloca(i32 noundef 4) store ptr %5, ptr %3, align 8 br label %6 6: ; preds = %21, %0 %7 = load ptr, ptr %2, align 8 %8 = load i32, ptr %7, align 4 %9 = icmp sle i32 %8, 10 br i1 %9, label %10, label %26 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 store i32 10, ptr %11, align 4 br label %12 12: ; preds = %16, %10 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %13, align 4 %15 = icmp sgt i32 %14, 1 br i1 %15, label %16, label %21 16: ; preds = %12 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %17, align 4 %19 = sub nsw i32 %18, 1 %20 = load ptr, ptr %3, align 8 store i32 %19, ptr %20, align 4 br label %12, !llvm.loop !6 21: ; preds = %12 %22 = load ptr, ptr %2, align 8 %23 = load i32, ptr %22, align 4 %24 = add nsw i32 %23, 1 %25 = load ptr, ptr %2, align 8 store i32 %24, ptr %25, align 4 br label %6, !llvm.loop !8 26: ; preds = %6 %27 = load i32, ptr %1, align 4 ret i32 %27 } declare ptr @alloca(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5l3b7_ei.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 0, ptr %1, align 4 %4 = call ptr @alloca(i32 noundef 4) store ptr %4, ptr %2, align 8 %5 = call ptr @alloca(i32 noundef 4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr %6, align 4 %8 = icmp sle i32 %7, 10 br i1 %8, label %.lr.ph2, label %30 .lr.ph2: ; preds = %0 br label %9 9: ; preds = %.lr.ph2, %22 %10 = load ptr, ptr %3, align 8 store i32 10, ptr %10, align 4 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %11, align 4 %13 = icmp sgt i32 %12, 1 br i1 %13, label %.lr.ph, label %22 .lr.ph: ; preds = %9 br label %14 14: ; preds = %.lr.ph, %14 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %15, align 4 %17 = sub nsw i32 %16, 1 %18 = load ptr, ptr %3, align 8 store i32 %17, ptr %18, align 4 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %19, align 4 %21 = icmp sgt i32 %20, 1 br i1 %21, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %22 22: ; preds = %._crit_edge, %9 %23 = load ptr, ptr %2, align 8 %24 = load i32, ptr %23, align 4 %25 = add nsw i32 %24, 1 %26 = load ptr, ptr %2, align 8 store i32 %25, ptr %26, align 4 %27 = load ptr, ptr %2, align 8 %28 = load i32, ptr %27, align 4 %29 = icmp sle i32 %28, 10 br i1 %29, label %9, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %22 br label %30 30: ; preds = %._crit_edge3, %0 %31 = load i32, ptr %1, align 4 ret i32 %31 } declare ptr @alloca(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmptmg1og5e.c' source_filename = "/tmp/tmptmg1og5e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"USER \00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"USER %64s \22%*[^\22]\22 \22%*[^\22]\22 :%*[^\0D\0A]\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @log_username(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %11 = load ptr, ptr %6, align 8 %12 = call ptr @strstr(ptr noundef %11, ptr noundef @.str) store ptr %12, ptr %10, align 8 %13 = load ptr, ptr %10, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %23 15: ; preds = %4 %16 = load ptr, ptr %10, align 8 %17 = load ptr, ptr %8, align 8 %18 = call i32 @sscanf(ptr noundef %16, ptr noundef @.str.1, ptr noundef %17) %19 = icmp eq i32 %18, 1 br i1 %19, label %20, label %23 20: ; preds = %15 %21 = load ptr, ptr %8, align 8 %22 = call i64 @strlen(ptr noundef %21) store i64 %22, ptr %5, align 8 br label %24 23: ; preds = %15, %4 store i64 0, ptr %5, align 8 br label %24 24: ; preds = %23, %20 %25 = load i64, ptr %5, align 8 ret i64 %25 } declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @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/tmptmg1og5e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"USER \00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"USER %64s \22%*[^\22]\22 \22%*[^\22]\22 :%*[^\0D\0A]\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @log_username(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %11 = load ptr, ptr %6, align 8 %12 = call ptr @strstr(ptr noundef %11, ptr noundef @.str) store ptr %12, ptr %10, align 8 %13 = load ptr, ptr %10, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %23 15: ; preds = %4 %16 = load ptr, ptr %10, align 8 %17 = load ptr, ptr %8, align 8 %18 = call i32 @sscanf(ptr noundef %16, ptr noundef @.str.1, ptr noundef %17) %19 = icmp eq i32 %18, 1 br i1 %19, label %20, label %23 20: ; preds = %15 %21 = load ptr, ptr %8, align 8 %22 = call i64 @strlen(ptr noundef %21) store i64 %22, ptr %5, align 8 br label %24 23: ; preds = %15, %4 store i64 0, ptr %5, align 8 br label %24 24: ; preds = %23, %20 %25 = load i64, ptr %5, align 8 ret i64 %25 } declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @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/tmpuy9vzik4.c' source_filename = "/tmp/tmpuy9vzik4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuy9vzik4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpku2zbtos.c' source_filename = "/tmp/tmpku2zbtos.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"password is: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [16 x i8], align 16 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @readpasswd(ptr noundef %3) %5 = icmp ne i32 %4, -1 br i1 %5, label %6, label %9 6: ; preds = %0 %7 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @printf(ptr noundef @.str, ptr noundef %7) store i32 0, ptr %1, align 4 br label %10 9: ; preds = %0 store i32 1, ptr %1, align 4 br label %10 10: ; preds = %9, %6 %11 = load i32, ptr %1, align 4 ret i32 %11 } declare i32 @readpasswd(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpku2zbtos.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"password is: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [16 x i8], align 16 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @readpasswd(ptr noundef %3) %5 = icmp ne i32 %4, -1 br i1 %5, label %6, label %9 6: ; preds = %0 %7 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @printf(ptr noundef @.str, ptr noundef %7) store i32 0, ptr %1, align 4 br label %10 9: ; preds = %0 store i32 1, ptr %1, align 4 br label %10 10: ; preds = %9, %6 %11 = load i32, ptr %1, align 4 ret i32 %11 } declare i32 @readpasswd(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfyijpr3g.c' source_filename = "/tmp/tmpfyijpr3g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @move_r_pos(i64 noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load i64, ptr %4, align 8 %8 = load i64, ptr %4, align 8 %9 = load i64, ptr %5, align 8 %10 = add nsw i64 %8, %9 %11 = load i64, ptr %6, align 8 %12 = call i32 @move(i64 noundef %7, i64 noundef %10, i64 noundef %11) ret void } declare i32 @move(i64 noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfyijpr3g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @move_r_pos(i64 noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load i64, ptr %4, align 8 %8 = load i64, ptr %4, align 8 %9 = load i64, ptr %5, align 8 %10 = add nsw i64 %8, %9 %11 = load i64, ptr %6, align 8 %12 = call i32 @move(i64 noundef %7, i64 noundef %10, i64 noundef %11) ret void } declare i32 @move(i64 noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpccwb6r_9.c' source_filename = "/tmp/tmpccwb6r_9.c" target datalayout = "e-m:e-p270: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/tmpccwb6r_9.c" target datalayout = "e-m:e-p270: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/tmpkjwo2k84.c' source_filename = "/tmp/tmpkjwo2k84.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @maze_try_visit_cell(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 store ptr %0, ptr %10, align 8 store i32 %1, ptr %11, align 4 store i32 %2, ptr %12, align 4 store i32 %3, ptr %13, align 4 store i32 %4, ptr %14, align 4 store ptr %5, ptr %15, align 8 store ptr %6, ptr %16, align 8 store i32 %7, ptr %17, align 4 %18 = load ptr, ptr %10, align 8 %19 = load i32, ptr %11, align 4 %20 = load i32, ptr %12, align 4 %21 = load i32, ptr %13, align 4 %22 = load i32, ptr %14, align 4 %23 = call i32 @maze_cells_connected(ptr noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %22) %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %31 25: ; preds = %8 %26 = load ptr, ptr %10, align 8 %27 = load i32, ptr %13, align 4 %28 = load i32, ptr %14, align 4 %29 = call i64 @maze_cell_visited(ptr noundef %26, i32 noundef %27, i32 noundef %28) %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %32 31: ; preds = %25, %8 store i32 1, ptr %9, align 4 br label %42 32: ; preds = %25 %33 = load i32, ptr %13, align 4 %34 = load ptr, ptr %15, align 8 store i32 %33, ptr %34, align 4 %35 = load i32, ptr %14, align 4 %36 = load ptr, ptr %16, align 8 store i32 %35, ptr %36, align 4 %37 = load ptr, ptr %10, align 8 %38 = load i32, ptr %13, align 4 %39 = load i32, ptr %14, align 4 %40 = load i32, ptr %17, align 4 %41 = call i32 @maze_visit_cell(ptr noundef %37, i32 noundef %38, i32 noundef %39, i32 noundef %40) store i32 0, ptr %9, align 4 br label %42 42: ; preds = %32, %31 %43 = load i32, ptr %9, align 4 ret i32 %43 } declare i32 @maze_cells_connected(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @maze_cell_visited(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @maze_visit_cell(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkjwo2k84.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @maze_try_visit_cell(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 store ptr %0, ptr %10, align 8 store i32 %1, ptr %11, align 4 store i32 %2, ptr %12, align 4 store i32 %3, ptr %13, align 4 store i32 %4, ptr %14, align 4 store ptr %5, ptr %15, align 8 store ptr %6, ptr %16, align 8 store i32 %7, ptr %17, align 4 %18 = load ptr, ptr %10, align 8 %19 = load i32, ptr %11, align 4 %20 = load i32, ptr %12, align 4 %21 = load i32, ptr %13, align 4 %22 = load i32, ptr %14, align 4 %23 = call i32 @maze_cells_connected(ptr noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %22) %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %31 25: ; preds = %8 %26 = load ptr, ptr %10, align 8 %27 = load i32, ptr %13, align 4 %28 = load i32, ptr %14, align 4 %29 = call i64 @maze_cell_visited(ptr noundef %26, i32 noundef %27, i32 noundef %28) %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %32 31: ; preds = %25, %8 store i32 1, ptr %9, align 4 br label %42 32: ; preds = %25 %33 = load i32, ptr %13, align 4 %34 = load ptr, ptr %15, align 8 store i32 %33, ptr %34, align 4 %35 = load i32, ptr %14, align 4 %36 = load ptr, ptr %16, align 8 store i32 %35, ptr %36, align 4 %37 = load ptr, ptr %10, align 8 %38 = load i32, ptr %13, align 4 %39 = load i32, ptr %14, align 4 %40 = load i32, ptr %17, align 4 %41 = call i32 @maze_visit_cell(ptr noundef %37, i32 noundef %38, i32 noundef %39, i32 noundef %40) store i32 0, ptr %9, align 4 br label %42 42: ; preds = %32, %31 %43 = load i32, ptr %9, align 4 ret i32 %43 } declare i32 @maze_cells_connected(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @maze_cell_visited(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @maze_visit_cell(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}