llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmp9f1tqj64.c'
source_filename = "/tmp/tmp9f1tqj64.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"January\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"February\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"March\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"April\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"May\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"June\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"July\00", align 1
@.str.7 = private unnamed_addr constant [7 x i8] c"August\00", align 1
@.str.8 = private unnamed_addr constant [10 x i8] c"September\00", align 1
@.str.9 = private unnamed_addr constant [8 x i8] c"October\00", align 1
@.str.10 = private unnamed_addr constant [9 x i8] c"November\00", align 1
@.str.11 = private unnamed_addr constant [9 x i8] c"December\00", align 1
@__const.main.str = private unnamed_addr constant [12 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11], align 16
@.str.12 = private unnamed_addr constant [25 x i8] c"Please enter the month:\0A\00", align 1
@.str.13 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.14 = private unnamed_addr constant [34 x i8] c"the month %d is correspond to :%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [12 x ptr], align 16
%2 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.str, i64 96, i1 false)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%4 = call i32 @scanf(ptr noundef @.str.13, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = getelementptr inbounds [12 x ptr], ptr %1, i64 0, i64 0
%7 = load i32, ptr %2, align 4
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds ptr, ptr %6, i64 %8
%10 = getelementptr inbounds ptr, ptr %9, i64 -1
%11 = load ptr, ptr %10, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %5, ptr noundef %11)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @scanf(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9f1tqj64.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"January\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"February\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"March\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"April\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"May\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"June\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"July\00", align 1
@.str.7 = private unnamed_addr constant [7 x i8] c"August\00", align 1
@.str.8 = private unnamed_addr constant [10 x i8] c"September\00", align 1
@.str.9 = private unnamed_addr constant [8 x i8] c"October\00", align 1
@.str.10 = private unnamed_addr constant [9 x i8] c"November\00", align 1
@.str.11 = private unnamed_addr constant [9 x i8] c"December\00", align 1
@__const.main.str = private unnamed_addr constant [12 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11], align 16
@.str.12 = private unnamed_addr constant [25 x i8] c"Please enter the month:\0A\00", align 1
@.str.13 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.14 = private unnamed_addr constant [34 x i8] c"the month %d is correspond to :%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [12 x ptr], align 16
%2 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.str, i64 96, i1 false)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%4 = call i32 @scanf(ptr noundef @.str.13, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = getelementptr inbounds [12 x ptr], ptr %1, i64 0, i64 0
%7 = load i32, ptr %2, align 4
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds ptr, ptr %6, i64 %8
%10 = getelementptr inbounds ptr, ptr %9, i64 -1
%11 = load ptr, ptr %10, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %5, ptr noundef %11)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @scanf(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3dxg1fc_.c'
source_filename = "/tmp/tmp3dxg1fc_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cross_corr_2d_1d(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, double noundef %7, double noundef %8, double noundef %9, double noundef %10, double noundef %11, double noundef %12, double noundef %13) #0 {
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
%27 = alloca double, align 8
%28 = alloca double, align 8
%29 = alloca ptr, align 8
%30 = alloca double, align 8
%31 = alloca double, align 8
%32 = alloca double, align 8
%33 = alloca double, align 8
%34 = alloca double, align 8
%35 = alloca double, align 8
%36 = alloca double, align 8
%37 = alloca double, align 8
%38 = alloca double, align 8
%39 = alloca i32, align 4
%40 = alloca i32, align 4
%41 = alloca i32, align 4
store ptr %0, ptr %15, align 8
store i32 %1, ptr %16, align 4
store i32 %2, ptr %17, align 4
store i32 %3, ptr %18, align 4
store ptr %4, ptr %19, align 8
store ptr %5, ptr %20, align 8
store ptr %6, ptr %21, align 8
store double %7, ptr %22, align 8
store double %8, ptr %23, align 8
store double %9, ptr %24, align 8
store double %10, ptr %25, align 8
store double %11, ptr %26, align 8
store double %12, ptr %27, align 8
store double %13, ptr %28, align 8
%42 = call ptr @malloc(i32 noundef 24)
store ptr %42, ptr %29, align 8
store double 0.000000e+00, ptr %30, align 8
store double 0.000000e+00, ptr %31, align 8
store double 0.000000e+00, ptr %32, align 8
store double 0.000000e+00, ptr %33, align 8
store i32 0, ptr %39, align 4
br label %43
43: ; preds = %131, %14
%44 = load i32, ptr %39, align 4
%45 = load i32, ptr %16, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %47, label %134
47: ; preds = %43
%48 = load ptr, ptr %19, align 8
%49 = load i32, ptr %39, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds double, ptr %48, i64 %50
%52 = load double, ptr %51, align 8
store double %52, ptr %34, align 8
store i32 0, ptr %40, align 4
br label %53
53: ; preds = %127, %47
%54 = load i32, ptr %40, align 4
%55 = load i32, ptr %17, align 4
%56 = icmp slt i32 %54, %55
br i1 %56, label %57, label %130
57: ; preds = %53
%58 = load ptr, ptr %20, align 8
%59 = load i32, ptr %40, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds double, ptr %58, i64 %60
%62 = load double, ptr %61, align 8
store double %62, ptr %35, align 8
%63 = load double, ptr %34, align 8
%64 = load double, ptr %35, align 8
%65 = load double, ptr %22, align 8
%66 = load double, ptr %23, align 8
%67 = call double @dist2d_c(double noundef %63, double noundef %64, double noundef %65, double noundef %66)
store double %67, ptr %37, align 8
%68 = load double, ptr %37, align 8
%69 = load double, ptr %25, align 8
%70 = fcmp oge double %68, %69
br i1 %70, label %71, label %126
71: ; preds = %57
%72 = load double, ptr %37, align 8
%73 = load double, ptr %26, align 8
%74 = fcmp olt double %72, %73
br i1 %74, label %75, label %126
75: ; preds = %71
store i32 0, ptr %41, align 4
br label %76
76: ; preds = %122, %75
%77 = load i32, ptr %41, align 4
%78 = load i32, ptr %18, align 4
%79 = icmp slt i32 %77, %78
br i1 %79, label %80, label %125
80: ; preds = %76
%81 = load ptr, ptr %21, align 8
%82 = load i32, ptr %41, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds double, ptr %81, i64 %83
%85 = load double, ptr %84, align 8
store double %85, ptr %36, align 8
%86 = load double, ptr %36, align 8
%87 = load double, ptr %24, align 8
%88 = call double @dist1d_c(double noundef %86, double noundef %87)
store double %88, ptr %38, align 8
%89 = load double, ptr %38, align 8
%90 = load double, ptr %27, align 8
%91 = fcmp oge double %89, %90
br i1 %91, label %92, label %121
92: ; preds = %80
%93 = load double, ptr %38, align 8
%94 = load double, ptr %28, align 8
%95 = fcmp olt double %93, %94
br i1 %95, label %96, label %121
96: ; preds = %92
%97 = load ptr, ptr %15, align 8
%98 = load i32, ptr %17, align 4
%99 = load i32, ptr %18, align 4
%100 = mul nsw i32 %98, %99
%101 = load i32, ptr %39, align 4
%102 = mul nsw i32 %100, %101
%103 = load i32, ptr %18, align 4
%104 = load i32, ptr %40, align 4
%105 = mul nsw i32 %103, %104
%106 = add nsw i32 %102, %105
%107 = load i32, ptr %41, align 4
%108 = add nsw i32 %106, %107
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds double, ptr %97, i64 %109
%111 = load double, ptr %110, align 8
store double %111, ptr %33, align 8
%112 = load double, ptr %33, align 8
%113 = load double, ptr %30, align 8
%114 = fadd double %113, %112
store double %114, ptr %30, align 8
%115 = load double, ptr %33, align 8
%116 = load double, ptr %33, align 8
%117 = load double, ptr %31, align 8
%118 = call double @llvm.fmuladd.f64(double %115, double %116, double %117)
store double %118, ptr %31, align 8
%119 = load double, ptr %32, align 8
%120 = fadd double %119, 1.000000e+00
store double %120, ptr %32, align 8
br label %121
121: ; preds = %96, %92, %80
br label %122
122: ; preds = %121
%123 = load i32, ptr %41, align 4
%124 = add nsw i32 %123, 1
store i32 %124, ptr %41, align 4
br label %76, !llvm.loop !6
125: ; preds = %76
br label %126
126: ; preds = %125, %71, %57
br label %127
127: ; preds = %126
%128 = load i32, ptr %40, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %40, align 4
br label %53, !llvm.loop !8
130: ; preds = %53
br label %131
131: ; preds = %130
%132 = load i32, ptr %39, align 4
%133 = add nsw i32 %132, 1
store i32 %133, ptr %39, align 4
br label %43, !llvm.loop !9
134: ; preds = %43
%135 = load double, ptr %30, align 8
%136 = load ptr, ptr %29, align 8
%137 = getelementptr inbounds double, ptr %136, i64 0
store double %135, ptr %137, align 8
%138 = load double, ptr %31, align 8
%139 = load ptr, ptr %29, align 8
%140 = getelementptr inbounds double, ptr %139, i64 1
store double %138, ptr %140, align 8
%141 = load double, ptr %32, align 8
%142 = load ptr, ptr %29, align 8
%143 = getelementptr inbounds double, ptr %142, i64 2
store double %141, ptr %143, align 8
%144 = load ptr, ptr %29, align 8
ret ptr %144
}
declare ptr @malloc(i32 noundef) #1
declare double @dist2d_c(double noundef, double noundef, double noundef, double noundef) #1
declare double @dist1d_c(double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3dxg1fc_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cross_corr_2d_1d(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, double noundef %7, double noundef %8, double noundef %9, double noundef %10, double noundef %11, double noundef %12, double noundef %13) #0 {
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
%27 = alloca double, align 8
%28 = alloca double, align 8
%29 = alloca ptr, align 8
%30 = alloca double, align 8
%31 = alloca double, align 8
%32 = alloca double, align 8
%33 = alloca double, align 8
%34 = alloca double, align 8
%35 = alloca double, align 8
%36 = alloca double, align 8
%37 = alloca double, align 8
%38 = alloca double, align 8
%39 = alloca i32, align 4
%40 = alloca i32, align 4
%41 = alloca i32, align 4
store ptr %0, ptr %15, align 8
store i32 %1, ptr %16, align 4
store i32 %2, ptr %17, align 4
store i32 %3, ptr %18, align 4
store ptr %4, ptr %19, align 8
store ptr %5, ptr %20, align 8
store ptr %6, ptr %21, align 8
store double %7, ptr %22, align 8
store double %8, ptr %23, align 8
store double %9, ptr %24, align 8
store double %10, ptr %25, align 8
store double %11, ptr %26, align 8
store double %12, ptr %27, align 8
store double %13, ptr %28, align 8
%42 = call ptr @malloc(i32 noundef 24)
store ptr %42, ptr %29, align 8
store double 0.000000e+00, ptr %30, align 8
store double 0.000000e+00, ptr %31, align 8
store double 0.000000e+00, ptr %32, align 8
store double 0.000000e+00, ptr %33, align 8
store i32 0, ptr %39, align 4
%43 = load i32, ptr %39, align 4
%44 = load i32, ptr %16, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %.lr.ph5, label %140
.lr.ph5: ; preds = %14
br label %46
46: ; preds = %.lr.ph5, %134
%47 = load ptr, ptr %19, align 8
%48 = load i32, ptr %39, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds double, ptr %47, i64 %49
%51 = load double, ptr %50, align 8
store double %51, ptr %34, align 8
store i32 0, ptr %40, align 4
%52 = load i32, ptr %40, align 4
%53 = load i32, ptr %17, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %.lr.ph2, label %133
.lr.ph2: ; preds = %46
br label %55
55: ; preds = %.lr.ph2, %127
%56 = load ptr, ptr %20, align 8
%57 = load i32, ptr %40, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds double, ptr %56, i64 %58
%60 = load double, ptr %59, align 8
store double %60, ptr %35, align 8
%61 = load double, ptr %34, align 8
%62 = load double, ptr %35, align 8
%63 = load double, ptr %22, align 8
%64 = load double, ptr %23, align 8
%65 = call double @dist2d_c(double noundef %61, double noundef %62, double noundef %63, double noundef %64)
store double %65, ptr %37, align 8
%66 = load double, ptr %37, align 8
%67 = load double, ptr %25, align 8
%68 = fcmp oge double %66, %67
br i1 %68, label %69, label %126
69: ; preds = %55
%70 = load double, ptr %37, align 8
%71 = load double, ptr %26, align 8
%72 = fcmp olt double %70, %71
br i1 %72, label %73, label %126
73: ; preds = %69
store i32 0, ptr %41, align 4
%74 = load i32, ptr %41, align 4
%75 = load i32, ptr %18, align 4
%76 = icmp slt i32 %74, %75
br i1 %76, label %.lr.ph, label %125
.lr.ph: ; preds = %73
br label %77
77: ; preds = %.lr.ph, %119
%78 = load ptr, ptr %21, align 8
%79 = load i32, ptr %41, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds double, ptr %78, i64 %80
%82 = load double, ptr %81, align 8
store double %82, ptr %36, align 8
%83 = load double, ptr %36, align 8
%84 = load double, ptr %24, align 8
%85 = call double @dist1d_c(double noundef %83, double noundef %84)
store double %85, ptr %38, align 8
%86 = load double, ptr %38, align 8
%87 = load double, ptr %27, align 8
%88 = fcmp oge double %86, %87
br i1 %88, label %89, label %118
89: ; preds = %77
%90 = load double, ptr %38, align 8
%91 = load double, ptr %28, align 8
%92 = fcmp olt double %90, %91
br i1 %92, label %93, label %118
93: ; preds = %89
%94 = load ptr, ptr %15, align 8
%95 = load i32, ptr %17, align 4
%96 = load i32, ptr %18, align 4
%97 = mul nsw i32 %95, %96
%98 = load i32, ptr %39, align 4
%99 = mul nsw i32 %97, %98
%100 = load i32, ptr %18, align 4
%101 = load i32, ptr %40, align 4
%102 = mul nsw i32 %100, %101
%103 = add nsw i32 %99, %102
%104 = load i32, ptr %41, align 4
%105 = add nsw i32 %103, %104
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds double, ptr %94, i64 %106
%108 = load double, ptr %107, align 8
store double %108, ptr %33, align 8
%109 = load double, ptr %33, align 8
%110 = load double, ptr %30, align 8
%111 = fadd double %110, %109
store double %111, ptr %30, align 8
%112 = load double, ptr %33, align 8
%113 = load double, ptr %33, align 8
%114 = load double, ptr %31, align 8
%115 = call double @llvm.fmuladd.f64(double %112, double %113, double %114)
store double %115, ptr %31, align 8
%116 = load double, ptr %32, align 8
%117 = fadd double %116, 1.000000e+00
store double %117, ptr %32, align 8
br label %118
118: ; preds = %93, %89, %77
br label %119
119: ; preds = %118
%120 = load i32, ptr %41, align 4
%121 = add nsw i32 %120, 1
store i32 %121, ptr %41, align 4
%122 = load i32, ptr %41, align 4
%123 = load i32, ptr %18, align 4
%124 = icmp slt i32 %122, %123
br i1 %124, label %77, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %119
br label %125
125: ; preds = %._crit_edge, %73
br label %126
126: ; preds = %125, %69, %55
br label %127
127: ; preds = %126
%128 = load i32, ptr %40, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %40, align 4
%130 = load i32, ptr %40, align 4
%131 = load i32, ptr %17, align 4
%132 = icmp slt i32 %130, %131
br i1 %132, label %55, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %127
br label %133
133: ; preds = %._crit_edge3, %46
br label %134
134: ; preds = %133
%135 = load i32, ptr %39, align 4
%136 = add nsw i32 %135, 1
store i32 %136, ptr %39, align 4
%137 = load i32, ptr %39, align 4
%138 = load i32, ptr %16, align 4
%139 = icmp slt i32 %137, %138
br i1 %139, label %46, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %134
br label %140
140: ; preds = %._crit_edge6, %14
%141 = load double, ptr %30, align 8
%142 = load ptr, ptr %29, align 8
%143 = getelementptr inbounds double, ptr %142, i64 0
store double %141, ptr %143, align 8
%144 = load double, ptr %31, align 8
%145 = load ptr, ptr %29, align 8
%146 = getelementptr inbounds double, ptr %145, i64 1
store double %144, ptr %146, align 8
%147 = load double, ptr %32, align 8
%148 = load ptr, ptr %29, align 8
%149 = getelementptr inbounds double, ptr %148, i64 2
store double %147, ptr %149, align 8
%150 = load ptr, ptr %29, align 8
ret ptr %150
}
declare ptr @malloc(i32 noundef) #1
declare double @dist2d_c(double noundef, double noundef, double noundef, double noundef) #1
declare double @dist1d_c(double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp7cen4gce.c'
source_filename = "/tmp/tmp7cen4gce.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strndup(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %4, align 8
%7 = add i64 %6, 1
%8 = call i64 @malloc(i64 noundef %7)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %3, align 8
%12 = load i64, ptr %4, align 8
%13 = call i32 @strncpy(ptr noundef %10, ptr noundef %11, i64 noundef %12)
%14 = load ptr, ptr %5, align 8
%15 = load i64, ptr %4, align 8
%16 = getelementptr inbounds i8, ptr %14, i64 %15
store i8 0, ptr %16, align 1
%17 = load ptr, ptr %5, align 8
ret ptr %17
}
declare i64 @malloc(i64 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7cen4gce.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strndup(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %4, align 8
%7 = add i64 %6, 1
%8 = call i64 @malloc(i64 noundef %7)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %3, align 8
%12 = load i64, ptr %4, align 8
%13 = call i32 @strncpy(ptr noundef %10, ptr noundef %11, i64 noundef %12)
%14 = load ptr, ptr %5, align 8
%15 = load i64, ptr %4, align 8
%16 = getelementptr inbounds i8, ptr %14, i64 %15
store i8 0, ptr %16, align 1
%17 = load ptr, ptr %5, align 8
ret ptr %17
}
declare i64 @malloc(i64 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpar46z1k4.c'
source_filename = "/tmp/tmpar46z1k4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convPath(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @strcpy(ptr noundef %5, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = call i32 @str_replace(ptr noundef %8, i8 noundef signext 93, i8 noundef signext 47)
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @str_replace(ptr noundef, i8 noundef signext, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpar46z1k4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convPath(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @strcpy(ptr noundef %5, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = call i32 @str_replace(ptr noundef %8, i8 noundef signext 93, i8 noundef signext 47)
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @str_replace(ptr noundef, i8 noundef signext, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxo87ka6p.c'
source_filename = "/tmp/tmpxo87ka6p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"day\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"month\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"year\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @posix_reader(ptr noundef @.str)
store i32 %5, ptr %2, align 4
%6 = call i32 @posix_reader(ptr noundef @.str.1)
store i32 %6, ptr %3, align 4
%7 = call i32 @posix_reader(ptr noundef @.str.2)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = call i32 @verify_valid_date(i32 noundef %8, i32 noundef %9, i32 noundef %10)
ret i32 0
}
declare i32 @posix_reader(ptr noundef) #1
declare i32 @verify_valid_date(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/tmpxo87ka6p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"day\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"month\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"year\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @posix_reader(ptr noundef @.str)
store i32 %5, ptr %2, align 4
%6 = call i32 @posix_reader(ptr noundef @.str.1)
store i32 %6, ptr %3, align 4
%7 = call i32 @posix_reader(ptr noundef @.str.2)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = call i32 @verify_valid_date(i32 noundef %8, i32 noundef %9, i32 noundef %10)
ret i32 0
}
declare i32 @posix_reader(ptr noundef) #1
declare i32 @verify_valid_date(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/tmpxl9c1ejo.c'
source_filename = "/tmp/tmpxl9c1ejo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %6, align 4
store i32 1, ptr %6, align 4
%7 = call i32 @usleep(i32 noundef 5000)
store i32 1, ptr %2, align 4
%8 = call i32 @usleep(i32 noundef 6000)
store i32 2, ptr %3, align 4
%9 = call i32 @usleep(i32 noundef 7000)
store i32 3, ptr %4, align 4
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %4, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp ne i32 %16, 2
br i1 %17, label %24, label %18
18: ; preds = %0
%19 = load i32, ptr %3, align 4
%20 = icmp ne i32 %19, 3
br i1 %20, label %24, label %21
21: ; preds = %18
%22 = load i32, ptr %4, align 4
%23 = icmp ne i32 %22, 4
br label %24
24: ; preds = %21, %18, %0
%25 = phi i1 [ true, %18 ], [ true, %0 ], [ %23, %21 ]
%26 = zext i1 %25 to i32
store i32 %26, ptr %5, align 4
store i32 5, ptr %2, align 4
store i32 6, ptr %3, align 4
store i32 7, ptr %4, align 4
%27 = call i32 @usleep(i32 noundef 5000)
%28 = load i32, ptr %6, align 4
%29 = icmp ne i32 %28, 0
br i1 %29, label %31, label %30
30: ; preds = %24
store i32 1, ptr %2, align 4
br label %31
31: ; preds = %30, %24
%32 = call i32 @usleep(i32 noundef 6000)
%33 = load i32, ptr %6, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %36, label %35
35: ; preds = %31
store i32 2, ptr %3, align 4
br label %36
36: ; preds = %35, %31
%37 = call i32 @usleep(i32 noundef 3000)
%38 = load i32, ptr %6, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %41, label %40
40: ; preds = %36
store i32 3, ptr %4, align 4
br label %41
41: ; preds = %40, %36
%42 = load i32, ptr %5, align 4
%43 = icmp ne i32 %42, 0
br i1 %43, label %53, label %44
44: ; preds = %41
%45 = load i32, ptr %2, align 4
%46 = icmp ne i32 %45, 5
br i1 %46, label %53, label %47
47: ; preds = %44
%48 = load i32, ptr %3, align 4
%49 = icmp ne i32 %48, 6
br i1 %49, label %53, label %50
50: ; preds = %47
%51 = load i32, ptr %4, align 4
%52 = icmp ne i32 %51, 7
br i1 %52, label %53, label %55
53: ; preds = %50, %47, %44, %41
%54 = call i32 (...) @abort() #3
unreachable
55: ; preds = %50
ret i32 0
}
declare i32 @usleep(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxl9c1ejo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %6, align 4
store i32 1, ptr %6, align 4
%7 = call i32 @usleep(i32 noundef 5000)
store i32 1, ptr %2, align 4
%8 = call i32 @usleep(i32 noundef 6000)
store i32 2, ptr %3, align 4
%9 = call i32 @usleep(i32 noundef 7000)
store i32 3, ptr %4, align 4
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %4, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp ne i32 %16, 2
br i1 %17, label %24, label %18
18: ; preds = %0
%19 = load i32, ptr %3, align 4
%20 = icmp ne i32 %19, 3
br i1 %20, label %24, label %21
21: ; preds = %18
%22 = load i32, ptr %4, align 4
%23 = icmp ne i32 %22, 4
br label %24
24: ; preds = %21, %18, %0
%25 = phi i1 [ true, %18 ], [ true, %0 ], [ %23, %21 ]
%26 = zext i1 %25 to i32
store i32 %26, ptr %5, align 4
store i32 5, ptr %2, align 4
store i32 6, ptr %3, align 4
store i32 7, ptr %4, align 4
%27 = call i32 @usleep(i32 noundef 5000)
%28 = load i32, ptr %6, align 4
%29 = icmp ne i32 %28, 0
br i1 %29, label %31, label %30
30: ; preds = %24
store i32 1, ptr %2, align 4
br label %31
31: ; preds = %30, %24
%32 = call i32 @usleep(i32 noundef 6000)
%33 = load i32, ptr %6, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %36, label %35
35: ; preds = %31
store i32 2, ptr %3, align 4
br label %36
36: ; preds = %35, %31
%37 = call i32 @usleep(i32 noundef 3000)
%38 = load i32, ptr %6, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %41, label %40
40: ; preds = %36
store i32 3, ptr %4, align 4
br label %41
41: ; preds = %40, %36
%42 = load i32, ptr %5, align 4
%43 = icmp ne i32 %42, 0
br i1 %43, label %53, label %44
44: ; preds = %41
%45 = load i32, ptr %2, align 4
%46 = icmp ne i32 %45, 5
br i1 %46, label %53, label %47
47: ; preds = %44
%48 = load i32, ptr %3, align 4
%49 = icmp ne i32 %48, 6
br i1 %49, label %53, label %50
50: ; preds = %47
%51 = load i32, ptr %4, align 4
%52 = icmp ne i32 %51, 7
br i1 %52, label %53, label %55
53: ; preds = %50, %47, %44, %41
%54 = call i32 (...) @abort() #3
unreachable
55: ; preds = %50
ret i32 0
}
declare i32 @usleep(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi_0ic1jj.c'
source_filename = "/tmp/tmpi_0ic1jj.c"
target datalayout = "e-m:e-p270: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 [28 x i8] c"LXZ Assembler. Version %s\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"0.0.12\00", align 1
@.str.2 = private unnamed_addr constant [61 x i8] c"Usage: lxzasm [-v] [ -h] [ -l] [ -o <filename> ] inputfile \0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"\09v: Show Version\0A\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"\09h: Show Help ( this help )\0A\00", align 1
@.str.5 = private unnamed_addr constant [35 x i8] c"\09l: Generate an ASCII lst output\0A\00", align 1
@.str.6 = private unnamed_addr constant [101 x i8] c"\09p: PAd with zeroes the ouput from the byte 0 until the start of the code ( set by ORG directive )\0A\00", align 1
@.str.7 = private unnamed_addr constant [43 x i8] c"\09o <file>: Use <file> as the output name\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @showUsage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str.2)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.3)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str.4)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str.5)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.6)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str.7)
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/tmpi_0ic1jj.c"
target datalayout = "e-m:e-p270: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 [28 x i8] c"LXZ Assembler. Version %s\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"0.0.12\00", align 1
@.str.2 = private unnamed_addr constant [61 x i8] c"Usage: lxzasm [-v] [ -h] [ -l] [ -o <filename> ] inputfile \0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"\09v: Show Version\0A\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"\09h: Show Help ( this help )\0A\00", align 1
@.str.5 = private unnamed_addr constant [35 x i8] c"\09l: Generate an ASCII lst output\0A\00", align 1
@.str.6 = private unnamed_addr constant [101 x i8] c"\09p: PAd with zeroes the ouput from the byte 0 until the start of the code ( set by ORG directive )\0A\00", align 1
@.str.7 = private unnamed_addr constant [43 x i8] c"\09o <file>: Use <file> as the output name\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @showUsage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str.2)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.3)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str.4)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str.5)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.6)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str.7)
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/tmp047e6oxh.c'
source_filename = "/tmp/tmp047e6oxh.c"
target datalayout = "e-m:e-p270: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
@EINTR = dso_local global i64 0, align 8
@O_RDONLY = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp047e6oxh.c"
target datalayout = "e-m:e-p270: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
@EINTR = dso_local global i64 0, align 8
@O_RDONLY = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1cpw0_2k.c'
source_filename = "/tmp/tmp1cpw0_2k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable
define dso_local x86_fp80 @roundl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load x86_fp80, ptr %2, align 16
%4 = fptrunc x86_fp80 %3 to double
%5 = call i64 @round(double noundef %4)
%6 = sitofp i64 %5 to x86_fp80
ret x86_fp80 %6
}
declare i64 @round(double noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1cpw0_2k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable
define dso_local x86_fp80 @roundl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load x86_fp80, ptr %2, align 16
%4 = fptrunc x86_fp80 %3 to double
%5 = call i64 @round(double noundef %4)
%6 = sitofp i64 %5 to x86_fp80
ret x86_fp80 %6
}
declare i64 @round(double noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpamsu59h0.c'
source_filename = "/tmp/tmpamsu59h0.c"
target datalayout = "e-m:e-p270: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/tmpamsu59h0.c"
target datalayout = "e-m:e-p270: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/tmptlo4arh3.c'
source_filename = "/tmp/tmptlo4arh3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [48 x i8] c"usage: \09%s [output filename] [input filenames]\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"\09should contain %d input-files. \0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"\09change config in utils.h\0A\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c"K-merge sort following files: \0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"\09%s\0A\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c"to output file: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%8 = load i32, ptr %3, align 4
%9 = icmp ne i32 %8, 6
br i1 %9, label %10, label %18
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %13)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 4)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%17 = call i32 @exit(i32 noundef -1) #3
unreachable
18: ; preds = %2
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %5, align 4
br label %20
20: ; preds = %31, %18
%21 = load i32, ptr %5, align 4
%22 = icmp slt i32 %21, 4
br i1 %22, label %23, label %34
23: ; preds = %20
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, 2
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds ptr, ptr %24, i64 %27
%29 = load ptr, ptr %28, align 8
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %29)
br label %31
31: ; preds = %23
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
br label %20, !llvm.loop !6
34: ; preds = %20
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 1
%37 = load ptr, ptr %36, align 8
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %37)
%39 = load ptr, ptr %4, align 8
%40 = getelementptr inbounds ptr, ptr %39, i64 1
%41 = load ptr, ptr %40, align 8
store ptr %41, ptr %6, align 8
%42 = load ptr, ptr %4, align 8
%43 = getelementptr inbounds ptr, ptr %42, i64 2
store ptr %43, ptr %7, align 8
%44 = load ptr, ptr %6, align 8
%45 = load ptr, ptr %7, align 8
%46 = call i32 @k_merge_sort(ptr noundef %44, ptr noundef %45)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @k_merge_sort(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmptlo4arh3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [48 x i8] c"usage: \09%s [output filename] [input filenames]\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"\09should contain %d input-files. \0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"\09change config in utils.h\0A\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c"K-merge sort following files: \0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"\09%s\0A\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c"to output file: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%8 = load i32, ptr %3, align 4
%9 = icmp ne i32 %8, 6
br i1 %9, label %10, label %18
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %13)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 4)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%17 = call i32 @exit(i32 noundef -1) #3
unreachable
18: ; preds = %2
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp slt i32 %20, 4
br i1 %21, label %.lr.ph, label %35
.lr.ph: ; preds = %18
br label %22
22: ; preds = %.lr.ph, %30
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 2
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %23, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %28)
br label %30
30: ; preds = %22
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %5, align 4
%33 = load i32, ptr %5, align 4
%34 = icmp slt i32 %33, 4
br i1 %34, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %35
35: ; preds = %._crit_edge, %18
%36 = load ptr, ptr %4, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 1
%38 = load ptr, ptr %37, align 8
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %38)
%40 = load ptr, ptr %4, align 8
%41 = getelementptr inbounds ptr, ptr %40, i64 1
%42 = load ptr, ptr %41, align 8
store ptr %42, ptr %6, align 8
%43 = load ptr, ptr %4, align 8
%44 = getelementptr inbounds ptr, ptr %43, i64 2
store ptr %44, ptr %7, align 8
%45 = load ptr, ptr %6, align 8
%46 = load ptr, ptr %7, align 8
%47 = call i32 @k_merge_sort(ptr noundef %45, ptr noundef %46)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @k_merge_sort(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp6chjmwqe.c'
source_filename = "/tmp/tmp6chjmwqe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"rand_normal.dat\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@RAND_MAX = dso_local global i64 0, align 8
@M_PI = dso_local global double 0.000000e+00, align 8
@.str.2 = private unnamed_addr constant [7 x i8] c"%.12e\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store double 2.500000e+00, ptr %4, align 8
store i32 0, ptr %5, align 4
%7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %7, ptr %6, align 8
br label %8
8: ; preds = %42, %0
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %9, 100000
br i1 %10, label %11, label %43
11: ; preds = %8
%12 = call i64 (...) @rand()
%13 = sitofp i64 %12 to double
%14 = load i64, ptr @RAND_MAX, align 8
%15 = sitofp i64 %14 to double
%16 = fdiv double %13, %15
store double %16, ptr %2, align 8
%17 = call i64 (...) @rand()
%18 = sitofp i64 %17 to double
%19 = load i64, ptr @RAND_MAX, align 8
%20 = sitofp i64 %19 to double
%21 = fdiv double %18, %20
%22 = call double @llvm.fmuladd.f64(double %21, double 1.000000e+01, double -5.000000e+00)
store double %22, ptr %3, align 8
%23 = load double, ptr %2, align 8
%24 = load double, ptr @M_PI, align 8
%25 = fmul double 2.000000e+00, %24
%26 = call i32 @sqrt(double noundef %25)
%27 = sdiv i32 1, %26
%28 = load double, ptr %3, align 8
%29 = load double, ptr %3, align 8
%30 = fmul double %28, %29
%31 = fdiv double %30, -2.000000e+00
%32 = call i32 @exp(double noundef %31)
%33 = mul nsw i32 %27, %32
%34 = sitofp i32 %33 to double
%35 = fcmp ole double %23, %34
br i1 %35, label %36, label %42
36: ; preds = %11
%37 = load i32, ptr %5, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %5, align 4
%39 = load ptr, ptr %6, align 8
%40 = load double, ptr %3, align 8
%41 = call i32 @fprintf(ptr noundef %39, ptr noundef @.str.2, double noundef %40)
br label %42
42: ; preds = %36, %11
br label %8, !llvm.loop !6
43: ; preds = %8
%44 = load ptr, ptr %6, align 8
%45 = call i32 @fclose(ptr noundef %44)
ret i32 -1
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @rand(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @sqrt(double noundef) #1
declare i32 @exp(double noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, double 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6chjmwqe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"rand_normal.dat\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@RAND_MAX = dso_local global i64 0, align 8
@M_PI = dso_local global double 0.000000e+00, align 8
@.str.2 = private unnamed_addr constant [7 x i8] c"%.12e\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store double 2.500000e+00, ptr %4, align 8
store i32 0, ptr %5, align 4
%7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %7, ptr %6, align 8
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %8, 100000
br i1 %9, label %.lr.ph, label %44
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %41
%11 = call i64 (...) @rand()
%12 = sitofp i64 %11 to double
%13 = load i64, ptr @RAND_MAX, align 8
%14 = sitofp i64 %13 to double
%15 = fdiv double %12, %14
store double %15, ptr %2, align 8
%16 = call i64 (...) @rand()
%17 = sitofp i64 %16 to double
%18 = load i64, ptr @RAND_MAX, align 8
%19 = sitofp i64 %18 to double
%20 = fdiv double %17, %19
%21 = call double @llvm.fmuladd.f64(double %20, double 1.000000e+01, double -5.000000e+00)
store double %21, ptr %3, align 8
%22 = load double, ptr %2, align 8
%23 = load double, ptr @M_PI, align 8
%24 = fmul double 2.000000e+00, %23
%25 = call i32 @sqrt(double noundef %24)
%26 = sdiv i32 1, %25
%27 = load double, ptr %3, align 8
%28 = load double, ptr %3, align 8
%29 = fmul double %27, %28
%30 = fdiv double %29, -2.000000e+00
%31 = call i32 @exp(double noundef %30)
%32 = mul nsw i32 %26, %31
%33 = sitofp i32 %32 to double
%34 = fcmp ole double %22, %33
br i1 %34, label %35, label %41
35: ; preds = %10
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %5, align 4
%38 = load ptr, ptr %6, align 8
%39 = load double, ptr %3, align 8
%40 = call i32 @fprintf(ptr noundef %38, ptr noundef @.str.2, double noundef %39)
br label %41
41: ; preds = %35, %10
%42 = load i32, ptr %5, align 4
%43 = icmp slt i32 %42, 100000
br i1 %43, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %44
44: ; preds = %._crit_edge, %0
%45 = load ptr, ptr %6, align 8
%46 = call i32 @fclose(ptr noundef %45)
ret i32 -1
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @rand(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @sqrt(double noundef) #1
declare i32 @exp(double noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, double 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvusv323e.c'
source_filename = "/tmp/tmpvusv323e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writeUTF(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %5, align 4
%10 = call i32 @writeInt(ptr noundef %8, i32 noundef %9)
%11 = load ptr, ptr %3, align 8
%12 = load ptr, ptr %11, align 8
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = call i32 @memcpy(ptr noundef %12, ptr noundef %13, i32 noundef %14)
%16 = load i32, ptr %5, align 4
%17 = load ptr, ptr %3, align 8
%18 = load ptr, ptr %17, align 8
%19 = sext i32 %16 to i64
%20 = getelementptr inbounds i8, ptr %18, i64 %19
store ptr %20, ptr %17, align 8
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @writeInt(ptr noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvusv323e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writeUTF(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %5, align 4
%10 = call i32 @writeInt(ptr noundef %8, i32 noundef %9)
%11 = load ptr, ptr %3, align 8
%12 = load ptr, ptr %11, align 8
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = call i32 @memcpy(ptr noundef %12, ptr noundef %13, i32 noundef %14)
%16 = load i32, ptr %5, align 4
%17 = load ptr, ptr %3, align 8
%18 = load ptr, ptr %17, align 8
%19 = sext i32 %16 to i64
%20 = getelementptr inbounds i8, ptr %18, i64 %19
store ptr %20, ptr %17, align 8
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @writeInt(ptr noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptpwna69w.c'
source_filename = "/tmp/tmptpwna69w.c"
target datalayout = "e-m:e-p270: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/tmptpwna69w.c"
target datalayout = "e-m:e-p270: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/tmp45vgbb4h.c'
source_filename = "/tmp/tmp45vgbb4h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @strto_uint(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %6, align 4
%9 = load i32, ptr @errno, align 4
store i32 %9, ptr %8, align 4
store i32 0, ptr @errno, align 4
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strtoul(ptr noundef %10, ptr noundef %5, i32 noundef 10)
store i32 %11, ptr %7, align 4
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %3, align 8
%14 = icmp eq ptr %12, %13
br i1 %14, label %23, label %15
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %18, 0
br i1 %19, label %23, label %20
20: ; preds = %15
%21 = load i32, ptr @errno, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %20, %15, %2
store i32 1, ptr %6, align 4
br label %24
24: ; preds = %23, %20
%25 = load i32, ptr %6, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = load i32, ptr %7, align 4
%29 = load ptr, ptr %4, align 8
store i32 %28, ptr %29, align 4
br label %30
30: ; preds = %27, %24
%31 = load i32, ptr %8, align 4
store i32 %31, ptr @errno, align 4
%32 = load i32, ptr %6, align 4
ret i32 %32
}
declare i32 @strtoul(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/tmp45vgbb4h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @strto_uint(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %6, align 4
%9 = load i32, ptr @errno, align 4
store i32 %9, ptr %8, align 4
store i32 0, ptr @errno, align 4
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strtoul(ptr noundef %10, ptr noundef %5, i32 noundef 10)
store i32 %11, ptr %7, align 4
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %3, align 8
%14 = icmp eq ptr %12, %13
br i1 %14, label %23, label %15
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %18, 0
br i1 %19, label %23, label %20
20: ; preds = %15
%21 = load i32, ptr @errno, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %20, %15, %2
store i32 1, ptr %6, align 4
br label %24
24: ; preds = %23, %20
%25 = load i32, ptr %6, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = load i32, ptr %7, align 4
%29 = load ptr, ptr %4, align 8
store i32 %28, ptr %29, align 4
br label %30
30: ; preds = %27, %24
%31 = load i32, ptr %8, align 4
store i32 %31, ptr @errno, align 4
%32 = load i32, ptr %6, align 4
ret i32 %32
}
declare i32 @strtoul(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/tmpkbizlzdq.c'
source_filename = "/tmp/tmpkbizlzdq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @longjerr() #0 {
%1 = call i32 @e(i32 noundef 5)
ret void
}
declare i32 @e(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/tmpkbizlzdq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @longjerr() #0 {
%1 = call i32 @e(i32 noundef 5)
ret void
}
declare i32 @e(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/tmpji2sd18r.c'
source_filename = "/tmp/tmpji2sd18r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @functionWithBreak_test() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 20, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @functionWithBreak(i32 noundef %3)
%5 = load i32, ptr %1, align 4
ret i32 %5
}
declare i32 @functionWithBreak(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/tmpji2sd18r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @functionWithBreak_test() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 20, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @functionWithBreak(i32 noundef %3)
%5 = load i32, ptr %1, align 4
ret i32 %5
}
declare i32 @functionWithBreak(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/tmpmuc8go94.c'
source_filename = "/tmp/tmpmuc8go94.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @string_nconcat(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%13 = load ptr, ptr %5, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %16
15: ; preds = %3
store ptr @.str, ptr %5, align 8
br label %16
16: ; preds = %15, %3
%17 = load ptr, ptr %6, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %20
19: ; preds = %16
store ptr @.str, ptr %6, align 8
br label %20
20: ; preds = %19, %16
store i32 0, ptr %8, align 4
br label %21
21: ; preds = %30, %20
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %8, align 4
%24 = zext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %33
29: ; preds = %21
br label %30
30: ; preds = %29
%31 = load i32, ptr %8, align 4
%32 = add i32 %31, 1
store i32 %32, ptr %8, align 4
br label %21, !llvm.loop !6
33: ; preds = %21
store i32 0, ptr %9, align 4
br label %34
34: ; preds = %43, %33
%35 = load ptr, ptr %6, align 8
%36 = load i32, ptr %9, align 4
%37 = zext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %46
42: ; preds = %34
br label %43
43: ; preds = %42
%44 = load i32, ptr %9, align 4
%45 = add i32 %44, 1
store i32 %45, ptr %9, align 4
br label %34, !llvm.loop !8
46: ; preds = %34
%47 = load i32, ptr %9, align 4
store i32 %47, ptr %9, align 4
%48 = load i32, ptr %9, align 4
%49 = load i32, ptr %7, align 4
%50 = icmp ult i32 %48, %49
br i1 %50, label %51, label %53
51: ; preds = %46
%52 = load i32, ptr %9, align 4
store i32 %52, ptr %7, align 4
br label %53
53: ; preds = %51, %46
%54 = load i32, ptr %8, align 4
%55 = load i32, ptr %7, align 4
%56 = add i32 %54, %55
%57 = add i32 %56, 1
%58 = zext i32 %57 to i64
%59 = mul i64 %58, 1
%60 = trunc i64 %59 to i32
%61 = call ptr @malloc(i32 noundef %60)
store ptr %61, ptr %10, align 8
%62 = load ptr, ptr %10, align 8
%63 = icmp eq ptr %62, null
br i1 %63, label %64, label %65
64: ; preds = %53
store ptr null, ptr %4, align 8
br label %109
65: ; preds = %53
store i32 0, ptr %11, align 4
br label %66
66: ; preds = %80, %65
%67 = load i32, ptr %11, align 4
%68 = load i32, ptr %8, align 4
%69 = icmp ult i32 %67, %68
br i1 %69, label %70, label %83
70: ; preds = %66
%71 = load ptr, ptr %5, align 8
%72 = load i32, ptr %11, align 4
%73 = zext i32 %72 to i64
%74 = getelementptr inbounds i8, ptr %71, i64 %73
%75 = load i8, ptr %74, align 1
%76 = load ptr, ptr %10, align 8
%77 = load i32, ptr %11, align 4
%78 = zext i32 %77 to i64
%79 = getelementptr inbounds i8, ptr %76, i64 %78
store i8 %75, ptr %79, align 1
br label %80
80: ; preds = %70
%81 = load i32, ptr %11, align 4
%82 = add i32 %81, 1
store i32 %82, ptr %11, align 4
br label %66, !llvm.loop !9
83: ; preds = %66
store i32 0, ptr %12, align 4
br label %84
84: ; preds = %100, %83
%85 = load i32, ptr %12, align 4
%86 = load i32, ptr %7, align 4
%87 = icmp ult i32 %85, %86
br i1 %87, label %88, label %103
88: ; preds = %84
%89 = load ptr, ptr %6, align 8
%90 = load i32, ptr %12, align 4
%91 = zext i32 %90 to i64
%92 = getelementptr inbounds i8, ptr %89, i64 %91
%93 = load i8, ptr %92, align 1
%94 = load ptr, ptr %10, align 8
%95 = load i32, ptr %11, align 4
%96 = zext i32 %95 to i64
%97 = getelementptr inbounds i8, ptr %94, i64 %96
store i8 %93, ptr %97, align 1
%98 = load i32, ptr %11, align 4
%99 = add i32 %98, 1
store i32 %99, ptr %11, align 4
br label %100
100: ; preds = %88
%101 = load i32, ptr %12, align 4
%102 = add i32 %101, 1
store i32 %102, ptr %12, align 4
br label %84, !llvm.loop !10
103: ; preds = %84
%104 = load ptr, ptr %10, align 8
%105 = load i32, ptr %11, align 4
%106 = zext i32 %105 to i64
%107 = getelementptr inbounds i8, ptr %104, i64 %106
store i8 0, ptr %107, align 1
%108 = load ptr, ptr %10, align 8
store ptr %108, ptr %4, align 8
br label %109
109: ; preds = %103, %64
%110 = load ptr, ptr %4, align 8
ret ptr %110
}
declare ptr @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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmuc8go94.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @string_nconcat(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%13 = load ptr, ptr %5, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %16
15: ; preds = %3
store ptr @.str, ptr %5, align 8
br label %16
16: ; preds = %15, %3
%17 = load ptr, ptr %6, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %20
19: ; preds = %16
store ptr @.str, ptr %6, align 8
br label %20
20: ; preds = %19, %16
store i32 0, ptr %8, align 4
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %8, align 4
%23 = zext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp ne i32 %26, 0
br i1 %27, label %.lr.ph, label %39
.lr.ph: ; preds = %20
br label %28
28: ; preds = %.lr.ph, %29
br label %29
29: ; preds = %28
%30 = load i32, ptr %8, align 4
%31 = add i32 %30, 1
store i32 %31, ptr %8, align 4
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %8, align 4
%34 = zext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp ne i32 %37, 0
br i1 %38, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %39
39: ; preds = %._crit_edge, %20
store i32 0, ptr %9, align 4
%40 = load ptr, ptr %6, align 8
%41 = load i32, ptr %9, align 4
%42 = zext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp ne i32 %45, 0
br i1 %46, label %.lr.ph2, label %58
.lr.ph2: ; preds = %39
br label %47
47: ; preds = %.lr.ph2, %48
br label %48
48: ; preds = %47
%49 = load i32, ptr %9, align 4
%50 = add i32 %49, 1
store i32 %50, ptr %9, align 4
%51 = load ptr, ptr %6, align 8
%52 = load i32, ptr %9, align 4
%53 = zext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %51, i64 %53
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp ne i32 %56, 0
br i1 %57, label %47, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %48
br label %58
58: ; preds = %._crit_edge3, %39
%59 = load i32, ptr %9, align 4
store i32 %59, ptr %9, align 4
%60 = load i32, ptr %9, align 4
%61 = load i32, ptr %7, align 4
%62 = icmp ult i32 %60, %61
br i1 %62, label %63, label %65
63: ; preds = %58
%64 = load i32, ptr %9, align 4
store i32 %64, ptr %7, align 4
br label %65
65: ; preds = %63, %58
%66 = load i32, ptr %8, align 4
%67 = load i32, ptr %7, align 4
%68 = add i32 %66, %67
%69 = add i32 %68, 1
%70 = zext i32 %69 to i64
%71 = mul i64 %70, 1
%72 = trunc i64 %71 to i32
%73 = call ptr @malloc(i32 noundef %72)
store ptr %73, ptr %10, align 8
%74 = load ptr, ptr %10, align 8
%75 = icmp eq ptr %74, null
br i1 %75, label %76, label %77
76: ; preds = %65
store ptr null, ptr %4, align 8
br label %125
77: ; preds = %65
store i32 0, ptr %11, align 4
%78 = load i32, ptr %11, align 4
%79 = load i32, ptr %8, align 4
%80 = icmp ult i32 %78, %79
br i1 %80, label %.lr.ph5, label %97
.lr.ph5: ; preds = %77
br label %81
81: ; preds = %.lr.ph5, %91
%82 = load ptr, ptr %5, align 8
%83 = load i32, ptr %11, align 4
%84 = zext i32 %83 to i64
%85 = getelementptr inbounds i8, ptr %82, i64 %84
%86 = load i8, ptr %85, align 1
%87 = load ptr, ptr %10, align 8
%88 = load i32, ptr %11, align 4
%89 = zext i32 %88 to i64
%90 = getelementptr inbounds i8, ptr %87, i64 %89
store i8 %86, ptr %90, align 1
br label %91
91: ; preds = %81
%92 = load i32, ptr %11, align 4
%93 = add i32 %92, 1
store i32 %93, ptr %11, align 4
%94 = load i32, ptr %11, align 4
%95 = load i32, ptr %8, align 4
%96 = icmp ult i32 %94, %95
br i1 %96, label %81, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %91
br label %97
97: ; preds = %._crit_edge6, %77
store i32 0, ptr %12, align 4
%98 = load i32, ptr %12, align 4
%99 = load i32, ptr %7, align 4
%100 = icmp ult i32 %98, %99
br i1 %100, label %.lr.ph8, label %119
.lr.ph8: ; preds = %97
br label %101
101: ; preds = %.lr.ph8, %113
%102 = load ptr, ptr %6, align 8
%103 = load i32, ptr %12, align 4
%104 = zext i32 %103 to i64
%105 = getelementptr inbounds i8, ptr %102, i64 %104
%106 = load i8, ptr %105, align 1
%107 = load ptr, ptr %10, align 8
%108 = load i32, ptr %11, align 4
%109 = zext i32 %108 to i64
%110 = getelementptr inbounds i8, ptr %107, i64 %109
store i8 %106, ptr %110, align 1
%111 = load i32, ptr %11, align 4
%112 = add i32 %111, 1
store i32 %112, ptr %11, align 4
br label %113
113: ; preds = %101
%114 = load i32, ptr %12, align 4
%115 = add i32 %114, 1
store i32 %115, ptr %12, align 4
%116 = load i32, ptr %12, align 4
%117 = load i32, ptr %7, align 4
%118 = icmp ult i32 %116, %117
br i1 %118, label %101, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %113
br label %119
119: ; preds = %._crit_edge9, %97
%120 = load ptr, ptr %10, align 8
%121 = load i32, ptr %11, align 4
%122 = zext i32 %121 to i64
%123 = getelementptr inbounds i8, ptr %120, i64 %122
store i8 0, ptr %123, align 1
%124 = load ptr, ptr %10, align 8
store ptr %124, ptr %4, align 8
br label %125
125: ; preds = %119, %76
%126 = load ptr, ptr %4, align 8
ret ptr %126
}
declare ptr @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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpfvbywlqw.c'
source_filename = "/tmp/tmpfvbywlqw.c"
target datalayout = "e-m:e-p270: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.errval = type { ptr, i32 }
@.str = private unnamed_addr constant [8 x i8] c"invalid\00", align 1
@EINVAL = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"too small\00", align 1
@ERANGE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [10 x i8] c"too large\00", align 1
@errno = dso_local global i32 0, align 4
@LONG_MIN = dso_local global i64 0, align 8
@LONG_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @strtonum_OBSD(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i64, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca [4 x %struct.errval], align 16
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
store i64 0, ptr %11, align 8
store i32 0, ptr %12, align 4
%15 = getelementptr inbounds [4 x %struct.errval], ptr %14, i64 0, i64 0
%16 = getelementptr inbounds %struct.errval, ptr %15, i32 0, i32 0
store ptr null, ptr %16, align 16
%17 = getelementptr inbounds %struct.errval, ptr %15, i32 0, i32 1
store i32 0, ptr %17, align 8
%18 = getelementptr inbounds %struct.errval, ptr %15, i64 1
%19 = getelementptr inbounds %struct.errval, ptr %18, i32 0, i32 0
store ptr @.str, ptr %19, align 16
%20 = getelementptr inbounds %struct.errval, ptr %18, i32 0, i32 1
%21 = load i32, ptr @EINVAL, align 4
store i32 %21, ptr %20, align 8
%22 = getelementptr inbounds %struct.errval, ptr %18, i64 1
%23 = getelementptr inbounds %struct.errval, ptr %22, i32 0, i32 0
store ptr @.str.1, ptr %23, align 16
%24 = getelementptr inbounds %struct.errval, ptr %22, i32 0, i32 1
%25 = load i32, ptr @ERANGE, align 4
store i32 %25, ptr %24, align 8
%26 = getelementptr inbounds %struct.errval, ptr %22, i64 1
%27 = getelementptr inbounds %struct.errval, ptr %26, i32 0, i32 0
store ptr @.str.2, ptr %27, align 16
%28 = getelementptr inbounds %struct.errval, ptr %26, i32 0, i32 1
%29 = load i32, ptr @ERANGE, align 4
store i32 %29, ptr %28, align 8
%30 = load i32, ptr @errno, align 4
%31 = getelementptr inbounds [4 x %struct.errval], ptr %14, i64 0, i64 0
%32 = getelementptr inbounds %struct.errval, ptr %31, i32 0, i32 1
store i32 %30, ptr %32, align 8
store i32 0, ptr @errno, align 4
%33 = load i64, ptr %7, align 8
%34 = load i64, ptr %8, align 8
%35 = icmp sgt i64 %33, %34
br i1 %35, label %36, label %37
36: ; preds = %5
store i32 1, ptr %12, align 4
br label %87
37: ; preds = %5
%38 = load i32, ptr %10, align 4
%39 = icmp eq i32 %38, 10
br i1 %39, label %44, label %40
40: ; preds = %37
%41 = load i32, ptr %10, align 4
%42 = icmp eq i32 %41, 16
br i1 %42, label %44, label %43
43: ; preds = %40
store i32 1, ptr %12, align 4
br label %86
44: ; preds = %40, %37
%45 = load ptr, ptr %6, align 8
%46 = load i32, ptr %10, align 4
%47 = call i64 @strtol(ptr noundef %45, ptr noundef %13, i32 noundef %46)
store i64 %47, ptr %11, align 8
%48 = load ptr, ptr %6, align 8
%49 = load ptr, ptr %13, align 8
%50 = icmp eq ptr %48, %49
br i1 %50, label %56, label %51
51: ; preds = %44
%52 = load ptr, ptr %13, align 8
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %57
56: ; preds = %51, %44
store i32 1, ptr %12, align 4
br label %85
57: ; preds = %51
%58 = load i64, ptr %11, align 8
%59 = load i64, ptr @LONG_MIN, align 8
%60 = icmp eq i64 %58, %59
br i1 %60, label %61, label %65
61: ; preds = %57
%62 = load i32, ptr @errno, align 4
%63 = load i32, ptr @ERANGE, align 4
%64 = icmp eq i32 %62, %63
br i1 %64, label %69, label %65
65: ; preds = %61, %57
%66 = load i64, ptr %11, align 8
%67 = load i64, ptr %7, align 8
%68 = icmp slt i64 %66, %67
br i1 %68, label %69, label %70
69: ; preds = %65, %61
store i32 2, ptr %12, align 4
br label %84
70: ; preds = %65
%71 = load i64, ptr %11, align 8
%72 = load i64, ptr @LONG_MAX, align 8
%73 = icmp eq i64 %71, %72
br i1 %73, label %74, label %78
74: ; preds = %70
%75 = load i32, ptr @errno, align 4
%76 = load i32, ptr @ERANGE, align 4
%77 = icmp eq i32 %75, %76
br i1 %77, label %82, label %78
78: ; preds = %74, %70
%79 = load i64, ptr %11, align 8
%80 = load i64, ptr %8, align 8
%81 = icmp sgt i64 %79, %80
br i1 %81, label %82, label %83
82: ; preds = %78, %74
store i32 3, ptr %12, align 4
br label %83
83: ; preds = %82, %78
br label %84
84: ; preds = %83, %69
br label %85
85: ; preds = %84, %56
br label %86
86: ; preds = %85, %43
br label %87
87: ; preds = %86, %36
%88 = load ptr, ptr %9, align 8
%89 = icmp ne ptr %88, null
br i1 %89, label %90, label %97
90: ; preds = %87
%91 = load i32, ptr %12, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds [4 x %struct.errval], ptr %14, i64 0, i64 %92
%94 = getelementptr inbounds %struct.errval, ptr %93, i32 0, i32 0
%95 = load ptr, ptr %94, align 16
%96 = load ptr, ptr %9, align 8
store ptr %95, ptr %96, align 8
br label %97
97: ; preds = %90, %87
%98 = load i32, ptr %12, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds [4 x %struct.errval], ptr %14, i64 0, i64 %99
%101 = getelementptr inbounds %struct.errval, ptr %100, i32 0, i32 1
%102 = load i32, ptr %101, align 8
store i32 %102, ptr @errno, align 4
%103 = load i32, ptr %12, align 4
%104 = icmp ne i32 %103, 0
br i1 %104, label %105, label %106
105: ; preds = %97
store i64 0, ptr %11, align 8
br label %106
106: ; preds = %105, %97
%107 = load i64, ptr %11, align 8
ret i64 %107
}
declare i64 @strtol(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/tmpfvbywlqw.c"
target datalayout = "e-m:e-p270: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.errval = type { ptr, i32 }
@.str = private unnamed_addr constant [8 x i8] c"invalid\00", align 1
@EINVAL = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"too small\00", align 1
@ERANGE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [10 x i8] c"too large\00", align 1
@errno = dso_local global i32 0, align 4
@LONG_MIN = dso_local global i64 0, align 8
@LONG_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @strtonum_OBSD(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i64, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca [4 x %struct.errval], align 16
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
store i64 0, ptr %11, align 8
store i32 0, ptr %12, align 4
%15 = getelementptr inbounds [4 x %struct.errval], ptr %14, i64 0, i64 0
%16 = getelementptr inbounds %struct.errval, ptr %15, i32 0, i32 0
store ptr null, ptr %16, align 16
%17 = getelementptr inbounds %struct.errval, ptr %15, i32 0, i32 1
store i32 0, ptr %17, align 8
%18 = getelementptr inbounds %struct.errval, ptr %15, i64 1
%19 = getelementptr inbounds %struct.errval, ptr %18, i32 0, i32 0
store ptr @.str, ptr %19, align 16
%20 = getelementptr inbounds %struct.errval, ptr %18, i32 0, i32 1
%21 = load i32, ptr @EINVAL, align 4
store i32 %21, ptr %20, align 8
%22 = getelementptr inbounds %struct.errval, ptr %18, i64 1
%23 = getelementptr inbounds %struct.errval, ptr %22, i32 0, i32 0
store ptr @.str.1, ptr %23, align 16
%24 = getelementptr inbounds %struct.errval, ptr %22, i32 0, i32 1
%25 = load i32, ptr @ERANGE, align 4
store i32 %25, ptr %24, align 8
%26 = getelementptr inbounds %struct.errval, ptr %22, i64 1
%27 = getelementptr inbounds %struct.errval, ptr %26, i32 0, i32 0
store ptr @.str.2, ptr %27, align 16
%28 = getelementptr inbounds %struct.errval, ptr %26, i32 0, i32 1
%29 = load i32, ptr @ERANGE, align 4
store i32 %29, ptr %28, align 8
%30 = load i32, ptr @errno, align 4
%31 = getelementptr inbounds [4 x %struct.errval], ptr %14, i64 0, i64 0
%32 = getelementptr inbounds %struct.errval, ptr %31, i32 0, i32 1
store i32 %30, ptr %32, align 8
store i32 0, ptr @errno, align 4
%33 = load i64, ptr %7, align 8
%34 = load i64, ptr %8, align 8
%35 = icmp sgt i64 %33, %34
br i1 %35, label %36, label %37
36: ; preds = %5
store i32 1, ptr %12, align 4
br label %87
37: ; preds = %5
%38 = load i32, ptr %10, align 4
%39 = icmp eq i32 %38, 10
br i1 %39, label %44, label %40
40: ; preds = %37
%41 = load i32, ptr %10, align 4
%42 = icmp eq i32 %41, 16
br i1 %42, label %44, label %43
43: ; preds = %40
store i32 1, ptr %12, align 4
br label %86
44: ; preds = %40, %37
%45 = load ptr, ptr %6, align 8
%46 = load i32, ptr %10, align 4
%47 = call i64 @strtol(ptr noundef %45, ptr noundef %13, i32 noundef %46)
store i64 %47, ptr %11, align 8
%48 = load ptr, ptr %6, align 8
%49 = load ptr, ptr %13, align 8
%50 = icmp eq ptr %48, %49
br i1 %50, label %56, label %51
51: ; preds = %44
%52 = load ptr, ptr %13, align 8
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %57
56: ; preds = %51, %44
store i32 1, ptr %12, align 4
br label %85
57: ; preds = %51
%58 = load i64, ptr %11, align 8
%59 = load i64, ptr @LONG_MIN, align 8
%60 = icmp eq i64 %58, %59
br i1 %60, label %61, label %65
61: ; preds = %57
%62 = load i32, ptr @errno, align 4
%63 = load i32, ptr @ERANGE, align 4
%64 = icmp eq i32 %62, %63
br i1 %64, label %69, label %65
65: ; preds = %61, %57
%66 = load i64, ptr %11, align 8
%67 = load i64, ptr %7, align 8
%68 = icmp slt i64 %66, %67
br i1 %68, label %69, label %70
69: ; preds = %65, %61
store i32 2, ptr %12, align 4
br label %84
70: ; preds = %65
%71 = load i64, ptr %11, align 8
%72 = load i64, ptr @LONG_MAX, align 8
%73 = icmp eq i64 %71, %72
br i1 %73, label %74, label %78
74: ; preds = %70
%75 = load i32, ptr @errno, align 4
%76 = load i32, ptr @ERANGE, align 4
%77 = icmp eq i32 %75, %76
br i1 %77, label %82, label %78
78: ; preds = %74, %70
%79 = load i64, ptr %11, align 8
%80 = load i64, ptr %8, align 8
%81 = icmp sgt i64 %79, %80
br i1 %81, label %82, label %83
82: ; preds = %78, %74
store i32 3, ptr %12, align 4
br label %83
83: ; preds = %82, %78
br label %84
84: ; preds = %83, %69
br label %85
85: ; preds = %84, %56
br label %86
86: ; preds = %85, %43
br label %87
87: ; preds = %86, %36
%88 = load ptr, ptr %9, align 8
%89 = icmp ne ptr %88, null
br i1 %89, label %90, label %97
90: ; preds = %87
%91 = load i32, ptr %12, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds [4 x %struct.errval], ptr %14, i64 0, i64 %92
%94 = getelementptr inbounds %struct.errval, ptr %93, i32 0, i32 0
%95 = load ptr, ptr %94, align 16
%96 = load ptr, ptr %9, align 8
store ptr %95, ptr %96, align 8
br label %97
97: ; preds = %90, %87
%98 = load i32, ptr %12, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds [4 x %struct.errval], ptr %14, i64 0, i64 %99
%101 = getelementptr inbounds %struct.errval, ptr %100, i32 0, i32 1
%102 = load i32, ptr %101, align 8
store i32 %102, ptr @errno, align 4
%103 = load i32, ptr %12, align 4
%104 = icmp ne i32 %103, 0
br i1 %104, label %105, label %106
105: ; preds = %97
store i64 0, ptr %11, align 8
br label %106
106: ; preds = %105, %97
%107 = load i64, ptr %11, align 8
ret i64 %107
}
declare i64 @strtol(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/tmp41n5z2b7.c'
source_filename = "/tmp/tmp41n5z2b7.c"
target datalayout = "e-m:e-p270: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/tmp41n5z2b7.c"
target datalayout = "e-m:e-p270: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/tmpddz_ach6.c'
source_filename = "/tmp/tmpddz_ach6.c"
target datalayout = "e-m:e-p270: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/tmpddz_ach6.c"
target datalayout = "e-m:e-p270: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/tmpj2648728.c'
source_filename = "/tmp/tmpj2648728.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"Porta Ocupada\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"exit\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca %struct.sockaddr_in, align 4
%2 = alloca %struct.sockaddr_in, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [81 x i8], align 16
store i32 12, ptr %4, align 4
%6 = load i32, ptr @AF_INET, align 4
%7 = load i32, ptr @SOCK_DGRAM, align 4
%8 = call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 @bzero(ptr noundef %1, i32 noundef %9)
%11 = load i32, ptr @AF_INET, align 4
%12 = getelementptr inbounds %struct.sockaddr_in, ptr %1, i32 0, i32 2
store i32 %11, ptr %12, align 4
%13 = load i32, ptr @INADDR_ANY, align 4
%14 = call i32 @htonl(i32 noundef %13)
%15 = getelementptr inbounds %struct.sockaddr_in, ptr %1, i32 0, i32 1
%16 = getelementptr inbounds %struct.TYPE_2__, ptr %15, i32 0, i32 0
store i32 %14, ptr %16, align 4
%17 = call i32 @htons(i32 noundef 7013)
%18 = getelementptr inbounds %struct.sockaddr_in, ptr %1, i32 0, i32 0
store i32 %17, ptr %18, align 4
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %4, align 4
%21 = call i32 @bind(i32 noundef %19, ptr noundef %1, i32 noundef %20)
%22 = icmp eq i32 -1, %21
br i1 %22, label %23, label %28
23: ; preds = %0
%24 = call i32 @puts(ptr noundef @.str)
%25 = load i32, ptr %3, align 4
%26 = call i32 @close(i32 noundef %25)
%27 = call i32 @exit(i32 noundef 1) #3
unreachable
28: ; preds = %0
br label %29
29: ; preds = %35, %28
%30 = load i32, ptr %3, align 4
%31 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%32 = call i32 @recvfrom(i32 noundef %30, ptr noundef %31, i32 noundef 81, i32 noundef 0, ptr noundef %2, ptr noundef %4)
%33 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%34 = call i32 @puts(ptr noundef %33)
br label %35
35: ; preds = %29
%36 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%37 = call i64 @strcmp(ptr noundef %36, ptr noundef @.str.1)
%38 = icmp ne i64 %37, 0
br i1 %38, label %29, label %39, !llvm.loop !6
39: ; preds = %35
%40 = load i32, ptr %3, align 4
%41 = call i32 @close(i32 noundef %40)
ret void
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @close(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
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" }
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/tmpj2648728.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"Porta Ocupada\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"exit\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca %struct.sockaddr_in, align 4
%2 = alloca %struct.sockaddr_in, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [81 x i8], align 16
store i32 12, ptr %4, align 4
%6 = load i32, ptr @AF_INET, align 4
%7 = load i32, ptr @SOCK_DGRAM, align 4
%8 = call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 @bzero(ptr noundef %1, i32 noundef %9)
%11 = load i32, ptr @AF_INET, align 4
%12 = getelementptr inbounds %struct.sockaddr_in, ptr %1, i32 0, i32 2
store i32 %11, ptr %12, align 4
%13 = load i32, ptr @INADDR_ANY, align 4
%14 = call i32 @htonl(i32 noundef %13)
%15 = getelementptr inbounds %struct.sockaddr_in, ptr %1, i32 0, i32 1
%16 = getelementptr inbounds %struct.TYPE_2__, ptr %15, i32 0, i32 0
store i32 %14, ptr %16, align 4
%17 = call i32 @htons(i32 noundef 7013)
%18 = getelementptr inbounds %struct.sockaddr_in, ptr %1, i32 0, i32 0
store i32 %17, ptr %18, align 4
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %4, align 4
%21 = call i32 @bind(i32 noundef %19, ptr noundef %1, i32 noundef %20)
%22 = icmp eq i32 -1, %21
br i1 %22, label %23, label %28
23: ; preds = %0
%24 = call i32 @puts(ptr noundef @.str)
%25 = load i32, ptr %3, align 4
%26 = call i32 @close(i32 noundef %25)
%27 = call i32 @exit(i32 noundef 1) #3
unreachable
28: ; preds = %0
%29 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
br label %30
30: ; preds = %36, %28
%31 = load i32, ptr %3, align 4
%32 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%33 = call i32 @recvfrom(i32 noundef %31, ptr noundef %32, i32 noundef 81, i32 noundef 0, ptr noundef %2, ptr noundef %4)
%34 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%35 = call i32 @puts(ptr noundef %34)
br label %36
36: ; preds = %30
%37 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str.1)
%38 = icmp ne i64 %37, 0
br i1 %38, label %30, label %39, !llvm.loop !6
39: ; preds = %36
%40 = load i32, ptr %3, align 4
%41 = call i32 @close(i32 noundef %40)
ret void
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @close(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
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" }
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/tmpine4rhoc.c'
source_filename = "/tmp/tmpine4rhoc.c"
target datalayout = "e-m:e-p270: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.passwd = type { i32, i64, i32 }
@.str = private unnamed_addr constant [7 x i8] c"nobody\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"getpwnam(nobody) failed\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"initgroups(%s, %lud) failed\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"setgid(%lud) failed\00", align 1
@.str.4 = private unnamed_addr constant [20 x i8] c"setuid(%lud) failed\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"id\00", align 1
@.str.6 = private unnamed_addr constant [52 x i8] c"system(id) failed when invoking fork() or waitpid()\00", align 1
@.str.7 = private unnamed_addr constant [44 x i8] c"system(id) failed during execution of shell\00", align 1
@.str.8 = private unnamed_addr constant [18 x i8] c"debugflag is %d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @decreasepriv(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store ptr null, ptr %3, align 8
%5 = call ptr @getpwnam(ptr noundef @.str)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.1)
br label %10
10: ; preds = %8, %1
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds %struct.passwd, ptr %11, i32 0, i32 2
%13 = load i32, ptr %12, align 8
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds %struct.passwd, ptr %14, i32 0, i32 1
%16 = load i64, ptr %15, align 8
%17 = trunc i64 %16 to i32
%18 = call i32 @initgroups(i32 noundef %13, i32 noundef %17)
store i32 %18, ptr %4, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %29
21: ; preds = %10
%22 = load ptr, ptr %3, align 8
%23 = getelementptr inbounds %struct.passwd, ptr %22, i32 0, i32 2
%24 = load i32, ptr %23, align 8
%25 = load ptr, ptr %3, align 8
%26 = getelementptr inbounds %struct.passwd, ptr %25, i32 0, i32 1
%27 = load i64, ptr %26, align 8
%28 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.2, i32 noundef %24, i64 noundef %27)
br label %29
29: ; preds = %21, %10
%30 = load ptr, ptr %3, align 8
%31 = getelementptr inbounds %struct.passwd, ptr %30, i32 0, i32 1
%32 = load i64, ptr %31, align 8
%33 = call i32 @setgid(i64 noundef %32)
store i32 %33, ptr %4, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %41
36: ; preds = %29
%37 = load ptr, ptr %3, align 8
%38 = getelementptr inbounds %struct.passwd, ptr %37, i32 0, i32 1
%39 = load i64, ptr %38, align 8
%40 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.3, i64 noundef %39)
br label %41
41: ; preds = %36, %29
%42 = load ptr, ptr %3, align 8
%43 = getelementptr inbounds %struct.passwd, ptr %42, i32 0, i32 0
%44 = load i32, ptr %43, align 8
%45 = call i32 @setuid(i32 noundef %44)
store i32 %45, ptr %4, align 4
%46 = load i32, ptr %4, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %53
48: ; preds = %41
%49 = load ptr, ptr %3, align 8
%50 = getelementptr inbounds %struct.passwd, ptr %49, i32 0, i32 0
%51 = load i32, ptr %50, align 8
%52 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.4, i32 noundef %51)
br label %53
53: ; preds = %48, %41
%54 = call i32 @system(ptr noundef @.str.5)
store i32 %54, ptr %4, align 4
%55 = load i32, ptr %4, align 4
%56 = icmp eq i32 %55, -1
br i1 %56, label %57, label %59
57: ; preds = %53
%58 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.6)
br label %65
59: ; preds = %53
%60 = load i32, ptr %4, align 4
%61 = icmp eq i32 %60, 127
br i1 %61, label %62, label %64
62: ; preds = %59
%63 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.7)
br label %64
64: ; preds = %62, %59
br label %65
65: ; preds = %64, %57
%66 = load i32, ptr %2, align 4
%67 = icmp sgt i32 %66, 0
br i1 %67, label %68, label %71
68: ; preds = %65
%69 = load i32, ptr %2, align 4
%70 = call i32 @printf(ptr noundef @.str.8, i32 noundef %69)
br label %71
71: ; preds = %68, %65
ret i32 0
}
declare ptr @getpwnam(ptr noundef) #1
declare i32 @err(i32 noundef, ptr noundef, ...) #1
declare i32 @initgroups(i32 noundef, i32 noundef) #1
declare i32 @setgid(i64 noundef) #1
declare i32 @setuid(i32 noundef) #1
declare i32 @system(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpine4rhoc.c"
target datalayout = "e-m:e-p270: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.passwd = type { i32, i64, i32 }
@.str = private unnamed_addr constant [7 x i8] c"nobody\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"getpwnam(nobody) failed\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"initgroups(%s, %lud) failed\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"setgid(%lud) failed\00", align 1
@.str.4 = private unnamed_addr constant [20 x i8] c"setuid(%lud) failed\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"id\00", align 1
@.str.6 = private unnamed_addr constant [52 x i8] c"system(id) failed when invoking fork() or waitpid()\00", align 1
@.str.7 = private unnamed_addr constant [44 x i8] c"system(id) failed during execution of shell\00", align 1
@.str.8 = private unnamed_addr constant [18 x i8] c"debugflag is %d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @decreasepriv(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store ptr null, ptr %3, align 8
%5 = call ptr @getpwnam(ptr noundef @.str)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.1)
br label %10
10: ; preds = %8, %1
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds %struct.passwd, ptr %11, i32 0, i32 2
%13 = load i32, ptr %12, align 8
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds %struct.passwd, ptr %14, i32 0, i32 1
%16 = load i64, ptr %15, align 8
%17 = trunc i64 %16 to i32
%18 = call i32 @initgroups(i32 noundef %13, i32 noundef %17)
store i32 %18, ptr %4, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %29
21: ; preds = %10
%22 = load ptr, ptr %3, align 8
%23 = getelementptr inbounds %struct.passwd, ptr %22, i32 0, i32 2
%24 = load i32, ptr %23, align 8
%25 = load ptr, ptr %3, align 8
%26 = getelementptr inbounds %struct.passwd, ptr %25, i32 0, i32 1
%27 = load i64, ptr %26, align 8
%28 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.2, i32 noundef %24, i64 noundef %27)
br label %29
29: ; preds = %21, %10
%30 = load ptr, ptr %3, align 8
%31 = getelementptr inbounds %struct.passwd, ptr %30, i32 0, i32 1
%32 = load i64, ptr %31, align 8
%33 = call i32 @setgid(i64 noundef %32)
store i32 %33, ptr %4, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %41
36: ; preds = %29
%37 = load ptr, ptr %3, align 8
%38 = getelementptr inbounds %struct.passwd, ptr %37, i32 0, i32 1
%39 = load i64, ptr %38, align 8
%40 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.3, i64 noundef %39)
br label %41
41: ; preds = %36, %29
%42 = load ptr, ptr %3, align 8
%43 = getelementptr inbounds %struct.passwd, ptr %42, i32 0, i32 0
%44 = load i32, ptr %43, align 8
%45 = call i32 @setuid(i32 noundef %44)
store i32 %45, ptr %4, align 4
%46 = load i32, ptr %4, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %53
48: ; preds = %41
%49 = load ptr, ptr %3, align 8
%50 = getelementptr inbounds %struct.passwd, ptr %49, i32 0, i32 0
%51 = load i32, ptr %50, align 8
%52 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.4, i32 noundef %51)
br label %53
53: ; preds = %48, %41
%54 = call i32 @system(ptr noundef @.str.5)
store i32 %54, ptr %4, align 4
%55 = load i32, ptr %4, align 4
%56 = icmp eq i32 %55, -1
br i1 %56, label %57, label %59
57: ; preds = %53
%58 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.6)
br label %65
59: ; preds = %53
%60 = load i32, ptr %4, align 4
%61 = icmp eq i32 %60, 127
br i1 %61, label %62, label %64
62: ; preds = %59
%63 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.7)
br label %64
64: ; preds = %62, %59
br label %65
65: ; preds = %64, %57
%66 = load i32, ptr %2, align 4
%67 = icmp sgt i32 %66, 0
br i1 %67, label %68, label %71
68: ; preds = %65
%69 = load i32, ptr %2, align 4
%70 = call i32 @printf(ptr noundef @.str.8, i32 noundef %69)
br label %71
71: ; preds = %68, %65
ret i32 0
}
declare ptr @getpwnam(ptr noundef) #1
declare i32 @err(i32 noundef, ptr noundef, ...) #1
declare i32 @initgroups(i32 noundef, i32 noundef) #1
declare i32 @setgid(i64 noundef) #1
declare i32 @setuid(i32 noundef) #1
declare i32 @system(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpovvutyj3.c'
source_filename = "/tmp/tmpovvutyj3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"Enter the strength of the class: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"Enter the names of the students:\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c"\0AStudents in the class: \0A\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"-----------------------\0A\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"%d %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2)
%8 = load i32, ptr %2, align 4
%9 = zext i32 %8 to i64
%10 = call ptr @llvm.stacksave()
store ptr %10, ptr %4, align 8
%11 = alloca [80 x i8], i64 %9, align 16
store i64 %9, ptr %5, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
br label %13
13: ; preds = %23, %0
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %26
17: ; preds = %13
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [80 x i8], ptr %11, i64 %19
%21 = getelementptr inbounds [80 x i8], ptr %20, i64 0, i64 0
%22 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %21)
br label %23
23: ; preds = %17
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %3, align 4
br label %13, !llvm.loop !6
26: ; preds = %13
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 0, ptr %3, align 4
br label %29
29: ; preds = %41, %26
%30 = load i32, ptr %3, align 4
%31 = load i32, ptr %2, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %44
33: ; preds = %29
%34 = load i32, ptr %3, align 4
%35 = add nsw i32 %34, 1
%36 = load i32, ptr %3, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [80 x i8], ptr %11, i64 %37
%39 = getelementptr inbounds [80 x i8], ptr %38, i64 0, i64 0
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %35, ptr noundef %39)
br label %41
41: ; preds = %33
%42 = load i32, ptr %3, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %3, align 4
br label %29, !llvm.loop !8
44: ; preds = %29
%45 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %45)
%46 = load i32, ptr %1, align 4
ret i32 %46
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpovvutyj3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"Enter the strength of the class: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"Enter the names of the students:\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c"\0AStudents in the class: \0A\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"-----------------------\0A\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"%d %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2)
%8 = load i32, ptr %2, align 4
%9 = zext i32 %8 to i64
%10 = call ptr @llvm.stacksave()
store ptr %10, ptr %4, align 8
%11 = alloca [80 x i8], i64 %9, align 16
store i64 %9, ptr %5, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %28
.lr.ph: ; preds = %0
br label %16
16: ; preds = %.lr.ph, %22
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [80 x i8], ptr %11, i64 %18
%20 = getelementptr inbounds [80 x i8], ptr %19, i64 0, i64 0
%21 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %20)
br label %22
22: ; preds = %16
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
%25 = load i32, ptr %3, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %0
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 0, ptr %3, align 4
%31 = load i32, ptr %3, align 4
%32 = load i32, ptr %2, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %.lr.ph2, label %48
.lr.ph2: ; preds = %28
br label %34
34: ; preds = %.lr.ph2, %42
%35 = load i32, ptr %3, align 4
%36 = add nsw i32 %35, 1
%37 = load i32, ptr %3, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [80 x i8], ptr %11, i64 %38
%40 = getelementptr inbounds [80 x i8], ptr %39, i64 0, i64 0
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %36, ptr noundef %40)
br label %42
42: ; preds = %34
%43 = load i32, ptr %3, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %3, align 4
%45 = load i32, ptr %3, align 4
%46 = load i32, ptr %2, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %34, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %42
br label %48
48: ; preds = %._crit_edge3, %28
%49 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %49)
%50 = load i32, ptr %1, align 4
ret i32 %50
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp4fuojln7.c'
source_filename = "/tmp/tmp4fuojln7.c"
target datalayout = "e-m:e-p270: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 [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @errout(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4fuojln7.c"
target datalayout = "e-m:e-p270: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 [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @errout(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps6nfg_0x.c'
source_filename = "/tmp/tmps6nfg_0x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.ask_quit_confirmation.msg = private unnamed_addr constant [73 x i8] c"!YOU ARE ABOUT TO QUIT. PRESS ESC TO CONFIRM, OR ANY OTHER KEY TO ABORT.\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ask_quit_confirmation(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca [73 x i8], align 16
store ptr %0, ptr %2, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.ask_quit_confirmation.msg, i64 73, i1 false)
%5 = getelementptr inbounds [73 x i8], ptr %4, i64 0, i64 0
%6 = load ptr, ptr %2, align 8
%7 = call i32 @draw_statusbar(ptr noundef %5, ptr noundef %6)
br label %8
8: ; preds = %10, %1
%9 = call i32 (...) @ui_getkey()
store i32 %9, ptr %3, align 4
br label %10
10: ; preds = %8
%11 = load i32, ptr %3, align 4
%12 = icmp eq i32 %11, 0
br i1 %12, label %8, label %13, !llvm.loop !6
13: ; preds = %10
%14 = load i32, ptr %3, align 4
%15 = icmp eq i32 %14, 27
br i1 %15, label %19, label %16
16: ; preds = %13
%17 = load i32, ptr %3, align 4
%18 = icmp eq i32 %17, 255
br label %19
19: ; preds = %16, %13
%20 = phi i1 [ true, %13 ], [ %18, %16 ]
%21 = zext i1 %20 to i32
ret i32 %21
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @draw_statusbar(ptr noundef, ptr noundef) #2
declare i32 @ui_getkey(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps6nfg_0x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.ask_quit_confirmation.msg = private unnamed_addr constant [73 x i8] c"!YOU ARE ABOUT TO QUIT. PRESS ESC TO CONFIRM, OR ANY OTHER KEY TO ABORT.\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ask_quit_confirmation(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca [73 x i8], align 16
store ptr %0, ptr %2, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.ask_quit_confirmation.msg, i64 73, i1 false)
%5 = getelementptr inbounds [73 x i8], ptr %4, i64 0, i64 0
%6 = load ptr, ptr %2, align 8
%7 = call i32 @draw_statusbar(ptr noundef %5, ptr noundef %6)
br label %8
8: ; preds = %10, %1
%9 = call i32 (...) @ui_getkey()
store i32 %9, ptr %3, align 4
br label %10
10: ; preds = %8
%11 = load i32, ptr %3, align 4
%12 = icmp eq i32 %11, 0
br i1 %12, label %8, label %13, !llvm.loop !6
13: ; preds = %10
%14 = load i32, ptr %3, align 4
%15 = icmp eq i32 %14, 27
br i1 %15, label %19, label %16
16: ; preds = %13
%17 = load i32, ptr %3, align 4
%18 = icmp eq i32 %17, 255
br label %19
19: ; preds = %16, %13
%20 = phi i1 [ true, %13 ], [ %18, %16 ]
%21 = zext i1 %20 to i32
ret i32 %21
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @draw_statusbar(ptr noundef, ptr noundef) #2
declare i32 @ui_getkey(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp8zwph8_n.c'
source_filename = "/tmp/tmp8zwph8_n.c"
target datalayout = "e-m:e-p270: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/tmp8zwph8_n.c"
target datalayout = "e-m:e-p270: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/tmp8fl1aik6.c'
source_filename = "/tmp/tmp8fl1aik6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initControllerTable(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 @resetRegisteredControlFunctions(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @clearControllerMapping(ptr noundef %5)
ret void
}
declare i32 @resetRegisteredControlFunctions(ptr noundef) #1
declare i32 @clearControllerMapping(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8fl1aik6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initControllerTable(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 @resetRegisteredControlFunctions(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @clearControllerMapping(ptr noundef %5)
ret void
}
declare i32 @resetRegisteredControlFunctions(ptr noundef) #1
declare i32 @clearControllerMapping(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu3rwjxky.c'
source_filename = "/tmp/tmpu3rwjxky.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.in = private unnamed_addr constant [8 x i8] c"bradley\00", align 1
@.str = private unnamed_addr constant [13 x i8] c"b64_enc: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"b64_dec: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"urlsafe_b64_enc: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"urlsafe_b64_dec: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [8 x i8], align 1
%7 = alloca [256 x i8], align 16
%8 = alloca [256 x i8], align 16
%9 = alloca i64, align 8
%10 = 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
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.in, i64 8, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 256, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 256, i1 false)
store i64 0, ptr %9, align 8
store i64 0, ptr %10, align 8
store i64 256, ptr %9, align 8
store i64 256, ptr %10, align 8
%11 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0
%12 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0
%13 = call i32 @strlen(ptr noundef %12)
%14 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%15 = call i32 @b64_encode(ptr noundef %11, i32 noundef %13, ptr noundef %14, ptr noundef %9)
%16 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%17 = call i32 @printf(ptr noundef @.str, ptr noundef %16)
%18 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%19 = load i64, ptr %9, align 8
%20 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%21 = call i32 @b64_decode(ptr noundef %18, i64 noundef %19, ptr noundef %20, ptr noundef %10)
%22 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%23 = call i32 @printf(ptr noundef @.str.1, ptr noundef %22)
%24 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%25 = call i32 @memset(ptr noundef %24, i32 noundef 0, i32 noundef 256)
store i64 256, ptr %9, align 8
%26 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%27 = call i32 @memset(ptr noundef %26, i32 noundef 0, i32 noundef 256)
store i64 256, ptr %10, align 8
%28 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0
%29 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0
%30 = call i32 @strlen(ptr noundef %29)
%31 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%32 = call i32 @urlsafe_b64_encode(ptr noundef %28, i32 noundef %30, ptr noundef %31, ptr noundef %9)
%33 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%34 = call i32 @printf(ptr noundef @.str.2, ptr noundef %33)
%35 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%36 = load i64, ptr %9, align 8
%37 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%38 = call i32 @urlsafe_b64_decode(ptr noundef %35, i64 noundef %36, ptr noundef %37, ptr noundef %10)
%39 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%40 = call i32 @printf(ptr noundef @.str.3, ptr noundef %39)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; 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 @b64_encode(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #3
declare i32 @strlen(ptr noundef) #3
declare i32 @printf(ptr noundef, ptr noundef) #3
declare i32 @b64_decode(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #3
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #3
declare i32 @urlsafe_b64_encode(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #3
declare i32 @urlsafe_b64_decode(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmpu3rwjxky.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.in = private unnamed_addr constant [8 x i8] c"bradley\00", align 1
@.str = private unnamed_addr constant [13 x i8] c"b64_enc: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"b64_dec: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"urlsafe_b64_enc: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"urlsafe_b64_dec: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [8 x i8], align 1
%7 = alloca [256 x i8], align 16
%8 = alloca [256 x i8], align 16
%9 = alloca i64, align 8
%10 = 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
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.in, i64 8, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 256, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 256, i1 false)
store i64 0, ptr %9, align 8
store i64 0, ptr %10, align 8
store i64 256, ptr %9, align 8
store i64 256, ptr %10, align 8
%11 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0
%12 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0
%13 = call i32 @strlen(ptr noundef %12)
%14 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%15 = call i32 @b64_encode(ptr noundef %11, i32 noundef %13, ptr noundef %14, ptr noundef %9)
%16 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%17 = call i32 @printf(ptr noundef @.str, ptr noundef %16)
%18 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%19 = load i64, ptr %9, align 8
%20 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%21 = call i32 @b64_decode(ptr noundef %18, i64 noundef %19, ptr noundef %20, ptr noundef %10)
%22 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%23 = call i32 @printf(ptr noundef @.str.1, ptr noundef %22)
%24 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%25 = call i32 @memset(ptr noundef %24, i32 noundef 0, i32 noundef 256)
store i64 256, ptr %9, align 8
%26 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%27 = call i32 @memset(ptr noundef %26, i32 noundef 0, i32 noundef 256)
store i64 256, ptr %10, align 8
%28 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0
%29 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0
%30 = call i32 @strlen(ptr noundef %29)
%31 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%32 = call i32 @urlsafe_b64_encode(ptr noundef %28, i32 noundef %30, ptr noundef %31, ptr noundef %9)
%33 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%34 = call i32 @printf(ptr noundef @.str.2, ptr noundef %33)
%35 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%36 = load i64, ptr %9, align 8
%37 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%38 = call i32 @urlsafe_b64_decode(ptr noundef %35, i64 noundef %36, ptr noundef %37, ptr noundef %10)
%39 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%40 = call i32 @printf(ptr noundef @.str.3, ptr noundef %39)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; 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 @b64_encode(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #3
declare i32 @strlen(ptr noundef) #3
declare i32 @printf(ptr noundef, ptr noundef) #3
declare i32 @b64_decode(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #3
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #3
declare i32 @urlsafe_b64_encode(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #3
declare i32 @urlsafe_b64_decode(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmpiiyo1ony.c'
source_filename = "/tmp/tmpiiyo1ony.c"
target datalayout = "e-m:e-p270: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/tmpiiyo1ony.c"
target datalayout = "e-m:e-p270: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/tmpcmdhxv64.c'
source_filename = "/tmp/tmpcmdhxv64.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getProtoFunction(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i32, ptr %3, i64 0
%5 = load i32, ptr %4, align 4
%6 = and i32 %5, 15
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/tmpcmdhxv64.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getProtoFunction(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i32, ptr %3, i64 0
%5 = load i32, ptr %4, align 4
%6 = and i32 %5, 15
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/tmpgrabb0gy.c'
source_filename = "/tmp/tmpgrabb0gy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"# c::%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"ln\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
%6 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %18, %0
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 3
br i1 %9, label %10, label %21
10: ; preds = %7
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%12 = call double (...) @benchmark()
store double %12, ptr %2, align 8
%13 = load double, ptr %2, align 8
%14 = call i32 @print_results(double noundef %13)
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16)
br label %18
18: ; preds = %10
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
br label %7, !llvm.loop !6
21: ; preds = %7
%22 = call i32 @print_summary(i32 noundef 3, i32 noundef 3)
%23 = load i32, ptr %1, align 4
ret i32 %23
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(...) #1
declare i32 @print_results(double noundef) #1
declare i32 @print_summary(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgrabb0gy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"# c::%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"ln\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
%6 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 3
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %17
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%11 = call double (...) @benchmark()
store double %11, ptr %2, align 8
%12 = load double, ptr %2, align 8
%13 = call i32 @print_results(double noundef %12)
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15)
br label %17
17: ; preds = %9
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %20, 3
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %0
%23 = call i32 @print_summary(i32 noundef 3, i32 noundef 3)
%24 = load i32, ptr %1, align 4
ret i32 %24
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(...) #1
declare i32 @print_results(double noundef) #1
declare i32 @print_summary(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpgo_uwyeq.c'
source_filename = "/tmp/tmpgo_uwyeq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"wb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @write_file_bin(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%10 = load ptr, ptr %4, align 8
%11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str)
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %7, align 8
%13 = call i32 @assert(ptr noundef %12)
%14 = call i64 @time(ptr noundef null)
store i64 %14, ptr %8, align 8
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %6, align 4
%17 = load ptr, ptr %7, align 8
%18 = call i32 @fwrite(ptr noundef %15, i32 noundef 8, i32 noundef %16, ptr noundef %17)
%19 = call i64 @time(ptr noundef null)
store i64 %19, ptr %9, align 8
%20 = load ptr, ptr %7, align 8
%21 = call i32 @fclose(ptr noundef %20)
%22 = load i64, ptr %9, align 8
%23 = load i64, ptr %8, align 8
%24 = sub nsw i64 %22, %23
%25 = trunc i64 %24 to i32
ret i32 %25
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @assert(ptr noundef) #1
declare i64 @time(ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgo_uwyeq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"wb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @write_file_bin(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%10 = load ptr, ptr %4, align 8
%11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str)
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %7, align 8
%13 = call i32 @assert(ptr noundef %12)
%14 = call i64 @time(ptr noundef null)
store i64 %14, ptr %8, align 8
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %6, align 4
%17 = load ptr, ptr %7, align 8
%18 = call i32 @fwrite(ptr noundef %15, i32 noundef 8, i32 noundef %16, ptr noundef %17)
%19 = call i64 @time(ptr noundef null)
store i64 %19, ptr %9, align 8
%20 = load ptr, ptr %7, align 8
%21 = call i32 @fclose(ptr noundef %20)
%22 = load i64, ptr %9, align 8
%23 = load i64, ptr %8, align 8
%24 = sub nsw i64 %22, %23
%25 = trunc i64 %24 to i32
ret i32 %25
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @assert(ptr noundef) #1
declare i64 @time(ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6we4f85t.c'
source_filename = "/tmp/tmp6we4f85t.c"
target datalayout = "e-m:e-p270: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/tmp6we4f85t.c"
target datalayout = "e-m:e-p270: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/tmpkbl0mt7g.c'
source_filename = "/tmp/tmpkbl0mt7g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @myxml_get_node_attribute(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i8, align 1
%12 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%13 = load ptr, ptr %4, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %18, label %15
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %19
18: ; preds = %15, %2
store ptr null, ptr %3, align 8
br label %144
19: ; preds = %15
%20 = load ptr, ptr %4, align 8
store ptr %20, ptr %7, align 8
br label %21
21: ; preds = %33, %19
%22 = load ptr, ptr %7, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %31
26: ; preds = %21
%27 = load ptr, ptr %7, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp ne i32 %29, 62
br label %31
31: ; preds = %26, %21
%32 = phi i1 [ false, %21 ], [ %30, %26 ]
br i1 %32, label %33, label %36
33: ; preds = %31
%34 = load ptr, ptr %7, align 8
%35 = getelementptr inbounds i8, ptr %34, i32 1
store ptr %35, ptr %7, align 8
br label %21, !llvm.loop !6
36: ; preds = %31
%37 = load ptr, ptr %7, align 8
%38 = load i8, ptr %37, align 1
%39 = icmp ne i8 %38, 0
br i1 %39, label %41, label %40
40: ; preds = %36
store ptr null, ptr %3, align 8
br label %144
41: ; preds = %36
%42 = load ptr, ptr %7, align 8
%43 = load ptr, ptr %4, align 8
%44 = ptrtoint ptr %42 to i64
%45 = ptrtoint ptr %43 to i64
%46 = sub i64 %44, %45
%47 = add nsw i64 %46, 2
%48 = trunc i64 %47 to i32
store i32 %48, ptr %12, align 4
%49 = load i32, ptr %12, align 4
%50 = call ptr @malloc(i32 noundef %49)
store ptr %50, ptr %6, align 8
%51 = load ptr, ptr %6, align 8
%52 = icmp ne ptr %51, null
br i1 %52, label %54, label %53
53: ; preds = %41
store ptr null, ptr %3, align 8
br label %144
54: ; preds = %41
%55 = load ptr, ptr %6, align 8
%56 = load i32, ptr %12, align 4
%57 = call i32 @memset(ptr noundef %55, i32 noundef 0, i32 noundef %56)
%58 = load ptr, ptr %6, align 8
%59 = load ptr, ptr %4, align 8
%60 = load i32, ptr %12, align 4
%61 = sub nsw i32 %60, 1
%62 = call i32 @strncpy(ptr noundef %58, ptr noundef %59, i32 noundef %61)
%63 = load ptr, ptr %5, align 8
%64 = call i64 @strlen(ptr noundef %63)
%65 = add i64 %64, 2
%66 = trunc i64 %65 to i32
store i32 %66, ptr %12, align 4
%67 = load i32, ptr %12, align 4
%68 = call ptr @malloc(i32 noundef %67)
store ptr %68, ptr %10, align 8
%69 = load ptr, ptr %10, align 8
%70 = icmp ne ptr %69, null
br i1 %70, label %74, label %71
71: ; preds = %54
%72 = load ptr, ptr %6, align 8
%73 = call i32 @free(ptr noundef %72)
store ptr null, ptr %3, align 8
br label %144
74: ; preds = %54
%75 = load ptr, ptr %10, align 8
%76 = load i32, ptr %12, align 4
%77 = call i32 @memset(ptr noundef %75, i32 noundef 0, i32 noundef %76)
%78 = load ptr, ptr %10, align 8
%79 = load ptr, ptr %5, align 8
%80 = load i32, ptr %12, align 4
%81 = sub nsw i32 %80, 1
%82 = call i32 @strncpy(ptr noundef %78, ptr noundef %79, i32 noundef %81)
%83 = load ptr, ptr %10, align 8
%84 = load i32, ptr %12, align 4
%85 = sub nsw i32 %84, 1
%86 = call i32 @strncat(ptr noundef %83, ptr noundef @.str, i32 noundef %85)
%87 = load ptr, ptr %6, align 8
%88 = load ptr, ptr %10, align 8
%89 = call ptr @strstr(ptr noundef %87, ptr noundef %88)
store ptr %89, ptr %8, align 8
br label %90
90: ; preds = %132, %74
%91 = load ptr, ptr %8, align 8
%92 = icmp ne ptr %91, null
br i1 %92, label %93, label %139
93: ; preds = %90
%94 = load ptr, ptr %8, align 8
%95 = getelementptr inbounds i8, ptr %94, i32 -1
store ptr %95, ptr %8, align 8
%96 = load ptr, ptr %8, align 8
%97 = load i8, ptr %96, align 1
%98 = call i64 @isspace(i8 noundef signext %97)
%99 = icmp ne i64 %98, 0
br i1 %99, label %105, label %100
100: ; preds = %93
%101 = load ptr, ptr %8, align 8
%102 = load i8, ptr %101, align 1
%103 = sext i8 %102 to i32
%104 = icmp eq i32 %103, 58
br i1 %104, label %105, label %132
105: ; preds = %100, %93
%106 = load ptr, ptr %8, align 8
%107 = getelementptr inbounds i8, ptr %106, i32 1
store ptr %107, ptr %8, align 8
%108 = load ptr, ptr %8, align 8
%109 = load ptr, ptr %10, align 8
%110 = call i64 @strlen(ptr noundef %109)
%111 = getelementptr inbounds i8, ptr %108, i64 %110
store ptr %111, ptr %8, align 8
%112 = load ptr, ptr %8, align 8
%113 = getelementptr inbounds i8, ptr %112, i64 0
%114 = load i8, ptr %113, align 1
store i8 %114, ptr %11, align 1
%115 = load ptr, ptr %8, align 8
%116 = getelementptr inbounds i8, ptr %115, i32 1
store ptr %116, ptr %8, align 8
%117 = load ptr, ptr %8, align 8
%118 = load i8, ptr %11, align 1
%119 = call ptr @strchr(ptr noundef %117, i8 noundef signext %118)
store ptr %119, ptr %7, align 8
store ptr null, ptr %9, align 8
%120 = load ptr, ptr %7, align 8
%121 = icmp ne ptr %120, null
br i1 %121, label %122, label %126
122: ; preds = %105
%123 = load ptr, ptr %7, align 8
store i8 0, ptr %123, align 1
%124 = load ptr, ptr %8, align 8
%125 = call ptr @strdup(ptr noundef %124)
store ptr %125, ptr %9, align 8
br label %126
126: ; preds = %122, %105
%127 = load ptr, ptr %10, align 8
%128 = call i32 @free(ptr noundef %127)
%129 = load ptr, ptr %6, align 8
%130 = call i32 @free(ptr noundef %129)
%131 = load ptr, ptr %9, align 8
store ptr %131, ptr %3, align 8
br label %144
132: ; preds = %100
%133 = load ptr, ptr %8, align 8
%134 = load ptr, ptr %10, align 8
%135 = call i64 @strlen(ptr noundef %134)
%136 = getelementptr inbounds i8, ptr %133, i64 %135
%137 = load ptr, ptr %10, align 8
%138 = call ptr @strstr(ptr noundef %136, ptr noundef %137)
store ptr %138, ptr %8, align 8
br label %90, !llvm.loop !8
139: ; preds = %90
%140 = load ptr, ptr %10, align 8
%141 = call i32 @free(ptr noundef %140)
%142 = load ptr, ptr %6, align 8
%143 = call i32 @free(ptr noundef %142)
store ptr null, ptr %3, align 8
br label %144
144: ; preds = %139, %126, %71, %53, %40, %18
%145 = load ptr, ptr %3, align 8
ret ptr %145
}
declare ptr @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i64 @isspace(i8 noundef signext) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpkbl0mt7g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @myxml_get_node_attribute(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i8, align 1
%12 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%13 = load ptr, ptr %4, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %18, label %15
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %19
18: ; preds = %15, %2
store ptr null, ptr %3, align 8
br label %145
19: ; preds = %15
%20 = load ptr, ptr %4, align 8
store ptr %20, ptr %7, align 8
br label %21
21: ; preds = %33, %19
%22 = load ptr, ptr %7, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %31
26: ; preds = %21
%27 = load ptr, ptr %7, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp ne i32 %29, 62
br label %31
31: ; preds = %26, %21
%32 = phi i1 [ false, %21 ], [ %30, %26 ]
br i1 %32, label %33, label %36
33: ; preds = %31
%34 = load ptr, ptr %7, align 8
%35 = getelementptr inbounds i8, ptr %34, i32 1
store ptr %35, ptr %7, align 8
br label %21, !llvm.loop !6
36: ; preds = %31
%37 = load ptr, ptr %7, align 8
%38 = load i8, ptr %37, align 1
%39 = icmp ne i8 %38, 0
br i1 %39, label %41, label %40
40: ; preds = %36
store ptr null, ptr %3, align 8
br label %145
41: ; preds = %36
%42 = load ptr, ptr %7, align 8
%43 = load ptr, ptr %4, align 8
%44 = ptrtoint ptr %42 to i64
%45 = ptrtoint ptr %43 to i64
%46 = sub i64 %44, %45
%47 = add nsw i64 %46, 2
%48 = trunc i64 %47 to i32
store i32 %48, ptr %12, align 4
%49 = load i32, ptr %12, align 4
%50 = call ptr @malloc(i32 noundef %49)
store ptr %50, ptr %6, align 8
%51 = load ptr, ptr %6, align 8
%52 = icmp ne ptr %51, null
br i1 %52, label %54, label %53
53: ; preds = %41
store ptr null, ptr %3, align 8
br label %145
54: ; preds = %41
%55 = load ptr, ptr %6, align 8
%56 = load i32, ptr %12, align 4
%57 = call i32 @memset(ptr noundef %55, i32 noundef 0, i32 noundef %56)
%58 = load ptr, ptr %6, align 8
%59 = load ptr, ptr %4, align 8
%60 = load i32, ptr %12, align 4
%61 = sub nsw i32 %60, 1
%62 = call i32 @strncpy(ptr noundef %58, ptr noundef %59, i32 noundef %61)
%63 = load ptr, ptr %5, align 8
%64 = call i64 @strlen(ptr noundef %63)
%65 = add i64 %64, 2
%66 = trunc i64 %65 to i32
store i32 %66, ptr %12, align 4
%67 = load i32, ptr %12, align 4
%68 = call ptr @malloc(i32 noundef %67)
store ptr %68, ptr %10, align 8
%69 = load ptr, ptr %10, align 8
%70 = icmp ne ptr %69, null
br i1 %70, label %74, label %71
71: ; preds = %54
%72 = load ptr, ptr %6, align 8
%73 = call i32 @free(ptr noundef %72)
store ptr null, ptr %3, align 8
br label %145
74: ; preds = %54
%75 = load ptr, ptr %10, align 8
%76 = load i32, ptr %12, align 4
%77 = call i32 @memset(ptr noundef %75, i32 noundef 0, i32 noundef %76)
%78 = load ptr, ptr %10, align 8
%79 = load ptr, ptr %5, align 8
%80 = load i32, ptr %12, align 4
%81 = sub nsw i32 %80, 1
%82 = call i32 @strncpy(ptr noundef %78, ptr noundef %79, i32 noundef %81)
%83 = load ptr, ptr %10, align 8
%84 = load i32, ptr %12, align 4
%85 = sub nsw i32 %84, 1
%86 = call i32 @strncat(ptr noundef %83, ptr noundef @.str, i32 noundef %85)
%87 = load ptr, ptr %6, align 8
%88 = load ptr, ptr %10, align 8
%89 = call ptr @strstr(ptr noundef %87, ptr noundef %88)
store ptr %89, ptr %8, align 8
%90 = load ptr, ptr %8, align 8
%91 = icmp ne ptr %90, null
br i1 %91, label %.lr.ph, label %140
.lr.ph: ; preds = %74
br label %92
92: ; preds = %.lr.ph, %131
%93 = load ptr, ptr %8, align 8
%94 = getelementptr inbounds i8, ptr %93, i32 -1
store ptr %94, ptr %8, align 8
%95 = load ptr, ptr %8, align 8
%96 = load i8, ptr %95, align 1
%97 = call i64 @isspace(i8 noundef signext %96)
%98 = icmp ne i64 %97, 0
br i1 %98, label %104, label %99
99: ; preds = %92
%100 = load ptr, ptr %8, align 8
%101 = load i8, ptr %100, align 1
%102 = sext i8 %101 to i32
%103 = icmp eq i32 %102, 58
br i1 %103, label %104, label %131
104: ; preds = %99, %92
%105 = load ptr, ptr %8, align 8
%106 = getelementptr inbounds i8, ptr %105, i32 1
store ptr %106, ptr %8, align 8
%107 = load ptr, ptr %8, align 8
%108 = load ptr, ptr %10, align 8
%109 = call i64 @strlen(ptr noundef %108)
%110 = getelementptr inbounds i8, ptr %107, i64 %109
store ptr %110, ptr %8, align 8
%111 = load ptr, ptr %8, align 8
%112 = getelementptr inbounds i8, ptr %111, i64 0
%113 = load i8, ptr %112, align 1
store i8 %113, ptr %11, align 1
%114 = load ptr, ptr %8, align 8
%115 = getelementptr inbounds i8, ptr %114, i32 1
store ptr %115, ptr %8, align 8
%116 = load ptr, ptr %8, align 8
%117 = load i8, ptr %11, align 1
%118 = call ptr @strchr(ptr noundef %116, i8 noundef signext %117)
store ptr %118, ptr %7, align 8
store ptr null, ptr %9, align 8
%119 = load ptr, ptr %7, align 8
%120 = icmp ne ptr %119, null
br i1 %120, label %121, label %125
121: ; preds = %104
%122 = load ptr, ptr %7, align 8
store i8 0, ptr %122, align 1
%123 = load ptr, ptr %8, align 8
%124 = call ptr @strdup(ptr noundef %123)
store ptr %124, ptr %9, align 8
br label %125
125: ; preds = %121, %104
%126 = load ptr, ptr %10, align 8
%127 = call i32 @free(ptr noundef %126)
%128 = load ptr, ptr %6, align 8
%129 = call i32 @free(ptr noundef %128)
%130 = load ptr, ptr %9, align 8
store ptr %130, ptr %3, align 8
br label %145
131: ; preds = %99
%132 = load ptr, ptr %8, align 8
%133 = load ptr, ptr %10, align 8
%134 = call i64 @strlen(ptr noundef %133)
%135 = getelementptr inbounds i8, ptr %132, i64 %134
%136 = load ptr, ptr %10, align 8
%137 = call ptr @strstr(ptr noundef %135, ptr noundef %136)
store ptr %137, ptr %8, align 8
%138 = load ptr, ptr %8, align 8
%139 = icmp ne ptr %138, null
br i1 %139, label %92, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %131
br label %140
140: ; preds = %._crit_edge, %74
%141 = load ptr, ptr %10, align 8
%142 = call i32 @free(ptr noundef %141)
%143 = load ptr, ptr %6, align 8
%144 = call i32 @free(ptr noundef %143)
store ptr null, ptr %3, align 8
br label %145
145: ; preds = %140, %125, %71, %53, %40, %18
%146 = load ptr, ptr %3, align 8
ret ptr %146
}
declare ptr @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i64 @isspace(i8 noundef signext) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpxjmxrjuj.c'
source_filename = "/tmp/tmpxjmxrjuj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"out.bin\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"%f %f %f %f %f %f %f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000 x i8], align 16
%3 = alloca [7 x float], align 16
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%6 = load i32, ptr @stdin, align 4
%7 = call i32 @fgets(ptr noundef %5, i32 noundef 999, i32 noundef %6)
%8 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%9 = load i32, ptr @stdin, align 4
%10 = call i32 @fgets(ptr noundef %8, i32 noundef 999, i32 noundef %9)
%11 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%12 = load i32, ptr @stdin, align 4
%13 = call i32 @fgets(ptr noundef %11, i32 noundef 999, i32 noundef %12)
%14 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%15 = load i32, ptr @stdin, align 4
%16 = call i32 @fgets(ptr noundef %14, i32 noundef 999, i32 noundef %15)
%17 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%18 = load i32, ptr @stdin, align 4
%19 = call i32 @fgets(ptr noundef %17, i32 noundef 999, i32 noundef %18)
%20 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %20, ptr %4, align 8
br label %21
21: ; preds = %52, %0
%22 = load i32, ptr @stdin, align 4
%23 = call i64 @feof(i32 noundef %22)
%24 = icmp ne i64 %23, 0
%25 = xor i1 %24, true
br i1 %25, label %26, label %53
26: ; preds = %21
%27 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%28 = load i32, ptr @stdin, align 4
%29 = call i32 @fgets(ptr noundef %27, i32 noundef 999, i32 noundef %28)
%30 = load i32, ptr @stdin, align 4
%31 = call i64 @feof(i32 noundef %30)
%32 = icmp ne i64 %31, 0
br i1 %32, label %33, label %34
33: ; preds = %26
br label %53
34: ; preds = %26
%35 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%36 = getelementptr inbounds [7 x float], ptr %3, i64 0, i64 0
%37 = getelementptr inbounds [7 x float], ptr %3, i64 0, i64 1
%38 = getelementptr inbounds [7 x float], ptr %3, i64 0, i64 2
%39 = getelementptr inbounds [7 x float], ptr %3, i64 0, i64 3
%40 = getelementptr inbounds [7 x float], ptr %3, i64 0, i64 4
%41 = getelementptr inbounds [7 x float], ptr %3, i64 0, i64 5
%42 = getelementptr inbounds [7 x float], ptr %3, i64 0, i64 6
%43 = call i32 @sscanf(ptr noundef %35, ptr noundef @.str.2, ptr noundef %36, ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %40, ptr noundef %41, ptr noundef %42)
%44 = icmp eq i32 %43, 7
br i1 %44, label %45, label %49
45: ; preds = %34
%46 = getelementptr inbounds [7 x float], ptr %3, i64 0, i64 0
%47 = load ptr, ptr %4, align 8
%48 = call i32 @fwrite(ptr noundef %46, i32 noundef 28, i32 noundef 1, ptr noundef %47)
br label %52
49: ; preds = %34
%50 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%51 = call i32 @printf(ptr noundef %50)
br label %52
52: ; preds = %49, %45
br label %21, !llvm.loop !6
53: ; preds = %33, %21
%54 = load ptr, ptr %4, align 8
%55 = call i32 @fclose(ptr noundef %54)
ret i32 0
}
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @feof(i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxjmxrjuj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"out.bin\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"%f %f %f %f %f %f %f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000 x i8], align 16
%3 = alloca [7 x float], align 16
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%6 = load i32, ptr @stdin, align 4
%7 = call i32 @fgets(ptr noundef %5, i32 noundef 999, i32 noundef %6)
%8 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%9 = load i32, ptr @stdin, align 4
%10 = call i32 @fgets(ptr noundef %8, i32 noundef 999, i32 noundef %9)
%11 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%12 = load i32, ptr @stdin, align 4
%13 = call i32 @fgets(ptr noundef %11, i32 noundef 999, i32 noundef %12)
%14 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%15 = load i32, ptr @stdin, align 4
%16 = call i32 @fgets(ptr noundef %14, i32 noundef 999, i32 noundef %15)
%17 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%18 = load i32, ptr @stdin, align 4
%19 = call i32 @fgets(ptr noundef %17, i32 noundef 999, i32 noundef %18)
%20 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %20, ptr %4, align 8
%21 = load i32, ptr @stdin, align 4
%22 = call i64 @feof(i32 noundef %21)
%23 = icmp ne i64 %22, 0
%24 = xor i1 %23, true
br i1 %24, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %25
25: ; preds = %.lr.ph, %51
%26 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%27 = load i32, ptr @stdin, align 4
%28 = call i32 @fgets(ptr noundef %26, i32 noundef 999, i32 noundef %27)
%29 = load i32, ptr @stdin, align 4
%30 = call i64 @feof(i32 noundef %29)
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %25
br label %56
33: ; preds = %25
%34 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%35 = getelementptr inbounds [7 x float], ptr %3, i64 0, i64 0
%36 = getelementptr inbounds [7 x float], ptr %3, i64 0, i64 1
%37 = getelementptr inbounds [7 x float], ptr %3, i64 0, i64 2
%38 = getelementptr inbounds [7 x float], ptr %3, i64 0, i64 3
%39 = getelementptr inbounds [7 x float], ptr %3, i64 0, i64 4
%40 = getelementptr inbounds [7 x float], ptr %3, i64 0, i64 5
%41 = getelementptr inbounds [7 x float], ptr %3, i64 0, i64 6
%42 = call i32 @sscanf(ptr noundef %34, ptr noundef @.str.2, ptr noundef %35, ptr noundef %36, ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %40, ptr noundef %41)
%43 = icmp eq i32 %42, 7
br i1 %43, label %44, label %48
44: ; preds = %33
%45 = getelementptr inbounds [7 x float], ptr %3, i64 0, i64 0
%46 = load ptr, ptr %4, align 8
%47 = call i32 @fwrite(ptr noundef %45, i32 noundef 28, i32 noundef 1, ptr noundef %46)
br label %51
48: ; preds = %33
%49 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%50 = call i32 @printf(ptr noundef %49)
br label %51
51: ; preds = %48, %44
%52 = load i32, ptr @stdin, align 4
%53 = call i64 @feof(i32 noundef %52)
%54 = icmp ne i64 %53, 0
%55 = xor i1 %54, true
br i1 %55, label %25, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %51
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %56
56: ; preds = %.loopexit, %32
%57 = load ptr, ptr %4, align 8
%58 = call i32 @fclose(ptr noundef %57)
ret i32 0
}
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @feof(i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp67p7ovf5.c'
source_filename = "/tmp/tmp67p7ovf5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"b\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"k\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"m\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"%s, unknown suffix '%s'\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"%s, value out of range\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @getValue(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%11 = load ptr, ptr %6, align 8
%12 = call i64 @strtol(ptr noundef %11, ptr noundef %10, i32 noundef 0)
store i64 %12, ptr %9, align 8
%13 = load ptr, ptr %10, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %53
17: ; preds = %4
%18 = load ptr, ptr %10, align 8
%19 = call i64 @strcmp(ptr noundef %18, ptr noundef @.str)
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %17
%22 = load i64, ptr %9, align 8
%23 = mul nsw i64 %22, 512
store i64 %23, ptr %9, align 8
br label %52
24: ; preds = %17
%25 = load ptr, ptr %10, align 8
%26 = call i64 @strcmp(ptr noundef %25, ptr noundef @.str.1)
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %24
%29 = load i64, ptr %9, align 8
%30 = mul nsw i64 %29, 1024
store i64 %30, ptr %9, align 8
br label %51
31: ; preds = %24
%32 = load ptr, ptr %10, align 8
%33 = call i64 @strcmp(ptr noundef %32, ptr noundef @.str.2)
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %31
%36 = load i64, ptr %9, align 8
%37 = mul nsw i64 %36, 1048576
store i64 %37, ptr %9, align 8
br label %50
38: ; preds = %31
%39 = load ptr, ptr %10, align 8
%40 = call i64 @strcmp(ptr noundef %39, ptr noundef @.str.3)
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %45
42: ; preds = %38
%43 = load i64, ptr %9, align 8
%44 = mul i64 %43, 4
store i64 %44, ptr %9, align 8
br label %49
45: ; preds = %38
%46 = load ptr, ptr %5, align 8
%47 = load ptr, ptr %10, align 8
%48 = call i32 (i32, ptr, ptr, ...) @errx(i32 noundef 1, ptr noundef @.str.4, ptr noundef %46, ptr noundef %47)
br label %49
49: ; preds = %45, %42
br label %50
50: ; preds = %49, %35
br label %51
51: ; preds = %50, %28
br label %52
52: ; preds = %51, %21
br label %53
53: ; preds = %52, %4
%54 = load i64, ptr %9, align 8
%55 = load i64, ptr %7, align 8
%56 = icmp slt i64 %54, %55
br i1 %56, label %61, label %57
57: ; preds = %53
%58 = load i64, ptr %9, align 8
%59 = load i64, ptr %8, align 8
%60 = icmp sgt i64 %58, %59
br i1 %60, label %61, label %64
61: ; preds = %57, %53
%62 = load ptr, ptr %5, align 8
%63 = call i32 (i32, ptr, ptr, ...) @errx(i32 noundef 1, ptr noundef @.str.5, ptr noundef %62)
br label %64
64: ; preds = %61, %57
%65 = load i64, ptr %9, align 8
ret i64 %65
}
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @errx(i32 noundef, ptr noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp67p7ovf5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"b\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"k\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"m\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"%s, unknown suffix '%s'\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"%s, value out of range\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @getValue(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%11 = load ptr, ptr %6, align 8
%12 = call i64 @strtol(ptr noundef %11, ptr noundef %10, i32 noundef 0)
store i64 %12, ptr %9, align 8
%13 = load ptr, ptr %10, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %53
17: ; preds = %4
%18 = load ptr, ptr %10, align 8
%19 = call i64 @strcmp(ptr noundef %18, ptr noundef @.str)
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %17
%22 = load i64, ptr %9, align 8
%23 = mul nsw i64 %22, 512
store i64 %23, ptr %9, align 8
br label %52
24: ; preds = %17
%25 = load ptr, ptr %10, align 8
%26 = call i64 @strcmp(ptr noundef %25, ptr noundef @.str.1)
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %24
%29 = load i64, ptr %9, align 8
%30 = mul nsw i64 %29, 1024
store i64 %30, ptr %9, align 8
br label %51
31: ; preds = %24
%32 = load ptr, ptr %10, align 8
%33 = call i64 @strcmp(ptr noundef %32, ptr noundef @.str.2)
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %31
%36 = load i64, ptr %9, align 8
%37 = mul nsw i64 %36, 1048576
store i64 %37, ptr %9, align 8
br label %50
38: ; preds = %31
%39 = load ptr, ptr %10, align 8
%40 = call i64 @strcmp(ptr noundef %39, ptr noundef @.str.3)
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %45
42: ; preds = %38
%43 = load i64, ptr %9, align 8
%44 = mul i64 %43, 4
store i64 %44, ptr %9, align 8
br label %49
45: ; preds = %38
%46 = load ptr, ptr %5, align 8
%47 = load ptr, ptr %10, align 8
%48 = call i32 (i32, ptr, ptr, ...) @errx(i32 noundef 1, ptr noundef @.str.4, ptr noundef %46, ptr noundef %47)
br label %49
49: ; preds = %45, %42
br label %50
50: ; preds = %49, %35
br label %51
51: ; preds = %50, %28
br label %52
52: ; preds = %51, %21
br label %53
53: ; preds = %52, %4
%54 = load i64, ptr %9, align 8
%55 = load i64, ptr %7, align 8
%56 = icmp slt i64 %54, %55
br i1 %56, label %61, label %57
57: ; preds = %53
%58 = load i64, ptr %9, align 8
%59 = load i64, ptr %8, align 8
%60 = icmp sgt i64 %58, %59
br i1 %60, label %61, label %64
61: ; preds = %57, %53
%62 = load ptr, ptr %5, align 8
%63 = call i32 (i32, ptr, ptr, ...) @errx(i32 noundef 1, ptr noundef @.str.5, ptr noundef %62)
br label %64
64: ; preds = %61, %57
%65 = load i64, ptr %9, align 8
ret i64 %65
}
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @errx(i32 noundef, ptr noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp2h2hpk9.c'
source_filename = "/tmp/tmpp2h2hpk9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fputc(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = trunc i32 %6 to i8
store i8 %7, ptr %5, align 1
%8 = load ptr, ptr %4, align 8
%9 = call i32 @fwrite(ptr noundef %5, i32 noundef 1, i32 noundef 1, ptr noundef %8)
%10 = icmp eq i32 %9, 1
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = load i8, ptr %5, align 1
%13 = zext i8 %12 to i32
br label %16
14: ; preds = %2
%15 = load i32, ptr @EOF, align 4
br label %16
16: ; preds = %14, %11
%17 = phi i32 [ %13, %11 ], [ %15, %14 ]
ret i32 %17
}
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp2h2hpk9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fputc(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = trunc i32 %6 to i8
store i8 %7, ptr %5, align 1
%8 = load ptr, ptr %4, align 8
%9 = call i32 @fwrite(ptr noundef %5, i32 noundef 1, i32 noundef 1, ptr noundef %8)
%10 = icmp eq i32 %9, 1
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = load i8, ptr %5, align 1
%13 = zext i8 %12 to i32
br label %16
14: ; preds = %2
%15 = load i32, ptr @EOF, align 4
br label %16
16: ; preds = %14, %11
%17 = phi i32 [ %13, %11 ], [ %15, %14 ]
ret i32 %17
}
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3qtudqpn.c'
source_filename = "/tmp/tmp3qtudqpn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gen_POLL() #0 {
%1 = alloca i32, align 4
%2 = call i32 @handle_POLL(i32 noundef 0)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @handle_POLL(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/tmp3qtudqpn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gen_POLL() #0 {
%1 = alloca i32, align 4
%2 = call i32 @handle_POLL(i32 noundef 0)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @handle_POLL(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/tmpzj6l1304.c'
source_filename = "/tmp/tmpzj6l1304.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1 x i32], align 4
%7 = alloca [1 x i32], align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
br label %19
19: ; preds = %22, %18
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %20, 1
br i1 %21, label %22, label %37
22: ; preds = %19
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %23, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10)
%30 = trunc i64 %29 to i32
store i32 %30, ptr %9, align 4
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %33
store i32 %31, ptr %34, align 4
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
br label %19, !llvm.loop !6
37: ; preds = %19
%38 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0
%39 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0
%40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39)
%41 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0
%42 = load i32, ptr %41, align 4
%43 = icmp eq i32 %42, 868218302
br i1 %43, label %44, label %46
44: ; preds = %37
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %47
46: ; preds = %37
br label %47
47: ; preds = %46, %44
store i32 0, ptr %10, align 4
br label %48
48: ; preds = %51, %47
%49 = load i32, ptr %10, align 4
%50 = icmp slt i32 %49, 1
br i1 %50, label %51, label %59
51: ; preds = %48
%52 = load i32, ptr %10, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53
%55 = load i32, ptr %54, align 4
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55)
%57 = load i32, ptr %10, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %10, align 4
br label %48, !llvm.loop !8
59: ; preds = %48
%60 = load i32, ptr %3, align 4
ret i32 %60
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzj6l1304.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1 x i32], align 4
%7 = alloca [1 x i32], align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %19, 1
br i1 %20, label %.lr.ph, label %38
.lr.ph: ; preds = %18
br label %21
21: ; preds = %.lr.ph, %21
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %22, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10)
%29 = trunc i64 %28 to i32
store i32 %29, ptr %9, align 4
%30 = load i32, ptr %9, align 4
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %32
store i32 %30, ptr %33, align 4
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %36, 1
br i1 %37, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %38
38: ; preds = %._crit_edge, %18
%39 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0
%40 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0
%41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40)
%42 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0
%43 = load i32, ptr %42, align 4
%44 = icmp eq i32 %43, 868218302
br i1 %44, label %45, label %47
45: ; preds = %38
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %48
47: ; preds = %38
br label %48
48: ; preds = %47, %45
store i32 0, ptr %10, align 4
%49 = load i32, ptr %10, align 4
%50 = icmp slt i32 %49, 1
br i1 %50, label %.lr.ph2, label %61
.lr.ph2: ; preds = %48
br label %51
51: ; preds = %.lr.ph2, %51
%52 = load i32, ptr %10, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53
%55 = load i32, ptr %54, align 4
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55)
%57 = load i32, ptr %10, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %10, align 4
%59 = load i32, ptr %10, align 4
%60 = icmp slt i32 %59, 1
br i1 %60, label %51, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %51
br label %61
61: ; preds = %._crit_edge3, %48
%62 = load i32, ptr %3, align 4
ret i32 %62
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpr3cim9ak.c'
source_filename = "/tmp/tmpr3cim9ak.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
store i32 1, ptr %6, align 4
br label %8
8: ; preds = %23, %2
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %26
12: ; preds = %8
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %6, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds ptr, ptr %13, i64 %15
%17 = load ptr, ptr %16, align 8
%18 = call i64 @atoi(ptr noundef %17)
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = add nsw i64 %20, %18
%22 = trunc i64 %21 to i32
store i32 %22, ptr %7, align 4
br label %23
23: ; preds = %12
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %6, align 4
br label %8, !llvm.loop !6
26: ; preds = %8
ret i32 0
}
declare i64 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr3cim9ak.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
store i32 1, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %28
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %22
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %6, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds ptr, ptr %12, i64 %14
%16 = load ptr, ptr %15, align 8
%17 = call i64 @atoi(ptr noundef %16)
%18 = load i32, ptr %7, align 4
%19 = sext i32 %18 to i64
%20 = add nsw i64 %19, %17
%21 = trunc i64 %20 to i32
store i32 %21, ptr %7, align 4
br label %22
22: ; preds = %11
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %6, align 4
%25 = load i32, ptr %6, align 4
%26 = load i32, ptr %4, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %2
ret i32 0
}
declare i64 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp4tqb3sxo.c'
source_filename = "/tmp/tmp4tqb3sxo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [256 x i8], align 16
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%9 = load i32, ptr @stdin, align 4
%10 = call i32 @fgets(ptr noundef %8, i32 noundef 256, i32 noundef %9)
%11 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%12 = call i32 @strlen(ptr noundef %11)
%13 = sub nsw i32 %12, 1
store i32 %13, ptr %7, align 4
%14 = load i32, ptr %7, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14)
br label %16
16: ; preds = %26, %2
%17 = load i32, ptr %7, align 4
%18 = icmp sge i32 %17, 0
br i1 %18, label %19, label %29
19: ; preds = %16
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %24)
br label %26
26: ; preds = %19
%27 = load i32, ptr %7, align 4
%28 = add nsw i32 %27, -1
store i32 %28, ptr %7, align 4
br label %16, !llvm.loop !6
29: ; preds = %16
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4tqb3sxo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [256 x i8], align 16
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%9 = load i32, ptr @stdin, align 4
%10 = call i32 @fgets(ptr noundef %8, i32 noundef 256, i32 noundef %9)
%11 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%12 = call i32 @strlen(ptr noundef %11)
%13 = sub nsw i32 %12, 1
store i32 %13, ptr %7, align 4
%14 = load i32, ptr %7, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14)
%16 = load i32, ptr %7, align 4
%17 = icmp sge i32 %16, 0
br i1 %17, label %.lr.ph, label %30
.lr.ph: ; preds = %2
br label %18
18: ; preds = %.lr.ph, %25
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %23)
br label %25
25: ; preds = %18
%26 = load i32, ptr %7, align 4
%27 = add nsw i32 %26, -1
store i32 %27, ptr %7, align 4
%28 = load i32, ptr %7, align 4
%29 = icmp sge i32 %28, 0
br i1 %29, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %30
30: ; preds = %._crit_edge, %2
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpohr_703x.c'
source_filename = "/tmp/tmpohr_703x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"\0A%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
store i32 0, ptr %6, align 4
br label %11
11: ; preds = %17, %0
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %20
15: ; preds = %11
%16 = call i32 @rotate(ptr noundef %2, ptr noundef %3, ptr noundef %4)
br label %17
17: ; preds = %15
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, -1
store i32 %19, ptr %5, align 4
br label %11, !llvm.loop !6
20: ; preds = %11
%21 = load i32, ptr %2, align 4
%22 = call i32 @printf(ptr noundef @.str.1, i32 noundef %21)
%23 = load i32, ptr %3, align 4
%24 = call i32 @printf(ptr noundef @.str.1, i32 noundef %23)
%25 = load i32, ptr %4, align 4
%26 = call i32 @printf(ptr noundef @.str.1, i32 noundef %25)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @rotate(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpohr_703x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"\0A%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
store i32 0, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %14
14: ; preds = %.lr.ph, %16
%15 = call i32 @rotate(ptr noundef %2, ptr noundef %3, ptr noundef %4)
br label %16
16: ; preds = %14
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, -1
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %22
22: ; preds = %._crit_edge, %0
%23 = load i32, ptr %2, align 4
%24 = call i32 @printf(ptr noundef @.str.1, i32 noundef %23)
%25 = load i32, ptr %3, align 4
%26 = call i32 @printf(ptr noundef @.str.1, i32 noundef %25)
%27 = load i32, ptr %4, align 4
%28 = call i32 @printf(ptr noundef @.str.1, i32 noundef %27)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @rotate(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpufe8t6e5.c'
source_filename = "/tmp/tmpufe8t6e5.c"
target datalayout = "e-m:e-p270: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/tmpufe8t6e5.c"
target datalayout = "e-m:e-p270: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/tmpx9tb8nt4.c'
source_filename = "/tmp/tmpx9tb8nt4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %13, %1
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %3, align 4
%7 = add nsw i32 %6, 1
store i32 %7, ptr %3, align 4
%8 = sext i32 %6 to i64
%9 = getelementptr inbounds i8, ptr %5, i64 %8
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %4
br label %4, !llvm.loop !6
14: ; preds = %4
%15 = load i32, ptr %3, align 4
%16 = sub nsw i32 %15, 1
ret i32 %16
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx9tb8nt4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %4, %1
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %3, align 4
%7 = add nsw i32 %6, 1
store i32 %7, ptr %3, align 4
%8 = sext i32 %6 to i64
%9 = getelementptr inbounds i8, ptr %5, i64 %8
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 0
br i1 %12, label %4, label %13, !llvm.loop !6
13: ; preds = %4
%14 = load i32, ptr %3, align 4
%15 = sub nsw i32 %14, 1
ret i32 %15
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpqzcnyecq.c'
source_filename = "/tmp/tmpqzcnyecq.c"
target datalayout = "e-m:e-p270: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/tmpqzcnyecq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_px63dny.c'
source_filename = "/tmp/tmp_px63dny.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global i32 0, align 4
@TRUE = dso_local global i32 0, align 4
@ERR = dso_local global i32 0, align 4
@FALSE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @con_kbhit() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = load i32, ptr @stdscr, align 4
%4 = load i32, ptr @TRUE, align 4
%5 = call i32 @nodelay(i32 noundef %3, i32 noundef %4)
%6 = call i32 (...) @getch()
store i32 %6, ptr %2, align 4
%7 = load i32, ptr @ERR, align 4
%8 = icmp eq i32 %6, %7
%9 = zext i1 %8 to i64
%10 = select i1 %8, i32 0, i32 1
store i32 %10, ptr %1, align 4
%11 = load i32, ptr %1, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %0
%14 = load i32, ptr %2, align 4
%15 = call i32 @ungetch(i32 noundef %14)
br label %16
16: ; preds = %13, %0
%17 = load i32, ptr @stdscr, align 4
%18 = load i32, ptr @FALSE, align 4
%19 = call i32 @nodelay(i32 noundef %17, i32 noundef %18)
%20 = load i32, ptr %1, align 4
ret i32 %20
}
declare i32 @nodelay(i32 noundef, i32 noundef) #1
declare i32 @getch(...) #1
declare i32 @ungetch(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/tmp_px63dny.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global i32 0, align 4
@TRUE = dso_local global i32 0, align 4
@ERR = dso_local global i32 0, align 4
@FALSE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @con_kbhit() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = load i32, ptr @stdscr, align 4
%4 = load i32, ptr @TRUE, align 4
%5 = call i32 @nodelay(i32 noundef %3, i32 noundef %4)
%6 = call i32 (...) @getch()
store i32 %6, ptr %2, align 4
%7 = load i32, ptr @ERR, align 4
%8 = icmp eq i32 %6, %7
%9 = zext i1 %8 to i64
%10 = select i1 %8, i32 0, i32 1
store i32 %10, ptr %1, align 4
%11 = load i32, ptr %1, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %0
%14 = load i32, ptr %2, align 4
%15 = call i32 @ungetch(i32 noundef %14)
br label %16
16: ; preds = %13, %0
%17 = load i32, ptr @stdscr, align 4
%18 = load i32, ptr @FALSE, align 4
%19 = call i32 @nodelay(i32 noundef %17, i32 noundef %18)
%20 = load i32, ptr %1, align 4
ret i32 %20
}
declare i32 @nodelay(i32 noundef, i32 noundef) #1
declare i32 @getch(...) #1
declare i32 @ungetch(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/tmpxhrnhqi3.c'
source_filename = "/tmp/tmpxhrnhqi3.c"
target datalayout = "e-m:e-p270: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_MIN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test3(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @INT_MIN, align 4
%5 = add nsw i32 %3, %4
%6 = xor i32 %5, 4660
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/tmpxhrnhqi3.c"
target datalayout = "e-m:e-p270: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_MIN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test3(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @INT_MIN, align 4
%5 = add nsw i32 %3, %4
%6 = xor i32 %5, 4660
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/tmpgugta7db.c'
source_filename = "/tmp/tmpgugta7db.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @i2c_send_nibble(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = call i32 (...) @i2c_start()
%4 = call i32 @delay_us(i32 noundef 20)
%5 = call i32 @i2c_write(i8 noundef zeroext 78)
%6 = call i32 @delay_us(i32 noundef 20)
%7 = load i8, ptr %2, align 1
%8 = call i32 @i2c_write(i8 noundef zeroext %7)
%9 = call i32 @delay_us(i32 noundef 20)
%10 = call i32 (...) @i2c_stop()
%11 = call i32 @delay_us(i32 noundef 20)
ret void
}
declare i32 @i2c_start(...) #1
declare i32 @delay_us(i32 noundef) #1
declare i32 @i2c_write(i8 noundef zeroext) #1
declare i32 @i2c_stop(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgugta7db.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @i2c_send_nibble(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = call i32 (...) @i2c_start()
%4 = call i32 @delay_us(i32 noundef 20)
%5 = call i32 @i2c_write(i8 noundef zeroext 78)
%6 = call i32 @delay_us(i32 noundef 20)
%7 = load i8, ptr %2, align 1
%8 = call i32 @i2c_write(i8 noundef zeroext %7)
%9 = call i32 @delay_us(i32 noundef 20)
%10 = call i32 (...) @i2c_stop()
%11 = call i32 @delay_us(i32 noundef 20)
ret void
}
declare i32 @i2c_start(...) #1
declare i32 @delay_us(i32 noundef) #1
declare i32 @i2c_write(i8 noundef zeroext) #1
declare i32 @i2c_stop(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf617945r.c'
source_filename = "/tmp/tmpf617945r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetOperationStrVar(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i64 @CallBack2(i32 noundef 189, ptr noundef %5, ptr noundef %6)
%8 = trunc i64 %7 to i32
ret i32 %8
}
declare i64 @CallBack2(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf617945r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetOperationStrVar(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i64 @CallBack2(i32 noundef 189, ptr noundef %5, ptr noundef %6)
%8 = trunc i64 %7 to i32
ret i32 %8
}
declare i64 @CallBack2(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiiajrzi_.c'
source_filename = "/tmp/tmpiiajrzi_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extract_status_code(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %4, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %9, i64 %11
store ptr %12, ptr %7, align 8
store i32 0, ptr %8, align 4
%13 = call i64 @zalloc(i32 noundef 10)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %5, align 8
br label %15
15: ; preds = %27, %2
%16 = load ptr, ptr %3, align 8
%17 = load ptr, ptr %7, align 8
%18 = icmp ult ptr %16, %17
br i1 %18, label %19, label %25
19: ; preds = %15
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %3, align 8
%22 = load i8, ptr %20, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 32
br label %25
25: ; preds = %19, %15
%26 = phi i1 [ false, %15 ], [ %24, %19 ]
br i1 %26, label %27, label %28
27: ; preds = %25
br label %15, !llvm.loop !6
28: ; preds = %25
%29 = load ptr, ptr %3, align 8
store ptr %29, ptr %6, align 8
br label %30
30: ; preds = %42, %28
%31 = load ptr, ptr %3, align 8
%32 = load ptr, ptr %7, align 8
%33 = icmp ult ptr %31, %32
br i1 %33, label %34, label %40
34: ; preds = %30
%35 = load ptr, ptr %3, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %3, align 8
%37 = load i8, ptr %35, align 1
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %38, 32
br label %40
40: ; preds = %34, %30
%41 = phi i1 [ false, %30 ], [ %39, %34 ]
br i1 %41, label %42, label %45
42: ; preds = %40
%43 = load i32, ptr %8, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %8, align 4
br label %30, !llvm.loop !8
45: ; preds = %40
%46 = load ptr, ptr %5, align 8
%47 = load ptr, ptr %6, align 8
%48 = load i32, ptr %8, align 4
%49 = call i32 @strncat(ptr noundef %46, ptr noundef %47, i32 noundef %48)
%50 = load ptr, ptr %5, align 8
%51 = call i32 @atoi(ptr noundef %50)
store i32 %51, ptr %8, align 4
%52 = load ptr, ptr %5, align 8
%53 = call i32 @free(ptr noundef %52)
store ptr null, ptr %5, align 8
%54 = load i32, ptr %8, align 4
ret i32 %54
}
declare i64 @zalloc(i32 noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @atoi(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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiiajrzi_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extract_status_code(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %4, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %9, i64 %11
store ptr %12, ptr %7, align 8
store i32 0, ptr %8, align 4
%13 = call i64 @zalloc(i32 noundef 10)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %5, align 8
br label %15
15: ; preds = %25, %2
%16 = load ptr, ptr %3, align 8
%17 = load ptr, ptr %7, align 8
%18 = icmp ult ptr %16, %17
br i1 %18, label %19, label %25
19: ; preds = %15
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %3, align 8
%22 = load i8, ptr %20, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 32
br label %25
25: ; preds = %19, %15
%26 = phi i1 [ false, %15 ], [ %24, %19 ]
br i1 %26, label %15, label %27, !llvm.loop !6
27: ; preds = %25
%28 = load ptr, ptr %3, align 8
store ptr %28, ptr %6, align 8
br label %29
29: ; preds = %41, %27
%30 = load ptr, ptr %3, align 8
%31 = load ptr, ptr %7, align 8
%32 = icmp ult ptr %30, %31
br i1 %32, label %33, label %39
33: ; preds = %29
%34 = load ptr, ptr %3, align 8
%35 = getelementptr inbounds i8, ptr %34, i32 1
store ptr %35, ptr %3, align 8
%36 = load i8, ptr %34, align 1
%37 = sext i8 %36 to i32
%38 = icmp ne i32 %37, 32
br label %39
39: ; preds = %33, %29
%40 = phi i1 [ false, %29 ], [ %38, %33 ]
br i1 %40, label %41, label %44
41: ; preds = %39
%42 = load i32, ptr %8, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %8, align 4
br label %29, !llvm.loop !8
44: ; preds = %39
%45 = load ptr, ptr %5, align 8
%46 = load ptr, ptr %6, align 8
%47 = load i32, ptr %8, align 4
%48 = call i32 @strncat(ptr noundef %45, ptr noundef %46, i32 noundef %47)
%49 = load ptr, ptr %5, align 8
%50 = call i32 @atoi(ptr noundef %49)
store i32 %50, ptr %8, align 4
%51 = load ptr, ptr %5, align 8
%52 = call i32 @free(ptr noundef %51)
store ptr null, ptr %5, align 8
%53 = load i32, ptr %8, align 4
ret i32 %53
}
declare i64 @zalloc(i32 noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @atoi(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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmputm069cd.c'
source_filename = "/tmp/tmputm069cd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SuperFastHash(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%9 = load i32, ptr %5, align 4
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp sle i32 %10, 1
br i1 %11, label %15, label %12
12: ; preds = %2
%13 = load ptr, ptr %4, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %16
15: ; preds = %12, %2
store i32 1, ptr %3, align 4
br label %123
16: ; preds = %12
%17 = load i32, ptr %5, align 4
%18 = and i32 %17, 3
store i32 %18, ptr %8, align 4
%19 = load i32, ptr %5, align 4
%20 = ashr i32 %19, 2
store i32 %20, ptr %5, align 4
br label %21
21: ; preds = %45, %16
%22 = load i32, ptr %5, align 4
%23 = icmp sgt i32 %22, 0
br i1 %23, label %24, label %48
24: ; preds = %21
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %25, align 4
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %27, %26
store i32 %28, ptr %6, align 4
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 2
%31 = load i32, ptr %30, align 4
%32 = shl i32 %31, 11
%33 = load i32, ptr %6, align 4
%34 = xor i32 %32, %33
store i32 %34, ptr %7, align 4
%35 = load i32, ptr %6, align 4
%36 = shl i32 %35, 16
%37 = load i32, ptr %7, align 4
%38 = xor i32 %36, %37
store i32 %38, ptr %6, align 4
%39 = load ptr, ptr %4, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 8
store ptr %40, ptr %4, align 8
%41 = load i32, ptr %6, align 4
%42 = ashr i32 %41, 11
%43 = load i32, ptr %6, align 4
%44 = add nsw i32 %43, %42
store i32 %44, ptr %6, align 4
br label %45
45: ; preds = %24
%46 = load i32, ptr %5, align 4
%47 = add nsw i32 %46, -1
store i32 %47, ptr %5, align 4
br label %21, !llvm.loop !6
48: ; preds = %21
%49 = load i32, ptr %8, align 4
switch i32 %49, label %97 [
i32 3, label %50
i32 2, label %70
i32 1, label %83
]
50: ; preds = %48
%51 = load ptr, ptr %4, align 8
%52 = load i32, ptr %51, align 4
%53 = load i32, ptr %6, align 4
%54 = add nsw i32 %53, %52
store i32 %54, ptr %6, align 4
%55 = load i32, ptr %6, align 4
%56 = shl i32 %55, 16
%57 = load i32, ptr %6, align 4
%58 = xor i32 %57, %56
store i32 %58, ptr %6, align 4
%59 = load ptr, ptr %4, align 8
%60 = getelementptr inbounds i8, ptr %59, i64 4
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = shl i32 %62, 18
%64 = load i32, ptr %6, align 4
%65 = xor i32 %64, %63
store i32 %65, ptr %6, align 4
%66 = load i32, ptr %6, align 4
%67 = ashr i32 %66, 11
%68 = load i32, ptr %6, align 4
%69 = add nsw i32 %68, %67
store i32 %69, ptr %6, align 4
br label %97
70: ; preds = %48
%71 = load ptr, ptr %4, align 8
%72 = load i32, ptr %71, align 4
%73 = load i32, ptr %6, align 4
%74 = add nsw i32 %73, %72
store i32 %74, ptr %6, align 4
%75 = load i32, ptr %6, align 4
%76 = shl i32 %75, 11
%77 = load i32, ptr %6, align 4
%78 = xor i32 %77, %76
store i32 %78, ptr %6, align 4
%79 = load i32, ptr %6, align 4
%80 = ashr i32 %79, 17
%81 = load i32, ptr %6, align 4
%82 = add nsw i32 %81, %80
store i32 %82, ptr %6, align 4
br label %97
83: ; preds = %48
%84 = load ptr, ptr %4, align 8
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = load i32, ptr %6, align 4
%88 = add nsw i32 %87, %86
store i32 %88, ptr %6, align 4
%89 = load i32, ptr %6, align 4
%90 = shl i32 %89, 10
%91 = load i32, ptr %6, align 4
%92 = xor i32 %91, %90
store i32 %92, ptr %6, align 4
%93 = load i32, ptr %6, align 4
%94 = ashr i32 %93, 1
%95 = load i32, ptr %6, align 4
%96 = add nsw i32 %95, %94
store i32 %96, ptr %6, align 4
br label %97
97: ; preds = %83, %48, %70, %50
%98 = load i32, ptr %6, align 4
%99 = shl i32 %98, 3
%100 = load i32, ptr %6, align 4
%101 = xor i32 %100, %99
store i32 %101, ptr %6, align 4
%102 = load i32, ptr %6, align 4
%103 = ashr i32 %102, 5
%104 = load i32, ptr %6, align 4
%105 = add nsw i32 %104, %103
store i32 %105, ptr %6, align 4
%106 = load i32, ptr %6, align 4
%107 = shl i32 %106, 4
%108 = load i32, ptr %6, align 4
%109 = xor i32 %108, %107
store i32 %109, ptr %6, align 4
%110 = load i32, ptr %6, align 4
%111 = ashr i32 %110, 17
%112 = load i32, ptr %6, align 4
%113 = add nsw i32 %112, %111
store i32 %113, ptr %6, align 4
%114 = load i32, ptr %6, align 4
%115 = shl i32 %114, 25
%116 = load i32, ptr %6, align 4
%117 = xor i32 %116, %115
store i32 %117, ptr %6, align 4
%118 = load i32, ptr %6, align 4
%119 = ashr i32 %118, 6
%120 = load i32, ptr %6, align 4
%121 = add nsw i32 %120, %119
store i32 %121, ptr %6, align 4
%122 = load i32, ptr %6, align 4
store i32 %122, ptr %3, align 4
br label %123
123: ; preds = %97, %15
%124 = load i32, ptr %3, align 4
ret i32 %124
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmputm069cd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SuperFastHash(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%9 = load i32, ptr %5, align 4
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp sle i32 %10, 1
br i1 %11, label %15, label %12
12: ; preds = %2
%13 = load ptr, ptr %4, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %16
15: ; preds = %12, %2
store i32 1, ptr %3, align 4
br label %124
16: ; preds = %12
%17 = load i32, ptr %5, align 4
%18 = and i32 %17, 3
store i32 %18, ptr %8, align 4
%19 = load i32, ptr %5, align 4
%20 = ashr i32 %19, 2
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %5, align 4
%22 = icmp sgt i32 %21, 0
br i1 %22, label %.lr.ph, label %49
.lr.ph: ; preds = %16
br label %23
23: ; preds = %.lr.ph, %44
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %24, align 4
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, %25
store i32 %27, ptr %6, align 4
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 2
%30 = load i32, ptr %29, align 4
%31 = shl i32 %30, 11
%32 = load i32, ptr %6, align 4
%33 = xor i32 %31, %32
store i32 %33, ptr %7, align 4
%34 = load i32, ptr %6, align 4
%35 = shl i32 %34, 16
%36 = load i32, ptr %7, align 4
%37 = xor i32 %35, %36
store i32 %37, ptr %6, align 4
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds i8, ptr %38, i64 8
store ptr %39, ptr %4, align 8
%40 = load i32, ptr %6, align 4
%41 = ashr i32 %40, 11
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, %41
store i32 %43, ptr %6, align 4
br label %44
44: ; preds = %23
%45 = load i32, ptr %5, align 4
%46 = add nsw i32 %45, -1
store i32 %46, ptr %5, align 4
%47 = load i32, ptr %5, align 4
%48 = icmp sgt i32 %47, 0
br i1 %48, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %49
49: ; preds = %._crit_edge, %16
%50 = load i32, ptr %8, align 4
switch i32 %50, label %98 [
i32 3, label %51
i32 2, label %71
i32 1, label %84
]
51: ; preds = %49
%52 = load ptr, ptr %4, align 8
%53 = load i32, ptr %52, align 4
%54 = load i32, ptr %6, align 4
%55 = add nsw i32 %54, %53
store i32 %55, ptr %6, align 4
%56 = load i32, ptr %6, align 4
%57 = shl i32 %56, 16
%58 = load i32, ptr %6, align 4
%59 = xor i32 %58, %57
store i32 %59, ptr %6, align 4
%60 = load ptr, ptr %4, align 8
%61 = getelementptr inbounds i8, ptr %60, i64 4
%62 = load i8, ptr %61, align 1
%63 = sext i8 %62 to i32
%64 = shl i32 %63, 18
%65 = load i32, ptr %6, align 4
%66 = xor i32 %65, %64
store i32 %66, ptr %6, align 4
%67 = load i32, ptr %6, align 4
%68 = ashr i32 %67, 11
%69 = load i32, ptr %6, align 4
%70 = add nsw i32 %69, %68
store i32 %70, ptr %6, align 4
br label %98
71: ; preds = %49
%72 = load ptr, ptr %4, align 8
%73 = load i32, ptr %72, align 4
%74 = load i32, ptr %6, align 4
%75 = add nsw i32 %74, %73
store i32 %75, ptr %6, align 4
%76 = load i32, ptr %6, align 4
%77 = shl i32 %76, 11
%78 = load i32, ptr %6, align 4
%79 = xor i32 %78, %77
store i32 %79, ptr %6, align 4
%80 = load i32, ptr %6, align 4
%81 = ashr i32 %80, 17
%82 = load i32, ptr %6, align 4
%83 = add nsw i32 %82, %81
store i32 %83, ptr %6, align 4
br label %98
84: ; preds = %49
%85 = load ptr, ptr %4, align 8
%86 = load i8, ptr %85, align 1
%87 = sext i8 %86 to i32
%88 = load i32, ptr %6, align 4
%89 = add nsw i32 %88, %87
store i32 %89, ptr %6, align 4
%90 = load i32, ptr %6, align 4
%91 = shl i32 %90, 10
%92 = load i32, ptr %6, align 4
%93 = xor i32 %92, %91
store i32 %93, ptr %6, align 4
%94 = load i32, ptr %6, align 4
%95 = ashr i32 %94, 1
%96 = load i32, ptr %6, align 4
%97 = add nsw i32 %96, %95
store i32 %97, ptr %6, align 4
br label %98
98: ; preds = %84, %71, %51, %49
%99 = load i32, ptr %6, align 4
%100 = shl i32 %99, 3
%101 = load i32, ptr %6, align 4
%102 = xor i32 %101, %100
store i32 %102, ptr %6, align 4
%103 = load i32, ptr %6, align 4
%104 = ashr i32 %103, 5
%105 = load i32, ptr %6, align 4
%106 = add nsw i32 %105, %104
store i32 %106, ptr %6, align 4
%107 = load i32, ptr %6, align 4
%108 = shl i32 %107, 4
%109 = load i32, ptr %6, align 4
%110 = xor i32 %109, %108
store i32 %110, ptr %6, align 4
%111 = load i32, ptr %6, align 4
%112 = ashr i32 %111, 17
%113 = load i32, ptr %6, align 4
%114 = add nsw i32 %113, %112
store i32 %114, ptr %6, align 4
%115 = load i32, ptr %6, align 4
%116 = shl i32 %115, 25
%117 = load i32, ptr %6, align 4
%118 = xor i32 %117, %116
store i32 %118, ptr %6, align 4
%119 = load i32, ptr %6, align 4
%120 = ashr i32 %119, 6
%121 = load i32, ptr %6, align 4
%122 = add nsw i32 %121, %120
store i32 %122, ptr %6, align 4
%123 = load i32, ptr %6, align 4
store i32 %123, ptr %3, align 4
br label %124
124: ; preds = %98, %15
%125 = load i32, ptr %3, align 4
ret i32 %125
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_l4pgb76.c'
source_filename = "/tmp/tmp_l4pgb76.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"ERROR, no port provided\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [21 x i8] c"ERROR opening socket\00", align 1
@INADDR_ANY = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [17 x i8] c"ERROR on binding\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"ERROR on accept\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c"ERROR reading from socket\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"Here is the message: %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [19 x i8] c"I got your message\00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c"ERROR writing to socket\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 i32, align 4
%9 = alloca i32, align 4
%10 = alloca [256 x i8], align 16
%11 = alloca %struct.sockaddr_in, align 4
%12 = alloca %struct.sockaddr_in, align 4
%13 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %14, 2
br i1 %15, label %16, label %20
16: ; preds = %2
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str)
%19 = call i32 @exit(i32 noundef 1) #3
unreachable
20: ; preds = %2
%21 = load i32, ptr @AF_INET, align 4
%22 = load i32, ptr @SOCK_STREAM, align 4
%23 = call i32 @socket(i32 noundef %21, i32 noundef %22, i32 noundef 0)
store i32 %23, ptr %6, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp slt i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %20
%27 = call i32 @error(ptr noundef @.str.1)
br label %28
28: ; preds = %26, %20
%29 = call i32 @bzero(ptr noundef %11, i32 noundef 12)
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 1
%32 = load ptr, ptr %31, align 8
%33 = call i32 @atoi(ptr noundef %32)
store i32 %33, ptr %8, align 4
%34 = load i32, ptr @AF_INET, align 4
%35 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 2
store i32 %34, ptr %35, align 4
%36 = load i32, ptr %8, align 4
%37 = call i32 @htons(i32 noundef %36)
%38 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 1
store i32 %37, ptr %38, align 4
%39 = load i32, ptr @INADDR_ANY, align 4
%40 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 0
%41 = getelementptr inbounds %struct.TYPE_2__, ptr %40, i32 0, i32 0
store i32 %39, ptr %41, align 4
%42 = load i32, ptr %6, align 4
%43 = call i64 @bind(i32 noundef %42, ptr noundef %11, i32 noundef 12)
%44 = icmp slt i64 %43, 0
br i1 %44, label %45, label %47
45: ; preds = %28
%46 = call i32 @error(ptr noundef @.str.2)
br label %47
47: ; preds = %45, %28
%48 = load i32, ptr %6, align 4
%49 = call i32 @listen(i32 noundef %48, i32 noundef 5)
store i32 12, ptr %13, align 4
%50 = load i32, ptr %6, align 4
%51 = call i32 @accept(i32 noundef %50, ptr noundef %12, ptr noundef %13)
store i32 %51, ptr %7, align 4
%52 = load i32, ptr %7, align 4
%53 = icmp slt i32 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %47
%55 = call i32 @error(ptr noundef @.str.3)
br label %56
56: ; preds = %54, %47
%57 = load i32, ptr %7, align 4
%58 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0
%59 = call i32 @read(i32 noundef %57, ptr noundef %58, i32 noundef 255)
store i32 %59, ptr %9, align 4
%60 = load i32, ptr %9, align 4
%61 = icmp slt i32 %60, 0
br i1 %61, label %62, label %66
62: ; preds = %56
%63 = call i32 @error(ptr noundef @.str.4)
%64 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0
%65 = call i32 @printf(ptr noundef @.str.5, ptr noundef %64)
br label %66
66: ; preds = %62, %56
%67 = load i32, ptr %7, align 4
%68 = call i32 @write(i32 noundef %67, ptr noundef @.str.6, i32 noundef 18)
store i32 %68, ptr %9, align 4
%69 = load i32, ptr %9, align 4
%70 = icmp slt i32 %69, 0
br i1 %70, label %71, label %73
71: ; preds = %66
%72 = call i32 @error(ptr noundef @.str.7)
br label %73
73: ; preds = %71, %66
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @error(ptr noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @htons(i32 noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp_l4pgb76.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"ERROR, no port provided\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [21 x i8] c"ERROR opening socket\00", align 1
@INADDR_ANY = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [17 x i8] c"ERROR on binding\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"ERROR on accept\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c"ERROR reading from socket\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"Here is the message: %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [19 x i8] c"I got your message\00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c"ERROR writing to socket\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 i32, align 4
%9 = alloca i32, align 4
%10 = alloca [256 x i8], align 16
%11 = alloca %struct.sockaddr_in, align 4
%12 = alloca %struct.sockaddr_in, align 4
%13 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %14, 2
br i1 %15, label %16, label %20
16: ; preds = %2
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str)
%19 = call i32 @exit(i32 noundef 1) #3
unreachable
20: ; preds = %2
%21 = load i32, ptr @AF_INET, align 4
%22 = load i32, ptr @SOCK_STREAM, align 4
%23 = call i32 @socket(i32 noundef %21, i32 noundef %22, i32 noundef 0)
store i32 %23, ptr %6, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp slt i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %20
%27 = call i32 @error(ptr noundef @.str.1)
br label %28
28: ; preds = %26, %20
%29 = call i32 @bzero(ptr noundef %11, i32 noundef 12)
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 1
%32 = load ptr, ptr %31, align 8
%33 = call i32 @atoi(ptr noundef %32)
store i32 %33, ptr %8, align 4
%34 = load i32, ptr @AF_INET, align 4
%35 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 2
store i32 %34, ptr %35, align 4
%36 = load i32, ptr %8, align 4
%37 = call i32 @htons(i32 noundef %36)
%38 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 1
store i32 %37, ptr %38, align 4
%39 = load i32, ptr @INADDR_ANY, align 4
%40 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 0
%41 = getelementptr inbounds %struct.TYPE_2__, ptr %40, i32 0, i32 0
store i32 %39, ptr %41, align 4
%42 = load i32, ptr %6, align 4
%43 = call i64 @bind(i32 noundef %42, ptr noundef %11, i32 noundef 12)
%44 = icmp slt i64 %43, 0
br i1 %44, label %45, label %47
45: ; preds = %28
%46 = call i32 @error(ptr noundef @.str.2)
br label %47
47: ; preds = %45, %28
%48 = load i32, ptr %6, align 4
%49 = call i32 @listen(i32 noundef %48, i32 noundef 5)
store i32 12, ptr %13, align 4
%50 = load i32, ptr %6, align 4
%51 = call i32 @accept(i32 noundef %50, ptr noundef %12, ptr noundef %13)
store i32 %51, ptr %7, align 4
%52 = load i32, ptr %7, align 4
%53 = icmp slt i32 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %47
%55 = call i32 @error(ptr noundef @.str.3)
br label %56
56: ; preds = %54, %47
%57 = load i32, ptr %7, align 4
%58 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0
%59 = call i32 @read(i32 noundef %57, ptr noundef %58, i32 noundef 255)
store i32 %59, ptr %9, align 4
%60 = load i32, ptr %9, align 4
%61 = icmp slt i32 %60, 0
br i1 %61, label %62, label %66
62: ; preds = %56
%63 = call i32 @error(ptr noundef @.str.4)
%64 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0
%65 = call i32 @printf(ptr noundef @.str.5, ptr noundef %64)
br label %66
66: ; preds = %62, %56
%67 = load i32, ptr %7, align 4
%68 = call i32 @write(i32 noundef %67, ptr noundef @.str.6, i32 noundef 18)
store i32 %68, ptr %9, align 4
%69 = load i32, ptr %9, align 4
%70 = icmp slt i32 %69, 0
br i1 %70, label %71, label %73
71: ; preds = %66
%72 = call i32 @error(ptr noundef @.str.7)
br label %73
73: ; preds = %71, %66
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @error(ptr noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @htons(i32 noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpl0jvumfs.c'
source_filename = "/tmp/tmpl0jvumfs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @factorielle_iteractive(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 1, ptr %5, align 4
store i32 1, ptr %4, align 4
br label %6
6: ; preds = %21, %1
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp sle i32 %7, %8
br i1 %9, label %10, label %24
10: ; preds = %6
%11 = load i32, ptr @INT_MAX, align 4
%12 = load i32, ptr %3, align 4
%13 = sdiv i32 %11, %12
%14 = load i32, ptr %5, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %17
16: ; preds = %10
store i32 -1, ptr %2, align 4
br label %26
17: ; preds = %10
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %5, align 4
%20 = mul nsw i32 %19, %18
store i32 %20, ptr %5, align 4
br label %21
21: ; preds = %17
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %4, align 4
br label %6, !llvm.loop !6
24: ; preds = %6
%25 = load i32, ptr %5, align 4
store i32 %25, ptr %2, align 4
br label %26
26: ; preds = %24, %16
%27 = load i32, ptr %2, align 4
ret i32 %27
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpl0jvumfs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @factorielle_iteractive(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 1, ptr %5, align 4
store i32 1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp sle i32 %6, %7
br i1 %8, label %.lr.ph, label %26
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %20
%10 = load i32, ptr @INT_MAX, align 4
%11 = load i32, ptr %3, align 4
%12 = sdiv i32 %10, %11
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %16
15: ; preds = %9
store i32 -1, ptr %2, align 4
br label %28
16: ; preds = %9
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %5, align 4
%19 = mul nsw i32 %18, %17
store i32 %19, ptr %5, align 4
br label %20
20: ; preds = %16
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %4, align 4
%24 = load i32, ptr %3, align 4
%25 = icmp sle i32 %23, %24
br i1 %25, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %1
%27 = load i32, ptr %5, align 4
store i32 %27, ptr %2, align 4
br label %28
28: ; preds = %26, %15
%29 = load i32, ptr %2, align 4
ret i32 %29
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpl554e_sa.c'
source_filename = "/tmp/tmpl554e_sa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [266 x i8] c"This is a simple shell for tinyos.\0A\0AYou can run some simple commands. Every command takes a\0Aonly **integer** arguments. The list of commands and the\0Anumber of arguments for each command is shown by\0Atyping 'ls'. \0A\0AWhen you are tired of playing, type 'exit' to quit.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @HelpMessage(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = 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/tmpl554e_sa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [266 x i8] c"This is a simple shell for tinyos.\0A\0AYou can run some simple commands. Every command takes a\0Aonly **integer** arguments. The list of commands and the\0Anumber of arguments for each command is shown by\0Atyping 'ls'. \0A\0AWhen you are tired of playing, type 'exit' to quit.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @HelpMessage(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = 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/tmpzd_dsgon.c'
source_filename = "/tmp/tmpzd_dsgon.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trimmed(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr null, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr null, %5
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
store ptr %8, ptr %2, align 8
br label %81
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr %3, align 8
%12 = call i32 @strlen(ptr noundef %11)
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %10, i64 %13
%15 = getelementptr inbounds i8, ptr %14, i64 -1
store ptr %15, ptr %4, align 8
br label %16
16: ; preds = %40, %9
%17 = load ptr, ptr %3, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %38
21: ; preds = %16
%22 = load ptr, ptr %3, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 32
br i1 %25, label %36, label %26
26: ; preds = %21
%27 = load ptr, ptr %3, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 9
br i1 %30, label %36, label %31
31: ; preds = %26
%32 = load ptr, ptr %3, align 8
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 10
br label %36
36: ; preds = %31, %26, %21
%37 = phi i1 [ true, %26 ], [ true, %21 ], [ %35, %31 ]
br label %38
38: ; preds = %36, %16
%39 = phi i1 [ false, %16 ], [ %37, %36 ]
br i1 %39, label %40, label %43
40: ; preds = %38
%41 = load ptr, ptr %3, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %3, align 8
br label %16, !llvm.loop !6
43: ; preds = %38
br label %44
44: ; preds = %76, %43
%45 = load ptr, ptr %4, align 8
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %74
49: ; preds = %44
%50 = load ptr, ptr %4, align 8
%51 = load ptr, ptr %3, align 8
%52 = icmp uge ptr %50, %51
br i1 %52, label %53, label %74
53: ; preds = %49
%54 = load ptr, ptr %4, align 8
%55 = load ptr, ptr %3, align 8
%56 = icmp uge ptr %54, %55
br i1 %56, label %57, label %74
57: ; preds = %53
%58 = load ptr, ptr %4, align 8
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp eq i32 %60, 32
br i1 %61, label %72, label %62
62: ; preds = %57
%63 = load ptr, ptr %4, align 8
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = icmp eq i32 %65, 9
br i1 %66, label %72, label %67
67: ; preds = %62
%68 = load ptr, ptr %4, align 8
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = icmp eq i32 %70, 10
br label %72
72: ; preds = %67, %62, %57
%73 = phi i1 [ true, %62 ], [ true, %57 ], [ %71, %67 ]
br label %74
74: ; preds = %72, %53, %49, %44
%75 = phi i1 [ false, %53 ], [ false, %49 ], [ false, %44 ], [ %73, %72 ]
br i1 %75, label %76, label %79
76: ; preds = %74
%77 = load ptr, ptr %4, align 8
%78 = getelementptr inbounds i8, ptr %77, i32 -1
store ptr %78, ptr %4, align 8
store i8 0, ptr %77, align 1
br label %44, !llvm.loop !8
79: ; preds = %74
%80 = load ptr, ptr %3, align 8
store ptr %80, ptr %2, align 8
br label %81
81: ; preds = %79, %7
%82 = load ptr, ptr %2, align 8
ret ptr %82
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzd_dsgon.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trimmed(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr null, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr null, %5
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
store ptr %8, ptr %2, align 8
br label %81
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr %3, align 8
%12 = call i32 @strlen(ptr noundef %11)
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %10, i64 %13
%15 = getelementptr inbounds i8, ptr %14, i64 -1
store ptr %15, ptr %4, align 8
br label %16
16: ; preds = %40, %9
%17 = load ptr, ptr %3, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %38
21: ; preds = %16
%22 = load ptr, ptr %3, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 32
br i1 %25, label %36, label %26
26: ; preds = %21
%27 = load ptr, ptr %3, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 9
br i1 %30, label %36, label %31
31: ; preds = %26
%32 = load ptr, ptr %3, align 8
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 10
br label %36
36: ; preds = %31, %26, %21
%37 = phi i1 [ true, %26 ], [ true, %21 ], [ %35, %31 ]
br label %38
38: ; preds = %36, %16
%39 = phi i1 [ false, %16 ], [ %37, %36 ]
br i1 %39, label %40, label %43
40: ; preds = %38
%41 = load ptr, ptr %3, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %3, align 8
br label %16, !llvm.loop !6
43: ; preds = %38
br label %44
44: ; preds = %76, %43
%45 = load ptr, ptr %4, align 8
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %74
49: ; preds = %44
%50 = load ptr, ptr %4, align 8
%51 = load ptr, ptr %3, align 8
%52 = icmp uge ptr %50, %51
br i1 %52, label %53, label %74
53: ; preds = %49
%54 = load ptr, ptr %4, align 8
%55 = load ptr, ptr %3, align 8
%56 = icmp uge ptr %54, %55
br i1 %56, label %57, label %74
57: ; preds = %53
%58 = load ptr, ptr %4, align 8
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp eq i32 %60, 32
br i1 %61, label %72, label %62
62: ; preds = %57
%63 = load ptr, ptr %4, align 8
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = icmp eq i32 %65, 9
br i1 %66, label %72, label %67
67: ; preds = %62
%68 = load ptr, ptr %4, align 8
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = icmp eq i32 %70, 10
br label %72
72: ; preds = %67, %62, %57
%73 = phi i1 [ true, %62 ], [ true, %57 ], [ %71, %67 ]
br label %74
74: ; preds = %72, %53, %49, %44
%75 = phi i1 [ false, %53 ], [ false, %49 ], [ false, %44 ], [ %73, %72 ]
br i1 %75, label %76, label %79
76: ; preds = %74
%77 = load ptr, ptr %4, align 8
%78 = getelementptr inbounds i8, ptr %77, i32 -1
store ptr %78, ptr %4, align 8
store i8 0, ptr %77, align 1
br label %44, !llvm.loop !8
79: ; preds = %74
%80 = load ptr, ptr %3, align 8
store ptr %80, ptr %2, align 8
br label %81
81: ; preds = %79, %7
%82 = load ptr, ptr %2, align 8
ret ptr %82
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp9vmpec7l.c'
source_filename = "/tmp/tmp9vmpec7l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%union.anon = type { i64, [8 x i8] }
@gnulliver128.endian = internal global i32 0, align 4
@gnulliver128.init = internal global i32 1, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @gnulliver128(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i8, align 1
%4 = alloca %union.anon, align 8
store i64 %0, ptr %2, align 8
%5 = load i32, ptr @gnulliver128.init, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 (...) @gnulliver()
store i32 %8, ptr @gnulliver128.endian, align 4
store i32 0, ptr @gnulliver128.init, align 4
br label %9
9: ; preds = %7, %1
%10 = load i64, ptr %2, align 8
store i64 %10, ptr %4, align 8
%11 = load i32, ptr @gnulliver128.endian, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %131
13: ; preds = %9
%14 = load i32, ptr @gnulliver128.endian, align 4
%15 = icmp eq i32 %14, 15
br i1 %15, label %16, label %73
16: ; preds = %13
%17 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0
%18 = load i8, ptr %17, align 8
store i8 %18, ptr %3, align 1
%19 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 15
%20 = load i8, ptr %19, align 1
%21 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0
store i8 %20, ptr %21, align 8
%22 = load i8, ptr %3, align 1
%23 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 15
store i8 %22, ptr %23, align 1
%24 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 1
%25 = load i8, ptr %24, align 1
store i8 %25, ptr %3, align 1
%26 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 14
%27 = load i8, ptr %26, align 2
%28 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 1
store i8 %27, ptr %28, align 1
%29 = load i8, ptr %3, align 1
%30 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 14
store i8 %29, ptr %30, align 2
%31 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 2
%32 = load i8, ptr %31, align 2
store i8 %32, ptr %3, align 1
%33 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 13
%34 = load i8, ptr %33, align 1
%35 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 2
store i8 %34, ptr %35, align 2
%36 = load i8, ptr %3, align 1
%37 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 13
store i8 %36, ptr %37, align 1
%38 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 3
%39 = load i8, ptr %38, align 1
store i8 %39, ptr %3, align 1
%40 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 12
%41 = load i8, ptr %40, align 4
%42 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 3
store i8 %41, ptr %42, align 1
%43 = load i8, ptr %3, align 1
%44 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 12
store i8 %43, ptr %44, align 4
%45 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 4
%46 = load i8, ptr %45, align 4
store i8 %46, ptr %3, align 1
%47 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 11
%48 = load i8, ptr %47, align 1
%49 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 4
store i8 %48, ptr %49, align 4
%50 = load i8, ptr %3, align 1
%51 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 11
store i8 %50, ptr %51, align 1
%52 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 5
%53 = load i8, ptr %52, align 1
store i8 %53, ptr %3, align 1
%54 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 10
%55 = load i8, ptr %54, align 2
%56 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 5
store i8 %55, ptr %56, align 1
%57 = load i8, ptr %3, align 1
%58 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 10
store i8 %57, ptr %58, align 2
%59 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 6
%60 = load i8, ptr %59, align 2
store i8 %60, ptr %3, align 1
%61 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 9
%62 = load i8, ptr %61, align 1
%63 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 6
store i8 %62, ptr %63, align 2
%64 = load i8, ptr %3, align 1
%65 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 9
store i8 %64, ptr %65, align 1
%66 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 7
%67 = load i8, ptr %66, align 1
store i8 %67, ptr %3, align 1
%68 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 8
%69 = load i8, ptr %68, align 8
%70 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 7
store i8 %69, ptr %70, align 1
%71 = load i8, ptr %3, align 1
%72 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 8
store i8 %71, ptr %72, align 8
br label %130
73: ; preds = %13
%74 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0
%75 = load i8, ptr %74, align 8
store i8 %75, ptr %3, align 1
%76 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 14
%77 = load i8, ptr %76, align 2
%78 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0
store i8 %77, ptr %78, align 8
%79 = load i8, ptr %3, align 1
%80 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 14
store i8 %79, ptr %80, align 2
%81 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 1
%82 = load i8, ptr %81, align 1
store i8 %82, ptr %3, align 1
%83 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 15
%84 = load i8, ptr %83, align 1
%85 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 1
store i8 %84, ptr %85, align 1
%86 = load i8, ptr %3, align 1
%87 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 15
store i8 %86, ptr %87, align 1
%88 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 2
%89 = load i8, ptr %88, align 2
store i8 %89, ptr %3, align 1
%90 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 12
%91 = load i8, ptr %90, align 4
%92 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 2
store i8 %91, ptr %92, align 2
%93 = load i8, ptr %3, align 1
%94 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 12
store i8 %93, ptr %94, align 4
%95 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 3
%96 = load i8, ptr %95, align 1
store i8 %96, ptr %3, align 1
%97 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 13
%98 = load i8, ptr %97, align 1
%99 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 3
store i8 %98, ptr %99, align 1
%100 = load i8, ptr %3, align 1
%101 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 13
store i8 %100, ptr %101, align 1
%102 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 4
%103 = load i8, ptr %102, align 4
store i8 %103, ptr %3, align 1
%104 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 10
%105 = load i8, ptr %104, align 2
%106 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 4
store i8 %105, ptr %106, align 4
%107 = load i8, ptr %3, align 1
%108 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 10
store i8 %107, ptr %108, align 2
%109 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 5
%110 = load i8, ptr %109, align 1
store i8 %110, ptr %3, align 1
%111 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 11
%112 = load i8, ptr %111, align 1
%113 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 5
store i8 %112, ptr %113, align 1
%114 = load i8, ptr %3, align 1
%115 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 11
store i8 %114, ptr %115, align 1
%116 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 6
%117 = load i8, ptr %116, align 2
store i8 %117, ptr %3, align 1
%118 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 8
%119 = load i8, ptr %118, align 8
%120 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 6
store i8 %119, ptr %120, align 2
%121 = load i8, ptr %3, align 1
%122 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 8
store i8 %121, ptr %122, align 8
%123 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 7
%124 = load i8, ptr %123, align 1
store i8 %124, ptr %3, align 1
%125 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 9
%126 = load i8, ptr %125, align 1
%127 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 7
store i8 %126, ptr %127, align 1
%128 = load i8, ptr %3, align 1
%129 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 9
store i8 %128, ptr %129, align 1
br label %130
130: ; preds = %73, %16
br label %131
131: ; preds = %130, %9
%132 = load i64, ptr %4, align 8
ret i64 %132
}
declare i32 @gnulliver(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9vmpec7l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%union.anon = type { i64, [8 x i8] }
@gnulliver128.endian = internal global i32 0, align 4
@gnulliver128.init = internal global i32 1, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @gnulliver128(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i8, align 1
%4 = alloca %union.anon, align 8
store i64 %0, ptr %2, align 8
%5 = load i32, ptr @gnulliver128.init, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 (...) @gnulliver()
store i32 %8, ptr @gnulliver128.endian, align 4
store i32 0, ptr @gnulliver128.init, align 4
br label %9
9: ; preds = %7, %1
%10 = load i64, ptr %2, align 8
store i64 %10, ptr %4, align 8
%11 = load i32, ptr @gnulliver128.endian, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %131
13: ; preds = %9
%14 = load i32, ptr @gnulliver128.endian, align 4
%15 = icmp eq i32 %14, 15
br i1 %15, label %16, label %73
16: ; preds = %13
%17 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0
%18 = load i8, ptr %17, align 8
store i8 %18, ptr %3, align 1
%19 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 15
%20 = load i8, ptr %19, align 1
%21 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0
store i8 %20, ptr %21, align 8
%22 = load i8, ptr %3, align 1
%23 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 15
store i8 %22, ptr %23, align 1
%24 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 1
%25 = load i8, ptr %24, align 1
store i8 %25, ptr %3, align 1
%26 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 14
%27 = load i8, ptr %26, align 2
%28 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 1
store i8 %27, ptr %28, align 1
%29 = load i8, ptr %3, align 1
%30 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 14
store i8 %29, ptr %30, align 2
%31 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 2
%32 = load i8, ptr %31, align 2
store i8 %32, ptr %3, align 1
%33 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 13
%34 = load i8, ptr %33, align 1
%35 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 2
store i8 %34, ptr %35, align 2
%36 = load i8, ptr %3, align 1
%37 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 13
store i8 %36, ptr %37, align 1
%38 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 3
%39 = load i8, ptr %38, align 1
store i8 %39, ptr %3, align 1
%40 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 12
%41 = load i8, ptr %40, align 4
%42 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 3
store i8 %41, ptr %42, align 1
%43 = load i8, ptr %3, align 1
%44 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 12
store i8 %43, ptr %44, align 4
%45 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 4
%46 = load i8, ptr %45, align 4
store i8 %46, ptr %3, align 1
%47 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 11
%48 = load i8, ptr %47, align 1
%49 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 4
store i8 %48, ptr %49, align 4
%50 = load i8, ptr %3, align 1
%51 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 11
store i8 %50, ptr %51, align 1
%52 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 5
%53 = load i8, ptr %52, align 1
store i8 %53, ptr %3, align 1
%54 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 10
%55 = load i8, ptr %54, align 2
%56 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 5
store i8 %55, ptr %56, align 1
%57 = load i8, ptr %3, align 1
%58 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 10
store i8 %57, ptr %58, align 2
%59 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 6
%60 = load i8, ptr %59, align 2
store i8 %60, ptr %3, align 1
%61 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 9
%62 = load i8, ptr %61, align 1
%63 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 6
store i8 %62, ptr %63, align 2
%64 = load i8, ptr %3, align 1
%65 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 9
store i8 %64, ptr %65, align 1
%66 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 7
%67 = load i8, ptr %66, align 1
store i8 %67, ptr %3, align 1
%68 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 8
%69 = load i8, ptr %68, align 8
%70 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 7
store i8 %69, ptr %70, align 1
%71 = load i8, ptr %3, align 1
%72 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 8
store i8 %71, ptr %72, align 8
br label %130
73: ; preds = %13
%74 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0
%75 = load i8, ptr %74, align 8
store i8 %75, ptr %3, align 1
%76 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 14
%77 = load i8, ptr %76, align 2
%78 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0
store i8 %77, ptr %78, align 8
%79 = load i8, ptr %3, align 1
%80 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 14
store i8 %79, ptr %80, align 2
%81 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 1
%82 = load i8, ptr %81, align 1
store i8 %82, ptr %3, align 1
%83 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 15
%84 = load i8, ptr %83, align 1
%85 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 1
store i8 %84, ptr %85, align 1
%86 = load i8, ptr %3, align 1
%87 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 15
store i8 %86, ptr %87, align 1
%88 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 2
%89 = load i8, ptr %88, align 2
store i8 %89, ptr %3, align 1
%90 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 12
%91 = load i8, ptr %90, align 4
%92 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 2
store i8 %91, ptr %92, align 2
%93 = load i8, ptr %3, align 1
%94 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 12
store i8 %93, ptr %94, align 4
%95 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 3
%96 = load i8, ptr %95, align 1
store i8 %96, ptr %3, align 1
%97 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 13
%98 = load i8, ptr %97, align 1
%99 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 3
store i8 %98, ptr %99, align 1
%100 = load i8, ptr %3, align 1
%101 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 13
store i8 %100, ptr %101, align 1
%102 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 4
%103 = load i8, ptr %102, align 4
store i8 %103, ptr %3, align 1
%104 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 10
%105 = load i8, ptr %104, align 2
%106 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 4
store i8 %105, ptr %106, align 4
%107 = load i8, ptr %3, align 1
%108 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 10
store i8 %107, ptr %108, align 2
%109 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 5
%110 = load i8, ptr %109, align 1
store i8 %110, ptr %3, align 1
%111 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 11
%112 = load i8, ptr %111, align 1
%113 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 5
store i8 %112, ptr %113, align 1
%114 = load i8, ptr %3, align 1
%115 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 11
store i8 %114, ptr %115, align 1
%116 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 6
%117 = load i8, ptr %116, align 2
store i8 %117, ptr %3, align 1
%118 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 8
%119 = load i8, ptr %118, align 8
%120 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 6
store i8 %119, ptr %120, align 2
%121 = load i8, ptr %3, align 1
%122 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 8
store i8 %121, ptr %122, align 8
%123 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 7
%124 = load i8, ptr %123, align 1
store i8 %124, ptr %3, align 1
%125 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 9
%126 = load i8, ptr %125, align 1
%127 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 7
store i8 %126, ptr %127, align 1
%128 = load i8, ptr %3, align 1
%129 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 9
store i8 %128, ptr %129, align 1
br label %130
130: ; preds = %73, %16
br label %131
131: ; preds = %130, %9
%132 = load i64, ptr %4, align 8
ret i64 %132
}
declare i32 @gnulliver(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgo4rzunp.c'
source_filename = "/tmp/tmpgo4rzunp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@strtok.strtok_s1 = internal global ptr null, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @strtok(ptr noalias noundef %0, ptr noalias 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 ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = load ptr, ptr %4, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %21
15: ; preds = %2
%16 = load ptr, ptr @strtok.strtok_s1, align 8
store ptr %16, ptr %4, align 8
%17 = load ptr, ptr %4, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %20
19: ; preds = %15
store ptr null, ptr %3, align 8
br label %44
20: ; preds = %15
br label %21
21: ; preds = %20, %2
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %5, align 8
%24 = call i64 @strspn(ptr noundef %22, ptr noundef %23)
store i64 %24, ptr %6, align 8
%25 = load i64, ptr %6, align 8
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %21
store ptr null, ptr %3, align 8
br label %44
28: ; preds = %21
%29 = load ptr, ptr %4, align 8
%30 = load i64, ptr %6, align 8
%31 = getelementptr inbounds i8, ptr %29, i64 %30
store ptr %31, ptr %8, align 8
%32 = load ptr, ptr %8, align 8
%33 = load ptr, ptr %5, align 8
%34 = call ptr @strpbrk(ptr noundef %32, ptr noundef %33)
store ptr %34, ptr %7, align 8
%35 = load ptr, ptr %7, align 8
%36 = icmp eq ptr %35, null
br i1 %36, label %37, label %39
37: ; preds = %28
store ptr null, ptr @strtok.strtok_s1, align 8
%38 = load ptr, ptr %8, align 8
store ptr %38, ptr %3, align 8
br label %44
39: ; preds = %28
%40 = load ptr, ptr %7, align 8
store i8 0, ptr %40, align 1
%41 = load ptr, ptr %7, align 8
%42 = getelementptr inbounds i8, ptr %41, i64 1
store ptr %42, ptr @strtok.strtok_s1, align 8
%43 = load ptr, ptr %8, align 8
store ptr %43, ptr %3, align 8
br label %44
44: ; preds = %39, %37, %27, %19
%45 = load ptr, ptr %3, align 8
ret ptr %45
}
declare i32 @assert(i32 noundef) #1
declare i64 @strspn(ptr noundef, ptr noundef) #1
declare ptr @strpbrk(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/tmpgo4rzunp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@strtok.strtok_s1 = internal global ptr null, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @strtok(ptr noalias noundef %0, ptr noalias 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 ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = load ptr, ptr %4, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %21
15: ; preds = %2
%16 = load ptr, ptr @strtok.strtok_s1, align 8
store ptr %16, ptr %4, align 8
%17 = load ptr, ptr %4, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %20
19: ; preds = %15
store ptr null, ptr %3, align 8
br label %44
20: ; preds = %15
br label %21
21: ; preds = %20, %2
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %5, align 8
%24 = call i64 @strspn(ptr noundef %22, ptr noundef %23)
store i64 %24, ptr %6, align 8
%25 = load i64, ptr %6, align 8
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %21
store ptr null, ptr %3, align 8
br label %44
28: ; preds = %21
%29 = load ptr, ptr %4, align 8
%30 = load i64, ptr %6, align 8
%31 = getelementptr inbounds i8, ptr %29, i64 %30
store ptr %31, ptr %8, align 8
%32 = load ptr, ptr %8, align 8
%33 = load ptr, ptr %5, align 8
%34 = call ptr @strpbrk(ptr noundef %32, ptr noundef %33)
store ptr %34, ptr %7, align 8
%35 = load ptr, ptr %7, align 8
%36 = icmp eq ptr %35, null
br i1 %36, label %37, label %39
37: ; preds = %28
store ptr null, ptr @strtok.strtok_s1, align 8
%38 = load ptr, ptr %8, align 8
store ptr %38, ptr %3, align 8
br label %44
39: ; preds = %28
%40 = load ptr, ptr %7, align 8
store i8 0, ptr %40, align 1
%41 = load ptr, ptr %7, align 8
%42 = getelementptr inbounds i8, ptr %41, i64 1
store ptr %42, ptr @strtok.strtok_s1, align 8
%43 = load ptr, ptr %8, align 8
store ptr %43, ptr %3, align 8
br label %44
44: ; preds = %39, %37, %27, %19
%45 = load ptr, ptr %3, align 8
ret ptr %45
}
declare i32 @assert(i32 noundef) #1
declare i64 @strspn(ptr noundef, ptr noundef) #1
declare ptr @strpbrk(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/tmpbv9aimc0.c'
source_filename = "/tmp/tmpbv9aimc0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter n: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Recursive Fibo: %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"Non-Recursive Fibo: %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 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = load i32, ptr %2, align 4
%7 = call i32 @fibo(i32 noundef %6)
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8)
%10 = load i32, ptr %2, align 4
%11 = call i32 @nonRecFibo(i32 noundef %10)
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @fibo(i32 noundef) #1
declare i32 @nonRecFibo(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/tmpbv9aimc0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter n: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Recursive Fibo: %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"Non-Recursive Fibo: %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 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = load i32, ptr %2, align 4
%7 = call i32 @fibo(i32 noundef %6)
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8)
%10 = load i32, ptr %2, align 4
%11 = call i32 @nonRecFibo(i32 noundef %10)
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @fibo(i32 noundef) #1
declare i32 @nonRecFibo(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/tmp8112h376.c'
source_filename = "/tmp/tmp8112h376.c"
target datalayout = "e-m:e-p270: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/tmp8112h376.c"
target datalayout = "e-m:e-p270: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/tmpkkf681vc.c'
source_filename = "/tmp/tmpkkf681vc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%lld\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sysiso_query() #0 {
%1 = alloca i64, align 8
%2 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
%3 = load i64, ptr %1, align 8
%4 = call i32 @rate(i64 noundef %3, i32 noundef 0)
%5 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4)
ret void
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @rate(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/tmpkkf681vc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%lld\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sysiso_query() #0 {
%1 = alloca i64, align 8
%2 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
%3 = load i64, ptr %1, align 8
%4 = call i32 @rate(i64 noundef %3, i32 noundef 0)
%5 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4)
ret void
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @rate(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/tmpmna4y8vf.c'
source_filename = "/tmp/tmpmna4y8vf.c"
target datalayout = "e-m:e-p270: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/tmpmna4y8vf.c"
target datalayout = "e-m:e-p270: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/tmp6dkeazxa.c'
source_filename = "/tmp/tmp6dkeazxa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GPIOIntDisable(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store volatile i64 %0, ptr %3, align 8
store volatile i64 %1, ptr %4, align 8
%5 = load volatile i64, ptr %4, align 8
%6 = xor i64 %5, -1
%7 = load volatile i64, ptr %3, align 8
%8 = add nsw i64 %7, 1040
%9 = inttoptr i64 %8 to ptr
%10 = load volatile i64, ptr %9, align 8
%11 = and i64 %10, %6
store volatile i64 %11, ptr %9, align 8
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/tmp6dkeazxa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GPIOIntDisable(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store volatile i64 %0, ptr %3, align 8
store volatile i64 %1, ptr %4, align 8
%5 = load volatile i64, ptr %4, align 8
%6 = xor i64 %5, -1
%7 = load volatile i64, ptr %3, align 8
%8 = add nsw i64 %7, 1040
%9 = inttoptr i64 %8 to ptr
%10 = load volatile i64, ptr %9, align 8
%11 = and i64 %10, %6
store volatile i64 %11, ptr %9, align 8
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/tmpnav3sdwe.c'
source_filename = "/tmp/tmpnav3sdwe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [139 x i8] c"W,\09M,\09T,\09s1,\09s2,\09d1,\09d2,\09A,\09B,\09a,\09b,\09K,\09k,\090000,\090001,\090010,\090011,\090100,\090101,\090110,\090111,\091000,\091001,\091010,\091011,\091100,\091101,\091110,\091111\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_invasions_header_full() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnav3sdwe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [139 x i8] c"W,\09M,\09T,\09s1,\09s2,\09d1,\09d2,\09A,\09B,\09a,\09b,\09K,\09k,\090000,\090001,\090010,\090011,\090100,\090101,\090110,\090111,\091000,\091001,\091010,\091011,\091100,\091101,\091110,\091111\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_invasions_header_full() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphbtmxctb.c'
source_filename = "/tmp/tmphbtmxctb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"./fst.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"./snd.txt\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"./out.txt\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"w\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %5, ptr %2, align 8
%6 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.1)
store ptr %6, ptr %3, align 8
%7 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4)
store ptr %7, ptr %4, align 8
%8 = load ptr, ptr %2, align 8
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @concate(ptr noundef %8, ptr noundef %9, ptr noundef %10)
%12 = load ptr, ptr %2, align 8
%13 = call i32 @fclose(ptr noundef %12)
%14 = load ptr, ptr %3, align 8
%15 = call i32 @fclose(ptr noundef %14)
%16 = load ptr, ptr %4, align 8
%17 = call i32 @fclose(ptr noundef %16)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @concate(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphbtmxctb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"./fst.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"./snd.txt\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"./out.txt\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"w\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %5, ptr %2, align 8
%6 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.1)
store ptr %6, ptr %3, align 8
%7 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4)
store ptr %7, ptr %4, align 8
%8 = load ptr, ptr %2, align 8
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @concate(ptr noundef %8, ptr noundef %9, ptr noundef %10)
%12 = load ptr, ptr %2, align 8
%13 = call i32 @fclose(ptr noundef %12)
%14 = load ptr, ptr %3, align 8
%15 = call i32 @fclose(ptr noundef %14)
%16 = load ptr, ptr %4, align 8
%17 = call i32 @fclose(ptr noundef %16)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @concate(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpghm1zcfj.c'
source_filename = "/tmp/tmpghm1zcfj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i64, i64 }
@errno = dso_local global i32 0, align 4
@EINTR = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"TRACE (%s:%d, %s): %s (%d)\0A\00", align 1
@.str.1 = private unnamed_addr constant [151 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/andysan/libdivecomputer/refs/heads/master/src/serial_posix.c\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"nanosleep\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @serial_sleep(i64 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
%4 = alloca %struct.timespec, align 8
%5 = alloca i32, align 4
store i64 %0, ptr %3, align 8
%6 = load i64, ptr %3, align 8
%7 = udiv i64 %6, 1000
%8 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0
store i64 %7, ptr %8, align 8
%9 = load i64, ptr %3, align 8
%10 = urem i64 %9, 1000
%11 = mul i64 %10, 1000000
%12 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 1
store i64 %11, ptr %12, align 8
br label %13
13: ; preds = %26, %1
%14 = call i64 @nanosleep(ptr noundef %4, ptr noundef %4)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %27
16: ; preds = %13
%17 = load i32, ptr @errno, align 4
%18 = load i32, ptr @EINTR, align 4
%19 = icmp ne i32 %17, %18
br i1 %19, label %20, label %26
20: ; preds = %16
%21 = load i32, ptr @errno, align 4
store i32 %21, ptr %5, align 4
%22 = call i32 (...) @serial_errmsg()
%23 = call i32 (...) @serial_errcode()
%24 = call i32 @message(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 682, ptr noundef @.str.2, i32 noundef %22, i32 noundef %23)
%25 = load i32, ptr %5, align 4
store i32 %25, ptr @errno, align 4
store i32 -1, ptr %2, align 4
br label %28
26: ; preds = %16
br label %13, !llvm.loop !6
27: ; preds = %13
store i32 0, ptr %2, align 4
br label %28
28: ; preds = %27, %20
%29 = load i32, ptr %2, align 4
ret i32 %29
}
declare i64 @nanosleep(ptr noundef, ptr noundef) #1
declare i32 @message(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @serial_errmsg(...) #1
declare i32 @serial_errcode(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpghm1zcfj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i64, i64 }
@errno = dso_local global i32 0, align 4
@EINTR = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"TRACE (%s:%d, %s): %s (%d)\0A\00", align 1
@.str.1 = private unnamed_addr constant [151 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/andysan/libdivecomputer/refs/heads/master/src/serial_posix.c\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"nanosleep\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @serial_sleep(i64 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
%4 = alloca %struct.timespec, align 8
%5 = alloca i32, align 4
store i64 %0, ptr %3, align 8
%6 = load i64, ptr %3, align 8
%7 = udiv i64 %6, 1000
%8 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0
store i64 %7, ptr %8, align 8
%9 = load i64, ptr %3, align 8
%10 = urem i64 %9, 1000
%11 = mul i64 %10, 1000000
%12 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 1
store i64 %11, ptr %12, align 8
%13 = call i64 @nanosleep(ptr noundef %4, ptr noundef %4)
%14 = icmp ne i64 %13, 0
br i1 %14, label %.lr.ph, label %28
.lr.ph: ; preds = %1
br label %18
15: ; preds = %18
%16 = call i64 @nanosleep(ptr noundef %4, ptr noundef %4)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %._crit_edge, !llvm.loop !6
18: ; preds = %.lr.ph, %15
%19 = load i32, ptr @errno, align 4
%20 = load i32, ptr @EINTR, align 4
%21 = icmp ne i32 %19, %20
br i1 %21, label %22, label %15
22: ; preds = %18
%23 = load i32, ptr @errno, align 4
store i32 %23, ptr %5, align 4
%24 = call i32 (...) @serial_errmsg()
%25 = call i32 (...) @serial_errcode()
%26 = call i32 @message(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 682, ptr noundef @.str.2, i32 noundef %24, i32 noundef %25)
%27 = load i32, ptr %5, align 4
store i32 %27, ptr @errno, align 4
store i32 -1, ptr %2, align 4
br label %29
._crit_edge: ; preds = %15
br label %28
28: ; preds = %._crit_edge, %1
store i32 0, ptr %2, align 4
br label %29
29: ; preds = %28, %22
%30 = load i32, ptr %2, align 4
ret i32 %30
}
declare i64 @nanosleep(ptr noundef, ptr noundef) #1
declare i32 @message(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @serial_errmsg(...) #1
declare i32 @serial_errcode(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpauouaaa2.c'
source_filename = "/tmp/tmpauouaaa2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.x = private unnamed_addr constant [8 x float] [float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00, float 6.000000e+00, float 7.000000e+00, float 8.000000e+00], align 16
@.str = private unnamed_addr constant [10 x i8] c"mean: %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [8 x float], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca float, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.x, i64 32, i1 false)
store i32 4, ptr %2, align 4
store i32 2, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = getelementptr inbounds [8 x float], ptr %1, i64 0, i64 0
%7 = load i32, ptr %3, align 4
%8 = call float @stdlib_strided_smeanli(i32 noundef %5, ptr noundef %6, i32 noundef %7)
store float %8, ptr %4, align 4
%9 = load float, ptr %4, align 4
%10 = call i32 @printf(ptr noundef @.str, float noundef %9)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare float @stdlib_strided_smeanli(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, float noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpauouaaa2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.x = private unnamed_addr constant [8 x float] [float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00, float 6.000000e+00, float 7.000000e+00, float 8.000000e+00], align 16
@.str = private unnamed_addr constant [10 x i8] c"mean: %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [8 x float], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca float, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.x, i64 32, i1 false)
store i32 4, ptr %2, align 4
store i32 2, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = getelementptr inbounds [8 x float], ptr %1, i64 0, i64 0
%7 = load i32, ptr %3, align 4
%8 = call float @stdlib_strided_smeanli(i32 noundef %5, ptr noundef %6, i32 noundef %7)
store float %8, ptr %4, align 4
%9 = load float, ptr %4, align 4
%10 = call i32 @printf(ptr noundef @.str, float noundef %9)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare float @stdlib_strided_smeanli(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, float noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpexin16hw.c'
source_filename = "/tmp/tmpexin16hw.c"
target datalayout = "e-m:e-p270: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 [14 x i8] c"my tid : %u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @catch_SIGQUIT(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @stderr, align 4
%4 = call i64 (...) @pthread_self()
%5 = trunc i64 %4 to i32
%6 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, i32 noundef %5)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @pthread_self(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpexin16hw.c"
target datalayout = "e-m:e-p270: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 [14 x i8] c"my tid : %u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @catch_SIGQUIT(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @stderr, align 4
%4 = call i64 (...) @pthread_self()
%5 = trunc i64 %4 to i32
%6 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, i32 noundef %5)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @pthread_self(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsdkhdyx3.c'
source_filename = "/tmp/tmpsdkhdyx3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@getword.word = internal global [1025 x i8] zeroinitializer, align 16
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getword(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr @getword.word, ptr %4, align 8
br label %6
6: ; preds = %17, %1
%7 = load ptr, ptr %3, align 8
%8 = call i32 @fgetc(ptr noundef %7)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr @EOF, align 4
%10 = icmp ne i32 %8, %9
br i1 %10, label %11, label %15
11: ; preds = %6
%12 = load i32, ptr %5, align 4
%13 = call i64 @isspace(i32 noundef %12)
%14 = icmp ne i64 %13, 0
br label %15
15: ; preds = %11, %6
%16 = phi i1 [ false, %6 ], [ %14, %11 ]
br i1 %16, label %17, label %18
17: ; preds = %15
br label %6, !llvm.loop !6
18: ; preds = %15
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr @EOF, align 4
%21 = icmp eq i32 %19, %20
br i1 %21, label %22, label %23
22: ; preds = %18
store ptr null, ptr %2, align 8
br label %54
23: ; preds = %18
%24 = load i32, ptr %5, align 4
%25 = trunc i32 %24 to i8
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 1
store ptr %27, ptr %4, align 8
store i8 %25, ptr %26, align 1
br label %28
28: ; preds = %42, %23
%29 = load ptr, ptr %3, align 8
%30 = call i32 @fgetc(ptr noundef %29)
store i32 %30, ptr %5, align 4
%31 = load i32, ptr @EOF, align 4
%32 = icmp ne i32 %30, %31
br i1 %32, label %33, label %40
33: ; preds = %28
%34 = load i32, ptr %5, align 4
%35 = call i64 @isspace(i32 noundef %34)
%36 = icmp ne i64 %35, 0
br i1 %36, label %40, label %37
37: ; preds = %33
%38 = load ptr, ptr %4, align 8
%39 = icmp ne ptr %38, getelementptr inbounds ([1025 x i8], ptr @getword.word, i64 0, i64 1024)
br label %40
40: ; preds = %37, %33, %28
%41 = phi i1 [ false, %33 ], [ false, %28 ], [ %39, %37 ]
br i1 %41, label %42, label %47
42: ; preds = %40
%43 = load i32, ptr %5, align 4
%44 = trunc i32 %43 to i8
%45 = load ptr, ptr %4, align 8
%46 = getelementptr inbounds i8, ptr %45, i32 1
store ptr %46, ptr %4, align 8
store i8 %44, ptr %45, align 1
br label %28, !llvm.loop !8
47: ; preds = %40
%48 = load ptr, ptr %4, align 8
store i8 0, ptr %48, align 1
%49 = load i32, ptr %5, align 4
%50 = load i32, ptr @EOF, align 4
%51 = icmp eq i32 %49, %50
%52 = zext i1 %51 to i64
%53 = select i1 %51, ptr null, ptr @getword.word
store ptr %53, ptr %2, align 8
br label %54
54: ; preds = %47, %22
%55 = load ptr, ptr %2, align 8
ret ptr %55
}
declare i32 @fgetc(ptr noundef) #1
declare i64 @isspace(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/tmpsdkhdyx3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@getword.word = internal global [1025 x i8] zeroinitializer, align 16
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getword(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr @getword.word, ptr %4, align 8
br label %6
6: ; preds = %15, %1
%7 = load ptr, ptr %3, align 8
%8 = call i32 @fgetc(ptr noundef %7)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr @EOF, align 4
%10 = icmp ne i32 %8, %9
br i1 %10, label %11, label %15
11: ; preds = %6
%12 = load i32, ptr %5, align 4
%13 = call i64 @isspace(i32 noundef %12)
%14 = icmp ne i64 %13, 0
br label %15
15: ; preds = %11, %6
%16 = phi i1 [ false, %6 ], [ %14, %11 ]
br i1 %16, label %6, label %17, !llvm.loop !6
17: ; preds = %15
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr @EOF, align 4
%20 = icmp eq i32 %18, %19
br i1 %20, label %21, label %22
21: ; preds = %17
store ptr null, ptr %2, align 8
br label %53
22: ; preds = %17
%23 = load i32, ptr %5, align 4
%24 = trunc i32 %23 to i8
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %4, align 8
store i8 %24, ptr %25, align 1
br label %27
27: ; preds = %41, %22
%28 = load ptr, ptr %3, align 8
%29 = call i32 @fgetc(ptr noundef %28)
store i32 %29, ptr %5, align 4
%30 = load i32, ptr @EOF, align 4
%31 = icmp ne i32 %29, %30
br i1 %31, label %32, label %39
32: ; preds = %27
%33 = load i32, ptr %5, align 4
%34 = call i64 @isspace(i32 noundef %33)
%35 = icmp ne i64 %34, 0
br i1 %35, label %39, label %36
36: ; preds = %32
%37 = load ptr, ptr %4, align 8
%38 = icmp ne ptr %37, getelementptr inbounds ([1025 x i8], ptr @getword.word, i64 0, i64 1024)
br label %39
39: ; preds = %36, %32, %27
%40 = phi i1 [ false, %32 ], [ false, %27 ], [ %38, %36 ]
br i1 %40, label %41, label %46
41: ; preds = %39
%42 = load i32, ptr %5, align 4
%43 = trunc i32 %42 to i8
%44 = load ptr, ptr %4, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 1
store ptr %45, ptr %4, align 8
store i8 %43, ptr %44, align 1
br label %27, !llvm.loop !8
46: ; preds = %39
%47 = load ptr, ptr %4, align 8
store i8 0, ptr %47, align 1
%48 = load i32, ptr %5, align 4
%49 = load i32, ptr @EOF, align 4
%50 = icmp eq i32 %48, %49
%51 = zext i1 %50 to i64
%52 = select i1 %50, ptr null, ptr @getword.word
store ptr %52, ptr %2, align 8
br label %53
53: ; preds = %46, %21
%54 = load ptr, ptr %2, align 8
ret ptr %54
}
declare i32 @fgetc(ptr noundef) #1
declare i64 @isspace(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/tmpkqutexnp.c'
source_filename = "/tmp/tmpkqutexnp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 0x09\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isxdigit_0x09() #0 {
%1 = call i64 @isxdigit(i32 noundef 9)
%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 50, 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/tmpkqutexnp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 0x09\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isxdigit_0x09() #0 {
%1 = call i64 @isxdigit(i32 noundef 9)
%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 50, 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/tmp6frpz2a5.c'
source_filename = "/tmp/tmp6frpz2a5.c"
target datalayout = "e-m:e-p270: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/tmp6frpz2a5.c"
target datalayout = "e-m:e-p270: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/tmp2115ql6_.c'
source_filename = "/tmp/tmp2115ql6_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2115ql6_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq6phaank.c'
source_filename = "/tmp/tmpq6phaank.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo() #0 {
%1 = alloca i32, align 4
store i32 3, ptr %1, align 4
%2 = call i32 @junk(i32 noundef 3)
ret void
}
declare i32 @junk(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/tmpq6phaank.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo() #0 {
%1 = alloca i32, align 4
store i32 3, ptr %1, align 4
%2 = call i32 @junk(i32 noundef 3)
ret void
}
declare i32 @junk(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/tmp0jko658u.c'
source_filename = "/tmp/tmp0jko658u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"publication\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @visiGenePublication(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call ptr @stringFieldInSubmissionSet(ptr noundef %5, i32 noundef %6, ptr noundef @.str)
ret ptr %7
}
declare ptr @stringFieldInSubmissionSet(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0jko658u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"publication\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @visiGenePublication(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call ptr @stringFieldInSubmissionSet(ptr noundef %5, i32 noundef %6, ptr noundef @.str)
ret ptr %7
}
declare ptr @stringFieldInSubmissionSet(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjq6zg5ix.c'
source_filename = "/tmp/tmpjq6zg5ix.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @timestamp_has_common(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %9, align 8
%13 = call i64 @timestamp_compare(ptr noundef %11, ptr noundef %12, ptr noundef %10, ptr noundef null)
%14 = icmp slt i64 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %4
store i32 -2, ptr %5, align 4
br label %31
16: ; preds = %4
%17 = load i32, ptr %10, align 4
%18 = icmp eq i32 %17, 1
br i1 %18, label %19, label %20
19: ; preds = %16
store i32 -3, ptr %5, align 4
br label %31
20: ; preds = %16
%21 = load ptr, ptr %7, align 8
%22 = load ptr, ptr %8, align 8
%23 = call i64 @timestamp_compare(ptr noundef %21, ptr noundef %22, ptr noundef %10, ptr noundef null)
%24 = icmp slt i64 %23, 0
br i1 %24, label %25, label %26
25: ; preds = %20
store i32 -2, ptr %5, align 4
br label %31
26: ; preds = %20
%27 = load i32, ptr %10, align 4
%28 = icmp eq i32 %27, -1
br i1 %28, label %29, label %30
29: ; preds = %26
store i32 -4, ptr %5, align 4
br label %31
30: ; preds = %26
store i32 1, ptr %5, align 4
br label %31
31: ; preds = %30, %29, %25, %19, %15
%32 = load i32, ptr %5, align 4
ret i32 %32
}
declare i64 @timestamp_compare(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjq6zg5ix.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @timestamp_has_common(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %9, align 8
%13 = call i64 @timestamp_compare(ptr noundef %11, ptr noundef %12, ptr noundef %10, ptr noundef null)
%14 = icmp slt i64 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %4
store i32 -2, ptr %5, align 4
br label %31
16: ; preds = %4
%17 = load i32, ptr %10, align 4
%18 = icmp eq i32 %17, 1
br i1 %18, label %19, label %20
19: ; preds = %16
store i32 -3, ptr %5, align 4
br label %31
20: ; preds = %16
%21 = load ptr, ptr %7, align 8
%22 = load ptr, ptr %8, align 8
%23 = call i64 @timestamp_compare(ptr noundef %21, ptr noundef %22, ptr noundef %10, ptr noundef null)
%24 = icmp slt i64 %23, 0
br i1 %24, label %25, label %26
25: ; preds = %20
store i32 -2, ptr %5, align 4
br label %31
26: ; preds = %20
%27 = load i32, ptr %10, align 4
%28 = icmp eq i32 %27, -1
br i1 %28, label %29, label %30
29: ; preds = %26
store i32 -4, ptr %5, align 4
br label %31
30: ; preds = %26
store i32 1, ptr %5, align 4
br label %31
31: ; preds = %30, %29, %25, %19, %15
%32 = load i32, ptr %5, align 4
ret i32 %32
}
declare i64 @timestamp_compare(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppx4krfyw.c'
source_filename = "/tmp/tmppx4krfyw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [10000 x i32], align 16
store i32 0, ptr %1, align 4
br label %6
6: ; preds = %27, %0
%7 = call i64 @scanf(ptr noundef @.str, ptr noundef %4)
%8 = load i64, ptr @EOF, align 8
%9 = icmp ne i64 %7, %8
br i1 %9, label %10, label %32
10: ; preds = %6
%11 = load i32, ptr %4, align 4
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %10
br label %32
14: ; preds = %10
store i32 0, ptr %3, align 4
br label %15
15: ; preds = %24, %14
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %27
19: ; preds = %15
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [10000 x i32], ptr %5, i64 0, i64 %21
%23 = call i64 @scanf(ptr noundef @.str, ptr noundef %22)
br label %24
24: ; preds = %19
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
br label %15, !llvm.loop !6
27: ; preds = %15
%28 = getelementptr inbounds [10000 x i32], ptr %5, i64 0, i64 0
%29 = load i32, ptr %4, align 4
%30 = call i32 @sum(ptr noundef %28, i32 noundef %29)
%31 = call i32 @printf(ptr noundef @.str.1, i32 noundef %30)
br label %6, !llvm.loop !8
32: ; preds = %13, %6
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sum(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppx4krfyw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [10000 x i32], align 16
store i32 0, ptr %1, align 4
%6 = call i64 @scanf(ptr noundef @.str, ptr noundef %4)
%7 = load i64, ptr @EOF, align 8
%8 = icmp ne i64 %6, %7
br i1 %8, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %0
br label %9
9: ; preds = %.lr.ph2, %28
%10 = load i32, ptr %4, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %9
br label %36
13: ; preds = %9
store i32 0, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %28
.lr.ph: ; preds = %13
br label %17
17: ; preds = %.lr.ph, %22
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [10000 x i32], ptr %5, i64 0, i64 %19
%21 = call i64 @scanf(ptr noundef @.str, ptr noundef %20)
br label %22
22: ; preds = %17
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
%25 = load i32, ptr %3, align 4
%26 = load i32, ptr %4, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %13
%29 = getelementptr inbounds [10000 x i32], ptr %5, i64 0, i64 0
%30 = load i32, ptr %4, align 4
%31 = call i32 @sum(ptr noundef %29, i32 noundef %30)
%32 = call i32 @printf(ptr noundef @.str.1, i32 noundef %31)
%33 = call i64 @scanf(ptr noundef @.str, ptr noundef %4)
%34 = load i64, ptr @EOF, align 8
%35 = icmp ne i64 %33, %34
br i1 %35, label %9, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %28
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %36
36: ; preds = %.loopexit, %12
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sum(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpz5sr59du.c'
source_filename = "/tmp/tmpz5sr59du.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [78 x i8] c"sizeof(enum __ptrace_request) = %lu\0Asizeof(pid_t) = %lu\0Asizeof(void *) = %lu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, i32 noundef 4, i32 noundef 4, i32 noundef 8)
ret i32 0
}
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/tmpz5sr59du.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [78 x i8] c"sizeof(enum __ptrace_request) = %lu\0Asizeof(pid_t) = %lu\0Asizeof(void *) = %lu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, i32 noundef 4, i32 noundef 4, i32 noundef 8)
ret i32 0
}
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/tmp989cxpgr.c'
source_filename = "/tmp/tmp989cxpgr.c"
target datalayout = "e-m:e-p270: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/tmp989cxpgr.c"
target datalayout = "e-m:e-p270: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/tmp5bug_x3h.c'
source_filename = "/tmp/tmp5bug_x3h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ran1.ix1 = internal global i32 0, align 4
@ran1.ix2 = internal global i32 0, align 4
@ran1.ix3 = internal global i32 0, align 4
@ran1.r = internal global [98 x double] zeroinitializer, align 16
@ran1.iff = internal global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"RAN1: This cannot happen.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @ran1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca double, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %5, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %11, label %8
8: ; preds = %1
%9 = load i32, ptr @ran1.iff, align 4
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %68
11: ; preds = %8, %1
store i32 1, ptr @ran1.iff, align 4
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %12, align 4
%14 = sext i32 %13 to i64
%15 = sub nsw i64 54773, %14
%16 = srem i64 %15, 259200
%17 = trunc i64 %16 to i32
store i32 %17, ptr @ran1.ix1, align 4
%18 = load i32, ptr @ran1.ix1, align 4
%19 = sext i32 %18 to i64
%20 = mul nsw i64 7141, %19
%21 = add nsw i64 %20, 54773
%22 = srem i64 %21, 259200
%23 = trunc i64 %22 to i32
store i32 %23, ptr @ran1.ix1, align 4
%24 = load i32, ptr @ran1.ix1, align 4
%25 = sext i32 %24 to i64
%26 = srem i64 %25, 134456
%27 = trunc i64 %26 to i32
store i32 %27, ptr @ran1.ix2, align 4
%28 = load i32, ptr @ran1.ix1, align 4
%29 = sext i32 %28 to i64
%30 = mul nsw i64 7141, %29
%31 = add nsw i64 %30, 54773
%32 = srem i64 %31, 259200
%33 = trunc i64 %32 to i32
store i32 %33, ptr @ran1.ix1, align 4
%34 = load i32, ptr @ran1.ix1, align 4
%35 = sext i32 %34 to i64
%36 = srem i64 %35, 243000
%37 = trunc i64 %36 to i32
store i32 %37, ptr @ran1.ix3, align 4
store i32 1, ptr %4, align 4
br label %38
38: ; preds = %63, %11
%39 = load i32, ptr %4, align 4
%40 = icmp sle i32 %39, 97
br i1 %40, label %41, label %66
41: ; preds = %38
%42 = load i32, ptr @ran1.ix1, align 4
%43 = sext i32 %42 to i64
%44 = mul nsw i64 7141, %43
%45 = add nsw i64 %44, 54773
%46 = srem i64 %45, 259200
%47 = trunc i64 %46 to i32
store i32 %47, ptr @ran1.ix1, align 4
%48 = load i32, ptr @ran1.ix2, align 4
%49 = sext i32 %48 to i64
%50 = mul nsw i64 8121, %49
%51 = add nsw i64 %50, 28411
%52 = srem i64 %51, 134456
%53 = trunc i64 %52 to i32
store i32 %53, ptr @ran1.ix2, align 4
%54 = load i32, ptr @ran1.ix1, align 4
%55 = sitofp i32 %54 to double
%56 = load i32, ptr @ran1.ix2, align 4
%57 = sitofp i32 %56 to double
%58 = call double @llvm.fmuladd.f64(double %57, double 0x3EDF31D2B36647FC, double %55)
%59 = fmul double %58, 0x3ED02E85C0898B71
%60 = load i32, ptr %4, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [98 x double], ptr @ran1.r, i64 0, i64 %61
store double %59, ptr %62, align 8
br label %63
63: ; preds = %41
%64 = load i32, ptr %4, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %4, align 4
br label %38, !llvm.loop !6
66: ; preds = %38
%67 = load ptr, ptr %2, align 8
store i32 1, ptr %67, align 4
br label %68
68: ; preds = %66, %8
%69 = load i32, ptr @ran1.ix1, align 4
%70 = sext i32 %69 to i64
%71 = mul nsw i64 7141, %70
%72 = add nsw i64 %71, 54773
%73 = srem i64 %72, 259200
%74 = trunc i64 %73 to i32
store i32 %74, ptr @ran1.ix1, align 4
%75 = load i32, ptr @ran1.ix2, align 4
%76 = sext i32 %75 to i64
%77 = mul nsw i64 8121, %76
%78 = add nsw i64 %77, 28411
%79 = srem i64 %78, 134456
%80 = trunc i64 %79 to i32
store i32 %80, ptr @ran1.ix2, align 4
%81 = load i32, ptr @ran1.ix3, align 4
%82 = sext i32 %81 to i64
%83 = mul nsw i64 4561, %82
%84 = add nsw i64 %83, 51349
%85 = srem i64 %84, 243000
%86 = trunc i64 %85 to i32
store i32 %86, ptr @ran1.ix3, align 4
%87 = load i32, ptr @ran1.ix3, align 4
%88 = mul nsw i32 97, %87
%89 = sext i32 %88 to i64
%90 = sdiv i64 %89, 243000
%91 = add nsw i64 1, %90
%92 = trunc i64 %91 to i32
store i32 %92, ptr %4, align 4
%93 = load i32, ptr %4, align 4
%94 = icmp sgt i32 %93, 97
br i1 %94, label %98, label %95
95: ; preds = %68
%96 = load i32, ptr %4, align 4
%97 = icmp slt i32 %96, 1
br i1 %97, label %98, label %100
98: ; preds = %95, %68
%99 = call i32 @dump_error(ptr noundef @.str)
br label %100
100: ; preds = %98, %95
%101 = load i32, ptr %4, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [98 x double], ptr @ran1.r, i64 0, i64 %102
%104 = load double, ptr %103, align 8
store double %104, ptr %3, align 8
%105 = load i32, ptr @ran1.ix1, align 4
%106 = sitofp i32 %105 to double
%107 = load i32, ptr @ran1.ix2, align 4
%108 = sitofp i32 %107 to double
%109 = call double @llvm.fmuladd.f64(double %108, double 0x3EDF31D2B36647FC, double %106)
%110 = fmul double %109, 0x3ED02E85C0898B71
%111 = load i32, ptr %4, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds [98 x double], ptr @ran1.r, i64 0, i64 %112
store double %110, ptr %113, align 8
%114 = load double, ptr %3, align 8
ret double %114
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare i32 @dump_error(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5bug_x3h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ran1.ix1 = internal global i32 0, align 4
@ran1.ix2 = internal global i32 0, align 4
@ran1.ix3 = internal global i32 0, align 4
@ran1.r = internal global [98 x double] zeroinitializer, align 16
@ran1.iff = internal global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"RAN1: This cannot happen.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @ran1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca double, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %5, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %11, label %8
8: ; preds = %1
%9 = load i32, ptr @ran1.iff, align 4
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %69
11: ; preds = %8, %1
store i32 1, ptr @ran1.iff, align 4
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %12, align 4
%14 = sext i32 %13 to i64
%15 = sub nsw i64 54773, %14
%16 = srem i64 %15, 259200
%17 = trunc i64 %16 to i32
store i32 %17, ptr @ran1.ix1, align 4
%18 = load i32, ptr @ran1.ix1, align 4
%19 = sext i32 %18 to i64
%20 = mul nsw i64 7141, %19
%21 = add nsw i64 %20, 54773
%22 = srem i64 %21, 259200
%23 = trunc i64 %22 to i32
store i32 %23, ptr @ran1.ix1, align 4
%24 = load i32, ptr @ran1.ix1, align 4
%25 = sext i32 %24 to i64
%26 = srem i64 %25, 134456
%27 = trunc i64 %26 to i32
store i32 %27, ptr @ran1.ix2, align 4
%28 = load i32, ptr @ran1.ix1, align 4
%29 = sext i32 %28 to i64
%30 = mul nsw i64 7141, %29
%31 = add nsw i64 %30, 54773
%32 = srem i64 %31, 259200
%33 = trunc i64 %32 to i32
store i32 %33, ptr @ran1.ix1, align 4
%34 = load i32, ptr @ran1.ix1, align 4
%35 = sext i32 %34 to i64
%36 = srem i64 %35, 243000
%37 = trunc i64 %36 to i32
store i32 %37, ptr @ran1.ix3, align 4
store i32 1, ptr %4, align 4
%38 = load i32, ptr %4, align 4
%39 = icmp sle i32 %38, 97
br i1 %39, label %.lr.ph, label %67
.lr.ph: ; preds = %11
br label %40
40: ; preds = %.lr.ph, %62
%41 = load i32, ptr @ran1.ix1, align 4
%42 = sext i32 %41 to i64
%43 = mul nsw i64 7141, %42
%44 = add nsw i64 %43, 54773
%45 = srem i64 %44, 259200
%46 = trunc i64 %45 to i32
store i32 %46, ptr @ran1.ix1, align 4
%47 = load i32, ptr @ran1.ix2, align 4
%48 = sext i32 %47 to i64
%49 = mul nsw i64 8121, %48
%50 = add nsw i64 %49, 28411
%51 = srem i64 %50, 134456
%52 = trunc i64 %51 to i32
store i32 %52, ptr @ran1.ix2, align 4
%53 = load i32, ptr @ran1.ix1, align 4
%54 = sitofp i32 %53 to double
%55 = load i32, ptr @ran1.ix2, align 4
%56 = sitofp i32 %55 to double
%57 = call double @llvm.fmuladd.f64(double %56, double 0x3EDF31D2B36647FC, double %54)
%58 = fmul double %57, 0x3ED02E85C0898B71
%59 = load i32, ptr %4, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [98 x double], ptr @ran1.r, i64 0, i64 %60
store double %58, ptr %61, align 8
br label %62
62: ; preds = %40
%63 = load i32, ptr %4, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %4, align 4
%65 = load i32, ptr %4, align 4
%66 = icmp sle i32 %65, 97
br i1 %66, label %40, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %62
br label %67
67: ; preds = %._crit_edge, %11
%68 = load ptr, ptr %2, align 8
store i32 1, ptr %68, align 4
br label %69
69: ; preds = %67, %8
%70 = load i32, ptr @ran1.ix1, align 4
%71 = sext i32 %70 to i64
%72 = mul nsw i64 7141, %71
%73 = add nsw i64 %72, 54773
%74 = srem i64 %73, 259200
%75 = trunc i64 %74 to i32
store i32 %75, ptr @ran1.ix1, align 4
%76 = load i32, ptr @ran1.ix2, align 4
%77 = sext i32 %76 to i64
%78 = mul nsw i64 8121, %77
%79 = add nsw i64 %78, 28411
%80 = srem i64 %79, 134456
%81 = trunc i64 %80 to i32
store i32 %81, ptr @ran1.ix2, align 4
%82 = load i32, ptr @ran1.ix3, align 4
%83 = sext i32 %82 to i64
%84 = mul nsw i64 4561, %83
%85 = add nsw i64 %84, 51349
%86 = srem i64 %85, 243000
%87 = trunc i64 %86 to i32
store i32 %87, ptr @ran1.ix3, align 4
%88 = load i32, ptr @ran1.ix3, align 4
%89 = mul nsw i32 97, %88
%90 = sext i32 %89 to i64
%91 = sdiv i64 %90, 243000
%92 = add nsw i64 1, %91
%93 = trunc i64 %92 to i32
store i32 %93, ptr %4, align 4
%94 = load i32, ptr %4, align 4
%95 = icmp sgt i32 %94, 97
br i1 %95, label %99, label %96
96: ; preds = %69
%97 = load i32, ptr %4, align 4
%98 = icmp slt i32 %97, 1
br i1 %98, label %99, label %101
99: ; preds = %96, %69
%100 = call i32 @dump_error(ptr noundef @.str)
br label %101
101: ; preds = %99, %96
%102 = load i32, ptr %4, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds [98 x double], ptr @ran1.r, i64 0, i64 %103
%105 = load double, ptr %104, align 8
store double %105, ptr %3, align 8
%106 = load i32, ptr @ran1.ix1, align 4
%107 = sitofp i32 %106 to double
%108 = load i32, ptr @ran1.ix2, align 4
%109 = sitofp i32 %108 to double
%110 = call double @llvm.fmuladd.f64(double %109, double 0x3EDF31D2B36647FC, double %107)
%111 = fmul double %110, 0x3ED02E85C0898B71
%112 = load i32, ptr %4, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds [98 x double], ptr @ran1.r, i64 0, i64 %113
store double %111, ptr %114, align 8
%115 = load double, ptr %3, align 8
ret double %115
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare i32 @dump_error(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5g2aeazn.c'
source_filename = "/tmp/tmp5g2aeazn.c"
target datalayout = "e-m:e-p270: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 [84 x i8] c"Value of %d in /proc/sys/kernel/perf_event_paranoid too high for this test to run!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_paranoid_setting(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
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = call i32 (...) @get_paranoid_setting()
store i32 %7, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp sgt i32 %8, %9
br i1 %10, label %11, label %19
11: ; preds = %2
%12 = load i32, ptr %5, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %18, label %14
14: ; preds = %11
%15 = load i32, ptr @stderr, align 4
%16 = load i32, ptr %6, align 4
%17 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, i32 noundef %16)
br label %18
18: ; preds = %14, %11
store i32 -1, ptr %3, align 4
br label %20
19: ; preds = %2
store i32 0, ptr %3, align 4
br label %20
20: ; preds = %19, %18
%21 = load i32, ptr %3, align 4
ret i32 %21
}
declare i32 @get_paranoid_setting(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5g2aeazn.c"
target datalayout = "e-m:e-p270: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 [84 x i8] c"Value of %d in /proc/sys/kernel/perf_event_paranoid too high for this test to run!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_paranoid_setting(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
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = call i32 (...) @get_paranoid_setting()
store i32 %7, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp sgt i32 %8, %9
br i1 %10, label %11, label %19
11: ; preds = %2
%12 = load i32, ptr %5, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %18, label %14
14: ; preds = %11
%15 = load i32, ptr @stderr, align 4
%16 = load i32, ptr %6, align 4
%17 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, i32 noundef %16)
br label %18
18: ; preds = %14, %11
store i32 -1, ptr %3, align 4
br label %20
19: ; preds = %2
store i32 0, ptr %3, align 4
br label %20
20: ; preds = %19, %18
%21 = load i32, ptr %3, align 4
ret i32 %21
}
declare i32 @get_paranoid_setting(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0wna8hxt.c'
source_filename = "/tmp/tmp0wna8hxt.c"
target datalayout = "e-m:e-p270: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/tmp0wna8hxt.c"
target datalayout = "e-m:e-p270: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/tmptkgttd9z.c'
source_filename = "/tmp/tmptkgttd9z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @combinacion(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 = call i32 @factorial(i32 noundef %5)
%7 = load i32, ptr %4, align 4
%8 = call i32 @factorial(i32 noundef %7)
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = sub nsw i32 %9, %10
%12 = call i32 @factorial(i32 noundef %11)
%13 = mul nsw i32 %8, %12
%14 = sdiv i32 %6, %13
ret i32 %14
}
declare i32 @factorial(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/tmptkgttd9z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @combinacion(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 = call i32 @factorial(i32 noundef %5)
%7 = load i32, ptr %4, align 4
%8 = call i32 @factorial(i32 noundef %7)
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = sub nsw i32 %9, %10
%12 = call i32 @factorial(i32 noundef %11)
%13 = mul nsw i32 %8, %12
%14 = sdiv i32 %6, %13
ret i32 %14
}
declare i32 @factorial(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/tmp3xbccowf.c'
source_filename = "/tmp/tmp3xbccowf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @minuscczext(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = sub i32 %6, %7
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp ugt i32 %9, %10
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 (...) @abort() #2
unreachable
14: ; preds = %2
%15 = load i32, ptr %5, align 4
%16 = zext i32 %15 to i64
ret i64 %16
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3xbccowf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @minuscczext(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = sub i32 %6, %7
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp ugt i32 %9, %10
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 (...) @abort() #2
unreachable
14: ; preds = %2
%15 = load i32, ptr %5, align 4
%16 = zext i32 %15 to i64
ret i64 %16
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpecaocx9q.c'
source_filename = "/tmp/tmpecaocx9q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define weak dso_local ptr @softboundcets_mkdtemp(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @mkdtemp(ptr noundef %4)
store ptr %5, ptr %3, align 8
%6 = call i32 @__softboundcets_propagate_metadata_shadow_stack_from(i32 noundef 1, i32 noundef 0)
%7 = load ptr, ptr %3, align 8
ret ptr %7
}
declare ptr @mkdtemp(ptr noundef) #1
declare i32 @__softboundcets_propagate_metadata_shadow_stack_from(i32 noundef, i32 noundef) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpecaocx9q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define weak dso_local ptr @softboundcets_mkdtemp(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @mkdtemp(ptr noundef %4)
store ptr %5, ptr %3, align 8
%6 = call i32 @__softboundcets_propagate_metadata_shadow_stack_from(i32 noundef 1, i32 noundef 0)
%7 = load ptr, ptr %3, align 8
ret ptr %7
}
declare ptr @mkdtemp(ptr noundef) #1
declare i32 @__softboundcets_propagate_metadata_shadow_stack_from(i32 noundef, i32 noundef) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdg13pe9u.c'
source_filename = "/tmp/tmpdg13pe9u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @e() #0 {
%1 = call i64 (...) @fork()
%2 = icmp ne i64 %1, 0
br i1 %2, label %3, label %5
3: ; preds = %0
%4 = call i32 @exit(i32 noundef 1) #3
unreachable
5: ; preds = %0
ret void
}
declare i64 @fork(...) #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/tmpdg13pe9u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @e() #0 {
%1 = call i64 (...) @fork()
%2 = icmp ne i64 %1, 0
br i1 %2, label %3, label %5
3: ; preds = %0
%4 = call i32 @exit(i32 noundef 1) #3
unreachable
5: ; preds = %0
ret void
}
declare i64 @fork(...) #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/tmpsz6b6ml5.c'
source_filename = "/tmp/tmpsz6b6ml5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c" %.6f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @hellinger(ptr noundef %0, ptr noundef %1, i32 noundef %2, double noundef %3, double noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store double %3, ptr %9, align 8
store double %4, ptr %10, align 8
store double 0.000000e+00, ptr %11, align 8
br label %13
13: ; preds = %41, %5
%14 = load i32, ptr %8, align 4
%15 = add nsw i32 %14, -1
store i32 %15, ptr %8, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %46
17: ; preds = %13
%18 = load ptr, ptr %6, align 8
%19 = load double, ptr %18, align 8
%20 = load ptr, ptr %7, align 8
%21 = load double, ptr %20, align 8
%22 = fmul double %19, %21
store double %22, ptr %12, align 8
%23 = load double, ptr %12, align 8
%24 = call double @llvm.fabs.f64(double %23)
%25 = load double, ptr %10, align 8
%26 = fcmp olt double %24, %25
br i1 %26, label %30, label %27
27: ; preds = %17
%28 = load double, ptr %12, align 8
%29 = fcmp ogt double %28, 0.000000e+00
br i1 %29, label %30, label %41
30: ; preds = %27, %17
%31 = load ptr, ptr %6, align 8
%32 = load double, ptr %31, align 8
%33 = load ptr, ptr %7, align 8
%34 = load double, ptr %33, align 8
%35 = fmul double %32, %34
%36 = fptosi double %35 to i32
%37 = call i32 @sqrt(i32 noundef %36)
%38 = sitofp i32 %37 to double
%39 = load double, ptr %11, align 8
%40 = fadd double %39, %38
store double %40, ptr %11, align 8
br label %41
41: ; preds = %30, %27
%42 = load ptr, ptr %6, align 8
%43 = getelementptr inbounds double, ptr %42, i32 1
store ptr %43, ptr %6, align 8
%44 = load ptr, ptr %7, align 8
%45 = getelementptr inbounds double, ptr %44, i32 1
store ptr %45, ptr %7, align 8
br label %13, !llvm.loop !6
46: ; preds = %13
%47 = load double, ptr %11, align 8
%48 = fsub double %47, 1.000000e+00
%49 = call double @llvm.fabs.f64(double %48)
%50 = load double, ptr %10, align 8
%51 = fcmp olt double %49, %50
br i1 %51, label %55, label %52
52: ; preds = %46
%53 = load double, ptr %11, align 8
%54 = fcmp olt double %53, 1.000000e+00
br i1 %54, label %55, label %62
55: ; preds = %52, %46
%56 = load double, ptr %11, align 8
%57 = fsub double 1.000000e+00, %56
%58 = fptosi double %57 to i32
%59 = call i32 @sqrt(i32 noundef %58)
%60 = mul nsw i32 2, %59
%61 = sitofp i32 %60 to double
store double %61, ptr %11, align 8
br label %63
62: ; preds = %52
store double 0x7FF8000000000000, ptr %11, align 8
br label %63
63: ; preds = %62, %55
%64 = load double, ptr %11, align 8
%65 = call i32 @debug(ptr noundef @.str, double noundef %64)
%66 = load double, ptr %11, align 8
ret double %66
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
declare i32 @sqrt(i32 noundef) #2
declare i32 @debug(ptr noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpsz6b6ml5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c" %.6f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @hellinger(ptr noundef %0, ptr noundef %1, i32 noundef %2, double noundef %3, double noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store double %3, ptr %9, align 8
store double %4, ptr %10, align 8
store double 0.000000e+00, ptr %11, align 8
%13 = load i32, ptr %8, align 4
%14 = add nsw i32 %13, -1
store i32 %14, ptr %8, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %.lr.ph, label %48
.lr.ph: ; preds = %5
br label %16
16: ; preds = %.lr.ph, %40
%17 = load ptr, ptr %6, align 8
%18 = load double, ptr %17, align 8
%19 = load ptr, ptr %7, align 8
%20 = load double, ptr %19, align 8
%21 = fmul double %18, %20
store double %21, ptr %12, align 8
%22 = load double, ptr %12, align 8
%23 = call double @llvm.fabs.f64(double %22)
%24 = load double, ptr %10, align 8
%25 = fcmp olt double %23, %24
br i1 %25, label %29, label %26
26: ; preds = %16
%27 = load double, ptr %12, align 8
%28 = fcmp ogt double %27, 0.000000e+00
br i1 %28, label %29, label %40
29: ; preds = %26, %16
%30 = load ptr, ptr %6, align 8
%31 = load double, ptr %30, align 8
%32 = load ptr, ptr %7, align 8
%33 = load double, ptr %32, align 8
%34 = fmul double %31, %33
%35 = fptosi double %34 to i32
%36 = call i32 @sqrt(i32 noundef %35)
%37 = sitofp i32 %36 to double
%38 = load double, ptr %11, align 8
%39 = fadd double %38, %37
store double %39, ptr %11, align 8
br label %40
40: ; preds = %29, %26
%41 = load ptr, ptr %6, align 8
%42 = getelementptr inbounds double, ptr %41, i32 1
store ptr %42, ptr %6, align 8
%43 = load ptr, ptr %7, align 8
%44 = getelementptr inbounds double, ptr %43, i32 1
store ptr %44, ptr %7, align 8
%45 = load i32, ptr %8, align 4
%46 = add nsw i32 %45, -1
store i32 %46, ptr %8, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %48
48: ; preds = %._crit_edge, %5
%49 = load double, ptr %11, align 8
%50 = fsub double %49, 1.000000e+00
%51 = call double @llvm.fabs.f64(double %50)
%52 = load double, ptr %10, align 8
%53 = fcmp olt double %51, %52
br i1 %53, label %57, label %54
54: ; preds = %48
%55 = load double, ptr %11, align 8
%56 = fcmp olt double %55, 1.000000e+00
br i1 %56, label %57, label %64
57: ; preds = %54, %48
%58 = load double, ptr %11, align 8
%59 = fsub double 1.000000e+00, %58
%60 = fptosi double %59 to i32
%61 = call i32 @sqrt(i32 noundef %60)
%62 = mul nsw i32 2, %61
%63 = sitofp i32 %62 to double
store double %63, ptr %11, align 8
br label %65
64: ; preds = %54
store double 0x7FF8000000000000, ptr %11, align 8
br label %65
65: ; preds = %64, %57
%66 = load double, ptr %11, align 8
%67 = call i32 @debug(ptr noundef @.str, double noundef %66)
%68 = load double, ptr %11, align 8
ret double %68
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
declare i32 @sqrt(i32 noundef) #2
declare i32 @debug(ptr noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpx0t3lc56.c'
source_filename = "/tmp/tmpx0t3lc56.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"This is child [%d]\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"child [%d] : c = [%c]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @in_child(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store i32 %0, ptr %2, align 4
%5 = call i32 (...) @getpid()
%6 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %5)
store i32 0, ptr %3, align 4
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %16, %1
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 10
br i1 %9, label %10, label %19
10: ; preds = %7
%11 = call signext i8 (...) @getchar()
store i8 %11, ptr %4, align 1
%12 = call i32 (...) @getpid()
%13 = load i8, ptr %4, align 1
%14 = sext i8 %13 to i32
%15 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %12, i32 noundef %14)
br label %16
16: ; preds = %10
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
br label %7, !llvm.loop !6
19: ; preds = %7
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @getpid(...) #1
declare signext i8 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx0t3lc56.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"This is child [%d]\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"child [%d] : c = [%c]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @in_child(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store i32 %0, ptr %2, align 4
%5 = call i32 (...) @getpid()
%6 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %5)
store i32 0, ptr %3, align 4
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 10
br i1 %8, label %.lr.ph, label %20
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %15
%10 = call signext i8 (...) @getchar()
store i8 %10, ptr %4, align 1
%11 = call i32 (...) @getpid()
%12 = load i8, ptr %4, align 1
%13 = sext i8 %12 to i32
%14 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %11, i32 noundef %13)
br label %15
15: ; preds = %9
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 %18, 10
br i1 %19, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %1
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @getpid(...) #1
declare signext i8 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpv88efws_.c'
source_filename = "/tmp/tmpv88efws_.c"
target datalayout = "e-m:e-p270: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 ptr null, align 8
@.str = private unnamed_addr constant [27 x i8] c"Usage %s <width> <height>\0A\00", align 1
@.str.1 = private unnamed_addr constant [57 x i8] c"Invalid map size %dx%d: Only multiples of 16x8 supported\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"map.h\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"Can't open map.h\0A\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"#ifndef MAP_H\0A\00", align 1
@.str.6 = private unnamed_addr constant [17 x i8] c"#define MAP_H 1\0A\00", align 1
@.str.7 = private unnamed_addr constant [21 x i8] c"#include \22common.h\22\0A\00", align 1
@.str.8 = private unnamed_addr constant [22 x i8] c"#define MAP_WIDTH %d\0A\00", align 1
@.str.9 = private unnamed_addr constant [23 x i8] c"#define MAP_HEIGHT %d\0A\00", align 1
@.str.10 = private unnamed_addr constant [21 x i8] c"#define MAP_EMPTY 1\0A\00", align 1
@.str.11 = private unnamed_addr constant [49 x i8] c"extern const uint8_t map[MAP_WIDTH*MAP_HEIGHT];\0A\00", align 1
@.str.12 = private unnamed_addr constant [8 x i8] c"#endif\0A\00", align 1
@.str.13 = private unnamed_addr constant [6 x i8] c"map.c\00", align 1
@.str.14 = private unnamed_addr constant [18 x i8] c"Can't open map.c\0A\00", align 1
@.str.15 = private unnamed_addr constant [19 x i8] c"#include \22map.h\22\0A\0A\00", align 1
@.str.16 = private unnamed_addr constant [24 x i8] c"const uint8_t map[] = \0A\00", align 1
@.str.17 = private unnamed_addr constant [4 x i8] c"{\0A\09\00", align 1
@.str.18 = private unnamed_addr constant [13 x i8] c"Read failed\0A\00", align 1
@.str.19 = private unnamed_addr constant [8 x i8] c"0x%02X,\00", align 1
@.str.20 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.21 = private unnamed_addr constant [2 x i8] c"\09\00", align 1
@.str.22 = private unnamed_addr constant [4 x i8] c"};\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 3
br i1 %14, label %15, label %22
15: ; preds = %2
%16 = load ptr, ptr @stderr, align 8
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 0
%19 = load ptr, ptr %18, align 8
%20 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef @.str, ptr noundef %19)
%21 = call i32 @exit(i32 noundef 1) #3
unreachable
22: ; preds = %2
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = call i32 @atoi(ptr noundef %25)
store i32 %26, ptr %8, align 4
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 2
%29 = load ptr, ptr %28, align 8
%30 = call i32 @atoi(ptr noundef %29)
store i32 %30, ptr %9, align 4
%31 = load i32, ptr %8, align 4
%32 = srem i32 %31, 16
%33 = icmp ne i32 %32, 0
br i1 %33, label %38, label %34
34: ; preds = %22
%35 = load i32, ptr %9, align 4
%36 = srem i32 %35, 8
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %44
38: ; preds = %34, %22
%39 = load ptr, ptr @stderr, align 8
%40 = load i32, ptr %8, align 4
%41 = load i32, ptr %9, align 4
%42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %39, ptr noundef @.str.1, i32 noundef %40, i32 noundef %41)
%43 = call i32 @exit(i32 noundef 1) #3
unreachable
44: ; preds = %34
%45 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %45, ptr %11, align 8
%46 = icmp eq ptr null, %45
br i1 %46, label %47, label %51
47: ; preds = %44
%48 = load ptr, ptr @stderr, align 8
%49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef @.str.4)
%50 = call i32 @exit(i32 noundef 1) #3
unreachable
51: ; preds = %44
%52 = load ptr, ptr %11, align 8
%53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef @.str.5)
%54 = load ptr, ptr %11, align 8
%55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %54, ptr noundef @.str.6)
%56 = load ptr, ptr %11, align 8
%57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %56, ptr noundef @.str.7)
%58 = load ptr, ptr %11, align 8
%59 = load i32, ptr %8, align 4
%60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %58, ptr noundef @.str.8, i32 noundef %59)
%61 = load ptr, ptr %11, align 8
%62 = load i32, ptr %9, align 4
%63 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %61, ptr noundef @.str.9, i32 noundef %62)
%64 = load ptr, ptr %11, align 8
%65 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %64, ptr noundef @.str.10)
%66 = load ptr, ptr %11, align 8
%67 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %66, ptr noundef @.str.11)
%68 = load ptr, ptr %11, align 8
%69 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %68, ptr noundef @.str.12)
%70 = load ptr, ptr %11, align 8
%71 = call i32 @fclose(ptr noundef %70)
%72 = call ptr @fopen(ptr noundef @.str.13, ptr noundef @.str.3)
store ptr %72, ptr %12, align 8
%73 = icmp eq ptr null, %72
br i1 %73, label %74, label %78
74: ; preds = %51
%75 = load ptr, ptr @stderr, align 8
%76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %75, ptr noundef @.str.14)
%77 = call i32 @exit(i32 noundef 1) #3
unreachable
78: ; preds = %51
%79 = load ptr, ptr %12, align 8
%80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %79, ptr noundef @.str.7)
%81 = load ptr, ptr %12, align 8
%82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %81, ptr noundef @.str.15)
%83 = load ptr, ptr %12, align 8
%84 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef @.str.16)
%85 = load ptr, ptr %12, align 8
%86 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %85, ptr noundef @.str.17)
store i32 0, ptr %7, align 4
br label %87
87: ; preds = %121, %78
%88 = load i32, ptr %7, align 4
%89 = load i32, ptr %9, align 4
%90 = icmp slt i32 %88, %89
br i1 %90, label %91, label %124
91: ; preds = %87
store i32 0, ptr %6, align 4
br label %92
92: ; preds = %107, %91
%93 = load i32, ptr %6, align 4
%94 = load i32, ptr %8, align 4
%95 = icmp slt i32 %93, %94
br i1 %95, label %96, label %110
96: ; preds = %92
%97 = call i32 @read(i32 noundef 0, ptr noundef %10, i32 noundef 4)
%98 = icmp ne i32 4, %97
br i1 %98, label %99, label %103
99: ; preds = %96
%100 = load ptr, ptr @stderr, align 8
%101 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef @.str.18)
%102 = call i32 @exit(i32 noundef 1) #3
unreachable
103: ; preds = %96
%104 = load ptr, ptr %12, align 8
%105 = load i32, ptr %10, align 4
%106 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %104, ptr noundef @.str.19, i32 noundef %105)
br label %107
107: ; preds = %103
%108 = load i32, ptr %6, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %6, align 4
br label %92, !llvm.loop !6
110: ; preds = %92
%111 = load ptr, ptr %12, align 8
%112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %111, ptr noundef @.str.20)
%113 = load i32, ptr %7, align 4
%114 = load i32, ptr %9, align 4
%115 = sub nsw i32 %114, 1
%116 = icmp ne i32 %113, %115
br i1 %116, label %117, label %120
117: ; preds = %110
%118 = load ptr, ptr %12, align 8
%119 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %118, ptr noundef @.str.21)
br label %120
120: ; preds = %117, %110
br label %121
121: ; preds = %120
%122 = load i32, ptr %7, align 4
%123 = add nsw i32 %122, 1
store i32 %123, ptr %7, align 4
br label %87, !llvm.loop !8
124: ; preds = %87
%125 = load ptr, ptr %12, align 8
%126 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef @.str.22)
%127 = load ptr, ptr %12, align 8
%128 = call i32 @fclose(ptr noundef %127)
ret i32 0
}
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpv88efws_.c"
target datalayout = "e-m:e-p270: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 ptr null, align 8
@.str = private unnamed_addr constant [27 x i8] c"Usage %s <width> <height>\0A\00", align 1
@.str.1 = private unnamed_addr constant [57 x i8] c"Invalid map size %dx%d: Only multiples of 16x8 supported\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"map.h\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"Can't open map.h\0A\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"#ifndef MAP_H\0A\00", align 1
@.str.6 = private unnamed_addr constant [17 x i8] c"#define MAP_H 1\0A\00", align 1
@.str.7 = private unnamed_addr constant [21 x i8] c"#include \22common.h\22\0A\00", align 1
@.str.8 = private unnamed_addr constant [22 x i8] c"#define MAP_WIDTH %d\0A\00", align 1
@.str.9 = private unnamed_addr constant [23 x i8] c"#define MAP_HEIGHT %d\0A\00", align 1
@.str.10 = private unnamed_addr constant [21 x i8] c"#define MAP_EMPTY 1\0A\00", align 1
@.str.11 = private unnamed_addr constant [49 x i8] c"extern const uint8_t map[MAP_WIDTH*MAP_HEIGHT];\0A\00", align 1
@.str.12 = private unnamed_addr constant [8 x i8] c"#endif\0A\00", align 1
@.str.13 = private unnamed_addr constant [6 x i8] c"map.c\00", align 1
@.str.14 = private unnamed_addr constant [18 x i8] c"Can't open map.c\0A\00", align 1
@.str.15 = private unnamed_addr constant [19 x i8] c"#include \22map.h\22\0A\0A\00", align 1
@.str.16 = private unnamed_addr constant [24 x i8] c"const uint8_t map[] = \0A\00", align 1
@.str.17 = private unnamed_addr constant [4 x i8] c"{\0A\09\00", align 1
@.str.18 = private unnamed_addr constant [13 x i8] c"Read failed\0A\00", align 1
@.str.19 = private unnamed_addr constant [8 x i8] c"0x%02X,\00", align 1
@.str.20 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.21 = private unnamed_addr constant [2 x i8] c"\09\00", align 1
@.str.22 = private unnamed_addr constant [4 x i8] c"};\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 3
br i1 %14, label %15, label %22
15: ; preds = %2
%16 = load ptr, ptr @stderr, align 8
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 0
%19 = load ptr, ptr %18, align 8
%20 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef @.str, ptr noundef %19)
%21 = call i32 @exit(i32 noundef 1) #3
unreachable
22: ; preds = %2
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = call i32 @atoi(ptr noundef %25)
store i32 %26, ptr %8, align 4
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 2
%29 = load ptr, ptr %28, align 8
%30 = call i32 @atoi(ptr noundef %29)
store i32 %30, ptr %9, align 4
%31 = load i32, ptr %8, align 4
%32 = srem i32 %31, 16
%33 = icmp ne i32 %32, 0
br i1 %33, label %38, label %34
34: ; preds = %22
%35 = load i32, ptr %9, align 4
%36 = srem i32 %35, 8
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %44
38: ; preds = %34, %22
%39 = load ptr, ptr @stderr, align 8
%40 = load i32, ptr %8, align 4
%41 = load i32, ptr %9, align 4
%42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %39, ptr noundef @.str.1, i32 noundef %40, i32 noundef %41)
%43 = call i32 @exit(i32 noundef 1) #3
unreachable
44: ; preds = %34
%45 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %45, ptr %11, align 8
%46 = icmp eq ptr null, %45
br i1 %46, label %47, label %51
47: ; preds = %44
%48 = load ptr, ptr @stderr, align 8
%49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef @.str.4)
%50 = call i32 @exit(i32 noundef 1) #3
unreachable
51: ; preds = %44
%52 = load ptr, ptr %11, align 8
%53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef @.str.5)
%54 = load ptr, ptr %11, align 8
%55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %54, ptr noundef @.str.6)
%56 = load ptr, ptr %11, align 8
%57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %56, ptr noundef @.str.7)
%58 = load ptr, ptr %11, align 8
%59 = load i32, ptr %8, align 4
%60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %58, ptr noundef @.str.8, i32 noundef %59)
%61 = load ptr, ptr %11, align 8
%62 = load i32, ptr %9, align 4
%63 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %61, ptr noundef @.str.9, i32 noundef %62)
%64 = load ptr, ptr %11, align 8
%65 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %64, ptr noundef @.str.10)
%66 = load ptr, ptr %11, align 8
%67 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %66, ptr noundef @.str.11)
%68 = load ptr, ptr %11, align 8
%69 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %68, ptr noundef @.str.12)
%70 = load ptr, ptr %11, align 8
%71 = call i32 @fclose(ptr noundef %70)
%72 = call ptr @fopen(ptr noundef @.str.13, ptr noundef @.str.3)
store ptr %72, ptr %12, align 8
%73 = icmp eq ptr null, %72
br i1 %73, label %74, label %78
74: ; preds = %51
%75 = load ptr, ptr @stderr, align 8
%76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %75, ptr noundef @.str.14)
%77 = call i32 @exit(i32 noundef 1) #3
unreachable
78: ; preds = %51
%79 = load ptr, ptr %12, align 8
%80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %79, ptr noundef @.str.7)
%81 = load ptr, ptr %12, align 8
%82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %81, ptr noundef @.str.15)
%83 = load ptr, ptr %12, align 8
%84 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef @.str.16)
%85 = load ptr, ptr %12, align 8
%86 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %85, ptr noundef @.str.17)
store i32 0, ptr %7, align 4
%87 = load i32, ptr %7, align 4
%88 = load i32, ptr %9, align 4
%89 = icmp slt i32 %87, %88
br i1 %89, label %.lr.ph2, label %128
.lr.ph2: ; preds = %78
br label %90
90: ; preds = %.lr.ph2, %122
store i32 0, ptr %6, align 4
%91 = load i32, ptr %6, align 4
%92 = load i32, ptr %8, align 4
%93 = icmp slt i32 %91, %92
br i1 %93, label %.lr.ph, label %111
.lr.ph: ; preds = %90
br label %94
94: ; preds = %.lr.ph, %105
%95 = call i32 @read(i32 noundef 0, ptr noundef %10, i32 noundef 4)
%96 = icmp ne i32 4, %95
br i1 %96, label %97, label %101
97: ; preds = %94
%98 = load ptr, ptr @stderr, align 8
%99 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %98, ptr noundef @.str.18)
%100 = call i32 @exit(i32 noundef 1) #3
unreachable
101: ; preds = %94
%102 = load ptr, ptr %12, align 8
%103 = load i32, ptr %10, align 4
%104 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %102, ptr noundef @.str.19, i32 noundef %103)
br label %105
105: ; preds = %101
%106 = load i32, ptr %6, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %6, align 4
%108 = load i32, ptr %6, align 4
%109 = load i32, ptr %8, align 4
%110 = icmp slt i32 %108, %109
br i1 %110, label %94, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %105
br label %111
111: ; preds = %._crit_edge, %90
%112 = load ptr, ptr %12, align 8
%113 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %112, ptr noundef @.str.20)
%114 = load i32, ptr %7, align 4
%115 = load i32, ptr %9, align 4
%116 = sub nsw i32 %115, 1
%117 = icmp ne i32 %114, %116
br i1 %117, label %118, label %121
118: ; preds = %111
%119 = load ptr, ptr %12, align 8
%120 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %119, ptr noundef @.str.21)
br label %121
121: ; preds = %118, %111
br label %122
122: ; preds = %121
%123 = load i32, ptr %7, align 4
%124 = add nsw i32 %123, 1
store i32 %124, ptr %7, align 4
%125 = load i32, ptr %7, align 4
%126 = load i32, ptr %9, align 4
%127 = icmp slt i32 %125, %126
br i1 %127, label %90, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %122
br label %128
128: ; preds = %._crit_edge3, %78
%129 = load ptr, ptr %12, align 8
%130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %129, ptr noundef @.str.22)
%131 = load ptr, ptr %12, align 8
%132 = call i32 @fclose(ptr noundef %131)
ret i32 0
}
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp04t8rhmr.c'
source_filename = "/tmp/tmp04t8rhmr.c"
target datalayout = "e-m:e-p270: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/tmp04t8rhmr.c"
target datalayout = "e-m:e-p270: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/tmptiwmka11.c'
source_filename = "/tmp/tmptiwmka11.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isgraph.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isgraph should be 1 for a\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isgraph_0x61() #0 {
%1 = call i32 @isgraph(i32 noundef 97) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 490, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isgraph(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptiwmka11.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isgraph.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isgraph should be 1 for a\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isgraph_0x61() #0 {
%1 = call i32 @isgraph(i32 noundef 97) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 490, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isgraph(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3z1h1xkl.c'
source_filename = "/tmp/tmp3z1h1xkl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3z1h1xkl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmu9ongv0.c'
source_filename = "/tmp/tmpmu9ongv0.c"
target datalayout = "e-m:e-p270: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/tmpmu9ongv0.c"
target datalayout = "e-m:e-p270: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/tmpxsiiipnk.c'
source_filename = "/tmp/tmpxsiiipnk.c"
target datalayout = "e-m:e-p270: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 [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [47 x i8] c"unbalanced '()' brackets in make_pair_table_pk\00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c"unbalanced '[]' brackets in make_pair_table_pk\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @vrna_pt_pk_get(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i16, align 2
%4 = alloca i16, align 2
%5 = alloca i16, align 2
%6 = alloca i16, align 2
%7 = alloca i16, align 2
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%11 = load ptr, ptr %2, align 8
%12 = call i64 @strlen(ptr noundef %11)
%13 = trunc i64 %12 to i16
store i16 %13, ptr %7, align 2
%14 = load i16, ptr %7, align 2
%15 = sext i16 %14 to i32
%16 = add nsw i32 %15, 1
%17 = sext i32 %16 to i64
%18 = mul i64 2, %17
%19 = trunc i64 %18 to i32
%20 = call i64 @vrna_alloc(i32 noundef %19)
%21 = inttoptr i64 %20 to ptr
store ptr %21, ptr %8, align 8
%22 = load i16, ptr %7, align 2
%23 = sext i16 %22 to i32
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = mul i64 2, %25
%27 = trunc i64 %26 to i32
%28 = call i64 @vrna_alloc(i32 noundef %27)
%29 = inttoptr i64 %28 to ptr
store ptr %29, ptr %9, align 8
%30 = load i16, ptr %7, align 2
%31 = sext i16 %30 to i32
%32 = add nsw i32 %31, 2
%33 = sext i32 %32 to i64
%34 = mul i64 2, %33
%35 = trunc i64 %34 to i32
%36 = call i64 @vrna_alloc(i32 noundef %35)
%37 = inttoptr i64 %36 to ptr
store ptr %37, ptr %10, align 8
%38 = load i16, ptr %7, align 2
%39 = load ptr, ptr %10, align 8
%40 = getelementptr inbounds i16, ptr %39, i64 0
store i16 %38, ptr %40, align 2
store i16 0, ptr %5, align 2
store i16 0, ptr %6, align 2
store i16 1, ptr %3, align 2
br label %41
41: ; preds = %128, %1
%42 = load i16, ptr %3, align 2
%43 = sext i16 %42 to i32
%44 = load i16, ptr %7, align 2
%45 = sext i16 %44 to i32
%46 = icmp sle i32 %43, %45
br i1 %46, label %47, label %131
47: ; preds = %41
%48 = load ptr, ptr %2, align 8
%49 = load i16, ptr %3, align 2
%50 = sext i16 %49 to i32
%51 = sub nsw i32 %50, 1
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %48, i64 %52
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
switch i32 %55, label %122 [
i32 40, label %56
i32 41, label %63
i32 91, label %89
i32 93, label %96
]
56: ; preds = %47
%57 = load i16, ptr %3, align 2
%58 = load ptr, ptr %8, align 8
%59 = load i16, ptr %5, align 2
%60 = add i16 %59, 1
store i16 %60, ptr %5, align 2
%61 = sext i16 %59 to i64
%62 = getelementptr inbounds i16, ptr %58, i64 %61
store i16 %57, ptr %62, align 2
br label %127
63: ; preds = %47
%64 = load ptr, ptr %8, align 8
%65 = load i16, ptr %5, align 2
%66 = add i16 %65, -1
store i16 %66, ptr %5, align 2
%67 = sext i16 %66 to i64
%68 = getelementptr inbounds i16, ptr %64, i64 %67
%69 = load i16, ptr %68, align 2
store i16 %69, ptr %4, align 2
%70 = load i16, ptr %5, align 2
%71 = sext i16 %70 to i32
%72 = icmp slt i32 %71, 0
br i1 %72, label %73, label %78
73: ; preds = %63
%74 = load i32, ptr @stderr, align 4
%75 = load ptr, ptr %2, align 8
%76 = call i32 @fprintf(i32 noundef %74, ptr noundef @.str, ptr noundef %75)
%77 = call i32 @vrna_message_error(ptr noundef @.str.1)
br label %78
78: ; preds = %73, %63
%79 = load i16, ptr %4, align 2
%80 = load ptr, ptr %10, align 8
%81 = load i16, ptr %3, align 2
%82 = sext i16 %81 to i64
%83 = getelementptr inbounds i16, ptr %80, i64 %82
store i16 %79, ptr %83, align 2
%84 = load i16, ptr %3, align 2
%85 = load ptr, ptr %10, align 8
%86 = load i16, ptr %4, align 2
%87 = sext i16 %86 to i64
%88 = getelementptr inbounds i16, ptr %85, i64 %87
store i16 %84, ptr %88, align 2
br label %127
89: ; preds = %47
%90 = load i16, ptr %3, align 2
%91 = load ptr, ptr %9, align 8
%92 = load i16, ptr %6, align 2
%93 = add i16 %92, 1
store i16 %93, ptr %6, align 2
%94 = sext i16 %92 to i64
%95 = getelementptr inbounds i16, ptr %91, i64 %94
store i16 %90, ptr %95, align 2
br label %127
96: ; preds = %47
%97 = load ptr, ptr %9, align 8
%98 = load i16, ptr %6, align 2
%99 = add i16 %98, -1
store i16 %99, ptr %6, align 2
%100 = sext i16 %99 to i64
%101 = getelementptr inbounds i16, ptr %97, i64 %100
%102 = load i16, ptr %101, align 2
store i16 %102, ptr %4, align 2
%103 = load i16, ptr %6, align 2
%104 = sext i16 %103 to i32
%105 = icmp slt i32 %104, 0
br i1 %105, label %106, label %111
106: ; preds = %96
%107 = load i32, ptr @stderr, align 4
%108 = load ptr, ptr %2, align 8
%109 = call i32 @fprintf(i32 noundef %107, ptr noundef @.str, ptr noundef %108)
%110 = call i32 @vrna_message_error(ptr noundef @.str.2)
br label %111
111: ; preds = %106, %96
%112 = load i16, ptr %4, align 2
%113 = load ptr, ptr %10, align 8
%114 = load i16, ptr %3, align 2
%115 = sext i16 %114 to i64
%116 = getelementptr inbounds i16, ptr %113, i64 %115
store i16 %112, ptr %116, align 2
%117 = load i16, ptr %3, align 2
%118 = load ptr, ptr %10, align 8
%119 = load i16, ptr %4, align 2
%120 = sext i16 %119 to i64
%121 = getelementptr inbounds i16, ptr %118, i64 %120
store i16 %117, ptr %121, align 2
br label %127
122: ; preds = %47
%123 = load ptr, ptr %10, align 8
%124 = load i16, ptr %3, align 2
%125 = sext i16 %124 to i64
%126 = getelementptr inbounds i16, ptr %123, i64 %125
store i16 0, ptr %126, align 2
br label %127
127: ; preds = %122, %111, %89, %78, %56
br label %128
128: ; preds = %127
%129 = load i16, ptr %3, align 2
%130 = add i16 %129, 1
store i16 %130, ptr %3, align 2
br label %41, !llvm.loop !6
131: ; preds = %41
%132 = load i16, ptr %5, align 2
%133 = sext i16 %132 to i32
%134 = icmp ne i32 %133, 0
br i1 %134, label %135, label %140
135: ; preds = %131
%136 = load i32, ptr @stderr, align 4
%137 = load ptr, ptr %2, align 8
%138 = call i32 @fprintf(i32 noundef %136, ptr noundef @.str, ptr noundef %137)
%139 = call i32 @vrna_message_error(ptr noundef @.str.1)
br label %150
140: ; preds = %131
%141 = load i16, ptr %6, align 2
%142 = sext i16 %141 to i32
%143 = icmp ne i32 %142, 0
br i1 %143, label %144, label %149
144: ; preds = %140
%145 = load i32, ptr @stderr, align 4
%146 = load ptr, ptr %2, align 8
%147 = call i32 @fprintf(i32 noundef %145, ptr noundef @.str, ptr noundef %146)
%148 = call i32 @vrna_message_error(ptr noundef @.str.2)
br label %149
149: ; preds = %144, %140
br label %150
150: ; preds = %149, %135
%151 = load ptr, ptr %8, align 8
%152 = call i32 @free(ptr noundef %151)
%153 = load ptr, ptr %9, align 8
%154 = call i32 @free(ptr noundef %153)
%155 = load ptr, ptr %10, align 8
ret ptr %155
}
declare i64 @strlen(ptr noundef) #1
declare i64 @vrna_alloc(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @vrna_message_error(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/tmpxsiiipnk.c"
target datalayout = "e-m:e-p270: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 [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [47 x i8] c"unbalanced '()' brackets in make_pair_table_pk\00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c"unbalanced '[]' brackets in make_pair_table_pk\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @vrna_pt_pk_get(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i16, align 2
%4 = alloca i16, align 2
%5 = alloca i16, align 2
%6 = alloca i16, align 2
%7 = alloca i16, align 2
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%11 = load ptr, ptr %2, align 8
%12 = call i64 @strlen(ptr noundef %11)
%13 = trunc i64 %12 to i16
store i16 %13, ptr %7, align 2
%14 = load i16, ptr %7, align 2
%15 = sext i16 %14 to i32
%16 = add nsw i32 %15, 1
%17 = sext i32 %16 to i64
%18 = mul i64 2, %17
%19 = trunc i64 %18 to i32
%20 = call i64 @vrna_alloc(i32 noundef %19)
%21 = inttoptr i64 %20 to ptr
store ptr %21, ptr %8, align 8
%22 = load i16, ptr %7, align 2
%23 = sext i16 %22 to i32
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = mul i64 2, %25
%27 = trunc i64 %26 to i32
%28 = call i64 @vrna_alloc(i32 noundef %27)
%29 = inttoptr i64 %28 to ptr
store ptr %29, ptr %9, align 8
%30 = load i16, ptr %7, align 2
%31 = sext i16 %30 to i32
%32 = add nsw i32 %31, 2
%33 = sext i32 %32 to i64
%34 = mul i64 2, %33
%35 = trunc i64 %34 to i32
%36 = call i64 @vrna_alloc(i32 noundef %35)
%37 = inttoptr i64 %36 to ptr
store ptr %37, ptr %10, align 8
%38 = load i16, ptr %7, align 2
%39 = load ptr, ptr %10, align 8
%40 = getelementptr inbounds i16, ptr %39, i64 0
store i16 %38, ptr %40, align 2
store i16 0, ptr %5, align 2
store i16 0, ptr %6, align 2
store i16 1, ptr %3, align 2
%41 = load i16, ptr %3, align 2
%42 = sext i16 %41 to i32
%43 = load i16, ptr %7, align 2
%44 = sext i16 %43 to i32
%45 = icmp sle i32 %42, %44
br i1 %45, label %.lr.ph, label %135
.lr.ph: ; preds = %1
br label %46
46: ; preds = %.lr.ph, %127
%47 = load ptr, ptr %2, align 8
%48 = load i16, ptr %3, align 2
%49 = sext i16 %48 to i32
%50 = sub nsw i32 %49, 1
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %47, i64 %51
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
switch i32 %54, label %121 [
i32 40, label %55
i32 41, label %62
i32 91, label %88
i32 93, label %95
]
55: ; preds = %46
%56 = load i16, ptr %3, align 2
%57 = load ptr, ptr %8, align 8
%58 = load i16, ptr %5, align 2
%59 = add i16 %58, 1
store i16 %59, ptr %5, align 2
%60 = sext i16 %58 to i64
%61 = getelementptr inbounds i16, ptr %57, i64 %60
store i16 %56, ptr %61, align 2
br label %126
62: ; preds = %46
%63 = load ptr, ptr %8, align 8
%64 = load i16, ptr %5, align 2
%65 = add i16 %64, -1
store i16 %65, ptr %5, align 2
%66 = sext i16 %65 to i64
%67 = getelementptr inbounds i16, ptr %63, i64 %66
%68 = load i16, ptr %67, align 2
store i16 %68, ptr %4, align 2
%69 = load i16, ptr %5, align 2
%70 = sext i16 %69 to i32
%71 = icmp slt i32 %70, 0
br i1 %71, label %72, label %77
72: ; preds = %62
%73 = load i32, ptr @stderr, align 4
%74 = load ptr, ptr %2, align 8
%75 = call i32 @fprintf(i32 noundef %73, ptr noundef @.str, ptr noundef %74)
%76 = call i32 @vrna_message_error(ptr noundef @.str.1)
br label %77
77: ; preds = %72, %62
%78 = load i16, ptr %4, align 2
%79 = load ptr, ptr %10, align 8
%80 = load i16, ptr %3, align 2
%81 = sext i16 %80 to i64
%82 = getelementptr inbounds i16, ptr %79, i64 %81
store i16 %78, ptr %82, align 2
%83 = load i16, ptr %3, align 2
%84 = load ptr, ptr %10, align 8
%85 = load i16, ptr %4, align 2
%86 = sext i16 %85 to i64
%87 = getelementptr inbounds i16, ptr %84, i64 %86
store i16 %83, ptr %87, align 2
br label %126
88: ; preds = %46
%89 = load i16, ptr %3, align 2
%90 = load ptr, ptr %9, align 8
%91 = load i16, ptr %6, align 2
%92 = add i16 %91, 1
store i16 %92, ptr %6, align 2
%93 = sext i16 %91 to i64
%94 = getelementptr inbounds i16, ptr %90, i64 %93
store i16 %89, ptr %94, align 2
br label %126
95: ; preds = %46
%96 = load ptr, ptr %9, align 8
%97 = load i16, ptr %6, align 2
%98 = add i16 %97, -1
store i16 %98, ptr %6, align 2
%99 = sext i16 %98 to i64
%100 = getelementptr inbounds i16, ptr %96, i64 %99
%101 = load i16, ptr %100, align 2
store i16 %101, ptr %4, align 2
%102 = load i16, ptr %6, align 2
%103 = sext i16 %102 to i32
%104 = icmp slt i32 %103, 0
br i1 %104, label %105, label %110
105: ; preds = %95
%106 = load i32, ptr @stderr, align 4
%107 = load ptr, ptr %2, align 8
%108 = call i32 @fprintf(i32 noundef %106, ptr noundef @.str, ptr noundef %107)
%109 = call i32 @vrna_message_error(ptr noundef @.str.2)
br label %110
110: ; preds = %105, %95
%111 = load i16, ptr %4, align 2
%112 = load ptr, ptr %10, align 8
%113 = load i16, ptr %3, align 2
%114 = sext i16 %113 to i64
%115 = getelementptr inbounds i16, ptr %112, i64 %114
store i16 %111, ptr %115, align 2
%116 = load i16, ptr %3, align 2
%117 = load ptr, ptr %10, align 8
%118 = load i16, ptr %4, align 2
%119 = sext i16 %118 to i64
%120 = getelementptr inbounds i16, ptr %117, i64 %119
store i16 %116, ptr %120, align 2
br label %126
121: ; preds = %46
%122 = load ptr, ptr %10, align 8
%123 = load i16, ptr %3, align 2
%124 = sext i16 %123 to i64
%125 = getelementptr inbounds i16, ptr %122, i64 %124
store i16 0, ptr %125, align 2
br label %126
126: ; preds = %121, %110, %88, %77, %55
br label %127
127: ; preds = %126
%128 = load i16, ptr %3, align 2
%129 = add i16 %128, 1
store i16 %129, ptr %3, align 2
%130 = load i16, ptr %3, align 2
%131 = sext i16 %130 to i32
%132 = load i16, ptr %7, align 2
%133 = sext i16 %132 to i32
%134 = icmp sle i32 %131, %133
br i1 %134, label %46, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %127
br label %135
135: ; preds = %._crit_edge, %1
%136 = load i16, ptr %5, align 2
%137 = sext i16 %136 to i32
%138 = icmp ne i32 %137, 0
br i1 %138, label %139, label %144
139: ; preds = %135
%140 = load i32, ptr @stderr, align 4
%141 = load ptr, ptr %2, align 8
%142 = call i32 @fprintf(i32 noundef %140, ptr noundef @.str, ptr noundef %141)
%143 = call i32 @vrna_message_error(ptr noundef @.str.1)
br label %154
144: ; preds = %135
%145 = load i16, ptr %6, align 2
%146 = sext i16 %145 to i32
%147 = icmp ne i32 %146, 0
br i1 %147, label %148, label %153
148: ; preds = %144
%149 = load i32, ptr @stderr, align 4
%150 = load ptr, ptr %2, align 8
%151 = call i32 @fprintf(i32 noundef %149, ptr noundef @.str, ptr noundef %150)
%152 = call i32 @vrna_message_error(ptr noundef @.str.2)
br label %153
153: ; preds = %148, %144
br label %154
154: ; preds = %153, %139
%155 = load ptr, ptr %8, align 8
%156 = call i32 @free(ptr noundef %155)
%157 = load ptr, ptr %9, align 8
%158 = call i32 @free(ptr noundef %157)
%159 = load ptr, ptr %10, align 8
ret ptr %159
}
declare i64 @strlen(ptr noundef) #1
declare i64 @vrna_alloc(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @vrna_message_error(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/tmp_hfxknel.c'
source_filename = "/tmp/tmp_hfxknel.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"%lf %lf\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"TOTAL = R$ %.2lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca double, align 8
store i32 0, ptr %1, align 4
br label %4
4: ; preds = %8, %0
%5 = call signext i8 (...) @getchar()
%6 = sext i8 %5 to i32
%7 = icmp ne i32 %6, 10
br i1 %7, label %8, label %9
8: ; preds = %4
br label %4, !llvm.loop !6
9: ; preds = %4
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%11 = load double, ptr %2, align 8
%12 = load double, ptr %3, align 8
%13 = call double @llvm.fmuladd.f64(double %12, double 1.500000e-01, double %11)
%14 = call i32 @printf(ptr noundef @.str.1, double noundef %13)
ret i32 0
}
declare signext i8 @getchar(...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_hfxknel.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"%lf %lf\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"TOTAL = R$ %.2lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca double, align 8
store i32 0, ptr %1, align 4
br label %4
4: ; preds = %4, %0
%5 = call signext i8 (...) @getchar()
%6 = sext i8 %5 to i32
%7 = icmp ne i32 %6, 10
br i1 %7, label %4, label %8, !llvm.loop !6
8: ; preds = %4
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%10 = load double, ptr %2, align 8
%11 = load double, ptr %3, align 8
%12 = call double @llvm.fmuladd.f64(double %11, double 1.500000e-01, double %10)
%13 = call i32 @printf(ptr noundef @.str.1, double noundef %12)
ret i32 0
}
declare signext i8 @getchar(...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpe_a0j8sz.c'
source_filename = "/tmp/tmpe_a0j8sz.c"
target datalayout = "e-m:e-p270: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/tmpe_a0j8sz.c"
target datalayout = "e-m:e-p270: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/tmpgus0xlob.c'
source_filename = "/tmp/tmpgus0xlob.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AlocaVetor(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store ptr null, ptr %3, align 8
%4 = load i32, ptr %2, align 4
%5 = sext i32 %4 to i64
%6 = mul i64 4, %5
%7 = trunc i64 %6 to i32
%8 = call i64 @malloc(i32 noundef %7)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
ret ptr %10
}
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgus0xlob.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AlocaVetor(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store ptr null, ptr %3, align 8
%4 = load i32, ptr %2, align 4
%5 = sext i32 %4 to i64
%6 = mul i64 4, %5
%7 = trunc i64 %6 to i32
%8 = call i64 @malloc(i32 noundef %7)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
ret ptr %10
}
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"}
|
; ModuleID = '/tmp/tmpvfn8j8zr.c'
source_filename = "/tmp/tmpvfn8j8zr.c"
target datalayout = "e-m:e-p270: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/tmpvfn8j8zr.c"
target datalayout = "e-m:e-p270: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/tmpkyjbblvx.c'
source_filename = "/tmp/tmpkyjbblvx.c"
target datalayout = "e-m:e-p270: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 float 0.000000e+00, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @huerotatemat(ptr noundef %0, float noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca float, align 4
%5 = alloca [4 x [4 x float]], align 16
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
store ptr %0, ptr %3, align 8
store float %1, ptr %4, align 4
%18 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0
%19 = call i32 @identmat(ptr noundef %18)
%20 = call float @sqrt(double noundef 2.000000e+00)
store float %20, ptr %6, align 4
%21 = load float, ptr %6, align 4
%22 = fpext float %21 to double
%23 = fdiv double 1.000000e+00, %22
%24 = fptrunc double %23 to float
store float %24, ptr %10, align 4
%25 = load float, ptr %6, align 4
%26 = fpext float %25 to double
%27 = fdiv double 1.000000e+00, %26
%28 = fptrunc double %27 to float
store float %28, ptr %11, align 4
%29 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0
%30 = load float, ptr %10, align 4
%31 = load float, ptr %11, align 4
%32 = call i32 @xrotatemat(ptr noundef %29, float noundef %30, float noundef %31)
%33 = call float @sqrt(double noundef 3.000000e+00)
store float %33, ptr %6, align 4
%34 = load float, ptr %6, align 4
%35 = fpext float %34 to double
%36 = fdiv double -1.000000e+00, %35
%37 = fptrunc double %36 to float
store float %37, ptr %12, align 4
%38 = call float @sqrt(double noundef 2.000000e+00)
%39 = load float, ptr %6, align 4
%40 = fdiv float %38, %39
store float %40, ptr %13, align 4
%41 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0
%42 = load float, ptr %12, align 4
%43 = load float, ptr %13, align 4
%44 = call i32 @yrotatemat(ptr noundef %41, float noundef %42, float noundef %43)
%45 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0
%46 = call i32 @xformpnt(ptr noundef %45, double noundef 3.086000e-01, double noundef 6.094000e-01, double noundef 8.200000e-02, ptr noundef %7, ptr noundef %8, ptr noundef %9)
%47 = load float, ptr %7, align 4
%48 = load float, ptr %9, align 4
%49 = fdiv float %47, %48
store float %49, ptr %16, align 4
%50 = load float, ptr %8, align 4
%51 = load float, ptr %9, align 4
%52 = fdiv float %50, %51
store float %52, ptr %17, align 4
%53 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0
%54 = load float, ptr %16, align 4
%55 = load float, ptr %17, align 4
%56 = call i32 @zshearmat(ptr noundef %53, float noundef %54, float noundef %55)
%57 = load float, ptr %4, align 4
%58 = load float, ptr @M_PI, align 4
%59 = fmul float %57, %58
%60 = fpext float %59 to double
%61 = fdiv double %60, 1.800000e+02
%62 = fptrunc double %61 to float
%63 = call float @sin(float noundef %62)
store float %63, ptr %14, align 4
%64 = load float, ptr %4, align 4
%65 = load float, ptr @M_PI, align 4
%66 = fmul float %64, %65
%67 = fpext float %66 to double
%68 = fdiv double %67, 1.800000e+02
%69 = fptrunc double %68 to float
%70 = call float @cos(float noundef %69)
store float %70, ptr %15, align 4
%71 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0
%72 = load float, ptr %14, align 4
%73 = load float, ptr %15, align 4
%74 = call i32 @zrotatemat(ptr noundef %71, float noundef %72, float noundef %73)
%75 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0
%76 = load float, ptr %16, align 4
%77 = fneg float %76
%78 = load float, ptr %17, align 4
%79 = fneg float %78
%80 = call i32 @zshearmat(ptr noundef %75, float noundef %77, float noundef %79)
%81 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0
%82 = load float, ptr %12, align 4
%83 = fneg float %82
%84 = load float, ptr %13, align 4
%85 = call i32 @yrotatemat(ptr noundef %81, float noundef %83, float noundef %84)
%86 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0
%87 = load float, ptr %10, align 4
%88 = fneg float %87
%89 = load float, ptr %11, align 4
%90 = call i32 @xrotatemat(ptr noundef %86, float noundef %88, float noundef %89)
%91 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0
%92 = load ptr, ptr %3, align 8
%93 = load ptr, ptr %3, align 8
%94 = call i32 @matrixmult(ptr noundef %91, ptr noundef %92, ptr noundef %93)
ret void
}
declare i32 @identmat(ptr noundef) #1
declare float @sqrt(double noundef) #1
declare i32 @xrotatemat(ptr noundef, float noundef, float noundef) #1
declare i32 @yrotatemat(ptr noundef, float noundef, float noundef) #1
declare i32 @xformpnt(ptr noundef, double noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @zshearmat(ptr noundef, float noundef, float noundef) #1
declare float @sin(float noundef) #1
declare float @cos(float noundef) #1
declare i32 @zrotatemat(ptr noundef, float noundef, float noundef) #1
declare i32 @matrixmult(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkyjbblvx.c"
target datalayout = "e-m:e-p270: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 float 0.000000e+00, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @huerotatemat(ptr noundef %0, float noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca float, align 4
%5 = alloca [4 x [4 x float]], align 16
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
store ptr %0, ptr %3, align 8
store float %1, ptr %4, align 4
%18 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0
%19 = call i32 @identmat(ptr noundef %18)
%20 = call float @sqrt(double noundef 2.000000e+00)
store float %20, ptr %6, align 4
%21 = load float, ptr %6, align 4
%22 = fpext float %21 to double
%23 = fdiv double 1.000000e+00, %22
%24 = fptrunc double %23 to float
store float %24, ptr %10, align 4
%25 = load float, ptr %6, align 4
%26 = fpext float %25 to double
%27 = fdiv double 1.000000e+00, %26
%28 = fptrunc double %27 to float
store float %28, ptr %11, align 4
%29 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0
%30 = load float, ptr %10, align 4
%31 = load float, ptr %11, align 4
%32 = call i32 @xrotatemat(ptr noundef %29, float noundef %30, float noundef %31)
%33 = call float @sqrt(double noundef 3.000000e+00)
store float %33, ptr %6, align 4
%34 = load float, ptr %6, align 4
%35 = fpext float %34 to double
%36 = fdiv double -1.000000e+00, %35
%37 = fptrunc double %36 to float
store float %37, ptr %12, align 4
%38 = call float @sqrt(double noundef 2.000000e+00)
%39 = load float, ptr %6, align 4
%40 = fdiv float %38, %39
store float %40, ptr %13, align 4
%41 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0
%42 = load float, ptr %12, align 4
%43 = load float, ptr %13, align 4
%44 = call i32 @yrotatemat(ptr noundef %41, float noundef %42, float noundef %43)
%45 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0
%46 = call i32 @xformpnt(ptr noundef %45, double noundef 3.086000e-01, double noundef 6.094000e-01, double noundef 8.200000e-02, ptr noundef %7, ptr noundef %8, ptr noundef %9)
%47 = load float, ptr %7, align 4
%48 = load float, ptr %9, align 4
%49 = fdiv float %47, %48
store float %49, ptr %16, align 4
%50 = load float, ptr %8, align 4
%51 = load float, ptr %9, align 4
%52 = fdiv float %50, %51
store float %52, ptr %17, align 4
%53 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0
%54 = load float, ptr %16, align 4
%55 = load float, ptr %17, align 4
%56 = call i32 @zshearmat(ptr noundef %53, float noundef %54, float noundef %55)
%57 = load float, ptr %4, align 4
%58 = load float, ptr @M_PI, align 4
%59 = fmul float %57, %58
%60 = fpext float %59 to double
%61 = fdiv double %60, 1.800000e+02
%62 = fptrunc double %61 to float
%63 = call float @sin(float noundef %62)
store float %63, ptr %14, align 4
%64 = load float, ptr %4, align 4
%65 = load float, ptr @M_PI, align 4
%66 = fmul float %64, %65
%67 = fpext float %66 to double
%68 = fdiv double %67, 1.800000e+02
%69 = fptrunc double %68 to float
%70 = call float @cos(float noundef %69)
store float %70, ptr %15, align 4
%71 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0
%72 = load float, ptr %14, align 4
%73 = load float, ptr %15, align 4
%74 = call i32 @zrotatemat(ptr noundef %71, float noundef %72, float noundef %73)
%75 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0
%76 = load float, ptr %16, align 4
%77 = fneg float %76
%78 = load float, ptr %17, align 4
%79 = fneg float %78
%80 = call i32 @zshearmat(ptr noundef %75, float noundef %77, float noundef %79)
%81 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0
%82 = load float, ptr %12, align 4
%83 = fneg float %82
%84 = load float, ptr %13, align 4
%85 = call i32 @yrotatemat(ptr noundef %81, float noundef %83, float noundef %84)
%86 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0
%87 = load float, ptr %10, align 4
%88 = fneg float %87
%89 = load float, ptr %11, align 4
%90 = call i32 @xrotatemat(ptr noundef %86, float noundef %88, float noundef %89)
%91 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0
%92 = load ptr, ptr %3, align 8
%93 = load ptr, ptr %3, align 8
%94 = call i32 @matrixmult(ptr noundef %91, ptr noundef %92, ptr noundef %93)
ret void
}
declare i32 @identmat(ptr noundef) #1
declare float @sqrt(double noundef) #1
declare i32 @xrotatemat(ptr noundef, float noundef, float noundef) #1
declare i32 @yrotatemat(ptr noundef, float noundef, float noundef) #1
declare i32 @xformpnt(ptr noundef, double noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @zshearmat(ptr noundef, float noundef, float noundef) #1
declare float @sin(float noundef) #1
declare float @cos(float noundef) #1
declare i32 @zrotatemat(ptr noundef, float noundef, float noundef) #1
declare i32 @matrixmult(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv8ivjllu.c'
source_filename = "/tmp/tmpv8ivjllu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_mosquitto_realloc(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i64, ptr %4, align 8
%8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #2
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
ret ptr %9
}
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { allocsize(1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv8ivjllu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_mosquitto_realloc(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i64, ptr %4, align 8
%8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #2
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
ret ptr %9
}
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { allocsize(1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9fam23ax.c'
source_filename = "/tmp/tmp9fam23ax.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca i64, align 8
%18 = alloca i64, align 8
%19 = alloca i64, align 8
%20 = alloca i64, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca ptr, align 8
%29 = alloca ptr, align 8
%30 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %11, align 4
store i64 0, ptr %12, align 8
store i64 0, ptr %13, align 8
store i64 0, ptr %14, align 8
store i64 0, ptr %15, align 8
store i64 0, ptr %16, align 8
store i64 0, ptr %17, align 8
store i64 0, ptr %18, align 8
store i64 0, ptr %19, align 8
store i64 0, ptr %20, align 8
%31 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %10)
br label %32
32: ; preds = %653, %0
%33 = load i32, ptr %11, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %11, align 4
%35 = load i32, ptr %10, align 4
%36 = icmp slt i32 %33, %35
br i1 %36, label %37, label %656
37: ; preds = %32
store i32 0, ptr %9, align 4
store i32 0, ptr %8, align 4
store i64 0, ptr %15, align 8
store i64 0, ptr %14, align 8
store i64 0, ptr %13, align 8
store i64 0, ptr %12, align 8
store i64 0, ptr %20, align 8
store i64 0, ptr %19, align 8
store i64 0, ptr %18, align 8
store i64 0, ptr %17, align 8
store i64 0, ptr %16, align 8
store i32 0, ptr %6, align 4
%38 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%39 = load i32, ptr %2, align 4
%40 = sext i32 %39 to i64
%41 = mul i64 %40, 8
%42 = trunc i64 %41 to i32
%43 = call i64 @malloc(i32 noundef %42)
%44 = inttoptr i64 %43 to ptr
store ptr %44, ptr %21, align 8
%45 = load i32, ptr %2, align 4
%46 = sext i32 %45 to i64
%47 = mul i64 %46, 8
%48 = trunc i64 %47 to i32
%49 = call i64 @malloc(i32 noundef %48)
%50 = inttoptr i64 %49 to ptr
store ptr %50, ptr %22, align 8
%51 = load i32, ptr %2, align 4
%52 = sext i32 %51 to i64
%53 = mul i64 %52, 8
%54 = trunc i64 %53 to i32
%55 = call i64 @malloc(i32 noundef %54)
%56 = inttoptr i64 %55 to ptr
store ptr %56, ptr %23, align 8
%57 = load i32, ptr %2, align 4
%58 = sext i32 %57 to i64
%59 = mul i64 %58, 8
%60 = trunc i64 %59 to i32
%61 = call i64 @malloc(i32 noundef %60)
%62 = inttoptr i64 %61 to ptr
store ptr %62, ptr %24, align 8
%63 = load i32, ptr %2, align 4
%64 = sext i32 %63 to i64
%65 = mul i64 %64, 8
%66 = trunc i64 %65 to i32
%67 = call i64 @malloc(i32 noundef %66)
%68 = inttoptr i64 %67 to ptr
store ptr %68, ptr %25, align 8
%69 = load i32, ptr %2, align 4
%70 = sext i32 %69 to i64
%71 = mul i64 %70, 8
%72 = trunc i64 %71 to i32
%73 = call i64 @malloc(i32 noundef %72)
%74 = inttoptr i64 %73 to ptr
store ptr %74, ptr %26, align 8
%75 = load i32, ptr %2, align 4
%76 = sext i32 %75 to i64
%77 = mul i64 %76, 8
%78 = trunc i64 %77 to i32
%79 = call i64 @malloc(i32 noundef %78)
%80 = inttoptr i64 %79 to ptr
store ptr %80, ptr %27, align 8
%81 = load i32, ptr %2, align 4
%82 = sext i32 %81 to i64
%83 = mul i64 %82, 8
%84 = trunc i64 %83 to i32
%85 = call i64 @malloc(i32 noundef %84)
%86 = inttoptr i64 %85 to ptr
store ptr %86, ptr %28, align 8
%87 = load i32, ptr %2, align 4
%88 = sext i32 %87 to i64
%89 = mul i64 %88, 8
%90 = trunc i64 %89 to i32
%91 = call i64 @malloc(i32 noundef %90)
%92 = inttoptr i64 %91 to ptr
store ptr %92, ptr %29, align 8
%93 = load i32, ptr %2, align 4
%94 = sext i32 %93 to i64
%95 = mul i64 %94, 8
%96 = trunc i64 %95 to i32
%97 = call i64 @malloc(i32 noundef %96)
%98 = inttoptr i64 %97 to ptr
store ptr %98, ptr %30, align 8
store i32 0, ptr %4, align 4
br label %99
99: ; preds = %235, %37
%100 = load i32, ptr %4, align 4
%101 = load i32, ptr %3, align 4
%102 = icmp slt i32 %100, %101
br i1 %102, label %103, label %238
103: ; preds = %99
%104 = load i32, ptr %8, align 4
%105 = sext i32 %104 to i64
%106 = load i32, ptr %4, align 4
%107 = sext i32 %106 to i64
%108 = shl i64 1, %107
%109 = or i64 %105, %108
%110 = trunc i64 %109 to i32
store i32 %110, ptr %8, align 4
%111 = load i32, ptr %4, align 4
%112 = icmp sge i32 %111, 0
br i1 %112, label %113, label %122
113: ; preds = %103
%114 = load i32, ptr %4, align 4
%115 = icmp slt i32 %114, 31
br i1 %115, label %116, label %122
116: ; preds = %113
%117 = load i64, ptr %12, align 8
%118 = load i32, ptr %4, align 4
%119 = shl i32 1, %118
%120 = sext i32 %119 to i64
%121 = or i64 %117, %120
store i64 %121, ptr %12, align 8
br label %234
122: ; preds = %113, %103
%123 = load i32, ptr %4, align 4
%124 = icmp sge i32 %123, 31
br i1 %124, label %125, label %135
125: ; preds = %122
%126 = load i32, ptr %4, align 4
%127 = icmp slt i32 %126, 62
br i1 %127, label %128, label %135
128: ; preds = %125
%129 = load i64, ptr %13, align 8
%130 = load i32, ptr %4, align 4
%131 = sub nsw i32 %130, 31
%132 = shl i32 1, %131
%133 = sext i32 %132 to i64
%134 = or i64 %129, %133
store i64 %134, ptr %13, align 8
br label %233
135: ; preds = %125, %122
%136 = load i32, ptr %4, align 4
%137 = icmp sge i32 %136, 62
br i1 %137, label %138, label %148
138: ; preds = %135
%139 = load i32, ptr %4, align 4
%140 = icmp slt i32 %139, 93
br i1 %140, label %141, label %148
141: ; preds = %138
%142 = load i64, ptr %14, align 8
%143 = load i32, ptr %4, align 4
%144 = sub nsw i32 %143, 62
%145 = shl i32 1, %144
%146 = sext i32 %145 to i64
%147 = or i64 %142, %146
store i64 %147, ptr %14, align 8
br label %232
148: ; preds = %138, %135
%149 = load i32, ptr %4, align 4
%150 = icmp sge i32 %149, 93
br i1 %150, label %151, label %161
151: ; preds = %148
%152 = load i32, ptr %4, align 4
%153 = icmp slt i32 %152, 124
br i1 %153, label %154, label %161
154: ; preds = %151
%155 = load i64, ptr %15, align 8
%156 = load i32, ptr %4, align 4
%157 = sub nsw i32 %156, 93
%158 = shl i32 1, %157
%159 = sext i32 %158 to i64
%160 = or i64 %155, %159
store i64 %160, ptr %15, align 8
br label %231
161: ; preds = %151, %148
%162 = load i32, ptr %4, align 4
%163 = icmp sge i32 %162, 124
br i1 %163, label %164, label %174
164: ; preds = %161
%165 = load i32, ptr %4, align 4
%166 = icmp slt i32 %165, 155
br i1 %166, label %167, label %174
167: ; preds = %164
%168 = load i64, ptr %16, align 8
%169 = load i32, ptr %4, align 4
%170 = sub nsw i32 %169, 124
%171 = shl i32 1, %170
%172 = sext i32 %171 to i64
%173 = or i64 %168, %172
store i64 %173, ptr %16, align 8
br label %230
174: ; preds = %164, %161
%175 = load i32, ptr %4, align 4
%176 = icmp sge i32 %175, 155
br i1 %176, label %177, label %187
177: ; preds = %174
%178 = load i32, ptr %4, align 4
%179 = icmp slt i32 %178, 186
br i1 %179, label %180, label %187
180: ; preds = %177
%181 = load i64, ptr %17, align 8
%182 = load i32, ptr %4, align 4
%183 = sub nsw i32 %182, 155
%184 = shl i32 1, %183
%185 = sext i32 %184 to i64
%186 = or i64 %181, %185
store i64 %186, ptr %17, align 8
br label %229
187: ; preds = %177, %174
%188 = load i32, ptr %4, align 4
%189 = icmp sge i32 %188, 186
br i1 %189, label %190, label %200
190: ; preds = %187
%191 = load i32, ptr %4, align 4
%192 = icmp slt i32 %191, 217
br i1 %192, label %193, label %200
193: ; preds = %190
%194 = load i64, ptr %18, align 8
%195 = load i32, ptr %4, align 4
%196 = sub nsw i32 %195, 186
%197 = shl i32 1, %196
%198 = sext i32 %197 to i64
%199 = or i64 %194, %198
store i64 %199, ptr %18, align 8
br label %228
200: ; preds = %190, %187
%201 = load i32, ptr %4, align 4
%202 = icmp sge i32 %201, 217
br i1 %202, label %203, label %213
203: ; preds = %200
%204 = load i32, ptr %4, align 4
%205 = icmp slt i32 %204, 248
br i1 %205, label %206, label %213
206: ; preds = %203
%207 = load i64, ptr %19, align 8
%208 = load i32, ptr %4, align 4
%209 = sub nsw i32 %208, 217
%210 = shl i32 1, %209
%211 = sext i32 %210 to i64
%212 = or i64 %207, %211
store i64 %212, ptr %19, align 8
br label %227
213: ; preds = %203, %200
%214 = load i32, ptr %4, align 4
%215 = icmp sge i32 %214, 248
br i1 %215, label %216, label %226
216: ; preds = %213
%217 = load i32, ptr %4, align 4
%218 = icmp slt i32 %217, 280
br i1 %218, label %219, label %226
219: ; preds = %216
%220 = load i64, ptr %20, align 8
%221 = load i32, ptr %4, align 4
%222 = sub nsw i32 %221, 248
%223 = shl i32 1, %222
%224 = sext i32 %223 to i64
%225 = or i64 %220, %224
store i64 %225, ptr %20, align 8
br label %226
226: ; preds = %219, %216, %213
br label %227
227: ; preds = %226, %206
br label %228
228: ; preds = %227, %193
br label %229
229: ; preds = %228, %180
br label %230
230: ; preds = %229, %167
br label %231
231: ; preds = %230, %154
br label %232
232: ; preds = %231, %141
br label %233
233: ; preds = %232, %128
br label %234
234: ; preds = %233, %116
br label %235
235: ; preds = %234
%236 = load i32, ptr %4, align 4
%237 = add nsw i32 %236, 1
store i32 %237, ptr %4, align 4
br label %99, !llvm.loop !6
238: ; preds = %99
store i32 0, ptr %4, align 4
br label %239
239: ; preds = %500, %238
%240 = load i32, ptr %4, align 4
%241 = load i32, ptr %2, align 4
%242 = icmp slt i32 %240, %241
br i1 %242, label %243, label %503
243: ; preds = %239
%244 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %6)
%245 = load ptr, ptr %21, align 8
%246 = load i32, ptr %4, align 4
%247 = sext i32 %246 to i64
%248 = getelementptr inbounds i64, ptr %245, i64 %247
store i64 0, ptr %248, align 8
%249 = load ptr, ptr %22, align 8
%250 = load i32, ptr %4, align 4
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds i64, ptr %249, i64 %251
store i64 0, ptr %252, align 8
%253 = load ptr, ptr %23, align 8
%254 = load i32, ptr %4, align 4
%255 = sext i32 %254 to i64
%256 = getelementptr inbounds i64, ptr %253, i64 %255
store i64 0, ptr %256, align 8
%257 = load ptr, ptr %24, align 8
%258 = load i32, ptr %4, align 4
%259 = sext i32 %258 to i64
%260 = getelementptr inbounds i64, ptr %257, i64 %259
store i64 0, ptr %260, align 8
%261 = load ptr, ptr %25, align 8
%262 = load i32, ptr %4, align 4
%263 = sext i32 %262 to i64
%264 = getelementptr inbounds i64, ptr %261, i64 %263
store i64 0, ptr %264, align 8
%265 = load ptr, ptr %26, align 8
%266 = load i32, ptr %4, align 4
%267 = sext i32 %266 to i64
%268 = getelementptr inbounds i64, ptr %265, i64 %267
store i64 0, ptr %268, align 8
%269 = load ptr, ptr %27, align 8
%270 = load i32, ptr %4, align 4
%271 = sext i32 %270 to i64
%272 = getelementptr inbounds i64, ptr %269, i64 %271
store i64 0, ptr %272, align 8
%273 = load ptr, ptr %28, align 8
%274 = load i32, ptr %4, align 4
%275 = sext i32 %274 to i64
%276 = getelementptr inbounds i64, ptr %273, i64 %275
store i64 0, ptr %276, align 8
%277 = load ptr, ptr %29, align 8
%278 = load i32, ptr %4, align 4
%279 = sext i32 %278 to i64
%280 = getelementptr inbounds i64, ptr %277, i64 %279
store i64 0, ptr %280, align 8
%281 = load ptr, ptr %30, align 8
%282 = load i32, ptr %4, align 4
%283 = sext i32 %282 to i64
%284 = getelementptr inbounds i64, ptr %281, i64 %283
store i64 0, ptr %284, align 8
store i32 0, ptr %5, align 4
br label %285
285: ; preds = %496, %243
%286 = load i32, ptr %5, align 4
%287 = load i32, ptr %6, align 4
%288 = icmp slt i32 %286, %287
br i1 %288, label %289, label %499
289: ; preds = %285
%290 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %7)
%291 = load i32, ptr %7, align 4
%292 = icmp sgt i32 %291, 0
br i1 %292, label %293, label %311
293: ; preds = %289
%294 = load i32, ptr %7, align 4
%295 = icmp slt i32 %294, 31
br i1 %295, label %296, label %311
296: ; preds = %293
%297 = load ptr, ptr %22, align 8
%298 = load i32, ptr %4, align 4
%299 = sext i32 %298 to i64
%300 = getelementptr inbounds i64, ptr %297, i64 %299
%301 = load i64, ptr %300, align 8
%302 = load i32, ptr %7, align 4
%303 = sub nsw i32 %302, 1
%304 = shl i32 1, %303
%305 = sext i32 %304 to i64
%306 = or i64 %301, %305
%307 = load ptr, ptr %22, align 8
%308 = load i32, ptr %4, align 4
%309 = sext i32 %308 to i64
%310 = getelementptr inbounds i64, ptr %307, i64 %309
store i64 %306, ptr %310, align 8
br label %495
311: ; preds = %293, %289
%312 = load i32, ptr %7, align 4
%313 = icmp sge i32 %312, 31
br i1 %313, label %314, label %333
314: ; preds = %311
%315 = load i32, ptr %7, align 4
%316 = icmp slt i32 %315, 62
br i1 %316, label %317, label %333
317: ; preds = %314
%318 = load ptr, ptr %23, align 8
%319 = load i32, ptr %4, align 4
%320 = sext i32 %319 to i64
%321 = getelementptr inbounds i64, ptr %318, i64 %320
%322 = load i64, ptr %321, align 8
%323 = load i32, ptr %7, align 4
%324 = sub nsw i32 %323, 31
%325 = sub nsw i32 %324, 1
%326 = shl i32 1, %325
%327 = sext i32 %326 to i64
%328 = or i64 %322, %327
%329 = load ptr, ptr %23, align 8
%330 = load i32, ptr %4, align 4
%331 = sext i32 %330 to i64
%332 = getelementptr inbounds i64, ptr %329, i64 %331
store i64 %328, ptr %332, align 8
br label %494
333: ; preds = %314, %311
%334 = load i32, ptr %7, align 4
%335 = icmp sge i32 %334, 62
br i1 %335, label %336, label %355
336: ; preds = %333
%337 = load i32, ptr %7, align 4
%338 = icmp slt i32 %337, 93
br i1 %338, label %339, label %355
339: ; preds = %336
%340 = load ptr, ptr %24, align 8
%341 = load i32, ptr %4, align 4
%342 = sext i32 %341 to i64
%343 = getelementptr inbounds i64, ptr %340, i64 %342
%344 = load i64, ptr %343, align 8
%345 = load i32, ptr %7, align 4
%346 = sub nsw i32 %345, 62
%347 = sub nsw i32 %346, 1
%348 = shl i32 1, %347
%349 = sext i32 %348 to i64
%350 = or i64 %344, %349
%351 = load ptr, ptr %24, align 8
%352 = load i32, ptr %4, align 4
%353 = sext i32 %352 to i64
%354 = getelementptr inbounds i64, ptr %351, i64 %353
store i64 %350, ptr %354, align 8
br label %493
355: ; preds = %336, %333
%356 = load i32, ptr %7, align 4
%357 = icmp sge i32 %356, 93
br i1 %357, label %358, label %377
358: ; preds = %355
%359 = load i32, ptr %7, align 4
%360 = icmp slt i32 %359, 124
br i1 %360, label %361, label %377
361: ; preds = %358
%362 = load ptr, ptr %25, align 8
%363 = load i32, ptr %4, align 4
%364 = sext i32 %363 to i64
%365 = getelementptr inbounds i64, ptr %362, i64 %364
%366 = load i64, ptr %365, align 8
%367 = load i32, ptr %7, align 4
%368 = sub nsw i32 %367, 93
%369 = sub nsw i32 %368, 1
%370 = shl i32 1, %369
%371 = sext i32 %370 to i64
%372 = or i64 %366, %371
%373 = load ptr, ptr %25, align 8
%374 = load i32, ptr %4, align 4
%375 = sext i32 %374 to i64
%376 = getelementptr inbounds i64, ptr %373, i64 %375
store i64 %372, ptr %376, align 8
br label %492
377: ; preds = %358, %355
%378 = load i32, ptr %7, align 4
%379 = icmp sge i32 %378, 124
br i1 %379, label %380, label %399
380: ; preds = %377
%381 = load i32, ptr %7, align 4
%382 = icmp slt i32 %381, 155
br i1 %382, label %383, label %399
383: ; preds = %380
%384 = load ptr, ptr %26, align 8
%385 = load i32, ptr %4, align 4
%386 = sext i32 %385 to i64
%387 = getelementptr inbounds i64, ptr %384, i64 %386
%388 = load i64, ptr %387, align 8
%389 = load i32, ptr %7, align 4
%390 = sub nsw i32 %389, 124
%391 = sub nsw i32 %390, 1
%392 = shl i32 1, %391
%393 = sext i32 %392 to i64
%394 = or i64 %388, %393
%395 = load ptr, ptr %26, align 8
%396 = load i32, ptr %4, align 4
%397 = sext i32 %396 to i64
%398 = getelementptr inbounds i64, ptr %395, i64 %397
store i64 %394, ptr %398, align 8
br label %491
399: ; preds = %380, %377
%400 = load i32, ptr %7, align 4
%401 = icmp sge i32 %400, 155
br i1 %401, label %402, label %421
402: ; preds = %399
%403 = load i32, ptr %7, align 4
%404 = icmp slt i32 %403, 186
br i1 %404, label %405, label %421
405: ; preds = %402
%406 = load ptr, ptr %27, align 8
%407 = load i32, ptr %4, align 4
%408 = sext i32 %407 to i64
%409 = getelementptr inbounds i64, ptr %406, i64 %408
%410 = load i64, ptr %409, align 8
%411 = load i32, ptr %7, align 4
%412 = sub nsw i32 %411, 155
%413 = sub nsw i32 %412, 1
%414 = shl i32 1, %413
%415 = sext i32 %414 to i64
%416 = or i64 %410, %415
%417 = load ptr, ptr %27, align 8
%418 = load i32, ptr %4, align 4
%419 = sext i32 %418 to i64
%420 = getelementptr inbounds i64, ptr %417, i64 %419
store i64 %416, ptr %420, align 8
br label %490
421: ; preds = %402, %399
%422 = load i32, ptr %7, align 4
%423 = icmp sge i32 %422, 186
br i1 %423, label %424, label %443
424: ; preds = %421
%425 = load i32, ptr %7, align 4
%426 = icmp slt i32 %425, 217
br i1 %426, label %427, label %443
427: ; preds = %424
%428 = load ptr, ptr %28, align 8
%429 = load i32, ptr %4, align 4
%430 = sext i32 %429 to i64
%431 = getelementptr inbounds i64, ptr %428, i64 %430
%432 = load i64, ptr %431, align 8
%433 = load i32, ptr %7, align 4
%434 = sub nsw i32 %433, 186
%435 = sub nsw i32 %434, 1
%436 = shl i32 1, %435
%437 = sext i32 %436 to i64
%438 = or i64 %432, %437
%439 = load ptr, ptr %28, align 8
%440 = load i32, ptr %4, align 4
%441 = sext i32 %440 to i64
%442 = getelementptr inbounds i64, ptr %439, i64 %441
store i64 %438, ptr %442, align 8
br label %489
443: ; preds = %424, %421
%444 = load i32, ptr %7, align 4
%445 = icmp sge i32 %444, 217
br i1 %445, label %446, label %465
446: ; preds = %443
%447 = load i32, ptr %7, align 4
%448 = icmp slt i32 %447, 248
br i1 %448, label %449, label %465
449: ; preds = %446
%450 = load ptr, ptr %29, align 8
%451 = load i32, ptr %4, align 4
%452 = sext i32 %451 to i64
%453 = getelementptr inbounds i64, ptr %450, i64 %452
%454 = load i64, ptr %453, align 8
%455 = load i32, ptr %7, align 4
%456 = sub nsw i32 %455, 217
%457 = sub nsw i32 %456, 1
%458 = shl i32 1, %457
%459 = sext i32 %458 to i64
%460 = or i64 %454, %459
%461 = load ptr, ptr %29, align 8
%462 = load i32, ptr %4, align 4
%463 = sext i32 %462 to i64
%464 = getelementptr inbounds i64, ptr %461, i64 %463
store i64 %460, ptr %464, align 8
br label %488
465: ; preds = %446, %443
%466 = load i32, ptr %7, align 4
%467 = icmp sge i32 %466, 248
br i1 %467, label %468, label %487
468: ; preds = %465
%469 = load i32, ptr %7, align 4
%470 = icmp slt i32 %469, 280
br i1 %470, label %471, label %487
471: ; preds = %468
%472 = load ptr, ptr %30, align 8
%473 = load i32, ptr %4, align 4
%474 = sext i32 %473 to i64
%475 = getelementptr inbounds i64, ptr %472, i64 %474
%476 = load i64, ptr %475, align 8
%477 = load i32, ptr %7, align 4
%478 = sub nsw i32 %477, 248
%479 = sub nsw i32 %478, 1
%480 = shl i32 1, %479
%481 = sext i32 %480 to i64
%482 = or i64 %476, %481
%483 = load ptr, ptr %30, align 8
%484 = load i32, ptr %4, align 4
%485 = sext i32 %484 to i64
%486 = getelementptr inbounds i64, ptr %483, i64 %485
store i64 %482, ptr %486, align 8
br label %487
487: ; preds = %471, %468, %465
br label %488
488: ; preds = %487, %449
br label %489
489: ; preds = %488, %427
br label %490
490: ; preds = %489, %405
br label %491
491: ; preds = %490, %383
br label %492
492: ; preds = %491, %361
br label %493
493: ; preds = %492, %339
br label %494
494: ; preds = %493, %317
br label %495
495: ; preds = %494, %296
br label %496
496: ; preds = %495
%497 = load i32, ptr %5, align 4
%498 = add nsw i32 %497, 1
store i32 %498, ptr %5, align 4
br label %285, !llvm.loop !8
499: ; preds = %285
br label %500
500: ; preds = %499
%501 = load i32, ptr %4, align 4
%502 = add nsw i32 %501, 1
store i32 %502, ptr %4, align 4
br label %239, !llvm.loop !9
503: ; preds = %239
store i32 0, ptr %4, align 4
br label %504
504: ; preds = %650, %503
%505 = load i32, ptr %4, align 4
%506 = load i32, ptr %2, align 4
%507 = sub nsw i32 %506, 1
%508 = icmp slt i32 %505, %507
br i1 %508, label %509, label %653
509: ; preds = %504
%510 = load i32, ptr %4, align 4
%511 = add nsw i32 %510, 1
store i32 %511, ptr %5, align 4
br label %512
512: ; preds = %646, %509
%513 = load i32, ptr %5, align 4
%514 = load i32, ptr %2, align 4
%515 = icmp slt i32 %513, %514
br i1 %515, label %516, label %649
516: ; preds = %512
%517 = load ptr, ptr %22, align 8
%518 = load i32, ptr %4, align 4
%519 = sext i32 %518 to i64
%520 = getelementptr inbounds i64, ptr %517, i64 %519
%521 = load i64, ptr %520, align 8
%522 = load ptr, ptr %22, align 8
%523 = load i32, ptr %5, align 4
%524 = sext i32 %523 to i64
%525 = getelementptr inbounds i64, ptr %522, i64 %524
%526 = load i64, ptr %525, align 8
%527 = or i64 %521, %526
%528 = load i64, ptr %12, align 8
%529 = icmp eq i64 %527, %528
br i1 %529, label %530, label %645
530: ; preds = %516
%531 = load ptr, ptr %23, align 8
%532 = load i32, ptr %4, align 4
%533 = sext i32 %532 to i64
%534 = getelementptr inbounds i64, ptr %531, i64 %533
%535 = load i64, ptr %534, align 8
%536 = load ptr, ptr %23, align 8
%537 = load i32, ptr %5, align 4
%538 = sext i32 %537 to i64
%539 = getelementptr inbounds i64, ptr %536, i64 %538
%540 = load i64, ptr %539, align 8
%541 = or i64 %535, %540
%542 = load i64, ptr %13, align 8
%543 = icmp eq i64 %541, %542
br i1 %543, label %544, label %645
544: ; preds = %530
%545 = load ptr, ptr %24, align 8
%546 = load i32, ptr %4, align 4
%547 = sext i32 %546 to i64
%548 = getelementptr inbounds i64, ptr %545, i64 %547
%549 = load i64, ptr %548, align 8
%550 = load ptr, ptr %24, align 8
%551 = load i32, ptr %5, align 4
%552 = sext i32 %551 to i64
%553 = getelementptr inbounds i64, ptr %550, i64 %552
%554 = load i64, ptr %553, align 8
%555 = or i64 %549, %554
%556 = load i64, ptr %14, align 8
%557 = icmp eq i64 %555, %556
br i1 %557, label %558, label %645
558: ; preds = %544
%559 = load ptr, ptr %25, align 8
%560 = load i32, ptr %4, align 4
%561 = sext i32 %560 to i64
%562 = getelementptr inbounds i64, ptr %559, i64 %561
%563 = load i64, ptr %562, align 8
%564 = load ptr, ptr %25, align 8
%565 = load i32, ptr %5, align 4
%566 = sext i32 %565 to i64
%567 = getelementptr inbounds i64, ptr %564, i64 %566
%568 = load i64, ptr %567, align 8
%569 = or i64 %563, %568
%570 = load i64, ptr %15, align 8
%571 = icmp eq i64 %569, %570
br i1 %571, label %572, label %645
572: ; preds = %558
%573 = load ptr, ptr %26, align 8
%574 = load i32, ptr %4, align 4
%575 = sext i32 %574 to i64
%576 = getelementptr inbounds i64, ptr %573, i64 %575
%577 = load i64, ptr %576, align 8
%578 = load ptr, ptr %26, align 8
%579 = load i32, ptr %5, align 4
%580 = sext i32 %579 to i64
%581 = getelementptr inbounds i64, ptr %578, i64 %580
%582 = load i64, ptr %581, align 8
%583 = or i64 %577, %582
%584 = load i64, ptr %16, align 8
%585 = icmp eq i64 %583, %584
br i1 %585, label %586, label %645
586: ; preds = %572
%587 = load ptr, ptr %27, align 8
%588 = load i32, ptr %4, align 4
%589 = sext i32 %588 to i64
%590 = getelementptr inbounds i64, ptr %587, i64 %589
%591 = load i64, ptr %590, align 8
%592 = load ptr, ptr %27, align 8
%593 = load i32, ptr %5, align 4
%594 = sext i32 %593 to i64
%595 = getelementptr inbounds i64, ptr %592, i64 %594
%596 = load i64, ptr %595, align 8
%597 = or i64 %591, %596
%598 = load i64, ptr %17, align 8
%599 = icmp eq i64 %597, %598
br i1 %599, label %600, label %645
600: ; preds = %586
%601 = load ptr, ptr %28, align 8
%602 = load i32, ptr %4, align 4
%603 = sext i32 %602 to i64
%604 = getelementptr inbounds i64, ptr %601, i64 %603
%605 = load i64, ptr %604, align 8
%606 = load ptr, ptr %28, align 8
%607 = load i32, ptr %5, align 4
%608 = sext i32 %607 to i64
%609 = getelementptr inbounds i64, ptr %606, i64 %608
%610 = load i64, ptr %609, align 8
%611 = or i64 %605, %610
%612 = load i64, ptr %18, align 8
%613 = icmp eq i64 %611, %612
br i1 %613, label %614, label %645
614: ; preds = %600
%615 = load ptr, ptr %29, align 8
%616 = load i32, ptr %4, align 4
%617 = sext i32 %616 to i64
%618 = getelementptr inbounds i64, ptr %615, i64 %617
%619 = load i64, ptr %618, align 8
%620 = load ptr, ptr %29, align 8
%621 = load i32, ptr %5, align 4
%622 = sext i32 %621 to i64
%623 = getelementptr inbounds i64, ptr %620, i64 %622
%624 = load i64, ptr %623, align 8
%625 = or i64 %619, %624
%626 = load i64, ptr %19, align 8
%627 = icmp eq i64 %625, %626
br i1 %627, label %628, label %645
628: ; preds = %614
%629 = load ptr, ptr %30, align 8
%630 = load i32, ptr %4, align 4
%631 = sext i32 %630 to i64
%632 = getelementptr inbounds i64, ptr %629, i64 %631
%633 = load i64, ptr %632, align 8
%634 = load ptr, ptr %30, align 8
%635 = load i32, ptr %5, align 4
%636 = sext i32 %635 to i64
%637 = getelementptr inbounds i64, ptr %634, i64 %636
%638 = load i64, ptr %637, align 8
%639 = or i64 %633, %638
%640 = load i64, ptr %20, align 8
%641 = icmp eq i64 %639, %640
br i1 %641, label %642, label %645
642: ; preds = %628
%643 = load i32, ptr %9, align 4
%644 = add nsw i32 %643, 1
store i32 %644, ptr %9, align 4
br label %645
645: ; preds = %642, %628, %614, %600, %586, %572, %558, %544, %530, %516
br label %646
646: ; preds = %645
%647 = load i32, ptr %5, align 4
%648 = add nsw i32 %647, 1
store i32 %648, ptr %5, align 4
br label %512, !llvm.loop !10
649: ; preds = %512
br label %650
650: ; preds = %649
%651 = load i32, ptr %4, align 4
%652 = add nsw i32 %651, 1
store i32 %652, ptr %4, align 4
br label %504, !llvm.loop !11
653: ; preds = %504
%654 = load i32, ptr %9, align 4
%655 = call i32 @printf(ptr noundef @.str.2, i32 noundef %654)
br label %32, !llvm.loop !12
656: ; preds = %32
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9fam23ax.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca i64, align 8
%18 = alloca i64, align 8
%19 = alloca i64, align 8
%20 = alloca i64, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca ptr, align 8
%29 = alloca ptr, align 8
%30 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %11, align 4
store i64 0, ptr %12, align 8
store i64 0, ptr %13, align 8
store i64 0, ptr %14, align 8
store i64 0, ptr %15, align 8
store i64 0, ptr %16, align 8
store i64 0, ptr %17, align 8
store i64 0, ptr %18, align 8
store i64 0, ptr %19, align 8
store i64 0, ptr %20, align 8
%31 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %10)
%32 = load i32, ptr %11, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %11, align 4
%34 = load i32, ptr %10, align 4
%35 = icmp slt i32 %32, %34
br i1 %35, label %.lr.ph14, label %670
.lr.ph14: ; preds = %0
br label %36
36: ; preds = %.lr.ph14, %663
store i32 0, ptr %9, align 4
store i32 0, ptr %8, align 4
store i64 0, ptr %15, align 8
store i64 0, ptr %14, align 8
store i64 0, ptr %13, align 8
store i64 0, ptr %12, align 8
store i64 0, ptr %20, align 8
store i64 0, ptr %19, align 8
store i64 0, ptr %18, align 8
store i64 0, ptr %17, align 8
store i64 0, ptr %16, align 8
store i32 0, ptr %6, align 4
%37 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%38 = load i32, ptr %2, align 4
%39 = sext i32 %38 to i64
%40 = mul i64 %39, 8
%41 = trunc i64 %40 to i32
%42 = call i64 @malloc(i32 noundef %41)
%43 = inttoptr i64 %42 to ptr
store ptr %43, ptr %21, align 8
%44 = load i32, ptr %2, align 4
%45 = sext i32 %44 to i64
%46 = mul i64 %45, 8
%47 = trunc i64 %46 to i32
%48 = call i64 @malloc(i32 noundef %47)
%49 = inttoptr i64 %48 to ptr
store ptr %49, ptr %22, align 8
%50 = load i32, ptr %2, align 4
%51 = sext i32 %50 to i64
%52 = mul i64 %51, 8
%53 = trunc i64 %52 to i32
%54 = call i64 @malloc(i32 noundef %53)
%55 = inttoptr i64 %54 to ptr
store ptr %55, ptr %23, align 8
%56 = load i32, ptr %2, align 4
%57 = sext i32 %56 to i64
%58 = mul i64 %57, 8
%59 = trunc i64 %58 to i32
%60 = call i64 @malloc(i32 noundef %59)
%61 = inttoptr i64 %60 to ptr
store ptr %61, ptr %24, align 8
%62 = load i32, ptr %2, align 4
%63 = sext i32 %62 to i64
%64 = mul i64 %63, 8
%65 = trunc i64 %64 to i32
%66 = call i64 @malloc(i32 noundef %65)
%67 = inttoptr i64 %66 to ptr
store ptr %67, ptr %25, align 8
%68 = load i32, ptr %2, align 4
%69 = sext i32 %68 to i64
%70 = mul i64 %69, 8
%71 = trunc i64 %70 to i32
%72 = call i64 @malloc(i32 noundef %71)
%73 = inttoptr i64 %72 to ptr
store ptr %73, ptr %26, align 8
%74 = load i32, ptr %2, align 4
%75 = sext i32 %74 to i64
%76 = mul i64 %75, 8
%77 = trunc i64 %76 to i32
%78 = call i64 @malloc(i32 noundef %77)
%79 = inttoptr i64 %78 to ptr
store ptr %79, ptr %27, align 8
%80 = load i32, ptr %2, align 4
%81 = sext i32 %80 to i64
%82 = mul i64 %81, 8
%83 = trunc i64 %82 to i32
%84 = call i64 @malloc(i32 noundef %83)
%85 = inttoptr i64 %84 to ptr
store ptr %85, ptr %28, align 8
%86 = load i32, ptr %2, align 4
%87 = sext i32 %86 to i64
%88 = mul i64 %87, 8
%89 = trunc i64 %88 to i32
%90 = call i64 @malloc(i32 noundef %89)
%91 = inttoptr i64 %90 to ptr
store ptr %91, ptr %29, align 8
%92 = load i32, ptr %2, align 4
%93 = sext i32 %92 to i64
%94 = mul i64 %93, 8
%95 = trunc i64 %94 to i32
%96 = call i64 @malloc(i32 noundef %95)
%97 = inttoptr i64 %96 to ptr
store ptr %97, ptr %30, align 8
store i32 0, ptr %4, align 4
%98 = load i32, ptr %4, align 4
%99 = load i32, ptr %3, align 4
%100 = icmp slt i32 %98, %99
br i1 %100, label %.lr.ph, label %239
.lr.ph: ; preds = %36
br label %101
101: ; preds = %.lr.ph, %233
%102 = load i32, ptr %8, align 4
%103 = sext i32 %102 to i64
%104 = load i32, ptr %4, align 4
%105 = sext i32 %104 to i64
%106 = shl i64 1, %105
%107 = or i64 %103, %106
%108 = trunc i64 %107 to i32
store i32 %108, ptr %8, align 4
%109 = load i32, ptr %4, align 4
%110 = icmp sge i32 %109, 0
br i1 %110, label %111, label %120
111: ; preds = %101
%112 = load i32, ptr %4, align 4
%113 = icmp slt i32 %112, 31
br i1 %113, label %114, label %120
114: ; preds = %111
%115 = load i64, ptr %12, align 8
%116 = load i32, ptr %4, align 4
%117 = shl i32 1, %116
%118 = sext i32 %117 to i64
%119 = or i64 %115, %118
store i64 %119, ptr %12, align 8
br label %232
120: ; preds = %111, %101
%121 = load i32, ptr %4, align 4
%122 = icmp sge i32 %121, 31
br i1 %122, label %123, label %133
123: ; preds = %120
%124 = load i32, ptr %4, align 4
%125 = icmp slt i32 %124, 62
br i1 %125, label %126, label %133
126: ; preds = %123
%127 = load i64, ptr %13, align 8
%128 = load i32, ptr %4, align 4
%129 = sub nsw i32 %128, 31
%130 = shl i32 1, %129
%131 = sext i32 %130 to i64
%132 = or i64 %127, %131
store i64 %132, ptr %13, align 8
br label %231
133: ; preds = %123, %120
%134 = load i32, ptr %4, align 4
%135 = icmp sge i32 %134, 62
br i1 %135, label %136, label %146
136: ; preds = %133
%137 = load i32, ptr %4, align 4
%138 = icmp slt i32 %137, 93
br i1 %138, label %139, label %146
139: ; preds = %136
%140 = load i64, ptr %14, align 8
%141 = load i32, ptr %4, align 4
%142 = sub nsw i32 %141, 62
%143 = shl i32 1, %142
%144 = sext i32 %143 to i64
%145 = or i64 %140, %144
store i64 %145, ptr %14, align 8
br label %230
146: ; preds = %136, %133
%147 = load i32, ptr %4, align 4
%148 = icmp sge i32 %147, 93
br i1 %148, label %149, label %159
149: ; preds = %146
%150 = load i32, ptr %4, align 4
%151 = icmp slt i32 %150, 124
br i1 %151, label %152, label %159
152: ; preds = %149
%153 = load i64, ptr %15, align 8
%154 = load i32, ptr %4, align 4
%155 = sub nsw i32 %154, 93
%156 = shl i32 1, %155
%157 = sext i32 %156 to i64
%158 = or i64 %153, %157
store i64 %158, ptr %15, align 8
br label %229
159: ; preds = %149, %146
%160 = load i32, ptr %4, align 4
%161 = icmp sge i32 %160, 124
br i1 %161, label %162, label %172
162: ; preds = %159
%163 = load i32, ptr %4, align 4
%164 = icmp slt i32 %163, 155
br i1 %164, label %165, label %172
165: ; preds = %162
%166 = load i64, ptr %16, align 8
%167 = load i32, ptr %4, align 4
%168 = sub nsw i32 %167, 124
%169 = shl i32 1, %168
%170 = sext i32 %169 to i64
%171 = or i64 %166, %170
store i64 %171, ptr %16, align 8
br label %228
172: ; preds = %162, %159
%173 = load i32, ptr %4, align 4
%174 = icmp sge i32 %173, 155
br i1 %174, label %175, label %185
175: ; preds = %172
%176 = load i32, ptr %4, align 4
%177 = icmp slt i32 %176, 186
br i1 %177, label %178, label %185
178: ; preds = %175
%179 = load i64, ptr %17, align 8
%180 = load i32, ptr %4, align 4
%181 = sub nsw i32 %180, 155
%182 = shl i32 1, %181
%183 = sext i32 %182 to i64
%184 = or i64 %179, %183
store i64 %184, ptr %17, align 8
br label %227
185: ; preds = %175, %172
%186 = load i32, ptr %4, align 4
%187 = icmp sge i32 %186, 186
br i1 %187, label %188, label %198
188: ; preds = %185
%189 = load i32, ptr %4, align 4
%190 = icmp slt i32 %189, 217
br i1 %190, label %191, label %198
191: ; preds = %188
%192 = load i64, ptr %18, align 8
%193 = load i32, ptr %4, align 4
%194 = sub nsw i32 %193, 186
%195 = shl i32 1, %194
%196 = sext i32 %195 to i64
%197 = or i64 %192, %196
store i64 %197, ptr %18, align 8
br label %226
198: ; preds = %188, %185
%199 = load i32, ptr %4, align 4
%200 = icmp sge i32 %199, 217
br i1 %200, label %201, label %211
201: ; preds = %198
%202 = load i32, ptr %4, align 4
%203 = icmp slt i32 %202, 248
br i1 %203, label %204, label %211
204: ; preds = %201
%205 = load i64, ptr %19, align 8
%206 = load i32, ptr %4, align 4
%207 = sub nsw i32 %206, 217
%208 = shl i32 1, %207
%209 = sext i32 %208 to i64
%210 = or i64 %205, %209
store i64 %210, ptr %19, align 8
br label %225
211: ; preds = %201, %198
%212 = load i32, ptr %4, align 4
%213 = icmp sge i32 %212, 248
br i1 %213, label %214, label %224
214: ; preds = %211
%215 = load i32, ptr %4, align 4
%216 = icmp slt i32 %215, 280
br i1 %216, label %217, label %224
217: ; preds = %214
%218 = load i64, ptr %20, align 8
%219 = load i32, ptr %4, align 4
%220 = sub nsw i32 %219, 248
%221 = shl i32 1, %220
%222 = sext i32 %221 to i64
%223 = or i64 %218, %222
store i64 %223, ptr %20, align 8
br label %224
224: ; preds = %217, %214, %211
br label %225
225: ; preds = %224, %204
br label %226
226: ; preds = %225, %191
br label %227
227: ; preds = %226, %178
br label %228
228: ; preds = %227, %165
br label %229
229: ; preds = %228, %152
br label %230
230: ; preds = %229, %139
br label %231
231: ; preds = %230, %126
br label %232
232: ; preds = %231, %114
br label %233
233: ; preds = %232
%234 = load i32, ptr %4, align 4
%235 = add nsw i32 %234, 1
store i32 %235, ptr %4, align 4
%236 = load i32, ptr %4, align 4
%237 = load i32, ptr %3, align 4
%238 = icmp slt i32 %236, %237
br i1 %238, label %101, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %233
br label %239
239: ; preds = %._crit_edge, %36
store i32 0, ptr %4, align 4
%240 = load i32, ptr %4, align 4
%241 = load i32, ptr %2, align 4
%242 = icmp slt i32 %240, %241
br i1 %242, label %.lr.ph5, label %508
.lr.ph5: ; preds = %239
br label %243
243: ; preds = %.lr.ph5, %502
%244 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %6)
%245 = load ptr, ptr %21, align 8
%246 = load i32, ptr %4, align 4
%247 = sext i32 %246 to i64
%248 = getelementptr inbounds i64, ptr %245, i64 %247
store i64 0, ptr %248, align 8
%249 = load ptr, ptr %22, align 8
%250 = load i32, ptr %4, align 4
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds i64, ptr %249, i64 %251
store i64 0, ptr %252, align 8
%253 = load ptr, ptr %23, align 8
%254 = load i32, ptr %4, align 4
%255 = sext i32 %254 to i64
%256 = getelementptr inbounds i64, ptr %253, i64 %255
store i64 0, ptr %256, align 8
%257 = load ptr, ptr %24, align 8
%258 = load i32, ptr %4, align 4
%259 = sext i32 %258 to i64
%260 = getelementptr inbounds i64, ptr %257, i64 %259
store i64 0, ptr %260, align 8
%261 = load ptr, ptr %25, align 8
%262 = load i32, ptr %4, align 4
%263 = sext i32 %262 to i64
%264 = getelementptr inbounds i64, ptr %261, i64 %263
store i64 0, ptr %264, align 8
%265 = load ptr, ptr %26, align 8
%266 = load i32, ptr %4, align 4
%267 = sext i32 %266 to i64
%268 = getelementptr inbounds i64, ptr %265, i64 %267
store i64 0, ptr %268, align 8
%269 = load ptr, ptr %27, align 8
%270 = load i32, ptr %4, align 4
%271 = sext i32 %270 to i64
%272 = getelementptr inbounds i64, ptr %269, i64 %271
store i64 0, ptr %272, align 8
%273 = load ptr, ptr %28, align 8
%274 = load i32, ptr %4, align 4
%275 = sext i32 %274 to i64
%276 = getelementptr inbounds i64, ptr %273, i64 %275
store i64 0, ptr %276, align 8
%277 = load ptr, ptr %29, align 8
%278 = load i32, ptr %4, align 4
%279 = sext i32 %278 to i64
%280 = getelementptr inbounds i64, ptr %277, i64 %279
store i64 0, ptr %280, align 8
%281 = load ptr, ptr %30, align 8
%282 = load i32, ptr %4, align 4
%283 = sext i32 %282 to i64
%284 = getelementptr inbounds i64, ptr %281, i64 %283
store i64 0, ptr %284, align 8
store i32 0, ptr %5, align 4
%285 = load i32, ptr %5, align 4
%286 = load i32, ptr %6, align 4
%287 = icmp slt i32 %285, %286
br i1 %287, label %.lr.ph2, label %501
.lr.ph2: ; preds = %243
br label %288
288: ; preds = %.lr.ph2, %495
%289 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %7)
%290 = load i32, ptr %7, align 4
%291 = icmp sgt i32 %290, 0
br i1 %291, label %292, label %310
292: ; preds = %288
%293 = load i32, ptr %7, align 4
%294 = icmp slt i32 %293, 31
br i1 %294, label %295, label %310
295: ; preds = %292
%296 = load ptr, ptr %22, align 8
%297 = load i32, ptr %4, align 4
%298 = sext i32 %297 to i64
%299 = getelementptr inbounds i64, ptr %296, i64 %298
%300 = load i64, ptr %299, align 8
%301 = load i32, ptr %7, align 4
%302 = sub nsw i32 %301, 1
%303 = shl i32 1, %302
%304 = sext i32 %303 to i64
%305 = or i64 %300, %304
%306 = load ptr, ptr %22, align 8
%307 = load i32, ptr %4, align 4
%308 = sext i32 %307 to i64
%309 = getelementptr inbounds i64, ptr %306, i64 %308
store i64 %305, ptr %309, align 8
br label %494
310: ; preds = %292, %288
%311 = load i32, ptr %7, align 4
%312 = icmp sge i32 %311, 31
br i1 %312, label %313, label %332
313: ; preds = %310
%314 = load i32, ptr %7, align 4
%315 = icmp slt i32 %314, 62
br i1 %315, label %316, label %332
316: ; preds = %313
%317 = load ptr, ptr %23, align 8
%318 = load i32, ptr %4, align 4
%319 = sext i32 %318 to i64
%320 = getelementptr inbounds i64, ptr %317, i64 %319
%321 = load i64, ptr %320, align 8
%322 = load i32, ptr %7, align 4
%323 = sub nsw i32 %322, 31
%324 = sub nsw i32 %323, 1
%325 = shl i32 1, %324
%326 = sext i32 %325 to i64
%327 = or i64 %321, %326
%328 = load ptr, ptr %23, align 8
%329 = load i32, ptr %4, align 4
%330 = sext i32 %329 to i64
%331 = getelementptr inbounds i64, ptr %328, i64 %330
store i64 %327, ptr %331, align 8
br label %493
332: ; preds = %313, %310
%333 = load i32, ptr %7, align 4
%334 = icmp sge i32 %333, 62
br i1 %334, label %335, label %354
335: ; preds = %332
%336 = load i32, ptr %7, align 4
%337 = icmp slt i32 %336, 93
br i1 %337, label %338, label %354
338: ; preds = %335
%339 = load ptr, ptr %24, align 8
%340 = load i32, ptr %4, align 4
%341 = sext i32 %340 to i64
%342 = getelementptr inbounds i64, ptr %339, i64 %341
%343 = load i64, ptr %342, align 8
%344 = load i32, ptr %7, align 4
%345 = sub nsw i32 %344, 62
%346 = sub nsw i32 %345, 1
%347 = shl i32 1, %346
%348 = sext i32 %347 to i64
%349 = or i64 %343, %348
%350 = load ptr, ptr %24, align 8
%351 = load i32, ptr %4, align 4
%352 = sext i32 %351 to i64
%353 = getelementptr inbounds i64, ptr %350, i64 %352
store i64 %349, ptr %353, align 8
br label %492
354: ; preds = %335, %332
%355 = load i32, ptr %7, align 4
%356 = icmp sge i32 %355, 93
br i1 %356, label %357, label %376
357: ; preds = %354
%358 = load i32, ptr %7, align 4
%359 = icmp slt i32 %358, 124
br i1 %359, label %360, label %376
360: ; preds = %357
%361 = load ptr, ptr %25, align 8
%362 = load i32, ptr %4, align 4
%363 = sext i32 %362 to i64
%364 = getelementptr inbounds i64, ptr %361, i64 %363
%365 = load i64, ptr %364, align 8
%366 = load i32, ptr %7, align 4
%367 = sub nsw i32 %366, 93
%368 = sub nsw i32 %367, 1
%369 = shl i32 1, %368
%370 = sext i32 %369 to i64
%371 = or i64 %365, %370
%372 = load ptr, ptr %25, align 8
%373 = load i32, ptr %4, align 4
%374 = sext i32 %373 to i64
%375 = getelementptr inbounds i64, ptr %372, i64 %374
store i64 %371, ptr %375, align 8
br label %491
376: ; preds = %357, %354
%377 = load i32, ptr %7, align 4
%378 = icmp sge i32 %377, 124
br i1 %378, label %379, label %398
379: ; preds = %376
%380 = load i32, ptr %7, align 4
%381 = icmp slt i32 %380, 155
br i1 %381, label %382, label %398
382: ; preds = %379
%383 = load ptr, ptr %26, align 8
%384 = load i32, ptr %4, align 4
%385 = sext i32 %384 to i64
%386 = getelementptr inbounds i64, ptr %383, i64 %385
%387 = load i64, ptr %386, align 8
%388 = load i32, ptr %7, align 4
%389 = sub nsw i32 %388, 124
%390 = sub nsw i32 %389, 1
%391 = shl i32 1, %390
%392 = sext i32 %391 to i64
%393 = or i64 %387, %392
%394 = load ptr, ptr %26, align 8
%395 = load i32, ptr %4, align 4
%396 = sext i32 %395 to i64
%397 = getelementptr inbounds i64, ptr %394, i64 %396
store i64 %393, ptr %397, align 8
br label %490
398: ; preds = %379, %376
%399 = load i32, ptr %7, align 4
%400 = icmp sge i32 %399, 155
br i1 %400, label %401, label %420
401: ; preds = %398
%402 = load i32, ptr %7, align 4
%403 = icmp slt i32 %402, 186
br i1 %403, label %404, label %420
404: ; preds = %401
%405 = load ptr, ptr %27, align 8
%406 = load i32, ptr %4, align 4
%407 = sext i32 %406 to i64
%408 = getelementptr inbounds i64, ptr %405, i64 %407
%409 = load i64, ptr %408, align 8
%410 = load i32, ptr %7, align 4
%411 = sub nsw i32 %410, 155
%412 = sub nsw i32 %411, 1
%413 = shl i32 1, %412
%414 = sext i32 %413 to i64
%415 = or i64 %409, %414
%416 = load ptr, ptr %27, align 8
%417 = load i32, ptr %4, align 4
%418 = sext i32 %417 to i64
%419 = getelementptr inbounds i64, ptr %416, i64 %418
store i64 %415, ptr %419, align 8
br label %489
420: ; preds = %401, %398
%421 = load i32, ptr %7, align 4
%422 = icmp sge i32 %421, 186
br i1 %422, label %423, label %442
423: ; preds = %420
%424 = load i32, ptr %7, align 4
%425 = icmp slt i32 %424, 217
br i1 %425, label %426, label %442
426: ; preds = %423
%427 = load ptr, ptr %28, align 8
%428 = load i32, ptr %4, align 4
%429 = sext i32 %428 to i64
%430 = getelementptr inbounds i64, ptr %427, i64 %429
%431 = load i64, ptr %430, align 8
%432 = load i32, ptr %7, align 4
%433 = sub nsw i32 %432, 186
%434 = sub nsw i32 %433, 1
%435 = shl i32 1, %434
%436 = sext i32 %435 to i64
%437 = or i64 %431, %436
%438 = load ptr, ptr %28, align 8
%439 = load i32, ptr %4, align 4
%440 = sext i32 %439 to i64
%441 = getelementptr inbounds i64, ptr %438, i64 %440
store i64 %437, ptr %441, align 8
br label %488
442: ; preds = %423, %420
%443 = load i32, ptr %7, align 4
%444 = icmp sge i32 %443, 217
br i1 %444, label %445, label %464
445: ; preds = %442
%446 = load i32, ptr %7, align 4
%447 = icmp slt i32 %446, 248
br i1 %447, label %448, label %464
448: ; preds = %445
%449 = load ptr, ptr %29, align 8
%450 = load i32, ptr %4, align 4
%451 = sext i32 %450 to i64
%452 = getelementptr inbounds i64, ptr %449, i64 %451
%453 = load i64, ptr %452, align 8
%454 = load i32, ptr %7, align 4
%455 = sub nsw i32 %454, 217
%456 = sub nsw i32 %455, 1
%457 = shl i32 1, %456
%458 = sext i32 %457 to i64
%459 = or i64 %453, %458
%460 = load ptr, ptr %29, align 8
%461 = load i32, ptr %4, align 4
%462 = sext i32 %461 to i64
%463 = getelementptr inbounds i64, ptr %460, i64 %462
store i64 %459, ptr %463, align 8
br label %487
464: ; preds = %445, %442
%465 = load i32, ptr %7, align 4
%466 = icmp sge i32 %465, 248
br i1 %466, label %467, label %486
467: ; preds = %464
%468 = load i32, ptr %7, align 4
%469 = icmp slt i32 %468, 280
br i1 %469, label %470, label %486
470: ; preds = %467
%471 = load ptr, ptr %30, align 8
%472 = load i32, ptr %4, align 4
%473 = sext i32 %472 to i64
%474 = getelementptr inbounds i64, ptr %471, i64 %473
%475 = load i64, ptr %474, align 8
%476 = load i32, ptr %7, align 4
%477 = sub nsw i32 %476, 248
%478 = sub nsw i32 %477, 1
%479 = shl i32 1, %478
%480 = sext i32 %479 to i64
%481 = or i64 %475, %480
%482 = load ptr, ptr %30, align 8
%483 = load i32, ptr %4, align 4
%484 = sext i32 %483 to i64
%485 = getelementptr inbounds i64, ptr %482, i64 %484
store i64 %481, ptr %485, align 8
br label %486
486: ; preds = %470, %467, %464
br label %487
487: ; preds = %486, %448
br label %488
488: ; preds = %487, %426
br label %489
489: ; preds = %488, %404
br label %490
490: ; preds = %489, %382
br label %491
491: ; preds = %490, %360
br label %492
492: ; preds = %491, %338
br label %493
493: ; preds = %492, %316
br label %494
494: ; preds = %493, %295
br label %495
495: ; preds = %494
%496 = load i32, ptr %5, align 4
%497 = add nsw i32 %496, 1
store i32 %497, ptr %5, align 4
%498 = load i32, ptr %5, align 4
%499 = load i32, ptr %6, align 4
%500 = icmp slt i32 %498, %499
br i1 %500, label %288, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %495
br label %501
501: ; preds = %._crit_edge3, %243
br label %502
502: ; preds = %501
%503 = load i32, ptr %4, align 4
%504 = add nsw i32 %503, 1
store i32 %504, ptr %4, align 4
%505 = load i32, ptr %4, align 4
%506 = load i32, ptr %2, align 4
%507 = icmp slt i32 %505, %506
br i1 %507, label %243, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %502
br label %508
508: ; preds = %._crit_edge6, %239
store i32 0, ptr %4, align 4
%509 = load i32, ptr %4, align 4
%510 = load i32, ptr %2, align 4
%511 = sub nsw i32 %510, 1
%512 = icmp slt i32 %509, %511
br i1 %512, label %.lr.ph11, label %663
.lr.ph11: ; preds = %508
br label %513
513: ; preds = %.lr.ph11, %656
%514 = load i32, ptr %4, align 4
%515 = add nsw i32 %514, 1
store i32 %515, ptr %5, align 4
%516 = load i32, ptr %5, align 4
%517 = load i32, ptr %2, align 4
%518 = icmp slt i32 %516, %517
br i1 %518, label %.lr.ph8, label %655
.lr.ph8: ; preds = %513
br label %519
519: ; preds = %.lr.ph8, %649
%520 = load ptr, ptr %22, align 8
%521 = load i32, ptr %4, align 4
%522 = sext i32 %521 to i64
%523 = getelementptr inbounds i64, ptr %520, i64 %522
%524 = load i64, ptr %523, align 8
%525 = load ptr, ptr %22, align 8
%526 = load i32, ptr %5, align 4
%527 = sext i32 %526 to i64
%528 = getelementptr inbounds i64, ptr %525, i64 %527
%529 = load i64, ptr %528, align 8
%530 = or i64 %524, %529
%531 = load i64, ptr %12, align 8
%532 = icmp eq i64 %530, %531
br i1 %532, label %533, label %648
533: ; preds = %519
%534 = load ptr, ptr %23, align 8
%535 = load i32, ptr %4, align 4
%536 = sext i32 %535 to i64
%537 = getelementptr inbounds i64, ptr %534, i64 %536
%538 = load i64, ptr %537, align 8
%539 = load ptr, ptr %23, align 8
%540 = load i32, ptr %5, align 4
%541 = sext i32 %540 to i64
%542 = getelementptr inbounds i64, ptr %539, i64 %541
%543 = load i64, ptr %542, align 8
%544 = or i64 %538, %543
%545 = load i64, ptr %13, align 8
%546 = icmp eq i64 %544, %545
br i1 %546, label %547, label %648
547: ; preds = %533
%548 = load ptr, ptr %24, align 8
%549 = load i32, ptr %4, align 4
%550 = sext i32 %549 to i64
%551 = getelementptr inbounds i64, ptr %548, i64 %550
%552 = load i64, ptr %551, align 8
%553 = load ptr, ptr %24, align 8
%554 = load i32, ptr %5, align 4
%555 = sext i32 %554 to i64
%556 = getelementptr inbounds i64, ptr %553, i64 %555
%557 = load i64, ptr %556, align 8
%558 = or i64 %552, %557
%559 = load i64, ptr %14, align 8
%560 = icmp eq i64 %558, %559
br i1 %560, label %561, label %648
561: ; preds = %547
%562 = load ptr, ptr %25, align 8
%563 = load i32, ptr %4, align 4
%564 = sext i32 %563 to i64
%565 = getelementptr inbounds i64, ptr %562, i64 %564
%566 = load i64, ptr %565, align 8
%567 = load ptr, ptr %25, align 8
%568 = load i32, ptr %5, align 4
%569 = sext i32 %568 to i64
%570 = getelementptr inbounds i64, ptr %567, i64 %569
%571 = load i64, ptr %570, align 8
%572 = or i64 %566, %571
%573 = load i64, ptr %15, align 8
%574 = icmp eq i64 %572, %573
br i1 %574, label %575, label %648
575: ; preds = %561
%576 = load ptr, ptr %26, align 8
%577 = load i32, ptr %4, align 4
%578 = sext i32 %577 to i64
%579 = getelementptr inbounds i64, ptr %576, i64 %578
%580 = load i64, ptr %579, align 8
%581 = load ptr, ptr %26, align 8
%582 = load i32, ptr %5, align 4
%583 = sext i32 %582 to i64
%584 = getelementptr inbounds i64, ptr %581, i64 %583
%585 = load i64, ptr %584, align 8
%586 = or i64 %580, %585
%587 = load i64, ptr %16, align 8
%588 = icmp eq i64 %586, %587
br i1 %588, label %589, label %648
589: ; preds = %575
%590 = load ptr, ptr %27, align 8
%591 = load i32, ptr %4, align 4
%592 = sext i32 %591 to i64
%593 = getelementptr inbounds i64, ptr %590, i64 %592
%594 = load i64, ptr %593, align 8
%595 = load ptr, ptr %27, align 8
%596 = load i32, ptr %5, align 4
%597 = sext i32 %596 to i64
%598 = getelementptr inbounds i64, ptr %595, i64 %597
%599 = load i64, ptr %598, align 8
%600 = or i64 %594, %599
%601 = load i64, ptr %17, align 8
%602 = icmp eq i64 %600, %601
br i1 %602, label %603, label %648
603: ; preds = %589
%604 = load ptr, ptr %28, align 8
%605 = load i32, ptr %4, align 4
%606 = sext i32 %605 to i64
%607 = getelementptr inbounds i64, ptr %604, i64 %606
%608 = load i64, ptr %607, align 8
%609 = load ptr, ptr %28, align 8
%610 = load i32, ptr %5, align 4
%611 = sext i32 %610 to i64
%612 = getelementptr inbounds i64, ptr %609, i64 %611
%613 = load i64, ptr %612, align 8
%614 = or i64 %608, %613
%615 = load i64, ptr %18, align 8
%616 = icmp eq i64 %614, %615
br i1 %616, label %617, label %648
617: ; preds = %603
%618 = load ptr, ptr %29, align 8
%619 = load i32, ptr %4, align 4
%620 = sext i32 %619 to i64
%621 = getelementptr inbounds i64, ptr %618, i64 %620
%622 = load i64, ptr %621, align 8
%623 = load ptr, ptr %29, align 8
%624 = load i32, ptr %5, align 4
%625 = sext i32 %624 to i64
%626 = getelementptr inbounds i64, ptr %623, i64 %625
%627 = load i64, ptr %626, align 8
%628 = or i64 %622, %627
%629 = load i64, ptr %19, align 8
%630 = icmp eq i64 %628, %629
br i1 %630, label %631, label %648
631: ; preds = %617
%632 = load ptr, ptr %30, align 8
%633 = load i32, ptr %4, align 4
%634 = sext i32 %633 to i64
%635 = getelementptr inbounds i64, ptr %632, i64 %634
%636 = load i64, ptr %635, align 8
%637 = load ptr, ptr %30, align 8
%638 = load i32, ptr %5, align 4
%639 = sext i32 %638 to i64
%640 = getelementptr inbounds i64, ptr %637, i64 %639
%641 = load i64, ptr %640, align 8
%642 = or i64 %636, %641
%643 = load i64, ptr %20, align 8
%644 = icmp eq i64 %642, %643
br i1 %644, label %645, label %648
645: ; preds = %631
%646 = load i32, ptr %9, align 4
%647 = add nsw i32 %646, 1
store i32 %647, ptr %9, align 4
br label %648
648: ; preds = %645, %631, %617, %603, %589, %575, %561, %547, %533, %519
br label %649
649: ; preds = %648
%650 = load i32, ptr %5, align 4
%651 = add nsw i32 %650, 1
store i32 %651, ptr %5, align 4
%652 = load i32, ptr %5, align 4
%653 = load i32, ptr %2, align 4
%654 = icmp slt i32 %652, %653
br i1 %654, label %519, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %649
br label %655
655: ; preds = %._crit_edge9, %513
br label %656
656: ; preds = %655
%657 = load i32, ptr %4, align 4
%658 = add nsw i32 %657, 1
store i32 %658, ptr %4, align 4
%659 = load i32, ptr %4, align 4
%660 = load i32, ptr %2, align 4
%661 = sub nsw i32 %660, 1
%662 = icmp slt i32 %659, %661
br i1 %662, label %513, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %656
br label %663
663: ; preds = %._crit_edge12, %508
%664 = load i32, ptr %9, align 4
%665 = call i32 @printf(ptr noundef @.str.2, i32 noundef %664)
%666 = load i32, ptr %11, align 4
%667 = add nsw i32 %666, 1
store i32 %667, ptr %11, align 4
%668 = load i32, ptr %10, align 4
%669 = icmp slt i32 %666, %668
br i1 %669, label %36, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %663
br label %670
670: ; preds = %._crit_edge15, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.