llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmp4vaqfwt2.c'
source_filename = "/tmp/tmp4vaqfwt2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EX_OSERR = dso_local global i32 0, align 4
@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/tmp4vaqfwt2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EX_OSERR = dso_local global i32 0, align 4
@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/tmp0wc9imp2.c'
source_filename = "/tmp/tmp0wc9imp2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strend(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = sub nsw i32 %9, 1
store i32 %10, ptr %6, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @strlen(ptr noundef %11)
%13 = sub nsw i32 %12, 1
store i32 %13, ptr %7, align 4
br label %14
14: ; preds = %37, %2
%15 = load i32, ptr %7, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %38
17: ; preds = %14
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %7, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %23, %29
br i1 %30, label %31, label %36
31: ; preds = %17
%32 = load i32, ptr %7, align 4
%33 = add nsw i32 %32, -1
store i32 %33, ptr %7, align 4
%34 = load i32, ptr %6, align 4
%35 = add nsw i32 %34, -1
store i32 %35, ptr %6, align 4
br label %37
36: ; preds = %17
store i32 0, ptr %3, align 4
br label %39
37: ; preds = %31
br label %14, !llvm.loop !6
38: ; preds = %14
store i32 1, ptr %3, align 4
br label %39
39: ; preds = %38, %36
%40 = load i32, ptr %3, align 4
ret i32 %40
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0wc9imp2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strend(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = sub nsw i32 %9, 1
store i32 %10, ptr %6, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @strlen(ptr noundef %11)
%13 = sub nsw i32 %12, 1
store i32 %13, ptr %7, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %.lr.ph, label %39
.lr.ph: ; preds = %2
br label %16
16: ; preds = %.lr.ph, %36
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %7, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %22, %28
br i1 %29, label %30, label %35
30: ; preds = %16
%31 = load i32, ptr %7, align 4
%32 = add nsw i32 %31, -1
store i32 %32, ptr %7, align 4
%33 = load i32, ptr %6, align 4
%34 = add nsw i32 %33, -1
store i32 %34, ptr %6, align 4
br label %36
35: ; preds = %16
store i32 0, ptr %3, align 4
br label %40
36: ; preds = %30
%37 = load i32, ptr %7, align 4
%38 = icmp ne i32 %37, 0
br i1 %38, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %39
39: ; preds = %._crit_edge, %2
store i32 1, ptr %3, align 4
br label %40
40: ; preds = %39, %35
%41 = load i32, ptr %3, align 4
ret i32 %41
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp60g6rzwt.c'
source_filename = "/tmp/tmp60g6rzwt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GaussLegendreTri(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 0, ptr %11, align 4
store double 2.000000e+00, ptr %17, align 8
%18 = load i32, ptr %5, align 4
%19 = call i32 @GaussLegendre1D(i32 noundef %18, ptr noundef %12, ptr noundef %14)
%20 = load i32, ptr %6, align 4
%21 = call i32 @GaussLegendre1D(i32 noundef %20, ptr noundef %13, ptr noundef %15)
store i32 0, ptr %9, align 4
br label %22
22: ; preds = %95, %4
%23 = load i32, ptr %9, align 4
%24 = load i32, ptr %5, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %98
26: ; preds = %22
store i32 0, ptr %10, align 4
br label %27
27: ; preds = %91, %26
%28 = load i32, ptr %10, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %94
31: ; preds = %27
%32 = load ptr, ptr %12, align 8
%33 = load i32, ptr %9, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds double, ptr %32, i64 %34
%36 = load double, ptr %35, align 8
%37 = load ptr, ptr %13, align 8
%38 = load i32, ptr %10, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds double, ptr %37, i64 %39
%41 = load double, ptr %40, align 8
%42 = load ptr, ptr %7, align 8
%43 = load i32, ptr %11, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [3 x double], ptr %42, i64 %44
%46 = getelementptr inbounds [3 x double], ptr %45, i64 0, i64 0
%47 = load ptr, ptr %7, align 8
%48 = load i32, ptr %11, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [3 x double], ptr %47, i64 %49
%51 = getelementptr inbounds [3 x double], ptr %50, i64 0, i64 1
%52 = call i32 @quadToTri(double noundef %36, double noundef %41, ptr noundef %46, ptr noundef %51, ptr noundef %16)
%53 = load ptr, ptr %7, align 8
%54 = load i32, ptr %11, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [3 x double], ptr %53, i64 %55
%57 = getelementptr inbounds [3 x double], ptr %56, i64 0, i64 0
%58 = load double, ptr %57, align 8
%59 = fsub double 1.000000e+00, %58
%60 = load ptr, ptr %7, align 8
%61 = load i32, ptr %11, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [3 x double], ptr %60, i64 %62
%64 = getelementptr inbounds [3 x double], ptr %63, i64 0, i64 1
%65 = load double, ptr %64, align 8
%66 = fsub double %59, %65
%67 = load ptr, ptr %7, align 8
%68 = load i32, ptr %11, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [3 x double], ptr %67, i64 %69
%71 = getelementptr inbounds [3 x double], ptr %70, i64 0, i64 2
store double %66, ptr %71, align 8
%72 = load double, ptr %16, align 8
%73 = load ptr, ptr %14, align 8
%74 = load i32, ptr %9, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds double, ptr %73, i64 %75
%77 = load double, ptr %76, align 8
%78 = fmul double %72, %77
%79 = load ptr, ptr %15, align 8
%80 = load i32, ptr %10, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds double, ptr %79, i64 %81
%83 = load double, ptr %82, align 8
%84 = fmul double %78, %83
%85 = fmul double %84, 2.000000e+00
%86 = load ptr, ptr %8, align 8
%87 = load i32, ptr %11, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %11, align 4
%89 = sext i32 %87 to i64
%90 = getelementptr inbounds double, ptr %86, i64 %89
store double %85, ptr %90, align 8
br label %91
91: ; preds = %31
%92 = load i32, ptr %10, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %10, align 4
br label %27, !llvm.loop !6
94: ; preds = %27
br label %95
95: ; preds = %94
%96 = load i32, ptr %9, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %9, align 4
br label %22, !llvm.loop !8
98: ; preds = %22
%99 = load i32, ptr %11, align 4
ret i32 %99
}
declare i32 @GaussLegendre1D(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @quadToTri(double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp60g6rzwt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GaussLegendreTri(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 0, ptr %11, align 4
store double 2.000000e+00, ptr %17, align 8
%18 = load i32, ptr %5, align 4
%19 = call i32 @GaussLegendre1D(i32 noundef %18, ptr noundef %12, ptr noundef %14)
%20 = load i32, ptr %6, align 4
%21 = call i32 @GaussLegendre1D(i32 noundef %20, ptr noundef %13, ptr noundef %15)
store i32 0, ptr %9, align 4
%22 = load i32, ptr %9, align 4
%23 = load i32, ptr %5, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph2, label %102
.lr.ph2: ; preds = %4
br label %25
25: ; preds = %.lr.ph2, %96
store i32 0, ptr %10, align 4
%26 = load i32, ptr %10, align 4
%27 = load i32, ptr %6, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %.lr.ph, label %95
.lr.ph: ; preds = %25
br label %29
29: ; preds = %.lr.ph, %89
%30 = load ptr, ptr %12, align 8
%31 = load i32, ptr %9, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds double, ptr %30, i64 %32
%34 = load double, ptr %33, align 8
%35 = load ptr, ptr %13, align 8
%36 = load i32, ptr %10, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds double, ptr %35, i64 %37
%39 = load double, ptr %38, align 8
%40 = load ptr, ptr %7, align 8
%41 = load i32, ptr %11, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [3 x double], ptr %40, i64 %42
%44 = getelementptr inbounds [3 x double], ptr %43, i64 0, i64 0
%45 = load ptr, ptr %7, align 8
%46 = load i32, ptr %11, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [3 x double], ptr %45, i64 %47
%49 = getelementptr inbounds [3 x double], ptr %48, i64 0, i64 1
%50 = call i32 @quadToTri(double noundef %34, double noundef %39, ptr noundef %44, ptr noundef %49, ptr noundef %16)
%51 = load ptr, ptr %7, align 8
%52 = load i32, ptr %11, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [3 x double], ptr %51, i64 %53
%55 = getelementptr inbounds [3 x double], ptr %54, i64 0, i64 0
%56 = load double, ptr %55, align 8
%57 = fsub double 1.000000e+00, %56
%58 = load ptr, ptr %7, align 8
%59 = load i32, ptr %11, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [3 x double], ptr %58, i64 %60
%62 = getelementptr inbounds [3 x double], ptr %61, i64 0, i64 1
%63 = load double, ptr %62, align 8
%64 = fsub double %57, %63
%65 = load ptr, ptr %7, align 8
%66 = load i32, ptr %11, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [3 x double], ptr %65, i64 %67
%69 = getelementptr inbounds [3 x double], ptr %68, i64 0, i64 2
store double %64, ptr %69, align 8
%70 = load double, ptr %16, align 8
%71 = load ptr, ptr %14, align 8
%72 = load i32, ptr %9, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds double, ptr %71, i64 %73
%75 = load double, ptr %74, align 8
%76 = fmul double %70, %75
%77 = load ptr, ptr %15, align 8
%78 = load i32, ptr %10, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds double, ptr %77, i64 %79
%81 = load double, ptr %80, align 8
%82 = fmul double %76, %81
%83 = fmul double %82, 2.000000e+00
%84 = load ptr, ptr %8, align 8
%85 = load i32, ptr %11, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %11, align 4
%87 = sext i32 %85 to i64
%88 = getelementptr inbounds double, ptr %84, i64 %87
store double %83, ptr %88, align 8
br label %89
89: ; preds = %29
%90 = load i32, ptr %10, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %10, align 4
%92 = load i32, ptr %10, align 4
%93 = load i32, ptr %6, align 4
%94 = icmp slt i32 %92, %93
br i1 %94, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %89
br label %95
95: ; preds = %._crit_edge, %25
br label %96
96: ; preds = %95
%97 = load i32, ptr %9, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %9, align 4
%99 = load i32, ptr %9, align 4
%100 = load i32, ptr %5, align 4
%101 = icmp slt i32 %99, %100
br i1 %101, label %25, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %96
br label %102
102: ; preds = %._crit_edge3, %4
%103 = load i32, ptr %11, align 4
ret i32 %103
}
declare i32 @GaussLegendre1D(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @quadToTri(double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpjme0xp50.c'
source_filename = "/tmp/tmpjme0xp50.c"
target datalayout = "e-m:e-p270: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 [46 x i8] c"Disk Image File Analyzer for Quasi88 Ver 0.4\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"Usage: analyze88 [-option] [filename]\0A\00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c" -header - Display header information\0A\00", align 1
@.str.3 = private unnamed_addr constant [43 x i8] c" -id - Display id information\0A\00", align 1
@.str.4 = private unnamed_addr constant [40 x i8] c" -data - Display id and data\0A\00", align 1
@.str.5 = private unnamed_addr constant [44 x i8] c" -track n - Specify track number n.\0A\00", align 1
@.str.6 = private unnamed_addr constant [46 x i8] c" -track n m - Specify track number n-m.\0A\00", align 1
@.str.7 = private unnamed_addr constant [48 x i8] c" -status - Display status-error sector\0A\00", align 1
@.str.8 = private unnamed_addr constant [45 x i8] c" -protect - Display bad format track\0A\00", align 1
@.str.9 = private unnamed_addr constant [44 x i8] c" -image n - Specify image number n.\0A\00", align 1
@.str.10 = private unnamed_addr constant [45 x i8] c" filename - Disk Image File filename\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #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)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.5)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.6)
%15 = load i32, ptr @stderr, align 4
%16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.7)
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.8)
%19 = load i32, ptr @stderr, align 4
%20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.9)
%21 = load i32, ptr @stderr, align 4
%22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str.10)
%23 = 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/tmpjme0xp50.c"
target datalayout = "e-m:e-p270: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 [46 x i8] c"Disk Image File Analyzer for Quasi88 Ver 0.4\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"Usage: analyze88 [-option] [filename]\0A\00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c" -header - Display header information\0A\00", align 1
@.str.3 = private unnamed_addr constant [43 x i8] c" -id - Display id information\0A\00", align 1
@.str.4 = private unnamed_addr constant [40 x i8] c" -data - Display id and data\0A\00", align 1
@.str.5 = private unnamed_addr constant [44 x i8] c" -track n - Specify track number n.\0A\00", align 1
@.str.6 = private unnamed_addr constant [46 x i8] c" -track n m - Specify track number n-m.\0A\00", align 1
@.str.7 = private unnamed_addr constant [48 x i8] c" -status - Display status-error sector\0A\00", align 1
@.str.8 = private unnamed_addr constant [45 x i8] c" -protect - Display bad format track\0A\00", align 1
@.str.9 = private unnamed_addr constant [44 x i8] c" -image n - Specify image number n.\0A\00", align 1
@.str.10 = private unnamed_addr constant [45 x i8] c" filename - Disk Image File filename\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #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)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.5)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.6)
%15 = load i32, ptr @stderr, align 4
%16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.7)
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.8)
%19 = load i32, ptr @stderr, align 4
%20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.9)
%21 = load i32, ptr @stderr, align 4
%22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str.10)
%23 = 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/tmpk82gsegs.c'
source_filename = "/tmp/tmpk82gsegs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"LEFT\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"RIGHT\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"UP\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"DOWN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @displayPathtoPrincess(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [2 x i16], align 2
%10 = alloca [2 x i16], align 2
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %11
11: ; preds = %61, %2
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %64
15: ; preds = %11
store i32 0, ptr %6, align 4
br label %16
16: ; preds = %57, %15
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %60
20: ; preds = %16
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %5, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [101 x i8], ptr %21, i64 %23
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [101 x i8], ptr %24, i64 0, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 112
br i1 %30, label %31, label %38
31: ; preds = %20
%32 = load i32, ptr %5, align 4
%33 = trunc i32 %32 to i16
%34 = getelementptr inbounds [2 x i16], ptr %9, i64 0, i64 0
store i16 %33, ptr %34, align 2
%35 = load i32, ptr %6, align 4
%36 = trunc i32 %35 to i16
%37 = getelementptr inbounds [2 x i16], ptr %9, i64 0, i64 1
store i16 %36, ptr %37, align 2
br label %38
38: ; preds = %31, %20
%39 = load ptr, ptr %4, align 8
%40 = load i32, ptr %5, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [101 x i8], ptr %39, i64 %41
%43 = load i32, ptr %6, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [101 x i8], ptr %42, i64 0, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 109
br i1 %48, label %49, label %56
49: ; preds = %38
%50 = load i32, ptr %5, align 4
%51 = trunc i32 %50 to i16
%52 = getelementptr inbounds [2 x i16], ptr %10, i64 0, i64 0
store i16 %51, ptr %52, align 2
%53 = load i32, ptr %6, align 4
%54 = trunc i32 %53 to i16
%55 = getelementptr inbounds [2 x i16], ptr %10, i64 0, i64 1
store i16 %54, ptr %55, align 2
br label %56
56: ; preds = %49, %38
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 %16, !llvm.loop !6
60: ; preds = %16
br label %61
61: ; preds = %60
%62 = load i32, ptr %5, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %5, align 4
br label %11, !llvm.loop !8
64: ; preds = %11
%65 = getelementptr inbounds [2 x i16], ptr %9, i64 0, i64 1
%66 = load i16, ptr %65, align 2
%67 = sext i16 %66 to i32
%68 = getelementptr inbounds [2 x i16], ptr %10, i64 0, i64 1
%69 = load i16, ptr %68, align 2
%70 = sext i16 %69 to i32
%71 = sub nsw i32 %67, %70
store i32 %71, ptr %8, align 4
%72 = icmp slt i32 %71, 0
br i1 %72, label %73, label %85
73: ; preds = %64
store i32 0, ptr %5, align 4
br label %74
74: ; preds = %81, %73
%75 = load i32, ptr %5, align 4
%76 = load i32, ptr %8, align 4
%77 = call i32 @abs(i32 noundef %76) #3
%78 = icmp slt i32 %75, %77
br i1 %78, label %79, label %84
79: ; preds = %74
%80 = call i32 @printf(ptr noundef @.str)
br label %81
81: ; preds = %79
%82 = load i32, ptr %5, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %5, align 4
br label %74, !llvm.loop !9
84: ; preds = %74
br label %101
85: ; preds = %64
%86 = load i32, ptr %8, align 4
%87 = icmp sgt i32 %86, 0
br i1 %87, label %88, label %100
88: ; preds = %85
store i32 0, ptr %5, align 4
br label %89
89: ; preds = %96, %88
%90 = load i32, ptr %5, align 4
%91 = load i32, ptr %8, align 4
%92 = call i32 @abs(i32 noundef %91) #3
%93 = icmp slt i32 %90, %92
br i1 %93, label %94, label %99
94: ; preds = %89
%95 = call i32 @printf(ptr noundef @.str.1)
br label %96
96: ; preds = %94
%97 = load i32, ptr %5, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %5, align 4
br label %89, !llvm.loop !10
99: ; preds = %89
br label %100
100: ; preds = %99, %85
br label %101
101: ; preds = %100, %84
%102 = getelementptr inbounds [2 x i16], ptr %9, i64 0, i64 0
%103 = load i16, ptr %102, align 2
%104 = sext i16 %103 to i32
%105 = getelementptr inbounds [2 x i16], ptr %10, i64 0, i64 0
%106 = load i16, ptr %105, align 2
%107 = sext i16 %106 to i32
%108 = sub nsw i32 %104, %107
store i32 %108, ptr %7, align 4
%109 = icmp slt i32 %108, 0
br i1 %109, label %110, label %122
110: ; preds = %101
store i32 0, ptr %5, align 4
br label %111
111: ; preds = %118, %110
%112 = load i32, ptr %5, align 4
%113 = load i32, ptr %7, align 4
%114 = call i32 @abs(i32 noundef %113) #3
%115 = icmp slt i32 %112, %114
br i1 %115, label %116, label %121
116: ; preds = %111
%117 = call i32 @printf(ptr noundef @.str.2)
br label %118
118: ; preds = %116
%119 = load i32, ptr %5, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %5, align 4
br label %111, !llvm.loop !11
121: ; preds = %111
br label %138
122: ; preds = %101
%123 = load i32, ptr %7, align 4
%124 = icmp sgt i32 %123, 0
br i1 %124, label %125, label %137
125: ; preds = %122
store i32 0, ptr %5, align 4
br label %126
126: ; preds = %133, %125
%127 = load i32, ptr %5, align 4
%128 = load i32, ptr %7, align 4
%129 = call i32 @abs(i32 noundef %128) #3
%130 = icmp slt i32 %127, %129
br i1 %130, label %131, label %136
131: ; preds = %126
%132 = call i32 @printf(ptr noundef @.str.3)
br label %133
133: ; preds = %131
%134 = load i32, ptr %5, align 4
%135 = add nsw i32 %134, 1
store i32 %135, ptr %5, align 4
br label %126, !llvm.loop !12
136: ; preds = %126
br label %137
137: ; preds = %136, %122
br label %138
138: ; preds = %137, %121
ret void
}
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(i32 noundef) #1
declare i32 @printf(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk82gsegs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"LEFT\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"RIGHT\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"UP\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"DOWN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @displayPathtoPrincess(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [2 x i16], align 2
%10 = alloca [2 x i16], align 2
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph2, label %68
.lr.ph2: ; preds = %2
br label %14
14: ; preds = %.lr.ph2, %62
store i32 0, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %61
.lr.ph: ; preds = %14
br label %18
18: ; preds = %.lr.ph, %55
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [101 x i8], ptr %19, i64 %21
%23 = load i32, ptr %6, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [101 x i8], ptr %22, i64 0, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 112
br i1 %28, label %29, label %36
29: ; preds = %18
%30 = load i32, ptr %5, align 4
%31 = trunc i32 %30 to i16
%32 = getelementptr inbounds [2 x i16], ptr %9, i64 0, i64 0
store i16 %31, ptr %32, align 2
%33 = load i32, ptr %6, align 4
%34 = trunc i32 %33 to i16
%35 = getelementptr inbounds [2 x i16], ptr %9, i64 0, i64 1
store i16 %34, ptr %35, align 2
br label %36
36: ; preds = %29, %18
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %5, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [101 x i8], ptr %37, i64 %39
%41 = load i32, ptr %6, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [101 x i8], ptr %40, i64 0, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 109
br i1 %46, label %47, label %54
47: ; preds = %36
%48 = load i32, ptr %5, align 4
%49 = trunc i32 %48 to i16
%50 = getelementptr inbounds [2 x i16], ptr %10, i64 0, i64 0
store i16 %49, ptr %50, align 2
%51 = load i32, ptr %6, align 4
%52 = trunc i32 %51 to i16
%53 = getelementptr inbounds [2 x i16], ptr %10, i64 0, i64 1
store i16 %52, ptr %53, align 2
br label %54
54: ; preds = %47, %36
br label %55
55: ; preds = %54
%56 = load i32, ptr %6, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %6, align 4
%58 = load i32, ptr %6, align 4
%59 = load i32, ptr %3, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %55
br label %61
61: ; preds = %._crit_edge, %14
br label %62
62: ; preds = %61
%63 = load i32, ptr %5, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %5, align 4
%65 = load i32, ptr %5, align 4
%66 = load i32, ptr %3, align 4
%67 = icmp slt i32 %65, %66
br i1 %67, label %14, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %62
br label %68
68: ; preds = %._crit_edge3, %2
%69 = getelementptr inbounds [2 x i16], ptr %9, i64 0, i64 1
%70 = load i16, ptr %69, align 2
%71 = sext i16 %70 to i32
%72 = getelementptr inbounds [2 x i16], ptr %10, i64 0, i64 1
%73 = load i16, ptr %72, align 2
%74 = sext i16 %73 to i32
%75 = sub nsw i32 %71, %74
store i32 %75, ptr %8, align 4
%76 = icmp slt i32 %75, 0
br i1 %76, label %77, label %92
77: ; preds = %68
store i32 0, ptr %5, align 4
%78 = load i32, ptr %5, align 4
%79 = load i32, ptr %8, align 4
%80 = call i32 @abs(i32 noundef %79) #3
%81 = icmp slt i32 %78, %80
br i1 %81, label %.lr.ph8, label %91
.lr.ph8: ; preds = %77
br label %82
82: ; preds = %.lr.ph8, %84
%83 = call i32 @printf(ptr noundef @.str)
br label %84
84: ; preds = %82
%85 = load i32, ptr %5, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %5, align 4
%87 = load i32, ptr %5, align 4
%88 = load i32, ptr %8, align 4
%89 = call i32 @abs(i32 noundef %88) #3
%90 = icmp slt i32 %87, %89
br i1 %90, label %82, label %._crit_edge9, !llvm.loop !9
._crit_edge9: ; preds = %84
br label %91
91: ; preds = %._crit_edge9, %77
br label %111
92: ; preds = %68
%93 = load i32, ptr %8, align 4
%94 = icmp sgt i32 %93, 0
br i1 %94, label %95, label %110
95: ; preds = %92
store i32 0, ptr %5, align 4
%96 = load i32, ptr %5, align 4
%97 = load i32, ptr %8, align 4
%98 = call i32 @abs(i32 noundef %97) #3
%99 = icmp slt i32 %96, %98
br i1 %99, label %.lr.ph5, label %109
.lr.ph5: ; preds = %95
br label %100
100: ; preds = %.lr.ph5, %102
%101 = call i32 @printf(ptr noundef @.str.1)
br label %102
102: ; preds = %100
%103 = load i32, ptr %5, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %5, align 4
%105 = load i32, ptr %5, align 4
%106 = load i32, ptr %8, align 4
%107 = call i32 @abs(i32 noundef %106) #3
%108 = icmp slt i32 %105, %107
br i1 %108, label %100, label %._crit_edge6, !llvm.loop !10
._crit_edge6: ; preds = %102
br label %109
109: ; preds = %._crit_edge6, %95
br label %110
110: ; preds = %109, %92
br label %111
111: ; preds = %110, %91
%112 = getelementptr inbounds [2 x i16], ptr %9, i64 0, i64 0
%113 = load i16, ptr %112, align 2
%114 = sext i16 %113 to i32
%115 = getelementptr inbounds [2 x i16], ptr %10, i64 0, i64 0
%116 = load i16, ptr %115, align 2
%117 = sext i16 %116 to i32
%118 = sub nsw i32 %114, %117
store i32 %118, ptr %7, align 4
%119 = icmp slt i32 %118, 0
br i1 %119, label %120, label %135
120: ; preds = %111
store i32 0, ptr %5, align 4
%121 = load i32, ptr %5, align 4
%122 = load i32, ptr %7, align 4
%123 = call i32 @abs(i32 noundef %122) #3
%124 = icmp slt i32 %121, %123
br i1 %124, label %.lr.ph14, label %134
.lr.ph14: ; preds = %120
br label %125
125: ; preds = %.lr.ph14, %127
%126 = call i32 @printf(ptr noundef @.str.2)
br label %127
127: ; preds = %125
%128 = load i32, ptr %5, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %5, align 4
%130 = load i32, ptr %5, align 4
%131 = load i32, ptr %7, align 4
%132 = call i32 @abs(i32 noundef %131) #3
%133 = icmp slt i32 %130, %132
br i1 %133, label %125, label %._crit_edge15, !llvm.loop !11
._crit_edge15: ; preds = %127
br label %134
134: ; preds = %._crit_edge15, %120
br label %154
135: ; preds = %111
%136 = load i32, ptr %7, align 4
%137 = icmp sgt i32 %136, 0
br i1 %137, label %138, label %153
138: ; preds = %135
store i32 0, ptr %5, align 4
%139 = load i32, ptr %5, align 4
%140 = load i32, ptr %7, align 4
%141 = call i32 @abs(i32 noundef %140) #3
%142 = icmp slt i32 %139, %141
br i1 %142, label %.lr.ph11, label %152
.lr.ph11: ; preds = %138
br label %143
143: ; preds = %.lr.ph11, %145
%144 = call i32 @printf(ptr noundef @.str.3)
br label %145
145: ; preds = %143
%146 = load i32, ptr %5, align 4
%147 = add nsw i32 %146, 1
store i32 %147, ptr %5, align 4
%148 = load i32, ptr %5, align 4
%149 = load i32, ptr %7, align 4
%150 = call i32 @abs(i32 noundef %149) #3
%151 = icmp slt i32 %148, %150
br i1 %151, label %143, label %._crit_edge12, !llvm.loop !12
._crit_edge12: ; preds = %145
br label %152
152: ; preds = %._crit_edge12, %138
br label %153
153: ; preds = %152, %135
br label %154
154: ; preds = %153, %134
ret void
}
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(i32 noundef) #1
declare i32 @printf(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmpll6wk_3t.c'
source_filename = "/tmp/tmpll6wk_3t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@nmea_find_tail.tail_sz = internal constant i32 5, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @nmea_find_tail(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
store ptr %13, ptr %7, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%14 = load ptr, ptr %4, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %19
16: ; preds = %3
%17 = load ptr, ptr %6, align 8
%18 = icmp ne ptr %17, null
br label %19
19: ; preds = %16, %3
%20 = phi i1 [ false, %3 ], [ %18, %16 ]
%21 = zext i1 %20 to i32
%22 = call i32 @assert(i32 noundef %21)
%23 = load ptr, ptr %6, align 8
store i32 -1, ptr %23, align 4
br label %24
24: ; preds = %93, %19
%25 = load ptr, ptr %4, align 8
%26 = load ptr, ptr %7, align 8
%27 = icmp ult ptr %25, %26
br i1 %27, label %28, label %98
28: ; preds = %24
%29 = load ptr, ptr %4, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 36, %31
br i1 %32, label %33, label %37
33: ; preds = %28
%34 = load i32, ptr %8, align 4
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %33
store ptr null, ptr %4, align 8
br label %98
37: ; preds = %33, %28
%38 = load ptr, ptr %4, align 8
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 42, %40
br i1 %41, label %42, label %81
42: ; preds = %37
%43 = load ptr, ptr %4, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 5
%45 = load ptr, ptr %7, align 8
%46 = icmp ule ptr %44, %45
br i1 %46, label %47, label %80
47: ; preds = %42
%48 = load ptr, ptr %4, align 8
%49 = getelementptr inbounds i8, ptr %48, i64 3
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp eq i32 13, %51
br i1 %52, label %53, label %80
53: ; preds = %47
%54 = load ptr, ptr %4, align 8
%55 = getelementptr inbounds i8, ptr %54, i64 4
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp eq i32 10, %57
br i1 %58, label %59, label %80
59: ; preds = %53
%60 = load ptr, ptr %4, align 8
%61 = getelementptr inbounds i8, ptr %60, i64 1
%62 = call i32 @nmea_atoi(ptr noundef %61, i32 noundef 2, i32 noundef 16)
%63 = load ptr, ptr %6, align 8
store i32 %62, ptr %63, align 4
%64 = load i32, ptr %5, align 4
%65 = load ptr, ptr %7, align 8
%66 = load ptr, ptr %4, align 8
%67 = getelementptr inbounds i8, ptr %66, i64 5
%68 = ptrtoint ptr %65 to i64
%69 = ptrtoint ptr %67 to i64
%70 = sub i64 %68, %69
%71 = trunc i64 %70 to i32
%72 = sub nsw i32 %64, %71
store i32 %72, ptr %8, align 4
%73 = load ptr, ptr %6, align 8
%74 = load i32, ptr %73, align 4
%75 = load i32, ptr %9, align 4
%76 = icmp ne i32 %74, %75
br i1 %76, label %77, label %79
77: ; preds = %59
%78 = load ptr, ptr %6, align 8
store i32 -1, ptr %78, align 4
store ptr null, ptr %4, align 8
br label %79
79: ; preds = %77, %59
br label %80
80: ; preds = %79, %53, %47, %42
br label %98
81: ; preds = %37
%82 = load i32, ptr %8, align 4
%83 = icmp ne i32 %82, 0
br i1 %83, label %84, label %90
84: ; preds = %81
%85 = load ptr, ptr %4, align 8
%86 = load i8, ptr %85, align 1
%87 = sext i8 %86 to i32
%88 = load i32, ptr %9, align 4
%89 = xor i32 %88, %87
store i32 %89, ptr %9, align 4
br label %90
90: ; preds = %84, %81
br label %91
91: ; preds = %90
br label %92
92: ; preds = %91
br label %93
93: ; preds = %92
%94 = load ptr, ptr %4, align 8
%95 = getelementptr inbounds i8, ptr %94, i32 1
store ptr %95, ptr %4, align 8
%96 = load i32, ptr %8, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %8, align 4
br label %24, !llvm.loop !6
98: ; preds = %80, %36, %24
%99 = load ptr, ptr %6, align 8
%100 = load i32, ptr %99, align 4
%101 = icmp slt i32 %100, 0
br i1 %101, label %102, label %106
102: ; preds = %98
%103 = load ptr, ptr %4, align 8
%104 = icmp ne ptr %103, null
br i1 %104, label %105, label %106
105: ; preds = %102
store i32 0, ptr %8, align 4
br label %106
106: ; preds = %105, %102, %98
%107 = load i32, ptr %8, align 4
ret i32 %107
}
declare i32 @assert(i32 noundef) #1
declare i32 @nmea_atoi(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpll6wk_3t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@nmea_find_tail.tail_sz = internal constant i32 5, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @nmea_find_tail(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
store ptr %13, ptr %7, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%14 = load ptr, ptr %4, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %19
16: ; preds = %3
%17 = load ptr, ptr %6, align 8
%18 = icmp ne ptr %17, null
br label %19
19: ; preds = %16, %3
%20 = phi i1 [ false, %3 ], [ %18, %16 ]
%21 = zext i1 %20 to i32
%22 = call i32 @assert(i32 noundef %21)
%23 = load ptr, ptr %6, align 8
store i32 -1, ptr %23, align 4
%24 = load ptr, ptr %4, align 8
%25 = load ptr, ptr %7, align 8
%26 = icmp ult ptr %24, %25
br i1 %26, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %19
br label %27
27: ; preds = %.lr.ph, %92
%28 = load ptr, ptr %4, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 36, %30
br i1 %31, label %32, label %36
32: ; preds = %27
%33 = load i32, ptr %8, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %32
store ptr null, ptr %4, align 8
br label %100
36: ; preds = %32, %27
%37 = load ptr, ptr %4, align 8
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp eq i32 42, %39
br i1 %40, label %41, label %80
41: ; preds = %36
%42 = load ptr, ptr %4, align 8
%43 = getelementptr inbounds i8, ptr %42, i64 5
%44 = load ptr, ptr %7, align 8
%45 = icmp ule ptr %43, %44
br i1 %45, label %46, label %79
46: ; preds = %41
%47 = load ptr, ptr %4, align 8
%48 = getelementptr inbounds i8, ptr %47, i64 3
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 13, %50
br i1 %51, label %52, label %79
52: ; preds = %46
%53 = load ptr, ptr %4, align 8
%54 = getelementptr inbounds i8, ptr %53, i64 4
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp eq i32 10, %56
br i1 %57, label %58, label %79
58: ; preds = %52
%59 = load ptr, ptr %4, align 8
%60 = getelementptr inbounds i8, ptr %59, i64 1
%61 = call i32 @nmea_atoi(ptr noundef %60, i32 noundef 2, i32 noundef 16)
%62 = load ptr, ptr %6, align 8
store i32 %61, ptr %62, align 4
%63 = load i32, ptr %5, align 4
%64 = load ptr, ptr %7, align 8
%65 = load ptr, ptr %4, align 8
%66 = getelementptr inbounds i8, ptr %65, i64 5
%67 = ptrtoint ptr %64 to i64
%68 = ptrtoint ptr %66 to i64
%69 = sub i64 %67, %68
%70 = trunc i64 %69 to i32
%71 = sub nsw i32 %63, %70
store i32 %71, ptr %8, align 4
%72 = load ptr, ptr %6, align 8
%73 = load i32, ptr %72, align 4
%74 = load i32, ptr %9, align 4
%75 = icmp ne i32 %73, %74
br i1 %75, label %76, label %78
76: ; preds = %58
%77 = load ptr, ptr %6, align 8
store i32 -1, ptr %77, align 4
store ptr null, ptr %4, align 8
br label %78
78: ; preds = %76, %58
br label %79
79: ; preds = %78, %52, %46, %41
br label %100
80: ; preds = %36
%81 = load i32, ptr %8, align 4
%82 = icmp ne i32 %81, 0
br i1 %82, label %83, label %89
83: ; preds = %80
%84 = load ptr, ptr %4, align 8
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = load i32, ptr %9, align 4
%88 = xor i32 %87, %86
store i32 %88, ptr %9, align 4
br label %89
89: ; preds = %83, %80
br label %90
90: ; preds = %89
br label %91
91: ; preds = %90
br label %92
92: ; preds = %91
%93 = load ptr, ptr %4, align 8
%94 = getelementptr inbounds i8, ptr %93, i32 1
store ptr %94, ptr %4, align 8
%95 = load i32, ptr %8, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %8, align 4
%97 = load ptr, ptr %4, align 8
%98 = load ptr, ptr %7, align 8
%99 = icmp ult ptr %97, %98
br i1 %99, label %27, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %92
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %19
br label %100
100: ; preds = %.loopexit, %79, %35
%101 = load ptr, ptr %6, align 8
%102 = load i32, ptr %101, align 4
%103 = icmp slt i32 %102, 0
br i1 %103, label %104, label %108
104: ; preds = %100
%105 = load ptr, ptr %4, align 8
%106 = icmp ne ptr %105, null
br i1 %106, label %107, label %108
107: ; preds = %104
store i32 0, ptr %8, align 4
br label %108
108: ; preds = %107, %104, %100
%109 = load i32, ptr %8, align 4
ret i32 %109
}
declare i32 @assert(i32 noundef) #1
declare i32 @nmea_atoi(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqw8bh8az.c'
source_filename = "/tmp/tmpqw8bh8az.c"
target datalayout = "e-m:e-p270: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.timespec = type { i32 }
@CLOCK_MONOTONIC = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_current_time_msec() #0 {
%1 = alloca %struct.timespec, align 4
%2 = load i32, ptr @CLOCK_MONOTONIC, align 4
%3 = call i32 @clock_gettime(i32 noundef %2, ptr noundef %1)
%4 = call i32 @timespec_to_msec(ptr noundef %1)
ret i32 %4
}
declare i32 @clock_gettime(i32 noundef, ptr noundef) #1
declare i32 @timespec_to_msec(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqw8bh8az.c"
target datalayout = "e-m:e-p270: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.timespec = type { i32 }
@CLOCK_MONOTONIC = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_current_time_msec() #0 {
%1 = alloca %struct.timespec, align 4
%2 = load i32, ptr @CLOCK_MONOTONIC, align 4
%3 = call i32 @clock_gettime(i32 noundef %2, ptr noundef %1)
%4 = call i32 @timespec_to_msec(ptr noundef %1)
ret i32 %4
}
declare i32 @clock_gettime(i32 noundef, ptr noundef) #1
declare i32 @timespec_to_msec(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyvfjbi1m.c'
source_filename = "/tmp/tmpyvfjbi1m.c"
target datalayout = "e-m:e-p270: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/tmpyvfjbi1m.c"
target datalayout = "e-m:e-p270: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/tmp7o6okt07.c'
source_filename = "/tmp/tmp7o6okt07.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %29, %2
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %32
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %5, align 4
%15 = sub nsw i32 %14, 1
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, 1
%19 = call i32 @get_max(ptr noundef %12, i32 noundef %13, i32 noundef %15, i32 noundef %16, i32 noundef %18)
store i32 %19, ptr %6, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp ne i32 %20, %21
br i1 %22, label %23, label %28
23: ; preds = %11
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %6, align 4
%27 = call i32 @swap(ptr noundef %24, i32 noundef %25, i32 noundef %26)
br label %28
28: ; preds = %23, %11
br label %29
29: ; preds = %28
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, 2
store i32 %31, ptr %5, align 4
br label %7, !llvm.loop !6
32: ; preds = %7
ret void
}
declare i32 @get_max(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @swap(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7o6okt07.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %34
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %28
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %5, align 4
%14 = sub nsw i32 %13, 1
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %5, align 4
%17 = add nsw i32 %16, 1
%18 = call i32 @get_max(ptr noundef %11, i32 noundef %12, i32 noundef %14, i32 noundef %15, i32 noundef %17)
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp ne i32 %19, %20
br i1 %21, label %22, label %27
22: ; preds = %10
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %6, align 4
%26 = call i32 @swap(ptr noundef %23, i32 noundef %24, i32 noundef %25)
br label %27
27: ; preds = %22, %10
br label %28
28: ; preds = %27
%29 = load i32, ptr %5, align 4
%30 = add nsw i32 %29, 2
store i32 %30, ptr %5, align 4
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %4, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %2
ret void
}
declare i32 @get_max(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @swap(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpwtq2fwfg.c'
source_filename = "/tmp/tmpwtq2fwfg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @Sys_GetCPUSpeed() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = call i32 @GetClockTicks(ptr noundef %1)
%4 = call i32 @sleep(i32 noundef 1)
%5 = call i32 @GetClockTicks(ptr noundef %2)
%6 = load double, ptr %2, align 8
%7 = load double, ptr %1, align 8
%8 = fsub double %6, %7
%9 = fdiv double %8, 1.000000e+06
%10 = fptrunc double %9 to float
ret float %10
}
declare i32 @GetClockTicks(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwtq2fwfg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @Sys_GetCPUSpeed() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = call i32 @GetClockTicks(ptr noundef %1)
%4 = call i32 @sleep(i32 noundef 1)
%5 = call i32 @GetClockTicks(ptr noundef %2)
%6 = load double, ptr %2, align 8
%7 = load double, ptr %1, align 8
%8 = fsub double %6, %7
%9 = fdiv double %8, 1.000000e+06
%10 = fptrunc double %9 to float
ret float %10
}
declare i32 @GetClockTicks(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3jwswu4r.c'
source_filename = "/tmp/tmp3jwswu4r.c"
target datalayout = "e-m:e-p270: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/tmp3jwswu4r.c"
target datalayout = "e-m:e-p270: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/tmpkrp32w22.c'
source_filename = "/tmp/tmpkrp32w22.c"
target datalayout = "e-m:e-p270: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.tm = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rcsdatetotime(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.tm, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @rcsdatetotm(ptr noundef %7, ptr noundef %4)
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %1
%12 = load i32, ptr %6, align 4
store i32 %12, ptr %2, align 4
br label %16
13: ; preds = %1
%14 = call i32 @timegm(ptr noundef %4)
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %5, align 4
store i32 %15, ptr %2, align 4
br label %16
16: ; preds = %13, %11
%17 = load i32, ptr %2, align 4
ret i32 %17
}
declare i32 @rcsdatetotm(ptr noundef, ptr noundef) #1
declare i32 @timegm(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkrp32w22.c"
target datalayout = "e-m:e-p270: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.tm = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rcsdatetotime(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.tm, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @rcsdatetotm(ptr noundef %7, ptr noundef %4)
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %1
%12 = load i32, ptr %6, align 4
store i32 %12, ptr %2, align 4
br label %16
13: ; preds = %1
%14 = call i32 @timegm(ptr noundef %4)
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %5, align 4
store i32 %15, ptr %2, align 4
br label %16
16: ; preds = %13, %11
%17 = load i32, ptr %2, align 4
ret i32 %17
}
declare i32 @rcsdatetotm(ptr noundef, ptr noundef) #1
declare i32 @timegm(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyecjhjzp.c'
source_filename = "/tmp/tmpyecjhjzp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g0(double noundef %0, ptr noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca ptr, align 8
store double %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = fsub double %5, 4.000000e+00
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds double, ptr %7, i64 25
%9 = load double, ptr %8, align 8
%10 = fsub double %9, 1.000000e+00
%11 = load double, ptr %3, align 8
%12 = fsub double %11, 4.000000e+00
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds double, ptr %13, i64 24
%15 = load double, ptr %14, align 8
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds double, ptr %16, i64 24
%18 = load double, ptr %17, align 8
%19 = fmul double %15, %18
%20 = call double @sqrt(double noundef %19) #3
%21 = fneg double %20
%22 = load double, ptr %3, align 8
%23 = fsub double %22, 4.000000e+00
%24 = fmul double %21, %23
%25 = call double @exp(double noundef %24) #3
%26 = fsub double %25, 1.000000e+00
%27 = load ptr, ptr %4, align 8
%28 = getelementptr inbounds double, ptr %27, i64 24
%29 = load double, ptr %28, align 8
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds double, ptr %30, i64 24
%32 = load double, ptr %31, align 8
%33 = fmul double %29, %32
%34 = call double @sqrt(double noundef %33) #3
%35 = fdiv double %26, %34
%36 = fadd double %12, %35
%37 = call double @llvm.fmuladd.f64(double %10, double %36, double %6)
ret double %37
}
; Function Attrs: nounwind
declare double @exp(double noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyecjhjzp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g0(double noundef %0, ptr noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca ptr, align 8
store double %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = fsub double %5, 4.000000e+00
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds double, ptr %7, i64 25
%9 = load double, ptr %8, align 8
%10 = fsub double %9, 1.000000e+00
%11 = load double, ptr %3, align 8
%12 = fsub double %11, 4.000000e+00
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds double, ptr %13, i64 24
%15 = load double, ptr %14, align 8
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds double, ptr %16, i64 24
%18 = load double, ptr %17, align 8
%19 = fmul double %15, %18
%20 = call double @sqrt(double noundef %19) #3
%21 = fneg double %20
%22 = load double, ptr %3, align 8
%23 = fsub double %22, 4.000000e+00
%24 = fmul double %21, %23
%25 = call double @exp(double noundef %24) #3
%26 = fsub double %25, 1.000000e+00
%27 = load ptr, ptr %4, align 8
%28 = getelementptr inbounds double, ptr %27, i64 24
%29 = load double, ptr %28, align 8
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds double, ptr %30, i64 24
%32 = load double, ptr %31, align 8
%33 = fmul double %29, %32
%34 = call double @sqrt(double noundef %33) #3
%35 = fdiv double %26, %34
%36 = fadd double %12, %35
%37 = call double @llvm.fmuladd.f64(double %10, double %36, double %6)
ret double %37
}
; Function Attrs: nounwind
declare double @exp(double noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf6expn4z.c'
source_filename = "/tmp/tmpf6expn4z.c"
target datalayout = "e-m:e-p270: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.f = private unnamed_addr constant [5 x i32] [i32 0, i32 1, i32 0, i32 0, i32 0], align 16
@.str = private unnamed_addr constant [8 x i8] c"sum=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [5 x i32], align 16
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.f, i64 20, i1 false)
store i32 2, ptr %2, align 4
br label %5
5: ; preds = %23, %0
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 5
br i1 %7, label %8, label %26
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = sub nsw i32 %9, 1
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %11
%13 = load i32, ptr %12, align 4
%14 = load i32, ptr %2, align 4
%15 = sub nsw i32 %14, 2
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %16
%18 = load i32, ptr %17, align 4
%19 = add nsw i32 %13, %18
%20 = load i32, ptr %2, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %21
store i32 %19, ptr %22, align 4
br label %23
23: ; preds = %8
%24 = load i32, ptr %2, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %2, align 4
br label %5, !llvm.loop !6
26: ; preds = %5
store i32 0, ptr %2, align 4
br label %27
27: ; preds = %37, %26
%28 = load i32, ptr %2, align 4
%29 = icmp slt i32 %28, 5
br i1 %29, label %30, label %40
30: ; preds = %27
%31 = load i32, ptr %2, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %32
%34 = load i32, ptr %33, align 4
%35 = load i32, ptr %4, align 4
%36 = add nsw i32 %35, %34
store i32 %36, ptr %4, align 4
br label %37
37: ; preds = %30
%38 = load i32, ptr %2, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %2, align 4
br label %27, !llvm.loop !8
40: ; preds = %27
%41 = load i32, ptr %4, align 4
%42 = call i32 @printf(ptr noundef @.str, i32 noundef %41)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf6expn4z.c"
target datalayout = "e-m:e-p270: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.f = private unnamed_addr constant [5 x i32] [i32 0, i32 1, i32 0, i32 0, i32 0], align 16
@.str = private unnamed_addr constant [8 x i8] c"sum=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [5 x i32], align 16
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.f, i64 20, i1 false)
store i32 2, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 5
br i1 %6, label %.lr.ph, label %27
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %22
%8 = load i32, ptr %2, align 4
%9 = sub nsw i32 %8, 1
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %10
%12 = load i32, ptr %11, align 4
%13 = load i32, ptr %2, align 4
%14 = sub nsw i32 %13, 2
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %15
%17 = load i32, ptr %16, align 4
%18 = add nsw i32 %12, %17
%19 = load i32, ptr %2, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %20
store i32 %18, ptr %21, align 4
br label %22
22: ; preds = %7
%23 = load i32, ptr %2, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %2, align 4
%25 = load i32, ptr %2, align 4
%26 = icmp slt i32 %25, 5
br i1 %26, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %27
27: ; preds = %._crit_edge, %0
store i32 0, ptr %2, align 4
%28 = load i32, ptr %2, align 4
%29 = icmp slt i32 %28, 5
br i1 %29, label %.lr.ph2, label %42
.lr.ph2: ; preds = %27
br label %30
30: ; preds = %.lr.ph2, %37
%31 = load i32, ptr %2, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %32
%34 = load i32, ptr %33, align 4
%35 = load i32, ptr %4, align 4
%36 = add nsw i32 %35, %34
store i32 %36, ptr %4, align 4
br label %37
37: ; preds = %30
%38 = load i32, ptr %2, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %2, align 4
%40 = load i32, ptr %2, align 4
%41 = icmp slt i32 %40, 5
br i1 %41, label %30, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %37
br label %42
42: ; preds = %._crit_edge3, %27
%43 = load i32, ptr %4, align 4
%44 = call i32 @printf(ptr noundef @.str, i32 noundef %43)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp6vq76v9k.c'
source_filename = "/tmp/tmp6vq76v9k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%c%c%c%c\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"PowerPC\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @strlen(ptr noundef @.str.1)
%3 = add nsw i32 %2, 1
%4 = ashr i32 %3, 24
%5 = and i32 %4, 255
%6 = call i32 @strlen(ptr noundef @.str.1)
%7 = add nsw i32 %6, 1
%8 = ashr i32 %7, 16
%9 = and i32 %8, 255
%10 = call i32 @strlen(ptr noundef @.str.1)
%11 = add nsw i32 %10, 1
%12 = ashr i32 %11, 8
%13 = and i32 %12, 255
%14 = call i32 @strlen(ptr noundef @.str.1)
%15 = add nsw i32 %14, 1
%16 = and i32 %15, 255
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %9, i32 noundef %13, i32 noundef %16)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 24)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 0, i32 noundef 0, i32 noundef 18, i32 noundef 117)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 0)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 255, i32 noundef 255, i32 noundef 255, i32 noundef 255)
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 0, i32 noundef 192, i32 noundef 0, i32 noundef 0)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 255, i32 noundef 255, i32 noundef 255, i32 noundef 255)
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 255, i32 noundef 255, i32 noundef 255, i32 noundef 255)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 255, i32 noundef 255, i32 noundef 255, i32 noundef 255)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 0, i32 noundef 0, i32 noundef 64, i32 noundef 0)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6vq76v9k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%c%c%c%c\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"PowerPC\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @strlen(ptr noundef @.str.1)
%3 = add nsw i32 %2, 1
%4 = ashr i32 %3, 24
%5 = and i32 %4, 255
%6 = call i32 @strlen(ptr noundef @.str.1)
%7 = add nsw i32 %6, 1
%8 = ashr i32 %7, 16
%9 = and i32 %8, 255
%10 = call i32 @strlen(ptr noundef @.str.1)
%11 = add nsw i32 %10, 1
%12 = ashr i32 %11, 8
%13 = and i32 %12, 255
%14 = call i32 @strlen(ptr noundef @.str.1)
%15 = add nsw i32 %14, 1
%16 = and i32 %15, 255
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %9, i32 noundef %13, i32 noundef %16)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 24)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 0, i32 noundef 0, i32 noundef 18, i32 noundef 117)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 0)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 255, i32 noundef 255, i32 noundef 255, i32 noundef 255)
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 0, i32 noundef 192, i32 noundef 0, i32 noundef 0)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 255, i32 noundef 255, i32 noundef 255, i32 noundef 255)
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 255, i32 noundef 255, i32 noundef 255, i32 noundef 255)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 255, i32 noundef 255, i32 noundef 255, i32 noundef 255)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 0, i32 noundef 0, i32 noundef 64, i32 noundef 0)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprnenjb2k.c'
source_filename = "/tmp/tmprnenjb2k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @safe_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @free(ptr noundef %6)
br label %8
8: ; preds = %5, %1
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/tmprnenjb2k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @safe_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @free(ptr noundef %6)
br label %8
8: ; preds = %5, %1
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/tmpcsx2hje0.c'
source_filename = "/tmp/tmpcsx2hje0.c"
target datalayout = "e-m:e-p270: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/tmpcsx2hje0.c"
target datalayout = "e-m:e-p270: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/tmp8hyihaz0.c'
source_filename = "/tmp/tmp8hyihaz0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strCRC32(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %4, align 4
%8 = call i32 @strCRC32add(i32 noundef 0, ptr noundef %6, i32 noundef %7)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = call i32 @strCRC32end(i32 noundef %9, i32 noundef %10)
store i32 %11, ptr %5, align 4
%12 = load i32, ptr %5, align 4
ret i32 %12
}
declare i32 @strCRC32add(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strCRC32end(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/tmp8hyihaz0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strCRC32(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %4, align 4
%8 = call i32 @strCRC32add(i32 noundef 0, ptr noundef %6, i32 noundef %7)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = call i32 @strCRC32end(i32 noundef %9, i32 noundef %10)
store i32 %11, ptr %5, align 4
%12 = load i32, ptr %5, align 4
ret i32 %12
}
declare i32 @strCRC32add(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strCRC32end(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/tmpkn99s7ez.c'
source_filename = "/tmp/tmpkn99s7ez.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [36 x i8] c"Fail to alocate memory of %d bytes\0A\00", align 1
@.str.1 = private unnamed_addr constant [46 x i8] c"Memory buffer is not aligned by %d bytes: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @swap_mem(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %8, align 4
%17 = mul nsw i32 %16, %15
store i32 %17, ptr %8, align 4
%18 = load i32, ptr %8, align 4
%19 = ashr i32 %18, 1
store i32 %19, ptr %13, align 4
%20 = load ptr, ptr %10, align 8
%21 = load ptr, ptr %11, align 8
%22 = icmp eq ptr %20, %21
br i1 %22, label %23, label %91
23: ; preds = %5
%24 = load i32, ptr %7, align 4
%25 = call ptr @malloc(i32 noundef %24)
store ptr %25, ptr %14, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %31, label %27
27: ; preds = %23
%28 = load i32, ptr @stderr, align 4
%29 = load i32, ptr %7, align 4
%30 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %28, ptr noundef @.str, i32 noundef %29)
store i32 -1, ptr %6, align 4
br label %152
31: ; preds = %23
br label %32
32: ; preds = %75, %31
%33 = load i32, ptr %8, align 4
%34 = load i32, ptr %9, align 4
%35 = sub nsw i32 %34, %33
store i32 %35, ptr %9, align 4
%36 = icmp slt i32 %35, 0
%37 = xor i1 %36, true
br i1 %37, label %38, label %88
38: ; preds = %32
%39 = load i32, ptr %8, align 4
%40 = load i32, ptr %7, align 4
%41 = sub nsw i32 %39, %40
%42 = load ptr, ptr %11, align 8
%43 = sext i32 %41 to i64
%44 = getelementptr inbounds i8, ptr %42, i64 %43
store ptr %44, ptr %11, align 8
store i32 0, ptr %12, align 4
br label %45
45: ; preds = %71, %38
%46 = load i32, ptr %12, align 4
%47 = load i32, ptr %13, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %49, label %75
49: ; preds = %45
%50 = load ptr, ptr %14, align 8
%51 = load ptr, ptr %10, align 8
%52 = load i32, ptr %7, align 4
%53 = call i32 @memcpy(ptr noundef %50, ptr noundef %51, i32 noundef %52)
%54 = load ptr, ptr %10, align 8
%55 = load ptr, ptr %11, align 8
%56 = load i32, ptr %7, align 4
%57 = call i32 @memcpy(ptr noundef %54, ptr noundef %55, i32 noundef %56)
%58 = load ptr, ptr %11, align 8
%59 = load ptr, ptr %14, align 8
%60 = load i32, ptr %7, align 4
%61 = call i32 @memcpy(ptr noundef %58, ptr noundef %59, i32 noundef %60)
%62 = load i32, ptr %7, align 4
%63 = load ptr, ptr %10, align 8
%64 = sext i32 %62 to i64
%65 = getelementptr inbounds i8, ptr %63, i64 %64
store ptr %65, ptr %10, align 8
%66 = load i32, ptr %7, align 4
%67 = load ptr, ptr %11, align 8
%68 = sext i32 %66 to i64
%69 = sub i64 0, %68
%70 = getelementptr inbounds i8, ptr %67, i64 %69
store ptr %70, ptr %11, align 8
br label %71
71: ; preds = %49
%72 = load i32, ptr %7, align 4
%73 = load i32, ptr %12, align 4
%74 = add nsw i32 %73, %72
store i32 %74, ptr %12, align 4
br label %45, !llvm.loop !6
75: ; preds = %45
%76 = load i32, ptr %8, align 4
%77 = load i32, ptr %13, align 4
%78 = sub nsw i32 %76, %77
%79 = load ptr, ptr %10, align 8
%80 = sext i32 %78 to i64
%81 = getelementptr inbounds i8, ptr %79, i64 %80
store ptr %81, ptr %10, align 8
%82 = load i32, ptr %13, align 4
%83 = load i32, ptr %7, align 4
%84 = add nsw i32 %82, %83
%85 = load ptr, ptr %11, align 8
%86 = sext i32 %84 to i64
%87 = getelementptr inbounds i8, ptr %85, i64 %86
store ptr %87, ptr %11, align 8
br label %32, !llvm.loop !8
88: ; preds = %32
%89 = load ptr, ptr %14, align 8
%90 = call i32 @free(ptr noundef %89)
br label %141
91: ; preds = %5
br label %92
92: ; preds = %127, %91
%93 = load i32, ptr %8, align 4
%94 = load i32, ptr %9, align 4
%95 = sub nsw i32 %94, %93
store i32 %95, ptr %9, align 4
%96 = icmp slt i32 %95, 0
%97 = xor i1 %96, true
br i1 %97, label %98, label %140
98: ; preds = %92
%99 = load i32, ptr %8, align 4
%100 = load i32, ptr %7, align 4
%101 = sub nsw i32 %99, %100
%102 = load ptr, ptr %11, align 8
%103 = sext i32 %101 to i64
%104 = getelementptr inbounds i8, ptr %102, i64 %103
store ptr %104, ptr %11, align 8
store i32 0, ptr %12, align 4
br label %105
105: ; preds = %123, %98
%106 = load i32, ptr %12, align 4
%107 = load i32, ptr %13, align 4
%108 = icmp slt i32 %106, %107
br i1 %108, label %109, label %127
109: ; preds = %105
%110 = load ptr, ptr %11, align 8
%111 = load ptr, ptr %10, align 8
%112 = load i32, ptr %7, align 4
%113 = call i32 @memcpy(ptr noundef %110, ptr noundef %111, i32 noundef %112)
%114 = load i32, ptr %7, align 4
%115 = load ptr, ptr %10, align 8
%116 = sext i32 %114 to i64
%117 = getelementptr inbounds i8, ptr %115, i64 %116
store ptr %117, ptr %10, align 8
%118 = load i32, ptr %7, align 4
%119 = load ptr, ptr %11, align 8
%120 = sext i32 %118 to i64
%121 = sub i64 0, %120
%122 = getelementptr inbounds i8, ptr %119, i64 %121
store ptr %122, ptr %11, align 8
br label %123
123: ; preds = %109
%124 = load i32, ptr %7, align 4
%125 = load i32, ptr %12, align 4
%126 = add nsw i32 %125, %124
store i32 %126, ptr %12, align 4
br label %105, !llvm.loop !9
127: ; preds = %105
%128 = load i32, ptr %8, align 4
%129 = load i32, ptr %13, align 4
%130 = sub nsw i32 %128, %129
%131 = load ptr, ptr %10, align 8
%132 = sext i32 %130 to i64
%133 = getelementptr inbounds i8, ptr %131, i64 %132
store ptr %133, ptr %10, align 8
%134 = load i32, ptr %13, align 4
%135 = load i32, ptr %7, align 4
%136 = add nsw i32 %134, %135
%137 = load ptr, ptr %11, align 8
%138 = sext i32 %136 to i64
%139 = getelementptr inbounds i8, ptr %137, i64 %138
store ptr %139, ptr %11, align 8
br label %92, !llvm.loop !10
140: ; preds = %92
br label %141
141: ; preds = %140, %88
%142 = load i32, ptr %8, align 4
%143 = load i32, ptr %9, align 4
%144 = add nsw i32 %143, %142
store i32 %144, ptr %9, align 4
%145 = icmp sgt i32 %144, 0
br i1 %145, label %146, label %151
146: ; preds = %141
%147 = load i32, ptr @stderr, align 4
%148 = load i32, ptr %8, align 4
%149 = load i32, ptr %9, align 4
%150 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %147, ptr noundef @.str.1, i32 noundef %148, i32 noundef %149)
store i32 1, ptr %6, align 4
br label %152
151: ; preds = %141
store i32 0, ptr %6, align 4
br label %152
152: ; preds = %151, %146, %27
%153 = load i32, ptr %6, align 4
ret i32 %153
}
declare ptr @malloc(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ...) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkn99s7ez.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [36 x i8] c"Fail to alocate memory of %d bytes\0A\00", align 1
@.str.1 = private unnamed_addr constant [46 x i8] c"Memory buffer is not aligned by %d bytes: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @swap_mem(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %8, align 4
%17 = mul nsw i32 %16, %15
store i32 %17, ptr %8, align 4
%18 = load i32, ptr %8, align 4
%19 = ashr i32 %18, 1
store i32 %19, ptr %13, align 4
%20 = load ptr, ptr %10, align 8
%21 = load ptr, ptr %11, align 8
%22 = icmp eq ptr %20, %21
br i1 %22, label %23, label %97
23: ; preds = %5
%24 = load i32, ptr %7, align 4
%25 = call ptr @malloc(i32 noundef %24)
store ptr %25, ptr %14, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %31, label %27
27: ; preds = %23
%28 = load i32, ptr @stderr, align 4
%29 = load i32, ptr %7, align 4
%30 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %28, ptr noundef @.str, i32 noundef %29)
store i32 -1, ptr %6, align 4
br label %164
31: ; preds = %23
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %9, align 4
%34 = sub nsw i32 %33, %32
store i32 %34, ptr %9, align 4
%35 = icmp slt i32 %34, 0
%36 = xor i1 %35, true
br i1 %36, label %.lr.ph8, label %94
.lr.ph8: ; preds = %31
br label %37
37: ; preds = %.lr.ph8, %76
%38 = load i32, ptr %8, align 4
%39 = load i32, ptr %7, align 4
%40 = sub nsw i32 %38, %39
%41 = load ptr, ptr %11, align 8
%42 = sext i32 %40 to i64
%43 = getelementptr inbounds i8, ptr %41, i64 %42
store ptr %43, ptr %11, align 8
store i32 0, ptr %12, align 4
%44 = load i32, ptr %12, align 4
%45 = load i32, ptr %13, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %.lr.ph5, label %76
.lr.ph5: ; preds = %37
br label %47
47: ; preds = %.lr.ph5, %69
%48 = load ptr, ptr %14, align 8
%49 = load ptr, ptr %10, align 8
%50 = load i32, ptr %7, align 4
%51 = call i32 @memcpy(ptr noundef %48, ptr noundef %49, i32 noundef %50)
%52 = load ptr, ptr %10, align 8
%53 = load ptr, ptr %11, align 8
%54 = load i32, ptr %7, align 4
%55 = call i32 @memcpy(ptr noundef %52, ptr noundef %53, i32 noundef %54)
%56 = load ptr, ptr %11, align 8
%57 = load ptr, ptr %14, align 8
%58 = load i32, ptr %7, align 4
%59 = call i32 @memcpy(ptr noundef %56, ptr noundef %57, i32 noundef %58)
%60 = load i32, ptr %7, align 4
%61 = load ptr, ptr %10, align 8
%62 = sext i32 %60 to i64
%63 = getelementptr inbounds i8, ptr %61, i64 %62
store ptr %63, ptr %10, align 8
%64 = load i32, ptr %7, align 4
%65 = load ptr, ptr %11, align 8
%66 = sext i32 %64 to i64
%67 = sub i64 0, %66
%68 = getelementptr inbounds i8, ptr %65, i64 %67
store ptr %68, ptr %11, align 8
br label %69
69: ; preds = %47
%70 = load i32, ptr %7, align 4
%71 = load i32, ptr %12, align 4
%72 = add nsw i32 %71, %70
store i32 %72, ptr %12, align 4
%73 = load i32, ptr %12, align 4
%74 = load i32, ptr %13, align 4
%75 = icmp slt i32 %73, %74
br i1 %75, label %47, label %._crit_edge6, !llvm.loop !6
._crit_edge6: ; preds = %69
br label %76
76: ; preds = %._crit_edge6, %37
%77 = load i32, ptr %8, align 4
%78 = load i32, ptr %13, align 4
%79 = sub nsw i32 %77, %78
%80 = load ptr, ptr %10, align 8
%81 = sext i32 %79 to i64
%82 = getelementptr inbounds i8, ptr %80, i64 %81
store ptr %82, ptr %10, align 8
%83 = load i32, ptr %13, align 4
%84 = load i32, ptr %7, align 4
%85 = add nsw i32 %83, %84
%86 = load ptr, ptr %11, align 8
%87 = sext i32 %85 to i64
%88 = getelementptr inbounds i8, ptr %86, i64 %87
store ptr %88, ptr %11, align 8
%89 = load i32, ptr %8, align 4
%90 = load i32, ptr %9, align 4
%91 = sub nsw i32 %90, %89
store i32 %91, ptr %9, align 4
%92 = icmp slt i32 %91, 0
%93 = xor i1 %92, true
br i1 %93, label %37, label %._crit_edge9, !llvm.loop !8
._crit_edge9: ; preds = %76
br label %94
94: ; preds = %._crit_edge9, %31
%95 = load ptr, ptr %14, align 8
%96 = call i32 @free(ptr noundef %95)
br label %153
97: ; preds = %5
%98 = load i32, ptr %8, align 4
%99 = load i32, ptr %9, align 4
%100 = sub nsw i32 %99, %98
store i32 %100, ptr %9, align 4
%101 = icmp slt i32 %100, 0
%102 = xor i1 %101, true
br i1 %102, label %.lr.ph2, label %152
.lr.ph2: ; preds = %97
br label %103
103: ; preds = %.lr.ph2, %134
%104 = load i32, ptr %8, align 4
%105 = load i32, ptr %7, align 4
%106 = sub nsw i32 %104, %105
%107 = load ptr, ptr %11, align 8
%108 = sext i32 %106 to i64
%109 = getelementptr inbounds i8, ptr %107, i64 %108
store ptr %109, ptr %11, align 8
store i32 0, ptr %12, align 4
%110 = load i32, ptr %12, align 4
%111 = load i32, ptr %13, align 4
%112 = icmp slt i32 %110, %111
br i1 %112, label %.lr.ph, label %134
.lr.ph: ; preds = %103
br label %113
113: ; preds = %.lr.ph, %127
%114 = load ptr, ptr %11, align 8
%115 = load ptr, ptr %10, align 8
%116 = load i32, ptr %7, align 4
%117 = call i32 @memcpy(ptr noundef %114, ptr noundef %115, i32 noundef %116)
%118 = load i32, ptr %7, align 4
%119 = load ptr, ptr %10, align 8
%120 = sext i32 %118 to i64
%121 = getelementptr inbounds i8, ptr %119, i64 %120
store ptr %121, ptr %10, align 8
%122 = load i32, ptr %7, align 4
%123 = load ptr, ptr %11, align 8
%124 = sext i32 %122 to i64
%125 = sub i64 0, %124
%126 = getelementptr inbounds i8, ptr %123, i64 %125
store ptr %126, ptr %11, align 8
br label %127
127: ; preds = %113
%128 = load i32, ptr %7, align 4
%129 = load i32, ptr %12, align 4
%130 = add nsw i32 %129, %128
store i32 %130, ptr %12, align 4
%131 = load i32, ptr %12, align 4
%132 = load i32, ptr %13, align 4
%133 = icmp slt i32 %131, %132
br i1 %133, label %113, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %127
br label %134
134: ; preds = %._crit_edge, %103
%135 = load i32, ptr %8, align 4
%136 = load i32, ptr %13, align 4
%137 = sub nsw i32 %135, %136
%138 = load ptr, ptr %10, align 8
%139 = sext i32 %137 to i64
%140 = getelementptr inbounds i8, ptr %138, i64 %139
store ptr %140, ptr %10, align 8
%141 = load i32, ptr %13, align 4
%142 = load i32, ptr %7, align 4
%143 = add nsw i32 %141, %142
%144 = load ptr, ptr %11, align 8
%145 = sext i32 %143 to i64
%146 = getelementptr inbounds i8, ptr %144, i64 %145
store ptr %146, ptr %11, align 8
%147 = load i32, ptr %8, align 4
%148 = load i32, ptr %9, align 4
%149 = sub nsw i32 %148, %147
store i32 %149, ptr %9, align 4
%150 = icmp slt i32 %149, 0
%151 = xor i1 %150, true
br i1 %151, label %103, label %._crit_edge3, !llvm.loop !10
._crit_edge3: ; preds = %134
br label %152
152: ; preds = %._crit_edge3, %97
br label %153
153: ; preds = %152, %94
%154 = load i32, ptr %8, align 4
%155 = load i32, ptr %9, align 4
%156 = add nsw i32 %155, %154
store i32 %156, ptr %9, align 4
%157 = icmp sgt i32 %156, 0
br i1 %157, label %158, label %163
158: ; preds = %153
%159 = load i32, ptr @stderr, align 4
%160 = load i32, ptr %8, align 4
%161 = load i32, ptr %9, align 4
%162 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %159, ptr noundef @.str.1, i32 noundef %160, i32 noundef %161)
store i32 1, ptr %6, align 4
br label %164
163: ; preds = %153
store i32 0, ptr %6, align 4
br label %164
164: ; preds = %163, %158, %27
%165 = load i32, ptr %6, align 4
ret i32 %165
}
declare ptr @malloc(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ...) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpozowdvxg.c'
source_filename = "/tmp/tmpozowdvxg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PAPIF_GET_VIRT_CYC(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i64 (...) @PAPI_get_virt_cyc()
%4 = load ptr, ptr %2, align 8
store i64 %3, ptr %4, align 8
ret void
}
declare i64 @PAPI_get_virt_cyc(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpozowdvxg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PAPIF_GET_VIRT_CYC(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i64 (...) @PAPI_get_virt_cyc()
%4 = load ptr, ptr %2, align 8
store i64 %3, ptr %4, align 8
ret void
}
declare i64 @PAPI_get_virt_cyc(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnexoj206.c'
source_filename = "/tmp/tmpnexoj206.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [141 x i8] c"For everything type pcalc e\0AFor functions type pcalc f\0AFor controls type pcalc l\0AFor operators type pcalc o\0AFor constants type pcalc c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help_help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
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/tmpnexoj206.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [141 x i8] c"For everything type pcalc e\0AFor functions type pcalc f\0AFor controls type pcalc l\0AFor operators type pcalc o\0AFor constants type pcalc c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help_help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
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/tmpp3lztma5.c'
source_filename = "/tmp/tmpp3lztma5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cut_stock(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 1
%8 = call ptr @ft_strdup(ptr noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i32 @ft_strdel(ptr noundef %9)
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %3, align 8
store ptr %11, ptr %12, align 8
ret void
}
declare ptr @ft_strdup(ptr noundef) #1
declare i32 @ft_strdel(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp3lztma5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cut_stock(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 1
%8 = call ptr @ft_strdup(ptr noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i32 @ft_strdel(ptr noundef %9)
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %3, align 8
store ptr %11, ptr %12, align 8
ret void
}
declare ptr @ft_strdup(ptr noundef) #1
declare i32 @ft_strdel(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgx_8cpqo.c'
source_filename = "/tmp/tmpgx_8cpqo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"myftp 0.0.1\0A\00", align 1
@.str.1 = private unnamed_addr constant [63 x i8] c"WARNNING: This program is pre-alpha, so be careful to use it.\0A\00", align 1
@.str.2 = private unnamed_addr constant [80 x i8] c"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.\0A\00", align 1
@.str.3 = private unnamed_addr constant [68 x i8] c"This is free software: you are free to change and redistribute it.\0A\00", align 1
@.str.4 = private unnamed_addr constant [42 x i8] c"\0AWritten by Given_92([email protected])\0A\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ftp_version_str() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
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/tmpgx_8cpqo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"myftp 0.0.1\0A\00", align 1
@.str.1 = private unnamed_addr constant [63 x i8] c"WARNNING: This program is pre-alpha, so be careful to use it.\0A\00", align 1
@.str.2 = private unnamed_addr constant [80 x i8] c"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.\0A\00", align 1
@.str.3 = private unnamed_addr constant [68 x i8] c"This is free software: you are free to change and redistribute it.\0A\00", align 1
@.str.4 = private unnamed_addr constant [42 x i8] c"\0AWritten by Given_92([email protected])\0A\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ftp_version_str() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
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/tmpdw16sh6j.c'
source_filename = "/tmp/tmpdw16sh6j.c"
target datalayout = "e-m:e-p270: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/tmpdw16sh6j.c"
target datalayout = "e-m:e-p270: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/tmpz13n7y0c.c'
source_filename = "/tmp/tmpz13n7y0c.c"
target datalayout = "e-m:e-p270: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/tmpz13n7y0c.c"
target datalayout = "e-m:e-p270: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/tmpejjdiuoh.c'
source_filename = "/tmp/tmpejjdiuoh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %5
5: ; preds = %32, %0
%6 = load i32, ptr %2, align 4
%7 = icmp sle i32 %6, 3
br i1 %7, label %8, label %35
8: ; preds = %5
store i32 0, ptr %3, align 4
br label %9
9: ; preds = %16, %8
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = sub nsw i32 2, %11
%13 = icmp sle i32 %10, %12
br i1 %13, label %14, label %19
14: ; preds = %9
%15 = call i32 @printf(ptr noundef @.str)
br label %16
16: ; preds = %14
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
br label %9, !llvm.loop !6
19: ; preds = %9
store i32 0, ptr %4, align 4
br label %20
20: ; preds = %27, %19
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %2, align 4
%23 = mul nsw i32 2, %22
%24 = icmp sle i32 %21, %23
br i1 %24, label %25, label %30
25: ; preds = %20
%26 = call i32 @printf(ptr noundef @.str.1)
br label %27
27: ; preds = %25
%28 = load i32, ptr %4, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %4, align 4
br label %20, !llvm.loop !8
30: ; preds = %20
%31 = call i32 @printf(ptr noundef @.str.2)
br label %32
32: ; preds = %30
%33 = load i32, ptr %2, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %2, align 4
br label %5, !llvm.loop !9
35: ; preds = %5
store i32 0, ptr %2, align 4
br label %36
36: ; preds = %63, %35
%37 = load i32, ptr %2, align 4
%38 = icmp sle i32 %37, 2
br i1 %38, label %39, label %66
39: ; preds = %36
store i32 0, ptr %3, align 4
br label %40
40: ; preds = %46, %39
%41 = load i32, ptr %3, align 4
%42 = load i32, ptr %2, align 4
%43 = icmp sle i32 %41, %42
br i1 %43, label %44, label %49
44: ; preds = %40
%45 = call i32 @printf(ptr noundef @.str)
br label %46
46: ; preds = %44
%47 = load i32, ptr %3, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %3, align 4
br label %40, !llvm.loop !10
49: ; preds = %40
store i32 0, ptr %4, align 4
br label %50
50: ; preds = %58, %49
%51 = load i32, ptr %4, align 4
%52 = load i32, ptr %2, align 4
%53 = mul nsw i32 2, %52
%54 = sub nsw i32 4, %53
%55 = icmp sle i32 %51, %54
br i1 %55, label %56, label %61
56: ; preds = %50
%57 = call i32 @printf(ptr noundef @.str.1)
br label %58
58: ; preds = %56
%59 = load i32, ptr %4, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %4, align 4
br label %50, !llvm.loop !11
61: ; preds = %50
%62 = call i32 @printf(ptr noundef @.str.2)
br label %63
63: ; preds = %61
%64 = load i32, ptr %2, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %2, align 4
br label %36, !llvm.loop !12
66: ; preds = %36
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpejjdiuoh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp sle i32 %5, 3
br i1 %6, label %.lr.ph5, label %42
.lr.ph5: ; preds = %0
br label %7
7: ; preds = %.lr.ph5, %37
store i32 0, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = sub nsw i32 2, %9
%11 = icmp sle i32 %8, %10
br i1 %11, label %.lr.ph, label %21
.lr.ph: ; preds = %7
br label %12
12: ; preds = %.lr.ph, %14
%13 = call i32 @printf(ptr noundef @.str)
br label %14
14: ; preds = %12
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = load i32, ptr %2, align 4
%19 = sub nsw i32 2, %18
%20 = icmp sle i32 %17, %19
br i1 %20, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %21
21: ; preds = %._crit_edge, %7
store i32 0, ptr %4, align 4
%22 = load i32, ptr %4, align 4
%23 = load i32, ptr %2, align 4
%24 = mul nsw i32 2, %23
%25 = icmp sle i32 %22, %24
br i1 %25, label %.lr.ph2, label %35
.lr.ph2: ; preds = %21
br label %26
26: ; preds = %.lr.ph2, %28
%27 = call i32 @printf(ptr noundef @.str.1)
br label %28
28: ; preds = %26
%29 = load i32, ptr %4, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %4, align 4
%31 = load i32, ptr %4, align 4
%32 = load i32, ptr %2, align 4
%33 = mul nsw i32 2, %32
%34 = icmp sle i32 %31, %33
br i1 %34, label %26, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %28
br label %35
35: ; preds = %._crit_edge3, %21
%36 = call i32 @printf(ptr noundef @.str.2)
br label %37
37: ; preds = %35
%38 = load i32, ptr %2, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %2, align 4
%40 = load i32, ptr %2, align 4
%41 = icmp sle i32 %40, 3
br i1 %41, label %7, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %37
br label %42
42: ; preds = %._crit_edge6, %0
store i32 0, ptr %2, align 4
%43 = load i32, ptr %2, align 4
%44 = icmp sle i32 %43, 2
br i1 %44, label %.lr.ph14, label %80
.lr.ph14: ; preds = %42
br label %45
45: ; preds = %.lr.ph14, %75
store i32 0, ptr %3, align 4
%46 = load i32, ptr %3, align 4
%47 = load i32, ptr %2, align 4
%48 = icmp sle i32 %46, %47
br i1 %48, label %.lr.ph8, label %57
.lr.ph8: ; preds = %45
br label %49
49: ; preds = %.lr.ph8, %51
%50 = call i32 @printf(ptr noundef @.str)
br label %51
51: ; preds = %49
%52 = load i32, ptr %3, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %3, align 4
%54 = load i32, ptr %3, align 4
%55 = load i32, ptr %2, align 4
%56 = icmp sle i32 %54, %55
br i1 %56, label %49, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %51
br label %57
57: ; preds = %._crit_edge9, %45
store i32 0, ptr %4, align 4
%58 = load i32, ptr %4, align 4
%59 = load i32, ptr %2, align 4
%60 = mul nsw i32 2, %59
%61 = sub nsw i32 4, %60
%62 = icmp sle i32 %58, %61
br i1 %62, label %.lr.ph11, label %73
.lr.ph11: ; preds = %57
br label %63
63: ; preds = %.lr.ph11, %65
%64 = call i32 @printf(ptr noundef @.str.1)
br label %65
65: ; preds = %63
%66 = load i32, ptr %4, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %4, align 4
%68 = load i32, ptr %4, align 4
%69 = load i32, ptr %2, align 4
%70 = mul nsw i32 2, %69
%71 = sub nsw i32 4, %70
%72 = icmp sle i32 %68, %71
br i1 %72, label %63, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %65
br label %73
73: ; preds = %._crit_edge12, %57
%74 = call i32 @printf(ptr noundef @.str.2)
br label %75
75: ; preds = %73
%76 = load i32, ptr %2, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %2, align 4
%78 = load i32, ptr %2, align 4
%79 = icmp sle i32 %78, 2
br i1 %79, label %45, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %75
br label %80
80: ; preds = %._crit_edge15, %42
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmp358dinyn.c'
source_filename = "/tmp/tmp358dinyn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"server IP address : \00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"user name : \00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"password : \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @check_load() #0 {
%1 = alloca [100 x i8], align 16
%2 = alloca [20 x i8], align 16
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @printf(ptr noundef @.str.1)
%5 = call i32 @printf(ptr noundef @.str.2)
%6 = call i32 (...) @clear_type()
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @clear_type(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp358dinyn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"server IP address : \00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"user name : \00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"password : \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @check_load() #0 {
%1 = alloca [100 x i8], align 16
%2 = alloca [20 x i8], align 16
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @printf(ptr noundef @.str.1)
%5 = call i32 @printf(ptr noundef @.str.2)
%6 = call i32 (...) @clear_type()
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @clear_type(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg7sm3hp1.c'
source_filename = "/tmp/tmpg7sm3hp1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EVP_MAX_MD_SIZE = dso_local global i32 0, align 4
@EVP_MAX_KEY_LENGTH = dso_local global i32 0, align 4
@EVP_MAX_IV_LENGTH = dso_local global i32 0, align 4
@PKCS5_SALT_LEN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @EVP_BytesToKey(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) #0 {
%9 = alloca i32, align 4
%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
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca i64, align 8
%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
store ptr %0, ptr %10, align 8
store ptr %1, ptr %11, align 8
store ptr %2, ptr %12, align 8
store ptr %3, ptr %13, align 8
store i32 %4, ptr %14, align 4
store i32 %5, ptr %15, align 4
store ptr %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
%28 = load i32, ptr @EVP_MAX_MD_SIZE, align 4
%29 = zext i32 %28 to i64
%30 = call ptr @llvm.stacksave()
store ptr %30, ptr %19, align 8
%31 = alloca i8, i64 %29, align 16
store i64 %29, ptr %20, align 8
store i32 0, ptr %23, align 4
store i32 0, ptr %24, align 4
store i32 0, ptr %26, align 4
%32 = load ptr, ptr %10, align 8
%33 = call i32 @EVP_CIPHER_key_length(ptr noundef %32)
store i32 %33, ptr %22, align 4
%34 = load ptr, ptr %10, align 8
%35 = call i32 @EVP_CIPHER_iv_length(ptr noundef %34)
store i32 %35, ptr %21, align 4
%36 = load i32, ptr %22, align 4
%37 = load i32, ptr @EVP_MAX_KEY_LENGTH, align 4
%38 = icmp sle i32 %36, %37
%39 = zext i1 %38 to i32
%40 = call i32 @OPENSSL_assert(i32 noundef %39)
%41 = load i32, ptr %21, align 4
%42 = load i32, ptr @EVP_MAX_IV_LENGTH, align 4
%43 = icmp sle i32 %41, %42
%44 = zext i1 %43 to i32
%45 = call i32 @OPENSSL_assert(i32 noundef %44)
%46 = load ptr, ptr %13, align 8
%47 = icmp eq ptr %46, null
br i1 %47, label %48, label %50
48: ; preds = %8
%49 = load i32, ptr %22, align 4
store i32 %49, ptr %9, align 4
store i32 1, ptr %27, align 4
br label %205
50: ; preds = %8
%51 = call ptr (...) @EVP_MD_CTX_new()
store ptr %51, ptr %18, align 8
%52 = load ptr, ptr %18, align 8
%53 = icmp eq ptr %52, null
br i1 %53, label %54, label %55
54: ; preds = %50
br label %199
55: ; preds = %50
br label %56
56: ; preds = %195, %55
%57 = load ptr, ptr %18, align 8
%58 = load ptr, ptr %11, align 8
%59 = call i32 @EVP_DigestInit_ex(ptr noundef %57, ptr noundef %58, ptr noundef null)
%60 = icmp ne i32 %59, 0
br i1 %60, label %62, label %61
61: ; preds = %56
br label %199
62: ; preds = %56
%63 = load i32, ptr %23, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %23, align 4
%65 = icmp ne i32 %63, 0
br i1 %65, label %66, label %74
66: ; preds = %62
%67 = load ptr, ptr %18, align 8
%68 = getelementptr inbounds i8, ptr %31, i64 0
%69 = load i32, ptr %24, align 4
%70 = call i32 @EVP_DigestUpdate(ptr noundef %67, ptr noundef %68, i32 noundef %69)
%71 = icmp ne i32 %70, 0
br i1 %71, label %73, label %72
72: ; preds = %66
br label %199
73: ; preds = %66
br label %74
74: ; preds = %73, %62
%75 = load ptr, ptr %18, align 8
%76 = load ptr, ptr %13, align 8
%77 = load i32, ptr %14, align 4
%78 = call i32 @EVP_DigestUpdate(ptr noundef %75, ptr noundef %76, i32 noundef %77)
%79 = icmp ne i32 %78, 0
br i1 %79, label %81, label %80
80: ; preds = %74
br label %199
81: ; preds = %74
%82 = load ptr, ptr %12, align 8
%83 = icmp ne ptr %82, null
br i1 %83, label %84, label %92
84: ; preds = %81
%85 = load ptr, ptr %18, align 8
%86 = load ptr, ptr %12, align 8
%87 = load i32, ptr @PKCS5_SALT_LEN, align 4
%88 = call i32 @EVP_DigestUpdate(ptr noundef %85, ptr noundef %86, i32 noundef %87)
%89 = icmp ne i32 %88, 0
br i1 %89, label %91, label %90
90: ; preds = %84
br label %199
91: ; preds = %84
br label %92
92: ; preds = %91, %81
%93 = load ptr, ptr %18, align 8
%94 = getelementptr inbounds i8, ptr %31, i64 0
%95 = call i32 @EVP_DigestFinal_ex(ptr noundef %93, ptr noundef %94, ptr noundef %24)
%96 = icmp ne i32 %95, 0
br i1 %96, label %98, label %97
97: ; preds = %92
br label %199
98: ; preds = %92
store i32 1, ptr %25, align 4
br label %99
99: ; preds = %123, %98
%100 = load i32, ptr %25, align 4
%101 = load i32, ptr %15, align 4
%102 = icmp ult i32 %100, %101
br i1 %102, label %103, label %126
103: ; preds = %99
%104 = load ptr, ptr %18, align 8
%105 = load ptr, ptr %11, align 8
%106 = call i32 @EVP_DigestInit_ex(ptr noundef %104, ptr noundef %105, ptr noundef null)
%107 = icmp ne i32 %106, 0
br i1 %107, label %109, label %108
108: ; preds = %103
br label %199
109: ; preds = %103
%110 = load ptr, ptr %18, align 8
%111 = getelementptr inbounds i8, ptr %31, i64 0
%112 = load i32, ptr %24, align 4
%113 = call i32 @EVP_DigestUpdate(ptr noundef %110, ptr noundef %111, i32 noundef %112)
%114 = icmp ne i32 %113, 0
br i1 %114, label %116, label %115
115: ; preds = %109
br label %199
116: ; preds = %109
%117 = load ptr, ptr %18, align 8
%118 = getelementptr inbounds i8, ptr %31, i64 0
%119 = call i32 @EVP_DigestFinal_ex(ptr noundef %117, ptr noundef %118, ptr noundef %24)
%120 = icmp ne i32 %119, 0
br i1 %120, label %122, label %121
121: ; preds = %116
br label %199
122: ; preds = %116
br label %123
123: ; preds = %122
%124 = load i32, ptr %25, align 4
%125 = add i32 %124, 1
store i32 %125, ptr %25, align 4
br label %99, !llvm.loop !6
126: ; preds = %99
store i32 0, ptr %25, align 4
%127 = load i32, ptr %22, align 4
%128 = icmp ne i32 %127, 0
br i1 %128, label %129, label %155
129: ; preds = %126
br label %130
130: ; preds = %149, %129
%131 = load i32, ptr %22, align 4
%132 = icmp eq i32 %131, 0
br i1 %132, label %133, label %134
133: ; preds = %130
br label %154
134: ; preds = %130
%135 = load i32, ptr %25, align 4
%136 = load i32, ptr %24, align 4
%137 = icmp eq i32 %135, %136
br i1 %137, label %138, label %139
138: ; preds = %134
br label %154
139: ; preds = %134
%140 = load ptr, ptr %16, align 8
%141 = icmp ne ptr %140, null
br i1 %141, label %142, label %149
142: ; preds = %139
%143 = load i32, ptr %25, align 4
%144 = zext i32 %143 to i64
%145 = getelementptr inbounds i8, ptr %31, i64 %144
%146 = load i8, ptr %145, align 1
%147 = load ptr, ptr %16, align 8
%148 = getelementptr inbounds i8, ptr %147, i32 1
store ptr %148, ptr %16, align 8
store i8 %146, ptr %147, align 1
br label %149
149: ; preds = %142, %139
%150 = load i32, ptr %22, align 4
%151 = add nsw i32 %150, -1
store i32 %151, ptr %22, align 4
%152 = load i32, ptr %25, align 4
%153 = add i32 %152, 1
store i32 %153, ptr %25, align 4
br label %130
154: ; preds = %138, %133
br label %155
155: ; preds = %154, %126
%156 = load i32, ptr %21, align 4
%157 = icmp ne i32 %156, 0
br i1 %157, label %158, label %188
158: ; preds = %155
%159 = load i32, ptr %25, align 4
%160 = load i32, ptr %24, align 4
%161 = icmp ne i32 %159, %160
br i1 %161, label %162, label %188
162: ; preds = %158
br label %163
163: ; preds = %182, %162
%164 = load i32, ptr %21, align 4
%165 = icmp eq i32 %164, 0
br i1 %165, label %166, label %167
166: ; preds = %163
br label %187
167: ; preds = %163
%168 = load i32, ptr %25, align 4
%169 = load i32, ptr %24, align 4
%170 = icmp eq i32 %168, %169
br i1 %170, label %171, label %172
171: ; preds = %167
br label %187
172: ; preds = %167
%173 = load ptr, ptr %17, align 8
%174 = icmp ne ptr %173, null
br i1 %174, label %175, label %182
175: ; preds = %172
%176 = load i32, ptr %25, align 4
%177 = zext i32 %176 to i64
%178 = getelementptr inbounds i8, ptr %31, i64 %177
%179 = load i8, ptr %178, align 1
%180 = load ptr, ptr %17, align 8
%181 = getelementptr inbounds i8, ptr %180, i32 1
store ptr %181, ptr %17, align 8
store i8 %179, ptr %180, align 1
br label %182
182: ; preds = %175, %172
%183 = load i32, ptr %21, align 4
%184 = add nsw i32 %183, -1
store i32 %184, ptr %21, align 4
%185 = load i32, ptr %25, align 4
%186 = add i32 %185, 1
store i32 %186, ptr %25, align 4
br label %163
187: ; preds = %171, %166
br label %188
188: ; preds = %187, %158, %155
%189 = load i32, ptr %22, align 4
%190 = icmp eq i32 %189, 0
br i1 %190, label %191, label %195
191: ; preds = %188
%192 = load i32, ptr %21, align 4
%193 = icmp eq i32 %192, 0
br i1 %193, label %194, label %195
194: ; preds = %191
br label %196
195: ; preds = %191, %188
br label %56
196: ; preds = %194
%197 = load ptr, ptr %10, align 8
%198 = call i32 @EVP_CIPHER_key_length(ptr noundef %197)
store i32 %198, ptr %26, align 4
br label %199
199: ; preds = %196, %121, %115, %108, %97, %90, %80, %72, %61, %54
%200 = load ptr, ptr %18, align 8
%201 = call i32 @EVP_MD_CTX_free(ptr noundef %200)
%202 = trunc i64 %29 to i32
%203 = call i32 @OPENSSL_cleanse(ptr noundef %31, i32 noundef %202)
%204 = load i32, ptr %26, align 4
store i32 %204, ptr %9, align 4
store i32 1, ptr %27, align 4
br label %205
205: ; preds = %199, %48
%206 = load ptr, ptr %19, align 8
call void @llvm.stackrestore(ptr %206)
%207 = load i32, ptr %9, align 4
ret i32 %207
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @EVP_CIPHER_key_length(ptr noundef) #2
declare i32 @EVP_CIPHER_iv_length(ptr noundef) #2
declare i32 @OPENSSL_assert(i32 noundef) #2
declare ptr @EVP_MD_CTX_new(...) #2
declare i32 @EVP_DigestInit_ex(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @EVP_DigestUpdate(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @EVP_DigestFinal_ex(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @EVP_MD_CTX_free(ptr noundef) #2
declare i32 @OPENSSL_cleanse(ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpg7sm3hp1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EVP_MAX_MD_SIZE = dso_local global i32 0, align 4
@EVP_MAX_KEY_LENGTH = dso_local global i32 0, align 4
@EVP_MAX_IV_LENGTH = dso_local global i32 0, align 4
@PKCS5_SALT_LEN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @EVP_BytesToKey(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) #0 {
%9 = alloca i32, align 4
%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
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca i64, align 8
%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
store ptr %0, ptr %10, align 8
store ptr %1, ptr %11, align 8
store ptr %2, ptr %12, align 8
store ptr %3, ptr %13, align 8
store i32 %4, ptr %14, align 4
store i32 %5, ptr %15, align 4
store ptr %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
%28 = load i32, ptr @EVP_MAX_MD_SIZE, align 4
%29 = zext i32 %28 to i64
%30 = call ptr @llvm.stacksave()
store ptr %30, ptr %19, align 8
%31 = alloca i8, i64 %29, align 16
store i64 %29, ptr %20, align 8
store i32 0, ptr %23, align 4
store i32 0, ptr %24, align 4
store i32 0, ptr %26, align 4
%32 = load ptr, ptr %10, align 8
%33 = call i32 @EVP_CIPHER_key_length(ptr noundef %32)
store i32 %33, ptr %22, align 4
%34 = load ptr, ptr %10, align 8
%35 = call i32 @EVP_CIPHER_iv_length(ptr noundef %34)
store i32 %35, ptr %21, align 4
%36 = load i32, ptr %22, align 4
%37 = load i32, ptr @EVP_MAX_KEY_LENGTH, align 4
%38 = icmp sle i32 %36, %37
%39 = zext i1 %38 to i32
%40 = call i32 @OPENSSL_assert(i32 noundef %39)
%41 = load i32, ptr %21, align 4
%42 = load i32, ptr @EVP_MAX_IV_LENGTH, align 4
%43 = icmp sle i32 %41, %42
%44 = zext i1 %43 to i32
%45 = call i32 @OPENSSL_assert(i32 noundef %44)
%46 = load ptr, ptr %13, align 8
%47 = icmp eq ptr %46, null
br i1 %47, label %48, label %50
48: ; preds = %8
%49 = load i32, ptr %22, align 4
store i32 %49, ptr %9, align 4
store i32 1, ptr %27, align 4
br label %212
50: ; preds = %8
%51 = call ptr (...) @EVP_MD_CTX_new()
store ptr %51, ptr %18, align 8
%52 = load ptr, ptr %18, align 8
%53 = icmp eq ptr %52, null
br i1 %53, label %54, label %55
54: ; preds = %50
br label %206
55: ; preds = %50
%56 = load ptr, ptr %18, align 8
%57 = load ptr, ptr %11, align 8
%58 = call i32 @EVP_DigestInit_ex(ptr noundef %56, ptr noundef %57, ptr noundef null)
%59 = icmp ne i32 %58, 0
br i1 %59, label %.lr.ph8, label %60
.lr.ph8: ; preds = %55
br label %61
._crit_edge9: ; preds = %198
br label %60
60: ; preds = %._crit_edge9, %55
br label %206
61: ; preds = %.lr.ph8, %198
%62 = load i32, ptr %23, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %23, align 4
%64 = icmp ne i32 %62, 0
br i1 %64, label %65, label %73
65: ; preds = %61
%66 = load ptr, ptr %18, align 8
%67 = getelementptr inbounds i8, ptr %31, i64 0
%68 = load i32, ptr %24, align 4
%69 = call i32 @EVP_DigestUpdate(ptr noundef %66, ptr noundef %67, i32 noundef %68)
%70 = icmp ne i32 %69, 0
br i1 %70, label %72, label %71
71: ; preds = %65
br label %206
72: ; preds = %65
br label %73
73: ; preds = %72, %61
%74 = load ptr, ptr %18, align 8
%75 = load ptr, ptr %13, align 8
%76 = load i32, ptr %14, align 4
%77 = call i32 @EVP_DigestUpdate(ptr noundef %74, ptr noundef %75, i32 noundef %76)
%78 = icmp ne i32 %77, 0
br i1 %78, label %80, label %79
79: ; preds = %73
br label %206
80: ; preds = %73
%81 = load ptr, ptr %12, align 8
%82 = icmp ne ptr %81, null
br i1 %82, label %83, label %91
83: ; preds = %80
%84 = load ptr, ptr %18, align 8
%85 = load ptr, ptr %12, align 8
%86 = load i32, ptr @PKCS5_SALT_LEN, align 4
%87 = call i32 @EVP_DigestUpdate(ptr noundef %84, ptr noundef %85, i32 noundef %86)
%88 = icmp ne i32 %87, 0
br i1 %88, label %90, label %89
89: ; preds = %83
br label %206
90: ; preds = %83
br label %91
91: ; preds = %90, %80
%92 = load ptr, ptr %18, align 8
%93 = getelementptr inbounds i8, ptr %31, i64 0
%94 = call i32 @EVP_DigestFinal_ex(ptr noundef %92, ptr noundef %93, ptr noundef %24)
%95 = icmp ne i32 %94, 0
br i1 %95, label %97, label %96
96: ; preds = %91
br label %206
97: ; preds = %91
store i32 1, ptr %25, align 4
%98 = load i32, ptr %25, align 4
%99 = load i32, ptr %15, align 4
%100 = icmp ult i32 %98, %99
br i1 %100, label %.lr.ph, label %127
.lr.ph: ; preds = %97
br label %101
101: ; preds = %.lr.ph, %121
%102 = load ptr, ptr %18, align 8
%103 = load ptr, ptr %11, align 8
%104 = call i32 @EVP_DigestInit_ex(ptr noundef %102, ptr noundef %103, ptr noundef null)
%105 = icmp ne i32 %104, 0
br i1 %105, label %107, label %106
106: ; preds = %101
br label %206
107: ; preds = %101
%108 = load ptr, ptr %18, align 8
%109 = getelementptr inbounds i8, ptr %31, i64 0
%110 = load i32, ptr %24, align 4
%111 = call i32 @EVP_DigestUpdate(ptr noundef %108, ptr noundef %109, i32 noundef %110)
%112 = icmp ne i32 %111, 0
br i1 %112, label %114, label %113
113: ; preds = %107
br label %206
114: ; preds = %107
%115 = load ptr, ptr %18, align 8
%116 = getelementptr inbounds i8, ptr %31, i64 0
%117 = call i32 @EVP_DigestFinal_ex(ptr noundef %115, ptr noundef %116, ptr noundef %24)
%118 = icmp ne i32 %117, 0
br i1 %118, label %120, label %119
119: ; preds = %114
br label %206
120: ; preds = %114
br label %121
121: ; preds = %120
%122 = load i32, ptr %25, align 4
%123 = add i32 %122, 1
store i32 %123, ptr %25, align 4
%124 = load i32, ptr %25, align 4
%125 = load i32, ptr %15, align 4
%126 = icmp ult i32 %124, %125
br i1 %126, label %101, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %121
br label %127
127: ; preds = %._crit_edge, %97
store i32 0, ptr %25, align 4
%128 = load i32, ptr %22, align 4
%129 = icmp ne i32 %128, 0
br i1 %129, label %130, label %157
130: ; preds = %127
%131 = load i32, ptr %22, align 4
%132 = icmp eq i32 %131, 0
br i1 %132, label %133, label %.lr.ph2
.lr.ph2: ; preds = %130
br label %134
._crit_edge3: ; preds = %149
br label %133
133: ; preds = %._crit_edge3, %130
br label %156
134: ; preds = %.lr.ph2, %149
%135 = load i32, ptr %25, align 4
%136 = load i32, ptr %24, align 4
%137 = icmp eq i32 %135, %136
br i1 %137, label %138, label %139
138: ; preds = %134
br label %156
139: ; preds = %134
%140 = load ptr, ptr %16, align 8
%141 = icmp ne ptr %140, null
br i1 %141, label %142, label %149
142: ; preds = %139
%143 = load i32, ptr %25, align 4
%144 = zext i32 %143 to i64
%145 = getelementptr inbounds i8, ptr %31, i64 %144
%146 = load i8, ptr %145, align 1
%147 = load ptr, ptr %16, align 8
%148 = getelementptr inbounds i8, ptr %147, i32 1
store ptr %148, ptr %16, align 8
store i8 %146, ptr %147, align 1
br label %149
149: ; preds = %142, %139
%150 = load i32, ptr %22, align 4
%151 = add nsw i32 %150, -1
store i32 %151, ptr %22, align 4
%152 = load i32, ptr %25, align 4
%153 = add i32 %152, 1
store i32 %153, ptr %25, align 4
%154 = load i32, ptr %22, align 4
%155 = icmp eq i32 %154, 0
br i1 %155, label %._crit_edge3, label %134
156: ; preds = %138, %133
br label %157
157: ; preds = %156, %127
%158 = load i32, ptr %21, align 4
%159 = icmp ne i32 %158, 0
br i1 %159, label %160, label %191
160: ; preds = %157
%161 = load i32, ptr %25, align 4
%162 = load i32, ptr %24, align 4
%163 = icmp ne i32 %161, %162
br i1 %163, label %164, label %191
164: ; preds = %160
%165 = load i32, ptr %21, align 4
%166 = icmp eq i32 %165, 0
br i1 %166, label %167, label %.lr.ph5
.lr.ph5: ; preds = %164
br label %168
._crit_edge6: ; preds = %183
br label %167
167: ; preds = %._crit_edge6, %164
br label %190
168: ; preds = %.lr.ph5, %183
%169 = load i32, ptr %25, align 4
%170 = load i32, ptr %24, align 4
%171 = icmp eq i32 %169, %170
br i1 %171, label %172, label %173
172: ; preds = %168
br label %190
173: ; preds = %168
%174 = load ptr, ptr %17, align 8
%175 = icmp ne ptr %174, null
br i1 %175, label %176, label %183
176: ; preds = %173
%177 = load i32, ptr %25, align 4
%178 = zext i32 %177 to i64
%179 = getelementptr inbounds i8, ptr %31, i64 %178
%180 = load i8, ptr %179, align 1
%181 = load ptr, ptr %17, align 8
%182 = getelementptr inbounds i8, ptr %181, i32 1
store ptr %182, ptr %17, align 8
store i8 %180, ptr %181, align 1
br label %183
183: ; preds = %176, %173
%184 = load i32, ptr %21, align 4
%185 = add nsw i32 %184, -1
store i32 %185, ptr %21, align 4
%186 = load i32, ptr %25, align 4
%187 = add i32 %186, 1
store i32 %187, ptr %25, align 4
%188 = load i32, ptr %21, align 4
%189 = icmp eq i32 %188, 0
br i1 %189, label %._crit_edge6, label %168
190: ; preds = %172, %167
br label %191
191: ; preds = %190, %160, %157
%192 = load i32, ptr %22, align 4
%193 = icmp eq i32 %192, 0
br i1 %193, label %194, label %198
194: ; preds = %191
%195 = load i32, ptr %21, align 4
%196 = icmp eq i32 %195, 0
br i1 %196, label %197, label %198
197: ; preds = %194
br label %203
198: ; preds = %194, %191
%199 = load ptr, ptr %18, align 8
%200 = load ptr, ptr %11, align 8
%201 = call i32 @EVP_DigestInit_ex(ptr noundef %199, ptr noundef %200, ptr noundef null)
%202 = icmp ne i32 %201, 0
br i1 %202, label %61, label %._crit_edge9
203: ; preds = %197
%204 = load ptr, ptr %10, align 8
%205 = call i32 @EVP_CIPHER_key_length(ptr noundef %204)
store i32 %205, ptr %26, align 4
br label %206
206: ; preds = %203, %119, %113, %106, %96, %89, %79, %71, %60, %54
%207 = load ptr, ptr %18, align 8
%208 = call i32 @EVP_MD_CTX_free(ptr noundef %207)
%209 = trunc i64 %29 to i32
%210 = call i32 @OPENSSL_cleanse(ptr noundef %31, i32 noundef %209)
%211 = load i32, ptr %26, align 4
store i32 %211, ptr %9, align 4
store i32 1, ptr %27, align 4
br label %212
212: ; preds = %206, %48
%213 = load ptr, ptr %19, align 8
call void @llvm.stackrestore(ptr %213)
%214 = load i32, ptr %9, align 4
ret i32 %214
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @EVP_CIPHER_key_length(ptr noundef) #2
declare i32 @EVP_CIPHER_iv_length(ptr noundef) #2
declare i32 @OPENSSL_assert(i32 noundef) #2
declare ptr @EVP_MD_CTX_new(...) #2
declare i32 @EVP_DigestInit_ex(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @EVP_DigestUpdate(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @EVP_DigestFinal_ex(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @EVP_MD_CTX_free(ptr noundef) #2
declare i32 @OPENSSL_cleanse(ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpj86o2kmw.c'
source_filename = "/tmp/tmpj86o2kmw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [59 x i8] c"All correctness tests succeeded! Press enter to continue!\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Test completed.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @correctnessTest()
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 (...) @getchar()
%5 = call i32 (...) @speedTest()
%6 = call i32 @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @correctnessTest(...) #1
declare i32 @printf(ptr noundef) #1
declare i32 @getchar(...) #1
declare i32 @speedTest(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj86o2kmw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [59 x i8] c"All correctness tests succeeded! Press enter to continue!\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Test completed.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @correctnessTest()
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 (...) @getchar()
%5 = call i32 (...) @speedTest()
%6 = call i32 @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @correctnessTest(...) #1
declare i32 @printf(ptr noundef) #1
declare i32 @getchar(...) #1
declare i32 @speedTest(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu2jlvlq1.c'
source_filename = "/tmp/tmpu2jlvlq1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c_cast_bitmap(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11) #0 {
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca ptr, align 8
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
store i32 %0, ptr %13, align 4
store i32 %1, ptr %14, align 4
store i32 %2, ptr %15, align 4
store i32 %3, ptr %16, align 4
store ptr %4, ptr %17, align 8
store i32 %5, ptr %18, align 4
store i32 %6, ptr %19, align 4
store i32 %7, ptr %20, align 4
store ptr %8, ptr %21, align 8
store i32 %9, ptr %22, align 4
store i32 %10, ptr %23, align 4
store i32 %11, ptr %24, align 4
%25 = load i32, ptr %13, align 4
switch i32 %25, label %230 [
i32 1, label %26
i32 2, label %77
i32 3, label %128
i32 4, label %179
]
26: ; preds = %12
%27 = load i32, ptr %14, align 4
switch i32 %27, label %76 [
i32 1, label %28
i32 2, label %40
i32 3, label %52
i32 4, label %64
]
28: ; preds = %26
%29 = load i32, ptr %15, align 4
%30 = load i32, ptr %16, align 4
%31 = load ptr, ptr %17, align 8
%32 = load i32, ptr %18, align 4
%33 = load i32, ptr %19, align 4
%34 = load i32, ptr %20, align 4
%35 = load ptr, ptr %21, align 8
%36 = load i32, ptr %22, align 4
%37 = load i32, ptr %23, align 4
%38 = load i32, ptr %24, align 4
%39 = call i32 @c_cast_bitmap_word8_word8(i32 noundef %29, i32 noundef %30, ptr noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef %34, ptr noundef %35, i32 noundef %36, i32 noundef %37, i32 noundef %38)
br label %76
40: ; preds = %26
%41 = load i32, ptr %15, align 4
%42 = load i32, ptr %16, align 4
%43 = load ptr, ptr %17, align 8
%44 = load i32, ptr %18, align 4
%45 = load i32, ptr %19, align 4
%46 = load i32, ptr %20, align 4
%47 = load ptr, ptr %21, align 8
%48 = load i32, ptr %22, align 4
%49 = load i32, ptr %23, align 4
%50 = load i32, ptr %24, align 4
%51 = call i32 @c_cast_bitmap_word8_word16(i32 noundef %41, i32 noundef %42, ptr noundef %43, i32 noundef %44, i32 noundef %45, i32 noundef %46, ptr noundef %47, i32 noundef %48, i32 noundef %49, i32 noundef %50)
br label %76
52: ; preds = %26
%53 = load i32, ptr %15, align 4
%54 = load i32, ptr %16, align 4
%55 = load ptr, ptr %17, align 8
%56 = load i32, ptr %18, align 4
%57 = load i32, ptr %19, align 4
%58 = load i32, ptr %20, align 4
%59 = load ptr, ptr %21, align 8
%60 = load i32, ptr %22, align 4
%61 = load i32, ptr %23, align 4
%62 = load i32, ptr %24, align 4
%63 = call i32 @c_cast_bitmap_word8_word32(i32 noundef %53, i32 noundef %54, ptr noundef %55, i32 noundef %56, i32 noundef %57, i32 noundef %58, ptr noundef %59, i32 noundef %60, i32 noundef %61, i32 noundef %62)
br label %76
64: ; preds = %26
%65 = load i32, ptr %15, align 4
%66 = load i32, ptr %16, align 4
%67 = load ptr, ptr %17, align 8
%68 = load i32, ptr %18, align 4
%69 = load i32, ptr %19, align 4
%70 = load i32, ptr %20, align 4
%71 = load ptr, ptr %21, align 8
%72 = load i32, ptr %22, align 4
%73 = load i32, ptr %23, align 4
%74 = load i32, ptr %24, align 4
%75 = call i32 @c_cast_bitmap_word8_float(i32 noundef %65, i32 noundef %66, ptr noundef %67, i32 noundef %68, i32 noundef %69, i32 noundef %70, ptr noundef %71, i32 noundef %72, i32 noundef %73, i32 noundef %74)
br label %76
76: ; preds = %26, %64, %52, %40, %28
br label %230
77: ; preds = %12
%78 = load i32, ptr %14, align 4
switch i32 %78, label %127 [
i32 1, label %79
i32 2, label %91
i32 3, label %103
i32 4, label %115
]
79: ; preds = %77
%80 = load i32, ptr %15, align 4
%81 = load i32, ptr %16, align 4
%82 = load ptr, ptr %17, align 8
%83 = load i32, ptr %18, align 4
%84 = load i32, ptr %19, align 4
%85 = load i32, ptr %20, align 4
%86 = load ptr, ptr %21, align 8
%87 = load i32, ptr %22, align 4
%88 = load i32, ptr %23, align 4
%89 = load i32, ptr %24, align 4
%90 = call i32 @c_cast_bitmap_word16_word8(i32 noundef %80, i32 noundef %81, ptr noundef %82, i32 noundef %83, i32 noundef %84, i32 noundef %85, ptr noundef %86, i32 noundef %87, i32 noundef %88, i32 noundef %89)
br label %127
91: ; preds = %77
%92 = load i32, ptr %15, align 4
%93 = load i32, ptr %16, align 4
%94 = load ptr, ptr %17, align 8
%95 = load i32, ptr %18, align 4
%96 = load i32, ptr %19, align 4
%97 = load i32, ptr %20, align 4
%98 = load ptr, ptr %21, align 8
%99 = load i32, ptr %22, align 4
%100 = load i32, ptr %23, align 4
%101 = load i32, ptr %24, align 4
%102 = call i32 @c_cast_bitmap_word16_word16(i32 noundef %92, i32 noundef %93, ptr noundef %94, i32 noundef %95, i32 noundef %96, i32 noundef %97, ptr noundef %98, i32 noundef %99, i32 noundef %100, i32 noundef %101)
br label %127
103: ; preds = %77
%104 = load i32, ptr %15, align 4
%105 = load i32, ptr %16, align 4
%106 = load ptr, ptr %17, align 8
%107 = load i32, ptr %18, align 4
%108 = load i32, ptr %19, align 4
%109 = load i32, ptr %20, align 4
%110 = load ptr, ptr %21, align 8
%111 = load i32, ptr %22, align 4
%112 = load i32, ptr %23, align 4
%113 = load i32, ptr %24, align 4
%114 = call i32 @c_cast_bitmap_word16_word32(i32 noundef %104, i32 noundef %105, ptr noundef %106, i32 noundef %107, i32 noundef %108, i32 noundef %109, ptr noundef %110, i32 noundef %111, i32 noundef %112, i32 noundef %113)
br label %127
115: ; preds = %77
%116 = load i32, ptr %15, align 4
%117 = load i32, ptr %16, align 4
%118 = load ptr, ptr %17, align 8
%119 = load i32, ptr %18, align 4
%120 = load i32, ptr %19, align 4
%121 = load i32, ptr %20, align 4
%122 = load ptr, ptr %21, align 8
%123 = load i32, ptr %22, align 4
%124 = load i32, ptr %23, align 4
%125 = load i32, ptr %24, align 4
%126 = call i32 @c_cast_bitmap_word16_float(i32 noundef %116, i32 noundef %117, ptr noundef %118, i32 noundef %119, i32 noundef %120, i32 noundef %121, ptr noundef %122, i32 noundef %123, i32 noundef %124, i32 noundef %125)
br label %127
127: ; preds = %77, %115, %103, %91, %79
br label %230
128: ; preds = %12
%129 = load i32, ptr %14, align 4
switch i32 %129, label %178 [
i32 1, label %130
i32 2, label %142
i32 3, label %154
i32 4, label %166
]
130: ; preds = %128
%131 = load i32, ptr %15, align 4
%132 = load i32, ptr %16, align 4
%133 = load ptr, ptr %17, align 8
%134 = load i32, ptr %18, align 4
%135 = load i32, ptr %19, align 4
%136 = load i32, ptr %20, align 4
%137 = load ptr, ptr %21, align 8
%138 = load i32, ptr %22, align 4
%139 = load i32, ptr %23, align 4
%140 = load i32, ptr %24, align 4
%141 = call i32 @c_cast_bitmap_word32_word8(i32 noundef %131, i32 noundef %132, ptr noundef %133, i32 noundef %134, i32 noundef %135, i32 noundef %136, ptr noundef %137, i32 noundef %138, i32 noundef %139, i32 noundef %140)
br label %178
142: ; preds = %128
%143 = load i32, ptr %15, align 4
%144 = load i32, ptr %16, align 4
%145 = load ptr, ptr %17, align 8
%146 = load i32, ptr %18, align 4
%147 = load i32, ptr %19, align 4
%148 = load i32, ptr %20, align 4
%149 = load ptr, ptr %21, align 8
%150 = load i32, ptr %22, align 4
%151 = load i32, ptr %23, align 4
%152 = load i32, ptr %24, align 4
%153 = call i32 @c_cast_bitmap_word32_word16(i32 noundef %143, i32 noundef %144, ptr noundef %145, i32 noundef %146, i32 noundef %147, i32 noundef %148, ptr noundef %149, i32 noundef %150, i32 noundef %151, i32 noundef %152)
br label %178
154: ; preds = %128
%155 = load i32, ptr %15, align 4
%156 = load i32, ptr %16, align 4
%157 = load ptr, ptr %17, align 8
%158 = load i32, ptr %18, align 4
%159 = load i32, ptr %19, align 4
%160 = load i32, ptr %20, align 4
%161 = load ptr, ptr %21, align 8
%162 = load i32, ptr %22, align 4
%163 = load i32, ptr %23, align 4
%164 = load i32, ptr %24, align 4
%165 = call i32 @c_cast_bitmap_word32_word32(i32 noundef %155, i32 noundef %156, ptr noundef %157, i32 noundef %158, i32 noundef %159, i32 noundef %160, ptr noundef %161, i32 noundef %162, i32 noundef %163, i32 noundef %164)
br label %178
166: ; preds = %128
%167 = load i32, ptr %15, align 4
%168 = load i32, ptr %16, align 4
%169 = load ptr, ptr %17, align 8
%170 = load i32, ptr %18, align 4
%171 = load i32, ptr %19, align 4
%172 = load i32, ptr %20, align 4
%173 = load ptr, ptr %21, align 8
%174 = load i32, ptr %22, align 4
%175 = load i32, ptr %23, align 4
%176 = load i32, ptr %24, align 4
%177 = call i32 @c_cast_bitmap_word32_float(i32 noundef %167, i32 noundef %168, ptr noundef %169, i32 noundef %170, i32 noundef %171, i32 noundef %172, ptr noundef %173, i32 noundef %174, i32 noundef %175, i32 noundef %176)
br label %178
178: ; preds = %128, %166, %154, %142, %130
br label %230
179: ; preds = %12
%180 = load i32, ptr %14, align 4
switch i32 %180, label %229 [
i32 1, label %181
i32 2, label %193
i32 3, label %205
i32 4, label %217
]
181: ; preds = %179
%182 = load i32, ptr %15, align 4
%183 = load i32, ptr %16, align 4
%184 = load ptr, ptr %17, align 8
%185 = load i32, ptr %18, align 4
%186 = load i32, ptr %19, align 4
%187 = load i32, ptr %20, align 4
%188 = load ptr, ptr %21, align 8
%189 = load i32, ptr %22, align 4
%190 = load i32, ptr %23, align 4
%191 = load i32, ptr %24, align 4
%192 = call i32 @c_cast_bitmap_float_word8(i32 noundef %182, i32 noundef %183, ptr noundef %184, i32 noundef %185, i32 noundef %186, i32 noundef %187, ptr noundef %188, i32 noundef %189, i32 noundef %190, i32 noundef %191)
br label %229
193: ; preds = %179
%194 = load i32, ptr %15, align 4
%195 = load i32, ptr %16, align 4
%196 = load ptr, ptr %17, align 8
%197 = load i32, ptr %18, align 4
%198 = load i32, ptr %19, align 4
%199 = load i32, ptr %20, align 4
%200 = load ptr, ptr %21, align 8
%201 = load i32, ptr %22, align 4
%202 = load i32, ptr %23, align 4
%203 = load i32, ptr %24, align 4
%204 = call i32 @c_cast_bitmap_float_word16(i32 noundef %194, i32 noundef %195, ptr noundef %196, i32 noundef %197, i32 noundef %198, i32 noundef %199, ptr noundef %200, i32 noundef %201, i32 noundef %202, i32 noundef %203)
br label %229
205: ; preds = %179
%206 = load i32, ptr %15, align 4
%207 = load i32, ptr %16, align 4
%208 = load ptr, ptr %17, align 8
%209 = load i32, ptr %18, align 4
%210 = load i32, ptr %19, align 4
%211 = load i32, ptr %20, align 4
%212 = load ptr, ptr %21, align 8
%213 = load i32, ptr %22, align 4
%214 = load i32, ptr %23, align 4
%215 = load i32, ptr %24, align 4
%216 = call i32 @c_cast_bitmap_float_word32(i32 noundef %206, i32 noundef %207, ptr noundef %208, i32 noundef %209, i32 noundef %210, i32 noundef %211, ptr noundef %212, i32 noundef %213, i32 noundef %214, i32 noundef %215)
br label %229
217: ; preds = %179
%218 = load i32, ptr %15, align 4
%219 = load i32, ptr %16, align 4
%220 = load ptr, ptr %17, align 8
%221 = load i32, ptr %18, align 4
%222 = load i32, ptr %19, align 4
%223 = load i32, ptr %20, align 4
%224 = load ptr, ptr %21, align 8
%225 = load i32, ptr %22, align 4
%226 = load i32, ptr %23, align 4
%227 = load i32, ptr %24, align 4
%228 = call i32 @c_cast_bitmap_float_float(i32 noundef %218, i32 noundef %219, ptr noundef %220, i32 noundef %221, i32 noundef %222, i32 noundef %223, ptr noundef %224, i32 noundef %225, i32 noundef %226, i32 noundef %227)
br label %229
229: ; preds = %179, %217, %205, %193, %181
br label %230
230: ; preds = %12, %229, %178, %127, %76
ret void
}
declare i32 @c_cast_bitmap_word8_word8(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_word8_word16(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_word8_word32(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_word8_float(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_word16_word8(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_word16_word16(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_word16_word32(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_word16_float(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_word32_word8(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_word32_word16(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_word32_word32(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_word32_float(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_float_word8(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_float_word16(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_float_word32(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_float_float(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, 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/tmpu2jlvlq1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c_cast_bitmap(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11) #0 {
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca ptr, align 8
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
store i32 %0, ptr %13, align 4
store i32 %1, ptr %14, align 4
store i32 %2, ptr %15, align 4
store i32 %3, ptr %16, align 4
store ptr %4, ptr %17, align 8
store i32 %5, ptr %18, align 4
store i32 %6, ptr %19, align 4
store i32 %7, ptr %20, align 4
store ptr %8, ptr %21, align 8
store i32 %9, ptr %22, align 4
store i32 %10, ptr %23, align 4
store i32 %11, ptr %24, align 4
%25 = load i32, ptr %13, align 4
switch i32 %25, label %230 [
i32 1, label %26
i32 2, label %77
i32 3, label %128
i32 4, label %179
]
26: ; preds = %12
%27 = load i32, ptr %14, align 4
switch i32 %27, label %76 [
i32 1, label %28
i32 2, label %40
i32 3, label %52
i32 4, label %64
]
28: ; preds = %26
%29 = load i32, ptr %15, align 4
%30 = load i32, ptr %16, align 4
%31 = load ptr, ptr %17, align 8
%32 = load i32, ptr %18, align 4
%33 = load i32, ptr %19, align 4
%34 = load i32, ptr %20, align 4
%35 = load ptr, ptr %21, align 8
%36 = load i32, ptr %22, align 4
%37 = load i32, ptr %23, align 4
%38 = load i32, ptr %24, align 4
%39 = call i32 @c_cast_bitmap_word8_word8(i32 noundef %29, i32 noundef %30, ptr noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef %34, ptr noundef %35, i32 noundef %36, i32 noundef %37, i32 noundef %38)
br label %76
40: ; preds = %26
%41 = load i32, ptr %15, align 4
%42 = load i32, ptr %16, align 4
%43 = load ptr, ptr %17, align 8
%44 = load i32, ptr %18, align 4
%45 = load i32, ptr %19, align 4
%46 = load i32, ptr %20, align 4
%47 = load ptr, ptr %21, align 8
%48 = load i32, ptr %22, align 4
%49 = load i32, ptr %23, align 4
%50 = load i32, ptr %24, align 4
%51 = call i32 @c_cast_bitmap_word8_word16(i32 noundef %41, i32 noundef %42, ptr noundef %43, i32 noundef %44, i32 noundef %45, i32 noundef %46, ptr noundef %47, i32 noundef %48, i32 noundef %49, i32 noundef %50)
br label %76
52: ; preds = %26
%53 = load i32, ptr %15, align 4
%54 = load i32, ptr %16, align 4
%55 = load ptr, ptr %17, align 8
%56 = load i32, ptr %18, align 4
%57 = load i32, ptr %19, align 4
%58 = load i32, ptr %20, align 4
%59 = load ptr, ptr %21, align 8
%60 = load i32, ptr %22, align 4
%61 = load i32, ptr %23, align 4
%62 = load i32, ptr %24, align 4
%63 = call i32 @c_cast_bitmap_word8_word32(i32 noundef %53, i32 noundef %54, ptr noundef %55, i32 noundef %56, i32 noundef %57, i32 noundef %58, ptr noundef %59, i32 noundef %60, i32 noundef %61, i32 noundef %62)
br label %76
64: ; preds = %26
%65 = load i32, ptr %15, align 4
%66 = load i32, ptr %16, align 4
%67 = load ptr, ptr %17, align 8
%68 = load i32, ptr %18, align 4
%69 = load i32, ptr %19, align 4
%70 = load i32, ptr %20, align 4
%71 = load ptr, ptr %21, align 8
%72 = load i32, ptr %22, align 4
%73 = load i32, ptr %23, align 4
%74 = load i32, ptr %24, align 4
%75 = call i32 @c_cast_bitmap_word8_float(i32 noundef %65, i32 noundef %66, ptr noundef %67, i32 noundef %68, i32 noundef %69, i32 noundef %70, ptr noundef %71, i32 noundef %72, i32 noundef %73, i32 noundef %74)
br label %76
76: ; preds = %64, %52, %40, %28, %26
br label %230
77: ; preds = %12
%78 = load i32, ptr %14, align 4
switch i32 %78, label %127 [
i32 1, label %79
i32 2, label %91
i32 3, label %103
i32 4, label %115
]
79: ; preds = %77
%80 = load i32, ptr %15, align 4
%81 = load i32, ptr %16, align 4
%82 = load ptr, ptr %17, align 8
%83 = load i32, ptr %18, align 4
%84 = load i32, ptr %19, align 4
%85 = load i32, ptr %20, align 4
%86 = load ptr, ptr %21, align 8
%87 = load i32, ptr %22, align 4
%88 = load i32, ptr %23, align 4
%89 = load i32, ptr %24, align 4
%90 = call i32 @c_cast_bitmap_word16_word8(i32 noundef %80, i32 noundef %81, ptr noundef %82, i32 noundef %83, i32 noundef %84, i32 noundef %85, ptr noundef %86, i32 noundef %87, i32 noundef %88, i32 noundef %89)
br label %127
91: ; preds = %77
%92 = load i32, ptr %15, align 4
%93 = load i32, ptr %16, align 4
%94 = load ptr, ptr %17, align 8
%95 = load i32, ptr %18, align 4
%96 = load i32, ptr %19, align 4
%97 = load i32, ptr %20, align 4
%98 = load ptr, ptr %21, align 8
%99 = load i32, ptr %22, align 4
%100 = load i32, ptr %23, align 4
%101 = load i32, ptr %24, align 4
%102 = call i32 @c_cast_bitmap_word16_word16(i32 noundef %92, i32 noundef %93, ptr noundef %94, i32 noundef %95, i32 noundef %96, i32 noundef %97, ptr noundef %98, i32 noundef %99, i32 noundef %100, i32 noundef %101)
br label %127
103: ; preds = %77
%104 = load i32, ptr %15, align 4
%105 = load i32, ptr %16, align 4
%106 = load ptr, ptr %17, align 8
%107 = load i32, ptr %18, align 4
%108 = load i32, ptr %19, align 4
%109 = load i32, ptr %20, align 4
%110 = load ptr, ptr %21, align 8
%111 = load i32, ptr %22, align 4
%112 = load i32, ptr %23, align 4
%113 = load i32, ptr %24, align 4
%114 = call i32 @c_cast_bitmap_word16_word32(i32 noundef %104, i32 noundef %105, ptr noundef %106, i32 noundef %107, i32 noundef %108, i32 noundef %109, ptr noundef %110, i32 noundef %111, i32 noundef %112, i32 noundef %113)
br label %127
115: ; preds = %77
%116 = load i32, ptr %15, align 4
%117 = load i32, ptr %16, align 4
%118 = load ptr, ptr %17, align 8
%119 = load i32, ptr %18, align 4
%120 = load i32, ptr %19, align 4
%121 = load i32, ptr %20, align 4
%122 = load ptr, ptr %21, align 8
%123 = load i32, ptr %22, align 4
%124 = load i32, ptr %23, align 4
%125 = load i32, ptr %24, align 4
%126 = call i32 @c_cast_bitmap_word16_float(i32 noundef %116, i32 noundef %117, ptr noundef %118, i32 noundef %119, i32 noundef %120, i32 noundef %121, ptr noundef %122, i32 noundef %123, i32 noundef %124, i32 noundef %125)
br label %127
127: ; preds = %115, %103, %91, %79, %77
br label %230
128: ; preds = %12
%129 = load i32, ptr %14, align 4
switch i32 %129, label %178 [
i32 1, label %130
i32 2, label %142
i32 3, label %154
i32 4, label %166
]
130: ; preds = %128
%131 = load i32, ptr %15, align 4
%132 = load i32, ptr %16, align 4
%133 = load ptr, ptr %17, align 8
%134 = load i32, ptr %18, align 4
%135 = load i32, ptr %19, align 4
%136 = load i32, ptr %20, align 4
%137 = load ptr, ptr %21, align 8
%138 = load i32, ptr %22, align 4
%139 = load i32, ptr %23, align 4
%140 = load i32, ptr %24, align 4
%141 = call i32 @c_cast_bitmap_word32_word8(i32 noundef %131, i32 noundef %132, ptr noundef %133, i32 noundef %134, i32 noundef %135, i32 noundef %136, ptr noundef %137, i32 noundef %138, i32 noundef %139, i32 noundef %140)
br label %178
142: ; preds = %128
%143 = load i32, ptr %15, align 4
%144 = load i32, ptr %16, align 4
%145 = load ptr, ptr %17, align 8
%146 = load i32, ptr %18, align 4
%147 = load i32, ptr %19, align 4
%148 = load i32, ptr %20, align 4
%149 = load ptr, ptr %21, align 8
%150 = load i32, ptr %22, align 4
%151 = load i32, ptr %23, align 4
%152 = load i32, ptr %24, align 4
%153 = call i32 @c_cast_bitmap_word32_word16(i32 noundef %143, i32 noundef %144, ptr noundef %145, i32 noundef %146, i32 noundef %147, i32 noundef %148, ptr noundef %149, i32 noundef %150, i32 noundef %151, i32 noundef %152)
br label %178
154: ; preds = %128
%155 = load i32, ptr %15, align 4
%156 = load i32, ptr %16, align 4
%157 = load ptr, ptr %17, align 8
%158 = load i32, ptr %18, align 4
%159 = load i32, ptr %19, align 4
%160 = load i32, ptr %20, align 4
%161 = load ptr, ptr %21, align 8
%162 = load i32, ptr %22, align 4
%163 = load i32, ptr %23, align 4
%164 = load i32, ptr %24, align 4
%165 = call i32 @c_cast_bitmap_word32_word32(i32 noundef %155, i32 noundef %156, ptr noundef %157, i32 noundef %158, i32 noundef %159, i32 noundef %160, ptr noundef %161, i32 noundef %162, i32 noundef %163, i32 noundef %164)
br label %178
166: ; preds = %128
%167 = load i32, ptr %15, align 4
%168 = load i32, ptr %16, align 4
%169 = load ptr, ptr %17, align 8
%170 = load i32, ptr %18, align 4
%171 = load i32, ptr %19, align 4
%172 = load i32, ptr %20, align 4
%173 = load ptr, ptr %21, align 8
%174 = load i32, ptr %22, align 4
%175 = load i32, ptr %23, align 4
%176 = load i32, ptr %24, align 4
%177 = call i32 @c_cast_bitmap_word32_float(i32 noundef %167, i32 noundef %168, ptr noundef %169, i32 noundef %170, i32 noundef %171, i32 noundef %172, ptr noundef %173, i32 noundef %174, i32 noundef %175, i32 noundef %176)
br label %178
178: ; preds = %166, %154, %142, %130, %128
br label %230
179: ; preds = %12
%180 = load i32, ptr %14, align 4
switch i32 %180, label %229 [
i32 1, label %181
i32 2, label %193
i32 3, label %205
i32 4, label %217
]
181: ; preds = %179
%182 = load i32, ptr %15, align 4
%183 = load i32, ptr %16, align 4
%184 = load ptr, ptr %17, align 8
%185 = load i32, ptr %18, align 4
%186 = load i32, ptr %19, align 4
%187 = load i32, ptr %20, align 4
%188 = load ptr, ptr %21, align 8
%189 = load i32, ptr %22, align 4
%190 = load i32, ptr %23, align 4
%191 = load i32, ptr %24, align 4
%192 = call i32 @c_cast_bitmap_float_word8(i32 noundef %182, i32 noundef %183, ptr noundef %184, i32 noundef %185, i32 noundef %186, i32 noundef %187, ptr noundef %188, i32 noundef %189, i32 noundef %190, i32 noundef %191)
br label %229
193: ; preds = %179
%194 = load i32, ptr %15, align 4
%195 = load i32, ptr %16, align 4
%196 = load ptr, ptr %17, align 8
%197 = load i32, ptr %18, align 4
%198 = load i32, ptr %19, align 4
%199 = load i32, ptr %20, align 4
%200 = load ptr, ptr %21, align 8
%201 = load i32, ptr %22, align 4
%202 = load i32, ptr %23, align 4
%203 = load i32, ptr %24, align 4
%204 = call i32 @c_cast_bitmap_float_word16(i32 noundef %194, i32 noundef %195, ptr noundef %196, i32 noundef %197, i32 noundef %198, i32 noundef %199, ptr noundef %200, i32 noundef %201, i32 noundef %202, i32 noundef %203)
br label %229
205: ; preds = %179
%206 = load i32, ptr %15, align 4
%207 = load i32, ptr %16, align 4
%208 = load ptr, ptr %17, align 8
%209 = load i32, ptr %18, align 4
%210 = load i32, ptr %19, align 4
%211 = load i32, ptr %20, align 4
%212 = load ptr, ptr %21, align 8
%213 = load i32, ptr %22, align 4
%214 = load i32, ptr %23, align 4
%215 = load i32, ptr %24, align 4
%216 = call i32 @c_cast_bitmap_float_word32(i32 noundef %206, i32 noundef %207, ptr noundef %208, i32 noundef %209, i32 noundef %210, i32 noundef %211, ptr noundef %212, i32 noundef %213, i32 noundef %214, i32 noundef %215)
br label %229
217: ; preds = %179
%218 = load i32, ptr %15, align 4
%219 = load i32, ptr %16, align 4
%220 = load ptr, ptr %17, align 8
%221 = load i32, ptr %18, align 4
%222 = load i32, ptr %19, align 4
%223 = load i32, ptr %20, align 4
%224 = load ptr, ptr %21, align 8
%225 = load i32, ptr %22, align 4
%226 = load i32, ptr %23, align 4
%227 = load i32, ptr %24, align 4
%228 = call i32 @c_cast_bitmap_float_float(i32 noundef %218, i32 noundef %219, ptr noundef %220, i32 noundef %221, i32 noundef %222, i32 noundef %223, ptr noundef %224, i32 noundef %225, i32 noundef %226, i32 noundef %227)
br label %229
229: ; preds = %217, %205, %193, %181, %179
br label %230
230: ; preds = %229, %178, %127, %76, %12
ret void
}
declare i32 @c_cast_bitmap_word8_word8(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_word8_word16(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_word8_word32(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_word8_float(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_word16_word8(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_word16_word16(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_word16_word32(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_word16_float(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_word32_word8(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_word32_word16(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_word32_word32(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_word32_float(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_float_word8(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_float_word16(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_float_word32(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @c_cast_bitmap_float_float(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, 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 = '/tmp/tmp0uszz9o8.c'
source_filename = "/tmp/tmp0uszz9o8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zap_relinquish() #0 {
%1 = call i32 (...) @sched_yield()
ret void
}
declare i32 @sched_yield(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0uszz9o8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zap_relinquish() #0 {
%1 = call i32 (...) @sched_yield()
ret void
}
declare i32 @sched_yield(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0npbjbr5.c'
source_filename = "/tmp/tmp0npbjbr5.c"
target datalayout = "e-m:e-p270: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/tmp0npbjbr5.c"
target datalayout = "e-m:e-p270: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/tmpxgsedr7m.c'
source_filename = "/tmp/tmpxgsedr7m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"The value of i is: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %6, %0
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
br label %6
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, 1
store i32 %8, ptr %2, align 4
%9 = icmp slt i32 %7, 9
br i1 %9, label %3, label %10, !llvm.loop !6
10: ; preds = %6
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxgsedr7m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"The value of i is: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %6, %0
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
br label %6
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, 1
store i32 %8, ptr %2, align 4
%9 = icmp slt i32 %7, 9
br i1 %9, label %3, label %10, !llvm.loop !6
10: ; preds = %6
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpzg0nojn4.c'
source_filename = "/tmp/tmpzg0nojn4.c"
target datalayout = "e-m:e-p270: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/tmpzg0nojn4.c"
target datalayout = "e-m:e-p270: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/tmpr3hfxxme.c'
source_filename = "/tmp/tmpr3hfxxme.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LinkedList_Create(i32 noundef 8)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @LinkedList_Print(ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = call ptr @reverse(ptr noundef %8)
store ptr %9, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
%11 = call i32 @LinkedList_Print(ptr noundef %10)
%12 = load ptr, ptr %2, align 8
%13 = call i32 @LinkedList_Destroy(ptr noundef %12)
ret i32 0
}
declare ptr @LinkedList_Create(i32 noundef) #1
declare i32 @LinkedList_Print(ptr noundef) #1
declare ptr @reverse(ptr noundef) #1
declare i32 @LinkedList_Destroy(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr3hfxxme.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LinkedList_Create(i32 noundef 8)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @LinkedList_Print(ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = call ptr @reverse(ptr noundef %8)
store ptr %9, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
%11 = call i32 @LinkedList_Print(ptr noundef %10)
%12 = load ptr, ptr %2, align 8
%13 = call i32 @LinkedList_Destroy(ptr noundef %12)
ret i32 0
}
declare ptr @LinkedList_Create(i32 noundef) #1
declare i32 @LinkedList_Print(ptr noundef) #1
declare ptr @reverse(ptr noundef) #1
declare i32 @LinkedList_Destroy(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3cn8d5g3.c'
source_filename = "/tmp/tmp3cn8d5g3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_whitespace(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 32
br i1 %4, label %11, label %5
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = icmp eq i32 %6, 9
br i1 %7, label %11, label %8
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = icmp eq i32 %9, 10
br label %11
11: ; preds = %8, %5, %1
%12 = phi i1 [ true, %5 ], [ true, %1 ], [ %10, %8 ]
%13 = zext i1 %12 to i32
ret i32 %13
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3cn8d5g3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_whitespace(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 32
br i1 %4, label %11, label %5
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = icmp eq i32 %6, 9
br i1 %7, label %11, label %8
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = icmp eq i32 %9, 10
br label %11
11: ; preds = %8, %5, %1
%12 = phi i1 [ true, %5 ], [ true, %1 ], [ %10, %8 ]
%13 = zext i1 %12 to i32
ret i32 %13
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7m3lob4o.c'
source_filename = "/tmp/tmp7m3lob4o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [51 x i8] c"%s <string 1> <string 2> <no of chars to compare>\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"diff is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 4
br i1 %9, label %10, label %15
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %13)
store i32 -1, ptr %3, align 4
br label %31
15: ; preds = %2
%16 = call i32 (...) @init()
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 3
%19 = load ptr, ptr %18, align 8
%20 = call i32 @atoi(ptr noundef %19)
store i32 %20, ptr %6, align 4
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 2
%26 = load ptr, ptr %25, align 8
%27 = load i32, ptr %6, align 4
%28 = call i32 @mystery8(ptr noundef %23, ptr noundef %26, i32 noundef %27)
store i32 %28, ptr %7, align 4
%29 = load i32, ptr %7, align 4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %29)
br label %31
31: ; preds = %15, %10
%32 = load i32, ptr %3, align 4
ret i32 %32
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @init(...) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @mystery8(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/tmp7m3lob4o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [51 x i8] c"%s <string 1> <string 2> <no of chars to compare>\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"diff is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 4
br i1 %9, label %10, label %15
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %13)
store i32 -1, ptr %3, align 4
br label %31
15: ; preds = %2
%16 = call i32 (...) @init()
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 3
%19 = load ptr, ptr %18, align 8
%20 = call i32 @atoi(ptr noundef %19)
store i32 %20, ptr %6, align 4
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 2
%26 = load ptr, ptr %25, align 8
%27 = load i32, ptr %6, align 4
%28 = call i32 @mystery8(ptr noundef %23, ptr noundef %26, i32 noundef %27)
store i32 %28, ptr %7, align 4
%29 = load i32, ptr %7, align 4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %29)
br label %31
31: ; preds = %15, %10
%32 = load i32, ptr %3, align 4
ret i32 %32
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @init(...) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @mystery8(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/tmp4ts9icsi.c'
source_filename = "/tmp/tmp4ts9icsi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4ts9icsi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmperu2csur.c'
source_filename = "/tmp/tmperu2csur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"result: %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 3, ptr %3, align 4
br label %4
4: ; preds = %15, %0
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 1000
br i1 %6, label %7, label %18
7: ; preds = %4
%8 = load i32, ptr %3, align 4
%9 = srem i32 %8, 5
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %7
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, %12
store i32 %14, ptr %2, align 4
br label %15
15: ; preds = %11, %7
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 3
store i32 %17, ptr %3, align 4
br label %4, !llvm.loop !6
18: ; preds = %4
store i32 5, ptr %3, align 4
br label %19
19: ; preds = %22, %18
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %20, 1000
br i1 %21, label %22, label %28
22: ; preds = %19
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %2, align 4
%25 = add nsw i32 %24, %23
store i32 %25, ptr %2, align 4
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, 5
store i32 %27, ptr %3, align 4
br label %19, !llvm.loop !8
28: ; preds = %19
%29 = load i32, ptr %2, align 4
%30 = call i32 @printf(ptr noundef @.str, i32 noundef %29)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmperu2csur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"result: %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 3, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 1000
br i1 %5, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %14
%7 = load i32, ptr %3, align 4
%8 = srem i32 %7, 5
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %6
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, %11
store i32 %13, ptr %2, align 4
br label %14
14: ; preds = %10, %6
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 3
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp slt i32 %17, 1000
br i1 %18, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %0
store i32 5, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %20, 1000
br i1 %21, label %.lr.ph2, label %30
.lr.ph2: ; preds = %19
br label %22
22: ; preds = %.lr.ph2, %22
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %2, align 4
%25 = add nsw i32 %24, %23
store i32 %25, ptr %2, align 4
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, 5
store i32 %27, ptr %3, align 4
%28 = load i32, ptr %3, align 4
%29 = icmp slt i32 %28, 1000
br i1 %29, label %22, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %22
br label %30
30: ; preds = %._crit_edge3, %19
%31 = load i32, ptr %2, align 4
%32 = call i32 @printf(ptr noundef @.str, i32 noundef %31)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp38k4tzpq.c'
source_filename = "/tmp/tmp38k4tzpq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"'%s' has %d unique letters\0A\00", align 1
@.str.1 = private unnamed_addr constant [42 x i8] c"Hey, supply a state name as an argument!\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp sgt i32 %7, 1
br i1 %8, label %9, label %18
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
store ptr %12, ptr %6, align 8
%13 = load ptr, ptr %6, align 8
%14 = load ptr, ptr %6, align 8
%15 = call i32 @unique_letters(ptr noundef %14)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %13, i32 noundef %15)
%17 = call i32 @exit(i32 noundef 0) #3
unreachable
18: ; preds = %2
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %20
20: ; preds = %18
%21 = call i32 @exit(i32 noundef 10) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @unique_letters(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/tmp38k4tzpq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"'%s' has %d unique letters\0A\00", align 1
@.str.1 = private unnamed_addr constant [42 x i8] c"Hey, supply a state name as an argument!\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp sgt i32 %7, 1
br i1 %8, label %9, label %18
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
store ptr %12, ptr %6, align 8
%13 = load ptr, ptr %6, align 8
%14 = load ptr, ptr %6, align 8
%15 = call i32 @unique_letters(ptr noundef %14)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %13, i32 noundef %15)
%17 = call i32 @exit(i32 noundef 0) #3
unreachable
18: ; preds = %2
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %20
20: ; preds = %18
%21 = call i32 @exit(i32 noundef 10) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @unique_letters(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/tmp9ww37zig.c'
source_filename = "/tmp/tmp9ww37zig.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @upperstring(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
br label %5
5: ; preds = %14, %1
%6 = load ptr, ptr %3, align 8
%7 = load i8, ptr %6, align 1
%8 = icmp ne i8 %7, 0
br i1 %8, label %9, label %17
9: ; preds = %5
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = call signext i8 @toupper(i8 noundef signext %11)
%13 = load ptr, ptr %3, align 8
store i8 %12, ptr %13, align 1
br label %14
14: ; preds = %9
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 1
store ptr %16, ptr %3, align 8
br label %5, !llvm.loop !6
17: ; preds = %5
ret void
}
declare signext i8 @toupper(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9ww37zig.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @upperstring(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i8, ptr %5, align 1
%7 = icmp ne i8 %6, 0
br i1 %7, label %.lr.ph, label %19
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %13
%9 = load ptr, ptr %3, align 8
%10 = load i8, ptr %9, align 1
%11 = call signext i8 @toupper(i8 noundef signext %10)
%12 = load ptr, ptr %3, align 8
store i8 %11, ptr %12, align 1
br label %13
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds i8, ptr %14, i32 1
store ptr %15, ptr %3, align 8
%16 = load ptr, ptr %3, align 8
%17 = load i8, ptr %16, align 1
%18 = icmp ne i8 %17, 0
br i1 %18, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %19
19: ; preds = %._crit_edge, %1
ret void
}
declare signext i8 @toupper(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpuf5hadav.c'
source_filename = "/tmp/tmpuf5hadav.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @loglineal(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca float, align 4
store float %0, ptr %2, align 4
%4 = load float, ptr %2, align 4
%5 = load float, ptr %2, align 4
%6 = call float @log(float noundef %5)
%7 = fmul float %4, %6
store float %7, ptr %3, align 4
%8 = load float, ptr %3, align 4
%9 = fpext float %8 to double
ret double %9
}
declare float @log(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuf5hadav.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @loglineal(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca float, align 4
store float %0, ptr %2, align 4
%4 = load float, ptr %2, align 4
%5 = load float, ptr %2, align 4
%6 = call float @log(float noundef %5)
%7 = fmul float %4, %6
store float %7, ptr %3, align 4
%8 = load float, ptr %3, align 4
%9 = fpext float %8 to double
ret double %9
}
declare float @log(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvvx__do1.c'
source_filename = "/tmp/tmpvvx__do1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @initialize()
%3 = call i32 (...) @test_block_source()
%4 = call i32 (...) @test_unblock_source()
%5 = call i32 (...) @report_and_exit()
ret i32 0
}
declare i32 @initialize(...) #1
declare i32 @test_block_source(...) #1
declare i32 @test_unblock_source(...) #1
declare i32 @report_and_exit(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvvx__do1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @initialize()
%3 = call i32 (...) @test_block_source()
%4 = call i32 (...) @test_unblock_source()
%5 = call i32 (...) @report_and_exit()
ret i32 0
}
declare i32 @initialize(...) #1
declare i32 @test_block_source(...) #1
declare i32 @test_unblock_source(...) #1
declare i32 @report_and_exit(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptg3icezf.c'
source_filename = "/tmp/tmptg3icezf.c"
target datalayout = "e-m:e-p270: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/tmptg3icezf.c"
target datalayout = "e-m:e-p270: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/tmpebzssmjv.c'
source_filename = "/tmp/tmpebzssmjv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [66 x i8] c"Usage: build [-b] bootsect setup system rootdev vmlinux [> image]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @die(ptr noundef @.str)
ret void
}
declare i32 @die(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpebzssmjv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [66 x i8] c"Usage: build [-b] bootsect setup system rootdev vmlinux [> image]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @die(ptr noundef @.str)
ret void
}
declare i32 @die(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdpp29p6g.c'
source_filename = "/tmp/tmpdpp29p6g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define weak dso_local i32 @softboundcets_remove(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 @remove(ptr noundef %3)
ret i32 %4
}
declare i32 @remove(ptr noundef) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdpp29p6g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define weak dso_local i32 @softboundcets_remove(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 @remove(ptr noundef %3)
ret i32 %4
}
declare i32 @remove(ptr noundef) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpia2ej2wl.c'
source_filename = "/tmp/tmpia2ej2wl.c"
target datalayout = "e-m:e-p270: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/tmpia2ej2wl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa_pjiuvf.c'
source_filename = "/tmp/tmpa_pjiuvf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa_pjiuvf.c"
target datalayout = "e-m:e-p270: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/tmpx_wxscmw.c'
source_filename = "/tmp/tmpx_wxscmw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(read) uwtable
define dso_local i32 @tolower(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = call i64 @isupper(i32 noundef %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, 32
store i32 %9, ptr %2, align 4
br label %12
10: ; preds = %1
%11 = load i32, ptr %3, align 4
store i32 %11, ptr %2, align 4
br label %12
12: ; preds = %10, %7
%13 = load i32, ptr %2, align 4
ret i32 %13
}
declare i64 @isupper(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx_wxscmw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(read) uwtable
define dso_local i32 @tolower(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = call i64 @isupper(i32 noundef %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, 32
store i32 %9, ptr %2, align 4
br label %12
10: ; preds = %1
%11 = load i32, ptr %3, align 4
store i32 %11, ptr %2, align 4
br label %12
12: ; preds = %10, %7
%13 = load i32, ptr %2, align 4
ret i32 %13
}
declare i64 @isupper(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6seu0xt8.c'
source_filename = "/tmp/tmp6seu0xt8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @strlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
br label %4
4: ; preds = %8, %1
%5 = load ptr, ptr %2, align 8
%6 = load i8, ptr %5, align 1
%7 = icmp ne i8 %6, 0
br i1 %7, label %8, label %13
8: ; preds = %4
%9 = load i64, ptr %3, align 8
%10 = add i64 %9, 1
store i64 %10, ptr %3, align 8
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %2, align 8
br label %4, !llvm.loop !6
13: ; preds = %4
%14 = load i64, ptr %3, align 8
ret i64 %14
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp6seu0xt8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @strlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
%4 = load ptr, ptr %2, align 8
%5 = load i8, ptr %4, align 1
%6 = icmp ne i8 %5, 0
br i1 %6, label %.lr.ph, label %15
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %7
%8 = load i64, ptr %3, align 8
%9 = add i64 %8, 1
store i64 %9, ptr %3, align 8
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds i8, ptr %10, i32 1
store ptr %11, ptr %2, align 8
%12 = load ptr, ptr %2, align 8
%13 = load i8, ptr %12, align 1
%14 = icmp ne i8 %13, 0
br i1 %14, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %15
15: ; preds = %._crit_edge, %1
%16 = load i64, ptr %3, align 8
ret i64 %16
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp0aaqr863.c'
source_filename = "/tmp/tmp0aaqr863.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_box(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %7, label %6
6: ; preds = %1
store i32 0, ptr %2, align 4
br label %12
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i32 @reset_box_ac(ptr noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = call i32 @free(ptr noundef %10)
store i32 0, ptr %2, align 4
br label %12
12: ; preds = %7, %6
%13 = load i32, ptr %2, align 4
ret i32 %13
}
declare i32 @reset_box_ac(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0aaqr863.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_box(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %7, label %6
6: ; preds = %1
store i32 0, ptr %2, align 4
br label %12
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i32 @reset_box_ac(ptr noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = call i32 @free(ptr noundef %10)
store i32 0, ptr %2, align 4
br label %12
12: ; preds = %7, %6
%13 = load i32, ptr %2, align 4
ret i32 %13
}
declare i32 @reset_box_ac(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9gj0t6pm.c'
source_filename = "/tmp/tmp9gj0t6pm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_line(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i8, align 1
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store i8 97, ptr %6, align 1
br label %7
7: ; preds = %23, %2
%8 = load i32, ptr %3, align 4
%9 = call i64 @read(i32 noundef %8, ptr noundef %6, i32 noundef 1)
%10 = icmp sgt i64 %9, 0
br i1 %10, label %11, label %30
11: ; preds = %7
%12 = load i8, ptr %6, align 1
%13 = icmp ne i8 %12, 0
br i1 %13, label %14, label %22
14: ; preds = %11
%15 = load i8, ptr %6, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 10
br i1 %17, label %22, label %18
18: ; preds = %14
%19 = load i8, ptr %6, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 13
br i1 %21, label %22, label %23
22: ; preds = %18, %14, %11
br label %30
23: ; preds = %18
%24 = load i8, ptr %6, align 1
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %5, align 4
%28 = sext i32 %26 to i64
%29 = getelementptr inbounds i8, ptr %25, i64 %28
store i8 %24, ptr %29, align 1
br label %7, !llvm.loop !6
30: ; preds = %22, %7
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %5, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
store i8 0, ptr %34, align 1
%35 = load i32, ptr %5, align 4
%36 = sub nsw i32 %35, 1
ret i32 %36
}
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9gj0t6pm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_line(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i8, align 1
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store i8 97, ptr %6, align 1
%7 = load i32, ptr %3, align 4
%8 = call i64 @read(i32 noundef %7, ptr noundef %6, i32 noundef 1)
%9 = icmp sgt i64 %8, 0
br i1 %9, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %22
%11 = load i8, ptr %6, align 1
%12 = icmp ne i8 %11, 0
br i1 %12, label %13, label %21
13: ; preds = %10
%14 = load i8, ptr %6, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 10
br i1 %16, label %21, label %17
17: ; preds = %13
%18 = load i8, ptr %6, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 13
br i1 %20, label %21, label %22
21: ; preds = %17, %13, %10
br label %32
22: ; preds = %17
%23 = load i8, ptr %6, align 1
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %5, align 4
%27 = sext i32 %25 to i64
%28 = getelementptr inbounds i8, ptr %24, i64 %27
store i8 %23, ptr %28, align 1
%29 = load i32, ptr %3, align 4
%30 = call i64 @read(i32 noundef %29, ptr noundef %6, i32 noundef 1)
%31 = icmp sgt i64 %30, 0
br i1 %31, label %10, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %22
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %32
32: ; preds = %.loopexit, %21
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr %5, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
store i8 0, ptr %36, align 1
%37 = load i32, ptr %5, align 4
%38 = sub nsw i32 %37, 1
ret i32 %38
}
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpbfwk_dcm.c'
source_filename = "/tmp/tmpbfwk_dcm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FD_CLOEXEC = dso_local global i32 0, align 4
@F_SETFD = 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/tmpbfwk_dcm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FD_CLOEXEC = dso_local global i32 0, align 4
@F_SETFD = 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/tmpk8lc0x6n.c'
source_filename = "/tmp/tmpk8lc0x6n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"test.txt\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"Can't open file!\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [256 x i8], align 16
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 -1, ptr %1, align 4
br label %17
9: ; preds = %0
%10 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0
%11 = load ptr, ptr %3, align 8
%12 = call i32 @fgets(ptr noundef %10, i32 noundef 256, ptr noundef %11)
%13 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %13)
%15 = load ptr, ptr %3, align 8
%16 = call i32 @fclose(ptr noundef %15)
store i32 0, ptr %1, align 4
br label %17
17: ; preds = %9, %7
%18 = load i32, ptr %1, align 4
ret i32 %18
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fgets(ptr 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/tmpk8lc0x6n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"test.txt\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"Can't open file!\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [256 x i8], align 16
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 -1, ptr %1, align 4
br label %17
9: ; preds = %0
%10 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0
%11 = load ptr, ptr %3, align 8
%12 = call i32 @fgets(ptr noundef %10, i32 noundef 256, ptr noundef %11)
%13 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %13)
%15 = load ptr, ptr %3, align 8
%16 = call i32 @fclose(ptr noundef %15)
store i32 0, ptr %1, align 4
br label %17
17: ; preds = %9, %7
%18 = load i32, ptr %1, align 4
ret i32 %18
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fgets(ptr 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/tmp5uv3xjdu.c'
source_filename = "/tmp/tmp5uv3xjdu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_UNSPEC = dso_local global i32 0, align 4
@SOCK_STREAM = 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/tmp5uv3xjdu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_UNSPEC = dso_local global i32 0, align 4
@SOCK_STREAM = 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/tmp2pqbrsbw.c'
source_filename = "/tmp/tmp2pqbrsbw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %0
br label %21
7: ; preds = %0
br label %8
8: ; preds = %12, %7
%9 = load i32, ptr %1, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %15
12: ; preds = %8
%13 = load i32, ptr %1, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %1, align 4
br label %8, !llvm.loop !6
15: ; preds = %8
%16 = load i32, ptr %1, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp eq i32 %16, %17
%19 = zext i1 %18 to i32
%20 = call i32 @__VERIFIER_assert(i32 noundef %19)
br label %21
21: ; preds = %15, %6
ret void
}
declare i32 @__VERIFIER_nondet_int(...) #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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2pqbrsbw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %0
br label %23
7: ; preds = %0
%8 = load i32, ptr %1, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %17
.lr.ph: ; preds = %7
br label %11
11: ; preds = %.lr.ph, %11
%12 = load i32, ptr %1, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %1, align 4
%14 = load i32, ptr %1, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %17
17: ; preds = %._crit_edge, %7
%18 = load i32, ptr %1, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp eq i32 %18, %19
%21 = zext i1 %20 to i32
%22 = call i32 @__VERIFIER_assert(i32 noundef %21)
br label %23
23: ; preds = %17, %6
ret void
}
declare i32 @__VERIFIER_nondet_int(...) #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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp8q1j3too.c'
source_filename = "/tmp/tmp8q1j3too.c"
target datalayout = "e-m:e-p270: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/tmp8q1j3too.c"
target datalayout = "e-m:e-p270: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/tmpr4lwzoc9.c'
source_filename = "/tmp/tmpr4lwzoc9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"m3\0DpBB\0Dz\0D\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @magellan_init(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = call i32 @write(i32 noundef %7, ptr noundef @.str, i32 noundef 9)
ret i32 0
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr4lwzoc9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"m3\0DpBB\0Dz\0D\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @magellan_init(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = call i32 @write(i32 noundef %7, ptr noundef @.str, i32 noundef 9)
ret i32 0
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdamey_0q.c'
source_filename = "/tmp/tmpdamey_0q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EC_R_UNKNOWN_GROUP = dso_local global i64 0, align 8
@ERR_LIB_EC = dso_local global i64 0, align 8
@ERR_LIB_EVP = dso_local global i64 0, align 8
@EVP_R_UNSUPPORTED_ALGORITHM = 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/tmpdamey_0q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EC_R_UNKNOWN_GROUP = dso_local global i64 0, align 8
@ERR_LIB_EC = dso_local global i64 0, align 8
@ERR_LIB_EVP = dso_local global i64 0, align 8
@EVP_R_UNSUPPORTED_ALGORITHM = 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/tmpctbs86_w.c'
source_filename = "/tmp/tmpctbs86_w.c"
target datalayout = "e-m:e-p270: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/tmpctbs86_w.c"
target datalayout = "e-m:e-p270: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/tmps4_s294e.c'
source_filename = "/tmp/tmps4_s294e.c"
target datalayout = "e-m:e-p270: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
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps4_s294e.c"
target datalayout = "e-m:e-p270: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
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9sx4jpp7.c'
source_filename = "/tmp/tmp9sx4jpp7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %3, align 4
store i32 0, ptr %5, align 4
%9 = load i32, ptr %3, align 4
%10 = sub nsw i32 %9, 1
store i32 %10, ptr %6, align 4
br label %11
11: ; preds = %37, %1
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %42
15: ; preds = %11
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %5, 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
store i32 %21, ptr %4, align 4
%22 = load ptr, ptr %2, align 8
%23 = load i32, ptr %6, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
%27 = load ptr, ptr %2, align 8
%28 = load i32, ptr %5, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
store i8 %26, ptr %30, align 1
%31 = load i32, ptr %4, align 4
%32 = trunc i32 %31 to i8
%33 = load ptr, ptr %2, align 8
%34 = load i32, ptr %6, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
store i8 %32, ptr %36, align 1
br label %37
37: ; preds = %15
%38 = load i32, ptr %5, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %5, align 4
%40 = load i32, ptr %6, align 4
%41 = add nsw i32 %40, -1
store i32 %41, ptr %6, align 4
br label %11, !llvm.loop !6
42: ; preds = %11
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9sx4jpp7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %3, align 4
store i32 0, ptr %5, align 4
%9 = load i32, ptr %3, align 4
%10 = sub nsw i32 %9, 1
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %44
.lr.ph: ; preds = %1
br label %14
14: ; preds = %.lr.ph, %36
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %5, 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
store i32 %20, ptr %4, align 4
%21 = load ptr, ptr %2, align 8
%22 = load i32, ptr %6, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i8, ptr %24, align 1
%26 = load ptr, ptr %2, align 8
%27 = load i32, ptr %5, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
store i8 %25, ptr %29, align 1
%30 = load i32, ptr %4, align 4
%31 = trunc i32 %30 to i8
%32 = load ptr, ptr %2, align 8
%33 = load i32, ptr %6, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
store i8 %31, ptr %35, align 1
br label %36
36: ; preds = %14
%37 = load i32, ptr %5, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %5, align 4
%39 = load i32, ptr %6, align 4
%40 = add nsw i32 %39, -1
store i32 %40, ptr %6, align 4
%41 = load i32, ptr %5, align 4
%42 = load i32, ptr %6, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %44
44: ; preds = %._crit_edge, %1
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9l9yn45u.c'
source_filename = "/tmp/tmp9l9yn45u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_EXTENSIONS = dso_local global i32 0, align 4
@GL_FALSE = dso_local global i32 0, align 4
@GL_TRUE = 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/tmp9l9yn45u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_EXTENSIONS = dso_local global i32 0, align 4
@GL_FALSE = dso_local global i32 0, align 4
@GL_TRUE = 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/tmpnb2up9s6.c'
source_filename = "/tmp/tmpnb2up9s6.c"
target datalayout = "e-m:e-p270: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/tmpnb2up9s6.c"
target datalayout = "e-m:e-p270: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/tmpbd61zrc_.c'
source_filename = "/tmp/tmpbd61zrc_.c"
target datalayout = "e-m:e-p270: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/tmpbd61zrc_.c"
target datalayout = "e-m:e-p270: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/tmppzahcu1b.c'
source_filename = "/tmp/tmppzahcu1b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uc(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %6, align 4
store i32 0, ptr %5, align 4
br label %9
9: ; preds = %40, %1
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %43
13: ; preds = %9
%14 = load i32, ptr %5, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %4, align 4
br label %16
16: ; preds = %36, %13
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %39
20: ; preds = %16
%21 = load ptr, ptr %3, align 8
%22 = load i32, ptr %5, 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 = load ptr, ptr %3, align 8
%28 = load i32, ptr %4, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %26, %32
br i1 %33, label %34, label %35
34: ; preds = %20
store i32 0, ptr %2, align 4
br label %44
35: ; preds = %20
br label %36
36: ; preds = %35
%37 = load i32, ptr %4, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %4, align 4
br label %16, !llvm.loop !6
39: ; preds = %16
br label %40
40: ; preds = %39
%41 = load i32, ptr %5, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %5, align 4
br label %9, !llvm.loop !8
43: ; preds = %9
store i32 1, ptr %2, align 4
br label %44
44: ; preds = %43, %34
%45 = load i32, ptr %2, align 4
ret i32 %45
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppzahcu1b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uc(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %6, align 4
store i32 0, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph2, label %47
.lr.ph2: ; preds = %1
br label %12
12: ; preds = %.lr.ph2, %41
%13 = load i32, ptr %5, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %4, align 4
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %40
.lr.ph: ; preds = %12
br label %18
18: ; preds = %.lr.ph, %34
%19 = load ptr, ptr %3, 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 = sext i8 %23 to i32
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %4, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %24, %30
br i1 %31, label %32, label %33
32: ; preds = %18
store i32 0, ptr %2, align 4
br label %48
33: ; preds = %18
br label %34
34: ; preds = %33
%35 = load i32, ptr %4, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %4, align 4
%37 = load i32, ptr %4, align 4
%38 = load i32, ptr %6, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %40
40: ; preds = %._crit_edge, %12
br label %41
41: ; preds = %40
%42 = load i32, ptr %5, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %5, align 4
%44 = load i32, ptr %5, align 4
%45 = load i32, ptr %6, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %41
br label %47
47: ; preds = %._crit_edge3, %1
store i32 1, ptr %2, align 4
br label %48
48: ; preds = %47, %32
%49 = load i32, ptr %2, align 4
ret i32 %49
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpdfyvc33c.c'
source_filename = "/tmp/tmpdfyvc33c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [61 x i8] c"This is a test\0ABut i love it !!!\0AWhat ?? it's assembly ?!?!\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Return: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store ptr @.str, ptr %6, align 8
%7 = load ptr, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = call i32 @hello_writer(ptr noundef %7, i32 noundef %9)
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11)
ret i32 0
}
declare i32 @hello_writer(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdfyvc33c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [61 x i8] c"This is a test\0ABut i love it !!!\0AWhat ?? it's assembly ?!?!\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Return: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store ptr @.str, ptr %6, align 8
%7 = load ptr, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = call i32 @hello_writer(ptr noundef %7, i32 noundef %9)
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11)
ret i32 0
}
declare i32 @hello_writer(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzpybm7w4.c'
source_filename = "/tmp/tmpzpybm7w4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buf_get_uint62(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 @buf_get_uint32(ptr noundef %6)
store i32 %7, ptr %3, align 4
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 4
%10 = call i32 @buf_get_uint32(ptr noundef %9)
store i32 %10, ptr %4, align 4
%11 = load i32, ptr %3, align 4
%12 = shl i32 %11, 32
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %12, %13
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %5, align 4
ret i32 %15
}
declare i32 @buf_get_uint32(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzpybm7w4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buf_get_uint62(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 @buf_get_uint32(ptr noundef %6)
store i32 %7, ptr %3, align 4
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 4
%10 = call i32 @buf_get_uint32(ptr noundef %9)
store i32 %10, ptr %4, align 4
%11 = load i32, ptr %3, align 4
%12 = shl i32 %11, 32
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %12, %13
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %5, align 4
ret i32 %15
}
declare i32 @buf_get_uint32(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5agi9itg.c'
source_filename = "/tmp/tmp5agi9itg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @js_add(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @js_add(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/tmp5agi9itg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @js_add(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @js_add(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/tmpsvsenyjy.c'
source_filename = "/tmp/tmpsvsenyjy.c"
target datalayout = "e-m:e-p270: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/tmpsvsenyjy.c"
target datalayout = "e-m:e-p270: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/tmpl_xz7c_i.c'
source_filename = "/tmp/tmpl_xz7c_i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SHUT_WR = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@ENOTSOCK = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @socket_connected_receive(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr @SHUT_WR, align 4
%6 = call i32 @shutdown(i32 noundef %4, i32 noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp eq i32 %7, 0
br i1 %8, label %18, label %9
9: ; preds = %1
%10 = load i32, ptr %3, align 4
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %16
12: ; preds = %9
%13 = load i64, ptr @errno, align 8
%14 = load i64, ptr @ENOTSOCK, align 8
%15 = icmp eq i64 %13, %14
br label %16
16: ; preds = %12, %9
%17 = phi i1 [ false, %9 ], [ %15, %12 ]
br label %18
18: ; preds = %16, %1
%19 = phi i1 [ true, %1 ], [ %17, %16 ]
%20 = zext i1 %19 to i32
%21 = call i32 @assert(i32 noundef %20)
ret void
}
declare i32 @shutdown(i32 noundef, i32 noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl_xz7c_i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SHUT_WR = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@ENOTSOCK = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @socket_connected_receive(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr @SHUT_WR, align 4
%6 = call i32 @shutdown(i32 noundef %4, i32 noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp eq i32 %7, 0
br i1 %8, label %18, label %9
9: ; preds = %1
%10 = load i32, ptr %3, align 4
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %16
12: ; preds = %9
%13 = load i64, ptr @errno, align 8
%14 = load i64, ptr @ENOTSOCK, align 8
%15 = icmp eq i64 %13, %14
br label %16
16: ; preds = %12, %9
%17 = phi i1 [ false, %9 ], [ %15, %12 ]
br label %18
18: ; preds = %16, %1
%19 = phi i1 [ true, %1 ], [ %17, %16 ]
%20 = zext i1 %19 to i32
%21 = call i32 @assert(i32 noundef %20)
ret void
}
declare i32 @shutdown(i32 noundef, i32 noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwi3y5p1y.c'
source_filename = "/tmp/tmpwi3y5p1y.c"
target datalayout = "e-m:e-p270: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 [31 x i8] c"yyparse returned syntax error\0A\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"yyparse returned out of memory error\0A\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"yyparse returned unknown error\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = call i32 @parse_args(i32 noundef %7, ptr noundef %8)
%10 = call i32 (...) @yyparse()
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
switch i32 %11, label %19 [
i32 0, label %12
i32 1, label %13
i32 2, label %16
]
12: ; preds = %2
br label %22
13: ; preds = %2
%14 = load i32, ptr @stderr, align 4
%15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str)
br label %22
16: ; preds = %2
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.1)
br label %22
19: ; preds = %2
%20 = load i32, ptr @stderr, align 4
%21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str.2)
br label %22
22: ; preds = %19, %16, %13, %12
%23 = call i32 (...) @finalize()
%24 = load i32, ptr %6, align 4
ret i32 %24
}
declare i32 @parse_args(i32 noundef, ptr noundef) #1
declare i32 @yyparse(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @finalize(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwi3y5p1y.c"
target datalayout = "e-m:e-p270: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 [31 x i8] c"yyparse returned syntax error\0A\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"yyparse returned out of memory error\0A\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"yyparse returned unknown error\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = call i32 @parse_args(i32 noundef %7, ptr noundef %8)
%10 = call i32 (...) @yyparse()
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
switch i32 %11, label %19 [
i32 0, label %12
i32 1, label %13
i32 2, label %16
]
12: ; preds = %2
br label %22
13: ; preds = %2
%14 = load i32, ptr @stderr, align 4
%15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str)
br label %22
16: ; preds = %2
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.1)
br label %22
19: ; preds = %2
%20 = load i32, ptr @stderr, align 4
%21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str.2)
br label %22
22: ; preds = %19, %16, %13, %12
%23 = call i32 (...) @finalize()
%24 = load i32, ptr %6, align 4
ret i32 %24
}
declare i32 @parse_args(i32 noundef, ptr noundef) #1
declare i32 @yyparse(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @finalize(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph2s25_pd.c'
source_filename = "/tmp/tmph2s25_pd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @getpid()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @getpgid(i32 noundef %4)
ret i32 %5
}
declare i32 @getpid(...) #1
declare i32 @getpgid(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/tmph2s25_pd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @getpid()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @getpgid(i32 noundef %4)
ret i32 %5
}
declare i32 @getpid(...) #1
declare i32 @getpgid(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/tmp9kctw8np.c'
source_filename = "/tmp/tmp9kctw8np.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"Welcome\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 2
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 1, ptr %3, align 4
br label %18
10: ; preds = %2
%11 = call i32 @printf(ptr noundef @.str)
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str.1)
store ptr %15, ptr %6, align 8
%16 = load ptr, ptr %6, align 8
%17 = call i32 @fclose(ptr noundef %16)
store i32 0, ptr %3, align 4
br label %18
18: ; preds = %10, %9
%19 = load i32, ptr %3, align 4
ret i32 %19
}
declare i32 @printf(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9kctw8np.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"Welcome\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 2
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 1, ptr %3, align 4
br label %18
10: ; preds = %2
%11 = call i32 @printf(ptr noundef @.str)
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str.1)
store ptr %15, ptr %6, align 8
%16 = load ptr, ptr %6, align 8
%17 = call i32 @fclose(ptr noundef %16)
store i32 0, ptr %3, align 4
br label %18
18: ; preds = %10, %9
%19 = load i32, ptr %3, align 4
ret i32 %19
}
declare i32 @printf(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzysl5o3m.c'
source_filename = "/tmp/tmpzysl5o3m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Fibonacci numbers:\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"%d: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %2, align 4
br label %4
4: ; preds = %12, %0
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 8
br i1 %6, label %7, label %15
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = call i32 @fib(i32 noundef %9)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %8, i32 noundef %10)
br label %12
12: ; preds = %7
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %2, align 4
br label %4, !llvm.loop !6
15: ; preds = %4
%16 = load i32, ptr %1, align 4
ret i32 %16
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fib(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/tmpzysl5o3m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Fibonacci numbers:\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"%d: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 8
br i1 %5, label %.lr.ph, label %16
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %11
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 @fib(i32 noundef %8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7, i32 noundef %9)
br label %11
11: ; preds = %6
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %2, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %14, 8
br i1 %15, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %16
16: ; preds = %._crit_edge, %0
%17 = load i32, ptr %1, align 4
ret i32 %17
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fib(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/tmprx7yzfj_.c'
source_filename = "/tmp/tmprx7yzfj_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @coulomb_restricted_cs(double noundef %0, double noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca 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 [2 x double], align 16
%17 = alloca double, align 8
store double %0, ptr %9, align 8
store double %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
%18 = load double, ptr %9, align 8
%19 = fcmp oge double %18, 1.000000e+00
br i1 %19, label %30, label %20
20: ; preds = %7
%21 = load double, ptr %9, align 8
%22 = load ptr, ptr %12, align 8
%23 = load i32, ptr %11, align 4
%24 = sub nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double, ptr %22, i64 %25
%27 = load double, ptr %26, align 8
%28 = fmul double 1.000000e+06, %27
%29 = fcmp oge double %21, %28
br i1 %29, label %30, label %31
30: ; preds = %20, %7
store double 0.000000e+00, ptr %8, align 8
br label %61
31: ; preds = %20
%32 = load double, ptr %10, align 8
%33 = load i32, ptr %11, align 4
%34 = load ptr, ptr %12, align 8
%35 = load ptr, ptr %13, align 8
%36 = load ptr, ptr %14, align 8
%37 = load ptr, ptr %15, align 8
%38 = getelementptr inbounds [2 x double], ptr %16, i64 0, i64 0
%39 = call i32 @coulomb_transport_coefficients(double noundef 1.000000e+00, double noundef %32, i32 noundef %33, ptr noundef %34, ptr noundef %35, ptr noundef %36, ptr noundef %37, ptr noundef %38)
%40 = getelementptr inbounds [2 x double], ptr %16, i64 0, i64 0
%41 = load double, ptr %40, align 16
store double %41, ptr %17, align 8
%42 = load double, ptr %9, align 8
%43 = load double, ptr %10, align 8
%44 = load i32, ptr %11, align 4
%45 = load ptr, ptr %12, align 8
%46 = load ptr, ptr %13, align 8
%47 = load ptr, ptr %14, align 8
%48 = load ptr, ptr %15, align 8
%49 = getelementptr inbounds [2 x double], ptr %16, i64 0, i64 0
%50 = call i32 @coulomb_transport_coefficients(double noundef %42, double noundef %43, i32 noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48, ptr noundef %49)
%51 = getelementptr inbounds [2 x double], ptr %16, i64 0, i64 0
%52 = load double, ptr %51, align 16
%53 = load double, ptr %17, align 8
%54 = fcmp ogt double %52, %53
br i1 %54, label %55, label %56
55: ; preds = %31
store double 0.000000e+00, ptr %8, align 8
br label %61
56: ; preds = %31
%57 = load double, ptr %17, align 8
%58 = getelementptr inbounds [2 x double], ptr %16, i64 0, i64 0
%59 = load double, ptr %58, align 16
%60 = fsub double %57, %59
store double %60, ptr %8, align 8
br label %61
61: ; preds = %56, %55, %30
%62 = load double, ptr %8, align 8
ret double %62
}
declare i32 @coulomb_transport_coefficients(double noundef, double noundef, i32 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/tmprx7yzfj_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @coulomb_restricted_cs(double noundef %0, double noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca 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 [2 x double], align 16
%17 = alloca double, align 8
store double %0, ptr %9, align 8
store double %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
%18 = load double, ptr %9, align 8
%19 = fcmp oge double %18, 1.000000e+00
br i1 %19, label %30, label %20
20: ; preds = %7
%21 = load double, ptr %9, align 8
%22 = load ptr, ptr %12, align 8
%23 = load i32, ptr %11, align 4
%24 = sub nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double, ptr %22, i64 %25
%27 = load double, ptr %26, align 8
%28 = fmul double 1.000000e+06, %27
%29 = fcmp oge double %21, %28
br i1 %29, label %30, label %31
30: ; preds = %20, %7
store double 0.000000e+00, ptr %8, align 8
br label %61
31: ; preds = %20
%32 = load double, ptr %10, align 8
%33 = load i32, ptr %11, align 4
%34 = load ptr, ptr %12, align 8
%35 = load ptr, ptr %13, align 8
%36 = load ptr, ptr %14, align 8
%37 = load ptr, ptr %15, align 8
%38 = getelementptr inbounds [2 x double], ptr %16, i64 0, i64 0
%39 = call i32 @coulomb_transport_coefficients(double noundef 1.000000e+00, double noundef %32, i32 noundef %33, ptr noundef %34, ptr noundef %35, ptr noundef %36, ptr noundef %37, ptr noundef %38)
%40 = getelementptr inbounds [2 x double], ptr %16, i64 0, i64 0
%41 = load double, ptr %40, align 16
store double %41, ptr %17, align 8
%42 = load double, ptr %9, align 8
%43 = load double, ptr %10, align 8
%44 = load i32, ptr %11, align 4
%45 = load ptr, ptr %12, align 8
%46 = load ptr, ptr %13, align 8
%47 = load ptr, ptr %14, align 8
%48 = load ptr, ptr %15, align 8
%49 = getelementptr inbounds [2 x double], ptr %16, i64 0, i64 0
%50 = call i32 @coulomb_transport_coefficients(double noundef %42, double noundef %43, i32 noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48, ptr noundef %49)
%51 = getelementptr inbounds [2 x double], ptr %16, i64 0, i64 0
%52 = load double, ptr %51, align 16
%53 = load double, ptr %17, align 8
%54 = fcmp ogt double %52, %53
br i1 %54, label %55, label %56
55: ; preds = %31
store double 0.000000e+00, ptr %8, align 8
br label %61
56: ; preds = %31
%57 = load double, ptr %17, align 8
%58 = getelementptr inbounds [2 x double], ptr %16, i64 0, i64 0
%59 = load double, ptr %58, align 16
%60 = fsub double %57, %59
store double %60, ptr %8, align 8
br label %61
61: ; preds = %56, %55, %30
%62 = load double, ptr %8, align 8
ret double %62
}
declare i32 @coulomb_transport_coefficients(double noundef, double noundef, i32 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/tmp6l2t699l.c'
source_filename = "/tmp/tmp6l2t699l.c"
target datalayout = "e-m:e-p270: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/tmp6l2t699l.c"
target datalayout = "e-m:e-p270: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/tmp0_glc1jg.c'
source_filename = "/tmp/tmp0_glc1jg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @match_pattern_uint16_t(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
br label %10
10: ; preds = %28, %4
%11 = load ptr, ptr %8, align 8
%12 = load ptr, ptr %9, align 8
%13 = icmp ne ptr %11, %12
br i1 %13, label %14, label %33
14: ; preds = %10
%15 = load ptr, ptr %6, align 8
%16 = load ptr, ptr %7, align 8
%17 = icmp eq ptr %15, %16
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = load ptr, ptr %8, align 8
store ptr %19, ptr %5, align 8
br label %35
20: ; preds = %14
%21 = load ptr, ptr %6, align 8
%22 = load i64, ptr %21, align 8
%23 = load ptr, ptr %8, align 8
%24 = load i64, ptr %23, align 8
%25 = icmp ne i64 %22, %24
br i1 %25, label %26, label %28
26: ; preds = %20
%27 = load ptr, ptr %8, align 8
store ptr %27, ptr %5, align 8
br label %35
28: ; preds = %20
%29 = load ptr, ptr %6, align 8
%30 = getelementptr inbounds i64, ptr %29, i32 1
store ptr %30, ptr %6, align 8
%31 = load ptr, ptr %8, align 8
%32 = getelementptr inbounds i64, ptr %31, i32 1
store ptr %32, ptr %8, align 8
br label %10, !llvm.loop !6
33: ; preds = %10
%34 = load ptr, ptr %8, align 8
store ptr %34, ptr %5, align 8
br label %35
35: ; preds = %33, %26, %18
%36 = load ptr, ptr %5, align 8
ret ptr %36
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp0_glc1jg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @match_pattern_uint16_t(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%10 = load ptr, ptr %8, align 8
%11 = load ptr, ptr %9, align 8
%12 = icmp ne ptr %10, %11
br i1 %12, label %.lr.ph, label %35
.lr.ph: ; preds = %4
br label %13
13: ; preds = %.lr.ph, %27
%14 = load ptr, ptr %6, align 8
%15 = load ptr, ptr %7, align 8
%16 = icmp eq ptr %14, %15
br i1 %16, label %17, label %19
17: ; preds = %13
%18 = load ptr, ptr %8, align 8
store ptr %18, ptr %5, align 8
br label %37
19: ; preds = %13
%20 = load ptr, ptr %6, align 8
%21 = load i64, ptr %20, align 8
%22 = load ptr, ptr %8, align 8
%23 = load i64, ptr %22, align 8
%24 = icmp ne i64 %21, %23
br i1 %24, label %25, label %27
25: ; preds = %19
%26 = load ptr, ptr %8, align 8
store ptr %26, ptr %5, align 8
br label %37
27: ; preds = %19
%28 = load ptr, ptr %6, align 8
%29 = getelementptr inbounds i64, ptr %28, i32 1
store ptr %29, ptr %6, align 8
%30 = load ptr, ptr %8, align 8
%31 = getelementptr inbounds i64, ptr %30, i32 1
store ptr %31, ptr %8, align 8
%32 = load ptr, ptr %8, align 8
%33 = load ptr, ptr %9, align 8
%34 = icmp ne ptr %32, %33
br i1 %34, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %35
35: ; preds = %._crit_edge, %4
%36 = load ptr, ptr %8, align 8
store ptr %36, ptr %5, align 8
br label %37
37: ; preds = %35, %25, %17
%38 = load ptr, ptr %5, align 8
ret ptr %38
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpl05wf4qy.c'
source_filename = "/tmp/tmpl05wf4qy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"test.bin\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@main.hex = internal global ptr @.str.2, align 8
@.str.2 = private unnamed_addr constant [17 x i8] c"\00\11\223DUfw\88\99\AA\BB\CC\DD\EE\FF\00", align 1
@.str.3 = private unnamed_addr constant [174 x i8] c"Select chip type:\0A\0Aa for 24c01\0Ab for 24c02\0Ac for 24c04\0Ad for 24c08\0Ae for 24c16\0Af for 24c32\0Ag for 24c64\0Ah for 24c128\0Ai for 24c256\0Al for 24c512\0Am for 24c1024\0A\0AInsert a letter:\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"Error, wrong letter\0A\00", align 1
@.str.6 = private unnamed_addr constant [30 x i8] c"saved test image as test.bin\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 i32, align 4
%9 = alloca i32, align 4
%10 = 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
%11 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %11, ptr %6, align 8
%12 = call i32 @printf(ptr noundef @.str.3)
%13 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %10)
%14 = call i32 (...) @getchar()
%15 = load i8, ptr %10, align 1
%16 = sext i8 %15 to i32
switch i32 %16, label %28 [
i32 97, label %17
i32 98, label %18
i32 99, label %19
i32 100, label %20
i32 101, label %21
i32 102, label %22
i32 103, label %23
i32 104, label %24
i32 105, label %25
i32 108, label %26
i32 109, label %27
]
17: ; preds = %2
store i32 128, ptr %9, align 4
br label %30
18: ; preds = %2
store i32 256, ptr %9, align 4
br label %30
19: ; preds = %2
store i32 512, ptr %9, align 4
br label %30
20: ; preds = %2
store i32 1024, ptr %9, align 4
br label %30
21: ; preds = %2
store i32 2048, ptr %9, align 4
br label %30
22: ; preds = %2
store i32 4096, ptr %9, align 4
br label %30
23: ; preds = %2
store i32 8192, ptr %9, align 4
br label %30
24: ; preds = %2
store i32 16384, ptr %9, align 4
br label %30
25: ; preds = %2
store i32 32768, ptr %9, align 4
br label %30
26: ; preds = %2
store i32 65536, ptr %9, align 4
br label %30
27: ; preds = %2
store i32 131072, ptr %9, align 4
br label %30
28: ; preds = %2
%29 = call i32 @printf(ptr noundef @.str.5)
br label %30
30: ; preds = %28, %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17
store i32 0, ptr %8, align 4
br label %31
31: ; preds = %53, %30
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %9, align 4
%34 = sdiv i32 %33, 16
%35 = icmp slt i32 %32, %34
br i1 %35, label %36, label %56
36: ; preds = %31
store i32 0, ptr %7, align 4
br label %37
37: ; preds = %49, %36
%38 = load i32, ptr %7, align 4
%39 = icmp slt i32 %38, 16
br i1 %39, label %40, label %52
40: ; preds = %37
%41 = load ptr, ptr @main.hex, align 8
%42 = load i32, ptr %8, align 4
%43 = srem i32 %42, 16
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %41, i64 %44
%46 = load i8, ptr %45, align 1
%47 = load ptr, ptr %6, align 8
%48 = call i32 @fputc(i8 noundef signext %46, ptr noundef %47)
br label %49
49: ; preds = %40
%50 = load i32, ptr %7, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %7, align 4
br label %37, !llvm.loop !6
52: ; preds = %37
br label %53
53: ; preds = %52
%54 = load i32, ptr %8, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %8, align 4
br label %31, !llvm.loop !8
56: ; preds = %31
%57 = load ptr, ptr %6, align 8
%58 = call i32 @fflush(ptr noundef %57)
%59 = load ptr, ptr %6, align 8
%60 = call i32 @fclose(ptr noundef %59)
%61 = call i32 @printf(ptr noundef @.str.6)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @getchar(...) #1
declare i32 @fputc(i8 noundef signext, ptr noundef) #1
declare i32 @fflush(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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl05wf4qy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"test.bin\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@main.hex = internal global ptr @.str.2, align 8
@.str.2 = private unnamed_addr constant [17 x i8] c"\00\11\223DUfw\88\99\AA\BB\CC\DD\EE\FF\00", align 1
@.str.3 = private unnamed_addr constant [174 x i8] c"Select chip type:\0A\0Aa for 24c01\0Ab for 24c02\0Ac for 24c04\0Ad for 24c08\0Ae for 24c16\0Af for 24c32\0Ag for 24c64\0Ah for 24c128\0Ai for 24c256\0Al for 24c512\0Am for 24c1024\0A\0AInsert a letter:\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"Error, wrong letter\0A\00", align 1
@.str.6 = private unnamed_addr constant [30 x i8] c"saved test image as test.bin\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 i32, align 4
%9 = alloca i32, align 4
%10 = 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
%11 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %11, ptr %6, align 8
%12 = call i32 @printf(ptr noundef @.str.3)
%13 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %10)
%14 = call i32 (...) @getchar()
%15 = load i8, ptr %10, align 1
%16 = sext i8 %15 to i32
switch i32 %16, label %28 [
i32 97, label %17
i32 98, label %18
i32 99, label %19
i32 100, label %20
i32 101, label %21
i32 102, label %22
i32 103, label %23
i32 104, label %24
i32 105, label %25
i32 108, label %26
i32 109, label %27
]
17: ; preds = %2
store i32 128, ptr %9, align 4
br label %30
18: ; preds = %2
store i32 256, ptr %9, align 4
br label %30
19: ; preds = %2
store i32 512, ptr %9, align 4
br label %30
20: ; preds = %2
store i32 1024, ptr %9, align 4
br label %30
21: ; preds = %2
store i32 2048, ptr %9, align 4
br label %30
22: ; preds = %2
store i32 4096, ptr %9, align 4
br label %30
23: ; preds = %2
store i32 8192, ptr %9, align 4
br label %30
24: ; preds = %2
store i32 16384, ptr %9, align 4
br label %30
25: ; preds = %2
store i32 32768, ptr %9, align 4
br label %30
26: ; preds = %2
store i32 65536, ptr %9, align 4
br label %30
27: ; preds = %2
store i32 131072, ptr %9, align 4
br label %30
28: ; preds = %2
%29 = call i32 @printf(ptr noundef @.str.5)
br label %30
30: ; preds = %28, %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17
store i32 0, ptr %8, align 4
%31 = load i32, ptr %8, align 4
%32 = load i32, ptr %9, align 4
%33 = sdiv i32 %32, 16
%34 = icmp slt i32 %31, %33
br i1 %34, label %.lr.ph2, label %60
.lr.ph2: ; preds = %30
br label %35
35: ; preds = %.lr.ph2, %53
store i32 0, ptr %7, align 4
%36 = load i32, ptr %7, align 4
%37 = icmp slt i32 %36, 16
br i1 %37, label %.lr.ph, label %52
.lr.ph: ; preds = %35
br label %38
38: ; preds = %.lr.ph, %47
%39 = load ptr, ptr @main.hex, align 8
%40 = load i32, ptr %8, align 4
%41 = srem i32 %40, 16
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %39, i64 %42
%44 = load i8, ptr %43, align 1
%45 = load ptr, ptr %6, align 8
%46 = call i32 @fputc(i8 noundef signext %44, ptr noundef %45)
br label %47
47: ; preds = %38
%48 = load i32, ptr %7, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %7, align 4
%50 = load i32, ptr %7, align 4
%51 = icmp slt i32 %50, 16
br i1 %51, label %38, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %47
br label %52
52: ; preds = %._crit_edge, %35
br label %53
53: ; preds = %52
%54 = load i32, ptr %8, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %8, align 4
%56 = load i32, ptr %8, align 4
%57 = load i32, ptr %9, align 4
%58 = sdiv i32 %57, 16
%59 = icmp slt i32 %56, %58
br i1 %59, label %35, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %53
br label %60
60: ; preds = %._crit_edge3, %30
%61 = load ptr, ptr %6, align 8
%62 = call i32 @fflush(ptr noundef %61)
%63 = load ptr, ptr %6, align 8
%64 = call i32 @fclose(ptr noundef %63)
%65 = call i32 @printf(ptr noundef @.str.6)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @getchar(...) #1
declare i32 @fputc(i8 noundef signext, ptr noundef) #1
declare i32 @fflush(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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpsmgwuzgg.c'
source_filename = "/tmp/tmpsmgwuzgg.c"
target datalayout = "e-m:e-p270: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/tmpsmgwuzgg.c"
target datalayout = "e-m:e-p270: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/tmppcjga2qs.c'
source_filename = "/tmp/tmppcjga2qs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @draw_pixel(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 @int80(i32 noundef 8, i32 noundef %5, i32 noundef %6, i32 noundef 0, i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @int80(i32 noundef, i32 noundef, 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/tmppcjga2qs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @draw_pixel(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 @int80(i32 noundef 8, i32 noundef %5, i32 noundef %6, i32 noundef 0, i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @int80(i32 noundef, i32 noundef, 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/tmpqkud8iw3.c'
source_filename = "/tmp/tmpqkud8iw3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @triangles_in_the_term(i32 noundef 4, i32 noundef 1)
ret i32 0
}
declare i32 @triangles_in_the_term(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/tmpqkud8iw3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @triangles_in_the_term(i32 noundef 4, i32 noundef 1)
ret i32 0
}
declare i32 @triangles_in_the_term(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/tmpmr9zpr2q.c'
source_filename = "/tmp/tmpmr9zpr2q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @runloop(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca float, align 4
%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
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%15 = call i32 (...) @omp_get_max_threads()
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = sitofp i32 %16 to double
%18 = fdiv double 7.290000e+02, %17
%19 = call i64 @ceil(double noundef %18)
%20 = trunc i64 %19 to i32
store i32 %20, ptr %4, align 4
%21 = load i32, ptr %3, align 4
%22 = sitofp i32 %21 to double
%23 = fdiv double 1.000000e+00, %22
%24 = fptrunc double %23 to float
store float %24, ptr %5, align 4
%25 = load i32, ptr %3, align 4
%26 = zext i32 %25 to i64
%27 = call ptr @llvm.stacksave()
store ptr %27, ptr %6, align 8
%28 = alloca i32, i64 %26, align 16
store i64 %26, ptr %7, align 8
%29 = load i32, ptr %3, align 4
%30 = zext i32 %29 to i64
%31 = alloca i32, i64 %30, align 16
store i64 %30, ptr %8, align 8
%32 = call i32 (...) @omp_get_thread_num()
store i32 %32, ptr %9, align 4
%33 = load i32, ptr %9, align 4
%34 = load i32, ptr %4, align 4
%35 = mul nsw i32 %33, %34
store i32 %35, ptr %10, align 4
%36 = load i32, ptr %9, align 4
%37 = add nsw i32 %36, 1
%38 = load i32, ptr %4, align 4
%39 = mul nsw i32 %37, %38
%40 = icmp sgt i32 %39, 729
br i1 %40, label %41, label %42
41: ; preds = %1
br label %47
42: ; preds = %1
%43 = load i32, ptr %9, align 4
%44 = add nsw i32 %43, 1
%45 = load i32, ptr %4, align 4
%46 = mul nsw i32 %44, %45
br label %47
47: ; preds = %42, %41
%48 = phi i32 [ 729, %41 ], [ %46, %42 ]
store i32 %48, ptr %11, align 4
%49 = load i32, ptr %10, align 4
%50 = load i32, ptr %9, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, ptr %28, i64 %51
store i32 %49, ptr %52, align 4
%53 = load i32, ptr %11, align 4
%54 = load i32, ptr %9, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %31, i64 %55
store i32 %53, ptr %56, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
store i32 0, ptr %14, align 4
br label %57
57: ; preds = %70, %47
%58 = load i32, ptr %14, align 4
%59 = icmp ne i32 %58, -1
br i1 %59, label %60, label %75
60: ; preds = %57
%61 = load i32, ptr %2, align 4
switch i32 %61, label %70 [
i32 1, label %62
i32 2, label %66
]
62: ; preds = %60
%63 = load i32, ptr %12, align 4
%64 = load i32, ptr %13, align 4
%65 = call i32 @loop1chunk(i32 noundef %63, i32 noundef %64)
br label %70
66: ; preds = %60
%67 = load i32, ptr %12, align 4
%68 = load i32, ptr %13, align 4
%69 = call i32 @loop2chunk(i32 noundef %67, i32 noundef %68)
br label %70
70: ; preds = %60, %66, %62
%71 = load i32, ptr %3, align 4
%72 = load i32, ptr %9, align 4
%73 = load float, ptr %5, align 4
%74 = call i32 @findThreadToStealFrom(ptr noundef %28, ptr noundef %31, i32 noundef %71, i32 noundef %72, float noundef %73, ptr noundef %12, ptr noundef %13)
store i32 %74, ptr %14, align 4
br label %57, !llvm.loop !6
75: ; preds = %57
%76 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %76)
ret void
}
declare i32 @omp_get_max_threads(...) #1
declare i64 @ceil(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @omp_get_thread_num(...) #1
declare i32 @loop1chunk(i32 noundef, i32 noundef) #1
declare i32 @loop2chunk(i32 noundef, i32 noundef) #1
declare i32 @findThreadToStealFrom(ptr noundef, ptr noundef, i32 noundef, i32 noundef, float noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmr9zpr2q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @runloop(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca float, align 4
%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
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%15 = call i32 (...) @omp_get_max_threads()
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = sitofp i32 %16 to double
%18 = fdiv double 7.290000e+02, %17
%19 = call i64 @ceil(double noundef %18)
%20 = trunc i64 %19 to i32
store i32 %20, ptr %4, align 4
%21 = load i32, ptr %3, align 4
%22 = sitofp i32 %21 to double
%23 = fdiv double 1.000000e+00, %22
%24 = fptrunc double %23 to float
store float %24, ptr %5, align 4
%25 = load i32, ptr %3, align 4
%26 = zext i32 %25 to i64
%27 = call ptr @llvm.stacksave()
store ptr %27, ptr %6, align 8
%28 = alloca i32, i64 %26, align 16
store i64 %26, ptr %7, align 8
%29 = load i32, ptr %3, align 4
%30 = zext i32 %29 to i64
%31 = alloca i32, i64 %30, align 16
store i64 %30, ptr %8, align 8
%32 = call i32 (...) @omp_get_thread_num()
store i32 %32, ptr %9, align 4
%33 = load i32, ptr %9, align 4
%34 = load i32, ptr %4, align 4
%35 = mul nsw i32 %33, %34
store i32 %35, ptr %10, align 4
%36 = load i32, ptr %9, align 4
%37 = add nsw i32 %36, 1
%38 = load i32, ptr %4, align 4
%39 = mul nsw i32 %37, %38
%40 = icmp sgt i32 %39, 729
br i1 %40, label %41, label %42
41: ; preds = %1
br label %47
42: ; preds = %1
%43 = load i32, ptr %9, align 4
%44 = add nsw i32 %43, 1
%45 = load i32, ptr %4, align 4
%46 = mul nsw i32 %44, %45
br label %47
47: ; preds = %42, %41
%48 = phi i32 [ 729, %41 ], [ %46, %42 ]
store i32 %48, ptr %11, align 4
%49 = load i32, ptr %10, align 4
%50 = load i32, ptr %9, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, ptr %28, i64 %51
store i32 %49, ptr %52, align 4
%53 = load i32, ptr %11, align 4
%54 = load i32, ptr %9, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %31, i64 %55
store i32 %53, ptr %56, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
store i32 0, ptr %14, align 4
%57 = load i32, ptr %14, align 4
%58 = icmp ne i32 %57, -1
br i1 %58, label %.lr.ph, label %76
.lr.ph: ; preds = %47
br label %59
59: ; preds = %.lr.ph, %69
%60 = load i32, ptr %2, align 4
switch i32 %60, label %69 [
i32 1, label %61
i32 2, label %65
]
61: ; preds = %59
%62 = load i32, ptr %12, align 4
%63 = load i32, ptr %13, align 4
%64 = call i32 @loop1chunk(i32 noundef %62, i32 noundef %63)
br label %69
65: ; preds = %59
%66 = load i32, ptr %12, align 4
%67 = load i32, ptr %13, align 4
%68 = call i32 @loop2chunk(i32 noundef %66, i32 noundef %67)
br label %69
69: ; preds = %65, %61, %59
%70 = load i32, ptr %3, align 4
%71 = load i32, ptr %9, align 4
%72 = load float, ptr %5, align 4
%73 = call i32 @findThreadToStealFrom(ptr noundef %28, ptr noundef %31, i32 noundef %70, i32 noundef %71, float noundef %72, ptr noundef %12, ptr noundef %13)
store i32 %73, ptr %14, align 4
%74 = load i32, ptr %14, align 4
%75 = icmp ne i32 %74, -1
br i1 %75, label %59, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %69
br label %76
76: ; preds = %._crit_edge, %47
%77 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %77)
ret void
}
declare i32 @omp_get_max_threads(...) #1
declare i64 @ceil(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @omp_get_thread_num(...) #1
declare i32 @loop1chunk(i32 noundef, i32 noundef) #1
declare i32 @loop2chunk(i32 noundef, i32 noundef) #1
declare i32 @findThreadToStealFrom(ptr noundef, ptr noundef, i32 noundef, i32 noundef, float noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpexrukfup.c'
source_filename = "/tmp/tmpexrukfup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isxdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"isxdigit should be 0 for 0xeb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isxdigit_0xeb() #0 {
%1 = call i64 @isxdigit(i32 noundef 235)
%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 1180, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isxdigit(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/tmpexrukfup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isxdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"isxdigit should be 0 for 0xeb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isxdigit_0xeb() #0 {
%1 = call i64 @isxdigit(i32 noundef 235)
%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 1180, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isxdigit(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/tmpir_dgh6x.c'
source_filename = "/tmp/tmpir_dgh6x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort_by_length(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = load ptr, ptr %4, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = sub nsw i32 %7, %9
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = load i32, ptr %5, align 4
br label %19
15: ; preds = %2
%16 = load ptr, ptr %3, align 8
%17 = load ptr, ptr %4, align 8
%18 = call i32 @lexicographic_sort(ptr noundef %16, ptr noundef %17)
br label %19
19: ; preds = %15, %13
%20 = phi i32 [ %14, %13 ], [ %18, %15 ]
ret i32 %20
}
declare i32 @strlen(ptr noundef) #1
declare i32 @lexicographic_sort(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/tmpir_dgh6x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort_by_length(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = load ptr, ptr %4, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = sub nsw i32 %7, %9
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = load i32, ptr %5, align 4
br label %19
15: ; preds = %2
%16 = load ptr, ptr %3, align 8
%17 = load ptr, ptr %4, align 8
%18 = call i32 @lexicographic_sort(ptr noundef %16, ptr noundef %17)
br label %19
19: ; preds = %15, %13
%20 = phi i32 [ %14, %13 ], [ %18, %15 ]
ret i32 %20
}
declare i32 @strlen(ptr noundef) #1
declare i32 @lexicographic_sort(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/tmp79c2lgj0.c'
source_filename = "/tmp/tmp79c2lgj0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Curious number: %u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_curious(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
store i32 %6, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %10, %1
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %20
10: ; preds = %7
%11 = load i32, ptr %4, align 4
%12 = urem i32 %11, 10
%13 = call i64 @get_factorial(i32 noundef %12)
%14 = load i32, ptr %5, align 4
%15 = zext i32 %14 to i64
%16 = add nsw i64 %15, %13
%17 = trunc i64 %16 to i32
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %4, align 4
%19 = udiv i32 %18, 10
store i32 %19, ptr %4, align 4
br label %7, !llvm.loop !6
20: ; preds = %7
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %3, align 4
%23 = icmp eq i32 %21, %22
br i1 %23, label %24, label %27
24: ; preds = %20
%25 = load i32, ptr %3, align 4
%26 = call i32 @printf(ptr noundef @.str, i32 noundef %25)
store i32 1, ptr %2, align 4
br label %28
27: ; preds = %20
store i32 0, ptr %2, align 4
br label %28
28: ; preds = %27, %24
%29 = load i32, ptr %2, align 4
ret i32 %29
}
declare i64 @get_factorial(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp79c2lgj0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Curious number: %u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_curious(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
store i32 %6, ptr %4, align 4
store i32 0, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %.lr.ph, label %21
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %9
%10 = load i32, ptr %4, align 4
%11 = urem i32 %10, 10
%12 = call i64 @get_factorial(i32 noundef %11)
%13 = load i32, ptr %5, align 4
%14 = zext i32 %13 to i64
%15 = add nsw i64 %14, %12
%16 = trunc i64 %15 to i32
store i32 %16, ptr %5, align 4
%17 = load i32, ptr %4, align 4
%18 = udiv i32 %17, 10
store i32 %18, ptr %4, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %21
21: ; preds = %._crit_edge, %1
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %3, align 4
%24 = icmp eq i32 %22, %23
br i1 %24, label %25, label %28
25: ; preds = %21
%26 = load i32, ptr %3, align 4
%27 = call i32 @printf(ptr noundef @.str, i32 noundef %26)
store i32 1, ptr %2, align 4
br label %29
28: ; preds = %21
store i32 0, ptr %2, align 4
br label %29
29: ; preds = %28, %25
%30 = load i32, ptr %2, align 4
ret i32 %30
}
declare i64 @get_factorial(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfo976jj5.c'
source_filename = "/tmp/tmpfo976jj5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_cauchy() #0 {
%1 = call double (...) @rand_uniopen()
%2 = fsub double %1, 5.000000e-01
%3 = fmul double 0x400921FB54442D18, %2
%4 = call double @tan(double noundef %3) #3
ret double %4
}
; Function Attrs: nounwind
declare double @tan(double noundef) #1
declare double @rand_uniopen(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfo976jj5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_cauchy() #0 {
%1 = call double (...) @rand_uniopen()
%2 = fsub double %1, 5.000000e-01
%3 = fmul double 0x400921FB54442D18, %2
%4 = call double @tan(double noundef %3) #3
ret double %4
}
; Function Attrs: nounwind
declare double @tan(double noundef) #1
declare double @rand_uniopen(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfph87jnv.c'
source_filename = "/tmp/tmpfph87jnv.c"
target datalayout = "e-m:e-p270: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/tmpfph87jnv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_zy2hx9o.c'
source_filename = "/tmp/tmp_zy2hx9o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [72 x i8] c"Enter the sudoku (1 to 9). Enter 0 if you want to leave it unassigned\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"Enter the row #%dof sudoku\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getSudoku(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 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %29, %1
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 9
br i1 %8, label %9, label %32
9: ; preds = %6
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11)
store i32 0, ptr %4, align 4
br label %13
13: ; preds = %25, %9
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %14, 9
br i1 %15, label %16, label %28
16: ; preds = %13
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [9 x i32], ptr %17, i64 %19
%21 = load i32, ptr %4, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [9 x i32], ptr %20, i64 0, i64 %22
%24 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %23)
br label %25
25: ; preds = %16
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %4, align 4
br label %13, !llvm.loop !6
28: ; preds = %13
br label %29
29: ; preds = %28
%30 = load i32, ptr %3, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %3, align 4
br label %6, !llvm.loop !8
32: ; preds = %6
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_zy2hx9o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [72 x i8] c"Enter the sudoku (1 to 9). Enter 0 if you want to leave it unassigned\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"Enter the row #%dof sudoku\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getSudoku(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 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 9
br i1 %7, label %.lr.ph2, label %34
.lr.ph2: ; preds = %1
br label %8
8: ; preds = %.lr.ph2, %29
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %9, 1
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10)
store i32 0, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %12, 9
br i1 %13, label %.lr.ph, label %28
.lr.ph: ; preds = %8
br label %14
14: ; preds = %.lr.ph, %23
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [9 x i32], ptr %15, i64 %17
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [9 x i32], ptr %18, i64 0, i64 %20
%22 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %21)
br label %23
23: ; preds = %14
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %4, align 4
%26 = load i32, ptr %4, align 4
%27 = icmp slt i32 %26, 9
br i1 %27, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %28
28: ; preds = %._crit_edge, %8
br label %29
29: ; preds = %28
%30 = load i32, ptr %3, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %3, align 4
%32 = load i32, ptr %3, align 4
%33 = icmp slt i32 %32, 9
br i1 %33, label %8, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %29
br label %34
34: ; preds = %._crit_edge3, %1
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmptx8m8k1x.c'
source_filename = "/tmp/tmptx8m8k1x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_valid_input_index(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %9, align 4
%20 = call i32 @get_node_column(i32 noundef %18, i32 noundef %19)
store i32 %20, ptr %10, align 4
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %10, align 4
%23 = load i32, ptr %9, align 4
%24 = call i32 @get_node_row(i32 noundef %21, i32 noundef %22, i32 noundef %23)
store i32 %24, ptr %11, align 4
%25 = load i32, ptr %10, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %31
27: ; preds = %4
%28 = load i32, ptr %8, align 4
%29 = call double @GenerateUniformRandomNumber(i32 noundef 0, i32 noundef %28)
%30 = fptosi double %29 to i32
store i32 %30, ptr %5, align 4
br label %82
31: ; preds = %4
%32 = load i32, ptr %10, align 4
%33 = load i32, ptr %7, align 4
%34 = sub nsw i32 %32, %33
store i32 %34, ptr %12, align 4
%35 = load i32, ptr %12, align 4
%36 = icmp slt i32 %35, 0
br i1 %36, label %37, label %68
37: ; preds = %31
%38 = load i32, ptr %8, align 4
%39 = sitofp i32 %38 to double
%40 = load i32, ptr %8, align 4
%41 = sitofp i32 %40 to double
%42 = load i32, ptr %10, align 4
%43 = sitofp i32 %42 to double
%44 = load i32, ptr %6, align 4
%45 = sitofp i32 %44 to double
%46 = call double @llvm.fmuladd.f64(double %43, double %45, double %41)
%47 = fdiv double %39, %46
store double %47, ptr %13, align 8
%48 = call double @GenerateUniformRandomNumber(i32 noundef 0, i32 noundef 1)
%49 = load double, ptr %13, align 8
%50 = fcmp olt double %48, %49
br i1 %50, label %51, label %55
51: ; preds = %37
%52 = load i32, ptr %8, align 4
%53 = call double @GenerateUniformRandomNumber(i32 noundef 0, i32 noundef %52)
%54 = fptosi double %53 to i32
store i32 %54, ptr %5, align 4
br label %82
55: ; preds = %37
%56 = load i32, ptr %10, align 4
%57 = call double @GenerateUniformRandomNumber(i32 noundef 0, i32 noundef %56)
%58 = fptosi double %57 to i32
store i32 %58, ptr %14, align 4
%59 = load i32, ptr %6, align 4
%60 = call double @GenerateUniformRandomNumber(i32 noundef 0, i32 noundef %59)
%61 = fptosi double %60 to i32
store i32 %61, ptr %15, align 4
%62 = load i32, ptr %6, align 4
%63 = load i32, ptr %14, align 4
%64 = load i32, ptr %15, align 4
%65 = call i32 @get_node_index(i32 noundef %62, i32 noundef %63, i32 noundef %64)
%66 = load i32, ptr %8, align 4
%67 = add nsw i32 %65, %66
store i32 %67, ptr %5, align 4
br label %82
68: ; preds = %31
%69 = load i32, ptr %12, align 4
%70 = load i32, ptr %10, align 4
%71 = call double @GenerateUniformRandomNumber(i32 noundef %69, i32 noundef %70)
%72 = fptosi double %71 to i32
store i32 %72, ptr %16, align 4
%73 = load i32, ptr %6, align 4
%74 = call double @GenerateUniformRandomNumber(i32 noundef 0, i32 noundef %73)
%75 = fptosi double %74 to i32
store i32 %75, ptr %17, align 4
%76 = load i32, ptr %6, align 4
%77 = load i32, ptr %16, align 4
%78 = load i32, ptr %17, align 4
%79 = call i32 @get_node_index(i32 noundef %76, i32 noundef %77, i32 noundef %78)
%80 = load i32, ptr %8, align 4
%81 = add nsw i32 %79, %80
store i32 %81, ptr %5, align 4
br label %82
82: ; preds = %68, %55, %51, %27
%83 = load i32, ptr %5, align 4
ret i32 %83
}
declare i32 @get_node_column(i32 noundef, i32 noundef) #1
declare i32 @get_node_row(i32 noundef, i32 noundef, i32 noundef) #1
declare double @GenerateUniformRandomNumber(i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @get_node_index(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" }
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/tmptx8m8k1x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_valid_input_index(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %9, align 4
%20 = call i32 @get_node_column(i32 noundef %18, i32 noundef %19)
store i32 %20, ptr %10, align 4
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %10, align 4
%23 = load i32, ptr %9, align 4
%24 = call i32 @get_node_row(i32 noundef %21, i32 noundef %22, i32 noundef %23)
store i32 %24, ptr %11, align 4
%25 = load i32, ptr %10, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %31
27: ; preds = %4
%28 = load i32, ptr %8, align 4
%29 = call double @GenerateUniformRandomNumber(i32 noundef 0, i32 noundef %28)
%30 = fptosi double %29 to i32
store i32 %30, ptr %5, align 4
br label %82
31: ; preds = %4
%32 = load i32, ptr %10, align 4
%33 = load i32, ptr %7, align 4
%34 = sub nsw i32 %32, %33
store i32 %34, ptr %12, align 4
%35 = load i32, ptr %12, align 4
%36 = icmp slt i32 %35, 0
br i1 %36, label %37, label %68
37: ; preds = %31
%38 = load i32, ptr %8, align 4
%39 = sitofp i32 %38 to double
%40 = load i32, ptr %8, align 4
%41 = sitofp i32 %40 to double
%42 = load i32, ptr %10, align 4
%43 = sitofp i32 %42 to double
%44 = load i32, ptr %6, align 4
%45 = sitofp i32 %44 to double
%46 = call double @llvm.fmuladd.f64(double %43, double %45, double %41)
%47 = fdiv double %39, %46
store double %47, ptr %13, align 8
%48 = call double @GenerateUniformRandomNumber(i32 noundef 0, i32 noundef 1)
%49 = load double, ptr %13, align 8
%50 = fcmp olt double %48, %49
br i1 %50, label %51, label %55
51: ; preds = %37
%52 = load i32, ptr %8, align 4
%53 = call double @GenerateUniformRandomNumber(i32 noundef 0, i32 noundef %52)
%54 = fptosi double %53 to i32
store i32 %54, ptr %5, align 4
br label %82
55: ; preds = %37
%56 = load i32, ptr %10, align 4
%57 = call double @GenerateUniformRandomNumber(i32 noundef 0, i32 noundef %56)
%58 = fptosi double %57 to i32
store i32 %58, ptr %14, align 4
%59 = load i32, ptr %6, align 4
%60 = call double @GenerateUniformRandomNumber(i32 noundef 0, i32 noundef %59)
%61 = fptosi double %60 to i32
store i32 %61, ptr %15, align 4
%62 = load i32, ptr %6, align 4
%63 = load i32, ptr %14, align 4
%64 = load i32, ptr %15, align 4
%65 = call i32 @get_node_index(i32 noundef %62, i32 noundef %63, i32 noundef %64)
%66 = load i32, ptr %8, align 4
%67 = add nsw i32 %65, %66
store i32 %67, ptr %5, align 4
br label %82
68: ; preds = %31
%69 = load i32, ptr %12, align 4
%70 = load i32, ptr %10, align 4
%71 = call double @GenerateUniformRandomNumber(i32 noundef %69, i32 noundef %70)
%72 = fptosi double %71 to i32
store i32 %72, ptr %16, align 4
%73 = load i32, ptr %6, align 4
%74 = call double @GenerateUniformRandomNumber(i32 noundef 0, i32 noundef %73)
%75 = fptosi double %74 to i32
store i32 %75, ptr %17, align 4
%76 = load i32, ptr %6, align 4
%77 = load i32, ptr %16, align 4
%78 = load i32, ptr %17, align 4
%79 = call i32 @get_node_index(i32 noundef %76, i32 noundef %77, i32 noundef %78)
%80 = load i32, ptr %8, align 4
%81 = add nsw i32 %79, %80
store i32 %81, ptr %5, align 4
br label %82
82: ; preds = %68, %55, %51, %27
%83 = load i32, ptr %5, align 4
ret i32 %83
}
declare i32 @get_node_column(i32 noundef, i32 noundef) #1
declare i32 @get_node_row(i32 noundef, i32 noundef, i32 noundef) #1
declare double @GenerateUniformRandomNumber(i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @get_node_index(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" }
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/tmpgdrzu5pe.c'
source_filename = "/tmp/tmpgdrzu5pe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @count_bytes_callback(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
store ptr %8, ptr %7, align 8
%9 = load i64, ptr %5, align 8
%10 = load ptr, ptr %7, align 8
%11 = load i64, ptr %10, align 8
%12 = add i64 %11, %9
store i64 %12, ptr %10, align 8
%13 = load i64, ptr %5, align 8
ret i64 %13
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgdrzu5pe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @count_bytes_callback(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
store ptr %8, ptr %7, align 8
%9 = load i64, ptr %5, align 8
%10 = load ptr, ptr %7, align 8
%11 = load i64, ptr %10, align 8
%12 = add i64 %11, %9
store i64 %12, ptr %10, align 8
%13 = load i64, ptr %5, align 8
ret i64 %13
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe14wd3m5.c'
source_filename = "/tmp/tmpe14wd3m5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [9 x i8] c"snprintf\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"MOUSE_X\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"setenv\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"MOUSE_Y\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_env_coords(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [200 x i8], align 16
%6 = alloca [200 x i8], align 16
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = getelementptr inbounds [200 x i8], ptr %5, i64 0, i64 0
%8 = load i32, ptr %3, align 4
%9 = call i64 @snprintf(ptr noundef %7, i32 noundef 200, ptr noundef @.str, i32 noundef %8)
%10 = icmp slt i64 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @perror(ptr noundef @.str.1)
br label %36
13: ; preds = %2
%14 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0
%15 = load i32, ptr %4, align 4
%16 = call i64 @snprintf(ptr noundef %14, i32 noundef 200, ptr noundef @.str, i32 noundef %15)
%17 = icmp slt i64 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %13
%19 = call i32 @perror(ptr noundef @.str.1)
br label %36
20: ; preds = %13
br label %21
21: ; preds = %20
%22 = getelementptr inbounds [200 x i8], ptr %5, i64 0, i64 0
%23 = call i64 @setenv(ptr noundef @.str.2, ptr noundef %22, i32 noundef 1)
%24 = icmp slt i64 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %21
%26 = call i32 @perror(ptr noundef @.str.3)
br label %27
27: ; preds = %25, %21
br label %28
28: ; preds = %27
br label %29
29: ; preds = %28
%30 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0
%31 = call i64 @setenv(ptr noundef @.str.4, ptr noundef %30, i32 noundef 1)
%32 = icmp slt i64 %31, 0
br i1 %32, label %33, label %35
33: ; preds = %29
%34 = call i32 @perror(ptr noundef @.str.3)
br label %35
35: ; preds = %33, %29
br label %36
36: ; preds = %11, %18, %35
ret void
}
declare i64 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @setenv(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/tmpe14wd3m5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [9 x i8] c"snprintf\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"MOUSE_X\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"setenv\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"MOUSE_Y\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_env_coords(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [200 x i8], align 16
%6 = alloca [200 x i8], align 16
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = getelementptr inbounds [200 x i8], ptr %5, i64 0, i64 0
%8 = load i32, ptr %3, align 4
%9 = call i64 @snprintf(ptr noundef %7, i32 noundef 200, ptr noundef @.str, i32 noundef %8)
%10 = icmp slt i64 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @perror(ptr noundef @.str.1)
br label %36
13: ; preds = %2
%14 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0
%15 = load i32, ptr %4, align 4
%16 = call i64 @snprintf(ptr noundef %14, i32 noundef 200, ptr noundef @.str, i32 noundef %15)
%17 = icmp slt i64 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %13
%19 = call i32 @perror(ptr noundef @.str.1)
br label %36
20: ; preds = %13
br label %21
21: ; preds = %20
%22 = getelementptr inbounds [200 x i8], ptr %5, i64 0, i64 0
%23 = call i64 @setenv(ptr noundef @.str.2, ptr noundef %22, i32 noundef 1)
%24 = icmp slt i64 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %21
%26 = call i32 @perror(ptr noundef @.str.3)
br label %27
27: ; preds = %25, %21
br label %28
28: ; preds = %27
br label %29
29: ; preds = %28
%30 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0
%31 = call i64 @setenv(ptr noundef @.str.4, ptr noundef %30, i32 noundef 1)
%32 = icmp slt i64 %31, 0
br i1 %32, label %33, label %35
33: ; preds = %29
%34 = call i32 @perror(ptr noundef @.str.3)
br label %35
35: ; preds = %33, %29
br label %36
36: ; preds = %35, %18, %11
ret void
}
declare i64 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @setenv(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/tmpxp5y5y0u.c'
source_filename = "/tmp/tmpxp5y5y0u.c"
target datalayout = "e-m:e-p270: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/tmpxp5y5y0u.c"
target datalayout = "e-m:e-p270: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/tmpfn5j44jm.c'
source_filename = "/tmp/tmpfn5j44jm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"\0A\0AFiring test %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fireTests() #0 {
%1 = call i32 @printf(ptr noundef @.str, i32 noundef 1)
%2 = call i32 (...) @TEST_should_setup_and_confim_via_printing()
%3 = call i32 @printf(ptr noundef @.str, i32 noundef 2)
%4 = call i32 (...) @TEST_should_find_number_in_list()
%5 = call i32 @printf(ptr noundef @.str, i32 noundef 3)
%6 = call i32 (...) @TEST_should_delete_numbers_first_occurence()
%7 = call i32 @printf(ptr noundef @.str, i32 noundef 4)
%8 = call i32 (...) @TEST_should_delete_all_occurences_on_a_number()
%9 = call i32 @printf(ptr noundef @.str, i32 noundef 5)
%10 = call i32 (...) @TEST_shoud_not_be_a_circular_list()
%11 = call i32 @printf(ptr noundef @.str, i32 noundef 6)
%12 = call i32 (...) @TEST_shoud_be_a_circular_list()
%13 = call i32 @printf(ptr noundef @.str, i32 noundef 7)
%14 = call i32 (...) @TEST_should_not_find_number_in_list()
%15 = call i32 @printf(ptr noundef @.str, i32 noundef 8)
%16 = call i32 (...) @TEST_stack_should_be_reverse_of_the_list()
%17 = call i32 @printf(ptr noundef @.str, i32 noundef 9)
%18 = call i32 (...) @TEST_should_make_a_circular_list_acircular()
%19 = call i32 @printf(ptr noundef @.str, i32 noundef 10)
%20 = call i32 (...) @TEST_should_add_node_at_beginning_of_list()
%21 = call i32 @printf(ptr noundef @.str, i32 noundef 11)
%22 = call i32 (...) @TEST_should_add_node_at_mid_of_list()
%23 = call i32 @printf(ptr noundef @.str, i32 noundef 12)
%24 = call i32 (...) @TEST_should_add_node_at_end_of_list()
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @TEST_should_setup_and_confim_via_printing(...) #1
declare i32 @TEST_should_find_number_in_list(...) #1
declare i32 @TEST_should_delete_numbers_first_occurence(...) #1
declare i32 @TEST_should_delete_all_occurences_on_a_number(...) #1
declare i32 @TEST_shoud_not_be_a_circular_list(...) #1
declare i32 @TEST_shoud_be_a_circular_list(...) #1
declare i32 @TEST_should_not_find_number_in_list(...) #1
declare i32 @TEST_stack_should_be_reverse_of_the_list(...) #1
declare i32 @TEST_should_make_a_circular_list_acircular(...) #1
declare i32 @TEST_should_add_node_at_beginning_of_list(...) #1
declare i32 @TEST_should_add_node_at_mid_of_list(...) #1
declare i32 @TEST_should_add_node_at_end_of_list(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfn5j44jm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"\0A\0AFiring test %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fireTests() #0 {
%1 = call i32 @printf(ptr noundef @.str, i32 noundef 1)
%2 = call i32 (...) @TEST_should_setup_and_confim_via_printing()
%3 = call i32 @printf(ptr noundef @.str, i32 noundef 2)
%4 = call i32 (...) @TEST_should_find_number_in_list()
%5 = call i32 @printf(ptr noundef @.str, i32 noundef 3)
%6 = call i32 (...) @TEST_should_delete_numbers_first_occurence()
%7 = call i32 @printf(ptr noundef @.str, i32 noundef 4)
%8 = call i32 (...) @TEST_should_delete_all_occurences_on_a_number()
%9 = call i32 @printf(ptr noundef @.str, i32 noundef 5)
%10 = call i32 (...) @TEST_shoud_not_be_a_circular_list()
%11 = call i32 @printf(ptr noundef @.str, i32 noundef 6)
%12 = call i32 (...) @TEST_shoud_be_a_circular_list()
%13 = call i32 @printf(ptr noundef @.str, i32 noundef 7)
%14 = call i32 (...) @TEST_should_not_find_number_in_list()
%15 = call i32 @printf(ptr noundef @.str, i32 noundef 8)
%16 = call i32 (...) @TEST_stack_should_be_reverse_of_the_list()
%17 = call i32 @printf(ptr noundef @.str, i32 noundef 9)
%18 = call i32 (...) @TEST_should_make_a_circular_list_acircular()
%19 = call i32 @printf(ptr noundef @.str, i32 noundef 10)
%20 = call i32 (...) @TEST_should_add_node_at_beginning_of_list()
%21 = call i32 @printf(ptr noundef @.str, i32 noundef 11)
%22 = call i32 (...) @TEST_should_add_node_at_mid_of_list()
%23 = call i32 @printf(ptr noundef @.str, i32 noundef 12)
%24 = call i32 (...) @TEST_should_add_node_at_end_of_list()
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @TEST_should_setup_and_confim_via_printing(...) #1
declare i32 @TEST_should_find_number_in_list(...) #1
declare i32 @TEST_should_delete_numbers_first_occurence(...) #1
declare i32 @TEST_should_delete_all_occurences_on_a_number(...) #1
declare i32 @TEST_shoud_not_be_a_circular_list(...) #1
declare i32 @TEST_shoud_be_a_circular_list(...) #1
declare i32 @TEST_should_not_find_number_in_list(...) #1
declare i32 @TEST_stack_should_be_reverse_of_the_list(...) #1
declare i32 @TEST_should_make_a_circular_list_acircular(...) #1
declare i32 @TEST_should_add_node_at_beginning_of_list(...) #1
declare i32 @TEST_should_add_node_at_mid_of_list(...) #1
declare i32 @TEST_should_add_node_at_end_of_list(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpractez6z.c'
source_filename = "/tmp/tmpractez6z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_preformat5(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds i32, ptr %8, i64 4
%10 = load i32, ptr %9, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %72, label %12
12: ; preds = %2
%13 = load i32, ptr %5, align 4
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds i32, ptr %14, i64 1
%16 = load i32, ptr %15, align 4
%17 = icmp sgt i32 %13, %16
br i1 %17, label %18, label %20
18: ; preds = %12
%19 = load i32, ptr %5, align 4
br label %24
20: ; preds = %12
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i32, ptr %21, i64 1
%23 = load i32, ptr %22, align 4
br label %24
24: ; preds = %20, %18
%25 = phi i32 [ %19, %18 ], [ %23, %20 ]
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds i32, ptr %26, i64 0
%28 = load i32, ptr %27, align 4
%29 = icmp slt i32 %25, %28
br i1 %29, label %30, label %72
30: ; preds = %24
store i32 -1, ptr %6, align 4
br label %31
31: ; preds = %66, %30
%32 = load i32, ptr %6, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %6, align 4
%34 = load ptr, ptr %4, align 8
%35 = getelementptr inbounds i32, ptr %34, i64 0
%36 = load i32, ptr %35, align 4
%37 = load i32, ptr %5, align 4
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds i32, ptr %38, i64 1
%40 = load i32, ptr %39, align 4
%41 = icmp sgt i32 %37, %40
br i1 %41, label %42, label %44
42: ; preds = %31
%43 = load i32, ptr %5, align 4
br label %48
44: ; preds = %31
%45 = load ptr, ptr %4, align 8
%46 = getelementptr inbounds i32, ptr %45, i64 1
%47 = load i32, ptr %46, align 4
br label %48
48: ; preds = %44, %42
%49 = phi i32 [ %43, %42 ], [ %47, %44 ]
%50 = sub nsw i32 %36, %49
%51 = icmp slt i32 %33, %50
br i1 %51, label %52, label %70
52: ; preds = %48
%53 = load ptr, ptr %4, align 8
%54 = getelementptr inbounds i32, ptr %53, i64 3
%55 = load i32, ptr %54, align 4
%56 = icmp ne i32 %55, 0
br i1 %56, label %57, label %64
57: ; preds = %52
%58 = load ptr, ptr %4, align 8
%59 = getelementptr inbounds i32, ptr %58, i64 1
%60 = load i32, ptr %59, align 4
%61 = icmp eq i32 %60, -1
br i1 %61, label %62, label %64
62: ; preds = %57
%63 = call i32 @ft_putchar(i8 noundef signext 48)
br label %66
64: ; preds = %57, %52
%65 = call i32 @ft_putchar(i8 noundef signext 32)
br label %66
66: ; preds = %64, %62
%67 = phi i32 [ %63, %62 ], [ %65, %64 ]
%68 = load i32, ptr %7, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %7, align 4
br label %31, !llvm.loop !6
70: ; preds = %48
%71 = load i32, ptr %7, align 4
store i32 %71, ptr %3, align 4
br label %73
72: ; preds = %24, %2
store i32 0, ptr %3, align 4
br label %73
73: ; preds = %72, %70
%74 = load i32, ptr %3, align 4
ret i32 %74
}
declare i32 @ft_putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpractez6z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_preformat5(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds i32, ptr %8, i64 4
%10 = load i32, ptr %9, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %72, label %12
12: ; preds = %2
%13 = load i32, ptr %5, align 4
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds i32, ptr %14, i64 1
%16 = load i32, ptr %15, align 4
%17 = icmp sgt i32 %13, %16
br i1 %17, label %18, label %20
18: ; preds = %12
%19 = load i32, ptr %5, align 4
br label %24
20: ; preds = %12
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i32, ptr %21, i64 1
%23 = load i32, ptr %22, align 4
br label %24
24: ; preds = %20, %18
%25 = phi i32 [ %19, %18 ], [ %23, %20 ]
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds i32, ptr %26, i64 0
%28 = load i32, ptr %27, align 4
%29 = icmp slt i32 %25, %28
br i1 %29, label %30, label %72
30: ; preds = %24
store i32 -1, ptr %6, align 4
br label %31
31: ; preds = %66, %30
%32 = load i32, ptr %6, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %6, align 4
%34 = load ptr, ptr %4, align 8
%35 = getelementptr inbounds i32, ptr %34, i64 0
%36 = load i32, ptr %35, align 4
%37 = load i32, ptr %5, align 4
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds i32, ptr %38, i64 1
%40 = load i32, ptr %39, align 4
%41 = icmp sgt i32 %37, %40
br i1 %41, label %42, label %44
42: ; preds = %31
%43 = load i32, ptr %5, align 4
br label %48
44: ; preds = %31
%45 = load ptr, ptr %4, align 8
%46 = getelementptr inbounds i32, ptr %45, i64 1
%47 = load i32, ptr %46, align 4
br label %48
48: ; preds = %44, %42
%49 = phi i32 [ %43, %42 ], [ %47, %44 ]
%50 = sub nsw i32 %36, %49
%51 = icmp slt i32 %33, %50
br i1 %51, label %52, label %70
52: ; preds = %48
%53 = load ptr, ptr %4, align 8
%54 = getelementptr inbounds i32, ptr %53, i64 3
%55 = load i32, ptr %54, align 4
%56 = icmp ne i32 %55, 0
br i1 %56, label %57, label %64
57: ; preds = %52
%58 = load ptr, ptr %4, align 8
%59 = getelementptr inbounds i32, ptr %58, i64 1
%60 = load i32, ptr %59, align 4
%61 = icmp eq i32 %60, -1
br i1 %61, label %62, label %64
62: ; preds = %57
%63 = call i32 @ft_putchar(i8 noundef signext 48)
br label %66
64: ; preds = %57, %52
%65 = call i32 @ft_putchar(i8 noundef signext 32)
br label %66
66: ; preds = %64, %62
%67 = phi i32 [ %63, %62 ], [ %65, %64 ]
%68 = load i32, ptr %7, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %7, align 4
br label %31, !llvm.loop !6
70: ; preds = %48
%71 = load i32, ptr %7, align 4
store i32 %71, ptr %3, align 4
br label %73
72: ; preds = %24, %2
store i32 0, ptr %3, align 4
br label %73
73: ; preds = %72, %70
%74 = load i32, ptr %3, align 4
ret i32 %74
}
declare i32 @ft_putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpufipvdbr.c'
source_filename = "/tmp/tmpufipvdbr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [200 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/AmesianX/OpenBLT/refs/heads/master/Target/Demo/ARMCM3_LM3S_EK_LM3S8962_Crossworks/Boot/lib/driverlib/canlib.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CANIntEnable(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = call i32 @CANBaseValid(i64 noundef %5)
%7 = icmp ne i32 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %2
%9 = call i32 @AssertFailure(ptr noundef @.str, i32 noundef 1061)
br label %10
10: ; preds = %8, %2
%11 = load i64, ptr %4, align 8
%12 = and i64 %11, -15
%13 = icmp eq i64 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %10
%15 = call i32 @AssertFailure(ptr noundef @.str, i32 noundef 1062)
br label %16
16: ; preds = %14, %10
%17 = load i64, ptr %3, align 8
%18 = add i64 %17, 0
%19 = load i64, ptr %3, align 8
%20 = add i64 %19, 0
%21 = call i64 @CANRegRead(i64 noundef %20)
%22 = load i64, ptr %4, align 8
%23 = or i64 %21, %22
%24 = call i32 @CANRegWrite(i64 noundef %18, i64 noundef %23)
ret void
}
declare i32 @CANBaseValid(i64 noundef) #1
declare i32 @AssertFailure(ptr noundef, i32 noundef) #1
declare i32 @CANRegWrite(i64 noundef, i64 noundef) #1
declare i64 @CANRegRead(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/tmpufipvdbr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [200 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/AmesianX/OpenBLT/refs/heads/master/Target/Demo/ARMCM3_LM3S_EK_LM3S8962_Crossworks/Boot/lib/driverlib/canlib.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CANIntEnable(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = call i32 @CANBaseValid(i64 noundef %5)
%7 = icmp ne i32 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %2
%9 = call i32 @AssertFailure(ptr noundef @.str, i32 noundef 1061)
br label %10
10: ; preds = %8, %2
%11 = load i64, ptr %4, align 8
%12 = and i64 %11, -15
%13 = icmp eq i64 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %10
%15 = call i32 @AssertFailure(ptr noundef @.str, i32 noundef 1062)
br label %16
16: ; preds = %14, %10
%17 = load i64, ptr %3, align 8
%18 = add i64 %17, 0
%19 = load i64, ptr %3, align 8
%20 = add i64 %19, 0
%21 = call i64 @CANRegRead(i64 noundef %20)
%22 = load i64, ptr %4, align 8
%23 = or i64 %21, %22
%24 = call i32 @CANRegWrite(i64 noundef %18, i64 noundef %23)
ret void
}
declare i32 @CANBaseValid(i64 noundef) #1
declare i32 @AssertFailure(ptr noundef, i32 noundef) #1
declare i32 @CANRegWrite(i64 noundef, i64 noundef) #1
declare i64 @CANRegRead(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/tmppnk6kbw0.c'
source_filename = "/tmp/tmppnk6kbw0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%08X\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"A: %08X\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 [32 x i32], align 16
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%5 = getelementptr inbounds [32 x i32], ptr %3, i64 0, i64 0
store ptr %5, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds i32, ptr %7, i32 1
store ptr %8, ptr %4, align 8
store i32 -559038737, ptr %8, align 4
%9 = load ptr, ptr %4, align 8
%10 = load i32, ptr %9, align 4
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds i32, ptr %12, i32 1
store ptr %13, ptr %4, align 8
store i32 -889275714, ptr %13, align 4
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %14, align 4
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %15)
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds i32, ptr %17, i32 -1
store ptr %18, ptr %4, align 8
%19 = load i32, ptr %17, align 4
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %20, align 4
%22 = call i32 @printf(ptr noundef @.str, i32 noundef %21)
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds i32, ptr %23, i32 1
store ptr %24, ptr %4, align 8
store i32 1, ptr %24, align 4
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds i32, ptr %25, i32 1
store ptr %26, ptr %4, align 8
store i32 2, ptr %26, align 4
%27 = load ptr, ptr %4, align 8
%28 = getelementptr inbounds i32, ptr %27, i32 1
store ptr %28, ptr %4, align 8
store i32 3, ptr %28, align 4
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds i32, ptr %29, i32 1
store ptr %30, ptr %4, align 8
store i32 4, ptr %30, align 4
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds i32, ptr %31, i32 1
store ptr %32, ptr %4, align 8
store i32 5, ptr %32, align 4
%33 = load ptr, ptr %4, align 8
%34 = getelementptr inbounds i32, ptr %33, i32 1
store ptr %34, ptr %4, align 8
store i32 6, ptr %34, align 4
br label %35
35: ; preds = %39, %0
%36 = load ptr, ptr %4, align 8
%37 = getelementptr inbounds [32 x i32], ptr %3, i64 0, i64 0
%38 = icmp ne ptr %36, %37
br i1 %38, label %39, label %44
39: ; preds = %35
%40 = load ptr, ptr %4, align 8
%41 = getelementptr inbounds i32, ptr %40, i32 -1
store ptr %41, ptr %4, align 8
%42 = load i32, ptr %40, align 4
%43 = call i32 @printf(ptr noundef @.str.1, i32 noundef %42)
br label %35, !llvm.loop !6
44: ; preds = %35
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppnk6kbw0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%08X\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"A: %08X\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 [32 x i32], align 16
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%5 = getelementptr inbounds [32 x i32], ptr %3, i64 0, i64 0
store ptr %5, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds i32, ptr %7, i32 1
store ptr %8, ptr %4, align 8
store i32 -559038737, ptr %8, align 4
%9 = load ptr, ptr %4, align 8
%10 = load i32, ptr %9, align 4
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds i32, ptr %12, i32 1
store ptr %13, ptr %4, align 8
store i32 -889275714, ptr %13, align 4
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %14, align 4
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %15)
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds i32, ptr %17, i32 -1
store ptr %18, ptr %4, align 8
%19 = load i32, ptr %17, align 4
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %20, align 4
%22 = call i32 @printf(ptr noundef @.str, i32 noundef %21)
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds i32, ptr %23, i32 1
store ptr %24, ptr %4, align 8
store i32 1, ptr %24, align 4
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds i32, ptr %25, i32 1
store ptr %26, ptr %4, align 8
store i32 2, ptr %26, align 4
%27 = load ptr, ptr %4, align 8
%28 = getelementptr inbounds i32, ptr %27, i32 1
store ptr %28, ptr %4, align 8
store i32 3, ptr %28, align 4
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds i32, ptr %29, i32 1
store ptr %30, ptr %4, align 8
store i32 4, ptr %30, align 4
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds i32, ptr %31, i32 1
store ptr %32, ptr %4, align 8
store i32 5, ptr %32, align 4
%33 = load ptr, ptr %4, align 8
%34 = getelementptr inbounds i32, ptr %33, i32 1
store ptr %34, ptr %4, align 8
store i32 6, ptr %34, align 4
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds [32 x i32], ptr %3, i64 0, i64 0
%37 = icmp ne ptr %35, %36
br i1 %37, label %.lr.ph, label %45
.lr.ph: ; preds = %0
br label %38
38: ; preds = %.lr.ph, %38
%39 = load ptr, ptr %4, align 8
%40 = getelementptr inbounds i32, ptr %39, i32 -1
store ptr %40, ptr %4, align 8
%41 = load i32, ptr %39, align 4
%42 = call i32 @printf(ptr noundef @.str.1, i32 noundef %41)
%43 = load ptr, ptr %4, align 8
%44 = icmp ne ptr %43, %36
br i1 %44, label %38, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %45
45: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpgmp473k8.c'
source_filename = "/tmp/tmpgmp473k8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ISO\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"IEEE\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"ACM\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"Inc.\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"Proc.\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"pp.\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"Ph.D. Thesis\00", align 1
@.str.7 = private unnamed_addr constant [8 x i8] c"http://\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"No.\00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c"Vol.\00", align 1
@.str.10 = private unnamed_addr constant [7 x i8] c"Volumn\00", align 1
@.str.11 = private unnamed_addr constant [7 x i8] c"SIGCSE\00", align 1
@.str.12 = private unnamed_addr constant [9 x i8] c"Bulletin\00", align 1
@.str.13 = private unnamed_addr constant [6 x i8] c"Press\00", align 1
@.str.14 = private unnamed_addr constant [12 x i8] c"PROCEEDINGS\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @hasSpecialKeyWords(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%11 = call ptr (...) @getPcontent()
store ptr %11, ptr %8, align 8
%12 = load i32, ptr %5, align 4
%13 = call i32 @defineStartAndEnd(ptr noundef %4, ptr noundef %7, i32 noundef %12)
%14 = load i32, ptr %4, align 4
store i32 %14, ptr %6, align 4
br label %15
15: ; preds = %303, %2
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %7, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %306
19: ; preds = %15
%20 = load ptr, ptr %8, align 8
%21 = load i32, ptr %6, align 4
%22 = sub nsw i32 %21, 1
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %20, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 32
br i1 %27, label %28, label %302
28: ; preds = %19
%29 = load ptr, ptr %8, align 8
%30 = load i32, ptr %6, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = call i32 @strlen(ptr noundef @.str)
%34 = call i64 @strncmp(ptr noundef @.str, ptr noundef %32, i32 noundef %33)
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %40
36: ; preds = %28
%37 = load i32, ptr %6, align 4
%38 = call i32 @strlen(ptr noundef @.str)
%39 = add nsw i32 %37, %38
store i32 %39, ptr %3, align 4
br label %307
40: ; preds = %28
%41 = load ptr, ptr %8, align 8
%42 = load i32, ptr %6, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = call i32 @strlen(ptr noundef @.str.1)
%46 = call i64 @strncmp(ptr noundef @.str.1, ptr noundef %44, i32 noundef %45)
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %52
48: ; preds = %40
%49 = load i32, ptr %6, align 4
%50 = call i32 @strlen(ptr noundef @.str.1)
%51 = add nsw i32 %49, %50
store i32 %51, ptr %3, align 4
br label %307
52: ; preds = %40
%53 = load ptr, ptr %8, align 8
%54 = load i32, ptr %6, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %53, i64 %55
%57 = call i32 @strlen(ptr noundef @.str.2)
%58 = call i64 @strncmp(ptr noundef @.str.2, ptr noundef %56, i32 noundef %57)
%59 = icmp eq i64 %58, 0
br i1 %59, label %60, label %64
60: ; preds = %52
%61 = load i32, ptr %6, align 4
%62 = call i32 @strlen(ptr noundef @.str.2)
%63 = add nsw i32 %61, %62
store i32 %63, ptr %3, align 4
br label %307
64: ; preds = %52
%65 = load ptr, ptr %8, align 8
%66 = load i32, ptr %6, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %65, i64 %67
%69 = call i32 @strlen(ptr noundef @.str.3)
%70 = call i64 @strncmp(ptr noundef @.str.3, ptr noundef %68, i32 noundef %69)
%71 = icmp eq i64 %70, 0
br i1 %71, label %72, label %76
72: ; preds = %64
%73 = load i32, ptr %6, align 4
%74 = call i32 @strlen(ptr noundef @.str.3)
%75 = add nsw i32 %73, %74
store i32 %75, ptr %3, align 4
br label %307
76: ; preds = %64
%77 = load ptr, ptr %8, align 8
%78 = load i32, ptr %6, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i8, ptr %77, i64 %79
%81 = call i32 @strlen(ptr noundef @.str.4)
%82 = call i64 @strncmp(ptr noundef @.str.4, ptr noundef %80, i32 noundef %81)
%83 = icmp eq i64 %82, 0
br i1 %83, label %84, label %88
84: ; preds = %76
%85 = load i32, ptr %6, align 4
%86 = call i32 @strlen(ptr noundef @.str.4)
%87 = add nsw i32 %85, %86
store i32 %87, ptr %3, align 4
br label %307
88: ; preds = %76
%89 = load ptr, ptr %8, align 8
%90 = load i32, ptr %6, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i8, ptr %89, i64 %91
%93 = call i32 @strlen(ptr noundef @.str.5)
%94 = call i64 @strncmp(ptr noundef @.str.5, ptr noundef %92, i32 noundef %93)
%95 = icmp eq i64 %94, 0
br i1 %95, label %96, label %100
96: ; preds = %88
%97 = load i32, ptr %6, align 4
%98 = call i32 @strlen(ptr noundef @.str.5)
%99 = add nsw i32 %97, %98
store i32 %99, ptr %3, align 4
br label %307
100: ; preds = %88
%101 = load ptr, ptr %8, align 8
%102 = load i32, ptr %6, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i8, ptr %101, i64 %103
%105 = call i32 @strlen(ptr noundef @.str.6)
%106 = call i64 @strncmp(ptr noundef @.str.6, ptr noundef %104, i32 noundef %105)
%107 = icmp eq i64 %106, 0
br i1 %107, label %108, label %112
108: ; preds = %100
%109 = load i32, ptr %6, align 4
%110 = call i32 @strlen(ptr noundef @.str.6)
%111 = add nsw i32 %109, %110
store i32 %111, ptr %3, align 4
br label %307
112: ; preds = %100
%113 = load ptr, ptr %8, align 8
%114 = load i32, ptr %6, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i8, ptr %113, i64 %115
%117 = call i32 @strlen(ptr noundef @.str.7)
%118 = call i64 @strncmp(ptr noundef @.str.7, ptr noundef %116, i32 noundef %117)
%119 = icmp eq i64 %118, 0
br i1 %119, label %120, label %124
120: ; preds = %112
%121 = load i32, ptr %6, align 4
%122 = call i32 @strlen(ptr noundef @.str.7)
%123 = add nsw i32 %121, %122
store i32 %123, ptr %3, align 4
br label %307
124: ; preds = %112
%125 = load ptr, ptr %8, align 8
%126 = load i32, ptr %6, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds i8, ptr %125, i64 %127
%129 = call i32 @strlen(ptr noundef @.str.8)
%130 = call i64 @strncmp(ptr noundef @.str.8, ptr noundef %128, i32 noundef %129)
%131 = icmp eq i64 %130, 0
br i1 %131, label %132, label %136
132: ; preds = %124
%133 = load i32, ptr %6, align 4
%134 = call i32 @strlen(ptr noundef @.str.8)
%135 = add nsw i32 %133, %134
store i32 %135, ptr %3, align 4
br label %307
136: ; preds = %124
%137 = call i32 @strlen(ptr noundef @.str.9)
%138 = load ptr, ptr %8, align 8
%139 = load i32, ptr %6, align 4
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds i8, ptr %138, i64 %140
%142 = call i32 @strlen(ptr noundef @.str.9)
%143 = call i64 @editDistanceS(ptr noundef @.str.9, i32 noundef %137, ptr noundef %141, i32 noundef %142)
%144 = icmp sle i64 %143, 0
br i1 %144, label %145, label %149
145: ; preds = %136
%146 = load i32, ptr %6, align 4
%147 = call i32 @strlen(ptr noundef @.str.9)
%148 = add nsw i32 %146, %147
store i32 %148, ptr %3, align 4
br label %307
149: ; preds = %136
%150 = call i32 @strlen(ptr noundef @.str.10)
%151 = load ptr, ptr %8, align 8
%152 = load i32, ptr %6, align 4
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds i8, ptr %151, i64 %153
%155 = call i32 @strlen(ptr noundef @.str.10)
%156 = call i64 @editDistanceS(ptr noundef @.str.10, i32 noundef %150, ptr noundef %154, i32 noundef %155)
%157 = icmp sle i64 %156, 0
br i1 %157, label %158, label %162
158: ; preds = %149
%159 = load i32, ptr %6, align 4
%160 = call i32 @strlen(ptr noundef @.str.10)
%161 = add nsw i32 %159, %160
store i32 %161, ptr %3, align 4
br label %307
162: ; preds = %149
%163 = call i32 @strlen(ptr noundef @.str.11)
%164 = load ptr, ptr %8, align 8
%165 = load i32, ptr %6, align 4
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds i8, ptr %164, i64 %166
%168 = call i32 @strlen(ptr noundef @.str.11)
%169 = call i64 @editDistanceS(ptr noundef @.str.11, i32 noundef %163, ptr noundef %167, i32 noundef %168)
%170 = icmp sle i64 %169, 0
br i1 %170, label %171, label %175
171: ; preds = %162
%172 = load i32, ptr %6, align 4
%173 = call i32 @strlen(ptr noundef @.str.11)
%174 = add nsw i32 %172, %173
store i32 %174, ptr %3, align 4
br label %307
175: ; preds = %162
%176 = call i32 @strlen(ptr noundef @.str.12)
%177 = load ptr, ptr %8, align 8
%178 = load i32, ptr %6, align 4
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds i8, ptr %177, i64 %179
%181 = call i32 @strlen(ptr noundef @.str.12)
%182 = call i64 @editDistanceS(ptr noundef @.str.12, i32 noundef %176, ptr noundef %180, i32 noundef %181)
%183 = icmp sle i64 %182, 0
br i1 %183, label %184, label %188
184: ; preds = %175
%185 = load i32, ptr %6, align 4
%186 = call i32 @strlen(ptr noundef @.str.12)
%187 = add nsw i32 %185, %186
store i32 %187, ptr %3, align 4
br label %307
188: ; preds = %175
%189 = call i32 @strlen(ptr noundef @.str.13)
%190 = load ptr, ptr %8, align 8
%191 = load i32, ptr %6, align 4
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds i8, ptr %190, i64 %192
%194 = call i32 @strlen(ptr noundef @.str.13)
%195 = call i64 @editDistanceS(ptr noundef @.str.13, i32 noundef %189, ptr noundef %193, i32 noundef %194)
%196 = icmp sle i64 %195, 0
br i1 %196, label %197, label %201
197: ; preds = %188
%198 = load i32, ptr %6, align 4
%199 = call i32 @strlen(ptr noundef @.str.13)
%200 = add nsw i32 %198, %199
store i32 %200, ptr %3, align 4
br label %307
201: ; preds = %188
%202 = call i32 @strlen(ptr noundef @.str.14)
%203 = load ptr, ptr %8, align 8
%204 = load i32, ptr %6, align 4
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds i8, ptr %203, i64 %205
%207 = call i32 @strlen(ptr noundef @.str.14)
%208 = call i64 @editDistanceS(ptr noundef @.str.14, i32 noundef %202, ptr noundef %206, i32 noundef %207)
%209 = icmp sle i64 %208, 0
br i1 %209, label %210, label %214
210: ; preds = %201
%211 = load i32, ptr %6, align 4
%212 = call i32 @strlen(ptr noundef @.str.14)
%213 = add nsw i32 %211, %212
store i32 %213, ptr %3, align 4
br label %307
214: ; preds = %201
%215 = load i32, ptr %6, align 4
store i32 %215, ptr %9, align 4
%216 = load i32, ptr %9, align 4
store i32 %216, ptr %10, align 4
br label %217
217: ; preds = %244, %214
%218 = load ptr, ptr %8, align 8
%219 = load i32, ptr %9, align 4
%220 = sext i32 %219 to i64
%221 = getelementptr inbounds i8, ptr %218, i64 %220
%222 = load i8, ptr %221, align 1
%223 = call i64 @fitPattern(i8 noundef signext 110, i8 noundef signext %222)
%224 = icmp ne i64 %223, 0
br i1 %224, label %225, label %230
225: ; preds = %217
%226 = load i32, ptr %9, align 4
%227 = load i32, ptr %7, align 4
%228 = sub nsw i32 %227, 2
%229 = icmp slt i32 %226, %228
br label %230
230: ; preds = %225, %217
%231 = phi i1 [ false, %217 ], [ %229, %225 ]
br i1 %231, label %232, label %245
232: ; preds = %230
%233 = load i32, ptr %9, align 4
%234 = add nsw i32 %233, 1
store i32 %234, ptr %9, align 4
%235 = load i32, ptr %9, align 4
%236 = load i32, ptr %7, align 4
%237 = icmp sge i32 %235, %236
br i1 %237, label %243, label %238
238: ; preds = %232
%239 = load i32, ptr %9, align 4
%240 = load i32, ptr %10, align 4
%241 = sub nsw i32 %239, %240
%242 = icmp sgt i32 %241, 2
br i1 %242, label %243, label %244
243: ; preds = %238, %232
br label %245
244: ; preds = %238
br label %217, !llvm.loop !6
245: ; preds = %243, %230
%246 = load i32, ptr %9, align 4
%247 = load i32, ptr %7, align 4
%248 = sub nsw i32 %247, 2
%249 = icmp sge i32 %246, %248
br i1 %249, label %250, label %251
250: ; preds = %245
br label %306
251: ; preds = %245
%252 = load ptr, ptr %8, align 8
%253 = load i32, ptr %9, align 4
%254 = sext i32 %253 to i64
%255 = getelementptr inbounds i8, ptr %252, i64 %254
%256 = load i8, ptr %255, align 1
%257 = sext i8 %256 to i32
%258 = icmp eq i32 %257, 40
br i1 %258, label %259, label %301
259: ; preds = %251
%260 = load i32, ptr %9, align 4
%261 = add nsw i32 %260, 1
store i32 %261, ptr %9, align 4
%262 = load i32, ptr %9, align 4
store i32 %262, ptr %10, align 4
br label %263
263: ; preds = %283, %259
%264 = load ptr, ptr %8, align 8
%265 = load i32, ptr %9, align 4
%266 = sext i32 %265 to i64
%267 = getelementptr inbounds i8, ptr %264, i64 %266
%268 = load i8, ptr %267, align 1
%269 = call i64 @fitPattern(i8 noundef signext 110, i8 noundef signext %268)
%270 = icmp ne i64 %269, 0
br i1 %270, label %271, label %284
271: ; preds = %263
%272 = load i32, ptr %9, align 4
%273 = add nsw i32 %272, 1
store i32 %273, ptr %9, align 4
%274 = load i32, ptr %9, align 4
%275 = load i32, ptr %7, align 4
%276 = icmp sge i32 %274, %275
br i1 %276, label %282, label %277
277: ; preds = %271
%278 = load i32, ptr %9, align 4
%279 = load i32, ptr %10, align 4
%280 = sub nsw i32 %278, %279
%281 = icmp sgt i32 %280, 2
br i1 %281, label %282, label %283
282: ; preds = %277, %271
br label %284
283: ; preds = %277
br label %263, !llvm.loop !8
284: ; preds = %282, %263
%285 = load i32, ptr %9, align 4
%286 = load i32, ptr %7, align 4
%287 = icmp sge i32 %285, %286
br i1 %287, label %288, label %289
288: ; preds = %284
br label %306
289: ; preds = %284
%290 = load ptr, ptr %8, align 8
%291 = load i32, ptr %9, align 4
%292 = sext i32 %291 to i64
%293 = getelementptr inbounds i8, ptr %290, i64 %292
%294 = load i8, ptr %293, align 1
%295 = sext i8 %294 to i32
%296 = icmp eq i32 %295, 41
br i1 %296, label %297, label %300
297: ; preds = %289
%298 = load i32, ptr %9, align 4
%299 = add nsw i32 %298, 1
store i32 %299, ptr %3, align 4
br label %307
300: ; preds = %289
br label %301
301: ; preds = %300, %251
br label %302
302: ; preds = %301, %19
br label %303
303: ; preds = %302
%304 = load i32, ptr %6, align 4
%305 = add nsw i32 %304, 1
store i32 %305, ptr %6, align 4
br label %15, !llvm.loop !9
306: ; preds = %288, %250, %15
store i32 0, ptr %3, align 4
br label %307
307: ; preds = %306, %297, %210, %197, %184, %171, %158, %145, %132, %120, %108, %96, %84, %72, %60, %48, %36
%308 = load i32, ptr %3, align 4
ret i32 %308
}
declare ptr @getPcontent(...) #1
declare i32 @defineStartAndEnd(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @editDistanceS(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @fitPattern(i8 noundef signext, 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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgmp473k8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ISO\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"IEEE\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"ACM\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"Inc.\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"Proc.\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"pp.\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"Ph.D. Thesis\00", align 1
@.str.7 = private unnamed_addr constant [8 x i8] c"http://\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"No.\00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c"Vol.\00", align 1
@.str.10 = private unnamed_addr constant [7 x i8] c"Volumn\00", align 1
@.str.11 = private unnamed_addr constant [7 x i8] c"SIGCSE\00", align 1
@.str.12 = private unnamed_addr constant [9 x i8] c"Bulletin\00", align 1
@.str.13 = private unnamed_addr constant [6 x i8] c"Press\00", align 1
@.str.14 = private unnamed_addr constant [12 x i8] c"PROCEEDINGS\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @hasSpecialKeyWords(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%11 = call ptr (...) @getPcontent()
store ptr %11, ptr %8, align 8
%12 = load i32, ptr %5, align 4
%13 = call i32 @defineStartAndEnd(ptr noundef %4, ptr noundef %7, i32 noundef %12)
%14 = load i32, ptr %4, align 4
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %7, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph3, label %.loopexit2
.lr.ph3: ; preds = %2
br label %18
18: ; preds = %.lr.ph3, %307
%19 = load ptr, ptr %8, align 8
%20 = load i32, ptr %6, align 4
%21 = sub nsw i32 %20, 1
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %19, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 32
br i1 %26, label %27, label %306
27: ; preds = %18
%28 = load ptr, ptr %8, align 8
%29 = load i32, ptr %6, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = call i32 @strlen(ptr noundef @.str)
%33 = call i64 @strncmp(ptr noundef @.str, ptr noundef %31, i32 noundef %32)
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %39
35: ; preds = %27
%36 = load i32, ptr %6, align 4
%37 = call i32 @strlen(ptr noundef @.str)
%38 = add nsw i32 %36, %37
store i32 %38, ptr %3, align 4
br label %314
39: ; preds = %27
%40 = load ptr, ptr %8, align 8
%41 = load i32, ptr %6, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = call i32 @strlen(ptr noundef @.str.1)
%45 = call i64 @strncmp(ptr noundef @.str.1, ptr noundef %43, i32 noundef %44)
%46 = icmp eq i64 %45, 0
br i1 %46, label %47, label %51
47: ; preds = %39
%48 = load i32, ptr %6, align 4
%49 = call i32 @strlen(ptr noundef @.str.1)
%50 = add nsw i32 %48, %49
store i32 %50, ptr %3, align 4
br label %314
51: ; preds = %39
%52 = load ptr, ptr %8, align 8
%53 = load i32, ptr %6, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
%56 = call i32 @strlen(ptr noundef @.str.2)
%57 = call i64 @strncmp(ptr noundef @.str.2, ptr noundef %55, i32 noundef %56)
%58 = icmp eq i64 %57, 0
br i1 %58, label %59, label %63
59: ; preds = %51
%60 = load i32, ptr %6, align 4
%61 = call i32 @strlen(ptr noundef @.str.2)
%62 = add nsw i32 %60, %61
store i32 %62, ptr %3, align 4
br label %314
63: ; preds = %51
%64 = load ptr, ptr %8, align 8
%65 = load i32, ptr %6, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8, ptr %64, i64 %66
%68 = call i32 @strlen(ptr noundef @.str.3)
%69 = call i64 @strncmp(ptr noundef @.str.3, ptr noundef %67, i32 noundef %68)
%70 = icmp eq i64 %69, 0
br i1 %70, label %71, label %75
71: ; preds = %63
%72 = load i32, ptr %6, align 4
%73 = call i32 @strlen(ptr noundef @.str.3)
%74 = add nsw i32 %72, %73
store i32 %74, ptr %3, align 4
br label %314
75: ; preds = %63
%76 = load ptr, ptr %8, align 8
%77 = load i32, ptr %6, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i8, ptr %76, i64 %78
%80 = call i32 @strlen(ptr noundef @.str.4)
%81 = call i64 @strncmp(ptr noundef @.str.4, ptr noundef %79, i32 noundef %80)
%82 = icmp eq i64 %81, 0
br i1 %82, label %83, label %87
83: ; preds = %75
%84 = load i32, ptr %6, align 4
%85 = call i32 @strlen(ptr noundef @.str.4)
%86 = add nsw i32 %84, %85
store i32 %86, ptr %3, align 4
br label %314
87: ; preds = %75
%88 = load ptr, ptr %8, align 8
%89 = load i32, ptr %6, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i8, ptr %88, i64 %90
%92 = call i32 @strlen(ptr noundef @.str.5)
%93 = call i64 @strncmp(ptr noundef @.str.5, ptr noundef %91, i32 noundef %92)
%94 = icmp eq i64 %93, 0
br i1 %94, label %95, label %99
95: ; preds = %87
%96 = load i32, ptr %6, align 4
%97 = call i32 @strlen(ptr noundef @.str.5)
%98 = add nsw i32 %96, %97
store i32 %98, ptr %3, align 4
br label %314
99: ; preds = %87
%100 = load ptr, ptr %8, align 8
%101 = load i32, ptr %6, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i8, ptr %100, i64 %102
%104 = call i32 @strlen(ptr noundef @.str.6)
%105 = call i64 @strncmp(ptr noundef @.str.6, ptr noundef %103, i32 noundef %104)
%106 = icmp eq i64 %105, 0
br i1 %106, label %107, label %111
107: ; preds = %99
%108 = load i32, ptr %6, align 4
%109 = call i32 @strlen(ptr noundef @.str.6)
%110 = add nsw i32 %108, %109
store i32 %110, ptr %3, align 4
br label %314
111: ; preds = %99
%112 = load ptr, ptr %8, align 8
%113 = load i32, ptr %6, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds i8, ptr %112, i64 %114
%116 = call i32 @strlen(ptr noundef @.str.7)
%117 = call i64 @strncmp(ptr noundef @.str.7, ptr noundef %115, i32 noundef %116)
%118 = icmp eq i64 %117, 0
br i1 %118, label %119, label %123
119: ; preds = %111
%120 = load i32, ptr %6, align 4
%121 = call i32 @strlen(ptr noundef @.str.7)
%122 = add nsw i32 %120, %121
store i32 %122, ptr %3, align 4
br label %314
123: ; preds = %111
%124 = load ptr, ptr %8, align 8
%125 = load i32, ptr %6, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds i8, ptr %124, i64 %126
%128 = call i32 @strlen(ptr noundef @.str.8)
%129 = call i64 @strncmp(ptr noundef @.str.8, ptr noundef %127, i32 noundef %128)
%130 = icmp eq i64 %129, 0
br i1 %130, label %131, label %135
131: ; preds = %123
%132 = load i32, ptr %6, align 4
%133 = call i32 @strlen(ptr noundef @.str.8)
%134 = add nsw i32 %132, %133
store i32 %134, ptr %3, align 4
br label %314
135: ; preds = %123
%136 = call i32 @strlen(ptr noundef @.str.9)
%137 = load ptr, ptr %8, align 8
%138 = load i32, ptr %6, align 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds i8, ptr %137, i64 %139
%141 = call i32 @strlen(ptr noundef @.str.9)
%142 = call i64 @editDistanceS(ptr noundef @.str.9, i32 noundef %136, ptr noundef %140, i32 noundef %141)
%143 = icmp sle i64 %142, 0
br i1 %143, label %144, label %148
144: ; preds = %135
%145 = load i32, ptr %6, align 4
%146 = call i32 @strlen(ptr noundef @.str.9)
%147 = add nsw i32 %145, %146
store i32 %147, ptr %3, align 4
br label %314
148: ; preds = %135
%149 = call i32 @strlen(ptr noundef @.str.10)
%150 = load ptr, ptr %8, align 8
%151 = load i32, ptr %6, align 4
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds i8, ptr %150, i64 %152
%154 = call i32 @strlen(ptr noundef @.str.10)
%155 = call i64 @editDistanceS(ptr noundef @.str.10, i32 noundef %149, ptr noundef %153, i32 noundef %154)
%156 = icmp sle i64 %155, 0
br i1 %156, label %157, label %161
157: ; preds = %148
%158 = load i32, ptr %6, align 4
%159 = call i32 @strlen(ptr noundef @.str.10)
%160 = add nsw i32 %158, %159
store i32 %160, ptr %3, align 4
br label %314
161: ; preds = %148
%162 = call i32 @strlen(ptr noundef @.str.11)
%163 = load ptr, ptr %8, align 8
%164 = load i32, ptr %6, align 4
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds i8, ptr %163, i64 %165
%167 = call i32 @strlen(ptr noundef @.str.11)
%168 = call i64 @editDistanceS(ptr noundef @.str.11, i32 noundef %162, ptr noundef %166, i32 noundef %167)
%169 = icmp sle i64 %168, 0
br i1 %169, label %170, label %174
170: ; preds = %161
%171 = load i32, ptr %6, align 4
%172 = call i32 @strlen(ptr noundef @.str.11)
%173 = add nsw i32 %171, %172
store i32 %173, ptr %3, align 4
br label %314
174: ; preds = %161
%175 = call i32 @strlen(ptr noundef @.str.12)
%176 = load ptr, ptr %8, align 8
%177 = load i32, ptr %6, align 4
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds i8, ptr %176, i64 %178
%180 = call i32 @strlen(ptr noundef @.str.12)
%181 = call i64 @editDistanceS(ptr noundef @.str.12, i32 noundef %175, ptr noundef %179, i32 noundef %180)
%182 = icmp sle i64 %181, 0
br i1 %182, label %183, label %187
183: ; preds = %174
%184 = load i32, ptr %6, align 4
%185 = call i32 @strlen(ptr noundef @.str.12)
%186 = add nsw i32 %184, %185
store i32 %186, ptr %3, align 4
br label %314
187: ; preds = %174
%188 = call i32 @strlen(ptr noundef @.str.13)
%189 = load ptr, ptr %8, align 8
%190 = load i32, ptr %6, align 4
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds i8, ptr %189, i64 %191
%193 = call i32 @strlen(ptr noundef @.str.13)
%194 = call i64 @editDistanceS(ptr noundef @.str.13, i32 noundef %188, ptr noundef %192, i32 noundef %193)
%195 = icmp sle i64 %194, 0
br i1 %195, label %196, label %200
196: ; preds = %187
%197 = load i32, ptr %6, align 4
%198 = call i32 @strlen(ptr noundef @.str.13)
%199 = add nsw i32 %197, %198
store i32 %199, ptr %3, align 4
br label %314
200: ; preds = %187
%201 = call i32 @strlen(ptr noundef @.str.14)
%202 = load ptr, ptr %8, align 8
%203 = load i32, ptr %6, align 4
%204 = sext i32 %203 to i64
%205 = getelementptr inbounds i8, ptr %202, i64 %204
%206 = call i32 @strlen(ptr noundef @.str.14)
%207 = call i64 @editDistanceS(ptr noundef @.str.14, i32 noundef %201, ptr noundef %205, i32 noundef %206)
%208 = icmp sle i64 %207, 0
br i1 %208, label %209, label %213
209: ; preds = %200
%210 = load i32, ptr %6, align 4
%211 = call i32 @strlen(ptr noundef @.str.14)
%212 = add nsw i32 %210, %211
store i32 %212, ptr %3, align 4
br label %314
213: ; preds = %200
%214 = load i32, ptr %6, align 4
store i32 %214, ptr %9, align 4
%215 = load i32, ptr %9, align 4
store i32 %215, ptr %10, align 4
br label %216
216: ; preds = %237, %213
%217 = load ptr, ptr %8, align 8
%218 = load i32, ptr %9, align 4
%219 = sext i32 %218 to i64
%220 = getelementptr inbounds i8, ptr %217, i64 %219
%221 = load i8, ptr %220, align 1
%222 = call i64 @fitPattern(i8 noundef signext 110, i8 noundef signext %221)
%223 = icmp ne i64 %222, 0
br i1 %223, label %224, label %229
224: ; preds = %216
%225 = load i32, ptr %9, align 4
%226 = load i32, ptr %7, align 4
%227 = sub nsw i32 %226, 2
%228 = icmp slt i32 %225, %227
br label %229
229: ; preds = %224, %216
%230 = phi i1 [ false, %216 ], [ %228, %224 ]
br i1 %230, label %231, label %.loopexit1
231: ; preds = %229
%232 = load i32, ptr %9, align 4
%233 = add nsw i32 %232, 1
store i32 %233, ptr %9, align 4
%234 = load i32, ptr %9, align 4
%235 = load i32, ptr %7, align 4
%236 = icmp sge i32 %234, %235
br i1 %236, label %242, label %237
237: ; preds = %231
%238 = load i32, ptr %9, align 4
%239 = load i32, ptr %10, align 4
%240 = sub nsw i32 %238, %239
%241 = icmp sgt i32 %240, 2
br i1 %241, label %242, label %216, !llvm.loop !6
242: ; preds = %237, %231
br label %243
.loopexit1: ; preds = %229
br label %243
243: ; preds = %.loopexit1, %242
%244 = load i32, ptr %9, align 4
%245 = load i32, ptr %7, align 4
%246 = sub nsw i32 %245, 2
%247 = icmp sge i32 %244, %246
br i1 %247, label %248, label %249
248: ; preds = %243
br label %313
249: ; preds = %243
%250 = load ptr, ptr %8, align 8
%251 = load i32, ptr %9, align 4
%252 = sext i32 %251 to i64
%253 = getelementptr inbounds i8, ptr %250, i64 %252
%254 = load i8, ptr %253, align 1
%255 = sext i8 %254 to i32
%256 = icmp eq i32 %255, 40
br i1 %256, label %257, label %305
257: ; preds = %249
%258 = load i32, ptr %9, align 4
%259 = add nsw i32 %258, 1
store i32 %259, ptr %9, align 4
%260 = load i32, ptr %9, align 4
store i32 %260, ptr %10, align 4
%261 = load ptr, ptr %8, align 8
%262 = load i32, ptr %9, align 4
%263 = sext i32 %262 to i64
%264 = getelementptr inbounds i8, ptr %261, i64 %263
%265 = load i8, ptr %264, align 1
%266 = call i64 @fitPattern(i8 noundef signext 110, i8 noundef signext %265)
%267 = icmp ne i64 %266, 0
br i1 %267, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %257
br label %276
268: ; preds = %282
%269 = load ptr, ptr %8, align 8
%270 = load i32, ptr %9, align 4
%271 = sext i32 %270 to i64
%272 = getelementptr inbounds i8, ptr %269, i64 %271
%273 = load i8, ptr %272, align 1
%274 = call i64 @fitPattern(i8 noundef signext 110, i8 noundef signext %273)
%275 = icmp ne i64 %274, 0
br i1 %275, label %276, label %..loopexit_crit_edge, !llvm.loop !8
276: ; preds = %.lr.ph, %268
%277 = load i32, ptr %9, align 4
%278 = add nsw i32 %277, 1
store i32 %278, ptr %9, align 4
%279 = load i32, ptr %9, align 4
%280 = load i32, ptr %7, align 4
%281 = icmp sge i32 %279, %280
br i1 %281, label %287, label %282
282: ; preds = %276
%283 = load i32, ptr %9, align 4
%284 = load i32, ptr %10, align 4
%285 = sub nsw i32 %283, %284
%286 = icmp sgt i32 %285, 2
br i1 %286, label %287, label %268
287: ; preds = %282, %276
br label %288
..loopexit_crit_edge: ; preds = %268
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %257
br label %288
288: ; preds = %.loopexit, %287
%289 = load i32, ptr %9, align 4
%290 = load i32, ptr %7, align 4
%291 = icmp sge i32 %289, %290
br i1 %291, label %292, label %293
292: ; preds = %288
br label %313
293: ; preds = %288
%294 = load ptr, ptr %8, align 8
%295 = load i32, ptr %9, align 4
%296 = sext i32 %295 to i64
%297 = getelementptr inbounds i8, ptr %294, i64 %296
%298 = load i8, ptr %297, align 1
%299 = sext i8 %298 to i32
%300 = icmp eq i32 %299, 41
br i1 %300, label %301, label %304
301: ; preds = %293
%302 = load i32, ptr %9, align 4
%303 = add nsw i32 %302, 1
store i32 %303, ptr %3, align 4
br label %314
304: ; preds = %293
br label %305
305: ; preds = %304, %249
br label %306
306: ; preds = %305, %18
br label %307
307: ; preds = %306
%308 = load i32, ptr %6, align 4
%309 = add nsw i32 %308, 1
store i32 %309, ptr %6, align 4
%310 = load i32, ptr %6, align 4
%311 = load i32, ptr %7, align 4
%312 = icmp slt i32 %310, %311
br i1 %312, label %18, label %..loopexit2_crit_edge, !llvm.loop !9
..loopexit2_crit_edge: ; preds = %307
br label %.loopexit2
.loopexit2: ; preds = %..loopexit2_crit_edge, %2
br label %313
313: ; preds = %.loopexit2, %292, %248
store i32 0, ptr %3, align 4
br label %314
314: ; preds = %313, %301, %209, %196, %183, %170, %157, %144, %131, %119, %107, %95, %83, %71, %59, %47, %35
%315 = load i32, ptr %3, align 4
ret i32 %315
}
declare ptr @getPcontent(...) #1
declare i32 @defineStartAndEnd(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @editDistanceS(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @fitPattern(i8 noundef signext, 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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpqp0in00l.c'
source_filename = "/tmp/tmpqp0in00l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printPantallaNivel(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 28, %4
%6 = call i32 @impFotograma(i32 noundef %5)
br label %7
7: ; preds = %10, %1
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 70
br i1 %9, label %10, label %14
10: ; preds = %7
%11 = call i32 (...) @minisleep()
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
br label %7, !llvm.loop !6
14: ; preds = %7
ret void
}
declare i32 @impFotograma(i32 noundef) #1
declare i32 @minisleep(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpqp0in00l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printPantallaNivel(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 28, %4
%6 = call i32 @impFotograma(i32 noundef %5)
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 70
br i1 %8, label %.lr.ph, label %15
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %9
%10 = call i32 (...) @minisleep()
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp slt i32 %13, 70
br i1 %14, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %15
15: ; preds = %._crit_edge, %1
ret void
}
declare i32 @impFotograma(i32 noundef) #1
declare i32 @minisleep(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpao99umcu.c'
source_filename = "/tmp/tmpao99umcu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"[%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 [32 x i8], align 16
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%9 = call i32 @strtime(ptr noundef %8, i32 noundef 32, i32 noundef 1, i32 noundef 0)
%10 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%11 = call i32 @printf(ptr noundef @.str, ptr noundef %10)
%12 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%13 = call i32 @strtime(ptr noundef %12, i32 noundef 32, i32 noundef 2, i32 noundef 0)
%14 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%15 = call i32 @printf(ptr noundef @.str, ptr noundef %14)
%16 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%17 = call i32 @strtime(ptr noundef %16, i32 noundef 32, i32 noundef 3, i32 noundef 0)
%18 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%19 = call i32 @printf(ptr noundef @.str, ptr noundef %18)
store i32 1376129111, ptr %7, align 4
%20 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%21 = load i32, ptr %7, align 4
%22 = call i32 @strtime(ptr noundef %20, i32 noundef 32, i32 noundef 1, i32 noundef %21)
%23 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%24 = call i32 @printf(ptr noundef @.str, ptr noundef %23)
%25 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%26 = load i32, ptr %7, align 4
%27 = call i32 @strtime(ptr noundef %25, i32 noundef 32, i32 noundef 2, i32 noundef %26)
%28 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%29 = call i32 @printf(ptr noundef @.str, ptr noundef %28)
%30 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%31 = load i32, ptr %7, align 4
%32 = call i32 @strtime(ptr noundef %30, i32 noundef 32, i32 noundef 3, i32 noundef %31)
%33 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%34 = call i32 @printf(ptr noundef @.str, ptr noundef %33)
%35 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%36 = call i32 @strtime(ptr noundef %35, i32 noundef 32, i32 noundef 1, i32 noundef -1)
%37 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%38 = call i32 @printf(ptr noundef @.str.1, ptr noundef %37)
ret i32 0
}
declare i32 @strtime(ptr noundef, i32 noundef, i32 noundef, i32 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/tmpao99umcu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"[%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 [32 x i8], align 16
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%9 = call i32 @strtime(ptr noundef %8, i32 noundef 32, i32 noundef 1, i32 noundef 0)
%10 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%11 = call i32 @printf(ptr noundef @.str, ptr noundef %10)
%12 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%13 = call i32 @strtime(ptr noundef %12, i32 noundef 32, i32 noundef 2, i32 noundef 0)
%14 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%15 = call i32 @printf(ptr noundef @.str, ptr noundef %14)
%16 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%17 = call i32 @strtime(ptr noundef %16, i32 noundef 32, i32 noundef 3, i32 noundef 0)
%18 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%19 = call i32 @printf(ptr noundef @.str, ptr noundef %18)
store i32 1376129111, ptr %7, align 4
%20 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%21 = load i32, ptr %7, align 4
%22 = call i32 @strtime(ptr noundef %20, i32 noundef 32, i32 noundef 1, i32 noundef %21)
%23 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%24 = call i32 @printf(ptr noundef @.str, ptr noundef %23)
%25 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%26 = load i32, ptr %7, align 4
%27 = call i32 @strtime(ptr noundef %25, i32 noundef 32, i32 noundef 2, i32 noundef %26)
%28 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%29 = call i32 @printf(ptr noundef @.str, ptr noundef %28)
%30 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%31 = load i32, ptr %7, align 4
%32 = call i32 @strtime(ptr noundef %30, i32 noundef 32, i32 noundef 3, i32 noundef %31)
%33 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%34 = call i32 @printf(ptr noundef @.str, ptr noundef %33)
%35 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%36 = call i32 @strtime(ptr noundef %35, i32 noundef 32, i32 noundef 1, i32 noundef -1)
%37 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%38 = call i32 @printf(ptr noundef @.str.1, ptr noundef %37)
ret i32 0
}
declare i32 @strtime(ptr noundef, i32 noundef, i32 noundef, i32 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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.