llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmplf802xjb.c'
source_filename = "/tmp/tmplf802xjb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IdentifierCharP(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i64 @isupper(i32 noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %17, label %6
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = call i64 @islower(i32 noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %17, label %10
10: ; preds = %6
%11 = load i32, ptr %2, align 4
%12 = call i64 @isdigit(i32 noundef %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %10
%15 = load i32, ptr %2, align 4
%16 = icmp eq i32 %15, 95
br label %17
17: ; preds = %14, %10, %6, %1
%18 = phi i1 [ true, %10 ], [ true, %6 ], [ true, %1 ], [ %16, %14 ]
%19 = zext i1 %18 to i32
ret i32 %19
}
declare i64 @isupper(i32 noundef) #1
declare i64 @islower(i32 noundef) #1
declare i64 @isdigit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplf802xjb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IdentifierCharP(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i64 @isupper(i32 noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %17, label %6
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = call i64 @islower(i32 noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %17, label %10
10: ; preds = %6
%11 = load i32, ptr %2, align 4
%12 = call i64 @isdigit(i32 noundef %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %10
%15 = load i32, ptr %2, align 4
%16 = icmp eq i32 %15, 95
br label %17
17: ; preds = %14, %10, %6, %1
%18 = phi i1 [ true, %10 ], [ true, %6 ], [ true, %1 ], [ %16, %14 ]
%19 = zext i1 %18 to i32
ret i32 %19
}
declare i64 @isupper(i32 noundef) #1
declare i64 @islower(i32 noundef) #1
declare i64 @isdigit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo1jg7alb.c'
source_filename = "/tmp/tmpo1jg7alb.c"
target datalayout = "e-m:e-p270: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/tmpo1jg7alb.c"
target datalayout = "e-m:e-p270: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/tmp6x1bjv6k.c'
source_filename = "/tmp/tmp6x1bjv6k.c"
target datalayout = "e-m:e-p270: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/tmp6x1bjv6k.c"
target datalayout = "e-m:e-p270: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/tmp53tp_stf.c'
source_filename = "/tmp/tmp53tp_stf.c"
target datalayout = "e-m:e-p270: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/tmp53tp_stf.c"
target datalayout = "e-m:e-p270: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/tmpqdxucyf4.c'
source_filename = "/tmp/tmpqdxucyf4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drdynvc_init() #0 {
%1 = call i32 (...) @xcommon_init()
%2 = call i32 @drdynvc_send_capability_request(i32 noundef 2)
ret i32 0
}
declare i32 @xcommon_init(...) #1
declare i32 @drdynvc_send_capability_request(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/tmpqdxucyf4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drdynvc_init() #0 {
%1 = call i32 (...) @xcommon_init()
%2 = call i32 @drdynvc_send_capability_request(i32 noundef 2)
ret i32 0
}
declare i32 @xcommon_init(...) #1
declare i32 @drdynvc_send_capability_request(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/tmpf9ndv_mp.c'
source_filename = "/tmp/tmpf9ndv_mp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ULONG_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fffr8u4(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i32 noundef %4, i64 noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) #0 {
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca i32, align 4
%16 = alloca i64, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca i64, align 8
%22 = alloca double, align 8
%23 = alloca ptr, align 8
%24 = alloca i16, align 2
store ptr %0, ptr %11, align 8
store i64 %1, ptr %12, align 8
store double %2, ptr %13, align 8
store double %3, ptr %14, align 8
store i32 %4, ptr %15, align 4
store i64 %5, ptr %16, align 8
store ptr %6, ptr %17, align 8
store ptr %7, ptr %18, align 8
store ptr %8, ptr %19, align 8
store ptr %9, ptr %20, align 8
%25 = load i32, ptr %15, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %118
27: ; preds = %10
%28 = load double, ptr %13, align 8
%29 = fcmp oeq double %28, 1.000000e+00
br i1 %29, label %30, label %76
30: ; preds = %27
%31 = load double, ptr %14, align 8
%32 = fcmp oeq double %31, 0.000000e+00
br i1 %32, label %33, label %76
33: ; preds = %30
store i64 0, ptr %21, align 8
br label %34
34: ; preds = %72, %33
%35 = load i64, ptr %21, align 8
%36 = load i64, ptr %12, align 8
%37 = icmp slt i64 %35, %36
br i1 %37, label %38, label %75
38: ; preds = %34
%39 = load ptr, ptr %11, align 8
%40 = load i64, ptr %21, align 8
%41 = getelementptr inbounds double, ptr %39, i64 %40
%42 = load double, ptr %41, align 8
%43 = fcmp olt double %42, -4.900000e-01
br i1 %43, label %44, label %49
44: ; preds = %38
%45 = load ptr, ptr %20, align 8
store i32 -11, ptr %45, align 4
%46 = load ptr, ptr %19, align 8
%47 = load i64, ptr %21, align 8
%48 = getelementptr inbounds i64, ptr %46, i64 %47
store i64 0, ptr %48, align 8
br label %71
49: ; preds = %38
%50 = load ptr, ptr %11, align 8
%51 = load i64, ptr %21, align 8
%52 = getelementptr inbounds double, ptr %50, i64 %51
%53 = load double, ptr %52, align 8
%54 = fcmp ogt double %53, 0x43EFFFFFFFFFFFFF
br i1 %54, label %55, label %61
55: ; preds = %49
%56 = load ptr, ptr %20, align 8
store i32 -11, ptr %56, align 4
%57 = load i64, ptr @ULONG_MAX, align 8
%58 = load ptr, ptr %19, align 8
%59 = load i64, ptr %21, align 8
%60 = getelementptr inbounds i64, ptr %58, i64 %59
store i64 %57, ptr %60, align 8
br label %70
61: ; preds = %49
%62 = load ptr, ptr %11, align 8
%63 = load i64, ptr %21, align 8
%64 = getelementptr inbounds double, ptr %62, i64 %63
%65 = load double, ptr %64, align 8
%66 = fptoui double %65 to i64
%67 = load ptr, ptr %19, align 8
%68 = load i64, ptr %21, align 8
%69 = getelementptr inbounds i64, ptr %67, i64 %68
store i64 %66, ptr %69, align 8
br label %70
70: ; preds = %61, %55
br label %71
71: ; preds = %70, %44
br label %72
72: ; preds = %71
%73 = load i64, ptr %21, align 8
%74 = add nsw i64 %73, 1
store i64 %74, ptr %21, align 8
br label %34, !llvm.loop !6
75: ; preds = %34
br label %117
76: ; preds = %30, %27
store i64 0, ptr %21, align 8
br label %77
77: ; preds = %113, %76
%78 = load i64, ptr %21, align 8
%79 = load i64, ptr %12, align 8
%80 = icmp slt i64 %78, %79
br i1 %80, label %81, label %116
81: ; preds = %77
%82 = load ptr, ptr %11, align 8
%83 = load i64, ptr %21, align 8
%84 = getelementptr inbounds double, ptr %82, i64 %83
%85 = load double, ptr %84, align 8
%86 = load double, ptr %13, align 8
%87 = load double, ptr %14, align 8
%88 = call double @llvm.fmuladd.f64(double %85, double %86, double %87)
store double %88, ptr %22, align 8
%89 = load double, ptr %22, align 8
%90 = fcmp olt double %89, -4.900000e-01
br i1 %90, label %91, label %96
91: ; preds = %81
%92 = load ptr, ptr %20, align 8
store i32 -11, ptr %92, align 4
%93 = load ptr, ptr %19, align 8
%94 = load i64, ptr %21, align 8
%95 = getelementptr inbounds i64, ptr %93, i64 %94
store i64 0, ptr %95, align 8
br label %112
96: ; preds = %81
%97 = load double, ptr %22, align 8
%98 = fcmp ogt double %97, 0x43EFFFFFFFFFFFFF
br i1 %98, label %99, label %105
99: ; preds = %96
%100 = load ptr, ptr %20, align 8
store i32 -11, ptr %100, align 4
%101 = load i64, ptr @ULONG_MAX, align 8
%102 = load ptr, ptr %19, align 8
%103 = load i64, ptr %21, align 8
%104 = getelementptr inbounds i64, ptr %102, i64 %103
store i64 %101, ptr %104, align 8
br label %111
105: ; preds = %96
%106 = load double, ptr %22, align 8
%107 = fptoui double %106 to i64
%108 = load ptr, ptr %19, align 8
%109 = load i64, ptr %21, align 8
%110 = getelementptr inbounds i64, ptr %108, i64 %109
store i64 %107, ptr %110, align 8
br label %111
111: ; preds = %105, %99
br label %112
112: ; preds = %111, %91
br label %113
113: ; preds = %112
%114 = load i64, ptr %21, align 8
%115 = add nsw i64 %114, 1
store i64 %115, ptr %21, align 8
br label %77, !llvm.loop !8
116: ; preds = %77
br label %117
117: ; preds = %116, %75
br label %325
118: ; preds = %10
%119 = load ptr, ptr %11, align 8
store ptr %119, ptr %23, align 8
%120 = load ptr, ptr %23, align 8
%121 = getelementptr inbounds i16, ptr %120, i64 3
store ptr %121, ptr %23, align 8
%122 = load double, ptr %13, align 8
%123 = fcmp oeq double %122, 1.000000e+00
br i1 %123, label %124, label %216
124: ; preds = %118
%125 = load double, ptr %14, align 8
%126 = fcmp oeq double %125, 0.000000e+00
br i1 %126, label %127, label %216
127: ; preds = %124
store i64 0, ptr %21, align 8
br label %128
128: ; preds = %210, %127
%129 = load i64, ptr %21, align 8
%130 = load i64, ptr %12, align 8
%131 = icmp slt i64 %129, %130
br i1 %131, label %132, label %215
132: ; preds = %128
%133 = load ptr, ptr %23, align 8
%134 = load i16, ptr %133, align 2
%135 = sext i16 %134 to i32
%136 = and i32 %135, 32752
%137 = icmp eq i32 %136, 32752
br i1 %137, label %138, label %139
138: ; preds = %132
br label %147
139: ; preds = %132
%140 = load ptr, ptr %23, align 8
%141 = load i16, ptr %140, align 2
%142 = sext i16 %141 to i32
%143 = and i32 %142, 32752
%144 = icmp eq i32 %143, 0
%145 = zext i1 %144 to i64
%146 = select i1 %144, i32 2, i32 0
br label %147
147: ; preds = %139, %138
%148 = phi i32 [ 1, %138 ], [ %146, %139 ]
%149 = trunc i32 %148 to i16
store i16 %149, ptr %24, align 2
%150 = sext i16 %149 to i32
%151 = icmp ne i32 0, %150
br i1 %151, label %152, label %175
152: ; preds = %147
%153 = load i16, ptr %24, align 2
%154 = sext i16 %153 to i32
%155 = icmp eq i32 %154, 1
br i1 %155, label %156, label %170
156: ; preds = %152
%157 = load ptr, ptr %18, align 8
store i32 1, ptr %157, align 4
%158 = load i32, ptr %15, align 4
%159 = icmp eq i32 %158, 1
br i1 %159, label %160, label %165
160: ; preds = %156
%161 = load i64, ptr %16, align 8
%162 = load ptr, ptr %19, align 8
%163 = load i64, ptr %21, align 8
%164 = getelementptr inbounds i64, ptr %162, i64 %163
store i64 %161, ptr %164, align 8
br label %169
165: ; preds = %156
%166 = load ptr, ptr %17, align 8
%167 = load i64, ptr %21, align 8
%168 = getelementptr inbounds i8, ptr %166, i64 %167
store i8 1, ptr %168, align 1
br label %169
169: ; preds = %165, %160
br label %174
170: ; preds = %152
%171 = load ptr, ptr %19, align 8
%172 = load i64, ptr %21, align 8
%173 = getelementptr inbounds i64, ptr %171, i64 %172
store i64 0, ptr %173, align 8
br label %174
174: ; preds = %170, %169
br label %209
175: ; preds = %147
%176 = load ptr, ptr %11, align 8
%177 = load i64, ptr %21, align 8
%178 = getelementptr inbounds double, ptr %176, i64 %177
%179 = load double, ptr %178, align 8
%180 = fcmp olt double %179, -4.900000e-01
br i1 %180, label %181, label %186
181: ; preds = %175
%182 = load ptr, ptr %20, align 8
store i32 -11, ptr %182, align 4
%183 = load ptr, ptr %19, align 8
%184 = load i64, ptr %21, align 8
%185 = getelementptr inbounds i64, ptr %183, i64 %184
store i64 0, ptr %185, align 8
br label %208
186: ; preds = %175
%187 = load ptr, ptr %11, align 8
%188 = load i64, ptr %21, align 8
%189 = getelementptr inbounds double, ptr %187, i64 %188
%190 = load double, ptr %189, align 8
%191 = fcmp ogt double %190, 0x43EFFFFFFFFFFFFF
br i1 %191, label %192, label %198
192: ; preds = %186
%193 = load ptr, ptr %20, align 8
store i32 -11, ptr %193, align 4
%194 = load i64, ptr @ULONG_MAX, align 8
%195 = load ptr, ptr %19, align 8
%196 = load i64, ptr %21, align 8
%197 = getelementptr inbounds i64, ptr %195, i64 %196
store i64 %194, ptr %197, align 8
br label %207
198: ; preds = %186
%199 = load ptr, ptr %11, align 8
%200 = load i64, ptr %21, align 8
%201 = getelementptr inbounds double, ptr %199, i64 %200
%202 = load double, ptr %201, align 8
%203 = fptoui double %202 to i64
%204 = load ptr, ptr %19, align 8
%205 = load i64, ptr %21, align 8
%206 = getelementptr inbounds i64, ptr %204, i64 %205
store i64 %203, ptr %206, align 8
br label %207
207: ; preds = %198, %192
br label %208
208: ; preds = %207, %181
br label %209
209: ; preds = %208, %174
br label %210
210: ; preds = %209
%211 = load i64, ptr %21, align 8
%212 = add nsw i64 %211, 1
store i64 %212, ptr %21, align 8
%213 = load ptr, ptr %23, align 8
%214 = getelementptr inbounds i16, ptr %213, i64 4
store ptr %214, ptr %23, align 8
br label %128, !llvm.loop !9
215: ; preds = %128
br label %324
216: ; preds = %124, %118
store i64 0, ptr %21, align 8
br label %217
217: ; preds = %318, %216
%218 = load i64, ptr %21, align 8
%219 = load i64, ptr %12, align 8
%220 = icmp slt i64 %218, %219
br i1 %220, label %221, label %323
221: ; preds = %217
%222 = load ptr, ptr %23, align 8
%223 = load i16, ptr %222, align 2
%224 = sext i16 %223 to i32
%225 = and i32 %224, 32752
%226 = icmp eq i32 %225, 32752
br i1 %226, label %227, label %228
227: ; preds = %221
br label %236
228: ; preds = %221
%229 = load ptr, ptr %23, align 8
%230 = load i16, ptr %229, align 2
%231 = sext i16 %230 to i32
%232 = and i32 %231, 32752
%233 = icmp eq i32 %232, 0
%234 = zext i1 %233 to i64
%235 = select i1 %233, i32 2, i32 0
br label %236
236: ; preds = %228, %227
%237 = phi i32 [ 1, %227 ], [ %235, %228 ]
%238 = trunc i32 %237 to i16
store i16 %238, ptr %24, align 2
%239 = sext i16 %238 to i32
%240 = icmp ne i32 0, %239
br i1 %240, label %241, label %285
241: ; preds = %236
%242 = load i16, ptr %24, align 2
%243 = sext i16 %242 to i32
%244 = icmp eq i32 %243, 1
br i1 %244, label %245, label %259
245: ; preds = %241
%246 = load ptr, ptr %18, align 8
store i32 1, ptr %246, align 4
%247 = load i32, ptr %15, align 4
%248 = icmp eq i32 %247, 1
br i1 %248, label %249, label %254
249: ; preds = %245
%250 = load i64, ptr %16, align 8
%251 = load ptr, ptr %19, align 8
%252 = load i64, ptr %21, align 8
%253 = getelementptr inbounds i64, ptr %251, i64 %252
store i64 %250, ptr %253, align 8
br label %258
254: ; preds = %245
%255 = load ptr, ptr %17, align 8
%256 = load i64, ptr %21, align 8
%257 = getelementptr inbounds i8, ptr %255, i64 %256
store i8 1, ptr %257, align 1
br label %258
258: ; preds = %254, %249
br label %284
259: ; preds = %241
%260 = load double, ptr %14, align 8
%261 = fcmp olt double %260, -4.900000e-01
br i1 %261, label %262, label %267
262: ; preds = %259
%263 = load ptr, ptr %20, align 8
store i32 -11, ptr %263, align 4
%264 = load ptr, ptr %19, align 8
%265 = load i64, ptr %21, align 8
%266 = getelementptr inbounds i64, ptr %264, i64 %265
store i64 0, ptr %266, align 8
br label %283
267: ; preds = %259
%268 = load double, ptr %14, align 8
%269 = fcmp ogt double %268, 0x43EFFFFFFFFFFFFF
br i1 %269, label %270, label %276
270: ; preds = %267
%271 = load ptr, ptr %20, align 8
store i32 -11, ptr %271, align 4
%272 = load i64, ptr @ULONG_MAX, align 8
%273 = load ptr, ptr %19, align 8
%274 = load i64, ptr %21, align 8
%275 = getelementptr inbounds i64, ptr %273, i64 %274
store i64 %272, ptr %275, align 8
br label %282
276: ; preds = %267
%277 = load double, ptr %14, align 8
%278 = fptoui double %277 to i64
%279 = load ptr, ptr %19, align 8
%280 = load i64, ptr %21, align 8
%281 = getelementptr inbounds i64, ptr %279, i64 %280
store i64 %278, ptr %281, align 8
br label %282
282: ; preds = %276, %270
br label %283
283: ; preds = %282, %262
br label %284
284: ; preds = %283, %258
br label %317
285: ; preds = %236
%286 = load ptr, ptr %11, align 8
%287 = load i64, ptr %21, align 8
%288 = getelementptr inbounds double, ptr %286, i64 %287
%289 = load double, ptr %288, align 8
%290 = load double, ptr %13, align 8
%291 = load double, ptr %14, align 8
%292 = call double @llvm.fmuladd.f64(double %289, double %290, double %291)
store double %292, ptr %22, align 8
%293 = load double, ptr %22, align 8
%294 = fcmp olt double %293, -4.900000e-01
br i1 %294, label %295, label %300
295: ; preds = %285
%296 = load ptr, ptr %20, align 8
store i32 -11, ptr %296, align 4
%297 = load ptr, ptr %19, align 8
%298 = load i64, ptr %21, align 8
%299 = getelementptr inbounds i64, ptr %297, i64 %298
store i64 0, ptr %299, align 8
br label %316
300: ; preds = %285
%301 = load double, ptr %22, align 8
%302 = fcmp ogt double %301, 0x43EFFFFFFFFFFFFF
br i1 %302, label %303, label %309
303: ; preds = %300
%304 = load ptr, ptr %20, align 8
store i32 -11, ptr %304, align 4
%305 = load i64, ptr @ULONG_MAX, align 8
%306 = load ptr, ptr %19, align 8
%307 = load i64, ptr %21, align 8
%308 = getelementptr inbounds i64, ptr %306, i64 %307
store i64 %305, ptr %308, align 8
br label %315
309: ; preds = %300
%310 = load double, ptr %22, align 8
%311 = fptoui double %310 to i64
%312 = load ptr, ptr %19, align 8
%313 = load i64, ptr %21, align 8
%314 = getelementptr inbounds i64, ptr %312, i64 %313
store i64 %311, ptr %314, align 8
br label %315
315: ; preds = %309, %303
br label %316
316: ; preds = %315, %295
br label %317
317: ; preds = %316, %284
br label %318
318: ; preds = %317
%319 = load i64, ptr %21, align 8
%320 = add nsw i64 %319, 1
store i64 %320, ptr %21, align 8
%321 = load ptr, ptr %23, align 8
%322 = getelementptr inbounds i16, ptr %321, i64 4
store ptr %322, ptr %23, align 8
br label %217, !llvm.loop !10
323: ; preds = %217
br label %324
324: ; preds = %323, %215
br label %325
325: ; preds = %324, %117
%326 = load ptr, ptr %20, align 8
%327 = load i32, ptr %326, align 4
ret i32 %327
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf9ndv_mp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ULONG_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fffr8u4(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i32 noundef %4, i64 noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) #0 {
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca i32, align 4
%16 = alloca i64, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca i64, align 8
%22 = alloca double, align 8
%23 = alloca ptr, align 8
%24 = alloca i16, align 2
store ptr %0, ptr %11, align 8
store i64 %1, ptr %12, align 8
store double %2, ptr %13, align 8
store double %3, ptr %14, align 8
store i32 %4, ptr %15, align 4
store i64 %5, ptr %16, align 8
store ptr %6, ptr %17, align 8
store ptr %7, ptr %18, align 8
store ptr %8, ptr %19, align 8
store ptr %9, ptr %20, align 8
%25 = load i32, ptr %15, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %122
27: ; preds = %10
%28 = load double, ptr %13, align 8
%29 = fcmp oeq double %28, 1.000000e+00
br i1 %29, label %30, label %78
30: ; preds = %27
%31 = load double, ptr %14, align 8
%32 = fcmp oeq double %31, 0.000000e+00
br i1 %32, label %33, label %78
33: ; preds = %30
store i64 0, ptr %21, align 8
%34 = load i64, ptr %21, align 8
%35 = load i64, ptr %12, align 8
%36 = icmp slt i64 %34, %35
br i1 %36, label %.lr.ph8, label %77
.lr.ph8: ; preds = %33
br label %37
37: ; preds = %.lr.ph8, %71
%38 = load ptr, ptr %11, align 8
%39 = load i64, ptr %21, align 8
%40 = getelementptr inbounds double, ptr %38, i64 %39
%41 = load double, ptr %40, align 8
%42 = fcmp olt double %41, -4.900000e-01
br i1 %42, label %43, label %48
43: ; preds = %37
%44 = load ptr, ptr %20, align 8
store i32 -11, ptr %44, align 4
%45 = load ptr, ptr %19, align 8
%46 = load i64, ptr %21, align 8
%47 = getelementptr inbounds i64, ptr %45, i64 %46
store i64 0, ptr %47, align 8
br label %70
48: ; preds = %37
%49 = load ptr, ptr %11, align 8
%50 = load i64, ptr %21, align 8
%51 = getelementptr inbounds double, ptr %49, i64 %50
%52 = load double, ptr %51, align 8
%53 = fcmp ogt double %52, 0x43EFFFFFFFFFFFFF
br i1 %53, label %54, label %60
54: ; preds = %48
%55 = load ptr, ptr %20, align 8
store i32 -11, ptr %55, align 4
%56 = load i64, ptr @ULONG_MAX, align 8
%57 = load ptr, ptr %19, align 8
%58 = load i64, ptr %21, align 8
%59 = getelementptr inbounds i64, ptr %57, i64 %58
store i64 %56, ptr %59, align 8
br label %69
60: ; preds = %48
%61 = load ptr, ptr %11, align 8
%62 = load i64, ptr %21, align 8
%63 = getelementptr inbounds double, ptr %61, i64 %62
%64 = load double, ptr %63, align 8
%65 = fptoui double %64 to i64
%66 = load ptr, ptr %19, align 8
%67 = load i64, ptr %21, align 8
%68 = getelementptr inbounds i64, ptr %66, i64 %67
store i64 %65, ptr %68, align 8
br label %69
69: ; preds = %60, %54
br label %70
70: ; preds = %69, %43
br label %71
71: ; preds = %70
%72 = load i64, ptr %21, align 8
%73 = add nsw i64 %72, 1
store i64 %73, ptr %21, align 8
%74 = load i64, ptr %21, align 8
%75 = load i64, ptr %12, align 8
%76 = icmp slt i64 %74, %75
br i1 %76, label %37, label %._crit_edge9, !llvm.loop !6
._crit_edge9: ; preds = %71
br label %77
77: ; preds = %._crit_edge9, %33
br label %121
78: ; preds = %30, %27
store i64 0, ptr %21, align 8
%79 = load i64, ptr %21, align 8
%80 = load i64, ptr %12, align 8
%81 = icmp slt i64 %79, %80
br i1 %81, label %.lr.ph5, label %120
.lr.ph5: ; preds = %78
br label %82
82: ; preds = %.lr.ph5, %114
%83 = load ptr, ptr %11, align 8
%84 = load i64, ptr %21, align 8
%85 = getelementptr inbounds double, ptr %83, i64 %84
%86 = load double, ptr %85, align 8
%87 = load double, ptr %13, align 8
%88 = load double, ptr %14, align 8
%89 = call double @llvm.fmuladd.f64(double %86, double %87, double %88)
store double %89, ptr %22, align 8
%90 = load double, ptr %22, align 8
%91 = fcmp olt double %90, -4.900000e-01
br i1 %91, label %92, label %97
92: ; preds = %82
%93 = load ptr, ptr %20, align 8
store i32 -11, ptr %93, align 4
%94 = load ptr, ptr %19, align 8
%95 = load i64, ptr %21, align 8
%96 = getelementptr inbounds i64, ptr %94, i64 %95
store i64 0, ptr %96, align 8
br label %113
97: ; preds = %82
%98 = load double, ptr %22, align 8
%99 = fcmp ogt double %98, 0x43EFFFFFFFFFFFFF
br i1 %99, label %100, label %106
100: ; preds = %97
%101 = load ptr, ptr %20, align 8
store i32 -11, ptr %101, align 4
%102 = load i64, ptr @ULONG_MAX, align 8
%103 = load ptr, ptr %19, align 8
%104 = load i64, ptr %21, align 8
%105 = getelementptr inbounds i64, ptr %103, i64 %104
store i64 %102, ptr %105, align 8
br label %112
106: ; preds = %97
%107 = load double, ptr %22, align 8
%108 = fptoui double %107 to i64
%109 = load ptr, ptr %19, align 8
%110 = load i64, ptr %21, align 8
%111 = getelementptr inbounds i64, ptr %109, i64 %110
store i64 %108, ptr %111, align 8
br label %112
112: ; preds = %106, %100
br label %113
113: ; preds = %112, %92
br label %114
114: ; preds = %113
%115 = load i64, ptr %21, align 8
%116 = add nsw i64 %115, 1
store i64 %116, ptr %21, align 8
%117 = load i64, ptr %21, align 8
%118 = load i64, ptr %12, align 8
%119 = icmp slt i64 %117, %118
br i1 %119, label %82, label %._crit_edge6, !llvm.loop !8
._crit_edge6: ; preds = %114
br label %120
120: ; preds = %._crit_edge6, %78
br label %121
121: ; preds = %120, %77
br label %333
122: ; preds = %10
%123 = load ptr, ptr %11, align 8
store ptr %123, ptr %23, align 8
%124 = load ptr, ptr %23, align 8
%125 = getelementptr inbounds i16, ptr %124, i64 3
store ptr %125, ptr %23, align 8
%126 = load double, ptr %13, align 8
%127 = fcmp oeq double %126, 1.000000e+00
br i1 %127, label %128, label %222
128: ; preds = %122
%129 = load double, ptr %14, align 8
%130 = fcmp oeq double %129, 0.000000e+00
br i1 %130, label %131, label %222
131: ; preds = %128
store i64 0, ptr %21, align 8
%132 = load i64, ptr %21, align 8
%133 = load i64, ptr %12, align 8
%134 = icmp slt i64 %132, %133
br i1 %134, label %.lr.ph2, label %221
.lr.ph2: ; preds = %131
br label %135
135: ; preds = %.lr.ph2, %213
%136 = load ptr, ptr %23, align 8
%137 = load i16, ptr %136, align 2
%138 = sext i16 %137 to i32
%139 = and i32 %138, 32752
%140 = icmp eq i32 %139, 32752
br i1 %140, label %141, label %142
141: ; preds = %135
br label %150
142: ; preds = %135
%143 = load ptr, ptr %23, align 8
%144 = load i16, ptr %143, align 2
%145 = sext i16 %144 to i32
%146 = and i32 %145, 32752
%147 = icmp eq i32 %146, 0
%148 = zext i1 %147 to i64
%149 = select i1 %147, i32 2, i32 0
br label %150
150: ; preds = %142, %141
%151 = phi i32 [ 1, %141 ], [ %149, %142 ]
%152 = trunc i32 %151 to i16
store i16 %152, ptr %24, align 2
%153 = sext i16 %152 to i32
%154 = icmp ne i32 0, %153
br i1 %154, label %155, label %178
155: ; preds = %150
%156 = load i16, ptr %24, align 2
%157 = sext i16 %156 to i32
%158 = icmp eq i32 %157, 1
br i1 %158, label %159, label %173
159: ; preds = %155
%160 = load ptr, ptr %18, align 8
store i32 1, ptr %160, align 4
%161 = load i32, ptr %15, align 4
%162 = icmp eq i32 %161, 1
br i1 %162, label %163, label %168
163: ; preds = %159
%164 = load i64, ptr %16, align 8
%165 = load ptr, ptr %19, align 8
%166 = load i64, ptr %21, align 8
%167 = getelementptr inbounds i64, ptr %165, i64 %166
store i64 %164, ptr %167, align 8
br label %172
168: ; preds = %159
%169 = load ptr, ptr %17, align 8
%170 = load i64, ptr %21, align 8
%171 = getelementptr inbounds i8, ptr %169, i64 %170
store i8 1, ptr %171, align 1
br label %172
172: ; preds = %168, %163
br label %177
173: ; preds = %155
%174 = load ptr, ptr %19, align 8
%175 = load i64, ptr %21, align 8
%176 = getelementptr inbounds i64, ptr %174, i64 %175
store i64 0, ptr %176, align 8
br label %177
177: ; preds = %173, %172
br label %212
178: ; preds = %150
%179 = load ptr, ptr %11, align 8
%180 = load i64, ptr %21, align 8
%181 = getelementptr inbounds double, ptr %179, i64 %180
%182 = load double, ptr %181, align 8
%183 = fcmp olt double %182, -4.900000e-01
br i1 %183, label %184, label %189
184: ; preds = %178
%185 = load ptr, ptr %20, align 8
store i32 -11, ptr %185, align 4
%186 = load ptr, ptr %19, align 8
%187 = load i64, ptr %21, align 8
%188 = getelementptr inbounds i64, ptr %186, i64 %187
store i64 0, ptr %188, align 8
br label %211
189: ; preds = %178
%190 = load ptr, ptr %11, align 8
%191 = load i64, ptr %21, align 8
%192 = getelementptr inbounds double, ptr %190, i64 %191
%193 = load double, ptr %192, align 8
%194 = fcmp ogt double %193, 0x43EFFFFFFFFFFFFF
br i1 %194, label %195, label %201
195: ; preds = %189
%196 = load ptr, ptr %20, align 8
store i32 -11, ptr %196, align 4
%197 = load i64, ptr @ULONG_MAX, align 8
%198 = load ptr, ptr %19, align 8
%199 = load i64, ptr %21, align 8
%200 = getelementptr inbounds i64, ptr %198, i64 %199
store i64 %197, ptr %200, align 8
br label %210
201: ; preds = %189
%202 = load ptr, ptr %11, align 8
%203 = load i64, ptr %21, align 8
%204 = getelementptr inbounds double, ptr %202, i64 %203
%205 = load double, ptr %204, align 8
%206 = fptoui double %205 to i64
%207 = load ptr, ptr %19, align 8
%208 = load i64, ptr %21, align 8
%209 = getelementptr inbounds i64, ptr %207, i64 %208
store i64 %206, ptr %209, align 8
br label %210
210: ; preds = %201, %195
br label %211
211: ; preds = %210, %184
br label %212
212: ; preds = %211, %177
br label %213
213: ; preds = %212
%214 = load i64, ptr %21, align 8
%215 = add nsw i64 %214, 1
store i64 %215, ptr %21, align 8
%216 = load ptr, ptr %23, align 8
%217 = getelementptr inbounds i16, ptr %216, i64 4
store ptr %217, ptr %23, align 8
%218 = load i64, ptr %21, align 8
%219 = load i64, ptr %12, align 8
%220 = icmp slt i64 %218, %219
br i1 %220, label %135, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %213
br label %221
221: ; preds = %._crit_edge3, %131
br label %332
222: ; preds = %128, %122
store i64 0, ptr %21, align 8
%223 = load i64, ptr %21, align 8
%224 = load i64, ptr %12, align 8
%225 = icmp slt i64 %223, %224
br i1 %225, label %.lr.ph, label %331
.lr.ph: ; preds = %222
br label %226
226: ; preds = %.lr.ph, %323
%227 = load ptr, ptr %23, align 8
%228 = load i16, ptr %227, align 2
%229 = sext i16 %228 to i32
%230 = and i32 %229, 32752
%231 = icmp eq i32 %230, 32752
br i1 %231, label %232, label %233
232: ; preds = %226
br label %241
233: ; preds = %226
%234 = load ptr, ptr %23, align 8
%235 = load i16, ptr %234, align 2
%236 = sext i16 %235 to i32
%237 = and i32 %236, 32752
%238 = icmp eq i32 %237, 0
%239 = zext i1 %238 to i64
%240 = select i1 %238, i32 2, i32 0
br label %241
241: ; preds = %233, %232
%242 = phi i32 [ 1, %232 ], [ %240, %233 ]
%243 = trunc i32 %242 to i16
store i16 %243, ptr %24, align 2
%244 = sext i16 %243 to i32
%245 = icmp ne i32 0, %244
br i1 %245, label %246, label %290
246: ; preds = %241
%247 = load i16, ptr %24, align 2
%248 = sext i16 %247 to i32
%249 = icmp eq i32 %248, 1
br i1 %249, label %250, label %264
250: ; preds = %246
%251 = load ptr, ptr %18, align 8
store i32 1, ptr %251, align 4
%252 = load i32, ptr %15, align 4
%253 = icmp eq i32 %252, 1
br i1 %253, label %254, label %259
254: ; preds = %250
%255 = load i64, ptr %16, align 8
%256 = load ptr, ptr %19, align 8
%257 = load i64, ptr %21, align 8
%258 = getelementptr inbounds i64, ptr %256, i64 %257
store i64 %255, ptr %258, align 8
br label %263
259: ; preds = %250
%260 = load ptr, ptr %17, align 8
%261 = load i64, ptr %21, align 8
%262 = getelementptr inbounds i8, ptr %260, i64 %261
store i8 1, ptr %262, align 1
br label %263
263: ; preds = %259, %254
br label %289
264: ; preds = %246
%265 = load double, ptr %14, align 8
%266 = fcmp olt double %265, -4.900000e-01
br i1 %266, label %267, label %272
267: ; preds = %264
%268 = load ptr, ptr %20, align 8
store i32 -11, ptr %268, align 4
%269 = load ptr, ptr %19, align 8
%270 = load i64, ptr %21, align 8
%271 = getelementptr inbounds i64, ptr %269, i64 %270
store i64 0, ptr %271, align 8
br label %288
272: ; preds = %264
%273 = load double, ptr %14, align 8
%274 = fcmp ogt double %273, 0x43EFFFFFFFFFFFFF
br i1 %274, label %275, label %281
275: ; preds = %272
%276 = load ptr, ptr %20, align 8
store i32 -11, ptr %276, align 4
%277 = load i64, ptr @ULONG_MAX, align 8
%278 = load ptr, ptr %19, align 8
%279 = load i64, ptr %21, align 8
%280 = getelementptr inbounds i64, ptr %278, i64 %279
store i64 %277, ptr %280, align 8
br label %287
281: ; preds = %272
%282 = load double, ptr %14, align 8
%283 = fptoui double %282 to i64
%284 = load ptr, ptr %19, align 8
%285 = load i64, ptr %21, align 8
%286 = getelementptr inbounds i64, ptr %284, i64 %285
store i64 %283, ptr %286, align 8
br label %287
287: ; preds = %281, %275
br label %288
288: ; preds = %287, %267
br label %289
289: ; preds = %288, %263
br label %322
290: ; preds = %241
%291 = load ptr, ptr %11, align 8
%292 = load i64, ptr %21, align 8
%293 = getelementptr inbounds double, ptr %291, i64 %292
%294 = load double, ptr %293, align 8
%295 = load double, ptr %13, align 8
%296 = load double, ptr %14, align 8
%297 = call double @llvm.fmuladd.f64(double %294, double %295, double %296)
store double %297, ptr %22, align 8
%298 = load double, ptr %22, align 8
%299 = fcmp olt double %298, -4.900000e-01
br i1 %299, label %300, label %305
300: ; preds = %290
%301 = load ptr, ptr %20, align 8
store i32 -11, ptr %301, align 4
%302 = load ptr, ptr %19, align 8
%303 = load i64, ptr %21, align 8
%304 = getelementptr inbounds i64, ptr %302, i64 %303
store i64 0, ptr %304, align 8
br label %321
305: ; preds = %290
%306 = load double, ptr %22, align 8
%307 = fcmp ogt double %306, 0x43EFFFFFFFFFFFFF
br i1 %307, label %308, label %314
308: ; preds = %305
%309 = load ptr, ptr %20, align 8
store i32 -11, ptr %309, align 4
%310 = load i64, ptr @ULONG_MAX, align 8
%311 = load ptr, ptr %19, align 8
%312 = load i64, ptr %21, align 8
%313 = getelementptr inbounds i64, ptr %311, i64 %312
store i64 %310, ptr %313, align 8
br label %320
314: ; preds = %305
%315 = load double, ptr %22, align 8
%316 = fptoui double %315 to i64
%317 = load ptr, ptr %19, align 8
%318 = load i64, ptr %21, align 8
%319 = getelementptr inbounds i64, ptr %317, i64 %318
store i64 %316, ptr %319, align 8
br label %320
320: ; preds = %314, %308
br label %321
321: ; preds = %320, %300
br label %322
322: ; preds = %321, %289
br label %323
323: ; preds = %322
%324 = load i64, ptr %21, align 8
%325 = add nsw i64 %324, 1
store i64 %325, ptr %21, align 8
%326 = load ptr, ptr %23, align 8
%327 = getelementptr inbounds i16, ptr %326, i64 4
store ptr %327, ptr %23, align 8
%328 = load i64, ptr %21, align 8
%329 = load i64, ptr %12, align 8
%330 = icmp slt i64 %328, %329
br i1 %330, label %226, label %._crit_edge, !llvm.loop !10
._crit_edge: ; preds = %323
br label %331
331: ; preds = %._crit_edge, %222
br label %332
332: ; preds = %331, %221
br label %333
333: ; preds = %332, %121
%334 = load ptr, ptr %20, align 8
%335 = load i32, ptr %334, align 4
ret i32 %335
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmprusvpd3u.c'
source_filename = "/tmp/tmprusvpd3u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @difftime(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %4, align 8
%6 = load double, ptr %3, align 8
%7 = fsub double %5, %6
ret double %7
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprusvpd3u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @difftime(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %4, align 8
%6 = load double, ptr %3, align 8
%7 = fsub double %5, %6
ret double %7
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbm57k8ju.c'
source_filename = "/tmp/tmpbm57k8ju.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @strlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
br label %4
4: ; preds = %9, %1
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i8, ptr %5, i32 1
store ptr %6, ptr %2, align 8
%7 = load i8, ptr %5, align 1
%8 = icmp ne i8 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %4
%10 = load i64, ptr %3, align 8
%11 = add i64 %10, 1
store i64 %11, ptr %3, align 8
br label %4, !llvm.loop !6
12: ; preds = %4
%13 = load i64, ptr %3, align 8
ret i64 %13
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbm57k8ju.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @strlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i8, ptr %4, i32 1
store ptr %5, ptr %2, align 8
%6 = load i8, ptr %4, align 1
%7 = icmp ne i8 %6, 0
br i1 %7, label %.lr.ph, label %15
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %8
%9 = load i64, ptr %3, align 8
%10 = add i64 %9, 1
store i64 %10, ptr %3, align 8
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %2, align 8
%13 = load i8, ptr %11, align 1
%14 = icmp ne i8 %13, 0
br i1 %14, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %15
15: ; preds = %._crit_edge, %1
%16 = load i64, ptr %3, align 8
ret i64 %16
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpoxcbsx6l.c'
source_filename = "/tmp/tmpoxcbsx6l.c"
target datalayout = "e-m:e-p270: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/tmpoxcbsx6l.c"
target datalayout = "e-m:e-p270: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/tmpw_f_2ear.c'
source_filename = "/tmp/tmpw_f_2ear.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isTime(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca [5 x i8], align 1
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = icmp ne i32 %10, 6
br i1 %11, label %12, label %13
12: ; preds = %8, %1
store i32 0, ptr %2, align 4
br label %60
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = call i32 @isNumber(ptr noundef %14)
%16 = icmp ne i32 %15, 0
br i1 %16, label %18, label %17
17: ; preds = %13
store i32 0, ptr %2, align 4
br label %60
18: ; preds = %13
%19 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 0
%20 = load ptr, ptr %3, align 8
%21 = call i32 @memcpy(ptr noundef %19, ptr noundef %20, i32 noundef 2)
%22 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 2
store i8 0, ptr %22, align 1
%23 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 0
%24 = call i32 @atoi(ptr noundef %23)
store i32 %24, ptr %5, align 4
%25 = load i32, ptr %5, align 4
%26 = icmp sge i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %18
%28 = load i32, ptr %5, align 4
%29 = icmp sle i32 %28, 23
br i1 %29, label %31, label %30
30: ; preds = %27, %18
store i32 0, ptr %2, align 4
br label %60
31: ; preds = %27
%32 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 0
%33 = load ptr, ptr %3, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 2
%35 = call i32 @memcpy(ptr noundef %32, ptr noundef %34, i32 noundef 2)
%36 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 2
store i8 0, ptr %36, align 1
%37 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 0
%38 = call i32 @atoi(ptr noundef %37)
store i32 %38, ptr %5, align 4
%39 = load i32, ptr %5, align 4
%40 = icmp sge i32 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %31
%42 = load i32, ptr %5, align 4
%43 = icmp sle i32 %42, 59
br i1 %43, label %45, label %44
44: ; preds = %41, %31
store i32 0, ptr %2, align 4
br label %60
45: ; preds = %41
%46 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 0
%47 = load ptr, ptr %3, align 8
%48 = getelementptr inbounds i8, ptr %47, i64 4
%49 = call i32 @memcpy(ptr noundef %46, ptr noundef %48, i32 noundef 2)
%50 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 2
store i8 0, ptr %50, align 1
%51 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 0
%52 = call i32 @atoi(ptr noundef %51)
store i32 %52, ptr %5, align 4
%53 = load i32, ptr %5, align 4
%54 = icmp sge i32 %53, 0
br i1 %54, label %55, label %58
55: ; preds = %45
%56 = load i32, ptr %5, align 4
%57 = icmp sle i32 %56, 59
br i1 %57, label %59, label %58
58: ; preds = %55, %45
store i32 0, ptr %2, align 4
br label %60
59: ; preds = %55
store i32 1, ptr %2, align 4
br label %60
60: ; preds = %59, %58, %44, %30, %17, %12
%61 = load i32, ptr %2, align 4
ret i32 %61
}
declare i32 @strlen(ptr noundef) #1
declare i32 @isNumber(ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw_f_2ear.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isTime(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca [5 x i8], align 1
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = icmp ne i32 %10, 6
br i1 %11, label %12, label %13
12: ; preds = %8, %1
store i32 0, ptr %2, align 4
br label %60
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = call i32 @isNumber(ptr noundef %14)
%16 = icmp ne i32 %15, 0
br i1 %16, label %18, label %17
17: ; preds = %13
store i32 0, ptr %2, align 4
br label %60
18: ; preds = %13
%19 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 0
%20 = load ptr, ptr %3, align 8
%21 = call i32 @memcpy(ptr noundef %19, ptr noundef %20, i32 noundef 2)
%22 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 2
store i8 0, ptr %22, align 1
%23 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 0
%24 = call i32 @atoi(ptr noundef %23)
store i32 %24, ptr %5, align 4
%25 = load i32, ptr %5, align 4
%26 = icmp sge i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %18
%28 = load i32, ptr %5, align 4
%29 = icmp sle i32 %28, 23
br i1 %29, label %31, label %30
30: ; preds = %27, %18
store i32 0, ptr %2, align 4
br label %60
31: ; preds = %27
%32 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 0
%33 = load ptr, ptr %3, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 2
%35 = call i32 @memcpy(ptr noundef %32, ptr noundef %34, i32 noundef 2)
%36 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 2
store i8 0, ptr %36, align 1
%37 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 0
%38 = call i32 @atoi(ptr noundef %37)
store i32 %38, ptr %5, align 4
%39 = load i32, ptr %5, align 4
%40 = icmp sge i32 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %31
%42 = load i32, ptr %5, align 4
%43 = icmp sle i32 %42, 59
br i1 %43, label %45, label %44
44: ; preds = %41, %31
store i32 0, ptr %2, align 4
br label %60
45: ; preds = %41
%46 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 0
%47 = load ptr, ptr %3, align 8
%48 = getelementptr inbounds i8, ptr %47, i64 4
%49 = call i32 @memcpy(ptr noundef %46, ptr noundef %48, i32 noundef 2)
%50 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 2
store i8 0, ptr %50, align 1
%51 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 0
%52 = call i32 @atoi(ptr noundef %51)
store i32 %52, ptr %5, align 4
%53 = load i32, ptr %5, align 4
%54 = icmp sge i32 %53, 0
br i1 %54, label %55, label %58
55: ; preds = %45
%56 = load i32, ptr %5, align 4
%57 = icmp sle i32 %56, 59
br i1 %57, label %59, label %58
58: ; preds = %55, %45
store i32 0, ptr %2, align 4
br label %60
59: ; preds = %55
store i32 1, ptr %2, align 4
br label %60
60: ; preds = %59, %58, %44, %30, %17, %12
%61 = load i32, ptr %2, align 4
ret i32 %61
}
declare i32 @strlen(ptr noundef) #1
declare i32 @isNumber(ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9pco3hsl.c'
source_filename = "/tmp/tmp9pco3hsl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"J%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pen(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 1
br i1 %5, label %9, label %6
6: ; preds = %1
%7 = load i32, ptr %3, align 4
%8 = icmp sgt i32 %7, 10
br i1 %8, label %9, label %10
9: ; preds = %6, %1
store i32 1, ptr %2, align 4
br label %13
10: ; preds = %6
%11 = load i32, ptr %3, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
store i32 0, ptr %2, align 4
br label %13
13: ; preds = %10, %9
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9pco3hsl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"J%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pen(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 1
br i1 %5, label %9, label %6
6: ; preds = %1
%7 = load i32, ptr %3, align 4
%8 = icmp sgt i32 %7, 10
br i1 %8, label %9, label %10
9: ; preds = %6, %1
store i32 1, ptr %2, align 4
br label %13
10: ; preds = %6
%11 = load i32, ptr %3, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
store i32 0, ptr %2, align 4
br label %13
13: ; preds = %10, %9
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt4k9vjz5.c'
source_filename = "/tmp/tmpt4k9vjz5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_RDONLY = 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
@O_WRONLY = dso_local global i32 0, align 4
@SEEK_SET = 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/tmpt4k9vjz5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_RDONLY = 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
@O_WRONLY = dso_local global i32 0, align 4
@SEEK_SET = 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/tmp1nd82ay6.c'
source_filename = "/tmp/tmp1nd82ay6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @recurs_endsort(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%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
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp eq i32 %11, 1
br i1 %12, label %16, label %13
13: ; preds = %4
%14 = load i32, ptr %6, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %13, %4
br label %68
17: ; preds = %13
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %8, align 4
%20 = add nsw i32 %18, %19
%21 = sdiv i32 %20, 2
store i32 %21, ptr %9, align 4
%22 = load i32, ptr %6, align 4
%23 = srem i32 %22, 2
store i32 %23, ptr %10, align 4
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %9, align 4
%26 = load i32, ptr %7, align 4
%27 = call i32 @single_endsort(ptr noundef %24, i32 noundef %25, i32 noundef %26)
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %6, align 4
%30 = load i32, ptr %9, align 4
%31 = sub nsw i32 %29, %30
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %9, align 4
%34 = add nsw i32 %32, %33
%35 = call i32 @single_endsort(ptr noundef %28, i32 noundef %31, i32 noundef %34)
%36 = load i32, ptr %10, align 4
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %53
38: ; preds = %17
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %6, align 4
%41 = load i32, ptr %9, align 4
%42 = sub nsw i32 %40, %41
%43 = load i32, ptr %7, align 4
%44 = call i32 @single_endsort(ptr noundef %39, i32 noundef %42, i32 noundef %43)
%45 = load ptr, ptr %5, align 8
%46 = load i32, ptr %9, align 4
%47 = load i32, ptr %7, align 4
%48 = load i32, ptr %6, align 4
%49 = add nsw i32 %47, %48
%50 = load i32, ptr %9, align 4
%51 = sub nsw i32 %49, %50
%52 = call i32 @single_endsort(ptr noundef %45, i32 noundef %46, i32 noundef %51)
br label %53
53: ; preds = %38, %17
%54 = load ptr, ptr %5, align 8
%55 = load i32, ptr %6, align 4
%56 = load i32, ptr %9, align 4
%57 = sub nsw i32 %55, %56
%58 = load i32, ptr %7, align 4
%59 = load i32, ptr %8, align 4
call void @recurs_endsort(ptr noundef %54, i32 noundef %57, i32 noundef %58, i32 noundef %59)
%60 = load ptr, ptr %5, align 8
%61 = load i32, ptr %9, align 4
%62 = load i32, ptr %7, align 4
%63 = load i32, ptr %6, align 4
%64 = add nsw i32 %62, %63
%65 = load i32, ptr %9, align 4
%66 = sub nsw i32 %64, %65
%67 = load i32, ptr %8, align 4
call void @recurs_endsort(ptr noundef %60, i32 noundef %61, i32 noundef %66, i32 noundef %67)
br label %68
68: ; preds = %53, %16
ret void
}
declare i32 @single_endsort(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/tmp1nd82ay6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @recurs_endsort(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%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
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp eq i32 %11, 1
br i1 %12, label %16, label %13
13: ; preds = %4
%14 = load i32, ptr %6, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %13, %4
br label %68
17: ; preds = %13
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %8, align 4
%20 = add nsw i32 %18, %19
%21 = sdiv i32 %20, 2
store i32 %21, ptr %9, align 4
%22 = load i32, ptr %6, align 4
%23 = srem i32 %22, 2
store i32 %23, ptr %10, align 4
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %9, align 4
%26 = load i32, ptr %7, align 4
%27 = call i32 @single_endsort(ptr noundef %24, i32 noundef %25, i32 noundef %26)
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %6, align 4
%30 = load i32, ptr %9, align 4
%31 = sub nsw i32 %29, %30
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %9, align 4
%34 = add nsw i32 %32, %33
%35 = call i32 @single_endsort(ptr noundef %28, i32 noundef %31, i32 noundef %34)
%36 = load i32, ptr %10, align 4
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %53
38: ; preds = %17
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %6, align 4
%41 = load i32, ptr %9, align 4
%42 = sub nsw i32 %40, %41
%43 = load i32, ptr %7, align 4
%44 = call i32 @single_endsort(ptr noundef %39, i32 noundef %42, i32 noundef %43)
%45 = load ptr, ptr %5, align 8
%46 = load i32, ptr %9, align 4
%47 = load i32, ptr %7, align 4
%48 = load i32, ptr %6, align 4
%49 = add nsw i32 %47, %48
%50 = load i32, ptr %9, align 4
%51 = sub nsw i32 %49, %50
%52 = call i32 @single_endsort(ptr noundef %45, i32 noundef %46, i32 noundef %51)
br label %53
53: ; preds = %38, %17
%54 = load ptr, ptr %5, align 8
%55 = load i32, ptr %6, align 4
%56 = load i32, ptr %9, align 4
%57 = sub nsw i32 %55, %56
%58 = load i32, ptr %7, align 4
%59 = load i32, ptr %8, align 4
call void @recurs_endsort(ptr noundef %54, i32 noundef %57, i32 noundef %58, i32 noundef %59)
%60 = load ptr, ptr %5, align 8
%61 = load i32, ptr %9, align 4
%62 = load i32, ptr %7, align 4
%63 = load i32, ptr %6, align 4
%64 = add nsw i32 %62, %63
%65 = load i32, ptr %9, align 4
%66 = sub nsw i32 %64, %65
%67 = load i32, ptr %8, align 4
call void @recurs_endsort(ptr noundef %60, i32 noundef %61, i32 noundef %66, i32 noundef %67)
br label %68
68: ; preds = %53, %16
ret void
}
declare i32 @single_endsort(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/tmp0sbqpsrq.c'
source_filename = "/tmp/tmp0sbqpsrq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@max_k.count = internal global [10000 x i32] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @max_k(i64 noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
store i64 %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%12 = load i64, ptr %5, align 8
%13 = load i64, ptr %7, align 8
%14 = call i32 @memset(ptr noundef @max_k.count, i32 noundef 0, i32 noundef 40000)
store i64 0, ptr %9, align 8
br label %15
15: ; preds = %29, %4
%16 = load i64, ptr %9, align 8
%17 = load i64, ptr %7, align 8
%18 = icmp ult i64 %16, %17
br i1 %18, label %19, label %32
19: ; preds = %15
%20 = load ptr, ptr %8, align 8
%21 = load i64, ptr %9, align 8
%22 = getelementptr inbounds i32, ptr %20, i64 %21
%23 = load i32, ptr %22, align 4
%24 = sub i32 %23, 0
%25 = zext i32 %24 to i64
%26 = getelementptr inbounds [10000 x i32], ptr @max_k.count, i64 0, i64 %25
%27 = load i32, ptr %26, align 4
%28 = add i32 %27, 1
store i32 %28, ptr %26, align 4
br label %29
29: ; preds = %19
%30 = load i64, ptr %9, align 8
%31 = add i64 %30, 1
store i64 %31, ptr %9, align 8
br label %15, !llvm.loop !6
32: ; preds = %15
store i64 0, ptr %10, align 8
store i64 9999, ptr %9, align 8
br label %33
33: ; preds = %68, %32
%34 = load i64, ptr %10, align 8
%35 = load i64, ptr %5, align 8
%36 = icmp ult i64 %34, %35
br i1 %36, label %37, label %40
37: ; preds = %33
%38 = load i64, ptr %9, align 8
%39 = icmp uge i64 %38, 0
br label %40
40: ; preds = %37, %33
%41 = phi i1 [ false, %33 ], [ %39, %37 ]
br i1 %41, label %42, label %71
42: ; preds = %40
store i64 0, ptr %11, align 8
br label %43
43: ; preds = %64, %42
%44 = load i64, ptr %10, align 8
%45 = load i64, ptr %5, align 8
%46 = icmp ult i64 %44, %45
br i1 %46, label %47, label %54
47: ; preds = %43
%48 = load i64, ptr %11, align 8
%49 = load i64, ptr %9, align 8
%50 = getelementptr inbounds [10000 x i32], ptr @max_k.count, i64 0, i64 %49
%51 = load i32, ptr %50, align 4
%52 = zext i32 %51 to i64
%53 = icmp ult i64 %48, %52
br label %54
54: ; preds = %47, %43
%55 = phi i1 [ false, %43 ], [ %53, %47 ]
br i1 %55, label %56, label %67
56: ; preds = %54
%57 = load i64, ptr %9, align 8
%58 = add i64 %57, 0
%59 = trunc i64 %58 to i32
%60 = load ptr, ptr %6, align 8
%61 = load i64, ptr %10, align 8
%62 = add i64 %61, 1
store i64 %62, ptr %10, align 8
%63 = getelementptr inbounds i32, ptr %60, i64 %61
store i32 %59, ptr %63, align 4
br label %64
64: ; preds = %56
%65 = load i64, ptr %11, align 8
%66 = add i64 %65, 1
store i64 %66, ptr %11, align 8
br label %43, !llvm.loop !8
67: ; preds = %54
br label %68
68: ; preds = %67
%69 = load i64, ptr %9, align 8
%70 = add i64 %69, -1
store i64 %70, ptr %9, align 8
br label %33, !llvm.loop !9
71: ; preds = %40
%72 = load i64, ptr %10, align 8
ret i64 %72
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0sbqpsrq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@max_k.count = internal global [10000 x i32] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @max_k(i64 noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
store i64 %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%12 = load i64, ptr %5, align 8
%13 = load i64, ptr %7, align 8
%14 = call i32 @memset(ptr noundef @max_k.count, i32 noundef 0, i32 noundef 40000)
store i64 0, ptr %9, align 8
%15 = load i64, ptr %9, align 8
%16 = load i64, ptr %7, align 8
%17 = icmp ult i64 %15, %16
br i1 %17, label %.lr.ph, label %34
.lr.ph: ; preds = %4
br label %18
18: ; preds = %.lr.ph, %28
%19 = load ptr, ptr %8, align 8
%20 = load i64, ptr %9, align 8
%21 = getelementptr inbounds i32, ptr %19, i64 %20
%22 = load i32, ptr %21, align 4
%23 = sub i32 %22, 0
%24 = zext i32 %23 to i64
%25 = getelementptr inbounds [10000 x i32], ptr @max_k.count, i64 0, i64 %24
%26 = load i32, ptr %25, align 4
%27 = add i32 %26, 1
store i32 %27, ptr %25, align 4
br label %28
28: ; preds = %18
%29 = load i64, ptr %9, align 8
%30 = add i64 %29, 1
store i64 %30, ptr %9, align 8
%31 = load i64, ptr %9, align 8
%32 = load i64, ptr %7, align 8
%33 = icmp ult i64 %31, %32
br i1 %33, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %4
store i64 0, ptr %10, align 8
store i64 9999, ptr %9, align 8
br label %35
35: ; preds = %70, %34
%36 = load i64, ptr %10, align 8
%37 = load i64, ptr %5, align 8
%38 = icmp ult i64 %36, %37
br i1 %38, label %39, label %42
39: ; preds = %35
%40 = load i64, ptr %9, align 8
%41 = icmp uge i64 %40, 0
br label %42
42: ; preds = %39, %35
%43 = phi i1 [ false, %35 ], [ %41, %39 ]
br i1 %43, label %44, label %73
44: ; preds = %42
store i64 0, ptr %11, align 8
br label %45
45: ; preds = %66, %44
%46 = load i64, ptr %10, align 8
%47 = load i64, ptr %5, align 8
%48 = icmp ult i64 %46, %47
br i1 %48, label %49, label %56
49: ; preds = %45
%50 = load i64, ptr %11, align 8
%51 = load i64, ptr %9, align 8
%52 = getelementptr inbounds [10000 x i32], ptr @max_k.count, i64 0, i64 %51
%53 = load i32, ptr %52, align 4
%54 = zext i32 %53 to i64
%55 = icmp ult i64 %50, %54
br label %56
56: ; preds = %49, %45
%57 = phi i1 [ false, %45 ], [ %55, %49 ]
br i1 %57, label %58, label %69
58: ; preds = %56
%59 = load i64, ptr %9, align 8
%60 = add i64 %59, 0
%61 = trunc i64 %60 to i32
%62 = load ptr, ptr %6, align 8
%63 = load i64, ptr %10, align 8
%64 = add i64 %63, 1
store i64 %64, ptr %10, align 8
%65 = getelementptr inbounds i32, ptr %62, i64 %63
store i32 %61, ptr %65, align 4
br label %66
66: ; preds = %58
%67 = load i64, ptr %11, align 8
%68 = add i64 %67, 1
store i64 %68, ptr %11, align 8
br label %45, !llvm.loop !8
69: ; preds = %56
br label %70
70: ; preds = %69
%71 = load i64, ptr %9, align 8
%72 = add i64 %71, -1
store i64 %72, ptr %9, align 8
br label %35, !llvm.loop !9
73: ; preds = %42
%74 = load i64, ptr %10, align 8
ret i64 %74
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpqje1kgnq.c'
source_filename = "/tmp/tmpqje1kgnq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [90 x i8] c"Error: unable to read file %s. It seems that line %d contains %d columns instead of %d.\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [86 x i8] c"Error: unable to read file %s. It seems that line %d contains more than %d columns.\0A\0A\00", align 1
@.str.5 = private unnamed_addr constant [83 x i8] c"Error: unable to read file %s. It seems that it contains %d lines instead of %d.\0A\0A\00", align 1
@.str.6 = private unnamed_addr constant [79 x i8] c"Error: unable to read file %s. It seems that it contains more than %d lines.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @read_data_int2(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i64, align 8
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
store ptr null, ptr %9, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
%18 = load i32, ptr %7, align 4
%19 = mul nsw i32 30, %18
store i32 %19, ptr %12, align 4
%20 = load i32, ptr %12, align 4
%21 = zext i32 %20 to i64
%22 = call ptr @llvm.stacksave()
store ptr %22, ptr %13, align 8
%23 = alloca i8, i64 %21, align 16
store i64 %21, ptr %14, align 8
%24 = load i32, ptr %6, align 4
store i32 %24, ptr %16, align 4
%25 = load i32, ptr %7, align 4
store i32 %25, ptr %17, align 4
store i32 0, ptr %10, align 4
%26 = load ptr, ptr %5, align 8
%27 = call ptr @fopen(ptr noundef %26, ptr noundef @.str)
store ptr %27, ptr %9, align 8
%28 = load ptr, ptr %9, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %33, label %30
30: ; preds = %4
%31 = load ptr, ptr %5, align 8
%32 = call i32 @print_error_global(ptr noundef @.str.1, ptr noundef %31, i32 noundef 0)
br label %33
33: ; preds = %30, %4
%34 = load i32, ptr %12, align 4
%35 = load ptr, ptr %9, align 8
%36 = call ptr @fgets(ptr noundef %23, i32 noundef %34, ptr noundef %35)
store ptr %36, ptr %15, align 8
br label %37
37: ; preds = %101, %33
%38 = load ptr, ptr %9, align 8
%39 = call i32 @feof(ptr noundef %38)
%40 = icmp ne i32 %39, 0
%41 = xor i1 %40, true
%42 = zext i1 %41 to i32
%43 = load i32, ptr %10, align 4
%44 = load i32, ptr %16, align 4
%45 = icmp slt i32 %43, %44
%46 = zext i1 %45 to i32
%47 = and i32 %42, %46
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %105
49: ; preds = %37
store i32 0, ptr %11, align 4
%50 = call ptr @strtok(ptr noundef %23, ptr noundef @.str.2)
store ptr %50, ptr %15, align 8
br label %51
51: ; preds = %60, %49
%52 = load ptr, ptr %15, align 8
%53 = icmp ne ptr %52, null
br i1 %53, label %54, label %58
54: ; preds = %51
%55 = load i32, ptr %11, align 4
%56 = load i32, ptr %17, align 4
%57 = icmp slt i32 %55, %56
br label %58
58: ; preds = %54, %51
%59 = phi i1 [ false, %51 ], [ %57, %54 ]
br i1 %59, label %60, label %75
60: ; preds = %58
%61 = load ptr, ptr %15, align 8
%62 = call i64 @atof(ptr noundef %61)
%63 = trunc i64 %62 to i32
%64 = load ptr, ptr %8, align 8
%65 = load i32, ptr %10, align 4
%66 = load i32, ptr %7, align 4
%67 = mul nsw i32 %65, %66
%68 = load i32, ptr %11, align 4
%69 = add nsw i32 %67, %68
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i32, ptr %64, i64 %70
store i32 %63, ptr %71, align 4
%72 = call ptr @strtok(ptr noundef null, ptr noundef @.str.2)
store ptr %72, ptr %15, align 8
%73 = load i32, ptr %11, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %11, align 4
br label %51, !llvm.loop !6
75: ; preds = %58
%76 = load i32, ptr %10, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %10, align 4
%78 = load i32, ptr %11, align 4
%79 = load i32, ptr %17, align 4
%80 = icmp ne i32 %78, %79
br i1 %80, label %81, label %90
81: ; preds = %75
%82 = load ptr, ptr %5, align 8
%83 = load i32, ptr %10, align 4
%84 = load i32, ptr %11, align 4
%85 = load i32, ptr %17, align 4
%86 = call i32 (ptr, ptr, i32, ...) @printf(ptr noundef @.str.3, ptr noundef %82, i32 noundef %83, i32 noundef %84, i32 noundef %85)
%87 = load ptr, ptr %9, align 8
%88 = call i32 @fclose(ptr noundef %87)
%89 = call i32 @exit(i32 noundef 1) #4
unreachable
90: ; preds = %75
%91 = load ptr, ptr %15, align 8
%92 = icmp ne ptr %91, null
br i1 %92, label %93, label %101
93: ; preds = %90
%94 = load ptr, ptr %5, align 8
%95 = load i32, ptr %10, align 4
%96 = load i32, ptr %17, align 4
%97 = call i32 (ptr, ptr, i32, ...) @printf(ptr noundef @.str.4, ptr noundef %94, i32 noundef %95, i32 noundef %96)
%98 = load ptr, ptr %9, align 8
%99 = call i32 @fclose(ptr noundef %98)
%100 = call i32 @exit(i32 noundef 1) #4
unreachable
101: ; preds = %90
%102 = load i32, ptr %12, align 4
%103 = load ptr, ptr %9, align 8
%104 = call ptr @fgets(ptr noundef %23, i32 noundef %102, ptr noundef %103)
store ptr %104, ptr %15, align 8
br label %37, !llvm.loop !8
105: ; preds = %37
%106 = load i32, ptr %10, align 4
%107 = load i32, ptr %16, align 4
%108 = icmp ne i32 %106, %107
br i1 %108, label %109, label %117
109: ; preds = %105
%110 = load ptr, ptr %5, align 8
%111 = load i32, ptr %10, align 4
%112 = load i32, ptr %16, align 4
%113 = call i32 (ptr, ptr, i32, ...) @printf(ptr noundef @.str.5, ptr noundef %110, i32 noundef %111, i32 noundef %112)
%114 = load ptr, ptr %9, align 8
%115 = call i32 @fclose(ptr noundef %114)
%116 = call i32 @exit(i32 noundef 1) #4
unreachable
117: ; preds = %105
%118 = load ptr, ptr %9, align 8
%119 = call i32 @feof(ptr noundef %118)
%120 = icmp ne i32 %119, 0
br i1 %120, label %128, label %121
121: ; preds = %117
%122 = load ptr, ptr %5, align 8
%123 = load i32, ptr %16, align 4
%124 = call i32 (ptr, ptr, i32, ...) @printf(ptr noundef @.str.6, ptr noundef %122, i32 noundef %123)
%125 = load ptr, ptr %9, align 8
%126 = call i32 @fclose(ptr noundef %125)
%127 = call i32 @exit(i32 noundef 1) #4
unreachable
128: ; preds = %117
%129 = load ptr, ptr %9, align 8
%130 = call i32 @fclose(ptr noundef %129)
%131 = load ptr, ptr %13, align 8
call void @llvm.stackrestore(ptr %131)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @print_error_global(ptr noundef, ptr noundef, i32 noundef) #2
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @feof(ptr noundef) #2
declare ptr @strtok(ptr noundef, ptr noundef) #2
declare i64 @atof(ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, ...) #2
declare i32 @fclose(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqje1kgnq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [90 x i8] c"Error: unable to read file %s. It seems that line %d contains %d columns instead of %d.\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [86 x i8] c"Error: unable to read file %s. It seems that line %d contains more than %d columns.\0A\0A\00", align 1
@.str.5 = private unnamed_addr constant [83 x i8] c"Error: unable to read file %s. It seems that it contains %d lines instead of %d.\0A\0A\00", align 1
@.str.6 = private unnamed_addr constant [79 x i8] c"Error: unable to read file %s. It seems that it contains more than %d lines.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @read_data_int2(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i64, align 8
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
store ptr null, ptr %9, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
%18 = load i32, ptr %7, align 4
%19 = mul nsw i32 30, %18
store i32 %19, ptr %12, align 4
%20 = load i32, ptr %12, align 4
%21 = zext i32 %20 to i64
%22 = call ptr @llvm.stacksave()
store ptr %22, ptr %13, align 8
%23 = alloca i8, i64 %21, align 16
store i64 %21, ptr %14, align 8
%24 = load i32, ptr %6, align 4
store i32 %24, ptr %16, align 4
%25 = load i32, ptr %7, align 4
store i32 %25, ptr %17, align 4
store i32 0, ptr %10, align 4
%26 = load ptr, ptr %5, align 8
%27 = call ptr @fopen(ptr noundef %26, ptr noundef @.str)
store ptr %27, ptr %9, align 8
%28 = load ptr, ptr %9, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %33, label %30
30: ; preds = %4
%31 = load ptr, ptr %5, align 8
%32 = call i32 @print_error_global(ptr noundef @.str.1, ptr noundef %31, i32 noundef 0)
br label %33
33: ; preds = %30, %4
%34 = load i32, ptr %12, align 4
%35 = load ptr, ptr %9, align 8
%36 = call ptr @fgets(ptr noundef %23, i32 noundef %34, ptr noundef %35)
store ptr %36, ptr %15, align 8
%37 = load ptr, ptr %9, align 8
%38 = call i32 @feof(ptr noundef %37)
%39 = icmp ne i32 %38, 0
%40 = xor i1 %39, true
%41 = zext i1 %40 to i32
%42 = load i32, ptr %10, align 4
%43 = load i32, ptr %16, align 4
%44 = icmp slt i32 %42, %43
%45 = zext i1 %44 to i32
%46 = and i32 %41, %45
%47 = icmp ne i32 %46, 0
br i1 %47, label %.lr.ph, label %115
.lr.ph: ; preds = %33
br label %48
48: ; preds = %.lr.ph, %100
store i32 0, ptr %11, align 4
%49 = call ptr @strtok(ptr noundef %23, ptr noundef @.str.2)
store ptr %49, ptr %15, align 8
br label %50
50: ; preds = %59, %48
%51 = load ptr, ptr %15, align 8
%52 = icmp ne ptr %51, null
br i1 %52, label %53, label %57
53: ; preds = %50
%54 = load i32, ptr %11, align 4
%55 = load i32, ptr %17, align 4
%56 = icmp slt i32 %54, %55
br label %57
57: ; preds = %53, %50
%58 = phi i1 [ false, %50 ], [ %56, %53 ]
br i1 %58, label %59, label %74
59: ; preds = %57
%60 = load ptr, ptr %15, align 8
%61 = call i64 @atof(ptr noundef %60)
%62 = trunc i64 %61 to i32
%63 = load ptr, ptr %8, align 8
%64 = load i32, ptr %10, align 4
%65 = load i32, ptr %7, align 4
%66 = mul nsw i32 %64, %65
%67 = load i32, ptr %11, align 4
%68 = add nsw i32 %66, %67
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i32, ptr %63, i64 %69
store i32 %62, ptr %70, align 4
%71 = call ptr @strtok(ptr noundef null, ptr noundef @.str.2)
store ptr %71, ptr %15, align 8
%72 = load i32, ptr %11, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %11, align 4
br label %50, !llvm.loop !6
74: ; preds = %57
%75 = load i32, ptr %10, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %10, align 4
%77 = load i32, ptr %11, align 4
%78 = load i32, ptr %17, align 4
%79 = icmp ne i32 %77, %78
br i1 %79, label %80, label %89
80: ; preds = %74
%81 = load ptr, ptr %5, align 8
%82 = load i32, ptr %10, align 4
%83 = load i32, ptr %11, align 4
%84 = load i32, ptr %17, align 4
%85 = call i32 (ptr, ptr, i32, ...) @printf(ptr noundef @.str.3, ptr noundef %81, i32 noundef %82, i32 noundef %83, i32 noundef %84)
%86 = load ptr, ptr %9, align 8
%87 = call i32 @fclose(ptr noundef %86)
%88 = call i32 @exit(i32 noundef 1) #4
unreachable
89: ; preds = %74
%90 = load ptr, ptr %15, align 8
%91 = icmp ne ptr %90, null
br i1 %91, label %92, label %100
92: ; preds = %89
%93 = load ptr, ptr %5, align 8
%94 = load i32, ptr %10, align 4
%95 = load i32, ptr %17, align 4
%96 = call i32 (ptr, ptr, i32, ...) @printf(ptr noundef @.str.4, ptr noundef %93, i32 noundef %94, i32 noundef %95)
%97 = load ptr, ptr %9, align 8
%98 = call i32 @fclose(ptr noundef %97)
%99 = call i32 @exit(i32 noundef 1) #4
unreachable
100: ; preds = %89
%101 = load i32, ptr %12, align 4
%102 = load ptr, ptr %9, align 8
%103 = call ptr @fgets(ptr noundef %23, i32 noundef %101, ptr noundef %102)
store ptr %103, ptr %15, align 8
%104 = load ptr, ptr %9, align 8
%105 = call i32 @feof(ptr noundef %104)
%106 = icmp ne i32 %105, 0
%107 = xor i1 %106, true
%108 = zext i1 %107 to i32
%109 = load i32, ptr %10, align 4
%110 = load i32, ptr %16, align 4
%111 = icmp slt i32 %109, %110
%112 = zext i1 %111 to i32
%113 = and i32 %108, %112
%114 = icmp ne i32 %113, 0
br i1 %114, label %48, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %100
br label %115
115: ; preds = %._crit_edge, %33
%116 = load i32, ptr %10, align 4
%117 = load i32, ptr %16, align 4
%118 = icmp ne i32 %116, %117
br i1 %118, label %119, label %127
119: ; preds = %115
%120 = load ptr, ptr %5, align 8
%121 = load i32, ptr %10, align 4
%122 = load i32, ptr %16, align 4
%123 = call i32 (ptr, ptr, i32, ...) @printf(ptr noundef @.str.5, ptr noundef %120, i32 noundef %121, i32 noundef %122)
%124 = load ptr, ptr %9, align 8
%125 = call i32 @fclose(ptr noundef %124)
%126 = call i32 @exit(i32 noundef 1) #4
unreachable
127: ; preds = %115
%128 = load ptr, ptr %9, align 8
%129 = call i32 @feof(ptr noundef %128)
%130 = icmp ne i32 %129, 0
br i1 %130, label %138, label %131
131: ; preds = %127
%132 = load ptr, ptr %5, align 8
%133 = load i32, ptr %16, align 4
%134 = call i32 (ptr, ptr, i32, ...) @printf(ptr noundef @.str.6, ptr noundef %132, i32 noundef %133)
%135 = load ptr, ptr %9, align 8
%136 = call i32 @fclose(ptr noundef %135)
%137 = call i32 @exit(i32 noundef 1) #4
unreachable
138: ; preds = %127
%139 = load ptr, ptr %9, align 8
%140 = call i32 @fclose(ptr noundef %139)
%141 = load ptr, ptr %13, align 8
call void @llvm.stackrestore(ptr %141)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @print_error_global(ptr noundef, ptr noundef, i32 noundef) #2
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @feof(ptr noundef) #2
declare ptr @strtok(ptr noundef, ptr noundef) #2
declare i64 @atof(ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, ...) #2
declare i32 @fclose(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpe4dc3hc9.c'
source_filename = "/tmp/tmpe4dc3hc9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_fill_spaces_left(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%9 = load ptr, ptr %5, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %7, align 4
%13 = sub nsw i32 %11, %12
store i32 %13, ptr %8, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp sgt i32 0, %14
br i1 %15, label %16, label %17
16: ; preds = %3
br label %19
17: ; preds = %3
%18 = load i32, ptr %8, align 4
br label %19
19: ; preds = %17, %16
%20 = phi i32 [ 0, %16 ], [ %18, %17 ]
store i32 %20, ptr %8, align 4
%21 = load i32, ptr %8, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %30
23: ; preds = %19
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %8, align 4
%26 = sext i32 %25 to i64
%27 = mul i64 1, %26
%28 = trunc i64 %27 to i32
%29 = call i32 @memset(ptr noundef %24, i8 noundef signext 32, i32 noundef %28)
br label %30
30: ; preds = %23, %19
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
%35 = load ptr, ptr %5, align 8
%36 = call i32 @strcpy(ptr noundef %34, ptr noundef %35)
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe4dc3hc9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_fill_spaces_left(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%9 = load ptr, ptr %5, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %7, align 4
%13 = sub nsw i32 %11, %12
store i32 %13, ptr %8, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp sgt i32 0, %14
br i1 %15, label %16, label %17
16: ; preds = %3
br label %19
17: ; preds = %3
%18 = load i32, ptr %8, align 4
br label %19
19: ; preds = %17, %16
%20 = phi i32 [ 0, %16 ], [ %18, %17 ]
store i32 %20, ptr %8, align 4
%21 = load i32, ptr %8, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %30
23: ; preds = %19
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %8, align 4
%26 = sext i32 %25 to i64
%27 = mul i64 1, %26
%28 = trunc i64 %27 to i32
%29 = call i32 @memset(ptr noundef %24, i8 noundef signext 32, i32 noundef %28)
br label %30
30: ; preds = %23, %19
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
%35 = load ptr, ptr %5, align 8
%36 = call i32 @strcpy(ptr noundef %34, ptr noundef %35)
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg2vq42ph.c'
source_filename = "/tmp/tmpg2vq42ph.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sigaction = type { i64, i32, i32 }
@SIGTERM = dso_local global i32 0, align 4
@SIGINT = dso_local global i32 0, align 4
@SIGQUIT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @SetSignalsHandler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.sigaction, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = getelementptr inbounds %struct.sigaction, ptr %3, i32 0, i32 2
store i32 %4, ptr %5, align 4
%6 = getelementptr inbounds %struct.sigaction, ptr %3, i32 0, i32 1
%7 = call i32 @sigemptyset(ptr noundef %6)
%8 = getelementptr inbounds %struct.sigaction, ptr %3, i32 0, i32 0
store i64 0, ptr %8, align 8
%9 = load i32, ptr @SIGTERM, align 4
%10 = call i32 @sigaction(i32 noundef %9, ptr noundef %3, ptr noundef null)
%11 = load i32, ptr @SIGINT, align 4
%12 = call i32 @sigaction(i32 noundef %11, ptr noundef %3, ptr noundef null)
%13 = load i32, ptr @SIGQUIT, align 4
%14 = call i32 @sigaction(i32 noundef %13, ptr noundef %3, ptr noundef null)
ret void
}
declare i32 @sigemptyset(ptr noundef) #1
declare i32 @sigaction(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg2vq42ph.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sigaction = type { i64, i32, i32 }
@SIGTERM = dso_local global i32 0, align 4
@SIGINT = dso_local global i32 0, align 4
@SIGQUIT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @SetSignalsHandler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.sigaction, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = getelementptr inbounds %struct.sigaction, ptr %3, i32 0, i32 2
store i32 %4, ptr %5, align 4
%6 = getelementptr inbounds %struct.sigaction, ptr %3, i32 0, i32 1
%7 = call i32 @sigemptyset(ptr noundef %6)
%8 = getelementptr inbounds %struct.sigaction, ptr %3, i32 0, i32 0
store i64 0, ptr %8, align 8
%9 = load i32, ptr @SIGTERM, align 4
%10 = call i32 @sigaction(i32 noundef %9, ptr noundef %3, ptr noundef null)
%11 = load i32, ptr @SIGINT, align 4
%12 = call i32 @sigaction(i32 noundef %11, ptr noundef %3, ptr noundef null)
%13 = load i32, ptr @SIGQUIT, align 4
%14 = call i32 @sigaction(i32 noundef %13, ptr noundef %3, ptr noundef null)
ret void
}
declare i32 @sigemptyset(ptr noundef) #1
declare i32 @sigaction(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl4lkonc2.c'
source_filename = "/tmp/tmpl4lkonc2.c"
target datalayout = "e-m:e-p270: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/tmpl4lkonc2.c"
target datalayout = "e-m:e-p270: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/tmpwwiyzkbh.c'
source_filename = "/tmp/tmpwwiyzkbh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Cmonth(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %6, align 4
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %26
10: ; preds = %3
br label %11
11: ; preds = %22, %10
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %12, 12
br i1 %13, label %14, label %25
14: ; preds = %11
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %5, align 4
%17 = call i64 @Rmonth(i32 noundef %15, i32 noundef %16)
%18 = load i32, ptr %7, align 4
%19 = sext i32 %18 to i64
%20 = add nsw i64 %19, %17
%21 = trunc i64 %20 to i32
store i32 %21, ptr %7, align 4
br label %22
22: ; preds = %14
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
br label %11, !llvm.loop !6
25: ; preds = %11
br label %42
26: ; preds = %3
br label %27
27: ; preds = %38, %26
%28 = load i32, ptr %4, align 4
%29 = icmp sgt i32 %28, 0
br i1 %29, label %30, label %41
30: ; preds = %27
%31 = load i32, ptr %4, align 4
%32 = load i32, ptr %5, align 4
%33 = call i64 @Rmonth(i32 noundef %31, i32 noundef %32)
%34 = load i32, ptr %7, align 4
%35 = sext i32 %34 to i64
%36 = add nsw i64 %35, %33
%37 = trunc i64 %36 to i32
store i32 %37, ptr %7, align 4
br label %38
38: ; preds = %30
%39 = load i32, ptr %4, align 4
%40 = add nsw i32 %39, -1
store i32 %40, ptr %4, align 4
br label %27, !llvm.loop !8
41: ; preds = %27
br label %42
42: ; preds = %41, %25
%43 = load i32, ptr %7, align 4
ret i32 %43
}
declare i64 @Rmonth(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/tmpwwiyzkbh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Cmonth(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %6, align 4
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %27
10: ; preds = %3
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 12
br i1 %12, label %.lr.ph2, label %26
.lr.ph2: ; preds = %10
br label %13
13: ; preds = %.lr.ph2, %21
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %5, align 4
%16 = call i64 @Rmonth(i32 noundef %14, i32 noundef %15)
%17 = load i32, ptr %7, align 4
%18 = sext i32 %17 to i64
%19 = add nsw i64 %18, %16
%20 = trunc i64 %19 to i32
store i32 %20, ptr %7, align 4
br label %21
21: ; preds = %13
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %4, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %24, 12
br i1 %25, label %13, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %21
br label %26
26: ; preds = %._crit_edge3, %10
br label %44
27: ; preds = %3
%28 = load i32, ptr %4, align 4
%29 = icmp sgt i32 %28, 0
br i1 %29, label %.lr.ph, label %43
.lr.ph: ; preds = %27
br label %30
30: ; preds = %.lr.ph, %38
%31 = load i32, ptr %4, align 4
%32 = load i32, ptr %5, align 4
%33 = call i64 @Rmonth(i32 noundef %31, i32 noundef %32)
%34 = load i32, ptr %7, align 4
%35 = sext i32 %34 to i64
%36 = add nsw i64 %35, %33
%37 = trunc i64 %36 to i32
store i32 %37, ptr %7, align 4
br label %38
38: ; preds = %30
%39 = load i32, ptr %4, align 4
%40 = add nsw i32 %39, -1
store i32 %40, ptr %4, align 4
%41 = load i32, ptr %4, align 4
%42 = icmp sgt i32 %41, 0
br i1 %42, label %30, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %38
br label %43
43: ; preds = %._crit_edge, %27
br label %44
44: ; preds = %43, %26
%45 = load i32, ptr %7, align 4
ret i32 %45
}
declare i64 @Rmonth(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/tmpm8rwya9l.c'
source_filename = "/tmp/tmpm8rwya9l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"and you shake it all about.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @shakeWheel(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %15, %1
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 5
br i1 %7, label %8, label %18
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = call i32 @motor(i32 noundef %9, i32 noundef 100)
%11 = call i32 @msleep(i32 noundef 100)
%12 = load i32, ptr %2, align 4
%13 = call i32 @motor(i32 noundef %12, i32 noundef -100)
%14 = call i32 @msleep(i32 noundef 100)
br label %15
15: ; preds = %8
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4
br label %5, !llvm.loop !6
18: ; preds = %5
%19 = load i32, ptr %2, align 4
%20 = call i32 @motor(i32 noundef %19, i32 noundef 100)
%21 = call i32 @msleep(i32 noundef 100)
%22 = load i32, ptr %2, align 4
%23 = call i32 @off(i32 noundef %22)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @motor(i32 noundef, i32 noundef) #1
declare i32 @msleep(i32 noundef) #1
declare i32 @off(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/tmpm8rwya9l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"and you shake it all about.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @shakeWheel(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 5
br i1 %6, label %.lr.ph, label %19
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %14
%8 = load i32, ptr %2, align 4
%9 = call i32 @motor(i32 noundef %8, i32 noundef 100)
%10 = call i32 @msleep(i32 noundef 100)
%11 = load i32, ptr %2, align 4
%12 = call i32 @motor(i32 noundef %11, i32 noundef -100)
%13 = call i32 @msleep(i32 noundef 100)
br label %14
14: ; preds = %7
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp slt i32 %17, 5
br i1 %18, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %1
%20 = load i32, ptr %2, align 4
%21 = call i32 @motor(i32 noundef %20, i32 noundef 100)
%22 = call i32 @msleep(i32 noundef 100)
%23 = load i32, ptr %2, align 4
%24 = call i32 @off(i32 noundef %23)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @motor(i32 noundef, i32 noundef) #1
declare i32 @msleep(i32 noundef) #1
declare i32 @off(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/tmp6917le5a.c'
source_filename = "/tmp/tmp6917le5a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Invalid command : %s!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @invalid(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 i32 @printf(ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr %2, align 4
ret i32 %6
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6917le5a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Invalid command : %s!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @invalid(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 i32 @printf(ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr %2, align 4
ret i32 %6
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk_vqp71h.c'
source_filename = "/tmp/tmpk_vqp71h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %0, %10
store i32 -1, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 %4, 1
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %3
%9 = call i32 (...) @__VERIFIER_error()
br label %10
10: ; preds = %8, %3
br label %3
}
declare i32 @__VERIFIER_error(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk_vqp71h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %10, %0
store i32 -1, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 %4, 1
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %3
%9 = call i32 (...) @__VERIFIER_error()
br label %10
10: ; preds = %8, %3
br label %3
}
declare i32 @__VERIFIER_error(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjltnnzir.c'
source_filename = "/tmp/tmpjltnnzir.c"
target datalayout = "e-m:e-p270: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/tmpjltnnzir.c"
target datalayout = "e-m:e-p270: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/tmp160rv6e6.c'
source_filename = "/tmp/tmp160rv6e6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [57 x i8] c"cannot write data to the socket for sender/receiver sync\00", align 1
@.str.1 = private unnamed_addr constant [58 x i8] c"cannot read data from the socket for sender/receiver sync\00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c"receiver is busy with an existing test running\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @query_receiver_busy_state(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 88, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @htonl(i32 noundef %7)
store i32 %8, ptr %5, align 4
store i32 0, ptr %6, align 4
%9 = load i32, ptr %3, align 4
%10 = call i64 @write(i32 noundef %9, ptr noundef %5, i32 noundef 4)
%11 = icmp slt i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %1
%13 = call i32 @PRINT_ERR(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %27
14: ; preds = %1
%15 = load i32, ptr %3, align 4
%16 = call i64 @read(i32 noundef %15, ptr noundef %6, i32 noundef 4)
%17 = icmp sle i64 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = call i32 @PRINT_ERR(ptr noundef @.str.1)
store i32 -1, ptr %2, align 4
br label %27
20: ; preds = %14
%21 = load i32, ptr %6, align 4
%22 = call i32 @ntohl(i32 noundef %21)
%23 = icmp eq i32 %22, 12
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = call i32 @PRINT_ERR(ptr noundef @.str.2)
store i32 1, ptr %2, align 4
br label %27
26: ; preds = %20
store i32 0, ptr %2, align 4
br label %27
27: ; preds = %26, %24, %18, %12
%28 = load i32, ptr %2, align 4
ret i32 %28
}
declare i32 @htonl(i32 noundef) #1
declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @PRINT_ERR(ptr noundef) #1
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @ntohl(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/tmp160rv6e6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [57 x i8] c"cannot write data to the socket for sender/receiver sync\00", align 1
@.str.1 = private unnamed_addr constant [58 x i8] c"cannot read data from the socket for sender/receiver sync\00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c"receiver is busy with an existing test running\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @query_receiver_busy_state(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 88, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @htonl(i32 noundef %7)
store i32 %8, ptr %5, align 4
store i32 0, ptr %6, align 4
%9 = load i32, ptr %3, align 4
%10 = call i64 @write(i32 noundef %9, ptr noundef %5, i32 noundef 4)
%11 = icmp slt i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %1
%13 = call i32 @PRINT_ERR(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %27
14: ; preds = %1
%15 = load i32, ptr %3, align 4
%16 = call i64 @read(i32 noundef %15, ptr noundef %6, i32 noundef 4)
%17 = icmp sle i64 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = call i32 @PRINT_ERR(ptr noundef @.str.1)
store i32 -1, ptr %2, align 4
br label %27
20: ; preds = %14
%21 = load i32, ptr %6, align 4
%22 = call i32 @ntohl(i32 noundef %21)
%23 = icmp eq i32 %22, 12
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = call i32 @PRINT_ERR(ptr noundef @.str.2)
store i32 1, ptr %2, align 4
br label %27
26: ; preds = %20
store i32 0, ptr %2, align 4
br label %27
27: ; preds = %26, %24, %18, %12
%28 = load i32, ptr %2, align 4
ret i32 %28
}
declare i32 @htonl(i32 noundef) #1
declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @PRINT_ERR(ptr noundef) #1
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @ntohl(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/tmplykppq1j.c'
source_filename = "/tmp/tmplykppq1j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"hello, world\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
call void @daemonize(ptr noundef @.str)
br label %2
2: ; preds = %0, %2
%3 = call i32 @sleep(i32 noundef 1)
br label %2
}
declare void @daemonize(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplykppq1j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"hello, world\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
call void @daemonize(ptr noundef @.str)
br label %2
2: ; preds = %2, %0
%3 = call i32 @sleep(i32 noundef 1)
br label %2
}
declare void @daemonize(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgjhr_b1r.c'
source_filename = "/tmp/tmpgjhr_b1r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_END = 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/tmpgjhr_b1r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_END = 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/tmpilq374bw.c'
source_filename = "/tmp/tmpilq374bw.c"
target datalayout = "e-m:e-p270: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/tmpilq374bw.c"
target datalayout = "e-m:e-p270: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/tmpal33cig8.c'
source_filename = "/tmp/tmpal33cig8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @test_flt_rounds(i32 noundef 1)
%7 = call i32 (...) @test_round_to_nearest()
%8 = call i32 (...) @set_round_toward_plus_infinity()
%9 = call i32 (...) @test_round_to_plus_infinity()
%10 = call i32 (...) @set_round_toward_minus_infinity()
%11 = call i32 (...) @test_round_to_minus_infinity()
%12 = call i32 (...) @set_round_toward_zero()
%13 = call i32 (...) @test_round_to_zero()
%14 = call i32 (...) @set_round_toward_nearest()
%15 = call i32 @test_flt_rounds(i32 noundef 1)
%16 = call i32 (...) @test_round_to_nearest()
ret i32 0
}
declare i32 @test_flt_rounds(i32 noundef) #1
declare i32 @test_round_to_nearest(...) #1
declare i32 @set_round_toward_plus_infinity(...) #1
declare i32 @test_round_to_plus_infinity(...) #1
declare i32 @set_round_toward_minus_infinity(...) #1
declare i32 @test_round_to_minus_infinity(...) #1
declare i32 @set_round_toward_zero(...) #1
declare i32 @test_round_to_zero(...) #1
declare i32 @set_round_toward_nearest(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpal33cig8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @test_flt_rounds(i32 noundef 1)
%7 = call i32 (...) @test_round_to_nearest()
%8 = call i32 (...) @set_round_toward_plus_infinity()
%9 = call i32 (...) @test_round_to_plus_infinity()
%10 = call i32 (...) @set_round_toward_minus_infinity()
%11 = call i32 (...) @test_round_to_minus_infinity()
%12 = call i32 (...) @set_round_toward_zero()
%13 = call i32 (...) @test_round_to_zero()
%14 = call i32 (...) @set_round_toward_nearest()
%15 = call i32 @test_flt_rounds(i32 noundef 1)
%16 = call i32 (...) @test_round_to_nearest()
ret i32 0
}
declare i32 @test_flt_rounds(i32 noundef) #1
declare i32 @test_round_to_nearest(...) #1
declare i32 @set_round_toward_plus_infinity(...) #1
declare i32 @test_round_to_plus_infinity(...) #1
declare i32 @set_round_toward_minus_infinity(...) #1
declare i32 @test_round_to_minus_infinity(...) #1
declare i32 @set_round_toward_zero(...) #1
declare i32 @test_round_to_zero(...) #1
declare i32 @set_round_toward_nearest(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqfuubdih.c'
source_filename = "/tmp/tmpqfuubdih.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lld\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"%lld %lld %lld\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%lld\0A\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 i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
br label %9
9: ; preds = %36, %0
%10 = load i64, ptr %2, align 8
%11 = add nsw i64 %10, -1
store i64 %11, ptr %2, align 8
%12 = icmp ne i64 %10, 0
br i1 %12, label %13, label %40
13: ; preds = %9
store i64 0, ptr %7, align 8
%14 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%15 = load i64, ptr %3, align 8
%16 = load i64, ptr %5, align 8
%17 = sub nsw i64 %15, %16
%18 = add nsw i64 %17, 1
%19 = call i64 @pow(i32 noundef 2, i64 noundef %18)
store i64 %19, ptr %7, align 8
br label %20
20: ; preds = %24, %13
%21 = load i64, ptr %3, align 8
%22 = load i64, ptr %4, align 8
%23 = icmp slt i64 %21, %22
br i1 %23, label %24, label %32
24: ; preds = %20
%25 = load i64, ptr %4, align 8
%26 = add nsw i64 %25, 1
%27 = call i64 @pow(i32 noundef 2, i64 noundef %26)
%28 = load i64, ptr %7, align 8
%29 = add nsw i64 %28, %27
store i64 %29, ptr %7, align 8
%30 = load i64, ptr %4, align 8
%31 = add nsw i64 %30, -1
store i64 %31, ptr %4, align 8
br label %20, !llvm.loop !6
32: ; preds = %20
%33 = load i64, ptr %7, align 8
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %32
store i64 -1, ptr %7, align 8
br label %36
36: ; preds = %35, %32
%37 = load i64, ptr %7, align 8
%38 = add nsw i64 %37, 1
%39 = call i32 @printf(ptr noundef @.str.2, i64 noundef %38)
br label %9, !llvm.loop !8
40: ; preds = %9
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i64 @pow(i32 noundef, i64 noundef) #1
declare i32 @printf(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/tmpqfuubdih.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lld\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"%lld %lld %lld\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%lld\0A\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 i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%9 = load i64, ptr %2, align 8
%10 = add nsw i64 %9, -1
store i64 %10, ptr %2, align 8
%11 = icmp ne i64 %9, 0
br i1 %11, label %.lr.ph2, label %44
.lr.ph2: ; preds = %0
br label %12
12: ; preds = %.lr.ph2, %37
store i64 0, ptr %7, align 8
%13 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%14 = load i64, ptr %3, align 8
%15 = load i64, ptr %5, align 8
%16 = sub nsw i64 %14, %15
%17 = add nsw i64 %16, 1
%18 = call i64 @pow(i32 noundef 2, i64 noundef %17)
store i64 %18, ptr %7, align 8
%19 = load i64, ptr %3, align 8
%20 = load i64, ptr %4, align 8
%21 = icmp slt i64 %19, %20
br i1 %21, label %.lr.ph, label %33
.lr.ph: ; preds = %12
br label %22
22: ; preds = %.lr.ph, %22
%23 = load i64, ptr %4, align 8
%24 = add nsw i64 %23, 1
%25 = call i64 @pow(i32 noundef 2, i64 noundef %24)
%26 = load i64, ptr %7, align 8
%27 = add nsw i64 %26, %25
store i64 %27, ptr %7, align 8
%28 = load i64, ptr %4, align 8
%29 = add nsw i64 %28, -1
store i64 %29, ptr %4, align 8
%30 = load i64, ptr %3, align 8
%31 = load i64, ptr %4, align 8
%32 = icmp slt i64 %30, %31
br i1 %32, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %33
33: ; preds = %._crit_edge, %12
%34 = load i64, ptr %7, align 8
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %33
store i64 -1, ptr %7, align 8
br label %37
37: ; preds = %36, %33
%38 = load i64, ptr %7, align 8
%39 = add nsw i64 %38, 1
%40 = call i32 @printf(ptr noundef @.str.2, i64 noundef %39)
%41 = load i64, ptr %2, align 8
%42 = add nsw i64 %41, -1
store i64 %42, ptr %2, align 8
%43 = icmp ne i64 %41, 0
br i1 %43, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %37
br label %44
44: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i64 @pow(i32 noundef, i64 noundef) #1
declare i32 @printf(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/tmpkh_kvwyr.c'
source_filename = "/tmp/tmpkh_kvwyr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@S_IRWXU = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ph_mkdir(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 = load i32, ptr @S_IRWXU, align 4
%6 = call i32 @mkdir(ptr noundef %4, i32 noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
ret i32 %7
}
declare i32 @mkdir(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/tmpkh_kvwyr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@S_IRWXU = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ph_mkdir(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 = load i32, ptr @S_IRWXU, align 4
%6 = call i32 @mkdir(ptr noundef %4, i32 noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
ret i32 %7
}
declare i32 @mkdir(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/tmpm4ugsrga.c'
source_filename = "/tmp/tmpm4ugsrga.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/bin/echo 1 > /proc/FastPath\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"/bin/echo 2 > /proc/FastPath\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @UpdateIpFastpathStatus() #0 {
%1 = alloca i8, align 1
store i8 0, ptr %1, align 1
store i8 0, ptr %1, align 1
%2 = call i32 @mib_get(i64 noundef 73, ptr noundef %1)
%3 = load i8, ptr %1, align 1
%4 = icmp ne i8 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @system(ptr noundef @.str)
br label %15
7: ; preds = %0
store i8 0, ptr %1, align 1
%8 = call i32 @mib_get(i64 noundef 83, ptr noundef %1)
%9 = load i8, ptr %1, align 1
%10 = icmp ne i8 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %7
%12 = call i32 @system(ptr noundef @.str)
br label %15
13: ; preds = %7
%14 = call i32 @system(ptr noundef @.str.1)
br label %15
15: ; preds = %13, %11, %5
ret void
}
declare i32 @mib_get(i64 noundef, ptr noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm4ugsrga.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/bin/echo 1 > /proc/FastPath\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"/bin/echo 2 > /proc/FastPath\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @UpdateIpFastpathStatus() #0 {
%1 = alloca i8, align 1
store i8 0, ptr %1, align 1
store i8 0, ptr %1, align 1
%2 = call i32 @mib_get(i64 noundef 73, ptr noundef %1)
%3 = load i8, ptr %1, align 1
%4 = icmp ne i8 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @system(ptr noundef @.str)
br label %15
7: ; preds = %0
store i8 0, ptr %1, align 1
%8 = call i32 @mib_get(i64 noundef 83, ptr noundef %1)
%9 = load i8, ptr %1, align 1
%10 = icmp ne i8 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %7
%12 = call i32 @system(ptr noundef @.str)
br label %15
13: ; preds = %7
%14 = call i32 @system(ptr noundef @.str.1)
br label %15
15: ; preds = %13, %11, %5
ret void
}
declare i32 @mib_get(i64 noundef, ptr noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0dncupd7.c'
source_filename = "/tmp/tmp0dncupd7.c"
target datalayout = "e-m:e-p270: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/tmp0dncupd7.c"
target datalayout = "e-m:e-p270: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/tmphlq066fk.c'
source_filename = "/tmp/tmphlq066fk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @subunit_test_error(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 @subunit_send_event(ptr noundef @.str, ptr noundef %5, ptr noundef %6)
ret void
}
declare i32 @subunit_send_event(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphlq066fk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @subunit_test_error(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 @subunit_send_event(ptr noundef @.str, ptr noundef %5, ptr noundef %6)
ret void
}
declare i32 @subunit_send_event(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2dla23ab.c'
source_filename = "/tmp/tmp2dla23ab.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"\1B[38;2;%d;%d;%dm\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"\1B[48;2;%d;%d;%dm\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @render_rgb(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 = getelementptr inbounds i8, ptr %5, i64 0
%7 = load i8, ptr %6, align 1
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 1
%10 = load i8, ptr %9, align 1
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 2
%13 = load i8, ptr %12, align 1
%14 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %7, i8 noundef zeroext %10, i8 noundef zeroext %13)
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 0
%17 = load i8, ptr %16, align 1
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 1
%20 = load i8, ptr %19, align 1
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 2
%23 = load i8, ptr %22, align 1
%24 = call i32 @printf(ptr noundef @.str.1, i8 noundef zeroext %17, i8 noundef zeroext %20, i8 noundef zeroext %23)
ret void
}
declare i32 @printf(ptr noundef, i8 noundef zeroext, i8 noundef zeroext, 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2dla23ab.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"\1B[38;2;%d;%d;%dm\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"\1B[48;2;%d;%d;%dm\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @render_rgb(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 = getelementptr inbounds i8, ptr %5, i64 0
%7 = load i8, ptr %6, align 1
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 1
%10 = load i8, ptr %9, align 1
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 2
%13 = load i8, ptr %12, align 1
%14 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %7, i8 noundef zeroext %10, i8 noundef zeroext %13)
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 0
%17 = load i8, ptr %16, align 1
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 1
%20 = load i8, ptr %19, align 1
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 2
%23 = load i8, ptr %22, align 1
%24 = call i32 @printf(ptr noundef @.str.1, i8 noundef zeroext %17, i8 noundef zeroext %20, i8 noundef zeroext %23)
ret void
}
declare i32 @printf(ptr noundef, i8 noundef zeroext, i8 noundef zeroext, 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"}
|
; ModuleID = '/tmp/tmplblffwsx.c'
source_filename = "/tmp/tmplblffwsx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i32 }
@__const._config_GC4016.GC314FS_GCoffset = private unnamed_addr constant [3 x i32] [i32 2048, i32 4096, i32 6144], align 4
@__const._config_GC4016.chan_control_map = private unnamed_addr constant [4 x i32] [i32 0, i32 128, i32 256, i32 384], align 16
@CLOCK_REALTIME = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_config_GC4016(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca [3 x i32], align 4
%15 = alloca [4 x i32], align 16
%16 = alloca %struct.timespec, align 4
%17 = alloca %struct.timespec, align 4
%18 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
store i32 0, ptr %11, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 @__const._config_GC4016.GC314FS_GCoffset, i64 12, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %15, ptr align 16 @__const._config_GC4016.chan_control_map, i64 16, i1 false)
%19 = load i32, ptr @CLOCK_REALTIME, align 4
%20 = call i32 @clock_gettime(i32 noundef %19, ptr noundef %16)
store i32 0, ptr %13, align 4
br label %21
21: ; preds = %316, %5
%22 = load i32, ptr %13, align 4
%23 = icmp slt i32 %22, 3
br i1 %23, label %24, label %319
24: ; preds = %21
%25 = load ptr, ptr %6, align 8
%26 = load i32, ptr %13, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %27
%29 = load i32, ptr %28, align 4
%30 = add i32 %29, 1092
%31 = call i32 @write08(ptr noundef %25, i32 noundef %30, i32 noundef 0)
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr %13, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %34
%36 = load i32, ptr %35, align 4
%37 = add i32 %36, 1024
%38 = call i32 @write08(ptr noundef %32, i32 noundef %37, i32 noundef 47)
%39 = load ptr, ptr %6, align 8
%40 = load i32, ptr %13, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %41
%43 = load i32, ptr %42, align 4
%44 = add i32 %43, 1116
%45 = call i32 @write08(ptr noundef %39, i32 noundef %44, i32 noundef 2)
%46 = load ptr, ptr %6, align 8
%47 = load i32, ptr %13, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %48
%50 = load i32, ptr %49, align 4
%51 = add i32 %50, 1025
%52 = call i32 @write08(ptr noundef %46, i32 noundef %51, i32 noundef 7)
%53 = load ptr, ptr %6, align 8
%54 = load i32, ptr %13, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %55
%57 = load i32, ptr %56, align 4
%58 = add i32 %57, 1026
%59 = call i32 @write08(ptr noundef %53, i32 noundef %58, i32 noundef 228)
%60 = load ptr, ptr %6, align 8
%61 = load i32, ptr %13, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %62
%64 = load i32, ptr %63, align 4
%65 = add i32 %64, 1027
%66 = call i32 @write08(ptr noundef %60, i32 noundef %65, i32 noundef 23)
%67 = load ptr, ptr %6, align 8
%68 = load i32, ptr %13, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %69
%71 = load i32, ptr %70, align 4
%72 = add i32 %71, 1028
%73 = call i32 @write08(ptr noundef %67, i32 noundef %72, i32 noundef 228)
%74 = load ptr, ptr %6, align 8
%75 = load i32, ptr %13, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %76
%78 = load i32, ptr %77, align 4
%79 = add i32 %78, 1029
%80 = call i32 @write08(ptr noundef %74, i32 noundef %79, i32 noundef 112)
%81 = load ptr, ptr %6, align 8
%82 = load i32, ptr %13, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %83
%85 = load i32, ptr %84, align 4
%86 = add i32 %85, 1030
%87 = call i32 @write08(ptr noundef %81, i32 noundef %86, i32 noundef 0)
%88 = load ptr, ptr %6, align 8
%89 = load i32, ptr %13, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %90
%92 = load i32, ptr %91, align 4
%93 = add i32 %92, 1031
%94 = call i32 @write08(ptr noundef %88, i32 noundef %93, i32 noundef 228)
%95 = load ptr, ptr %6, align 8
%96 = load i32, ptr %13, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %97
%99 = load i32, ptr %98, align 4
%100 = add i32 %99, 1040
%101 = load ptr, ptr %10, align 8
%102 = getelementptr inbounds i32, ptr %101, i64 0
%103 = load i32, ptr %102, align 4
%104 = call i32 @write32(ptr noundef %95, i32 noundef %100, i32 noundef %103)
%105 = load ptr, ptr %6, align 8
%106 = load i32, ptr %13, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %107
%109 = load i32, ptr %108, align 4
%110 = add i32 %109, 1044
%111 = load ptr, ptr %10, align 8
%112 = getelementptr inbounds i32, ptr %111, i64 1
%113 = load i32, ptr %112, align 4
%114 = call i32 @write32(ptr noundef %105, i32 noundef %110, i32 noundef %113)
%115 = load ptr, ptr %6, align 8
%116 = load i32, ptr %13, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %117
%119 = load i32, ptr %118, align 4
%120 = add i32 %119, 1048
%121 = load ptr, ptr %10, align 8
%122 = getelementptr inbounds i32, ptr %121, i64 2
%123 = load i32, ptr %122, align 4
%124 = call i32 @write32(ptr noundef %115, i32 noundef %120, i32 noundef %123)
%125 = load ptr, ptr %6, align 8
%126 = load i32, ptr %13, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %127
%129 = load i32, ptr %128, align 4
%130 = add i32 %129, 1052
%131 = load ptr, ptr %10, align 8
%132 = getelementptr inbounds i32, ptr %131, i64 3
%133 = load i32, ptr %132, align 4
%134 = call i32 @write32(ptr noundef %125, i32 noundef %130, i32 noundef %133)
%135 = load ptr, ptr %6, align 8
%136 = load i32, ptr %13, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %137
%139 = load i32, ptr %138, align 4
%140 = add i32 %139, 1092
%141 = call i32 @write08(ptr noundef %135, i32 noundef %140, i32 noundef 0)
%142 = load ptr, ptr %6, align 8
%143 = load i32, ptr %13, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %144
%146 = load i32, ptr %145, align 4
%147 = add i32 %146, 1093
%148 = call i32 @write08(ptr noundef %142, i32 noundef %147, i32 noundef 0)
%149 = load ptr, ptr %6, align 8
%150 = load i32, ptr %13, align 4
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %151
%153 = load i32, ptr %152, align 4
%154 = add i32 %153, 1094
%155 = call i32 @write16(ptr noundef %149, i32 noundef %154, i32 noundef 65535)
%156 = load ptr, ptr %6, align 8
%157 = load i32, ptr %13, align 4
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %158
%160 = load i32, ptr %159, align 4
%161 = add i32 %160, 1104
%162 = call i32 @write08(ptr noundef %156, i32 noundef %161, i32 noundef 255)
%163 = load ptr, ptr %6, align 8
%164 = load i32, ptr %13, align 4
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %165
%167 = load i32, ptr %166, align 4
%168 = add i32 %167, 1105
%169 = call i32 @write08(ptr noundef %163, i32 noundef %168, i32 noundef 78)
%170 = load ptr, ptr %6, align 8
%171 = load i32, ptr %13, align 4
%172 = sext i32 %171 to i64
%173 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %172
%174 = load i32, ptr %173, align 4
%175 = add i32 %174, 1106
%176 = call i32 @write08(ptr noundef %170, i32 noundef %175, i32 noundef 108)
%177 = load ptr, ptr %6, align 8
%178 = load i32, ptr %13, align 4
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %179
%181 = load i32, ptr %180, align 4
%182 = add i32 %181, 1107
%183 = call i32 @write08(ptr noundef %177, i32 noundef %182, i32 noundef 192)
%184 = load ptr, ptr %6, align 8
%185 = load i32, ptr %13, align 4
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %186
%188 = load i32, ptr %187, align 4
%189 = add i32 %188, 1108
%190 = call i32 @write08(ptr noundef %184, i32 noundef %189, i32 noundef 232)
%191 = load ptr, ptr %6, align 8
%192 = load i32, ptr %13, align 4
%193 = sext i32 %192 to i64
%194 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %193
%195 = load i32, ptr %194, align 4
%196 = add i32 %195, 1109
%197 = call i32 @write08(ptr noundef %191, i32 noundef %196, i32 noundef 3)
%198 = load ptr, ptr %6, align 8
%199 = load i32, ptr %13, align 4
%200 = sext i32 %199 to i64
%201 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %200
%202 = load i32, ptr %201, align 4
%203 = add i32 %202, 1110
%204 = call i32 @write08(ptr noundef %198, i32 noundef %203, i32 noundef 228)
%205 = load ptr, ptr %6, align 8
%206 = load i32, ptr %13, align 4
%207 = sext i32 %206 to i64
%208 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %207
%209 = load i32, ptr %208, align 4
%210 = add i32 %209, 1111
%211 = call i32 @write08(ptr noundef %205, i32 noundef %210, i32 noundef 16)
%212 = load ptr, ptr %6, align 8
%213 = load i32, ptr %13, align 4
%214 = sext i32 %213 to i64
%215 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %214
%216 = load i32, ptr %215, align 4
%217 = add i32 %216, 1112
%218 = call i32 @write08(ptr noundef %212, i32 noundef %217, i32 noundef 50)
%219 = load ptr, ptr %6, align 8
%220 = load i32, ptr %13, align 4
%221 = sext i32 %220 to i64
%222 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %221
%223 = load i32, ptr %222, align 4
%224 = add i32 %223, 1113
%225 = call i32 @write08(ptr noundef %219, i32 noundef %224, i32 noundef 84)
%226 = load ptr, ptr %6, align 8
%227 = load i32, ptr %13, align 4
%228 = sext i32 %227 to i64
%229 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %228
%230 = load i32, ptr %229, align 4
%231 = add i32 %230, 1114
%232 = call i32 @write08(ptr noundef %226, i32 noundef %231, i32 noundef 118)
store i32 0, ptr %11, align 4
br label %233
233: ; preds = %254, %24
%234 = load i32, ptr %11, align 4
%235 = icmp slt i32 %234, 128
br i1 %235, label %236, label %257
236: ; preds = %233
%237 = load ptr, ptr %9, align 8
%238 = load i32, ptr %11, align 4
%239 = sext i32 %238 to i64
%240 = getelementptr inbounds i32, ptr %237, i64 %239
%241 = load i32, ptr %240, align 4
%242 = load ptr, ptr %6, align 8
%243 = load i32, ptr %13, align 4
%244 = sext i32 %243 to i64
%245 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %244
%246 = load i32, ptr %245, align 4
%247 = zext i32 %246 to i64
%248 = getelementptr inbounds i8, ptr %242, i64 %247
%249 = getelementptr inbounds i8, ptr %248, i64 512
%250 = load i32, ptr %11, align 4
%251 = mul nsw i32 4, %250
%252 = sext i32 %251 to i64
%253 = getelementptr inbounds i8, ptr %249, i64 %252
store i32 %241, ptr %253, align 4
br label %254
254: ; preds = %236
%255 = load i32, ptr %11, align 4
%256 = add nsw i32 %255, 1
store i32 %256, ptr %11, align 4
br label %233, !llvm.loop !6
257: ; preds = %233
store i32 0, ptr %11, align 4
br label %258
258: ; preds = %312, %257
%259 = load i32, ptr %11, align 4
%260 = icmp slt i32 %259, 4
br i1 %260, label %261, label %315
261: ; preds = %258
%262 = load ptr, ptr %8, align 8
%263 = load i32, ptr %11, align 4
%264 = sext i32 %263 to i64
%265 = getelementptr inbounds i64, ptr %262, i64 %264
%266 = load i64, ptr %265, align 8
%267 = inttoptr i64 %266 to ptr
store ptr %267, ptr %18, align 8
store i32 0, ptr %12, align 4
br label %268
268: ; preds = %294, %261
%269 = load i32, ptr %12, align 4
%270 = icmp slt i32 %269, 32
br i1 %270, label %271, label %297
271: ; preds = %268
%272 = load ptr, ptr %18, align 8
%273 = load i32, ptr %12, align 4
%274 = sext i32 %273 to i64
%275 = getelementptr inbounds i32, ptr %272, i64 %274
%276 = load i32, ptr %275, align 4
%277 = load ptr, ptr %6, align 8
%278 = load i32, ptr %13, align 4
%279 = sext i32 %278 to i64
%280 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %279
%281 = load i32, ptr %280, align 4
%282 = zext i32 %281 to i64
%283 = getelementptr inbounds i8, ptr %277, i64 %282
%284 = load i32, ptr %11, align 4
%285 = sext i32 %284 to i64
%286 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 %285
%287 = load i32, ptr %286, align 4
%288 = zext i32 %287 to i64
%289 = getelementptr inbounds i8, ptr %283, i64 %288
%290 = load i32, ptr %12, align 4
%291 = mul nsw i32 4, %290
%292 = sext i32 %291 to i64
%293 = getelementptr inbounds i8, ptr %289, i64 %292
store i32 %276, ptr %293, align 4
br label %294
294: ; preds = %271
%295 = load i32, ptr %12, align 4
%296 = add nsw i32 %295, 1
store i32 %296, ptr %12, align 4
br label %268, !llvm.loop !8
297: ; preds = %268
%298 = load ptr, ptr %6, align 8
%299 = load i32, ptr %13, align 4
%300 = sext i32 %299 to i64
%301 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %300
%302 = load i32, ptr %301, align 4
%303 = load i32, ptr %11, align 4
%304 = sext i32 %303 to i64
%305 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 %304
%306 = load i32, ptr %305, align 4
%307 = add i32 %302, %306
%308 = add i32 %307, 123
%309 = load i32, ptr %13, align 4
%310 = or i32 %309, 16
%311 = call i32 @write08(ptr noundef %298, i32 noundef %308, i32 noundef %310)
br label %312
312: ; preds = %297
%313 = load i32, ptr %11, align 4
%314 = add nsw i32 %313, 1
store i32 %314, ptr %11, align 4
br label %258, !llvm.loop !9
315: ; preds = %258
br label %316
316: ; preds = %315
%317 = load i32, ptr %13, align 4
%318 = add nsw i32 %317, 1
store i32 %318, ptr %13, align 4
br label %21, !llvm.loop !10
319: ; preds = %21
ret i32 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) #1
declare i32 @clock_gettime(i32 noundef, ptr noundef) #2
declare i32 @write08(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @write32(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @write16(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplblffwsx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i32 }
@__const._config_GC4016.GC314FS_GCoffset = private unnamed_addr constant [3 x i32] [i32 2048, i32 4096, i32 6144], align 4
@__const._config_GC4016.chan_control_map = private unnamed_addr constant [4 x i32] [i32 0, i32 128, i32 256, i32 384], align 16
@CLOCK_REALTIME = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_config_GC4016(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca [3 x i32], align 4
%15 = alloca [4 x i32], align 16
%16 = alloca %struct.timespec, align 4
%17 = alloca %struct.timespec, align 4
%18 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
store i32 0, ptr %11, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 @__const._config_GC4016.GC314FS_GCoffset, i64 12, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %15, ptr align 16 @__const._config_GC4016.chan_control_map, i64 16, i1 false)
%19 = load i32, ptr @CLOCK_REALTIME, align 4
%20 = call i32 @clock_gettime(i32 noundef %19, ptr noundef %16)
store i32 0, ptr %13, align 4
%21 = load i32, ptr %13, align 4
%22 = icmp slt i32 %21, 3
br i1 %22, label %.lr.ph8, label %323
.lr.ph8: ; preds = %5
br label %23
23: ; preds = %.lr.ph8, %318
%24 = load ptr, ptr %6, align 8
%25 = load i32, ptr %13, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %26
%28 = load i32, ptr %27, align 4
%29 = add i32 %28, 1092
%30 = call i32 @write08(ptr noundef %24, i32 noundef %29, i32 noundef 0)
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %13, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %33
%35 = load i32, ptr %34, align 4
%36 = add i32 %35, 1024
%37 = call i32 @write08(ptr noundef %31, i32 noundef %36, i32 noundef 47)
%38 = load ptr, ptr %6, align 8
%39 = load i32, ptr %13, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %40
%42 = load i32, ptr %41, align 4
%43 = add i32 %42, 1116
%44 = call i32 @write08(ptr noundef %38, i32 noundef %43, i32 noundef 2)
%45 = load ptr, ptr %6, align 8
%46 = load i32, ptr %13, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %47
%49 = load i32, ptr %48, align 4
%50 = add i32 %49, 1025
%51 = call i32 @write08(ptr noundef %45, i32 noundef %50, i32 noundef 7)
%52 = load ptr, ptr %6, align 8
%53 = load i32, ptr %13, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %54
%56 = load i32, ptr %55, align 4
%57 = add i32 %56, 1026
%58 = call i32 @write08(ptr noundef %52, i32 noundef %57, i32 noundef 228)
%59 = load ptr, ptr %6, align 8
%60 = load i32, ptr %13, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %61
%63 = load i32, ptr %62, align 4
%64 = add i32 %63, 1027
%65 = call i32 @write08(ptr noundef %59, i32 noundef %64, i32 noundef 23)
%66 = load ptr, ptr %6, align 8
%67 = load i32, ptr %13, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %68
%70 = load i32, ptr %69, align 4
%71 = add i32 %70, 1028
%72 = call i32 @write08(ptr noundef %66, i32 noundef %71, i32 noundef 228)
%73 = load ptr, ptr %6, align 8
%74 = load i32, ptr %13, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %75
%77 = load i32, ptr %76, align 4
%78 = add i32 %77, 1029
%79 = call i32 @write08(ptr noundef %73, i32 noundef %78, i32 noundef 112)
%80 = load ptr, ptr %6, align 8
%81 = load i32, ptr %13, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %82
%84 = load i32, ptr %83, align 4
%85 = add i32 %84, 1030
%86 = call i32 @write08(ptr noundef %80, i32 noundef %85, i32 noundef 0)
%87 = load ptr, ptr %6, align 8
%88 = load i32, ptr %13, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %89
%91 = load i32, ptr %90, align 4
%92 = add i32 %91, 1031
%93 = call i32 @write08(ptr noundef %87, i32 noundef %92, i32 noundef 228)
%94 = load ptr, ptr %6, align 8
%95 = load i32, ptr %13, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %96
%98 = load i32, ptr %97, align 4
%99 = add i32 %98, 1040
%100 = load ptr, ptr %10, align 8
%101 = getelementptr inbounds i32, ptr %100, i64 0
%102 = load i32, ptr %101, align 4
%103 = call i32 @write32(ptr noundef %94, i32 noundef %99, i32 noundef %102)
%104 = load ptr, ptr %6, align 8
%105 = load i32, ptr %13, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %106
%108 = load i32, ptr %107, align 4
%109 = add i32 %108, 1044
%110 = load ptr, ptr %10, align 8
%111 = getelementptr inbounds i32, ptr %110, i64 1
%112 = load i32, ptr %111, align 4
%113 = call i32 @write32(ptr noundef %104, i32 noundef %109, i32 noundef %112)
%114 = load ptr, ptr %6, align 8
%115 = load i32, ptr %13, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %116
%118 = load i32, ptr %117, align 4
%119 = add i32 %118, 1048
%120 = load ptr, ptr %10, align 8
%121 = getelementptr inbounds i32, ptr %120, i64 2
%122 = load i32, ptr %121, align 4
%123 = call i32 @write32(ptr noundef %114, i32 noundef %119, i32 noundef %122)
%124 = load ptr, ptr %6, align 8
%125 = load i32, ptr %13, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %126
%128 = load i32, ptr %127, align 4
%129 = add i32 %128, 1052
%130 = load ptr, ptr %10, align 8
%131 = getelementptr inbounds i32, ptr %130, i64 3
%132 = load i32, ptr %131, align 4
%133 = call i32 @write32(ptr noundef %124, i32 noundef %129, i32 noundef %132)
%134 = load ptr, ptr %6, align 8
%135 = load i32, ptr %13, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %136
%138 = load i32, ptr %137, align 4
%139 = add i32 %138, 1092
%140 = call i32 @write08(ptr noundef %134, i32 noundef %139, i32 noundef 0)
%141 = load ptr, ptr %6, align 8
%142 = load i32, ptr %13, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %143
%145 = load i32, ptr %144, align 4
%146 = add i32 %145, 1093
%147 = call i32 @write08(ptr noundef %141, i32 noundef %146, i32 noundef 0)
%148 = load ptr, ptr %6, align 8
%149 = load i32, ptr %13, align 4
%150 = sext i32 %149 to i64
%151 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %150
%152 = load i32, ptr %151, align 4
%153 = add i32 %152, 1094
%154 = call i32 @write16(ptr noundef %148, i32 noundef %153, i32 noundef 65535)
%155 = load ptr, ptr %6, align 8
%156 = load i32, ptr %13, align 4
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %157
%159 = load i32, ptr %158, align 4
%160 = add i32 %159, 1104
%161 = call i32 @write08(ptr noundef %155, i32 noundef %160, i32 noundef 255)
%162 = load ptr, ptr %6, align 8
%163 = load i32, ptr %13, align 4
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %164
%166 = load i32, ptr %165, align 4
%167 = add i32 %166, 1105
%168 = call i32 @write08(ptr noundef %162, i32 noundef %167, i32 noundef 78)
%169 = load ptr, ptr %6, align 8
%170 = load i32, ptr %13, align 4
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %171
%173 = load i32, ptr %172, align 4
%174 = add i32 %173, 1106
%175 = call i32 @write08(ptr noundef %169, i32 noundef %174, i32 noundef 108)
%176 = load ptr, ptr %6, align 8
%177 = load i32, ptr %13, align 4
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %178
%180 = load i32, ptr %179, align 4
%181 = add i32 %180, 1107
%182 = call i32 @write08(ptr noundef %176, i32 noundef %181, i32 noundef 192)
%183 = load ptr, ptr %6, align 8
%184 = load i32, ptr %13, align 4
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %185
%187 = load i32, ptr %186, align 4
%188 = add i32 %187, 1108
%189 = call i32 @write08(ptr noundef %183, i32 noundef %188, i32 noundef 232)
%190 = load ptr, ptr %6, align 8
%191 = load i32, ptr %13, align 4
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %192
%194 = load i32, ptr %193, align 4
%195 = add i32 %194, 1109
%196 = call i32 @write08(ptr noundef %190, i32 noundef %195, i32 noundef 3)
%197 = load ptr, ptr %6, align 8
%198 = load i32, ptr %13, align 4
%199 = sext i32 %198 to i64
%200 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %199
%201 = load i32, ptr %200, align 4
%202 = add i32 %201, 1110
%203 = call i32 @write08(ptr noundef %197, i32 noundef %202, i32 noundef 228)
%204 = load ptr, ptr %6, align 8
%205 = load i32, ptr %13, align 4
%206 = sext i32 %205 to i64
%207 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %206
%208 = load i32, ptr %207, align 4
%209 = add i32 %208, 1111
%210 = call i32 @write08(ptr noundef %204, i32 noundef %209, i32 noundef 16)
%211 = load ptr, ptr %6, align 8
%212 = load i32, ptr %13, align 4
%213 = sext i32 %212 to i64
%214 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %213
%215 = load i32, ptr %214, align 4
%216 = add i32 %215, 1112
%217 = call i32 @write08(ptr noundef %211, i32 noundef %216, i32 noundef 50)
%218 = load ptr, ptr %6, align 8
%219 = load i32, ptr %13, align 4
%220 = sext i32 %219 to i64
%221 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %220
%222 = load i32, ptr %221, align 4
%223 = add i32 %222, 1113
%224 = call i32 @write08(ptr noundef %218, i32 noundef %223, i32 noundef 84)
%225 = load ptr, ptr %6, align 8
%226 = load i32, ptr %13, align 4
%227 = sext i32 %226 to i64
%228 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %227
%229 = load i32, ptr %228, align 4
%230 = add i32 %229, 1114
%231 = call i32 @write08(ptr noundef %225, i32 noundef %230, i32 noundef 118)
store i32 0, ptr %11, align 4
%232 = load i32, ptr %11, align 4
%233 = icmp slt i32 %232, 128
br i1 %233, label %.lr.ph, label %257
.lr.ph: ; preds = %23
br label %234
234: ; preds = %.lr.ph, %252
%235 = load ptr, ptr %9, align 8
%236 = load i32, ptr %11, align 4
%237 = sext i32 %236 to i64
%238 = getelementptr inbounds i32, ptr %235, i64 %237
%239 = load i32, ptr %238, align 4
%240 = load ptr, ptr %6, align 8
%241 = load i32, ptr %13, align 4
%242 = sext i32 %241 to i64
%243 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %242
%244 = load i32, ptr %243, align 4
%245 = zext i32 %244 to i64
%246 = getelementptr inbounds i8, ptr %240, i64 %245
%247 = getelementptr inbounds i8, ptr %246, i64 512
%248 = load i32, ptr %11, align 4
%249 = mul nsw i32 4, %248
%250 = sext i32 %249 to i64
%251 = getelementptr inbounds i8, ptr %247, i64 %250
store i32 %239, ptr %251, align 4
br label %252
252: ; preds = %234
%253 = load i32, ptr %11, align 4
%254 = add nsw i32 %253, 1
store i32 %254, ptr %11, align 4
%255 = load i32, ptr %11, align 4
%256 = icmp slt i32 %255, 128
br i1 %256, label %234, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %252
br label %257
257: ; preds = %._crit_edge, %23
store i32 0, ptr %11, align 4
%258 = load i32, ptr %11, align 4
%259 = icmp slt i32 %258, 4
br i1 %259, label %.lr.ph5, label %317
.lr.ph5: ; preds = %257
br label %260
260: ; preds = %.lr.ph5, %312
%261 = load ptr, ptr %8, align 8
%262 = load i32, ptr %11, align 4
%263 = sext i32 %262 to i64
%264 = getelementptr inbounds i64, ptr %261, i64 %263
%265 = load i64, ptr %264, align 8
%266 = inttoptr i64 %265 to ptr
store ptr %266, ptr %18, align 8
store i32 0, ptr %12, align 4
%267 = load i32, ptr %12, align 4
%268 = icmp slt i32 %267, 32
br i1 %268, label %.lr.ph2, label %297
.lr.ph2: ; preds = %260
br label %269
269: ; preds = %.lr.ph2, %292
%270 = load ptr, ptr %18, align 8
%271 = load i32, ptr %12, align 4
%272 = sext i32 %271 to i64
%273 = getelementptr inbounds i32, ptr %270, i64 %272
%274 = load i32, ptr %273, align 4
%275 = load ptr, ptr %6, align 8
%276 = load i32, ptr %13, align 4
%277 = sext i32 %276 to i64
%278 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %277
%279 = load i32, ptr %278, align 4
%280 = zext i32 %279 to i64
%281 = getelementptr inbounds i8, ptr %275, i64 %280
%282 = load i32, ptr %11, align 4
%283 = sext i32 %282 to i64
%284 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 %283
%285 = load i32, ptr %284, align 4
%286 = zext i32 %285 to i64
%287 = getelementptr inbounds i8, ptr %281, i64 %286
%288 = load i32, ptr %12, align 4
%289 = mul nsw i32 4, %288
%290 = sext i32 %289 to i64
%291 = getelementptr inbounds i8, ptr %287, i64 %290
store i32 %274, ptr %291, align 4
br label %292
292: ; preds = %269
%293 = load i32, ptr %12, align 4
%294 = add nsw i32 %293, 1
store i32 %294, ptr %12, align 4
%295 = load i32, ptr %12, align 4
%296 = icmp slt i32 %295, 32
br i1 %296, label %269, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %292
br label %297
297: ; preds = %._crit_edge3, %260
%298 = load ptr, ptr %6, align 8
%299 = load i32, ptr %13, align 4
%300 = sext i32 %299 to i64
%301 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %300
%302 = load i32, ptr %301, align 4
%303 = load i32, ptr %11, align 4
%304 = sext i32 %303 to i64
%305 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 %304
%306 = load i32, ptr %305, align 4
%307 = add i32 %302, %306
%308 = add i32 %307, 123
%309 = load i32, ptr %13, align 4
%310 = or i32 %309, 16
%311 = call i32 @write08(ptr noundef %298, i32 noundef %308, i32 noundef %310)
br label %312
312: ; preds = %297
%313 = load i32, ptr %11, align 4
%314 = add nsw i32 %313, 1
store i32 %314, ptr %11, align 4
%315 = load i32, ptr %11, align 4
%316 = icmp slt i32 %315, 4
br i1 %316, label %260, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %312
br label %317
317: ; preds = %._crit_edge6, %257
br label %318
318: ; preds = %317
%319 = load i32, ptr %13, align 4
%320 = add nsw i32 %319, 1
store i32 %320, ptr %13, align 4
%321 = load i32, ptr %13, align 4
%322 = icmp slt i32 %321, 3
br i1 %322, label %23, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %318
br label %323
323: ; preds = %._crit_edge9, %5
ret i32 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) #1
declare i32 @clock_gettime(i32 noundef, ptr noundef) #2
declare i32 @write08(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @write32(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @write16(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmprcbe2iei.c'
source_filename = "/tmp/tmprcbe2iei.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [20 x i32], align 16
%9 = alloca [20 x i32], align 16
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %7, align 4
br label %12
12: ; preds = %20, %0
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %23
16: ; preds = %12
%17 = load i32, ptr %7, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [20 x i32], ptr %9, i64 0, i64 %18
store i32 0, ptr %19, align 4
br label %20
20: ; preds = %16
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
br label %12, !llvm.loop !6
23: ; preds = %12
store i32 0, ptr %4, align 4
br label %24
24: ; preds = %34, %23
%25 = load i32, ptr %4, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %37
28: ; preds = %24
%29 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%30 = load i32, ptr %3, align 4
%31 = load i32, ptr %4, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %32
store i32 %30, ptr %33, align 4
br label %34
34: ; preds = %28
%35 = load i32, ptr %4, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %4, align 4
br label %24, !llvm.loop !8
37: ; preds = %24
store i32 0, ptr %5, align 4
br label %38
38: ; preds = %76, %37
%39 = load i32, ptr %5, align 4
%40 = load i32, ptr %2, align 4
%41 = sub nsw i32 %40, 1
%42 = icmp slt i32 %39, %41
br i1 %42, label %43, label %79
43: ; preds = %38
%44 = load i32, ptr %5, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %45
%47 = load i32, ptr %46, align 4
store i32 %47, ptr %10, align 4
%48 = load i32, ptr %5, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %6, align 4
br label %50
50: ; preds = %72, %43
%51 = load i32, ptr %6, align 4
%52 = load i32, ptr %2, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %54, label %75
54: ; preds = %50
%55 = load i32, ptr %10, align 4
%56 = load i32, ptr %6, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %57
%59 = load i32, ptr %58, align 4
%60 = icmp slt i32 %55, %59
br i1 %60, label %61, label %71
61: ; preds = %54
%62 = load i32, ptr %5, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [20 x i32], ptr %9, i64 0, i64 %63
%65 = load i32, ptr %64, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %64, align 4
%67 = load i32, ptr %6, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %68
%70 = load i32, ptr %69, align 4
store i32 %70, ptr %10, align 4
br label %71
71: ; preds = %61, %54
br label %72
72: ; preds = %71
%73 = load i32, ptr %6, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %6, align 4
br label %50, !llvm.loop !9
75: ; preds = %50
br label %76
76: ; preds = %75
%77 = load i32, ptr %5, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %5, align 4
br label %38, !llvm.loop !10
79: ; preds = %38
%80 = getelementptr inbounds [20 x i32], ptr %9, i64 0, i64 0
%81 = load i32, ptr %2, align 4
%82 = call i32 @max(ptr noundef %80, i32 noundef %81)
%83 = call i32 @printf(ptr noundef @.str, i32 noundef %82)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @max(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}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprcbe2iei.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [20 x i32], align 16
%9 = alloca [20 x i32], align 16
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %25
.lr.ph: ; preds = %0
br label %15
15: ; preds = %.lr.ph, %19
%16 = load i32, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [20 x i32], ptr %9, i64 0, i64 %17
store i32 0, ptr %18, align 4
br label %19
19: ; preds = %15
%20 = load i32, ptr %7, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %7, align 4
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %2, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %0
store i32 0, ptr %4, align 4
%26 = load i32, ptr %4, align 4
%27 = load i32, ptr %2, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %.lr.ph2, label %41
.lr.ph2: ; preds = %25
br label %29
29: ; preds = %.lr.ph2, %35
%30 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%31 = load i32, ptr %3, align 4
%32 = load i32, ptr %4, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %33
store i32 %31, ptr %34, align 4
br label %35
35: ; preds = %29
%36 = load i32, ptr %4, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %4, align 4
%38 = load i32, ptr %4, align 4
%39 = load i32, ptr %2, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %29, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %35
br label %41
41: ; preds = %._crit_edge3, %25
store i32 0, ptr %5, align 4
%42 = load i32, ptr %5, align 4
%43 = load i32, ptr %2, align 4
%44 = sub nsw i32 %43, 1
%45 = icmp slt i32 %42, %44
br i1 %45, label %.lr.ph8, label %88
.lr.ph8: ; preds = %41
br label %46
46: ; preds = %.lr.ph8, %81
%47 = load i32, ptr %5, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %48
%50 = load i32, ptr %49, align 4
store i32 %50, ptr %10, align 4
%51 = load i32, ptr %5, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %6, align 4
%53 = load i32, ptr %6, align 4
%54 = load i32, ptr %2, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %.lr.ph5, label %80
.lr.ph5: ; preds = %46
br label %56
56: ; preds = %.lr.ph5, %74
%57 = load i32, ptr %10, align 4
%58 = load i32, ptr %6, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %59
%61 = load i32, ptr %60, align 4
%62 = icmp slt i32 %57, %61
br i1 %62, label %63, label %73
63: ; preds = %56
%64 = load i32, ptr %5, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [20 x i32], ptr %9, i64 0, i64 %65
%67 = load i32, ptr %66, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %66, align 4
%69 = load i32, ptr %6, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %70
%72 = load i32, ptr %71, align 4
store i32 %72, ptr %10, align 4
br label %73
73: ; preds = %63, %56
br label %74
74: ; preds = %73
%75 = load i32, ptr %6, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %6, align 4
%77 = load i32, ptr %6, align 4
%78 = load i32, ptr %2, align 4
%79 = icmp slt i32 %77, %78
br i1 %79, label %56, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %74
br label %80
80: ; preds = %._crit_edge6, %46
br label %81
81: ; preds = %80
%82 = load i32, ptr %5, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %5, align 4
%84 = load i32, ptr %5, align 4
%85 = load i32, ptr %2, align 4
%86 = sub nsw i32 %85, 1
%87 = icmp slt i32 %84, %86
br i1 %87, label %46, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %81
br label %88
88: ; preds = %._crit_edge9, %41
%89 = getelementptr inbounds [20 x i32], ptr %9, i64 0, i64 0
%90 = load i32, ptr %2, align 4
%91 = call i32 @max(ptr noundef %89, i32 noundef %90)
%92 = call i32 @printf(ptr noundef @.str, i32 noundef %91)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @max(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}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmprg7hivni.c'
source_filename = "/tmp/tmprg7hivni.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @plugin_api_infolist_option_cb(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = call ptr @infolist_new(ptr noundef null)
store ptr %14, ptr %10, align 8
%15 = load ptr, ptr %10, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %18, label %17
17: ; preds = %4
store ptr null, ptr %5, align 8
br label %28
18: ; preds = %4
%19 = load ptr, ptr %10, align 8
%20 = load ptr, ptr %9, align 8
%21 = call i32 @config_file_add_to_infolist(ptr noundef %19, ptr noundef %20)
%22 = icmp ne i32 %21, 0
br i1 %22, label %26, label %23
23: ; preds = %18
%24 = load ptr, ptr %10, align 8
%25 = call i32 @infolist_free(ptr noundef %24)
store ptr null, ptr %5, align 8
br label %28
26: ; preds = %18
%27 = load ptr, ptr %10, align 8
store ptr %27, ptr %5, align 8
br label %28
28: ; preds = %26, %23, %17
%29 = load ptr, ptr %5, align 8
ret ptr %29
}
declare ptr @infolist_new(ptr noundef) #1
declare i32 @config_file_add_to_infolist(ptr noundef, ptr noundef) #1
declare i32 @infolist_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/tmprg7hivni.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @plugin_api_infolist_option_cb(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = call ptr @infolist_new(ptr noundef null)
store ptr %14, ptr %10, align 8
%15 = load ptr, ptr %10, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %18, label %17
17: ; preds = %4
store ptr null, ptr %5, align 8
br label %28
18: ; preds = %4
%19 = load ptr, ptr %10, align 8
%20 = load ptr, ptr %9, align 8
%21 = call i32 @config_file_add_to_infolist(ptr noundef %19, ptr noundef %20)
%22 = icmp ne i32 %21, 0
br i1 %22, label %26, label %23
23: ; preds = %18
%24 = load ptr, ptr %10, align 8
%25 = call i32 @infolist_free(ptr noundef %24)
store ptr null, ptr %5, align 8
br label %28
26: ; preds = %18
%27 = load ptr, ptr %10, align 8
store ptr %27, ptr %5, align 8
br label %28
28: ; preds = %26, %23, %17
%29 = load ptr, ptr %5, align 8
ret ptr %29
}
declare ptr @infolist_new(ptr noundef) #1
declare i32 @config_file_add_to_infolist(ptr noundef, ptr noundef) #1
declare i32 @infolist_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/tmp1ax835ph.c'
source_filename = "/tmp/tmp1ax835ph.c"
target datalayout = "e-m:e-p270: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/tmp1ax835ph.c"
target datalayout = "e-m:e-p270: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/tmpm00qeyj7.c'
source_filename = "/tmp/tmpm00qeyj7.c"
target datalayout = "e-m:e-p270: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/tmpm00qeyj7.c"
target datalayout = "e-m:e-p270: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/tmpakxsmv9l.c'
source_filename = "/tmp/tmpakxsmv9l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @myput2(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @putchar(i8 noundef signext %3)
%5 = load i8, ptr %2, align 1
%6 = call i32 @putchar(i8 noundef signext %5)
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpakxsmv9l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @myput2(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @putchar(i8 noundef signext %3)
%5 = load i8, ptr %2, align 1
%6 = call i32 @putchar(i8 noundef signext %5)
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"}
|
; ModuleID = '/tmp/tmpfz_rib1_.c'
source_filename = "/tmp/tmpfz_rib1_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @disini(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
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = call i32 @disinit(i32 noundef %7, i32 noundef %8, ptr noundef %9, i32 noundef -1)
ret i32 %10
}
declare i32 @disinit(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfz_rib1_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @disini(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
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = call i32 @disinit(i32 noundef %7, i32 noundef %8, ptr noundef %9, i32 noundef -1)
ret i32 %10
}
declare i32 @disinit(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbeudg4se.c'
source_filename = "/tmp/tmpbeudg4se.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @get_code_freq(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = sitofp i32 %3 to double
%5 = fsub double %4, 5.800000e+01
%6 = fdiv double %5, 1.200000e+01
%7 = fptosi double %6 to i32
%8 = call double @pow(double noundef 2.000000e+00, i32 noundef %7)
%9 = fmul double %8, 2.616300e+02
ret double %9
}
declare double @pow(double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbeudg4se.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @get_code_freq(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = sitofp i32 %3 to double
%5 = fsub double %4, 5.800000e+01
%6 = fdiv double %5, 1.200000e+01
%7 = fptosi double %6 to i32
%8 = call double @pow(double noundef 2.000000e+00, i32 noundef %7)
%9 = fmul double %8, 2.616300e+02
ret double %9
}
declare double @pow(double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_12wwam_.c'
source_filename = "/tmp/tmp_12wwam_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"[\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%s, \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printTab(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %19, %2
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = sub nsw i32 %9, 1
%11 = icmp slt i32 %8, %10
br i1 %11, label %12, label %22
12: ; preds = %7
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds ptr, ptr %13, i64 %15
%17 = load ptr, ptr %16, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %17)
br label %19
19: ; preds = %12
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
br label %7, !llvm.loop !6
22: ; preds = %7
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %4, align 4
%25 = sub nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %23, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %28)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_12wwam_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"[\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%s, \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printTab(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = sub nsw i32 %8, 1
%10 = icmp slt i32 %7, %9
br i1 %10, label %.lr.ph, label %25
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %18
%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 (ptr, ...) @printf(ptr noundef @.str.1, 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
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %4, align 4
%23 = sub nsw i32 %22, 1
%24 = icmp slt i32 %21, %23
br i1 %24, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %25
25: ; preds = %._crit_edge, %2
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %4, align 4
%28 = sub nsw i32 %27, 1
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds ptr, ptr %26, i64 %29
%31 = load ptr, ptr %30, align 8
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %31)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpzn13f52d.c'
source_filename = "/tmp/tmpzn13f52d.c"
target datalayout = "e-m:e-p270: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/tmpzn13f52d.c"
target datalayout = "e-m:e-p270: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/tmpqnk0n96h.c'
source_filename = "/tmp/tmpqnk0n96h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [100 x i32], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = getelementptr inbounds [100 x i32], ptr %6, i64 0, i64 0
%8 = call i32 @f(ptr noundef %7, i32 noundef 100)
ret i32 0
}
declare i32 @f(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/tmpqnk0n96h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [100 x i32], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = getelementptr inbounds [100 x i32], ptr %6, i64 0, i64 0
%8 = call i32 @f(ptr noundef %7, i32 noundef 100)
ret i32 0
}
declare i32 @f(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/tmpygipdxm_.c'
source_filename = "/tmp/tmpygipdxm_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inet6_opt_set_val(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
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
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i32, ptr %9, i64 %11
%13 = load ptr, ptr %7, align 8
%14 = load i32, ptr %8, align 4
%15 = call i32 @memcpy(ptr noundef %12, ptr noundef %13, i32 noundef %14)
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %8, align 4
%18 = add nsw i32 %16, %17
ret i32 %18
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpygipdxm_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inet6_opt_set_val(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
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
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i32, ptr %9, i64 %11
%13 = load ptr, ptr %7, align 8
%14 = load i32, ptr %8, align 4
%15 = call i32 @memcpy(ptr noundef %12, ptr noundef %13, i32 noundef %14)
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %8, align 4
%18 = add nsw i32 %16, %17
ret i32 %18
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqq91j5zn.c'
source_filename = "/tmp/tmpqq91j5zn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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".chr\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c".clr\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"Writing output files %s, %s...\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.4 = private unnamed_addr constant [29 x i8] c"ERROR: Could not create %s.\0A\00", align 1
@.str.5 = private unnamed_addr constant [37 x i8] c"ERROR: Failed writing %s and/or %s.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @writeCharset(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
store ptr null, ptr %10, align 8
store ptr null, ptr %11, align 8
store ptr null, ptr %12, align 8
store ptr null, ptr %13, align 8
%14 = load ptr, ptr %7, align 8
%15 = call ptr @append(ptr noundef %14, ptr noundef @.str)
store ptr %15, ptr %10, align 8
%16 = load ptr, ptr %7, align 8
%17 = call ptr @append(ptr noundef %16, ptr noundef @.str.1)
store ptr %17, ptr %11, align 8
%18 = load i32, ptr %8, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %24
20: ; preds = %4
%21 = load ptr, ptr %10, align 8
%22 = load ptr, ptr %11, align 8
%23 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %21, ptr noundef %22)
br label %24
24: ; preds = %20, %4
%25 = load ptr, ptr %10, align 8
%26 = call ptr @fopen(ptr noundef %25, ptr noundef @.str.3)
store ptr %26, ptr %12, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %31, label %28
28: ; preds = %24
%29 = load ptr, ptr %10, align 8
%30 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %29)
store i32 31, ptr %9, align 4
br label %50
31: ; preds = %24
%32 = load ptr, ptr %11, align 8
%33 = call ptr @fopen(ptr noundef %32, ptr noundef @.str.3)
store ptr %33, ptr %13, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %38, label %35
35: ; preds = %31
%36 = load ptr, ptr %11, align 8
%37 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %36)
store i32 32, ptr %9, align 4
br label %50
38: ; preds = %31
%39 = load ptr, ptr %5, align 8
%40 = load ptr, ptr %6, align 8
%41 = load ptr, ptr %12, align 8
%42 = load ptr, ptr %13, align 8
%43 = call i32 @charsetProcessorWrite(ptr noundef %39, ptr noundef %40, ptr noundef %41, ptr noundef %42)
store i32 %43, ptr %9, align 4
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %49
45: ; preds = %38
%46 = load ptr, ptr %10, align 8
%47 = load ptr, ptr %11, align 8
%48 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %46, ptr noundef %47)
br label %50
49: ; preds = %38
br label %50
50: ; preds = %49, %45, %35, %28
%51 = load ptr, ptr %10, align 8
%52 = icmp ne ptr %51, null
br i1 %52, label %53, label %56
53: ; preds = %50
%54 = load ptr, ptr %10, align 8
%55 = call i32 @free(ptr noundef %54)
br label %56
56: ; preds = %53, %50
%57 = load ptr, ptr %11, align 8
%58 = icmp ne ptr %57, null
br i1 %58, label %59, label %62
59: ; preds = %56
%60 = load ptr, ptr %11, align 8
%61 = call i32 @free(ptr noundef %60)
br label %62
62: ; preds = %59, %56
%63 = load ptr, ptr %12, align 8
%64 = icmp ne ptr %63, null
br i1 %64, label %65, label %68
65: ; preds = %62
%66 = load ptr, ptr %12, align 8
%67 = call i32 @fclose(ptr noundef %66)
br label %68
68: ; preds = %65, %62
%69 = load ptr, ptr %13, align 8
%70 = icmp ne ptr %69, null
br i1 %70, label %71, label %74
71: ; preds = %68
%72 = load ptr, ptr %13, align 8
%73 = call i32 @fclose(ptr noundef %72)
br label %74
74: ; preds = %71, %68
%75 = load i32, ptr %9, align 4
ret i32 %75
}
declare ptr @append(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @charsetProcessorWrite(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(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/tmpqq91j5zn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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".chr\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c".clr\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"Writing output files %s, %s...\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.4 = private unnamed_addr constant [29 x i8] c"ERROR: Could not create %s.\0A\00", align 1
@.str.5 = private unnamed_addr constant [37 x i8] c"ERROR: Failed writing %s and/or %s.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @writeCharset(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
store ptr null, ptr %10, align 8
store ptr null, ptr %11, align 8
store ptr null, ptr %12, align 8
store ptr null, ptr %13, align 8
%14 = load ptr, ptr %7, align 8
%15 = call ptr @append(ptr noundef %14, ptr noundef @.str)
store ptr %15, ptr %10, align 8
%16 = load ptr, ptr %7, align 8
%17 = call ptr @append(ptr noundef %16, ptr noundef @.str.1)
store ptr %17, ptr %11, align 8
%18 = load i32, ptr %8, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %24
20: ; preds = %4
%21 = load ptr, ptr %10, align 8
%22 = load ptr, ptr %11, align 8
%23 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %21, ptr noundef %22)
br label %24
24: ; preds = %20, %4
%25 = load ptr, ptr %10, align 8
%26 = call ptr @fopen(ptr noundef %25, ptr noundef @.str.3)
store ptr %26, ptr %12, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %31, label %28
28: ; preds = %24
%29 = load ptr, ptr %10, align 8
%30 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %29)
store i32 31, ptr %9, align 4
br label %50
31: ; preds = %24
%32 = load ptr, ptr %11, align 8
%33 = call ptr @fopen(ptr noundef %32, ptr noundef @.str.3)
store ptr %33, ptr %13, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %38, label %35
35: ; preds = %31
%36 = load ptr, ptr %11, align 8
%37 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %36)
store i32 32, ptr %9, align 4
br label %50
38: ; preds = %31
%39 = load ptr, ptr %5, align 8
%40 = load ptr, ptr %6, align 8
%41 = load ptr, ptr %12, align 8
%42 = load ptr, ptr %13, align 8
%43 = call i32 @charsetProcessorWrite(ptr noundef %39, ptr noundef %40, ptr noundef %41, ptr noundef %42)
store i32 %43, ptr %9, align 4
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %49
45: ; preds = %38
%46 = load ptr, ptr %10, align 8
%47 = load ptr, ptr %11, align 8
%48 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %46, ptr noundef %47)
br label %50
49: ; preds = %38
br label %50
50: ; preds = %49, %45, %35, %28
%51 = load ptr, ptr %10, align 8
%52 = icmp ne ptr %51, null
br i1 %52, label %53, label %56
53: ; preds = %50
%54 = load ptr, ptr %10, align 8
%55 = call i32 @free(ptr noundef %54)
br label %56
56: ; preds = %53, %50
%57 = load ptr, ptr %11, align 8
%58 = icmp ne ptr %57, null
br i1 %58, label %59, label %62
59: ; preds = %56
%60 = load ptr, ptr %11, align 8
%61 = call i32 @free(ptr noundef %60)
br label %62
62: ; preds = %59, %56
%63 = load ptr, ptr %12, align 8
%64 = icmp ne ptr %63, null
br i1 %64, label %65, label %68
65: ; preds = %62
%66 = load ptr, ptr %12, align 8
%67 = call i32 @fclose(ptr noundef %66)
br label %68
68: ; preds = %65, %62
%69 = load ptr, ptr %13, align 8
%70 = icmp ne ptr %69, null
br i1 %70, label %71, label %74
71: ; preds = %68
%72 = load ptr, ptr %13, align 8
%73 = call i32 @fclose(ptr noundef %72)
br label %74
74: ; preds = %71, %68
%75 = load i32, ptr %9, align 4
ret i32 %75
}
declare ptr @append(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @charsetProcessorWrite(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(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/tmpl2617gn4.c'
source_filename = "/tmp/tmpl2617gn4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"Welcome to the Municipal Registry\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"Menu:\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c" 1. Register birth.\0A\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c" 2. Register marriage.\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c" 3. Register divorce.\0A\00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c" 4. Register death.\0A\00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c" 5. Exit.\0A\00", align 1
@.str.7 = private unnamed_addr constant [38 x i8] c"Enter the index of the first person.\0A\00", align 1
@.str.8 = private unnamed_addr constant [39 x i8] c"Enter the index of the second person.\0A\00", align 1
@.str.9 = private unnamed_addr constant [39 x i8] c"One of the persons is already married.\00", align 1
@.str.10 = private unnamed_addr constant [35 x i8] c"Index out of bounds or same index.\00", align 1
@.str.11 = private unnamed_addr constant [27 x i8] c"Enter the husband's index.\00", align 1
@.str.12 = private unnamed_addr constant [27 x i8] c"The person is not married.\00", align 1
@.str.13 = private unnamed_addr constant [14 x i8] c"Invalid index\00", align 1
@.str.14 = private unnamed_addr constant [24 x i8] c"Enter a person's index.\00", align 1
@.str.15 = private unnamed_addr constant [15 x i8] c"Invalid index.\00", align 1
@.str.16 = private unnamed_addr constant [15 x i8] c"Invalid Choice\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 ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%23 = call ptr (...) @create_arraylist()
store ptr %23, ptr %2, align 8
%24 = call i32 @puts(ptr noundef @.str)
br label %25
25: ; preds = %0, %189
store i32 0, ptr %3, align 4
%26 = call i32 @puts(ptr noundef @.str.1)
%27 = call i32 @puts(ptr noundef @.str.2)
%28 = call i32 @puts(ptr noundef @.str.3)
%29 = call i32 @puts(ptr noundef @.str.4)
%30 = call i32 @puts(ptr noundef @.str.5)
%31 = call i32 @puts(ptr noundef @.str.6)
%32 = call i32 (...) @read_int()
store i32 %32, ptr %3, align 4
%33 = load i32, ptr %3, align 4
%34 = icmp eq i32 %33, 1
br i1 %34, label %35, label %40
35: ; preds = %25
%36 = call ptr (...) @create_person()
store ptr %36, ptr %4, align 8
%37 = load ptr, ptr %2, align 8
%38 = load ptr, ptr %4, align 8
%39 = call i32 @list_add(ptr noundef %37, ptr noundef %38)
br label %189
40: ; preds = %25
%41 = load i32, ptr %3, align 4
%42 = icmp eq i32 %41, 2
br i1 %42, label %43, label %93
43: ; preds = %40
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store ptr null, ptr %8, align 8
store ptr null, ptr %9, align 8
store ptr null, ptr %10, align 8
store ptr null, ptr %11, align 8
%44 = call i32 @puts(ptr noundef @.str.7)
%45 = call i32 (...) @read_int()
store i32 %45, ptr %5, align 4
%46 = call i32 @puts(ptr noundef @.str.8)
%47 = call i32 (...) @read_int()
store i32 %47, ptr %6, align 4
%48 = load ptr, ptr %2, align 8
%49 = call i32 @list_length(ptr noundef %48)
store i32 %49, ptr %7, align 4
%50 = load i32, ptr %5, align 4
%51 = icmp sle i32 0, %50
br i1 %51, label %52, label %90
52: ; preds = %43
%53 = load i32, ptr %5, align 4
%54 = load i32, ptr %7, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %56, label %90
56: ; preds = %52
%57 = load i32, ptr %6, align 4
%58 = icmp sle i32 0, %57
br i1 %58, label %59, label %90
59: ; preds = %56
%60 = load i32, ptr %6, align 4
%61 = load i32, ptr %7, align 4
%62 = icmp slt i32 %60, %61
br i1 %62, label %63, label %90
63: ; preds = %59
%64 = load i32, ptr %5, align 4
%65 = load i32, ptr %6, align 4
%66 = icmp ne i32 %64, %65
br i1 %66, label %67, label %90
67: ; preds = %63
%68 = load ptr, ptr %2, align 8
%69 = load i32, ptr %5, align 4
%70 = call ptr @list_get(ptr noundef %68, i32 noundef %69)
store ptr %70, ptr %8, align 8
%71 = load ptr, ptr %2, align 8
%72 = load i32, ptr %6, align 4
%73 = call ptr @list_get(ptr noundef %71, i32 noundef %72)
store ptr %73, ptr %9, align 8
%74 = load ptr, ptr %8, align 8
%75 = call ptr @person_get_spouse(ptr noundef %74)
store ptr %75, ptr %10, align 8
%76 = load ptr, ptr %9, align 8
%77 = call ptr @person_get_spouse(ptr noundef %76)
store ptr %77, ptr %11, align 8
%78 = load ptr, ptr %10, align 8
%79 = icmp eq ptr %78, null
br i1 %79, label %80, label %87
80: ; preds = %67
%81 = load ptr, ptr %11, align 8
%82 = icmp eq ptr %81, null
br i1 %82, label %83, label %87
83: ; preds = %80
%84 = load ptr, ptr %8, align 8
%85 = load ptr, ptr %9, align 8
%86 = call i32 @marry(ptr noundef %84, ptr noundef %85)
br label %89
87: ; preds = %80, %67
%88 = call i32 @puts(ptr noundef @.str.9)
br label %89
89: ; preds = %87, %83
br label %92
90: ; preds = %63, %59, %56, %52, %43
%91 = call i32 @puts(ptr noundef @.str.10)
br label %92
92: ; preds = %90, %89
br label %188
93: ; preds = %40
%94 = load i32, ptr %3, align 4
%95 = icmp eq i32 %94, 3
br i1 %95, label %96, label %124
96: ; preds = %93
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
store ptr null, ptr %14, align 8
store ptr null, ptr %15, align 8
%97 = call i32 @puts(ptr noundef @.str.11)
%98 = call i32 (...) @read_int()
store i32 %98, ptr %12, align 4
%99 = load ptr, ptr %2, align 8
%100 = call i32 @list_length(ptr noundef %99)
store i32 %100, ptr %13, align 4
%101 = load i32, ptr %12, align 4
%102 = icmp sle i32 0, %101
br i1 %102, label %103, label %121
103: ; preds = %96
%104 = load i32, ptr %12, align 4
%105 = load i32, ptr %13, align 4
%106 = icmp slt i32 %104, %105
br i1 %106, label %107, label %121
107: ; preds = %103
%108 = load ptr, ptr %2, align 8
%109 = load i32, ptr %12, align 4
%110 = call ptr @list_get(ptr noundef %108, i32 noundef %109)
store ptr %110, ptr %14, align 8
%111 = load ptr, ptr %14, align 8
%112 = call ptr @person_get_spouse(ptr noundef %111)
store ptr %112, ptr %15, align 8
%113 = load ptr, ptr %15, align 8
%114 = icmp ne ptr %113, null
br i1 %114, label %115, label %118
115: ; preds = %107
%116 = load ptr, ptr %14, align 8
%117 = call i32 @divorce(ptr noundef %116)
br label %120
118: ; preds = %107
%119 = call i32 @puts(ptr noundef @.str.12)
br label %120
120: ; preds = %118, %115
br label %123
121: ; preds = %103, %96
%122 = call i32 @puts(ptr noundef @.str.13)
br label %123
123: ; preds = %121, %120
br label %187
124: ; preds = %93
%125 = load i32, ptr %3, align 4
%126 = icmp eq i32 %125, 4
br i1 %126, label %127, label %160
127: ; preds = %124
store i32 0, ptr %16, align 4
store i32 0, ptr %17, align 4
store ptr null, ptr %18, align 8
store ptr null, ptr %19, align 8
%128 = call i32 @puts(ptr noundef @.str.14)
%129 = call i32 (...) @read_int()
store i32 %129, ptr %16, align 4
%130 = load ptr, ptr %2, align 8
%131 = call i32 @list_length(ptr noundef %130)
store i32 %131, ptr %17, align 4
%132 = load i32, ptr %16, align 4
%133 = icmp sle i32 0, %132
br i1 %133, label %134, label %157
134: ; preds = %127
%135 = load i32, ptr %16, align 4
%136 = load i32, ptr %17, align 4
%137 = icmp slt i32 %135, %136
br i1 %137, label %138, label %157
138: ; preds = %134
%139 = load ptr, ptr %2, align 8
%140 = load i32, ptr %16, align 4
%141 = call ptr @list_get(ptr noundef %139, i32 noundef %140)
store ptr %141, ptr %18, align 8
%142 = load ptr, ptr %2, align 8
%143 = load i32, ptr %16, align 4
%144 = call i32 @list_remove_nth(ptr noundef %142, i32 noundef %143)
%145 = load ptr, ptr %18, align 8
%146 = call ptr @person_get_spouse(ptr noundef %145)
store ptr %146, ptr %19, align 8
%147 = load ptr, ptr %19, align 8
%148 = icmp ne ptr %147, null
br i1 %148, label %149, label %150
149: ; preds = %138
br label %150
150: ; preds = %149, %138
%151 = load ptr, ptr %18, align 8
%152 = call i32 @die(ptr noundef %151)
%153 = load ptr, ptr %19, align 8
%154 = icmp ne ptr %153, null
br i1 %154, label %155, label %156
155: ; preds = %150
br label %156
156: ; preds = %155, %150
br label %159
157: ; preds = %134, %127
%158 = call i32 @puts(ptr noundef @.str.15)
br label %159
159: ; preds = %157, %156
br label %186
160: ; preds = %124
%161 = load i32, ptr %3, align 4
%162 = icmp eq i32 %161, 5
br i1 %162, label %163, label %183
163: ; preds = %160
%164 = load ptr, ptr %2, align 8
%165 = call i32 @list_length(ptr noundef %164)
store i32 %165, ptr %20, align 4
br label %166
166: ; preds = %169, %163
%167 = load i32, ptr %20, align 4
%168 = icmp ne i32 %167, 0
br i1 %168, label %169, label %180
169: ; preds = %166
%170 = load ptr, ptr %2, align 8
%171 = call ptr @list_get(ptr noundef %170, i32 noundef 0)
store ptr %171, ptr %21, align 8
store ptr null, ptr %22, align 8
%172 = load ptr, ptr %2, align 8
%173 = call i32 @list_remove_nth(ptr noundef %172, i32 noundef 0)
%174 = load ptr, ptr %21, align 8
%175 = call ptr @person_get_spouse(ptr noundef %174)
store ptr %175, ptr %22, align 8
%176 = load ptr, ptr %21, align 8
%177 = call i32 @die(ptr noundef %176)
%178 = load ptr, ptr %2, align 8
%179 = call i32 @list_length(ptr noundef %178)
store i32 %179, ptr %20, align 4
br label %166, !llvm.loop !6
180: ; preds = %166
%181 = load ptr, ptr %2, align 8
%182 = call i32 @list_dispose(ptr noundef %181)
ret i32 0
183: ; preds = %160
%184 = call i32 @puts(ptr noundef @.str.16)
br label %185
185: ; preds = %183
br label %186
186: ; preds = %185, %159
br label %187
187: ; preds = %186, %123
br label %188
188: ; preds = %187, %92
br label %189
189: ; preds = %188, %35
br label %25
}
declare ptr @create_arraylist(...) #1
declare i32 @puts(ptr noundef) #1
declare i32 @read_int(...) #1
declare ptr @create_person(...) #1
declare i32 @list_add(ptr noundef, ptr noundef) #1
declare i32 @list_length(ptr noundef) #1
declare ptr @list_get(ptr noundef, i32 noundef) #1
declare ptr @person_get_spouse(ptr noundef) #1
declare i32 @marry(ptr noundef, ptr noundef) #1
declare i32 @divorce(ptr noundef) #1
declare i32 @list_remove_nth(ptr noundef, i32 noundef) #1
declare i32 @die(ptr noundef) #1
declare i32 @list_dispose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpl2617gn4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"Welcome to the Municipal Registry\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"Menu:\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c" 1. Register birth.\0A\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c" 2. Register marriage.\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c" 3. Register divorce.\0A\00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c" 4. Register death.\0A\00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c" 5. Exit.\0A\00", align 1
@.str.7 = private unnamed_addr constant [38 x i8] c"Enter the index of the first person.\0A\00", align 1
@.str.8 = private unnamed_addr constant [39 x i8] c"Enter the index of the second person.\0A\00", align 1
@.str.9 = private unnamed_addr constant [39 x i8] c"One of the persons is already married.\00", align 1
@.str.10 = private unnamed_addr constant [35 x i8] c"Index out of bounds or same index.\00", align 1
@.str.11 = private unnamed_addr constant [27 x i8] c"Enter the husband's index.\00", align 1
@.str.12 = private unnamed_addr constant [27 x i8] c"The person is not married.\00", align 1
@.str.13 = private unnamed_addr constant [14 x i8] c"Invalid index\00", align 1
@.str.14 = private unnamed_addr constant [24 x i8] c"Enter a person's index.\00", align 1
@.str.15 = private unnamed_addr constant [15 x i8] c"Invalid index.\00", align 1
@.str.16 = private unnamed_addr constant [15 x i8] c"Invalid Choice\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 ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%23 = call ptr (...) @create_arraylist()
store ptr %23, ptr %2, align 8
%24 = call i32 @puts(ptr noundef @.str)
br label %25
25: ; preds = %190, %0
store i32 0, ptr %3, align 4
%26 = call i32 @puts(ptr noundef @.str.1)
%27 = call i32 @puts(ptr noundef @.str.2)
%28 = call i32 @puts(ptr noundef @.str.3)
%29 = call i32 @puts(ptr noundef @.str.4)
%30 = call i32 @puts(ptr noundef @.str.5)
%31 = call i32 @puts(ptr noundef @.str.6)
%32 = call i32 (...) @read_int()
store i32 %32, ptr %3, align 4
%33 = load i32, ptr %3, align 4
%34 = icmp eq i32 %33, 1
br i1 %34, label %35, label %40
35: ; preds = %25
%36 = call ptr (...) @create_person()
store ptr %36, ptr %4, align 8
%37 = load ptr, ptr %2, align 8
%38 = load ptr, ptr %4, align 8
%39 = call i32 @list_add(ptr noundef %37, ptr noundef %38)
br label %190
40: ; preds = %25
%41 = load i32, ptr %3, align 4
%42 = icmp eq i32 %41, 2
br i1 %42, label %43, label %93
43: ; preds = %40
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store ptr null, ptr %8, align 8
store ptr null, ptr %9, align 8
store ptr null, ptr %10, align 8
store ptr null, ptr %11, align 8
%44 = call i32 @puts(ptr noundef @.str.7)
%45 = call i32 (...) @read_int()
store i32 %45, ptr %5, align 4
%46 = call i32 @puts(ptr noundef @.str.8)
%47 = call i32 (...) @read_int()
store i32 %47, ptr %6, align 4
%48 = load ptr, ptr %2, align 8
%49 = call i32 @list_length(ptr noundef %48)
store i32 %49, ptr %7, align 4
%50 = load i32, ptr %5, align 4
%51 = icmp sle i32 0, %50
br i1 %51, label %52, label %90
52: ; preds = %43
%53 = load i32, ptr %5, align 4
%54 = load i32, ptr %7, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %56, label %90
56: ; preds = %52
%57 = load i32, ptr %6, align 4
%58 = icmp sle i32 0, %57
br i1 %58, label %59, label %90
59: ; preds = %56
%60 = load i32, ptr %6, align 4
%61 = load i32, ptr %7, align 4
%62 = icmp slt i32 %60, %61
br i1 %62, label %63, label %90
63: ; preds = %59
%64 = load i32, ptr %5, align 4
%65 = load i32, ptr %6, align 4
%66 = icmp ne i32 %64, %65
br i1 %66, label %67, label %90
67: ; preds = %63
%68 = load ptr, ptr %2, align 8
%69 = load i32, ptr %5, align 4
%70 = call ptr @list_get(ptr noundef %68, i32 noundef %69)
store ptr %70, ptr %8, align 8
%71 = load ptr, ptr %2, align 8
%72 = load i32, ptr %6, align 4
%73 = call ptr @list_get(ptr noundef %71, i32 noundef %72)
store ptr %73, ptr %9, align 8
%74 = load ptr, ptr %8, align 8
%75 = call ptr @person_get_spouse(ptr noundef %74)
store ptr %75, ptr %10, align 8
%76 = load ptr, ptr %9, align 8
%77 = call ptr @person_get_spouse(ptr noundef %76)
store ptr %77, ptr %11, align 8
%78 = load ptr, ptr %10, align 8
%79 = icmp eq ptr %78, null
br i1 %79, label %80, label %87
80: ; preds = %67
%81 = load ptr, ptr %11, align 8
%82 = icmp eq ptr %81, null
br i1 %82, label %83, label %87
83: ; preds = %80
%84 = load ptr, ptr %8, align 8
%85 = load ptr, ptr %9, align 8
%86 = call i32 @marry(ptr noundef %84, ptr noundef %85)
br label %89
87: ; preds = %80, %67
%88 = call i32 @puts(ptr noundef @.str.9)
br label %89
89: ; preds = %87, %83
br label %92
90: ; preds = %63, %59, %56, %52, %43
%91 = call i32 @puts(ptr noundef @.str.10)
br label %92
92: ; preds = %90, %89
br label %189
93: ; preds = %40
%94 = load i32, ptr %3, align 4
%95 = icmp eq i32 %94, 3
br i1 %95, label %96, label %124
96: ; preds = %93
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
store ptr null, ptr %14, align 8
store ptr null, ptr %15, align 8
%97 = call i32 @puts(ptr noundef @.str.11)
%98 = call i32 (...) @read_int()
store i32 %98, ptr %12, align 4
%99 = load ptr, ptr %2, align 8
%100 = call i32 @list_length(ptr noundef %99)
store i32 %100, ptr %13, align 4
%101 = load i32, ptr %12, align 4
%102 = icmp sle i32 0, %101
br i1 %102, label %103, label %121
103: ; preds = %96
%104 = load i32, ptr %12, align 4
%105 = load i32, ptr %13, align 4
%106 = icmp slt i32 %104, %105
br i1 %106, label %107, label %121
107: ; preds = %103
%108 = load ptr, ptr %2, align 8
%109 = load i32, ptr %12, align 4
%110 = call ptr @list_get(ptr noundef %108, i32 noundef %109)
store ptr %110, ptr %14, align 8
%111 = load ptr, ptr %14, align 8
%112 = call ptr @person_get_spouse(ptr noundef %111)
store ptr %112, ptr %15, align 8
%113 = load ptr, ptr %15, align 8
%114 = icmp ne ptr %113, null
br i1 %114, label %115, label %118
115: ; preds = %107
%116 = load ptr, ptr %14, align 8
%117 = call i32 @divorce(ptr noundef %116)
br label %120
118: ; preds = %107
%119 = call i32 @puts(ptr noundef @.str.12)
br label %120
120: ; preds = %118, %115
br label %123
121: ; preds = %103, %96
%122 = call i32 @puts(ptr noundef @.str.13)
br label %123
123: ; preds = %121, %120
br label %188
124: ; preds = %93
%125 = load i32, ptr %3, align 4
%126 = icmp eq i32 %125, 4
br i1 %126, label %127, label %160
127: ; preds = %124
store i32 0, ptr %16, align 4
store i32 0, ptr %17, align 4
store ptr null, ptr %18, align 8
store ptr null, ptr %19, align 8
%128 = call i32 @puts(ptr noundef @.str.14)
%129 = call i32 (...) @read_int()
store i32 %129, ptr %16, align 4
%130 = load ptr, ptr %2, align 8
%131 = call i32 @list_length(ptr noundef %130)
store i32 %131, ptr %17, align 4
%132 = load i32, ptr %16, align 4
%133 = icmp sle i32 0, %132
br i1 %133, label %134, label %157
134: ; preds = %127
%135 = load i32, ptr %16, align 4
%136 = load i32, ptr %17, align 4
%137 = icmp slt i32 %135, %136
br i1 %137, label %138, label %157
138: ; preds = %134
%139 = load ptr, ptr %2, align 8
%140 = load i32, ptr %16, align 4
%141 = call ptr @list_get(ptr noundef %139, i32 noundef %140)
store ptr %141, ptr %18, align 8
%142 = load ptr, ptr %2, align 8
%143 = load i32, ptr %16, align 4
%144 = call i32 @list_remove_nth(ptr noundef %142, i32 noundef %143)
%145 = load ptr, ptr %18, align 8
%146 = call ptr @person_get_spouse(ptr noundef %145)
store ptr %146, ptr %19, align 8
%147 = load ptr, ptr %19, align 8
%148 = icmp ne ptr %147, null
br i1 %148, label %149, label %150
149: ; preds = %138
br label %150
150: ; preds = %149, %138
%151 = load ptr, ptr %18, align 8
%152 = call i32 @die(ptr noundef %151)
%153 = load ptr, ptr %19, align 8
%154 = icmp ne ptr %153, null
br i1 %154, label %155, label %156
155: ; preds = %150
br label %156
156: ; preds = %155, %150
br label %159
157: ; preds = %134, %127
%158 = call i32 @puts(ptr noundef @.str.15)
br label %159
159: ; preds = %157, %156
br label %187
160: ; preds = %124
%161 = load i32, ptr %3, align 4
%162 = icmp eq i32 %161, 5
br i1 %162, label %163, label %184
163: ; preds = %160
%164 = load ptr, ptr %2, align 8
%165 = call i32 @list_length(ptr noundef %164)
store i32 %165, ptr %20, align 4
%166 = load i32, ptr %20, align 4
%167 = icmp ne i32 %166, 0
br i1 %167, label %.lr.ph, label %181
.lr.ph: ; preds = %163
br label %168
168: ; preds = %.lr.ph, %168
%169 = load ptr, ptr %2, align 8
%170 = call ptr @list_get(ptr noundef %169, i32 noundef 0)
store ptr %170, ptr %21, align 8
store ptr null, ptr %22, align 8
%171 = load ptr, ptr %2, align 8
%172 = call i32 @list_remove_nth(ptr noundef %171, i32 noundef 0)
%173 = load ptr, ptr %21, align 8
%174 = call ptr @person_get_spouse(ptr noundef %173)
store ptr %174, ptr %22, align 8
%175 = load ptr, ptr %21, align 8
%176 = call i32 @die(ptr noundef %175)
%177 = load ptr, ptr %2, align 8
%178 = call i32 @list_length(ptr noundef %177)
store i32 %178, ptr %20, align 4
%179 = load i32, ptr %20, align 4
%180 = icmp ne i32 %179, 0
br i1 %180, label %168, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %168
br label %181
181: ; preds = %._crit_edge, %163
%182 = load ptr, ptr %2, align 8
%183 = call i32 @list_dispose(ptr noundef %182)
ret i32 0
184: ; preds = %160
%185 = call i32 @puts(ptr noundef @.str.16)
br label %186
186: ; preds = %184
br label %187
187: ; preds = %186, %159
br label %188
188: ; preds = %187, %123
br label %189
189: ; preds = %188, %92
br label %190
190: ; preds = %189, %35
br label %25
}
declare ptr @create_arraylist(...) #1
declare i32 @puts(ptr noundef) #1
declare i32 @read_int(...) #1
declare ptr @create_person(...) #1
declare i32 @list_add(ptr noundef, ptr noundef) #1
declare i32 @list_length(ptr noundef) #1
declare ptr @list_get(ptr noundef, i32 noundef) #1
declare ptr @person_get_spouse(ptr noundef) #1
declare i32 @marry(ptr noundef, ptr noundef) #1
declare i32 @divorce(ptr noundef) #1
declare i32 @list_remove_nth(ptr noundef, i32 noundef) #1
declare i32 @die(ptr noundef) #1
declare i32 @list_dispose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpngqh6j0h.c'
source_filename = "/tmp/tmpngqh6j0h.c"
target datalayout = "e-m:e-p270: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/tmpngqh6j0h.c"
target datalayout = "e-m:e-p270: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/tmprgom9xc7.c'
source_filename = "/tmp/tmprgom9xc7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"sizeof int:%zu, &a:%p, &ch:%p\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 -1, ptr %6, align 4
store i8 97, ptr %7, align 1
%8 = call i32 @printf(ptr noundef @.str, i32 noundef 4, ptr noundef %6, ptr noundef %7)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprgom9xc7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"sizeof int:%zu, &a:%p, &ch:%p\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 -1, ptr %6, align 4
store i8 97, ptr %7, align 1
%8 = call i32 @printf(ptr noundef @.str, i32 noundef 4, ptr noundef %6, ptr noundef %7)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3p18x5vr.c'
source_filename = "/tmp/tmp3p18x5vr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global i32 0, align 4
@TRUE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @end() #0 {
%1 = load i32, ptr @stdscr, align 4
%2 = load i32, ptr @TRUE, align 4
%3 = call i32 @keypad(i32 noundef %1, i32 noundef %2)
ret void
}
declare i32 @keypad(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/tmp3p18x5vr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global i32 0, align 4
@TRUE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @end() #0 {
%1 = load i32, ptr @stdscr, align 4
%2 = load i32, ptr @TRUE, align 4
%3 = call i32 @keypad(i32 noundef %1, i32 noundef %2)
ret void
}
declare i32 @keypad(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/tmpr5clnqhf.c'
source_filename = "/tmp/tmpr5clnqhf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DT_DIR = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr5clnqhf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DT_DIR = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn7lkibkw.c'
source_filename = "/tmp/tmpn7lkibkw.c"
target datalayout = "e-m:e-p270: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/tmpn7lkibkw.c"
target datalayout = "e-m:e-p270: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/tmplyjhonfs.c'
source_filename = "/tmp/tmplyjhonfs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @minCoins(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
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = 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
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, 1
%17 = call ptr @calloc(i32 noundef 4, i32 noundef %16)
store ptr %17, ptr %7, align 8
%18 = load i32, ptr %6, align 4
%19 = call ptr @calloc(i32 noundef 4, i32 noundef %18)
store ptr %19, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %20
20: ; preds = %33, %3
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %24, label %36
24: ; preds = %20
%25 = load i32, ptr %9, align 4
%26 = icmp ne i32 %25, 0
%27 = zext i1 %26 to i64
%28 = select i1 %26, i32 -1, i32 0
%29 = load ptr, ptr %7, align 8
%30 = load i32, ptr %9, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %29, i64 %31
store i32 %28, ptr %32, align 4
br label %33
33: ; preds = %24
%34 = load i32, ptr %9, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %9, align 4
br label %20, !llvm.loop !6
36: ; preds = %20
store i32 1, ptr %10, align 4
br label %37
37: ; preds = %93, %36
%38 = load i32, ptr %10, align 4
%39 = load i32, ptr %4, align 4
%40 = icmp sle i32 %38, %39
br i1 %40, label %41, label %96
41: ; preds = %37
store i32 0, ptr %11, align 4
br label %42
42: ; preds = %52, %41
%43 = load i32, ptr %11, align 4
%44 = load i32, ptr %6, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %46, label %55
46: ; preds = %42
%47 = load i32, ptr @INT_MAX, align 4
%48 = load ptr, ptr %8, align 8
%49 = load i32, ptr %11, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %48, i64 %50
store i32 %47, ptr %51, align 4
br label %52
52: ; preds = %46
%53 = load i32, ptr %11, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %11, align 4
br label %42, !llvm.loop !8
55: ; preds = %42
store i32 0, ptr %12, align 4
br label %56
56: ; preds = %82, %55
%57 = load i32, ptr %12, align 4
%58 = load i32, ptr %6, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %60, label %85
60: ; preds = %56
%61 = load i32, ptr %10, align 4
%62 = load ptr, ptr %5, align 8
%63 = load i32, ptr %12, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i32, ptr %62, i64 %64
%66 = load i32, ptr %65, align 4
%67 = sub nsw i32 %61, %66
store i32 %67, ptr %13, align 4
%68 = load i32, ptr %13, align 4
%69 = icmp slt i32 %68, 0
br i1 %69, label %70, label %71
70: ; preds = %60
br label %85
71: ; preds = %60
%72 = load ptr, ptr %7, align 8
%73 = load i32, ptr %13, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i32, ptr %72, i64 %74
%76 = load i32, ptr %75, align 4
%77 = add nsw i32 %76, 1
%78 = load ptr, ptr %8, align 8
%79 = load i32, ptr %12, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i32, ptr %78, i64 %80
store i32 %77, ptr %81, align 4
br label %82
82: ; preds = %71
%83 = load i32, ptr %12, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %12, align 4
br label %56, !llvm.loop !9
85: ; preds = %70, %56
%86 = load ptr, ptr %8, align 8
%87 = load i32, ptr %6, align 4
%88 = call i32 @array_min(ptr noundef %86, i32 noundef %87)
%89 = load ptr, ptr %7, align 8
%90 = load i32, ptr %10, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i32, ptr %89, i64 %91
store i32 %88, ptr %92, align 4
br label %93
93: ; preds = %85
%94 = load i32, ptr %10, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %10, align 4
br label %37, !llvm.loop !10
96: ; preds = %37
%97 = load ptr, ptr %7, align 8
%98 = load i32, ptr %4, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i32, ptr %97, i64 %99
%101 = load i32, ptr %100, align 4
store i32 %101, ptr %14, align 4
%102 = load ptr, ptr %8, align 8
%103 = call i32 @free(ptr noundef %102)
%104 = load ptr, ptr %7, align 8
%105 = call i32 @free(ptr noundef %104)
%106 = load i32, ptr %14, align 4
ret i32 %106
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @array_min(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplyjhonfs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @minCoins(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
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = 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
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, 1
%17 = call ptr @calloc(i32 noundef 4, i32 noundef %16)
store ptr %17, ptr %7, align 8
%18 = load i32, ptr %6, align 4
%19 = call ptr @calloc(i32 noundef 4, i32 noundef %18)
store ptr %19, ptr %8, align 8
store i32 0, ptr %9, align 4
%20 = load i32, ptr %9, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp sle i32 %20, %21
br i1 %22, label %.lr.ph, label %38
.lr.ph: ; preds = %3
br label %23
23: ; preds = %.lr.ph, %32
%24 = load i32, ptr %9, align 4
%25 = icmp ne i32 %24, 0
%26 = zext i1 %25 to i64
%27 = select i1 %25, i32 -1, i32 0
%28 = load ptr, ptr %7, align 8
%29 = load i32, ptr %9, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
store i32 %27, ptr %31, align 4
br label %32
32: ; preds = %23
%33 = load i32, ptr %9, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %9, align 4
%35 = load i32, ptr %9, align 4
%36 = load i32, ptr %4, align 4
%37 = icmp sle i32 %35, %36
br i1 %37, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %38
38: ; preds = %._crit_edge, %3
store i32 1, ptr %10, align 4
%39 = load i32, ptr %10, align 4
%40 = load i32, ptr %4, align 4
%41 = icmp sle i32 %39, %40
br i1 %41, label %.lr.ph7, label %104
.lr.ph7: ; preds = %38
br label %42
42: ; preds = %.lr.ph7, %98
store i32 0, ptr %11, align 4
%43 = load i32, ptr %11, align 4
%44 = load i32, ptr %6, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %.lr.ph2, label %58
.lr.ph2: ; preds = %42
br label %46
46: ; preds = %.lr.ph2, %52
%47 = load i32, ptr @INT_MAX, align 4
%48 = load ptr, ptr %8, align 8
%49 = load i32, ptr %11, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %48, i64 %50
store i32 %47, ptr %51, align 4
br label %52
52: ; preds = %46
%53 = load i32, ptr %11, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %11, align 4
%55 = load i32, ptr %11, align 4
%56 = load i32, ptr %6, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %46, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %58
58: ; preds = %._crit_edge3, %42
store i32 0, ptr %12, align 4
%59 = load i32, ptr %12, align 4
%60 = load i32, ptr %6, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %.lr.ph5, label %.loopexit
.lr.ph5: ; preds = %58
br label %62
62: ; preds = %.lr.ph5, %84
%63 = load i32, ptr %10, align 4
%64 = load ptr, ptr %5, align 8
%65 = load i32, ptr %12, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i32, ptr %64, i64 %66
%68 = load i32, ptr %67, align 4
%69 = sub nsw i32 %63, %68
store i32 %69, ptr %13, align 4
%70 = load i32, ptr %13, align 4
%71 = icmp slt i32 %70, 0
br i1 %71, label %72, label %73
72: ; preds = %62
br label %90
73: ; preds = %62
%74 = load ptr, ptr %7, align 8
%75 = load i32, ptr %13, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i32, ptr %74, i64 %76
%78 = load i32, ptr %77, align 4
%79 = add nsw i32 %78, 1
%80 = load ptr, ptr %8, align 8
%81 = load i32, ptr %12, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i32, ptr %80, i64 %82
store i32 %79, ptr %83, align 4
br label %84
84: ; preds = %73
%85 = load i32, ptr %12, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %12, align 4
%87 = load i32, ptr %12, align 4
%88 = load i32, ptr %6, align 4
%89 = icmp slt i32 %87, %88
br i1 %89, label %62, label %..loopexit_crit_edge, !llvm.loop !9
..loopexit_crit_edge: ; preds = %84
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %58
br label %90
90: ; preds = %.loopexit, %72
%91 = load ptr, ptr %8, align 8
%92 = load i32, ptr %6, align 4
%93 = call i32 @array_min(ptr noundef %91, i32 noundef %92)
%94 = load ptr, ptr %7, align 8
%95 = load i32, ptr %10, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i32, ptr %94, i64 %96
store i32 %93, ptr %97, align 4
br label %98
98: ; preds = %90
%99 = load i32, ptr %10, align 4
%100 = add nsw i32 %99, 1
store i32 %100, ptr %10, align 4
%101 = load i32, ptr %10, align 4
%102 = load i32, ptr %4, align 4
%103 = icmp sle i32 %101, %102
br i1 %103, label %42, label %._crit_edge8, !llvm.loop !10
._crit_edge8: ; preds = %98
br label %104
104: ; preds = %._crit_edge8, %38
%105 = load ptr, ptr %7, align 8
%106 = load i32, ptr %4, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i32, ptr %105, i64 %107
%109 = load i32, ptr %108, align 4
store i32 %109, ptr %14, align 4
%110 = load ptr, ptr %8, align 8
%111 = call i32 @free(ptr noundef %110)
%112 = load ptr, ptr %7, align 8
%113 = call i32 @free(ptr noundef %112)
%114 = load i32, ptr %14, align 4
ret i32 %114
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @array_min(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp2tjdx9rf.c'
source_filename = "/tmp/tmp2tjdx9rf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"se3mat:\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"%lf %lf %lf %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_MatrixLog6() #0 {
%1 = alloca [4 x [4 x double]], align 16
%2 = alloca [4 x [4 x double]], align 16
%3 = alloca i32, align 4
call void @llvm.memset.p0.i64(ptr align 16 %1, i8 0, i64 128, i1 false)
%4 = getelementptr inbounds [4 x [4 x double]], ptr %1, i32 0, i32 0
%5 = getelementptr inbounds [4 x double], ptr %4, i32 0, i32 0
store double 1.000000e+00, ptr %5, align 16
%6 = getelementptr inbounds [4 x [4 x double]], ptr %1, i32 0, i32 1
%7 = getelementptr inbounds [4 x double], ptr %6, i32 0, i32 2
store double -1.000000e+00, ptr %7, align 16
%8 = getelementptr inbounds [4 x [4 x double]], ptr %1, i32 0, i32 2
%9 = getelementptr inbounds [4 x double], ptr %8, i32 0, i32 1
store double 1.000000e+00, ptr %9, align 8
%10 = getelementptr inbounds [4 x double], ptr %8, i32 0, i32 3
store double 3.000000e+00, ptr %10, align 8
%11 = getelementptr inbounds [4 x [4 x double]], ptr %1, i32 0, i32 3
%12 = getelementptr inbounds [4 x double], ptr %11, i32 0, i32 3
store double 1.000000e+00, ptr %12, align 8
%13 = getelementptr inbounds [4 x [4 x double]], ptr %1, i64 0, i64 0
%14 = getelementptr inbounds [4 x [4 x double]], ptr %2, i64 0, i64 0
%15 = call i32 @MatrixLog6(ptr noundef %13, ptr noundef %14)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %17
17: ; preds = %42, %0
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 %18, 4
br i1 %19, label %20, label %45
20: ; preds = %17
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [4 x [4 x double]], ptr %2, i64 0, i64 %22
%24 = getelementptr inbounds [4 x double], ptr %23, i64 0, i64 0
%25 = load double, ptr %24, align 16
%26 = load i32, ptr %3, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [4 x [4 x double]], ptr %2, i64 0, i64 %27
%29 = getelementptr inbounds [4 x double], ptr %28, i64 0, i64 1
%30 = load double, ptr %29, align 8
%31 = load i32, ptr %3, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [4 x [4 x double]], ptr %2, i64 0, i64 %32
%34 = getelementptr inbounds [4 x double], ptr %33, i64 0, i64 2
%35 = load double, ptr %34, align 16
%36 = load i32, ptr %3, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [4 x [4 x double]], ptr %2, i64 0, i64 %37
%39 = getelementptr inbounds [4 x double], ptr %38, i64 0, i64 3
%40 = load double, ptr %39, align 8
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %25, double noundef %30, double noundef %35, double noundef %40)
br label %42
42: ; preds = %20
%43 = load i32, ptr %3, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %3, align 4
br label %17, !llvm.loop !6
45: ; preds = %17
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @MatrixLog6(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2tjdx9rf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"se3mat:\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"%lf %lf %lf %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_MatrixLog6() #0 {
%1 = alloca [4 x [4 x double]], align 16
%2 = alloca [4 x [4 x double]], align 16
%3 = alloca i32, align 4
call void @llvm.memset.p0.i64(ptr align 16 %1, i8 0, i64 128, i1 false)
%4 = getelementptr inbounds [4 x [4 x double]], ptr %1, i32 0, i32 0
%5 = getelementptr inbounds [4 x double], ptr %4, i32 0, i32 0
store double 1.000000e+00, ptr %5, align 16
%6 = getelementptr inbounds [4 x [4 x double]], ptr %1, i32 0, i32 1
%7 = getelementptr inbounds [4 x double], ptr %6, i32 0, i32 2
store double -1.000000e+00, ptr %7, align 16
%8 = getelementptr inbounds [4 x [4 x double]], ptr %1, i32 0, i32 2
%9 = getelementptr inbounds [4 x double], ptr %8, i32 0, i32 1
store double 1.000000e+00, ptr %9, align 8
%10 = getelementptr inbounds [4 x double], ptr %8, i32 0, i32 3
store double 3.000000e+00, ptr %10, align 8
%11 = getelementptr inbounds [4 x [4 x double]], ptr %1, i32 0, i32 3
%12 = getelementptr inbounds [4 x double], ptr %11, i32 0, i32 3
store double 1.000000e+00, ptr %12, align 8
%13 = getelementptr inbounds [4 x [4 x double]], ptr %1, i64 0, i64 0
%14 = getelementptr inbounds [4 x [4 x double]], ptr %2, i64 0, i64 0
%15 = call i32 @MatrixLog6(ptr noundef %13, ptr noundef %14)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp slt i32 %17, 4
br i1 %18, label %.lr.ph, label %46
.lr.ph: ; preds = %0
br label %19
19: ; preds = %.lr.ph, %41
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [4 x [4 x double]], ptr %2, i64 0, i64 %21
%23 = getelementptr inbounds [4 x double], ptr %22, i64 0, i64 0
%24 = load double, ptr %23, align 16
%25 = load i32, ptr %3, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [4 x [4 x double]], ptr %2, i64 0, i64 %26
%28 = getelementptr inbounds [4 x double], ptr %27, i64 0, i64 1
%29 = load double, ptr %28, align 8
%30 = load i32, ptr %3, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [4 x [4 x double]], ptr %2, i64 0, i64 %31
%33 = getelementptr inbounds [4 x double], ptr %32, i64 0, i64 2
%34 = load double, ptr %33, align 16
%35 = load i32, ptr %3, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [4 x [4 x double]], ptr %2, i64 0, i64 %36
%38 = getelementptr inbounds [4 x double], ptr %37, i64 0, i64 3
%39 = load double, ptr %38, align 8
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %24, double noundef %29, double noundef %34, double noundef %39)
br label %41
41: ; preds = %19
%42 = load i32, ptr %3, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %3, align 4
%44 = load i32, ptr %3, align 4
%45 = icmp slt i32 %44, 4
br i1 %45, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %46
46: ; preds = %._crit_edge, %0
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @MatrixLog6(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp6pk3jtde.c'
source_filename = "/tmp/tmp6pk3jtde.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
store i32 1, ptr %2, align 4
br label %5
5: ; preds = %19, %0
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %9, label %22
9: ; preds = %5
%10 = load i32, ptr %2, align 4
%11 = mul nsw i32 2, %10
%12 = load i32, ptr %2, align 4
%13 = call i32 @soma_divisores(i32 noundef %12)
%14 = icmp eq i32 %11, %13
br i1 %14, label %15, label %18
15: ; preds = %9
%16 = load i32, ptr %2, align 4
%17 = call i32 @printf(ptr noundef @.str.1, i32 noundef %16)
br label %18
18: ; preds = %15, %9
br label %19
19: ; preds = %18
%20 = load i32, ptr %2, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %2, align 4
br label %5, !llvm.loop !6
22: ; preds = %5
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @soma_divisores(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6pk3jtde.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
store i32 1, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %5, %6
br i1 %7, label %.lr.ph, label %24
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %18
%9 = load i32, ptr %2, align 4
%10 = mul nsw i32 2, %9
%11 = load i32, ptr %2, align 4
%12 = call i32 @soma_divisores(i32 noundef %11)
%13 = icmp eq i32 %10, %12
br i1 %13, label %14, label %17
14: ; preds = %8
%15 = load i32, ptr %2, align 4
%16 = call i32 @printf(ptr noundef @.str.1, i32 noundef %15)
br label %17
17: ; preds = %14, %8
br label %18
18: ; preds = %17
%19 = load i32, ptr %2, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %2, align 4
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %3, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @soma_divisores(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_qxxyaj7.c'
source_filename = "/tmp/tmp_qxxyaj7.c"
target datalayout = "e-m:e-p270: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_qxxyaj7.c"
target datalayout = "e-m:e-p270: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/tmphhiczv6t.c'
source_filename = "/tmp/tmphhiczv6t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printname(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = call i32 @present(i8 noundef signext 113)
store i32 %5, ptr %4, align 4
br label %6
6: ; preds = %22, %1
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds i8, ptr %7, i32 1
store ptr %8, ptr %2, align 8
%9 = load i8, ptr %7, align 1
%10 = zext i8 %9 to i32
store i32 %10, ptr %3, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %25
12: ; preds = %6
%13 = load i32, ptr %4, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %22
15: ; preds = %12
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %16, 32
br i1 %17, label %21, label %18
18: ; preds = %15
%19 = load i32, ptr %3, align 4
%20 = icmp eq i32 %19, 127
br i1 %20, label %21, label %22
21: ; preds = %18, %15
store i32 63, ptr %3, align 4
br label %22
22: ; preds = %21, %18, %12
%23 = load i32, ptr %3, align 4
%24 = call i32 @putchar(i32 noundef %23)
br label %6, !llvm.loop !6
25: ; preds = %6
ret void
}
declare i32 @present(i8 noundef signext) #1
declare i32 @putchar(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/tmphhiczv6t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printname(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = call i32 @present(i8 noundef signext 113)
store i32 %5, ptr %4, align 4
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i8, ptr %6, i32 1
store ptr %7, ptr %2, align 8
%8 = load i8, ptr %6, align 1
%9 = zext i8 %8 to i32
store i32 %9, ptr %3, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %.lr.ph, label %29
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %21
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %21
14: ; preds = %11
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %15, 32
br i1 %16, label %20, label %17
17: ; preds = %14
%18 = load i32, ptr %3, align 4
%19 = icmp eq i32 %18, 127
br i1 %19, label %20, label %21
20: ; preds = %17, %14
store i32 63, ptr %3, align 4
br label %21
21: ; preds = %20, %17, %11
%22 = load i32, ptr %3, align 4
%23 = call i32 @putchar(i32 noundef %22)
%24 = load ptr, ptr %2, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 1
store ptr %25, ptr %2, align 8
%26 = load i8, ptr %24, align 1
%27 = zext i8 %26 to i32
store i32 %27, ptr %3, align 4
%28 = icmp ne i32 %27, 0
br i1 %28, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %29
29: ; preds = %._crit_edge, %1
ret void
}
declare i32 @present(i8 noundef signext) #1
declare i32 @putchar(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/tmp5439s68r.c'
source_filename = "/tmp/tmp5439s68r.c"
target datalayout = "e-m:e-p270: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/tmp5439s68r.c"
target datalayout = "e-m:e-p270: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/tmppw_tp9ie.c'
source_filename = "/tmp/tmppw_tp9ie.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @yd(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = call double (...) @xd()
%4 = load double, ptr %2, align 8
%5 = fmul double %3, %4
ret double %5
}
declare double @xd(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppw_tp9ie.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @yd(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = call double (...) @xd()
%4 = load double, ptr %2, align 8
%5 = fmul double %3, %4
ret double %5
}
declare double @xd(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphsofn0xj.c'
source_filename = "/tmp/tmphsofn0xj.c"
target datalayout = "e-m:e-p270: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/tmphsofn0xj.c"
target datalayout = "e-m:e-p270: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/tmpp60zbi3o.c'
source_filename = "/tmp/tmpp60zbi3o.c"
target datalayout = "e-m:e-p270: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.arccos_cordic.angles = private unnamed_addr constant [60 x float] [float 0x3FE921FB60000000, float 0x3FDDAC6700000000, float 0x3FCF5B7600000000, float 0x3FBFD5BAA0000000, float 0x3FAFF55BC0000000, float 0x3F9FFD55C0000000, float 0x3F8FFF5560000000, float 0x3F7FFFD560000000, float 0x3F6FFFF560000000, float 0x3F5FFFFD60000000, float 0x3F4FFFFF60000000, float 0x3F3FFFFFE0000000, float 0x3F30000000000000, float 0x3F20000000000000, float 0x3F10000000000000, float 0x3F00000000000000, float 0x3EF0000000000000, float 0x3EE0000000000000, float 0x3ED0000000000000, float 0x3EC0000000000000, float 0x3EB0000000000000, float 0x3EA0000000000000, float 0x3E90000000000000, float 0x3E80000000000000, float 0x3E70000000000000, float 0x3E60000000000000, float 0x3E50000000000000, float 0x3E40000000000000, float 0x3E30000000000000, float 0x3E20000000000000, float 0x3E10000000000000, float 0x3E00000000000000, float 0x3DF0000000000000, float 0x3DE0000000000000, float 0x3DD0000000000000, float 0x3DC0000000000000, float 0x3DB0000000000000, float 0x3DA0000000000000, float 0x3D90000000000000, float 0x3D80000000000000, float 0x3D70000000000000, float 0x3D60000000000000, float 0x3D50000000000000, float 0x3D40000000000000, float 0x3D30000000000000, float 0x3D20000000000000, float 0x3D10000000000000, float 0x3D00000000000000, float 0x3CF0000000000000, float 0x3CE0000000000000, float 0x3CD0000000000000, float 0x3CC0000000000000, float 0x3CB0000000000000, float 0x3CA0000000000000, float 0x3C90000000000000, float 0x3C80000000000000, float 0x3C70000000000000, float 0x3C60000000000000, float 0x3C50000000000000, float 0x3C40000000000000], align 16
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"ARCCOS_CORDIC - Fatal error!\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c" 1.0 < |T|.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @arccos_cordic(float noundef %0, i32 noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca i32, align 4
%5 = alloca float, align 4
%6 = alloca [60 x float], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
store float %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.arccos_cordic.angles, i64 240, i1 false)
%17 = load float, ptr %3, align 4
%18 = call double @fabs(float noundef %17)
%19 = fcmp olt double 1.000000e+00, %18
br i1 %19, label %20, label %28
20: ; preds = %2
%21 = load i32, ptr @stderr, align 4
%22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str)
%23 = load i32, ptr @stderr, align 4
%24 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.1)
%25 = load i32, ptr @stderr, align 4
%26 = call i32 @fprintf(i32 noundef %25, ptr noundef @.str.2)
%27 = call i32 @exit(i32 noundef 1) #5
unreachable
28: ; preds = %2
store float 0.000000e+00, ptr %12, align 4
store float 1.000000e+00, ptr %13, align 4
store float 0.000000e+00, ptr %15, align 4
store float 1.000000e+00, ptr %9, align 4
store i32 1, ptr %8, align 4
br label %29
29: ; preds = %105, %28
%30 = load i32, ptr %8, align 4
%31 = load i32, ptr %4, align 4
%32 = icmp sle i32 %30, %31
br i1 %32, label %33, label %108
33: ; preds = %29
%34 = load float, ptr %15, align 4
%35 = fpext float %34 to double
%36 = fcmp olt double %35, 0.000000e+00
br i1 %36, label %37, label %38
37: ; preds = %33
store float -1.000000e+00, ptr %11, align 4
br label %39
38: ; preds = %33
store float 1.000000e+00, ptr %11, align 4
br label %39
39: ; preds = %38, %37
%40 = load float, ptr %3, align 4
%41 = load float, ptr %13, align 4
%42 = fcmp ole float %40, %41
br i1 %42, label %43, label %45
43: ; preds = %39
%44 = load float, ptr %11, align 4
store float %44, ptr %10, align 4
br label %48
45: ; preds = %39
%46 = load float, ptr %11, align 4
%47 = fneg float %46
store float %47, ptr %10, align 4
br label %48
48: ; preds = %45, %43
%49 = load i32, ptr %8, align 4
%50 = icmp sle i32 %49, 60
br i1 %50, label %51, label %57
51: ; preds = %48
%52 = load i32, ptr %8, align 4
%53 = sub nsw i32 %52, 1
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [60 x float], ptr %6, i64 0, i64 %54
%56 = load float, ptr %55, align 4
store float %56, ptr %5, align 4
br label %62
57: ; preds = %48
%58 = load float, ptr %5, align 4
%59 = fpext float %58 to double
%60 = fdiv double %59, 2.000000e+00
%61 = fptrunc double %60 to float
store float %61, ptr %5, align 4
br label %62
62: ; preds = %57, %51
store i32 1, ptr %7, align 4
br label %63
63: ; preds = %82, %62
%64 = load i32, ptr %7, align 4
%65 = icmp sle i32 %64, 2
br i1 %65, label %66, label %85
66: ; preds = %63
%67 = load float, ptr %13, align 4
%68 = load float, ptr %10, align 4
%69 = load float, ptr %9, align 4
%70 = fmul float %68, %69
%71 = load float, ptr %15, align 4
%72 = fneg float %70
%73 = call float @llvm.fmuladd.f32(float %72, float %71, float %67)
store float %73, ptr %14, align 4
%74 = load float, ptr %10, align 4
%75 = load float, ptr %9, align 4
%76 = fmul float %74, %75
%77 = load float, ptr %13, align 4
%78 = load float, ptr %15, align 4
%79 = call float @llvm.fmuladd.f32(float %76, float %77, float %78)
store float %79, ptr %16, align 4
%80 = load float, ptr %14, align 4
store float %80, ptr %13, align 4
%81 = load float, ptr %16, align 4
store float %81, ptr %15, align 4
br label %82
82: ; preds = %66
%83 = load i32, ptr %7, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %7, align 4
br label %63, !llvm.loop !6
85: ; preds = %63
%86 = load float, ptr %12, align 4
%87 = fpext float %86 to double
%88 = load float, ptr %10, align 4
%89 = fpext float %88 to double
%90 = fmul double 2.000000e+00, %89
%91 = load float, ptr %5, align 4
%92 = fpext float %91 to double
%93 = call double @llvm.fmuladd.f64(double %90, double %92, double %87)
%94 = fptrunc double %93 to float
store float %94, ptr %12, align 4
%95 = load float, ptr %3, align 4
%96 = load float, ptr %3, align 4
%97 = load float, ptr %9, align 4
%98 = fmul float %96, %97
%99 = load float, ptr %9, align 4
%100 = call float @llvm.fmuladd.f32(float %98, float %99, float %95)
store float %100, ptr %3, align 4
%101 = load float, ptr %9, align 4
%102 = fpext float %101 to double
%103 = fdiv double %102, 2.000000e+00
%104 = fptrunc double %103 to float
store float %104, ptr %9, align 4
br label %105
105: ; preds = %85
%106 = load i32, ptr %8, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %8, align 4
br label %29, !llvm.loop !8
108: ; preds = %29
%109 = load float, ptr %12, align 4
ret float %109
}
; 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 double @fabs(float noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #4
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #4
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp60zbi3o.c"
target datalayout = "e-m:e-p270: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.arccos_cordic.angles = private unnamed_addr constant [60 x float] [float 0x3FE921FB60000000, float 0x3FDDAC6700000000, float 0x3FCF5B7600000000, float 0x3FBFD5BAA0000000, float 0x3FAFF55BC0000000, float 0x3F9FFD55C0000000, float 0x3F8FFF5560000000, float 0x3F7FFFD560000000, float 0x3F6FFFF560000000, float 0x3F5FFFFD60000000, float 0x3F4FFFFF60000000, float 0x3F3FFFFFE0000000, float 0x3F30000000000000, float 0x3F20000000000000, float 0x3F10000000000000, float 0x3F00000000000000, float 0x3EF0000000000000, float 0x3EE0000000000000, float 0x3ED0000000000000, float 0x3EC0000000000000, float 0x3EB0000000000000, float 0x3EA0000000000000, float 0x3E90000000000000, float 0x3E80000000000000, float 0x3E70000000000000, float 0x3E60000000000000, float 0x3E50000000000000, float 0x3E40000000000000, float 0x3E30000000000000, float 0x3E20000000000000, float 0x3E10000000000000, float 0x3E00000000000000, float 0x3DF0000000000000, float 0x3DE0000000000000, float 0x3DD0000000000000, float 0x3DC0000000000000, float 0x3DB0000000000000, float 0x3DA0000000000000, float 0x3D90000000000000, float 0x3D80000000000000, float 0x3D70000000000000, float 0x3D60000000000000, float 0x3D50000000000000, float 0x3D40000000000000, float 0x3D30000000000000, float 0x3D20000000000000, float 0x3D10000000000000, float 0x3D00000000000000, float 0x3CF0000000000000, float 0x3CE0000000000000, float 0x3CD0000000000000, float 0x3CC0000000000000, float 0x3CB0000000000000, float 0x3CA0000000000000, float 0x3C90000000000000, float 0x3C80000000000000, float 0x3C70000000000000, float 0x3C60000000000000, float 0x3C50000000000000, float 0x3C40000000000000], align 16
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"ARCCOS_CORDIC - Fatal error!\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c" 1.0 < |T|.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @arccos_cordic(float noundef %0, i32 noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca i32, align 4
%5 = alloca float, align 4
%6 = alloca [60 x float], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
store float %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.arccos_cordic.angles, i64 240, i1 false)
%17 = load float, ptr %3, align 4
%18 = call double @fabs(float noundef %17)
%19 = fcmp olt double 1.000000e+00, %18
br i1 %19, label %20, label %28
20: ; preds = %2
%21 = load i32, ptr @stderr, align 4
%22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str)
%23 = load i32, ptr @stderr, align 4
%24 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.1)
%25 = load i32, ptr @stderr, align 4
%26 = call i32 @fprintf(i32 noundef %25, ptr noundef @.str.2)
%27 = call i32 @exit(i32 noundef 1) #5
unreachable
28: ; preds = %2
store float 0.000000e+00, ptr %12, align 4
store float 1.000000e+00, ptr %13, align 4
store float 0.000000e+00, ptr %15, align 4
store float 1.000000e+00, ptr %9, align 4
store i32 1, ptr %8, align 4
%29 = load i32, ptr %8, align 4
%30 = load i32, ptr %4, align 4
%31 = icmp sle i32 %29, %30
br i1 %31, label %.lr.ph2, label %111
.lr.ph2: ; preds = %28
br label %32
32: ; preds = %.lr.ph2, %105
%33 = load float, ptr %15, align 4
%34 = fpext float %33 to double
%35 = fcmp olt double %34, 0.000000e+00
br i1 %35, label %36, label %37
36: ; preds = %32
store float -1.000000e+00, ptr %11, align 4
br label %38
37: ; preds = %32
store float 1.000000e+00, ptr %11, align 4
br label %38
38: ; preds = %37, %36
%39 = load float, ptr %3, align 4
%40 = load float, ptr %13, align 4
%41 = fcmp ole float %39, %40
br i1 %41, label %42, label %44
42: ; preds = %38
%43 = load float, ptr %11, align 4
store float %43, ptr %10, align 4
br label %47
44: ; preds = %38
%45 = load float, ptr %11, align 4
%46 = fneg float %45
store float %46, ptr %10, align 4
br label %47
47: ; preds = %44, %42
%48 = load i32, ptr %8, align 4
%49 = icmp sle i32 %48, 60
br i1 %49, label %50, label %56
50: ; preds = %47
%51 = load i32, ptr %8, align 4
%52 = sub nsw i32 %51, 1
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [60 x float], ptr %6, i64 0, i64 %53
%55 = load float, ptr %54, align 4
store float %55, ptr %5, align 4
br label %61
56: ; preds = %47
%57 = load float, ptr %5, align 4
%58 = fpext float %57 to double
%59 = fdiv double %58, 2.000000e+00
%60 = fptrunc double %59 to float
store float %60, ptr %5, align 4
br label %61
61: ; preds = %56, %50
store i32 1, ptr %7, align 4
%62 = load i32, ptr %7, align 4
%63 = icmp sle i32 %62, 2
br i1 %63, label %.lr.ph, label %85
.lr.ph: ; preds = %61
br label %64
64: ; preds = %.lr.ph, %80
%65 = load float, ptr %13, align 4
%66 = load float, ptr %10, align 4
%67 = load float, ptr %9, align 4
%68 = fmul float %66, %67
%69 = load float, ptr %15, align 4
%70 = fneg float %68
%71 = call float @llvm.fmuladd.f32(float %70, float %69, float %65)
store float %71, ptr %14, align 4
%72 = load float, ptr %10, align 4
%73 = load float, ptr %9, align 4
%74 = fmul float %72, %73
%75 = load float, ptr %13, align 4
%76 = load float, ptr %15, align 4
%77 = call float @llvm.fmuladd.f32(float %74, float %75, float %76)
store float %77, ptr %16, align 4
%78 = load float, ptr %14, align 4
store float %78, ptr %13, align 4
%79 = load float, ptr %16, align 4
store float %79, ptr %15, align 4
br label %80
80: ; preds = %64
%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 = icmp sle i32 %83, 2
br i1 %84, label %64, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %80
br label %85
85: ; preds = %._crit_edge, %61
%86 = load float, ptr %12, align 4
%87 = fpext float %86 to double
%88 = load float, ptr %10, align 4
%89 = fpext float %88 to double
%90 = fmul double 2.000000e+00, %89
%91 = load float, ptr %5, align 4
%92 = fpext float %91 to double
%93 = call double @llvm.fmuladd.f64(double %90, double %92, double %87)
%94 = fptrunc double %93 to float
store float %94, ptr %12, align 4
%95 = load float, ptr %3, align 4
%96 = load float, ptr %3, align 4
%97 = load float, ptr %9, align 4
%98 = fmul float %96, %97
%99 = load float, ptr %9, align 4
%100 = call float @llvm.fmuladd.f32(float %98, float %99, float %95)
store float %100, ptr %3, align 4
%101 = load float, ptr %9, align 4
%102 = fpext float %101 to double
%103 = fdiv double %102, 2.000000e+00
%104 = fptrunc double %103 to float
store float %104, ptr %9, align 4
br label %105
105: ; preds = %85
%106 = load i32, ptr %8, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %8, align 4
%108 = load i32, ptr %8, align 4
%109 = load i32, ptr %4, align 4
%110 = icmp sle i32 %108, %109
br i1 %110, label %32, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %105
br label %111
111: ; preds = %._crit_edge3, %28
%112 = load float, ptr %12, align 4
ret float %112
}
; 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 double @fabs(float noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #4
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #4
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpjonvp07i.c'
source_filename = "/tmp/tmpjonvp07i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/var/log/elm/elm.log\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"a+\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @elm_io_log(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %6, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = call i32 @vfprintf(ptr noundef %7, ptr noundef %8, i32 noundef %9)
%11 = load ptr, ptr %5, align 8
%12 = call i32 @fclose(ptr noundef %11)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @vfprintf(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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjonvp07i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/var/log/elm/elm.log\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"a+\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @elm_io_log(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %6, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = call i32 @vfprintf(ptr noundef %7, ptr noundef %8, i32 noundef %9)
%11 = load ptr, ptr %5, align 8
%12 = call i32 @fclose(ptr noundef %11)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @vfprintf(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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbb86u7ni.c'
source_filename = "/tmp/tmpbb86u7ni.c"
target datalayout = "e-m:e-p270: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/tmpbb86u7ni.c"
target datalayout = "e-m:e-p270: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/tmp3_m6z_u2.c'
source_filename = "/tmp/tmp3_m6z_u2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lmain(i32 noundef 0)
ret i32 0
}
declare i32 @lmain(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/tmp3_m6z_u2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lmain(i32 noundef 0)
ret i32 0
}
declare i32 @lmain(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/tmpl7miy_g0.c'
source_filename = "/tmp/tmpl7miy_g0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_unlink(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 @fatfs_unlink(ptr noundef %3)
ret i32 %4
}
declare i32 @fatfs_unlink(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl7miy_g0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_unlink(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 @fatfs_unlink(ptr noundef %3)
ret i32 %4
}
declare i32 @fatfs_unlink(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcj71y6_m.c'
source_filename = "/tmp/tmpcj71y6_m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"mov\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"$0,$27\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"jmp\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"$31,($27),0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Jump_Ret() #0 {
%1 = call i32 @Inst_Printf(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 @Inst_Printf(ptr noundef @.str.2, ptr noundef @.str.3)
ret void
}
declare i32 @Inst_Printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcj71y6_m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"mov\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"$0,$27\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"jmp\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"$31,($27),0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Jump_Ret() #0 {
%1 = call i32 @Inst_Printf(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 @Inst_Printf(ptr noundef @.str.2, ptr noundef @.str.3)
ret void
}
declare i32 @Inst_Printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps4xd1po7.c'
source_filename = "/tmp/tmps4xd1po7.c"
target datalayout = "e-m:e-p270: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 [53 x i8] c"WARNING: dummy likwid_markerStartRegion(...) called\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @likwid_markerStartRegion(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str)
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps4xd1po7.c"
target datalayout = "e-m:e-p270: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 [53 x i8] c"WARNING: dummy likwid_markerStartRegion(...) called\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @likwid_markerStartRegion(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str)
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1eb57eev.c'
source_filename = "/tmp/tmp1eb57eev.c"
target datalayout = "e-m:e-p270: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/tmp1eb57eev.c"
target datalayout = "e-m:e-p270: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/tmpzl3j1ua5.c'
source_filename = "/tmp/tmpzl3j1ua5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @disestablish_ppp(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @tty_disestablish_ppp(i32 noundef %3)
ret void
}
declare i32 @tty_disestablish_ppp(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/tmpzl3j1ua5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @disestablish_ppp(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @tty_disestablish_ppp(i32 noundef %3)
ret void
}
declare i32 @tty_disestablish_ppp(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/tmp8mdo61s4.c'
source_filename = "/tmp/tmp8mdo61s4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Enter Number\0A\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"not a prime number\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"a prime number\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @checkPrime() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
store i32 2, ptr %2, align 4
br label %5
5: ; preds = %21, %0
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %1, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %9, label %24
9: ; preds = %5
%10 = load i32, ptr %1, align 4
%11 = load i32, ptr %2, align 4
%12 = srem i32 %10, %11
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %20
14: ; preds = %9
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %1, align 4
%17 = icmp ne i32 %15, %16
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = call i32 @printf(ptr noundef @.str.2)
br label %20
20: ; preds = %18, %14, %9
br label %21
21: ; preds = %20
%22 = load i32, ptr %2, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %2, align 4
br label %5, !llvm.loop !6
24: ; preds = %5
%25 = call i32 @printf(ptr noundef @.str.3)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8mdo61s4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Enter Number\0A\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"not a prime number\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"a prime number\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @checkPrime() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
store i32 2, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %1, align 4
%7 = icmp slt i32 %5, %6
br i1 %7, label %.lr.ph, label %26
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %20
%9 = load i32, ptr %1, align 4
%10 = load i32, ptr %2, align 4
%11 = srem i32 %9, %10
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %19
13: ; preds = %8
%14 = load i32, ptr %2, align 4
%15 = load i32, ptr %1, align 4
%16 = icmp ne i32 %14, %15
br i1 %16, label %17, label %19
17: ; preds = %13
%18 = call i32 @printf(ptr noundef @.str.2)
br label %19
19: ; preds = %17, %13, %8
br label %20
20: ; preds = %19
%21 = load i32, ptr %2, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %2, align 4
%23 = load i32, ptr %2, align 4
%24 = load i32, ptr %1, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %0
%27 = call i32 @printf(ptr noundef @.str.3)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptnr9e4_z.c'
source_filename = "/tmp/tmptnr9e4_z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rm -f \00", align 1
@.str.1 = private unnamed_addr constant [142 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Rudolph-Miller/roswell/refs/heads/master/src/util.c\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"cmd\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @delete_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = call i32 @q_internal(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 45)
%6 = load ptr, ptr %2, align 8
%7 = call i32 @q_internal(ptr noundef %6, ptr noundef @.str.1, i32 noundef 45)
%8 = call ptr @s_cat2(i32 noundef %5, i32 noundef %7)
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i32 @system(ptr noundef %9)
store i32 %10, ptr %4, align 4
%11 = load ptr, ptr %3, align 8
%12 = call i32 @s_internal(ptr noundef %11, ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 47)
%13 = load i32, ptr %4, align 4
%14 = icmp eq i32 %13, 0
%15 = zext i1 %14 to i32
ret i32 %15
}
declare ptr @s_cat2(i32 noundef, i32 noundef) #1
declare i32 @q_internal(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @system(ptr noundef) #1
declare i32 @s_internal(ptr noundef, 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/tmptnr9e4_z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rm -f \00", align 1
@.str.1 = private unnamed_addr constant [142 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Rudolph-Miller/roswell/refs/heads/master/src/util.c\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"cmd\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @delete_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = call i32 @q_internal(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 45)
%6 = load ptr, ptr %2, align 8
%7 = call i32 @q_internal(ptr noundef %6, ptr noundef @.str.1, i32 noundef 45)
%8 = call ptr @s_cat2(i32 noundef %5, i32 noundef %7)
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i32 @system(ptr noundef %9)
store i32 %10, ptr %4, align 4
%11 = load ptr, ptr %3, align 8
%12 = call i32 @s_internal(ptr noundef %11, ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 47)
%13 = load i32, ptr %4, align 4
%14 = icmp eq i32 %13, 0
%15 = zext i1 %14 to i32
ret i32 %15
}
declare ptr @s_cat2(i32 noundef, i32 noundef) #1
declare i32 @q_internal(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @system(ptr noundef) #1
declare i32 @s_internal(ptr noundef, 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/tmp91b1mjak.c'
source_filename = "/tmp/tmp91b1mjak.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LC_ALL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"%3d %02X %lc\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 i8, align 1
store i32 0, ptr %1, align 4
%4 = load i32, ptr @LC_ALL, align 4
%5 = call ptr @setlocale(i32 noundef %4, ptr noundef @.str)
store ptr %5, ptr %2, align 8
store i8 0, ptr %3, align 1
br label %6
6: ; preds = %13, %0
%7 = load i8, ptr %3, align 1
%8 = load i8, ptr %3, align 1
%9 = load i8, ptr %3, align 1
%10 = call i32 @printf(ptr noundef @.str.1, i8 noundef zeroext %7, i8 noundef zeroext %8, i8 noundef zeroext %9)
%11 = load i8, ptr %3, align 1
%12 = add i8 %11, 1
store i8 %12, ptr %3, align 1
br label %13
13: ; preds = %6
%14 = load i8, ptr %3, align 1
%15 = zext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %6, label %17, !llvm.loop !6
17: ; preds = %13
ret i32 0
}
declare ptr @setlocale(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i8 noundef zeroext, i8 noundef zeroext, 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/tmp91b1mjak.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LC_ALL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"%3d %02X %lc\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 i8, align 1
store i32 0, ptr %1, align 4
%4 = load i32, ptr @LC_ALL, align 4
%5 = call ptr @setlocale(i32 noundef %4, ptr noundef @.str)
store ptr %5, ptr %2, align 8
store i8 0, ptr %3, align 1
br label %6
6: ; preds = %13, %0
%7 = load i8, ptr %3, align 1
%8 = load i8, ptr %3, align 1
%9 = load i8, ptr %3, align 1
%10 = call i32 @printf(ptr noundef @.str.1, i8 noundef zeroext %7, i8 noundef zeroext %8, i8 noundef zeroext %9)
%11 = load i8, ptr %3, align 1
%12 = add i8 %11, 1
store i8 %12, ptr %3, align 1
br label %13
13: ; preds = %6
%14 = load i8, ptr %3, align 1
%15 = zext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %6, label %17, !llvm.loop !6
17: ; preds = %13
ret i32 0
}
declare ptr @setlocale(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i8 noundef zeroext, i8 noundef zeroext, 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/tmp0xj85uef.c'
source_filename = "/tmp/tmp0xj85uef.c"
target datalayout = "e-m:e-p270: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/tmp0xj85uef.c"
target datalayout = "e-m:e-p270: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/tmpkbhe5idf.c'
source_filename = "/tmp/tmpkbhe5idf.c"
target datalayout = "e-m:e-p270: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/tmpkbhe5idf.c"
target datalayout = "e-m:e-p270: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/tmpeehrkhlz.c'
source_filename = "/tmp/tmpeehrkhlz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"\09%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"END OF MESSAGE\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print(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 = icmp ne ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load ptr, ptr %3, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %8)
br label %10
10: ; preds = %7, %2
%11 = load ptr, ptr %4, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load ptr, ptr %4, align 8
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %14)
br label %16
16: ; preds = %13, %10
%17 = call i32 (ptr, ...) @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/tmpeehrkhlz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"\09%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"END OF MESSAGE\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print(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 = icmp ne ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load ptr, ptr %3, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %8)
br label %10
10: ; preds = %7, %2
%11 = load ptr, ptr %4, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load ptr, ptr %4, align 8
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %14)
br label %16
16: ; preds = %13, %10
%17 = call i32 (ptr, ...) @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/tmpinwfjsjf.c'
source_filename = "/tmp/tmpinwfjsjf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ro2omLoop(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i64 4, ptr %13, align 8
store i64 9, ptr %14, align 8
store i64 0, ptr %10, align 8
br label %15
15: ; preds = %34, %4
%16 = load i64, ptr %10, align 8
%17 = load i64, ptr %7, align 8
%18 = icmp ult i64 %16, %17
br i1 %18, label %19, label %37
19: ; preds = %15
%20 = load i64, ptr %10, align 8
%21 = load i64, ptr %13, align 8
%22 = mul i64 %20, %21
store i64 %22, ptr %11, align 8
%23 = load i64, ptr %10, align 8
%24 = load i64, ptr %14, align 8
%25 = mul i64 %23, %24
store i64 %25, ptr %12, align 8
%26 = load ptr, ptr %5, align 8
%27 = load i64, ptr %11, align 8
%28 = getelementptr inbounds double, ptr %26, i64 %27
%29 = load ptr, ptr %6, align 8
%30 = load i64, ptr %12, align 8
%31 = getelementptr inbounds double, ptr %29, i64 %30
%32 = load i32, ptr %8, align 4
%33 = call i32 @ro2om(ptr noundef %28, ptr noundef %31, i32 noundef %32)
store i32 %33, ptr %9, align 4
br label %34
34: ; preds = %19
%35 = load i64, ptr %10, align 8
%36 = add i64 %35, 1
store i64 %36, ptr %10, align 8
br label %15, !llvm.loop !6
37: ; preds = %15
ret i32 1
}
declare i32 @ro2om(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/tmpinwfjsjf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ro2omLoop(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i64 4, ptr %13, align 8
store i64 9, ptr %14, align 8
store i64 0, ptr %10, align 8
%15 = load i64, ptr %10, align 8
%16 = load i64, ptr %7, align 8
%17 = icmp ult i64 %15, %16
br i1 %17, label %.lr.ph, label %39
.lr.ph: ; preds = %4
br label %18
18: ; preds = %.lr.ph, %33
%19 = load i64, ptr %10, align 8
%20 = load i64, ptr %13, align 8
%21 = mul i64 %19, %20
store i64 %21, ptr %11, align 8
%22 = load i64, ptr %10, align 8
%23 = load i64, ptr %14, align 8
%24 = mul i64 %22, %23
store i64 %24, ptr %12, align 8
%25 = load ptr, ptr %5, align 8
%26 = load i64, ptr %11, align 8
%27 = getelementptr inbounds double, ptr %25, i64 %26
%28 = load ptr, ptr %6, align 8
%29 = load i64, ptr %12, align 8
%30 = getelementptr inbounds double, ptr %28, i64 %29
%31 = load i32, ptr %8, align 4
%32 = call i32 @ro2om(ptr noundef %27, ptr noundef %30, i32 noundef %31)
store i32 %32, ptr %9, align 4
br label %33
33: ; preds = %18
%34 = load i64, ptr %10, align 8
%35 = add i64 %34, 1
store i64 %35, ptr %10, align 8
%36 = load i64, ptr %10, align 8
%37 = load i64, ptr %7, align 8
%38 = icmp ult i64 %36, %37
br i1 %38, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %39
39: ; preds = %._crit_edge, %4
ret i32 1
}
declare i32 @ro2om(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/tmppual8erj.c'
source_filename = "/tmp/tmppual8erj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [59 x i8] c"AVRCP_ Invoke Response: AVTransport/Seek[ErrorCode:%d]()\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @AVRCP_ResponseSink_AVTransport_Seek(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %5, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppual8erj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [59 x i8] c"AVRCP_ Invoke Response: AVTransport/Seek[ErrorCode:%d]()\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @AVRCP_ResponseSink_AVTransport_Seek(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %5, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7kpc5jvk.c'
source_filename = "/tmp/tmp7kpc5jvk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"OFFSET\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dfi_vmcoreinfo_offset(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 @vmcoreinfo_item_ulong(ptr noundef %5, ptr noundef @.str, ptr noundef %6, i32 noundef 10)
ret i32 %7
}
declare i32 @vmcoreinfo_item_ulong(ptr noundef, 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/tmp7kpc5jvk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"OFFSET\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dfi_vmcoreinfo_offset(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 @vmcoreinfo_item_ulong(ptr noundef %5, ptr noundef @.str, ptr noundef %6, i32 noundef 10)
ret i32 %7
}
declare i32 @vmcoreinfo_item_ulong(ptr noundef, 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/tmppdn8wfbs.c'
source_filename = "/tmp/tmppdn8wfbs.c"
target datalayout = "e-m:e-p270: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/tmppdn8wfbs.c"
target datalayout = "e-m:e-p270: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/tmpcws7_x61.c'
source_filename = "/tmp/tmpcws7_x61.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"/var/run/judged.pid\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@S_IRGRP = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
@LOG_ERR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [19 x i8] c"can't open %s : %s\00", align 1
@errno = dso_local global i64 0, align 8
@F_TLOCK = dso_local global i32 0, align 4
@EACCES = dso_local global i64 0, align 8
@EAGAIN = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [19 x i8] c"can't lock %s : %s\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [4 x i8] c"%ld\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @already_running() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [16 x i8], align 16
%5 = load i32, ptr @O_RDWR, align 4
%6 = load i32, ptr @O_CREAT, align 4
%7 = or i32 %5, %6
%8 = load i32, ptr @S_IRUSR, align 4
%9 = load i32, ptr @S_IWUSR, align 4
%10 = or i32 %8, %9
%11 = load i32, ptr @S_IRGRP, align 4
%12 = or i32 %10, %11
%13 = load i32, ptr @S_IROTH, align 4
%14 = or i32 %12, %13
%15 = call i32 @open(ptr noundef @.str, i32 noundef %7, i32 noundef %14)
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %16, 0
br i1 %17, label %18, label %23
18: ; preds = %0
%19 = load i32, ptr @LOG_ERR, align 4
%20 = load i64, ptr @errno, align 8
%21 = call i32 @strerror(i64 noundef %20)
%22 = call i32 @syslog(i32 noundef %19, ptr noundef @.str.1, ptr noundef @.str, i32 noundef %21)
br label %23
23: ; preds = %18, %0
%24 = load i32, ptr %2, align 4
%25 = load i32, ptr @F_TLOCK, align 4
%26 = call i32 @lockf(i32 noundef %24, i32 noundef %25, i32 noundef 0)
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %3, align 4
%28 = icmp slt i32 %27, 0
br i1 %28, label %29, label %47
29: ; preds = %23
%30 = load i64, ptr @errno, align 8
%31 = load i64, ptr @EACCES, align 8
%32 = icmp eq i64 %30, %31
br i1 %32, label %37, label %33
33: ; preds = %29
%34 = load i64, ptr @errno, align 8
%35 = load i64, ptr @EAGAIN, align 8
%36 = icmp eq i64 %34, %35
br i1 %36, label %37, label %40
37: ; preds = %33, %29
%38 = load i32, ptr %2, align 4
%39 = call i32 @close(i32 noundef %38)
store i32 -1, ptr %1, align 4
br label %59
40: ; preds = %33
%41 = load i32, ptr @LOG_ERR, align 4
%42 = load i64, ptr @errno, align 8
%43 = call i32 @strerror(i64 noundef %42)
%44 = call i32 @syslog(i32 noundef %41, ptr noundef @.str.2, ptr noundef @.str, i32 noundef %43)
%45 = load i32, ptr @EXIT_FAILURE, align 4
%46 = call i32 @exit(i32 noundef %45) #3
unreachable
47: ; preds = %23
%48 = load i32, ptr %2, align 4
%49 = call i32 @ftruncate(i32 noundef %48, i32 noundef 0)
%50 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0
%51 = call i64 (...) @getpid()
%52 = call i32 @sprintf(ptr noundef %50, ptr noundef @.str.3, i64 noundef %51)
%53 = load i32, ptr %2, align 4
%54 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0
%55 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0
%56 = call i64 @strlen(ptr noundef %55)
%57 = add nsw i64 %56, 1
%58 = call i32 @write(i32 noundef %53, ptr noundef %54, i64 noundef %57)
store i32 0, ptr %1, align 4
br label %59
59: ; preds = %47, %37
%60 = load i32, ptr %1, align 4
ret i32 %60
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @syslog(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strerror(i64 noundef) #1
declare i32 @lockf(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @ftruncate(i32 noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef) #1
declare i64 @getpid(...) #1
declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpcws7_x61.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"/var/run/judged.pid\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@S_IRGRP = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
@LOG_ERR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [19 x i8] c"can't open %s : %s\00", align 1
@errno = dso_local global i64 0, align 8
@F_TLOCK = dso_local global i32 0, align 4
@EACCES = dso_local global i64 0, align 8
@EAGAIN = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [19 x i8] c"can't lock %s : %s\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [4 x i8] c"%ld\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @already_running() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [16 x i8], align 16
%5 = load i32, ptr @O_RDWR, align 4
%6 = load i32, ptr @O_CREAT, align 4
%7 = or i32 %5, %6
%8 = load i32, ptr @S_IRUSR, align 4
%9 = load i32, ptr @S_IWUSR, align 4
%10 = or i32 %8, %9
%11 = load i32, ptr @S_IRGRP, align 4
%12 = or i32 %10, %11
%13 = load i32, ptr @S_IROTH, align 4
%14 = or i32 %12, %13
%15 = call i32 @open(ptr noundef @.str, i32 noundef %7, i32 noundef %14)
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %16, 0
br i1 %17, label %18, label %23
18: ; preds = %0
%19 = load i32, ptr @LOG_ERR, align 4
%20 = load i64, ptr @errno, align 8
%21 = call i32 @strerror(i64 noundef %20)
%22 = call i32 @syslog(i32 noundef %19, ptr noundef @.str.1, ptr noundef @.str, i32 noundef %21)
br label %23
23: ; preds = %18, %0
%24 = load i32, ptr %2, align 4
%25 = load i32, ptr @F_TLOCK, align 4
%26 = call i32 @lockf(i32 noundef %24, i32 noundef %25, i32 noundef 0)
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %3, align 4
%28 = icmp slt i32 %27, 0
br i1 %28, label %29, label %47
29: ; preds = %23
%30 = load i64, ptr @errno, align 8
%31 = load i64, ptr @EACCES, align 8
%32 = icmp eq i64 %30, %31
br i1 %32, label %37, label %33
33: ; preds = %29
%34 = load i64, ptr @errno, align 8
%35 = load i64, ptr @EAGAIN, align 8
%36 = icmp eq i64 %34, %35
br i1 %36, label %37, label %40
37: ; preds = %33, %29
%38 = load i32, ptr %2, align 4
%39 = call i32 @close(i32 noundef %38)
store i32 -1, ptr %1, align 4
br label %59
40: ; preds = %33
%41 = load i32, ptr @LOG_ERR, align 4
%42 = load i64, ptr @errno, align 8
%43 = call i32 @strerror(i64 noundef %42)
%44 = call i32 @syslog(i32 noundef %41, ptr noundef @.str.2, ptr noundef @.str, i32 noundef %43)
%45 = load i32, ptr @EXIT_FAILURE, align 4
%46 = call i32 @exit(i32 noundef %45) #3
unreachable
47: ; preds = %23
%48 = load i32, ptr %2, align 4
%49 = call i32 @ftruncate(i32 noundef %48, i32 noundef 0)
%50 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0
%51 = call i64 (...) @getpid()
%52 = call i32 @sprintf(ptr noundef %50, ptr noundef @.str.3, i64 noundef %51)
%53 = load i32, ptr %2, align 4
%54 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0
%55 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0
%56 = call i64 @strlen(ptr noundef %55)
%57 = add nsw i64 %56, 1
%58 = call i32 @write(i32 noundef %53, ptr noundef %54, i64 noundef %57)
store i32 0, ptr %1, align 4
br label %59
59: ; preds = %47, %37
%60 = load i32, ptr %1, align 4
ret i32 %60
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @syslog(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strerror(i64 noundef) #1
declare i32 @lockf(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @ftruncate(i32 noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef) #1
declare i64 @getpid(...) #1
declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpjnjzc8b2.c'
source_filename = "/tmp/tmpjnjzc8b2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%d %d %d %d\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
br label %7
7: ; preds = %12, %0
%8 = load i32, ptr %5, align 4
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %15
10: ; preds = %7
%11 = call i32 @rotr(ptr noundef %2, ptr noundef %3, ptr noundef %4)
br label %12
12: ; preds = %10
%13 = load i32, ptr %5, align 4
%14 = add nsw i32 %13, -1
store i32 %14, ptr %5, align 4
br label %7, !llvm.loop !6
15: ; preds = %7
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %3, align 4
%18 = load i32, ptr %4, align 4
%19 = call i32 @printf(ptr noundef @.str.1, i32 noundef %16, i32 noundef %17, i32 noundef %18)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @rotr(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjnjzc8b2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%d %d %d %d\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%7 = load i32, ptr %5, align 4
%8 = icmp sgt i32 %7, 0
br i1 %8, label %.lr.ph, label %16
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %11
%10 = call i32 @rotr(ptr noundef %2, ptr noundef %3, ptr noundef %4)
br label %11
11: ; preds = %9
%12 = load i32, ptr %5, align 4
%13 = add nsw i32 %12, -1
store i32 %13, ptr %5, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp sgt i32 %14, 0
br i1 %15, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %16
16: ; preds = %._crit_edge, %0
%17 = load i32, ptr %2, align 4
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %4, align 4
%20 = call i32 @printf(ptr noundef @.str.1, i32 noundef %17, i32 noundef %18, i32 noundef %19)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @rotr(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpnl50op5y.c'
source_filename = "/tmp/tmpnl50op5y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%lu \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%14 = load i32, ptr %4, align 4
%15 = icmp eq i32 %14, 1
br i1 %15, label %16, label %18
16: ; preds = %2
%17 = call i32 (...) @error_msg()
br label %18
18: ; preds = %16, %2
store i32 0, ptr %8, align 4
%19 = load i32, ptr %4, align 4
%20 = zext i32 %19 to i64
%21 = call ptr @llvm.stacksave()
store ptr %21, ptr %10, align 8
%22 = alloca i64, i64 %20, align 16
store i64 %20, ptr %11, align 8
store i32 1, ptr %6, align 4
br label %23
23: ; preds = %82, %18
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %85
27: ; preds = %23
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %6, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds ptr, ptr %28, i64 %30
%32 = load ptr, ptr %31, align 8
%33 = getelementptr inbounds i8, ptr %32, i64 0
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 45
br i1 %36, label %37, label %39
37: ; preds = %27
%38 = call i32 (...) @error_msg()
br label %39
39: ; preds = %37, %27
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %6, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds ptr, ptr %40, i64 %42
%44 = load ptr, ptr %43, align 8
%45 = call i64 @strtoul(ptr noundef %44, ptr noundef %12, i32 noundef 10)
store i64 %45, ptr %9, align 8
%46 = load ptr, ptr %12, align 8
%47 = load ptr, ptr %5, align 8
%48 = load i32, ptr %6, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds ptr, ptr %47, i64 %49
%51 = load ptr, ptr %50, align 8
%52 = icmp eq ptr %46, %51
br i1 %52, label %53, label %55
53: ; preds = %39
%54 = call i32 (...) @error_msg()
br label %55
55: ; preds = %53, %39
store i32 0, ptr %13, align 4
store i32 0, ptr %7, align 4
br label %56
56: ; preds = %69, %55
%57 = load i32, ptr %7, align 4
%58 = load i32, ptr %8, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %60, label %72
60: ; preds = %56
%61 = load i64, ptr %9, align 8
%62 = load i32, ptr %7, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i64, ptr %22, i64 %63
%65 = load i64, ptr %64, align 8
%66 = icmp eq i64 %61, %65
br i1 %66, label %67, label %68
67: ; preds = %60
store i32 1, ptr %13, align 4
br label %72
68: ; preds = %60
br label %69
69: ; preds = %68
%70 = load i32, ptr %7, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %7, align 4
br label %56, !llvm.loop !6
72: ; preds = %67, %56
%73 = load i32, ptr %13, align 4
%74 = icmp eq i32 %73, 0
br i1 %74, label %75, label %81
75: ; preds = %72
%76 = load i64, ptr %9, align 8
%77 = load i32, ptr %8, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %8, align 4
%79 = sext i32 %77 to i64
%80 = getelementptr inbounds i64, ptr %22, i64 %79
store i64 %76, ptr %80, align 8
br label %81
81: ; preds = %75, %72
br label %82
82: ; preds = %81
%83 = load i32, ptr %6, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %6, align 4
br label %23, !llvm.loop !8
85: ; preds = %23
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %6, align 4
br label %87
87: ; preds = %97, %85
%88 = load i32, ptr %6, align 4
%89 = load i32, ptr %8, align 4
%90 = icmp slt i32 %88, %89
br i1 %90, label %91, label %100
91: ; preds = %87
%92 = load i32, ptr %6, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i64, ptr %22, i64 %93
%95 = load i64, ptr %94, align 8
%96 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %95)
br label %97
97: ; preds = %91
%98 = load i32, ptr %6, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %6, align 4
br label %87, !llvm.loop !9
100: ; preds = %87
%101 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%102 = load i32, ptr @EXIT_SUCCESS, align 4
%103 = call i32 @exit(i32 noundef %102) #4
unreachable
}
declare i32 @error_msg(...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnl50op5y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%lu \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%14 = load i32, ptr %4, align 4
%15 = icmp eq i32 %14, 1
br i1 %15, label %16, label %18
16: ; preds = %2
%17 = call i32 (...) @error_msg()
br label %18
18: ; preds = %16, %2
store i32 0, ptr %8, align 4
%19 = load i32, ptr %4, align 4
%20 = zext i32 %19 to i64
%21 = call ptr @llvm.stacksave()
store ptr %21, ptr %10, align 8
%22 = alloca i64, i64 %20, align 16
store i64 %20, ptr %11, align 8
store i32 1, 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 %.lr.ph1, label %89
.lr.ph1: ; preds = %18
br label %26
26: ; preds = %.lr.ph1, %83
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %6, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds ptr, ptr %27, i64 %29
%31 = load ptr, ptr %30, align 8
%32 = getelementptr inbounds i8, ptr %31, i64 0
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 45
br i1 %35, label %36, label %38
36: ; preds = %26
%37 = call i32 (...) @error_msg()
br label %38
38: ; preds = %36, %26
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %6, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds ptr, ptr %39, i64 %41
%43 = load ptr, ptr %42, align 8
%44 = call i64 @strtoul(ptr noundef %43, ptr noundef %12, i32 noundef 10)
store i64 %44, ptr %9, align 8
%45 = load ptr, ptr %12, align 8
%46 = load ptr, ptr %5, align 8
%47 = load i32, ptr %6, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds ptr, ptr %46, i64 %48
%50 = load ptr, ptr %49, align 8
%51 = icmp eq ptr %45, %50
br i1 %51, label %52, label %54
52: ; preds = %38
%53 = call i32 (...) @error_msg()
br label %54
54: ; preds = %52, %38
store i32 0, ptr %13, align 4
store i32 0, ptr %7, align 4
%55 = load i32, ptr %7, align 4
%56 = load i32, ptr %8, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %54
br label %58
58: ; preds = %.lr.ph, %67
%59 = load i64, ptr %9, align 8
%60 = load i32, ptr %7, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i64, ptr %22, i64 %61
%63 = load i64, ptr %62, align 8
%64 = icmp eq i64 %59, %63
br i1 %64, label %65, label %66
65: ; preds = %58
store i32 1, ptr %13, align 4
br label %73
66: ; preds = %58
br label %67
67: ; preds = %66
%68 = load i32, ptr %7, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %7, align 4
%70 = load i32, ptr %7, align 4
%71 = load i32, ptr %8, align 4
%72 = icmp slt i32 %70, %71
br i1 %72, label %58, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %67
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %54
br label %73
73: ; preds = %.loopexit, %65
%74 = load i32, ptr %13, align 4
%75 = icmp eq i32 %74, 0
br i1 %75, label %76, label %82
76: ; preds = %73
%77 = load i64, ptr %9, align 8
%78 = load i32, ptr %8, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %8, align 4
%80 = sext i32 %78 to i64
%81 = getelementptr inbounds i64, ptr %22, i64 %80
store i64 %77, ptr %81, align 8
br label %82
82: ; preds = %76, %73
br label %83
83: ; preds = %82
%84 = load i32, ptr %6, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %6, align 4
%86 = load i32, ptr %6, align 4
%87 = load i32, ptr %4, align 4
%88 = icmp slt i32 %86, %87
br i1 %88, label %26, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %83
br label %89
89: ; preds = %._crit_edge, %18
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %6, align 4
%91 = load i32, ptr %6, align 4
%92 = load i32, ptr %8, align 4
%93 = icmp slt i32 %91, %92
br i1 %93, label %.lr.ph3, label %106
.lr.ph3: ; preds = %89
br label %94
94: ; preds = %.lr.ph3, %100
%95 = load i32, ptr %6, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i64, ptr %22, i64 %96
%98 = load i64, ptr %97, align 8
%99 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %98)
br label %100
100: ; preds = %94
%101 = load i32, ptr %6, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %6, align 4
%103 = load i32, ptr %6, align 4
%104 = load i32, ptr %8, align 4
%105 = icmp slt i32 %103, %104
br i1 %105, label %94, label %._crit_edge4, !llvm.loop !9
._crit_edge4: ; preds = %100
br label %106
106: ; preds = %._crit_edge4, %89
%107 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%108 = load i32, ptr @EXIT_SUCCESS, align 4
%109 = call i32 @exit(i32 noundef %108) #4
unreachable
}
declare i32 @error_msg(...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmppzqt816_.c'
source_filename = "/tmp/tmppzqt816_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpio_strd() #0 {
%1 = call i32 (...) @lnk_start()
ret i32 %1
}
declare i32 @lnk_start(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppzqt816_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpio_strd() #0 {
%1 = call i32 (...) @lnk_start()
ret i32 %1
}
declare i32 @lnk_start(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphbz3bh2m.c'
source_filename = "/tmp/tmphbz3bh2m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.pollfd = type { i32, i64, i64 }
@.str = private unnamed_addr constant [150 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/tehmaze-labs/wright/refs/heads/master/test/test/have_poll.c\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@POLLIN = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.pollfd, align 8
store i32 0, ptr %1, align 4
%3 = load i32, ptr @O_RDONLY, align 4
%4 = call i32 @open(ptr noundef @.str, i32 noundef %3)
%5 = getelementptr inbounds %struct.pollfd, ptr %2, i32 0, i32 0
store i32 %4, ptr %5, align 8
%6 = getelementptr inbounds %struct.pollfd, ptr %2, i32 0, i32 0
%7 = load i32, ptr %6, align 8
%8 = icmp eq i32 %7, -1
br i1 %8, label %9, label %11
9: ; preds = %0
%10 = call i32 @_exit(i32 noundef 1) #3
unreachable
11: ; preds = %0
%12 = load i64, ptr @POLLIN, align 8
%13 = getelementptr inbounds %struct.pollfd, ptr %2, i32 0, i32 2
store i64 %12, ptr %13, align 8
%14 = call i32 @poll(ptr noundef %2, i32 noundef 1, i32 noundef 10)
%15 = icmp eq i32 %14, -1
br i1 %15, label %16, label %18
16: ; preds = %11
%17 = call i32 @_exit(i32 noundef 1) #3
unreachable
18: ; preds = %11
%19 = getelementptr inbounds %struct.pollfd, ptr %2, i32 0, i32 1
%20 = load i64, ptr %19, align 8
%21 = load i64, ptr @POLLIN, align 8
%22 = icmp ne i64 %20, %21
br i1 %22, label %23, label %25
23: ; preds = %18
%24 = call i32 @_exit(i32 noundef 1) #3
unreachable
25: ; preds = %18
%26 = call i32 @_exit(i32 noundef 0) #3
unreachable
}
declare i32 @open(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #2
declare i32 @poll(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" }
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/tmphbz3bh2m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.pollfd = type { i32, i64, i64 }
@.str = private unnamed_addr constant [150 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/tehmaze-labs/wright/refs/heads/master/test/test/have_poll.c\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@POLLIN = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.pollfd, align 8
store i32 0, ptr %1, align 4
%3 = load i32, ptr @O_RDONLY, align 4
%4 = call i32 @open(ptr noundef @.str, i32 noundef %3)
%5 = getelementptr inbounds %struct.pollfd, ptr %2, i32 0, i32 0
store i32 %4, ptr %5, align 8
%6 = getelementptr inbounds %struct.pollfd, ptr %2, i32 0, i32 0
%7 = load i32, ptr %6, align 8
%8 = icmp eq i32 %7, -1
br i1 %8, label %9, label %11
9: ; preds = %0
%10 = call i32 @_exit(i32 noundef 1) #3
unreachable
11: ; preds = %0
%12 = load i64, ptr @POLLIN, align 8
%13 = getelementptr inbounds %struct.pollfd, ptr %2, i32 0, i32 2
store i64 %12, ptr %13, align 8
%14 = call i32 @poll(ptr noundef %2, i32 noundef 1, i32 noundef 10)
%15 = icmp eq i32 %14, -1
br i1 %15, label %16, label %18
16: ; preds = %11
%17 = call i32 @_exit(i32 noundef 1) #3
unreachable
18: ; preds = %11
%19 = getelementptr inbounds %struct.pollfd, ptr %2, i32 0, i32 1
%20 = load i64, ptr %19, align 8
%21 = load i64, ptr @POLLIN, align 8
%22 = icmp ne i64 %20, %21
br i1 %22, label %23, label %25
23: ; preds = %18
%24 = call i32 @_exit(i32 noundef 1) #3
unreachable
25: ; preds = %18
%26 = call i32 @_exit(i32 noundef 0) #3
unreachable
}
declare i32 @open(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #2
declare i32 @poll(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" }
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/tmpl7o1bnmq.c'
source_filename = "/tmp/tmpl7o1bnmq.c"
target datalayout = "e-m:e-p270: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/tmpl7o1bnmq.c"
target datalayout = "e-m:e-p270: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/tmp6it2e5lc.c'
source_filename = "/tmp/tmp6it2e5lc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"create file %s failure!\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"create file %s success!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @create_file(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 @creat(ptr noundef %3, i32 noundef 493)
%5 = icmp slt i64 %4, 0
br i1 %5, label %6, label %11
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i32 @printf(ptr noundef @.str, ptr noundef %7)
%9 = load i32, ptr @EXIT_FAILURE, align 4
%10 = call i32 @exit(i32 noundef %9) #3
unreachable
11: ; preds = %1
%12 = load ptr, ptr %2, align 8
%13 = call i32 @printf(ptr noundef @.str.1, ptr noundef %12)
br label %14
14: ; preds = %11
ret void
}
declare i64 @creat(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6it2e5lc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"create file %s failure!\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"create file %s success!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @create_file(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 @creat(ptr noundef %3, i32 noundef 493)
%5 = icmp slt i64 %4, 0
br i1 %5, label %6, label %11
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i32 @printf(ptr noundef @.str, ptr noundef %7)
%9 = load i32, ptr @EXIT_FAILURE, align 4
%10 = call i32 @exit(i32 noundef %9) #3
unreachable
11: ; preds = %1
%12 = load ptr, ptr %2, align 8
%13 = call i32 @printf(ptr noundef @.str.1, ptr noundef %12)
br label %14
14: ; preds = %11
ret void
}
declare i64 @creat(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvl2bsf36.c'
source_filename = "/tmp/tmpvl2bsf36.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_TEXTURE_2D = dso_local global i32 0, align 4
@GL_TEXTURE_WRAP_S = dso_local global i32 0, align 4
@GL_CLAMP = dso_local global i32 0, align 4
@GL_REPEAT = dso_local global i32 0, align 4
@GL_TEXTURE_WRAP_T = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @keyboard(i8 noundef zeroext %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i8, ptr %4, align 1
%8 = zext i8 %7 to i32
switch i32 %8, label %35 [
i32 115, label %9
i32 83, label %15
i32 116, label %21
i32 84, label %27
i32 27, label %33
]
9: ; preds = %3
%10 = load i32, ptr @GL_TEXTURE_2D, align 4
%11 = load i32, ptr @GL_TEXTURE_WRAP_S, align 4
%12 = load i32, ptr @GL_CLAMP, align 4
%13 = call i32 @glTexParameteri(i32 noundef %10, i32 noundef %11, i32 noundef %12)
%14 = call i32 (...) @glutPostRedisplay()
br label %36
15: ; preds = %3
%16 = load i32, ptr @GL_TEXTURE_2D, align 4
%17 = load i32, ptr @GL_TEXTURE_WRAP_S, align 4
%18 = load i32, ptr @GL_REPEAT, align 4
%19 = call i32 @glTexParameteri(i32 noundef %16, i32 noundef %17, i32 noundef %18)
%20 = call i32 (...) @glutPostRedisplay()
br label %36
21: ; preds = %3
%22 = load i32, ptr @GL_TEXTURE_2D, align 4
%23 = load i32, ptr @GL_TEXTURE_WRAP_T, align 4
%24 = load i32, ptr @GL_CLAMP, align 4
%25 = call i32 @glTexParameteri(i32 noundef %22, i32 noundef %23, i32 noundef %24)
%26 = call i32 (...) @glutPostRedisplay()
br label %36
27: ; preds = %3
%28 = load i32, ptr @GL_TEXTURE_2D, align 4
%29 = load i32, ptr @GL_TEXTURE_WRAP_T, align 4
%30 = load i32, ptr @GL_REPEAT, align 4
%31 = call i32 @glTexParameteri(i32 noundef %28, i32 noundef %29, i32 noundef %30)
%32 = call i32 (...) @glutPostRedisplay()
br label %36
33: ; preds = %3
%34 = call i32 @exit(i32 noundef 0) #3
unreachable
35: ; preds = %3
br label %36
36: ; preds = %35, %27, %21, %15, %9
ret void
}
declare i32 @glTexParameteri(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glutPostRedisplay(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvl2bsf36.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_TEXTURE_2D = dso_local global i32 0, align 4
@GL_TEXTURE_WRAP_S = dso_local global i32 0, align 4
@GL_CLAMP = dso_local global i32 0, align 4
@GL_REPEAT = dso_local global i32 0, align 4
@GL_TEXTURE_WRAP_T = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @keyboard(i8 noundef zeroext %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i8, ptr %4, align 1
%8 = zext i8 %7 to i32
switch i32 %8, label %35 [
i32 115, label %9
i32 83, label %15
i32 116, label %21
i32 84, label %27
i32 27, label %33
]
9: ; preds = %3
%10 = load i32, ptr @GL_TEXTURE_2D, align 4
%11 = load i32, ptr @GL_TEXTURE_WRAP_S, align 4
%12 = load i32, ptr @GL_CLAMP, align 4
%13 = call i32 @glTexParameteri(i32 noundef %10, i32 noundef %11, i32 noundef %12)
%14 = call i32 (...) @glutPostRedisplay()
br label %36
15: ; preds = %3
%16 = load i32, ptr @GL_TEXTURE_2D, align 4
%17 = load i32, ptr @GL_TEXTURE_WRAP_S, align 4
%18 = load i32, ptr @GL_REPEAT, align 4
%19 = call i32 @glTexParameteri(i32 noundef %16, i32 noundef %17, i32 noundef %18)
%20 = call i32 (...) @glutPostRedisplay()
br label %36
21: ; preds = %3
%22 = load i32, ptr @GL_TEXTURE_2D, align 4
%23 = load i32, ptr @GL_TEXTURE_WRAP_T, align 4
%24 = load i32, ptr @GL_CLAMP, align 4
%25 = call i32 @glTexParameteri(i32 noundef %22, i32 noundef %23, i32 noundef %24)
%26 = call i32 (...) @glutPostRedisplay()
br label %36
27: ; preds = %3
%28 = load i32, ptr @GL_TEXTURE_2D, align 4
%29 = load i32, ptr @GL_TEXTURE_WRAP_T, align 4
%30 = load i32, ptr @GL_REPEAT, align 4
%31 = call i32 @glTexParameteri(i32 noundef %28, i32 noundef %29, i32 noundef %30)
%32 = call i32 (...) @glutPostRedisplay()
br label %36
33: ; preds = %3
%34 = call i32 @exit(i32 noundef 0) #3
unreachable
35: ; preds = %3
br label %36
36: ; preds = %35, %27, %21, %15, %9
ret void
}
declare i32 @glTexParameteri(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glutPostRedisplay(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6id6v04p.c'
source_filename = "/tmp/tmp6id6v04p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_XEDataObject_display(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0
%5 = load i64, ptr %4, align 8
%6 = inttoptr i64 %5 to ptr
ret ptr %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/tmp6id6v04p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_XEDataObject_display(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0
%5 = load i64, ptr %4, align 8
%6 = inttoptr i64 %5 to ptr
ret ptr %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/tmpa6qp30i5.c'
source_filename = "/tmp/tmpa6qp30i5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"*\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%7 = load i32, ptr %2, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = mul nsw i32 2, %9
%11 = sub nsw i32 %10, 1
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12)
store i32 1, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 -1, ptr %4, align 4
br label %14
14: ; preds = %32, %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 %35
18: ; preds = %14
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%20 = load i32, ptr %4, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %22
22: ; preds = %28, %18
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp sle i32 %23, %24
br i1 %25, label %26, label %31
26: ; preds = %22
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %28
28: ; preds = %26
%29 = load i32, ptr %5, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %5, align 4
br label %22, !llvm.loop !6
31: ; preds = %22
br label %32
32: ; preds = %31
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %4, align 4
br label %14, !llvm.loop !8
35: ; preds = %14
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa6qp30i5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"*\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%7 = load i32, ptr %2, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = mul nsw i32 2, %9
%11 = sub nsw i32 %10, 1
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12)
store i32 1, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 -1, 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.ph2, label %39
.lr.ph2: ; preds = %0
br label %17
17: ; preds = %.lr.ph2, %33
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %4, align 4
store i32 0, ptr %5, align 4
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %.lr.ph, label %32
.lr.ph: ; preds = %17
br label %24
24: ; preds = %.lr.ph, %26
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %26
26: ; preds = %24
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %5, align 4
%29 = load i32, ptr %5, align 4
%30 = load i32, ptr %4, align 4
%31 = icmp sle i32 %29, %30
br i1 %31, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %17
br label %33
33: ; preds = %32
%34 = load i32, ptr %4, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %4, align 4
%36 = load i32, ptr %4, align 4
%37 = load i32, ptr %3, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %17, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %33
br label %39
39: ; preds = %._crit_edge3, %0
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpte52jj0e.c'
source_filename = "/tmp/tmpte52jj0e.c"
target datalayout = "e-m:e-p270: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/tmpte52jj0e.c"
target datalayout = "e-m:e-p270: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/tmp22c6he8w.c'
source_filename = "/tmp/tmp22c6he8w.c"
target datalayout = "e-m:e-p270: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 [81 x i8] c"Generating license prepare file into path:%s ,Please send to product vendor....\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Status : Not Licensed\0A\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c"License prepare file generated path: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @customer_generate_c2v(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @hash_init_nonfile(ptr noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @hash_write(ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = call i32 @hash_free(ptr noundef %8)
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %2, align 8
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %11)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str.1)
%15 = load i32, ptr @stderr, align 4
%16 = load ptr, ptr %2, align 8
%17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.2, ptr noundef %16)
ret void
}
declare ptr @hash_init_nonfile(ptr noundef) #1
declare i32 @hash_write(ptr noundef) #1
declare i32 @hash_free(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp22c6he8w.c"
target datalayout = "e-m:e-p270: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 [81 x i8] c"Generating license prepare file into path:%s ,Please send to product vendor....\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Status : Not Licensed\0A\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c"License prepare file generated path: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @customer_generate_c2v(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @hash_init_nonfile(ptr noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @hash_write(ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = call i32 @hash_free(ptr noundef %8)
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %2, align 8
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %11)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str.1)
%15 = load i32, ptr @stderr, align 4
%16 = load ptr, ptr %2, align 8
%17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.2, ptr noundef %16)
ret void
}
declare ptr @hash_init_nonfile(ptr noundef) #1
declare i32 @hash_write(ptr noundef) #1
declare i32 @hash_free(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfjqayzi9.c'
source_filename = "/tmp/tmpfjqayzi9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @int2Str(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [30 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%9 = call i64 @malloc(i32 noundef 30)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %5, align 8
store i32 0, ptr %7, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %19
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %7, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %7, align 4
%17 = sext i32 %15 to i64
%18 = getelementptr inbounds i8, ptr %14, i64 %17
store i8 48, ptr %18, align 1
br label %19
19: ; preds = %13, %2
br label %20
20: ; preds = %23, %19
%21 = load i32, ptr %3, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %34
23: ; preds = %20
%24 = load i32, ptr %3, align 4
%25 = srem i32 %24, 10
%26 = add nsw i32 %25, 48
%27 = trunc i32 %26 to i8
%28 = load i32, ptr %7, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %7, align 4
%30 = sext i32 %28 to i64
%31 = getelementptr inbounds [30 x i8], ptr %6, i64 0, i64 %30
store i8 %27, ptr %31, align 1
%32 = load i32, ptr %3, align 4
%33 = sdiv i32 %32, 10
store i32 %33, ptr %3, align 4
br label %20, !llvm.loop !6
34: ; preds = %20
store i32 0, ptr %8, align 4
br label %35
35: ; preds = %51, %34
%36 = load i32, ptr %8, align 4
%37 = load i32, ptr %7, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %54
39: ; preds = %35
%40 = load i32, ptr %8, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [30 x i8], ptr %6, i64 0, i64 %41
%43 = load i8, ptr %42, align 1
%44 = load ptr, ptr %5, align 8
%45 = load i32, ptr %7, align 4
%46 = load i32, ptr %8, align 4
%47 = sub nsw i32 %45, %46
%48 = sub nsw i32 %47, 1
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %44, i64 %49
store i8 %43, ptr %50, align 1
br label %51
51: ; preds = %39
%52 = load i32, ptr %8, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %8, align 4
br label %35, !llvm.loop !8
54: ; preds = %35
%55 = load ptr, ptr %5, align 8
%56 = load i32, ptr %7, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
store i8 0, ptr %58, align 1
%59 = load i32, ptr %7, align 4
%60 = load ptr, ptr %4, align 8
store i32 %59, ptr %60, align 4
%61 = load ptr, ptr %5, align 8
ret ptr %61
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfjqayzi9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @int2Str(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [30 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%9 = call i64 @malloc(i32 noundef 30)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %5, align 8
store i32 0, ptr %7, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %19
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %7, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %7, align 4
%17 = sext i32 %15 to i64
%18 = getelementptr inbounds i8, ptr %14, i64 %17
store i8 48, ptr %18, align 1
br label %19
19: ; preds = %13, %2
%20 = load i32, ptr %3, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %.lr.ph, label %35
.lr.ph: ; preds = %19
br label %22
22: ; preds = %.lr.ph, %22
%23 = load i32, ptr %3, align 4
%24 = srem i32 %23, 10
%25 = add nsw i32 %24, 48
%26 = trunc i32 %25 to i8
%27 = load i32, ptr %7, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %7, align 4
%29 = sext i32 %27 to i64
%30 = getelementptr inbounds [30 x i8], ptr %6, i64 0, i64 %29
store i8 %26, ptr %30, align 1
%31 = load i32, ptr %3, align 4
%32 = sdiv i32 %31, 10
store i32 %32, ptr %3, align 4
%33 = load i32, ptr %3, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %35
35: ; preds = %._crit_edge, %19
store i32 0, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = load i32, ptr %7, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %.lr.ph2, label %57
.lr.ph2: ; preds = %35
br label %39
39: ; preds = %.lr.ph2, %51
%40 = load i32, ptr %8, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [30 x i8], ptr %6, i64 0, i64 %41
%43 = load i8, ptr %42, align 1
%44 = load ptr, ptr %5, align 8
%45 = load i32, ptr %7, align 4
%46 = load i32, ptr %8, align 4
%47 = sub nsw i32 %45, %46
%48 = sub nsw i32 %47, 1
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %44, i64 %49
store i8 %43, ptr %50, align 1
br label %51
51: ; preds = %39
%52 = load i32, ptr %8, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %8, align 4
%54 = load i32, ptr %8, align 4
%55 = load i32, ptr %7, align 4
%56 = icmp slt i32 %54, %55
br i1 %56, label %39, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %51
br label %57
57: ; preds = %._crit_edge3, %35
%58 = load ptr, ptr %5, align 8
%59 = load i32, ptr %7, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %58, i64 %60
store i8 0, ptr %61, align 1
%62 = load i32, ptr %7, align 4
%63 = load ptr, ptr %4, align 8
store i32 %62, ptr %63, align 4
%64 = load ptr, ptr %5, align 8
ret ptr %64
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp13pl8dzx.c'
source_filename = "/tmp/tmp13pl8dzx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @riplFree(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp13pl8dzx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @riplFree(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr3m8wpuh.c'
source_filename = "/tmp/tmpr3m8wpuh.c"
target datalayout = "e-m:e-p270: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/tmpr3m8wpuh.c"
target datalayout = "e-m:e-p270: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/tmprvz41alw.c'
source_filename = "/tmp/tmprvz41alw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"^[_a-z][0-9a-z_]+\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @esEtiquetaSalto(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 @match(ptr noundef %3, ptr noundef @.str)
ret i32 %4
}
declare i32 @match(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/tmprvz41alw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"^[_a-z][0-9a-z_]+\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @esEtiquetaSalto(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 @match(ptr noundef %3, ptr noundef @.str)
ret i32 %4
}
declare i32 @match(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/tmpzw02zi80.c'
source_filename = "/tmp/tmpzw02zi80.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @function_binary(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = fneg float %3
%5 = call i32 @exp(float noundef %4)
%6 = add nsw i32 1, %5
%7 = sdiv i32 1, %6
%8 = sitofp i32 %7 to float
ret float %8
}
declare i32 @exp(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzw02zi80.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @function_binary(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = fneg float %3
%5 = call i32 @exp(float noundef %4)
%6 = add nsw i32 1, %5
%7 = sdiv i32 1, %6
%8 = sitofp i32 %7 to float
ret float %8
}
declare i32 @exp(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpre8056s8.c'
source_filename = "/tmp/tmpre8056s8.c"
target datalayout = "e-m:e-p270: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/tmpre8056s8.c"
target datalayout = "e-m:e-p270: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/tmpiqdbp0es.c'
source_filename = "/tmp/tmpiqdbp0es.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Out of memory\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"Say something..: \00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Unable to reallocate memory\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c"Memory reallocation successful\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"String is: %s\0A\0A\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"Memory has been released\00", align 1
@.str.6 = private unnamed_addr constant [17 x i8] c"String now is %s\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
store i32 0, ptr %1, align 4
%4 = call i64 @malloc(i32 noundef 4069)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 @puts(ptr noundef @.str)
store i32 0, ptr %1, align 4
br label %32
10: ; preds = %0
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%12 = load ptr, ptr %2, align 8
%13 = call i32 @gets(ptr noundef %12)
%14 = load ptr, ptr %2, align 8
%15 = call i32 @strlen(ptr noundef %14)
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %3, align 4
%19 = call i32 @realloc(ptr noundef %17, i32 noundef %18)
%20 = icmp ne i32 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %10
%22 = call i32 @puts(ptr noundef @.str.2)
store i32 0, ptr %1, align 4
br label %32
23: ; preds = %10
%24 = call i32 @puts(ptr noundef @.str.3)
%25 = load ptr, ptr %2, align 8
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %25)
%27 = load ptr, ptr %2, align 8
%28 = call i32 @free(ptr noundef %27)
%29 = call i32 @puts(ptr noundef @.str.5)
%30 = load ptr, ptr %2, align 8
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %30)
store i32 0, ptr %1, align 4
br label %32
32: ; preds = %23, %21, %8
%33 = load i32, ptr %1, align 4
ret i32 %33
}
declare i64 @malloc(i32 noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @gets(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @realloc(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiqdbp0es.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Out of memory\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"Say something..: \00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Unable to reallocate memory\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c"Memory reallocation successful\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"String is: %s\0A\0A\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"Memory has been released\00", align 1
@.str.6 = private unnamed_addr constant [17 x i8] c"String now is %s\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
store i32 0, ptr %1, align 4
%4 = call i64 @malloc(i32 noundef 4069)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 @puts(ptr noundef @.str)
store i32 0, ptr %1, align 4
br label %32
10: ; preds = %0
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%12 = load ptr, ptr %2, align 8
%13 = call i32 @gets(ptr noundef %12)
%14 = load ptr, ptr %2, align 8
%15 = call i32 @strlen(ptr noundef %14)
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %3, align 4
%19 = call i32 @realloc(ptr noundef %17, i32 noundef %18)
%20 = icmp ne i32 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %10
%22 = call i32 @puts(ptr noundef @.str.2)
store i32 0, ptr %1, align 4
br label %32
23: ; preds = %10
%24 = call i32 @puts(ptr noundef @.str.3)
%25 = load ptr, ptr %2, align 8
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %25)
%27 = load ptr, ptr %2, align 8
%28 = call i32 @free(ptr noundef %27)
%29 = call i32 @puts(ptr noundef @.str.5)
%30 = load ptr, ptr %2, align 8
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %30)
store i32 0, ptr %1, align 4
br label %32
32: ; preds = %23, %21, %8
%33 = load i32, ptr %1, align 4
ret i32 %33
}
declare i64 @malloc(i32 noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @gets(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @realloc(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps2zkws0d.c'
source_filename = "/tmp/tmps2zkws0d.c"
target datalayout = "e-m:e-p270: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/tmps2zkws0d.c"
target datalayout = "e-m:e-p270: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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.