llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpe7bstpna.c'
source_filename = "/tmp/tmpe7bstpna.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_exit(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @exit(i32 noundef 0) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe7bstpna.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_exit(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @exit(i32 noundef 0) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7bibgvj9.c'
source_filename = "/tmp/tmp7bibgvj9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @geom_gam_sph_rtp_B(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds double, ptr %7, i64 0
%9 = load double, ptr %8, align 8
store double %9, ptr %5, align 8
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds double, ptr %10, i64 1
%12 = load double, ptr %11, align 8
%13 = call double @sin(double noundef %12) #2
store double %13, ptr %6, align 8
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds [3 x double], ptr %14, i64 0
%16 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
store double 1.000000e+00, ptr %16, align 8
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds [3 x double], ptr %17, i64 0
%19 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 1
store double 0.000000e+00, ptr %19, align 8
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds [3 x double], ptr %20, i64 0
%22 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 2
store double 0.000000e+00, ptr %22, align 8
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds [3 x double], ptr %23, i64 1
%25 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 0
store double 0.000000e+00, ptr %25, align 8
%26 = load double, ptr %5, align 8
%27 = load double, ptr %5, align 8
%28 = fmul double %26, %27
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds [3 x double], ptr %29, i64 1
%31 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 1
store double %28, ptr %31, align 8
%32 = load ptr, ptr %4, align 8
%33 = getelementptr inbounds [3 x double], ptr %32, i64 1
%34 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 2
store double 0.000000e+00, ptr %34, align 8
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds [3 x double], ptr %35, i64 2
%37 = getelementptr inbounds [3 x double], ptr %36, i64 0, i64 0
store double 0.000000e+00, ptr %37, align 8
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds [3 x double], ptr %38, i64 2
%40 = getelementptr inbounds [3 x double], ptr %39, i64 0, i64 1
store double 0.000000e+00, ptr %40, align 8
%41 = load double, ptr %5, align 8
%42 = load double, ptr %5, align 8
%43 = fmul double %41, %42
%44 = load double, ptr %6, align 8
%45 = fmul double %43, %44
%46 = load double, ptr %6, align 8
%47 = fmul double %45, %46
%48 = load ptr, ptr %4, align 8
%49 = getelementptr inbounds [3 x double], ptr %48, i64 2
%50 = getelementptr inbounds [3 x double], ptr %49, i64 0, i64 2
store double %47, ptr %50, align 8
ret void
}
; Function Attrs: nounwind
declare double @sin(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7bibgvj9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @geom_gam_sph_rtp_B(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds double, ptr %7, i64 0
%9 = load double, ptr %8, align 8
store double %9, ptr %5, align 8
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds double, ptr %10, i64 1
%12 = load double, ptr %11, align 8
%13 = call double @sin(double noundef %12) #2
store double %13, ptr %6, align 8
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds [3 x double], ptr %14, i64 0
%16 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
store double 1.000000e+00, ptr %16, align 8
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds [3 x double], ptr %17, i64 0
%19 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 1
store double 0.000000e+00, ptr %19, align 8
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds [3 x double], ptr %20, i64 0
%22 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 2
store double 0.000000e+00, ptr %22, align 8
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds [3 x double], ptr %23, i64 1
%25 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 0
store double 0.000000e+00, ptr %25, align 8
%26 = load double, ptr %5, align 8
%27 = load double, ptr %5, align 8
%28 = fmul double %26, %27
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds [3 x double], ptr %29, i64 1
%31 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 1
store double %28, ptr %31, align 8
%32 = load ptr, ptr %4, align 8
%33 = getelementptr inbounds [3 x double], ptr %32, i64 1
%34 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 2
store double 0.000000e+00, ptr %34, align 8
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds [3 x double], ptr %35, i64 2
%37 = getelementptr inbounds [3 x double], ptr %36, i64 0, i64 0
store double 0.000000e+00, ptr %37, align 8
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds [3 x double], ptr %38, i64 2
%40 = getelementptr inbounds [3 x double], ptr %39, i64 0, i64 1
store double 0.000000e+00, ptr %40, align 8
%41 = load double, ptr %5, align 8
%42 = load double, ptr %5, align 8
%43 = fmul double %41, %42
%44 = load double, ptr %6, align 8
%45 = fmul double %43, %44
%46 = load double, ptr %6, align 8
%47 = fmul double %45, %46
%48 = load ptr, ptr %4, align 8
%49 = getelementptr inbounds [3 x double], ptr %48, i64 2
%50 = getelementptr inbounds [3 x double], ptr %49, i64 0, i64 2
store double %47, ptr %50, align 8
ret void
}
; Function Attrs: nounwind
declare double @sin(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw0ec__rk.c'
source_filename = "/tmp/tmpw0ec__rk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DecompressBlockDXT5(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%33 = load ptr, ptr %9, align 8
%34 = load i32, ptr %33, align 4
store i32 %34, ptr %11, align 4
%35 = load ptr, ptr %9, align 8
%36 = getelementptr inbounds i32, ptr %35, i64 1
%37 = load i32, ptr %36, align 4
store i32 %37, ptr %12, align 4
%38 = load ptr, ptr %9, align 8
%39 = getelementptr inbounds i32, ptr %38, i64 2
store ptr %39, ptr %13, align 8
%40 = load ptr, ptr %13, align 8
%41 = getelementptr inbounds i32, ptr %40, i64 2
%42 = load i32, ptr %41, align 4
%43 = load ptr, ptr %13, align 8
%44 = getelementptr inbounds i32, ptr %43, i64 3
%45 = load i32, ptr %44, align 4
%46 = shl i32 %45, 8
%47 = or i32 %42, %46
%48 = load ptr, ptr %13, align 8
%49 = getelementptr inbounds i32, ptr %48, i64 4
%50 = load i32, ptr %49, align 4
%51 = shl i32 %50, 16
%52 = or i32 %47, %51
%53 = load ptr, ptr %13, align 8
%54 = getelementptr inbounds i32, ptr %53, i64 5
%55 = load i32, ptr %54, align 4
%56 = shl i32 %55, 24
%57 = or i32 %52, %56
store i32 %57, ptr %14, align 4
%58 = load ptr, ptr %13, align 8
%59 = getelementptr inbounds i32, ptr %58, i64 0
%60 = load i32, ptr %59, align 4
%61 = load ptr, ptr %13, align 8
%62 = getelementptr inbounds i32, ptr %61, i64 1
%63 = load i32, ptr %62, align 4
%64 = shl i32 %63, 8
%65 = or i32 %60, %64
store i32 %65, ptr %15, align 4
%66 = load ptr, ptr %9, align 8
%67 = getelementptr inbounds i32, ptr %66, i64 8
%68 = load i32, ptr %67, align 4
store i32 %68, ptr %16, align 4
%69 = load ptr, ptr %9, align 8
%70 = getelementptr inbounds i32, ptr %69, i64 10
%71 = load i32, ptr %70, align 4
store i32 %71, ptr %17, align 4
%72 = load i32, ptr %16, align 4
%73 = ashr i32 %72, 11
%74 = mul nsw i32 %73, 255
%75 = add nsw i32 %74, 16
store i32 %75, ptr %26, align 4
%76 = load i32, ptr %26, align 4
%77 = sdiv i32 %76, 32
%78 = load i32, ptr %26, align 4
%79 = add nsw i32 %77, %78
%80 = sdiv i32 %79, 32
store i32 %80, ptr %18, align 4
%81 = load i32, ptr %16, align 4
%82 = and i32 %81, 2016
%83 = ashr i32 %82, 5
%84 = mul nsw i32 %83, 255
%85 = add nsw i32 %84, 32
store i32 %85, ptr %26, align 4
%86 = load i32, ptr %26, align 4
%87 = sdiv i32 %86, 64
%88 = load i32, ptr %26, align 4
%89 = add nsw i32 %87, %88
%90 = sdiv i32 %89, 64
store i32 %90, ptr %19, align 4
%91 = load i32, ptr %16, align 4
%92 = and i32 %91, 31
%93 = mul nsw i32 %92, 255
%94 = add nsw i32 %93, 16
store i32 %94, ptr %26, align 4
%95 = load i32, ptr %26, align 4
%96 = sdiv i32 %95, 32
%97 = load i32, ptr %26, align 4
%98 = add nsw i32 %96, %97
%99 = sdiv i32 %98, 32
store i32 %99, ptr %20, align 4
%100 = load i32, ptr %17, align 4
%101 = ashr i32 %100, 11
%102 = mul nsw i32 %101, 255
%103 = add nsw i32 %102, 16
store i32 %103, ptr %26, align 4
%104 = load i32, ptr %26, align 4
%105 = sdiv i32 %104, 32
%106 = load i32, ptr %26, align 4
%107 = add nsw i32 %105, %106
%108 = sdiv i32 %107, 32
store i32 %108, ptr %21, align 4
%109 = load i32, ptr %17, align 4
%110 = and i32 %109, 2016
%111 = ashr i32 %110, 5
%112 = mul nsw i32 %111, 255
%113 = add nsw i32 %112, 32
store i32 %113, ptr %26, align 4
%114 = load i32, ptr %26, align 4
%115 = sdiv i32 %114, 64
%116 = load i32, ptr %26, align 4
%117 = add nsw i32 %115, %116
%118 = sdiv i32 %117, 64
store i32 %118, ptr %22, align 4
%119 = load i32, ptr %17, align 4
%120 = and i32 %119, 31
%121 = mul nsw i32 %120, 255
%122 = add nsw i32 %121, 16
store i32 %122, ptr %26, align 4
%123 = load i32, ptr %26, align 4
%124 = sdiv i32 %123, 32
%125 = load i32, ptr %26, align 4
%126 = add nsw i32 %124, %125
%127 = sdiv i32 %126, 32
store i32 %127, ptr %23, align 4
%128 = load ptr, ptr %9, align 8
%129 = getelementptr inbounds i32, ptr %128, i64 12
%130 = load i32, ptr %129, align 4
store i32 %130, ptr %27, align 4
store i32 0, ptr %25, align 4
br label %131
131: ; preds = %292, %5
%132 = load i32, ptr %25, align 4
%133 = icmp slt i32 %132, 4
br i1 %133, label %134, label %295
134: ; preds = %131
store i32 0, ptr %24, align 4
br label %135
135: ; preds = %288, %134
%136 = load i32, ptr %24, align 4
%137 = icmp slt i32 %136, 4
br i1 %137, label %138, label %291
138: ; preds = %135
%139 = load i32, ptr %25, align 4
%140 = mul nsw i32 4, %139
%141 = load i32, ptr %24, align 4
%142 = add nsw i32 %140, %141
%143 = mul nsw i32 3, %142
store i32 %143, ptr %30, align 4
%144 = load i32, ptr %30, align 4
%145 = icmp sle i32 %144, 12
br i1 %145, label %146, label %151
146: ; preds = %138
%147 = load i32, ptr %15, align 4
%148 = load i32, ptr %30, align 4
%149 = ashr i32 %147, %148
%150 = and i32 %149, 7
store i32 %150, ptr %29, align 4
br label %168
151: ; preds = %138
%152 = load i32, ptr %30, align 4
%153 = icmp eq i32 %152, 15
br i1 %153, label %154, label %161
154: ; preds = %151
%155 = load i32, ptr %15, align 4
%156 = ashr i32 %155, 15
%157 = load i32, ptr %14, align 4
%158 = shl i32 %157, 1
%159 = and i32 %158, 6
%160 = or i32 %156, %159
store i32 %160, ptr %29, align 4
br label %167
161: ; preds = %151
%162 = load i32, ptr %14, align 4
%163 = load i32, ptr %30, align 4
%164 = sub nsw i32 %163, 16
%165 = ashr i32 %162, %164
%166 = and i32 %165, 7
store i32 %166, ptr %29, align 4
br label %167
167: ; preds = %161, %154
br label %168
168: ; preds = %167, %146
%169 = load i32, ptr %29, align 4
%170 = icmp eq i32 %169, 0
br i1 %170, label %171, label %173
171: ; preds = %168
%172 = load i32, ptr %11, align 4
store i32 %172, ptr %28, align 4
br label %216
173: ; preds = %168
%174 = load i32, ptr %29, align 4
%175 = icmp eq i32 %174, 1
br i1 %175, label %176, label %178
176: ; preds = %173
%177 = load i32, ptr %12, align 4
store i32 %177, ptr %28, align 4
br label %215
178: ; preds = %173
%179 = load i32, ptr %11, align 4
%180 = load i32, ptr %12, align 4
%181 = icmp sgt i32 %179, %180
br i1 %181, label %182, label %193
182: ; preds = %178
%183 = load i32, ptr %29, align 4
%184 = sub nsw i32 8, %183
%185 = load i32, ptr %11, align 4
%186 = mul nsw i32 %184, %185
%187 = load i32, ptr %29, align 4
%188 = sub nsw i32 %187, 1
%189 = load i32, ptr %12, align 4
%190 = mul nsw i32 %188, %189
%191 = add nsw i32 %186, %190
%192 = sdiv i32 %191, 7
store i32 %192, ptr %28, align 4
br label %214
193: ; preds = %178
%194 = load i32, ptr %29, align 4
%195 = icmp eq i32 %194, 6
br i1 %195, label %196, label %197
196: ; preds = %193
store i32 0, ptr %28, align 4
br label %213
197: ; preds = %193
%198 = load i32, ptr %29, align 4
%199 = icmp eq i32 %198, 7
br i1 %199, label %200, label %201
200: ; preds = %197
store i32 255, ptr %28, align 4
br label %212
201: ; preds = %197
%202 = load i32, ptr %29, align 4
%203 = sub nsw i32 6, %202
%204 = load i32, ptr %11, align 4
%205 = mul nsw i32 %203, %204
%206 = load i32, ptr %29, align 4
%207 = sub nsw i32 %206, 1
%208 = load i32, ptr %12, align 4
%209 = mul nsw i32 %207, %208
%210 = add nsw i32 %205, %209
%211 = sdiv i32 %210, 5
store i32 %211, ptr %28, align 4
br label %212
212: ; preds = %201, %200
br label %213
213: ; preds = %212, %196
br label %214
214: ; preds = %213, %182
br label %215
215: ; preds = %214, %176
br label %216
216: ; preds = %215, %171
%217 = load i32, ptr %27, align 4
%218 = load i32, ptr %25, align 4
%219 = mul nsw i32 4, %218
%220 = load i32, ptr %24, align 4
%221 = add nsw i32 %219, %220
%222 = mul nsw i32 2, %221
%223 = ashr i32 %217, %222
%224 = and i32 %223, 3
store i32 %224, ptr %31, align 4
store i32 0, ptr %32, align 4
%225 = load i32, ptr %31, align 4
switch i32 %225, label %274 [
i32 0, label %226
i32 1, label %232
i32 2, label %238
i32 3, label %256
]
226: ; preds = %216
%227 = load i32, ptr %18, align 4
%228 = load i32, ptr %19, align 4
%229 = load i32, ptr %20, align 4
%230 = load i32, ptr %28, align 4
%231 = call i32 @PackRGBA(i32 noundef %227, i32 noundef %228, i32 noundef %229, i32 noundef %230)
store i32 %231, ptr %32, align 4
br label %274
232: ; preds = %216
%233 = load i32, ptr %21, align 4
%234 = load i32, ptr %22, align 4
%235 = load i32, ptr %23, align 4
%236 = load i32, ptr %28, align 4
%237 = call i32 @PackRGBA(i32 noundef %233, i32 noundef %234, i32 noundef %235, i32 noundef %236)
store i32 %237, ptr %32, align 4
br label %274
238: ; preds = %216
%239 = load i32, ptr %18, align 4
%240 = mul nsw i32 2, %239
%241 = load i32, ptr %21, align 4
%242 = add nsw i32 %240, %241
%243 = sdiv i32 %242, 3
%244 = load i32, ptr %19, align 4
%245 = mul nsw i32 2, %244
%246 = load i32, ptr %22, align 4
%247 = add nsw i32 %245, %246
%248 = sdiv i32 %247, 3
%249 = load i32, ptr %20, align 4
%250 = mul nsw i32 2, %249
%251 = load i32, ptr %23, align 4
%252 = add nsw i32 %250, %251
%253 = sdiv i32 %252, 3
%254 = load i32, ptr %28, align 4
%255 = call i32 @PackRGBA(i32 noundef %243, i32 noundef %248, i32 noundef %253, i32 noundef %254)
store i32 %255, ptr %32, align 4
br label %274
256: ; preds = %216
%257 = load i32, ptr %18, align 4
%258 = load i32, ptr %21, align 4
%259 = mul nsw i32 2, %258
%260 = add nsw i32 %257, %259
%261 = sdiv i32 %260, 3
%262 = load i32, ptr %19, align 4
%263 = load i32, ptr %22, align 4
%264 = mul nsw i32 2, %263
%265 = add nsw i32 %262, %264
%266 = sdiv i32 %265, 3
%267 = load i32, ptr %20, align 4
%268 = load i32, ptr %23, align 4
%269 = mul nsw i32 2, %268
%270 = add nsw i32 %267, %269
%271 = sdiv i32 %270, 3
%272 = load i32, ptr %28, align 4
%273 = call i32 @PackRGBA(i32 noundef %261, i32 noundef %266, i32 noundef %271, i32 noundef %272)
store i32 %273, ptr %32, align 4
br label %274
274: ; preds = %216, %256, %238, %232, %226
%275 = load i32, ptr %32, align 4
%276 = load ptr, ptr %10, align 8
%277 = load i32, ptr %24, align 4
%278 = load i32, ptr %6, align 4
%279 = add nsw i32 %277, %278
%280 = load i32, ptr %8, align 4
%281 = load i32, ptr %7, align 4
%282 = load i32, ptr %25, align 4
%283 = add nsw i32 %281, %282
%284 = mul nsw i32 %280, %283
%285 = add nsw i32 %279, %284
%286 = sext i32 %285 to i64
%287 = getelementptr inbounds i32, ptr %276, i64 %286
store i32 %275, ptr %287, align 4
br label %288
288: ; preds = %274
%289 = load i32, ptr %24, align 4
%290 = add nsw i32 %289, 1
store i32 %290, ptr %24, align 4
br label %135, !llvm.loop !6
291: ; preds = %135
br label %292
292: ; preds = %291
%293 = load i32, ptr %25, align 4
%294 = add nsw i32 %293, 1
store i32 %294, ptr %25, align 4
br label %131, !llvm.loop !8
295: ; preds = %131
ret void
}
declare i32 @PackRGBA(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw0ec__rk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DecompressBlockDXT5(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%33 = load ptr, ptr %9, align 8
%34 = load i32, ptr %33, align 4
store i32 %34, ptr %11, align 4
%35 = load ptr, ptr %9, align 8
%36 = getelementptr inbounds i32, ptr %35, i64 1
%37 = load i32, ptr %36, align 4
store i32 %37, ptr %12, align 4
%38 = load ptr, ptr %9, align 8
%39 = getelementptr inbounds i32, ptr %38, i64 2
store ptr %39, ptr %13, align 8
%40 = load ptr, ptr %13, align 8
%41 = getelementptr inbounds i32, ptr %40, i64 2
%42 = load i32, ptr %41, align 4
%43 = load ptr, ptr %13, align 8
%44 = getelementptr inbounds i32, ptr %43, i64 3
%45 = load i32, ptr %44, align 4
%46 = shl i32 %45, 8
%47 = or i32 %42, %46
%48 = load ptr, ptr %13, align 8
%49 = getelementptr inbounds i32, ptr %48, i64 4
%50 = load i32, ptr %49, align 4
%51 = shl i32 %50, 16
%52 = or i32 %47, %51
%53 = load ptr, ptr %13, align 8
%54 = getelementptr inbounds i32, ptr %53, i64 5
%55 = load i32, ptr %54, align 4
%56 = shl i32 %55, 24
%57 = or i32 %52, %56
store i32 %57, ptr %14, align 4
%58 = load ptr, ptr %13, align 8
%59 = getelementptr inbounds i32, ptr %58, i64 0
%60 = load i32, ptr %59, align 4
%61 = load ptr, ptr %13, align 8
%62 = getelementptr inbounds i32, ptr %61, i64 1
%63 = load i32, ptr %62, align 4
%64 = shl i32 %63, 8
%65 = or i32 %60, %64
store i32 %65, ptr %15, align 4
%66 = load ptr, ptr %9, align 8
%67 = getelementptr inbounds i32, ptr %66, i64 8
%68 = load i32, ptr %67, align 4
store i32 %68, ptr %16, align 4
%69 = load ptr, ptr %9, align 8
%70 = getelementptr inbounds i32, ptr %69, i64 10
%71 = load i32, ptr %70, align 4
store i32 %71, ptr %17, align 4
%72 = load i32, ptr %16, align 4
%73 = ashr i32 %72, 11
%74 = mul nsw i32 %73, 255
%75 = add nsw i32 %74, 16
store i32 %75, ptr %26, align 4
%76 = load i32, ptr %26, align 4
%77 = sdiv i32 %76, 32
%78 = load i32, ptr %26, align 4
%79 = add nsw i32 %77, %78
%80 = sdiv i32 %79, 32
store i32 %80, ptr %18, align 4
%81 = load i32, ptr %16, align 4
%82 = and i32 %81, 2016
%83 = ashr i32 %82, 5
%84 = mul nsw i32 %83, 255
%85 = add nsw i32 %84, 32
store i32 %85, ptr %26, align 4
%86 = load i32, ptr %26, align 4
%87 = sdiv i32 %86, 64
%88 = load i32, ptr %26, align 4
%89 = add nsw i32 %87, %88
%90 = sdiv i32 %89, 64
store i32 %90, ptr %19, align 4
%91 = load i32, ptr %16, align 4
%92 = and i32 %91, 31
%93 = mul nsw i32 %92, 255
%94 = add nsw i32 %93, 16
store i32 %94, ptr %26, align 4
%95 = load i32, ptr %26, align 4
%96 = sdiv i32 %95, 32
%97 = load i32, ptr %26, align 4
%98 = add nsw i32 %96, %97
%99 = sdiv i32 %98, 32
store i32 %99, ptr %20, align 4
%100 = load i32, ptr %17, align 4
%101 = ashr i32 %100, 11
%102 = mul nsw i32 %101, 255
%103 = add nsw i32 %102, 16
store i32 %103, ptr %26, align 4
%104 = load i32, ptr %26, align 4
%105 = sdiv i32 %104, 32
%106 = load i32, ptr %26, align 4
%107 = add nsw i32 %105, %106
%108 = sdiv i32 %107, 32
store i32 %108, ptr %21, align 4
%109 = load i32, ptr %17, align 4
%110 = and i32 %109, 2016
%111 = ashr i32 %110, 5
%112 = mul nsw i32 %111, 255
%113 = add nsw i32 %112, 32
store i32 %113, ptr %26, align 4
%114 = load i32, ptr %26, align 4
%115 = sdiv i32 %114, 64
%116 = load i32, ptr %26, align 4
%117 = add nsw i32 %115, %116
%118 = sdiv i32 %117, 64
store i32 %118, ptr %22, align 4
%119 = load i32, ptr %17, align 4
%120 = and i32 %119, 31
%121 = mul nsw i32 %120, 255
%122 = add nsw i32 %121, 16
store i32 %122, ptr %26, align 4
%123 = load i32, ptr %26, align 4
%124 = sdiv i32 %123, 32
%125 = load i32, ptr %26, align 4
%126 = add nsw i32 %124, %125
%127 = sdiv i32 %126, 32
store i32 %127, ptr %23, align 4
%128 = load ptr, ptr %9, align 8
%129 = getelementptr inbounds i32, ptr %128, i64 12
%130 = load i32, ptr %129, align 4
store i32 %130, ptr %27, align 4
store i32 0, ptr %25, align 4
%131 = load i32, ptr %25, align 4
%132 = icmp slt i32 %131, 4
br i1 %132, label %.lr.ph2, label %297
.lr.ph2: ; preds = %5
br label %133
133: ; preds = %.lr.ph2, %292
store i32 0, ptr %24, align 4
%134 = load i32, ptr %24, align 4
%135 = icmp slt i32 %134, 4
br i1 %135, label %.lr.ph, label %291
.lr.ph: ; preds = %133
br label %136
136: ; preds = %.lr.ph, %286
%137 = load i32, ptr %25, align 4
%138 = mul nsw i32 4, %137
%139 = load i32, ptr %24, align 4
%140 = add nsw i32 %138, %139
%141 = mul nsw i32 3, %140
store i32 %141, ptr %30, align 4
%142 = load i32, ptr %30, align 4
%143 = icmp sle i32 %142, 12
br i1 %143, label %144, label %149
144: ; preds = %136
%145 = load i32, ptr %15, align 4
%146 = load i32, ptr %30, align 4
%147 = ashr i32 %145, %146
%148 = and i32 %147, 7
store i32 %148, ptr %29, align 4
br label %166
149: ; preds = %136
%150 = load i32, ptr %30, align 4
%151 = icmp eq i32 %150, 15
br i1 %151, label %152, label %159
152: ; preds = %149
%153 = load i32, ptr %15, align 4
%154 = ashr i32 %153, 15
%155 = load i32, ptr %14, align 4
%156 = shl i32 %155, 1
%157 = and i32 %156, 6
%158 = or i32 %154, %157
store i32 %158, ptr %29, align 4
br label %165
159: ; preds = %149
%160 = load i32, ptr %14, align 4
%161 = load i32, ptr %30, align 4
%162 = sub nsw i32 %161, 16
%163 = ashr i32 %160, %162
%164 = and i32 %163, 7
store i32 %164, ptr %29, align 4
br label %165
165: ; preds = %159, %152
br label %166
166: ; preds = %165, %144
%167 = load i32, ptr %29, align 4
%168 = icmp eq i32 %167, 0
br i1 %168, label %169, label %171
169: ; preds = %166
%170 = load i32, ptr %11, align 4
store i32 %170, ptr %28, align 4
br label %214
171: ; preds = %166
%172 = load i32, ptr %29, align 4
%173 = icmp eq i32 %172, 1
br i1 %173, label %174, label %176
174: ; preds = %171
%175 = load i32, ptr %12, align 4
store i32 %175, ptr %28, align 4
br label %213
176: ; preds = %171
%177 = load i32, ptr %11, align 4
%178 = load i32, ptr %12, align 4
%179 = icmp sgt i32 %177, %178
br i1 %179, label %180, label %191
180: ; preds = %176
%181 = load i32, ptr %29, align 4
%182 = sub nsw i32 8, %181
%183 = load i32, ptr %11, align 4
%184 = mul nsw i32 %182, %183
%185 = load i32, ptr %29, align 4
%186 = sub nsw i32 %185, 1
%187 = load i32, ptr %12, align 4
%188 = mul nsw i32 %186, %187
%189 = add nsw i32 %184, %188
%190 = sdiv i32 %189, 7
store i32 %190, ptr %28, align 4
br label %212
191: ; preds = %176
%192 = load i32, ptr %29, align 4
%193 = icmp eq i32 %192, 6
br i1 %193, label %194, label %195
194: ; preds = %191
store i32 0, ptr %28, align 4
br label %211
195: ; preds = %191
%196 = load i32, ptr %29, align 4
%197 = icmp eq i32 %196, 7
br i1 %197, label %198, label %199
198: ; preds = %195
store i32 255, ptr %28, align 4
br label %210
199: ; preds = %195
%200 = load i32, ptr %29, align 4
%201 = sub nsw i32 6, %200
%202 = load i32, ptr %11, align 4
%203 = mul nsw i32 %201, %202
%204 = load i32, ptr %29, align 4
%205 = sub nsw i32 %204, 1
%206 = load i32, ptr %12, align 4
%207 = mul nsw i32 %205, %206
%208 = add nsw i32 %203, %207
%209 = sdiv i32 %208, 5
store i32 %209, ptr %28, align 4
br label %210
210: ; preds = %199, %198
br label %211
211: ; preds = %210, %194
br label %212
212: ; preds = %211, %180
br label %213
213: ; preds = %212, %174
br label %214
214: ; preds = %213, %169
%215 = load i32, ptr %27, align 4
%216 = load i32, ptr %25, align 4
%217 = mul nsw i32 4, %216
%218 = load i32, ptr %24, align 4
%219 = add nsw i32 %217, %218
%220 = mul nsw i32 2, %219
%221 = ashr i32 %215, %220
%222 = and i32 %221, 3
store i32 %222, ptr %31, align 4
store i32 0, ptr %32, align 4
%223 = load i32, ptr %31, align 4
switch i32 %223, label %272 [
i32 0, label %224
i32 1, label %230
i32 2, label %236
i32 3, label %254
]
224: ; preds = %214
%225 = load i32, ptr %18, align 4
%226 = load i32, ptr %19, align 4
%227 = load i32, ptr %20, align 4
%228 = load i32, ptr %28, align 4
%229 = call i32 @PackRGBA(i32 noundef %225, i32 noundef %226, i32 noundef %227, i32 noundef %228)
store i32 %229, ptr %32, align 4
br label %272
230: ; preds = %214
%231 = load i32, ptr %21, align 4
%232 = load i32, ptr %22, align 4
%233 = load i32, ptr %23, align 4
%234 = load i32, ptr %28, align 4
%235 = call i32 @PackRGBA(i32 noundef %231, i32 noundef %232, i32 noundef %233, i32 noundef %234)
store i32 %235, ptr %32, align 4
br label %272
236: ; preds = %214
%237 = load i32, ptr %18, align 4
%238 = mul nsw i32 2, %237
%239 = load i32, ptr %21, align 4
%240 = add nsw i32 %238, %239
%241 = sdiv i32 %240, 3
%242 = load i32, ptr %19, align 4
%243 = mul nsw i32 2, %242
%244 = load i32, ptr %22, align 4
%245 = add nsw i32 %243, %244
%246 = sdiv i32 %245, 3
%247 = load i32, ptr %20, align 4
%248 = mul nsw i32 2, %247
%249 = load i32, ptr %23, align 4
%250 = add nsw i32 %248, %249
%251 = sdiv i32 %250, 3
%252 = load i32, ptr %28, align 4
%253 = call i32 @PackRGBA(i32 noundef %241, i32 noundef %246, i32 noundef %251, i32 noundef %252)
store i32 %253, ptr %32, align 4
br label %272
254: ; preds = %214
%255 = load i32, ptr %18, align 4
%256 = load i32, ptr %21, align 4
%257 = mul nsw i32 2, %256
%258 = add nsw i32 %255, %257
%259 = sdiv i32 %258, 3
%260 = load i32, ptr %19, align 4
%261 = load i32, ptr %22, align 4
%262 = mul nsw i32 2, %261
%263 = add nsw i32 %260, %262
%264 = sdiv i32 %263, 3
%265 = load i32, ptr %20, align 4
%266 = load i32, ptr %23, align 4
%267 = mul nsw i32 2, %266
%268 = add nsw i32 %265, %267
%269 = sdiv i32 %268, 3
%270 = load i32, ptr %28, align 4
%271 = call i32 @PackRGBA(i32 noundef %259, i32 noundef %264, i32 noundef %269, i32 noundef %270)
store i32 %271, ptr %32, align 4
br label %272
272: ; preds = %254, %236, %230, %224, %214
%273 = load i32, ptr %32, align 4
%274 = load ptr, ptr %10, align 8
%275 = load i32, ptr %24, align 4
%276 = load i32, ptr %6, align 4
%277 = add nsw i32 %275, %276
%278 = load i32, ptr %8, align 4
%279 = load i32, ptr %7, align 4
%280 = load i32, ptr %25, align 4
%281 = add nsw i32 %279, %280
%282 = mul nsw i32 %278, %281
%283 = add nsw i32 %277, %282
%284 = sext i32 %283 to i64
%285 = getelementptr inbounds i32, ptr %274, i64 %284
store i32 %273, ptr %285, align 4
br label %286
286: ; preds = %272
%287 = load i32, ptr %24, align 4
%288 = add nsw i32 %287, 1
store i32 %288, ptr %24, align 4
%289 = load i32, ptr %24, align 4
%290 = icmp slt i32 %289, 4
br i1 %290, label %136, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %286
br label %291
291: ; preds = %._crit_edge, %133
br label %292
292: ; preds = %291
%293 = load i32, ptr %25, align 4
%294 = add nsw i32 %293, 1
store i32 %294, ptr %25, align 4
%295 = load i32, ptr %25, align 4
%296 = icmp slt i32 %295, 4
br i1 %296, label %133, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %292
br label %297
297: ; preds = %._crit_edge3, %5
ret void
}
declare i32 @PackRGBA(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp0hxal4hu.c'
source_filename = "/tmp/tmp0hxal4hu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intr_wrap_036(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @coshf(float noundef %3) #2
ret float %4
}
; Function Attrs: nounwind
declare float @coshf(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0hxal4hu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intr_wrap_036(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @coshf(float noundef %3) #2
ret float %4
}
; Function Attrs: nounwind
declare float @coshf(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsean_5lt.c'
source_filename = "/tmp/tmpsean_5lt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"SERVER_NAME\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"server.my-company.com\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"accessing server %s\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
store i32 0, ptr %1, align 4
%3 = call ptr @getenv(ptr noundef @.str)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %7
6: ; preds = %0
store ptr @.str.1, ptr %2, align 8
br label %7
7: ; preds = %6, %0
%8 = load ptr, ptr %2, align 8
%9 = call i32 @printf(ptr noundef @.str.2, ptr noundef %8)
ret i32 0
}
declare ptr @getenv(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsean_5lt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"SERVER_NAME\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"server.my-company.com\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"accessing server %s\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
store i32 0, ptr %1, align 4
%3 = call ptr @getenv(ptr noundef @.str)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %7
6: ; preds = %0
store ptr @.str.1, ptr %2, align 8
br label %7
7: ; preds = %6, %0
%8 = load ptr, ptr %2, align 8
%9 = call i32 @printf(ptr noundef @.str.2, ptr noundef %8)
ret i32 0
}
declare ptr @getenv(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6r652zu6.c'
source_filename = "/tmp/tmp6r652zu6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/memdev0\00", align 1
@O_RDWR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 2015, ptr %3, align 4
%4 = load i32, ptr @O_RDWR, align 4
%5 = call i32 @open(ptr noundef @.str, i32 noundef %4)
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 @write(i32 noundef %6, ptr noundef %3, i32 noundef 4)
%8 = load i32, ptr %2, align 4
%9 = call i32 @close(i32 noundef %8)
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6r652zu6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/memdev0\00", align 1
@O_RDWR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 2015, ptr %3, align 4
%4 = load i32, ptr @O_RDWR, align 4
%5 = call i32 @open(ptr noundef @.str, i32 noundef %4)
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 @write(i32 noundef %6, ptr noundef %3, i32 noundef 4)
%8 = load i32, ptr %2, align 4
%9 = call i32 @close(i32 noundef %8)
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9dn4y7ju.c'
source_filename = "/tmp/tmp9dn4y7ju.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"This is an example of pipe!/n\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\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 [2 x i32], align 4
%4 = alloca [30 x i8], align 16
%5 = alloca [30 x i8], align 16
store i32 0, ptr %1, align 4
%6 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%7 = call i32 @pipe(ptr noundef %6)
br label %8
8: ; preds = %11, %0
%9 = call i32 (...) @fork()
store i32 %9, ptr %2, align 4
%10 = icmp eq i32 %9, -1
br i1 %10, label %11, label %12
11: ; preds = %8
br label %8, !llvm.loop !6
12: ; preds = %8
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %23
15: ; preds = %12
%16 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%17 = call i32 @sprintf(ptr noundef %16, ptr noundef @.str)
%18 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1
%19 = load i32, ptr %18, align 4
%20 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%21 = call i32 @write(i32 noundef %19, ptr noundef %20, i32 noundef 30)
%22 = call i32 @exit(i32 noundef 0) #3
unreachable
23: ; preds = %12
%24 = call i32 @wait(i32 noundef 0)
%25 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%26 = load i32, ptr %25, align 4
%27 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%28 = call i32 @read(i32 noundef %26, ptr noundef %27, i32 noundef 30)
%29 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%30 = call i32 @printf(ptr noundef @.str.1, ptr noundef %29)
br label %31
31: ; preds = %23
ret i32 0
}
declare i32 @pipe(ptr noundef) #1
declare i32 @fork(...) #1
declare i32 @sprintf(ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @wait(i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9dn4y7ju.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"This is an example of pipe!/n\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\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 [2 x i32], align 4
%4 = alloca [30 x i8], align 16
%5 = alloca [30 x i8], align 16
store i32 0, ptr %1, align 4
%6 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%7 = call i32 @pipe(ptr noundef %6)
br label %8
8: ; preds = %8, %0
%9 = call i32 (...) @fork()
store i32 %9, ptr %2, align 4
%10 = icmp eq i32 %9, -1
br i1 %10, label %8, label %11, !llvm.loop !6
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %22
14: ; preds = %11
%15 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%16 = call i32 @sprintf(ptr noundef %15, ptr noundef @.str)
%17 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1
%18 = load i32, ptr %17, align 4
%19 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%20 = call i32 @write(i32 noundef %18, ptr noundef %19, i32 noundef 30)
%21 = call i32 @exit(i32 noundef 0) #3
unreachable
22: ; preds = %11
%23 = call i32 @wait(i32 noundef 0)
%24 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%25 = load i32, ptr %24, align 4
%26 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%27 = call i32 @read(i32 noundef %25, ptr noundef %26, i32 noundef 30)
%28 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%29 = call i32 @printf(ptr noundef @.str.1, ptr noundef %28)
br label %30
30: ; preds = %22
ret i32 0
}
declare i32 @pipe(ptr noundef) #1
declare i32 @fork(...) #1
declare i32 @sprintf(ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @wait(i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpv_ztvwoj.c'
source_filename = "/tmp/tmpv_ztvwoj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%8 = load ptr, ptr %6, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
%10 = load ptr, ptr %9, align 8
%11 = call i32 @printf(ptr noundef %10)
%12 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv_ztvwoj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%8 = load ptr, ptr %6, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
%10 = load ptr, ptr %9, align 8
%11 = call i32 @printf(ptr noundef %10)
%12 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1w_0ms7f.c'
source_filename = "/tmp/tmp1w_0ms7f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isodigit.c\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"isodigit should be 0 for I\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isodigit_0x49() #0 {
%1 = call i64 @isodigit(i32 noundef 73)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 370, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isodigit(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/tmp1w_0ms7f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isodigit.c\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"isodigit should be 0 for I\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isodigit_0x49() #0 {
%1 = call i64 @isodigit(i32 noundef 73)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 370, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isodigit(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/tmpvppuarbw.c'
source_filename = "/tmp/tmpvppuarbw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setup_busy_2(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 @manage_setup_arrival(ptr noundef %3)
ret i32 0
}
declare i32 @manage_setup_arrival(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvppuarbw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setup_busy_2(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 @manage_setup_arrival(ptr noundef %3)
ret i32 0
}
declare i32 @manage_setup_arrival(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnlzp36q5.c'
source_filename = "/tmp/tmpnlzp36q5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cmd_read_memory(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %10, align 8
store ptr %11, ptr %9, align 8
%12 = load ptr, ptr %9, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %23
14: ; preds = %3
%15 = call i64 @calloc(i32 noundef 4, i32 noundef 4)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %9, align 8
%17 = load ptr, ptr %9, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %20
19: ; preds = %14
store i64 -1, ptr %4, align 8
br label %52
20: ; preds = %14
%21 = load ptr, ptr %9, align 8
%22 = load ptr, ptr %5, align 8
store ptr %21, ptr %22, align 8
br label %23
23: ; preds = %20, %3
store i64 0, ptr %8, align 8
%24 = load i32, ptr %6, align 4
%25 = and i32 65535, %24
%26 = or i32 1114112, %25
%27 = load ptr, ptr %9, align 8
%28 = load i64, ptr %8, align 8
%29 = add i64 %28, 1
store i64 %29, ptr %8, align 8
%30 = getelementptr inbounds i32, ptr %27, i64 %28
store i32 %26, ptr %30, align 4
%31 = load i32, ptr %6, align 4
%32 = ashr i32 %31, 16
%33 = and i32 65535, %32
%34 = or i32 1179648, %33
%35 = load ptr, ptr %9, align 8
%36 = load i64, ptr %8, align 8
%37 = add i64 %36, 1
store i64 %37, ptr %8, align 8
%38 = getelementptr inbounds i32, ptr %35, i64 %36
store i32 %34, ptr %38, align 4
%39 = load i32, ptr %7, align 4
%40 = and i32 65535, %39
%41 = or i32 1048576, %40
%42 = load ptr, ptr %9, align 8
%43 = load i64, ptr %8, align 8
%44 = add i64 %43, 1
store i64 %44, ptr %8, align 8
%45 = getelementptr inbounds i32, ptr %42, i64 %43
store i32 %41, ptr %45, align 4
%46 = load ptr, ptr %9, align 8
%47 = load i64, ptr %8, align 8
%48 = add i64 %47, 1
store i64 %48, ptr %8, align 8
%49 = getelementptr inbounds i32, ptr %46, i64 %47
store i32 -2146172928, ptr %49, align 4
%50 = load ptr, ptr %9, align 8
%51 = call i32 @conv32network_endian(ptr noundef %50, i32 noundef 4)
store i64 16, ptr %4, align 8
br label %52
52: ; preds = %23, %19
%53 = load i64, ptr %4, align 8
ret i64 %53
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @conv32network_endian(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/tmpnlzp36q5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cmd_read_memory(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %10, align 8
store ptr %11, ptr %9, align 8
%12 = load ptr, ptr %9, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %23
14: ; preds = %3
%15 = call i64 @calloc(i32 noundef 4, i32 noundef 4)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %9, align 8
%17 = load ptr, ptr %9, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %20
19: ; preds = %14
store i64 -1, ptr %4, align 8
br label %52
20: ; preds = %14
%21 = load ptr, ptr %9, align 8
%22 = load ptr, ptr %5, align 8
store ptr %21, ptr %22, align 8
br label %23
23: ; preds = %20, %3
store i64 0, ptr %8, align 8
%24 = load i32, ptr %6, align 4
%25 = and i32 65535, %24
%26 = or i32 1114112, %25
%27 = load ptr, ptr %9, align 8
%28 = load i64, ptr %8, align 8
%29 = add i64 %28, 1
store i64 %29, ptr %8, align 8
%30 = getelementptr inbounds i32, ptr %27, i64 %28
store i32 %26, ptr %30, align 4
%31 = load i32, ptr %6, align 4
%32 = ashr i32 %31, 16
%33 = and i32 65535, %32
%34 = or i32 1179648, %33
%35 = load ptr, ptr %9, align 8
%36 = load i64, ptr %8, align 8
%37 = add i64 %36, 1
store i64 %37, ptr %8, align 8
%38 = getelementptr inbounds i32, ptr %35, i64 %36
store i32 %34, ptr %38, align 4
%39 = load i32, ptr %7, align 4
%40 = and i32 65535, %39
%41 = or i32 1048576, %40
%42 = load ptr, ptr %9, align 8
%43 = load i64, ptr %8, align 8
%44 = add i64 %43, 1
store i64 %44, ptr %8, align 8
%45 = getelementptr inbounds i32, ptr %42, i64 %43
store i32 %41, ptr %45, align 4
%46 = load ptr, ptr %9, align 8
%47 = load i64, ptr %8, align 8
%48 = add i64 %47, 1
store i64 %48, ptr %8, align 8
%49 = getelementptr inbounds i32, ptr %46, i64 %47
store i32 -2146172928, ptr %49, align 4
%50 = load ptr, ptr %9, align 8
%51 = call i32 @conv32network_endian(ptr noundef %50, i32 noundef 4)
store i64 16, ptr %4, align 8
br label %52
52: ; preds = %23, %19
%53 = load i64, ptr %4, align 8
ret i64 %53
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @conv32network_endian(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/tmpa543t_t2.c'
source_filename = "/tmp/tmpa543t_t2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ft_check_line(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @ft_strchr(ptr noundef %4, i8 noundef signext 10)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %13
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i64 @ft_strchr(ptr noundef %9, i8 noundef signext 10)
%11 = add nsw i64 %10, 1
%12 = call i32 @ft_strcpy(ptr noundef %8, i64 noundef %11)
store i32 1, ptr %2, align 4
br label %16
13: ; preds = %1
%14 = load ptr, ptr %3, align 8
%15 = call i32 @ft_strclr(ptr noundef %14)
store i32 0, ptr %2, align 4
br label %16
16: ; preds = %13, %7
%17 = load i32, ptr %2, align 4
ret i32 %17
}
declare i64 @ft_strchr(ptr noundef, i8 noundef signext) #1
declare i32 @ft_strcpy(ptr noundef, i64 noundef) #1
declare i32 @ft_strclr(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa543t_t2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ft_check_line(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @ft_strchr(ptr noundef %4, i8 noundef signext 10)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %13
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i64 @ft_strchr(ptr noundef %9, i8 noundef signext 10)
%11 = add nsw i64 %10, 1
%12 = call i32 @ft_strcpy(ptr noundef %8, i64 noundef %11)
store i32 1, ptr %2, align 4
br label %16
13: ; preds = %1
%14 = load ptr, ptr %3, align 8
%15 = call i32 @ft_strclr(ptr noundef %14)
store i32 0, ptr %2, align 4
br label %16
16: ; preds = %13, %7
%17 = load i32, ptr %2, align 4
ret i32 %17
}
declare i64 @ft_strchr(ptr noundef, i8 noundef signext) #1
declare i32 @ft_strcpy(ptr noundef, i64 noundef) #1
declare i32 @ft_strclr(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp63abitzi.c'
source_filename = "/tmp/tmp63abitzi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buffer_open_append(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 @buffer_open(ptr noundef %3, i32 noundef 0)
ret i32 %4
}
declare i32 @buffer_open(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/tmp63abitzi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buffer_open_append(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 @buffer_open(ptr noundef %3, i32 noundef 0)
ret i32 %4
}
declare i32 @buffer_open(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/tmpodu8koeg.c'
source_filename = "/tmp/tmpodu8koeg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1\00", align 1
@__const.perft_tests.nodes1 = private unnamed_addr constant [7 x i64] [i64 1, i64 20, i64 400, i64 8902, i64 197281, i64 4865609, i64 119060324], align 16
@.str.1 = private unnamed_addr constant [65 x i8] c"r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq -\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"8/2p5/3p4/KP5r/1R3p1k/8/4P1P1/8 w - -\00", align 1
@__const.perft_tests.nodes3 = private unnamed_addr constant [8 x i64] [i64 1, i64 14, i64 191, i64 2812, i64 43238, i64 674624, i64 11030083, i64 178633661], align 16
@.str.3 = private unnamed_addr constant [65 x i8] c"r3k2r/Pppp1ppp/1b3nbN/nP6/BBP1P3/q4N2/Pp1P2PP/R2Q1RK1 w kq - 0 1\00", align 1
@__const.perft_tests.nodes4 = private unnamed_addr constant [7 x i64] [i64 1, i64 6, i64 264, i64 9467, i64 422333, i64 15833292, i64 706045033], align 16
@.str.4 = private unnamed_addr constant [62 x i8] c"rnbqkb1r/pp1p1ppp/2p5/4P3/2B5/8/PPP1NnPP/RNBQK2R w KQkq - 0 6\00", align 1
@__const.perft_tests.nodes5 = private unnamed_addr constant [4 x i64] [i64 1, i64 42, i64 1352, i64 53392], align 16
@.str.5 = private unnamed_addr constant [73 x i8] c"r4rk1/1pp1qppp/p1np1n2/2b1p1B1/2B1P1b1/P1NP1N2/1PP1QPPP/R4RK1 w - - 0 10\00", align 1
@__const.perft_tests.nodes6 = private unnamed_addr constant [10 x i64] [i64 1, i64 46, i64 2079, i64 89890, i64 3894594, i64 164075551, i64 6923051137, i64 287188994746, i64 11923589843526, i64 490154852788714], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @perft_tests() #0 {
%1 = alloca ptr, align 8
%2 = alloca [7 x i64], align 16
%3 = alloca ptr, align 8
%4 = alloca [6 x i64], align 16
%5 = alloca ptr, align 8
%6 = alloca [8 x i64], align 16
%7 = alloca ptr, align 8
%8 = alloca [7 x i64], align 16
%9 = alloca ptr, align 8
%10 = alloca [4 x i64], align 16
%11 = alloca ptr, align 8
%12 = alloca [10 x i64], align 16
store ptr @.str, ptr %1, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.perft_tests.nodes1, i64 56, i1 false)
store ptr @.str.1, ptr %3, align 8
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 48, i1 false)
%13 = getelementptr inbounds [6 x i64], ptr %4, i32 0, i32 0
store i64 1, ptr %13, align 16
%14 = getelementptr inbounds [6 x i64], ptr %4, i32 0, i32 1
store i64 48, ptr %14, align 8
%15 = getelementptr inbounds [6 x i64], ptr %4, i32 0, i32 2
store i64 2039, ptr %15, align 16
%16 = getelementptr inbounds [6 x i64], ptr %4, i32 0, i32 3
store i64 97862, ptr %16, align 8
%17 = getelementptr inbounds [6 x i64], ptr %4, i32 0, i32 4
store i64 4085603, ptr %17, align 16
%18 = getelementptr inbounds [6 x i64], ptr %4, i32 0, i32 5
store i64 193690690, ptr %18, align 8
store ptr @.str.2, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.perft_tests.nodes3, i64 64, i1 false)
store ptr @.str.3, ptr %7, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.perft_tests.nodes4, i64 56, i1 false)
store ptr @.str.4, ptr %9, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.perft_tests.nodes5, i64 32, i1 false)
store ptr @.str.5, ptr %11, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.perft_tests.nodes6, i64 80, i1 false)
%19 = load ptr, ptr %1, align 8
%20 = getelementptr inbounds [7 x i64], ptr %2, i64 0, i64 0
%21 = call i32 @perft_test(ptr noundef %19, ptr noundef %20, i32 noundef 7)
%22 = load ptr, ptr %3, align 8
%23 = getelementptr inbounds [6 x i64], ptr %4, i64 0, i64 0
%24 = call i32 @perft_test(ptr noundef %22, ptr noundef %23, i32 noundef 6)
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds [8 x i64], ptr %6, i64 0, i64 0
%27 = call i32 @perft_test(ptr noundef %25, ptr noundef %26, i32 noundef 8)
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds [7 x i64], ptr %8, i64 0, i64 0
%30 = call i32 @perft_test(ptr noundef %28, ptr noundef %29, i32 noundef 7)
%31 = load ptr, ptr %9, align 8
%32 = getelementptr inbounds [4 x i64], ptr %10, i64 0, i64 0
%33 = call i32 @perft_test(ptr noundef %31, ptr noundef %32, i32 noundef 4)
%34 = load ptr, ptr %11, align 8
%35 = getelementptr inbounds [10 x i64], ptr %12, i64 0, i64 0
%36 = call i32 @perft_test(ptr noundef %34, ptr noundef %35, i32 noundef 10)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @perft_test(ptr noundef, ptr noundef, 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpodu8koeg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1\00", align 1
@__const.perft_tests.nodes1 = private unnamed_addr constant [7 x i64] [i64 1, i64 20, i64 400, i64 8902, i64 197281, i64 4865609, i64 119060324], align 16
@.str.1 = private unnamed_addr constant [65 x i8] c"r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq -\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"8/2p5/3p4/KP5r/1R3p1k/8/4P1P1/8 w - -\00", align 1
@__const.perft_tests.nodes3 = private unnamed_addr constant [8 x i64] [i64 1, i64 14, i64 191, i64 2812, i64 43238, i64 674624, i64 11030083, i64 178633661], align 16
@.str.3 = private unnamed_addr constant [65 x i8] c"r3k2r/Pppp1ppp/1b3nbN/nP6/BBP1P3/q4N2/Pp1P2PP/R2Q1RK1 w kq - 0 1\00", align 1
@__const.perft_tests.nodes4 = private unnamed_addr constant [7 x i64] [i64 1, i64 6, i64 264, i64 9467, i64 422333, i64 15833292, i64 706045033], align 16
@.str.4 = private unnamed_addr constant [62 x i8] c"rnbqkb1r/pp1p1ppp/2p5/4P3/2B5/8/PPP1NnPP/RNBQK2R w KQkq - 0 6\00", align 1
@__const.perft_tests.nodes5 = private unnamed_addr constant [4 x i64] [i64 1, i64 42, i64 1352, i64 53392], align 16
@.str.5 = private unnamed_addr constant [73 x i8] c"r4rk1/1pp1qppp/p1np1n2/2b1p1B1/2B1P1b1/P1NP1N2/1PP1QPPP/R4RK1 w - - 0 10\00", align 1
@__const.perft_tests.nodes6 = private unnamed_addr constant [10 x i64] [i64 1, i64 46, i64 2079, i64 89890, i64 3894594, i64 164075551, i64 6923051137, i64 287188994746, i64 11923589843526, i64 490154852788714], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @perft_tests() #0 {
%1 = alloca ptr, align 8
%2 = alloca [7 x i64], align 16
%3 = alloca ptr, align 8
%4 = alloca [6 x i64], align 16
%5 = alloca ptr, align 8
%6 = alloca [8 x i64], align 16
%7 = alloca ptr, align 8
%8 = alloca [7 x i64], align 16
%9 = alloca ptr, align 8
%10 = alloca [4 x i64], align 16
%11 = alloca ptr, align 8
%12 = alloca [10 x i64], align 16
store ptr @.str, ptr %1, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.perft_tests.nodes1, i64 56, i1 false)
store ptr @.str.1, ptr %3, align 8
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 48, i1 false)
%13 = getelementptr inbounds [6 x i64], ptr %4, i32 0, i32 0
store i64 1, ptr %13, align 16
%14 = getelementptr inbounds [6 x i64], ptr %4, i32 0, i32 1
store i64 48, ptr %14, align 8
%15 = getelementptr inbounds [6 x i64], ptr %4, i32 0, i32 2
store i64 2039, ptr %15, align 16
%16 = getelementptr inbounds [6 x i64], ptr %4, i32 0, i32 3
store i64 97862, ptr %16, align 8
%17 = getelementptr inbounds [6 x i64], ptr %4, i32 0, i32 4
store i64 4085603, ptr %17, align 16
%18 = getelementptr inbounds [6 x i64], ptr %4, i32 0, i32 5
store i64 193690690, ptr %18, align 8
store ptr @.str.2, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.perft_tests.nodes3, i64 64, i1 false)
store ptr @.str.3, ptr %7, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.perft_tests.nodes4, i64 56, i1 false)
store ptr @.str.4, ptr %9, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.perft_tests.nodes5, i64 32, i1 false)
store ptr @.str.5, ptr %11, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.perft_tests.nodes6, i64 80, i1 false)
%19 = load ptr, ptr %1, align 8
%20 = getelementptr inbounds [7 x i64], ptr %2, i64 0, i64 0
%21 = call i32 @perft_test(ptr noundef %19, ptr noundef %20, i32 noundef 7)
%22 = load ptr, ptr %3, align 8
%23 = getelementptr inbounds [6 x i64], ptr %4, i64 0, i64 0
%24 = call i32 @perft_test(ptr noundef %22, ptr noundef %23, i32 noundef 6)
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds [8 x i64], ptr %6, i64 0, i64 0
%27 = call i32 @perft_test(ptr noundef %25, ptr noundef %26, i32 noundef 8)
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds [7 x i64], ptr %8, i64 0, i64 0
%30 = call i32 @perft_test(ptr noundef %28, ptr noundef %29, i32 noundef 7)
%31 = load ptr, ptr %9, align 8
%32 = getelementptr inbounds [4 x i64], ptr %10, i64 0, i64 0
%33 = call i32 @perft_test(ptr noundef %31, ptr noundef %32, i32 noundef 4)
%34 = load ptr, ptr %11, align 8
%35 = getelementptr inbounds [10 x i64], ptr %12, i64 0, i64 0
%36 = call i32 @perft_test(ptr noundef %34, ptr noundef %35, i32 noundef 10)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @perft_test(ptr noundef, ptr noundef, 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm5glxukc.c'
source_filename = "/tmp/tmpm5glxukc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isNumNaturalValido(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %7, label %6
6: ; preds = %1
store i32 0, ptr %2, align 4
br label %17
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i32 @apenasDigitos(ptr noundef %8)
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = call i32 @strlen(ptr noundef %12)
%14 = icmp sle i32 %13, 4
br i1 %14, label %16, label %15
15: ; preds = %11, %7
store i32 0, ptr %2, align 4
br label %17
16: ; preds = %11
store i32 1, ptr %2, align 4
br label %17
17: ; preds = %16, %15, %6
%18 = load i32, ptr %2, align 4
ret i32 %18
}
declare i32 @apenasDigitos(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm5glxukc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isNumNaturalValido(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %7, label %6
6: ; preds = %1
store i32 0, ptr %2, align 4
br label %17
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i32 @apenasDigitos(ptr noundef %8)
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = call i32 @strlen(ptr noundef %12)
%14 = icmp sle i32 %13, 4
br i1 %14, label %16, label %15
15: ; preds = %11, %7
store i32 0, ptr %2, align 4
br label %17
16: ; preds = %11
store i32 1, ptr %2, align 4
br label %17
17: ; preds = %16, %15, %6
%18 = load i32, ptr %2, align 4
ret i32 %18
}
declare i32 @apenasDigitos(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4u0x0oy5.c'
source_filename = "/tmp/tmp4u0x0oy5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fz(ptr noundef %0, double noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store double %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds double, ptr %7, i64 0
%9 = load double, ptr %8, align 8
%10 = call i32 @sin(double noundef %9)
%11 = sub nsw i32 0, %10
%12 = sitofp i32 %11 to double
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds double, ptr %13, i64 0
%15 = load double, ptr %14, align 8
%16 = call i32 @cos(double noundef %15)
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds double, ptr %17, i64 0
%19 = load double, ptr %18, align 8
%20 = call i32 @cos(double noundef %19)
%21 = mul nsw i32 %16, %20
%22 = sitofp i32 %21 to double
%23 = fadd double 1.000000e+00, %22
%24 = fdiv double %12, %23
ret double %24
}
declare i32 @sin(double noundef) #1
declare i32 @cos(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4u0x0oy5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fz(ptr noundef %0, double noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store double %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds double, ptr %7, i64 0
%9 = load double, ptr %8, align 8
%10 = call i32 @sin(double noundef %9)
%11 = sub nsw i32 0, %10
%12 = sitofp i32 %11 to double
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds double, ptr %13, i64 0
%15 = load double, ptr %14, align 8
%16 = call i32 @cos(double noundef %15)
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds double, ptr %17, i64 0
%19 = load double, ptr %18, align 8
%20 = call i32 @cos(double noundef %19)
%21 = mul nsw i32 %16, %20
%22 = sitofp i32 %21 to double
%23 = fadd double 1.000000e+00, %22
%24 = fdiv double %12, %23
ret double %24
}
declare i32 @sin(double noundef) #1
declare i32 @cos(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfx5tb5v4.c'
source_filename = "/tmp/tmpfx5tb5v4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"fith way: stupid complex pointers reversed\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"%ld: %s is %d years atm.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_4(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %8, align 8
%12 = load ptr, ptr %6, align 8
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds ptr, ptr %12, i64 %14
%16 = getelementptr inbounds ptr, ptr %15, i64 -1
store ptr %16, ptr %8, align 8
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %4, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %17, i64 %19
%21 = getelementptr inbounds i32, ptr %20, i64 -1
store ptr %21, ptr %7, align 8
br label %22
22: ; preds = %42, %3
%23 = load ptr, ptr %7, align 8
%24 = load ptr, ptr %5, align 8
%25 = ptrtoint ptr %23 to i64
%26 = ptrtoint ptr %24 to i64
%27 = sub i64 %25, %26
%28 = sdiv exact i64 %27, 4
%29 = icmp sge i64 %28, 0
br i1 %29, label %30, label %47
30: ; preds = %22
%31 = load ptr, ptr %7, align 8
%32 = load ptr, ptr %5, align 8
%33 = ptrtoint ptr %31 to i64
%34 = ptrtoint ptr %32 to i64
%35 = sub i64 %33, %34
%36 = sdiv exact i64 %35, 4
%37 = load ptr, ptr %8, align 8
%38 = load ptr, ptr %37, align 8
%39 = load ptr, ptr %7, align 8
%40 = load i32, ptr %39, align 4
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %36, ptr noundef %38, i32 noundef %40)
br label %42
42: ; preds = %30
%43 = load ptr, ptr %8, align 8
%44 = getelementptr inbounds ptr, ptr %43, i32 -1
store ptr %44, ptr %8, align 8
%45 = load ptr, ptr %7, align 8
%46 = getelementptr inbounds i32, ptr %45, i32 -1
store ptr %46, ptr %7, align 8
br label %22, !llvm.loop !6
47: ; preds = %22
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/tmpfx5tb5v4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"fith way: stupid complex pointers reversed\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"%ld: %s is %d years atm.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_4(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %8, align 8
%12 = load ptr, ptr %6, align 8
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds ptr, ptr %12, i64 %14
%16 = getelementptr inbounds ptr, ptr %15, i64 -1
store ptr %16, ptr %8, align 8
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %4, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %17, i64 %19
%21 = getelementptr inbounds i32, ptr %20, i64 -1
store ptr %21, ptr %7, align 8
%22 = load ptr, ptr %7, align 8
%23 = load ptr, ptr %5, align 8
%24 = ptrtoint ptr %22 to i64
%25 = ptrtoint ptr %23 to i64
%26 = sub i64 %24, %25
%27 = sdiv exact i64 %26, 4
%28 = icmp sge i64 %27, 0
br i1 %28, label %.lr.ph, label %53
.lr.ph: ; preds = %3
br label %29
29: ; preds = %.lr.ph, %41
%30 = load ptr, ptr %7, align 8
%31 = load ptr, ptr %5, align 8
%32 = ptrtoint ptr %30 to i64
%33 = ptrtoint ptr %31 to i64
%34 = sub i64 %32, %33
%35 = sdiv exact i64 %34, 4
%36 = load ptr, ptr %8, align 8
%37 = load ptr, ptr %36, align 8
%38 = load ptr, ptr %7, align 8
%39 = load i32, ptr %38, align 4
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %35, ptr noundef %37, i32 noundef %39)
br label %41
41: ; preds = %29
%42 = load ptr, ptr %8, align 8
%43 = getelementptr inbounds ptr, ptr %42, i32 -1
store ptr %43, ptr %8, align 8
%44 = load ptr, ptr %7, align 8
%45 = getelementptr inbounds i32, ptr %44, i32 -1
store ptr %45, ptr %7, align 8
%46 = load ptr, ptr %7, align 8
%47 = load ptr, ptr %5, align 8
%48 = ptrtoint ptr %46 to i64
%49 = ptrtoint ptr %47 to i64
%50 = sub i64 %48, %49
%51 = sdiv exact i64 %50, 4
%52 = icmp sge i64 %51, 0
br i1 %52, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %53
53: ; preds = %._crit_edge, %3
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/tmpjuoz6cu_.c'
source_filename = "/tmp/tmpjuoz6cu_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PTRACE_SETFPREGS = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ptrace_setfpregs(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load i32, ptr @PTRACE_SETFPREGS, align 4
%7 = load i64, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i64 @ptrace(i32 noundef %6, i64 noundef %7, i32 noundef 0, ptr noundef %8)
%10 = icmp slt i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = load i32, ptr @errno, align 4
%13 = sub nsw i32 0, %12
store i32 %13, ptr %3, align 4
br label %15
14: ; preds = %2
store i32 0, ptr %3, align 4
br label %15
15: ; preds = %14, %11
%16 = load i32, ptr %3, align 4
ret i32 %16
}
declare i64 @ptrace(i32 noundef, i64 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjuoz6cu_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PTRACE_SETFPREGS = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ptrace_setfpregs(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load i32, ptr @PTRACE_SETFPREGS, align 4
%7 = load i64, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i64 @ptrace(i32 noundef %6, i64 noundef %7, i32 noundef 0, ptr noundef %8)
%10 = icmp slt i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = load i32, ptr @errno, align 4
%13 = sub nsw i32 0, %12
store i32 %13, ptr %3, align 4
br label %15
14: ; preds = %2
store i32 0, ptr %3, align 4
br label %15
15: ; preds = %14, %11
%16 = load i32, ptr %3, align 4
ret i32 %16
}
declare i64 @ptrace(i32 noundef, i64 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnapuwrqp.c'
source_filename = "/tmp/tmpnapuwrqp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fftss_cleanup_threads_() #0 {
%1 = call i32 (...) @fftss_cleanup_threads()
ret void
}
declare i32 @fftss_cleanup_threads(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnapuwrqp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fftss_cleanup_threads_() #0 {
%1 = call i32 (...) @fftss_cleanup_threads()
ret void
}
declare i32 @fftss_cleanup_threads(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyuu_3kc7.c'
source_filename = "/tmp/tmpyuu_3kc7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [4 x i16], align 2
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [4 x i16], ptr %2, i64 0, i64 1
store i16 1, ptr %3, align 2
%4 = getelementptr inbounds [4 x i16], ptr %2, i64 0, i64 0
store i16 1, ptr %4, align 2
%5 = getelementptr inbounds [4 x i16], ptr %2, i64 0, i64 0
%6 = call i32 @getgroups(i32 noundef 1, ptr noundef %5)
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %15
8: ; preds = %0
%9 = getelementptr inbounds [4 x i16], ptr %2, i64 0, i64 0
%10 = call i32 @setgroups(i32 noundef 1, ptr noundef %9)
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = call i32 @_exit(i32 noundef 1) #3
unreachable
14: ; preds = %8
br label %15
15: ; preds = %14, %0
%16 = getelementptr inbounds [4 x i16], ptr %2, i64 0, i64 0
%17 = call i32 @getgroups(i32 noundef 1, ptr noundef %16)
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %21
19: ; preds = %15
%20 = call i32 @_exit(i32 noundef 1) #3
unreachable
21: ; preds = %15
%22 = getelementptr inbounds [4 x i16], ptr %2, i64 0, i64 1
%23 = load i16, ptr %22, align 2
%24 = sext i16 %23 to i32
%25 = icmp ne i32 %24, 1
br i1 %25, label %26, label %28
26: ; preds = %21
%27 = call i32 @_exit(i32 noundef 1) #3
unreachable
28: ; preds = %21
%29 = getelementptr inbounds [4 x i16], ptr %2, i64 0, i64 1
store i16 2, ptr %29, align 2
%30 = getelementptr inbounds [4 x i16], ptr %2, i64 0, i64 0
%31 = call i32 @getgroups(i32 noundef 1, ptr noundef %30)
%32 = icmp eq i32 %31, -1
br i1 %32, label %33, label %35
33: ; preds = %28
%34 = call i32 @_exit(i32 noundef 1) #3
unreachable
35: ; preds = %28
%36 = getelementptr inbounds [4 x i16], ptr %2, i64 0, i64 1
%37 = load i16, ptr %36, align 2
%38 = sext i16 %37 to i32
%39 = icmp ne i32 %38, 2
br i1 %39, label %40, label %42
40: ; preds = %35
%41 = call i32 @_exit(i32 noundef 1) #3
unreachable
42: ; preds = %35
%43 = call i32 @_exit(i32 noundef 0) #3
unreachable
}
declare i32 @getgroups(i32 noundef, ptr noundef) #1
declare i32 @setgroups(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyuu_3kc7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [4 x i16], align 2
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [4 x i16], ptr %2, i64 0, i64 1
store i16 1, ptr %3, align 2
%4 = getelementptr inbounds [4 x i16], ptr %2, i64 0, i64 0
store i16 1, ptr %4, align 2
%5 = getelementptr inbounds [4 x i16], ptr %2, i64 0, i64 0
%6 = call i32 @getgroups(i32 noundef 1, ptr noundef %5)
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %15
8: ; preds = %0
%9 = getelementptr inbounds [4 x i16], ptr %2, i64 0, i64 0
%10 = call i32 @setgroups(i32 noundef 1, ptr noundef %9)
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = call i32 @_exit(i32 noundef 1) #3
unreachable
14: ; preds = %8
br label %15
15: ; preds = %14, %0
%16 = getelementptr inbounds [4 x i16], ptr %2, i64 0, i64 0
%17 = call i32 @getgroups(i32 noundef 1, ptr noundef %16)
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %21
19: ; preds = %15
%20 = call i32 @_exit(i32 noundef 1) #3
unreachable
21: ; preds = %15
%22 = getelementptr inbounds [4 x i16], ptr %2, i64 0, i64 1
%23 = load i16, ptr %22, align 2
%24 = sext i16 %23 to i32
%25 = icmp ne i32 %24, 1
br i1 %25, label %26, label %28
26: ; preds = %21
%27 = call i32 @_exit(i32 noundef 1) #3
unreachable
28: ; preds = %21
%29 = getelementptr inbounds [4 x i16], ptr %2, i64 0, i64 1
store i16 2, ptr %29, align 2
%30 = getelementptr inbounds [4 x i16], ptr %2, i64 0, i64 0
%31 = call i32 @getgroups(i32 noundef 1, ptr noundef %30)
%32 = icmp eq i32 %31, -1
br i1 %32, label %33, label %35
33: ; preds = %28
%34 = call i32 @_exit(i32 noundef 1) #3
unreachable
35: ; preds = %28
%36 = getelementptr inbounds [4 x i16], ptr %2, i64 0, i64 1
%37 = load i16, ptr %36, align 2
%38 = sext i16 %37 to i32
%39 = icmp ne i32 %38, 2
br i1 %39, label %40, label %42
40: ; preds = %35
%41 = call i32 @_exit(i32 noundef 1) #3
unreachable
42: ; preds = %35
%43 = call i32 @_exit(i32 noundef 0) #3
unreachable
}
declare i32 @getgroups(i32 noundef, ptr noundef) #1
declare i32 @setgroups(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjazlrvj8.c'
source_filename = "/tmp/tmpjazlrvj8.c"
target datalayout = "e-m:e-p270: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/tmpjazlrvj8.c"
target datalayout = "e-m:e-p270: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/tmpsstyqrq5.c'
source_filename = "/tmp/tmpsstyqrq5.c"
target datalayout = "e-m:e-p270: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
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsstyqrq5.c"
target datalayout = "e-m:e-p270: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
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptic2m0o3.c'
source_filename = "/tmp/tmptic2m0o3.c"
target datalayout = "e-m:e-p270: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/tmptic2m0o3.c"
target datalayout = "e-m:e-p270: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/tmp5pfsmwto.c'
source_filename = "/tmp/tmp5pfsmwto.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [52 x i8] c" Is the customer married (1=married, 0=unmarried) \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [53 x i8] c" Is the customer male or female (1=female, 0=male) \0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c" What is your age? \0A\00", align 1
@.str.4 = private unnamed_addr constant [45 x i8] c" The daily rate for the customer is: $%.2f \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store float 1.000000e+02, ptr %2, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%12 = load i32, ptr %5, align 4
%13 = icmp eq i32 %12, 1
br i1 %13, label %14, label %19
14: ; preds = %0
%15 = load float, ptr %2, align 4
%16 = fpext float %15 to double
%17 = fsub double %16, 1.000000e+01
%18 = fptrunc double %17 to float
store float %18, ptr %2, align 4
br label %19
19: ; preds = %14, %0
%20 = load i32, ptr %3, align 4
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %30
22: ; preds = %19
%23 = load i32, ptr %4, align 4
%24 = icmp sge i32 %23, 25
br i1 %24, label %25, label %30
25: ; preds = %22
%26 = load float, ptr %2, align 4
%27 = fpext float %26 to double
%28 = fmul double %27, 1.500000e+00
%29 = fptrunc double %28 to float
store float %29, ptr %2, align 4
br label %30
30: ; preds = %25, %22, %19
%31 = load i32, ptr %3, align 4
%32 = icmp eq i32 %31, 1
br i1 %32, label %33, label %41
33: ; preds = %30
%34 = load i32, ptr %4, align 4
%35 = icmp slt i32 %34, 25
br i1 %35, label %36, label %41
36: ; preds = %33
%37 = load float, ptr %2, align 4
%38 = fpext float %37 to double
%39 = fmul double %38, 1.500000e+00
%40 = fptrunc double %39 to float
store float %40, ptr %2, align 4
br label %41
41: ; preds = %36, %33, %30
%42 = load i32, ptr %3, align 4
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %50
44: ; preds = %41
%45 = load i32, ptr %4, align 4
%46 = icmp slt i32 %45, 25
br i1 %46, label %47, label %50
47: ; preds = %44
%48 = load float, ptr %2, align 4
%49 = fmul float %48, 2.000000e+00
store float %49, ptr %2, align 4
br label %50
50: ; preds = %47, %44, %41
%51 = load float, ptr %2, align 4
%52 = fpext float %51 to double
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %52)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5pfsmwto.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [52 x i8] c" Is the customer married (1=married, 0=unmarried) \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [53 x i8] c" Is the customer male or female (1=female, 0=male) \0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c" What is your age? \0A\00", align 1
@.str.4 = private unnamed_addr constant [45 x i8] c" The daily rate for the customer is: $%.2f \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store float 1.000000e+02, ptr %2, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%12 = load i32, ptr %5, align 4
%13 = icmp eq i32 %12, 1
br i1 %13, label %14, label %19
14: ; preds = %0
%15 = load float, ptr %2, align 4
%16 = fpext float %15 to double
%17 = fsub double %16, 1.000000e+01
%18 = fptrunc double %17 to float
store float %18, ptr %2, align 4
br label %19
19: ; preds = %14, %0
%20 = load i32, ptr %3, align 4
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %30
22: ; preds = %19
%23 = load i32, ptr %4, align 4
%24 = icmp sge i32 %23, 25
br i1 %24, label %25, label %30
25: ; preds = %22
%26 = load float, ptr %2, align 4
%27 = fpext float %26 to double
%28 = fmul double %27, 1.500000e+00
%29 = fptrunc double %28 to float
store float %29, ptr %2, align 4
br label %30
30: ; preds = %25, %22, %19
%31 = load i32, ptr %3, align 4
%32 = icmp eq i32 %31, 1
br i1 %32, label %33, label %41
33: ; preds = %30
%34 = load i32, ptr %4, align 4
%35 = icmp slt i32 %34, 25
br i1 %35, label %36, label %41
36: ; preds = %33
%37 = load float, ptr %2, align 4
%38 = fpext float %37 to double
%39 = fmul double %38, 1.500000e+00
%40 = fptrunc double %39 to float
store float %40, ptr %2, align 4
br label %41
41: ; preds = %36, %33, %30
%42 = load i32, ptr %3, align 4
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %50
44: ; preds = %41
%45 = load i32, ptr %4, align 4
%46 = icmp slt i32 %45, 25
br i1 %46, label %47, label %50
47: ; preds = %44
%48 = load float, ptr %2, align 4
%49 = fmul float %48, 2.000000e+00
store float %49, ptr %2, align 4
br label %50
50: ; preds = %47, %44, %41
%51 = load float, ptr %2, align 4
%52 = fpext float %51 to double
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %52)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoqmpubf1.c'
source_filename = "/tmp/tmpoqmpubf1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGUSR1 = dso_local global i32 0, align 4
@SIG_IGN = dso_local global i32 0, align 4
@SIGUSR2 = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"Starting mmap test...\0A\00", align 1
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_PRIVATE = dso_local global i32 0, align 4
@MAP_ANONYMOUS = dso_local global i32 0, align 4
@MAP_NORESERVE = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [34 x i8] c"Failed after %ld successful maps\0A\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"Turning on single-stepping...\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"Va bene?\0A\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"Turned single-stepping off...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
%7 = load i32, ptr @SIGUSR1, align 4
%8 = load i32, ptr @SIG_IGN, align 4
%9 = call i32 @signal(i32 noundef %7, i32 noundef %8)
%10 = load i32, ptr @SIGUSR2, align 4
%11 = load i32, ptr @SIG_IGN, align 4
%12 = call i32 @signal(i32 noundef %10, i32 noundef %11)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i64 0, ptr %6, align 8
br label %14
14: ; preds = %41, %2
%15 = load i64, ptr %6, align 8
%16 = icmp slt i64 %15, 30000
br i1 %16, label %17, label %44
17: ; preds = %14
%18 = load i64, ptr %6, align 8
%19 = and i64 %18, 1
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %17
%22 = load i32, ptr @PROT_READ, align 4
br label %25
23: ; preds = %17
%24 = load i32, ptr @PROT_WRITE, align 4
br label %25
25: ; preds = %23, %21
%26 = phi i32 [ %22, %21 ], [ %24, %23 ]
%27 = load i32, ptr @MAP_PRIVATE, align 4
%28 = load i32, ptr @MAP_ANONYMOUS, align 4
%29 = or i32 %27, %28
%30 = load i32, ptr @MAP_NORESERVE, align 4
%31 = or i32 %29, %30
%32 = call i64 @mmap(i32 noundef 0, i32 noundef 1, i32 noundef %26, i32 noundef %31, i32 noundef -1, i32 noundef 0)
%33 = load i64, ptr @MAP_FAILED, align 8
%34 = icmp eq i64 %32, %33
br i1 %34, label %35, label %40
35: ; preds = %25
%36 = load i64, ptr %6, align 8
%37 = sub nsw i64 %36, 1
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %37)
%39 = call i32 @exit(i32 noundef 0) #3
unreachable
40: ; preds = %25
br label %41
41: ; preds = %40
%42 = load i64, ptr %6, align 8
%43 = add nsw i64 %42, 1
store i64 %43, ptr %6, align 8
br label %14, !llvm.loop !6
44: ; preds = %14
%45 = call i32 @alarm(i32 noundef 80)
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%47 = call i32 (...) @getpid()
%48 = load i32, ptr @SIGUSR1, align 4
%49 = call i32 @kill(i32 noundef %47, i32 noundef %48)
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%51 = call i32 (...) @getpid()
%52 = load i32, ptr @SIGUSR2, align 4
%53 = call i32 @kill(i32 noundef %51, i32 noundef %52)
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret i32 0
}
declare i32 @signal(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @alarm(i32 noundef) #1
declare i32 @kill(i32 noundef, i32 noundef) #1
declare i32 @getpid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoqmpubf1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGUSR1 = dso_local global i32 0, align 4
@SIG_IGN = dso_local global i32 0, align 4
@SIGUSR2 = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"Starting mmap test...\0A\00", align 1
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_PRIVATE = dso_local global i32 0, align 4
@MAP_ANONYMOUS = dso_local global i32 0, align 4
@MAP_NORESERVE = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [34 x i8] c"Failed after %ld successful maps\0A\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"Turning on single-stepping...\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"Va bene?\0A\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"Turned single-stepping off...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
%7 = load i32, ptr @SIGUSR1, align 4
%8 = load i32, ptr @SIG_IGN, align 4
%9 = call i32 @signal(i32 noundef %7, i32 noundef %8)
%10 = load i32, ptr @SIGUSR2, align 4
%11 = load i32, ptr @SIG_IGN, align 4
%12 = call i32 @signal(i32 noundef %10, i32 noundef %11)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i64 0, ptr %6, align 8
%14 = load i64, ptr %6, align 8
%15 = icmp slt i64 %14, 30000
br i1 %15, label %.lr.ph, label %45
.lr.ph: ; preds = %2
br label %16
16: ; preds = %.lr.ph, %40
%17 = load i64, ptr %6, align 8
%18 = and i64 %17, 1
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %16
%21 = load i32, ptr @PROT_READ, align 4
br label %24
22: ; preds = %16
%23 = load i32, ptr @PROT_WRITE, align 4
br label %24
24: ; preds = %22, %20
%25 = phi i32 [ %21, %20 ], [ %23, %22 ]
%26 = load i32, ptr @MAP_PRIVATE, align 4
%27 = load i32, ptr @MAP_ANONYMOUS, align 4
%28 = or i32 %26, %27
%29 = load i32, ptr @MAP_NORESERVE, align 4
%30 = or i32 %28, %29
%31 = call i64 @mmap(i32 noundef 0, i32 noundef 1, i32 noundef %25, i32 noundef %30, i32 noundef -1, i32 noundef 0)
%32 = load i64, ptr @MAP_FAILED, align 8
%33 = icmp eq i64 %31, %32
br i1 %33, label %34, label %39
34: ; preds = %24
%35 = load i64, ptr %6, align 8
%36 = sub nsw i64 %35, 1
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %36)
%38 = call i32 @exit(i32 noundef 0) #3
unreachable
39: ; preds = %24
br label %40
40: ; preds = %39
%41 = load i64, ptr %6, align 8
%42 = add nsw i64 %41, 1
store i64 %42, ptr %6, align 8
%43 = load i64, ptr %6, align 8
%44 = icmp slt i64 %43, 30000
br i1 %44, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %45
45: ; preds = %._crit_edge, %2
%46 = call i32 @alarm(i32 noundef 80)
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%48 = call i32 (...) @getpid()
%49 = load i32, ptr @SIGUSR1, align 4
%50 = call i32 @kill(i32 noundef %48, i32 noundef %49)
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%52 = call i32 (...) @getpid()
%53 = load i32, ptr @SIGUSR2, align 4
%54 = call i32 @kill(i32 noundef %52, i32 noundef %53)
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret i32 0
}
declare i32 @signal(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @alarm(i32 noundef) #1
declare i32 @kill(i32 noundef, i32 noundef) #1
declare i32 @getpid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxs8tvii3.c'
source_filename = "/tmp/tmpxs8tvii3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ends_with(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = sub nsw i32 %8, 1
store i32 %9, ptr %5, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = sub nsw i32 %11, 1
store i32 %12, ptr %6, align 4
br label %13
13: ; preds = %35, %2
%14 = load i32, ptr %5, align 4
%15 = icmp sge i32 %14, 0
br i1 %15, label %16, label %33
16: ; preds = %13
%17 = load i32, ptr %6, align 4
%18 = icmp sge i32 %17, 0
br i1 %18, label %19, label %33
19: ; preds = %16
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %25, %31
br label %33
33: ; preds = %19, %16, %13
%34 = phi i1 [ false, %16 ], [ false, %13 ], [ %32, %19 ]
br i1 %34, label %35, label %40
35: ; preds = %33
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, -1
store i32 %37, ptr %5, align 4
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %38, -1
store i32 %39, ptr %6, align 4
br label %13, !llvm.loop !6
40: ; preds = %33
%41 = load i32, ptr %6, align 4
%42 = icmp slt i32 %41, 0
%43 = zext i1 %42 to i32
ret i32 %43
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxs8tvii3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ends_with(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = sub nsw i32 %8, 1
store i32 %9, ptr %5, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = sub nsw i32 %11, 1
store i32 %12, ptr %6, align 4
br label %13
13: ; preds = %35, %2
%14 = load i32, ptr %5, align 4
%15 = icmp sge i32 %14, 0
br i1 %15, label %16, label %33
16: ; preds = %13
%17 = load i32, ptr %6, align 4
%18 = icmp sge i32 %17, 0
br i1 %18, label %19, label %33
19: ; preds = %16
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %25, %31
br label %33
33: ; preds = %19, %16, %13
%34 = phi i1 [ false, %16 ], [ false, %13 ], [ %32, %19 ]
br i1 %34, label %35, label %40
35: ; preds = %33
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, -1
store i32 %37, ptr %5, align 4
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %38, -1
store i32 %39, ptr %6, align 4
br label %13, !llvm.loop !6
40: ; preds = %33
%41 = load i32, ptr %6, align 4
%42 = icmp slt i32 %41, 0
%43 = zext i1 %42 to i32
ret i32 %43
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpa77vn71n.c'
source_filename = "/tmp/tmpa77vn71n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rndlogt2(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%7 = call double (...) @rndt2()
store double %7, ptr %5, align 8
store double 1.000000e+300, ptr %6, align 8
%8 = load double, ptr %5, align 8
%9 = fcmp olt double %8, 8.000000e+02
br i1 %9, label %10, label %16
10: ; preds = %2
%11 = load double, ptr %3, align 8
%12 = load double, ptr %4, align 8
%13 = load double, ptr %5, align 8
%14 = call double @llvm.fmuladd.f64(double %12, double %13, double %11)
%15 = call double @exp(double noundef %14) #4
store double %15, ptr %6, align 8
br label %16
16: ; preds = %10, %2
%17 = load double, ptr %6, align 8
ret double %17
}
declare double @rndt2(...) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa77vn71n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rndlogt2(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%7 = call double (...) @rndt2()
store double %7, ptr %5, align 8
store double 1.000000e+300, ptr %6, align 8
%8 = load double, ptr %5, align 8
%9 = fcmp olt double %8, 8.000000e+02
br i1 %9, label %10, label %16
10: ; preds = %2
%11 = load double, ptr %3, align 8
%12 = load double, ptr %4, align 8
%13 = load double, ptr %5, align 8
%14 = call double @llvm.fmuladd.f64(double %12, double %13, double %11)
%15 = call double @exp(double noundef %14) #4
store double %15, ptr %6, align 8
br label %16
16: ; preds = %10, %2
%17 = load double, ptr %6, align 8
ret double %17
}
declare double @rndt2(...) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr1id2v_z.c'
source_filename = "/tmp/tmpr1id2v_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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr1id2v_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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfwtpjgb9.c'
source_filename = "/tmp/tmpfwtpjgb9.c"
target datalayout = "e-m:e-p270: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/tmpfwtpjgb9.c"
target datalayout = "e-m:e-p270: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/tmph65k_wni.c'
source_filename = "/tmp/tmph65k_wni.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"Wynik: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1024, ptr %2, align 4
store i32 256, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %4, align 8
%14 = alloca i64, i64 %12, align 16
store i64 %12, ptr %5, align 8
store i32 0, ptr %7, align 4
br label %15
15: ; preds = %23, %0
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %26
19: ; preds = %15
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i64, ptr %14, i64 %21
store i64 0, ptr %22, align 8
br label %23
23: ; preds = %19
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %7, align 4
br label %15, !llvm.loop !6
26: ; preds = %15
store i32 0, ptr %8, align 4
br label %27
27: ; preds = %67, %26
%28 = load i32, ptr %8, align 4
%29 = icmp slt i32 %28, 1000
br i1 %29, label %30, label %70
30: ; preds = %27
store i32 0, ptr %9, align 4
br label %31
31: ; preds = %63, %30
%32 = load i32, ptr %9, align 4
%33 = load i32, ptr %3, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %66
35: ; preds = %31
%36 = load i32, ptr %9, align 4
store i32 %36, ptr %10, align 4
br label %37
37: ; preds = %58, %35
%38 = load i32, ptr %10, align 4
%39 = load i32, ptr %2, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %41, label %62
41: ; preds = %37
%42 = load i32, ptr %10, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i64, ptr %14, i64 %43
%45 = load i64, ptr %44, align 8
%46 = load i32, ptr %10, align 4
%47 = sext i32 %46 to i64
%48 = add nsw i64 %45, %47
%49 = load i32, ptr %10, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i64, ptr %14, i64 %50
store i64 %48, ptr %51, align 8
%52 = load i32, ptr %10, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i64, ptr %14, i64 %53
%55 = load i64, ptr %54, align 8
%56 = load i64, ptr %6, align 8
%57 = add nsw i64 %56, %55
store i64 %57, ptr %6, align 8
br label %58
58: ; preds = %41
%59 = load i32, ptr %3, align 4
%60 = load i32, ptr %10, align 4
%61 = add nsw i32 %60, %59
store i32 %61, ptr %10, align 4
br label %37, !llvm.loop !8
62: ; preds = %37
br label %63
63: ; preds = %62
%64 = load i32, ptr %9, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %9, align 4
br label %31, !llvm.loop !9
66: ; preds = %31
br label %67
67: ; preds = %66
%68 = load i32, ptr %8, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %8, align 4
br label %27, !llvm.loop !10
70: ; preds = %27
%71 = load i64, ptr %6, align 8
%72 = call i32 @printf(ptr noundef @.str, i64 noundef %71)
%73 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %73)
%74 = load i32, ptr %1, align 4
ret i32 %74
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @printf(ptr noundef, i64 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph65k_wni.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"Wynik: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1024, ptr %2, align 4
store i32 256, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %4, align 8
%14 = alloca i64, i64 %12, align 16
store i64 %12, ptr %5, align 8
store i32 0, ptr %7, align 4
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %28
.lr.ph: ; preds = %0
br label %18
18: ; preds = %.lr.ph, %22
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i64, ptr %14, i64 %20
store i64 0, ptr %21, align 8
br label %22
22: ; preds = %18
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %7, align 4
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %0
store i32 0, ptr %8, align 4
%29 = load i32, ptr %8, align 4
%30 = icmp slt i32 %29, 1000
br i1 %30, label %.lr.ph8, label %77
.lr.ph8: ; preds = %28
br label %31
31: ; preds = %.lr.ph8, %72
store i32 0, ptr %9, align 4
%32 = load i32, ptr %9, align 4
%33 = load i32, ptr %3, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %.lr.ph5, label %71
.lr.ph5: ; preds = %31
br label %35
35: ; preds = %.lr.ph5, %65
%36 = load i32, ptr %9, align 4
store i32 %36, ptr %10, align 4
%37 = load i32, ptr %10, align 4
%38 = load i32, ptr %2, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %.lr.ph2, label %64
.lr.ph2: ; preds = %35
br label %40
40: ; preds = %.lr.ph2, %57
%41 = load i32, ptr %10, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i64, ptr %14, i64 %42
%44 = load i64, ptr %43, align 8
%45 = load i32, ptr %10, align 4
%46 = sext i32 %45 to i64
%47 = add nsw i64 %44, %46
%48 = load i32, ptr %10, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i64, ptr %14, i64 %49
store i64 %47, ptr %50, align 8
%51 = load i32, ptr %10, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i64, ptr %14, i64 %52
%54 = load i64, ptr %53, align 8
%55 = load i64, ptr %6, align 8
%56 = add nsw i64 %55, %54
store i64 %56, ptr %6, align 8
br label %57
57: ; preds = %40
%58 = load i32, ptr %3, align 4
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, %58
store i32 %60, ptr %10, align 4
%61 = load i32, ptr %10, align 4
%62 = load i32, ptr %2, align 4
%63 = icmp slt i32 %61, %62
br i1 %63, label %40, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %57
br label %64
64: ; preds = %._crit_edge3, %35
br label %65
65: ; preds = %64
%66 = load i32, ptr %9, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %9, align 4
%68 = load i32, ptr %9, align 4
%69 = load i32, ptr %3, align 4
%70 = icmp slt i32 %68, %69
br i1 %70, label %35, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %65
br label %71
71: ; preds = %._crit_edge6, %31
br label %72
72: ; preds = %71
%73 = load i32, ptr %8, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %8, align 4
%75 = load i32, ptr %8, align 4
%76 = icmp slt i32 %75, 1000
br i1 %76, label %31, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %72
br label %77
77: ; preds = %._crit_edge9, %28
%78 = load i64, ptr %6, align 8
%79 = call i32 @printf(ptr noundef @.str, i64 noundef %78)
%80 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %80)
%81 = load i32, ptr %1, align 4
ret i32 %81
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @printf(ptr noundef, i64 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmplktxftjn.c'
source_filename = "/tmp/tmplktxftjn.c"
target datalayout = "e-m:e-p270: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
@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/tmplktxftjn.c"
target datalayout = "e-m:e-p270: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
@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/tmpp444kmnn.c'
source_filename = "/tmp/tmpp444kmnn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__print_padding(i64 noundef %0, i8 noundef signext %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i8, align 1
%5 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
store i64 0, ptr %5, align 8
br label %6
6: ; preds = %13, %2
%7 = load i64, ptr %5, align 8
%8 = load i64, ptr %3, align 8
%9 = icmp slt i64 %7, %8
br i1 %9, label %10, label %16
10: ; preds = %6
%11 = load i8, ptr %4, align 1
%12 = call i32 @printf(ptr noundef @.str, i8 noundef signext %11)
br label %13
13: ; preds = %10
%14 = load i64, ptr %5, align 8
%15 = add nsw i64 %14, 1
store i64 %15, ptr %5, align 8
br label %6, !llvm.loop !6
16: ; preds = %6
ret void
}
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp444kmnn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__print_padding(i64 noundef %0, i8 noundef signext %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i8, align 1
%5 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
store i64 0, ptr %5, align 8
%6 = load i64, ptr %5, align 8
%7 = load i64, ptr %3, align 8
%8 = icmp slt i64 %6, %7
br i1 %8, label %.lr.ph, label %18
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %12
%10 = load i8, ptr %4, align 1
%11 = call i32 @printf(ptr noundef @.str, i8 noundef signext %10)
br label %12
12: ; preds = %9
%13 = load i64, ptr %5, align 8
%14 = add nsw i64 %13, 1
store i64 %14, ptr %5, align 8
%15 = load i64, ptr %5, align 8
%16 = load i64, ptr %3, align 8
%17 = icmp slt i64 %15, %16
br i1 %17, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %18
18: ; preds = %._crit_edge, %2
ret void
}
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvyan5793.c'
source_filename = "/tmp/tmpvyan5793.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Child running...\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Continued...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @child() #0 {
%1 = call i32 @printf(ptr noundef @.str)
br label %2
2: ; preds = %0, %2
%3 = call i32 (...) @pause()
%4 = call i32 @printf(ptr noundef @.str.1)
br label %2
}
declare i32 @printf(ptr noundef) #1
declare i32 @pause(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvyan5793.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Child running...\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Continued...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @child() #0 {
%1 = call i32 @printf(ptr noundef @.str)
br label %2
2: ; preds = %2, %0
%3 = call i32 (...) @pause()
%4 = call i32 @printf(ptr noundef @.str.1)
br label %2
}
declare i32 @printf(ptr noundef) #1
declare i32 @pause(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdh4l4eg8.c'
source_filename = "/tmp/tmpdh4l4eg8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/ioctlS\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"ERROR\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"Hi, Septem\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 [200 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr @O_RDWR, align 4
%9 = call i32 @open(ptr noundef @.str, i32 noundef %8)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %14, label %12
12: ; preds = %2
%13 = call i32 @printf(ptr noundef @.str.1)
br label %14
14: ; preds = %12, %2
%15 = load i32, ptr %6, align 4
%16 = call i32 @_IO(i32 noundef 47, i32 noundef 1)
%17 = call i32 @ioctl(i32 noundef %15, i32 noundef %16, ptr noundef null)
%18 = load i32, ptr %6, align 4
%19 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0
%20 = call i32 @read(i32 noundef %18, ptr noundef %19, i32 noundef 10)
%21 = load i32, ptr %6, align 4
%22 = call i32 @_IO(i32 noundef 47, i32 noundef 2)
%23 = call i32 @ioctl(i32 noundef %21, i32 noundef %22, ptr noundef null)
%24 = load i32, ptr %6, align 4
%25 = call i32 @write(i32 noundef %24, ptr noundef @.str.2, i32 noundef 10)
%26 = load i32, ptr %6, align 4
%27 = call i32 @close(i32 noundef %26)
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @_IO(i32 noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdh4l4eg8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/ioctlS\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"ERROR\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"Hi, Septem\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 [200 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr @O_RDWR, align 4
%9 = call i32 @open(ptr noundef @.str, i32 noundef %8)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %14, label %12
12: ; preds = %2
%13 = call i32 @printf(ptr noundef @.str.1)
br label %14
14: ; preds = %12, %2
%15 = load i32, ptr %6, align 4
%16 = call i32 @_IO(i32 noundef 47, i32 noundef 1)
%17 = call i32 @ioctl(i32 noundef %15, i32 noundef %16, ptr noundef null)
%18 = load i32, ptr %6, align 4
%19 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0
%20 = call i32 @read(i32 noundef %18, ptr noundef %19, i32 noundef 10)
%21 = load i32, ptr %6, align 4
%22 = call i32 @_IO(i32 noundef 47, i32 noundef 2)
%23 = call i32 @ioctl(i32 noundef %21, i32 noundef %22, ptr noundef null)
%24 = load i32, ptr %6, align 4
%25 = call i32 @write(i32 noundef %24, ptr noundef @.str.2, i32 noundef 10)
%26 = load i32, ptr %6, align 4
%27 = call i32 @close(i32 noundef %26)
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @_IO(i32 noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyhv4v3d6.c'
source_filename = "/tmp/tmpyhv4v3d6.c"
target datalayout = "e-m:e-p270: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/tmpyhv4v3d6.c"
target datalayout = "e-m:e-p270: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/tmp35o3i2xq.c'
source_filename = "/tmp/tmp35o3i2xq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bnJacobiQ(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
%9 = load ptr, ptr %5, align 8
%10 = call i32 @bnLSWord(ptr noundef %9)
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = and i32 %11, 1
%13 = icmp ne i32 %12, 0
br i1 %13, label %15, label %14
14: ; preds = %2
store i32 0, ptr %3, align 4
br label %113
15: ; preds = %2
br label %16
16: ; preds = %20, %15
%17 = load i32, ptr %4, align 4
%18 = and i32 %17, 3
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %16
%21 = load i32, ptr %4, align 4
%22 = lshr i32 %21, 2
store i32 %22, ptr %4, align 4
br label %16, !llvm.loop !6
23: ; preds = %16
%24 = load i32, ptr %4, align 4
%25 = and i32 %24, 1
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %40
27: ; preds = %23
%28 = load i32, ptr %4, align 4
%29 = lshr i32 %28, 1
store i32 %29, ptr %4, align 4
%30 = load i32, ptr %7, align 4
%31 = load i32, ptr %7, align 4
%32 = lshr i32 %31, 1
%33 = xor i32 %30, %32
%34 = and i32 %33, 2
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %39
36: ; preds = %27
%37 = load i32, ptr %6, align 4
%38 = sub nsw i32 0, %37
store i32 %38, ptr %6, align 4
br label %39
39: ; preds = %36, %27
br label %40
40: ; preds = %39, %23
%41 = load i32, ptr %4, align 4
%42 = icmp eq i32 %41, 1
br i1 %42, label %43, label %45
43: ; preds = %40
%44 = load i32, ptr %6, align 4
store i32 %44, ptr %3, align 4
br label %113
45: ; preds = %40
%46 = load i32, ptr %4, align 4
%47 = load i32, ptr %7, align 4
%48 = and i32 %46, %47
%49 = and i32 %48, 2
%50 = icmp ne i32 %49, 0
br i1 %50, label %51, label %54
51: ; preds = %45
%52 = load i32, ptr %6, align 4
%53 = sub nsw i32 0, %52
store i32 %53, ptr %6, align 4
br label %54
54: ; preds = %51, %45
%55 = load ptr, ptr %5, align 8
%56 = load i32, ptr %4, align 4
%57 = call i32 @bnModQ(ptr noundef %55, i32 noundef %56)
store i32 %57, ptr %7, align 4
br label %58
58: ; preds = %108, %54
%59 = load i32, ptr %7, align 4
%60 = icmp ne i32 %59, 0
br i1 %60, label %61, label %112
61: ; preds = %58
br label %62
62: ; preds = %66, %61
%63 = load i32, ptr %7, align 4
%64 = and i32 %63, 3
%65 = icmp eq i32 %64, 0
br i1 %65, label %66, label %69
66: ; preds = %62
%67 = load i32, ptr %7, align 4
%68 = lshr i32 %67, 2
store i32 %68, ptr %7, align 4
br label %62, !llvm.loop !8
69: ; preds = %62
%70 = load i32, ptr %7, align 4
%71 = and i32 %70, 1
%72 = icmp eq i32 %71, 0
br i1 %72, label %73, label %86
73: ; preds = %69
%74 = load i32, ptr %7, align 4
%75 = lshr i32 %74, 1
store i32 %75, ptr %7, align 4
%76 = load i32, ptr %4, align 4
%77 = load i32, ptr %4, align 4
%78 = lshr i32 %77, 1
%79 = xor i32 %76, %78
%80 = and i32 %79, 2
%81 = icmp ne i32 %80, 0
br i1 %81, label %82, label %85
82: ; preds = %73
%83 = load i32, ptr %6, align 4
%84 = sub nsw i32 0, %83
store i32 %84, ptr %6, align 4
br label %85
85: ; preds = %82, %73
br label %86
86: ; preds = %85, %69
%87 = load i32, ptr %7, align 4
%88 = icmp eq i32 %87, 1
br i1 %88, label %89, label %91
89: ; preds = %86
%90 = load i32, ptr %6, align 4
store i32 %90, ptr %3, align 4
br label %113
91: ; preds = %86
%92 = load i32, ptr %7, align 4
%93 = load i32, ptr %4, align 4
%94 = icmp ult i32 %92, %93
br i1 %94, label %95, label %108
95: ; preds = %91
%96 = load i32, ptr %7, align 4
store i32 %96, ptr %8, align 4
%97 = load i32, ptr %4, align 4
store i32 %97, ptr %7, align 4
%98 = load i32, ptr %8, align 4
store i32 %98, ptr %4, align 4
%99 = load i32, ptr %7, align 4
%100 = load i32, ptr %4, align 4
%101 = and i32 %99, %100
%102 = and i32 %101, 2
%103 = icmp ne i32 %102, 0
br i1 %103, label %104, label %107
104: ; preds = %95
%105 = load i32, ptr %6, align 4
%106 = sub nsw i32 0, %105
store i32 %106, ptr %6, align 4
br label %107
107: ; preds = %104, %95
br label %108
108: ; preds = %107, %91
%109 = load i32, ptr %4, align 4
%110 = load i32, ptr %7, align 4
%111 = urem i32 %110, %109
store i32 %111, ptr %7, align 4
br label %58, !llvm.loop !9
112: ; preds = %58
store i32 0, ptr %3, align 4
br label %113
113: ; preds = %112, %89, %43, %14
%114 = load i32, ptr %3, align 4
ret i32 %114
}
declare i32 @bnLSWord(ptr noundef) #1
declare i32 @bnModQ(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp35o3i2xq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bnJacobiQ(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
%9 = load ptr, ptr %5, align 8
%10 = call i32 @bnLSWord(ptr noundef %9)
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = and i32 %11, 1
%13 = icmp ne i32 %12, 0
br i1 %13, label %15, label %14
14: ; preds = %2
store i32 0, ptr %3, align 4
br label %118
15: ; preds = %2
%16 = load i32, ptr %4, align 4
%17 = and i32 %16, 3
%18 = icmp eq i32 %17, 0
br i1 %18, label %.lr.ph, label %25
.lr.ph: ; preds = %15
br label %19
19: ; preds = %.lr.ph, %19
%20 = load i32, ptr %4, align 4
%21 = lshr i32 %20, 2
store i32 %21, ptr %4, align 4
%22 = load i32, ptr %4, align 4
%23 = and i32 %22, 3
%24 = icmp eq i32 %23, 0
br i1 %24, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %15
%26 = load i32, ptr %4, align 4
%27 = and i32 %26, 1
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %42
29: ; preds = %25
%30 = load i32, ptr %4, align 4
%31 = lshr i32 %30, 1
store i32 %31, ptr %4, align 4
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %7, align 4
%34 = lshr i32 %33, 1
%35 = xor i32 %32, %34
%36 = and i32 %35, 2
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %29
%39 = load i32, ptr %6, align 4
%40 = sub nsw i32 0, %39
store i32 %40, ptr %6, align 4
br label %41
41: ; preds = %38, %29
br label %42
42: ; preds = %41, %25
%43 = load i32, ptr %4, align 4
%44 = icmp eq i32 %43, 1
br i1 %44, label %45, label %47
45: ; preds = %42
%46 = load i32, ptr %6, align 4
store i32 %46, ptr %3, align 4
br label %118
47: ; preds = %42
%48 = load i32, ptr %4, align 4
%49 = load i32, ptr %7, align 4
%50 = and i32 %48, %49
%51 = and i32 %50, 2
%52 = icmp ne i32 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %47
%54 = load i32, ptr %6, align 4
%55 = sub nsw i32 0, %54
store i32 %55, ptr %6, align 4
br label %56
56: ; preds = %53, %47
%57 = load ptr, ptr %5, align 8
%58 = load i32, ptr %4, align 4
%59 = call i32 @bnModQ(ptr noundef %57, i32 noundef %58)
store i32 %59, ptr %7, align 4
%60 = load i32, ptr %7, align 4
%61 = icmp ne i32 %60, 0
br i1 %61, label %.lr.ph5, label %117
.lr.ph5: ; preds = %56
br label %62
62: ; preds = %.lr.ph5, %111
%63 = load i32, ptr %7, align 4
%64 = and i32 %63, 3
%65 = icmp eq i32 %64, 0
br i1 %65, label %.lr.ph2, label %72
.lr.ph2: ; preds = %62
br label %66
66: ; preds = %.lr.ph2, %66
%67 = load i32, ptr %7, align 4
%68 = lshr i32 %67, 2
store i32 %68, ptr %7, align 4
%69 = load i32, ptr %7, align 4
%70 = and i32 %69, 3
%71 = icmp eq i32 %70, 0
br i1 %71, label %66, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %66
br label %72
72: ; preds = %._crit_edge3, %62
%73 = load i32, ptr %7, align 4
%74 = and i32 %73, 1
%75 = icmp eq i32 %74, 0
br i1 %75, label %76, label %89
76: ; preds = %72
%77 = load i32, ptr %7, align 4
%78 = lshr i32 %77, 1
store i32 %78, ptr %7, align 4
%79 = load i32, ptr %4, align 4
%80 = load i32, ptr %4, align 4
%81 = lshr i32 %80, 1
%82 = xor i32 %79, %81
%83 = and i32 %82, 2
%84 = icmp ne i32 %83, 0
br i1 %84, label %85, label %88
85: ; preds = %76
%86 = load i32, ptr %6, align 4
%87 = sub nsw i32 0, %86
store i32 %87, ptr %6, align 4
br label %88
88: ; preds = %85, %76
br label %89
89: ; preds = %88, %72
%90 = load i32, ptr %7, align 4
%91 = icmp eq i32 %90, 1
br i1 %91, label %92, label %94
92: ; preds = %89
%93 = load i32, ptr %6, align 4
store i32 %93, ptr %3, align 4
br label %118
94: ; preds = %89
%95 = load i32, ptr %7, align 4
%96 = load i32, ptr %4, align 4
%97 = icmp ult i32 %95, %96
br i1 %97, label %98, label %111
98: ; preds = %94
%99 = load i32, ptr %7, align 4
store i32 %99, ptr %8, align 4
%100 = load i32, ptr %4, align 4
store i32 %100, ptr %7, align 4
%101 = load i32, ptr %8, align 4
store i32 %101, ptr %4, align 4
%102 = load i32, ptr %7, align 4
%103 = load i32, ptr %4, align 4
%104 = and i32 %102, %103
%105 = and i32 %104, 2
%106 = icmp ne i32 %105, 0
br i1 %106, label %107, label %110
107: ; preds = %98
%108 = load i32, ptr %6, align 4
%109 = sub nsw i32 0, %108
store i32 %109, ptr %6, align 4
br label %110
110: ; preds = %107, %98
br label %111
111: ; preds = %110, %94
%112 = load i32, ptr %4, align 4
%113 = load i32, ptr %7, align 4
%114 = urem i32 %113, %112
store i32 %114, ptr %7, align 4
%115 = load i32, ptr %7, align 4
%116 = icmp ne i32 %115, 0
br i1 %116, label %62, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %111
br label %117
117: ; preds = %._crit_edge6, %56
store i32 0, ptr %3, align 4
br label %118
118: ; preds = %117, %92, %45, %14
%119 = load i32, ptr %3, align 4
ret i32 %119
}
declare i32 @bnLSWord(ptr noundef) #1
declare i32 @bnModQ(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp8crf9g7g.c'
source_filename = "/tmp/tmp8crf9g7g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %16
7: ; preds = %0
%8 = load i32, ptr %3, align 4
%9 = icmp sge i32 %8, 0
br i1 %9, label %10, label %16
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = icmp sle i32 %11, 100
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load i32, ptr %4, align 4
%15 = icmp eq i32 %14, 0
br label %16
16: ; preds = %13, %10, %7, %0
%17 = phi i1 [ false, %10 ], [ false, %7 ], [ false, %0 ], [ %15, %13 ]
%18 = zext i1 %17 to i32
%19 = call i32 @assume(i32 noundef %18)
br label %20
20: ; preds = %24, %16
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %3, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %30
24: ; preds = %20
%25 = load i32, ptr %4, align 4
%26 = load i32, ptr %2, align 4
%27 = add nsw i32 %25, %26
store i32 %27, ptr %4, align 4
%28 = load i32, ptr %2, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %2, align 4
br label %20, !llvm.loop !6
30: ; preds = %20
%31 = load i32, ptr %4, align 4
%32 = icmp sge i32 %31, 0
%33 = zext i1 %32 to i32
%34 = call i32 @assert(i32 noundef %33)
ret i32 0
}
declare i32 @assume(i32 noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8crf9g7g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %16
7: ; preds = %0
%8 = load i32, ptr %3, align 4
%9 = icmp sge i32 %8, 0
br i1 %9, label %10, label %16
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = icmp sle i32 %11, 100
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load i32, ptr %4, align 4
%15 = icmp eq i32 %14, 0
br label %16
16: ; preds = %13, %10, %7, %0
%17 = phi i1 [ false, %10 ], [ false, %7 ], [ false, %0 ], [ %15, %13 ]
%18 = zext i1 %17 to i32
%19 = call i32 @assume(i32 noundef %18)
%20 = load i32, ptr %2, align 4
%21 = load i32, ptr %3, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %.lr.ph, label %32
.lr.ph: ; preds = %16
br label %23
23: ; preds = %.lr.ph, %23
%24 = load i32, ptr %4, align 4
%25 = load i32, ptr %2, align 4
%26 = add nsw i32 %24, %25
store i32 %26, ptr %4, align 4
%27 = load i32, ptr %2, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %2, align 4
%29 = load i32, ptr %2, align 4
%30 = load i32, ptr %3, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %32
32: ; preds = %._crit_edge, %16
%33 = load i32, ptr %4, align 4
%34 = icmp sge i32 %33, 0
%35 = zext i1 %34 to i32
%36 = call i32 @assert(i32 noundef %35)
ret i32 0
}
declare i32 @assume(i32 noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpte13cyse.c'
source_filename = "/tmp/tmpte13cyse.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @path_ending(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 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %4, i64 %7
store ptr %8, ptr %3, align 8
br label %9
9: ; preds = %21, %1
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 -1
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 47
br i1 %14, label %15, label %19
15: ; preds = %9
%16 = load ptr, ptr %3, align 8
%17 = load ptr, ptr %2, align 8
%18 = icmp ugt ptr %16, %17
br label %19
19: ; preds = %15, %9
%20 = phi i1 [ false, %9 ], [ %18, %15 ]
br i1 %20, label %21, label %24
21: ; preds = %19
%22 = load ptr, ptr %3, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 -1
store ptr %23, ptr %3, align 8
br label %9, !llvm.loop !6
24: ; preds = %19
%25 = load ptr, ptr %3, align 8
ret ptr %25
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpte13cyse.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @path_ending(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 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %4, i64 %7
store ptr %8, ptr %3, align 8
br label %9
9: ; preds = %21, %1
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 -1
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 47
br i1 %14, label %15, label %19
15: ; preds = %9
%16 = load ptr, ptr %3, align 8
%17 = load ptr, ptr %2, align 8
%18 = icmp ugt ptr %16, %17
br label %19
19: ; preds = %15, %9
%20 = phi i1 [ false, %9 ], [ %18, %15 ]
br i1 %20, label %21, label %24
21: ; preds = %19
%22 = load ptr, ptr %3, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 -1
store ptr %23, ptr %3, align 8
br label %9, !llvm.loop !6
24: ; preds = %19
%25 = load ptr, ptr %3, align 8
ret ptr %25
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpo3hashs5.c'
source_filename = "/tmp/tmpo3hashs5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i16, align 2
%2 = alloca i8, align 1
store i8 -1, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = sext i8 %3 to i16
%5 = sext i16 %4 to i32
%6 = mul nsw i32 %5, 64
%7 = trunc i32 %6 to i16
store i16 %7, ptr %1, align 2
%8 = call i32 @prints(i16 noundef signext 64)
%9 = call i32 @print(ptr noundef @.str)
%10 = load i8, ptr %2, align 1
%11 = sext i8 %10 to i16
%12 = call i32 @prints(i16 noundef signext %11)
%13 = call i32 @print(ptr noundef @.str)
%14 = load i16, ptr %1, align 2
%15 = call i32 @prints(i16 noundef signext %14)
%16 = call i32 @print(ptr noundef @.str)
%17 = load i16, ptr %1, align 2
%18 = sext i16 %17 to i32
%19 = ashr i32 %18, 8
%20 = call i32 @printd(i32 noundef %19)
%21 = call i32 @print(ptr noundef @.str)
%22 = load i16, ptr %1, align 2
%23 = sext i16 %22 to i32
%24 = call i32 @printd(i32 noundef %23)
%25 = call i32 @print(ptr noundef @.str)
ret void
}
declare i32 @prints(i16 noundef signext) #1
declare i32 @print(ptr noundef) #1
declare i32 @printd(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/tmpo3hashs5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i16, align 2
%2 = alloca i8, align 1
store i8 -1, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = sext i8 %3 to i16
%5 = sext i16 %4 to i32
%6 = mul nsw i32 %5, 64
%7 = trunc i32 %6 to i16
store i16 %7, ptr %1, align 2
%8 = call i32 @prints(i16 noundef signext 64)
%9 = call i32 @print(ptr noundef @.str)
%10 = load i8, ptr %2, align 1
%11 = sext i8 %10 to i16
%12 = call i32 @prints(i16 noundef signext %11)
%13 = call i32 @print(ptr noundef @.str)
%14 = load i16, ptr %1, align 2
%15 = call i32 @prints(i16 noundef signext %14)
%16 = call i32 @print(ptr noundef @.str)
%17 = load i16, ptr %1, align 2
%18 = sext i16 %17 to i32
%19 = ashr i32 %18, 8
%20 = call i32 @printd(i32 noundef %19)
%21 = call i32 @print(ptr noundef @.str)
%22 = load i16, ptr %1, align 2
%23 = sext i16 %22 to i32
%24 = call i32 @printd(i32 noundef %23)
%25 = call i32 @print(ptr noundef @.str)
ret void
}
declare i32 @prints(i16 noundef signext) #1
declare i32 @print(ptr noundef) #1
declare i32 @printd(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/tmpbklmsx0f.c'
source_filename = "/tmp/tmpbklmsx0f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @closeobj_() #0 {
%1 = call i32 (...) @closeobj()
ret void
}
declare i32 @closeobj(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbklmsx0f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @closeobj_() #0 {
%1 = call i32 (...) @closeobj()
ret void
}
declare i32 @closeobj(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplbbi7tb2.c'
source_filename = "/tmp/tmplbbi7tb2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_nan(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %22, %2
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %25
11: ; preds = %7
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %6, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds double, ptr %12, i64 %14
%16 = load double, ptr %15, align 8
%17 = call i64 @newton_interval_isnan(double noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %11
%20 = load i32, ptr %6, align 4
store i32 %20, ptr %3, align 4
br label %26
21: ; preds = %11
br label %22
22: ; preds = %21
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %6, align 4
br label %7, !llvm.loop !6
25: ; preds = %7
store i32 -1, ptr %3, align 4
br label %26
26: ; preds = %25, %19
%27 = load i32, ptr %3, align 4
ret i32 %27
}
declare i64 @newton_interval_isnan(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplbbi7tb2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_nan(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %27
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %21
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %6, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds double, ptr %11, i64 %13
%15 = load double, ptr %14, align 8
%16 = call i64 @newton_interval_isnan(double noundef %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %10
%19 = load i32, ptr %6, align 4
store i32 %19, ptr %3, align 4
br label %28
20: ; preds = %10
br label %21
21: ; preds = %20
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %5, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %2
store i32 -1, ptr %3, align 4
br label %28
28: ; preds = %27, %18
%29 = load i32, ptr %3, align 4
ret i32 %29
}
declare i64 @newton_interval_isnan(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqt0uadio.c'
source_filename = "/tmp/tmpqt0uadio.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dictionary_hash(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %29, %1
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %32
12: ; preds = %8
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = load i32, ptr %4, align 4
%20 = add i32 %19, %18
store i32 %20, ptr %4, align 4
%21 = load i32, ptr %4, align 4
%22 = shl i32 %21, 10
%23 = load i32, ptr %4, align 4
%24 = add i32 %23, %22
store i32 %24, ptr %4, align 4
%25 = load i32, ptr %4, align 4
%26 = lshr i32 %25, 6
%27 = load i32, ptr %4, align 4
%28 = xor i32 %27, %26
store i32 %28, ptr %4, align 4
br label %29
29: ; preds = %12
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %5, align 4
br label %8, !llvm.loop !6
32: ; preds = %8
%33 = load i32, ptr %4, align 4
%34 = shl i32 %33, 3
%35 = load i32, ptr %4, align 4
%36 = add i32 %35, %34
store i32 %36, ptr %4, align 4
%37 = load i32, ptr %4, align 4
%38 = lshr i32 %37, 11
%39 = load i32, ptr %4, align 4
%40 = xor i32 %39, %38
store i32 %40, ptr %4, align 4
%41 = load i32, ptr %4, align 4
%42 = shl i32 %41, 15
%43 = load i32, ptr %4, align 4
%44 = add i32 %43, %42
store i32 %44, ptr %4, align 4
%45 = load i32, ptr %4, align 4
ret i32 %45
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqt0uadio.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dictionary_hash(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %34
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %28
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = load i32, ptr %4, align 4
%19 = add i32 %18, %17
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %4, align 4
%21 = shl i32 %20, 10
%22 = load i32, ptr %4, align 4
%23 = add i32 %22, %21
store i32 %23, ptr %4, align 4
%24 = load i32, ptr %4, align 4
%25 = lshr i32 %24, 6
%26 = load i32, ptr %4, align 4
%27 = xor i32 %26, %25
store i32 %27, ptr %4, align 4
br label %28
28: ; preds = %11
%29 = load i32, ptr %5, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %5, align 4
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %3, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %1
%35 = load i32, ptr %4, align 4
%36 = shl i32 %35, 3
%37 = load i32, ptr %4, align 4
%38 = add i32 %37, %36
store i32 %38, ptr %4, align 4
%39 = load i32, ptr %4, align 4
%40 = lshr i32 %39, 11
%41 = load i32, ptr %4, align 4
%42 = xor i32 %41, %40
store i32 %42, ptr %4, align 4
%43 = load i32, ptr %4, align 4
%44 = shl i32 %43, 15
%45 = load i32, ptr %4, align 4
%46 = add i32 %45, %44
store i32 %46, ptr %4, align 4
%47 = load i32, ptr %4, align 4
ret i32 %47
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpuddg5mtf.c'
source_filename = "/tmp/tmpuddg5mtf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %9, %0
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 6
br i1 %5, label %6, label %12
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = call i32 @kwadrat(i32 noundef %7)
br label %9
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %2, align 4
br label %3, !llvm.loop !6
12: ; preds = %3
store i32 0, ptr %2, align 4
br label %13
13: ; preds = %19, %12
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %14, 6
br i1 %15, label %16, label %22
16: ; preds = %13
%17 = load i32, ptr %2, align 4
%18 = call i32 @owal(i32 noundef %17)
br label %19
19: ; preds = %16
%20 = load i32, ptr %2, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %2, align 4
br label %13, !llvm.loop !8
22: ; preds = %13
store i32 0, ptr %2, align 4
br label %23
23: ; preds = %29, %22
%24 = load i32, ptr %2, align 4
%25 = icmp slt i32 %24, 6
br i1 %25, label %26, label %32
26: ; preds = %23
%27 = load i32, ptr %2, align 4
%28 = call i32 @strzalka(i32 noundef %27)
br label %29
29: ; preds = %26
%30 = load i32, ptr %2, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %2, align 4
br label %23, !llvm.loop !9
32: ; preds = %23
store i32 0, ptr %2, align 4
br label %33
33: ; preds = %39, %32
%34 = load i32, ptr %2, align 4
%35 = icmp slt i32 %34, 6
br i1 %35, label %36, label %42
36: ; preds = %33
%37 = load i32, ptr %2, align 4
%38 = call i32 @diament(i32 noundef %37)
br label %39
39: ; preds = %36
%40 = load i32, ptr %2, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %2, align 4
br label %33, !llvm.loop !10
42: ; preds = %33
%43 = load i32, ptr %1, align 4
ret i32 %43
}
declare i32 @kwadrat(i32 noundef) #1
declare i32 @owal(i32 noundef) #1
declare i32 @strzalka(i32 noundef) #1
declare i32 @diament(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/tmpuddg5mtf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 6
br i1 %4, label %.lr.ph, label %13
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %8
%6 = load i32, ptr %2, align 4
%7 = call i32 @kwadrat(i32 noundef %6)
br label %8
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %11, 6
br i1 %12, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %13
13: ; preds = %._crit_edge, %0
store i32 0, ptr %2, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %14, 6
br i1 %15, label %.lr.ph2, label %24
.lr.ph2: ; preds = %13
br label %16
16: ; preds = %.lr.ph2, %19
%17 = load i32, ptr %2, align 4
%18 = call i32 @owal(i32 noundef %17)
br label %19
19: ; preds = %16
%20 = load i32, ptr %2, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %2, align 4
%22 = load i32, ptr %2, align 4
%23 = icmp slt i32 %22, 6
br i1 %23, label %16, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %19
br label %24
24: ; preds = %._crit_edge3, %13
store i32 0, ptr %2, align 4
%25 = load i32, ptr %2, align 4
%26 = icmp slt i32 %25, 6
br i1 %26, label %.lr.ph5, label %35
.lr.ph5: ; preds = %24
br label %27
27: ; preds = %.lr.ph5, %30
%28 = load i32, ptr %2, align 4
%29 = call i32 @strzalka(i32 noundef %28)
br label %30
30: ; preds = %27
%31 = load i32, ptr %2, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %2, align 4
%33 = load i32, ptr %2, align 4
%34 = icmp slt i32 %33, 6
br i1 %34, label %27, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %30
br label %35
35: ; preds = %._crit_edge6, %24
store i32 0, ptr %2, align 4
%36 = load i32, ptr %2, align 4
%37 = icmp slt i32 %36, 6
br i1 %37, label %.lr.ph8, label %46
.lr.ph8: ; preds = %35
br label %38
38: ; preds = %.lr.ph8, %41
%39 = load i32, ptr %2, align 4
%40 = call i32 @diament(i32 noundef %39)
br label %41
41: ; preds = %38
%42 = load i32, ptr %2, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %2, align 4
%44 = load i32, ptr %2, align 4
%45 = icmp slt i32 %44, 6
br i1 %45, label %38, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %41
br label %46
46: ; preds = %._crit_edge9, %35
%47 = load i32, ptr %1, align 4
ret i32 %47
}
declare i32 @kwadrat(i32 noundef) #1
declare i32 @owal(i32 noundef) #1
declare i32 @strzalka(i32 noundef) #1
declare i32 @diament(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/tmph93it8ol.c'
source_filename = "/tmp/tmph93it8ol.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"tete\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"tetefenife\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @func(ptr noundef @.str, ptr noundef @.str.1)
ret i32 0
}
declare i32 @func(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/tmph93it8ol.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"tete\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"tetefenife\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @func(ptr noundef @.str, ptr noundef @.str.1)
ret i32 0
}
declare i32 @func(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/tmpqmv3gt6o.c'
source_filename = "/tmp/tmpqmv3gt6o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline noreturn nounwind sspstrong uwtable
define dso_local void @abort() #0 {
%1 = load i32, ptr @errno, align 4
%2 = call i32 @_abort(i32 noundef %1)
unreachable
}
declare i32 @_abort(i32 noundef) #1
attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqmv3gt6o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline noreturn nounwind sspstrong uwtable
define dso_local void @abort() #0 {
%1 = load i32, ptr @errno, align 4
%2 = call i32 @_abort(i32 noundef %1)
unreachable
}
declare i32 @_abort(i32 noundef) #1
attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcswgxxfe.c'
source_filename = "/tmp/tmpcswgxxfe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { i64, i32, i32, i64, i64, i64, i64, i64 }
@MD4_CBLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @MD4_Final(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds %struct.TYPE_4__, ptr %8, i32 0, i32 7
%10 = load i64, ptr %9, align 8
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds %struct.TYPE_4__, ptr %12, i32 0, i32 0
%14 = load i64, ptr %13, align 8
store i64 %14, ptr %6, align 8
%15 = load ptr, ptr %5, align 8
%16 = load i64, ptr %6, align 8
%17 = getelementptr inbounds i8, ptr %15, i64 %16
store i8 -128, ptr %17, align 1
%18 = load i64, ptr %6, align 8
%19 = add i64 %18, 1
store i64 %19, ptr %6, align 8
%20 = load i64, ptr %6, align 8
%21 = load i32, ptr @MD4_CBLOCK, align 4
%22 = sub nsw i32 %21, 8
%23 = sext i32 %22 to i64
%24 = icmp ugt i64 %20, %23
br i1 %24, label %25, label %38
25: ; preds = %2
%26 = load ptr, ptr %5, align 8
%27 = load i64, ptr %6, align 8
%28 = getelementptr inbounds i8, ptr %26, i64 %27
%29 = load i32, ptr @MD4_CBLOCK, align 4
%30 = sext i32 %29 to i64
%31 = load i64, ptr %6, align 8
%32 = sub i64 %30, %31
%33 = trunc i64 %32 to i32
%34 = call i32 @memset(ptr noundef %28, i32 noundef 0, i32 noundef %33)
store i64 0, ptr %6, align 8
%35 = load ptr, ptr %4, align 8
%36 = load ptr, ptr %5, align 8
%37 = call i32 @md4_block_data_order(ptr noundef %35, ptr noundef %36, i32 noundef 1)
br label %38
38: ; preds = %25, %2
%39 = load ptr, ptr %5, align 8
%40 = load i64, ptr %6, align 8
%41 = getelementptr inbounds i8, ptr %39, i64 %40
%42 = load i32, ptr @MD4_CBLOCK, align 4
%43 = sub nsw i32 %42, 8
%44 = sext i32 %43 to i64
%45 = load i64, ptr %6, align 8
%46 = sub i64 %44, %45
%47 = trunc i64 %46 to i32
%48 = call i32 @memset(ptr noundef %41, i32 noundef 0, i32 noundef %47)
%49 = load i32, ptr @MD4_CBLOCK, align 4
%50 = sub nsw i32 %49, 8
%51 = load ptr, ptr %5, align 8
%52 = sext i32 %50 to i64
%53 = getelementptr inbounds i8, ptr %51, i64 %52
store ptr %53, ptr %5, align 8
%54 = load ptr, ptr %4, align 8
%55 = getelementptr inbounds %struct.TYPE_4__, ptr %54, i32 0, i32 1
%56 = load i32, ptr %55, align 8
%57 = load ptr, ptr %5, align 8
store i32 %56, ptr %57, align 4
%58 = load ptr, ptr %5, align 8
%59 = getelementptr inbounds i8, ptr %58, i64 4
store ptr %59, ptr %5, align 8
%60 = load ptr, ptr %4, align 8
%61 = getelementptr inbounds %struct.TYPE_4__, ptr %60, i32 0, i32 1
%62 = load i32, ptr %61, align 8
%63 = load ptr, ptr %4, align 8
%64 = getelementptr inbounds %struct.TYPE_4__, ptr %63, i32 0, i32 2
%65 = load i32, ptr %64, align 4
%66 = load ptr, ptr %5, align 8
store i32 %65, ptr %66, align 4
%67 = load ptr, ptr %5, align 8
%68 = getelementptr inbounds i8, ptr %67, i64 4
store ptr %68, ptr %5, align 8
%69 = load ptr, ptr %4, align 8
%70 = getelementptr inbounds %struct.TYPE_4__, ptr %69, i32 0, i32 2
%71 = load i32, ptr %70, align 4
%72 = load i32, ptr @MD4_CBLOCK, align 4
%73 = load ptr, ptr %5, align 8
%74 = sext i32 %72 to i64
%75 = sub i64 0, %74
%76 = getelementptr inbounds i8, ptr %73, i64 %75
store ptr %76, ptr %5, align 8
%77 = load ptr, ptr %4, align 8
%78 = load ptr, ptr %5, align 8
%79 = call i32 @md4_block_data_order(ptr noundef %77, ptr noundef %78, i32 noundef 1)
%80 = load ptr, ptr %4, align 8
%81 = getelementptr inbounds %struct.TYPE_4__, ptr %80, i32 0, i32 0
store i64 0, ptr %81, align 8
%82 = load ptr, ptr %5, align 8
%83 = load i32, ptr @MD4_CBLOCK, align 4
%84 = call i32 @memset(ptr noundef %82, i32 noundef 0, i32 noundef %83)
br label %85
85: ; preds = %38
%86 = load ptr, ptr %4, align 8
%87 = getelementptr inbounds %struct.TYPE_4__, ptr %86, i32 0, i32 3
%88 = load i64, ptr %87, align 8
store i64 %88, ptr %7, align 8
%89 = load i64, ptr %7, align 8
%90 = trunc i64 %89 to i32
%91 = load ptr, ptr %3, align 8
store i32 %90, ptr %91, align 4
%92 = load ptr, ptr %3, align 8
%93 = getelementptr inbounds i8, ptr %92, i64 4
store ptr %93, ptr %3, align 8
%94 = load i64, ptr %7, align 8
%95 = load ptr, ptr %4, align 8
%96 = getelementptr inbounds %struct.TYPE_4__, ptr %95, i32 0, i32 4
%97 = load i64, ptr %96, align 8
store i64 %97, ptr %7, align 8
%98 = load i64, ptr %7, align 8
%99 = trunc i64 %98 to i32
%100 = load ptr, ptr %3, align 8
store i32 %99, ptr %100, align 4
%101 = load ptr, ptr %3, align 8
%102 = getelementptr inbounds i8, ptr %101, i64 4
store ptr %102, ptr %3, align 8
%103 = load i64, ptr %7, align 8
%104 = load ptr, ptr %4, align 8
%105 = getelementptr inbounds %struct.TYPE_4__, ptr %104, i32 0, i32 5
%106 = load i64, ptr %105, align 8
store i64 %106, ptr %7, align 8
%107 = load i64, ptr %7, align 8
%108 = trunc i64 %107 to i32
%109 = load ptr, ptr %3, align 8
store i32 %108, ptr %109, align 4
%110 = load ptr, ptr %3, align 8
%111 = getelementptr inbounds i8, ptr %110, i64 4
store ptr %111, ptr %3, align 8
%112 = load i64, ptr %7, align 8
%113 = load ptr, ptr %4, align 8
%114 = getelementptr inbounds %struct.TYPE_4__, ptr %113, i32 0, i32 6
%115 = load i64, ptr %114, align 8
store i64 %115, ptr %7, align 8
%116 = load i64, ptr %7, align 8
%117 = trunc i64 %116 to i32
%118 = load ptr, ptr %3, align 8
store i32 %117, ptr %118, align 4
%119 = load ptr, ptr %3, align 8
%120 = getelementptr inbounds i8, ptr %119, i64 4
store ptr %120, ptr %3, align 8
%121 = load i64, ptr %7, align 8
br label %122
122: ; preds = %85
ret i32 1
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @md4_block_data_order(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/tmpcswgxxfe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { i64, i32, i32, i64, i64, i64, i64, i64 }
@MD4_CBLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @MD4_Final(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds %struct.TYPE_4__, ptr %8, i32 0, i32 7
%10 = load i64, ptr %9, align 8
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds %struct.TYPE_4__, ptr %12, i32 0, i32 0
%14 = load i64, ptr %13, align 8
store i64 %14, ptr %6, align 8
%15 = load ptr, ptr %5, align 8
%16 = load i64, ptr %6, align 8
%17 = getelementptr inbounds i8, ptr %15, i64 %16
store i8 -128, ptr %17, align 1
%18 = load i64, ptr %6, align 8
%19 = add i64 %18, 1
store i64 %19, ptr %6, align 8
%20 = load i64, ptr %6, align 8
%21 = load i32, ptr @MD4_CBLOCK, align 4
%22 = sub nsw i32 %21, 8
%23 = sext i32 %22 to i64
%24 = icmp ugt i64 %20, %23
br i1 %24, label %25, label %38
25: ; preds = %2
%26 = load ptr, ptr %5, align 8
%27 = load i64, ptr %6, align 8
%28 = getelementptr inbounds i8, ptr %26, i64 %27
%29 = load i32, ptr @MD4_CBLOCK, align 4
%30 = sext i32 %29 to i64
%31 = load i64, ptr %6, align 8
%32 = sub i64 %30, %31
%33 = trunc i64 %32 to i32
%34 = call i32 @memset(ptr noundef %28, i32 noundef 0, i32 noundef %33)
store i64 0, ptr %6, align 8
%35 = load ptr, ptr %4, align 8
%36 = load ptr, ptr %5, align 8
%37 = call i32 @md4_block_data_order(ptr noundef %35, ptr noundef %36, i32 noundef 1)
br label %38
38: ; preds = %25, %2
%39 = load ptr, ptr %5, align 8
%40 = load i64, ptr %6, align 8
%41 = getelementptr inbounds i8, ptr %39, i64 %40
%42 = load i32, ptr @MD4_CBLOCK, align 4
%43 = sub nsw i32 %42, 8
%44 = sext i32 %43 to i64
%45 = load i64, ptr %6, align 8
%46 = sub i64 %44, %45
%47 = trunc i64 %46 to i32
%48 = call i32 @memset(ptr noundef %41, i32 noundef 0, i32 noundef %47)
%49 = load i32, ptr @MD4_CBLOCK, align 4
%50 = sub nsw i32 %49, 8
%51 = load ptr, ptr %5, align 8
%52 = sext i32 %50 to i64
%53 = getelementptr inbounds i8, ptr %51, i64 %52
store ptr %53, ptr %5, align 8
%54 = load ptr, ptr %4, align 8
%55 = getelementptr inbounds %struct.TYPE_4__, ptr %54, i32 0, i32 1
%56 = load i32, ptr %55, align 8
%57 = load ptr, ptr %5, align 8
store i32 %56, ptr %57, align 4
%58 = load ptr, ptr %5, align 8
%59 = getelementptr inbounds i8, ptr %58, i64 4
store ptr %59, ptr %5, align 8
%60 = load ptr, ptr %4, align 8
%61 = getelementptr inbounds %struct.TYPE_4__, ptr %60, i32 0, i32 1
%62 = load i32, ptr %61, align 8
%63 = load ptr, ptr %4, align 8
%64 = getelementptr inbounds %struct.TYPE_4__, ptr %63, i32 0, i32 2
%65 = load i32, ptr %64, align 4
%66 = load ptr, ptr %5, align 8
store i32 %65, ptr %66, align 4
%67 = load ptr, ptr %5, align 8
%68 = getelementptr inbounds i8, ptr %67, i64 4
store ptr %68, ptr %5, align 8
%69 = load ptr, ptr %4, align 8
%70 = getelementptr inbounds %struct.TYPE_4__, ptr %69, i32 0, i32 2
%71 = load i32, ptr %70, align 4
%72 = load i32, ptr @MD4_CBLOCK, align 4
%73 = load ptr, ptr %5, align 8
%74 = sext i32 %72 to i64
%75 = sub i64 0, %74
%76 = getelementptr inbounds i8, ptr %73, i64 %75
store ptr %76, ptr %5, align 8
%77 = load ptr, ptr %4, align 8
%78 = load ptr, ptr %5, align 8
%79 = call i32 @md4_block_data_order(ptr noundef %77, ptr noundef %78, i32 noundef 1)
%80 = load ptr, ptr %4, align 8
%81 = getelementptr inbounds %struct.TYPE_4__, ptr %80, i32 0, i32 0
store i64 0, ptr %81, align 8
%82 = load ptr, ptr %5, align 8
%83 = load i32, ptr @MD4_CBLOCK, align 4
%84 = call i32 @memset(ptr noundef %82, i32 noundef 0, i32 noundef %83)
br label %85
85: ; preds = %38
%86 = load ptr, ptr %4, align 8
%87 = getelementptr inbounds %struct.TYPE_4__, ptr %86, i32 0, i32 3
%88 = load i64, ptr %87, align 8
store i64 %88, ptr %7, align 8
%89 = load i64, ptr %7, align 8
%90 = trunc i64 %89 to i32
%91 = load ptr, ptr %3, align 8
store i32 %90, ptr %91, align 4
%92 = load ptr, ptr %3, align 8
%93 = getelementptr inbounds i8, ptr %92, i64 4
store ptr %93, ptr %3, align 8
%94 = load i64, ptr %7, align 8
%95 = load ptr, ptr %4, align 8
%96 = getelementptr inbounds %struct.TYPE_4__, ptr %95, i32 0, i32 4
%97 = load i64, ptr %96, align 8
store i64 %97, ptr %7, align 8
%98 = load i64, ptr %7, align 8
%99 = trunc i64 %98 to i32
%100 = load ptr, ptr %3, align 8
store i32 %99, ptr %100, align 4
%101 = load ptr, ptr %3, align 8
%102 = getelementptr inbounds i8, ptr %101, i64 4
store ptr %102, ptr %3, align 8
%103 = load i64, ptr %7, align 8
%104 = load ptr, ptr %4, align 8
%105 = getelementptr inbounds %struct.TYPE_4__, ptr %104, i32 0, i32 5
%106 = load i64, ptr %105, align 8
store i64 %106, ptr %7, align 8
%107 = load i64, ptr %7, align 8
%108 = trunc i64 %107 to i32
%109 = load ptr, ptr %3, align 8
store i32 %108, ptr %109, align 4
%110 = load ptr, ptr %3, align 8
%111 = getelementptr inbounds i8, ptr %110, i64 4
store ptr %111, ptr %3, align 8
%112 = load i64, ptr %7, align 8
%113 = load ptr, ptr %4, align 8
%114 = getelementptr inbounds %struct.TYPE_4__, ptr %113, i32 0, i32 6
%115 = load i64, ptr %114, align 8
store i64 %115, ptr %7, align 8
%116 = load i64, ptr %7, align 8
%117 = trunc i64 %116 to i32
%118 = load ptr, ptr %3, align 8
store i32 %117, ptr %118, align 4
%119 = load ptr, ptr %3, align 8
%120 = getelementptr inbounds i8, ptr %119, i64 4
store ptr %120, ptr %3, align 8
%121 = load i64, ptr %7, align 8
br label %122
122: ; preds = %85
ret i32 1
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @md4_block_data_order(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/tmp09bqbnit.c'
source_filename = "/tmp/tmp09bqbnit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
@STDIN_FILENO = dso_local global i32 0, align 4
@STDOUT_FILENO = dso_local global i32 0, align 4
@STDERR_FILENO = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @daemonize() #0 {
%1 = alloca i64, align 8
%2 = alloca i64, align 8
%3 = call i64 (...) @fork()
store i64 %3, ptr %1, align 8
%4 = load i64, ptr %1, align 8
%5 = icmp sgt i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = load i32, ptr @EXIT_SUCCESS, align 4
%8 = call i32 @exit(i32 noundef %7) #3
unreachable
9: ; preds = %0
%10 = load i64, ptr %1, align 8
%11 = icmp slt i64 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load i32, ptr @EXIT_FAILURE, align 4
%14 = call i32 @exit(i32 noundef %13) #3
unreachable
15: ; preds = %9
br label %16
16: ; preds = %15
%17 = call i32 @umask(i32 noundef 0)
%18 = call i64 (...) @setsid()
store i64 %18, ptr %2, align 8
%19 = icmp slt i64 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %16
%21 = load i32, ptr @EXIT_FAILURE, align 4
%22 = call i32 @exit(i32 noundef %21) #3
unreachable
23: ; preds = %16
%24 = load i32, ptr @STDIN_FILENO, align 4
%25 = call i32 @close(i32 noundef %24)
%26 = load i32, ptr @STDOUT_FILENO, align 4
%27 = call i32 @close(i32 noundef %26)
%28 = load i32, ptr @STDERR_FILENO, align 4
%29 = call i32 @close(i32 noundef %28)
%30 = load i32, ptr @stdout, align 4
%31 = call i32 @freopen(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %30)
ret void
}
declare i64 @fork(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @umask(i32 noundef) #1
declare i64 @setsid(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @freopen(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" }
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/tmp09bqbnit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
@STDIN_FILENO = dso_local global i32 0, align 4
@STDOUT_FILENO = dso_local global i32 0, align 4
@STDERR_FILENO = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @daemonize() #0 {
%1 = alloca i64, align 8
%2 = alloca i64, align 8
%3 = call i64 (...) @fork()
store i64 %3, ptr %1, align 8
%4 = load i64, ptr %1, align 8
%5 = icmp sgt i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = load i32, ptr @EXIT_SUCCESS, align 4
%8 = call i32 @exit(i32 noundef %7) #3
unreachable
9: ; preds = %0
%10 = load i64, ptr %1, align 8
%11 = icmp slt i64 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load i32, ptr @EXIT_FAILURE, align 4
%14 = call i32 @exit(i32 noundef %13) #3
unreachable
15: ; preds = %9
br label %16
16: ; preds = %15
%17 = call i32 @umask(i32 noundef 0)
%18 = call i64 (...) @setsid()
store i64 %18, ptr %2, align 8
%19 = icmp slt i64 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %16
%21 = load i32, ptr @EXIT_FAILURE, align 4
%22 = call i32 @exit(i32 noundef %21) #3
unreachable
23: ; preds = %16
%24 = load i32, ptr @STDIN_FILENO, align 4
%25 = call i32 @close(i32 noundef %24)
%26 = load i32, ptr @STDOUT_FILENO, align 4
%27 = call i32 @close(i32 noundef %26)
%28 = load i32, ptr @STDERR_FILENO, align 4
%29 = call i32 @close(i32 noundef %28)
%30 = load i32, ptr @stdout, align 4
%31 = call i32 @freopen(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %30)
ret void
}
declare i64 @fork(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @umask(i32 noundef) #1
declare i64 @setsid(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @freopen(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" }
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/tmp0jfbgnjh.c'
source_filename = "/tmp/tmp0jfbgnjh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @DecodeString(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [4 x i8], align 1
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %7
7: ; preds = %61, %1
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %66
15: ; preds = %7
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
switch i32 %21, label %51 [
i32 43, label %22
i32 37, label %27
]
22: ; preds = %15
%23 = load ptr, ptr %2, align 8
%24 = load i32, ptr %4, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
store i8 32, ptr %26, align 1
br label %61
27: ; preds = %15
%28 = load ptr, ptr %2, align 8
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %3, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %28, i64 %31
%33 = load i8, ptr %32, align 1
%34 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
store i8 %33, ptr %34, align 1
%35 = load ptr, ptr %2, align 8
%36 = load i32, ptr %3, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %3, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %35, i64 %38
%40 = load i8, ptr %39, align 1
%41 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 1
store i8 %40, ptr %41, align 1
%42 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 2
store i8 0, ptr %42, align 1
%43 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%44 = call i32 @sscanf(ptr noundef %43, ptr noundef @.str, ptr noundef %5)
%45 = load i32, ptr %5, align 4
%46 = trunc i32 %45 to i8
%47 = load ptr, ptr %2, align 8
%48 = load i32, ptr %4, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
store i8 %46, ptr %50, align 1
br label %61
51: ; preds = %15
%52 = load ptr, ptr %2, align 8
%53 = load i32, ptr %3, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
%56 = load i8, ptr %55, align 1
%57 = load ptr, ptr %2, align 8
%58 = load i32, ptr %4, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %57, i64 %59
store i8 %56, ptr %60, align 1
br label %61
61: ; preds = %51, %27, %22
%62 = load i32, ptr %3, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %3, align 4
%64 = load i32, ptr %4, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %4, align 4
br label %7, !llvm.loop !6
66: ; preds = %7
%67 = load ptr, ptr %2, align 8
%68 = load i32, ptr %4, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %67, i64 %69
store i8 0, ptr %70, align 1
%71 = load i32, ptr %4, align 4
%72 = add nsw i32 %71, -1
store i32 %72, ptr %4, align 4
ret i32 %72
}
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0jfbgnjh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @DecodeString(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [4 x i8], align 1
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%7 = load ptr, ptr %2, align 8
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i8, ptr %7, i64 %9
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %.lr.ph, label %72
.lr.ph: ; preds = %1
br label %14
14: ; preds = %.lr.ph, %60
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
switch i32 %20, label %50 [
i32 43, label %21
i32 37, label %26
]
21: ; preds = %14
%22 = load ptr, ptr %2, align 8
%23 = load i32, ptr %4, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
store i8 32, ptr %25, align 1
br label %60
26: ; preds = %14
%27 = load ptr, ptr %2, align 8
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %27, i64 %30
%32 = load i8, ptr %31, align 1
%33 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
store i8 %32, ptr %33, align 1
%34 = load ptr, ptr %2, align 8
%35 = load i32, ptr %3, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %3, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %34, i64 %37
%39 = load i8, ptr %38, align 1
%40 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 1
store i8 %39, ptr %40, align 1
%41 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 2
store i8 0, ptr %41, align 1
%42 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%43 = call i32 @sscanf(ptr noundef %42, ptr noundef @.str, ptr noundef %5)
%44 = load i32, ptr %5, align 4
%45 = trunc i32 %44 to i8
%46 = load ptr, ptr %2, align 8
%47 = load i32, ptr %4, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %46, i64 %48
store i8 %45, ptr %49, align 1
br label %60
50: ; preds = %14
%51 = load ptr, ptr %2, align 8
%52 = load i32, ptr %3, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %51, i64 %53
%55 = load i8, ptr %54, align 1
%56 = load ptr, ptr %2, align 8
%57 = load i32, ptr %4, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %56, i64 %58
store i8 %55, ptr %59, align 1
br label %60
60: ; preds = %50, %26, %21
%61 = load i32, ptr %3, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %3, align 4
%63 = load i32, ptr %4, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %4, align 4
%65 = load ptr, ptr %2, align 8
%66 = load i32, ptr %3, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %65, i64 %67
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = icmp ne i32 %70, 0
br i1 %71, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %60
br label %72
72: ; preds = %._crit_edge, %1
%73 = load ptr, ptr %2, align 8
%74 = load i32, ptr %4, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i8, ptr %73, i64 %75
store i8 0, ptr %76, align 1
%77 = load i32, ptr %4, align 4
%78 = add nsw i32 %77, -1
store i32 %78, ptr %4, align 4
ret i32 %78
}
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpudvf5rxh.c'
source_filename = "/tmp/tmpudvf5rxh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@PTRACE_PEEKDATA = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @strace_read_buf(i64 noundef %0, i32 noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
store i64 %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i64 0, ptr %11, align 8
br label %13
13: ; preds = %37, %4
%14 = load i64, ptr %11, align 8
%15 = load i64, ptr %8, align 8
%16 = icmp ult i64 %14, %15
br i1 %16, label %17, label %48
17: ; preds = %13
store i64 0, ptr @errno, align 8
%18 = load i32, ptr @PTRACE_PEEKDATA, align 4
%19 = load i32, ptr %7, align 4
%20 = load i64, ptr %6, align 8
%21 = load i64, ptr %11, align 8
%22 = add i64 %20, %21
%23 = call i64 @ptrace(i32 noundef %18, i32 noundef %19, i64 noundef %22)
store i64 %23, ptr %10, align 8
%24 = load i64, ptr @errno, align 8
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %17
store i32 -1, ptr %5, align 4
br label %49
27: ; preds = %17
%28 = load i64, ptr %8, align 8
%29 = load i64, ptr %11, align 8
%30 = sub i64 %28, %29
%31 = udiv i64 %30, 8
%32 = icmp ne i64 %31, 0
br i1 %32, label %33, label %34
33: ; preds = %27
store i64 8, ptr %12, align 8
br label %37
34: ; preds = %27
%35 = load i64, ptr %8, align 8
%36 = urem i64 %35, 8
store i64 %36, ptr %12, align 8
br label %37
37: ; preds = %34, %33
%38 = load ptr, ptr %9, align 8
%39 = ptrtoint ptr %38 to i64
%40 = load i64, ptr %11, align 8
%41 = add i64 %39, %40
%42 = inttoptr i64 %41 to ptr
%43 = load i64, ptr %12, align 8
%44 = call i32 @memcpy(ptr noundef %42, ptr noundef %10, i64 noundef %43)
%45 = load i64, ptr %12, align 8
%46 = load i64, ptr %11, align 8
%47 = add i64 %46, %45
store i64 %47, ptr %11, align 8
br label %13, !llvm.loop !6
48: ; preds = %13
store i32 0, ptr %5, align 4
br label %49
49: ; preds = %48, %26
%50 = load i32, ptr %5, align 4
ret i32 %50
}
declare i64 @ptrace(i32 noundef, i32 noundef, i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpudvf5rxh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@PTRACE_PEEKDATA = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @strace_read_buf(i64 noundef %0, i32 noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
store i64 %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i64 0, ptr %11, align 8
%13 = load i64, ptr %11, align 8
%14 = load i64, ptr %8, align 8
%15 = icmp ult i64 %13, %14
br i1 %15, label %.lr.ph, label %50
.lr.ph: ; preds = %4
br label %16
16: ; preds = %.lr.ph, %36
store i64 0, ptr @errno, align 8
%17 = load i32, ptr @PTRACE_PEEKDATA, align 4
%18 = load i32, ptr %7, align 4
%19 = load i64, ptr %6, align 8
%20 = load i64, ptr %11, align 8
%21 = add i64 %19, %20
%22 = call i64 @ptrace(i32 noundef %17, i32 noundef %18, i64 noundef %21)
store i64 %22, ptr %10, align 8
%23 = load i64, ptr @errno, align 8
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %26
25: ; preds = %16
store i32 -1, ptr %5, align 4
br label %51
26: ; preds = %16
%27 = load i64, ptr %8, align 8
%28 = load i64, ptr %11, align 8
%29 = sub i64 %27, %28
%30 = udiv i64 %29, 8
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %26
store i64 8, ptr %12, align 8
br label %36
33: ; preds = %26
%34 = load i64, ptr %8, align 8
%35 = urem i64 %34, 8
store i64 %35, ptr %12, align 8
br label %36
36: ; preds = %33, %32
%37 = load ptr, ptr %9, align 8
%38 = ptrtoint ptr %37 to i64
%39 = load i64, ptr %11, align 8
%40 = add i64 %38, %39
%41 = inttoptr i64 %40 to ptr
%42 = load i64, ptr %12, align 8
%43 = call i32 @memcpy(ptr noundef %41, ptr noundef %10, i64 noundef %42)
%44 = load i64, ptr %12, align 8
%45 = load i64, ptr %11, align 8
%46 = add i64 %45, %44
store i64 %46, ptr %11, align 8
%47 = load i64, ptr %11, align 8
%48 = load i64, ptr %8, align 8
%49 = icmp ult i64 %47, %48
br i1 %49, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %50
50: ; preds = %._crit_edge, %4
store i32 0, ptr %5, align 4
br label %51
51: ; preds = %50, %25
%52 = load i32, ptr %5, align 4
ret i32 %52
}
declare i64 @ptrace(i32 noundef, i32 noundef, i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp62j00sfv.c'
source_filename = "/tmp/tmp62j00sfv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @shuffle(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%8 = load i64, ptr %4, align 8
%9 = icmp ugt i64 %8, 1
br i1 %9, label %10, label %46
10: ; preds = %2
store i64 0, ptr %5, align 8
br label %11
11: ; preds = %42, %10
%12 = load i64, ptr %5, align 8
%13 = load i64, ptr %4, align 8
%14 = sub i64 %13, 1
%15 = icmp ult i64 %12, %14
br i1 %15, label %16, label %45
16: ; preds = %11
%17 = load i64, ptr %5, align 8
%18 = call i64 (...) @rand()
%19 = load i64, ptr @RAND_MAX, align 8
%20 = load i64, ptr %4, align 8
%21 = load i64, ptr %5, align 8
%22 = sub i64 %20, %21
%23 = udiv i64 %19, %22
%24 = add i64 %23, 1
%25 = udiv i64 %18, %24
%26 = add i64 %17, %25
store i64 %26, ptr %6, align 8
%27 = load ptr, ptr %3, align 8
%28 = load i64, ptr %6, align 8
%29 = getelementptr inbounds i32, ptr %27, i64 %28
%30 = load i32, ptr %29, align 4
store i32 %30, ptr %7, align 4
%31 = load ptr, ptr %3, align 8
%32 = load i64, ptr %5, align 8
%33 = getelementptr inbounds i32, ptr %31, i64 %32
%34 = load i32, ptr %33, align 4
%35 = load ptr, ptr %3, align 8
%36 = load i64, ptr %6, align 8
%37 = getelementptr inbounds i32, ptr %35, i64 %36
store i32 %34, ptr %37, align 4
%38 = load i32, ptr %7, align 4
%39 = load ptr, ptr %3, align 8
%40 = load i64, ptr %5, align 8
%41 = getelementptr inbounds i32, ptr %39, i64 %40
store i32 %38, ptr %41, align 4
br label %42
42: ; preds = %16
%43 = load i64, ptr %5, align 8
%44 = add i64 %43, 1
store i64 %44, ptr %5, align 8
br label %11, !llvm.loop !6
45: ; preds = %11
br label %46
46: ; preds = %45, %2
ret void
}
declare i64 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp62j00sfv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @shuffle(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%8 = load i64, ptr %4, align 8
%9 = icmp ugt i64 %8, 1
br i1 %9, label %10, label %49
10: ; preds = %2
store i64 0, ptr %5, align 8
%11 = load i64, ptr %5, align 8
%12 = load i64, ptr %4, align 8
%13 = sub i64 %12, 1
%14 = icmp ult i64 %11, %13
br i1 %14, label %.lr.ph, label %48
.lr.ph: ; preds = %10
br label %15
15: ; preds = %.lr.ph, %41
%16 = load i64, ptr %5, align 8
%17 = call i64 (...) @rand()
%18 = load i64, ptr @RAND_MAX, align 8
%19 = load i64, ptr %4, align 8
%20 = load i64, ptr %5, align 8
%21 = sub i64 %19, %20
%22 = udiv i64 %18, %21
%23 = add i64 %22, 1
%24 = udiv i64 %17, %23
%25 = add i64 %16, %24
store i64 %25, ptr %6, align 8
%26 = load ptr, ptr %3, align 8
%27 = load i64, ptr %6, align 8
%28 = getelementptr inbounds i32, ptr %26, i64 %27
%29 = load i32, ptr %28, align 4
store i32 %29, ptr %7, align 4
%30 = load ptr, ptr %3, align 8
%31 = load i64, ptr %5, align 8
%32 = getelementptr inbounds i32, ptr %30, i64 %31
%33 = load i32, ptr %32, align 4
%34 = load ptr, ptr %3, align 8
%35 = load i64, ptr %6, align 8
%36 = getelementptr inbounds i32, ptr %34, i64 %35
store i32 %33, ptr %36, align 4
%37 = load i32, ptr %7, align 4
%38 = load ptr, ptr %3, align 8
%39 = load i64, ptr %5, align 8
%40 = getelementptr inbounds i32, ptr %38, i64 %39
store i32 %37, ptr %40, align 4
br label %41
41: ; preds = %15
%42 = load i64, ptr %5, align 8
%43 = add i64 %42, 1
store i64 %43, ptr %5, align 8
%44 = load i64, ptr %5, align 8
%45 = load i64, ptr %4, align 8
%46 = sub i64 %45, 1
%47 = icmp ult i64 %44, %46
br i1 %47, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %48
48: ; preds = %._crit_edge, %10
br label %49
49: ; preds = %48, %2
ret void
}
declare i64 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpnzten81_.c'
source_filename = "/tmp/tmpnzten81_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [58 x i8] c"failed test %d MAX(%d, %d): %lldLL == %lluLLU != i == %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [59 x i8] c"failed test %d MAX(%d, %d): %lldLL == %lluLLU != u == %uU\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_test_MAX_equalint_equaluint(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = sub nsw i32 %5, %6
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = sub nsw i32 %8, %9
%11 = add nsw i32 %10, 1
%12 = sub nsw i32 %7, %11
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = sub nsw i32 %13, %14
%16 = icmp slt i32 %12, %15
br i1 %16, label %17, label %68
17: ; preds = %2
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %4, align 4
%20 = sub i32 %18, %19
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %4, align 4
%23 = sub i32 %21, %22
%24 = add i32 %23, 1
%25 = sub i32 %20, %24
%26 = load i32, ptr %4, align 4
%27 = load i32, ptr %4, align 4
%28 = sub i32 %26, %27
%29 = icmp ult i32 %25, %28
br i1 %29, label %30, label %44
30: ; preds = %17
%31 = load i32, ptr %3, align 4
%32 = sext i32 %31 to i64
%33 = load i32, ptr %4, align 4
%34 = zext i32 %33 to i64
%35 = icmp sgt i64 %32, %34
br i1 %35, label %36, label %39
36: ; preds = %30
%37 = load i32, ptr %3, align 4
%38 = sext i32 %37 to i64
br label %42
39: ; preds = %30
%40 = load i32, ptr %4, align 4
%41 = zext i32 %40 to i64
br label %42
42: ; preds = %39, %36
%43 = phi i64 [ %38, %36 ], [ %41, %39 ]
br label %66
44: ; preds = %17
%45 = load i32, ptr %3, align 4
%46 = icmp slt i32 %45, 0
br i1 %46, label %47, label %50
47: ; preds = %44
%48 = load i32, ptr %4, align 4
%49 = zext i32 %48 to i64
br label %64
50: ; preds = %44
%51 = load i32, ptr %3, align 4
%52 = sext i32 %51 to i64
%53 = load i32, ptr %4, align 4
%54 = zext i32 %53 to i64
%55 = icmp ugt i64 %52, %54
br i1 %55, label %56, label %59
56: ; preds = %50
%57 = load i32, ptr %3, align 4
%58 = sext i32 %57 to i64
br label %62
59: ; preds = %50
%60 = load i32, ptr %4, align 4
%61 = zext i32 %60 to i64
br label %62
62: ; preds = %59, %56
%63 = phi i64 [ %58, %56 ], [ %61, %59 ]
br label %64
64: ; preds = %62, %47
%65 = phi i64 [ %49, %47 ], [ %63, %62 ]
br label %66
66: ; preds = %64, %42
%67 = phi i64 [ %43, %42 ], [ %65, %64 ]
br label %119
68: ; preds = %2
%69 = load i32, ptr %4, align 4
%70 = load i32, ptr %4, align 4
%71 = sub i32 %69, %70
%72 = load i32, ptr %4, align 4
%73 = load i32, ptr %4, align 4
%74 = sub i32 %72, %73
%75 = add i32 %74, 1
%76 = sub i32 %71, %75
%77 = load i32, ptr %4, align 4
%78 = load i32, ptr %4, align 4
%79 = sub i32 %77, %78
%80 = icmp ult i32 %76, %79
br i1 %80, label %81, label %103
81: ; preds = %68
%82 = load i32, ptr %4, align 4
%83 = icmp ult i32 %82, 0
br i1 %83, label %84, label %87
84: ; preds = %81
%85 = load i32, ptr %3, align 4
%86 = sext i32 %85 to i64
br label %101
87: ; preds = %81
%88 = load i32, ptr %3, align 4
%89 = sext i32 %88 to i64
%90 = load i32, ptr %4, align 4
%91 = zext i32 %90 to i64
%92 = icmp ugt i64 %89, %91
br i1 %92, label %93, label %96
93: ; preds = %87
%94 = load i32, ptr %3, align 4
%95 = sext i32 %94 to i64
br label %99
96: ; preds = %87
%97 = load i32, ptr %4, align 4
%98 = zext i32 %97 to i64
br label %99
99: ; preds = %96, %93
%100 = phi i64 [ %95, %93 ], [ %98, %96 ]
br label %101
101: ; preds = %99, %84
%102 = phi i64 [ %86, %84 ], [ %100, %99 ]
br label %117
103: ; preds = %68
%104 = load i32, ptr %3, align 4
%105 = sext i32 %104 to i64
%106 = load i32, ptr %4, align 4
%107 = zext i32 %106 to i64
%108 = icmp ugt i64 %105, %107
br i1 %108, label %109, label %112
109: ; preds = %103
%110 = load i32, ptr %3, align 4
%111 = sext i32 %110 to i64
br label %115
112: ; preds = %103
%113 = load i32, ptr %4, align 4
%114 = zext i32 %113 to i64
br label %115
115: ; preds = %112, %109
%116 = phi i64 [ %111, %109 ], [ %114, %112 ]
br label %117
117: ; preds = %115, %101
%118 = phi i64 [ %102, %101 ], [ %116, %115 ]
br label %119
119: ; preds = %117, %66
%120 = phi i64 [ %67, %66 ], [ %118, %117 ]
%121 = load i32, ptr %3, align 4
%122 = sext i32 %121 to i64
%123 = icmp ne i64 %120, %122
br i1 %123, label %124, label %361
124: ; preds = %119
%125 = load i32, ptr %3, align 4
%126 = load i32, ptr %4, align 4
%127 = load i32, ptr %3, align 4
%128 = load i32, ptr %3, align 4
%129 = sub nsw i32 %127, %128
%130 = load i32, ptr %3, align 4
%131 = load i32, ptr %3, align 4
%132 = sub nsw i32 %130, %131
%133 = add nsw i32 %132, 1
%134 = sub nsw i32 %129, %133
%135 = load i32, ptr %3, align 4
%136 = load i32, ptr %3, align 4
%137 = sub nsw i32 %135, %136
%138 = icmp slt i32 %134, %137
br i1 %138, label %139, label %190
139: ; preds = %124
%140 = load i32, ptr %4, align 4
%141 = load i32, ptr %4, align 4
%142 = sub i32 %140, %141
%143 = load i32, ptr %4, align 4
%144 = load i32, ptr %4, align 4
%145 = sub i32 %143, %144
%146 = add i32 %145, 1
%147 = sub i32 %142, %146
%148 = load i32, ptr %4, align 4
%149 = load i32, ptr %4, align 4
%150 = sub i32 %148, %149
%151 = icmp ult i32 %147, %150
br i1 %151, label %152, label %166
152: ; preds = %139
%153 = load i32, ptr %3, align 4
%154 = sext i32 %153 to i64
%155 = load i32, ptr %4, align 4
%156 = zext i32 %155 to i64
%157 = icmp sgt i64 %154, %156
br i1 %157, label %158, label %161
158: ; preds = %152
%159 = load i32, ptr %3, align 4
%160 = sext i32 %159 to i64
br label %164
161: ; preds = %152
%162 = load i32, ptr %4, align 4
%163 = zext i32 %162 to i64
br label %164
164: ; preds = %161, %158
%165 = phi i64 [ %160, %158 ], [ %163, %161 ]
br label %188
166: ; preds = %139
%167 = load i32, ptr %3, align 4
%168 = icmp slt i32 %167, 0
br i1 %168, label %169, label %172
169: ; preds = %166
%170 = load i32, ptr %4, align 4
%171 = zext i32 %170 to i64
br label %186
172: ; preds = %166
%173 = load i32, ptr %3, align 4
%174 = sext i32 %173 to i64
%175 = load i32, ptr %4, align 4
%176 = zext i32 %175 to i64
%177 = icmp ugt i64 %174, %176
br i1 %177, label %178, label %181
178: ; preds = %172
%179 = load i32, ptr %3, align 4
%180 = sext i32 %179 to i64
br label %184
181: ; preds = %172
%182 = load i32, ptr %4, align 4
%183 = zext i32 %182 to i64
br label %184
184: ; preds = %181, %178
%185 = phi i64 [ %180, %178 ], [ %183, %181 ]
br label %186
186: ; preds = %184, %169
%187 = phi i64 [ %171, %169 ], [ %185, %184 ]
br label %188
188: ; preds = %186, %164
%189 = phi i64 [ %165, %164 ], [ %187, %186 ]
br label %241
190: ; preds = %124
%191 = load i32, ptr %4, align 4
%192 = load i32, ptr %4, align 4
%193 = sub i32 %191, %192
%194 = load i32, ptr %4, align 4
%195 = load i32, ptr %4, align 4
%196 = sub i32 %194, %195
%197 = add i32 %196, 1
%198 = sub i32 %193, %197
%199 = load i32, ptr %4, align 4
%200 = load i32, ptr %4, align 4
%201 = sub i32 %199, %200
%202 = icmp ult i32 %198, %201
br i1 %202, label %203, label %225
203: ; preds = %190
%204 = load i32, ptr %4, align 4
%205 = icmp ult i32 %204, 0
br i1 %205, label %206, label %209
206: ; preds = %203
%207 = load i32, ptr %3, align 4
%208 = sext i32 %207 to i64
br label %223
209: ; preds = %203
%210 = load i32, ptr %3, align 4
%211 = sext i32 %210 to i64
%212 = load i32, ptr %4, align 4
%213 = zext i32 %212 to i64
%214 = icmp ugt i64 %211, %213
br i1 %214, label %215, label %218
215: ; preds = %209
%216 = load i32, ptr %3, align 4
%217 = sext i32 %216 to i64
br label %221
218: ; preds = %209
%219 = load i32, ptr %4, align 4
%220 = zext i32 %219 to i64
br label %221
221: ; preds = %218, %215
%222 = phi i64 [ %217, %215 ], [ %220, %218 ]
br label %223
223: ; preds = %221, %206
%224 = phi i64 [ %208, %206 ], [ %222, %221 ]
br label %239
225: ; preds = %190
%226 = load i32, ptr %3, align 4
%227 = sext i32 %226 to i64
%228 = load i32, ptr %4, align 4
%229 = zext i32 %228 to i64
%230 = icmp ugt i64 %227, %229
br i1 %230, label %231, label %234
231: ; preds = %225
%232 = load i32, ptr %3, align 4
%233 = sext i32 %232 to i64
br label %237
234: ; preds = %225
%235 = load i32, ptr %4, align 4
%236 = zext i32 %235 to i64
br label %237
237: ; preds = %234, %231
%238 = phi i64 [ %233, %231 ], [ %236, %234 ]
br label %239
239: ; preds = %237, %223
%240 = phi i64 [ %224, %223 ], [ %238, %237 ]
br label %241
241: ; preds = %239, %188
%242 = phi i64 [ %189, %188 ], [ %240, %239 ]
%243 = load i32, ptr %3, align 4
%244 = load i32, ptr %3, align 4
%245 = sub nsw i32 %243, %244
%246 = load i32, ptr %3, align 4
%247 = load i32, ptr %3, align 4
%248 = sub nsw i32 %246, %247
%249 = add nsw i32 %248, 1
%250 = sub nsw i32 %245, %249
%251 = load i32, ptr %3, align 4
%252 = load i32, ptr %3, align 4
%253 = sub nsw i32 %251, %252
%254 = icmp slt i32 %250, %253
br i1 %254, label %255, label %306
255: ; preds = %241
%256 = load i32, ptr %4, align 4
%257 = load i32, ptr %4, align 4
%258 = sub i32 %256, %257
%259 = load i32, ptr %4, align 4
%260 = load i32, ptr %4, align 4
%261 = sub i32 %259, %260
%262 = add i32 %261, 1
%263 = sub i32 %258, %262
%264 = load i32, ptr %4, align 4
%265 = load i32, ptr %4, align 4
%266 = sub i32 %264, %265
%267 = icmp ult i32 %263, %266
br i1 %267, label %268, label %282
268: ; preds = %255
%269 = load i32, ptr %3, align 4
%270 = sext i32 %269 to i64
%271 = load i32, ptr %4, align 4
%272 = zext i32 %271 to i64
%273 = icmp sgt i64 %270, %272
br i1 %273, label %274, label %277
274: ; preds = %268
%275 = load i32, ptr %3, align 4
%276 = sext i32 %275 to i64
br label %280
277: ; preds = %268
%278 = load i32, ptr %4, align 4
%279 = zext i32 %278 to i64
br label %280
280: ; preds = %277, %274
%281 = phi i64 [ %276, %274 ], [ %279, %277 ]
br label %304
282: ; preds = %255
%283 = load i32, ptr %3, align 4
%284 = icmp slt i32 %283, 0
br i1 %284, label %285, label %288
285: ; preds = %282
%286 = load i32, ptr %4, align 4
%287 = zext i32 %286 to i64
br label %302
288: ; preds = %282
%289 = load i32, ptr %3, align 4
%290 = sext i32 %289 to i64
%291 = load i32, ptr %4, align 4
%292 = zext i32 %291 to i64
%293 = icmp ugt i64 %290, %292
br i1 %293, label %294, label %297
294: ; preds = %288
%295 = load i32, ptr %3, align 4
%296 = sext i32 %295 to i64
br label %300
297: ; preds = %288
%298 = load i32, ptr %4, align 4
%299 = zext i32 %298 to i64
br label %300
300: ; preds = %297, %294
%301 = phi i64 [ %296, %294 ], [ %299, %297 ]
br label %302
302: ; preds = %300, %285
%303 = phi i64 [ %287, %285 ], [ %301, %300 ]
br label %304
304: ; preds = %302, %280
%305 = phi i64 [ %281, %280 ], [ %303, %302 ]
br label %357
306: ; preds = %241
%307 = load i32, ptr %4, align 4
%308 = load i32, ptr %4, align 4
%309 = sub i32 %307, %308
%310 = load i32, ptr %4, align 4
%311 = load i32, ptr %4, align 4
%312 = sub i32 %310, %311
%313 = add i32 %312, 1
%314 = sub i32 %309, %313
%315 = load i32, ptr %4, align 4
%316 = load i32, ptr %4, align 4
%317 = sub i32 %315, %316
%318 = icmp ult i32 %314, %317
br i1 %318, label %319, label %341
319: ; preds = %306
%320 = load i32, ptr %4, align 4
%321 = icmp ult i32 %320, 0
br i1 %321, label %322, label %325
322: ; preds = %319
%323 = load i32, ptr %3, align 4
%324 = sext i32 %323 to i64
br label %339
325: ; preds = %319
%326 = load i32, ptr %3, align 4
%327 = sext i32 %326 to i64
%328 = load i32, ptr %4, align 4
%329 = zext i32 %328 to i64
%330 = icmp ugt i64 %327, %329
br i1 %330, label %331, label %334
331: ; preds = %325
%332 = load i32, ptr %3, align 4
%333 = sext i32 %332 to i64
br label %337
334: ; preds = %325
%335 = load i32, ptr %4, align 4
%336 = zext i32 %335 to i64
br label %337
337: ; preds = %334, %331
%338 = phi i64 [ %333, %331 ], [ %336, %334 ]
br label %339
339: ; preds = %337, %322
%340 = phi i64 [ %324, %322 ], [ %338, %337 ]
br label %355
341: ; preds = %306
%342 = load i32, ptr %3, align 4
%343 = sext i32 %342 to i64
%344 = load i32, ptr %4, align 4
%345 = zext i32 %344 to i64
%346 = icmp ugt i64 %343, %345
br i1 %346, label %347, label %350
347: ; preds = %341
%348 = load i32, ptr %3, align 4
%349 = sext i32 %348 to i64
br label %353
350: ; preds = %341
%351 = load i32, ptr %4, align 4
%352 = zext i32 %351 to i64
br label %353
353: ; preds = %350, %347
%354 = phi i64 [ %349, %347 ], [ %352, %350 ]
br label %355
355: ; preds = %353, %339
%356 = phi i64 [ %340, %339 ], [ %354, %353 ]
br label %357
357: ; preds = %355, %304
%358 = phi i64 [ %305, %304 ], [ %356, %355 ]
%359 = load i32, ptr %3, align 4
%360 = call i32 @printf(ptr noundef @.str, i32 noundef 749, i32 noundef %125, i32 noundef %126, i64 noundef %242, i64 noundef %358, i32 noundef %359)
br label %361
361: ; preds = %357, %119
%362 = load i32, ptr %3, align 4
%363 = load i32, ptr %3, align 4
%364 = sub nsw i32 %362, %363
%365 = load i32, ptr %3, align 4
%366 = load i32, ptr %3, align 4
%367 = sub nsw i32 %365, %366
%368 = add nsw i32 %367, 1
%369 = sub nsw i32 %364, %368
%370 = load i32, ptr %3, align 4
%371 = load i32, ptr %3, align 4
%372 = sub nsw i32 %370, %371
%373 = icmp slt i32 %369, %372
br i1 %373, label %374, label %425
374: ; preds = %361
%375 = load i32, ptr %4, align 4
%376 = load i32, ptr %4, align 4
%377 = sub i32 %375, %376
%378 = load i32, ptr %4, align 4
%379 = load i32, ptr %4, align 4
%380 = sub i32 %378, %379
%381 = add i32 %380, 1
%382 = sub i32 %377, %381
%383 = load i32, ptr %4, align 4
%384 = load i32, ptr %4, align 4
%385 = sub i32 %383, %384
%386 = icmp ult i32 %382, %385
br i1 %386, label %387, label %401
387: ; preds = %374
%388 = load i32, ptr %3, align 4
%389 = sext i32 %388 to i64
%390 = load i32, ptr %4, align 4
%391 = zext i32 %390 to i64
%392 = icmp sgt i64 %389, %391
br i1 %392, label %393, label %396
393: ; preds = %387
%394 = load i32, ptr %3, align 4
%395 = sext i32 %394 to i64
br label %399
396: ; preds = %387
%397 = load i32, ptr %4, align 4
%398 = zext i32 %397 to i64
br label %399
399: ; preds = %396, %393
%400 = phi i64 [ %395, %393 ], [ %398, %396 ]
br label %423
401: ; preds = %374
%402 = load i32, ptr %3, align 4
%403 = icmp slt i32 %402, 0
br i1 %403, label %404, label %407
404: ; preds = %401
%405 = load i32, ptr %4, align 4
%406 = zext i32 %405 to i64
br label %421
407: ; preds = %401
%408 = load i32, ptr %3, align 4
%409 = sext i32 %408 to i64
%410 = load i32, ptr %4, align 4
%411 = zext i32 %410 to i64
%412 = icmp ugt i64 %409, %411
br i1 %412, label %413, label %416
413: ; preds = %407
%414 = load i32, ptr %3, align 4
%415 = sext i32 %414 to i64
br label %419
416: ; preds = %407
%417 = load i32, ptr %4, align 4
%418 = zext i32 %417 to i64
br label %419
419: ; preds = %416, %413
%420 = phi i64 [ %415, %413 ], [ %418, %416 ]
br label %421
421: ; preds = %419, %404
%422 = phi i64 [ %406, %404 ], [ %420, %419 ]
br label %423
423: ; preds = %421, %399
%424 = phi i64 [ %400, %399 ], [ %422, %421 ]
br label %476
425: ; preds = %361
%426 = load i32, ptr %4, align 4
%427 = load i32, ptr %4, align 4
%428 = sub i32 %426, %427
%429 = load i32, ptr %4, align 4
%430 = load i32, ptr %4, align 4
%431 = sub i32 %429, %430
%432 = add i32 %431, 1
%433 = sub i32 %428, %432
%434 = load i32, ptr %4, align 4
%435 = load i32, ptr %4, align 4
%436 = sub i32 %434, %435
%437 = icmp ult i32 %433, %436
br i1 %437, label %438, label %460
438: ; preds = %425
%439 = load i32, ptr %4, align 4
%440 = icmp ult i32 %439, 0
br i1 %440, label %441, label %444
441: ; preds = %438
%442 = load i32, ptr %3, align 4
%443 = sext i32 %442 to i64
br label %458
444: ; preds = %438
%445 = load i32, ptr %3, align 4
%446 = sext i32 %445 to i64
%447 = load i32, ptr %4, align 4
%448 = zext i32 %447 to i64
%449 = icmp ugt i64 %446, %448
br i1 %449, label %450, label %453
450: ; preds = %444
%451 = load i32, ptr %3, align 4
%452 = sext i32 %451 to i64
br label %456
453: ; preds = %444
%454 = load i32, ptr %4, align 4
%455 = zext i32 %454 to i64
br label %456
456: ; preds = %453, %450
%457 = phi i64 [ %452, %450 ], [ %455, %453 ]
br label %458
458: ; preds = %456, %441
%459 = phi i64 [ %443, %441 ], [ %457, %456 ]
br label %474
460: ; preds = %425
%461 = load i32, ptr %3, align 4
%462 = sext i32 %461 to i64
%463 = load i32, ptr %4, align 4
%464 = zext i32 %463 to i64
%465 = icmp ugt i64 %462, %464
br i1 %465, label %466, label %469
466: ; preds = %460
%467 = load i32, ptr %3, align 4
%468 = sext i32 %467 to i64
br label %472
469: ; preds = %460
%470 = load i32, ptr %4, align 4
%471 = zext i32 %470 to i64
br label %472
472: ; preds = %469, %466
%473 = phi i64 [ %468, %466 ], [ %471, %469 ]
br label %474
474: ; preds = %472, %458
%475 = phi i64 [ %459, %458 ], [ %473, %472 ]
br label %476
476: ; preds = %474, %423
%477 = phi i64 [ %424, %423 ], [ %475, %474 ]
%478 = load i32, ptr %4, align 4
%479 = zext i32 %478 to i64
%480 = icmp ne i64 %477, %479
br i1 %480, label %481, label %718
481: ; preds = %476
%482 = load i32, ptr %3, align 4
%483 = load i32, ptr %4, align 4
%484 = load i32, ptr %3, align 4
%485 = load i32, ptr %3, align 4
%486 = sub nsw i32 %484, %485
%487 = load i32, ptr %3, align 4
%488 = load i32, ptr %3, align 4
%489 = sub nsw i32 %487, %488
%490 = add nsw i32 %489, 1
%491 = sub nsw i32 %486, %490
%492 = load i32, ptr %3, align 4
%493 = load i32, ptr %3, align 4
%494 = sub nsw i32 %492, %493
%495 = icmp slt i32 %491, %494
br i1 %495, label %496, label %547
496: ; preds = %481
%497 = load i32, ptr %4, align 4
%498 = load i32, ptr %4, align 4
%499 = sub i32 %497, %498
%500 = load i32, ptr %4, align 4
%501 = load i32, ptr %4, align 4
%502 = sub i32 %500, %501
%503 = add i32 %502, 1
%504 = sub i32 %499, %503
%505 = load i32, ptr %4, align 4
%506 = load i32, ptr %4, align 4
%507 = sub i32 %505, %506
%508 = icmp ult i32 %504, %507
br i1 %508, label %509, label %523
509: ; preds = %496
%510 = load i32, ptr %3, align 4
%511 = sext i32 %510 to i64
%512 = load i32, ptr %4, align 4
%513 = zext i32 %512 to i64
%514 = icmp sgt i64 %511, %513
br i1 %514, label %515, label %518
515: ; preds = %509
%516 = load i32, ptr %3, align 4
%517 = sext i32 %516 to i64
br label %521
518: ; preds = %509
%519 = load i32, ptr %4, align 4
%520 = zext i32 %519 to i64
br label %521
521: ; preds = %518, %515
%522 = phi i64 [ %517, %515 ], [ %520, %518 ]
br label %545
523: ; preds = %496
%524 = load i32, ptr %3, align 4
%525 = icmp slt i32 %524, 0
br i1 %525, label %526, label %529
526: ; preds = %523
%527 = load i32, ptr %4, align 4
%528 = zext i32 %527 to i64
br label %543
529: ; preds = %523
%530 = load i32, ptr %3, align 4
%531 = sext i32 %530 to i64
%532 = load i32, ptr %4, align 4
%533 = zext i32 %532 to i64
%534 = icmp ugt i64 %531, %533
br i1 %534, label %535, label %538
535: ; preds = %529
%536 = load i32, ptr %3, align 4
%537 = sext i32 %536 to i64
br label %541
538: ; preds = %529
%539 = load i32, ptr %4, align 4
%540 = zext i32 %539 to i64
br label %541
541: ; preds = %538, %535
%542 = phi i64 [ %537, %535 ], [ %540, %538 ]
br label %543
543: ; preds = %541, %526
%544 = phi i64 [ %528, %526 ], [ %542, %541 ]
br label %545
545: ; preds = %543, %521
%546 = phi i64 [ %522, %521 ], [ %544, %543 ]
br label %598
547: ; preds = %481
%548 = load i32, ptr %4, align 4
%549 = load i32, ptr %4, align 4
%550 = sub i32 %548, %549
%551 = load i32, ptr %4, align 4
%552 = load i32, ptr %4, align 4
%553 = sub i32 %551, %552
%554 = add i32 %553, 1
%555 = sub i32 %550, %554
%556 = load i32, ptr %4, align 4
%557 = load i32, ptr %4, align 4
%558 = sub i32 %556, %557
%559 = icmp ult i32 %555, %558
br i1 %559, label %560, label %582
560: ; preds = %547
%561 = load i32, ptr %4, align 4
%562 = icmp ult i32 %561, 0
br i1 %562, label %563, label %566
563: ; preds = %560
%564 = load i32, ptr %3, align 4
%565 = sext i32 %564 to i64
br label %580
566: ; preds = %560
%567 = load i32, ptr %3, align 4
%568 = sext i32 %567 to i64
%569 = load i32, ptr %4, align 4
%570 = zext i32 %569 to i64
%571 = icmp ugt i64 %568, %570
br i1 %571, label %572, label %575
572: ; preds = %566
%573 = load i32, ptr %3, align 4
%574 = sext i32 %573 to i64
br label %578
575: ; preds = %566
%576 = load i32, ptr %4, align 4
%577 = zext i32 %576 to i64
br label %578
578: ; preds = %575, %572
%579 = phi i64 [ %574, %572 ], [ %577, %575 ]
br label %580
580: ; preds = %578, %563
%581 = phi i64 [ %565, %563 ], [ %579, %578 ]
br label %596
582: ; preds = %547
%583 = load i32, ptr %3, align 4
%584 = sext i32 %583 to i64
%585 = load i32, ptr %4, align 4
%586 = zext i32 %585 to i64
%587 = icmp ugt i64 %584, %586
br i1 %587, label %588, label %591
588: ; preds = %582
%589 = load i32, ptr %3, align 4
%590 = sext i32 %589 to i64
br label %594
591: ; preds = %582
%592 = load i32, ptr %4, align 4
%593 = zext i32 %592 to i64
br label %594
594: ; preds = %591, %588
%595 = phi i64 [ %590, %588 ], [ %593, %591 ]
br label %596
596: ; preds = %594, %580
%597 = phi i64 [ %581, %580 ], [ %595, %594 ]
br label %598
598: ; preds = %596, %545
%599 = phi i64 [ %546, %545 ], [ %597, %596 ]
%600 = load i32, ptr %3, align 4
%601 = load i32, ptr %3, align 4
%602 = sub nsw i32 %600, %601
%603 = load i32, ptr %3, align 4
%604 = load i32, ptr %3, align 4
%605 = sub nsw i32 %603, %604
%606 = add nsw i32 %605, 1
%607 = sub nsw i32 %602, %606
%608 = load i32, ptr %3, align 4
%609 = load i32, ptr %3, align 4
%610 = sub nsw i32 %608, %609
%611 = icmp slt i32 %607, %610
br i1 %611, label %612, label %663
612: ; preds = %598
%613 = load i32, ptr %4, align 4
%614 = load i32, ptr %4, align 4
%615 = sub i32 %613, %614
%616 = load i32, ptr %4, align 4
%617 = load i32, ptr %4, align 4
%618 = sub i32 %616, %617
%619 = add i32 %618, 1
%620 = sub i32 %615, %619
%621 = load i32, ptr %4, align 4
%622 = load i32, ptr %4, align 4
%623 = sub i32 %621, %622
%624 = icmp ult i32 %620, %623
br i1 %624, label %625, label %639
625: ; preds = %612
%626 = load i32, ptr %3, align 4
%627 = sext i32 %626 to i64
%628 = load i32, ptr %4, align 4
%629 = zext i32 %628 to i64
%630 = icmp sgt i64 %627, %629
br i1 %630, label %631, label %634
631: ; preds = %625
%632 = load i32, ptr %3, align 4
%633 = sext i32 %632 to i64
br label %637
634: ; preds = %625
%635 = load i32, ptr %4, align 4
%636 = zext i32 %635 to i64
br label %637
637: ; preds = %634, %631
%638 = phi i64 [ %633, %631 ], [ %636, %634 ]
br label %661
639: ; preds = %612
%640 = load i32, ptr %3, align 4
%641 = icmp slt i32 %640, 0
br i1 %641, label %642, label %645
642: ; preds = %639
%643 = load i32, ptr %4, align 4
%644 = zext i32 %643 to i64
br label %659
645: ; preds = %639
%646 = load i32, ptr %3, align 4
%647 = sext i32 %646 to i64
%648 = load i32, ptr %4, align 4
%649 = zext i32 %648 to i64
%650 = icmp ugt i64 %647, %649
br i1 %650, label %651, label %654
651: ; preds = %645
%652 = load i32, ptr %3, align 4
%653 = sext i32 %652 to i64
br label %657
654: ; preds = %645
%655 = load i32, ptr %4, align 4
%656 = zext i32 %655 to i64
br label %657
657: ; preds = %654, %651
%658 = phi i64 [ %653, %651 ], [ %656, %654 ]
br label %659
659: ; preds = %657, %642
%660 = phi i64 [ %644, %642 ], [ %658, %657 ]
br label %661
661: ; preds = %659, %637
%662 = phi i64 [ %638, %637 ], [ %660, %659 ]
br label %714
663: ; preds = %598
%664 = load i32, ptr %4, align 4
%665 = load i32, ptr %4, align 4
%666 = sub i32 %664, %665
%667 = load i32, ptr %4, align 4
%668 = load i32, ptr %4, align 4
%669 = sub i32 %667, %668
%670 = add i32 %669, 1
%671 = sub i32 %666, %670
%672 = load i32, ptr %4, align 4
%673 = load i32, ptr %4, align 4
%674 = sub i32 %672, %673
%675 = icmp ult i32 %671, %674
br i1 %675, label %676, label %698
676: ; preds = %663
%677 = load i32, ptr %4, align 4
%678 = icmp ult i32 %677, 0
br i1 %678, label %679, label %682
679: ; preds = %676
%680 = load i32, ptr %3, align 4
%681 = sext i32 %680 to i64
br label %696
682: ; preds = %676
%683 = load i32, ptr %3, align 4
%684 = sext i32 %683 to i64
%685 = load i32, ptr %4, align 4
%686 = zext i32 %685 to i64
%687 = icmp ugt i64 %684, %686
br i1 %687, label %688, label %691
688: ; preds = %682
%689 = load i32, ptr %3, align 4
%690 = sext i32 %689 to i64
br label %694
691: ; preds = %682
%692 = load i32, ptr %4, align 4
%693 = zext i32 %692 to i64
br label %694
694: ; preds = %691, %688
%695 = phi i64 [ %690, %688 ], [ %693, %691 ]
br label %696
696: ; preds = %694, %679
%697 = phi i64 [ %681, %679 ], [ %695, %694 ]
br label %712
698: ; preds = %663
%699 = load i32, ptr %3, align 4
%700 = sext i32 %699 to i64
%701 = load i32, ptr %4, align 4
%702 = zext i32 %701 to i64
%703 = icmp ugt i64 %700, %702
br i1 %703, label %704, label %707
704: ; preds = %698
%705 = load i32, ptr %3, align 4
%706 = sext i32 %705 to i64
br label %710
707: ; preds = %698
%708 = load i32, ptr %4, align 4
%709 = zext i32 %708 to i64
br label %710
710: ; preds = %707, %704
%711 = phi i64 [ %706, %704 ], [ %709, %707 ]
br label %712
712: ; preds = %710, %696
%713 = phi i64 [ %697, %696 ], [ %711, %710 ]
br label %714
714: ; preds = %712, %661
%715 = phi i64 [ %662, %661 ], [ %713, %712 ]
%716 = load i32, ptr %4, align 4
%717 = call i32 @printf(ptr noundef @.str.1, i32 noundef 752, i32 noundef %482, i32 noundef %483, i64 noundef %599, i64 noundef %715, i32 noundef %716)
br label %718
718: ; preds = %714, %476
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, i64 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/tmpnzten81_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [58 x i8] c"failed test %d MAX(%d, %d): %lldLL == %lluLLU != i == %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [59 x i8] c"failed test %d MAX(%d, %d): %lldLL == %lluLLU != u == %uU\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_test_MAX_equalint_equaluint(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = sub nsw i32 %5, %6
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = sub nsw i32 %8, %9
%11 = add nsw i32 %10, 1
%12 = sub nsw i32 %7, %11
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = sub nsw i32 %13, %14
%16 = icmp slt i32 %12, %15
br i1 %16, label %17, label %68
17: ; preds = %2
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %4, align 4
%20 = sub i32 %18, %19
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %4, align 4
%23 = sub i32 %21, %22
%24 = add i32 %23, 1
%25 = sub i32 %20, %24
%26 = load i32, ptr %4, align 4
%27 = load i32, ptr %4, align 4
%28 = sub i32 %26, %27
%29 = icmp ult i32 %25, %28
br i1 %29, label %30, label %44
30: ; preds = %17
%31 = load i32, ptr %3, align 4
%32 = sext i32 %31 to i64
%33 = load i32, ptr %4, align 4
%34 = zext i32 %33 to i64
%35 = icmp sgt i64 %32, %34
br i1 %35, label %36, label %39
36: ; preds = %30
%37 = load i32, ptr %3, align 4
%38 = sext i32 %37 to i64
br label %42
39: ; preds = %30
%40 = load i32, ptr %4, align 4
%41 = zext i32 %40 to i64
br label %42
42: ; preds = %39, %36
%43 = phi i64 [ %38, %36 ], [ %41, %39 ]
br label %66
44: ; preds = %17
%45 = load i32, ptr %3, align 4
%46 = icmp slt i32 %45, 0
br i1 %46, label %47, label %50
47: ; preds = %44
%48 = load i32, ptr %4, align 4
%49 = zext i32 %48 to i64
br label %64
50: ; preds = %44
%51 = load i32, ptr %3, align 4
%52 = sext i32 %51 to i64
%53 = load i32, ptr %4, align 4
%54 = zext i32 %53 to i64
%55 = icmp ugt i64 %52, %54
br i1 %55, label %56, label %59
56: ; preds = %50
%57 = load i32, ptr %3, align 4
%58 = sext i32 %57 to i64
br label %62
59: ; preds = %50
%60 = load i32, ptr %4, align 4
%61 = zext i32 %60 to i64
br label %62
62: ; preds = %59, %56
%63 = phi i64 [ %58, %56 ], [ %61, %59 ]
br label %64
64: ; preds = %62, %47
%65 = phi i64 [ %49, %47 ], [ %63, %62 ]
br label %66
66: ; preds = %64, %42
%67 = phi i64 [ %43, %42 ], [ %65, %64 ]
br label %119
68: ; preds = %2
%69 = load i32, ptr %4, align 4
%70 = load i32, ptr %4, align 4
%71 = sub i32 %69, %70
%72 = load i32, ptr %4, align 4
%73 = load i32, ptr %4, align 4
%74 = sub i32 %72, %73
%75 = add i32 %74, 1
%76 = sub i32 %71, %75
%77 = load i32, ptr %4, align 4
%78 = load i32, ptr %4, align 4
%79 = sub i32 %77, %78
%80 = icmp ult i32 %76, %79
br i1 %80, label %81, label %103
81: ; preds = %68
%82 = load i32, ptr %4, align 4
%83 = icmp ult i32 %82, 0
br i1 %83, label %84, label %87
84: ; preds = %81
%85 = load i32, ptr %3, align 4
%86 = sext i32 %85 to i64
br label %101
87: ; preds = %81
%88 = load i32, ptr %3, align 4
%89 = sext i32 %88 to i64
%90 = load i32, ptr %4, align 4
%91 = zext i32 %90 to i64
%92 = icmp ugt i64 %89, %91
br i1 %92, label %93, label %96
93: ; preds = %87
%94 = load i32, ptr %3, align 4
%95 = sext i32 %94 to i64
br label %99
96: ; preds = %87
%97 = load i32, ptr %4, align 4
%98 = zext i32 %97 to i64
br label %99
99: ; preds = %96, %93
%100 = phi i64 [ %95, %93 ], [ %98, %96 ]
br label %101
101: ; preds = %99, %84
%102 = phi i64 [ %86, %84 ], [ %100, %99 ]
br label %117
103: ; preds = %68
%104 = load i32, ptr %3, align 4
%105 = sext i32 %104 to i64
%106 = load i32, ptr %4, align 4
%107 = zext i32 %106 to i64
%108 = icmp ugt i64 %105, %107
br i1 %108, label %109, label %112
109: ; preds = %103
%110 = load i32, ptr %3, align 4
%111 = sext i32 %110 to i64
br label %115
112: ; preds = %103
%113 = load i32, ptr %4, align 4
%114 = zext i32 %113 to i64
br label %115
115: ; preds = %112, %109
%116 = phi i64 [ %111, %109 ], [ %114, %112 ]
br label %117
117: ; preds = %115, %101
%118 = phi i64 [ %102, %101 ], [ %116, %115 ]
br label %119
119: ; preds = %117, %66
%120 = phi i64 [ %67, %66 ], [ %118, %117 ]
%121 = load i32, ptr %3, align 4
%122 = sext i32 %121 to i64
%123 = icmp ne i64 %120, %122
br i1 %123, label %124, label %361
124: ; preds = %119
%125 = load i32, ptr %3, align 4
%126 = load i32, ptr %4, align 4
%127 = load i32, ptr %3, align 4
%128 = load i32, ptr %3, align 4
%129 = sub nsw i32 %127, %128
%130 = load i32, ptr %3, align 4
%131 = load i32, ptr %3, align 4
%132 = sub nsw i32 %130, %131
%133 = add nsw i32 %132, 1
%134 = sub nsw i32 %129, %133
%135 = load i32, ptr %3, align 4
%136 = load i32, ptr %3, align 4
%137 = sub nsw i32 %135, %136
%138 = icmp slt i32 %134, %137
br i1 %138, label %139, label %190
139: ; preds = %124
%140 = load i32, ptr %4, align 4
%141 = load i32, ptr %4, align 4
%142 = sub i32 %140, %141
%143 = load i32, ptr %4, align 4
%144 = load i32, ptr %4, align 4
%145 = sub i32 %143, %144
%146 = add i32 %145, 1
%147 = sub i32 %142, %146
%148 = load i32, ptr %4, align 4
%149 = load i32, ptr %4, align 4
%150 = sub i32 %148, %149
%151 = icmp ult i32 %147, %150
br i1 %151, label %152, label %166
152: ; preds = %139
%153 = load i32, ptr %3, align 4
%154 = sext i32 %153 to i64
%155 = load i32, ptr %4, align 4
%156 = zext i32 %155 to i64
%157 = icmp sgt i64 %154, %156
br i1 %157, label %158, label %161
158: ; preds = %152
%159 = load i32, ptr %3, align 4
%160 = sext i32 %159 to i64
br label %164
161: ; preds = %152
%162 = load i32, ptr %4, align 4
%163 = zext i32 %162 to i64
br label %164
164: ; preds = %161, %158
%165 = phi i64 [ %160, %158 ], [ %163, %161 ]
br label %188
166: ; preds = %139
%167 = load i32, ptr %3, align 4
%168 = icmp slt i32 %167, 0
br i1 %168, label %169, label %172
169: ; preds = %166
%170 = load i32, ptr %4, align 4
%171 = zext i32 %170 to i64
br label %186
172: ; preds = %166
%173 = load i32, ptr %3, align 4
%174 = sext i32 %173 to i64
%175 = load i32, ptr %4, align 4
%176 = zext i32 %175 to i64
%177 = icmp ugt i64 %174, %176
br i1 %177, label %178, label %181
178: ; preds = %172
%179 = load i32, ptr %3, align 4
%180 = sext i32 %179 to i64
br label %184
181: ; preds = %172
%182 = load i32, ptr %4, align 4
%183 = zext i32 %182 to i64
br label %184
184: ; preds = %181, %178
%185 = phi i64 [ %180, %178 ], [ %183, %181 ]
br label %186
186: ; preds = %184, %169
%187 = phi i64 [ %171, %169 ], [ %185, %184 ]
br label %188
188: ; preds = %186, %164
%189 = phi i64 [ %165, %164 ], [ %187, %186 ]
br label %241
190: ; preds = %124
%191 = load i32, ptr %4, align 4
%192 = load i32, ptr %4, align 4
%193 = sub i32 %191, %192
%194 = load i32, ptr %4, align 4
%195 = load i32, ptr %4, align 4
%196 = sub i32 %194, %195
%197 = add i32 %196, 1
%198 = sub i32 %193, %197
%199 = load i32, ptr %4, align 4
%200 = load i32, ptr %4, align 4
%201 = sub i32 %199, %200
%202 = icmp ult i32 %198, %201
br i1 %202, label %203, label %225
203: ; preds = %190
%204 = load i32, ptr %4, align 4
%205 = icmp ult i32 %204, 0
br i1 %205, label %206, label %209
206: ; preds = %203
%207 = load i32, ptr %3, align 4
%208 = sext i32 %207 to i64
br label %223
209: ; preds = %203
%210 = load i32, ptr %3, align 4
%211 = sext i32 %210 to i64
%212 = load i32, ptr %4, align 4
%213 = zext i32 %212 to i64
%214 = icmp ugt i64 %211, %213
br i1 %214, label %215, label %218
215: ; preds = %209
%216 = load i32, ptr %3, align 4
%217 = sext i32 %216 to i64
br label %221
218: ; preds = %209
%219 = load i32, ptr %4, align 4
%220 = zext i32 %219 to i64
br label %221
221: ; preds = %218, %215
%222 = phi i64 [ %217, %215 ], [ %220, %218 ]
br label %223
223: ; preds = %221, %206
%224 = phi i64 [ %208, %206 ], [ %222, %221 ]
br label %239
225: ; preds = %190
%226 = load i32, ptr %3, align 4
%227 = sext i32 %226 to i64
%228 = load i32, ptr %4, align 4
%229 = zext i32 %228 to i64
%230 = icmp ugt i64 %227, %229
br i1 %230, label %231, label %234
231: ; preds = %225
%232 = load i32, ptr %3, align 4
%233 = sext i32 %232 to i64
br label %237
234: ; preds = %225
%235 = load i32, ptr %4, align 4
%236 = zext i32 %235 to i64
br label %237
237: ; preds = %234, %231
%238 = phi i64 [ %233, %231 ], [ %236, %234 ]
br label %239
239: ; preds = %237, %223
%240 = phi i64 [ %224, %223 ], [ %238, %237 ]
br label %241
241: ; preds = %239, %188
%242 = phi i64 [ %189, %188 ], [ %240, %239 ]
%243 = load i32, ptr %3, align 4
%244 = load i32, ptr %3, align 4
%245 = sub nsw i32 %243, %244
%246 = load i32, ptr %3, align 4
%247 = load i32, ptr %3, align 4
%248 = sub nsw i32 %246, %247
%249 = add nsw i32 %248, 1
%250 = sub nsw i32 %245, %249
%251 = load i32, ptr %3, align 4
%252 = load i32, ptr %3, align 4
%253 = sub nsw i32 %251, %252
%254 = icmp slt i32 %250, %253
br i1 %254, label %255, label %306
255: ; preds = %241
%256 = load i32, ptr %4, align 4
%257 = load i32, ptr %4, align 4
%258 = sub i32 %256, %257
%259 = load i32, ptr %4, align 4
%260 = load i32, ptr %4, align 4
%261 = sub i32 %259, %260
%262 = add i32 %261, 1
%263 = sub i32 %258, %262
%264 = load i32, ptr %4, align 4
%265 = load i32, ptr %4, align 4
%266 = sub i32 %264, %265
%267 = icmp ult i32 %263, %266
br i1 %267, label %268, label %282
268: ; preds = %255
%269 = load i32, ptr %3, align 4
%270 = sext i32 %269 to i64
%271 = load i32, ptr %4, align 4
%272 = zext i32 %271 to i64
%273 = icmp sgt i64 %270, %272
br i1 %273, label %274, label %277
274: ; preds = %268
%275 = load i32, ptr %3, align 4
%276 = sext i32 %275 to i64
br label %280
277: ; preds = %268
%278 = load i32, ptr %4, align 4
%279 = zext i32 %278 to i64
br label %280
280: ; preds = %277, %274
%281 = phi i64 [ %276, %274 ], [ %279, %277 ]
br label %304
282: ; preds = %255
%283 = load i32, ptr %3, align 4
%284 = icmp slt i32 %283, 0
br i1 %284, label %285, label %288
285: ; preds = %282
%286 = load i32, ptr %4, align 4
%287 = zext i32 %286 to i64
br label %302
288: ; preds = %282
%289 = load i32, ptr %3, align 4
%290 = sext i32 %289 to i64
%291 = load i32, ptr %4, align 4
%292 = zext i32 %291 to i64
%293 = icmp ugt i64 %290, %292
br i1 %293, label %294, label %297
294: ; preds = %288
%295 = load i32, ptr %3, align 4
%296 = sext i32 %295 to i64
br label %300
297: ; preds = %288
%298 = load i32, ptr %4, align 4
%299 = zext i32 %298 to i64
br label %300
300: ; preds = %297, %294
%301 = phi i64 [ %296, %294 ], [ %299, %297 ]
br label %302
302: ; preds = %300, %285
%303 = phi i64 [ %287, %285 ], [ %301, %300 ]
br label %304
304: ; preds = %302, %280
%305 = phi i64 [ %281, %280 ], [ %303, %302 ]
br label %357
306: ; preds = %241
%307 = load i32, ptr %4, align 4
%308 = load i32, ptr %4, align 4
%309 = sub i32 %307, %308
%310 = load i32, ptr %4, align 4
%311 = load i32, ptr %4, align 4
%312 = sub i32 %310, %311
%313 = add i32 %312, 1
%314 = sub i32 %309, %313
%315 = load i32, ptr %4, align 4
%316 = load i32, ptr %4, align 4
%317 = sub i32 %315, %316
%318 = icmp ult i32 %314, %317
br i1 %318, label %319, label %341
319: ; preds = %306
%320 = load i32, ptr %4, align 4
%321 = icmp ult i32 %320, 0
br i1 %321, label %322, label %325
322: ; preds = %319
%323 = load i32, ptr %3, align 4
%324 = sext i32 %323 to i64
br label %339
325: ; preds = %319
%326 = load i32, ptr %3, align 4
%327 = sext i32 %326 to i64
%328 = load i32, ptr %4, align 4
%329 = zext i32 %328 to i64
%330 = icmp ugt i64 %327, %329
br i1 %330, label %331, label %334
331: ; preds = %325
%332 = load i32, ptr %3, align 4
%333 = sext i32 %332 to i64
br label %337
334: ; preds = %325
%335 = load i32, ptr %4, align 4
%336 = zext i32 %335 to i64
br label %337
337: ; preds = %334, %331
%338 = phi i64 [ %333, %331 ], [ %336, %334 ]
br label %339
339: ; preds = %337, %322
%340 = phi i64 [ %324, %322 ], [ %338, %337 ]
br label %355
341: ; preds = %306
%342 = load i32, ptr %3, align 4
%343 = sext i32 %342 to i64
%344 = load i32, ptr %4, align 4
%345 = zext i32 %344 to i64
%346 = icmp ugt i64 %343, %345
br i1 %346, label %347, label %350
347: ; preds = %341
%348 = load i32, ptr %3, align 4
%349 = sext i32 %348 to i64
br label %353
350: ; preds = %341
%351 = load i32, ptr %4, align 4
%352 = zext i32 %351 to i64
br label %353
353: ; preds = %350, %347
%354 = phi i64 [ %349, %347 ], [ %352, %350 ]
br label %355
355: ; preds = %353, %339
%356 = phi i64 [ %340, %339 ], [ %354, %353 ]
br label %357
357: ; preds = %355, %304
%358 = phi i64 [ %305, %304 ], [ %356, %355 ]
%359 = load i32, ptr %3, align 4
%360 = call i32 @printf(ptr noundef @.str, i32 noundef 749, i32 noundef %125, i32 noundef %126, i64 noundef %242, i64 noundef %358, i32 noundef %359)
br label %361
361: ; preds = %357, %119
%362 = load i32, ptr %3, align 4
%363 = load i32, ptr %3, align 4
%364 = sub nsw i32 %362, %363
%365 = load i32, ptr %3, align 4
%366 = load i32, ptr %3, align 4
%367 = sub nsw i32 %365, %366
%368 = add nsw i32 %367, 1
%369 = sub nsw i32 %364, %368
%370 = load i32, ptr %3, align 4
%371 = load i32, ptr %3, align 4
%372 = sub nsw i32 %370, %371
%373 = icmp slt i32 %369, %372
br i1 %373, label %374, label %425
374: ; preds = %361
%375 = load i32, ptr %4, align 4
%376 = load i32, ptr %4, align 4
%377 = sub i32 %375, %376
%378 = load i32, ptr %4, align 4
%379 = load i32, ptr %4, align 4
%380 = sub i32 %378, %379
%381 = add i32 %380, 1
%382 = sub i32 %377, %381
%383 = load i32, ptr %4, align 4
%384 = load i32, ptr %4, align 4
%385 = sub i32 %383, %384
%386 = icmp ult i32 %382, %385
br i1 %386, label %387, label %401
387: ; preds = %374
%388 = load i32, ptr %3, align 4
%389 = sext i32 %388 to i64
%390 = load i32, ptr %4, align 4
%391 = zext i32 %390 to i64
%392 = icmp sgt i64 %389, %391
br i1 %392, label %393, label %396
393: ; preds = %387
%394 = load i32, ptr %3, align 4
%395 = sext i32 %394 to i64
br label %399
396: ; preds = %387
%397 = load i32, ptr %4, align 4
%398 = zext i32 %397 to i64
br label %399
399: ; preds = %396, %393
%400 = phi i64 [ %395, %393 ], [ %398, %396 ]
br label %423
401: ; preds = %374
%402 = load i32, ptr %3, align 4
%403 = icmp slt i32 %402, 0
br i1 %403, label %404, label %407
404: ; preds = %401
%405 = load i32, ptr %4, align 4
%406 = zext i32 %405 to i64
br label %421
407: ; preds = %401
%408 = load i32, ptr %3, align 4
%409 = sext i32 %408 to i64
%410 = load i32, ptr %4, align 4
%411 = zext i32 %410 to i64
%412 = icmp ugt i64 %409, %411
br i1 %412, label %413, label %416
413: ; preds = %407
%414 = load i32, ptr %3, align 4
%415 = sext i32 %414 to i64
br label %419
416: ; preds = %407
%417 = load i32, ptr %4, align 4
%418 = zext i32 %417 to i64
br label %419
419: ; preds = %416, %413
%420 = phi i64 [ %415, %413 ], [ %418, %416 ]
br label %421
421: ; preds = %419, %404
%422 = phi i64 [ %406, %404 ], [ %420, %419 ]
br label %423
423: ; preds = %421, %399
%424 = phi i64 [ %400, %399 ], [ %422, %421 ]
br label %476
425: ; preds = %361
%426 = load i32, ptr %4, align 4
%427 = load i32, ptr %4, align 4
%428 = sub i32 %426, %427
%429 = load i32, ptr %4, align 4
%430 = load i32, ptr %4, align 4
%431 = sub i32 %429, %430
%432 = add i32 %431, 1
%433 = sub i32 %428, %432
%434 = load i32, ptr %4, align 4
%435 = load i32, ptr %4, align 4
%436 = sub i32 %434, %435
%437 = icmp ult i32 %433, %436
br i1 %437, label %438, label %460
438: ; preds = %425
%439 = load i32, ptr %4, align 4
%440 = icmp ult i32 %439, 0
br i1 %440, label %441, label %444
441: ; preds = %438
%442 = load i32, ptr %3, align 4
%443 = sext i32 %442 to i64
br label %458
444: ; preds = %438
%445 = load i32, ptr %3, align 4
%446 = sext i32 %445 to i64
%447 = load i32, ptr %4, align 4
%448 = zext i32 %447 to i64
%449 = icmp ugt i64 %446, %448
br i1 %449, label %450, label %453
450: ; preds = %444
%451 = load i32, ptr %3, align 4
%452 = sext i32 %451 to i64
br label %456
453: ; preds = %444
%454 = load i32, ptr %4, align 4
%455 = zext i32 %454 to i64
br label %456
456: ; preds = %453, %450
%457 = phi i64 [ %452, %450 ], [ %455, %453 ]
br label %458
458: ; preds = %456, %441
%459 = phi i64 [ %443, %441 ], [ %457, %456 ]
br label %474
460: ; preds = %425
%461 = load i32, ptr %3, align 4
%462 = sext i32 %461 to i64
%463 = load i32, ptr %4, align 4
%464 = zext i32 %463 to i64
%465 = icmp ugt i64 %462, %464
br i1 %465, label %466, label %469
466: ; preds = %460
%467 = load i32, ptr %3, align 4
%468 = sext i32 %467 to i64
br label %472
469: ; preds = %460
%470 = load i32, ptr %4, align 4
%471 = zext i32 %470 to i64
br label %472
472: ; preds = %469, %466
%473 = phi i64 [ %468, %466 ], [ %471, %469 ]
br label %474
474: ; preds = %472, %458
%475 = phi i64 [ %459, %458 ], [ %473, %472 ]
br label %476
476: ; preds = %474, %423
%477 = phi i64 [ %424, %423 ], [ %475, %474 ]
%478 = load i32, ptr %4, align 4
%479 = zext i32 %478 to i64
%480 = icmp ne i64 %477, %479
br i1 %480, label %481, label %718
481: ; preds = %476
%482 = load i32, ptr %3, align 4
%483 = load i32, ptr %4, align 4
%484 = load i32, ptr %3, align 4
%485 = load i32, ptr %3, align 4
%486 = sub nsw i32 %484, %485
%487 = load i32, ptr %3, align 4
%488 = load i32, ptr %3, align 4
%489 = sub nsw i32 %487, %488
%490 = add nsw i32 %489, 1
%491 = sub nsw i32 %486, %490
%492 = load i32, ptr %3, align 4
%493 = load i32, ptr %3, align 4
%494 = sub nsw i32 %492, %493
%495 = icmp slt i32 %491, %494
br i1 %495, label %496, label %547
496: ; preds = %481
%497 = load i32, ptr %4, align 4
%498 = load i32, ptr %4, align 4
%499 = sub i32 %497, %498
%500 = load i32, ptr %4, align 4
%501 = load i32, ptr %4, align 4
%502 = sub i32 %500, %501
%503 = add i32 %502, 1
%504 = sub i32 %499, %503
%505 = load i32, ptr %4, align 4
%506 = load i32, ptr %4, align 4
%507 = sub i32 %505, %506
%508 = icmp ult i32 %504, %507
br i1 %508, label %509, label %523
509: ; preds = %496
%510 = load i32, ptr %3, align 4
%511 = sext i32 %510 to i64
%512 = load i32, ptr %4, align 4
%513 = zext i32 %512 to i64
%514 = icmp sgt i64 %511, %513
br i1 %514, label %515, label %518
515: ; preds = %509
%516 = load i32, ptr %3, align 4
%517 = sext i32 %516 to i64
br label %521
518: ; preds = %509
%519 = load i32, ptr %4, align 4
%520 = zext i32 %519 to i64
br label %521
521: ; preds = %518, %515
%522 = phi i64 [ %517, %515 ], [ %520, %518 ]
br label %545
523: ; preds = %496
%524 = load i32, ptr %3, align 4
%525 = icmp slt i32 %524, 0
br i1 %525, label %526, label %529
526: ; preds = %523
%527 = load i32, ptr %4, align 4
%528 = zext i32 %527 to i64
br label %543
529: ; preds = %523
%530 = load i32, ptr %3, align 4
%531 = sext i32 %530 to i64
%532 = load i32, ptr %4, align 4
%533 = zext i32 %532 to i64
%534 = icmp ugt i64 %531, %533
br i1 %534, label %535, label %538
535: ; preds = %529
%536 = load i32, ptr %3, align 4
%537 = sext i32 %536 to i64
br label %541
538: ; preds = %529
%539 = load i32, ptr %4, align 4
%540 = zext i32 %539 to i64
br label %541
541: ; preds = %538, %535
%542 = phi i64 [ %537, %535 ], [ %540, %538 ]
br label %543
543: ; preds = %541, %526
%544 = phi i64 [ %528, %526 ], [ %542, %541 ]
br label %545
545: ; preds = %543, %521
%546 = phi i64 [ %522, %521 ], [ %544, %543 ]
br label %598
547: ; preds = %481
%548 = load i32, ptr %4, align 4
%549 = load i32, ptr %4, align 4
%550 = sub i32 %548, %549
%551 = load i32, ptr %4, align 4
%552 = load i32, ptr %4, align 4
%553 = sub i32 %551, %552
%554 = add i32 %553, 1
%555 = sub i32 %550, %554
%556 = load i32, ptr %4, align 4
%557 = load i32, ptr %4, align 4
%558 = sub i32 %556, %557
%559 = icmp ult i32 %555, %558
br i1 %559, label %560, label %582
560: ; preds = %547
%561 = load i32, ptr %4, align 4
%562 = icmp ult i32 %561, 0
br i1 %562, label %563, label %566
563: ; preds = %560
%564 = load i32, ptr %3, align 4
%565 = sext i32 %564 to i64
br label %580
566: ; preds = %560
%567 = load i32, ptr %3, align 4
%568 = sext i32 %567 to i64
%569 = load i32, ptr %4, align 4
%570 = zext i32 %569 to i64
%571 = icmp ugt i64 %568, %570
br i1 %571, label %572, label %575
572: ; preds = %566
%573 = load i32, ptr %3, align 4
%574 = sext i32 %573 to i64
br label %578
575: ; preds = %566
%576 = load i32, ptr %4, align 4
%577 = zext i32 %576 to i64
br label %578
578: ; preds = %575, %572
%579 = phi i64 [ %574, %572 ], [ %577, %575 ]
br label %580
580: ; preds = %578, %563
%581 = phi i64 [ %565, %563 ], [ %579, %578 ]
br label %596
582: ; preds = %547
%583 = load i32, ptr %3, align 4
%584 = sext i32 %583 to i64
%585 = load i32, ptr %4, align 4
%586 = zext i32 %585 to i64
%587 = icmp ugt i64 %584, %586
br i1 %587, label %588, label %591
588: ; preds = %582
%589 = load i32, ptr %3, align 4
%590 = sext i32 %589 to i64
br label %594
591: ; preds = %582
%592 = load i32, ptr %4, align 4
%593 = zext i32 %592 to i64
br label %594
594: ; preds = %591, %588
%595 = phi i64 [ %590, %588 ], [ %593, %591 ]
br label %596
596: ; preds = %594, %580
%597 = phi i64 [ %581, %580 ], [ %595, %594 ]
br label %598
598: ; preds = %596, %545
%599 = phi i64 [ %546, %545 ], [ %597, %596 ]
%600 = load i32, ptr %3, align 4
%601 = load i32, ptr %3, align 4
%602 = sub nsw i32 %600, %601
%603 = load i32, ptr %3, align 4
%604 = load i32, ptr %3, align 4
%605 = sub nsw i32 %603, %604
%606 = add nsw i32 %605, 1
%607 = sub nsw i32 %602, %606
%608 = load i32, ptr %3, align 4
%609 = load i32, ptr %3, align 4
%610 = sub nsw i32 %608, %609
%611 = icmp slt i32 %607, %610
br i1 %611, label %612, label %663
612: ; preds = %598
%613 = load i32, ptr %4, align 4
%614 = load i32, ptr %4, align 4
%615 = sub i32 %613, %614
%616 = load i32, ptr %4, align 4
%617 = load i32, ptr %4, align 4
%618 = sub i32 %616, %617
%619 = add i32 %618, 1
%620 = sub i32 %615, %619
%621 = load i32, ptr %4, align 4
%622 = load i32, ptr %4, align 4
%623 = sub i32 %621, %622
%624 = icmp ult i32 %620, %623
br i1 %624, label %625, label %639
625: ; preds = %612
%626 = load i32, ptr %3, align 4
%627 = sext i32 %626 to i64
%628 = load i32, ptr %4, align 4
%629 = zext i32 %628 to i64
%630 = icmp sgt i64 %627, %629
br i1 %630, label %631, label %634
631: ; preds = %625
%632 = load i32, ptr %3, align 4
%633 = sext i32 %632 to i64
br label %637
634: ; preds = %625
%635 = load i32, ptr %4, align 4
%636 = zext i32 %635 to i64
br label %637
637: ; preds = %634, %631
%638 = phi i64 [ %633, %631 ], [ %636, %634 ]
br label %661
639: ; preds = %612
%640 = load i32, ptr %3, align 4
%641 = icmp slt i32 %640, 0
br i1 %641, label %642, label %645
642: ; preds = %639
%643 = load i32, ptr %4, align 4
%644 = zext i32 %643 to i64
br label %659
645: ; preds = %639
%646 = load i32, ptr %3, align 4
%647 = sext i32 %646 to i64
%648 = load i32, ptr %4, align 4
%649 = zext i32 %648 to i64
%650 = icmp ugt i64 %647, %649
br i1 %650, label %651, label %654
651: ; preds = %645
%652 = load i32, ptr %3, align 4
%653 = sext i32 %652 to i64
br label %657
654: ; preds = %645
%655 = load i32, ptr %4, align 4
%656 = zext i32 %655 to i64
br label %657
657: ; preds = %654, %651
%658 = phi i64 [ %653, %651 ], [ %656, %654 ]
br label %659
659: ; preds = %657, %642
%660 = phi i64 [ %644, %642 ], [ %658, %657 ]
br label %661
661: ; preds = %659, %637
%662 = phi i64 [ %638, %637 ], [ %660, %659 ]
br label %714
663: ; preds = %598
%664 = load i32, ptr %4, align 4
%665 = load i32, ptr %4, align 4
%666 = sub i32 %664, %665
%667 = load i32, ptr %4, align 4
%668 = load i32, ptr %4, align 4
%669 = sub i32 %667, %668
%670 = add i32 %669, 1
%671 = sub i32 %666, %670
%672 = load i32, ptr %4, align 4
%673 = load i32, ptr %4, align 4
%674 = sub i32 %672, %673
%675 = icmp ult i32 %671, %674
br i1 %675, label %676, label %698
676: ; preds = %663
%677 = load i32, ptr %4, align 4
%678 = icmp ult i32 %677, 0
br i1 %678, label %679, label %682
679: ; preds = %676
%680 = load i32, ptr %3, align 4
%681 = sext i32 %680 to i64
br label %696
682: ; preds = %676
%683 = load i32, ptr %3, align 4
%684 = sext i32 %683 to i64
%685 = load i32, ptr %4, align 4
%686 = zext i32 %685 to i64
%687 = icmp ugt i64 %684, %686
br i1 %687, label %688, label %691
688: ; preds = %682
%689 = load i32, ptr %3, align 4
%690 = sext i32 %689 to i64
br label %694
691: ; preds = %682
%692 = load i32, ptr %4, align 4
%693 = zext i32 %692 to i64
br label %694
694: ; preds = %691, %688
%695 = phi i64 [ %690, %688 ], [ %693, %691 ]
br label %696
696: ; preds = %694, %679
%697 = phi i64 [ %681, %679 ], [ %695, %694 ]
br label %712
698: ; preds = %663
%699 = load i32, ptr %3, align 4
%700 = sext i32 %699 to i64
%701 = load i32, ptr %4, align 4
%702 = zext i32 %701 to i64
%703 = icmp ugt i64 %700, %702
br i1 %703, label %704, label %707
704: ; preds = %698
%705 = load i32, ptr %3, align 4
%706 = sext i32 %705 to i64
br label %710
707: ; preds = %698
%708 = load i32, ptr %4, align 4
%709 = zext i32 %708 to i64
br label %710
710: ; preds = %707, %704
%711 = phi i64 [ %706, %704 ], [ %709, %707 ]
br label %712
712: ; preds = %710, %696
%713 = phi i64 [ %697, %696 ], [ %711, %710 ]
br label %714
714: ; preds = %712, %661
%715 = phi i64 [ %662, %661 ], [ %713, %712 ]
%716 = load i32, ptr %4, align 4
%717 = call i32 @printf(ptr noundef @.str.1, i32 noundef 752, i32 noundef %482, i32 noundef %483, i64 noundef %599, i64 noundef %715, i32 noundef %716)
br label %718
718: ; preds = %714, %476
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, i64 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/tmpx8nv6fde.c'
source_filename = "/tmp/tmpx8nv6fde.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"xx\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d%c\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c"Error in sscanf: %s -> m=%d, iv=%d, c=%c\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"sscanf OK\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = 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 -999, ptr %7, align 4
store i8 0, ptr %8, align 1
%9 = call i32 @sscanf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %7, ptr noundef %8)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %18
12: ; preds = %2
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %7, align 4
%15 = load i8, ptr %8, align 1
%16 = sext i8 %15 to i32
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str, i32 noundef %13, i32 noundef %14, i32 noundef %16)
br label %20
18: ; preds = %2
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %20
20: ; preds = %18, %12
ret i32 0
}
declare i32 @sscanf(ptr noundef, ptr noundef, 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx8nv6fde.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"xx\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d%c\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c"Error in sscanf: %s -> m=%d, iv=%d, c=%c\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"sscanf OK\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = 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 -999, ptr %7, align 4
store i8 0, ptr %8, align 1
%9 = call i32 @sscanf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %7, ptr noundef %8)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %18
12: ; preds = %2
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %7, align 4
%15 = load i8, ptr %8, align 1
%16 = sext i8 %15 to i32
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str, i32 noundef %13, i32 noundef %14, i32 noundef %16)
br label %20
18: ; preds = %2
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %20
20: ; preds = %18, %12
ret i32 0
}
declare i32 @sscanf(ptr noundef, ptr noundef, 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"}
|
; ModuleID = '/tmp/tmpp9kgad7d.c'
source_filename = "/tmp/tmpp9kgad7d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cleanup(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 = call i32 @SSL_CTX_free(ptr noundef %5)
%7 = load ptr, ptr %4, align 8
%8 = call i32 @BIO_free_all(ptr noundef %7)
ret void
}
declare i32 @SSL_CTX_free(ptr noundef) #1
declare i32 @BIO_free_all(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp9kgad7d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cleanup(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 = call i32 @SSL_CTX_free(ptr noundef %5)
%7 = load ptr, ptr %4, align 8
%8 = call i32 @BIO_free_all(ptr noundef %7)
ret void
}
declare i32 @SSL_CTX_free(ptr noundef) #1
declare i32 @BIO_free_all(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmw7vru5c.c'
source_filename = "/tmp/tmpmw7vru5c.c"
target datalayout = "e-m:e-p270: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/tmpmw7vru5c.c"
target datalayout = "e-m:e-p270: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/tmps5g8cb1p.c'
source_filename = "/tmp/tmps5g8cb1p.c"
target datalayout = "e-m:e-p270: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/tmps5g8cb1p.c"
target datalayout = "e-m:e-p270: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/tmpihouadx3.c'
source_filename = "/tmp/tmpihouadx3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lcd_init() #0 {
%1 = call i32 (...) @lcd_port_config()
%2 = call i32 (...) @lcd_set_4bit()
%3 = call i32 @_delay_ms(i32 noundef 1)
%4 = call i32 @lcd_wr_command(i32 noundef 40)
%5 = call i32 @lcd_wr_command(i32 noundef 1)
%6 = call i32 @lcd_wr_command(i32 noundef 6)
%7 = call i32 @lcd_wr_command(i32 noundef 14)
%8 = call i32 @lcd_wr_command(i32 noundef 128)
ret void
}
declare i32 @lcd_port_config(...) #1
declare i32 @lcd_set_4bit(...) #1
declare i32 @_delay_ms(i32 noundef) #1
declare i32 @lcd_wr_command(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/tmpihouadx3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lcd_init() #0 {
%1 = call i32 (...) @lcd_port_config()
%2 = call i32 (...) @lcd_set_4bit()
%3 = call i32 @_delay_ms(i32 noundef 1)
%4 = call i32 @lcd_wr_command(i32 noundef 40)
%5 = call i32 @lcd_wr_command(i32 noundef 1)
%6 = call i32 @lcd_wr_command(i32 noundef 6)
%7 = call i32 @lcd_wr_command(i32 noundef 14)
%8 = call i32 @lcd_wr_command(i32 noundef 128)
ret void
}
declare i32 @lcd_port_config(...) #1
declare i32 @lcd_set_4bit(...) #1
declare i32 @_delay_ms(i32 noundef) #1
declare i32 @lcd_wr_command(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/tmpg1q7x5ji.c'
source_filename = "/tmp/tmpg1q7x5ji.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [133 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/tardyp/amake/refs/heads/master/fileutils.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @freadfirstln(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %11, label %10
10: ; preds = %1
store ptr null, ptr %2, align 8
br label %17
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
%13 = call ptr @_getline(ptr noundef %12, i32 noundef 0, ptr noundef @.str.1, i32 noundef 327)
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %4, align 8
%15 = call i32 @fclose(ptr noundef %14)
%16 = load ptr, ptr %5, align 8
store ptr %16, ptr %2, align 8
br label %17
17: ; preds = %11, %10
%18 = load ptr, ptr %2, align 8
ret ptr %18
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @_getline(ptr noundef, i32 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/tmpg1q7x5ji.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [133 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/tardyp/amake/refs/heads/master/fileutils.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @freadfirstln(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %11, label %10
10: ; preds = %1
store ptr null, ptr %2, align 8
br label %17
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
%13 = call ptr @_getline(ptr noundef %12, i32 noundef 0, ptr noundef @.str.1, i32 noundef 327)
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %4, align 8
%15 = call i32 @fclose(ptr noundef %14)
%16 = load ptr, ptr %5, align 8
store ptr %16, ptr %2, align 8
br label %17
17: ; preds = %11, %10
%18 = load ptr, ptr %2, align 8
ret ptr %18
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @_getline(ptr noundef, i32 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/tmpy2fzara1.c'
source_filename = "/tmp/tmpy2fzara1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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:\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = call i32 @do_ls(ptr noundef @.str)
br label %24
10: ; preds = %2
br label %11
11: ; preds = %15, %10
%12 = load i32, ptr %4, align 4
%13 = add nsw i32 %12, -1
store i32 %13, ptr %4, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %23
15: ; preds = %11
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i32 1
store ptr %17, ptr %5, align 8
%18 = load ptr, ptr %17, align 8
%19 = call i32 @printf(ptr noundef @.str.1, ptr noundef %18)
%20 = load ptr, ptr %5, align 8
%21 = load ptr, ptr %20, align 8
%22 = call i32 @do_ls(ptr noundef %21)
br label %11, !llvm.loop !6
23: ; preds = %11
br label %24
24: ; preds = %23, %8
ret i32 0
}
declare i32 @do_ls(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy2fzara1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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:\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = call i32 @do_ls(ptr noundef @.str)
br label %26
10: ; preds = %2
%11 = load i32, ptr %4, align 4
%12 = add nsw i32 %11, -1
store i32 %12, ptr %4, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %.lr.ph, label %25
.lr.ph: ; preds = %10
br label %14
14: ; preds = %.lr.ph, %14
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i32 1
store ptr %16, ptr %5, align 8
%17 = load ptr, ptr %16, align 8
%18 = call i32 @printf(ptr noundef @.str.1, ptr noundef %17)
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %19, align 8
%21 = call i32 @do_ls(ptr noundef %20)
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, -1
store i32 %23, ptr %4, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %25
25: ; preds = %._crit_edge, %10
br label %26
26: ; preds = %25, %8
ret i32 0
}
declare i32 @do_ls(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpuoecxohd.c'
source_filename = "/tmp/tmpuoecxohd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isxdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"isxdigit should be 0 for 0xc3\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isxdigit_0xc3() #0 {
%1 = call i64 @isxdigit(i32 noundef 195)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 980, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isxdigit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuoecxohd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isxdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"isxdigit should be 0 for 0xc3\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isxdigit_0xc3() #0 {
%1 = call i64 @isxdigit(i32 noundef 195)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 980, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isxdigit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0rzu1jji.c'
source_filename = "/tmp/tmp0rzu1jji.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drop(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %11
7: ; preds = %2
%8 = load ptr, ptr %4, align 8
%9 = call i32 @perror(ptr noundef %8)
%10 = call i32 @exit(i32 noundef 1) #3
unreachable
11: ; preds = %2
ret void
}
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0rzu1jji.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drop(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %11
7: ; preds = %2
%8 = load ptr, ptr %4, align 8
%9 = call i32 @perror(ptr noundef %8)
%10 = call i32 @exit(i32 noundef 1) #3
unreachable
11: ; preds = %2
ret void
}
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcl23sy3_.c'
source_filename = "/tmp/tmpcl23sy3_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @minstack_close(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 @close(i32 noundef %3)
ret i32 %4
}
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcl23sy3_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @minstack_close(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 @close(i32 noundef %3)
ret i32 %4
}
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo79xi2cy.c'
source_filename = "/tmp/tmpo79xi2cy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"RUN (%s)\0A\00", align 1
@.str.1 = private unnamed_addr constant [149 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/magister1318/beagleg/refs/heads/master/gcode-parser_test.c\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"PASS (%s)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 (...) @TEST_axes_letter_conversion()
%3 = call i32 (...) @TEST_simple_move()
%4 = call i32 (...) @TEST_absolute_relative()
%5 = call i32 (...) @TEST_set_origin_G92()
%6 = call i32 (...) @TEST_probe_axis()
%7 = call i32 @printf(ptr noundef @.str.2, ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @TEST_axes_letter_conversion(...) #1
declare i32 @TEST_simple_move(...) #1
declare i32 @TEST_absolute_relative(...) #1
declare i32 @TEST_set_origin_G92(...) #1
declare i32 @TEST_probe_axis(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo79xi2cy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"RUN (%s)\0A\00", align 1
@.str.1 = private unnamed_addr constant [149 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/magister1318/beagleg/refs/heads/master/gcode-parser_test.c\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"PASS (%s)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 (...) @TEST_axes_letter_conversion()
%3 = call i32 (...) @TEST_simple_move()
%4 = call i32 (...) @TEST_absolute_relative()
%5 = call i32 (...) @TEST_set_origin_G92()
%6 = call i32 (...) @TEST_probe_axis()
%7 = call i32 @printf(ptr noundef @.str.2, ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @TEST_axes_letter_conversion(...) #1
declare i32 @TEST_simple_move(...) #1
declare i32 @TEST_absolute_relative(...) #1
declare i32 @TEST_set_origin_G92(...) #1
declare i32 @TEST_probe_axis(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdlrv8mdz.c'
source_filename = "/tmp/tmpdlrv8mdz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [38 x i8] c"INFO: sending success message to WCM\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @send_success_message_to_wcm() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdlrv8mdz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [38 x i8] c"INFO: sending success message to WCM\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @send_success_message_to_wcm() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbj9mpo7y.c'
source_filename = "/tmp/tmpbj9mpo7y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @frcholapply(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 ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca float, align 4
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
%13 = load i32, ptr %8, align 4
%14 = zext i32 %13 to i64
%15 = mul i64 %14, 4
%16 = trunc i64 %15 to i32
%17 = call ptr @alloca(i32 noundef %16)
store ptr %17, ptr %9, align 8
store i32 0, ptr %10, align 4
br label %18
18: ; preds = %69, %4
%19 = load i32, ptr %10, align 4
%20 = load i32, ptr %8, align 4
%21 = icmp ult i32 %19, %20
br i1 %21, label %22, label %72
22: ; preds = %18
%23 = load ptr, ptr %6, align 8
%24 = load i32, ptr %10, align 4
%25 = zext i32 %24 to i64
%26 = getelementptr inbounds float, ptr %23, i64 %25
%27 = load float, ptr %26, align 4
store float %27, ptr %12, align 4
store i32 0, ptr %11, align 4
br label %28
28: ; preds = %50, %22
%29 = load i32, ptr %11, align 4
%30 = load i32, ptr %10, align 4
%31 = icmp ult i32 %29, %30
br i1 %31, label %32, label %53
32: ; preds = %28
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %10, align 4
%35 = load i32, ptr %8, align 4
%36 = mul i32 %34, %35
%37 = load i32, ptr %11, align 4
%38 = add i32 %36, %37
%39 = zext i32 %38 to i64
%40 = getelementptr inbounds float, ptr %33, i64 %39
%41 = load float, ptr %40, align 4
%42 = load ptr, ptr %9, align 8
%43 = load i32, ptr %11, align 4
%44 = zext i32 %43 to i64
%45 = getelementptr inbounds float, ptr %42, i64 %44
%46 = load float, ptr %45, align 4
%47 = load float, ptr %12, align 4
%48 = fneg float %41
%49 = call float @llvm.fmuladd.f32(float %48, float %46, float %47)
store float %49, ptr %12, align 4
br label %50
50: ; preds = %32
%51 = load i32, ptr %11, align 4
%52 = add i32 %51, 1
store i32 %52, ptr %11, align 4
br label %28, !llvm.loop !6
53: ; preds = %28
%54 = load float, ptr %12, align 4
%55 = load ptr, ptr %5, align 8
%56 = load i32, ptr %10, align 4
%57 = load i32, ptr %8, align 4
%58 = mul i32 %56, %57
%59 = load i32, ptr %10, align 4
%60 = add i32 %58, %59
%61 = zext i32 %60 to i64
%62 = getelementptr inbounds float, ptr %55, i64 %61
%63 = load float, ptr %62, align 4
%64 = fmul float %54, %63
%65 = load ptr, ptr %9, align 8
%66 = load i32, ptr %10, align 4
%67 = zext i32 %66 to i64
%68 = getelementptr inbounds float, ptr %65, i64 %67
store float %64, ptr %68, align 4
br label %69
69: ; preds = %53
%70 = load i32, ptr %10, align 4
%71 = add i32 %70, 1
store i32 %71, ptr %10, align 4
br label %18, !llvm.loop !8
72: ; preds = %18
%73 = load i32, ptr %8, align 4
store i32 %73, ptr %10, align 4
br label %74
74: ; preds = %130, %72
%75 = load i32, ptr %10, align 4
%76 = icmp ugt i32 %75, 0
br i1 %76, label %77, label %133
77: ; preds = %74
%78 = load ptr, ptr %9, align 8
%79 = load i32, ptr %10, align 4
%80 = sub i32 %79, 1
%81 = zext i32 %80 to i64
%82 = getelementptr inbounds float, ptr %78, i64 %81
%83 = load float, ptr %82, align 4
store float %83, ptr %12, align 4
%84 = load i32, ptr %10, align 4
store i32 %84, ptr %11, align 4
br label %85
85: ; preds = %108, %77
%86 = load i32, ptr %11, align 4
%87 = load i32, ptr %8, align 4
%88 = icmp ult i32 %86, %87
br i1 %88, label %89, label %111
89: ; preds = %85
%90 = load ptr, ptr %5, align 8
%91 = load i32, ptr %11, align 4
%92 = load i32, ptr %8, align 4
%93 = mul i32 %91, %92
%94 = load i32, ptr %10, align 4
%95 = sub i32 %94, 1
%96 = add i32 %93, %95
%97 = zext i32 %96 to i64
%98 = getelementptr inbounds float, ptr %90, i64 %97
%99 = load float, ptr %98, align 4
%100 = load ptr, ptr %7, align 8
%101 = load i32, ptr %11, align 4
%102 = zext i32 %101 to i64
%103 = getelementptr inbounds float, ptr %100, i64 %102
%104 = load float, ptr %103, align 4
%105 = load float, ptr %12, align 4
%106 = fneg float %99
%107 = call float @llvm.fmuladd.f32(float %106, float %104, float %105)
store float %107, ptr %12, align 4
br label %108
108: ; preds = %89
%109 = load i32, ptr %11, align 4
%110 = add i32 %109, 1
store i32 %110, ptr %11, align 4
br label %85, !llvm.loop !9
111: ; preds = %85
%112 = load float, ptr %12, align 4
%113 = load ptr, ptr %5, align 8
%114 = load i32, ptr %10, align 4
%115 = sub i32 %114, 1
%116 = load i32, ptr %8, align 4
%117 = mul i32 %115, %116
%118 = load i32, ptr %10, align 4
%119 = sub i32 %118, 1
%120 = add i32 %117, %119
%121 = zext i32 %120 to i64
%122 = getelementptr inbounds float, ptr %113, i64 %121
%123 = load float, ptr %122, align 4
%124 = fmul float %112, %123
%125 = load ptr, ptr %7, align 8
%126 = load i32, ptr %10, align 4
%127 = sub i32 %126, 1
%128 = zext i32 %127 to i64
%129 = getelementptr inbounds float, ptr %125, i64 %128
store float %124, ptr %129, align 4
br label %130
130: ; preds = %111
%131 = load i32, ptr %10, align 4
%132 = add i32 %131, -1
store i32 %132, ptr %10, align 4
br label %74, !llvm.loop !10
133: ; preds = %74
ret void
}
declare ptr @alloca(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbj9mpo7y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @frcholapply(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 ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca float, align 4
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
%13 = load i32, ptr %8, align 4
%14 = zext i32 %13 to i64
%15 = mul i64 %14, 4
%16 = trunc i64 %15 to i32
%17 = call ptr @alloca(i32 noundef %16)
store ptr %17, ptr %9, align 8
store i32 0, ptr %10, align 4
%18 = load i32, ptr %10, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp ult i32 %18, %19
br i1 %20, label %.lr.ph2, label %76
.lr.ph2: ; preds = %4
br label %21
21: ; preds = %.lr.ph2, %70
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %10, align 4
%24 = zext i32 %23 to i64
%25 = getelementptr inbounds float, ptr %22, i64 %24
%26 = load float, ptr %25, align 4
store float %26, ptr %12, align 4
store i32 0, ptr %11, align 4
%27 = load i32, ptr %11, align 4
%28 = load i32, ptr %10, align 4
%29 = icmp ult i32 %27, %28
br i1 %29, label %.lr.ph, label %54
.lr.ph: ; preds = %21
br label %30
30: ; preds = %.lr.ph, %48
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %10, align 4
%33 = load i32, ptr %8, align 4
%34 = mul i32 %32, %33
%35 = load i32, ptr %11, align 4
%36 = add i32 %34, %35
%37 = zext i32 %36 to i64
%38 = getelementptr inbounds float, ptr %31, i64 %37
%39 = load float, ptr %38, align 4
%40 = load ptr, ptr %9, align 8
%41 = load i32, ptr %11, align 4
%42 = zext i32 %41 to i64
%43 = getelementptr inbounds float, ptr %40, i64 %42
%44 = load float, ptr %43, align 4
%45 = load float, ptr %12, align 4
%46 = fneg float %39
%47 = call float @llvm.fmuladd.f32(float %46, float %44, float %45)
store float %47, ptr %12, align 4
br label %48
48: ; preds = %30
%49 = load i32, ptr %11, align 4
%50 = add i32 %49, 1
store i32 %50, ptr %11, align 4
%51 = load i32, ptr %11, align 4
%52 = load i32, ptr %10, align 4
%53 = icmp ult i32 %51, %52
br i1 %53, label %30, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %48
br label %54
54: ; preds = %._crit_edge, %21
%55 = load float, ptr %12, align 4
%56 = load ptr, ptr %5, align 8
%57 = load i32, ptr %10, align 4
%58 = load i32, ptr %8, align 4
%59 = mul i32 %57, %58
%60 = load i32, ptr %10, align 4
%61 = add i32 %59, %60
%62 = zext i32 %61 to i64
%63 = getelementptr inbounds float, ptr %56, i64 %62
%64 = load float, ptr %63, align 4
%65 = fmul float %55, %64
%66 = load ptr, ptr %9, align 8
%67 = load i32, ptr %10, align 4
%68 = zext i32 %67 to i64
%69 = getelementptr inbounds float, ptr %66, i64 %68
store float %65, ptr %69, align 4
br label %70
70: ; preds = %54
%71 = load i32, ptr %10, align 4
%72 = add i32 %71, 1
store i32 %72, ptr %10, align 4
%73 = load i32, ptr %10, align 4
%74 = load i32, ptr %8, align 4
%75 = icmp ult i32 %73, %74
br i1 %75, label %21, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %70
br label %76
76: ; preds = %._crit_edge3, %4
%77 = load i32, ptr %8, align 4
store i32 %77, ptr %10, align 4
%78 = load i32, ptr %10, align 4
%79 = icmp ugt i32 %78, 0
br i1 %79, label %.lr.ph8, label %140
.lr.ph8: ; preds = %76
br label %80
80: ; preds = %.lr.ph8, %135
%81 = load ptr, ptr %9, align 8
%82 = load i32, ptr %10, align 4
%83 = sub i32 %82, 1
%84 = zext i32 %83 to i64
%85 = getelementptr inbounds float, ptr %81, i64 %84
%86 = load float, ptr %85, align 4
store float %86, ptr %12, align 4
%87 = load i32, ptr %10, align 4
store i32 %87, ptr %11, align 4
%88 = load i32, ptr %11, align 4
%89 = load i32, ptr %8, align 4
%90 = icmp ult i32 %88, %89
br i1 %90, label %.lr.ph5, label %116
.lr.ph5: ; preds = %80
br label %91
91: ; preds = %.lr.ph5, %110
%92 = load ptr, ptr %5, align 8
%93 = load i32, ptr %11, align 4
%94 = load i32, ptr %8, align 4
%95 = mul i32 %93, %94
%96 = load i32, ptr %10, align 4
%97 = sub i32 %96, 1
%98 = add i32 %95, %97
%99 = zext i32 %98 to i64
%100 = getelementptr inbounds float, ptr %92, i64 %99
%101 = load float, ptr %100, align 4
%102 = load ptr, ptr %7, align 8
%103 = load i32, ptr %11, align 4
%104 = zext i32 %103 to i64
%105 = getelementptr inbounds float, ptr %102, i64 %104
%106 = load float, ptr %105, align 4
%107 = load float, ptr %12, align 4
%108 = fneg float %101
%109 = call float @llvm.fmuladd.f32(float %108, float %106, float %107)
store float %109, ptr %12, align 4
br label %110
110: ; preds = %91
%111 = load i32, ptr %11, align 4
%112 = add i32 %111, 1
store i32 %112, ptr %11, align 4
%113 = load i32, ptr %11, align 4
%114 = load i32, ptr %8, align 4
%115 = icmp ult i32 %113, %114
br i1 %115, label %91, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %110
br label %116
116: ; preds = %._crit_edge6, %80
%117 = load float, ptr %12, align 4
%118 = load ptr, ptr %5, align 8
%119 = load i32, ptr %10, align 4
%120 = sub i32 %119, 1
%121 = load i32, ptr %8, align 4
%122 = mul i32 %120, %121
%123 = load i32, ptr %10, align 4
%124 = sub i32 %123, 1
%125 = add i32 %122, %124
%126 = zext i32 %125 to i64
%127 = getelementptr inbounds float, ptr %118, i64 %126
%128 = load float, ptr %127, align 4
%129 = fmul float %117, %128
%130 = load ptr, ptr %7, align 8
%131 = load i32, ptr %10, align 4
%132 = sub i32 %131, 1
%133 = zext i32 %132 to i64
%134 = getelementptr inbounds float, ptr %130, i64 %133
store float %129, ptr %134, align 4
br label %135
135: ; preds = %116
%136 = load i32, ptr %10, align 4
%137 = add i32 %136, -1
store i32 %137, ptr %10, align 4
%138 = load i32, ptr %10, align 4
%139 = icmp ugt i32 %138, 0
br i1 %139, label %80, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %135
br label %140
140: ; preds = %._crit_edge9, %76
ret void
}
declare ptr @alloca(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpnpizaf_w.c'
source_filename = "/tmp/tmpnpizaf_w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @trace_char(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 @printf(ptr noundef @.str, i8 noundef signext %3)
%5 = load i8, ptr %2, align 1
ret i8 %5
}
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnpizaf_w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @trace_char(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 @printf(ptr noundef @.str, i8 noundef signext %3)
%5 = load i8, ptr %2, align 1
ret i8 %5
}
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpckpwm05f.c'
source_filename = "/tmp/tmpckpwm05f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Error on semop\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Semop(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 i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i32 @semop(i32 noundef %8, ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %3
%15 = call i32 @Error(ptr noundef @.str)
br label %16
16: ; preds = %14, %3
%17 = load i32, ptr %7, align 4
ret i32 %17
}
declare i32 @semop(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @Error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpckpwm05f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Error on semop\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Semop(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 i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i32 @semop(i32 noundef %8, ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %3
%15 = call i32 @Error(ptr noundef @.str)
br label %16
16: ; preds = %14, %3
%17 = load i32, ptr %7, align 4
ret i32 %17
}
declare i32 @semop(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @Error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5pq_8tvx.c'
source_filename = "/tmp/tmp5pq_8tvx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOENT = dso_local global i64 0, align 8
@F_GETFL = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@IN_DELETE = dso_local global i32 0, align 4
@IN_DELETE_SELF = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@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/tmp5pq_8tvx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOENT = dso_local global i64 0, align 8
@F_GETFL = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@IN_DELETE = dso_local global i32 0, align 4
@IN_DELETE_SELF = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@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/tmp9vwv1v8a.c'
source_filename = "/tmp/tmp9vwv1v8a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FindExprTable(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr null, ptr %9, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %17
14: ; preds = %3
%15 = load i32, ptr %6, align 4
%16 = icmp slt i32 %15, 1
br i1 %16, label %17, label %19
17: ; preds = %14, %3
%18 = load ptr, ptr %9, align 8
store ptr %18, ptr %4, align 8
br label %97
19: ; preds = %14
%20 = load ptr, ptr %5, align 8
%21 = call i64 @strlen(ptr noundef %20)
%22 = trunc i64 %21 to i32
store i32 %22, ptr %8, align 4
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
%25 = call ptr @malloc(i32 noundef %24)
store ptr %25, ptr %11, align 8
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %29
27: ; preds = %19
%28 = load ptr, ptr %9, align 8
store ptr %28, ptr %4, align 8
br label %97
29: ; preds = %19
%30 = load ptr, ptr %11, align 8
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %8, align 4
%33 = call i32 @memcpy(ptr noundef %30, ptr noundef %31, i32 noundef %32)
%34 = load ptr, ptr %11, align 8
%35 = load i32, ptr %8, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
store i8 0, ptr %37, align 1
store i32 0, ptr %8, align 4
br label %38
38: ; preds = %79, %29
%39 = load i32, ptr %8, align 4
%40 = load i32, ptr %6, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %42, label %49
42: ; preds = %38
%43 = load ptr, ptr %7, align 8
%44 = load i32, ptr %8, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds ptr, ptr %43, i64 %45
%47 = load ptr, ptr %46, align 8
%48 = icmp ne ptr %47, null
br label %49
49: ; preds = %42, %38
%50 = phi i1 [ false, %38 ], [ %48, %42 ]
br i1 %50, label %51, label %82
51: ; preds = %49
%52 = load ptr, ptr %11, align 8
%53 = load ptr, ptr %7, align 8
%54 = load i32, ptr %8, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds ptr, ptr %53, i64 %55
%57 = load ptr, ptr %56, align 8
%58 = call ptr @strstr(ptr noundef %52, ptr noundef %57)
store ptr %58, ptr %10, align 8
%59 = load ptr, ptr %10, align 8
%60 = icmp ne ptr %59, null
br i1 %60, label %61, label %78
61: ; preds = %51
%62 = load ptr, ptr %10, align 8
store i8 0, ptr %62, align 1
%63 = load ptr, ptr %9, align 8
%64 = icmp ne ptr %63, null
br i1 %64, label %67, label %65
65: ; preds = %61
%66 = load ptr, ptr %10, align 8
store ptr %66, ptr %9, align 8
br label %77
67: ; preds = %61
%68 = load ptr, ptr %9, align 8
%69 = load ptr, ptr %10, align 8
%70 = icmp ult ptr %68, %69
br i1 %70, label %71, label %73
71: ; preds = %67
%72 = load ptr, ptr %9, align 8
br label %75
73: ; preds = %67
%74 = load ptr, ptr %10, align 8
br label %75
75: ; preds = %73, %71
%76 = phi ptr [ %72, %71 ], [ %74, %73 ]
store ptr %76, ptr %9, align 8
br label %77
77: ; preds = %75, %65
br label %78
78: ; preds = %77, %51
br label %79
79: ; preds = %78
%80 = load i32, ptr %8, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %8, align 4
br label %38, !llvm.loop !6
82: ; preds = %49
%83 = load ptr, ptr %9, align 8
%84 = icmp ne ptr %83, null
br i1 %84, label %85, label %93
85: ; preds = %82
%86 = load ptr, ptr %5, align 8
%87 = load ptr, ptr %9, align 8
%88 = load ptr, ptr %11, align 8
%89 = ptrtoint ptr %87 to i64
%90 = ptrtoint ptr %88 to i64
%91 = sub i64 %89, %90
%92 = getelementptr inbounds i8, ptr %86, i64 %91
store ptr %92, ptr %9, align 8
br label %93
93: ; preds = %85, %82
%94 = load ptr, ptr %11, align 8
%95 = call i32 @free(ptr noundef %94)
%96 = load ptr, ptr %9, align 8
store ptr %96, ptr %4, align 8
br label %97
97: ; preds = %93, %27, %17
%98 = load ptr, ptr %4, align 8
ret ptr %98
}
declare i64 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9vwv1v8a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FindExprTable(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr null, ptr %9, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %17
14: ; preds = %3
%15 = load i32, ptr %6, align 4
%16 = icmp slt i32 %15, 1
br i1 %16, label %17, label %19
17: ; preds = %14, %3
%18 = load ptr, ptr %9, align 8
store ptr %18, ptr %4, align 8
br label %97
19: ; preds = %14
%20 = load ptr, ptr %5, align 8
%21 = call i64 @strlen(ptr noundef %20)
%22 = trunc i64 %21 to i32
store i32 %22, ptr %8, align 4
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
%25 = call ptr @malloc(i32 noundef %24)
store ptr %25, ptr %11, align 8
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %29
27: ; preds = %19
%28 = load ptr, ptr %9, align 8
store ptr %28, ptr %4, align 8
br label %97
29: ; preds = %19
%30 = load ptr, ptr %11, align 8
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %8, align 4
%33 = call i32 @memcpy(ptr noundef %30, ptr noundef %31, i32 noundef %32)
%34 = load ptr, ptr %11, align 8
%35 = load i32, ptr %8, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
store i8 0, ptr %37, align 1
store i32 0, ptr %8, align 4
br label %38
38: ; preds = %79, %29
%39 = load i32, ptr %8, align 4
%40 = load i32, ptr %6, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %42, label %49
42: ; preds = %38
%43 = load ptr, ptr %7, align 8
%44 = load i32, ptr %8, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds ptr, ptr %43, i64 %45
%47 = load ptr, ptr %46, align 8
%48 = icmp ne ptr %47, null
br label %49
49: ; preds = %42, %38
%50 = phi i1 [ false, %38 ], [ %48, %42 ]
br i1 %50, label %51, label %82
51: ; preds = %49
%52 = load ptr, ptr %11, align 8
%53 = load ptr, ptr %7, align 8
%54 = load i32, ptr %8, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds ptr, ptr %53, i64 %55
%57 = load ptr, ptr %56, align 8
%58 = call ptr @strstr(ptr noundef %52, ptr noundef %57)
store ptr %58, ptr %10, align 8
%59 = load ptr, ptr %10, align 8
%60 = icmp ne ptr %59, null
br i1 %60, label %61, label %78
61: ; preds = %51
%62 = load ptr, ptr %10, align 8
store i8 0, ptr %62, align 1
%63 = load ptr, ptr %9, align 8
%64 = icmp ne ptr %63, null
br i1 %64, label %67, label %65
65: ; preds = %61
%66 = load ptr, ptr %10, align 8
store ptr %66, ptr %9, align 8
br label %77
67: ; preds = %61
%68 = load ptr, ptr %9, align 8
%69 = load ptr, ptr %10, align 8
%70 = icmp ult ptr %68, %69
br i1 %70, label %71, label %73
71: ; preds = %67
%72 = load ptr, ptr %9, align 8
br label %75
73: ; preds = %67
%74 = load ptr, ptr %10, align 8
br label %75
75: ; preds = %73, %71
%76 = phi ptr [ %72, %71 ], [ %74, %73 ]
store ptr %76, ptr %9, align 8
br label %77
77: ; preds = %75, %65
br label %78
78: ; preds = %77, %51
br label %79
79: ; preds = %78
%80 = load i32, ptr %8, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %8, align 4
br label %38, !llvm.loop !6
82: ; preds = %49
%83 = load ptr, ptr %9, align 8
%84 = icmp ne ptr %83, null
br i1 %84, label %85, label %93
85: ; preds = %82
%86 = load ptr, ptr %5, align 8
%87 = load ptr, ptr %9, align 8
%88 = load ptr, ptr %11, align 8
%89 = ptrtoint ptr %87 to i64
%90 = ptrtoint ptr %88 to i64
%91 = sub i64 %89, %90
%92 = getelementptr inbounds i8, ptr %86, i64 %91
store ptr %92, ptr %9, align 8
br label %93
93: ; preds = %85, %82
%94 = load ptr, ptr %11, align 8
%95 = call i32 @free(ptr noundef %94)
%96 = load ptr, ptr %9, align 8
store ptr %96, ptr %4, align 8
br label %97
97: ; preds = %93, %27, %17
%98 = load ptr, ptr %4, align 8
ret ptr %98
}
declare i64 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpdv101im3.c'
source_filename = "/tmp/tmpdv101im3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @itoa(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp slt i32 %11, 0
%13 = zext i1 %12 to i64
%14 = select i1 %12, i32 1, i32 0
store i32 %14, ptr %10, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %2
%18 = load i32, ptr %3, align 4
%19 = mul nsw i32 %18, -1
br label %22
20: ; preds = %2
%21 = load i32, ptr %3, align 4
br label %22
22: ; preds = %20, %17
%23 = phi i32 [ %19, %17 ], [ %21, %20 ]
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %10, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %22
%27 = load i32, ptr %7, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %7, align 4
br label %29
29: ; preds = %26, %22
br label %30
30: ; preds = %39, %29
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %4, align 4
%33 = srem i32 %31, %32
store i32 %33, ptr %6, align 4
%34 = load i32, ptr %7, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %7, align 4
%36 = load i32, ptr %4, align 4
%37 = load i32, ptr %5, align 4
%38 = sdiv i32 %37, %36
store i32 %38, ptr %5, align 4
br label %39
39: ; preds = %30
%40 = load i32, ptr %5, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %30, label %42, !llvm.loop !6
42: ; preds = %39
%43 = load i32, ptr %7, align 4
%44 = add nsw i32 %43, 1
%45 = call i64 @malloc(i32 noundef %44)
%46 = inttoptr i64 %45 to ptr
store ptr %46, ptr %9, align 8
%47 = load i32, ptr %7, align 4
store i32 %47, ptr %8, align 4
%48 = load i32, ptr %3, align 4
%49 = icmp slt i32 %48, 0
br i1 %49, label %50, label %53
50: ; preds = %42
%51 = load i32, ptr %3, align 4
%52 = mul nsw i32 %51, -1
br label %55
53: ; preds = %42
%54 = load i32, ptr %3, align 4
br label %55
55: ; preds = %53, %50
%56 = phi i32 [ %52, %50 ], [ %54, %53 ]
store i32 %56, ptr %5, align 4
%57 = load ptr, ptr %9, align 8
%58 = load i32, ptr %8, align 4
%59 = add nsw i32 %58, -1
store i32 %59, ptr %8, align 4
%60 = sext i32 %58 to i64
%61 = getelementptr inbounds i8, ptr %57, i64 %60
store i8 0, ptr %61, align 1
br label %62
62: ; preds = %91, %55
%63 = load i32, ptr %5, align 4
%64 = load i32, ptr %4, align 4
%65 = srem i32 %63, %64
store i32 %65, ptr %6, align 4
%66 = load i32, ptr %6, align 4
%67 = icmp slt i32 %66, 10
br i1 %67, label %68, label %77
68: ; preds = %62
%69 = load i32, ptr %6, align 4
%70 = add nsw i32 48, %69
%71 = trunc i32 %70 to i8
%72 = load ptr, ptr %9, align 8
%73 = load i32, ptr %8, align 4
%74 = add nsw i32 %73, -1
store i32 %74, ptr %8, align 4
%75 = sext i32 %73 to i64
%76 = getelementptr inbounds i8, ptr %72, i64 %75
store i8 %71, ptr %76, align 1
br label %87
77: ; preds = %62
%78 = load i32, ptr %6, align 4
%79 = add nsw i32 65, %78
%80 = sub nsw i32 %79, 10
%81 = trunc i32 %80 to i8
%82 = load ptr, ptr %9, align 8
%83 = load i32, ptr %8, align 4
%84 = add nsw i32 %83, -1
store i32 %84, ptr %8, align 4
%85 = sext i32 %83 to i64
%86 = getelementptr inbounds i8, ptr %82, i64 %85
store i8 %81, ptr %86, align 1
br label %87
87: ; preds = %77, %68
%88 = load i32, ptr %4, align 4
%89 = load i32, ptr %5, align 4
%90 = sdiv i32 %89, %88
store i32 %90, ptr %5, align 4
br label %91
91: ; preds = %87
%92 = load i32, ptr %5, align 4
%93 = icmp ne i32 %92, 0
br i1 %93, label %62, label %94, !llvm.loop !8
94: ; preds = %91
%95 = load i32, ptr %10, align 4
%96 = icmp ne i32 %95, 0
br i1 %96, label %97, label %102
97: ; preds = %94
%98 = load ptr, ptr %9, align 8
%99 = load i32, ptr %8, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i8, ptr %98, i64 %100
store i8 45, ptr %101, align 1
br label %102
102: ; preds = %97, %94
%103 = load ptr, ptr %9, align 8
ret ptr %103
}
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/tmpdv101im3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @itoa(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp slt i32 %11, 0
%13 = zext i1 %12 to i64
%14 = select i1 %12, i32 1, i32 0
store i32 %14, ptr %10, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %2
%18 = load i32, ptr %3, align 4
%19 = mul nsw i32 %18, -1
br label %22
20: ; preds = %2
%21 = load i32, ptr %3, align 4
br label %22
22: ; preds = %20, %17
%23 = phi i32 [ %19, %17 ], [ %21, %20 ]
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %10, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %22
%27 = load i32, ptr %7, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %7, align 4
br label %29
29: ; preds = %26, %22
br label %30
30: ; preds = %39, %29
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %4, align 4
%33 = srem i32 %31, %32
store i32 %33, ptr %6, align 4
%34 = load i32, ptr %7, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %7, align 4
%36 = load i32, ptr %4, align 4
%37 = load i32, ptr %5, align 4
%38 = sdiv i32 %37, %36
store i32 %38, ptr %5, align 4
br label %39
39: ; preds = %30
%40 = load i32, ptr %5, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %30, label %42, !llvm.loop !6
42: ; preds = %39
%43 = load i32, ptr %7, align 4
%44 = add nsw i32 %43, 1
%45 = call i64 @malloc(i32 noundef %44)
%46 = inttoptr i64 %45 to ptr
store ptr %46, ptr %9, align 8
%47 = load i32, ptr %7, align 4
store i32 %47, ptr %8, align 4
%48 = load i32, ptr %3, align 4
%49 = icmp slt i32 %48, 0
br i1 %49, label %50, label %53
50: ; preds = %42
%51 = load i32, ptr %3, align 4
%52 = mul nsw i32 %51, -1
br label %55
53: ; preds = %42
%54 = load i32, ptr %3, align 4
br label %55
55: ; preds = %53, %50
%56 = phi i32 [ %52, %50 ], [ %54, %53 ]
store i32 %56, ptr %5, align 4
%57 = load ptr, ptr %9, align 8
%58 = load i32, ptr %8, align 4
%59 = add nsw i32 %58, -1
store i32 %59, ptr %8, align 4
%60 = sext i32 %58 to i64
%61 = getelementptr inbounds i8, ptr %57, i64 %60
store i8 0, ptr %61, align 1
br label %62
62: ; preds = %91, %55
%63 = load i32, ptr %5, align 4
%64 = load i32, ptr %4, align 4
%65 = srem i32 %63, %64
store i32 %65, ptr %6, align 4
%66 = load i32, ptr %6, align 4
%67 = icmp slt i32 %66, 10
br i1 %67, label %68, label %77
68: ; preds = %62
%69 = load i32, ptr %6, align 4
%70 = add nsw i32 48, %69
%71 = trunc i32 %70 to i8
%72 = load ptr, ptr %9, align 8
%73 = load i32, ptr %8, align 4
%74 = add nsw i32 %73, -1
store i32 %74, ptr %8, align 4
%75 = sext i32 %73 to i64
%76 = getelementptr inbounds i8, ptr %72, i64 %75
store i8 %71, ptr %76, align 1
br label %87
77: ; preds = %62
%78 = load i32, ptr %6, align 4
%79 = add nsw i32 65, %78
%80 = sub nsw i32 %79, 10
%81 = trunc i32 %80 to i8
%82 = load ptr, ptr %9, align 8
%83 = load i32, ptr %8, align 4
%84 = add nsw i32 %83, -1
store i32 %84, ptr %8, align 4
%85 = sext i32 %83 to i64
%86 = getelementptr inbounds i8, ptr %82, i64 %85
store i8 %81, ptr %86, align 1
br label %87
87: ; preds = %77, %68
%88 = load i32, ptr %4, align 4
%89 = load i32, ptr %5, align 4
%90 = sdiv i32 %89, %88
store i32 %90, ptr %5, align 4
br label %91
91: ; preds = %87
%92 = load i32, ptr %5, align 4
%93 = icmp ne i32 %92, 0
br i1 %93, label %62, label %94, !llvm.loop !8
94: ; preds = %91
%95 = load i32, ptr %10, align 4
%96 = icmp ne i32 %95, 0
br i1 %96, label %97, label %102
97: ; preds = %94
%98 = load ptr, ptr %9, align 8
%99 = load i32, ptr %8, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i8, ptr %98, i64 %100
store i8 45, ptr %101, align 1
br label %102
102: ; preds = %97, %94
%103 = load ptr, ptr %9, align 8
ret ptr %103
}
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/tmp9xeivas1.c'
source_filename = "/tmp/tmp9xeivas1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @close_inherited_fds(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %3, align 4
store i32 %6, ptr %5, align 4
br label %7
7: ; preds = %14, %2
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %11, label %17
11: ; preds = %7
%12 = load i32, ptr %5, align 4
%13 = call i32 @close(i32 noundef %12)
br label %14
14: ; preds = %11
%15 = load i32, ptr %5, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %5, align 4
br label %7, !llvm.loop !6
17: ; preds = %7
ret i32 0
}
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9xeivas1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @close_inherited_fds(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %3, align 4
store i32 %6, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp sle i32 %7, %8
br i1 %9, label %.lr.ph, label %19
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %13
%11 = load i32, ptr %5, align 4
%12 = call i32 @close(i32 noundef %11)
br label %13
13: ; preds = %10
%14 = load i32, ptr %5, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %5, align 4
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp sle i32 %16, %17
br i1 %18, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %19
19: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2pwtbofn.c'
source_filename = "/tmp/tmp2pwtbofn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add_reg32_reg32(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = call i32 @put8(i32 noundef 1)
%6 = load i64, ptr %4, align 8
%7 = shl i64 %6, 3
%8 = or i64 192, %7
%9 = load i64, ptr %3, align 8
%10 = or i64 %8, %9
%11 = trunc i64 %10 to i32
%12 = call i32 @put8(i32 noundef %11)
ret void
}
declare i32 @put8(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/tmp2pwtbofn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add_reg32_reg32(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = call i32 @put8(i32 noundef 1)
%6 = load i64, ptr %4, align 8
%7 = shl i64 %6, 3
%8 = or i64 192, %7
%9 = load i64, ptr %3, align 8
%10 = or i64 %8, %9
%11 = trunc i64 %10 to i32
%12 = call i32 @put8(i32 noundef %11)
ret void
}
declare i32 @put8(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/tmpv354_as3.c'
source_filename = "/tmp/tmpv354_as3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @foo()
%3 = icmp ne i32 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %0
%5 = call i32 (...) @abort() #3
unreachable
6: ; preds = %0
ret i32 0
}
declare i32 @foo(...) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv354_as3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @foo()
%3 = icmp ne i32 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %0
%5 = call i32 (...) @abort() #3
unreachable
6: ; preds = %0
ret i32 0
}
declare i32 @foo(...) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnkft789w.c'
source_filename = "/tmp/tmpnkft789w.c"
target datalayout = "e-m:e-p270: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/tmpnkft789w.c"
target datalayout = "e-m:e-p270: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/tmpqalb5489.c'
source_filename = "/tmp/tmpqalb5489.c"
target datalayout = "e-m:e-p270: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/tmpqalb5489.c"
target datalayout = "e-m:e-p270: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/tmp2heaqlrk.c'
source_filename = "/tmp/tmp2heaqlrk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [256 x double], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %17, %0
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 256
br i1 %6, label %7, label %20
7: ; preds = %4
%8 = load i32, ptr @M_PI, align 4
%9 = mul nsw i32 2, %8
%10 = load i32, ptr %3, align 4
%11 = mul nsw i32 %9, %10
%12 = sdiv i32 %11, 256
%13 = call double @sin(i32 noundef %12)
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [256 x double], ptr %2, i64 0, i64 %15
store double %13, ptr %16, align 8
br label %17
17: ; preds = %7
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
br label %4, !llvm.loop !6
20: ; preds = %4
%21 = load i32, ptr %1, align 4
ret i32 %21
}
declare double @sin(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/tmp2heaqlrk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [256 x double], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 256
br i1 %5, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %16
%7 = load i32, ptr @M_PI, align 4
%8 = mul nsw i32 2, %7
%9 = load i32, ptr %3, align 4
%10 = mul nsw i32 %8, %9
%11 = sdiv i32 %10, 256
%12 = call double @sin(i32 noundef %11)
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [256 x double], ptr %2, i64 0, i64 %14
store double %12, ptr %15, align 8
br label %16
16: ; preds = %6
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp slt i32 %19, 256
br i1 %20, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %0
%22 = load i32, ptr %1, align 4
ret i32 %22
}
declare double @sin(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/tmp3wsitpll.c'
source_filename = "/tmp/tmp3wsitpll.c"
target datalayout = "e-m:e-p270: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/tmp3wsitpll.c"
target datalayout = "e-m:e-p270: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/tmpy7_bajbv.c'
source_filename = "/tmp/tmpy7_bajbv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jpath_incindex(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i64 @jpath_getindex(ptr noundef %6)
%8 = load i64, ptr %4, align 8
%9 = add i64 %7, %8
%10 = call ptr @jpath_setindex(ptr noundef %5, i64 noundef %9)
ret ptr %10
}
declare ptr @jpath_setindex(ptr noundef, i64 noundef) #1
declare i64 @jpath_getindex(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy7_bajbv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jpath_incindex(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i64 @jpath_getindex(ptr noundef %6)
%8 = load i64, ptr %4, align 8
%9 = add i64 %7, %8
%10 = call ptr @jpath_setindex(ptr noundef %5, i64 noundef %9)
ret ptr %10
}
declare ptr @jpath_setindex(ptr noundef, i64 noundef) #1
declare i64 @jpath_getindex(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp67bg7r6c.c'
source_filename = "/tmp/tmp67bg7r6c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @gmx_spatial(i32 noundef %6, ptr noundef %7)
ret i32 0
}
declare i32 @gmx_spatial(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/tmp67bg7r6c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @gmx_spatial(i32 noundef %6, ptr noundef %7)
ret i32 0
}
declare i32 @gmx_spatial(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/tmp3s23ygxw.c'
source_filename = "/tmp/tmp3s23ygxw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strequ(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %5, align 8
%8 = call i64 @strcmp(ptr noundef %6, ptr noundef %7)
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 1, ptr %3, align 4
br label %12
11: ; preds = %2
store i32 0, ptr %3, align 4
br label %12
12: ; preds = %11, %10
%13 = load i32, ptr %3, align 4
ret i32 %13
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3s23ygxw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strequ(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %5, align 8
%8 = call i64 @strcmp(ptr noundef %6, ptr noundef %7)
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 1, ptr %3, align 4
br label %12
11: ; preds = %2
store i32 0, ptr %3, align 4
br label %12
12: ; preds = %11, %10
%13 = load i32, ptr %3, align 4
ret i32 %13
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzvvb924j.c'
source_filename = "/tmp/tmpzvvb924j.c"
target datalayout = "e-m:e-p270: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/tmpzvvb924j.c"
target datalayout = "e-m:e-p270: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/tmp3k1x42t0.c'
source_filename = "/tmp/tmp3k1x42t0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [31 x i8] c"Error while opening the file.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@EOF = dso_local global i8 0, align 1
@.str.2 = private unnamed_addr constant [48 x i8] c" \09\0A\0D.,:;`/\22+-_(){}[]<>*&^%$#@!?~/|\\=1234567890\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @init_corpus_from_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
%4 = alloca [100 x i8], align 16
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
%10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str)
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %17
13: ; preds = %1
%14 = call i32 @perror(ptr noundef @.str.1)
%15 = load i32, ptr @EXIT_FAILURE, align 4
%16 = call i32 @exit(i32 noundef %15) #3
unreachable
17: ; preds = %1
store i32 0, ptr %6, align 4
br label %18
18: ; preds = %61, %60, %50, %17
%19 = load ptr, ptr %5, align 8
%20 = call signext i8 @fgetc(ptr noundef %19)
store i8 %20, ptr %3, align 1
%21 = sext i8 %20 to i32
%22 = load i8, ptr @EOF, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %21, %23
br i1 %24, label %25, label %67
25: ; preds = %18
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %26
26: ; preds = %44, %25
%27 = load i32, ptr %8, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [48 x i8], ptr @.str.2, i64 0, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp ne i32 %31, 0
br i1 %32, label %33, label %47
33: ; preds = %26
%34 = load i32, ptr %8, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [48 x i8], ptr @.str.2, i64 0, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = load i8, ptr %3, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %38, %40
br i1 %41, label %42, label %43
42: ; preds = %33
store i32 1, ptr %7, align 4
br label %47
43: ; preds = %33
br label %44
44: ; preds = %43
%45 = load i32, ptr %8, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %8, align 4
br label %26, !llvm.loop !6
47: ; preds = %42, %26
%48 = load i32, ptr %7, align 4
%49 = icmp ne i32 %48, 0
br i1 %49, label %57, label %50
50: ; preds = %47
%51 = load i8, ptr %3, align 1
%52 = load i32, ptr %6, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %53
store i8 %51, ptr %54, align 1
%55 = load i32, ptr %6, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %6, align 4
br label %18, !llvm.loop !8
57: ; preds = %47
%58 = load i32, ptr %6, align 4
%59 = icmp ne i32 %58, 0
br i1 %59, label %61, label %60
60: ; preds = %57
br label %18, !llvm.loop !8
61: ; preds = %57
%62 = load i32, ptr %6, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %63
store i8 0, ptr %64, align 1
store i32 0, ptr %6, align 4
%65 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%66 = call i32 @hash_table_add(ptr noundef %65)
br label %18, !llvm.loop !8
67: ; preds = %18
%68 = load ptr, ptr %5, align 8
%69 = call i32 @fclose(ptr noundef %68)
ret i32 1
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare signext i8 @fgetc(ptr noundef) #1
declare i32 @hash_table_add(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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3k1x42t0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [31 x i8] c"Error while opening the file.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@EOF = dso_local global i8 0, align 1
@.str.2 = private unnamed_addr constant [48 x i8] c" \09\0A\0D.,:;`/\22+-_(){}[]<>*&^%$#@!?~/|\\=1234567890\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @init_corpus_from_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
%4 = alloca [100 x i8], align 16
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
%10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str)
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %17
13: ; preds = %1
%14 = call i32 @perror(ptr noundef @.str.1)
%15 = load i32, ptr @EXIT_FAILURE, align 4
%16 = call i32 @exit(i32 noundef %15) #3
unreachable
17: ; preds = %1
store i32 0, ptr %6, align 4
%18 = load ptr, ptr %5, align 8
%19 = call signext i8 @fgetc(ptr noundef %18)
store i8 %19, ptr %3, align 1
%20 = sext i8 %19 to i32
%21 = load i8, ptr @EOF, align 1
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %20, %22
br i1 %23, label %.lr.ph1, label %77
.lr.ph1: ; preds = %17
br label %24
24: ; preds = %.lr.ph1, %.backedge
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%25 = load i32, ptr %8, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [48 x i8], ptr @.str.2, i64 0, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp ne i32 %29, 0
br i1 %30, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %24
br label %31
31: ; preds = %.lr.ph, %42
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [48 x i8], ptr @.str.2, i64 0, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = load i8, ptr %3, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %36, %38
br i1 %39, label %40, label %41
40: ; preds = %31
store i32 1, ptr %7, align 4
br label %51
41: ; preds = %31
br label %42
42: ; preds = %41
%43 = load i32, ptr %8, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %8, align 4
%45 = load i32, ptr %8, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [48 x i8], ptr @.str.2, i64 0, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp ne i32 %49, 0
br i1 %50, label %31, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %42
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %24
br label %51
51: ; preds = %.loopexit, %40
%52 = load i32, ptr %7, align 4
%53 = icmp ne i32 %52, 0
br i1 %53, label %67, label %54
54: ; preds = %51
%55 = load i8, ptr %3, align 1
%56 = load i32, ptr %6, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %57
store i8 %55, ptr %58, align 1
%59 = load i32, ptr %6, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %6, align 4
br label %.backedge
.backedge: ; preds = %54, %70, %71
%61 = load ptr, ptr %5, align 8
%62 = call signext i8 @fgetc(ptr noundef %61)
store i8 %62, ptr %3, align 1
%63 = sext i8 %62 to i32
%64 = load i8, ptr @EOF, align 1
%65 = sext i8 %64 to i32
%66 = icmp ne i32 %63, %65
br i1 %66, label %24, label %._crit_edge, !llvm.loop !8
67: ; preds = %51
%68 = load i32, ptr %6, align 4
%69 = icmp ne i32 %68, 0
br i1 %69, label %71, label %70
70: ; preds = %67
br label %.backedge
71: ; preds = %67
%72 = load i32, ptr %6, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %73
store i8 0, ptr %74, align 1
store i32 0, ptr %6, align 4
%75 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%76 = call i32 @hash_table_add(ptr noundef %75)
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %77
77: ; preds = %._crit_edge, %17
%78 = load ptr, ptr %5, align 8
%79 = call i32 @fclose(ptr noundef %78)
ret i32 1
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare signext i8 @fgetc(ptr noundef) #1
declare i32 @hash_table_add(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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp2xayl2ms.c'
source_filename = "/tmp/tmp2xayl2ms.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @can_print_it(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 i64 @isalpha(i8 noundef signext %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load i8, ptr %2, align 1
%8 = call i64 @isdigit(i8 noundef signext %7)
%9 = icmp ne i64 %8, 0
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ true, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i32
ret i32 %12
}
declare i64 @isalpha(i8 noundef signext) #1
declare i64 @isdigit(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2xayl2ms.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @can_print_it(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 i64 @isalpha(i8 noundef signext %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load i8, ptr %2, align 1
%8 = call i64 @isdigit(i8 noundef signext %7)
%9 = icmp ne i64 %8, 0
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ true, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i32
ret i32 %12
}
declare i64 @isalpha(i8 noundef signext) #1
declare i64 @isdigit(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7564tz75.c'
source_filename = "/tmp/tmp7564tz75.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"The address of a is %p\0AThe value of aPtr is %p\00", align 1
@.str.1 = private unnamed_addr constant [48 x i8] c"\0A\0AThe value of a is %d\0AThe value of *aPtr is %d\00", align 1
@.str.2 = private unnamed_addr constant [78 x i8] c"\0A\0AShowing that * and & are complements of each other\0A&*aPtr = %p\0A*&aPtr = %p\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 ptr, align 8
store i32 0, ptr %1, align 4
store i32 7, ptr %2, align 4
store ptr %2, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %2, ptr noundef %4)
%6 = load i32, ptr %2, align 4
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %7, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6, i32 noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr %3, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %10, ptr noundef %11)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7564tz75.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"The address of a is %p\0AThe value of aPtr is %p\00", align 1
@.str.1 = private unnamed_addr constant [48 x i8] c"\0A\0AThe value of a is %d\0AThe value of *aPtr is %d\00", align 1
@.str.2 = private unnamed_addr constant [78 x i8] c"\0A\0AShowing that * and & are complements of each other\0A&*aPtr = %p\0A*&aPtr = %p\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 ptr, align 8
store i32 0, ptr %1, align 4
store i32 7, ptr %2, align 4
store ptr %2, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %2, ptr noundef %4)
%6 = load i32, ptr %2, align 4
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %7, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6, i32 noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr %3, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %10, ptr noundef %11)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2hke_1ls.c'
source_filename = "/tmp/tmp2hke_1ls.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = 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 ptr, align 8
store i32 0, ptr %1, align 4
%5 = call i64 @legge(ptr noundef %4, ptr noundef %3)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %0
store i32 1, ptr %1, align 4
br label %31
8: ; preds = %0
%9 = call i32 @time(ptr noundef null)
%10 = call i32 @srand(i32 noundef %9)
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %3, align 4
%13 = sub nsw i32 %12, 1
%14 = call i32 @quicksort(ptr noundef %11, i32 noundef 0, i32 noundef %13)
store i32 0, ptr %2, align 4
br label %15
15: ; preds = %26, %8
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %29
19: ; preds = %15
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %2, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load i32, ptr %23, align 4
%25 = call i32 @printf(ptr noundef @.str, i32 noundef %24)
br label %26
26: ; preds = %19
%27 = load i32, ptr %2, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %2, align 4
br label %15, !llvm.loop !6
29: ; preds = %15
%30 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
store i32 0, ptr %1, align 4
br label %31
31: ; preds = %29, %7
%32 = load i32, ptr %1, align 4
ret i32 %32
}
declare i64 @legge(ptr noundef, ptr noundef) #1
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @quicksort(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 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/tmp2hke_1ls.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = 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 ptr, align 8
store i32 0, ptr %1, align 4
%5 = call i64 @legge(ptr noundef %4, ptr noundef %3)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %0
store i32 1, ptr %1, align 4
br label %33
8: ; preds = %0
%9 = call i32 @time(ptr noundef null)
%10 = call i32 @srand(i32 noundef %9)
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %3, align 4
%13 = sub nsw i32 %12, 1
%14 = call i32 @quicksort(ptr noundef %11, i32 noundef 0, i32 noundef %13)
store i32 0, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %31
.lr.ph: ; preds = %8
br label %18
18: ; preds = %.lr.ph, %25
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %2, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = call i32 @printf(ptr noundef @.str, i32 noundef %23)
br label %25
25: ; preds = %18
%26 = load i32, ptr %2, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %2, align 4
%28 = load i32, ptr %2, align 4
%29 = load i32, ptr %3, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %8
%32 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
store i32 0, ptr %1, align 4
br label %33
33: ; preds = %31, %7
%34 = load i32, ptr %1, align 4
ret i32 %34
}
declare i64 @legge(ptr noundef, ptr noundef) #1
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @quicksort(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 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/tmpl9k4nq3s.c'
source_filename = "/tmp/tmpl9k4nq3s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EBADF = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr @EBADF, align 4
store i32 %10, ptr @errno, align 4
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl9k4nq3s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EBADF = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr @EBADF, align 4
store i32 %10, ptr @errno, align 4
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprcet_1od.c'
source_filename = "/tmp/tmprcet_1od.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @number(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %11
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = load i8, ptr %8, align 1
%10 = icmp ne i8 %9, 0
br i1 %10, label %12, label %11
11: ; preds = %7, %1
store i32 0, ptr %2, align 4
br label %34
12: ; preds = %7
%13 = load ptr, ptr %3, align 8
%14 = call i32 @atoul(ptr noundef %13)
store i32 %14, ptr %4, align 4
%15 = load ptr, ptr %3, align 8
%16 = load ptr, ptr %3, align 8
%17 = call i32 @strlen(ptr noundef %16)
%18 = sub nsw i32 %17, 1
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %15, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
switch i32 %22, label %32 [
i32 71, label %23
i32 103, label %23
i32 77, label %26
i32 109, label %26
i32 107, label %29
i32 75, label %29
]
23: ; preds = %12, %12
%24 = load i32, ptr %4, align 4
%25 = mul nsw i32 %24, 1024
store i32 %25, ptr %4, align 4
br label %26
26: ; preds = %12, %12, %23
%27 = load i32, ptr %4, align 4
%28 = mul nsw i32 %27, 1024
store i32 %28, ptr %4, align 4
br label %29
29: ; preds = %12, %12, %26
%30 = load i32, ptr %4, align 4
%31 = mul nsw i32 %30, 1024
store i32 %31, ptr %4, align 4
br label %32
32: ; preds = %12, %29
%33 = load i32, ptr %4, align 4
store i32 %33, ptr %2, align 4
br label %34
34: ; preds = %32, %11
%35 = load i32, ptr %2, align 4
ret i32 %35
}
declare i32 @atoul(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprcet_1od.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @number(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %11
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = load i8, ptr %8, align 1
%10 = icmp ne i8 %9, 0
br i1 %10, label %12, label %11
11: ; preds = %7, %1
store i32 0, ptr %2, align 4
br label %34
12: ; preds = %7
%13 = load ptr, ptr %3, align 8
%14 = call i32 @atoul(ptr noundef %13)
store i32 %14, ptr %4, align 4
%15 = load ptr, ptr %3, align 8
%16 = load ptr, ptr %3, align 8
%17 = call i32 @strlen(ptr noundef %16)
%18 = sub nsw i32 %17, 1
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %15, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
switch i32 %22, label %32 [
i32 71, label %23
i32 103, label %23
i32 77, label %26
i32 109, label %26
i32 107, label %29
i32 75, label %29
]
23: ; preds = %12, %12
%24 = load i32, ptr %4, align 4
%25 = mul nsw i32 %24, 1024
store i32 %25, ptr %4, align 4
br label %26
26: ; preds = %23, %12, %12
%27 = load i32, ptr %4, align 4
%28 = mul nsw i32 %27, 1024
store i32 %28, ptr %4, align 4
br label %29
29: ; preds = %26, %12, %12
%30 = load i32, ptr %4, align 4
%31 = mul nsw i32 %30, 1024
store i32 %31, ptr %4, align 4
br label %32
32: ; preds = %29, %12
%33 = load i32, ptr %4, align 4
store i32 %33, ptr %2, align 4
br label %34
34: ; preds = %32, %11
%35 = load i32, ptr %2, align 4
ret i32 %35
}
declare i32 @atoul(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxv4nrxg0.c'
source_filename = "/tmp/tmpxv4nrxg0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strnlen(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %12, label %11
11: ; preds = %2
store i64 0, ptr %3, align 8
br label %34
12: ; preds = %2
%13 = load ptr, ptr %4, align 8
store ptr %13, ptr %6, align 8
%14 = load ptr, ptr %4, align 8
%15 = load i64, ptr %5, align 8
%16 = getelementptr inbounds i8, ptr %14, i64 %15
store ptr %16, ptr %7, align 8
store i64 0, ptr %8, align 8
br label %17
17: ; preds = %29, %12
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %7, align 8
%20 = icmp ult ptr %18, %19
br i1 %20, label %21, label %27
21: ; preds = %17
%22 = load ptr, ptr %6, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %6, align 8
%24 = load i8, ptr %22, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 0
br label %27
27: ; preds = %21, %17
%28 = phi i1 [ false, %17 ], [ %26, %21 ]
br i1 %28, label %29, label %32
29: ; preds = %27
%30 = load i64, ptr %8, align 8
%31 = add i64 %30, 1
store i64 %31, ptr %8, align 8
br label %17, !llvm.loop !6
32: ; preds = %27
%33 = load i64, ptr %8, align 8
store i64 %33, ptr %3, align 8
br label %34
34: ; preds = %32, %11
%35 = load i64, ptr %3, align 8
ret i64 %35
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpxv4nrxg0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strnlen(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %12, label %11
11: ; preds = %2
store i64 0, ptr %3, align 8
br label %34
12: ; preds = %2
%13 = load ptr, ptr %4, align 8
store ptr %13, ptr %6, align 8
%14 = load ptr, ptr %4, align 8
%15 = load i64, ptr %5, align 8
%16 = getelementptr inbounds i8, ptr %14, i64 %15
store ptr %16, ptr %7, align 8
store i64 0, ptr %8, align 8
br label %17
17: ; preds = %29, %12
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %7, align 8
%20 = icmp ult ptr %18, %19
br i1 %20, label %21, label %27
21: ; preds = %17
%22 = load ptr, ptr %6, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %6, align 8
%24 = load i8, ptr %22, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 0
br label %27
27: ; preds = %21, %17
%28 = phi i1 [ false, %17 ], [ %26, %21 ]
br i1 %28, label %29, label %32
29: ; preds = %27
%30 = load i64, ptr %8, align 8
%31 = add i64 %30, 1
store i64 %31, ptr %8, align 8
br label %17, !llvm.loop !6
32: ; preds = %27
%33 = load i64, ptr %8, align 8
store i64 %33, ptr %3, align 8
br label %34
34: ; preds = %32, %11
%35 = load i64, ptr %3, align 8
ret i64 %35
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpzpeyymw9.c'
source_filename = "/tmp/tmpzpeyymw9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8
%2 = call ptr @d1(i32 noundef 706)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = call i32 @free(ptr noundef %3)
%5 = call i32 @d2(i32 noundef 5)
%6 = call i32 @c2(i32 noundef 30)
%7 = call i32 @b2(i32 noundef 20)
%8 = call i32 @f(i32 noundef 10)
%9 = call i32 @l(i32 noundef 60)
%10 = call i32 @n1(i32 noundef 30)
%11 = call i32 @o(i32 noundef 20)
%12 = call i32 @q(i32 noundef 7)
%13 = call i32 @r(i32 noundef 3)
%14 = call i32 @s5(i32 noundef 30)
%15 = call i32 @t(i32 noundef 20)
%16 = call i32 @u(i32 noundef 19)
%17 = call i32 @w(i32 noundef 9)
%18 = call i32 @x(i32 noundef 8)
%19 = call i32 @y(i32 noundef 7)
%20 = call i32 @z(i32 noundef 5)
%21 = call i32 @z(i32 noundef 1)
%22 = call i32 @malloc(i32 noundef 10)
ret i32 0
}
declare ptr @d1(i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @d2(i32 noundef) #1
declare i32 @c2(i32 noundef) #1
declare i32 @b2(i32 noundef) #1
declare i32 @f(i32 noundef) #1
declare i32 @l(i32 noundef) #1
declare i32 @n1(i32 noundef) #1
declare i32 @o(i32 noundef) #1
declare i32 @q(i32 noundef) #1
declare i32 @r(i32 noundef) #1
declare i32 @s5(i32 noundef) #1
declare i32 @t(i32 noundef) #1
declare i32 @u(i32 noundef) #1
declare i32 @w(i32 noundef) #1
declare i32 @x(i32 noundef) #1
declare i32 @y(i32 noundef) #1
declare i32 @z(i32 noundef) #1
declare i32 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzpeyymw9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8
%2 = call ptr @d1(i32 noundef 706)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = call i32 @free(ptr noundef %3)
%5 = call i32 @d2(i32 noundef 5)
%6 = call i32 @c2(i32 noundef 30)
%7 = call i32 @b2(i32 noundef 20)
%8 = call i32 @f(i32 noundef 10)
%9 = call i32 @l(i32 noundef 60)
%10 = call i32 @n1(i32 noundef 30)
%11 = call i32 @o(i32 noundef 20)
%12 = call i32 @q(i32 noundef 7)
%13 = call i32 @r(i32 noundef 3)
%14 = call i32 @s5(i32 noundef 30)
%15 = call i32 @t(i32 noundef 20)
%16 = call i32 @u(i32 noundef 19)
%17 = call i32 @w(i32 noundef 9)
%18 = call i32 @x(i32 noundef 8)
%19 = call i32 @y(i32 noundef 7)
%20 = call i32 @z(i32 noundef 5)
%21 = call i32 @z(i32 noundef 1)
%22 = call i32 @malloc(i32 noundef 10)
ret i32 0
}
declare ptr @d1(i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @d2(i32 noundef) #1
declare i32 @c2(i32 noundef) #1
declare i32 @b2(i32 noundef) #1
declare i32 @f(i32 noundef) #1
declare i32 @l(i32 noundef) #1
declare i32 @n1(i32 noundef) #1
declare i32 @o(i32 noundef) #1
declare i32 @q(i32 noundef) #1
declare i32 @r(i32 noundef) #1
declare i32 @s5(i32 noundef) #1
declare i32 @t(i32 noundef) #1
declare i32 @u(i32 noundef) #1
declare i32 @w(i32 noundef) #1
declare i32 @x(i32 noundef) #1
declare i32 @y(i32 noundef) #1
declare i32 @z(i32 noundef) #1
declare i32 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyp6r9iiz.c'
source_filename = "/tmp/tmpyp6r9iiz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gb_angle_diff(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%6 = load float, ptr %4, align 4
%7 = load float, ptr %3, align 4
%8 = fsub float %6, %7
%9 = call float @gb_mod(float noundef %8, float noundef 0x401921FB60000000)
store float %9, ptr %5, align 4
%10 = load float, ptr %5, align 4
%11 = fadd float %10, 0x4022D97C80000000
%12 = call float @gb_mod(float noundef %11, float noundef 0x401921FB60000000)
store float %12, ptr %5, align 4
%13 = load float, ptr %5, align 4
%14 = fsub float %13, 0x400921FB60000000
store float %14, ptr %5, align 4
%15 = load float, ptr %5, align 4
ret float %15
}
declare float @gb_mod(float noundef, 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/tmpyp6r9iiz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gb_angle_diff(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%6 = load float, ptr %4, align 4
%7 = load float, ptr %3, align 4
%8 = fsub float %6, %7
%9 = call float @gb_mod(float noundef %8, float noundef 0x401921FB60000000)
store float %9, ptr %5, align 4
%10 = load float, ptr %5, align 4
%11 = fadd float %10, 0x4022D97C80000000
%12 = call float @gb_mod(float noundef %11, float noundef 0x401921FB60000000)
store float %12, ptr %5, align 4
%13 = load float, ptr %5, align 4
%14 = fsub float %13, 0x400921FB60000000
store float %14, ptr %5, align 4
%15 = load float, ptr %5, align 4
ret float %15
}
declare float @gb_mod(float noundef, 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/tmpqn5l8xxg.c'
source_filename = "/tmp/tmpqn5l8xxg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rev(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 @rev_masks(i32 noundef %3)
ret i32 %4
}
declare i32 @rev_masks(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/tmpqn5l8xxg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rev(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 @rev_masks(i32 noundef %3)
ret i32 %4
}
declare i32 @rev_masks(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/tmpp5cu7n6j.c'
source_filename = "/tmp/tmpp5cu7n6j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [1048 x i32], align 16
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %7, %0
%4 = getelementptr inbounds [1048 x i32], ptr %2, i64 0, i64 2
%5 = load i32, ptr %4, align 8
%6 = icmp sge i32 %5, 0
br i1 %6, label %7, label %14
7: ; preds = %3
%8 = getelementptr inbounds [1048 x i32], ptr %2, i64 0, i64 2
%9 = load i32, ptr %8, align 8
%10 = sub nsw i32 %9, 1
%11 = getelementptr inbounds [1048 x i32], ptr %2, i64 0, i64 2
store i32 %10, ptr %11, align 8
%12 = call i32 (...) @__VERIFIER_nondet_int()
%13 = getelementptr inbounds [1048 x i32], ptr %2, i64 0, i64 2
store i32 %12, ptr %13, align 8
br label %3, !llvm.loop !6
14: ; preds = %3
ret i32 0
}
declare i32 @__VERIFIER_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpp5cu7n6j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [1048 x i32], align 16
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [1048 x i32], ptr %2, i64 0, i64 2
%4 = load i32, ptr %3, align 8
%5 = icmp sge i32 %4, 0
br i1 %5, label %.lr.ph, label %15
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %6
%7 = getelementptr inbounds [1048 x i32], ptr %2, i64 0, i64 2
%8 = load i32, ptr %7, align 8
%9 = sub nsw i32 %8, 1
%10 = getelementptr inbounds [1048 x i32], ptr %2, i64 0, i64 2
store i32 %9, ptr %10, align 8
%11 = call i32 (...) @__VERIFIER_nondet_int()
%12 = getelementptr inbounds [1048 x i32], ptr %2, i64 0, i64 2
store i32 %11, ptr %12, align 8
%13 = load i32, ptr %3, align 8
%14 = icmp sge i32 %13, 0
br i1 %14, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %15
15: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @__VERIFIER_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp1dq4oxem.c'
source_filename = "/tmp/tmp1dq4oxem.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XEvent_xgraphicsexpose_count(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store i32 %5, ptr %8, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1dq4oxem.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XEvent_xgraphicsexpose_count(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store i32 %5, ptr %8, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphjm7gfh9.c'
source_filename = "/tmp/tmphjm7gfh9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"A soma %d + %d \C3\A9 igual a %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %7, %8
%10 = call i32 @printf(ptr noundef @.str.1, i32 noundef %5, i32 noundef %6, i32 noundef %9)
ret i32 0
}
declare i32 @scanf(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphjm7gfh9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"A soma %d + %d \C3\A9 igual a %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %7, %8
%10 = call i32 @printf(ptr noundef @.str.1, i32 noundef %5, i32 noundef %6, i32 noundef %9)
ret i32 0
}
declare i32 @scanf(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"}
|
; ModuleID = '/tmp/tmp7bqsjbyo.c'
source_filename = "/tmp/tmp7bqsjbyo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vector_insert_make_room(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%11 = load i32, ptr %10, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp ult i32 %11, %12
br i1 %13, label %14, label %37
14: ; preds = %5
%15 = load ptr, ptr %6, align 8
%16 = load ptr, ptr %15, align 8
%17 = load i32, ptr %10, align 4
%18 = load i32, ptr %9, align 4
%19 = add i32 %17, %18
%20 = load i32, ptr %8, align 4
%21 = mul i32 %19, %20
%22 = zext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %16, i64 %22
%24 = load ptr, ptr %6, align 8
%25 = load ptr, ptr %24, align 8
%26 = load i32, ptr %10, align 4
%27 = load i32, ptr %8, align 4
%28 = mul i32 %26, %27
%29 = zext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %25, i64 %29
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr %10, align 4
%33 = sub i32 %31, %32
%34 = load i32, ptr %8, align 4
%35 = mul i32 %33, %34
%36 = call i32 @memmove(ptr noundef %23, ptr noundef %30, i32 noundef %35)
br label %37
37: ; preds = %14, %5
ret void
}
declare i32 @memmove(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/tmp7bqsjbyo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vector_insert_make_room(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%11 = load i32, ptr %10, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp ult i32 %11, %12
br i1 %13, label %14, label %37
14: ; preds = %5
%15 = load ptr, ptr %6, align 8
%16 = load ptr, ptr %15, align 8
%17 = load i32, ptr %10, align 4
%18 = load i32, ptr %9, align 4
%19 = add i32 %17, %18
%20 = load i32, ptr %8, align 4
%21 = mul i32 %19, %20
%22 = zext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %16, i64 %22
%24 = load ptr, ptr %6, align 8
%25 = load ptr, ptr %24, align 8
%26 = load i32, ptr %10, align 4
%27 = load i32, ptr %8, align 4
%28 = mul i32 %26, %27
%29 = zext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %25, i64 %29
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr %10, align 4
%33 = sub i32 %31, %32
%34 = load i32, ptr %8, align 4
%35 = mul i32 %33, %34
%36 = call i32 @memmove(ptr noundef %23, ptr noundef %30, i32 noundef %35)
br label %37
37: ; preds = %14, %5
ret void
}
declare i32 @memmove(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/tmpb3qodbvr.c'
source_filename = "/tmp/tmpb3qodbvr.c"
target datalayout = "e-m:e-p270: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/tmpb3qodbvr.c"
target datalayout = "e-m:e-p270: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/tmpkonnzj8p.c'
source_filename = "/tmp/tmpkonnzj8p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sd_login_monitor_new(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 i32, ptr @EINVAL, align 4
%6 = sub nsw i32 0, %5
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkonnzj8p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sd_login_monitor_new(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 i32, ptr @EINVAL, align 4
%6 = sub nsw i32 0, %5
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6dls3sid.c'
source_filename = "/tmp/tmp6dls3sid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@build_conninfo.conninfo = internal global [1024 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [9 x i8] c"dbname='\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"'\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c" user='\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c" password='\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c" host='\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c" port='\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @build_conninfo(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%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
store ptr %4, ptr %10, align 8
store i8 0, ptr @build_conninfo.conninfo, align 16
%11 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef @.str)
%12 = load ptr, ptr %6, align 8
%13 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef %12)
%14 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef @.str.1)
%15 = load ptr, ptr %7, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %22
17: ; preds = %5
%18 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef @.str.2)
%19 = load ptr, ptr %7, align 8
%20 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef %19)
%21 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef @.str.1)
br label %22
22: ; preds = %17, %5
%23 = load ptr, ptr %8, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %25, label %30
25: ; preds = %22
%26 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef @.str.3)
%27 = load ptr, ptr %8, align 8
%28 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef %27)
%29 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef @.str.1)
br label %30
30: ; preds = %25, %22
%31 = load ptr, ptr %9, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %33, label %38
33: ; preds = %30
%34 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef @.str.4)
%35 = load ptr, ptr %9, align 8
%36 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef %35)
%37 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef @.str.1)
br label %38
38: ; preds = %33, %30
%39 = load ptr, ptr %10, align 8
%40 = icmp ne ptr %39, null
br i1 %40, label %41, label %46
41: ; preds = %38
%42 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef @.str.5)
%43 = load ptr, ptr %10, align 8
%44 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef %43)
%45 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef @.str.1)
br label %46
46: ; preds = %41, %38
ret ptr @build_conninfo.conninfo
}
declare i32 @strcat(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/tmp6dls3sid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@build_conninfo.conninfo = internal global [1024 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [9 x i8] c"dbname='\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"'\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c" user='\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c" password='\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c" host='\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c" port='\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @build_conninfo(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%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
store ptr %4, ptr %10, align 8
store i8 0, ptr @build_conninfo.conninfo, align 16
%11 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef @.str)
%12 = load ptr, ptr %6, align 8
%13 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef %12)
%14 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef @.str.1)
%15 = load ptr, ptr %7, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %22
17: ; preds = %5
%18 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef @.str.2)
%19 = load ptr, ptr %7, align 8
%20 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef %19)
%21 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef @.str.1)
br label %22
22: ; preds = %17, %5
%23 = load ptr, ptr %8, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %25, label %30
25: ; preds = %22
%26 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef @.str.3)
%27 = load ptr, ptr %8, align 8
%28 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef %27)
%29 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef @.str.1)
br label %30
30: ; preds = %25, %22
%31 = load ptr, ptr %9, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %33, label %38
33: ; preds = %30
%34 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef @.str.4)
%35 = load ptr, ptr %9, align 8
%36 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef %35)
%37 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef @.str.1)
br label %38
38: ; preds = %33, %30
%39 = load ptr, ptr %10, align 8
%40 = icmp ne ptr %39, null
br i1 %40, label %41, label %46
41: ; preds = %38
%42 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef @.str.5)
%43 = load ptr, ptr %10, align 8
%44 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef %43)
%45 = call i32 @strcat(ptr noundef @build_conninfo.conninfo, ptr noundef @.str.1)
br label %46
46: ; preds = %41, %38
ret ptr @build_conninfo.conninfo
}
declare i32 @strcat(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/tmpnidje8w5.c'
source_filename = "/tmp/tmpnidje8w5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_iscntrl.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"iscntrl should be 0 for 9\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_iscntrl_0x39() #0 {
%1 = call i64 @iscntrl(i32 noundef 57)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 290, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @iscntrl(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/tmpnidje8w5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_iscntrl.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"iscntrl should be 0 for 9\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_iscntrl_0x39() #0 {
%1 = call i64 @iscntrl(i32 noundef 57)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 290, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @iscntrl(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/tmp0bl5nb93.c'
source_filename = "/tmp/tmp0bl5nb93.c"
target datalayout = "e-m:e-p270: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/tmp0bl5nb93.c"
target datalayout = "e-m:e-p270: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/tmpfmthmdso.c'
source_filename = "/tmp/tmpfmthmdso.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [52 x i8] c" G E N E R A T O R S E L E C T I O N \0A\00", align 1
@.str.1 = private unnamed_addr constant [52 x i8] c" ______________________________________\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [60 x i8] c" [0] Input File [1] Linear Congruential\0A\00", align 1
@.str.3 = private unnamed_addr constant [66 x i8] c" [2] Quadratic Congruential I [3] Quadratic Congruential II\0A\00", align 1
@.str.4 = private unnamed_addr constant [44 x i8] c" [4] Cubic Congruential [5] XOR\0A\00", align 1
@.str.5 = private unnamed_addr constant [55 x i8] c" [6] Modular Exponentiation [7] Blum-Blum-Shub\0A\00", align 1
@.str.6 = private unnamed_addr constant [55 x i8] c" [8] Micali-Schnorr [9] G Using SHA-1\0A\0A\00", align 1
@.str.7 = private unnamed_addr constant [18 x i8] c" Enter Choice: \00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @displayGeneratorOptions() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str.3)
%6 = call i32 @printf(ptr noundef @.str.4)
%7 = call i32 @printf(ptr noundef @.str.5)
%8 = call i32 @printf(ptr noundef @.str.6)
%9 = call i32 @printf(ptr noundef @.str.7)
%10 = call i32 @scanf(ptr noundef @.str.8, ptr noundef %1)
%11 = call i32 @printf(ptr noundef @.str.9)
%12 = load i32, ptr %1, align 4
ret i32 %12
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfmthmdso.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [52 x i8] c" G E N E R A T O R S E L E C T I O N \0A\00", align 1
@.str.1 = private unnamed_addr constant [52 x i8] c" ______________________________________\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [60 x i8] c" [0] Input File [1] Linear Congruential\0A\00", align 1
@.str.3 = private unnamed_addr constant [66 x i8] c" [2] Quadratic Congruential I [3] Quadratic Congruential II\0A\00", align 1
@.str.4 = private unnamed_addr constant [44 x i8] c" [4] Cubic Congruential [5] XOR\0A\00", align 1
@.str.5 = private unnamed_addr constant [55 x i8] c" [6] Modular Exponentiation [7] Blum-Blum-Shub\0A\00", align 1
@.str.6 = private unnamed_addr constant [55 x i8] c" [8] Micali-Schnorr [9] G Using SHA-1\0A\0A\00", align 1
@.str.7 = private unnamed_addr constant [18 x i8] c" Enter Choice: \00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @displayGeneratorOptions() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str.3)
%6 = call i32 @printf(ptr noundef @.str.4)
%7 = call i32 @printf(ptr noundef @.str.5)
%8 = call i32 @printf(ptr noundef @.str.6)
%9 = call i32 @printf(ptr noundef @.str.7)
%10 = call i32 @scanf(ptr noundef @.str.8, ptr noundef %1)
%11 = call i32 @printf(ptr noundef @.str.9)
%12 = load i32, ptr %1, align 4
ret i32 %12
}
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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.